1 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3 * gst/parse/Makefile.am:
4 And now fix the building of the flex sources. Now everything should
7 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9 * gst/parse/Makefile.am:
10 Now hopefully fix the build failures by setting proper rule
11 dependencies and moving instead of copying.
13 2007-04-19 Stefan Kost <ensonic@users.sf.net>
15 * tests/benchmarks/complexity.gnuplot:
16 * tests/benchmarks/complexity.scm:
17 * tests/benchmarks/mass-elements.gnuplot:
18 * tests/benchmarks/mass-elements.scm:
19 Total licensification.
21 2007-04-19 Stefan Kost <ensonic@users.sf.net>
23 * gst/parse/Makefile.am:
24 Fix the build by correcting the rule that gave wrong files to flex.
26 2007-04-19 Stefan Kost <ensonic@users.sf.net>
28 * tests/benchmarks/complexity.c:
29 * tests/benchmarks/mass-elements.c:
30 Change licence to LGPL as granted by Benjamin and Andy.
32 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
34 * gst/parse/Makefile.am:
35 Add correct grammar.tab.h dependency if compiling without new enough
38 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
40 * gst/parse/Makefile.am:
41 Fix typo and use outdated sources if the flex/bison sources are newer
42 than the pregenerated ones but flex is too old. Print a warning in
43 that case. This should fix the build on the build bot.
45 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
47 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
48 * gst/parse/Makefile.am:
49 * gst/parse/grammar.y:
51 Make the parser reentrant and recursively callable. This requires flex
52 >= 2.5.31, for older versions pregenerated sources are used as we
53 can't bump the build dependency. Finally fixes #349180.
55 * gst/gstparse.c: (gst_parse_launch):
56 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
59 * docs/gst/Makefile.am:
60 * docs/gst/Makefile.am:
61 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
62 (__gst_parse_strfree), (__gst_parse_link_new),
63 (__gst_parse_link_free), (__gst_parse_chain_new),
64 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
65 (gst_parse_element_set), (gst_parse_free_link),
66 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
67 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
69 * gst/parse/grammar.tab.pre.h:
70 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
71 (yy_get_previous_state), (yy_try_NUL_trans), (input),
72 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
73 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
74 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
75 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
76 (_gst_parse_yypop_buffer_state),
77 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
78 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
79 (yy_fatal_error), (_gst_parse_yyget_extra),
80 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
81 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
82 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
83 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
84 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
85 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
86 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
87 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
88 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
89 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
91 If the installed flex version is too old use pre-generated parser
92 sources. These pre-generated parser sources are always updated when
93 the actual flex/bison sources change but require everybody who wants
94 to change something in the parser to have flex >= 2.5.31 installed.
96 2007-04-18 Stefan Kost <ensonic@users.sf.net>
98 * common/m4/gst-gettext.m4:
100 Make --disable-nls to work
102 2007-04-17 Wim Taymans <wim@fluendo.com>
104 * gst/gstconfig.h.in:
105 Revert previous change that broke the build.
107 2007-04-17 Stefan Kost <ensonic@users.sf.net>
111 * gst/gstconfig.h.in:
112 Drop libxml2 dependency when building with
113 --enable-binary-registry --disable-loadsave
115 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
117 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
118 (gst_registry_binary_read_cache):
119 * gst/gstregistrybinary.h:
120 Remove unnecessary <sys/mman.h> include which broke the win32 build
121 with MingW; move includes from header file to .c file, even if the
122 header file isn't installed; use g_strerror() where UTF-8 strings
123 are expected, such as in GST_DEBUG messages.
125 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
127 * docs/libs/gstreamer-libs-sections.txt:
128 Remove bogus addition for API I didn't end up keeping.
130 * libs/gst/base/gstbasesrc.h:
131 Mention Since: 0.10.13 in the documentation.
133 Add the API keyword to the previous ChangeLog entry.
135 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
137 * docs/libs/gstreamer-libs-sections.txt:
138 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
139 (gst_base_src_default_prepare_seek_segment),
140 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
141 * libs/gst/base/gstbasesrc.h:
142 Allow basesrc derived classes to execute seeks in other formats
143 by providing a prepare_seek_segment vmethod. Sub-classes can choose
144 to prepare the GstSegment in any format that their perform_seek method
145 will be able to understand. The default implementation provides the
146 old behaviour of attempting to convert the seek offsets to the
147 configured native format.
149 API: basesrc::prepare_seek_segment vmethod.
151 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
153 * gst/gstelement.c: (gst_element_get_state_func):
154 Don't output the same debug statement twice.
156 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
157 (gst_adapter_peek), (gst_adapter_take_buffer):
158 Optimise the case where we have buffers at the head of the queue that
159 can be joined quickly (because they're contiguous sub-buffers) by
160 merging them together rather than copying data out into new memory.
162 * gst/parse/grammar.y:
163 * tests/check/pipelines/parse-launch.c:
164 Fix a leak in an error path for parse_launch, and add a check
165 for it to the testsuite.
167 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
169 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
170 Don't deadlock when releasing a pad - gst_pad_set_active may try
171 and take the multiqueue lock too.
173 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
175 * gst/gsterror.c: (_gst_core_errors_init):
177 API: add GST_CORE_ERROR_DISABLED (#392804).
179 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
181 * docs/faq/gst-uninstalled:
182 don't get empty paths on the PATH variables
183 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
184 Don't format for the uncommon terminal width of 84 characters.
186 2007-04-06 Wim Taymans <wim@fluendo.com>
188 * gst/gstpipeline.c: (reset_stream_time),
189 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
190 Only try to select a different pipeline clock when we went back to
191 PAUSED and not when we merely got flushed.
193 2007-04-05 Michael Smith <msmith@fluendo.com>
195 * tools/gst-launch.1.in:
196 fractions are better supported in gstreamer than ractions, so
199 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
201 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
205 Added Danish translation.
207 2007-04-05 Wim Taymans <wim@fluendo.com>
209 * libs/gst/base/gstbasesink.c:
210 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
211 Fix leak caused when refusing newsegment after EOS.
213 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
214 (gst_fake_sink_init), (gst_fake_sink_set_property),
215 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
216 (gst_fake_sink_render), (gst_fake_sink_change_state):
217 * plugins/elements/gstfakesink.h:
218 Add num-buffers property to make the element generate EOS after a
219 configurable amount of buffers.
220 API: fakesink::num-buffers property.
222 * tests/check/elements/fakesink.c: (GST_START_TEST),
224 Fix GstBus leak in test.
225 Test for fakesink num-buffers.
227 2007-04-05 Wim Taymans <wim@fluendo.com>
229 * libs/gst/base/gstbasesink.c:
230 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
231 (gst_base_sink_change_state):
232 Don't accept anything after an EOS, return UNEXPECTED instead.
234 * tests/check/elements/fakesink.c: (GST_START_TEST),
236 Unit test for new EOS behaviour.
238 2007-04-05 Wim Taymans <wim@fluendo.com>
240 * gst/gstelement.c: (gst_element_get_request_pad):
241 Make padtemplates also work when they don't contain %s or %d.
243 2007-04-05 Wim Taymans <wim@fluendo.com>
245 * docs/gst/gstreamer-sections.txt:
246 * gst/gstclock.c: (gst_clock_adjust_unlocked),
247 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
249 Improve _adjust_unlocked() so that it overflows less.
250 Add gst_clock_unadjust_unlocked to convert from external time to
251 internal time based on calibration.
253 API: GstClock::gst_clock_unadjust_unlocked()
255 2007-04-03 Wim Taymans <wim@fluendo.com>
257 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
259 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
260 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
261 when releasing sink pad. Fixes #425400.
263 2007-04-02 Stefan Kost <ensonic@users.sf.net>
265 * docs/random/ensonic/dynlink.txt:
266 More work on proposal for new core api.
268 * docs/libs/gstreamer-libs-sections.txt:
269 * libs/gst/base/gstbasetransform.h:
270 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
272 * libs/gst/controller/gstcontroller.c:
273 (on_object_controlled_property_changed),
274 (gst_controller_sync_values),
275 (gst_controller_set_interpolation_mode):
276 * libs/gst/controller/gstcontroller.h:
277 Less verbose logging add docs for unimplemented parts and correctly
278 return when using unavailable parts.
280 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
282 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
283 Move all the debug to the CLOCK category, and associate it with
286 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
288 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
289 Make take_buffer a bit quicker by removing redundant checks
290 caused by calling gst_adapter_take.
292 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
294 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
297 * tests/check/Makefile.am:
298 * tests/check/elements/.cvsignore:
299 * tests/check/elements/multiqueue.c: (setup_multiqueue),
300 (GST_START_TEST), (multiqueue_suite):
301 Add some dead simple unit tests for the 'multiqueue' element
302 (some bits don't work yet and are disabled for now).
304 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
306 * gst/gstelement.c: (gst_element_get_request_pad),
307 (gst_element_class_get_request_pad_template):
308 Make gst_element_get_request_pad() create request pads only for
309 request pad templates and not for, say, sometimes pad templates.
311 2007-03-28 Stefan Kost <ensonic@users.sf.net>
313 * docs/design/draft-klass.txt:
314 Add example that needs more thinking.
316 * docs/design/draft-missing-plugins.txt:
317 More thoughts about wrapper plugins.
319 * docs/random/ensonic/embedded.txt:
320 * docs/random/ensonic/profiling.txt:
323 2007-03-25 Wim Taymans <wim@fluendo.com>
325 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
327 Only push the segment events in the PLAYING state for live sources.
329 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
331 * gst/gstpipeline.c: (gst_pipeline_change_state):
332 Modify the clock distribution path in PAUSED->PLAYING so that we
333 never attempt to choose a new clock unless we're actually leaving
334 the PAUSED state for the first time. This prevents choosing a
335 different clock when the state_change gets called for a 2nd time due
336 to some element doing an async state change.
338 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
340 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
341 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
342 (gst_pad_chain_unchecked), (gst_pad_push):
343 Revert last commit. This needs some more thoughts.
345 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
347 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
348 (gst_pad_chain_unchecked), (gst_pad_push):
349 Check in set_caps if the caps are compatible with the pad and remove
350 two functions that are redundant now. Fixes #421543.
352 2007-03-22 Wim Taymans <wim@fluendo.com>
354 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
355 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
356 Unref some more to make valgrind happy.
358 2007-03-22 Wim Taymans <wim@fluendo.com>
360 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
361 (gst_system_clock_id_wait_jitter),
362 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
363 Fix anoying regression that survived a few releases. When adding an
364 async entry while blocking on a sync entry, the sync entry will unblock
365 but still be busy, so it should continue to wait instead of returning
367 Add some comments here and there.
369 * tests/check/gst/gstsystemclock.c: (mixed_thread),
370 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
371 Add testcase for this.
373 2007-03-22 Wim Taymans <wim@fluendo.com>
375 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
376 Handle errors from the clock sync better, only UNSCHEDULED indicates a
377 WRONG_STATE and can silently pause the task. All other cases should
380 2007-03-22 Wim Taymans <wim@fluendo.com>
382 Patch by: <syrjala at sci dot fi>
384 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
385 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
388 2007-03-21 Michael Smith <msmith@fluendo.com>
390 * docs/pwg/advanced-types.xml:
391 Fix some errors in the typefinding docs pointed out on irc.
393 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
395 * libs/gst/base/gstbasesrc.c:
396 Clarify FIXME comment in the face of having added unlock_stop()
398 2007-03-21 Wim Taymans <wim@fluendo.com>
400 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
401 Prepare for release where we warn against possible app breakage in the
402 case of live pipelines along with an env var to enable/disable live
403 preroll mode (GST_COMPAT=[no-]live-preroll).
405 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
407 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
408 So we should use correct constants for checking for None offset.
410 2007-03-20 Wim Taymans <wim@fluendo.com>
412 * docs/design/part-block.txt:
413 Mention the fact that the newly switched element should be set to at
416 2007-03-20 Wim Taymans <wim@fluendo.com>
419 Fix compilation with registry disabled as spotted by Saur.
421 2007-03-20 Wim Taymans <wim@fluendo.com>
423 Patch by: Olivier Crete <tester at tester dot ca>
425 * gst/gstelement.c: (gst_element_sync_state_with_parent):
426 Look at the pending state too when syncing the element state to the
427 parent. Fixes #420133.
429 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
431 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
432 (gst_base_sink_change_state):
433 * libs/gst/base/gstbasesink.h:
434 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
435 (gst_base_src_default_event), (gst_base_src_unlock_stop),
436 (gst_base_src_deactivate):
437 * libs/gst/base/gstbasesrc.h:
438 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
439 for sub-classes to correctly clear any state they set trying to
440 unlock, such as clearing out unlock commands from a command fd.
442 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
443 (gst_fd_sink_render), (gst_fd_sink_unlock),
444 (gst_fd_sink_unlock_stop):
445 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
446 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
447 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
449 Implement unlock_stop in fdsrc and fdsink.
450 Implement seeking in fdsrc when a seekable fd is passed, as in
451 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
453 2007-03-19 Wim Taymans <wim@fluendo.com>
455 Patch by: Evan Nemerson <evan at coeus dash group dot com>
457 * gst/gstelement.c: (gst_element_class_init):
458 Fix pad-added and pad-removed signal signatures so that the pad type is
459 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
461 2007-03-19 Wim Taymans <wim@fluendo.com>
463 * docs/gst/gstreamer-sections.txt:
464 Add new element field and method.
466 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
467 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
468 (gst_bin_recalc_state), (gst_bin_get_state_func),
469 (gst_bin_element_set_state), (gst_bin_change_state_func),
470 (gst_bin_continue_func), (bin_bus_handler),
471 (bin_push_state_continue), (bin_handle_async_start),
472 (bin_handle_async_done), (gst_bin_handle_message_func):
473 Make async state changes a bit smarter by using new ASYNC_START and
474 ASYNC_DONE messages. This reduces the number of times we run the state
475 recalculation thread.
476 Don't change state of element with a pending ASYNC_START message.
477 Deprecate STATE_DIRTY messages.
479 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
480 (gst_element_get_state_func), (gst_element_continue_state),
481 (gst_element_lost_state), (gst_element_set_state_func),
482 (gst_element_change_state):
484 Keep the state that was last set by the app in a new element field.
485 Don't allow state changes when handling an element event.
486 Post ASYNC_START and ASYNC_DONE messages.
487 Change lost_state so that we go to PAUSED and wait for the parent to set
488 us to PLAYING again (so latency calculation can be performed)
489 Export gst_element_change_state() method so that subclasses can use it.
490 API: gst_element_change_state()
491 API: GST_STATE_TARGET
493 * gst/gstpipeline.c: (gst_pipeline_class_init),
494 (reset_stream_time), (gst_pipeline_change_state),
495 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
496 Using the new ASYNC_START message we can reset the base_time when
497 needed. This can then be used to implement base_time redistribution in
498 flushing seeks so that we can remove the explicit seek handling.
499 Perform latency query and configuration when going to PLAYING.
501 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
502 (gst_base_sink_query), (gst_base_sink_change_state):
503 Post new ASYNC_START/ASYNC_DONE messages.
505 * tests/check/generic/sinks.c: (GST_START_TEST):
506 Fix test because the bin will not set the async element to PLAYING right
509 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
510 Make the message check a little stronger.
511 Handle ASYNC messages.
513 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
514 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
515 Expect ASYNC_DONE messages.
517 2007-03-19 Wim Taymans <wim@fluendo.com>
519 * docs/gst/gstreamer-sections.txt:
520 * gst/gstmessage.c: (gst_message_new_async_start),
521 (gst_message_new_async_done), (gst_message_parse_info),
522 (gst_message_parse_async_start):
524 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
527 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
529 * tools/gst-inspect.c:
530 (print_plugin_automatic_install_info_codecs):
531 Now that we don't check for the 'Codec' keyword any longer in the
532 klass, we shouldn't spew a warning if the klass isn't a decoder or
533 encoder (since it might be a Source/Network, for example).
535 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
537 * tools/gst-inspect.c:
538 (print_plugin_automatic_install_info_codecs):
539 Don't require decoder/demuxer/depayloader elements or
540 encoder/muxer/paylader elements to have 'Codec' as part of their
541 factory class string when introspecting a plugin's capabilities.
542 draft-klass.txt mentions that it might be removed in future, and
543 flump3dec doesn't have it as part of its class string, so chances
544 are others might also not have it.
546 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
568 Update translations from translation project
570 2007-03-14 Stefan Kost <ensonic@users.sf.net>
572 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
573 (gst_child_proxy_set_property):
574 Invert precondition check to be alike the ones in the mimiced gobject
577 2007-03-13 Stefan Kost <ensonic@users.sf.net>
579 * docs/design/draft-tagreading.txt:
580 * docs/random/ensonic/audiobaseclasses.txt:
581 Do some Architect work.
583 * gst/gstobject.c: (gst_object_set_name):
587 Add docs that point from gst_pad_get_range to gst_pad_pull_range
589 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
591 * gst/gstsystemclock.c: (gst_system_clock_init),
592 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
593 Defer starting the async system clock thread until the first async
594 wait is scheduled. Fixes #414986.
596 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
598 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
599 (gst_single_queue_free):
600 Fix small leak (free GstSingleQueue structure too, not only contents).
602 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
604 * gst/gstbin.c:(gst_bin_add):
605 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
606 * win32/common/libgstbase.def:
607 * win32/common/libgstreamer.def:
608 Add new exported functions.
610 2007-03-09 Wim Taymans <wim@fluendo.com>
612 * docs/plugins/gstreamer-plugins-sections.txt:
615 2007-03-09 Wim Taymans <wim@fluendo.com>
617 * docs/gst/gstreamer-sections.txt:
618 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
620 Add metadata copy functions. Fixes #393099.
622 * gst/gstutils.c: (gst_buffer_stamp):
623 * libs/gst/base/gstbasetransform.c:
624 (gst_base_transform_prepare_output_buffer):
625 Use new metadata copy functions.
627 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
629 * plugins/elements/gstidentity.c: (gst_identity_class_init),
630 (gst_identity_init), (gst_identity_check_perfect),
631 (gst_identity_check_imperfect_timestamp),
632 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
633 (gst_identity_set_property), (gst_identity_get_property):
634 * plugins/elements/gstidentity.h:
635 Separate out check-imperfect-timestamp and check-imperfect-offset.
636 Put back check-perfect as it was to keep compatibility.
638 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
640 * gst/gstelement.c: (gst_element_dispose):
641 There's no need to warn if VOID_PENDING is not NONE here, as
642 long as the state is NULL it's ok, and that's checked immediately
645 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
647 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
648 Fix check for perfect stream to ignore buffers with -1
649 offsets/offset ends when checking data contiguity.
651 2007-03-08 Wim Taymans <wim@fluendo.com>
653 * tools/gst-launch.c: (event_loop):
656 2007-03-08 Wim Taymans <wim@fluendo.com>
658 * libs/gst/base/gstbasetransform.c:
659 (gst_base_transform_sink_eventfunc),
660 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
661 (gst_base_transform_activate):
662 * libs/gst/base/gstbasetransform.h:
663 Add support for dropping buffers with custom GstFlowReturn.
664 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
665 buffers or dropped buffers.
667 * docs/libs/gstreamer-libs-sections.txt:
668 docs for new custom return code.
670 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
671 Use drop support in base class to implement drop-probability.
673 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
675 * gst/gst.c: (load_plugin_func):
676 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
677 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
678 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
679 Remove newlines at end of debug log strings.
681 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
683 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
684 Only post bus message at max, once per buffer received.
686 2007-03-07 Wim Taymans <wim@fluendo.com>
688 * docs/design/Makefile.am:
689 * docs/design/part-synchronisation.txt:
690 Add doc about synchronisation
692 * docs/design/draft-latency.txt:
693 * docs/design/part-TODO.txt:
694 * docs/design/part-clocks.txt:
695 * docs/design/part-events.txt:
696 * docs/design/part-gstbus.txt:
697 * docs/design/part-gstpipeline.txt:
698 * docs/design/part-live-source.txt:
699 * docs/design/part-messages.txt:
700 * docs/design/part-overview.txt:
701 * docs/design/part-streams.txt:
702 * docs/design/part-trickmodes.txt:
703 Documentation updates.
705 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
708 Update the doap file.
710 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
712 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
713 Rename non-perfect to imperfect for Mike and for the sanctity of the
715 Also make sure bus message gets emitted for data-incontiguities.
717 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
719 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
720 (gst_identity_start):
721 * plugins/elements/gstidentity.h:
722 Emit bus message if check-perfect is true and we encounter a
723 non-perfect stream between 2 consecutive buffers.
726 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
731 === release 0.10.12 ===
733 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
736 releasing 0.10.12, "Inevitable Demise"
738 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
741 Version 0.10.11.2 (0.10.12 pre-release)
742 Bump libtool versioning.
744 2007-03-01 Stefan Kost <ensonic@users.sf.net>
746 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
747 Log flow-names and not numbers.
749 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
752 Convert to new AG_GST style.
754 2007-02-28 Wim Taymans <wim@fluendo.com>
756 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
757 Don't unref query twice.
759 2007-02-28 Wim Taymans <wim@fluendo.com>
761 * gst/gstvalue.c: (gst_value_transform_object_string),
762 (_gst_value_initialize):
763 Implement GstObject -> string transform so we print object names
764 when serializing GValues containing GstObjects.
766 2007-02-28 Wim Taymans <wim@fluendo.com>
768 * docs/gst/gstreamer-sections.txt:
769 Add new stuff to docs.
771 2007-02-28 Wim Taymans <wim@fluendo.com>
773 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
774 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
775 (gst_base_sink_change_state):
776 Improve latency query code.
777 Don't leak latency events.
779 * tests/check/gst/gstbin.c: (GST_START_TEST):
782 2007-02-28 Wim Taymans <wim@fluendo.com>
784 * gst/gstelement.c: (gst_element_message_full),
785 (gst_element_get_state_func):
787 Improve docs a little. Added Since: for new macro.
789 * gst/gstobject.c: (gst_object_sink):
790 * gst/gstpipeline.c: (gst_pipeline_change_state),
791 (gst_pipeline_set_new_stream_time):
793 Improve debugging and docs.
795 * gst/gstutils.c: (gst_element_state_change_return_get_name):
798 2007-02-28 Wim Taymans <wim@fluendo.com>
800 * gst/gstelement.c: (gst_element_message_full),
801 (gst_element_set_locked_state), (gst_element_get_state_func),
802 (gst_element_change_state):
803 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
804 Documentation updates.
807 * gst/gstmessage.c: (gst_message_new_info),
808 (gst_message_parse_info):
810 API: gst_message_new_info()
811 API: gst_message_parse_info()
812 Add INFO message create and parse code.
814 2007-02-28 Wim Taymans <wim@fluendo.com>
816 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
817 (bin_query_latency_done):
818 Also report the live parameter of a latency query.
820 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
822 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
823 Copy the current generic/states example from -base and adapt so
824 we can use the exact same code everywhere.
825 Check a STATES_IGNORE_ELEMENTS env var which can be used
826 to ignore certain element factories for this test, which is
827 what is being done in -base
828 * tests/check/Makefile.am:
829 Mention this environment variable.
831 2007-02-27 Wim Taymans <wim@fluendo.com>
833 * docs/gst/gstreamer-sections.txt:
834 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
835 (gst_bus_timed_pop), (gst_bus_pop):
837 API: gst_bus_timed_pop()
838 Implement gst_bus_timed_pop() to do a blocking timed wait for a
839 message to arrive on the bus.
841 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
843 Two unit tests for new _timed_pop() function.
845 2007-02-23 Wim Taymans <wim@fluendo.com>
847 * gst/gstpipeline.c: (gst_pipeline_change_state),
848 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
849 Don't ref a NULL clock in _provide_clock_func().
850 Don't allow an INVALID delay.
851 Don't try to calculate base_time with an invalid start_time.
852 Also distribute and notify a NULL clock when it was selected.
854 * tools/gst-launch.c: (event_loop):
855 Don't crash when a NULL clock was selected in the pipeline.
857 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
859 * docs/design/Makefile.am:
860 * docs/design/draft-missing-plugins.txt:
861 * docs/random/draft-missing-plugins.txt:
862 Some small updates: update plugin system identifier prefix
863 ('gstreamer.net' to 'gstreamer'), mention our new install
864 API in libgstbaseutils rather than libgimme-codec, add
865 reference to the online docs.
867 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
869 * win32/common/config.h:
870 Pretty sure Bill never made a powerpc version. Powerpc hackers,
871 use moap cl ci to only check in what is mentioned in the ChangeLog.
873 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
875 * docs/gst/gstreamer-sections.txt:
877 Fix up documentation to link to the correct GstGError section.
878 Add GST_ELEMENT_INFO macro since someone else added a Info message.
880 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
882 * tools/gst-launch.c: (event_loop):
883 Make sure that we actually show the important message part of a
885 No need to check if the gerror is not NULL to free; first of all
886 g_free accepts NULL; and second the default error handler would
887 segfault if gerror was NULL.
889 2007-02-21 Wim Taymans <wim@fluendo.com>
891 * docs/gst/gstreamer-sections.txt:
892 Removed docs as well.
894 2007-02-21 Wim Taymans <wim@fluendo.com>
896 * gst/gstmessage.c: (gst_message_parse_duration):
898 Remove new messages for release.
900 2007-02-20 Wim Taymans <wim@fluendo.com>
902 * docs/design/part-gstghostpad.txt:
903 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
904 (gst_ghost_pad_new_full):
905 Make the ghostpad a parent of the internal pad again for better backward
906 compatibility. Don't write code that relies on this however.
908 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
909 (gst_pad_link_check_hierarchy):
910 Require that parents should be GstElements in the hierarchy check.
912 2007-02-20 Wim Taymans <wim@fluendo.com>
914 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
915 (gst_bin_change_state_func), (bin_query_min_max_init),
916 (bin_query_latency_fold), (bin_query_latency_done),
919 Implement latency query.
921 2007-02-20 Wim Taymans <wim@fluendo.com>
923 * docs/design/part-gstghostpad.txt:
924 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
925 (gst_ghost_pad_internal_do_activate_push),
926 (gst_ghost_pad_internal_do_activate_pull),
927 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
928 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
929 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
930 Do not set the internal pad as a parent anymore so we can avoid
931 hierarchy linking errors when the ghostpad has no parent yet. This also
932 fixes failed activation because of unlinked internal pads, which in
933 turn fixes the impossible case where you have to activate a pad before
934 you can add it to a running element.
937 * gst/gstpad.c: (pre_activate), (post_activate),
938 (gst_pad_set_active), (gst_pad_activate_pull),
939 (gst_pad_activate_push), (gst_pad_check_pull_range):
940 Add some more debug info.
941 Mark activation mode in pre_activate so that we don't try to activate in
942 endless loops. Fixes #385084.
944 2007-02-19 Wim Taymans <wim@fluendo.com>
946 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
947 (gst_base_transform_check_get_range):
948 Implement a checkgetrange function instead of relying on the default
949 core behaviour that assumes we can operate in pull mode if we have a
950 getrange function. First step at fixing #385084.
952 2007-02-15 Stefan Kost <ensonic@users.sf.net>
954 * gst/gstchildproxy.h:
955 * libs/gst/base/gstbasesink.h:
956 * libs/gst/base/gstbasesrc.h:
957 * libs/gst/base/gstbasetransform.h:
958 More docs coverage and some ChangeLog surgery (add missing names)
960 2007-02-15 Wim Taymans <wim@fluendo.com>
962 * docs/design/part-TODO.txt:
963 * docs/design/part-activation.txt:
964 * docs/design/part-block.txt:
965 * docs/design/part-buffering.txt:
966 * docs/design/part-clocks.txt:
967 * docs/design/part-element-source.txt:
968 * docs/design/part-events.txt:
969 * docs/design/part-gstbin.txt:
970 * docs/design/part-gstbus.txt:
971 * docs/design/part-gstpipeline.txt:
972 * docs/design/part-live-source.txt:
973 * docs/design/part-messages.txt:
974 * docs/design/part-overview.txt:
975 * docs/design/part-qos.txt:
976 * docs/design/part-query.txt:
977 * docs/design/part-states.txt:
978 * docs/design/part-trickmodes.txt:
979 Some doc updates. Start renaming from stream_time to running_time where
982 2007-02-15 Wim Taymans <wim@fluendo.com>
984 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
985 Answer LATENCY query.
987 2007-02-15 Wim Taymans <wim@fluendo.com>
989 * tests/check/gst/gstevent.c: (event_probe), (test_event),
993 2007-02-15 Wim Taymans <wim@fluendo.com>
995 * gst/gstpad.c: (gst_pad_get_internal_links_default),
996 (gst_pad_dispatcher):
997 Improve debugging of default pad dispatcher and query functions.
999 2007-02-15 Wim Taymans <wim@fluendo.com>
1001 * docs/gst/gstreamer-sections.txt:
1002 Remove old unused method.
1004 2007-02-13 Wim Taymans <wim@fluendo.com>
1006 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1009 2007-02-13 Wim Taymans <wim@fluendo.com>
1011 * docs/design/part-seeking.txt:
1014 * gst/gstsegment.c: (gst_segment_set_seek):
1015 Revert old bogus change that should make seeking work again.
1017 2007-02-13 Stefan Kost <ensonic@users.sf.net>
1019 * docs/random/ensonic/dynlink.txt:
1020 * docs/random/ensonic/interfaces.txt:
1021 * docs/random/ensonic/receipies.txt:
1022 Possible dynamic reconnection api, plus some type fixes the other two
1025 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
1027 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1028 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1029 Also check for an absolute path following file:// in the filesrc
1030 element. Remove redundant check and call g_path_is_absolute() on the
1033 2007-02-13 Stefan Kost <ensonic@users.sf.net>
1035 * docs/design/draft-klass.txt:
1036 Add existing category analysis.
1039 Fix doc example, framerate is a fraction.
1041 2007-02-12 Stefan Kost <ensonic@users.sf.net>
1044 * docs/gst/Makefile.am:
1045 * docs/libs/Makefile.am:
1046 * docs/plugins/Makefile.am:
1047 Add crossreferences to glib/gobject docs.
1049 2007-02-12 Wim Taymans <wim@fluendo.com>
1051 * docs/design/draft-latency.txt:
1054 * docs/libs/gstreamer-libs-sections.txt:
1055 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1056 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
1057 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
1058 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
1059 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
1060 (gst_base_sink_get_position), (gst_base_sink_query),
1061 (gst_base_sink_change_state):
1062 * libs/gst/base/gstbasesink.h:
1063 API: gst_base_sink_query_latency() to let subclasses query the upstream
1065 API: gst_base_sink_get_latency() to let subclasses query the configured
1066 latency in the sink.
1067 Implement query and set latency.
1069 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
1070 don't continue preroll when we are flushing. Fixes #405284.
1072 * tests/check/pipelines/stress.c: (change_state_timeout),
1073 (quit_timeout), (GST_START_TEST), (stress_suite):
1076 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
1078 Patch by: René Stadler <mail at renestadler de>
1080 * docs/gst/gstreamer-sections.txt:
1081 * gst/gsttaglist.c: (_gst_tag_initialize):
1083 API: add GST_TAG_REFERENCE_LEVEL (#403597).
1085 2007-02-11 Stefan Kost <ensonic@users.sf.net>
1087 * docs/libs/Makefile.am:
1088 Fix path to core docs.
1090 * gst/gstbin.c: (gst_bin_get_by_interface),
1091 (gst_bin_iterate_all_by_interface):
1092 Refix docs by also renaming 'interface' to 'iface' in implementation.
1094 * docs/gst/gstreamer-sections.txt:
1096 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1097 * gst/gstchildproxy.h:
1098 * gst/gstelementfactory.c:
1099 * gst/gstpadtemplate.h:
1100 * libs/gst/controller/gstcontroller.c:
1101 (gst_controlled_property_new):
1104 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
1106 * gst/gstbin.h:(gst_bin_get_by_interface),
1107 (gst_bin_iterate_all_by_interface):
1108 Replace interface parameter name by iface as interface is
1109 a reserved keyword in Visual Studio for C++ projects so it removes
1110 a build error for application developpers using VS.
1111 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1112 Fix a bug on Windows in uri format check. Now the prefix checked
1113 is file:// and next we check if the path after file:// is absolute.
1114 * win32/common/libgstbase.def:
1115 * win32/common/libgstdataprotocol.def:
1116 * win32/common/libgstgstreamer.def:
1117 Add new exported functions.
1119 2007-02-09 Andy Wingo <wingo@pobox.com>
1121 * tests/check/pipelines/simple-launch-lines.c
1122 (simple_launch_lines_suite, test_tee): Disable tee test until I
1123 have time to fix it :-(
1125 * tests/check/Makefile.am (noinst_HEADERS):
1126 * tests/check/libs/libsabi.c:
1127 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1128 * tests/check/gst/gstabi.c:
1129 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1131 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1132 tests for push and pull tee behavior.
1134 * plugins/elements/gsttee.h:
1135 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1136 mark as deprecated as well as unimplemented. It was a crack idea.
1137 Add support for tee operating in pull mode, off by default.
1139 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1140 normal-case logs down to LOG, raise errors to WARNING.
1141 (gst_registry_xml_read_cache): Don't log before calling a function
1144 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1145 exit (registry finalize).
1146 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1147 DEBUG log when we emit signals that people don't even have the
1148 chance to connect to.
1149 (gst_registry_scan_path_level): Less logging in the normal case.
1151 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1153 Patch by: Michal Benes <michal dot benes at itonis dot tv>
1155 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1156 Correctly generate EOS for non-seekable files. We don't have a total
1157 length for them and would get an unexpected end of file if we only
1158 special-cased for regular files. (Fixes: #404569)
1160 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1162 * tests/check/elements/filesrc.c: (GST_START_TEST),
1164 Add unit test for the GstURIHandler interface in filesrc. This also
1165 tests the newly added file://localhost/foo/bar support.
1167 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
1169 * gst/gstelementfactory.h:
1170 The klass string is not a hierarchy. Add reference to the design doc
1171 for more information and common types.
1173 2007-02-02 Wim Taymans <wim@fluendo.com>
1175 * gst/gstquery.c: (gst_query_new_latency):
1176 Remove old structure field.
1178 2007-02-02 Stefan Kost <ensonic@users.sf.net>
1180 * tools/gst-launch.1.in:
1181 Give example for network streaming (#351998)
1183 2007-02-02 Wim Taymans <wim@fluendo.com>
1185 * docs/gst/gstreamer-sections.txt:
1186 Add docs for new methods.
1188 * gst/gstevent.c: (gst_event_new_latency),
1189 (gst_event_parse_latency):
1191 Add new LATENCY event to configure latency in a pipeline.
1192 API: gst_event_new_latency
1193 API: gst_event_parse_latency
1195 * gst/gstmessage.c: (gst_message_new_buffering),
1196 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1197 (gst_message_new_latency), (gst_message_parse_buffering),
1198 (gst_message_parse_lost_preroll):
1200 Added messages used in draft-latency.
1201 API: gst_message_new_lost_preroll
1202 API: gst_message_parse_lost_preroll
1203 API: gst_message_new_prerolled
1204 API: gst_message_new_latency
1206 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1207 (gst_query_parse_latency):
1209 Implemented new latency query as in design doc.
1210 API: gst_query_new_latency
1211 API: gst_query_set_latency
1212 API: gst_query_parse_latency
1214 2007-02-02 Wim Taymans <wim@fluendo.com>
1216 * docs/design/draft-latency.txt:
1217 Slight redesign to allow for dynamic latency adjustments.
1219 * docs/design/part-negotiation.txt:
1222 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
1224 reviewed by: Wim Taymans <wim@fluendo.com>
1226 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1227 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1228 Allow file://localhost/foo/bar URLs and correctly fail for every other
1229 hostname that one sets. This was gnomevfssrc is linked for those if
1230 installed as it can handle it (#403172)
1232 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1234 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1236 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1237 (unref_data), (gst_collect_pads_add_pad_full):
1238 * libs/gst/base/gstcollectpads.h:
1239 Don't put the previously added destroy notify in the GstCollectData
1240 struct as all it's padding is already used and we don't want to break
1241 ABI. Instead put in the pad's GObject data for now. This should be
1242 cleaned up for 0.11 (#402393).
1244 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1246 reviewed by: Wim Taymans <wim@fluendo.com>
1248 * docs/libs/gstreamer-libs-sections.txt:
1249 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1250 (unref_data), (gst_collect_pads_add_pad),
1251 (gst_collect_pads_add_pad_full):
1252 * libs/gst/base/gstcollectpads.h:
1253 API: Add function to specify a destroy notification for custom
1254 GstCollectData when adding new pads in GstCollectPads (#402393).
1256 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
1259 Update Swedish translation (#378255).
1261 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1263 * docs/design/draft-klass.txt:
1264 Fix the previous change, this is a list of categories and not a hierarchy.
1266 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1268 * docs/design/draft-klass.txt:
1269 Add info about how to get a list of used classes.
1271 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
1273 * plugins/elements/gsttypefindelement.c:
1274 (gst_type_find_element_chain_do_typefinding),
1275 (gst_type_find_element_change_state):
1276 Don't leak found caps in chain function (no idea why that never
1277 showed up as a leak anywhere).
1279 2007-01-30 Stefan Kost <ensonic@users.sf.net>
1282 Fix and expand GstPluginDesc API docs.
1284 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1287 * gst/gstelementfactory.c:
1288 * gst/gstpadtemplate.h:
1291 * libs/gst/controller/gstcontroller.c:
1292 (gst_controlled_property_new):
1293 * tests/examples/controller/audio-example.c:
1296 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1299 comment about refining the xml deps
1302 comments about moving away from jade for docs
1305 recommit the ifdefs to use the binary registry
1307 * gst/gstbin.c: (gst_bin_change_state_func):
1308 this break is obsolete
1310 * gst/gstelementfactory.h:
1311 better GST_ELEMENT_DETAILS docs, add comment about translation
1316 * gst/gstobject.c: (gst_signal_object_get_type):
1317 add G_UNLIKELY as usual
1319 * gst/gstpad.c: (gst_pad_event_default):
1320 add fall trhu comment
1322 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1323 (gst_registry_binary_initialize_magic),
1324 (gst_registry_binary_save_string),
1325 (gst_registry_binary_save_pad_template),
1326 (gst_registry_binary_save_feature),
1327 (gst_registry_binary_save_plugin),
1328 (gst_registry_binary_write_cache),
1329 (gst_registry_binary_check_magic),
1330 (gst_registry_binary_load_pad_template),
1331 (gst_registry_binary_load_feature),
1332 (gst_registry_binary_load_plugin),
1333 (gst_registry_binary_read_cache):
1334 comment typo and formatting
1336 * gst/gstutils.c: (gst_element_state_get_name),
1337 (gst_element_state_change_return_get_name):
1338 remove obsolete breaks
1340 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1341 add FIXME 0.11 and remove cpp comment
1343 2007-01-29 Edward Hervey <edward@fluendo.com>
1345 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1346 Fix print statement in an even more portable way.
1348 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
1350 * docs/gst/gstreamer-sections.txt:
1352 API: add GST_ROUND_DOWN_* macros (#401781).
1354 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
1356 * docs/gst/gstreamer.types.in:
1357 * gst/gstregistry.c: (gst_registry_class_init):
1358 Document registry signals and make gtk-doc pick them up (#401381).
1360 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1362 * docs/pwg/building-testapp.xml:
1363 Add some audioconverts and audioresample to the pipeline, and some
1364 more comments and error handling.
1366 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1368 * docs/manual/manual.xml:
1372 2007-01-26 Wim Taymans <wim@fluendo.com>
1374 * gst/gstcaps.c: (gst_static_caps_get):
1375 Init caps flags too.
1377 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
1379 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1381 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1382 If not using mmap'ed files try to seek to the end instead of the
1383 start to determine whether we can seek at all. This fixes the case
1384 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1385 seeks for everything afterwards fail. Fixes #400656
1387 2007-01-25 Wim Taymans <wim@fluendo.com>
1389 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1390 Add some refcount debugging.
1391 Make gst_static_caps_get threadsafe, which is needed when autoplugging
1392 in multiple streaming threads.
1394 2007-01-25 Wim Taymans <wim@fluendo.com>
1396 Patch by: David Schleef <ds at schleef dot org>
1398 * docs/libs/gstreamer-libs-sections.txt:
1399 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1400 * libs/gst/base/gstadapter.h:
1401 API: gst_adapter_copy() that can reduce the amount of memcpy when
1402 getting data from the adapter. Fixes #388201.
1404 2007-01-25 Edward Hervey <edward@fluendo.com>
1406 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1407 In print statements, "%x" is for guint. Fixes build on macosx.
1409 2007-01-24 Edward Hervey <edward@fluendo.com>
1411 * plugins/elements/gstmultiqueue.c:
1412 (gst_multi_queue_loop):
1414 (single_queue_overrun_cb), (single_queue_underrun_cb),
1415 (single_queue_check_full), (gst_single_queue_new):
1416 Implement single queue growth system.
1417 This uses the extra-size properties, and will grow single queues by
1418 that much if one goes full whereas there are others empty. This is
1419 called extra-mode in the code.
1420 When a single queue's levels go back below the initial max-size
1421 limits, it is no longer in extra-mode. This is to ensure we don't
1422 consume too much memory.
1425 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
1427 * gst/gst.c: (gst_init_get_option_group):
1428 Make warning about late g_thread_init() calls a bit more explicit,
1429 so that it's more obvious to application developers what they need
1430 to do if a user files a bug against their application.
1432 2007-01-22 Edward Hervey <edward@fluendo.com>
1434 * plugins/elements/gstmultiqueue.c:
1435 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1436 Remove previous hack of unsetting the flushing flag for the source pad
1437 instead of activating it. Instead, fix the source pad activate function
1438 so that it no longer depends on having a parent set or not.
1440 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
1442 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1444 * docs/manual/basics-bus.xml:
1445 Fix example code, gst_element_unref() doesn't exist any longer.
1447 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
1449 Patch by: Mark Nauwelaerts <manauw at skynet be>
1452 Fix two docs typoes (#399094).
1454 2007-01-19 Edward Hervey <edward@fluendo.com>
1456 * docs/faq/gst-uninstalled:
1457 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1458 depending on libgstbaseutils can work in uninstalled environment.
1460 2007-01-18 Stefan Kost <ensonic@users.sf.net>
1463 * gst/gsttagsetter.c:
1464 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1465 statement for new tag.
1467 2007-01-17 Edward Hervey <edward@fluendo.com>
1469 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1470 When dynamically creating single queues, activate sinkpad before adding
1472 We should be doing the same thing for the source pad, but we can't
1473 since it would call a method which needs the parent to be set in order
1474 to work propertly. Instead of activating the source pad, we just unset
1475 the flushing flag, which is the minimal requirement for adding a pad
1476 to an element in a state greater than READY.
1478 2007-01-17 Edward Hervey <edward@fluendo.com>
1480 * docs/faq/gst-uninstalled:
1481 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1484 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
1486 * tests/check/gst/gstabi.c:
1487 * tests/check/gst/struct_hppa.h:
1488 * tests/check/libs/libsabi.c:
1489 * tests/check/libs/struct_hppa.h:
1490 Add ABI structs for HPPA (see #393796).
1492 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
1494 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1495 Actually write ABI structs to the file specified in the GST_ABI
1496 environment variable, as the message we print claims we would.
1498 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1500 * tests/check/gst/gsttask.c:
1503 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1505 * gst/gsttaglist.c: (_gst_tag_initialize):
1506 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1507 previous two entries.
1509 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1511 * docs/gst/gstreamer-sections.txt:
1512 * gst/gsttaglist.c: (_gst_tag_initialize):
1514 Add tag support for beat-per-minute.
1516 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1518 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1519 (gst_registry_binary_initialize_magic),
1520 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1521 (gst_registry_binary_save_pad_template),
1522 (gst_registry_binary_save_feature),
1523 (gst_registry_binary_save_plugin),
1524 (gst_registry_binary_write_cache),
1525 (gst_registry_binary_check_magic),
1526 (gst_registry_binary_load_pad_template),
1527 (gst_registry_binary_load_feature),
1528 (gst_registry_binary_load_plugin),
1529 (gst_registry_binary_read_cache):
1530 * gst/gstregistrybinary.h:
1531 Use glib types, cleanup comments, impement interfaces and uri-types.
1533 2007-01-13 Andy Wingo <wingo@pobox.com>
1535 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1536 getrange() to return buffers with other caps, while we fix
1537 demuxers and typefind, or otherwise change part-negotiation.txt.
1539 2007-01-12 Andy Wingo <wingo@pobox.com>
1541 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1542 Factor start/stop into this private function instead of partially
1543 in activate functions and partially in the change_state function.
1544 Fixes setup before the element has changed from READY->PAUSED, as
1545 is the case in pull-mode pipelines.
1546 (gst_base_transform_sink_activate_push)
1547 (gst_base_transform_src_activate_pull): Refactor to use
1548 gst_base_transform_activate().
1549 (gst_base_transform_change_state): Removed, not needed any more.
1551 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1552 Truncate before fixating.
1554 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1555 Don't set_caps() if the result of fixating is ANY, as it's not
1556 supported, and not necessary in the case of a link with no
1557 template caps on either side. Fixes tests/check/libs/basesrc in
1558 some pull-mode tests.
1560 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1561 (gst_base_transform_init, gst_base_transform_sink_activate_push)
1562 (gst_base_transform_src_activate_pull):
1563 Track the activation mode.
1564 (gst_base_transform_setcaps): In pull mode, when activating the
1565 src pad, after activating the sink pad, activate the sink pad's
1566 peer, as discussed in part-negotiation.txt.
1568 * libs/gst/base/gstbasesrc.h:
1569 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1570 vmethod, as in basesink.
1572 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1574 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1575 mode, first proxy the setcaps to the peer pad.
1576 (gst_base_sink_pad_fixate): Add a fixate function that calls the
1578 (gst_base_sink_default_activate_pull): Rename from
1579 gst_base_sink_activate_pull.
1580 (gst_base_sink_negotiate_pull): New function, performs negotiation
1581 in pull mode before calling ::activate_pull().
1582 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1583 vmethod instead of the default implementation. I have no idea how
1584 this worked before. Negotiate before calling activate_pull.
1586 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1587 sink pads in pull mode. In addition to being correct, fixes
1588 filesrc ! decodebin ! identity ! fakesink.
1589 (gst_pad_get_range, gst_pad_pull_range): Don't call
1590 gst_pad_set_caps() if the caps changes; instead error out with
1591 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1593 2007-01-12 Andy Wingo <wingo@pobox.com>
1595 * docs/design/part-negotiation.txt: Update with more policy.
1597 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1599 * libs/gst/check/gstbufferstraw.h:
1600 * libs/gst/check/gstcheck.h:
1601 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1604 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1606 * tests/check/Makefile.am:
1607 * tests/check/gst/.cvsignore:
1608 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1609 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1610 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1611 (GST_START_TEST), (gst_tag_setter_suite):
1612 Add minimal unit test for beforementioned GstTagSetter bug.
1614 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1616 Patch by: René Stadler <mail at renestadler dot de>
1618 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1619 gst_tag_list_merge() returns a new list, so it's not the best idea
1620 to ingore its return value. Effectively meant that tags could only
1621 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1622 Also add function guard to require a non-NULL taglist as input (has
1623 always been so due to gst_tag_list_copy(), just making it explicit).
1625 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1627 * docs/random/draft-missing-plugins.txt:
1628 Some additions: mention new API that is supposed to be used at the
1629 various stages; short blob about new gst-inspect introspection
1630 option; mention potential future problem with plugins that have
1631 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1633 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1635 * tools/gst-inspect.c:
1636 (print_plugin_automatic_install_info_codecs),
1637 (print_plugin_automatic_install_info_protocols),
1638 (print_plugin_automatic_install_info), (main):
1639 Add --print-plugin-auto-install-info option to gst-inspect, so we can
1640 introspect plugin files and get machine-parsable output that corresponds
1641 to the last bit of the missing-plugin installer string (small gotcha:
1642 doesn't take into account ranks).
1644 2007-01-11 Stefan Kost <ensonic@users.sf.net>
1647 * docs/gst/gstreamer-sections.txt:
1649 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1650 (gst_registry_lookup_locked):
1651 * gst/gstregistry.h:
1652 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1653 (gst_registry_binary_initialize_magic),
1654 (gst_registry_binary_save_string),
1655 (gst_registry_binary_save_pad_template),
1656 (gst_registry_binary_save_feature),
1657 (gst_registry_binary_save_plugin),
1658 (gst_registry_binary_write_cache),
1659 (gst_registry_binary_check_magic),
1660 (gst_registry_binary_load_pad_template),
1661 (gst_registry_binary_load_feature),
1662 (gst_registry_binary_load_plugin),
1663 (gst_registry_binary_read_cache):
1664 * gst/gstregistrybinary.h:
1665 * gst/gstregistryxml.c: (load_feature),
1666 (gst_registry_xml_read_cache):
1667 commit binary registry (disabled by default, see #359653)
1669 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1671 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1672 Fix 'make check' too.
1674 2007-01-10 Andy Wingo <wingo@pobox.com>
1676 * docs/design/part-negotiation.txt: Fix a typo, add a couple
1679 * docs/design/part-negotiation.txt: Update with, um, one way that
1680 pull-mode negotiation might work?
1683 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1684 that the pad must be a src pad; makes sense to call it the other
1685 way in pull mode, and the logic is symmetric anyway.
1687 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
1689 * plugins/elements/gstfilesink.c:
1690 Include <stdio.h> for fseeko().
1692 2007-01-10 Wim Taymans <wim@fluendo.com>
1696 Reserve LATENCY event.
1698 2007-01-09 Wim Taymans <wim@fluendo.com>
1700 * docs/design/draft-latency.txt:
1703 2007-01-09 Wim Taymans <wim@fluendo.com>
1705 * docs/design/draft-latency.txt:
1709 * gst/gststructure.c:
1713 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
1715 * tests/check/.cvsignore:
1716 Ignore test-registry.xml as well.
1718 2007-01-09 Wim Taymans <wim@fluendo.com>
1720 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1721 unref data at the end when we are done with the pad.
1723 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1725 * docs/gst/gstreamer-sections.txt:
1726 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1727 (init_post), (gst_deinit), (gst_update_registry):
1729 API: add gst_update_registry() (#391296).
1731 * tests/check/Makefile.am:
1732 * tests/check/gst/gstregistry.c:
1733 * tests/check/gst/.cvsignore:
1734 Simple unit test for the above.
1736 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1738 * gst/gstregistry.c: (gst_registry_scan_path_level):
1739 Plugin extension on HP-UX is .sl, add that to the list of approved
1740 plugin extensions (see #393796).
1742 * tests/check/gst/gstpad.c: (GST_START_TEST):
1743 ulong => gulong. Fixes compilation with HP-UX compiler.
1745 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1746 Fix compilation if valgrind headers are not available.
1748 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
1750 * win32/common/libgstreamer.def:
1751 Add new exported function.
1752 * win32/vs6/libgstbase.dsp:
1753 Add gstdataqueue.c to the build.
1754 * win32/vs6/libgstcoreelements.dsp:
1755 Add gstmultiqueue.c to the build.
1757 2007-01-06 Andy Wingo <wingo@pobox.com>
1759 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1760 activate_pull(), providing for a way to specialize the process of
1761 spawning a thread to pull on the sink pad. There is a default
1764 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1765 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1766 (gst_base_sink_init): Renamed pad activation functions (inserting
1767 "_pad" in their names). Refactor to use the new activate_pull
1768 vmethod, as appropriate.
1769 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1770 default activate_pull function to start a task pulling from the
1771 sink pad, as before.
1773 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1774 on the pads if necessary, as in push()/chain(). Update docs.
1775 Shouldn't affect existing pull() usage as it is currently only
1776 being used on buffers without caps.
1778 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1780 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1782 Call g_thread_init() first thing in gst_init() / gst_check_init().
1783 When initialisation is done via gst_init_get_option_group() and
1784 GOption parsing, issue a warning if the GLib thread system has not
1785 been initialised yet by the time gst_init_get_option_group() is
1786 called, as it's quite likely other GLib functions such as
1787 g_option_context_new() have been called already then, and
1788 g_thread_init() must be called before any other GLib function. The
1789 application in question must be fixed in that case, since memory
1790 corruption might happen otherwise.
1791 We issue the warning because even if the GLib folks decide to work
1792 around the problem on their end in future, this is still an issue
1793 with all GLib versions >= 2.10.0, so we should warn until we depend
1794 on a GLib version we know to be safe.
1795 Update documentation as well.
1798 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1800 * tools/gst-inspect.c: (main):
1801 * tools/gst-launch.c: (main):
1802 * tools/gst-typefind.c: (main):
1803 * tools/gst-xmlinspect.c: (main):
1804 Call g_thread_init() really really early, before any other GLib
1805 function (see #342564 and recent discussion on gtk-devel-list).
1807 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1809 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
1811 * gst/gst_private.h:
1812 * gst/gstconfig.h.in:
1814 On win32, all the __declspec stuff for symbol exporting is
1815 apparently only needed with MSVC, but doesn't work with MingW.
1816 Fixes compilation with MingW and #391909.
1818 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1820 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1821 Change some GST_ERROR_OBJECT that aren't really errors to
1822 GST_WARNING_OBJECT in order to reduce terminal spam.
1824 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1826 * tests/check/Makefile.am:
1827 disable test again, as there seem to be still race problems
1829 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1831 * tests/check/Makefile.am:
1832 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1833 (GST_START_TEST), (queue_suite):
1834 enable queue test again, add tests for the leaky behaviour
1836 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
1839 * tests/examples/Makefile.am:
1840 Compile adapter test/example only if the required headers are
1841 available (fixes #391915).
1843 2007-01-01 David Schleef <ds@schleef.org>
1846 Restore the previous signal handler for SIGSEGV instead of
1847 setting to default, since we may have stolen it away from
1848 someone. (i.e., Mono)
1850 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1852 * docs/random/draft-missing-plugins.txt:
1853 Some small additions and clarifications.
1855 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1857 * gst/gstregistryxml.c: (gst_registry_save_escaped):
1858 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1859 since that can lead to random memory corruptions and crashes
1860 (may or may not be related to #383244, #386711, and #386711).
1862 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1864 * tests/check/.cvsignore:
1865 * tests/check/Makefile.am:
1866 sync .cvsignome and CLEANFILES
1868 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1870 * tests/check/Makefile.am:
1873 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1875 * docs/design/part-states.txt:
1876 two tiny additional comments
1878 * gst/gststructure.c:
1881 * tests/check/Makefile.am:
1882 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1884 disable test for now, unless it gets fixed
1886 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1888 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1890 fix race in underrun test
1892 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1894 * tests/check/elements/.cvsignore:
1897 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1899 try to narrow test failure
1901 2006-12-21 David Schleef <ds@schleef.org>
1903 * plugins/elements/gstfakesrc.c:
1904 Use g_random_int_range(), since it produces better random
1905 numbers in a range than almost-correct floating point code.
1907 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1909 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1910 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1911 (gst_check_teardown_sink_pad):
1912 do not automatically (de)activate pads
1914 * tests/check/Makefile.am:
1915 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1916 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1917 add new, yet simple tests for queue
1919 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1920 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1921 * tests/check/elements/filesrc.c: (cleanup_filesrc),
1923 * tests/check/elements/identity.c: (cleanup_identity):
1924 consistent pad (de)activation
1926 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
1928 Patch by: Sebastian Dröge <slomo ubuntu com>
1930 * libs/gst/base/gstcollectpads.c:
1931 Fix two doc typos (#387866).
1933 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1935 * docs/manual/advanced-dparams.xml:
1936 Fix typo (g_object_control_properties() doesn't exist).
1938 2006-12-19 Edward Hervey <edward@fluendo.com>
1940 * gst/gstsegment.c: (gst_segment_set_seek):
1941 Fine tune the cases where the segment start/stop values are really
1943 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1944 Add tests for the return values of gst_segment_set_seek().
1946 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1951 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1953 Fix incorrect documentation and flesh it out a bit more.
1954 Set default values for the max properties on the GParamSpec as well,
1955 so it shows up correctly in gst-inspect.
1957 2006-12-18 Stefan Kost <ensonic@users.sf.net>
1959 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1960 Correct docs of queue, add more detail and crosslink it more.
1962 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1964 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1965 Print additional debug info when the stream isn't perfectly
1966 timestamped; don't try to use invalid durations.
1968 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1970 * docs/design/Makefile.am:
1971 Dist new design docs.
1973 2006-12-16 Wim Taymans <wim@fluendo.com>
1975 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1977 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
1978 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1979 (gst_collect_pads_stop), (gst_collect_pads_event),
1980 (gst_collect_pads_chain):
1981 * libs/gst/base/gstcollectpads.h:
1982 Add refcounting to the collectpads data so we can track when it's safe
1983 to free the data. Fixes #383382.
1985 2006-12-15 Wim Taymans <wim@fluendo.com>
1987 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1988 (gst_collect_pads_remove_pad):
1989 Automatically activate/deactivate pads when they are added to a
1990 started/stoped collectpads.
1992 2006-12-15 Wim Taymans <wim@fluendo.com>
1994 * gst/gstelement.c: (gst_element_add_pad):
1995 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1996 * gst/gstpad.c: (gst_pad_init):
1997 Set pads to FLUSHING when they are created. Check, warn and fix when a
1998 demuxer adds an inactive pad to itself when running. Fixes #339326.
2000 2006-12-15 Wim Taymans <wim@fluendo.com>
2002 * gst/gstelement.c: (gst_element_class_init),
2003 (gst_element_default_send_event), (gst_element_send_event),
2004 (gst_element_default_query), (gst_element_query):
2005 Expose default element send_event and query handling as vmethods that
2006 subclasses can chain up to.
2008 2006-12-15 Wim Taymans <wim@fluendo.com>
2010 * gst/gstelement.c: (gst_element_set_state_func):
2011 Small documentation fixes.
2013 2006-12-15 Wim Taymans <wim@fluendo.com>
2015 * docs/design/draft-latency.txt:
2016 Checked in draft for handling latency in pipelines.
2018 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
2022 * gstreamer.spec.in:
2025 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
2027 * gst/gst.c: (init_pre), (init_post):
2028 init_pre() and init_post() might be called via our GOptionGroup or
2029 from gst_init(), and we should skip both of them if we've already
2030 been initialised, otherwise we will init some things twice or add
2031 two default log functions.
2033 2006-12-13 Edward Hervey <edward@fluendo.com>
2035 * docs/manual/basics-bus.xml:
2036 No, gst_main_loop does not exist. Its g_main_loop.
2037 Discovered by somebody who abused the copy-paste technique of coding :)
2039 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
2041 * gst/gstghostpad.c:
2042 Log ghostpad debug stuff to the GST_PADS category as well rather
2043 than just to the default category.
2045 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
2048 * gst/gst.c: (init_pre):
2049 Add some basic system details such as OS and architecture
2050 to the debug output if possible, courtesy of uname().
2052 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
2054 * docs/gst/running.xml:
2055 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
2056 environment variables.
2058 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
2060 * tests/check/gst/gstbin.c: (GST_START_TEST):
2061 It is acceptable to have a refcount of 2 or 3 at this point in the
2062 test, because the pipeline might be just posting its state_change
2063 message. The next line then waits for that message to appear using
2064 bus_poll, so that should be fine too.
2066 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
2068 * gst/gst.c: (ensure_current_registry_forking):
2069 Ignore EINTR when reading from the child registry pipe.
2070 Explicitly ignore the return value from close, since it makes no
2073 * gst/gstminiobject.c: (gst_mini_object_ref),
2074 (gst_mini_object_unref):
2075 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
2077 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
2078 When removing cached plugins, remove their features too, so they're
2079 not visible after they've disappeared.
2081 * gst/gstutils.c: (prepare_link_maybe_ghosting):
2082 In the unlikely case that we are linking pads with no parents, don't
2083 crash trying to get the non-existent parent bin.
2085 * gst/parse/grammar.y:
2086 Output debug in the PIPELINE category
2088 2005-03-08 Wim Taymans <wim@fluendo.com>
2090 Patch by: René Stadler <mail at renestadler dot de>
2092 * gst/gstclock.c: (gst_clock_new_periodic_id):
2093 Reject invalid clock times for interval of periodic ids.
2096 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2098 * gst/gstelementfactory.c: (gst_element_factory_create):
2099 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2100 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2101 * tools/gst-inspect.c: (print_element_info):
2102 Fix refcounting of gst_plugin_feature_load to match the docs.
2105 2006-12-07 Wim Taymans <wim@fluendo.com>
2107 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2108 (gst_base_sink_get_position):
2109 Improve debugging of events.
2111 2006-12-07 Wim Taymans <wim@fluendo.com>
2113 Patch by: René Stadler <mail at renestadler dot de>
2115 * gst/gstclock.c: (gst_clock_id_wait):
2116 Make period ids add the interval to the origial requested time instead
2117 of the possibly updated time which can be wrong when there are multiple
2118 waiters for the same id. Fixes #382592.
2120 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2121 (gst_system_clock_id_wait_jitter_unlocked),
2122 (gst_system_clock_id_wait_jitter):
2123 Fix restart in the async notify thread when an async entry is added to
2124 the front of the list. Fixes #381492.
2126 * tests/check/gst/gstsystemclock.c: (store_callback),
2127 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2128 Added test for multiple async waits.
2129 Added test for async wait order.
2131 2006-12-07 Wim Taymans <wim@fluendo.com>
2133 * gst/gstbin.c: (gst_bin_query):
2134 Add some more docs about the POSITION query.
2136 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2139 Bump version nano - back to CVS.
2141 === release 0.10.11 ===
2143 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
2146 releasing 0.10.11, "Love never runs on time"
2148 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
2150 * win32/common/libgstbase.def:
2151 * win32/common/libgstreamer.def:
2152 * win32/vs8/libgstbase.vcproj:
2153 * win32/vs8/libgstcoreelements.vcproj:
2154 * win32/vs8/libgstreamer.vcproj:
2155 Fix compilation on win32 under VS8
2156 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2157 Partially fixes #381175
2159 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
2161 * gst/gstvalue.c: (gst_value_compare_fraction):
2162 If someone is foolish enough to compare 2 fractions with denominator =
2163 0, return UNORDERED rather than aborting.
2165 2006-11-28 Edward Hervey <edward@fluendo.com>
2167 * libs/gst/base/Makefile.am:
2168 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2169 (gst_data_queue_base_init), (gst_data_queue_class_init),
2170 (gst_data_queue_init), (gst_data_queue_new),
2171 (gst_data_queue_cleanup), (gst_data_queue_finalize),
2172 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2173 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2174 (gst_data_queue_is_empty), (gst_data_queue_is_full),
2175 (gst_data_queue_set_flushing), (gst_data_queue_push),
2176 (gst_data_queue_pop), (gst_data_queue_drop_head),
2177 (gst_data_queue_set_property), (gst_data_queue_get_property):
2178 * libs/gst/base/gstdataqueue.h:
2179 New GstDataQueue object for threadsafe queueing. Most useful for
2180 elements that need some queueing functionnality.
2181 * docs/libs/gstreamer-libs-docs.sgml:
2182 * docs/libs/gstreamer-libs-sections.txt:
2183 Insert documentation for GstDataQueue
2184 * plugins/elements/Makefile.am:
2185 * plugins/elements/gstelements.c:
2186 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2187 (gst_multi_queue_class_init), (gst_multi_queue_init),
2188 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2189 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2190 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2191 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2192 (gst_multi_queue_loop), (gst_multi_queue_chain),
2193 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2194 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2195 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2196 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2197 (wake_up_next_non_linked), (compute_next_non_linked),
2198 (single_queue_overrun_cb), (single_queue_underrun_cb),
2199 (single_queue_check_full), (gst_single_queue_new):
2200 * plugins/elements/gstmultiqueue.h:
2201 New multiqueue element, using GstDataQueue. Used for queuing multiple
2203 Closes #344639 and #347785
2205 2006-11-22 Stefan Kost <ensonic@users.sf.net>
2207 * docs/pwg/advanced-types.xml:
2208 add more missing type details
2210 * tools/gst-run.c: (main):
2211 remove unused variable
2213 2006-11-21 Stefan Kost <ensonic@users.sf.net>
2215 * docs/libs/Makefile.am:
2216 * docs/libs/gstreamer-libs.types:
2217 add types of base classes to enable gobject specific stuff in the docs
2219 * docs/random/ensonic/embedded.txt:
2220 more ideas about isolating platform specific things
2222 2006-11-20 Wim Taymans <wim@fluendo.com>
2224 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2226 * libs/gst/check/gstcheck.h:
2227 Fix compilation and running against 0.9.4. Fixes #377332.
2229 2006-11-20 Wim Taymans <wim@fluendo.com>
2231 * gst/gstsegment.c: (gst_segment_set_seek),
2232 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2233 (gst_segment_to_running_time):
2234 Fix boundary checking in to_running_time() and to_stream_time().
2237 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2238 stream and running time can now be calculated for the complete
2241 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
2243 * gst/gstpad.c: (gst_pad_push_event):
2244 Can't access event structure after giving away ownership of
2247 2006-11-15 Stefan Kost <ensonic@users.sf.net>
2249 * docs/random/ensonic/embedded.txt:
2250 * docs/random/ensonic/profiling.txt:
2251 * docs/random/ensonic/receipies.txt:
2254 2006-11-13 Wim Taymans <wim@fluendo.com>
2256 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2259 Fix documentation for gst_pad_dispatcher. Fixes #374475.
2261 2006-11-13 Wim Taymans <wim@fluendo.com>
2263 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2265 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2266 Store new length in segment duration so we don't keep on calling the
2267 potentially expensize get_size() call. Fixes #370865.
2269 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
2271 Patch by: Sergey Scobich <sergey.scobich at gmail com>
2273 * win32/common/libgstreamer.def:
2274 Add two missing symbols (#366492).
2276 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
2278 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2279 (gst_adapter_take_buffer):
2280 Fix format string to use all its arguments.
2281 Remove useless >= check on a guint
2283 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2285 * tests/examples/adapter/.cvsignore:
2286 Ignore build file as commanded by the build-bot
2288 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2290 * tests/examples/adapter/Makefile.am:
2291 * tests/examples/adapter/adapter_test.c: (run_test_take),
2292 (run_test_take_buffer), (run_tests), (main):
2294 Add new files from the previous commit
2296 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2300 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2301 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2302 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2303 * libs/gst/base/gstadapter.h:
2304 * tests/check/libs/adapter.c: (create_and_fill_adapter),
2305 (GST_START_TEST), (gst_adapter_suite):
2306 * tests/examples/Makefile.am:
2307 Do some optimisation work in GstAdapter to avoid copies in more cases.
2308 It could still do slightly better by merging buffers when
2309 gst_buffer_is_span_fast is true, but is already faster.
2311 Also, avoid traversing a single-linked list to append each incoming
2312 buffer inside the adapter.
2314 Add simple test app that times the adapter behaviour in different
2315 situations, and extend the unit test to check that bytes enter and
2316 exit the adapter in their original order.
2318 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
2320 * docs/random/draft-missing-plugins.txt:
2321 Update: use element message instead of adding a new message
2322 type to the core; don't provide GStreamer API to initiate the
2323 plugin download, just provide API to compose the strings needed
2324 and let an external libgimmestuff handle the rest.
2326 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
2328 * tools/gst-inspect.c: (print_element_properties_info):
2329 Print a string instead of 'unknown type' for GValueArray properties
2331 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
2333 * docs/random/draft-missing-plugins.txt:
2336 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2338 * tests/examples/typefind/typefind.c: (type_found), (main):
2339 Make typefind element example work again (#371894); add a
2342 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2344 * docs/random/draft-missing-plugins.txt:
2345 Commit initial draft about how to deal with missing plugins,
2346 needs work (API too).
2348 2006-11-07 Stefan Kost <ensonic@users.sf.net>
2350 * docs/pwg/advanced-types.xml:
2351 documents the new caps elements (see #363118)
2353 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2355 * gst/gstplugin.c: (gst_plugin_load_file):
2356 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2357 (gst_file_src_map_region), (gst_file_src_start):
2358 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2359 (gst_file_index_commit):
2360 Use g_strerror() instead of strerror() - we want UTF-8.
2362 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2364 Patch by: Peter Kjellerstedt <pkj at axis com>
2366 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2367 Another printf fix (#371493).
2369 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2371 * tests/check/gst/gsttag.c:
2372 relicence (okay with author=company)
2374 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2376 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2377 (gst_pad_push_event):
2378 Enhance debug and improve docs
2383 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2385 * docs/random/ensonic/distributed.txt:
2386 * docs/random/ensonic/profiling.txt:
2389 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2391 * docs/gst/gstreamer-sections.txt:
2392 add new API and fix the build
2394 * gst/gstbin.c: (gst_bin_recalc_state):
2395 * gst/gstelement.c: (gst_element_message_full),
2396 (gst_element_get_state_func), (gst_element_set_state_func):
2397 use new API and improve logging
2399 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2401 API: add function to get StateChangereturn names to improve logs
2403 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
2405 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2406 I'm considering shooting the next person to put strerror stuff
2407 in the translateable part of the message.
2409 2006-11-03 Wim Taymans <wim@fluendo.com>
2411 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2412 Get the type and printf conversion specifiers right.
2414 2006-11-03 Wim Taymans <wim@fluendo.com>
2416 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2418 * gst/gstpad.c: (gst_pad_init), (pre_activate),
2419 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2420 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2421 Some small cleanups. Improve debugging.
2423 Signal all waiting threads with a broadcast instead of just one.
2426 2006-11-03 Wim Taymans <wim@fluendo.com>
2428 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2429 (gst_fd_src_create):
2431 Only update fd when it's different from the old.
2433 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2435 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2436 Printf fixes for PPC/OSX, take two (#369366).
2438 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2440 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
2442 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2443 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2444 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2445 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2446 don't cast to long long for portability reasons, but use
2447 GLib's types instead.
2449 2006-10-30 Michael Smith <msmith@fluendo.com>
2451 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2452 Get the arguments to lseek() the right way around.
2455 2006-10-30 Wim Taymans <wim@fluendo.com>
2457 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2460 _declspec should be __declspec (two underscores, not one). Fixes 366572.
2462 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2464 Patch by: Kjartan Maraas <kmaraas at gnome org>
2466 * docs/design/part-MT-refcounting.txt:
2467 * docs/random/wtay/capsnego2-docs:
2470 Typo fixes (#366212).
2472 2006-10-28 Wim Taymans <wim@fluendo.com>
2474 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2477 * win32/common/libgstbase.def:
2478 * win32/common/libgstreamer.def:
2479 * win32/vs8/libgstbase.vcproj:
2480 * win32/vs8/libgstcontroller.vcproj:
2481 Add needed entries in .def files.
2483 Rearrange def files in vs8 solutions. Fixes #366286.
2485 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2487 * win32/common/gstconfig.h:
2488 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2489 hand-made win32 gstconfig.h. Fixes #366321.
2491 2006-10-27 Wim Taymans <wim@fluendo.com>
2493 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2494 (gst_ghost_pad_new_full):
2495 Make acceptcaps return TRUE when we don't have a target, just like
2498 2006-10-27 Wim Taymans <wim@fluendo.com>
2500 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2501 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2503 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
2505 * gst/gststructure.c: (gst_structure_id_set_value):
2506 If someone tries to set a non-UTF8 string field on a structure,
2507 don't just print a warning, but also ignore the request and do
2508 not change/add that field to the structure.
2510 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2513 2006-10-25 David Schleef <ds@schleef.org>
2516 g_hash_table_insert() needs a cast to a non-const pointer duh.
2518 2006-10-25 David Schleef <ds@schleef.org>
2522 Change name parameter of _gst_debug_register_funcptr to const
2523 to reflect the constness of its use in the function as well
2524 as to quiet a gcc warning.
2526 2006-10-25 Edward Hervey <edward@fluendo.com>
2528 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2529 Don't push the buffer if it's empty.
2532 2006-10-24 Wim Taymans <wim@fluendo.com>
2537 * libs/gst/base/gstbasetransform.c:
2538 (gst_base_transform_sink_eventfunc):
2539 Debug segment values *after* updating them as this is more
2542 2006-10-23 Wim Taymans <wim@fluendo.com>
2544 * docs/design/part-events.txt:
2547 * docs/design/part-block.txt:
2548 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2549 (gst_pad_push_event):
2550 Revert BLOCKING patch, it tries to be smart without really having a
2551 clear idea what or how. So, now we discard all FLUSHING events again on
2552 a blocking pad. Should fix gnonlin again.
2554 2006-10-23 Wim Taymans <wim@fluendo.com>
2556 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2558 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2559 (gst_base_src_start), (gst_base_src_activate_push):
2560 Make sure size is always initialized. Fixes #364388.
2562 2006-10-20 Stefan Kost <ensonic@users.sf.net>
2564 * docs/random/ensonic/distributed.txt:
2565 add some ideas about doing distributed processing
2567 * docs/random/ensonic/profiling.txt:
2568 get_rusage look promising
2570 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2572 * docs/manual/basics-helloworld.xml:
2573 Add a cast in example to fix compile warning
2575 2006-10-18 Wim Taymans <wim@fluendo.com>
2577 * gst/gstsegment.c: (gst_segment_set_last_stop),
2578 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2579 Relax arg checking again, -1 is allowed.
2581 2006-10-18 Wim Taymans <wim@fluendo.com>
2583 * gst/gstsegment.c: (gst_segment_set_last_stop),
2584 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2585 _set_last_stop() must be with a value != -1
2586 A _TYPE_SET to -1 means seek to 0.
2587 Calc last_stop correctly for negative rates.
2588 Make sure we work with positive durations when updating a segment.
2590 2006-10-18 Wim Taymans <wim@fluendo.com>
2592 * docs/design/part-live-source.txt:
2596 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
2599 Add an explicit cast to GstBuffer** to keep old code that added an
2600 explicit cast to GstMiniObject** for gst_mini_object_replace()
2601 compiling without warning.
2603 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2605 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2606 check for validity of dates
2608 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2610 * docs/gst/gstreamer-sections.txt:
2611 Forgot this one, makes gtk-doc shut up.
2613 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2615 Patch by: Peter Kjellerstedt <pkj at axis com>
2618 Don't define xmlNodePtr to gpointer if the core was built with
2619 --disable-loadsave and --disable-registry, this will break
2620 applications that want to use libxml2 but are buildling against a
2621 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2622 instead so we don't have to mess with the libxml2 namespace
2625 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2628 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2629 type-punned pointer warnings.
2631 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
2634 Add casts to the correct return type to state <=> state transition
2637 2006-10-16 Stefan Kost <ensonic@users.sf.net>
2639 * docs/design/part-live-source.txt:
2640 describe howto handle latency
2642 * docs/random/ensonic/profiling.txt:
2645 * tools/gst-plot-timeline.py:
2646 fix log parsing for solaris, remove unused function
2648 2006-10-16 Wim Taymans <wim@fluendo.com>
2650 * docs/design/part-trickmodes.txt:
2652 Update some docs regarding reverse playback.
2654 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
2656 Patch by: Marcus Granado <mrc dot gran at gmail com>
2658 * win32/vs8/grammar.vcproj:
2659 Error out with a warning if glib-genmarshal.exe is not in path,
2660 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2662 2006-10-13 Wim Taymans <wim@fluendo.com>
2664 * gst/gstsegment.c: (gst_segment_set_seek):
2665 When seeking to stop -1, set last_stop (current position) to the
2666 duration of the segment.
2668 2006-10-13 Wim Taymans <wim@fluendo.com>
2671 Clarify _NO_PREROLL a bit more.
2676 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2677 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2678 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2679 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2680 due to wrong locking order. Fixes #361769.
2681 Remove some redundant/misplaced checks in pad_block.
2683 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2684 For negative rates, count backwards from the duration.
2686 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
2688 * gst/gsterror.c: (_gst_library_errors_init):
2689 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2690 up with something better).
2692 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2694 * win32/vs6/libgstreamer.dsp:
2695 * win32/vs7/libgstreamer.vcproj:
2696 * win32/vs8/libgstreamer.vcproj:
2697 Don't reference glib-compat.c which is currently not used and not
2698 disted; add gstquark.c which was recently added. Fixes #361730.
2700 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2702 * win32/common/libgstbase.def:
2703 * win32/common/libgstcontroller.def:
2704 * win32/common/libgstreamer.def:
2705 Add gst_caps_merge() and a bunch of other recently-added functions.
2708 2006-10-11 Wim Taymans <wim@fluendo.com>
2710 * docs/plugins/gstreamer-plugins.args:
2711 * docs/plugins/inspect/plugin-coreelements.xml:
2712 * docs/plugins/inspect/plugin-coreindexers.xml:
2713 Update element args.
2715 * gst/gstsystemclock.c:
2716 Small comment update.
2718 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2719 (gst_tee_request_new_pad), (gst_tee_release_pad),
2720 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2721 (gst_tee_sink_activate_pull):
2722 * plugins/elements/gsttee.h:
2724 Add default property defines.
2725 Implement release pad function.
2726 Give properties better blubs etc.
2727 Activate pads before adding them to a running tee.
2728 Do simple buffer_alloc on the first requested pad.
2729 Post error when activation fails.
2731 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2733 * gst/gst.c: (ensure_current_registry_forking):
2734 Check return value of write() to make compiler happy.
2736 2006-10-11 Wim Taymans <wim@fluendo.com>
2738 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2740 * plugins/elements/gstqueue.c: (gst_queue_chain):
2741 Recheck queue filledness after signalling the overrun when we're about
2742 to leak downstream because we released the lock when emitting the signal
2743 and the queue could be empty again. Fixes #352345.
2745 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2747 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2748 Fix refcounting here too, just like we did for _new_valist() a few
2749 days ago (#357180) (thanks to René Stadler). Also remove all those
2750 'Since: 0.9' from the gtk-doc blobs.
2752 * tests/check/libs/controller.c: (controller_refcount_new_list),
2753 (gst_controller_suite):
2754 Unit test for the above.
2756 2006-10-10 Wim Taymans <wim@fluendo.com>
2758 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2760 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2761 (gst_pad_save_thyself):
2763 Write pad direction in XML output. Fixes #345496.
2765 2006-10-10 Wim Taymans <wim@fluendo.com>
2767 Patch by: René Stadler <mail at renestadler dot de>
2769 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2770 (gst_controller_new_list), (_gst_controller_dispose),
2771 (_gst_controller_finalize), (_gst_controller_class_init):
2772 Take ref to controlled object so that it cannot disappear.
2775 2006-10-10 Wim Taymans <wim@fluendo.com>
2777 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2778 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2779 (gst_check_teardown_sink_pad):
2780 Activate/deactivate pads in setup/teardown respectively.
2782 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2784 Patch by: Josep Torre Valles <josep@fluendo.com>
2787 Cast values when making gstenumtypes.h. This pacifies Forte
2788 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2791 2006-10-09 Wim Taymans <wim@fluendo.com>
2793 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2794 Rename some more @cur to @start to fix docs.
2796 * gst/gstsegment.c: (gst_segment_set_seek):
2798 time and start must always stay in sync as defined in design doc.
2800 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2801 Rename param to fix docs.
2803 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2804 Check that start and time are in sync.
2806 * tests/check/pipelines/parse-launch.c:
2807 (gst_parse_test_element_change_state):
2808 Activate pad before adding to the element.
2810 2006-10-09 Wim Taymans <wim@fluendo.com>
2812 * docs/design/part-qos.txt:
2817 Update seek event docs regarding negative rates.
2818 Rename @cur to @start.
2820 * gst/gstsegment.c: (gst_segment_set_seek):
2822 Update set_seek docs regarding negative rates.
2823 Correctly update last_stop to @stop when dealing with negative
2825 Rename @cur to @start.
2827 * tests/check/gst/gstpad.c: (GST_START_TEST):
2828 Activate pads before trying to use them.
2830 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2831 (gst_segment_suite):
2832 Add simple check for segments and negative rates.
2834 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
2836 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2838 * docs/gst/gstreamer-sections.txt:
2839 API: add gst_tag_list_is_empty() (#360467).
2841 * tests/check/gst/gsttag.c: (GST_START_TEST):
2844 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2847 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2848 a value that doesn't fit on enumeration.
2850 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2852 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2853 Remove local debugging system and use Gstreamer's instead.
2855 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2857 Patch by: Josep Torre Valles <josep@fluendo.com>
2859 * common/m4/gst-error.m4:
2860 Disable warning of statement not reached on Forte.
2862 Fix warning on Forte (value doesn't fit on enumeration).
2863 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2864 Fix warning on Forte (value doesn't fit on enumeration).
2865 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2866 DEBUG macro says it takes minimum of 2 args and so Forte
2867 complains about the use with just 1 arg.
2868 * plugins/elements/gstfdsink.c:
2869 * plugins/elements/gstfdsrc.c:
2870 * plugins/elements/gstfilesink.c:
2871 * plugins/elements/gstfilesrc.c:
2872 Use correct return type for the uri handler implementations.
2874 All these fix warnings in Forte. Fixes bug #360860.
2876 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
2879 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2880 format string, so don't use G_GNUC_PRINTF for those versions.
2882 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2884 * gst/gsttaglist.c: (gst_is_tag_list):
2886 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2888 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2889 Small test for the above.
2891 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2894 Less tabs, more spaces.
2896 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
2899 Those two function declarations do actually belong there, revert
2900 commit from yesterday that turned them intro macros.
2902 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2904 Patch by: Josep Torre Valles <josep@fluendo.com>
2906 * gst/gst.c: (gst_init_get_option_group):
2907 Fix empty declaration and type mismatch.
2908 * gst/gstbin.c: (gst_bin_change_state_func):
2910 * gst/gstelement.c: (gst_element_continue_state),
2911 (gst_element_set_state_func), (gst_element_change_state),
2912 (gst_element_change_state_func):
2913 Fix type mismatches.
2914 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2915 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2916 Cast as appropriate.
2917 * gst/gstobject.c: (gst_class_signal_connect):
2918 Cast as appropriate. The function pointer parameter really
2919 has the wrong type but would break API if we change it.
2921 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2922 order of including string.h.
2923 * gst/gstutils.c: (gst_element_state_get_name):
2924 Remove unreachable line.
2925 * gst/gstxml.c: (gst_xml_parse_doc):
2927 All these caught by Forte.
2929 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2931 Patch by: Josep Torre Valles <josep@fluendo.com>
2933 * common/m4/gst-error.m4:
2935 We need to disable warnings on Forte for empty declarations
2936 due to gst-indent adding ;s to lines that just use macros
2937 where the macro actually doesn't need a ; at end to end
2940 2006-10-06 Wim Taymans <wim@fluendo.com>
2942 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2943 (gst_file_sink_close_file), (gst_file_sink_event),
2944 (gst_file_sink_render):
2945 Add some FIXME for the NEWSEGMENT handling.
2947 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2949 * gst/parse/grammar.y:
2950 Remove static function gst_parse_element_lock as all it does
2951 is return. Looks like cruft from 0.8.
2953 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2955 Patch by: Josep Torre Valles <josep@fluendo.com>
2957 * common/m4/gst-error.m4:
2959 * libs/gst/net/Makefile.am:
2960 Fix a compilation issue with Forte on Solaris. inet_aton is in
2963 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2965 * gst/gstpad.c: (pre_activate):
2966 * gst/gstregistry.c: (gst_registry_scan_path_level):
2967 * gst/gstregistryxml.c: (load_plugin):
2968 * libs/gst/controller/gstcontroller.c:
2969 (gst_controlled_property_set_interpolation_mode):
2970 * libs/gst/dataprotocol/dataprotocol.c:
2971 (gst_dp_packet_from_event_1_0):
2972 * libs/gst/net/gstnetclientclock.c:
2973 (gst_net_client_clock_observe_times):
2974 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2977 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2980 * docs/gst/gstreamer-sections.txt:
2981 * gst/gstconfig.h.in:
2984 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
2985 whether we can use G_GNUC_PRINTF in other header files and at
2986 least check the printf format/arguments of debug messages and
2987 GST_ELEMENT_ERROR messages when the printf extension is not
2989 Replace more tabs with spaces in gstinfo.h and remove two spurious
2990 function declarations in GST_DISABLE_DEBUG part with macros.
2992 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
2994 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
2995 More docs for the sync-message signal (mention that it is not
2996 emitted by default); log message structures of messages posted on
2999 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
3001 * gst/gst.c: (ensure_current_registry_forking):
3002 Use a pipe pair to receive status results from the forked child, and
3003 ignore the result from waitpid. Fixes #355499
3005 2006-10-02 Wim Taymans <wim@fluendo.com>
3007 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3008 (gst_ghost_pad_suite):
3011 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
3014 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
3016 2006-10-02 Edward Hervey <edward@fluendo.com>
3018 * docs/design/part-block.txt:
3019 Further explain the use of flushing on blocked pads.
3020 * docs/gst/gstreamer-sections.txt:
3021 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3022 (gst_pad_push_event):
3024 Added new GstPadFlag : GST_PAD_BLOCKING.
3025 Adds the notion of pads really blocking, which enables to properly
3026 handle FLUSH_START/FLUSH_STOP events on blocked pads.
3028 API: gst_pad_is_blocking()
3029 API: GST_PAD_IS_BLOCKING() macro
3030 API: GST_PAD_BLOCKING GstPadFlag
3032 2006-10-02 Wim Taymans <wim@fluendo.com>
3034 Patch by: mrcgran <mrc.gran at gmail dot com>
3036 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
3037 Filter the proxied caps against the padtemplate if we have one.
3039 * gst/gstquery.c: (gst_query_new_segment):
3040 Add include for gstinfo.h so that compilation with
3041 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
3043 2006-10-02 Wim Taymans <wim@fluendo.com>
3045 Patch by: Alessandro Decina <alessandro at nnva org>
3047 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
3048 (gst_file_sink_set_location), (gst_file_sink_open_file),
3049 (gst_file_sink_close_file), (gst_file_sink_event),
3050 (gst_file_sink_render):
3051 Set file to NULL when closing filesink so that we can set a new filename
3052 in READY. Fixes #358613.
3054 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
3056 Patch by: Alessandro Decina <alessandro at nnva org>
3058 * gst/gstevent.c: (_gst_event_copy):
3059 Fix gst_mini_object_make_writable() and gst_event_copy() for events
3060 with event structures by setting the parent refcount address of the
3061 copied structure to the address of the refcount member of the newly
3062 copied event rather than the address of the refcount member of the
3063 original event. Fixes #358737.
3065 * tests/check/gst/gstevent.c: (GST_START_TEST):
3066 Unit test for the above.
3068 2006-09-29 Stefan Kost <ensonic@users.sf.net>
3070 * docs/design/Makefile.am:
3071 Dist some more files.
3073 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3075 * tests/check/libs/controller.c: (GST_START_TEST),
3076 (gst_controller_suite):
3077 Add test for the previous fix; add some more tests
3078 for correct refcounting behaviour; fix a few leaks
3079 in test cases; call gst_controller_init() at start
3082 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3084 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3085 (gst_controller_set_from_list):
3086 Don't g_return_val_if_fail() on timed values with invalid timestamps
3087 inside a critical section without unlocking the mutex. Spotted by
3088 René Stadler. (#357617)
3089 Also, fix up refcounting properly: when returning an existing
3090 controller, we should increase the reference only once and not
3091 once per property and when trying to control a property again
3092 we should also increase the refcount.
3094 2006-09-29 Wim Taymans <wim@fluendo.com>
3096 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3097 * libs/gst/net/gstnettimeprovider.c:
3098 (gst_net_time_provider_thread):
3099 Stop reading commands when EOF as well.
3101 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3102 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3103 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3104 Unify description of the dump property.
3106 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3108 * tests/examples/manual/.cvsignore:
3109 OK, so it's actually cvsignore that needs changing. Stop laughing.
3111 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3113 * tests/examples/manual/Makefile.am:
3114 Gah, declare vars *before* using them
3116 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3118 * gst/gst.c: (init_pre), (scan_and_update_registry),
3119 (ensure_current_registry_nonforking),
3120 (ensure_current_registry_forking), (ensure_current_registry),
3121 (init_post), (gst_debug_help), (gst_deinit):
3122 * gst/gst_private.h:
3123 * gst/gstregistry.c: (gst_registry_finalize),
3124 (gst_registry_remove_features_for_plugin_unlocked),
3125 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3126 (gst_registry_scan_path),
3127 (_priv_gst_registry_remove_cache_plugins),
3128 (_priv_gst_registry_cleanup):
3129 * gst/gstregistry.h:
3130 Re-commit the registry changes, along with an extra fix:
3131 When a cached plugin is encountered at a different file path,
3132 update the stored path in the registry cache so that the parent
3133 process knows where it actually is now when it re-reads the registry
3134 cache. Fixes the thing that broke distcheck with the previous commit.
3136 * tests/check/Makefile.am:
3137 Clean up files named 'core' too when running make clean.
3139 * tests/examples/manual/Makefile.am:
3140 Set up a registry path for running these tests, and clean it properly
3143 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3146 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3147 want gmodule-no-export-2.0.pc instead so that we don't drag in
3148 --export-dynamic on every project that links to GStreamer.
3150 Also, make our export regex only match the start of symbols, rather
3151 than any symbol that contains '_gst' somewhere.
3153 * libs/gst/check/Makefile.am:
3154 The libgstcheck we build does however need export-dynamic, as it
3155 produces some symbols that don't match our _gst... style regex.
3158 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3160 * gst/gst.c: (init_pre), (scan_and_update_registry),
3161 (ensure_current_registry_nonforking),
3162 (ensure_current_registry_forking), (ensure_current_registry),
3163 (init_post), (gst_debug_help), (gst_deinit):
3164 * gst/gst_private.h:
3165 * gst/gstregistry.c: (gst_registry_finalize),
3166 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3167 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3168 (_gst_registry_cleanup):
3169 * gst/gstregistry.h:
3170 Revert previous change until I figure out why it breaks distcheck.
3172 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3174 * gst/gst.c: (init_pre), (scan_and_update_registry),
3175 (ensure_current_registry_nonforking),
3176 (ensure_current_registry_forking), (ensure_current_registry),
3177 (init_post), (gst_debug_help), (gst_deinit):
3179 Make init_pre and init_post take the full complement of GOptionFunc
3180 args so they can return useful GErrors. Make the registry updating
3183 Call _priv_gst_registry_remove_cache_plugins after scanning files to
3184 ensure that the registry we're about to write out doesn't contain
3185 stale information about old-deleted plugin files.
3187 Make _priv_gst_registry_remove_cache_plugins return a boolean so
3188 that deletion of plugin files is considered a registry change.
3190 * gst/gst_private.h:
3191 * gst/gstregistry.c: (gst_registry_finalize),
3192 (gst_registry_remove_features_for_plugin_unlocked),
3193 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3194 (gst_registry_scan_path),
3195 (_priv_gst_registry_remove_cache_plugins),
3196 (_priv_gst_registry_cleanup):
3197 * gst/gstregistry.h:
3198 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3199 by adding _priv prefix, so that they won't appear in the global
3200 symbol table. They still do atm though because of #318031. Move the
3201 prototypes to gst_private.h
3203 When removing a plugin, remove all features for that plugin too.
3206 2006-09-27 Wim Taymans <wim@fluendo.com>
3208 * docs/random/moving-plugins:
3209 Make it clear that the "compiled-in descriptions" really mean
3210 the element details.
3212 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3213 (gst_base_sink_wait_preroll):
3216 * docs/libs/gstreamer-libs-sections.txt:
3217 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3218 (gst_base_src_get_range), (gst_base_src_activate_push):
3219 * libs/gst/base/gstbasesrc.h:
3220 Added function to block while waiting for PLAYING, this function
3221 is used by live sources that block on the clock.
3222 API: gst_base_src_wait_playing()
3224 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3226 Patch by: Peter Kjellerstedt <pkj at axis com>
3229 gst-element-check.m4 is generated and should therefore be
3230 copied from the build dir rather than the source dir (#357593).
3231 'make distcheck' hasn't noticed this because we were disting
3232 the file as well, so stop doing that.
3234 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3236 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3237 Add some tests for gst_caps_intersect().
3239 * tools/gst-launch.c: (event_loop):
3240 Print all buffering percentages we get, even the 100% one.
3242 2006-09-26 Wim Taymans <wim@fluendo.com>
3244 * tools/gst-inspect.c: (print_element_properties_info),
3245 (print_signal_info):
3246 Fix printing of flags to match the look of enums.
3248 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3250 * gst/gstelementfactory.c:
3251 Fix typo in docs blurb.
3253 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3255 * gst/gsturi.c: (search_by_entry):
3256 Don't assert/crash here if a uri handler doesn't return any
3257 supported protocols. The list of protocols could be generated
3258 dynamically at runtime or at plugin registration, and an error
3259 in the underlying library shouldn't be fatal (#353301).
3261 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3264 Fix warning if HAVE_PRINTF_EXTENSION is undefined
3265 (spotted by Peter Kjellerstedt).
3267 2006-09-23 Wim Taymans <wim@fluendo.com>
3269 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3271 * libs/gst/base/gstbasesrc.c:
3272 (gst_base_src_default_check_get_range), (gst_base_src_start),
3273 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3274 (gst_base_src_change_state):
3275 Match _start/_stop calls in the activate functions. Remove redundant
3276 _stop call from the state change function. Fixes #356910.
3277 Turn failure DEBUG into ERROR.
3279 2006-09-22 Wim Taymans <wim@fluendo.com>
3281 * docs/design/part-buffering.txt:
3282 * gst/gstmessage.c: (gst_message_new_buffering),
3283 (gst_message_parse_buffering):
3284 Update docs about buffering.
3286 * docs/design/part-trickmodes.txt:
3289 2006-09-22 Stefan Kost <ensonic@users.sf.net>
3291 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3292 (gst_controller_new_list):
3293 Ref instances when returning them again (fixes #357180)
3295 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
3297 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3298 Don't forget to release proxy lock when there's an error.
3300 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
3303 Add extra initialisers for Caps things, to fix some plugin warnings
3306 2006-09-18 Wim Taymans <wim@fluendo.com>
3308 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3309 Also set template on the internal pad so that a getcaps from the
3310 target pad returns the template caps.
3312 2006-09-18 Wim Taymans <wim@fluendo.com>
3314 * gst/gstelement.c: (gst_element_post_message),
3315 (gst_element_dispose):
3316 Use _DEBUG_OBJECT some more.
3318 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3321 * tools/gst-launch.c: (main):
3322 If the toplevel element is not a GstPipeline, it must be put in a
3323 pipeline so that a bus and clock is selected.
3325 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3327 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3328 JITTER, RATE, and LATENCY query should be handled by the
3329 default case and not by the CONVERT query code.
3331 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3333 * gst/gstformat.c: (gst_format_register):
3334 Fix locking order (must take lock before using n_values).
3336 * gst/gstvalue.c: (gst_value_serialize_enum),
3337 (gst_value_deserialize_enum_iter_cmp),
3338 (gst_value_deserialize_enum):
3339 Fix serialisation/deserialisation of custom registered GstFormats.
3341 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3342 Unit test for custom format serialisation/deserialisation.
3344 2006-09-17 Stefan Kost <ensonic@users.sf.net>
3346 * docs/pwg/building-boiler.xml:
3347 * plugins/elements/gstcapsfilter.c:
3348 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3351 2006-09-16 Edward Hervey <edward@fluendo.com>
3353 * libs/gst/base/gstbasetransform.c:
3354 (gst_base_transform_buffer_alloc):
3355 Check if requested caps are the same as the sinks caps IF
3356 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3358 This fixes the renegotiation issues stated in #352827.
3360 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3363 * docs/manual/advanced-autoplugging.xml:
3364 * tests/examples/Makefile.am:
3365 * tests/examples/manual/.cvsignore:
3366 * tests/examples/manual/Makefile.am:
3367 * tests/examples/manual/extract.pl:
3368 Extract the manual examples again like we used to do.
3371 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3373 * win32/common/config.h:
3376 2006-09-16 Stefan Kost <ensonic@users.sf.net>
3379 Documents how to receive errors.
3381 2006-09-15 Wim Taymans <wim@fluendo.com>
3383 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3384 (event_loop), (main):
3385 Added some comments here and there.
3386 Post an application message when an interrupt is caught instead of doing
3387 an uncontrolled state change.
3388 Clean up the event loop.
3389 Handle buffering messages, pause/resume the pipeline.
3390 Make shutdown because of an interrupt more reliable.
3392 2006-09-15 Wim Taymans <wim@fluendo.com>
3394 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3395 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3396 (gst_base_sink_preroll_object):
3397 Make sure that our internal state is correct when we commit our state
3398 asynchronously. This solves a race where a state change to PLAYING
3399 could cause the sink to remain blocked in preroll in some situations.
3401 2006-09-15 Wim Taymans <wim@fluendo.com>
3403 * tools/gst-inspect.c: (print_element_properties_info),
3404 (print_signal_info):
3405 List flags as hex so it's easier to deal with.
3407 2006-09-15 Wim Taymans <wim@fluendo.com>
3409 * docs/libs/gstreamer-libs-sections.txt:
3410 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3411 (gst_base_sink_do_sync):
3412 * libs/gst/base/gstbasesink.h:
3413 Expose logic to wait for preroll so that subclasses such as audiosink
3414 can also use this method.
3415 API: gst_base_sink_wait_preroll()
3417 2006-09-15 Wim Taymans <wim@fluendo.com>
3419 * gst/gstobject.c: (gst_object_set_parent):
3420 * gst/gstpipeline.c: (do_pipeline_seek):
3421 Small cleanups in docs and code.
3423 * gst/gstsegment.c: (gst_segment_clip):
3424 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3425 if stop == start and start is in the segment, no clipping should be
3426 done. Also add a test for this.
3428 2006-09-15 Wim Taymans <wim@fluendo.com>
3430 * docs/design/part-buffering.txt:
3431 * docs/gst/gstreamer-sections.txt:
3432 * gst/gstmessage.c: (gst_message_new_buffering),
3433 (gst_message_parse_buffering):
3435 Added methods to create and parse BUFFERING messages.
3436 Added preliminary docs about buffering.
3437 API: gst_message_new_buffering
3438 API: gst_message_parse_buffering
3440 2006-09-06 Wim Taymans <wim@fluendo.com>
3443 Update documentation.
3445 * gst/gstelement.c: (gst_element_class_init),
3446 (gst_element_release_request_pad), (gst_element_set_clock),
3447 (gst_element_get_index), (gst_element_add_pad),
3448 (gst_element_remove_pad), (gst_element_get_random_pad),
3449 (gst_element_send_event), (gst_element_get_query_types),
3450 (gst_element_query), (gst_element_post_message),
3451 (gst_element_message_full), (gst_element_continue_state),
3452 (gst_element_lost_state), (gst_element_save_thyself),
3453 (gst_element_restore_thyself):
3454 Documentation updates.
3455 Rename last bit of the new-pad -> pad-added signal rename.
3456 Fix the case where an element query would only work if the source
3458 Avoid some useless type checking in message handling.
3463 Documentation updates.
3465 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3467 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3468 add an INFO line for when we actually update the fd
3470 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3475 === release 0.10.10 ===
3477 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3480 releasing 0.10.10, "Pais"
3482 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
3484 * docs/manual/advanced-position.xml:
3485 Fix typo in sample code.
3487 2006-09-05 Wim Taymans <wim@fluendo.com>
3489 * libs/gst/net/gstnetclientclock.c: (inet_aton),
3490 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3491 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3492 * libs/gst/net/gstnetclientclock.h:
3493 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3494 * libs/gst/net/gstnettimepacket.h:
3495 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3496 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3497 (gst_net_time_provider_thread), (gst_net_time_provider_new):
3498 * libs/gst/net/gstnettimeprovider.h:
3499 Make stuff compile on windows. Fixes #345295.
3501 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3503 * gst/gst.c: (ensure_current_registry_forking):
3504 Print better details when child was terminated by signal.
3506 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3508 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3509 Print a warning rather than g_assert() if a plugin feature
3510 is a URI handler but returns no protocols (#353976).
3512 2006-09-02 Stefan Kost <ensonic@users.sf.net>
3514 * docs/random/moving-plugins:
3517 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
3519 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3520 Fix locking order, handle NULL function values properly.
3525 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3526 Initialise variable before using it and fix debug statement to
3527 print the address of the function rather than the address of the
3528 variable on the stack holding the address of the function.
3530 2006-09-01 Wim Taymans <wim@fluendo.com>
3532 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3533 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3534 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3535 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3536 (gst_ghost_pad_parent_unset),
3537 (gst_ghost_pad_internal_do_activate_push),
3538 (gst_ghost_pad_internal_do_activate_pull),
3539 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3540 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3541 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3542 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3543 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3544 (gst_ghost_pad_new_no_target_from_template),
3545 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3547 Avoid needless typechecking in macros.
3548 Since the internal pad is always present and never changes, there is
3549 no need to locking or ref when retrieving it.
3550 Improve debugging a bit.
3551 Handle link errors when setting the target. Fixes #341029.
3553 2006-09-01 Wim Taymans <wim@fluendo.com>
3555 * docs/libs/gstreamer-libs-sections.txt:
3556 * docs/plugins/gstreamer-plugins-sections.txt:
3559 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3560 (gst_collect_pads_event):
3561 * libs/gst/base/gstcollectpads.h:
3562 Documentation updates.
3563 Free queued buffer when removing a pad.
3565 2006-08-31 Michael Smith <msmith@fluendo.com>
3567 * gst/gstutils.c: (gst_element_link_pads),
3568 (gst_element_link_pads_filtered):
3569 Ensure that we set a capsfilter to NULL if we failed to link it
3570 when doing filtered linking, to avoid criticals.
3572 No need to check for unreffing srcpad, which is explicly NULLed
3573 above (a trivial code cleanup).
3575 2006-08-31 Wim Taymans <wim@fluendo.com>
3577 * docs/design/part-gstghostpad.txt:
3578 Update ascii art in documentation.
3580 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3581 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3582 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3583 (gst_ghost_pad_internal_do_activate_push),
3584 (gst_ghost_pad_internal_do_activate_pull),
3585 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3586 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3587 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3588 (gst_ghost_pad_set_target):
3589 Small cleanups and leak fixes.
3590 Remove some checks now that the internal pad is never NULL.
3591 Fix the case where linking pads without a target would create nasty
3592 criticals. Fixes #341029.
3593 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3594 value of _set_target().
3596 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3597 (gst_ghost_pad_suite):
3598 Some more tests for creating and linking untargeted ghostpads.
3600 2006-08-31 Edward Hervey <edward@fluendo.com>
3602 * docs/gst/gstreamer-sections.txt:
3603 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3604 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3605 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3606 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3607 (gst_ghost_pad_new_from_template),
3608 (gst_ghost_pad_new_no_target_from_template):
3609 * gst/gstghostpad.h:
3610 Refactored *_new() functions.
3611 Templates are now used as a g_object_new() parameter.
3612 Use template in _do_getcaps() if we don't have a target.
3613 Small documentation cleanups.
3614 Added two new constructors:
3615 gst_ghost_pad_new_from_template()
3616 gst_ghost_pad_new_no_target_from_template()
3617 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3618 (gst_ghost_pad_suite):
3619 Added tests for new ghostpad instanciation functions.
3621 API additions: gst_ghost_pad_new_from_template,
3622 gst_ghost_pad_new_no_target_from_template
3624 2006-08-30 Stefan Kost <ensonic@users.sf.net>
3626 * docs/random/ensonic/profiling.txt:
3627 Ideas about qos profiling.
3629 2006-08-29 Wim Taymans <wim@fluendo.com>
3631 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3635 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
3638 Improve and detypofy docs.
3640 * tests/check/Makefile.am:
3641 * tests/check/gst/.cvsignore:
3642 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3643 Add a basic test suite for GstXML.
3645 2006-08-29 Wim Taymans <wim@fluendo.com>
3647 * gst/gstelement.c: (activate_pads), (clear_caps),
3648 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3649 Clear the pad caps when the element shut down all of the pads and
3650 is not streaming data that could modify the caps.
3653 2006-08-28 Michael Smith <msmith@fluendo.com>
3655 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3656 Revert previous change; I misunderstood single-segment mode.
3658 2006-08-28 Michael Smith <msmith@fluendo.com>
3660 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3661 Unset DISCONT on buffers when using single-segment mode.
3663 2006-08-28 Wim Taymans <wim@fluendo.com>
3665 * gst/gstcaps.c: (gst_caps_merge_structure):
3667 Fix docs and indentation again.
3669 * tests/check/gst/gstquery.c: (GST_START_TEST):
3670 Fix leak in tests and add some more tests.
3672 2006-08-28 Edward Hervey <edward@fluendo.com>
3674 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3675 Inform GstSegment of the last stop position in order for the current
3676 segment to have a proper duration if it doesn't have a specific stop
3677 position from which a duration could be calculated.
3678 This bug was noticeable when a non-flushing, non-update new segment was
3679 followed by another segment (all buffers from the new segment were being
3682 2006-08-28 Wim Taymans <wim@fluendo.com>
3684 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3685 Small comment update.
3687 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3688 (gst_identity_transform_ip):
3689 Drop-probability is broken, mention this in the code with a
3690 FIXME and also in the property description.
3691 Make silent also be silent about the drop messages.
3693 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
3695 * docs/manual/appendix-win32.xml:
3696 Remove mention of popt, we don't depend on that any
3697 longer (#353136). Add some comments pointing out that
3698 this section is slightly outdated.
3700 2006-08-28 Wim Taymans <wim@fluendo.com>
3702 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3704 * gst/gstquery.c: (gst_query_new_segment):
3705 * tests/check/gst/gstquery.c: (GST_START_TEST):
3706 Initialize variables when creating a new segment query.
3709 2006-08-28 Wim Taymans <wim@fluendo.com>
3711 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3713 * gst/gstelement.c: (gst_element_get_bus):
3714 * tests/check/gst/gstelement.c: (GST_START_TEST):
3715 Check for NULL before _reffing the bus. Fixes #353122.
3717 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
3719 * docs/manual/basics-bus.xml:
3720 Docs update: fix wrong callback return value explanation; add
3721 some lines about the implicit relationship between main loop
3722 and main context; remove duplicate main loop variable declaration.
3724 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
3726 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3727 Don't leak caps in unit test; add a few more simple
3730 2006-08-24 Stefan Kost <ensonic@users.sf.net>
3732 * docs/gst/gstreamer-sections.txt:
3733 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3734 (gst_caps_structure_is_subset), (gst_caps_merge),
3735 (gst_caps_merge_structure):
3737 * libs/gst/base/gstbasetransform.c:
3738 (gst_base_transform_transform_caps):
3739 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3740 implement caps merging (fixes #352580)
3742 2006-08-23 Stefan Kost <ensonic@users.sf.net>
3744 * tools/Makefile.am:
3745 * tools/gst-plot-timeline.py:
3746 add debug-log plotting developer tool (#340674)
3748 2006-08-23 Wim Taymans <wim@fluendo.com>
3750 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3751 (gst_pad_stop_task):
3752 Improve debugging for task functions.
3754 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3755 (gst_task_start), (gst_task_pause), (gst_task_join):
3756 Make sure that the task function started and finished after a
3758 Don't try to push the task function on the threadpool multiple
3760 Improve the g_warning message with some useful suggestions
3761 about how to fix the problem.
3763 2006-08-23 Wim Taymans <wim@fluendo.com>
3765 * gst/gstutils.c: (gst_pad_proxy_getcaps):
3766 Handle RESYNC correctly in _proxy_getcaps.
3768 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
3770 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3771 (gst_xml_parse_memory), (gst_xml_get_element):
3772 Chain up to parent class in dispose function and also
3773 unref the elements in the toplevel_elements GList.
3774 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3775 Always return a reference in gst_xml_get_element() rather
3776 than only sometimes.
3778 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3779 Don't leak GstXml object.
3781 2006-08-21 Stefan Kost <ensonic@users.sf.net>
3783 * docs/gst/gstreamer-sections.txt:
3784 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3787 * libs/gst/base/gstbasetransform.c:
3788 (gst_base_transform_transform_caps):
3789 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3792 2006-08-21 Edward Hervey <edward@fluendo.com>
3794 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3795 Implement GObject::dispose virtual method in GstXML so we can free the
3798 2006-08-21 Wim Taymans <wim@fluendo.com>
3800 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3801 (gst_buffer_create_sub):
3802 Copy duration/offset_end/caps when creating a subbuffer of the
3804 Make the subbuffer read-only when we make the metadata writable for
3807 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3808 Added check for metadata copy when creating subbuffers.
3810 2006-08-21 Edward Hervey <edward@fluendo.com>
3812 * libs/gst/base/gstbasetransform.c:
3813 (gst_base_transform_buffer_alloc):
3814 Only call downstream buffer_alloc if transform element is passthrough
3815 or always_in_place. Closes #350449.
3817 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3820 ChangeLog surgery to add comments to previous changes
3822 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3827 * gst/gstpad.c: (gst_pad_set_active):
3828 Be more verbose in the log
3830 * libs/gst/base/gstbasetransform.c:
3831 (gst_base_transform_transform_caps):
3832 Simplify caps to get rid of duplicates, fixes #345444
3834 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3838 Use these optimizations only internally.
3840 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3842 * gst/gstvalue.c: (gst_value_compare_list),
3843 (gst_value_compare_fraction_range),
3844 (gst_value_intersect_fraction_fraction_range),
3845 (gst_value_intersect_fraction_range_fraction_range),
3846 (gst_value_subtract_fraction_fraction_range),
3847 (gst_value_subtract_fraction_range_fraction_range),
3848 (gst_value_get_compare_func), (gst_value_compare),
3849 (gst_value_compare_with_func):
3851 Saves the expensive lookup of the compare function in many cases
3854 2006-08-18 Edward Hervey <edward@fluendo.com>
3856 * tests/check/gst/gstinfo.c: (gst_info_suite):
3857 Disable test that require gstdebug if it wasn't built in core.
3859 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3861 * docs/random/ensonic/logging.txt:
3864 * gst/gstinfo.c: (gst_debug_log_default):
3865 reorder fields, save some columns, add optional color codes for log
3868 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3870 * docs/random/ensonic/logging.txt:
3871 add ideas about making the logs a bit more useful
3873 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3875 * docs/pwg/advanced-events.xml:
3876 * docs/pwg/titlepage.xml:
3877 Update for 0.10 API (#340627). Add myself
3880 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3882 * docs/libs/gstreamer-libs-docs.sgml:
3883 * docs/libs/gstreamer-libs-sections.txt:
3884 * libs/gst/check/gstbufferstraw.c:
3885 Make gstcheck stuff show up in docs (still needs to
3886 be documented properly though).
3888 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
3890 * docs/gst/gstreamer-sections.txt:
3892 * gst/gst.c: (init_post):
3893 * gst/gst_private.h:
3894 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3896 * gst/gstquery.c: (gst_query_new_position),
3897 (gst_query_set_position), (gst_query_parse_position),
3898 (gst_query_new_duration), (gst_query_set_duration),
3899 (gst_query_parse_duration), (gst_query_new_convert),
3900 (gst_query_set_convert), (gst_query_parse_convert),
3901 (gst_query_new_segment), (gst_query_set_segment),
3902 (gst_query_parse_segment), (gst_query_new_seeking),
3903 (gst_query_set_seeking), (gst_query_parse_seeking):
3904 Add internal helpers for pre-registering quarks from static strings
3905 and using the quark values directly instead of looking them up when
3906 creating and parsing queries. Can be used for event construction too.
3909 2006-08-16 Wim Taymans <wim@fluendo.com>
3914 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3916 * gst/gstutils.c: (gst_util_set_value_from_string):
3917 Fix memleak (#351502).
3919 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3920 Add unit test for most of gst_util_set_value_from_string()
3921 (not that one would want to encourage use of this function).
3923 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3925 * libs/gst/check/gstcheck.h:
3926 Use const gchar * variables in fail_unless_equals_string
3927 macro to avoid compiler warnings (and don't use tabs for
3930 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3932 * tools/gst-launch.c: (print_tag):
3933 More space on the left for the tag names, to cater
3934 for the 'extended comment' tag (not touching the
3935 string for the first line since it's translated).
3937 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3939 * libs/gst/check/gstcheck.h:
3940 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
3941 print something when they fail.
3943 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3945 * docs/gst/gstreamer-sections.txt:
3946 * gst/gsttaglist.c: (_gst_tag_initialize):
3948 API: add GST_TAG_EXTENDED_COMMENT (#350935).
3949 Also change merge function for GST_TAG_COMMENT to
3952 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3954 * gst/gstinfo.c: (gst_debug_print_object):
3955 Make GST_PTR_FORMAT print messages as well.
3957 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
3958 (GST_START_TEST), (gst_info_suite):
3961 2006-08-14 Edward Hervey <edward@fluendo.com>
3963 * gst/gstelementfactory.c: (gst_element_register):
3964 If the GstElementClass doesn't have a GstElementDetails with all fields
3965 filled up correctly (longname, description AND author), then error out
3966 nicely instead of crashing.
3968 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3970 * gst/gststructure.c:
3971 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
3974 Expand on the difference between arrays and lists as we use them.
3976 2006-08-14 Wim Taymans <wim@fluendo.com>
3978 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3979 If the parent state change function failed, don't assume we can safely
3980 stop the source, this will be done when the pads are deactivated.
3982 2006-08-14 Wim Taymans <wim@fluendo.com>
3985 * gst/gsttask.c: (gst_task_join):
3988 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3989 (gst_pad_stop_task):
3990 When pad (de)activation failed for some reason, restore the old
3991 activation mode and set the pad to flushing instead of assuming the
3993 If the _task_join() failed, reinstall the task on the pad so that it can
3994 be stopped later and return an error.
3996 2006-08-11 Andy Wingo <wingo@pobox.com>
3999 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4000 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
4001 is only for users of API that don't want to see deprecated
4002 functions in the headers; people that want to compile out
4003 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
4004 CFLAGS. Fixes the build of multifdsink, or will soon..
4006 2006-08-11 Wim Taymans <wim@fluendo.com>
4008 * docs/gst/gstreamer-sections.txt:
4009 Add GstClockClass vmethod docs.
4012 Mark #endif with comment for associated #if
4014 * gst/gstclock.c: (gst_clock_id_wait):
4016 Add vmethod wait_jitter to avoid an unneeded _get_time() for
4017 most clock implementations.
4019 Flesh out docs about resolution methods.
4020 API: GstClockClass::wait_jitter
4022 * gst/gstsystemclock.c: (gst_system_clock_class_init),
4023 (gst_system_clock_async_thread),
4024 (gst_system_clock_id_wait_jitter_unlocked),
4025 (gst_system_clock_id_wait_jitter):
4026 Use base class wait_jitter variant for improved performance
4027 due to less clock polling.
4029 2006-08-11 Edward Hervey <edward@fluendo.com>
4031 * gst/gst.c: (gst_init_check), (init_post):
4032 Set gst as being initialized before scanning/updating the registry,
4033 since there might be my python plugin loader that calls gst_init() and
4034 we don't want to loop back in.
4037 2006-08-11 Wim Taymans <wim@fluendo.com>
4039 * docs/design/part-qos.txt:
4040 Bring docs in line with the code. Mostly the sign of the jitter was
4041 wrong in the docs. Fixes #349943.
4044 Fix the docs for the jitter.
4046 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
4047 (gst_event_parse_tag), (gst_event_new_buffer_size),
4048 (gst_event_parse_buffer_size), (gst_event_parse_qos),
4049 (gst_event_new_seek), (gst_event_parse_seek),
4050 (gst_event_new_navigation):
4051 Make sure the GstStructure has no parent when creating custom
4053 Add some more argument checking so that we avoid 0.0 rates.
4054 Flesh out the docs for the QoS event some more.
4056 2006-08-11 Wim Taymans <wim@fluendo.com>
4058 * docs/gst/gstreamer-sections.txt:
4059 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4060 (ensure_current_registry_forking), (ensure_current_registry),
4061 (parse_one_option), (parse_goption_arg), (gst_deinit),
4062 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
4065 Added API and command line option to disable registry forking in
4066 addition to the environment variable.
4067 Constify some static arrays.
4068 Added some more debug.
4070 API: gst_registry_fork_is_enabled()
4071 API: gst_registry_fork_set_enabled()
4072 API: --gst-disable-registry-fork command line option
4075 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
4077 * gst/gst.c: (gst_init):
4078 Fix typo in error message.
4080 2006-08-10 Stefan Kost <ensonic@users.sf.net>
4082 * libs/gst/controller/gstcontroller.h:
4083 fix ABI size-correction
4085 * tests/check/libs/gdp.c: (gst_dp_suite):
4086 make tests that use deprecated API conditional
4088 2006-08-10 Stefan Kost <ensonic@users.sf.net>
4090 * docs/libs/gstreamer-libs-sections.txt:
4091 * libs/gst/controller/gstcontroller.c:
4092 (_gst_controller_get_property), (_gst_controller_set_property),
4093 (_gst_controller_init), (_gst_controller_class_init):
4094 * libs/gst/controller/gstcontroller.h:
4095 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4096 (gst_object_set_control_rate):
4097 API: add gst_object_{s,g}et_control_rate(), add private data section,
4100 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4101 * libs/gst/dataprotocol/dataprotocol.h:
4102 add deprecation guards to make gtk-doc happy and allow disabling cruft
4104 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
4106 * tests/check/Makefile.am:
4107 * tests/check/gst/.cvsignore:
4108 Let's enable the new unit test as well.
4110 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
4113 * docs/gst/gstreamer-sections.txt:
4114 * gst/gstconfig.h.in:
4115 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4116 (_gst_info_printf_extension_ptr),
4117 (_gst_info_printf_extension_segment):
4118 API: add GST_SEGMENT_FORMAT, which is a printf extension we
4119 register that lets us easily dump GstSegments into debug
4122 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4123 (info_segment_format_printf_extension), (gst_info_suite):
4124 Add simple unit test that logs a bunch of different segments (not
4125 valgrinded at the moment because of leaks in
4126 gst_debug_add_log_function).
4128 2006-08-09 Edward Hervey <edward@fluendo.com>
4130 * libs/gst/base/gstbasetransform.c:
4131 (gst_base_transform_buffer_alloc):
4132 Even if we can't figure out the proper format to request downstream,
4133 call buffer_alloc() downstream with the input parameters without setting
4134 the caps on the srcpad. This will force negotiation in the chain
4138 2006-08-08 Edward Hervey <edward@fluendo.com>
4140 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4141 Unlinking from a pad without a target is now a perfectly valid case
4142 which should NOT raise an assertion.
4143 This case would happen if a linked ghostpad its target set to NULL after
4144 it was previously linked.
4146 2006-08-08 Edward Hervey <edward@fluendo.com>
4148 * tests/check/libs/gdp.c:
4149 Also comment out the test (see below).
4151 2006-08-08 Edward Hervey <edward@fluendo.com>
4153 * tests/check/libs/gdp.c: (gst_dp_suite):
4154 Use the architecture information from config.h and not gcc macros
4155 in order to properly disable a test that fails on PPC64.
4157 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
4159 * gst/gstelement.c: (gst_element_remove_pad):
4160 Don't crash printing the warning if the pad has no parent.
4162 2006-08-02 Wim Taymans <wim@fluendo.com>
4164 * libs/gst/dataprotocol/dataprotocol.c:
4165 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4166 (gst_dp_crc), (gst_dp_header_payload_length),
4167 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4168 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4169 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4170 (gst_dp_event_from_packet), (gst_dp_validate_header),
4171 (gst_dp_validate_payload):
4172 Make debug category static
4173 Constify the crc table.
4174 Do some more arg checking in public functions.
4175 Fix some docs and do some small cleanups.
4177 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4178 Add some more checks to see if GDP deals with bogus input.
4180 2006-07-31 Wim Taymans <wim@fluendo.com>
4182 * gst/gstvalue.c: (gst_value_compare_list):
4183 Fix GstValueList comparison code. Fixes #347293.
4185 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4186 Check to test GstValueList comparison.
4188 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4190 * gst/gstelementfactory.c: (gst_element_factory_create):
4191 Remove unnecessary ref/unref pair
4193 * gst/parse/grammar.y:
4194 Make sure to free the parse buffer on all code paths.
4195 Move a g_free up to the error handler where it's easier to see.
4197 * tests/check/gst/gstevent.c: (test_event):
4198 Extending timeout for downstream travelling events to 10 seconds to
4199 hopefully avoid intermittent failure on the buildbots.
4201 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4202 Don't manually set the state of the src element - it will happen as a
4203 natural consequence of the pipeline changing state, and that way it
4204 will do it in the right order too.
4206 2006-07-31 Wim Taymans <wim@fluendo.com>
4208 * libs/gst/base/gstbasetransform.c:
4209 (gst_base_transform_buffer_alloc):
4210 Use OBJECT_LOCK and refcounting to get the pad caps in the
4211 buffer_alloc function because the caps could change while we are
4212 busy with them. Fixes #349105
4214 2006-07-31 Wim Taymans <wim@fluendo.com>
4216 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4217 Protect _PAD_CAPS with OBJECT_LOCK.
4219 2006-07-31 Wim Taymans <wim@fluendo.com>
4221 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4222 (gst_pad_get_property), (gst_pad_activate_pull),
4223 (gst_pad_activate_push), (gst_pad_set_blocked_async),
4224 (gst_pad_set_activate_function),
4225 (gst_pad_set_activatepull_function),
4226 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4227 (gst_pad_set_getrange_function),
4228 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4229 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4230 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4231 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4232 (gst_pad_set_acceptcaps_function),
4233 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4234 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4235 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4236 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4237 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4238 (gst_pad_configure_sink), (gst_pad_configure_src),
4239 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4240 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4241 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4242 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4243 (gst_pad_send_event):
4244 Use _DEBUG_OBJECT when it makes sense.
4245 Protect GST_PAD_CAPS with the OBJECT_LOCK.
4246 Small cleanups and code reflows.
4247 Avoid caps refcounting in _accept_caps.
4248 Refactor alloc_buffer so that the code performed on the peer is in a
4249 separate function. Also if the pad does not implement a buffer alloc
4250 function, we should still check if the pad is flushing before falling
4251 back to the default allocator.
4253 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4255 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4256 Make all uses of identity and fakesink have silent=true to avoid
4257 serialising every passing data structure, which is breaking tests
4258 on FC4 for some unknown reason.
4260 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4262 * gst/parse/Makefile.am:
4263 * gst/parse/grammar.y:
4264 * gst/parse/parse.l:
4265 Reverted previous patch as it required to bump the flex dependency to
4266 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4268 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4270 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4272 * gst/parse/Makefile.am:
4273 * gst/parse/grammar.y:
4274 * gst/parse/parse.l:
4275 push & pop the state of the lexer for reentrant use case
4278 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
4280 * libs/gst/base/gstbasesrc.h:
4281 Note in the docs that the ::newsegment vfunc is not actually used by
4284 2006-07-28 Wim Taymans <wim@fluendo.com>
4286 * libs/gst/base/gstcollectpads.c:
4287 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4288 (gst_collect_pads_clear), (gst_collect_pads_flush),
4289 (gst_collect_pads_event), (gst_collect_pads_chain):
4290 When flushing a pad, also clear the queued buffer so that we don't
4291 accidentally use it when we shouldn't.
4292 Fix leaks by inreffing incomming buffer.
4293 Flush out queued buffers in case of errors.
4296 2006-07-28 Wim Taymans <wim@fluendo.com>
4298 * docs/random/phonon-gst:
4299 Random notes about a Phonon backend.
4301 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4303 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4305 * tests/check/libs/gdp.c: (gst_dp_suite):
4306 Take a whack at fixing the ppc compile using a different define to
4307 disable the broken test.
4309 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4310 Remove excess g_print()
4312 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4314 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4315 Oops, meant to uncomment this line too to dampen the noise a bit.
4317 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4319 * gst/parse/grammar.y:
4320 * gst/parse/parse.l:
4321 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4322 (GST_START_TEST), (parse_suite):
4323 Fix some of the leaks exposed by extending the parse-launch testsuite,
4324 and move the 3 I can't figure out into a separate test that won't run
4325 the pipelines unless the appropriate line is uncommented.
4327 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4329 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4330 Requesting 0 bytes before the end of the file should result in
4331 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4334 2006-07-27 Wim Taymans <wim@fluendo.com>
4336 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4337 Fix useless assert, a uint is always positive.
4339 * gst/gststructure.c: (gst_structure_nth_field_name),
4340 (gst_structure_foreach), (gst_structure_map_in_place):
4341 Check input arguments for public functions to avoid obvious crashes.
4343 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4344 * plugins/elements/gstfakesink.h:
4345 Do less useless typechecking.
4347 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4349 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4350 Do not use mmap() by default since there are a number of error
4351 conditions that we would like to handle in a non-fatal way that
4352 will result in a SIGBUS if we use mmap(). Examples: external
4353 devices (USB harddrive, portable music player) being unplugged
4354 while in use; file on mounted CD/DVD that can't be read because
4355 the medium is partly damaged. Fixes #348455 and #348475.
4357 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4360 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4363 2006-07-26 Stefan Kost <ensonic@users.sf.net>
4365 * gst/gstregistry.c:
4366 Move big documentation comment into class section header, so that it
4367 appears in the API docs.
4369 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4371 * docs/gst/gstreamer-sections.txt:
4372 Oops. Commit the docs additions too for new API.
4373 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4375 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4377 * gst/gststructure.c: (gst_structure_id_set),
4378 (gst_structure_id_set_valist):
4379 * gst/gststructure.h:
4380 Add API for setting values into structures without performing
4381 a quark lookup, if the appropriate quark is already known.
4383 API: gst_structure_id_set
4384 API: gst_structure_id_set_valist
4386 * gst/parse/grammar.y:
4387 * gst/parse/parse.l:
4388 Remove some dead code shown by the coverage information.
4389 Don't throw a critical g_warning when encountering a syntax error,
4390 just warn and let the normal error path handle it.
4392 * plugins/elements/gstelements.c:
4393 Bump the rank of filesink up to PRIMARY so that it is preferred over
4394 gnomevfssink for file:// sink uri's
4396 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4397 (GST_START_TEST), (run_delayed_test),
4398 (gst_parse_test_element_base_init),
4399 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4400 (gst_parse_test_element_change_state),
4401 (gst_register_parse_element), (parse_suite):
4402 Beef up the tests for parse syntax to check that more error cases
4403 fail as they are supposed to. Increases the test coverage a bit.
4405 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
4407 * docs/manual/basics-elements.xml:
4408 Fix gst_element_link() example.
4411 Mention in API docs that one should usually gst_bin_add()
4412 elements to a bin or pipeline before doing the linking.
4414 2006-07-26 Wim Taymans <wim@fluendo.com>
4416 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4417 (gst_subbuffer_get_type), (gst_buffer_create_sub):
4418 Avoid function call for known types by keeping the buffer and
4419 subbuffer GType global.
4421 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4422 Random silly optimisations in read() path.
4424 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4426 * tools/gst-launch.c: (main):
4427 If the top-level of the parse is a normal bin, it doesn't do the
4428 right logic to run as a top-level element, so place it inside a
4431 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
4433 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4434 Remove superfluous g_object_notify() calls, GObject does
4435 that for us automatically.
4437 2006-07-25 Stefan Kost <ensonic@users.sf.net>
4440 on Win32, use dllspec to export the debug category symbols
4442 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
4444 * gst/gsttaglist.c: (_gst_tag_initialize):
4445 Allow more than one GST_TAG_IMAGE per taglist.
4447 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
4449 * gst/gstminiobject.c:
4451 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4452 (gst_fd_src_create):
4453 log recurring events at LOG level
4454 add more debug for when the fd gets set
4456 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4458 * gst/gstparse.c: (gst_parse_launch):
4459 Also remove reentrance checks if flex is MT safe (#348179)
4460 Fix my empty ChangeLog entry below
4462 2006-07-21 Andy Wingo <wingo@pobox.com>
4464 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4466 * libs/gst/check/Makefile.am
4467 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4468 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
4469 * libs/gst/check/gstbufferstraw.h:
4470 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4471 functions, thus proving I am still a GStreamer haxor. OK I wrote
4472 them a long time ago, but anyways.
4474 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4477 * gst/gstparse.c: (gst_parse_launch):
4478 Check for flex version and omit mutex if we have a MT save flex
4481 2006-07-21 Wim Taymans <wim@fluendo.com>
4483 * gst/gstparse.c: (gst_parse_launch):
4484 Protect recursive calls to _parse with a recursive mutex
4487 2006-07-21 Wim Taymans <wim@fluendo.com>
4489 * tests/check/gst/gstpad.c: (GST_START_TEST):
4492 2006-07-20 Stefan Kost <ensonic@users.sf.net>
4494 * gst/gstparse.c: (gst_parse_launch):
4495 Do not hang on recursive usage of gst_parse_launch()
4497 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4500 Add some more docs, comments and FIXME 0.11s here and there
4501 and also fix some typos.
4503 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4506 Convert tabs to spaces for better readability.
4508 2006-07-20 Edward Hervey <edward@fluendo.com>
4510 * tests/check/libs/gdp.c: (gst_dp_suite):
4511 the test_buffer test fails at line 140 on ppc64 at the following
4513 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4514 GST_BUFFER_FLAG_IN_CAPS),
4515 "GST_BUFFER_IN_CAPS flag should have been copied !");
4516 See bug #348114 for more details.
4518 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
4520 * docs/pwg/advanced-scheduling.xml:
4522 Fix typos (#348000).
4524 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
4526 * docs/pwg/intro-basics.xml:
4527 Fix wrong links (#347927).
4529 2006-07-18 Stefan Kost <ensonic@users.sf.net>
4531 * gst/gstregistry.h:
4532 * gst/gstregistryxml.c: (load_feature),
4533 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4534 * win32/common/config.h:
4535 make --disable-index work (#342564)
4537 2006-07-18 Wim Taymans <wim@fluendo.com>
4539 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4543 The attached patch adds two missing defines to gsttrace.h when tracing
4544 is disabled. It also corrects one existing define.
4547 2006-07-17 Wim Taymans <wim@fluendo.com>
4549 * docs/gst/gstreamer-sections.txt:
4550 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4552 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4553 Add two functions to check and change the SIGSEGV behaviour
4554 when loading plugins.
4555 Don't mess with the SIGSEGV handler when we were told not to.
4557 API: gst_segtrap_is_enabled
4558 API: gst_segtrap_set_enabled
4560 2006-07-14 Wim Taymans <wim@fluendo.com>
4562 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4563 * tests/check/elements/filesrc.c: (GST_START_TEST):
4564 Revert fix for regression in #347408 after release.
4566 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
4568 Patch by: Antoine Tremblay <hexa00 at gmail com>
4570 * gst/gstutils.c: (gst_element_unlink):
4571 Free iterator when done (#347311).
4573 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4574 And add a test case for this.
4576 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
4579 Bump nano back to CVS
4581 === release 0.10.9 ===
4583 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
4586 releasing 0.10.9, "On the road again"
4588 2006-07-13 Wim Taymans <wim@fluendo.com>
4590 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4591 * tests/check/elements/filesrc.c: (GST_START_TEST):
4592 Revert pull-0 fix for release. Disable check. Fixes #347408.
4594 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4596 * libs/gst/dataprotocol/dataprotocol.c:
4597 (gst_dp_event_from_packet_1_0):
4598 Fixes #347337: failure to deserialize event packets with
4599 empty payload (only event type)
4601 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4604 do not install a .c file in the header directory
4606 2006-07-13 Edward Hervey <edward@fluendo.com>
4608 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4609 GhostPad no longer implicitely use the padtemplates of the targets.
4612 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
4614 * gst/gstvalue.c: (gst_value_compare_list),
4615 (gst_value_compare_array), (_gst_value_initialize):
4616 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4617 Make GstValueArray comparison be order dependent as designed.
4618 Add checks for value lists and value array comparisons.
4621 2006-07-11 Edward Hervey <edward@fluendo.com>
4623 * gst/gstbin.c: (activate_pads),
4624 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4625 (gst_bin_change_state_func):
4626 (de)activate src pads before calling state_change on the childs.
4627 This is to avoid the case where a src ghostpad is blocked (holding the
4628 stream lock), which would block the deactivation of the ghostpad's
4630 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4631 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4632 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4633 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4634 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4635 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4636 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4637 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4638 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4639 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4640 (gst_ghost_pad_class_init),
4641 (gst_ghost_pad_internal_do_activate_push),
4642 (gst_ghost_pad_internal_do_activate_pull),
4643 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4644 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4645 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4646 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4647 GhostPads now create their internal GstProxyPad at creation (and not
4648 when they're linked, as it was being done previously).
4649 The internal and target pads are linked straight away.
4650 The data will also travel through the other pad in order to make
4651 pad blocking and probes non-hackish (the probe/block now really happens
4652 on the GhostPad and not on the target).
4653 * gst/gstpad.c: (gst_pad_set_blocked_async),
4654 (gst_pad_link_prepare), (gst_pad_push_event):
4655 Remove previous ghostpad cruft.
4656 * gst/gstutils.c: (gst_pad_add_data_probe),
4657 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4658 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4659 (gst_pad_remove_buffer_probe):
4660 Remove previous ghost pad cruft.
4661 Added more detailed debug statements.
4662 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4663 Fix the testsuite for refcounting changes.
4664 The comments about who has references were correct, but the refcount
4665 being checked wasn't the same (!?!).
4669 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4671 * docs/gst/gstreamer-sections.txt:
4672 * gst/gstconfig.h.in:
4673 More docs for configuration options, add docs to gtk-doc.
4675 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4678 * gst/gstconfig.h.in:
4679 * win32/common/config.h:
4680 Fix build when disabling tracing (fixes #344016). Also start to document
4681 the defines that disable the sub-systems.
4683 2006-07-10 Edward Hervey <edward@fluendo.com>
4685 * gst/gst.c: (ensure_current_registry_forking):
4686 let's make valgrind happy...
4688 2006-07-09 Wim Taymans <wim@fluendo.com>
4690 * gst/gstelement.c: (activate_pads),
4691 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4692 Better pad activation code: Reset the collect value too on resync.
4695 2006-07-09 Wim Taymans <wim@fluendo.com>
4697 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4698 (gst_pad_activate_push):
4699 Use some more macros where it makes sense.
4700 Allow pad mode switching instead of asserting. When a pad
4701 is activated in one mode and we activate it in another,
4702 deactivate it first before activating it in a different mode.
4705 2006-07-08 Andy Wingo <wingo@pobox.com>
4707 * tools/gst-launch.c (main): Handle err == NULL.
4709 * gst/gst.c (init_post, ensure_current_registry)
4710 (ensure_current_registry_forking)
4711 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4712 factoring out the registry scanning into separate functions. Don't
4713 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4714 Better environment var name/interface suggestions accepted.
4716 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4718 * gst/gstobject.c: (gst_object_set_name_default),
4719 (gst_object_set_name):
4720 Random micro-optimisation: don't use a hash table
4721 with strings as keys and the usual strdup/strcmp
4722 involved, but rather just use the GQuark of the
4723 type name as key, since it needs to be looked up
4724 anyway to get the type name string.
4726 * tests/check/gst/gstobject.c: (GST_START_TEST):
4729 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4731 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4732 (gst_bin_iterate_all_by_interface):
4733 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4734 GTypes are gulongs and thus the top 4 bytes might be cut
4735 off on some platforms when doing GPOINTER_TO_INT, leading
4736 to invalid GTypes and bad things happening (see RH bug #179654).
4737 Also add a check to make sure the type passed in is really
4740 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4745 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4749 * gst-element-check.m4:
4750 * gst-element-check.m4.in:
4751 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4752 instead of the unversioned gst-inspect (#324176, #168659).
4754 2006-07-06 Wim Taymans <wim@fluendo.com>
4757 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4760 2006-07-06 Wim Taymans <wim@fluendo.com>
4762 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4763 (gst_base_src_wait), (gst_base_src_update_length),
4764 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4765 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4766 (gst_base_src_loop), (gst_base_src_start),
4767 (gst_base_src_activate_pull):
4769 blocksize == 0 now means the default blocksize when working in push
4771 Remove some pointless asserts in _wait function.
4772 Fix offset/length calculations and EOS handling. We can now pull 0
4773 bytes as well, which is allowed.
4774 use _check_get_range() to decide if we can operate in _pull based
4776 Fix refcounting leak when check_get_range function was not
4778 API GstBaseSrc::blocksize range can be 0 too now (default)
4780 * tests/check/elements/filesrc.c: (GST_START_TEST),
4782 Added check to test _get_range() behaviour.
4784 2006-07-06 Wim Taymans <wim@fluendo.com>
4786 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4787 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4788 (gst_pad_pull_range):
4790 Lots of comments and docs added to the pad functions.
4791 Flesh out the expected behaviour of the get_range() functions.
4793 2006-07-06 Wim Taymans <wim@fluendo.com>
4798 * gst/gstiterator.h:
4802 Remove comma at end of enumerator list.
4804 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
4806 * win32/common/libgstbase.def:
4807 * win32/common/libgstdataprotocol.def:
4808 * win32/common/libsgtreamer.def:
4809 Add new exported functions.
4811 2006-07-05 Wim Taymans <wim@fluendo.com>
4813 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4814 Add some more docs here and there.
4816 2006-07-05 Wim Taymans <wim@fluendo.com>
4818 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4819 (gst_base_sink_loop), (gst_base_sink_get_position):
4820 When operating in pull mode update the offset so that we
4823 2006-07-05 Wim Taymans <wim@fluendo.com>
4825 * gst/gstregistryxml.c: (read_string):
4826 Avoid strdup. (will happen in libxml, but hey!)
4831 2006-07-05 Wim Taymans <wim@fluendo.com>
4833 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4834 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4836 No point in checking if the size of the subbuffer > 0, the
4837 code handles it correclty as demonstrated by unit test.
4838 Also add a unit test for the zero sized _new_and_alloc and
4839 _copy. Fixes #346663.
4841 2006-07-05 Wim Taymans <wim@fluendo.com>
4843 * libs/gst/base/gstbasetransform.c:
4844 (gst_base_transform_prepare_output_buffer),
4845 (gst_base_transform_buffer_alloc),
4846 (gst_base_transform_handle_buffer):
4847 Make sure the buffer we pass to transform_ip has a refcount of
4848 1 and thus is writable. Fixes #343196
4850 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
4852 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4853 (gst_file_src_init), (gst_file_src_set_property),
4854 (gst_file_src_get_property), (gst_file_src_map_region):
4855 * plugins/elements/gstfilesrc.h:
4856 Add "sequential" property, off by default, to use madvise and hint
4857 to the kernel that sequential access is desired.
4858 Touch all retrieved pages by default to ensure they are pulled
4859 into memory. (Closes #345720)
4861 2006-07-03 Wim Taymans <wim@fluendo.com>
4863 * docs/design/part-block.txt:
4864 * docs/design/part-dynamic.txt:
4867 2006-07-03 Wim Taymans <wim@fluendo.com>
4869 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4870 (gst_caps_unref), (gst_static_caps_get),
4871 (gst_caps_append_structure):
4872 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4873 Use GSlice when the glib we build against is >= 2.10
4875 2006-07-03 Wim Taymans <wim@fluendo.com>
4877 * gst/gstelement.c: (gst_element_pads_activate):
4878 Small cleanup in pad activation code.
4880 2006-07-03 Wim Taymans <wim@fluendo.com>
4882 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4884 * gst/gst-i18n-app.h:
4885 * gst/gst-i18n-lib.h:
4886 * tools/gst-inspect.c: (print_signal_info):
4887 The attached patch will make the inclusion of gettext.h unconditional in
4888 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4889 libintl.h in tools/gst-inspect.c.
4890 This allows use of --disable-nls again and fixes #344642.
4892 2006-07-03 Edward Hervey <edward@fluendo.com>
4894 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4895 Implement pad blocking on events according to part-block.txt.
4896 More comments on behaviour.
4897 * tests/check/gst/gstevent.c: (test_event):
4898 Send event to peer pad of blocked pad (else it will block).
4900 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4902 * libs/gst/check/gstcheck.c: (gst_check_message_error),
4903 (gst_check_run_suite):
4904 if we get the wrong message, give us the types as string
4905 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4907 * tests/check/elements/filesrc.c: (GST_START_TEST):
4908 add a test for trying to open a non-existing file
4910 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4912 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4913 add a test for adding self
4915 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4917 * libs/gst/check/gstcheck.h:
4918 add some assert_ as alias for fail_unless_*
4919 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4920 increase test coverage
4922 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4925 include lcov.mak for lcov coverage generation
4926 * tools/Makefile.am:
4929 2006-07-02 Edward Hervey <edward@fluendo.com>
4931 * tests/check/elements/.cvsignore:
4934 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4937 don't set CFLAGS and friends for gcov, done from GST_GCOV now
4938 * tests/check/Makefile.am:
4941 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4943 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
4944 remove gst_caps_simplify; it was not declared and not used
4945 and deprecated in 0.8
4947 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4949 * docs/faq/gst-uninstalled:
4950 don't put empty paths on PYTHONPATH
4951 * docs/gst/gstreamer-sections.txt:
4952 remove some symbols that are not there
4954 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4956 * gst/gstcaps.c: (gst_caps_compare_structures):
4958 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4959 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4962 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4964 * libs/gst/dataprotocol/Makefile.am:
4965 build dataprotocol test by linking to the lib, instead of
4966 compiling the source, so we get coverage
4967 * tests/check/Makefile.am:
4968 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
4969 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
4970 add a test for filesrc
4972 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4974 * tests/check/gst/gststructure.c: (GST_START_TEST),
4975 (gst_structure_suite):
4976 Push coverage from 59.04% to 70.00%
4978 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4980 * tests/check/Makefile.am:
4981 gst-inspect every element; this makes sure that we also get
4982 coverage on element's get/set functions
4984 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4987 set CFLAGS and friends to -O0 if gcov is being used
4990 * libs/gst/base/Makefile.am:
4991 * libs/gst/check/Makefile.am:
4992 * libs/gst/controller/Makefile.am:
4993 * libs/gst/dataprotocol/Makefile.am:
4994 * libs/gst/net/Makefile.am:
4995 * plugins/elements/Makefile.am:
4996 * plugins/indexers/Makefile.am:
4997 add makefile rules to generate gcov data and clean up
4998 * tests/check/Makefile.am:
4999 add a coverage target that generates an html overview
5002 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5004 * tests/check/elements/fakesink.c:
5005 * tests/check/elements/fakesrc.c:
5006 * tests/check/elements/fdsrc.c:
5007 * tests/check/elements/identity.c:
5008 * tests/check/generic/sinks.c: (gst_sinks_suite):
5009 * tests/check/generic/states.c:
5010 * tests/check/gst/gst.c:
5011 * tests/check/gst/gstabi.c:
5012 * tests/check/gst/gstbin.c:
5013 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
5014 * tests/check/gst/gstbus.c: (gst_bus_suite):
5015 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5016 * tests/check/gst/gstelement.c:
5017 * tests/check/gst/gstevent.c: (gst_event_suite):
5018 * tests/check/gst/gstghostpad.c:
5019 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
5020 * tests/check/gst/gstmessage.c: (gst_message_suite):
5021 * tests/check/gst/gstminiobject.c:
5022 * tests/check/gst/gstobject.c:
5023 * tests/check/gst/gstpad.c:
5024 * tests/check/gst/gstpipeline.c:
5025 * tests/check/gst/gstplugin.c:
5026 * tests/check/gst/gstquery.c: (gst_query_suite):
5027 * tests/check/gst/gstsegment.c: (gst_segment_suite):
5028 * tests/check/gst/gststructure.c:
5029 * tests/check/gst/gstsystemclock.c:
5030 * tests/check/gst/gsttag.c:
5031 * tests/check/gst/gsttask.c: (gst_task_suite):
5032 * tests/check/gst/gstutils.c:
5033 * tests/check/gst/gstvalue.c:
5034 * tests/check/libs/adapter.c:
5035 * tests/check/libs/basesrc.c:
5036 * tests/check/libs/collectpads.c:
5037 * tests/check/libs/controller.c:
5038 * tests/check/libs/gdp.c: (gst_dp_suite):
5039 * tests/check/libs/gstnetclientclock.c:
5040 * tests/check/libs/gstnettimeprovider.c:
5041 * tests/check/libs/libsabi.c: (libsabi_suite):
5042 * tests/check/libs/typefindhelper.c:
5043 * tests/check/pipelines/cleanup.c:
5044 * tests/check/pipelines/parse-launch.c:
5045 * tests/check/pipelines/simple-launch-lines.c:
5046 * tests/check/pipelines/stress.c: (stress_suite):
5049 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5051 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
5052 * libs/gst/check/gstcheck.h:
5053 create a macro and function so that the simple unit test
5054 case can be just one macro to create main()
5056 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
5058 * gst/gstbin.c: (gst_bin_restore_thyself):
5059 * gst/gstxml.c: (gst_xml_make_element):
5060 Fix deserialisation from XML. Set parent manually
5061 instead of using gst_bin_add(), since gst_bin_add()
5062 will unlink all pads of the element being added.
5065 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
5067 Patch by: Peter Kjellerstedt <pkj at axis com>
5069 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
5070 Fix missing g_strdup() and double free when using the
5071 --gst-plugin-load command line option (#346097).
5073 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
5076 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
5078 * libs/gst/net/gstnetclientclock.c:
5079 * libs/gst/net/gstnettimeprovider.c:
5080 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
5082 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
5084 * docs/manual/advanced-dataaccess.xml:
5085 Fix buffer probe example compilation in
5088 2006-06-22 Edward Hervey <edward@fluendo.com>
5090 * gst/gstelement.c: (gst_element_pads_activate):
5091 We need to deactivate src pads first and then sink pads.
5092 The reason is the src pads might be blocking while holding the streaming
5093 lock, so we need to deactivate them first so that deactivating the sink
5094 pads doesn't block (since it will require the streaming lock).
5096 2006-06-22 Wim Taymans <wim@fluendo.com>
5098 * libs/gst/base/gstbasetransform.c:
5099 (gst_base_transform_buffer_alloc):
5100 Forgot to remove two unneeded unrefs.
5101 Simplify a check _is_equal allready checks the obvious case.
5103 2006-06-22 Wim Taymans <wim@fluendo.com>
5105 * docs/design/part-block.txt:
5106 Some docs about what pad_block should do.
5108 2006-06-22 Wim Taymans <wim@fluendo.com>
5110 * gst/gstcaps.c: (gst_caps_replace):
5111 Fix crasher when passed NULL. Doc clarification.
5112 Optimize for the trivial case.
5114 * gst/gstpipeline.c: (gst_pipeline_change_state):
5117 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5118 Small documentation cleanup.
5120 * libs/gst/base/gstbasetransform.c:
5121 (gst_base_transform_buffer_alloc):
5122 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5123 is what we need and it avoids a whole lot of redundant
5124 refcount operations.
5126 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
5128 Patch by: Philip Jägenstedt <philip at lysator liu se>
5130 * docs/manual/advanced-dataaccess.xml:
5131 Fix 'Embedding static elements' section to use
5132 GST_PLUGIN_DEFINE_STATIC (#345607).
5134 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5136 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5137 Attempt to 'fix' spuriously failing test case: it seems like the
5138 timeout of half a second is simply too small when the system is under
5139 load otherwise, and the timeout doesn't really seem to serve any
5140 particular purpose here. Give the pipeline a few seconds to preroll
5141 first, and then give it another half a second to go from PAUSED to
5142 PLAYING and marshal the message into the main thread.
5144 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5146 * tools/gst-feedback-m.m:
5147 Don't only use unversioned tools, try versioned tools as well
5150 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5152 * gst/gstbus.c: (gst_bus_class_init):
5153 Fix some typos, make docs more explicit.
5155 2006-06-20 Wim Taymans <wim@fluendo.com>
5157 * tests/check/gst/gstghostpad.c: (block_callback),
5158 (GST_START_TEST), (gst_ghost_pad_suite):
5159 Added some more ghostpad tests, mainly blocking
5162 2006-06-16 Wim Taymans <wim@fluendo.com>
5164 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5165 (gst_file_sink_close_file), (gst_file_sink_do_seek),
5166 (gst_file_sink_event), (gst_file_sink_render):
5167 * plugins/elements/gstfilesink.h:
5168 Check if we can seek in the file instead of assuming
5169 we always can. Post an error when we are asked to seek in a
5170 non-seekable file (like a fifo). Fixes #343312.
5173 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5175 * tools/gst-launch.1.in:
5176 Un-garble (fourcc) bit in filtered caps section.
5178 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5180 * docs/manual/advanced-autoplugging.xml:
5181 * docs/manual/basics-helloworld.xml:
5182 * docs/manual/highlevel-components.xml:
5183 Don't leak bus reference in sample code.
5185 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
5188 Add default for new --enable-plugin-docs switch.
5191 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5195 Use new ENABLE_PLUGIN_DOCS conditional.
5197 2006-06-14 Wim Taymans <wim@fluendo.com>
5199 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5200 Make it clear with a FIXME and a real define what the #if 0
5201 previously disabled.
5203 2006-06-14 Wim Taymans <wim@fluendo.com>
5205 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5206 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5207 * libs/gst/base/gstbasetransform.c:
5208 (gst_base_transform_sink_eventfunc):
5209 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5210 Don't randomly and silently reset a segment when the format
5211 changes as this is a bug somewhere upstream. Fixes #330379.
5213 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
5215 Patch by: Wouter Paesen <wouter at kangaroot net>
5217 * libs/gst/controller/gstcontroller.c:
5218 (gst_controlled_property_new):
5219 Fix controlling of float properties (#344849).
5221 * tests/check/libs/controller.c:
5222 (gst_test_mono_source_get_property),
5223 (gst_test_mono_source_set_property),
5224 (gst_test_mono_source_class_init), (GST_START_TEST):
5225 While we're at it, add some float stuff to unit test.
5227 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5230 * docs/images/gdp-header.svg:
5232 * docs/libs/Makefile.am:
5233 * docs/libs/gdp-header.png:
5234 * libs/gst/dataprotocol/dataprotocol.c:
5235 add it to the API docs
5236 * docs/manual/intro-motivation.xml:
5239 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5241 * gst/gst.c: (scan_and_update_registry), (init_post):
5242 If the fork()'ed child process can't write the updated registry cache
5243 file to disk for some reason, make it exit with a failure exit code,
5244 so that the parent can then re-scan the plugins itself and update the
5245 registry structures in memory and work with that (rather than failing
5246 when creating elements because seemingly no plugins are available).
5247 Refactor registry scanning code into separate function for this and
5248 also separate fork() and non-fork() code paths. Fixes #344748.
5250 2006-06-13 Wim Taymans <wim@fluendo.com>
5252 * docs/manual/advanced-dataaccess.xml:
5253 Fix wrong PluginDesc. Fixes #344755.
5255 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5257 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5258 Fix silly bug that prevented us from creating
5259 ~/.gstreamer-0.10 and writing the registry in one
5260 go (the first call to g_mkstemp() would overwrite the
5261 placeholder in the template string, so the second call
5262 to g_mkstemp() after creating the missing directory
5263 would then error out with 'invalid argument').
5265 2006-06-13 Edward Hervey <edward@fluendo.com>
5267 * gst/gst.c: (init_post):
5270 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5272 * gst/glib-compat-private.h:
5273 * gst/glib-compat.c:
5274 * gst/glib-compat.h:
5275 * gst/gstvalue.c: (gst_value_serialize_flags):
5276 remove GLib 2.6 compatibility code
5278 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
5280 * gst/parse/Makefile.am:
5281 Fix build with 'make -j N' even more (#340016).
5283 2006-06-12 Wim Taymans <wim@fluendo.com>
5285 * docs/gst/gstreamer-sections.txt:
5288 2006-06-12 Wim Taymans <wim@fluendo.com>
5290 * gst/gstsegment.c: (gst_segment_set_duration),
5291 (gst_segment_set_last_stop), (gst_segment_set_seek),
5292 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5293 (gst_segment_to_running_time), (gst_segment_clip):
5294 Use G_UNLIKELY to help the compiler a bit.
5296 2006-06-12 Wim Taymans <wim@fluendo.com>
5298 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5300 * gst/gstevent.c: (gst_event_get_type):
5302 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5304 constify quark registration strings. Fixes #344115
5305 Avoid unneeded type checking is _pad_push() by internally
5306 calling gst_pad_chain_unchecked().
5308 2006-06-12 Wim Taymans <wim@fluendo.com>
5310 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5311 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5312 (gst_subbuffer_finalize), (gst_buffer_create_sub),
5313 (gst_buffer_is_span_fast), (gst_buffer_span):
5314 Init _type for consistency.
5315 Use _FLAGS macro to avoid type check.
5316 Avoid unneeded type checks in subbufer code.
5318 2006-06-12 Wim Taymans <wim@fluendo.com>
5320 * gst/gst.c: (gst_debug_help):
5321 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5322 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5323 (gst_plugin_feature_list_free):
5324 * gst/gstregistry.c: (gst_registry_add_plugin),
5325 (gst_registry_add_feature), (gst_registry_plugin_filter),
5326 (gst_registry_feature_filter), (gst_registry_find_plugin),
5327 (gst_registry_find_feature), (gst_registry_get_plugin_list),
5328 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5329 * gst/gstregistryxml.c: (load_feature),
5330 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5331 * gst/gstminiobject.c: (gst_mini_object_unref),
5332 (gst_mini_object_replace), (gst_value_mini_object_free),
5333 (gst_value_mini_object_copy):
5334 Use _CAST macros to avoid unneeded type checking.
5335 Added some more G_UNLIKELY.
5337 2006-06-12 Wim Taymans <wim@fluendo.com>
5340 Avoid unneeded type checking.
5341 API: GST_BUFFER_IS_DISCONT
5343 * gst/gstminiobject.h:
5344 Avoid type check in flag accessor.
5346 * gst/gstelementfactory.h:
5348 * gst/gstpluginfeature.h:
5350 API: GST_ELEMENT_FACTORY_CAST
5351 API: GST_PLUGIN_CAST
5352 API: GST_PLUGIN_FEATURE_CAST
5354 2006-06-12 Wim Taymans <wim@fluendo.com>
5356 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5358 Add G_UNLIKELY in type registration.
5359 Avoid type check in _ref/_unref since that is also
5362 2006-06-12 Wim Taymans <wim@fluendo.com>
5364 * gst/gsterror.c: (gst_g_error_get_type):
5365 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5366 (gst_static_pad_template_get_type):
5367 * gst/gsttaglist.c: (gst_tag_list_get_type):
5368 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5369 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5370 * gst/gsturi.c: (gst_uri_handler_get_type):
5371 * gst/gstvalue.c: (gst_date_get_type):
5372 * gst/gstxml.c: (gst_xml_get_type):
5373 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5374 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5375 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5376 Add G_UNLIKELY in type registration.
5378 2006-06-12 Wim Taymans <wim@fluendo.com>
5380 * tools/gst-inspect.c: (print_signal_info):
5381 Properly print enum values.
5383 2006-06-12 Wim Taymans <wim@fluendo.com>
5385 * gst/gstinfo.c: (gst_debug_set_active),
5386 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5388 Add some G_[UN]LIKELY.
5389 Maintain __gst_debug_min to avoid formatting the arguments of
5390 debug messages that will be dropped anyway to avoid a lot of
5391 overhead from the debugging system.
5393 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5397 add missing files containing translatable strings, tell intltool about
5400 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5402 * tests/check/libs/.cvsignore:
5403 add test-binary to ignore list
5405 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5407 * docs/libs/gstreamer-libs-docs.sgml:
5408 reorder (put dp into a chapter) and indent
5410 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5415 === release 0.10.8 ===
5417 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5420 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5422 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5424 * gst/gst.c: (init_post):
5425 move pid declaration to declaration block
5427 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5429 * gst/gst.c: (init_post):
5430 use _exit() instead of exit() in our forked child; this ensures
5431 that none of the registered exit handlers from whatever is using
5432 GStreamer get executed. This fixes gnome-mixer-applet failing
5433 to load, because ORBit would shut down.
5434 Spotted by: Edward Hervey <edward@fluendo.com>
5435 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
5438 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5443 === release 0.10.7 ===
5445 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5448 releasing 0.10.7, "Soepeke, ik zie ou"
5450 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
5473 * win32/common/config.h:
5476 2006-06-07 Wim Taymans <wim@fluendo.com>
5478 * gst/gstindex.c: (gst_index_gtype_resolver):
5479 * tools/gst-xmlinspect.c: (print_plugin_info):
5480 Fix leak spotted by coverity checker. Fixes #343827
5481 Fix another other leak found by paolo borelli.
5483 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5485 * libs/gst/dataprotocol/dataprotocol.c:
5486 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5487 (gst_dp_version_get_type), (gst_dp_init),
5488 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5489 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5490 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5491 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5492 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5493 (gst_dp_packetizer_free):
5494 * libs/gst/dataprotocol/dataprotocol.h:
5495 API: add a GstDPPacketizer object, and create/free functions
5496 API: add GstDPVersion enum
5497 Add 1.0 event function that uses the string serialization
5498 Serialize more useful buffer flags
5501 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5503 * tests/check/Makefile.am:
5504 * tests/check/gst/gstabi.c:
5505 * tests/check/gst/struct_ppc64.h:
5506 * tests/check/libs/libsabi.c:
5507 * tests/check/libs/struct_ppc64.h:
5508 add ppc64 structure sizes
5510 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5512 * tests/check/Makefile.am:
5513 * tests/check/gst/gstabi.c:
5514 * tests/check/gst/struct_x86_64.h:
5515 * tests/check/libs/libsabi.c:
5516 * tests/check/libs/struct_x86_64.h:
5517 generate and add structure size lists for x86_64
5519 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5521 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5522 * libs/gst/check/gstcheck.h:
5523 factor out the method from tests that checks size of structures,
5524 and add code to generate the header containing these sizes
5525 * tests/check/gst/gstabi.c: (GST_START_TEST):
5526 * tests/check/gst/struct_i386.h:
5527 * tests/check/libs/libsabi.c: (GST_START_TEST):
5528 * tests/check/libs/struct_i386.h:
5531 2006-06-06 Michael Smith <msmith@fluendo.com>
5534 Don't use c++-style comments, fixes #343929
5536 2006-06-05 Edward Hervey <edward@fluendo.com>
5539 plugin_paths is not used if we build without registry support.
5541 * gst/gstsegment.c: (gst_segment_copy):
5542 _copy() was always returning NULL...
5544 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5546 * libs/gst/dataprotocol/dataprotocol.c:
5547 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5548 (gst_dp_packet_from_event):
5551 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5553 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5554 make sure we unset caps
5556 2006-06-02 Michael Smith <msmith@fluendo.com>
5558 * libs/gst/check/gstcheck.c: (gst_check_init),
5559 (gst_check_chain_func):
5560 * libs/gst/check/gstcheck.h:
5561 Add a cond/mutex to the check support lib, signal this whenever we
5562 add to the buffers list. This will allow tests to not busy-wait on
5565 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5567 * libs/gst/dataprotocol/dataprotocol.c:
5568 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5569 (gst_dp_packet_from_event):
5570 factor out some common header init code
5572 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5574 * docs/libs/gstreamer-libs-sections.txt:
5575 * docs/libs/tmpl/gstdataprotocol.sgml:
5576 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5577 * libs/gst/dataprotocol/dataprotocol.h:
5578 API: make gst_dp_crc() public
5580 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5582 * plugins/indexers/gstindexers.c: (plugin_init):
5583 conditionally register fileindexer (fixes #343598)
5585 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5587 * gst/gsttagsetter.h:
5588 Can't cast ifaces to a class
5590 * libs/gst/net/gstnetclientclock.h:
5591 * libs/gst/net/gstnettimeprovider.h:
5592 * plugins/elements/gstfakesink.h:
5593 * plugins/elements/gstfakesrc.h:
5594 * plugins/elements/gstfdsink.h:
5595 * plugins/elements/gstfdsrc.h:
5596 * plugins/elements/gstfilesink.h:
5597 * plugins/elements/gstfilesrc.h:
5598 * plugins/elements/gstidentity.h:
5599 * plugins/elements/gstqueue.h:
5600 * plugins/elements/gsttee.h:
5601 * plugins/indexers/gstfileindex.c:
5602 * plugins/indexers/gstmemindex.c:
5603 * tests/old/examples/plugins/example.h:
5604 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5606 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
5608 * libs/gst/dataprotocol/dataprotocol.c:
5609 (gst_dp_header_from_buffer):
5610 make sure we zero the whole ABI-compatible area
5612 2006-06-01 Wim Taymans <wim@fluendo.com>
5614 Patch by: Alessandro Decina <alessandro at nnva dot org>
5616 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5617 Make sure the EOS flag is cleared from pads after a flush
5618 or stop. Fixes #343538.
5620 * tests/check/libs/collectpads.c: (GST_START_TEST),
5621 (gst_collect_pads_suite):
5622 Added test for collectpads reusage after EOS.
5624 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
5627 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5628 * win32/common/libgstbase.def:
5629 export gst_collect_pads_set_flushing
5630 * win32/common/libgstreamer.def:
5631 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5632 gst_value_fraction_multiply
5633 * win32/vs6/gst_inspect.dsp:
5634 add a link to intl.lib
5636 2006-05-30 Wim Taymans <wim@fluendo.com>
5638 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5639 (gst_collect_pads_chain):
5640 Handle the case where a pad is removed from the collection
5641 that could cause the other pads to become collectable.
5643 2006-05-30 Wim Taymans <wim@fluendo.com>
5646 Clarify the use of _release_request_pad() and
5647 _get_request_pad() a bit better.
5649 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5650 (gst_adapter_take_buffer):
5651 Fix some doc and comment typos.
5653 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5655 * docs/gst/gstreamer-sections.txt:
5656 * docs/libs/gstreamer-libs-sections.txt:
5657 add declared symbols
5659 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
5661 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5662 Add debug that can be enabled using a #define at the top of the file,
5663 for dumping stats about how late/early we were when waking up from
5664 waiting on the clock.
5666 2006-05-30 Wim Taymans <wim@fluendo.com>
5668 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5669 When rebuilding the pad list, don't leak the previous list.
5671 2006-05-30 Wim Taymans <wim@fluendo.com>
5673 Patch by: Lutz Mueller <lutz at topfrose dot de>
5675 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5676 (gst_base_src_get_query_types), (gst_base_src_update_length):
5677 Publish supported query types.
5678 Update last_stop field in get_range mode so the position
5679 query works. Fixes #342321.
5681 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
5683 * docs/gst/gstreamer-sections.txt:
5684 * gst/gsttaglist.c: (_gst_tag_initialize):
5686 API: add GST_TAG_PREVIEW_IMAGE (#343341).
5688 2006-05-30 Wim Taymans <wim@fluendo.com>
5690 Patch by: Alessandro Decina <alessandro at nnva dot org>
5692 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5693 Unlock mutex when removing an unknown pad.
5696 * tests/check/Makefile.am:
5697 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5698 (push_event), (setup), (teardown), (GST_START_TEST),
5699 (gst_collect_pads_suite), (main):
5700 Added collecpads check, disabled for now as check crashes for
5703 2006-05-29 Wim Taymans <wim@fluendo.com>
5705 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5706 Don't leak pads lists.
5708 2006-05-29 Wim Taymans <wim@fluendo.com>
5710 * docs/libs/gstreamer-libs-sections.txt:
5711 * libs/gst/base/gstcollectpads.c:
5712 (gst_collect_pads_set_flushing_unlocked),
5713 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5714 (gst_collect_pads_stop):
5715 * libs/gst/base/gstcollectpads.h:
5716 API: gst_collect_pads_set_flushing()
5717 Added api to set the pads to flushing, useful for seeking
5718 code in elements using collectpads.
5719 Clear segment when receiving a flush.
5721 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
5723 * gst/gst.c: (add_path_func), (init_post):
5724 Don't scan registry paths passed via --gst-plugin-path immediately
5725 (will crash, because absolutely nothing is set up and no types are
5726 registered etc.); do this later in init_post(). Fixes #343057.
5728 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
5730 * gst/gst.c: (init_post):
5731 if we have fork, fork while reading/rebuilding the registry
5732 so the parent doesn't take the hit of having all plugins loaded
5733 in memory. Fixes #342777.
5735 Check if we have fork()
5736 * win32/common/config.h.in:
5739 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5741 * plugins/elements/gstelements.c:
5742 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5743 (gst_file_src_init), (gst_file_src_set_property),
5744 (gst_file_src_get_property), (gst_file_src_start):
5745 * plugins/elements/gstfilesrc.h:
5746 API: GstFileSrc::use-mmap
5748 Add a use-mmap property to enable easier testing of all code paths.
5749 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5750 in the absence of gnomevfssrc. (Closes #340501)
5752 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5754 * tools/gst-inspect.c:
5755 Add missing include, removes warning of ngettext not being defined on
5758 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5760 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5761 Handle NULL input and output pointers silently as a failed conversion,
5762 rather than g_warnings.
5764 2006-05-25 Wim Taymans <wim@fluendo.com>
5766 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5767 Initialize variable before using. Fixes #342820.
5769 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
5771 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5772 Fix off-by-one bug that would only allow peeks of N-1 bytes
5773 from the start even if the buffer to typefind on contains
5774 in fact N bytes of data (makes vorbis typefinding from a
5775 vorbis identification header buffer work).
5777 * tests/check/Makefile.am:
5778 * tests/check/libs/.cvsignore:
5779 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5780 (gst_typefindhelper_suite), (main), (foobar_typefind),
5782 Add very basic unit test for gst_type_find_helper_for_buffer()
5783 that checks for the problem fixed above.
5785 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
5787 * tools/gst-inspect.c: (print_interfaces),
5788 (print_element_properties_info), (print_element_list), (main):
5789 add more translatable strings
5791 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
5793 Patch by: Julien Moutte <julien at moutte net>
5795 * docs/gst/gstreamer-sections.txt:
5796 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5798 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5799 (gst_fake_sink_preroll):
5800 * plugins/elements/gstfakesink.h:
5801 API: Add new GstFakeSink::preroll-handoff signal (#337100).
5803 2006-05-23 Wim Taymans <wim@fluendo.com>
5805 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5807 Added _CUSTOM error and success GstFlowReturn that can be
5808 used be elements internally.
5809 Added macro to check for SUCCESS flowreturns.
5810 API: GST_FLOW_CUSTOM_SUCCESS
5811 API: GST_FLOW_CUSTOM_ERROR
5812 API: GST_FLOW_IS_SUCCESS
5814 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5815 Added check for GstFlowReturn sanity.
5817 2006-05-23 Wim Taymans <wim@fluendo.com>
5819 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5821 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5822 (gst_collect_pads_event):
5823 clear/reset segment info in FLUSH_STOP.
5826 2006-05-22 Stefan Kost <ensonic@users.sf.net>
5828 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5829 (gst_collect_pads_check_collected):
5830 Flush queued buffer on _stop(), fixes playing again (#342454)
5832 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
5834 * tests/check/gst/gststructure.c: (GST_START_TEST),
5835 (gst_structure_suite):
5836 add a test for a complete structure
5838 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5840 * docs/faq/developing.xml:
5842 * docs/faq/troubleshooting.xml:
5843 * docs/faq/using.xml:
5844 Some minor FAQ updates that won't change the fact that
5845 our FAQ is badly structured, full of information hardly
5846 anyone new to GStreamer needs to know and lacking lots
5847 of information people constantly ask for.
5849 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
5851 * gst/gstpad.c: (gst_pad_set_caps):
5852 Short-circuit gst_pad_set_caps if setting the existing
5853 caps pointer again, and avoid printing debug and
5854 reffing/unreffing the caps.
5856 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5857 There's actually no need to set the caps before pushing -
5858 the acceptcaps method will handle it anyway.
5860 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5862 * docs/gst/gstreamer-sections.txt:
5863 * win32/common/libgstreamer.def:
5864 * gst/gstutils.c: (gst_element_seek_simple):
5866 API: add gst_element_seek_simple() (#342238).
5868 2006-05-18 Edward Hervey <edward@fluendo.com>
5870 * gst/gsttypefind.c: (gst_type_find_get_type):
5871 * gst/gsttypefind.h:
5872 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5873 registered for GstTypeFind pointers. This allows wrapping the structure
5874 in bindings (i.e. gst-python).
5876 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5878 * gst/gsttagsetter.c:
5879 Docs additions and fixes (see #339918).
5881 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
5883 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5884 The caps intersection algorithm can produce multiple copies of the
5885 caps. Until that is fixed, we need to simplify the result to be
5886 sure whether the allowed caps are fixed or not.
5888 * plugins/elements/gstqueue.c: (gst_queue_init),
5889 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5890 (gst_queue_push_one):
5891 Proxied buffer alloc should not set the caps on the source pad.
5892 When pushing buffers, we always accept the caps change that triggers.
5893 This prevents negotiation errors caused by caps changing mid-stream
5894 and then being refused on our source pad (because upstream is now
5895 refusing those caps).
5897 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5899 * tests/examples/helloworld/helloworld.c: (main):
5900 Must plug audioconvert and audioresample between decoder
5903 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
5905 * gst/gstregistryxml.c: (read_string), (load_pad_template),
5906 (load_feature), (load_plugin):
5907 Allow empty strings for some of the plugin fields so we don't
5908 drop valid plugin entries that were written out correctly
5911 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
5913 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5914 Use g_remove and g_rename instead of remove and rename that don't
5915 handle utf8 characters. rename was failing for users who had specific
5916 characters in their name then the registry was built at each
5918 * win32/vs6/gst_inspect.dsp:
5919 * win32/vs6/gst_launch.dsp:
5920 * win32/vs6/libgstbase.dsp:
5921 * win32/vs6/libgstcoreelements.dsp:
5922 * win32/vs6/libgstreamer.dsp:
5923 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
5924 build of libgstreamer and clean unused libraries in projects link
5927 2006-05-17 Edward Hervey <edward@fluendo.com>
5929 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5930 The queue is not responsible for pushing an EOS when receiving a fatal
5931 flow error. It's up to the real element driving the pipeline to do that.
5933 2006-05-16 Edward Hervey <edward@fluendo.com>
5935 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5936 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
5937 buffer returned a fatal error. It should just send an EOS and stop
5939 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
5940 when pushing buffers on the queue and will be able to handle the event.
5942 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
5944 * docs/manual/basics-bins.xml:
5945 * docs/manual/basics-init.xml:
5946 Fix typos and minor errors in sample code (#341856).
5948 2006-05-16 Wim Taymans <wim@fluendo.com>
5950 * docs/design/part-qos.txt:
5951 Fix indexes in formulas to make more sense.
5953 2006-05-15 Wim Taymans <wim@fluendo.com>
5955 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5956 Don't report POSITION based on clock time if sync is
5959 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
5962 Add cast to make compiler happy - refcount variable was a gint
5963 in GstObject but is a guint in GObject and g_atomic_int_get()
5966 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
5968 * gst/parse/Makefile.am:
5969 chain commands using &&, which also makes parallel make work
5971 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
5973 * docs/gst/gstreamer-sections.txt:
5979 === release 0.10.6 ===
5981 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
5984 releasing 0.10.6, "Take the cannoli"
5986 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
5988 * tools/gst-launch.c: (print_tag):
5989 Fix use of uninitialized variable in the hypothetical
5990 case that some broken plugin creates a GST_TAG_IMAGE
5991 tag containing a NULL buffer (#341667).
5993 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
5995 * tools/gst-launch.c: (print_tag):
5996 Print something more intelligible for image tags when
5997 using the -t switch (#341556).
5999 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
6004 define GST_MAJORMINOR so we have it available in win32/common/config.h
6005 Possibly remove it from our Makefile.am files later
6006 * win32/common/config.h:
6007 * win32/common/config.h.in:
6008 added GST_MAJORMINOR
6009 * win32/common/gstenumtypes.c: (register_gst_resource_error):
6010 * win32/common/gstversion.h:
6013 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
6016 Update win32 files listing.
6017 * win32/common/gstversion.h:
6018 Add GST_MAJORMINOR definition.
6019 * win32/common/libgstreamer.def:
6020 Add new exported functions.
6022 2006-05-12 Michael Smith <msmith@fluendo.com>
6024 * gst/gstplugin.c: (gst_plugin_load_file):
6025 If an so file has no plugin entry point, unload the module.
6027 2006-05-11 Wim Taymans <wim@fluendo.com>
6029 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
6030 (gst_queue_set_property):
6031 Don't forget to signal the _chain or _loop function
6032 when the queue size or thresholds change since that might
6033 cause them to make progres again.
6035 2006-05-11 Stefan Kost <ensonic@users.sf.net>
6037 * gst/gstclock.c: (gst_clock_class_init):
6038 * gst/gstindex.c: (gst_index_class_init):
6039 * gst/gstobject.c: (gst_object_class_init):
6040 * gst/gstpad.c: (gst_pad_class_init):
6041 * gst/gstpipeline.c: (gst_pipeline_class_init):
6042 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6043 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
6044 * libs/gst/base/gstbasetransform.c:
6045 (gst_base_transform_class_init):
6046 * libs/gst/net/gstnetclientclock.c:
6047 (gst_net_client_clock_class_init):
6048 * libs/gst/net/gstnettimeprovider.c:
6049 (gst_net_time_provider_class_init):
6050 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
6051 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6052 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6053 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
6054 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6055 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6056 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6057 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6058 * plugins/elements/gsttee.c: (gst_tee_class_init):
6059 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6060 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6061 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
6063 2006-05-11 Wim Taymans <wim@fluendo.com>
6065 * gst/gstbuffer.c: (_gst_buffer_initialize):
6066 Register subbufer along with the buffer type so that
6067 it does not accidentally gets registered from N
6068 different streaming threads in a non threadsafe way.
6070 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6075 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
6076 gst_event_ref() and gst_message_ref() functions again
6077 (ugly hack, please do fix if there's a better way besides
6078 overrides.txt, which doesn't seem to work).
6080 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6082 * libs/gst/check/gstcheck.h:
6083 add an assert for setting state to avoid lots of repetitive code
6086 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6088 * gst/gstvalue.c: (gst_value_serialize_flags):
6089 fix a leak if no flags are set
6090 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6093 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6095 * docs/manual/basics-pads.xml:
6096 Expand a bit on caps and filtered links and update
6097 examples that were still using the no longer existing
6098 gst_pad_link_filtered() (#338206).
6100 2006-05-10 Wim Taymans <wim@fluendo.com>
6102 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6103 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6104 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6105 (gst_collect_pads_stop):
6106 * libs/gst/base/gstcollectpads.h:
6107 No need to call _stop in _finalize.
6108 Iterate the main pad list in _finalize.
6109 Added some more debug.
6110 Free lists and data in the right order.
6111 Also free data whem doing _remove_pad when stopped for
6112 backward compatibility protect ::started with PAD_LOCK as
6115 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6117 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6118 (gst_structure_parse_value):
6120 rename a method so that it actually says what it does better
6122 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6124 * gst/gstevent.c: (_gst_event_initialize):
6125 * gst/gstformat.c: (_gst_format_initialize):
6126 make sure some essential types used by events are registered
6127 as part of gst_init()
6128 * gst/gstvalue.c: (gst_value_serialize_flags):
6129 if no flags are set, serialize them to a value that represents NONE
6130 so that deserializing them works
6131 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6132 add tests for serialization and deserialization of flags
6134 2006-05-10 Wim Taymans <wim@fluendo.com>
6136 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6137 (gst_collect_pads_collect_range), (gst_collect_pads_available),
6138 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6139 (gst_collect_pads_event), (gst_collect_pads_chain):
6142 Catch and return errors from the collect function
6143 Refuse data on eos pads.
6145 2006-05-10 Edward Hervey <edward@fluendo.com>
6147 * gst/gstinterface.h:
6148 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6149 GInterface type checking.
6150 They were previously using non-defined macros.
6152 2006-05-09 Wim Taymans <wim@fluendo.com>
6154 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6155 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6156 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6157 (gst_collect_pads_start), (gst_collect_pads_stop),
6158 (gst_collect_pads_peek), (gst_collect_pads_pop),
6159 (gst_collect_pads_available), (gst_collect_pads_read),
6160 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6161 (gst_collect_pads_is_collected), (gst_collect_pads_event),
6162 (gst_collect_pads_chain):
6163 * libs/gst/base/gstcollectpads.h:
6164 Clean up the mess that is collectpads, add comments and
6165 FIXMEs where needed.
6166 Maintain a separate pad list so we can add pads while
6167 collecting the other ones. For this we need a new separate
6169 Fix memory leak in finalize.
6170 Refactor some weird code to set/unset pad flushing flags, mark
6172 Don't crash in _available, _read, _flush when we're EOS.
6174 * tests/check/libs/.cvsignore:
6175 Ignore adapter check binary.
6177 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6179 * gst/gstindex.c: (gst_index_resolver_get_type):
6180 * plugins/elements/gstfakesink.c:
6181 (gst_fake_sink_state_error_get_type):
6182 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6183 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6184 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6185 Const-ify GEnumValue arrays.
6187 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6189 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6190 Add test case for flags + gst_buffer_make_metadata_writable().
6192 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6194 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6195 gst_buffer_make_metadata_writable() should maintain the
6196 buffer flags (those that make sense at least) (see #340859).
6198 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6200 * tools/gst-inspect.c:
6201 * tools/gst-launch.c:
6202 * tools/gst-typefind.c:
6203 * tools/gst-xmlinspect.c:
6205 Fix up includes: need to include stdlib.h in tools.h for exit().
6207 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6209 * gst/gsttaglist.c: (_gst_tag_initialize):
6211 API: add GST_TAG_IMAGE tag (#340721).
6213 2006-05-08 Wim Taymans <wim@fluendo.com>
6216 Added some docs for the segment query.
6218 2006-05-08 Wim Taymans <wim@fluendo.com>
6220 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6221 (gst_base_src_loop), (gst_base_src_change_state):
6222 Always push non-flushing serialized events in the streaming
6225 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
6227 * gst/gsterror.c: (_gst_stream_errors_init):
6228 Add a missing error string.
6230 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
6232 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6233 Add applied_rate to the debug
6235 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6236 Copy applied_rate into the outgoing NEWSEGMENT event
6238 2006-05-08 Wim Taymans <wim@fluendo.com>
6240 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6242 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6243 (gst_base_sink_change_state):
6244 call ::unlock before taking the PREROLL_LOCK so we can safely
6245 handle elements that lock in ::render.
6248 2006-05-08 Edward Hervey <edward@fluendo.com>
6250 * autogen.sh: (CONFIGURE_DEF_OPT):
6251 Darwin's libtoolize is in fact called glibtoolize.
6252 Adding glibtoolize to the list of accepted names for libtoolize.
6254 2006-05-08 Wim Taymans <wim@fluendo.com>
6256 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6257 Unify error handling, don't post an error message
6258 when a push() returns EOS but perform our normal EOS
6259 handling code. Fixes #340772.
6261 2006-05-08 Wim Taymans <wim@fluendo.com>
6263 * docs/design/part-overview.txt:
6264 Make upsteam/downstream concepts more clear.
6265 Give an example of serialized/non-serialized events.
6267 * docs/design/part-events.txt:
6268 * docs/design/part-streams.txt:
6269 Mention applied_rate.
6271 * docs/design/part-trickmodes.txt:
6272 Mention applied rate, flesh out some more use cases.
6274 * gst/gstevent.c: (gst_event_new_new_segment),
6275 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6276 (gst_event_parse_new_segment_full), (gst_event_new_tag),
6277 (gst_event_parse_tag), (gst_event_new_buffer_size),
6278 (gst_event_parse_buffer_size), (gst_event_new_qos),
6279 (gst_event_parse_qos), (gst_event_parse_seek),
6280 (gst_event_new_navigation):
6282 Add applied_rate field to NEWSEGMENT event.
6283 API: gst_event_new_new_segment_full()
6284 API: gst_event_parse_new_segment_full()
6286 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6287 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6288 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6290 Add applied_rate to GstSegment structure.
6291 Make calculation of stream_time and running_time more correct
6292 wrt rate/applied_rate.
6294 API: GstSegment::applied_rate field
6295 API: gst_segment_set_newsegment_full();
6297 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6298 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6299 * libs/gst/base/gstbasetransform.c:
6300 (gst_base_transform_sink_eventfunc),
6301 (gst_base_transform_handle_buffer):
6302 Parse and use applied_rate in the GstSegment field.
6304 * tests/check/gst/gstevent.c: (GST_START_TEST):
6305 Add check for applied_rate field.
6307 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6308 (gstsegments_suite):
6309 Add more checks for various GstSegment operations.
6311 2006-05-08 Wim Taymans <wim@fluendo.com>
6313 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6314 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6315 (gst_base_sink_get_position), (gst_base_sink_change_state):
6316 Store the sync time of the buffer end position separatly in a
6317 new variable eos_rtime so we can properly sync the EOS event.
6319 Fix the docs for gst_base_sink_set_qos_enabled().
6320 Don't set segment start to invalid value when we receive a
6321 non TIME newsegment.
6322 get closer to handling position reporting for negative rates
6325 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6328 Docs about how to print caps for debug purposes.
6330 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6331 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6333 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6336 use full enum names and preprend a '%' in docs strings to make recent
6337 gtk-doc turn that into a link
6339 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6341 * docs/manual/basics-bins.xml:
6342 * docs/manual/basics-bus.xml:
6343 * docs/manual/basics-pads.xml:
6344 Some typo fixes, some additions, some clarifications.
6346 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6348 * tools/gst-inspect.c: (main):
6349 * tools/gst-launch.c: (main):
6350 * tools/gst-run.c: (main):
6351 * tools/gst-typefind.c: (main):
6352 * tools/gst-xmlinspect.c: (main):
6353 Use the string passed to g_option_context_new() for
6354 what it's intended for - the program name is already
6357 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6359 * tools/Makefile.am:
6360 * tools/gst-inspect.c: (main):
6361 * tools/gst-launch.c: (main):
6362 * tools/gst-xmlinspect.c: (main):
6364 Add back --version command line option (#340460).
6366 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6367 Add --version option and use GOption for argument parsing; refactor a
6368 bit; accept directories as arguments and recurse into them; lastly,
6369 print a decent error message when things go wrong.
6371 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6373 * docs/manual/basics-bins.xml:
6374 Don't mention GstThread (#340611)
6375 * docs/manual/basics-elements.xml:
6376 Update link to GObject tutorial (#340607)
6378 2006-05-05 Wim Taymans <wim@fluendo.com>
6381 * gst/gstminiobject.c:
6382 Add note about refcounting and miniobject/buffer writeability
6383 to docs. Fixes #340604
6385 * gst/gstelementfactory.h:
6386 Added some explanation about @klass.
6388 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6390 * docs/manual/intro-motivation.xml:
6391 * docs/manual/manual.xml:
6392 Avoid CORBA & Bonobo references (#340598)
6394 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6396 * docs/manual/basics-bus.xml:
6397 * docs/manual/basics-pads.xml:
6398 Fix up some inaccuracies and omissions (#340609)
6400 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6402 * gst/gstghostpad.c:
6403 Small typo in docs (#340625)
6405 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6407 * gst/parse/Makefile.am:
6408 Make 'make -j' proof (see #340698).
6410 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6413 Require GLib-2.8 here as well.
6415 2006-05-05 Wim Taymans <wim@fluendo.com>
6417 * gst/glib-compat.c:
6418 * gst/gst.c: (init_pre):
6419 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6420 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6421 (gst_object_dispatch_properties_changed):
6423 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6424 * gst/gststructure.c: (gst_structure_set_valist):
6425 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6426 Remove pre glib2.8 compatibility, fixes #340508
6428 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6431 Mention type of tags in doc blurbs.
6433 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
6435 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6436 (gst_pad_configure_src), (gst_pad_push):
6437 Restore acceptcaps checking behaviour now that good plugins have
6440 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6442 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6453 * gst/parse/Makefile.am:
6454 * libs/gst/base/gstadapter.c:
6455 * libs/gst/base/gstbasesrc.c:
6456 * libs/gst/base/gstpushsrc.c:
6457 * libs/gst/base/gsttypefindhelper.c:
6458 * plugins/elements/gstfakesrc.c:
6459 * plugins/elements/gstidentity.c:
6460 Make sure gstprivate.h and/or config.h are
6461 always included first, otherwise some of our
6462 defines (like _FILE_OFFSET_BITS) might be
6463 redefined in the system headers. Fixes build
6464 on opensolaris (#340016).
6466 2006-05-04 Wim Taymans <wim@fluendo.com>
6468 * docs/libs/gstreamer-libs-sections.txt:
6469 API: addition: gst_adapter_take_buffer()
6471 * libs/gst/base/gstadapter.c: (gst_adapter_push),
6472 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6473 (gst_adapter_available_fast):
6474 * libs/gst/base/gstadapter.h:
6475 Prepare for optimizing the hell out of this hugely inefficient
6477 Added gst_adapter_take_buffer() so we can at least start thinking
6478 about subbuffering and merging.
6479 Added some comments.
6481 * tests/check/Makefile.am:
6482 * tests/check/libs/adapter.c: (GST_START_TEST),
6483 (gst_adapter_suite), (main):
6484 Added GstAdapter check.
6486 2006-05-04 Wim Taymans <wim@fluendo.com>
6488 * docs/design/part-overview.txt:
6489 Fix some typos, add blurb about buffer flags.
6491 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6493 * docs/libs/gstreamer-libs-sections.txt:
6494 make sure GstBaseTransformClass shows up in the docs
6495 * libs/gst/base/gstbasetransform.c:
6496 * libs/gst/base/gstbasetransform.h:
6497 move docs so gtk-doc picks it up now
6499 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6501 * docs/libs/gstreamer-libs-sections.txt:
6502 add missing symbols to docs
6504 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6506 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6507 back out the newsegment handling change, see #340060 for ongoing
6510 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
6512 * tools/gst-run.c: (get_candidates), (main):
6513 Fix wrong g_file_test() usage (see glib docs for why it doesn't
6514 work); fix typo in error message. Fixes #340079.
6516 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6518 * common/Makefile.am:
6520 * docs/faq/Makefile.am:
6521 * docs/gst/Makefile.am:
6522 * docs/libs/Makefile.am:
6523 * docs/manual/Makefile.am:
6524 * docs/plugins/Makefile.am:
6525 * docs/pwg/Makefile.am:
6526 * docs/slides/Makefile.am:
6528 * common/upload.mak:
6529 move upload.mak to common
6531 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6533 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6534 add more asserts on refcounts
6535 do more cleanup at end of tests
6536 fix test leaks showing in FC5
6538 2006-04-29 Stefan Kost <ensonic@users.sf.net>
6540 * plugins/elements/gsttypefindelement.c:
6541 (gst_type_find_element_handle_event):
6542 reverted wrong change and reflowed code to avoid others falling into
6545 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6547 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6548 fix changelog entry about last collectpads change,
6549 add notes about proper fix
6551 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6554 * gst/gstregistry.c: (gst_registry_scan_path_level),
6555 (gst_registry_scan_path):
6556 * gst/gstregistry.h:
6557 only write out registry if it has changed, fixes #338339
6559 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6562 * gst/gstpipeline.c:
6563 * plugins/elements/gstcapsfilter.c:
6564 * plugins/elements/gstfakesink.c:
6565 * plugins/elements/gstfakesrc.c:
6566 * plugins/elements/gstfdsink.c:
6567 * plugins/elements/gstfdsrc.c:
6568 * plugins/elements/gstfilesink.c:
6569 * plugins/elements/gstfilesrc.c:
6570 * plugins/elements/gstidentity.c:
6571 * plugins/elements/gstqueue.c:
6572 * plugins/elements/gsttee.c:
6573 * plugins/elements/gsttypefindelement.c:
6574 (gst_type_find_element_handle_event):
6575 make GstElementDetails const
6577 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6579 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6580 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6581 (gst_collect_pads_is_collected), (gst_collect_pads_event):
6582 more detailed debug and formatting cleanup,
6583 forward newsegments to src-pad (so that e.g. adder not eats them)
6585 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6587 * gst/gstutils.c: (gst_element_link_pads):
6590 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6592 * libs/gst/controller/gstcontroller.c:
6593 (gst_controller_sync_values):
6595 * tests/check/libs/controller.c: (GST_START_TEST),
6596 (gst_controller_suite):
6597 a new test for live value handling
6599 2006-04-28 Wim Taymans <wim@fluendo.com>
6601 * gst/gstutils.c: (push_and_ref):
6602 Added some more docs.
6603 Fix refcount issue whith gst_element_found_tags() helper
6604 function. Fixes #338335
6606 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6607 Added testsuite for gst_element_found_tags().
6609 2006-04-28 Michael Smith <msmith@fluendo.com>
6611 * gst/gstvalue.c: (gst_value_serialize_flags):
6612 Avoid NULL dereference when trying to serialize flags containing
6615 2006-04-28 Michael Smith <msmith@fluendo.com>
6617 * plugins/elements/gsttypefindelement.c:
6618 (gst_type_find_element_handle_event):
6619 If we get EOS before any data is accumulated, don't use
6620 uninitialised local variables.
6622 2006-04-28 Michael Smith <msmith@fluendo.com>
6624 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6625 (gst_dp_event_from_packet):
6626 Fixes in reading/writing events over GDP (not currently used?) -
6627 dereferencing NULL events for unknown/invalid event types, memory
6628 leak, and change g_warning to GST_WARNING.
6630 2006-04-28 Wim Taymans <wim@fluendo.com>
6632 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6633 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6634 (gst_base_sink_get_position), (gst_base_sink_change_state):
6635 When frame dropping is enabled, we should not ignore frames
6637 Update some documentation.
6639 2006-04-28 Wim Taymans <wim@fluendo.com>
6641 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6642 (gst_base_src_send_event), (gst_base_src_change_state):
6643 Documentation updates.
6645 2006-04-28 Wim Taymans <wim@fluendo.com>
6647 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6648 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6649 handle EAGAIN, EINTR and short writes correctly. Also clean
6650 up some error cases, avoid a deadlock on bad file descriptors and
6651 use GST_DEBUG_OBJECT.
6654 2006-04-28 Wim Taymans <wim@fluendo.com>
6656 * gst/gstvalue.c: (gst_value_serialize_buffer),
6657 (gst_value_deserialize_buffer):
6658 Don't try to serialize a GValue with a NULL buffer.
6661 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6662 Added check for serialisation of NULL buffers.
6664 2006-04-28 Wim Taymans <wim@fluendo.com>
6666 * gst/gstminiobject.c: (gst_value_take_mini_object):
6667 Taking a NULL miniobject is valid, fix the case where
6668 we try to unref the NULL miniobject.
6670 2006-04-28 Wim Taymans <wim@fluendo.com>
6672 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6674 * gst/gstbin.c: (gst_bin_handle_message_func):
6676 Don't leak bin refcount when a state recalc is
6677 in progress and we delay another one #339808.
6679 2006-04-28 Wim Taymans <wim@fluendo.com>
6681 * docs/design/part-TODO.txt:
6682 Mention QoS as an ongoing work item.
6684 * docs/design/part-buffering.txt:
6685 New doc about buffering that needs to be fleshed out
6688 * docs/design/part-qos.txt:
6689 More QoS policy for decoders/demuxers/transforms
6691 * docs/design/part-trickmodes.txt:
6694 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6699 === release 0.10.5 ===
6701 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6704 releasing 0.10.5, "Fogo"
6706 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
6708 patch by: Wim Taymans
6710 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6711 (gst_pad_configure_src), (gst_pad_push):
6712 * gst/gstpipeline.c: (gst_pipeline_init):
6713 Fix internal data flow errors. Fixes #338711.
6715 2006-04-12 Wim Taymans <wim@fluendo.com>
6717 * tests/check/gst/gstelement.c: (GST_START_TEST):
6718 Don't leak the factory.
6720 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6723 * win32/common/config.h:
6726 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
6728 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6729 (gst_controller_unset_all):
6730 Free allocated GstTimedValues when freeing list nodes.
6731 Should fix leaks 'make check-valgrind' complains about.
6733 * win32/common/libgstcontroller.def:
6734 Add gst_controller_unset_all.
6736 2006-04-11 Stefan Kost <ensonic@users.sf.net>
6738 * docs/libs/gstreamer-libs-sections.txt:
6739 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6740 (gst_controller_unset_all):
6741 * libs/gst/controller/gstcontroller.h:
6742 API: Added new method gst_controller_unset_all()
6743 fixed gst_controller_unset()
6744 * tests/check/libs/controller.c: (GST_START_TEST),
6745 (gst_controller_suite):
6746 Added two testcases for new and fixed method
6748 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
6750 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6751 MSG_DONTWAIT is not defined on Cygwin, so work
6752 around that (fixes #317048).
6754 2006-04-11 Wim Taymans <wim@fluendo.com>
6756 * gst/gstelementfactory.c: (gst_element_register),
6757 (gst_element_factory_create), (gst_element_factory_make):
6760 Updated docs (Fixes #131079)
6762 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6765 * tests/check/gst/gstelement.c: (GST_START_TEST),
6766 (gst_element_suite):
6767 Added testcase for elementfactory class field.
6769 2006-04-10 Wim Taymans <wim@fluendo.com>
6772 Added some more docs.
6774 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6775 (gst_base_sink_reset_qos):
6776 Calculate more accurate rate values.
6778 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
6780 * gst/gst_private.h:
6781 add a new #ifdef to use __declspec(dllimport) only for
6782 other modules and not for gstreamer core
6783 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6784 use gst_guint64_to_gdouble for conversion
6785 * win32/common/libgstreamer.def:
6786 add new exported functions
6787 * win32/vs6/gst_inspect.dsp:
6788 * win32/vs6/gst_launch.dsp:
6789 * win32/vs6/libgstbase.dsp:
6790 * win32/vs6/libgstcontroller.dsp:
6791 * win32/vs6/libgstcoreelements.dsp:
6792 * win32/vs6/libgstdataprotocol.dsp:
6793 * win32/vs6/libgstnet.dsp:
6794 update project files
6796 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6798 * gst/gstbuffer.c: (gst_subbuffer_class_init):
6799 * gst/gstclock.c: (gst_clock_class_init):
6800 * gst/gstelement.c: (gst_element_class_init):
6801 * gst/gstindex.c: (gst_index_class_init):
6802 * gst/gstindexfactory.c: (gst_index_factory_class_init):
6803 * gst/gstobject.c: (gst_object_class_init),
6804 (gst_signal_object_class_init):
6805 * gst/gstpad.c: (gst_pad_class_init):
6806 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6807 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6808 * gst/gstregistry.c: (gst_registry_class_init):
6809 * gst/gstsystemclock.c: (gst_system_clock_class_init):
6810 * gst/gsttask.c: (gst_task_class_init):
6811 * gst/gstxml.c: (gst_xml_class_init):
6812 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6813 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6814 (gst_base_src_loop):
6815 * libs/gst/controller/gstcontroller.c:/
6816 (_gst_controller_class_init):
6817 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6818 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6819 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6820 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6821 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6822 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6824 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
6826 * gst/gstpad.c: (gst_pad_link):
6827 Must set peer pads before calling the link function, otherwise
6828 a task started from a link function might get a flow-not-linked
6829 result when trying to push because the other thread where the
6830 linking happens hasn't had a chance to set the peers yet. This
6831 might happen for example when a queue gets linked to a downstream
6832 element, as queue starts a streaming task when its source pad
6833 gets linked. Happens in real life when playing back flac/musepack
6834 files in playbin (#332390).
6836 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6840 * libs/gst/base/gstadapter.h:
6841 * libs/gst/base/gstbasesink.h:
6842 * libs/gst/base/gstbasesrc.h:
6843 * libs/gst/base/gstbasetransform.h:
6844 * libs/gst/base/gstcollectpads.h:
6845 * libs/gst/base/gstpushsrc.h:
6846 Fix broken GObject macros
6848 2006-04-07 Wim Taymans <wim@fluendo.com>
6850 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6851 Initialize start and stop times, thanks valgrind.
6853 2006-04-07 Wim Taymans <wim@fluendo.com>
6855 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6856 Be a bit nicer to badly behaving upstream elements that expect
6857 us to deal with non TIME segments and timestamps (such as fakesrc
6860 2006-04-07 Wim Taymans <wim@fluendo.com>
6863 Small documentation clarification about the signal watch.
6865 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6866 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6867 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6868 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6869 (gst_base_sink_get_position_last),
6870 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6871 Convert and store timestamps in stream time and running time, the
6872 raw timestamps are not useful, also document this better.
6873 Use different window sizes for good and bad QoS observations so
6874 we react to badness a little quicker.
6875 Keep track of the amount of rendered and dropped buffers.
6876 Send QoS timestamps in running time.
6878 * libs/gst/base/gstbasetransform.c:
6879 (gst_base_transform_sink_eventfunc),
6880 (gst_base_transform_handle_buffer):
6881 Compare QoS timestamps against running time.
6883 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6888 2006-04-06 Michael Smith <msmith@fluendo.com>
6890 * gst/gstpad.c: (gst_pad_set_property):
6891 Use g_value_get_object() instead of g_value_dup_gst_object(),
6892 to avoid double-reffing the pad template (which we then sink,
6893 so this worked previously if (and only if) the pad template
6896 * gst/gstpadtemplate.c: (gst_pad_template_init),
6897 (gst_pad_template_pad_created):
6898 Never return floating references to pad templates, create
6899 them as initially-sunken.
6901 Document an extra function (and make this stop sinking our
6902 pad template, since that is now guaranteed to do nothing,
6903 since we created it sunken).
6905 * gst/gstghostpad.c:
6908 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6910 * gst/gstinfo.c: (__gst_in_valgrind):
6913 * plugins/elements/gsttypefindelement.c:
6914 (gst_type_find_element_chain):
6915 Don't leak buffer caps.
6917 2006-04-06 Michael Smith <msmith@fluendo.com>
6919 * gst/parse/grammar.y:
6920 Fix a leak in parse-launch for any source-or-sink named element
6923 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6924 Unref the pipeline if it exists after we've failed parsing.
6926 2006-04-05 Michael Smith <msmith@fluendo.com>
6928 * gst/gstpipeline.c: (gst_pipeline_init):
6929 When we create a pipeline bus, initially create it in flushing mode.
6930 Fixes leaks in at least one test, and makes a new pipeline work the
6931 same as one that has gone to READY and then back to NULL.
6936 2006-04-05 Michael Smith <msmith@fluendo.com>
6938 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6939 Unref a pad we reffed.
6940 * tests/check/gst/gstutils.c: (GST_START_TEST):
6943 2006-04-05 Michael Smith <msmith@fluendo.com>
6945 * gst/gstquery.c: (gst_query_set_formats),
6946 (gst_query_set_formatsv):
6947 Fix leaking GValues in queries, as shown by valgrind/testsuite.
6949 2006-04-05 Michael Smith <msmith@fluendo.com>
6951 * tests/check/generic/sinks.c: (GST_START_TEST):
6952 Fix a variety of memleaks in sinks check, which are only sometimes
6953 shown by running the tests under valgrind (weird?).
6955 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
6957 * docs/version.entities.in:
6958 Fix the substituted entity name after thomas' changes on the
6961 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6963 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
6966 2006-04-05 Andy Wingo <wingo@pobox.com>
6968 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
6970 * libs/gst/base/gstbasetransform.c
6971 (gst_base_transform_sink_eventfunc): When resetting our segment on
6972 FLUSH_STOP, also update the flag saying we haven't seen a
6975 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6977 Patch by: Paolo Borelli <pborelli at katamail dot com>
6979 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6980 (gst_plugin_check_license):
6981 minor clean-ups: G_DEFINE_TYPE already takes care of the
6982 parent_class stuff, no need to do it twice. Mark array of
6983 license strings as constant. (#337103)
6985 2006-04-04 Michael Smith <msmith@fluendo.com>
6987 * tools/gst-inspect.c: (print_element_list):
6988 Free the right plugin list; fixes a memory leak.
6990 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6992 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6994 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6995 Don't error out on empty buffers (#336945).
6997 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
6999 * docs/libs/gstreamer-libs-sections.txt:
7001 * libs/gst/base/gstbasesink.c:
7002 * libs/gst/base/gstbasesink.h:
7003 * libs/gst/base/gstbasesrc.c:
7004 * libs/gst/base/gstbasesrc.h:
7005 Documentation updates. Make BaseSink and BaseSrc docs contain the
7006 class structure so that people can actually see the prototypes for
7007 virtual functions they're supposed to be overriding.
7009 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7011 * plugins/elements/gsttypefindelement.c:
7012 (gst_type_find_element_chain):
7013 More debug info; when skipping typefinding, send cached
7014 events in all cases.
7016 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
7019 use new AS_VERSION and AS_NANO macros
7020 * gst/gst-i18n-lib.h:
7023 * gst/gstversion.h.in:
7024 * win32/common/config.h:
7025 * win32/common/config.h.in:
7028 2006-03-31 Michael Smith <msmith@fluendo.com>
7030 * plugins/elements/gsttypefindelement.c:
7031 (gst_type_find_element_chain):
7032 Do not typefind content if the buffers already have caps.
7033 Neccesary for icydemux (#333657), and the right thing to do anyway.
7035 2006-03-30 Wim Taymans <wim@fluendo.com>
7037 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7038 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
7039 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
7040 (gst_base_sink_record_qos_observation),
7041 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7042 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7043 (gst_base_sink_change_state):
7044 More QoS measurements as described in the design doc.
7045 Get rid of ringbuffer with observations, running average is
7046 more simple and equally good.
7047 Calculates valid proportion now.
7048 Added beginning of flood measurement.
7050 2006-03-29 Wim Taymans <wim@fluendo.com>
7052 * docs/design/part-qos.txt:
7054 Small documentation updates and additions.
7056 2006-03-29 Wim Taymans <wim@fluendo.com>
7058 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7059 (gst_base_src_send_event), (gst_base_src_loop),
7060 (gst_base_src_change_state):
7061 Perform the EOS logic when we reach the segment stop position.
7062 Fix compilation on gcc4.1
7064 2006-03-29 Wim Taymans <wim@fluendo.com>
7066 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7068 * plugins/elements/gstqueue.c: (gst_queue_init),
7069 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7070 (gst_queue_set_property):
7071 * plugins/elements/gstqueue.h:
7072 In queue, when EOS is received, if minimum threshold > max_size -
7073 current_level, there is chance that queue blocks forever in conditional
7074 item del wait. This is because the queue is not emptied completely due
7075 to minimum threshold. Here is another approach. Instead of setting
7076 cur_levels to max in EOS, just zero all minimum threshold levels. This
7077 should make sure that queue gives out all data. When going to READY
7078 (stop) state, just reset the original minimum threshold levels.
7081 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
7083 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
7084 (gst_type_find_element_handle_event),
7085 (gst_type_find_element_send_cached_events),
7086 (gst_type_find_element_change_state):
7087 * plugins/elements/gsttypefindelement.h:
7088 When typefinding is done in push mode, we should cache
7089 events we receive during typefinding instead of just
7090 dropping them (e.g. newsegment, custom events from
7091 dvdreadsrc etc.) and then send them out once we've
7092 determined the type of the stream (and decodebin
7093 has had a chance to plug in a decoder/demuxer).
7095 2006-03-27 Wim Taymans <wim@fluendo.com>
7097 * docs/design/part-qos.txt:
7100 2006-03-27 Wim Taymans <wim@fluendo.com>
7102 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7104 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7105 (gst_base_src_send_event), (gst_base_src_change_state):
7106 Handle element seek correctly when we are streaming.
7109 2006-03-24 Michael Smith <msmith@fluendo.com>
7111 * docs/faq/gst-uninstalled:
7112 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7113 allow you to correctly run intalled applications built against old
7114 core, using plugins that require updated core (e.g. running
7115 installed totem against a full uninstalled gstreamer stack)
7117 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7119 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7122 2006-03-24 Wim Taymans <wim@fluendo.com>
7124 * docs/gst/gstreamer-sections.txt:
7125 Rearrange the order of the methods so that related methods
7126 are grouped together in sections.
7128 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7131 Little clarification in the docs
7133 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7137 * plugins/elements/gstidentity.c:
7138 * plugins/elements/gstqueue.c:
7139 * plugins/elements/gsttee.c:
7140 * plugins/elements/gsttypefindelement.c:
7141 GST_ELEMENT_DETAILS formatting
7143 2006-03-24 Wim Taymans <wim@fluendo.com>
7145 * libs/gst/base/gstbasesink.h:
7146 Only add fields, not insert or we break ABI.
7148 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7150 * win32/common/libgstbase.def:
7151 * win32/common/libgstreamer.def:
7152 Update, add recently added functions.
7154 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7156 * docs/gst/gstreamer-sections.txt:
7157 * gst/gstutils.c: (gst_pad_query_peer_position),
7158 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7160 API: add some new utility functions:
7161 - gst_pad_query_peer_position()
7162 - gst_pad_query_peer_duration()
7163 - gst_pad_query_peer_convert()
7165 2006-03-23 Wim Taymans <wim@fluendo.com>
7167 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7168 (gst_base_sink_init), (gst_base_sink_finalize),
7169 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7170 (gst_base_sink_set_property), (gst_base_sink_get_property),
7171 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7172 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7173 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7174 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7175 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7176 (gst_base_sink_preroll_object), (gst_base_sink_event),
7177 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7178 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7179 (gst_base_sink_query), (gst_base_sink_change_state):
7180 Decouple max-lateness and the fact that QoS messages are generated
7181 with a new property (qos).
7182 added API: GstBaseSink::async_play()
7183 Add vmethod so subclasses can be notified of ASYNC playing
7185 Collect timestamp start and stop to report better current
7186 position in EOS/PLAYING/PAUSED/READY/NULL.
7187 Refactor QoS/frame dropping and other measurements.
7188 API: GstBaseSrc::qos
7191 * libs/gst/base/gstbasesink.h:
7192 Added Private struct.
7193 API: gst_base_sink_set_qos_enabled()
7194 API: gst_base_sink_is_qos_enabled()
7196 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7198 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7199 If compiling against GLib-2.8 or newer, try to read the
7200 registry file using GMappedFile first before falling back
7201 to fopen() + fread() (#332151).
7203 2006-03-22 Wim Taymans <wim@fluendo.com>
7205 * gst/gstinfo.c: (gst_debug_set_active),
7206 (gst_debug_category_set_threshold):
7207 Disable debugging unless explicitly activated.
7210 2006-03-22 Wim Taymans <wim@fluendo.com>
7212 * gst/gstelement.c: (gst_element_set_locked_state),
7213 (gst_element_dispose):
7214 Cleanup the error case.
7216 * gst/gstobject.c: (gst_object_dispose):
7217 print a critical when some object was disposed with
7218 a parent, also revive the object since it might
7221 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
7223 * tools/gst-launch.1.in:
7226 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7229 * tests/check/Makefile.am:
7230 disable some tests when we don't have a registry
7231 * tests/check/gst/gstutils.c: (gst_utils_suite):
7232 don't build the part that needs parsing
7234 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7237 * tests/examples/Makefile.am:
7238 fix --disable-parse build
7240 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7242 * tools/gst-feedback.1.in:
7243 Fix typo: s/feeback/feedback/ (#133494).
7245 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7247 * tools/Makefile.am:
7248 * tools/gst-launch.1.in:
7249 Add FILES section and correct entry about GST_REGISTRY_PATH
7250 environment variable (#133495; #133494).
7252 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7254 * tools/Makefile.am:
7255 * tools/gst-md5sum.1.in:
7256 * tools/gst-md5sum.c:
7257 Remove gst-md5sum and man page (the md5sink element
7258 required was removed ages ago)
7260 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7262 * gst/gststructure.c: (gst_structure_id_set_value):
7263 Make sure that string fields in structures/taglists
7264 contain valid UTF-8 - we don't want to pass rubbish to
7265 applications because of a buggy plugin (cp. #334167).
7267 2006-03-21 Edward Hervey <edward@fluendo.com>
7269 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7270 (gst_bin_handle_message_func):
7271 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7272 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7273 (gst_element_set_bus_func):
7274 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7275 * gst/gstminiobject.c: (gst_value_set_mini_object),
7276 (gst_value_take_mini_object):
7277 * gst/gstpad.c: (gst_pad_set_pad_template):
7278 * gst/gstpipeline.c: (gst_pipeline_dispose),
7279 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7280 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7281 (gst_collect_pads_chain):
7282 * libs/gst/net/gstnettimeprovider.c:
7283 (gst_net_time_provider_set_property):
7284 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7285 It's in fact all issues with gst_*object_replace().
7287 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7289 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
7291 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7292 * pkgconfig/gstreamer-check.pc.in:
7293 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7295 2006-03-21 Edward Hervey <edward@fluendo.com>
7300 gst_[buffer|event|message]_ref() macros are replaced by a static
7301 inline functions because gcc-4.1 will about if the return value
7303 * tests/check/gst/gstevent.c: (event_probe):
7304 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7306 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
7309 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7310 the type' case. (Closes: #335195 for now). In the future, when we
7311 depend on GLib 2.10, we could also intern the type name using
7312 g_intern_static_string()
7314 2006-03-20 Wim Taymans <wim@fluendo.com>
7316 * gst/gstbin.c: (gst_bin_handle_message_func),
7317 (bin_query_max_init), (bin_query_position_fold),
7318 (bin_query_position_done), (gst_bin_query):
7319 Position query should also take max of all streams.
7321 2006-03-20 Wim Taymans <wim@fluendo.com>
7323 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7324 (gst_fake_src_finalize):
7325 Fix leaks in fakesrc.
7327 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7328 Fix leaks in the testcase.
7330 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
7332 * gst/gst_private.h:
7333 add win32 specific import decoration(__declspec(dllimport))
7334 for all extern GstDebugCategory * variables
7335 * win32/common/libgstbase.def:
7336 * win32/common/libgstcontroller.def:
7337 * win32/common/libgstreamer.def:
7338 Add some exports, remove empty lines
7339 * win32/common/libgstdataprotocol.def:
7340 * win32/common/libgstdataprotocol.dsp:
7341 * win32/common/libgstnet.def:
7342 * win32/common/libgstnet.dsp:
7343 new project files and exportation files added
7345 2006-03-19 Wim Taymans <wim@fluendo.com>
7347 * tests/check/libs/basesrc.c: (eos_event_counter):
7348 Use proper return value for probe.
7350 2006-03-17 Wim Taymans <wim@fluendo.com>
7352 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7354 Don't leak buffers, caps and pads on negotiation errors.
7356 2006-03-16 Stefan Kost <ensonic@users.sf.net>
7359 * docs/faq/dependencies.xml:
7360 * docs/faq/developing.xml:
7362 * docs/faq/general.xml:
7363 * docs/faq/getting.xml:
7364 * docs/faq/legal.xml:
7365 * docs/faq/troubleshooting.xml:
7366 * docs/faq/using.xml:
7367 Faq review and update.
7369 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
7371 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7373 Don't pound the cpu to pieces by checking get_caps when accept_caps
7374 is called with the same caps as the pad already has.
7375 Use GST_DEBUG_OBJECT when outputting caps change information.
7377 2006-03-15 Wim Taymans <wim@fluendo.com>
7379 * gst/gstclock.c: (gst_clock_class_init):
7382 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
7387 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7388 (gst_pad_accept_caps), (gst_pad_configure_sink),
7389 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7390 Make the default acceptcaps behaviour be to check the requested
7391 caps against the gst_pad_get_caps output.
7393 Ensure that gst_pad_accept_caps is used to check caps when a pad
7394 doesn't have a setcaps function, so that pads automatically refuse
7395 caps that they don't allow in their pad template. (Fixes #332986)
7397 When a buffer with attached caps is pushed, ensure that the source
7398 pad receives those caps even if the element didn't call
7399 gst_pad_set_caps first.
7401 2006-03-15 Wim Taymans <wim@fluendo.com>
7403 * libs/gst/base/gstadapter.c:
7406 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
7408 * win32/common/libgstbase.def:
7409 * win32/common/libgstcontroller.def:
7410 * win32/common/libgstreamer.def:
7411 Add a whole bunch of missing functions (#334434).
7413 2006-03-14 Wim Taymans <wim@fluendo.com>
7415 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7416 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7417 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7418 Better debug info when we receive a segment event.
7419 Reorganize a bit so we can pass the get_times() results around.
7420 Use the segment format when calculating the running time.
7421 Don't do QoS is sync is disabled or we have no clock or the
7422 element does not want us to sync to the clock.
7423 Don't drop buffers if QoS is disabled for now.
7425 2006-03-14 Wim Taymans <wim@fluendo.com>
7427 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7428 Marked the stats property as unimplemented so people don't get
7430 Add debug message when regression goes wrong.
7431 Added some more docs.
7433 2006-03-14 Wim Taymans <wim@fluendo.com>
7435 * gst/gstsegment.c: (gst_segment_to_stream_time):
7436 Return correct return type in case of errors.
7438 2006-03-14 Wim Taymans <wim@fluendo.com>
7440 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7441 Don't segfault on invalid formats.
7443 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7445 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7446 Can't use gst_segment_to_running_time() when the segment
7447 is not in GST_TIME_FORMAT (like with filesink, for example).
7448 Stops flac encoding pipelines from spewing critical warnings
7451 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7453 * gst/gstpipeline.c: (gst_pipeline_class_init):
7454 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7456 * plugins/elements/gsttypefindelement.c:
7457 (gst_type_find_element_handle_event):
7458 Don't try to typefind empty streams.
7460 2006-03-14 Wim Taymans <wim@fluendo.com>
7462 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7463 (gst_base_sink_do_qos):
7464 Separate QoS calculation.
7465 Only drop buffers when lateness is bigger than the
7466 duration of the buffer.
7468 2006-03-13 Wim Taymans <wim@fluendo.com>
7470 * gst/gstpipeline.c: (gst_pipeline_set_property),
7471 (gst_pipeline_get_property), (do_pipeline_seek),
7472 (gst_pipeline_change_state), (gst_pipeline_set_delay),
7473 (gst_pipeline_get_delay):
7474 Don't deadlock when reading properties.
7476 2006-03-13 Wim Taymans <wim@fluendo.com>
7478 * libs/gst/base/gstbasetransform.c:
7479 (gst_base_transform_class_init), (gst_base_transform_init),
7480 (gst_base_transform_sink_event),
7481 (gst_base_transform_sink_eventfunc),
7482 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7483 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7484 (gst_base_transform_set_property),
7485 (gst_base_transform_get_property),
7486 (gst_base_transform_change_state), (gst_base_transform_update_qos),
7487 (gst_base_transform_set_qos_enabled),
7488 (gst_base_transform_is_qos_enabled):
7489 * libs/gst/base/gstbasetransform.h:
7490 Make basetransform virtual method for src events too.
7491 Handle QOS in basetransform.
7492 API: gst_base_transform_update_qos()
7493 API: gst_base_transform_set_qos_enabled()
7494 API: gst_base_transform_is_qos_enabled()
7496 2006-03-13 Wim Taymans <wim@fluendo.com>
7498 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7499 (gst_base_sink_do_sync):
7501 Use QOS debug category.
7503 2006-03-13 Wim Taymans <wim@fluendo.com>
7505 * plugins/elements/gstqueue.c:
7506 Very small doc update.
7508 2006-03-13 Wim Taymans <wim@fluendo.com>
7510 * gst/gst_private.h:
7511 * gst/gstinfo.c: (_gst_debug_init):
7512 Added QOS debug category
7514 2006-03-13 Wim Taymans <wim@fluendo.com>
7516 * docs/gst/gstreamer-sections.txt:
7517 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7519 * gst/gstbus.c: (gst_bus_class_init):
7522 * gst/gstelement.c: (gst_element_set_locked_state):
7524 Documentation updates.
7526 * gst/gstpipeline.c: (gst_pipeline_get_type),
7527 (gst_pipeline_class_init), (gst_pipeline_init),
7528 (gst_pipeline_dispose), (gst_pipeline_set_property),
7529 (gst_pipeline_get_property), (do_pipeline_seek),
7530 (gst_pipeline_send_event), (gst_pipeline_change_state),
7531 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7532 (gst_pipeline_get_delay):
7533 * gst/gstpipeline.h:
7534 Added methods for setting the delay.
7535 API: gst_pipeline_set_delay()
7536 API: gst_pipeline_get_delay()
7537 Add pipeline debug category
7540 Don't reset stream time when seek failed.
7542 2006-03-13 Wim Taymans <wim@fluendo.com>
7544 * docs/design/draft-klass.txt:
7545 * docs/design/part-clocks.txt:
7546 * docs/design/part-events.txt:
7547 * docs/design/part-gstbin.txt:
7548 * docs/design/part-gstpipeline.txt:
7549 * docs/design/part-messages.txt:
7550 * docs/design/part-negotiation.txt:
7551 * docs/design/part-overview.txt:
7552 * docs/design/part-preroll.txt:
7553 * docs/design/part-seeking.txt:
7554 * docs/design/part-states.txt:
7555 * docs/design/part-streams.txt:
7556 Documentation updates.
7558 2006-03-12 Julien MOUTTE <julien@moutte.net>
7560 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7561 us to leak strings...
7563 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
7565 * libs/gst/net/gstnettimeprovider.c:
7567 * win32/common/config.h:
7570 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
7572 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7575 Don't check for libgnomeui (leftover from old examples
7576 that aren't built or disted any longer) (#334303).
7578 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
7580 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7581 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7582 Emit RESOURCE_NO_SPACE_LEFT error here as well when
7583 there's no space left on the device.
7585 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
7588 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7589 to cast the input to GstClockTime before comparing with
7590 another GstClockTime value.
7592 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7597 === release 0.10.4 ===
7599 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7602 releasing 0.10.4, "Light"
7604 2006-03-10 Michael Smith <msmith@fluendo.com>
7606 * libs/gst/dataprotocol/dataprotocol.c:
7607 Fix docs for dataprocotol to not get the return types completely
7608 wrong for a few functions.
7610 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7612 * docs/gst/gstreamer-sections.txt:
7613 * gst/gstpipeline.c: (gst_pipeline_class_init),
7614 (gst_pipeline_init), (gst_pipeline_set_property),
7615 (gst_pipeline_get_property), (gst_pipeline_change_state),
7616 (gst_pipeline_set_auto_flush_bus),
7617 (gst_pipeline_get_auto_flush_bus):
7618 * gst/gstpipeline.h:
7619 Add new API: gst_pipeline_set_auto_flush_bus() and
7620 gst_pipeline_get_auto_flush_bus() to disable automatic
7621 flushing of the pipeline's GstBus when going from READY
7622 to NULL state (#332045).
7624 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7626 * docs/gst/gstreamer-sections.txt:
7627 * gst/gsturi.c: (gst_uri_has_protocol):
7629 Add new API: gst_uri_has_protocol() (#333779).
7631 2006-03-09 Wim Taymans <wim@fluendo.com>
7633 * gst/gstclock.c: (gst_clock_entry_new),
7634 (gst_clock_id_compare_func), (gst_clock_id_wait),
7635 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7636 (gst_clock_init), (gst_clock_get_internal_time),
7637 (gst_clock_set_master), (do_linear_regression),
7638 (gst_clock_add_observation), (gst_clock_set_property):
7642 Fix a possible segfault when the window-size is made smaller.
7643 Calculate jitter before performing the clock wait. Ideally
7644 the clock implementation should calculate jitter but we need
7645 API breakage for that.
7647 * gst/gstsystemclock.c: (gst_system_clock_init):
7650 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7651 Remove leftover else
7653 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7654 (gst_systemclock_suite):
7655 Added check to test GST_CLOCK_DIFF.
7657 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7659 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7660 (gst_type_find_helper_get_range):
7661 If we are provided with the size, we should implement
7662 GstTypeFind::get_length, so that typefind functions who
7663 want to can actually peek at the middle of a file.
7665 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
7667 * docs/manual/advanced-dataaccess.xml:
7668 Add some very very basic error checking.
7670 * docs/pwg/appendix-checklist.xml:
7671 Some updates to the list of things to check when writing an element.
7673 2006-03-08 Wim Taymans <wim@fluendo.com>
7675 * docs/design/part-element-transform.txt:
7676 Added some docs about the design of tranform elements.
7678 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7679 (gst_base_src_loop), (gst_base_src_change_state):
7680 Mark buffers with the DISCONT flag.
7682 2006-03-08 Michael Smith <msmith@fluendo.com>
7684 * gst/gstregistry.h:
7685 * gst/gstregistryxml.c: (gst_registry_save),
7686 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7687 (gst_registry_xml_save_pad_template),
7688 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7689 (gst_registry_xml_write_cache):
7690 Rewrite registry-saving to avoid race conditions and check for
7693 2006-03-08 Wim Taymans <wim@fluendo.com>
7695 * libs/gst/base/gstbasetransform.c:
7696 (gst_base_transform_transform_caps),
7697 (gst_base_transform_transform_size),
7698 (gst_base_transform_prepare_output_buffer),
7699 (gst_base_transform_get_unit_size),
7700 (gst_base_transform_buffer_alloc),
7701 (gst_base_transform_handle_buffer),
7702 (gst_base_transform_change_state):
7703 Cleanups, separate normal flow from errors, add sensible
7705 Don't try to renegotiate when allocating an output buffer.
7706 Also copy DISCONT buffer flag when copying a buffer.
7707 Reset the transform after we finish streaming, not during.
7709 2006-03-08 Wim Taymans <wim@fluendo.com>
7711 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7712 Use last buffer timestamp in qos message.
7714 2006-03-07 Wim Taymans <wim@fluendo.com>
7716 Patch by: Christophe Fergeau
7718 * docs/pwg/advanced-tagging.xml:
7719 * docs/pwg/building-pads.xml:
7722 2006-03-07 Wim Taymans <wim@fluendo.com>
7724 * docs/libs/gstreamer-libs-sections.txt:
7725 Added basesink new methods.
7729 Docs updates. Flesh out the QoS docs.
7731 * libs/gst/base/gstadapter.c:
7732 Small doc clarification about ownership and flushing.
7734 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7735 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7736 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7737 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7738 * libs/gst/base/gstbasesink.h:
7740 Added new methods to allow subclass to control max-lateness
7742 Generate very basic QoS events based on last sync observation.
7743 Updated docs, fix typo, added some QoS blurb.
7745 * libs/gst/base/gstbasesrc.c:
7746 Remove obsolete _get_state() calls from docs.
7748 2006-03-07 Wim Taymans <wim@fluendo.com>
7750 * docs/libs/gstreamer-libs-sections.txt:
7751 * libs/gst/base/gstbasetransform.h:
7752 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7753 Fix docs for GstBaseSrc.
7755 2006-03-07 Wim Taymans <wim@fluendo.com>
7757 * docs/gst/gstreamer-sections.txt:
7760 * libs/gst/base/gstbasetransform.h:
7761 Small documentation fixes.
7763 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7766 Document thread-unsafety of gst_value_register_foo_func()
7767 when used at the same time as gst_value_foo() (#322628).
7769 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7771 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7772 (gst_push_src_check_get_range):
7773 Push sources don't support pull mode by default.
7775 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7777 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7778 (gst_base_src_init), (gst_base_src_pad_check_get_range),
7779 (gst_base_src_default_check_get_range):
7780 * libs/gst/base/gstbasesrc.h:
7781 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7782 provide default implementation, and rename
7783 gst_base_src_check_get_range() to
7784 gst_base_src_pad_check_get_range() for clarity.
7786 2006-03-06 Wim Taymans <wim@fluendo.com>
7788 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7789 Make property overridable.
7791 2006-03-06 Wim Taymans <wim@fluendo.com>
7793 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7794 (gst_base_sink_init), (gst_base_sink_set_property),
7795 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7796 * libs/gst/base/gstbasesink.h:
7797 API addition: Make max-lateness a property.
7799 2006-03-06 Wim Taymans <wim@fluendo.com>
7801 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7802 (gst_base_sink_do_sync), (gst_base_sink_render_object):
7803 Don't ever draw a frame that is >10ms late.
7805 2006-03-06 Michael Smith <msmith@fluendo.com>
7807 * gst/gstmessage.c: (_gst_message_copy):
7808 When copying a message, set the parent_refcount of the enclosed
7809 structure to point at the copy, not the original message.
7811 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7813 Patch by: Christophe Fergeau
7816 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7817 usable in c++ code (#333417)
7819 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
7822 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7824 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
7826 * libs/gst/base/gstbasetransform.c:
7827 (gst_base_transform_transform_caps):
7828 Make sure caps are writable before passing them to
7831 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7834 Fix some minor docs errors.
7836 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7838 Patch by: Ross Burton <ross at burtonini dot com>
7840 * gst/gsterror.c: (_gst_resource_errors_init):
7842 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7844 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7847 Add a check and output a g_warning when GStreamer is built
7848 against GLib 2.6 but running against 2.8 or higher, and vice
7849 versa. (Closes: #323542)
7851 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7853 * gst/parse/parse.l:
7854 Commit patch for parse_launch syntax from #331255. Removes
7855 support for quoted strings and mimetypes when writing filtered
7856 caps. See the bug report for more details - I'm pretty sure this
7857 obscure feature is not in use by _anyone_ anywhere.
7859 With this simple change, the size of the gstreamer.so here
7860 drops from 2193KB to 1565KB.
7862 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7864 * plugins/elements/gsttypefindelement.h:
7865 * plugins/elements/gsttypefindelement.c:
7866 (gst_type_find_element_src_event), (start_typefinding),
7867 (stop_typefinding), (gst_type_find_element_handle_event),
7868 (gst_type_find_element_chain),
7869 (gst_type_find_element_chain_do_typefinding):
7870 Use gst_type_find_helper_for_buffer() for chain-based
7873 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7875 * plugins/elements/gsttypefindelement.c:
7876 (gst_type_find_element_class_init),
7877 (gst_type_find_element_set_property),
7878 (gst_type_find_element_get_property):
7879 Deprecate "maximum" property (not only was it only taken into
7880 account for typefinding in push-mode anyway, it also was never
7881 actually possible to set it in the first place because the
7882 property was registered with the numeric property ID for the
7883 "minimum" property). Register "maximum" property correctly,
7884 for the sake of future copy'n'pasters. Remove some cruft
7885 from property get/set functions.
7887 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7889 * plugins/elements/gsttypefindelement.c:
7890 (gst_type_find_element_activate):
7891 Use gst_type_find_helper_get_range() here, so we
7892 can honour the "minimum" property and also emit
7893 the signal with the correct probability of the found caps.
7895 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
7897 * docs/libs/gstreamer-libs-sections.txt:
7898 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7899 (helper_find_suggest), (gst_type_find_helper_get_range),
7900 (gst_type_find_helper):
7901 * libs/gst/base/gsttypefindhelper.h:
7902 New API: gst_type_find_helper_get_range() (#333042).
7904 2006-03-02 Michael Smith <msmith@fluendo.com>
7906 * gst/gstregistryxml.c: (load_feature):
7907 Asserting on a failure to read part of the registry is Not Cool.
7908 Just log a warning and return NULL (which is already handled)
7910 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
7912 * win32/common/libgstbase.def:
7913 added export of gst_type_find_helper_for_buffer
7914 * win32/common/libgstbase.def:
7915 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7916 gst_ghost_pad_get_target
7918 2006-02-28 Wim Taymans <wim@fluendo.com>
7920 * docs/design/draft-klass.txt:
7922 Added Connector to mark elements that are only used to
7923 allow pipeline connections.
7924 Moved Debug to extra feature since most of them are
7925 functionally something else.
7927 2006-02-28 Wim Taymans <wim@fluendo.com>
7929 * docs/design/draft-klass.txt:
7930 Some updates and clarifications.
7932 2006-02-28 Wim Taymans <wim@fluendo.com>
7934 * docs/design/draft-klass.txt:
7935 Proposal for klass field values.
7937 * docs/design/part-streams.txt:
7938 Start of a doc describing stream anatomy.
7940 2006-02-28 Wim Taymans <wim@fluendo.com>
7942 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
7943 Help the compiler a bit with type registration.
7944 Use existing forward cod path instead of duplicating it when
7947 * gst/gstbus.c: (gst_bus_get_type):
7948 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
7949 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
7950 * gst/gstclock.c: (gst_clock_get_type):
7951 * gst/gstelement.c: (gst_element_get_type),
7952 * gst/gstelementfactory.c: (gst_element_factory_get_type):
7953 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7954 * gst/gstminiobject.c: (gst_mini_object_get_type):
7955 * gst/gstpad.c: (gst_pad_get_type):
7956 * gst/gstsegment.c: (gst_segment_get_type):
7957 * gst/gststructure.c: (gst_structure_get_type):
7958 * gst/gstsystemclock.c: (gst_system_clock_get_type):
7959 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
7961 Help compiler with type registration.
7963 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7966 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7968 * plugins/elements/gsttypefindelement.c:
7969 (gst_type_find_element_handle_event):
7970 When we get an EOS event and have not found a type yet
7971 (most likely because we had not yet accumulated
7972 TYPE_FIND_MIN_SIZE of data yet), try to determine the
7973 type given the data we have so far. Fixes typefinding
7974 for very short streams again, most notably quicktime
7975 redirections as used on Apple's trailer site (#331701).
7977 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7979 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
7980 (gst_type_find_helper):
7981 Try typefinding factories with the highest rank first.
7983 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7985 * docs/libs/gstreamer-libs-docs.sgml:
7986 * docs/libs/gstreamer-libs-sections.txt:
7987 * libs/gst/base/gsttypefindhelper.c:
7988 Add section for typefind helper and add documentation
7989 for the old and the new function.
7991 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7993 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
7994 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
7995 (gst_type_find_helper_for_buffer):
7996 * libs/gst/base/gsttypefindhelper.h:
7997 New API: gst_type_find_helper_for_buffer() (#332723).
7999 2006-02-27 Michael Smith <msmith@fluendo.com>
8001 Patch by: Loïc Minier
8005 * docs/slides/Makefile.am:
8006 prevent CVS directories getting disted.
8008 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8010 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
8011 Use the REFCOUNTING category for caps refcounting.
8013 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
8015 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8016 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
8018 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
8020 * plugins/elements/gsttypefindelement.c:
8021 (gst_type_find_element_activate):
8022 Use gst_pad_check_pull_range() before _activate_pull()
8023 to avoid unnecessary open/close (see #331690).
8025 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
8028 Docs enhancement: make it crystal clear what the
8029 gst_pad_add_*_probe() callbacks should look like.
8031 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
8033 * libs/gst/base/gstbasesrc.c:
8034 Document how applications can stop recording from
8035 live sources (see #330996).
8037 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8039 * tests/check/Makefile.am:
8040 * tests/check/libs/basesrc.c: (eos_event_counter),
8041 (basesrc_eos_events_pull), (basesrc_eos_events_push),
8042 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
8043 (gst_basesrc_suite), (main):
8044 ... and add some tests for the base source EOS stuff.
8046 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8048 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
8049 Test case originally showed the problem fixed below,
8050 but was then amended. Add checks back at the place
8051 where they used to be.
8053 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8055 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8056 (gst_base_src_init), (gst_base_src_loop),
8057 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8058 (gst_base_src_change_state):
8059 * libs/gst/base/gstbasesrc.h:
8060 Don't unconditionally send EOS when going from PAUSED to
8061 READY state, esp. make sure we don't send two EOS events
8062 in some cases (e.g. one when reaching EOS and one when
8063 going from PAUSED to READY). Also, we don't want to send
8064 EOS events when operating in pull mode. However, we do
8065 want to send an EOS event when shutting down a live
8066 source explicitly, for example (fixes #330996).
8068 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8070 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8071 Update src->read_position after a seek when not using mmap.
8072 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
8074 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
8080 Make things work with --disable-parse as they do with
8081 --disable-load-save - the symbols involved disappear, but the
8082 header is still installed and GST_DISABLE_PARSE is included via
8085 2006-02-20 Julien MOUTTE <julien@moutte.net>
8087 * libs/gst/base/gstbasetransform.c:
8088 (gst_base_transform_change_state): Fix a stupid bug. I was
8089 sure I compiled that.
8091 2006-02-20 Julien MOUTTE <julien@moutte.net>
8093 * gst/gstpad.c: (gst_pad_set_blocked_async):
8094 * gst/gstutils.c: (gst_pad_add_data_probe),
8095 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8096 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8097 (gst_pad_remove_buffer_probe): Make those function act on the
8098 ghostpad target when it's a ghostpad. (Closes #331727)
8100 2006-02-20 Julien MOUTTE <julien@moutte.net>
8102 * libs/gst/base/gstbasetransform.c:
8103 (gst_base_transform_change_state): Make basetransform reusable.
8106 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
8108 * docs/random/release:
8109 Move the current documentation of how to do a release to the top
8112 * gst/gstbin.c: (gst_bin_class_init),
8113 (gst_bin_handle_message_func):
8114 Allow multiple state-recalculation threads. (Closes #328873)
8116 2006-02-19 Julien MOUTTE <julien@moutte.net>
8118 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8119 * gst/gstpad.c: (gst_pad_set_event_function),
8120 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8121 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8122 2 strings. You can't use the STR_NULL macro on that.
8124 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
8126 * gst/gstpad.c: (gst_pad_set_event_function),
8127 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8128 (gst_pad_set_getcaps_function)
8129 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8130 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8131 So now, we can use --gst-debug-level=5 on Windows
8132 * win32/common/libgstcontroller.def:
8133 Added export of gst_controller_init
8134 * win32/vs6/libgstcontroller.dsp:
8135 Fixed Release post build configuration
8137 2006-02-17 Wim Taymans <wim@fluendo.com>
8139 * tests/check/gst/gstquery.c: (GST_START_TEST):
8140 Added another check.
8142 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
8144 * plugins/elements/gsttypefindelement.c: (find_peek):
8145 We can do peeks at non-zero offsets, as long as they
8146 fall within the buffer we have.
8148 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
8150 * tests/check/Makefile.am:
8151 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8152 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8153 (parse_suite), (main):
8154 Add testsuite for parse launch syntax
8156 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
8158 * plugins/elements/gsttypefindelement.c:
8159 (gst_type_find_element_chain):
8160 When typefinding is unsuccessful in the chain function, don't
8161 error out immediately. Only error out with NO_CAPS_FOUND if
8162 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8163 otherwise simply wait for more data so we can try typefinding
8164 again with more data later. Also, don't attempt to typefind
8165 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8166 this should improve typefinding from network sources where the
8167 size of the first buffer can be somewhat random.
8169 2006-02-14 Wim Taymans <wim@fluendo.com>
8171 * docs/gst/gstreamer-sections.txt:
8172 * gst/gstpadtemplate.c:
8173 * gst/gstpadtemplate.h:
8174 Fix padtemplate docs, fixes #328805.
8176 2006-02-14 Wim Taymans <wim@fluendo.com>
8178 * tools/gst-launch.c: (main):
8179 NO_PREROLL is not an ERROR so don't send confusing messages
8182 2006-02-14 Wim Taymans <wim@fluendo.com>
8184 Patch by: Torsten Schoenfeld
8186 * gst/gstregistry.c: (gst_registry_get_default),
8187 (_gst_registry_cleanup):
8188 Protect default registry with lock and ref/sink it.
8191 2006-02-14 Wim Taymans <wim@fluendo.com>
8194 * gst/gstquery.c: (gst_query_list_add_format),
8195 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8196 (gst_query_parse_formats_nth):
8197 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8200 2006-02-14 Wim Taymans <wim@fluendo.com>
8202 * docs/gst/gstreamer-sections.txt:
8203 Reworked query docs.
8205 * gst/gstquery.c: (gst_query_new_formats),
8206 (gst_query_list_add_format), (gst_query_set_formats),
8207 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8208 (gst_query_parse_formats_nth):
8210 Flesh out formats query, added some new methods.
8211 Fix part of #324398.
8213 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8214 Added query creation tests.
8216 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
8218 * gst/gstpad.c: (fixate_value):
8219 Add a default fixation for fraction lists.
8221 2006-02-13 Wim Taymans <wim@fluendo.com>
8223 * gst/gsttask.c: (gst_task_init), (gst_task_func),
8224 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8227 Detect and warn for obvious deadlocks. fixes #320340
8228 Fix error case where lock was not released.
8230 * tests/check/Makefile.am:
8231 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8232 (task_func), (gst_element_suite), (main):
8235 2006-02-13 Wim Taymans <wim@fluendo.com>
8237 * docs/gst/gstreamer-sections.txt:
8239 Add new functions to docs.
8241 2006-02-13 Wim Taymans <wim@fluendo.com>
8243 * docs/design/part-TODO.txt:
8244 Updated TODO list, basesrc supports seeking to non-bytes
8247 * docs/design/part-element-sink.txt:
8250 * gst/gstbin.c: (bin_replace_message),
8251 (gst_bin_handle_message_func):
8252 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8253 * gst/gstevent.c: (gst_event_finalize):
8254 * gst/gstpad.c: (gst_pad_event_default_dispatch),
8255 (gst_pad_send_event):
8256 Use shiny new _TYPE_NAME macros.
8258 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8259 Move debug statement up.
8261 * gst/gstelement.c: (gst_element_set_locked_state):
8264 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
8266 * docs/gst/gstreamer-sections.txt:
8269 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8270 macros (#330906). Also, document the already existing
8271 GST_QUERY_TYPE macro.
8273 2006-02-13 Wim Taymans <wim@fluendo.com>
8275 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8276 (event_probe), (GST_START_TEST):
8277 Only events up to the pipeline EOS are counted, there are
8278 some more when going to NULL currently which we don't care
8281 2006-02-13 Wim Taymans <wim@fluendo.com>
8283 * gst/gstpad.c: (gst_pad_send_event):
8284 Correctly check flushing and emit probes. fixes #330125
8286 2006-02-10 Andy Wingo <wingo@pobox.com>
8288 * gst/gstbus.c (gst_bus_class_init): Declare our private data
8290 (gst_bus_init): Cache the location of the private data in the
8292 (gst_bus_enable_sync_message_emission)
8293 (gst_bus_disable_sync_message_emission): Implement new public
8295 (gst_bus_post): Emit the sync-message signal if the user asked for
8298 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8299 location of the bus-private structure.
8300 (gst_bus_enable_sync_message_emission)
8301 (gst_bus_disable_sync_message_emission): API addition
8303 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
8305 Patch by: Vincent Torri
8307 * docs/pwg/building-boiler.xml:
8308 PWG patch from #326800
8310 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
8314 * docs/design/Makefile.am:
8317 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8322 === release 0.10.3 ===
8324 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8327 releasing 0.10.3, "Like a virgin"
8329 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8332 2nd prerelease of 0.10.3
8333 Bump libtool versioning.
8335 2006-02-07 Andy Wingo <wingo@pobox.com>
8337 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8338 update last_stop if we're in TIME format and the timestamp is
8341 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
8342 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
8343 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8344 If we get a new newsegment with a different format, adapt
8347 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8348 of 0. Not a problem, really.
8350 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8353 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
8358 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
8361 project files updated to the default vs7 configuration
8362 * win32/common/libgstbase.def:
8363 * win32/common/libgstreamer.def:
8365 removed empty lines,
8366 sorted all exported symbols alphabetically
8367 * win32/common/dirent.c:
8368 * win32/common/dirent.h:
8369 * win32/common/gchar.h:
8370 use windows line end.
8372 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8374 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8375 Send EOS event when stopping.
8377 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8380 Tell folks what to do if the plugin-foobar.xml file
8381 hasn't been generated for a newly-added plugin.
8383 2006-02-05 Julien MOUTTE <julien@moutte.net>
8385 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8386 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8387 (gst_collect_pads_start), (gst_collect_pads_stop),
8388 (gst_collect_pads_event): Collectpads now holds a reference
8389 to the GstPad that was added. Indeed we don't want to look
8390 at pads that might just go away with no warning...
8392 2006-02-05 Julien MOUTTE <julien@moutte.net>
8394 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8395 (gst_collect_pads_start), (gst_collect_pads_stop),
8396 (gst_collect_pads_event), (gst_collect_pads_chain):
8397 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8398 Mark Nauwelaerts's patch on bug #328491.
8400 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8402 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8404 Add some simple tests for gst_parse_bin_from_description() and
8405 gst_bin_find_unconnected_pad() (#329069).
8407 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8409 * tools/gst-launch.c: (event_loop), (main):
8410 Catch errors during preroll (#320084).
8412 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
8414 * plugins/elements/gsttypefindelement.c:
8415 (gst_type_find_element_activate):
8416 Post TYPE_NOT_FOUND error message when typefinding
8417 is unsuccessful in the activate function as well.
8419 2006-02-02 Wim Taymans <wim@fluendo.com>
8421 * docs/design/part-element-sink.txt:
8424 2006-02-02 Wim Taymans <wim@fluendo.com>
8426 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8427 (gst_base_sink_render_object),
8428 (gst_base_sink_queue_object_unlocked):
8429 Only keep track of prerollable items when we are
8431 Before rendering after preroll, always check if we
8433 Added some more debugging.
8435 2006-02-02 Wim Taymans <wim@fluendo.com>
8437 * gst/gstelement.c: (gst_element_continue_state),
8438 (gst_element_set_state_func), (gst_element_change_state):
8439 Fixed #326576, been running this for quite some time with
8440 no regressions at all.
8442 2006-02-02 Wim Taymans <wim@fluendo.com>
8445 Added more suppressions
8447 2006-02-02 Wim Taymans <wim@fluendo.com>
8449 * docs/design/part-element-sink.txt:
8452 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8453 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8454 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8455 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8456 (gst_base_sink_do_sync), (gst_base_sink_render_object),
8457 (gst_base_sink_preroll_object),
8458 (gst_base_sink_queue_object_unlocked),
8459 (gst_base_sink_queue_object), (gst_base_sink_event),
8460 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8461 (gst_base_sink_loop), (gst_base_sink_activate_pull),
8462 (gst_base_sink_get_position), (gst_base_sink_change_state):
8463 * libs/gst/base/gstbasesink.h:
8464 Totally refactored matching the design doc.
8465 Use two segments, one to clip incomming buffers and another to
8467 Handle queueing correctly, bypass the queue when playing.
8468 Make EOS cancelable.
8469 Handle errors correctly when operating in pull based mode.
8471 * tests/check/elements/fakesink.c: (GST_START_TEST),
8473 Added new check for sinks.
8475 2006-02-02 Wim Taymans <wim@fluendo.com>
8477 * gst/gstsegment.c: (gst_segment_clip):
8478 No reason to refuse to clip when start == -1
8480 2006-02-02 Stefan Kost <ensonic@users.sf.net>
8483 * docs/manual/intro-basics.xml:
8484 * docs/manual/intro-preface.xml:
8485 * docs/manual/manual.xml:
8486 * docs/pwg/advanced-dparams.xml:
8487 * docs/pwg/intro-basics.xml:
8488 * docs/pwg/intro-preface.xml:
8490 describe dparams (controller) for plugins
8491 unify docs a little more
8493 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
8495 * docs/gst/gstreamer-sections.txt:
8496 * gst/gstutils.c: (element_find_unconnected_pad),
8497 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8499 Add new API: gst_parse_bin_from_description() and
8500 gst_bin_find_unconnected_pad() (#329069).
8502 2006-02-01 Stefan Kost <ensonic@users.sf.net>
8504 * docs/manual/README:
8505 uncover a nasty detail of the docs build
8507 2006-01-31 Wim Taymans <wim@fluendo.com>
8509 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8510 Don't cache duration messages if we're not going to use or
8513 2006-01-31 Stefan Kost <ensonic@users.sf.net>
8515 * docs/manual/advanced-dparams.xml:
8516 * docs/pwg/advanced-dparams.xml:
8520 * libs/gst/controller/lib.c: (gst_controller_init):
8523 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
8525 * gst/gstelement.c: (gst_element_message_full):
8526 also show file/line/func if no additional debug was given
8528 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
8530 * win32/vs7/grammar.vcproj:
8531 activate copy of autogenerated files for Release mode
8533 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8535 * win32/common/libgstreamer.def:
8536 export gst_value_compare
8538 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
8540 * plugins/elements/Makefile.am:
8541 * plugins/elements/gstelements.c:
8542 * plugins/elements/gstfdsink.c: (_do_init),
8543 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8544 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8545 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8546 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8547 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8548 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8549 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8550 * plugins/elements/gstfdsink.h:
8551 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8553 2006-01-30 Stefan Kost <ensonic@users.sf.net>
8555 * docs/manual/advanced-dparams.xml:
8557 * docs/manual/advanced-position.xml:
8558 * docs/manual/basics-init.xml:
8559 * docs/manual/manual.xml:
8560 * docs/manual/titlepage.xml:
8562 * docs/pwg/titlepage.xml:
8563 cleanup xml (more to come)
8564 * libs/gst/controller/gstcontroller.c:
8567 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8569 * win32/vs6/grammar.dsp:
8570 add autogen of gstmarshal.c,h for Release mode
8572 2006-01-30 Wim Taymans <wim@fluendo.com>
8574 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8575 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8576 (gst_base_sink_handle_object), (gst_base_sink_event),
8577 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8578 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8579 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8580 (gst_base_sink_deactivate), (gst_base_sink_activate),
8581 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8582 (gst_base_sink_query), (gst_base_sink_change_state):
8583 Basesink cleanups, remove some old code.
8584 Handle the case where a subclass can preroll in the render
8585 method (mostly audiosinks).
8587 Remove some locks around variables that are now protected
8588 with the PREROLL_LOCK (clock_id, flushing, ..).
8589 Optimize position query some more, do correct locking.
8590 Remove old code to push queue in state change, this is not
8591 needed anymore since preroll blocks on all prerollable items
8593 Almost implemented as described in design doc.
8595 2006-01-30 Wim Taymans <wim@fluendo.com>
8597 * tests/check/gst/gstbin.c: (GST_START_TEST):
8598 Wait for refcount to settle down before checking.
8600 2006-01-30 Wim Taymans <wim@fluendo.com>
8602 * docs/design/part-element-sink.txt:
8603 Pseudo code overview of desired sink behaviour regarding
8606 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8607 * win32/vs6/grammar.dsp:
8608 fix some bugs in Release mode for autogenerated files
8610 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8611 * win32/common/libgstbase.def:
8612 * win32/common/libgstreamer.def:
8613 export some new symbols: gst_base_src_set_format,
8614 gst_iterator_next, gst_structure_set_valist
8616 2006-01-29 Julien MOUTTE <julien@moutte.net>
8618 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8619 Set pad functions unconditionally. Fixes #329105.
8621 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8623 add vs8 project files created by Sergey Scobich
8625 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
8627 * gst/gstutils.c: (gst_element_unlink_pads):
8628 Don't leak pad references.
8630 * tests/check/elements/fakesink.c: (GST_START_TEST):
8631 * tests/check/generic/sinks.c: (GST_START_TEST):
8632 * tests/check/generic/states.c: (GST_START_TEST):
8633 * tests/check/gst/gstbin.c: (GST_START_TEST):
8634 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8635 * tests/check/gst/gstelement.c: (GST_START_TEST):
8636 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8637 * tests/check/gst/gstiterator.c: (GST_START_TEST):
8638 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8639 Fix a bunch of leaks. Make generic/sinks.c
8640 use a bit less cpu by slowing the buffer rate
8641 between fakesrc and fakesink.
8643 2006-01-27 Stefan Kost <ensonic@users.sf.net>
8645 * gst/gstelement.c: (gst_element_send_event):
8648 * gst/gstiterator.c:
8649 * gst/gstiterator.h:
8650 * gst/gstpad.c: (gst_pad_send_event):
8651 * gst/gststructure.c:
8655 * libs/gst/base/gstadapter.c:
8656 doc fixes, to link to function, just write gst_cool_function(), don't
8659 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8661 * plugins/elements/gsttee.c: (gst_tee_do_push),
8662 (gst_tee_handle_buffer):
8663 Always prefer an actual return value from a src
8664 pad in place of NOT_LINKED. This means we return
8665 WRONG_STATE when all src pads are WRONG_STATE
8666 instead of NOT_LINKED.
8668 Lock when replacing the last message to prevent
8669 racing with the get_property method.
8673 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8675 * tests/check/Makefile.am:
8676 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8678 Add a very simple check that should have caught the memleak I fixed
8679 last night (if not for the slice allocator hiding it)
8681 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8683 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8684 (gst_bin_remove_func), (gst_bin_handle_message_func),
8685 (bin_query_duration_fold), (bin_query_generic_fold):
8686 Clean up references to the clock provider when disposed or when
8687 handling a clock-lost message from it.
8689 Unref sinks when performing a query via gst_iterator_fold, as the
8690 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8692 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8693 (gst_clock_set_master):
8694 Drop our reference to the master clock, if any, when we are disposed.
8696 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8697 Chain up in dispose.
8699 2006-01-26 Wim Taymans <wim@fluendo.com>
8701 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8704 2006-01-26 Julien MOUTTE <julien@moutte.net>
8706 * plugins/elements/gsttee.c: (gst_tee_do_push),
8707 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8708 handles pad being NOT_LINKED or in WRONG_STATE.
8710 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8715 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8718 remove obsolete entry
8720 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8722 * docs/gst/gstreamer-sections.txt:
8723 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8724 (gst_bin_iterate_sources), (gst_bin_send_event):
8726 * gst/gstelement.c: (gst_element_send_event):
8728 * gst/gstpad.c: (gst_pad_send_event):
8729 added code for downstream events, reviewed docs in gstevent.c
8731 2006-01-25 Julien MOUTTE <julien@moutte.net>
8733 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8734 We only query position using the clock in the playing state.
8735 Query peer in the other cases.
8736 * win32/common/config.h: Updates.
8738 2006-01-24 Wim Taymans <wim@fluendo.com>
8740 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8741 A clock entry that is scheduled for the exact time of the
8742 clock is still in time.
8744 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8745 (gst_base_sink_do_sync):
8746 Add some more debug info.
8748 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8751 Add new vs7 project files and solution.
8753 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8756 all files removed as they were out-dated.
8758 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8760 * docs/random/release:
8762 * gst/gstbin.c: (gst_bin_init):
8763 * gst/gstbus.c: (gst_bus_new):
8765 * gst/gstpipeline.c: (gst_pipeline_init):
8766 use gst_bus_new(), improve logging, fix docs
8767 * win32/common/config.h:
8768 update for cvs build
8770 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8773 up required version of automake to 1.7
8775 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
8777 * win32/common/libgstreamer.def:
8778 export gst_buffer_is_metadata_writable
8780 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
8782 * docs/gst/gstreamer-sections.txt:
8784 Add gst_event_replace() (#327001)
8786 2006-01-20 Wim Taymans <wim@fluendo.com>
8788 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8789 Make it actually compile too..
8791 2006-01-20 Wim Taymans <wim@fluendo.com>
8794 Clarify behaviour of _is_equal() when passing NULL parameters.
8796 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8798 Cleanups. Don't unref NULL caps.
8799 When setting the same caps, protect caps of the pad with
8801 Use full functionality of _is_equal() when comparing caps.
8803 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8805 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8806 Don't loop infinitely if there are no buffers to present. Partially
8807 fixes #327197, but collectpads is just broken for reusing elements
8808 to do multiple encodes atm.
8810 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8812 * tools/gst-inspect.c: (print_element_features):
8813 * tools/gst-xmlinspect.c: (main):
8814 URL_HANDLER is not a plugin feature we can search for in
8817 2006-01-19 Edward Hervey <edward@fluendo.com>
8819 * gst/gstelement.c: (gst_element_pads_activate):
8820 When activating, do src pads first, then sink pads.
8821 When de-activating, do sink pads first, then src pads.
8823 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8825 * docs/gst/gstreamer-sections.txt:
8826 Add gst_index_add_associationv to the docs
8828 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8833 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8834 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8835 Do some refactoring. Doesn't actually change functionality,
8836 but makes landing the DRAIN event easier later.
8838 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
8840 * docs/pwg/advanced-scheduling.xml:
8841 Update from 0.9.x to 0.10 API and make example a bit
8844 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8846 * docs/gst/gstreamer-sections.txt:
8847 Add gst_buffer_(is|make)_metadata_writable methods.
8849 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8851 * docs/design/part-sparsestreams.txt:
8852 Update sparse streams doc, hopefully for greater clarity
8854 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
8856 * docs/design/part-events.txt:
8857 Remove mention of FILLER events.
8860 * docs/design/part-sparsestreams.txt:
8861 Write some things about using NEWSEGMENT to keep sparse streams
8864 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8866 * gst/gstbin.c: (gst_bin_dispose):
8867 Guard gst_object_unref call against a NULL object (dispose
8868 can theoretically be called multiple times).
8870 2006-01-18 Wim Taymans <wim@fluendo.com>
8872 * gst/gstbin.c: (gst_bin_element_set_state):
8873 * gst/gstclock.c: (gst_clock_id_wait):
8874 Added some more debug info.
8876 * libs/gst/base/gstadapter.c:
8879 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8880 (gst_base_sink_do_sync), (gst_base_sink_chain):
8881 Added some comments.
8883 2006-01-18 Wim Taymans <wim@fluendo.com>
8885 * tests/check/Makefile.am:
8886 * tests/check/elements/fakesink.c: (chain_async_buffer),
8887 (chain_async), (chain_async_return), (GST_START_TEST),
8888 (fakesink_suite), (main):
8889 Added fakesink test that checks prerolling and clipping
8892 * tests/check/gst/gstutils.c: (GST_START_TEST):
8893 Make check run faster so that buildbots don't timeout.
8895 2006-01-18 Wim Taymans <wim@fluendo.com>
8897 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8898 (gst_base_sink_do_sync):
8900 When the sink finishes blocking on the preroll buffer, it can
8901 immediatly render it instead of rendering when the next buffer
8904 2006-01-18 Wim Taymans <wim@fluendo.com>
8906 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8907 (gst_base_sink_get_property), (gst_base_sink_do_sync),
8908 (gst_base_sink_chain):
8910 GST_ELEMENT_CLOCK and sync are protected with LOCK.
8911 Don't store _last_stop if the buffer is dropped.
8913 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8915 * plugins/elements/gsttypefindelement.c:
8916 (gst_type_find_element_class_init):
8917 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8918 object method handler that sets the caps on the pad and we want
8919 that to happen before we emit the signal (fixes e.g. feeding a
8920 plain text file to decodebin).
8922 2006-01-18 Christian Schaller <Christian@fluendo.com>
8924 * gst/gstplugin.c: Add MPL and Proprietary as license options
8926 2006-01-18 Andy Wingo <wingo@pobox.com>
8928 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8929 symbol was exported before, it appears this was just an oversight.
8931 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
8933 * gst/gstindex.c (gst_index_add_associationv): Changed int in
8934 prototype to gint. OK since this prototype was not in the header.
8936 2006-01-17 Andy Wingo <wingo@pobox.com>
8938 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
8939 registry while we remove plugins.
8941 * tools/gst-inspect.c (print_element_info): Don't unref the
8942 factory arg, that should be the responsibility of whatever code
8943 received the ref. Fixes a double-free when called from
8944 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
8945 (main): Unref the factory if we have one.
8946 (print_element_list): No change -- relies on the
8947 plugin_feature_list_free to free the list of features.
8949 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
8951 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8952 (gst_buffer_make_metadata_writable):
8954 * libs/gst/base/gstbasetransform.c:
8955 (gst_base_transform_prepare_output_buf):
8956 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8957 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8958 Replace gst_buffer_(make|is)_metadata_writable patch now
8959 that the release is out.
8961 2006-01-17 Andy Wingo <wingo@pobox.com>
8963 * gst/gstregistry.c: Reflow design comment. Update so as to speak
8964 in the present tense without reference to versions.
8966 * gst/gstregistry.c (gst_registry_add_plugin)
8967 (gst_registry_remove_plugin, gst_registry_remove_feature)
8968 (gst_registry_find_feature, gst_registry_get_feature_list)
8969 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
8970 (gst_registry_lookup, gst_registry_scan_path)
8971 (_gst_registry_remove_cache_plugins)
8972 (gst_registry_get_feature_list_by_plugin): Add argument
8975 === release 0.10.2 ===
8977 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
8980 releasing 0.10.2, "If man is five"
8982 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8986 * libs/gst/base/gstbasetransform.c:
8987 (gst_base_transform_prepare_output_buf):
8988 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8989 * tests/check/gst/gstbuffer.c: (gst_test_suite):
8990 Back out patch until after the release.
8992 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8994 * gst/gstminiobject.c:
8995 Spelling fix in docs.
8996 * ChangeLog - remove conflict indicator
8998 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9000 Reviewed By: Andy Wingo
9002 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9003 (gst_buffer_make_metadata_writable):
9005 Add gst_buffer_(is|make)_metadata_writable as analogues of
9006 gst_buffer_(is|make)_writable.
9008 * libs/gst/base/gstbasetransform.c:
9009 (gst_base_transform_prepare_output_buf):
9010 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9011 Use name gst_buffer_(is|make)_metadata_writable functions.
9013 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9014 Test gst_buffer_(is|make)_metadata_writable
9018 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
9020 * docs/manual/Makefile.am:
9021 don't do parallel make
9024 * win32/common/config.h.in:
9025 add generations for HOST_CPU and GST_MAJORMINOR
9026 * win32/common/config.h:
9027 commit generated result
9029 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
9031 * docs/manual/appendix-integration.xml:
9032 Update GNOME integration section to use gst_init_get_option_group()
9033 instead of the old popt stuff (#322911). Also, GNOME applications
9034 should now use gconf*sink and gconf*src instead of the old gconf
9037 2006-01-13 Stefan Kost <ensonic@users.sf.net>
9040 * docs/gst/gstreamer-docs.sgml:
9041 * docs/gst/gstreamer-sections.txt:
9042 * docs/libs/gstreamer-libs-sections.txt:
9043 add new API entries to the docs
9044 * libs/gst/controller/Makefile.am:
9045 * libs/gst/controller/gstcontroller.c:
9046 * libs/gst/controller/gstcontroller.h:
9047 * libs/gst/controller/gstcontrollerprivate.h:
9048 * libs/gst/controller/gsthelper.c:
9049 * libs/gst/controller/gstinterpolation.c:
9050 move private structs to private header
9052 gstreamer-0.7 -> gstreamer-0.10
9053 * tests/check/libs/struct_i386.h:
9054 remove private structs
9056 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
9058 * plugins/indexers/Makefile.am:
9059 Fixes as part of #317048
9061 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
9063 * plugins/indexers/Makefile.am:
9064 fix #316086 - compilation when mmap is missing
9066 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
9068 * libs/gst/base/gstbasesink.c:
9069 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
9070 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
9071 * win32/common/config.h:
9072 added some defines GST_MAJORMINOR and HOST_CPU
9073 * win32/common/libgstbase.def:
9074 * win32/common/libgstreamer.def:
9075 added some exported functions.
9077 2006-01-12 Stefan Kost <ensonic@users.sf.net>
9079 * libs/gst/controller/gstcontroller.c:
9080 (gst_controlled_property_set_interpolation_mode),
9081 (gst_controlled_property_new):
9082 * libs/gst/controller/gstcontroller.h:
9083 * libs/gst/controller/gstinterpolation.c:
9084 (interpolate_none_get_string_value_array):
9085 make G_TYPE_STRING controlable
9087 2006-01-12 Stefan Kost <ensonic@users.sf.net>
9090 * tools/gst-feedback.1.in:
9091 * tools/gst-inspect.1.in:
9092 * tools/gst-launch.1.in:
9093 * tools/gst-md5sum.1.in:
9094 * tools/gst-typefind.1.in:
9095 * tools/gst-xmlinspect.1.in:
9096 * tools/gst-xmllaunch.1.in:
9097 cleanup man-pages, remove reference to gst-register, document env-vars
9099 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
9101 * gst/gstbuffer.c: (gst_buffer_span):
9102 gst_buffer_span should copy the timestamp of the first buffer
9103 if they were both originally overlapping subbuffers of the
9104 same parent, using the same logic as the 'slow copy' case.
9106 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
9108 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9109 Need to awaken ALL the pads when we pop a buffer, otherwise
9110 collectpads only works when there is 2 input streams.
9112 2006-01-11 Stefan Kost <ensonic@users.sf.net>
9114 * docs/random/ensonic/media-device-daemon.txt:
9117 fix doc example, add clarification
9118 * tools/gst-launch.1.in:
9119 add initial info about GST_PLUGIN_PATH, needs more work
9121 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
9123 * docs/manual/basics-bins.xml:
9124 * docs/manual/basics-elements.xml:
9125 * docs/manual/intro-basics.xml:
9126 Some more minor docs additions and updates.
9128 2006-01-11 Wim Taymans <wim@fluendo.com>
9130 * docs/manual/basics-bins.xml:
9131 * docs/manual/basics-elements.xml:
9132 Some small fixes as pointed out by Ser-ver on IRC.
9134 2006-01-10 Edward Hervey <edward@fluendo.com>
9136 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9137 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9138 the single-segment mode.
9140 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
9142 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9144 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9145 (gst_base_src_perform_seek), (gst_base_src_send_event),
9146 (gst_base_src_set_property), (gst_base_src_get_property),
9147 (gst_base_src_loop), (gst_base_src_start),
9148 (gst_base_src_activate_push):
9149 * libs/gst/base/gstbasesrc.h:
9150 Name (private) union; makes Sun's Forte compiler happy (#324900).
9152 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
9155 gst-register is gone.
9157 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
9159 * gst/gstvalue.c: (_gst_value_initialize):
9160 make the G_TYPE_DATE instantiation work if debug is disabled
9162 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
9164 * gst/gstmessage.c: (gst_message_parse_tag),
9165 (gst_message_parse_error), (gst_message_parse_warning):
9166 Don't crash when return location for error/warning debug
9167 string is NULL; add fact that return locations can be
9168 NULL to docs where appropriate.
9170 2006-01-05 Wim Taymans <wim@fluendo.com>
9172 * gst/gstplugin.c: (gst_plugin_load_file):
9173 Replace strdup by g_strdup.
9175 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9177 * docs/pwg/advanced-types.xml:
9180 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9182 submitted by: Abel Cheung
9186 Added Chinese (traditional) translation
9188 2006-01-04 Wim Taymans <wim@fluendo.com>
9190 * docs/manual/basics-pads.xml:
9191 * docs/plugins/Makefile.am:
9192 * docs/plugins/gstreamer-plugins-docs.sgml:
9193 * docs/plugins/gstreamer-plugins-sections.txt:
9194 * docs/pwg/advanced-clock.xml:
9195 * docs/pwg/advanced-scheduling.xml:
9196 * docs/pwg/advanced-types.xml:
9197 * plugins/elements/gstfdsink.c:
9198 * plugins/elements/gstfdsrc.c:
9199 * plugins/elements/gstfdsrc.h:
9200 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9201 * plugins/elements/gstidentity.h:
9202 * plugins/elements/gstqueue.h:
9203 * plugins/elements/gsttee.c:
9204 * plugins/elements/gsttee.h:
9205 * plugins/elements/gsttypefindelement.c:
9206 (gst_type_find_element_class_init):
9207 * plugins/elements/gsttypefindelement.h:
9208 Small updates to various docs.
9209 Added core plugins to docs.
9211 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9214 add a suppression for liboil's uninitialized variable
9216 2006-01-02 James Livingston <jrl at ids dot org dot au>
9218 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9221 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9222 macro, so that gcc doesn't complain if the -Wmissing-prototypes
9223 compiler switch is being used (#325429).
9225 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
9227 * gst/gstbin.c: (gst_bin_query):
9228 Disable duration query caching in bins until it gets
9229 fixed (see #324807).
9231 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9233 * tools/gst-inspect.c: (print_element_properties_info):
9234 Handle properties of POINTER and BOXED type.
9236 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9238 * gst/gst.c: (init_post):
9239 Init tags stuff and some other things before loading
9240 any static plugins (there may be other static plugins
9241 than just the GStreamer ones, and they may want to
9242 register their own tags or formats or whatever, and
9243 preferably without segfaulting).
9245 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9246 Print at least a warning in the debug logs if we drop a
9247 query just because we don't know how to adjust the value
9248 in the particular format.
9250 2005-12-24 David Schleef <ds@schleef.org>
9252 * tools/gstreamer-completion:
9253 Replacement for gst-complete written in sh and sed. Only
9254 completes names of features, but that's 90% of what I want
9255 it for. Properties are not available in registry.xml. (Maybe
9258 === release 0.10.1 ===
9260 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
9263 releasing 0.10.1, "Nollaig chridheil"
9265 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
9268 Add missing quote, should be make ERROR_CFLAGS="".
9270 2005-12-20 Wim Taymans <wim@fluendo.com>
9272 * docs/design/part-trickmodes.txt:
9273 More documentation on trickmodes.
9275 2005-12-20 Edward Hervey <edward@fluendo.com>
9277 * gst/gstcaps.c: (gst_static_caps_get_type):
9279 API addition: GST_TYPE_STATIC_CAPS
9280 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9281 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9282 * gst/gstpadtemplate.h:
9283 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9284 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9287 2005-12-18 Wim Taymans <wim@fluendo.com>
9289 * libs/gst/base/gstadapter.c:
9290 * libs/gst/base/gstadapter.h:
9291 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9292 (gst_base_sink_get_position):
9293 * libs/gst/base/gstbasesink.h:
9294 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9295 (gst_base_src_default_query), (gst_base_src_default_do_seek),
9296 (gst_base_src_do_seek), (gst_base_src_perform_seek),
9297 (gst_base_src_send_event), (gst_base_src_update_length),
9298 (gst_base_src_get_range), (gst_base_src_loop),
9299 (gst_base_src_start):
9300 * libs/gst/base/gstbasesrc.h:
9301 * libs/gst/base/gstbasetransform.h:
9302 * libs/gst/base/gstcollectpads.h:
9303 * libs/gst/base/gstpushsrc.c:
9304 * libs/gst/base/gstpushsrc.h:
9305 * libs/gst/dataprotocol/dataprotocol.c:
9306 * libs/gst/dataprotocol/dataprotocol.h:
9307 * libs/gst/net/gstnetclientclock.h:
9308 * libs/gst/net/gstnettimeprovider.h:
9309 Documentation updates.
9311 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
9313 * docs/manual/basics-helloworld.xml:
9314 Remove superfluous closing bracket in helloworld example.
9316 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
9318 * tools/gst-launch.1.in:
9319 Update gst-launch man page; add a section with useful
9320 environment variables. Fixes #323882.
9322 2005-12-16 Stefan Kost <ensonic@users.sf.net>
9325 * gst/gst_private.h:
9326 change some char* into char[]
9328 2005-12-16 Wim Taymans <wim@fluendo.com>
9330 * gst/gstregistryxml.c: (load_feature):
9332 Don't use g_object_unref on GstObjects so that we avoid
9333 leaks on unsafe glibs.
9335 2005-12-16 Wim Taymans <wim@fluendo.com>
9337 * gst/gstbin.c: (gst_bin_recalc_state):
9340 2005-12-16 Wim Taymans <wim@fluendo.com>
9343 Added make forever target for check.
9345 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
9347 * gst/gst.c: (init_post):
9348 make the registry cache file HOST_CPU-dependent
9350 2005-12-16 Andy Wingo <wingo@pobox.com>
9352 * plugins/elements/gstbufferstore.c
9353 (gst_buffer_store_cleared_func): Pay attention to g_list_append
9356 * tests/check/gst/gstobject.c
9357 (test_fake_object_name_threaded_unique): Pay attention to
9358 g_list_sort return value.
9360 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
9362 * tools/gst-feedback-m.m:
9363 Update for 0.9/0.10 (fixes #323870).
9365 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
9367 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9368 Fix lcopy for mini objects, the mini object needs to be ref'ed.
9370 * tests/check/gst/gstminiobject.c: (my_foo_init),
9371 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9372 (test_value_collection), (gst_mini_object_suite):
9373 Add test to ensure refcounts end up as expected when passing
9374 GstMiniObjects through g_object_get() and g_object_set().
9376 2005-12-14 Julien MOUTTE <julien@moutte.net>
9378 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9379 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9380 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9381 of collectpads. This version removes a lot of races without
9382 touching API/ABI. Yay !
9384 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
9386 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9387 Don't allow activation of a srcpad in pull_range if it has no
9389 Change some debug statements to be a little clearer
9391 * plugins/elements/gsttypefindelement.c:
9392 (gst_type_find_handle_src_query):
9393 Check that we have a peer before executing queries thereupon.
9395 * tests/examples/metadata/read-metadata.c: (message_loop):
9396 Use gst_bus_pop instead of gst_bus_poll when we just want it to
9397 immediately return us any available message with 0 timeout.
9399 2005-12-12 Michael Smith <msmith@fluendo.com>
9401 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9402 Don't unref factories after calling them.
9403 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9404 * plugins/elements/gsttypefindelement.c:
9405 (gst_type_find_element_chain):
9406 Free lists of factories after using them. Fixing typefinding memory
9409 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9411 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9412 (gst_plugin_feature_load):
9413 more meaningful debug output
9415 * tests/Makefile.am:
9416 * tests/old/examples/Makefile.am:
9417 make make distcheck happy again
9419 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9421 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9422 Catch the special case where we are operating chain-based,
9423 but the downstream peer pad has no chain function. Emit a
9424 custom error message in this case instead of letting the
9425 core generate one implying that this is some sort of core
9426 bug. It's not, it just means that whatever got plugged
9427 into the pipeline downstream when we announced the type
9428 can only operate pull-based, while our source can only
9429 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9430 Error string has not been marked for translation yet, as
9431 it probably needs some more work first.
9433 (gst_type_find_element_get_best_possibility):
9434 Add helper function to find the best of all available
9435 found possibilities that qualify given the min. threshold.
9437 (gst_type_find_element_handle_event):
9438 Fix the case where we get an EOS while still in TYPEFIND
9439 mode (we want to chose the best of all possible types,
9440 not just the first type that happens to be in our unsorted
9441 list of possible types).
9443 (gst_type_find_element_chain):
9444 Make sure we return GST_FLOW_ERROR when we errored out
9445 in stop_typefinding(); also, don't just find the best of
9446 all found type entries and then use the last examined
9447 type entry, but actually use the best entry.
9449 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9451 * tests/examples/typefind/typefind.c: (type_found):
9452 * tests/examples/xml/runxml.c: (xml_loaded):
9453 More gcc4 fixes and a mem leak fix.
9455 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9457 * tests/examples/xml/createxml.c: (object_saved):
9460 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9462 * tests/Makefile.am:
9463 enable the examples even more
9465 2005-12-12 Andy Wingo <wingo@pobox.com>
9467 * libs/gst/net/gstnettimeprovider.c
9468 (gst_net_time_provider_class_init, gst_net_time_provider_init)
9469 (gst_net_time_provider_set_property)
9470 (gst_net_time_provider_get_property):
9471 API addition: Export "active" as a GObject property.
9472 (gst_net_time_provider_thread): Only respond to time queries if
9473 the time provider is active.
9475 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9476 NetTimeProvider, preserving binary compat.
9478 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9480 * tests/examples/controller/audio-example.c: (main):
9481 * tests/examples/launch/Makefile.am:
9482 convert comments again
9484 2005-12-12 Wim Taymans <wim@fluendo.com>
9486 * libs/gst/base/gstpushsrc.c:
9489 2005-12-12 Wim Taymans <wim@fluendo.com>
9491 * docs/libs/gstreamer-libs-sections.txt:
9492 Added new symbol to docs.
9494 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9495 (gst_base_src_init), (gst_base_src_set_format),
9496 (gst_base_src_default_query), (gst_base_src_query),
9497 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9498 (gst_base_src_perform_seek), (gst_base_src_send_event),
9499 (gst_base_src_default_event), (gst_base_src_event_handler),
9500 (gst_base_src_set_property), (gst_base_src_get_property),
9501 (gst_base_src_wait), (gst_base_src_do_sync),
9502 (gst_base_src_update_length), (gst_base_src_get_range),
9503 (gst_base_src_check_get_range), (gst_base_src_loop),
9504 (gst_base_src_default_negotiate), (gst_base_src_start),
9505 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9506 (gst_base_src_change_state):
9507 * libs/gst/base/gstbasesrc.h:
9508 Implement seeking to other formats than _BYTES.
9509 Implement more seeking methods correctly.
9511 Added query vmethod.
9512 Added do_seek vmethod to make life easier for subclasses
9514 API addition: gst_base_src_set_format()
9516 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9518 * tests/examples/Makefile.am:
9521 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9524 * docs/random/ensonic/media-device-daemon.txt:
9525 * tests/examples/controller/.cvsignore:
9526 * tests/examples/controller/Makefile.am:
9527 * tests/examples/controller/audio-example.c: (main):
9528 * tests/examples/helloworld/.cvsignore:
9529 * tests/examples/helloworld/Makefile.am:
9530 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9531 * tests/examples/launch/.cvsignore:
9532 * tests/examples/launch/Makefile.am:
9533 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9534 * tests/examples/metadata/.cvsignore:
9535 * tests/examples/metadata/Makefile.am:
9536 * tests/examples/metadata/read-metadata.c: (message_loop),
9537 (make_pipeline), (print_tag), (main):
9538 * tests/examples/queue/.cvsignore:
9539 * tests/examples/queue/Makefile.am:
9540 * tests/examples/queue/queue.c: (event_loop), (main):
9541 * tests/examples/typefind/.cvsignore:
9542 * tests/examples/typefind/Makefile.am:
9543 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9545 * tests/examples/xml/.cvsignore:
9546 * tests/examples/xml/Makefile.am:
9547 * tests/examples/xml/createxml.c: (object_saved), (main):
9548 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9549 * tests/old/examples/Makefile.am:
9550 * tests/old/examples/TODO:
9551 * tests/old/examples/controller/.cvsignore:
9552 * tests/old/examples/controller/Makefile.am:
9553 * tests/old/examples/controller/audio-example.c:
9554 * tests/old/examples/helloworld/.cvsignore:
9555 * tests/old/examples/helloworld/Makefile.am:
9556 * tests/old/examples/helloworld/helloworld.c:
9557 * tests/old/examples/launch/.cvsignore:
9558 * tests/old/examples/launch/Makefile.am:
9559 * tests/old/examples/launch/mp3parselaunch.c:
9560 * tests/old/examples/launch/mp3play:
9561 * tests/old/examples/manual/Makefile.am:
9562 * tests/old/examples/metadata/Makefile.am:
9563 * tests/old/examples/metadata/read-metadata.c:
9564 * tests/old/examples/queue/.cvsignore:
9565 * tests/old/examples/queue/Makefile.am:
9566 * tests/old/examples/queue/queue.c:
9567 * tests/old/examples/typefind/.cvsignore:
9568 * tests/old/examples/typefind/Makefile.am:
9569 * tests/old/examples/typefind/typefind.c:
9570 * tests/old/examples/xml/.cvsignore:
9571 * tests/old/examples/xml/Makefile.am:
9572 * tests/old/examples/xml/createxml.c:
9573 * tests/old/examples/xml/runxml.c:
9574 applied some simple fixing to some examples
9575 re-enabled the working examples
9577 2005-12-12 Wim Taymans <wim@fluendo.com>
9579 * gst/gstsegment.c: (gst_segment_init),
9580 (gst_segment_set_last_stop), (gst_segment_set_seek),
9581 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9582 (gst_segment_to_running_time):
9583 Added more documentation.
9584 Make sure the last_pos value is updated properly.
9585 Make sure to_stream_time and to_running_time don't
9586 operate on wrong values.
9588 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9591 2005-12-12 Michael Smith <msmith@fluendo.com>
9593 * plugins/elements/gsttypefindelement.c: (free_entry),
9594 (gst_type_find_element_chain):
9595 Now that we're not leaking factories, make sure we keep references
9596 to them while we need them.
9598 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9600 * tests/check/gst/struct_i386.h:
9601 ifdef out the XML structs
9603 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9605 * gst/gstvalue.c: (gst_value_transform_double_fraction):
9606 floor is not needed, F is always positive; this obviates the
9607 need for adding -lm when building without libxml
9609 2005-12-12 Wim Taymans <wim@fluendo.com>
9611 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9612 Take current playback rate into account when reporting
9615 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9617 * docs/manual/mime-world.fig:
9618 Let's try this again, this time with a file that is
9619 actually in XFig format.
9621 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9623 * docs/manual/mime-world.fig:
9624 Add audioconvert element to diagram so that it
9625 matches the text and the code (fixes #319526).
9627 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9629 * docs/pwg/building-chainfn.xml:
9630 * docs/pwg/building-pads.xml:
9631 * docs/pwg/building-state.xml:
9632 * docs/pwg/other-source.xml:
9633 Update state change stuff for 0.10 (fixes #322969).
9635 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9637 * docs/manual/advanced-dataaccess.xml:
9638 * docs/manual/appendix-checklist.xml:
9639 * docs/manual/appendix-programs.xml:
9640 * docs/manual/basics-pads.xml:
9641 * docs/manual/highlevel-components.xml:
9642 * docs/manual/manual.xml:
9643 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9644 add converters in front of pipelines; remove curly
9645 brackets for threads stuff, they no longer exist; use
9646 GST_TYPE_FRACTION for framerates; update some pieces of
9647 code to 0.10, but there's plenty more to do.
9649 * docs/manual/appendix-porting.xml:
9650 Expand on asynchroneous state changes; s/0.9/0.10/;
9651 mention disappearance of gst_init_get_popt_table()
9654 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9656 * docs/faq/using.xml:
9657 Spider no longer exists, and neither does gst-launch-ext.
9658 Update examples to use decodebin and playbin and put
9659 converters in front of sinks (fixes #323726).
9661 2005-12-09 Michael Smith <msmith@fluendo.com>
9663 * plugins/elements/gsttypefindelement.c: (find_peek),
9664 (gst_type_find_element_chain):
9665 Fix leaking element factories in typefinding.
9666 Fix problem where we forgot about a probable type on non-seekable
9667 files, and thus later mis-typefound it.
9669 2005-12-09 Michael Smith <msmith@fluendo.com>
9671 * common/m4/gst-makecontext.m4:
9672 * common/m4/gst-mcsc.m4:
9674 * win32/common/config.h:
9675 * win32/common/config.h.in:
9676 Remove makecontext stuff; not used in 0.10 and causes problems on
9677 HPUX according to bug #322441
9679 2005-12-07 Wim Taymans <wim@fluendo.com>
9681 * tests/check/Makefile.am:
9682 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9684 * tests/check/libs/struct_i386.h:
9685 Added ABI check for libs
9687 2005-12-07 Wim Taymans <wim@fluendo.com>
9689 * tests/check/Makefile.am:
9690 And add the struct_i386.h to dist.
9692 2005-12-07 Wim Taymans <wim@fluendo.com>
9694 * tests/check/Makefile.am:
9695 * tests/check/gst/.cvsignore:
9696 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9698 * tests/check/gst/struct_i386.h:
9699 Added check for ABI compatibility.
9701 2005-12-07 Wim Taymans <wim@fluendo.com>
9703 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9704 (gst_fake_src_get_times), (gst_fake_src_create):
9705 Fix broken sync option, fixes #323259
9707 2005-12-07 Wim Taymans <wim@fluendo.com>
9712 * gst/gstcaps.c: (gst_caps_is_equal):
9713 Don't assert on NULL <--> X. Fixes #323260
9715 * gst/gstminiobject.c: (gst_mini_object_replace):
9716 If we're doing atomic operations, we might just as well use
9717 the proper way to get an atomic pointer.
9719 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9722 2005-12-07 Michael Smith <msmith@fluendo.com>
9724 * gst/parse/grammar.y:
9725 Remove handling of { } for threads.
9727 2005-12-06 David Schleef <ds@schleef.org>
9729 * libs/gst/base/gstbasetransform.c: speling fix.
9731 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
9733 * docs/libs/tmpl/gstdataprotocol.sgml:
9734 * docs/random/omega/testing/gstobject.c:
9738 * gst/gstelementfactory.c:
9741 * gst/gstghostpad.c:
9743 * gst/gstpadtemplate.c:
9744 * gst/gstregistryxml.c:
9746 * gst/gsttagsetter.c:
9747 * gst/gsttypefind.c:
9749 * libs/gst/base/gstbasesrc.c:
9750 * libs/gst/net/gstnetclientclock.c:
9751 * libs/gst/net/gstnettimeprovider.c:
9752 * plugins/elements/gstfakesrc.c:
9753 * plugins/elements/gstfdsrc.c:
9754 * plugins/elements/gstfilesrc.c:
9755 * plugins/elements/gstidentity.c:
9756 * plugins/elements/gstqueue.c:
9757 * plugins/elements/gsttypefindelement.c:
9758 * plugins/indexers/gstfileindex.c:
9759 * plugins/indexers/gstmemindex.c:
9760 * tests/check/gst/gsttag.c:
9761 * tests/old/examples/cutter/cutter.c:
9762 * tests/old/examples/mixer/mixer.c:
9763 * tests/old/examples/xml/runxml.c: (main):
9764 * tests/old/testsuite/caps/normalisation.c:
9765 * tests/old/testsuite/debug/global.c:
9766 * tests/old/testsuite/parse/parse1.c:
9767 * tools/gst-xmlinspect.c:
9768 * win32/common/dirent.c:
9771 === release 0.10.0 ===
9773 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9776 releasing 0.10.0, "Maroilles"
9778 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9780 submitted by: Funda Wang <fundawang@linux.net.cn>
9784 added Chinese (Traditional) translation
9786 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9788 * docs/gst/gstreamer-sections.txt:
9789 * docs/libs/tmpl/gstdataprotocol.sgml:
9790 * docs/random/thomasvs/TODO:
9795 2005-12-05 Andy Wingo <wingo@pobox.com>
9797 patch by: Wim Taymans <wim@fluendo.com>
9799 * libs/gst/base/gstbasetransform.c
9800 (gst_base_transform_prepare_output_buf)
9801 (gst_base_transform_buffer_alloc):
9802 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9803 alloc_buffer_and_set_caps.
9805 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9806 set_caps on the source pad.
9807 (gst_pad_alloc_buffer_and_set_caps): New function, does what
9808 alloc_buffer used to do. Fixes #322874.
9810 * docs/gst/gstreamer-sections.txt:
9811 * docs/design/part-negotiation.txt:
9812 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9815 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9817 patch by: Sebastien Moutte
9820 * win32/common/config.h.in:
9821 * win32/vs6/libgstcontroller.dsp:
9824 2005-12-05 Wim Taymans <wim@fluendo.com>
9826 * gst/gstcaps.c: (gst_caps_is_equal):
9827 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9828 (gst_fake_src_create):
9829 Back out previous code changes, leave doc updates, file bugs
9832 2005-12-05 Wim Taymans <wim@fluendo.com>
9834 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9835 (gst_fake_src_get_times), (gst_fake_src_create):
9836 * plugins/elements/gstfakesrc.h:
9837 Fix broken sync code.
9839 2005-12-05 Wim Taymans <wim@fluendo.com>
9841 * gst/gstcaps.c: (gst_caps_is_equal):
9842 Comparing NULL against !NULL yields different caps, not a
9845 2005-12-05 Wim Taymans <wim@fluendo.com>
9847 * gst/gstpipeline.c:
9848 Fix small typo in docs.
9850 2005-12-05 Andy Wingo <wingo@pobox.com>
9852 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
9854 * gst/gst.c (init_post): remove hard-coded 0.9 location for
9855 registries/plugins with a MAJORMINOR one.
9856 (plugin_desc): Rename library from gstcoreleements to
9857 staticelements. Fixes #323222.
9859 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
9861 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9862 Change debug category to 'collectpads' from 'collect_pads'
9865 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9867 patch by: Sebastien Moutte
9869 * libs/gst/controller/gstinterpolation.c:
9870 use convert function for uint64/double
9871 * win32/vs6/libgstcontroller.dsp:
9874 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9876 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9877 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9879 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9880 add tests that seem to show that the guint64/gdouble conversions
9883 2005-12-02 Wim Taymans <wim@fluendo.com>
9885 * gst/gstregistry.c: (gst_registry_add_path):
9886 * gst/gstregistry.h:
9887 * gst/gstregistryxml.c:
9890 2005-12-02 Wim Taymans <wim@fluendo.com>
9892 * gst/gstutils.c: (gst_util_uint64_scale_int64),
9893 (gst_util_uint64_scale_int):
9896 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9899 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9902 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9905 * win32/common/config.h:
9906 * win32/vs6/gstreamer.dsw:
9907 * win32/vs6/libgstcoreelements.dsp:
9908 * win32/vs6/libgstelements.dsp:
9909 renamed core elements plugin
9911 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9913 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9915 do piece-wise major/minor comparison so 0.9 < 0.10
9916 also allow .exe extensions for tools
9918 2005-12-02 Michael Smith <msmith@fluendo.com>
9921 Escape a % to make gtkdoc happier; bug 322958.
9923 === release 0.9.7 ===
9925 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9928 releasing 0.9.7, "My Dog Has No Nose"
9930 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9932 * common/gst-xmlinspect.py:
9934 * docs/libs/tmpl/gstdataprotocol.sgml:
9935 * docs/random/release:
9954 * win32/common/config.h:
9955 * win32/common/config.h.in:
9956 * win32/vs6/gst_inspect.dsp:
9957 * win32/vs6/gst_launch.dsp:
9958 * win32/vs6/libgstbase.dsp:
9959 * win32/vs6/libgstelements.dsp:
9960 * win32/vs6/libgstreamer.dsp:
9961 * win32/vs7/GStreamer.vcproj:
9962 * win32/vs7/gst-inspect.vcproj:
9963 * win32/vs7/gst-launch.vcproj:
9964 * win32/vs7/libgstbase.vcproj:
9965 bump GST_MAJORMINOR to 0.10
9966 reset libtool version
9968 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9972 Added Bulgarian translation by (Alexander Shopov)
9974 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9976 * tests/check/gst/gstplugin.c:
9979 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9981 * common/gst-xmlinspect.py:
9982 * common/gtk-doc-plugins.mak:
9985 * docs/gst/Makefile.am:
9986 * docs/gst/gstreamer-docs.sgml:
9987 * docs/gst/gstreamer-sections.txt:
9988 * docs/gst/gstreamer.types:
9989 * docs/gst/gstreamer.types.in:
9990 * docs/plugins/Makefile.am:
9991 * docs/plugins/gstreamer-plugins-docs.sgml:
9992 * docs/plugins/gstreamer-plugins-sections.txt:
9993 * docs/plugins/gstreamer-plugins.types:
9994 * docs/plugins/inspect.stamp:
9995 * docs/plugins/inspect/plugin-coreelements.xml:
9996 * docs/plugins/inspect/plugin-coreindexers.xml:
9997 * docs/plugins/scanobj-build.stamp:
9998 * gstreamer.spec.in:
9999 * plugins/elements/Makefile.am:
10000 * plugins/elements/gstelements.c:
10001 * plugins/elements/gstfakesink.c:
10002 * plugins/elements/gstfakesrc.c:
10003 * plugins/elements/gstfilesink.c:
10004 * plugins/elements/gstfilesrc.c:
10005 * plugins/elements/gstqueue.c:
10006 * plugins/indexers/Makefile.am:
10007 * plugins/indexers/gstindexers.c:
10008 document core plugins in a separate document just like all the
10010 rename these plugins to something starting with core
10012 2005-12-01 Andy Wingo <wingo@pobox.com>
10014 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
10015 padding here before, but it missed the commit.
10017 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10019 * libs/gst/controller/gstinterpolation.c:
10020 whitespace prices have crashed, we should feel free to use some now
10021 use gst_guint64_to_gdouble
10023 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10025 * libs/gst/controller/gstcontroller.c:
10026 * libs/gst/controller/gsthelper.c:
10027 * libs/gst/controller/gstinterpolation.c:
10028 * libs/gst/controller/lib.c:
10029 wrap config.h include
10031 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10033 * docs/gst/gstreamer-sections.txt:
10036 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10038 * plugins/elements/gstelements.c:
10039 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
10040 (gst_fd_sink__class_init), (gst_fd_sink__init),
10041 (gst_fd_sink__chain), (gst_fd_sink__set_property),
10042 (gst_fd_sink__get_property):
10043 * plugins/elements/gstfdsink.h:
10044 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
10045 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
10046 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
10047 (gst_fd_src_unlock), (gst_fd_src_set_property),
10048 (gst_fd_src_get_property), (gst_fd_src_create),
10049 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
10050 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
10051 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
10052 (gst_fd_src_uri_handler_init):
10053 * plugins/elements/gstfdsrc.h:
10054 * plugins/elements/gstqueue.c: (gst_queue_get_type):
10057 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10059 * docs/gst/Makefile.am:
10060 * docs/gst/gstreamer.types.in:
10064 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10070 * gst/gstregistry.h:
10071 * tests/benchmarks/complexity.c:
10072 * tests/benchmarks/mass-elements.c:
10073 * tests/check/Makefile.am:
10074 * tools/Makefile.am:
10075 * tools/gst-inspect.c:
10076 * tools/gst-xmlinspect.c:
10077 various fixes to make
10078 --disable-nls --disable-registry --disable-loadsave
10079 --disable-parse --disable-gst-debug
10080 work and get the core .so down to 360444 bytes after stripping
10082 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10087 * docs/random/thomasvs/TODO:
10088 * tests/Makefile.am:
10092 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10094 * win32/GStreamer.vcproj:
10097 * win32/Makefile.inspect:
10098 * win32/Makefile.launch:
10099 * win32/Makefile.register:
10100 * win32/README.txt:
10101 * win32/gst-inspect.vcproj:
10102 * win32/gst-launch.vcproj:
10103 * win32/gst-register.vcproj:
10104 * win32/gstelements.vcproj:
10105 * win32/gstgetbits.def:
10106 * win32/gstgetbits.vcproj:
10107 * win32/gstreamer-dbg.def:
10108 * win32/gstreamer.def:
10109 * win32/libgstbase.def:
10110 * win32/libgstbase.vcproj:
10111 * win32/link_oldruntime.c:
10115 * win32/msvc71.sln:
10116 move even more stuff, win32/ is nice and clean now
10118 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10120 * libs/gst/control/.cvsignore:
10125 * win32/gstbytestream.def:
10126 * win32/gstbytestream.vcproj:
10127 * win32/gstconfig.h:
10128 * win32/gstenumtypes.c:
10129 * win32/gstenumtypes.h:
10130 * win32/gstoptimalscheduler.vcproj:
10131 * win32/gstversion.h:
10133 * win32/testsuite/bins.vcproj:
10134 * win32/testsuite/bytestream.vcproj:
10135 * win32/testsuite/caps.vcproj:
10136 * win32/testsuite/cleanup.vcproj:
10137 * win32/testsuite/clock.vcproj:
10138 * win32/testsuite/debug.vcproj:
10139 * win32/testsuite/dlopen.vcproj:
10140 * win32/testsuite/dynparams.vcproj:
10141 * win32/testsuite/elements.vcproj:
10142 * win32/testsuite/ghostpads.vcproj:
10143 * win32/testsuite/indexers.vcproj:
10144 * win32/testsuite/negotiation.vcproj:
10145 * win32/testsuite/parse.vcproj:
10146 * win32/testsuite/plugin.vcproj:
10147 * win32/testsuite/refcounting.vcproj:
10148 * win32/testsuite/schedulers.vcproj:
10149 * win32/testsuite/states.vcproj:
10150 * win32/testsuite/tags.vcproj:
10151 * win32/testsuite/threads.vcproj:
10152 remove old win32 stuff that isn't maintained and should be
10155 2005-11-30 Andy Wingo <wingo@pobox.com>
10157 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10158 loading the gst.interfaces python module bork.
10160 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10161 available since GLib 2.2. Fixes #318031.
10163 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10166 * check/.cvsignore:
10167 * check/Makefile.am:
10168 * check/elements/.cvsignore:
10169 * check/elements/fakesrc.c:
10170 * check/elements/fdsrc.c:
10171 * check/elements/identity.c:
10172 * check/generic/.cvsignore:
10173 * check/generic/states.c:
10174 * check/gst-libs/.cvsignore:
10175 * check/gst-libs/controller.c:
10176 * check/gst-libs/gdp.c:
10177 * check/gst/.cvsignore:
10178 * check/gst/capslist.h:
10180 * check/gst/gstbin.c:
10181 * check/gst/gstbuffer.c:
10182 * check/gst/gstbus.c:
10183 * check/gst/gstcaps.c:
10184 * check/gst/gstelement.c:
10185 * check/gst/gstevent.c:
10186 * check/gst/gstghostpad.c:
10187 * check/gst/gstiterator.c:
10188 * check/gst/gstmessage.c:
10189 * check/gst/gstminiobject.c:
10190 * check/gst/gstobject.c:
10191 * check/gst/gstpad.c:
10192 * check/gst/gstpipeline.c:
10193 * check/gst/gstplugin.c:
10194 * check/gst/gstsegment.c:
10195 * check/gst/gststructure.c:
10196 * check/gst/gstsystemclock.c:
10197 * check/gst/gsttag.c:
10198 * check/gst/gstutils.c:
10199 * check/gst/gstvalue.c:
10200 * check/net/.cvsignore:
10201 * check/net/gstnetclientclock.c:
10202 * check/net/gstnettimeprovider.c:
10203 * check/pipelines/.cvsignore:
10204 * check/pipelines/cleanup.c:
10205 * check/pipelines/simple_launch_lines.c:
10206 * check/pipelines/stress.c:
10207 * check/states/.cvsignore:
10208 * check/states/sinks.c:
10210 * examples/Makefile.am:
10211 * examples/appreader/.cvsignore:
10212 * examples/appreader/Makefile.am:
10213 * examples/appreader/appreader.c:
10214 * examples/controller/.cvsignore:
10215 * examples/controller/Makefile.am:
10216 * examples/controller/audio-example.c:
10217 * examples/cutter/.cvsignore:
10218 * examples/cutter/Makefile.am:
10219 * examples/cutter/cutter.c:
10220 * examples/cutter/cutter.h:
10221 * examples/events/Makefile.am:
10222 * examples/events/seek.c:
10223 * examples/helloworld/.cvsignore:
10224 * examples/helloworld/Makefile.am:
10225 * examples/helloworld/helloworld.c:
10226 * examples/helloworld2/.cvsignore:
10227 * examples/helloworld2/Makefile.am:
10228 * examples/helloworld2/helloworld2.c:
10229 * examples/launch/.cvsignore:
10230 * examples/launch/Makefile.am:
10231 * examples/launch/mp3parselaunch.c:
10232 * examples/launch/mp3play:
10233 * examples/manual/.cvsignore:
10234 * examples/manual/Makefile.am:
10235 * examples/manual/extract.pl:
10236 * examples/metadata/Makefile.am:
10237 * examples/metadata/read-metadata.c:
10238 * examples/mixer/.cvsignore:
10239 * examples/mixer/Makefile.am:
10240 * examples/mixer/mixer.c:
10241 * examples/mixer/mixer.h:
10242 * examples/pingpong/.cvsignore:
10243 * examples/pingpong/Makefile.am:
10244 * examples/pingpong/pingpong.c:
10245 * examples/plugins/.cvsignore:
10246 * examples/plugins/Makefile.am:
10247 * examples/plugins/example.c:
10248 * examples/plugins/example.h:
10249 * examples/pwg/.cvsignore:
10250 * examples/pwg/Makefile.am:
10251 * examples/pwg/extract.pl:
10252 * examples/queue/.cvsignore:
10253 * examples/queue/Makefile.am:
10254 * examples/queue/queue.c:
10255 * examples/queue2/.cvsignore:
10256 * examples/queue2/Makefile.am:
10257 * examples/queue2/queue2.c:
10258 * examples/queue3/.cvsignore:
10259 * examples/queue3/Makefile.am:
10260 * examples/queue3/queue3.c:
10261 * examples/queue4/.cvsignore:
10262 * examples/queue4/Makefile.am:
10263 * examples/queue4/queue4.c:
10264 * examples/retag/.cvsignore:
10265 * examples/retag/Makefile.am:
10266 * examples/retag/retag.c:
10267 * examples/retag/transcode.c:
10268 * examples/thread/.cvsignore:
10269 * examples/thread/Makefile.am:
10270 * examples/thread/thread.c:
10271 * examples/typefind/.cvsignore:
10272 * examples/typefind/Makefile.am:
10273 * examples/typefind/typefind.c:
10274 * examples/xml/.cvsignore:
10275 * examples/xml/Makefile.am:
10276 * examples/xml/createxml.c:
10277 * examples/xml/runxml.c:
10278 * tests/Makefile.am:
10279 * tests/check/Makefile.am:
10280 * testsuite/.cvsignore:
10281 * testsuite/Makefile.am:
10283 * testsuite/caps/.cvsignore:
10284 * testsuite/caps/Makefile.am:
10285 * testsuite/caps/app_fixate.c:
10286 * testsuite/caps/audioscale.c:
10287 * testsuite/caps/caps.c:
10288 * testsuite/caps/caps.h:
10289 * testsuite/caps/caps_strings:
10290 * testsuite/caps/compatibility.c:
10291 * testsuite/caps/deserialize.c:
10292 * testsuite/caps/enumcaps.c:
10293 * testsuite/caps/eratosthenes.c:
10294 * testsuite/caps/filtercaps.c:
10295 * testsuite/caps/fixed.c:
10296 * testsuite/caps/fraction-convert.c:
10297 * testsuite/caps/fraction-multiply-and-zero.c:
10298 * testsuite/caps/intersect2.c:
10299 * testsuite/caps/intersection.c:
10300 * testsuite/caps/normalisation.c:
10301 * testsuite/caps/random.c:
10302 * testsuite/caps/renegotiate.c:
10303 * testsuite/caps/sets.c:
10304 * testsuite/caps/simplify.c:
10305 * testsuite/caps/string-conversions.c:
10306 * testsuite/caps/structure.c:
10307 * testsuite/caps/subtract.c:
10308 * testsuite/caps/union.c:
10309 * testsuite/debug/.cvsignore:
10310 * testsuite/debug/Makefile.am:
10311 * testsuite/debug/category.c:
10312 * testsuite/debug/commandline.c:
10313 * testsuite/debug/global.c:
10314 * testsuite/debug/output.c:
10315 * testsuite/debug/printf_extension.c:
10316 * testsuite/dlopen/.cvsignore:
10317 * testsuite/dlopen/Makefile.am:
10318 * testsuite/dlopen/dlopen_gst.c:
10319 * testsuite/dlopen/loadgst.c:
10320 * testsuite/elements/.cvsignore:
10321 * testsuite/elements/Makefile.am:
10322 * testsuite/elements/gst-inspect-check.in:
10323 * testsuite/elements/struct_i386.h:
10324 * testsuite/elements/struct_size.c:
10325 * testsuite/indexers/.cvsignore:
10326 * testsuite/indexers/Makefile.am:
10327 * testsuite/indexers/cache1.c:
10328 * testsuite/indexers/indexdump.c:
10329 * testsuite/parse/.cvsignore:
10330 * testsuite/parse/Makefile.am:
10331 * testsuite/parse/parse1.c:
10332 * testsuite/parse/parse2.c:
10333 * testsuite/plugin/.cvsignore:
10334 * testsuite/plugin/Makefile.am:
10335 * testsuite/plugin/README:
10336 * testsuite/plugin/dynamic.c:
10337 * testsuite/plugin/linked.c:
10338 * testsuite/plugin/loading.c:
10339 * testsuite/plugin/registry.c:
10340 * testsuite/plugin/static.c:
10341 * testsuite/plugin/static2.c:
10342 * testsuite/plugin/testplugin.c:
10343 * testsuite/plugin/testplugin2.c:
10344 * testsuite/plugin/testplugin2_s.c:
10345 * testsuite/plugin/testplugin_s.c:
10346 * testsuite/refcounting/.cvsignore:
10347 * testsuite/refcounting/Makefile.am:
10348 * testsuite/refcounting/bin.c:
10349 * testsuite/refcounting/element.c:
10350 * testsuite/refcounting/element_pad.c:
10351 * testsuite/refcounting/mainloop.c:
10352 * testsuite/refcounting/mem.c:
10353 * testsuite/refcounting/mem.h:
10354 * testsuite/refcounting/object.c:
10355 * testsuite/refcounting/pad.c:
10356 * testsuite/refcounting/sched.c:
10357 * testsuite/refcounting/thread.c:
10358 * testsuite/states/.cvsignore:
10359 * testsuite/states/Makefile.am:
10360 * testsuite/states/bin.c:
10361 * testsuite/states/locked.c:
10362 * testsuite/states/parent.c:
10363 * testsuite/threads/.cvsignore:
10364 * testsuite/threads/159566.c:
10365 * testsuite/threads/159852.c:
10366 * testsuite/threads/Makefile.am:
10367 * testsuite/threads/queue.c:
10368 * testsuite/threads/signals.c:
10369 * testsuite/threads/staticrec.c:
10370 * testsuite/threads/thread.c:
10371 * testsuite/threads/threadb.c:
10372 * testsuite/threads/threadc.c:
10373 * testsuite/threads/threadd.c:
10374 * testsuite/threads/threade.c:
10375 * testsuite/threads/threadf.c:
10376 * testsuite/threads/threadg.c:
10377 * testsuite/threads/threadh.c:
10378 * testsuite/threads/threadi.c:
10379 move all of these under tests
10381 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10384 * tests/Makefile.am:
10387 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10389 * docs/gst/gstreamer-sections.txt:
10390 * tests/sched/.cvsignore:
10391 * tests/sched/Makefile.am:
10392 * tests/sched/cases/(fs-fs).xml:
10393 * tests/sched/cases/(fs-i-fs).xml:
10394 * tests/sched/cases/(fs-i-i-fs).xml:
10395 * tests/sched/cases/(fs-i-q[i-fs]).xml:
10396 * tests/sched/dynamic-pipeline.c:
10397 * tests/sched/interrupt1.c:
10398 * tests/sched/interrupt2.c:
10399 * tests/sched/interrupt3.c:
10400 * tests/sched/runtestcases:
10401 * tests/sched/runxml.c:
10402 * tests/sched/sched-stress.c:
10403 * tests/sched/sort.c:
10404 * tests/sched/testcases:
10405 * tests/sched/testcases1.tc:
10406 * tests/seeking/.cvsignore:
10407 * tests/seeking/Makefile.am:
10408 * tests/seeking/seeking1.c:
10409 * tests/threadstate/.cvsignore:
10410 * tests/threadstate/Makefile.am:
10411 * tests/threadstate/test1.c:
10412 * tests/threadstate/test2.c:
10413 * tests/threadstate/threadstate1.c:
10414 * tests/threadstate/threadstate2.c:
10415 * tests/threadstate/threadstate3.c:
10416 * tests/threadstate/threadstate4.c:
10417 * tests/threadstate/threadstate5.c:
10418 remove obsolete tests
10420 * tests/bench-complexity.scm:
10421 * tests/bench-mass_elements.scm:
10422 * tests/complexity.c:
10423 * tests/complexity.gnuplot:
10424 * tests/instantiate/.cvsignore:
10425 * tests/instantiate/Makefile.am:
10426 * tests/instantiate/caps.c:
10427 * tests/mass_elements.c:
10428 * tests/network-clock-utils.scm:
10429 * tests/network-clock.scm:
10431 First pass at cleaning up tests/ dir before moving the rest
10432 Combined with CVS surgery
10434 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10437 queue has moved, update
10439 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10441 * docs/gst/gstreamer-sections.txt:
10442 remove double entries from the docs
10443 * gst/gst_private.h:
10444 * gst/gstinfo.c: (_gst_debug_init):
10445 remove the THREAD debug category
10449 * docs/gst/gstreamer.types:
10450 * plugins/elements/gstqueue.c: (gst_queue_get_type),
10451 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10452 completely move queue and fix up debugging categories
10454 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10456 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10457 make initialization portable, using LL is not
10459 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10461 * win32/common/gstconfig.h:
10464 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10466 * win32/common/libgstreamer.def:
10467 rename symbols; sort base section
10469 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10471 * gst/gstclock.c: (do_linear_regression):
10472 remove crack non-portable handrolled DEBUG macro
10474 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10476 * docs/random/release:
10478 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10479 (gst_object_flags_get_type), (register_gst_bin_flags),
10480 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10481 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10482 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10483 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10484 (gst_caps_flags_get_type), (register_gst_clock_return),
10485 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10486 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10487 (gst_clock_flags_get_type), (register_gst_state),
10488 (gst_state_get_type), (register_gst_state_change_return),
10489 (gst_state_change_return_get_type), (register_gst_state_change),
10490 (gst_state_change_get_type), (register_gst_element_flags),
10491 (gst_element_flags_get_type), (register_gst_core_error),
10492 (gst_core_error_get_type), (register_gst_library_error),
10493 (gst_library_error_get_type), (register_gst_resource_error),
10494 (gst_resource_error_get_type), (register_gst_stream_error),
10495 (gst_stream_error_get_type), (register_gst_event_type_flags),
10496 (gst_event_type_flags_get_type), (register_gst_event_type),
10497 (gst_event_type_get_type), (register_gst_seek_type),
10498 (gst_seek_type_get_type), (register_gst_seek_flags),
10499 (gst_seek_flags_get_type), (register_gst_format),
10500 (gst_format_get_type), (register_gst_index_certainty),
10501 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10502 (gst_index_entry_type_get_type),
10503 (register_gst_index_lookup_method),
10504 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10505 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10506 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10507 (gst_index_flags_get_type), (register_gst_debug_level),
10508 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10509 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10510 (gst_iterator_result_get_type), (register_gst_iterator_item),
10511 (gst_iterator_item_get_type), (register_gst_message_type),
10512 (gst_message_type_get_type), (register_gst_mini_object_flags),
10513 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10514 (gst_pad_link_return_get_type), (register_gst_flow_return),
10515 (gst_flow_return_get_type), (register_gst_activate_mode),
10516 (gst_activate_mode_get_type), (register_gst_pad_direction),
10517 (gst_pad_direction_get_type), (register_gst_pad_flags),
10518 (gst_pad_flags_get_type), (register_gst_pad_presence),
10519 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10520 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10521 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10522 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10523 (gst_plugin_flags_get_type), (register_gst_rank),
10524 (gst_rank_get_type), (register_gst_query_type),
10525 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10526 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10527 (gst_tag_flag_get_type), (register_gst_task_state),
10528 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10529 (gst_alloc_trace_flags_get_type),
10530 (register_gst_type_find_probability),
10531 (gst_type_find_probability_get_type), (register_gst_uri_type),
10532 (gst_uri_type_get_type), (register_gst_parse_error),
10533 (gst_parse_error_get_type):
10534 * win32/common/gstenumtypes.h:
10535 * win32/common/gstversion.h:
10536 update visual studio generated files
10538 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10540 * win32/vs6/libgstbase.dsp:
10541 * win32/vs6/libgstelements.dsp:
10542 update project files for new locations
10544 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10549 reinstate and update
10554 * docs/random/LICENSE:
10557 2005-11-30 Edward Hervey <edward@fluendo.com>
10559 * gst/gsttypefind.c: (gst_type_find_register):
10560 * gst/gsttypefind.h:
10561 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10562 (gst_type_find_factory_dispose):
10563 * gst/gsttypefindfactory.h:
10564 Fix memory leak in GstTypeFindFactory.
10566 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10569 * plugins/elements/Makefile.am:
10570 * plugins/elements/gstelements.c:
10571 * plugins/elements/gstqueue.c:
10572 move queue from core to the elements plugin
10574 2005-11-29 Andy Wingo <wingo@pobox.com>
10576 * libs/gst/base/gstbasetransform.h:
10577 * libs/gst/base/gstbasesrc.h:
10578 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10580 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10581 of pointers by which to pad very extensible base classes (like the
10582 ones in libs/gst/base).
10584 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10586 * docs/gst/gstreamer-docs.sgml:
10587 * docs/gst/gstreamer-sections.txt:
10588 * docs/libs/gstreamer-libs-docs.sgml:
10589 * docs/libs/gstreamer-libs-sections.txt:
10590 moving documentation from core to lib
10592 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10594 * check/Makefile.am:
10596 * docs/gst/Makefile.am:
10598 * gst/base/.cvsignore:
10599 * gst/base/Makefile.am:
10601 * gst/base/gstadapter.c:
10602 * gst/base/gstadapter.h:
10603 * gst/base/gstbasesink.c:
10604 * gst/base/gstbasesink.h:
10605 * gst/base/gstbasesrc.c:
10606 * gst/base/gstbasesrc.h:
10607 * gst/base/gstbasetransform.c:
10608 * gst/base/gstbasetransform.h:
10609 * gst/base/gstcollectpads.c:
10610 * gst/base/gstcollectpads.h:
10611 * gst/base/gstpushsrc.c:
10612 * gst/base/gstpushsrc.h:
10613 * gst/base/gsttypefindhelper.c:
10614 * gst/base/gsttypefindhelper.h:
10615 * gst/check/Makefile.am:
10616 * gst/check/gstcheck.c:
10617 * gst/check/gstcheck.h:
10618 * gst/net/Makefile.am:
10619 * gst/net/gstnet.h:
10620 * gst/net/gstnetclientclock.c:
10621 * gst/net/gstnetclientclock.h:
10622 * gst/net/gstnettimepacket.c:
10623 * gst/net/gstnettimepacket.h:
10624 * gst/net/gstnettimeprovider.c:
10625 * gst/net/gstnettimeprovider.h:
10626 * libs/gst/Makefile.am:
10627 * libs/gst/base/Makefile.am:
10628 * libs/gst/base/gstbasetransform.c:
10629 * libs/gst/check/Makefile.am:
10630 * plugins/elements/Makefile.am:
10632 CVS surgery + support to move base, check, and net out of gst
10635 2005-11-29 Andy Wingo <wingo@pobox.com>
10637 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10639 * gst/gststructure.h (struct _GstStructure): Only one pointer of
10642 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10644 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10646 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10648 * gst/gstobject.h: (struct _GstObject): Only one pointer of
10649 padding; reduces object size by about 30%. We don't expect
10650 anything else to go into gstobject.
10652 * gst/gstminiobject.h (struct _GstMiniObject)
10653 (struct _GstMiniObjectClass): Only one pointer of padding; the
10654 payload is only a pointer and two ints anyway. For the class there
10655 are only two methods as well.
10657 * gst/gstelement.h (struct _GstElementClass): Removed
10658 the state_changed signal callback, it is not used.
10660 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10662 * docs/gst/gstreamer.types:
10663 fix includes, though they are a little dinky
10665 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10667 * check/Makefile.am:
10668 look in the right place for elements, a lot more chance of
10671 remove indexers and elements subdirs
10672 * plugins/Makefile.am:
10673 make indexers conditional
10675 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10679 * plugins/elements/Makefile.am:
10680 * plugins/elements/gstcapsfilter.c:
10681 * plugins/elements/gstfilesink.c:
10682 * plugins/elements/gstfilesrc.c:
10683 * plugins/elements/gstidentity.c:
10684 * plugins/indexers/Makefile.am:
10685 do CVS surgery and related build fixery to move elements
10686 and indexers in a new gstreamer/plugins directory, out of the
10689 2005-11-29 Andy Wingo <wingo@pobox.com>
10691 * check/Makefile.am:
10692 * pkgconfig/gstreamer-net-uninstalled.pc.in:
10693 * pkgconfig/gstreamer-net.pc.in:
10694 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10697 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10699 * tools/Makefile.am:
10700 * tools/gst-complete.1.in:
10701 * tools/gst-complete.c:
10702 * tools/gst-compprep.1.in:
10703 * tools/gst-compprep.c:
10704 removing -compprep and -complete
10706 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10708 * gst/gstevent.c: (gst_event_new_new_segment),
10709 (gst_event_parse_new_segment):
10711 fix #320529 - clean up new_segment API and structure.
10712 Let's hope everyone was using the methods, and not the structure.
10714 2005-11-29 Edward Hervey <edward@fluendo.com>
10716 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10717 (gst_base_sink_event), (gst_base_sink_do_sync),
10718 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10719 Properly handle non GST_FORMAT_TIME segment
10720 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10721 Properly handle non GST_FORMAT_TIME segment
10722 * gst/gstsegment.c:
10723 This function is valid if the accumulator is 0 and the format
10724 is different from the requested format.
10726 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10728 * docs/gst/gstreamer-sections.txt:
10729 Add gst_query_new_seeking and gst_query_parse_seeking to the
10732 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10734 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10735 Treat a pad alloc with new caps the same as if we were not
10736 negotiated, in order to allow a changing upstream output
10737 to produce a new format of data.
10739 2005-11-29 Edward Hervey <edward@fluendo.com>
10741 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10742 (gst_base_transform_event), (gst_base_transform_eventfunc):
10743 The event virtual method is now properly implemented, with a default
10745 Sub classes should call the parent_class event method. They should
10746 return FALSE if they had a problem handling the given event, or don't
10747 want GstBaseTransform to send that even downstream
10748 * gst/elements/gstidentity.c: (gst_identity_class_init),
10749 (gst_identity_init), (gst_identity_event),
10750 (gst_identity_transform_ip), (gst_identity_set_property),
10751 (gst_identity_get_property):
10752 * gst/elements/gstidentity.h:
10753 Added the single-segment boolean property.
10754 If set to TRUE, it will output a single segment of data, starting from
10755 0, will eat up all incoming newsegment, and modify the timestamp of the
10756 buffers accordingly
10758 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
10760 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10761 Don't ref NULL target pad (#322751). Improve docs.
10763 2005-11-29 Michael Smith <msmith@fluendo.com>
10765 * gst/gstregistryxml.c: (load_plugin):
10766 Don't crash if we failed to load a feature from a plugin.
10768 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10770 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10772 use more check API and less GLib API
10774 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10777 don't run checks if we don't have check
10778 * common/check.mak:
10779 remove the registry when running make torture
10780 * docs/gst/gstreamer-sections.txt:
10781 remove second multiply
10782 * gst/gstqueue.c: (gst_queue_loop):
10783 fix a compile warning when disabling debug
10785 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10788 Hey! Let's print the pad name if the pointer != NULL instead
10789 of when it == NULL :-)
10791 2005-11-28 Wim Taymans <wim@fluendo.com>
10793 * check/gst/gstutils.c: (GST_START_TEST):
10794 Updated check, add some scaling accuracy checking code.
10796 * gst/gstutils.c: (gst_util_div128_64),
10797 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10798 (gst_util_uint64_scale_int):
10799 Fix 6 times faster division code. Optimize for common
10800 1/1 and less common X/1 cases.
10802 2005-11-28 Wim Taymans <wim@fluendo.com>
10804 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10807 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10808 (do_linear_regression), (gst_clock_add_observation):
10810 Release lock when the clock cannot be slaved.
10811 Catch the case where the regression returned an invalid denominator.
10813 * gst/gstutils.c: (gst_util_div128_64_iterate),
10814 (gst_util_div128_64), (gst_util_uint64_scale_int64),
10815 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10816 Add protentially more performant non-iterative 128/64 divide function
10817 that unfortunatly does not work yet.
10818 Shortcut the trivial 0/X = 0 case.
10819 Remove the warnings on overflow.
10821 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10823 * gst/gstplugin.c: (gst_plugin_register_func):
10824 everything causing a plugin not to load should be at least a WARNING
10826 2005-11-28 Stefan Kost <ensonic@users.sf.net>
10828 * docs/random/ensonic/dparams.txt:
10829 some TODOs for the next dev cycle
10830 * libs/gst/controller/gstcontroller.c:
10831 (gst_controlled_property_set_interpolation_mode),
10832 (gst_controlled_property_new):
10833 * libs/gst/controller/gstcontroller.h:
10834 use base type to assign acccessor functions
10836 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10838 * check/Makefile.am:
10839 Oops, that should have been top_srcdir
10841 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10843 * check/Makefile.am:
10844 * check/elements/fdsrc.c: (GST_START_TEST):
10845 Use a cmdline define to specify the location of a file to use for
10846 testing, to avoid breaking distcheck.
10848 2005-11-28 Andy Wingo <wingo@pobox.com>
10850 * gst/gstpad.c (fixate_value): Use array functions for arrays.
10852 2005-11-28 Edward Hervey <edward@fluendo.com>
10854 * tools/gst-launch.c: (main):
10855 Clarify the output strings, makes it easier to translate.
10858 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10861 don't try and build net if we don't even have <sys/socket.h>
10863 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
10865 * check/Makefile.am:
10866 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10867 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10868 Add tests for fdsrc seekability
10870 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10871 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10872 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10873 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10874 * gst/elements/gstfdsrc.h:
10875 fdsrc should not be a 'live' source.
10876 Implement seeking on seekable fd's.
10878 * gst/gstquery.c: (gst_query_new_seeking),
10879 (gst_query_parse_seeking):
10881 Implement SEEKING query functions:
10882 *_new_seeking and *_parse_seeking
10884 2005-11-27 Stefan Kost <ensonic@users.sf.net>
10886 * gst/gstelement.c: (gst_element_dispose):
10889 * gst/gstiterator.c:
10890 * gst/gststructure.c:
10893 * libs/gst/controller/gstcontroller.c:
10894 (gst_controlled_property_set_interpolation_mode):
10895 * libs/gst/controller/gstcontroller.h:
10896 * libs/gst/controller/gstinterpolation.c:
10897 (interpolate_none_get_enum_value_array):
10898 support controlling enums
10900 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10903 Improve documentation for gst_value_union().
10906 Change return value for union, intersect and subtract functions
10907 from gint to gboolean.
10909 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10911 * gst/gstvalue.c: (gst_value_serialize_any_list),
10912 (gst_value_transform_any_list_string),
10913 (gst_value_deserialize_list), (gst_value_deserialize_array),
10914 (gst_value_set_int_range), (gst_value_deserialize_int_range),
10915 (gst_value_set_double_range), (gst_value_deserialize_double_range),
10916 (gst_value_set_fraction_range_full),
10917 (gst_value_deserialize_fraction_range),
10918 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10919 (gst_value_deserialize_boolean),
10920 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10921 (gst_value_serialize_float), (gst_value_deserialize_float),
10922 (gst_string_wrap), (gst_value_deserialize_string),
10923 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10924 (gst_value_union_int_range_int_range),
10925 (gst_value_intersect_int_range_int_range),
10926 (gst_value_intersect_double_range_double_range),
10927 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10928 (gst_value_subtract_int_range_int_range),
10929 (gst_value_subtract_double_double_range),
10930 (gst_value_subtract_double_range_double_range),
10931 (gst_value_deserialize_fraction):
10933 Use gint, gdouble and gchar in our API instead of int, double and
10934 char (and make usage in gstvalue.c more consistent).
10936 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10938 * check/Makefile.am:
10939 * libs/gst/controller/Makefile.am:
10940 * libs/gst/dataprotocol/Makefile.am:
10941 fix up Makefile.am and remove GST_ENABLE_NEW
10943 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10947 * gst/base/Makefile.am:
10948 * gst/check/Makefile.am:
10949 * gst/elements/Makefile.am:
10950 * gst/net/Makefile.am:
10951 update LDFLAGS use some more
10953 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10955 * common/m4/gst-doc.m4:
10958 2005-11-26 Edward Hervey <edward@fluendo.com>
10960 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10961 This shouldn't issue a g_warning since it returns NULL if it
10962 couldn't find the plugin, and all functions using this behave
10963 properly on a NULL return. Switching to a GST_WARNING.
10965 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
10967 * gst/gstbin.c: (gst_bin_handle_message_func):
10968 Don't leak clock messages.
10970 2005-11-25 Wim Taymans <wim@fluendo.com>
10972 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10973 (gst_util_uint64_scale_int):
10974 Optimisations, remove unneeded vars.
10976 2005-11-25 Wim Taymans <wim@fluendo.com>
10978 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10979 Added more checks for the high precision uint64 cases.
10981 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10982 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10983 Implement high precision (guint64 * guint64) / guint64.
10985 2005-11-24 Wim Taymans <wim@fluendo.com>
10987 * gst/base/gstbasesrc.c: (gst_base_src_query):
10988 Fix wrong percentage query.
10990 * gst/gstutils.c: (gst_util_uint64_scale),
10991 (gst_util_uint64_scale_int):
10992 Add some more common cases that can be handled
10993 efficiently to _scale.
10995 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10997 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
10998 (gst_mini_object_suite):
10999 don't use check calls from threads; check probably isn't
11000 threadsafe and using a lock to make it threadsafe would
11001 defeat the purpose of this check
11002 * gst/check/gstcheck.c:
11003 * gst/check/gstcheck.h:
11004 use GST_DEBUG some more
11006 2005-11-24 Wim Taymans <wim@fluendo.com>
11008 * gst/gstutils.c: (gst_util_uint64_scale),
11009 (gst_util_uint64_scale_int):
11010 Chain trivial case to _scale_int.
11012 2005-11-24 Wim Taymans <wim@fluendo.com>
11014 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11015 Added test for scaling.
11020 * gst/gstutils.c: (gst_util_uint64_scale_int):
11021 Implemented high precision scaling code.
11023 2005-11-24 Stefan Kost <ensonic@users.sf.net>
11026 do not crash on pad==NULL
11028 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
11030 Patch by: Stefan Kost
11032 * common/gtk-doc.mak:
11033 * docs/gst/Makefile.am:
11034 * docs/libs/Makefile.am:
11035 Fix distcheck issues for the libraries docs build
11038 2005-11-24 Michael Smith <msmith@fluendo.com>
11040 * docs/manual/basics-helloworld.xml:
11041 Fix bug #315027: memory leak in example code in docs.
11043 2005-11-24 Michael Smith <msmith@fluendo.com>
11045 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11046 Unlock the PREROLL_LOCK in a failure case.
11048 2005-11-24 Wim Taymans <wim@fluendo.com>
11050 * docs/gst/gstreamer-sections.txt:
11051 * gst/base/gstadapter.h:
11052 * gst/base/gstbasesink.h:
11053 * gst/base/gstbasesrc.h:
11054 * gst/base/gstbasetransform.h:
11055 * gst/base/gstpushsrc.h:
11056 * gst/elements/gstfakesink.h:
11057 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
11058 * gst/elements/gstfakesrc.h:
11059 * gst/elements/gstfilesink.h:
11060 * gst/elements/gstfilesrc.h:
11063 * gst/gstbuffer.c: (_gst_buffer_copy):
11066 * gst/gstchildproxy.c:
11068 * gst/gstelement.c:
11069 * gst/gstelementfactory.c:
11070 * gst/gstelementfactory.h:
11072 * gst/gstghostpad.h:
11074 * gst/gstinterface.h:
11075 * gst/gstminiobject.c:
11076 * gst/gstminiobject.h:
11079 * gst/gstpadtemplate.h:
11080 * gst/gstpipeline.h:
11081 * gst/gstpluginfeature.h:
11084 * gst/gsttaglist.c:
11085 * gst/gsttaglist.h:
11086 * gst/gsttagsetter.c:
11087 * gst/gsttagsetter.h:
11090 * gst/gsttypefind.h:
11093 * gst/net/gstnetclientclock.c:
11094 * gst/net/gstnetclientclock.h:
11095 * gst/net/gstnettimepacket.c:
11096 * gst/net/gstnettimeprovider.c:
11097 * gst/net/gstnettimeprovider.h:
11100 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11102 * configure.ac: back to HEAD
11104 === release 0.9.6 ===
11106 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11109 releasing 0.9.6, "Always On Time"
11111 2005-11-23 Wim Taymans <wim@fluendo.com>
11113 * docs/gst/gstreamer-sections.txt:
11114 * gst/glib-compat.c:
11115 * gst/gsttagsetter.c:
11117 * gst/net/gstnetclientclock.c:
11118 * gst/net/gstnettimepacket.h:
11121 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11123 * docs/faq/using.xml:
11124 * docs/libs/tmpl/gstcontrol.sgml:
11125 * docs/manual/advanced-dparams.xml:
11126 * docs/manual/appendix-checklist.xml:
11127 * docs/manual/basics-elements.xml:
11128 * docs/pwg/other-source.xml:
11129 * docs/random/moving-plugins:
11131 * tools/gst-launch.1.in:
11132 remove mentions of sinesrc
11134 2005-11-23 Michael Smith <msmith@fluendo.com>
11136 * docs/gst/gstreamer-sections.txt:
11137 Update for new API and API changes.
11139 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11141 Documentation typo fix.
11142 * gst/net/gstnettimepacket.c:
11143 Documentation fixes for arguments.
11145 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
11147 * gst/gststructure.c: (gst_structure_get_fraction),
11148 (gst_structure_parse_value),
11149 (gst_structure_fixate_field_nearest_fraction):
11150 * gst/gststructure.h:
11151 * gst/gstutils.c: (gst_util_uint64_scale_int):
11153 * scripts/update-funcnames:
11155 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11156 Make gst_structure_fixate_field_nearest_fraction take a numerator
11157 and denominator argument instead of a GValue
11158 add gst_structure_get_fraction helper function.
11160 2005-11-23 Wim Taymans <wim@fluendo.com>
11162 * docs/design/part-TODO.txt:
11165 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11166 * gst/net/gstnetclientclock.h:
11167 Use parent fields for timeout and window_size.
11169 2005-11-23 Andy Wingo <wingo@pobox.com>
11171 * check/net/gstnetclientclock.c (test_functioning): Adjust to
11172 rate_num/rate_denom change.
11174 * gst/net/gstnetclientclock.c
11175 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11176 OBJECT_LOCK. Don't call add_observation with the lock.
11178 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11180 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11182 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11183 deal with rate as a fraction whose numerator and denominator are
11184 GstClockTime values.
11185 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11186 master; the other fields are protected by the SLAVE_LOCK.
11187 (do_linear_regression): Note that this must be called with the
11189 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11190 OBJECT_LOCK. Call set_calibration instead of touching the
11191 variables directly.
11192 (gst_clock_set_property, gst_clock_get_property): Protect
11193 master/slave parameters with the SLAVE_LOCK.
11195 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11196 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11197 note that all of the instance variables that add_observation and
11198 the set_master functions use are protected by that lock and not
11200 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11202 * gst/gstclock.c (gst_clock_add_observation): No longer requires
11203 the caller to take the object lock.
11205 2005-11-23 Wim Taymans <wim@fluendo.com>
11207 * gst/gsterror.c: (_gst_core_errors_init):
11209 Add error for clock stuff.
11211 * gst/gstpipeline.c: (gst_pipeline_change_state),
11212 (gst_pipeline_set_clock):
11213 Post clock error when clock cannot be used in a pipeline.
11215 2005-11-23 Stefan Kost <ensonic@users.sf.net>
11217 * docs/gst/gstreamer-sections.txt:
11218 make two symbols from gstinfo private for the docs
11219 * gst/base/gstcollectpads.h:
11221 fix doc typos, update docs
11223 2005-11-22 Wim Taymans <wim@fluendo.com>
11225 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11226 (gst_base_sink_wait), (gst_base_sink_do_sync),
11227 (gst_base_sink_handle_event):
11228 * gst/base/gstbasesink.h:
11229 No need to store the clock, the parent element class already
11232 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11233 Updates for clock_set returning a gboolean
11235 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11236 (gst_clock_id_wait_async), (gst_clock_class_init),
11237 (gst_clock_init), (gst_clock_finalize),
11238 (gst_clock_get_internal_time), (gst_clock_get_time),
11239 (gst_clock_slave_callback), (gst_clock_set_master),
11240 (gst_clock_get_master), (do_linear_regression),
11241 (gst_clock_add_observation), (gst_clock_set_property),
11242 (gst_clock_get_property):
11244 Implement master/slave. When setting a clock as a slave, a
11245 periodic timeout is scheduled to sample master and slave times.
11246 Then the slave clock is recalibrated to match offset and rate
11247 of the master clock.
11248 Update logging a bit.
11249 Add flag so that a clock can state that is cannot be slaved to
11252 * gst/gstelement.c: (gst_element_set_clock):
11253 * gst/gstelement.h:
11254 The set clock returns a gboolean for when an element cannot
11255 deal with the selected clock in the pipeline.
11257 * gst/gstpipeline.c: (gst_pipeline_change_state),
11258 (gst_pipeline_set_clock):
11259 * gst/gstpipeline.h:
11260 Handle the case where the selected clock cannot be set on
11263 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11264 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11265 (gst_net_client_clock_set_property),
11266 (gst_net_client_clock_get_property),
11267 (gst_net_client_clock_observe_times):
11268 * gst/net/gstnetclientclock.h:
11269 Use regression code in GstClock parent, remove duplicated
11272 2005-11-22 Michael Smith <msmith@fluendo.com>
11274 * gst/gstutils.c: (gst_util_clock_time_scale):
11276 * docs/gst/gstreamer-sections.txt:
11277 Rename method to have extra underscore.
11279 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
11281 * gst/elements/Makefile.am:
11282 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11283 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11284 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11285 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11286 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11287 * gst/elements/gstfakesrc.h:
11288 * gst/gstqueue.c: (queue_leaky_get_type):
11289 correctly fix GEnumValues so that nick is the short lowercase
11291 * tools/gst-inspect.c: (print_element_properties_info):
11292 also show the nick, since it's useful to use from parse_launch
11296 2005-11-22 Michael Smith <msmith@fluendo.com>
11298 * gst/gstutils.c: (gst_util_clocktime_scale):
11300 * docs/gst/gstreamer-sections.txt:
11301 Add util method for scaling a clocktime by a fraction. Useful
11302 implementation is left as an exercise for the reader.
11304 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11306 * gst/gstvalue.c: (gst_value_collect_fraction_range):
11307 If needed, allocate storage in the destination value during
11310 2005-11-22 Edward Hervey <edward@fluendo.com>
11312 * docs/gst/gstreamer-sections.txt:
11315 * gst/gsturitype.c:
11316 * gst/gsturitype.h:
11317 * gst/gstutils.c: (gst_util_set_object_arg):
11318 * tools/gst-compprep.c: (main):
11319 * tools/gst-inspect.c: (print_element_properties_info):
11320 Removed GstURI, closes bug #321061
11322 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11324 * check/gst/gststructure.c: (GST_START_TEST):
11325 * gst/gststructure.c: (gst_structure_parse_value):
11326 Oops, broke automatic string type parsing.
11327 Add a test to catch it in future.
11329 2005-11-22 Andy Wingo <wingo@pobox.com>
11331 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
11332 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11333 Actually rename the function implementations. Grr.
11335 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11337 * check/gst/capslist.h:
11339 * check/gst/gststructure.c: (GST_START_TEST),
11340 (gst_structure_suite):
11341 Test automatic value type detection in gst_structure_from_string.
11342 * gst/gststructure.c: (gst_structure_parse_value):
11343 Add fraction as a type we try and guess automatically in
11344 caps/structure strings.
11346 2005-11-22 Andy Wingo <wingo@pobox.com>
11348 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11350 * gst/gsttagsetter.h:
11351 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11352 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11353 (gst_tag_setter_add_tag_valist)
11354 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11355 _add_values, _add_valist, and _add_valist_values. Since this is an
11356 interface the function suffixes should be more explicit so
11357 language binding don't end up with element.add_valist ->
11358 gst_tag_setter_add_valist, for example. Fixes #322069.
11360 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11362 * check/gst/gstcaps.c: (GST_START_TEST):
11363 Extend caps string tests to check that a caps to string
11364 conversion is reversible and produces the same caps.
11366 * gst/gststructure.c: (gst_structure_value_get_generic_type):
11367 Output "fraction" as the generic type fraction range, so caps
11368 serialisation and deserialisation works.
11369 * check/gst/capslist.h:
11370 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11371 Support 'MIN' and 'MAX' for deserialising fractions.
11373 2005-11-22 Andy Wingo <wingo@pobox.com>
11375 * gst/gstevent.h (gst_event_new_new_segment)
11376 (gst_event_parse_new_segment, gst_event_new_buffer_size)
11377 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11378 Renamed from *_newsegment, *_buffersize, *_notarget.
11380 * scripts/update-funcnames: New script, performs the changes
11383 2005-11-22 Wim Taymans <wim@fluendo.com>
11385 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11386 Make sure the GstFlowReturn is returned.
11388 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11389 (gst_bus_add_signal_watch):
11391 add gst_bus_add_signal_watch_full.
11393 * gst/gstplugin.c: (gst_plugin_load_file):
11394 Small style cleanup.
11396 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11398 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11399 Block the fakesrc srcpad when we send an event, to avoid
11400 contention on the stream_lock causing random test failures.
11402 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11404 * check/gst/gstvalue.c: (GST_START_TEST):
11405 * gst/gstvalue.c: (gst_value_fraction_subtract):
11408 2005-11-22 Stefan Kost <ensonic@users.sf.net>
11411 include "gstchildproxy.h"
11412 * gst/gstchildproxy.h:
11413 * libs/gst/controller/gstcontroller.h:
11414 use G_GNUC_NULL_TERMINATED
11416 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11418 * check/gst/capslist.h:
11419 * check/gst/gstcaps.c: (GST_START_TEST):
11420 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11421 * gst/gststructure.c: (gst_structure_parse_range),
11422 (gst_structure_fixate_field_nearest_fraction):
11423 * gst/gststructure.h:
11424 * gst/gstvalue.c: (gst_value_init_fraction_range),
11425 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11426 (gst_value_collect_fraction_range),
11427 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11428 (gst_value_set_fraction_range_full),
11429 (gst_value_get_fraction_range_min),
11430 (gst_value_get_fraction_range_max),
11431 (gst_value_serialize_fraction_range),
11432 (gst_value_transform_fraction_range_string),
11433 (gst_value_compare_fraction_range),
11434 (gst_value_deserialize_fraction_range),
11435 (gst_value_intersect_fraction_fraction_range),
11436 (gst_value_intersect_fraction_range_fraction_range),
11437 (gst_value_subtract_fraction_fraction_range),
11438 (gst_value_subtract_fraction_range_fraction),
11439 (gst_value_subtract_fraction_range_fraction_range),
11440 (gst_value_collect_fraction), (gst_value_fraction_multiply),
11441 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11442 (gst_value_transform_string_fraction), (_gst_value_initialize):
11444 Implement fraction ranges and extend GstFraction to support
11445 arithmetic subtraction, as well as deserialization from integer
11446 strings such as "100"
11447 Add a testsuite as for int and double range set operations
11449 2005-11-21 Andy Wingo <wingo@pobox.com>
11451 * gst/gsttaglist.h:
11453 * gst/gststructure.h: Add glib-compat.h.
11455 2005-11-21 Wim Taymans <wim@fluendo.com>
11457 * gst/gstbin.c: (gst_bin_change_state_func):
11460 2005-11-21 Wim Taymans <wim@fluendo.com>
11462 * gst/gstsegment.h:
11463 And add a nice define too.
11465 2005-11-21 Wim Taymans <wim@fluendo.com>
11467 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11468 (gst_segment_new), (gst_segment_free), (gst_segment_init),
11469 (gst_segment_set_duration), (gst_segment_set_last_stop),
11470 (gst_segment_set_seek), (gst_segment_set_newsegment),
11471 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11472 (gst_segment_clip):
11473 * gst/gstsegment.h:
11474 Make binding friendly.
11476 2005-11-21 Andy Wingo <wingo@pobox.com>
11478 * gst/gsttagsetter.h:
11479 * gst/gsttaglist.h:
11480 * gst/gststructure.h:
11482 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11485 * gst/gsterror.c (_gst_core_errors_init):
11486 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11489 * gst/Makefile.am (gst_headers): Add glib-compat.h.
11490 (noinst_HEADERS): noinst the -private.
11492 2005-11-21 Michael Smith <msmith@fluendo.com>
11495 * gst/gstregistry.h:
11496 Remove unimplemented declarations for which we can see no sensible
11499 2005-11-21 Andy Wingo <wingo@pobox.com>
11501 * gst/gst.h: Include glib-compat.h.
11503 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11505 * gst/glib-compat.c: Include the public and the private header.
11507 * gst/glib-compat-private.h: Copied here from glib-compat.h.
11511 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11513 * check/gst/gstevent.c (create_custom_events): Check that
11514 FLUSH_STOP is serialized.
11516 * check/elements/identity.c (event_func):
11517 * check/elements/fakesrc.c (event_func): No stream lock, the core
11520 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11521 stream lock taking, yay.
11523 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11524 ensure that core takes the stream lock.
11526 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11529 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11530 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11531 it already. For the flush start we do take it though so we get the
11532 right preroll state change messages.
11534 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11535 the stream lock here, the core does it for us.
11537 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11538 GST_STREAM_GET_LOCK.
11539 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
11540 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
11541 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11542 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11543 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
11544 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11546 * gst/gstpad.c: Update for stream lock name change.
11548 * gst/base/gstbasesink.c: Update for preroll lock name change.
11550 2005-11-21 Wim Taymans <wim@fluendo.com>
11552 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11553 (gst_clock_get_master):
11555 * gst/gstsystemclock.c: (gst_system_clock_init):
11556 Convert Clock flags to object flags.
11557 Added methods to manage master/slave clocks.
11559 2005-11-21 Wim Taymans <wim@fluendo.com>
11561 * check/gst/gstsegment.c: (GST_START_TEST):
11562 * docs/design/part-TODO.txt:
11563 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11564 (gst_base_sink_event), (gst_base_sink_do_sync),
11565 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11566 (gst_base_sink_query), (gst_base_sink_change_state):
11567 * gst/base/gstbasesink.h:
11568 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11569 (gst_base_src_default_newsegment),
11570 (gst_base_src_configure_segment), (gst_base_src_do_seek),
11571 (gst_base_src_get_range), (gst_base_src_loop),
11572 (gst_base_src_change_state):
11573 * gst/base/gstbasesrc.h:
11574 * gst/base/gstbasetransform.c:
11575 (gst_base_transform_prepare_output_buf),
11576 (gst_base_transform_event), (gst_base_transform_change_state):
11577 * gst/base/gstbasetransform.h:
11578 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11579 (gst_collect_pads_event):
11580 * gst/base/gstcollectpads.h:
11581 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11582 (gst_fake_src_create):
11583 * gst/elements/gstfakesrc.h:
11584 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11585 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11586 (gst_segment_set_last_stop), (gst_segment_set_seek),
11587 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11588 (gst_segment_to_running_time), (gst_segment_clip):
11589 * gst/gstsegment.h:
11590 More segment updates, replace code in plugins with segment
11593 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11595 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11596 Don't ignore sscanf results
11598 2005-11-21 Andy Wingo <wingo@pobox.com>
11600 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11603 * *.c: Ran scripts/update-macros. Oh yes.
11605 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11606 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11609 * scripts/update-macros: New script. Run it on your files to
11610 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11613 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11615 * docs/gst/Makefile.am:
11616 * docs/gst/gstreamer-docs.sgml:
11617 * docs/gst/gstreamer-sections.txt:
11618 * docs/gst/gstreamer.types:
11620 more docs fixes, add new api to the docs
11622 2005-11-21 Andy Wingo <wingo@pobox.com>
11624 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11625 state_broadcast call.
11627 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11629 2005-11-21 Julien MOUTTE <julien@moutte.net>
11631 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11632 function calls for arrays.
11634 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11636 * docs/random/ensonic/media-device-daemon.txt:
11637 wild idea, can this be done?
11638 * docs/gst/gstreamer-sections.txt:
11643 * gst/gstpluginfeature.c:
11647 doc fixes and additions
11649 2005-11-21 Andy Wingo <wingo@pobox.com>
11651 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
11652 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
11653 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
11654 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11655 private to the basesrc implementation.
11657 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11658 behalf of event function if necessary. It should no longer be
11659 necessary to take the stream lock in pad's event functions. Fixes
11662 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11663 * docs/gst/gstreamer-sections.txt:
11664 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11665 (gst_structure_fixate_field_nearest_double),
11666 (gst_structure_fixate_field_boolean):
11667 * gst/gststructure.h:
11668 * win32/common/libgstreamer.def:
11669 * win32/gstreamer.def:
11671 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11674 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11676 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11677 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11678 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11679 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11680 (gst_fdsrc_uri_handler_init):
11681 * gst/elements/gstfdsrc.h:
11682 Port fd:// URI handler from 0.8 to fdsrc
11684 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11686 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11687 (gst_value_serialize_fourcc):
11689 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11690 consistent with our other format defines (#320324).
11692 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11694 * gst/gstvalue.c: (gst_value_is_fixed):
11695 Revert previous commit. Value lists are by definition
11696 not fixed, as they are a list of possible values.
11698 2005-11-21 Andy Wingo <wingo@pobox.com>
11700 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11701 during the stable series if we need it. Fixes #319178.
11703 * gst/gstevent.c (gst_event_new_filler): Removed.
11705 * check/gst/gstevent.c: Update comment about filler events.
11707 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11709 * gst/gstvalue.c: (gst_value_is_fixed):
11710 Should handle both value arrays and value lists.
11712 2005-11-21 Andy Wingo <wingo@pobox.com>
11714 patch by: Alessandro Dessina <alessandro nnva org>
11716 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11717 functions to access arrays. Fixes #321962.
11719 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11721 * docs/gst/gstreamer.types:
11722 gst_collectpads_get_type => gst_collect_pads_get_type.
11724 * gst/base/gstbasetransform.c:
11725 Remove unused SIGNAL_HANDOFF enum.
11727 2005-11-21 Andy Wingo <wingo@pobox.com>
11729 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11730 the event type (upstream, downstream, serialized). Renamed
11731 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11732 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11733 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11735 * gst/gstevent.c: Update for new CUSTOM event names.
11737 * check/gst/gstevent.c: Update check for new CUSTOM event names.
11740 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11743 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11745 * docs/gst/gstreamer-sections.txt:
11746 * win32/common/libgstbase.def:
11747 * win32/libgstbase.def:
11748 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11749 (gst_collect_pads_class_init), (gst_collect_pads_init),
11750 (gst_collect_pads_finalize), (gst_collect_pads_new),
11751 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11752 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11753 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11754 (gst_collect_pads_start), (gst_collect_pads_stop),
11755 (gst_collect_pads_peek), (gst_collect_pads_pop),
11756 (gst_collect_pads_available), (gst_collect_pads_read),
11757 (gst_collect_pads_flush), (gst_collect_pads_event),
11758 (gst_collect_pads_chain):
11759 * gst/base/gstcollectpads.h:
11760 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11761 unimplemented functions as unimplemented. Add padding to
11762 GstCollectData. (#320766, #320423)
11764 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11766 * gst/gstmessage.c:
11767 Improve docs for DURATION message (usage of duration parameter)
11770 2005-11-20 Wim Taymans <wim@fluendo.com>
11772 * check/Makefile.am:
11773 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11777 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11778 (gst_segment_set_seek), (gst_segment_set_newsegment),
11779 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11780 (gst_segment_clip):
11781 * gst/gstsegment.h:
11782 Added segment helper structure and methods. Not fully implemented
11784 Added segment check.
11786 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
11788 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11789 Add a deserialisation test for fractions
11790 * examples/metadata/read-metadata.c: (message_loop),
11791 (make_pipeline), (main):
11792 Fix up metadata reading sample.
11793 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11795 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11796 Don't try and fixate empty caps
11797 * gst/gst_private.h:
11798 Wrap in G_BEGIN_DECLS/G_END_DECLS
11799 * gst/gstvalue.c: (gst_value_collect_fraction),
11800 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11801 (gst_value_transform_string_fraction),
11802 (gst_value_compare_fraction):
11803 Add some extra guards to ensure that we don't end up
11804 with an invalid denominator of 0 in a gstfraction and
11805 that fractions always get reduced.
11807 2005-11-20 Wim Taymans <wim@fluendo.com>
11809 * docs/gst/gstreamer-sections.txt:
11811 * gst/gstelement.c:
11820 2005-11-20 Wim Taymans <wim@fluendo.com>
11822 * docs/design/part-TODO.txt:
11824 Make a proper enum of the flag.
11826 2005-11-19 Wim Taymans <wim@fluendo.com>
11828 * docs/design/part-TODO.txt:
11829 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11830 (gst_format_to_quark), (gst_format_register):
11832 * gst/gstquery.c: (_gst_query_initialize),
11833 (gst_query_type_get_name), (gst_query_type_to_quark),
11834 (gst_query_type_register):
11836 Add type to quark and type to string conversions.
11838 2005-11-19 Andy Wingo <wingo@pobox.com>
11840 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11843 2005-11-19 Wim Taymans <wim@fluendo.com>
11845 * docs/design/part-TODO.txt:
11846 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11847 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11848 (gst_bin_handle_message_func):
11850 Make message handling overridable.
11852 2005-11-19 Andy Wingo <wingo@pobox.com>
11854 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11857 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11859 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11860 is a GstClockTime. Fixes #321710.
11862 * gst/gstclock.h (GstClock): Remove offset property. Add
11863 internal_calibration and external_calibration. Fix padding. Pad
11864 also by GstClockTime so we don't run into problems.
11866 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11867 (gst_clock_get_rate_offset): Remove.
11868 (gst_clock_set_time_adjust): Remove. Fixes #321712.
11871 * gst/gstutils.c (g_static_rec_cond_wait)
11872 (g_static_rec_cond_timed_wait): Removed, no longer needed.
11874 * gst/gstbin.c: Remove terrible continue_state prototype.
11876 * gst/gstelement.h (gst_element_continue_state): Make public.
11878 * gst/gstelement.h:
11879 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11880 by continue_state. Fixes #319389.
11882 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11883 Really fixes #168438. However I don't see anywhere where the
11884 filter function is called... stupid GStreamer...
11886 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11887 don't have a dispose function, so it won't get called when the
11888 object is unreffed, but oh well!
11890 * gst/gstindex.c (gst_index_set_filter_full): New API function,
11891 allows a destroy function to be set so user_data can be freed.
11893 (gst_index_set_filter): Call gst_index_set_filter_full.
11895 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11897 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11898 string should produce an error, given the lack of a way to
11899 represent NULL strings. Fixes #165650.
11902 * gst/gstvalue.c (gst_value_array_append_value)
11903 (gst_value_array_prepend_value, gst_value_array_get_size)
11904 (gst_value_array_get_value): New API, copied from
11905 gst_value_list_*, only operates on arrays.
11906 (gst_value_list_append_value, gst_value_list_prepend_value)
11907 (gst_value_list_concat, gst_value_list_get_size)
11908 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11910 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11911 init_list, because it works on both.
11912 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11913 (gst_value_copy_list_or_array): Renamed from copy_list.
11914 (gst_value_free_list_or_array): Renamed from free_list.
11915 (gst_value_collect_list_or_array): Renamed from collect_list.
11916 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11917 (gst_value_list_or_array_peek_pointer): Renamed from
11919 (_gst_value_array_value_table, _gst_value_list_value_table):
11920 Update value table functions.
11921 (gst_value_compare_list_or_array): Renamed from compare_list.
11923 * gsttaglist.h: Whoops, foreach function returns void. Also fix
11926 * gst/gsttaglist.c:
11927 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11928 GstTagList*. Fixes #143472.
11930 * gst/gststructure.h: Clarify what the foreach/map functions can
11931 or can't do to their arguments.
11933 2005-11-18 Wim Taymans <wim@fluendo.com>
11935 * gst/gstclock.c: (gst_clock_set_calibration),
11936 (gst_clock_get_calibration):
11938 Calibration can be set with internal time equal to current
11941 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
11947 2005-11-18 Andy Wingo <wingo@pobox.com>
11950 * pkgconfig/gstreamer-net.pc.in:
11951 * pkgconfig/gstreamer-net-uninstalled.pc.in:
11952 * pkgconfig/Makefile.am: Add net pkgconfig files.
11954 2005-11-18 Stefan Kost <ensonic@users.sf.net>
11957 * gst/gstghostpad.c:
11963 2005-11-18 Andy Wingo <wingo@pobox.com>
11965 * gst/net/gstnetclientclock.c: Turn off debugging.
11967 * check/net/gstnetclientclock.c (test_functioning): Assert that the
11968 times connverge somewhat. Can't make a real test.
11970 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
11971 integer arithmetic. Return the minimum of the domain, which can be
11972 set as "internal" for gst_clock_set_calibration.
11973 (gst_net_client_clock_observe_times): Call _set_calibration.
11974 (gst_net_client_clock_new): Call _set_calibration instead of
11977 * check/net/gstnetclientclock.c (test_functioning): Use the right
11981 * gst/gstclock.c (gst_clock_get_calibration)
11982 (gst_clock_set_calibration): New functions, obsolete the ones I
11983 added yesterday. Doh. Precision issues mean we have to extrapolate
11984 from a point in the more recent past than 1970.
11985 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
11987 (gst_clock_adjust_unlocked): Use the right calibration data.
11989 2005-11-18 Edward Hervey <edward@fluendo.com>
11991 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11992 Also reset the ->current_* values in READY->PAUSED
11994 2005-11-18 Andy Wingo <wingo@pobox.com>
11996 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
11997 Whoops, check the right fd. Also add some debugging.
11998 (gst_net_client_clock_observe_times): Adjust for int64 offset.
11999 (do_linear_regression): Add a crapload of debugging. Subtract off
12000 the minimum values from the input series to discard unneeded bits.
12001 Use only int arithmetic. There is still double arithmetic when
12002 calculating the intercept that needs fixing. Return boolean to
12003 indicate success; FALSE would mean the domain or range is too
12004 great. Still needs fixes.
12006 2005-11-18 Wim Taymans <wim@fluendo.com>
12008 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12009 For the current position in stream time, we need to subtract
12012 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12013 Release lock before calling the callback function of async
12016 2005-11-18 Andy Wingo <wingo@pobox.com>
12018 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
12019 Port goes all the way to MAXUINT16.
12021 * gst/net/gstnettimeprovider.c: Make the port range the same as
12022 for the kernel: 0 assigns, otherwise ports are less than
12025 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
12028 * check/net/gstnetclientclock.c (test_functioning): Add the start
12031 2005-11-18 Wim Taymans <wim@fluendo.com>
12033 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12034 (gst_bin_remove_func), (bin_bus_handler):
12036 Removing a clock provider from a bin, triggers a clock lost message
12037 so that a new clock will be selected.
12038 Adding a clock to a bin triggers a clock provider message.
12039 Make sure we reselect a clock when we received a clock lost message.
12040 Keep a reference to the element that provided the clock.
12042 2005-11-18 Andy Wingo <wingo@pobox.com>
12044 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
12045 the clock initially so it produces values around the base time.
12046 (gst_net_client_clock_class_init): Typo fix.
12047 (gst_net_client_clock_thread): Add note on when the socket gets
12050 2005-11-17 Wim Taymans <wim@fluendo.com>
12052 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
12053 Free remote and local time arrays.
12055 2005-11-17 Wim Taymans <wim@fluendo.com>
12057 * gst/net/gstnetclientclock.c: (do_linear_regression),
12058 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
12059 Fix compilation, uninitialized vars and a forgotten continue.
12061 2005-11-17 Andy Wingo <wingo@pobox.com>
12063 * check/Makefile.am (check_PROGRAMS):
12064 * check/net/gstnetclientclock.c: Add a most minimal test for the
12065 net client clock. More to come later.
12067 * gst/net/gstnet.h:
12068 * gst/net/Makefile.am: Add netclientclock.
12070 * gst/net/gstnetclientclock.h:
12071 * gst/net/gstnetclientclock.c: New files, implement an untested
12072 GstClock that takes its time from a network time provider.
12073 Implements the algorithm in network-clock.scm.
12075 * tests/network-clock.scm (*window-size*): Rename from
12077 * tests/network-clock.scm (network-time):
12078 * tests/network-clock-utils.scm (q-push): Update callers.
12080 2005-11-17 Wim Taymans <wim@fluendo.com>
12082 * gst/gstbin.c: (gst_bin_provide_clock_func),
12083 (gst_bin_sort_iterator_new):
12084 And unref the child too..
12086 2005-11-17 Wim Taymans <wim@fluendo.com>
12088 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12089 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
12090 Refactor the sort iterator so it can be used while holding the
12092 Make clock selection select a clock closest to the source.
12094 2005-11-17 Michael Smith <msmith@fluendo.com>
12096 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12097 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12099 Anonymous structs are a gcc (and some other compilers) extension, so
12100 don't use them. Since this is only for ABI-compatibility, and our
12101 API/ABI freeze is over in a few days, this whole thing will only
12102 last a few days, so don't bother trying to think up a meaningful
12103 name for the struct.
12105 2005-11-17 Andy Wingo <wingo@pobox.com>
12107 * gst/gstclock.h (GstClock): Add rate and offset properties,
12108 preserving ABI stability. Add rate/offset accessors. Will file bug
12109 for the freeze break.
12111 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12112 and offset, trying to keep precision and avoiding
12113 underflow/overflow.
12114 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12115 functions. Make gst_clock_set_time_adjust obsolete.
12116 (gst_clock_set_time_adjust): Note that this function is obsolete.
12117 Will file bug soon.
12119 * gst/base/gstbasetransform.h: Make the ABI-stability hack
12120 greppable by using GST_PADDING-1+1.
12122 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
12124 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12126 * gst/gstmessage.c: (gst_message_parse_clock_lost):
12127 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12129 * gst/gstpadtemplate.h:
12130 * gst/gstpluginfeature.h:
12131 Don't use c++ style comments in headers (#321638).
12133 2005-11-16 Andy Wingo <wingo@pobox.com>
12135 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12138 * check/net/gstnettimeprovider.c: Check to see that the time
12139 provider actually provides times. Works, yo!
12141 2005-11-16 Wim Taymans <wim@fluendo.com>
12143 * check/Makefile.am:
12146 * check/elements/fakesrc.c: (GST_START_TEST):
12147 Set element to NULL before disposing it.
12149 2005-11-16 Andy Wingo <wingo@pobox.com>
12151 * gst/net/Makefile.am:
12152 * gst/net/gstnet.h:
12153 * gst/net/gstnettimeprovider.c:
12154 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12155 provider, include it from gstnet.h, and add it to the build.
12157 * gst/net/gstnettimepacket.h:
12158 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12159 sending and receiving.
12161 2005-11-16 Wim Taymans <wim@fluendo.com>
12163 * check/Makefile.am:
12164 Enable valgrind check.
12166 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12167 (gst_fake_src_alloc_buffer):
12170 2005-11-16 Wim Taymans <wim@fluendo.com>
12172 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12173 Call parent finalize too.
12175 2005-11-16 Wim Taymans <wim@fluendo.com>
12177 * check/Makefile.am:
12178 Enable valgrind check that should work fine now.
12180 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12181 * gst/gstqueue.c: (gst_queue_init):
12182 Fix memleaks in pad allocation.
12184 2005-11-16 Andy Wingo <wingo@pobox.com>
12186 * gst/net/Makefile.am:
12187 * gst/net/gstnet.h: New part of core to hold network elements and
12188 objects. Put in core because it exposes API that applications want
12189 to use. The library is named libgstnet-tempname right now because
12190 of the existing libgstnet in gst-plugins-base. Solution is
12191 probably to rename the one in plugins-base; will file a bug for
12194 * gst/net/gstnettimeprovider.c:
12195 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12196 get_time call over the network.
12199 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12201 * check/Makefile.am:
12202 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12203 get additions shortly.
12205 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12207 * gst/gstpad.c: (gst_pad_new_from_static_template):
12209 add gst_pad_new_from_static_template functions
12210 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12211 (gst_check_setup_sink_pad):
12212 * gst/elements/gsttee.c: (gst_tee_init):
12215 2005-11-16 Wim Taymans <wim@fluendo.com>
12217 * gst/gstpad.c: (gst_pad_pause_task):
12218 Removed warning, it's not really an error either.
12220 2005-11-16 Wim Taymans <wim@fluendo.com>
12222 * gst/base/gstbasetransform.c:
12223 (gst_base_transform_prepare_output_buf),
12224 (gst_base_transform_event):
12225 Check if the caps are NULL, this can happen if the element
12226 is shutting down and the pad caps are set to NULL.
12228 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12230 * gst/elements/gsttee.c: (gst_tee_init):
12231 fix pad template leak in tee
12233 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12235 * gst/glib-compat.c: (g_value_dup_gst_object):
12236 * gst/glib-compat.h:
12237 * gst/gstpad.c: (gst_pad_set_property):
12238 use gst_object_ref when setting the pad template; this will
12239 trigger the pad template leaks on GLib 2.6 and the slaves
12241 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12243 * gst/glib-compat.c: (gst_flags_get_first_value):
12244 * gst/glib-compat.h:
12245 * gst/gstregistryxml.c:
12246 remove functions copied from GLib 2.6
12248 2005-11-16 Michael Smith <msmith@fluendo.com>
12251 Don't link against VALGRIND_LIBS. That was always the wrong thing to
12252 do, but only breaks with newer valgrind versions. We're not a
12253 valgrind tool, we have no link-time dependencies on libcoregrind.
12255 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12257 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12259 * gst/gstmessage.h:
12262 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12264 * gst/base/gstbasesrc.c: (gst_base_src_init):
12265 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12266 * gst/gstqueue.c: (gst_queue_init):
12267 * gst/gstregistryxml.c: (load_feature):
12268 Revert all these unrefs, they don't even pass make check !
12270 2005-11-15 Johan Dahlin <johan@gnome.org>
12272 * gst/base/gstbasesrc.c: (gst_base_src_init):
12273 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12274 * gst/gstqueue.c: (gst_queue_init):
12275 Free pad templates, fixes a couple of leaks.
12277 2005-11-15 Daniel Fischer <dan at f3c dot com>
12279 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12281 * gst/gstpad.c: (gst_pad_get_property):
12282 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12283 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12286 2005-11-15 Wim Taymans <wim@fluendo.com>
12291 2005-11-15 Andy Wingo <wingo@pobox.com>
12293 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12295 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12296 using GST_CLOCK_TIME_NONE to disable base time management.
12297 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12298 time if it was NONE before.
12299 (gst_pipeline_change_state): Only munge the base time if
12300 stream_time != GST_CLOCK_TIME_NONE.
12302 * check/gst/gstpipeline.c (test_base_time): Punt around the
12303 problem of the probe not being called, because that's not the
12304 issue I'm looking at. Add a check that setting stream_time to NONE
12305 disables base time management.
12307 2005-11-15 Wim Taymans <wim@fluendo.com>
12309 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12310 segment_stop == -1 at startup.
12312 * gst/base/gstbasetransform.c: (gst_base_transform_event),
12313 (gst_base_transform_change_state):
12314 Init segment values at start.
12316 2005-11-15 Wim Taymans <wim@fluendo.com>
12318 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12319 0 segment values are 0 in any format.
12321 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12322 * gst/base/gstbasetransform.h:
12323 Parse newsegment correctly in basetransform
12325 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12326 Sync to clock using updated segment values.
12328 2005-11-15 Andy Wingo <wingo@pobox.com>
12330 * check/gst/gstpipeline.c (test_base_time): Add check that the
12331 base time and stream time are reset correctly.
12333 2005-11-15 Wim Taymans <wim@fluendo.com>
12335 * docs/design/part-TODO.txt:
12336 Some more TODO items.
12338 2005-11-15 Andy Wingo <wingo@pobox.com>
12340 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12341 error if the user selected "no clock" as the clocking method.
12343 * check/gst/gstpipeline.c (test_base_time): New test for buffer
12344 timestamps with live capture.
12346 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12347 is 0 but we are a live source, timestamp the buffers using the
12350 2005-11-14 Stefan Kost <ensonic@users.sf.net>
12352 * docs/gst/gstreamer-sections.txt:
12354 * gst/gstghostpad.c:
12359 2005-11-14 Wim Taymans <wim@fluendo.com>
12362 add suppressions from Wim's Debian machine
12364 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
12367 add suppressions from Andy's AMD64 Ubuntu machine
12369 2005-11-14 Andy Wingo <wingo@pobox.com>
12371 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12372 STATE_LOCK not necessary. Fixes #311489.
12374 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12377 * gst/gstindex.c (gst_index_add_object): Note in the docs that
12378 this function is not implemented.
12380 2005-11-14 Julien MOUTTE <julien@moutte.net>
12382 * gst/base/gstbasetransform.c:
12383 (gst_base_transform_prepare_output_buf):
12384 Ref the source pad caps while we need them.
12387 2005-11-11 Wim Taymans <wim@fluendo.com>
12389 * docs/gst/gstreamer-sections.txt:
12390 Added some docs for GstCollectData.
12392 * gst/base/gstadapter.c:
12393 Some small code example fix.
12395 * gst/base/gstcollectpads.c:
12396 * gst/base/gstcollectpads.h:
12397 Document some more.
12399 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12401 * configure.ac: back to HEAD
12403 === release 0.9.5 ===
12405 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12408 releasing 0.9.5, "Bike Lunch Day"
12410 2005-11-11 Wim Taymans <wim@fluendo.com>
12412 * gst/gstbuffer.c: (_gst_buffer_copy):
12415 * gst/gstcaps.c: (gst_caps_is_equal):
12417 Make _is_equal fast in the trivial cases.
12419 * gst/gstminiobject.c:
12420 * gst/gstminiobject.h:
12421 More docs. Spifify .h file.
12426 2005-11-11 Wim Taymans <wim@fluendo.com>
12428 * gst/base/gstbasetransform.c:
12429 (gst_base_transform_prepare_output_buf),
12430 (gst_base_transform_handle_buffer):
12432 If we're processing a buffer and need to allocate an output
12433 buffer, we cannot accept a format change. If we did get a
12434 format change, we have to alloc a buffer ourselves of the
12437 2005-11-11 Wim Taymans <wim@fluendo.com>
12439 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12440 While checking the flag for reentrancy in the gstcaps function
12441 is nice to detect recursive invocations, it also makes it
12442 impossible to call getcaps from multiple threads, which must be
12443 possible. So, checking for recursive calls has to go.
12445 2005-11-11 Michael Smith <msmith@fluendo.com>
12447 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12448 Don't sync on buffers that fall partially outside our current
12449 segment. Prevents an assertion failure/abort playing some files.
12451 2005-11-10 Andy Wingo <wingo@pobox.com>
12453 * check/gst/gstbin.c (test_message_state_changed_children): Style
12456 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12457 gst_bus_poll with the signal watch. Ensures that poll and a signal
12458 watch see the same messages.
12460 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12461 a poll and a watch at the same time get the same messages.
12463 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12465 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12466 * gst/gstcaps.c: (gst_caps_intersect):
12467 Don't call gst_caps_do_simplify - it doesn't respect order of caps
12468 and it's not needed.
12470 2005-11-10 Wim Taymans <wim@fluendo.com>
12472 * docs/design/part-TODO.txt:
12475 2005-11-10 Wim Taymans <wim@fluendo.com>
12477 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12478 * gst/base/gstbasesrc.c: (gst_base_src_wait),
12479 (gst_base_src_do_sync), (gst_base_src_get_range):
12480 Implement clock sync in base class.
12482 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12484 patch by: Tim-Philipp Müller <tim at centricular dot net>
12486 * gst/gststructure.c: (gst_structure_parse_field),
12487 (gst_structure_from_string):
12488 Forward-port a 0.8 patch to handle escaped spaces in structure string,
12489 so that gst_parse_launch() can deal with spaces in filtered link
12490 caps (fixes #164479)
12491 * check/gst/capslist.h:
12492 * check/gst/gststructure.c: (GST_START_TEST):
12493 add unit tests for this change
12495 2005-11-10 Wim Taymans <wim@fluendo.com>
12497 * docs/gst/gstreamer-sections.txt:
12498 * gst/gstelement.c:
12499 * gst/gstelement.h:
12500 Fix docs, move some STATE macros to private.
12502 2005-11-10 Wim Taymans <wim@fluendo.com>
12504 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12505 Added check for bug #317341
12509 Some more spiffifying.
12511 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12512 Call peer linkfunction if we are a source pad. Totally fixes
12516 Update docs, source pads should call the peer linkfunction
12517 so they can atomically perform the pad link.
12519 2005-11-09 Wim Taymans <wim@fluendo.com>
12523 Uber-spiffy-spiffify some more.
12525 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
12527 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12528 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12529 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12530 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12531 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12532 * gst/gstpad.c: (gst_pad_init):
12533 Use GST_DEBUG_FUNCPTR() more extensively.
12535 2005-11-09 Wim Taymans <wim@fluendo.com>
12537 * gst/gstobject.c: (gst_object_class_init):
12539 Documentation fixes.
12541 2005-11-09 Edward Hervey <edward@fluendo.com>
12543 * gst/gsttypefindfactory.c:
12546 2005-11-09 Edward Hervey <edward@fluendo.com>
12548 * gst/base/gsttypefindhelper.c:
12549 * gst/gsttypefind.c:
12550 * gst/gsttypefind.h:
12553 2005-11-09 Wim Taymans <wim@fluendo.com>
12555 * gst/gstiterator.c:
12562 2005-11-09 Wim Taymans <wim@fluendo.com>
12568 2005-11-09 Wim Taymans <wim@fluendo.com>
12570 * docs/gst/gstreamer-sections.txt:
12571 Moved the message async delivery private lock and cond
12572 to the private section.
12574 * gst/gstmessage.c:
12575 * gst/gstmessage.h:
12578 2005-11-09 Edward Hervey <edward@fluendo.com>
12580 * docs/gst/gstreamer-sections.txt:
12583 Document GstURIHandler
12585 2005-11-09 Wim Taymans <wim@fluendo.com>
12587 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12588 (gst_iterator_find_custom):
12589 * gst/gstiterator.h:
12592 2005-11-09 Wim Taymans <wim@fluendo.com>
12595 Document another field.
12597 * gst/gststructure.c:
12598 * gst/gststructure.h:
12601 2005-11-09 Wim Taymans <wim@fluendo.com>
12604 Documented structs.
12606 2005-11-09 Wim Taymans <wim@fluendo.com>
12608 * docs/gst/gstreamer-sections.txt:
12609 Added some new macros.
12616 2005-11-09 Wim Taymans <wim@fluendo.com>
12618 * docs/design/part-TODO.txt:
12619 Some more items for the TODO
12625 2005-11-09 Andy Wingo <wingo@pobox.com>
12627 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12628 to work on something else now tho...
12630 * gst/base/gstadapter.c: More adapter docs.
12632 * gst/elements/gstfilesink.c (gst_file_sink_start)
12633 (gst_file_sink_stop): New functions, replace the state change
12635 (gst_file_sink_class_init): Hook up the start and stop functions.
12636 (gst_file_sink_base_init): Don't set the state change handler any
12637 more. It was a bit ugly too, being set from here...
12638 (gst_file_sink_get_property, gst_file_sink_set_property):
12640 (gst_file_sink_set_location): More robust check that doesn't call
12641 GST_STATE. Ugggggg.
12643 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
12645 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12646 Hold STREAM_LOCK while pushing newsegment or tag events as well.
12648 2005-11-08 Wim Taymans <wim@fluendo.com>
12650 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12651 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12652 (gst_base_sink_chain), (gst_base_sink_change_state):
12653 * gst/base/gstbasesink.h:
12654 * gst/base/gstbasesrc.h:
12655 * gst/gstelement.h:
12657 Avoid excessive typechecking in macros.
12659 * gst/gstminiobject.c: (gst_mini_object_get_type),
12660 (gst_mini_object_init), (gst_mini_object_new),
12661 (gst_mini_object_free):
12662 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12663 (gst_object_finalize):
12664 Remove cruft code, optimize alloc_trace.
12666 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
12668 * docs/faq/gst-uninstalled:
12669 fix up PS1 for systems that try to reset it
12671 2005-11-07 Wim Taymans <wim@fluendo.com>
12673 * gst/base/gstbasesrc.c: (gst_base_src_init),
12674 (gst_base_src_get_range):
12675 Set the segment_end to -1 initially. Fixed typefind.
12677 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
12679 * gst/base/gstadapter.c:
12680 Debug category should be 'adapter', not 'GstAdapter'.
12682 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12683 (gst_collectpads_class_init), (gst_collectpads_init),
12684 (gst_collectpads_peek), (gst_collectpads_pop),
12685 (gst_collectpads_event), (gst_collectpads_chain):
12686 Add debug category and some debugging output. Use boilerplate
12687 macros. Remove some extraneous words from docs.
12689 2005-11-05 Andy Wingo <wingo@pobox.com>
12691 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12694 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12696 * docs/gst/gstreamer-sections.txt:
12699 * gst/gstminiobject.h:
12704 2005-11-04 Wim Taymans <wim@fluendo.com>
12706 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12707 Small update to stop at the configured segment_end
12710 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12712 * gst/gstregistry.c:
12713 * gst/gstregistry.h:
12716 2005-11-04 Edward Hervey <edward@fluendo.com>
12718 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12719 Check if we are doing a segment seek and have arrived at the
12720 end of that segment.
12722 2005-11-04 Wim Taymans <wim@fluendo.com>
12724 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12725 Don't leak a mutex unlock in case of an error.
12730 2005-11-04 Wim Taymans <wim@fluendo.com>
12732 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12734 Get the context to wake up only once.
12736 2005-11-03 Wim Taymans <wim@fluendo.com>
12738 * check/states/sinks.c: (GST_START_TEST):
12739 Uncomment fixed check.
12741 * docs/design/part-TODO.txt:
12744 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12745 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12746 (gst_base_sink_get_position):
12747 If we are going to PLAYING, post the right pending state
12748 when we post the intermediate paused message.
12750 * gst/gstelement.c: (gst_element_continue_state),
12751 (gst_element_set_state_func), (gst_element_change_state):
12752 Don't post state changes that were between the same state
12753 and were not ASYNC.
12755 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12757 * docs/gst/gstreamer-sections.txt:
12760 * gst/gstminiobject.h:
12763 more docs and doc style fixes
12765 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12767 * docs/gst/gstreamer-sections.txt:
12768 * gst/gstelement.c:
12769 * gst/gstminiobject.c:
12772 2005-11-03 Andy Wingo <wingo@pobox.com>
12774 * check/states/sinks.c (test_livesrc_sink): Add checks that the
12775 state-changed messages actually have the right order and the right
12778 2005-11-03 Wim Taymans <wim@fluendo.com>
12780 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12781 Added some more checks. Specifically the case where NO_PREROLL
12782 elements are in the pipeline.
12784 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12785 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12786 (gst_base_sink_get_position):
12787 Post READY->PAUSED state change messages too.
12788 Fix bug where VOID was posted as pending state...
12790 * gst/gstbin.c: (gst_bin_recalc_state):
12791 use _element_continue_state() to continue the state change.
12793 * gst/gstelement.c: (gst_element_continue_state),
12794 (gst_element_commit_state), (gst_element_set_state_func),
12795 (gst_element_change_state), (gst_element_change_state_func):
12796 Lots of state change cleanups, assign the STATE_RETURN in
12797 a new continue_state() function that also propagates the
12798 last return value from a state change to the app.
12799 Update some debug statements with proper category.
12801 2005-11-03 Wim Taymans <wim@fluendo.com>
12803 * docs/design/part-events.txt:
12804 * docs/design/part-gstpipeline.txt:
12805 * docs/design/part-messages.txt:
12806 * docs/design/part-overview.txt:
12807 * docs/design/part-seeking.txt:
12808 * docs/design/part-states.txt:
12809 * docs/design/part-trickmodes.txt:
12810 * docs/manual/advanced-position.xml:
12811 Small docs updates.
12814 People think !! is ugly, this looks better.
12816 * gst/gstpad.c: (gst_pad_set_blocked_async):
12817 Remove !! since it's fixed elsewhere now.
12819 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12821 * gst/gstminiobject.h:
12823 Add !! to _FLAG_IS_SET macros to make the result boolean.
12825 2005-11-03 Edward Hervey <edward@fluendo.com>
12827 * gst/gstpad.c: (gst_pad_set_blocked_async):
12828 comparing a flag and a gboolean rarely returns coherent results...
12829 Added two characters (!!) to make that work correctly.
12831 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12833 * gst/gstbus.c: (gst_bus_class_init):
12836 * gst/gstqueue.c: (gst_queue_loop):
12837 Don't assume a miniobject that isn't a buffer is an
12838 event (it could be that there is a refcounting
12839 problem somewhere and the pointer is stale and
12840 refers to an already destroyed miniobject).
12842 2005-11-03 Julien MOUTTE <julien@moutte.net>
12844 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12846 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12848 * docs/manual/advanced-position.xml:
12849 Update seek example and explanations to current 0.9 API.
12851 * gst/elements/gsttypefindelement.c:
12852 (gst_type_find_element_activate):
12853 Remove FIXME comment now that the found caps
12856 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
12858 * gst/gstregistryxml.c: (load_feature):
12859 Add another GST_STR_NULL instance
12861 2005-11-02 Edward Hervey <edward@fluendo.com>
12863 * gst/gstpad.c: (handle_pad_block):
12864 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12866 2005-11-02 Wim Taymans <wim@fluendo.com>
12871 * gst/gstelement.c: (gst_element_commit_state):
12872 Remove unused value.
12874 * gst/gstiterator.c:
12875 Mention that the returned element is reffed in the docs.
12877 2005-11-02 Wim Taymans <wim@fluendo.com>
12879 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12880 (gst_pad_push), (gst_pad_push_event):
12881 Unlock blocked pads when they are flushed.
12883 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12886 * docs/gst/gstreamer-sections.txt:
12889 * gst/gstregistry.c: (gst_registry_scan_path_level):
12890 fix for a nasty little missed situation where an installed plug-in
12891 which was in the cache did not get overridden by an uninstalled one
12892 which was earlier in the plugin path because the newly created plugin
12893 for the uninstalled one (not in the registry) didn't get its
12894 ->registered set to TRUE
12896 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12898 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12899 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12900 (gst_collectpads_is_active), (gst_collectpads_collect),
12901 (gst_collectpads_collect_range), (gst_collectpads_start),
12902 (gst_collectpads_stop), (gst_collectpads_peek),
12903 (gst_collectpads_pop), (gst_collectpads_available),
12904 (gst_collectpads_read), (gst_collectpads_flush):
12905 Guard public API with assertions.
12908 Fix docs for gst_pad_set_link_function().
12910 2005-11-02 Johan Dahlin <johan@gnome.org>
12912 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
12913 Unref found_caps after we used it.
12915 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12917 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12918 Don't try to ref NULL.
12920 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12922 * win32/common/config.h.in:
12923 provide a GST_FUNCTION that just gives a string for now
12925 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12927 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12928 (gst_object_flags_get_type), (register_gst_bin_flags),
12929 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12930 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12931 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12932 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
12933 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12934 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12935 (gst_clock_flags_get_type), (register_gst_state),
12936 (gst_state_get_type), (register_gst_state_change_return),
12937 (gst_state_change_return_get_type), (register_gst_state_change),
12938 (gst_state_change_get_type), (register_gst_element_flags),
12939 (gst_element_flags_get_type), (register_gst_core_error),
12940 (gst_core_error_get_type), (register_gst_library_error),
12941 (gst_library_error_get_type), (register_gst_resource_error),
12942 (gst_resource_error_get_type), (register_gst_stream_error),
12943 (gst_stream_error_get_type), (register_gst_event_type),
12944 (gst_event_type_get_type), (register_gst_seek_type),
12945 (gst_seek_type_get_type), (register_gst_seek_flags),
12946 (gst_seek_flags_get_type), (register_gst_format),
12947 (gst_format_get_type), (register_gst_index_certainty),
12948 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12949 (gst_index_entry_type_get_type),
12950 (register_gst_index_lookup_method),
12951 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12952 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12953 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12954 (gst_index_flags_get_type), (register_gst_debug_level),
12955 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12956 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12957 (gst_iterator_result_get_type), (register_gst_iterator_item),
12958 (gst_iterator_item_get_type), (register_gst_message_type),
12959 (gst_message_type_get_type), (register_gst_mini_object_flags),
12960 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12961 (gst_pad_link_return_get_type), (register_gst_flow_return),
12962 (gst_flow_return_get_type), (register_gst_activate_mode),
12963 (gst_activate_mode_get_type), (register_gst_pad_direction),
12964 (gst_pad_direction_get_type), (register_gst_pad_flags),
12965 (gst_pad_flags_get_type), (register_gst_pad_presence),
12966 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12967 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12968 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12969 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12970 (gst_plugin_flags_get_type), (register_gst_rank),
12971 (gst_rank_get_type), (register_gst_query_type),
12972 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12973 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12974 (gst_tag_flag_get_type), (register_gst_task_state),
12975 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12976 (gst_alloc_trace_flags_get_type),
12977 (register_gst_type_find_probability),
12978 (gst_type_find_probability_get_type), (register_gst_uri_type),
12979 (gst_uri_type_get_type), (register_gst_parse_error),
12980 (gst_parse_error_get_type):
12981 * win32/common/gstversion.h:
12982 update win32 copies
12984 2005-11-01 Luca Ognibene <luogni@tin.it>
12987 fix docs. popt is dead, long live GOption.
12989 2005-10-31 Wim Taymans <wim@fluendo.com>
12994 2005-10-31 Andy Wingo <wingo@pobox.com>
12998 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
13000 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
13001 need to serialize property notifications on GLib 2.8. GLib 2.6 has
13002 the possibility of deadlocks here if code calling notify() or
13003 set() has a lock that can be taken in another notify handler (ABBA
13004 with class lock and e.g. python GIL state lock).
13006 2005-10-28 Julien MOUTTE <julien@moutte.net>
13008 * gst/gstbus.c: Doc updates.
13010 2005-10-28 Wim Taymans <wim@fluendo.com>
13012 * docs/design/part-TODO.txt:
13013 * gst/gstiterator.c:
13014 * gst/gstsystemclock.c:
13015 * gst/gstsystemclock.h:
13018 2005-10-28 Edward Hervey <edward@fluendo.com>
13020 * docs/gst/gstreamer-docs.sgml:
13021 * docs/gst/gstreamer-sections.txt:
13022 the GstURIType documentation page is private, it only defines GstURIType
13023 which should be defined in the GstURIHandler page
13025 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
13027 * gst/gstbin.c: (gst_bin_class_init):
13030 Documentation updates.
13032 2005-10-28 Wim Taymans <wim@fluendo.com>
13034 * docs/gst/gstreamer-sections.txt:
13037 Documented the clocks.
13039 2005-10-28 Stefan Kost <ensonic@users.sf.net>
13041 * docs/gst/gstreamer-sections.txt:
13042 move some macros to private sections
13043 * gst/gstminiobject.c:
13044 * gst/gstminiobject.h:
13045 add descriptions provided by ds and some more
13047 mark macro as to be removed
13049 2005-10-28 Wim Taymans <wim@fluendo.com>
13051 * docs/design/part-TODO.txt:
13052 Add an item to TODO.
13054 * gst/gstiterator.c: (gst_iterator_fold),
13055 (gst_iterator_find_custom):
13056 * gst/gstiterator.h:
13059 2005-10-28 Wim Taymans <wim@fluendo.com>
13061 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13062 (gst_base_transform_init):
13065 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
13066 An EOS event marks the queue as completely filled.
13068 2005-10-27 Wim Taymans <wim@fluendo.com>
13070 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13071 (gst_base_sink_do_sync), (gst_base_sink_get_position):
13072 Some more debugging.
13074 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
13075 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
13076 (gst_base_transform_event), (gst_base_transform_getrange),
13077 (gst_base_transform_chain):
13078 * gst/base/gstbasetransform.h:
13080 Protect transform and concurrent buffer alloc with a new lock.
13081 Try not to break ABI/API.
13083 2005-10-27 Wim Taymans <wim@fluendo.com>
13085 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13086 (gst_base_src_init), (gst_base_src_query),
13087 (gst_base_src_default_newsegment),
13088 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13089 (gst_base_src_send_event), (gst_base_src_event_handler),
13090 (gst_base_src_pad_get_range), (gst_base_src_loop),
13091 (gst_base_src_unlock), (gst_base_src_default_negotiate),
13092 (gst_base_src_start), (gst_base_src_deactivate),
13093 (gst_base_src_activate_push), (gst_base_src_change_state):
13094 Move some stuff around and cleanup things.
13096 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
13098 * gst/base/gstbasesrc.c: (gst_base_src_query):
13099 Add missing break statements.
13101 2005-10-27 Wim Taymans <wim@fluendo.com>
13103 * check/gst/gstbin.c: (GST_START_TEST):
13104 An extra refcount is taken in basesrc.
13106 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13107 (gst_base_src_get_range), (gst_base_src_pad_get_range),
13108 (gst_base_src_loop):
13109 Small cleanups, check for flushing after being unlocked from the
13110 LIVE_LOCK. take refcounts correctly (not yet everywhere).
13111 Don't send out EOS when going to READY.
13113 2005-10-27 Wim Taymans <wim@fluendo.com>
13115 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13116 (gst_base_sink_get_position):
13119 * gst/gstbin.c: (message_check), (bin_replace_message),
13120 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13121 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13122 (bin_query_duration_init), (bin_query_duration_fold),
13123 (bin_query_duration_done), (bin_query_generic_fold),
13125 * tools/gst-launch.c: (main):
13128 2005-10-26 Stefan Kost <ensonic@users.sf.net>
13130 * examples/controller/audio-example.c: (main):
13131 * examples/queue/queue.c: (event_loop):
13132 * gst/base/gstbasetransform.h:
13133 * gst/gstelement.c: (gst_element_send_event):
13135 * gst/gstpad.c: (gst_pad_send_event):
13138 changing log priority in error situations
13140 2005-10-25 Wim Taymans <wim@fluendo.com>
13142 * gst/gstbin.c: (message_check), (bin_replace_message),
13143 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13144 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13145 (bin_query_duration_init), (bin_query_duration_fold),
13146 (bin_query_duration_done), (bin_query_generic_fold),
13148 Some doc and debug updates.
13149 Cache previously requested query DURATION for speed. invalidate
13150 cached duration if element posts a DURATION message.
13152 2005-10-25 Wim Taymans <wim@fluendo.com>
13154 * docs/design/part-TODO.txt:
13157 * gst/gstbin.c: (message_check), (bin_replace_message),
13158 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13159 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13160 (bin_query_duration_init), (bin_query_duration_fold),
13161 (bin_query_duration_done), (bin_query_generic_fold),
13163 Handle SEGMENT_START/DONE messages correctly.
13164 More evolved query algorithm that handles duration queries
13167 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13168 (gst_element_get_state_func), (gst_element_abort_state),
13169 (gst_element_commit_state), (gst_element_lost_state):
13170 Some more debugging.
13172 * gst/gstmessage.h:
13175 2005-10-25 Wim Taymans <wim@fluendo.com>
13177 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13178 Don't use invalid stream_time.
13180 * gst/gstevent.c: (gst_event_new_newsegment):
13181 stream_time in newsegment cannot be undefined.
13183 2005-10-24 Wim Taymans <wim@fluendo.com>
13188 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13190 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13192 2005-10-24 Stefan Kost <ensonic@users.sf.net>
13194 * docs/libs/tmpl/gstdparam.sgml:
13195 * docs/libs/tmpl/gstdplinint.sgml:
13196 * docs/libs/tmpl/gstdpman.sgml:
13197 * docs/libs/tmpl/gstdpsmooth.sgml:
13198 * docs/libs/tmpl/gstunitconvert.sgml:
13201 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
13206 === release 0.9.4 ===
13208 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13211 releasing 0.9.4, "Tyrannosaurus Rex"
13213 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
13215 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13216 (gst_file_sink_get_current_offset):
13217 Use fseeko() and ftello() if available. When falling back on
13218 lseek() to get the current offset, fflush() first to make sure
13219 everything is up-to-date and we get the right offset.
13221 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13223 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13224 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13225 * gst/gsterror.c: (_gst_stream_errors_init):
13227 * gst/gstqueue.c: (gst_queue_loop):
13229 remove prematurely added error category and clean up the instances
13231 2005-10-21 Wim Taymans <wim@fluendo.com>
13233 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13234 (gst_base_sink_get_position), (gst_base_sink_query),
13235 (gst_base_sink_change_state):
13236 Simply set the right flag when going to playing, that's all
13237 we need to do instead of calling a function inside the object
13238 lock (that could take the lock as well and deadlock)
13240 2005-10-21 Wim Taymans <wim@fluendo.com>
13242 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13243 (gst_base_src_loop):
13244 Don't warn, the peer element knows what to do best when
13245 the seek failed, it might try something else.
13247 2005-10-21 Wim Taymans <wim@fluendo.com>
13249 * gst/base/gstbasesrc.c: (gst_base_src_init),
13250 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13253 2005-10-21 Wim Taymans <wim@fluendo.com>
13255 * docs/design/part-segments.txt:
13258 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13259 Correctly set caps, even on the subbufer.
13261 2005-10-21 Wim Taymans <wim@fluendo.com>
13263 * docs/gst/gstreamer-docs.sgml:
13264 * docs/gst/gstreamer-sections.txt:
13265 * gst/gstelement.h:
13268 * gst/gstmessage.h:
13271 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13275 And 2% more doc coverage.
13277 2005-10-21 Andy Wingo <wingo@pobox.com>
13279 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13280 position reporting.
13282 2005-10-20 Wim Taymans <wim@fluendo.com>
13284 * gst/gsterror.c: (gst_error_get_message):
13287 * gst/gststructure.c:
13292 2005-10-20 Wim Taymans <wim@fluendo.com>
13297 Another 1% more coverage.
13299 2005-10-20 Wim Taymans <wim@fluendo.com>
13301 * docs/gst/gstreamer-sections.txt:
13302 * gst/gstelement.c: (gst_element_get_state_func),
13303 (gst_element_abort_state), (gst_element_commit_state),
13304 (gst_element_lost_state):
13306 * gst/gstquery.c: (gst_query_set_position),
13307 (gst_query_parse_position), (gst_query_set_duration),
13308 (gst_query_parse_duration), (gst_query_new_convert):
13310 Yay! 1% more docs coverage.
13312 2005-10-20 Wim Taymans <wim@fluendo.com>
13315 * gst/gstquery.c: (gst_query_set_position),
13316 (gst_query_parse_position), (gst_query_set_duration),
13317 (gst_query_parse_duration), (gst_query_new_convert):
13319 * gst/gstutils.c: (gst_element_query_convert):
13321 Docs and consistency fixes.
13323 2005-10-20 Wim Taymans <wim@fluendo.com>
13329 2005-10-20 Wim Taymans <wim@fluendo.com>
13331 * gst/gstbin.c: (message_check), (bin_replace_message),
13332 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13333 (update_degree), (gst_bin_sort_iterator_next),
13334 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13335 Reworked the message handling a bit, cache the messages instead of
13336 only the senders. alows us to do more in the future.
13338 2005-10-20 Wim Taymans <wim@fluendo.com>
13340 * docs/design/part-TODO.txt:
13343 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13344 (gst_base_sink_query):
13345 Don't use clock time to report position when in EOS.
13347 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
13349 * tools/gst-inspect.c: (print_interfaces),
13350 (print_element_properties_info), (print_element_info):
13351 Fix interface output with gst-inspect -a; don't print
13352 newlines after double/float properties.
13354 2005-10-20 Wim Taymans <wim@fluendo.com>
13356 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13357 (gst_base_sink_query):
13358 Speed up current position calculation.
13360 * gst/base/gstbasesrc.c: (gst_base_src_query),
13361 (gst_base_src_default_newsegment):
13362 Correctly set stream position in newsegment.
13364 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13365 (update_degree), (gst_bin_sort_iterator_next),
13366 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13367 * gst/gstmessage.c: (gst_message_new_custom):
13368 Clean up debugging info
13370 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13371 (gst_queue_loop), (gst_queue_handle_src_query):
13374 2005-10-19 Wim Taymans <wim@fluendo.com>
13376 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13377 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13378 Fix query handling again.
13380 2005-10-19 Wim Taymans <wim@fluendo.com>
13382 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13383 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13384 * gst/base/gstbasesrc.c: (gst_base_src_query):
13385 * gst/elements/gstfilesink.c: (gst_file_sink_query):
13386 * gst/elements/gsttypefindelement.c:
13387 (gst_type_find_handle_src_query), (find_element_get_length),
13388 (gst_type_find_element_activate):
13391 * gst/gstquery.c: (gst_query_new_position),
13392 (gst_query_set_position), (gst_query_parse_position),
13393 (gst_query_new_duration), (gst_query_set_duration),
13394 (gst_query_parse_duration), (gst_query_set_segment),
13395 (gst_query_parse_segment):
13397 Bundling query position/duration is not a good idea since duration
13398 does not change much and we don't want to recalculate it for every
13399 position query, so they are separated again..
13400 Base value in segment query is not needed.
13402 * gst/gstqueue.c: (gst_queue_handle_src_query):
13403 * gst/gstutils.c: (gst_element_query_position),
13404 (gst_element_query_duration), (gst_pad_query_position),
13405 (gst_pad_query_duration):
13407 Updates for query API change.
13408 Added some docs here and there.
13410 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
13412 * check/gst/gstbin.c: (GST_START_TEST):
13413 * check/gst/gstghostpad.c: (GST_START_TEST):
13414 * check/pipelines/cleanup.c: (GST_START_TEST):
13415 wait on thread to die so we can check refcount correctly
13417 2005-10-18 Wim Taymans <wim@fluendo.com>
13419 * check/pipelines/stress.c: (GST_START_TEST):
13420 Make check a little more time consuming.
13422 2005-10-18 Wim Taymans <wim@fluendo.com>
13424 * check/Makefile.am:
13425 * check/pipelines/stress.c: (GST_START_TEST),
13426 (simple_launch_lines_suite), (main):
13427 Small state change torture test.
13429 * docs/design/part-states.txt:
13430 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13431 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13432 (gst_base_sink_change_state):
13433 Never take state lock from streaming thread, clean up ugly
13434 hacks. Unfortunatly core does not yet support nice ways to
13435 async commit state.
13437 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13439 Start state recalc if a STATE_DIRTY message is posted, but only
13440 on the toplevel bin.
13442 * gst/gstelement.c: (gst_element_sync_state_with_parent),
13443 (gst_element_get_state_func), (gst_element_abort_state),
13444 (gst_element_commit_state), (gst_element_lost_state),
13445 (gst_element_set_state_func), (gst_element_change_state):
13446 * gst/gstelement.h:
13447 State variables are now protected with the LOCK, the state
13448 lock is only used to serialize _set_state().
13450 2005-10-18 Wim Taymans <wim@fluendo.com>
13452 * check/gst/gstbin.c: (GST_START_TEST):
13453 * check/gst/gstmessage.c: (GST_START_TEST):
13454 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13455 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13457 * gst/gstelement.c: (gst_element_abort_state),
13458 (gst_element_commit_state), (gst_element_lost_state):
13459 * gst/gstmessage.c: (gst_message_new_state_changed),
13460 (gst_message_new_state_dirty), (gst_message_new_segment_start),
13461 (gst_message_new_segment_done), (gst_message_new_duration),
13462 (gst_message_parse_state_changed),
13463 (gst_message_parse_segment_start),
13464 (gst_message_parse_segment_done), (gst_message_parse_duration):
13465 * gst/gstmessage.h:
13466 * tools/gst-launch.c: (event_loop):
13467 Seriously, this is better than a previous commit as we only need
13468 to notify the fact that an element changed state in a streaming
13469 thread, marking the state of the parents dirty, hence the
13470 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13473 2005-10-18 Wim Taymans <wim@fluendo.com>
13475 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13476 (gst_bin_recalc_func):
13477 * gst/gstelement.c: (gst_element_set_clock),
13478 (gst_element_abort_state), (gst_element_lost_state):
13479 Cleanups, prepare for state change fixes.
13481 2005-10-18 Wim Taymans <wim@fluendo.com>
13484 * gst/gstelement.c: (gst_element_class_init),
13485 (gst_element_set_state), (gst_element_set_state_func):
13486 * gst/gstelement.h:
13487 Pending ABI changes.
13488 GThreadPool in GstBinClass to monitor async state changes.
13489 state_cookie in GstElement to detect concurrent gst/set state.
13490 set_state is now virtual too in case a very complicated element
13491 has to be constructed.
13493 2005-10-18 Wim Taymans <wim@fluendo.com>
13495 * check/gst/gstbin.c: (GST_START_TEST):
13496 * check/gst/gstmessage.c: (GST_START_TEST):
13497 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13498 * gst/gstbin.c: (bin_bus_handler):
13499 * gst/gstelement.c: (gst_element_commit_state),
13500 (gst_element_lost_state):
13501 * gst/gstmessage.c: (gst_message_new_state_changed),
13502 (gst_message_new_segment_start), (gst_message_new_segment_done),
13503 (gst_message_new_duration), (gst_message_parse_state_changed),
13504 (gst_message_parse_segment_start),
13505 (gst_message_parse_segment_done), (gst_message_parse_duration):
13506 * gst/gstmessage.h:
13507 * tools/gst-launch.c: (event_loop):
13508 Make messages future proof.
13509 state-change gets a flag if it was a message comming from the
13511 segment-start/stop can also be specified in other formats.
13512 A message to notify an app that a pipeline changed playback
13514 Also fix a GstMessage leak in -launch
13516 2005-10-18 Andy Wingo <wingo@pobox.com>
13518 * gst/gstelement.c (gst_element_dispose): More helpful message.
13520 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13522 reviewed by: <delete if not using a buddy>
13524 * common/gtk-doc.mak:
13526 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13528 * gst/gstregistry.c: (gst_registry_scan_path_level):
13529 unref a plug-in we get that was already initialized
13531 2005-10-18 Stefan Kost <ensonic@users.sf.net>
13533 * docs/gst/gstreamer-sections.txt:
13534 * docs/libs/gstreamer-libs-sections.txt:
13535 * gst/gstelement.h:
13536 add new api entries
13537 hide internal macro
13539 2005-10-17 Andy Wingo <wingo@pobox.com>
13541 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13544 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13546 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13548 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13549 (gst_element_get_state_func): Better debug message.
13550 (gst_element_commit_state): s/INFO/DEBUG/.
13551 (gst_element_lost_state, gst_element_change_state):
13553 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13554 (gst_message_new_custom): s/INFO/LOG/.
13556 2005-10-17 Michael Smith <msmith@fluendo.com>
13558 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13559 Check if end time is valid using end time, not start time.
13561 2005-10-17 Stefan Kost <ensonic@users.sf.net>
13563 * check/gst-libs/controller.c: (GST_START_TEST),
13564 (gst_controller_suite):
13565 * libs/gst/controller/gstcontroller.c:
13566 (gst_controlled_property_set_interpolation_mode):
13567 * libs/gst/controller/gstcontroller.h:
13568 * libs/gst/controller/gstinterpolation.c:
13569 * testsuite/controller/.cvsignore:
13570 * testsuite/controller/Makefile.am:
13571 * testsuite/controller/interpolator.c:
13572 merge controller testsuites
13574 remove mem-chunk from docs
13576 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13578 * gst/gstmemchunk.c:
13579 * gst/gstmemchunk.h:
13580 * gst/gsttrashstack.c:
13581 * gst/gsttrashstack.h:
13582 out. get out. you're fired. to the Attic !
13584 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13586 * gst/gstcaps.c: (gst_caps_intersect):
13587 fix signedness issues in a (hopefully) correct way
13588 * gst/gstelement.c: (gst_element_pads_activate):
13590 * gst/gstobject.c: (gst_object_set_parent):
13593 2005-10-17 Julien MOUTTE <julien@moutte.net>
13595 * gst/gstvalue.h: Fix prototypes.
13597 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13599 * docs/gst/gstreamer-sections.txt:
13600 * gst/gst.c: (gst_version_string):
13602 * gst/gstversion.h.in:
13603 * win32/common/libgstreamer.def:
13604 add gst_version_string ()
13606 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13610 * gst/gst.c: (init_post):
13611 * win32/common/config.h.in:
13613 * gst/gstcaps.c: (gst_caps_intersect):
13614 use gint64, the range could be bigger than a guint
13616 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13619 document potential problem in 2038
13621 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13623 * gst/gstcaps.c: (gst_caps_intersect):
13624 Fix guint j diving under 0
13626 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13629 * win32/common/config.h:
13630 * win32/common/config.h.in:
13631 check for process.h, declares getpid() on Windows
13633 include process.h if we have it
13634 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13635 * gst/gstmemchunk.h:
13636 fix signedness issues
13637 * win32/common/libgstreamer.def:
13640 2005-10-16 Julien MOUTTE <julien@moutte.net>
13642 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13643 fix. Because of unsigned ints, caps intersection was going nuts and
13644 trying to access structures with G_MAXUINT index. That fixes
13645 videotestsrc ! ffmpegcolorspace ! fakesink
13646 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13649 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13652 use the gettext macro
13653 * gst/elements/gstelements.c:
13655 * gst/indexers/gstindexers.c:
13656 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13657 * win32/common/config.h:
13659 * win32/common/config.h.in:
13660 add the template to generate config.h
13661 * win32/common/gstenumtypes.c:
13662 * win32/common/gstversion.h:
13665 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13667 * gst/gst.c: (gst_version):
13668 * gst/gstversion.h.in:
13671 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13674 Oops, add missing closing bracket.
13676 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13679 use common m4's for argument checking
13681 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13683 * docs/gst/gstreamer-sections.txt:
13685 Add GST_EVENT_TYPE_NAME() macro.
13687 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13690 * gst/gstpluginfeature.c:
13692 privatize more symbols
13694 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13697 add srcdir, builddir includes to GST_ALL_CFLAGS, since
13698 everything that uses GStreamer API should have the includes
13700 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13702 * docs/gst/gstreamer-sections.txt:
13703 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13705 give each value a _get_type, removes the DATA exports
13707 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13711 remove _gst_registry_auto_load, not used anymore
13712 * gst/gstbin.c: (gst_bin_get_type):
13714 * gst/gstelement.c: (gst_element_get_type):
13715 * gst/gstelement.h:
13716 * gst/gstobject.c: (gst_object_get_type):
13718 * gst/gstpad.c: (gst_pad_get_type):
13720 make _get_type functions similar, fixes data export from library
13722 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13725 correctly make conditionals
13726 * gst/elements/Makefile.am:
13727 * gst/elements/gstelements.c:
13728 fix typo causing fdsrc not to build
13730 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13732 * testsuite/Makefile.am:
13733 * testsuite/bytestream/.cvsignore:
13734 * testsuite/bytestream/Makefile.am:
13735 * testsuite/bytestream/filepadsink.c:
13736 * testsuite/bytestream/gstbstest.c:
13737 * testsuite/bytestream/test1.c:
13738 * testsuite/bytestream/testfile1:
13739 * testsuite/caps/normalisation.c:
13740 * testsuite/caps/random.c: (main):
13741 * testsuite/cleanup/.cvsignore:
13742 * testsuite/cleanup/Makefile.am:
13743 * testsuite/cleanup/cleanup1.c:
13744 * testsuite/cleanup/cleanup2.c:
13745 * testsuite/cleanup/cleanup3.c:
13746 * testsuite/cleanup/cleanup4.c:
13747 * testsuite/cleanup/cleanup5.c:
13748 * testsuite/controller/interpolator.c:
13749 * testsuite/debug/printf_extension.c: (main):
13750 * testsuite/elements/tee.c:
13751 * testsuite/negotiation/.cvsignore:
13752 * testsuite/negotiation/Makefile.am:
13753 * testsuite/negotiation/pad_link.c:
13754 * testsuite/pad/Makefile.am:
13755 * testsuite/pad/chainnopull.c:
13756 * testsuite/pad/getnopush.c:
13757 * testsuite/pad/link.c:
13758 * testsuite/refcounting/sched.c: (create_pipeline):
13759 * testsuite/registry/Makefile.am:
13760 * testsuite/registry/gst-print-formats.c:
13761 * testsuite/schedulers/.cvsignore:
13762 * testsuite/schedulers/142183-2.c:
13763 * testsuite/schedulers/142183.c:
13764 * testsuite/schedulers/143777-2.c:
13765 * testsuite/schedulers/143777.c:
13766 * testsuite/schedulers/147713.c:
13767 * testsuite/schedulers/147819.c:
13768 * testsuite/schedulers/147894-2.c:
13769 * testsuite/schedulers/147894.c:
13770 * testsuite/schedulers/Makefile.am:
13771 * testsuite/schedulers/group_link.c:
13772 * testsuite/schedulers/queue_link.c:
13773 * testsuite/schedulers/relink.c:
13774 * testsuite/schedulers/unlink.c:
13775 * testsuite/schedulers/unref.c:
13776 * testsuite/schedulers/useless_iteration.c:
13777 * testsuite/states/bin.c:
13778 clean out/remove some stuff from the testsuite directories
13780 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13783 check for some headers
13784 * gst/elements/Makefile.am:
13785 * gst/elements/gstelements.c:
13786 don't compile fdsrc without sys/socket.h
13787 * gst/indexers/Makefile.am:
13788 * gst/indexers/gstindexers.c: (plugin_init):
13789 don't compile fileindex without mmap
13791 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13798 * check/Makefile.am:
13799 * docs/gst/Makefile.am:
13800 * examples/helloworld/Makefile.am:
13802 * gst/base/Makefile.am:
13803 * gst/check/Makefile.am:
13804 * gst/elements/Makefile.am:
13805 * gst/indexers/Makefile.am:
13806 * gst/parse/Makefile.am:
13807 * libs/gst/controller/Makefile.am:
13808 * libs/gst/dataprotocol/Makefile.am:
13809 * examples/helloworld/helloworld.c: (event_loop):
13810 compile fixes, though it's not being compiled currently
13812 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13814 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13815 Add some simple tests for the new taglist date API.
13817 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13819 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13820 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13821 Beautify 'last-message' output: print 'none' for buffer timestamps
13822 and durations if none is set; improve alignment with next messages.
13824 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13826 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13827 * gst/gstpluginfeature.h:
13828 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13829 * gst/gstregistry.h:
13830 * docs/gst/gstreamer-sections.txt:
13831 Add new API to check plugin feature version requirements.
13833 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13834 Some basic tests for the above.
13836 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13838 * gst/gststructure.c: (gst_structure_to_string):
13839 guard against NULL printf - happens when for example
13840 a message structure with GstClock gets serialized
13842 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13844 * gst/base/gstcollectpads.c: (gst_collectpads_event):
13845 Fix presumable copy'n'pasto.
13847 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13849 * gst/elements/gstfakesrc.h:
13850 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13851 * gst/elements/gsttypefindelement.c:
13852 fix some signedness
13853 * gst/elements/gstfilesink.c: (gst_file_sink_render):
13854 I wonder if this could actually write +2GB files before
13856 2005-10-13 Andy Wingo <wingo@pobox.com>
13858 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13859 Fix Timmeke Waymans bug.
13860 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13861 string of the proper length to gst_caps_from_string. There's a
13862 potential for, before this fix, that this could cause someone
13863 connecting over the network to cause a segfault if the payload is
13864 not NUL-terminated.
13866 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13868 * docs/design/draft-push-pull.txt:
13869 * docs/design/part-overview.txt:
13870 * docs/random/TODO-pre-0.9:
13871 * docs/random/old/ChangeLog.gstreamer:
13872 * gst/base/gstpushsrc.c:
13876 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13878 * gst/glib-compat.c: (gst_flags_get_first_value):
13879 * gst/glib-compat.h:
13880 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13881 (gst_value_compare_double), (gst_value_serialize_flags):
13882 GLib 2.6 g_flags_get_first_value has a bug that triggers an
13885 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13887 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13888 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13890 * tools/gst-launch.c: (event_loop):
13891 print out clock nicely
13893 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13895 * docs/gst/gstreamer-sections.txt:
13896 * gst/gsttaglist.h:
13897 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13898 (gst_tag_list_get_date_index):
13899 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13900 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13902 2005-10-13 Julien MOUTTE <julien@moutte.net>
13904 * gst/base/gstcollectpads.c: (gst_collectpads_event),
13905 (gst_collectpads_chain):
13906 * gst/base/gstcollectpads.h: Handle newsegment and store informations
13909 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13911 * docs/gst/gstreamer-sections.txt:
13914 * tools/gst-inspect.c: (main):
13915 * tools/gst-launch.c: (main):
13916 * tools/gst-run.c: (main):
13917 * tools/gst-xmlinspect.c: (main):
13918 fix GOption context leaks
13921 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13925 * win32/common/config.h:
13927 * win32/vs6/grammar.dsp:
13928 * win32/vs6/libgstelements.dsp:
13929 * win32/vs6/libgstreamer.dsp:
13932 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13934 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13935 * gst/base/gstbasesrc.c: (gst_base_src_query):
13936 fix more guint64<->gdouble conversions
13938 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13941 add win32-update target
13942 * win32/common/gstconfig.h:
13943 * win32/common/gstenumtypes.c:
13944 * win32/common/gstenumtypes.h:
13945 * win32/common/gstversion.h:
13946 add files that visual studio can't generate
13948 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13951 add a win32-update target
13954 2005-10-12 Wim Taymans <wim@fluendo.com>
13956 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13957 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
13958 * gst/gstelement.c: (gst_element_commit_state),
13959 (gst_element_set_state):
13960 Protect flags with proper lock.
13961 unref provided cached clock in dispose.
13963 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13966 * gst/gstminiobject.h:
13968 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
13969 removed unused flags from miniobject
13972 2005-10-12 Wim Taymans <wim@fluendo.com>
13974 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13975 (gst_file_sink_event), (gst_file_sink_render):
13976 Flush before seeking.
13978 2005-10-12 Andy Wingo <wingo@pobox.com>
13980 * gst/gst.c (gst_init_check): Ignore unknown options, as has
13981 always been the case.
13983 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13985 * check/gst/gstbin.c: (GST_START_TEST):
13986 * docs/gst/gstreamer-sections.txt:
13987 * gst/base/gstbasesink.c: (gst_base_sink_init):
13988 * gst/base/gstbasesrc.c: (gst_base_src_init),
13989 (gst_base_src_get_range), (gst_base_src_check_get_range),
13990 (gst_base_src_start), (gst_base_src_stop):
13991 * gst/base/gstbasesrc.h:
13992 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
13993 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13994 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
13998 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
14000 * gst/gstelement.c: (gst_element_is_locked_state),
14001 (gst_element_set_locked_state), (gst_element_commit_state),
14002 (gst_element_set_state):
14003 * gst/gstelement.h:
14004 * gst/gstindex.c: (gst_index_init):
14006 * gst/gstminiobject.h:
14007 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
14008 (gst_object_set_parent):
14010 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
14011 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
14013 * gst/gstpadtemplate.h:
14014 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
14015 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14016 * gst/gstpipeline.h:
14017 * gst/indexers/gstfileindex.c: (gst_file_index_load),
14018 (gst_file_index_commit):
14019 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
14020 * testsuite/pad/link.c: (gst_test_src_init),
14021 (gst_test_filter_init), (gst_test_sink_init):
14022 * testsuite/states/locked.c: (main):
14023 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
14024 moved bitshift from macro to enum definition
14026 2005-10-12 Wim Taymans <wim@fluendo.com>
14028 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
14029 * gst/elements/gstfilesink.c: (gst_file_sink_event),
14030 (gst_file_sink_render):
14031 Some more debugging info.
14033 2005-10-12 Wim Taymans <wim@fluendo.com>
14035 * docs/design/part-states.txt:
14036 * tools/gst-launch.c: (main):
14038 Revert non-intentional change.
14040 2005-10-12 Wim Taymans <wim@fluendo.com>
14042 * check/gst/gstbin.c: (GST_START_TEST):
14043 * check/gst/gstelement.c: (GST_START_TEST):
14044 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
14045 * check/gst/gstghostpad.c: (GST_START_TEST):
14046 * check/gst/gstpipeline.c: (GST_START_TEST):
14047 * check/pipelines/simple_launch_lines.c: (run_pipeline):
14048 * check/states/sinks.c: (GST_START_TEST):
14049 * gst/elements/gsttypefindelement.c: (stop_typefinding):
14050 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14051 (gst_bin_remove_func), (gst_bin_get_state_func),
14052 (gst_bin_recalc_state), (gst_bin_change_state_func),
14054 * gst/gstelement.c: (gst_element_get_state_func),
14055 (gst_element_get_state), (gst_element_abort_state),
14056 (gst_element_commit_state), (gst_element_set_state),
14057 (gst_element_change_state), (gst_element_change_state_func):
14058 * gst/gstelement.h:
14059 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
14060 (gst_pipeline_provide_clock_func):
14061 * gst/gstutils.c: (gst_element_link_pads_filtered):
14062 * tools/gst-launch.c: (main):
14063 * tools/gst-typefind.c: (main):
14064 Use GstClockTime in _get_state() instead of GTimeVal.
14065 Remove old code in gstutils.c
14067 2005-10-12 Andy Wingo <wingo@pobox.com>
14069 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
14072 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
14073 there is no task. Shouldn't affect any code, as nothing in our
14074 plugins checks this return value.
14075 (gst_pad_stop_task): Also take the stream lock if the pad has no
14076 task. Docs updated.
14078 2005-10-12 Wim Taymans <wim@fluendo.com>
14080 * gst/gstpad.c: (pre_activate), (post_activate),
14081 (gst_pad_activate_pull), (gst_pad_activate_push):
14082 Cleanup activation code. Reset old state if
14085 2005-10-12 Wim Taymans <wim@fluendo.com>
14087 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14088 (gst_base_sink_change_state):
14089 No need to prerol after receiving EOS.
14091 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14092 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
14093 * gst/elements/gstidentity.c: (gst_identity_event):
14094 Print events more verbosely.
14096 2005-10-12 Wim Taymans <wim@fluendo.com>
14098 * check/Makefile.am:
14099 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14100 * check/states/sinks2.c:
14101 Moved sinks2 testcode in sinks check.
14103 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14104 (gst_bin_remove_func), (gst_bin_recalc_state),
14105 (gst_bin_change_state_func), (bin_bus_handler):
14106 Fix potential race condition when _get_state() iterated over an
14107 ASYNC element right before it posted a state completion.
14110 Do proper cast here.
14112 * gst/gstevent.c: (gst_event_new_newsegment),
14113 (gst_event_parse_newsegment):
14114 A playback rate of 0.0 is not allowed.
14116 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14118 * win32/common/config.h:
14119 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14120 (_trewinddir), (_ttelldir), (_tseekdir):
14121 * win32/common/dirent.h:
14122 * win32/common/gtchar.h:
14123 * win32/common/libgstbase.def:
14124 * win32/common/libgstreamer.def:
14125 * win32/vs6/grammar.dsp:
14126 * win32/vs6/gst_inspect.dsp:
14127 * win32/vs6/gst_launch.dsp:
14128 * win32/vs6/gstreamer.dsw:
14129 * win32/vs6/libgstbase.dsp:
14130 * win32/vs6/libgstelements.dsp:
14131 * win32/vs6/libgstreamer.dsp:
14132 Visual Studio 6 project files, and a new common directory.
14135 2005-10-11 Wim Taymans <wim@fluendo.com>
14137 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14138 (gst_base_sink_do_sync), (gst_base_sink_query),
14139 (gst_base_sink_change_state):
14140 * gst/base/gstbasesink.h:
14141 Correctly parse newsegment info.
14143 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14145 * gst/gst.c: (init_post):
14146 split plugin paths correctly
14148 2005-10-11 Wim Taymans <wim@fluendo.com>
14150 * check/gst/gstevent.c: (GST_START_TEST):
14151 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14152 (gst_base_sink_change_state):
14153 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14154 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14155 * gst/elements/gstfilesink.c: (gst_file_sink_event):
14156 * gst/gstevent.c: (gst_event_new_newsegment),
14157 (gst_event_parse_newsegment):
14159 Added extra flag to newsegment for future API freeze.
14160 Updated check and base elements.
14162 2005-10-11 Julien MOUTTE <julien@moutte.net>
14164 * gst/base/gstcollectpads.c: (gst_collectpads_init),
14165 (gst_collectpads_add_pad), (gst_collectpads_pop),
14166 (gst_collectpads_event), (gst_collectpads_chain):
14167 * gst/base/gstcollectpads.h: Handle EOS correctly.
14169 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14171 * tools/gst-launch.c: (main):
14172 more null protecting
14174 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14176 * gst/gst-i18n-lib.h:
14177 check for ENABLE_NLS, not GETTEXT_PACKAGE
14178 * gst/gstregistry.c: (gst_registry_add_plugin),
14179 (gst_registry_scan_path_level),
14180 (_gst_registry_remove_cache_plugins):
14181 protect possibly NULL strings
14182 * gst/parse/types.h:
14183 config.h already included before
14184 * tools/gst-inspect.c: (main):
14185 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14186 check for ENABLE_NLS, not GETTEXT_PACKAGE
14187 * tools/gst-launch.c: (main):
14188 check for ENABLE_NLS, not GETTEXT_PACKAGE
14190 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14193 if we don't have glib, fail before testing 2.8
14194 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14195 fix a leak, should fix plugins-base testsuite
14197 2005-10-11 Andy Wingo <wingo@pobox.com>
14199 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14200 take the mode we're going to as an arg. Go head and set the mode
14201 and flushing flags now, so that if the activate function starts a
14202 thread all the flags will be in the right state.
14203 (post_activate): Renamed also. Just handle making sure streaming
14204 finishes for the deactivation case, and setting the deactivated
14206 (gst_pad_set_active): Complain loudly if deactivation fails.
14207 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14208 (gst_pad_activate_push): Adapt to pre/post_activate changes,
14209 remove the terrible hack.
14211 2005-10-11 Wim Taymans <wim@fluendo.com>
14213 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14214 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14215 (gst_bin_recalc_state), (gst_bin_change_state_func),
14216 (gst_bin_dispose), (bin_bus_handler):
14218 Prepare to make current EOS message queue more generic.
14221 * gst/gstevent.c: (gst_event_new_newsegment),
14222 (gst_event_parse_newsegment):
14224 Rename base to stream_time.
14226 * gst/gstmessage.h:
14229 2005-10-11 Wim Taymans <wim@fluendo.com>
14231 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14232 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14233 (gst_bin_change_state_func), (bin_bus_handler):
14235 Work on proper clock selection.
14237 2005-10-11 Edward Hervey <edward@fluendo.com>
14239 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
14240 * libs/gst/controller/gstcontroller.h:
14241 Added GList* version of _remove_properties() in order to be able to wrap
14244 2005-10-11 Wim Taymans <wim@fluendo.com>
14246 * docs/design/part-states.txt:
14249 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14250 (gst_bin_change_state_func), (bin_bus_handler):
14251 Doc updates. Don't distribute the same clock over and over again.
14257 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14258 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14259 (gst_pad_send_event):
14261 Make probe emission threadsafe again.
14262 Register quarks and move _get_name() from utils.
14265 * gst/gstpipeline.c: (gst_pipeline_class_init),
14266 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14267 Only redistribute the clock of it changed.
14269 * gst/gstsystemclock.h:
14274 Moved the _flow_get_name() to GstPad.
14276 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14278 * check/gst-libs/gdp.c: (GST_START_TEST):
14279 * check/gst/gstcaps.c: (GST_START_TEST):
14280 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14281 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14282 (gst_dp_packet_from_caps):
14283 fix more valgrind warnings before turning up the heat
14285 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14287 * gst/parse/grammar.y:
14288 some cleanup before the hacking
14290 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14292 * gst/base/gstbasesrc.c: (gst_base_src_query):
14294 * gst/gstutils.c: (gst_guint64_to_gdouble),
14295 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14297 externalize, basesrc uses it
14298 obviously the implementation needs testing
14300 2005-10-10 Wim Taymans <wim@fluendo.com>
14302 * tests/sched/Makefile.am:
14303 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14304 (make_pipeline3), (make_pipeline4), (print_elem), (main):
14306 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14308 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14309 apparently converting from guint64 to double is not implemented
14312 2005-10-10 Wim Taymans <wim@fluendo.com>
14314 * check/Makefile.am:
14315 * check/generic/states.c: (GST_START_TEST):
14316 * check/gst/gstbin.c: (GST_START_TEST):
14317 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14318 * check/states/sinks.c: (GST_START_TEST):
14319 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14321 Check fixes, use API as stated in design docs, remove hacks.
14323 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14324 (gst_base_sink_change_state):
14325 Catch stopping our task while we're shutting down.
14327 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14328 (gst_bin_remove_func), (gst_bin_get_state_func),
14329 (gst_bin_recalc_state), (gst_bin_change_state_func),
14332 * gst/gstelement.c: (gst_element_init),
14333 (gst_element_get_state_func), (gst_element_abort_state),
14334 (gst_element_commit_state), (gst_element_lost_state),
14335 (gst_element_set_state), (gst_element_change_state),
14336 (gst_element_change_state_func):
14337 * gst/gstelement.h:
14338 New state change algorithm (see #318116)
14340 * gst/gstpipeline.c: (gst_pipeline_class_init),
14341 (gst_pipeline_init), (gst_pipeline_set_property),
14342 (gst_pipeline_get_property), (do_pipeline_seek),
14343 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14344 * gst/gstpipeline.h:
14345 Remove crude state change hacks.
14348 Remove crude hacks.
14350 * tools/gst-launch.c: (main):
14351 Fixes for state change. Needs some more work to fully use the
14354 2005-10-10 Andy Wingo <wingo@pobox.com>
14356 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14358 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14359 this flag, but it's not even in GLib 2.6. Odd. Hack around the
14362 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14364 * gst/gstiterator.c: (gst_iterator_new):
14365 Fix my previous commit: GTypes passed to gst_iterator_new()
14366 can be fundamental types.
14368 2005-10-10 Wim Taymans <wim@fluendo.com>
14370 * gst/gstelement.c: (gst_element_iterate_pad_list),
14371 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14372 (gst_element_iterate_sink_pads):
14373 Use src/sink pads lists for the respective iterators instead
14376 2005-10-10 Andy Wingo <wingo@pobox.com>
14378 Merged in popt removal + GOption addition patch from Ronald, bug
14381 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14382 GstElement macros around, remove popt-related symbols, add goption
14385 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14387 * docs/gst/Makefile.am:
14388 * docs/libs/Makefile.am: No POPT_CFLAGS.
14390 * examples/manual/Makefile.am:
14391 * docs/manual/basics-init.xml: Doc updates with an example.
14393 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14394 (gst_init), (parse_one_option), (parse_goption_arg):
14395 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14396 bit of hand merging and debugging to get the GOption stuff working
14399 * tests/Makefile.am:
14400 * tools/Makefile.am:
14401 * tools/gst-inspect.c: (main):
14402 * tools/gst-launch.c: (main):
14403 * tools/gst-run.c: (main):
14404 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14406 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14408 * gst/gstiterator.c: (gst_iterator_new):
14409 Add assertions to make sure passed GType is likely to really
14410 be a GType (as the compiler won't catch it if the size and
14411 GType arguments get mixed up, see #318447).
14413 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
14415 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14417 * gst/gstbin.c: (gst_bin_iterate_sorted):
14418 Pass GType and size arguments to gst_iterator_new() in the right
14419 order (maybe we should make _new() take the GType as first argument
14420 just like _new_list()?) (#318447).
14423 2005-10-10 Wim Taymans <wim@fluendo.com>
14425 * gst/gstelement.c: (gst_element_finalize):
14426 And free the GStaticRecMutex too
14428 2005-10-10 Andy Wingo <wingo@pobox.com>
14430 * gst/gstelement.c (gst_element_init, gst_element_finalize):
14431 Allocate and free the mutex properly.
14433 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14435 (GstElement): The state_lock is now recursive. Rebuild your
14436 plugins, suckers. Old macros adapted.
14438 * docs/gst/gstreamer-sections.txt: Doc updates.
14441 * gst/gstutils.c (g_static_rec_cond_timed_wait)
14442 (g_static_rec_cond_wait): Ported from state changes patch, while
14443 we wait on bug #317802 to be solved in a well-distributed GLib.
14445 * gst/gstelement.c (gst_element_change_state_func): Renamed from
14446 gst_element_change_state, variable name changes.
14447 (gst_element_change_state): Split out of gst_element_set_state in
14448 preparation for the state change merge. Doesn't pay attention to
14449 the 'transition' argument.
14450 (gst_element_set_state): Updates, hopefully purely cosmetic.
14451 (gst_element_sync_state_with_parent): MT-safety. Ported from the
14452 state change patch.
14453 (gst_element_get_state_func): Renamed from get_state, cosmetic
14456 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14458 * gst/elements/gstelements.c:
14459 * win32/GStreamer.vcproj:
14461 * win32/dirent.c: (_tseekdir):
14462 * win32/gst-inspect.vcproj:
14463 * win32/gst-launch.vcproj:
14464 * win32/gstconfig.h:
14465 * win32/gstelements.vcproj:
14466 * win32/gstenumtypes.c: (gst_object_flags_get_type):
14467 * win32/gstreamer.def:
14468 * win32/msvc71.sln:
14469 updates for the win32 build (patch from Sebastien Moutte)
14471 2005-10-10 Andy Wingo <wingo@pobox.com>
14473 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14474 gst_bin_get_state, cleaned up (but no logic changes).
14475 (bin_element_is_sink): Comment updates.
14476 (sink_iterator_filter): Remove needless cast.
14477 (gst_bin_iterate_sinks): Doc update.
14478 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14479 cleaned up (but no logic changes).
14481 * check/states/sinks.c (test_src_sink): Cleanups from the state
14483 (test_livesrc_sink): Sync on the state.
14485 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14486 the state change patch.
14488 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14491 * check/gst/gstbin.c: Merge in some style fixes and additional
14492 checks from Wim's state change patch.
14494 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14496 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14497 (gst_type_find_helper):
14498 Check whether we have the requested data already in our list of
14499 cached buffers before pulling a new buffer; also make the buffer
14500 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14502 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14507 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14508 don't use long long, it's not portable. Replacing with
14509 gint64 seems to work; let's hope no skeletons fall out of the closet.
14511 2005-10-10 Andy Wingo <wingo@pobox.com>
14513 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14515 2005-10-09 Stefan Kost <ensonic@users.sf.net>
14517 * docs/gst/gstreamer-sections.txt:
14522 * gst/gstmessage.c: (gst_message_parse_state_changed):
14525 more docs, fix compilation
14527 2005-10-09 Philippe Khalaf <burger@speedy.org>
14528 * gst/gstmessage.c:
14529 Fixed a few forgotten variables on previous commit
14531 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
14533 * gst/base/gsttypefindhelper.c: (helper_find_peek):
14534 Fix evil typefind crasher: getrange() might return a short
14535 buffer at the end of a file, but gst_type_find_peek() must
14536 either return the full data as requested or NULL, but
14537 never a short buffer.
14539 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
14541 * gst/gstmessage.c: (gst_message_new_state_changed),
14542 (gst_message_parse_state_changed):
14543 * gst/gstmessage.h:
14544 don't use "new", it's a C++ keyword
14546 2005-10-08 Wim Taymans <wim@fluendo.com>
14548 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14549 * gst/gstelement.c: (gst_element_post_message):
14550 * gst/gstpipeline.c: (gst_pipeline_change_state):
14551 Small docs and debug updates.
14553 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14555 * docs/gst/gstreamer-sections.txt:
14556 * gst/gstelementfactory.c:
14558 * gst/gsttaglist.c:
14561 2005-10-08 Wim Taymans <wim@fluendo.com>
14563 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14564 (gst_bin_dispose), (bin_bus_handler):
14565 Fix typos, add comments.
14566 Clear EOS list when going to PAUSED from any direction and do it
14567 in a threadsafe way.
14568 Get base time in a threadsafe way too.
14569 Fix confusing debug in the change_state function.
14570 Various other small cleanups.
14572 * gst/gstelement.c: (gst_element_post_message):
14573 Fix very verbose bus posting code.
14575 * gst/gstpipeline.c: (gst_pipeline_class_init),
14576 (gst_pipeline_set_property), (gst_pipeline_get_property),
14577 (gst_pipeline_change_state):
14578 Small ARG_ -> PROP_ cleanup
14580 2005-10-08 Wim Taymans <wim@fluendo.com>
14582 * gst/gstbin.c: (is_eos), (bin_bus_handler):
14583 Do a less CPU demanding EOS check because we can.
14585 2005-10-08 Wim Taymans <wim@fluendo.com>
14587 * libs/gst/dataprotocol/dataprotocol.c:
14588 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14589 (gst_dp_packet_from_event):
14590 * libs/gst/dataprotocol/dataprotocol.h:
14591 * libs/gst/dataprotocol/dp-private.h:
14592 It's about time we bump the version number.
14593 Since event types don't fit in the guint8 anymore describing
14594 the payload type, make payload type 16 bits wide.
14596 2005-10-08 Wim Taymans <wim@fluendo.com>
14598 * docs/design/part-TODO.txt:
14599 * docs/design/part-clocks.txt:
14600 * docs/design/part-events.txt:
14601 * docs/design/part-gstbin.txt:
14602 * docs/design/part-gstelement.txt:
14603 * docs/design/part-gstpipeline.txt:
14604 * docs/design/part-live-source.txt:
14605 * docs/design/part-messages.txt:
14606 * docs/design/part-overview.txt:
14607 * docs/design/part-states.txt:
14610 2005-10-08 Wim Taymans <wim@fluendo.com>
14614 Fix event quark registration.
14615 Add some space between events so we can insert them in the
14618 2005-10-08 Wim Taymans <wim@fluendo.com>
14620 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14621 (gst_base_sink_handle_buffer):
14622 Better log message.
14625 * gst/gstelement.h:
14628 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14629 (gst_queue_set_property), (gst_queue_get_property):
14631 Remove old unused properties.
14633 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14634 * docs/gst/gstreamer-sections.txt:
14635 * gst/gstmessage.c:
14636 * gst/gstmessage.h:
14637 * gst/gstminiobject.c:
14638 * gst/gstminiobject.h:
14642 lots of new docs and doc fixes
14644 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14646 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14648 * gst/gstregistry.c: (gst_registry_lookup_locked),
14649 (gst_registry_scan_path_level):
14650 * gst/gstregistryxml.c: (load_plugin):
14651 Only ever load one plugin for a given plugin basename.
14652 This ensures correct overriding of GST_PLUGIN_PATH over
14653 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14654 system installed plugins.
14656 2005-10-08 Wim Taymans <wim@fluendo.com>
14658 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14659 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14660 Prepare for doing QOS.
14662 2005-10-08 Wim Taymans <wim@fluendo.com>
14664 * check/gst/gstbin.c: (GST_START_TEST):
14665 * check/pipelines/cleanup.c: (GST_START_TEST):
14666 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14667 Allow new clock message too.
14669 2005-10-08 Wim Taymans <wim@fluendo.com>
14671 * gst/gstmessage.c: (gst_message_new_error),
14672 (gst_message_new_warning), (gst_message_new_tag),
14673 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14674 (gst_message_new_clock_lost), (gst_message_new_new_clock),
14675 (gst_message_new_segment_start), (gst_message_new_segment_done),
14676 (gst_message_parse_state_changed),
14677 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14678 (gst_message_parse_new_clock):
14679 * gst/gstmessage.h:
14680 Also carry the clock in question.
14682 2005-10-08 Wim Taymans <wim@fluendo.com>
14684 * gst/gstmessage.c: (gst_message_new_custom),
14685 (gst_message_new_eos), (gst_message_new_error),
14686 (gst_message_new_warning), (gst_message_new_tag),
14687 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14688 (gst_message_new_new_clock), (gst_message_new_segment_start),
14689 (gst_message_new_segment_done), (gst_message_parse_state_changed),
14690 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14691 * gst/gstmessage.h:
14693 Added clock related messages.
14695 * gst/gstpipeline.c: (gst_pipeline_change_state):
14696 Post message when the clock changed.
14698 * tools/gst-launch.c: (event_loop):
14701 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
14703 * tools/gst-inspect.c: (print_element_properties_info):
14704 Can't pass NULL strings to g_print() on windows.
14706 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14708 * docs/Makefile.am:
14709 * docs/gst/Makefile.am:
14710 * docs/gst/gstreamer-docs.sgml:
14711 * docs/gst/running.xml:
14712 * docs/version.entities.in:
14713 add a chapter on running GStreamer.
14714 document GST_DEBUG and GST_PLUGIN* env vars
14716 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14721 remove PLUGINS_BUILDDIR stuff
14722 * gst/gst.c: (init_post):
14723 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14725 remove, it was condescending and not needed
14727 2005-10-08 Wim Taymans <wim@fluendo.com>
14729 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14730 (gst_base_sink_handle_object), (gst_base_sink_event),
14731 (gst_base_sink_wait), (gst_base_sink_handle_event),
14732 (gst_base_sink_change_state):
14733 * gst/base/gstbasesink.h:
14734 Repost EOS message while going to PLAYING if still EOS.
14735 Make sure that when receiving a FLUSH_START we don't attempt
14736 to sync on the clock anymore.
14738 2005-10-08 Wim Taymans <wim@fluendo.com>
14740 * tools/gst-launch.c: (event_loop):
14741 Better message printout.
14743 2005-10-08 Wim Taymans <wim@fluendo.com>
14745 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14746 (gst_bin_child_proxy_get_children_count):
14747 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14748 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14749 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14750 (gst_child_proxy_set_valist):
14751 * gst/parse/grammar.y:
14752 Make ChildProxy threadsafe and fix mem leaks.
14754 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14756 * gst/gst.c: (init_post):
14757 debug the GST_PLUGIN_ env vars
14759 2005-10-08 Wim Taymans <wim@fluendo.com>
14761 * check/gst/gstbin.c: (GST_START_TEST):
14762 * check/gst/gstmessage.c: (GST_START_TEST):
14763 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14764 * gst/gstelement.c: (gst_element_commit_state),
14765 (gst_element_lost_state):
14766 * gst/gstmessage.c: (gst_message_new_state_changed),
14767 (gst_message_parse_state_changed):
14768 * gst/gstmessage.h:
14769 * tools/gst-launch.c: (event_loop):
14770 Added extra field to STATE_CHANGE message with the pending
14771 state, which will be different from the new state soon.
14773 2005-10-08 Wim Taymans <wim@fluendo.com>
14775 * gst/gstbus.c: (gst_bus_pop):
14777 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14778 Small cleanups and doc updates.
14780 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14782 * gst/gst.c: (init_pre):
14783 * gst/gstbin.c: (gst_bin_add_func):
14784 log distributing clocks and base time
14785 * gst/gstregistry.c: (gst_registry_add_plugin),
14786 (gst_registry_scan_path_level), (gst_registry_scan_path):
14787 clean up the debugging output a little
14788 * gst/gstutils.c: (gst_element_state_get_name):
14789 warn about a memleak (I've actually seen this be used, though
14790 it was probably a bug)
14792 2005-10-07 Wim Taymans <wim@fluendo.com>
14794 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14795 (gst_base_src_init), (gst_base_src_default_newsegment),
14796 (gst_base_src_newsegment), (gst_base_src_do_seek),
14797 (gst_base_src_loop), (gst_base_src_start):
14798 * gst/base/gstbasesrc.h:
14799 Make the newsegment event customizable by subclasses.
14801 2005-10-07 Wim Taymans <wim@fluendo.com>
14803 * gst/gstevent.c: (gst_event_new_buffersize),
14804 (gst_event_parse_buffersize):
14806 New event for future idea.
14808 2005-10-07 Andy Wingo <wingo@pobox.com>
14810 * gst/gstelement.c (gst_element_post_message): Doc update.
14812 * docs/gst/gstreamer-sections.txt: Update.
14814 * gst/gstmessage.c (gst_message_new_application): Made into a
14815 function like honest API calls.
14816 (gst_message_new_element): New message type.
14818 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14820 * check/elements/fakesrc.c (test_no_preroll): New check, checks
14821 that setting a live fakesrc to PAUSED returns NO_PREROLL both
14824 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14825 NO_PREROLL from gst_element_change_state to fall through.
14827 2005-10-07 Wim Taymans <wim@fluendo.com>
14829 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14830 (gst_ghost_pad_do_activate_push):
14831 Activating a ghostpad with no internal pad in push mode
14834 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
14837 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14838 Fixes compilation on Windows.
14840 2005-10-07 Michael Smith <msmith@fluendo.com>
14842 * tools/gst-inspect.c:
14843 Print out feature and plugin count at the end when printing out
14846 2005-10-04 Michael Smith <msmith@fluendo.com>
14848 * gst/gsterror.c: (_gst_stream_errors_init):
14849 Add another error string used in a few existing plugins.
14852 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14853 * tools/gst-inspect.c: (print_element_info):
14854 When a feature disappears from a plugin (and the feature exists in
14855 the cached registry file), things went horribly wrong. This isn't a
14856 complete fix, we should actually be removing the 'missing' features
14857 from the features list when we load the actual plugin. That's not
14860 2005-10-04 Johan Dahlin <johan@gnome.org>
14862 * check/gst/gstiterator.c: (GST_START_TEST):
14863 * gst/gstbin.c: (gst_bin_iterate_elements),
14864 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14865 * gst/gstelement.c: (gst_element_iterate_pads):
14866 * gst/gstformat.c: (gst_format_iterate_definitions):
14867 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14868 (gst_iterator_new_list), (gst_iterator_filter):
14869 * gst/gstiterator.h:
14870 * gst/gstquery.c: (gst_query_type_iterate_definitions):
14871 Add a GType to GstIterator, update callsites and tests.
14873 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14875 * gst/gstpad.c: (gst_pad_event_default_dispatch):
14876 give events a chance to be handled by event probes when the pad
14879 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14881 * gst/gstevent.c: (gst_event_type_get_name),
14882 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14884 add string representations for event types
14886 2005-10-06 Wim Taymans <wim@fluendo.com>
14888 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14889 Don't use NULL pointers.
14891 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14893 * gst/gst_private.h:
14895 * gst/gstelement.c:
14897 * gst/gstpluginfeature.c:
14898 widen the debug category in output to fit the biggest one we have
14899 add a bus category and use it
14900 play with the colors
14901 fix up some categories
14903 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14905 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14906 add push activation of sink ghost pads.
14907 Andye, please verify
14909 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14911 * gst/gstutils.c: (gst_element_link_pads):
14912 fix a bug in the case where neither element has a pad
14913 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14914 add a test for that case
14916 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14918 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14919 emit have-data before checking for peers. This allows
14920 for probe handlers to connect elements. This helps autopluggers.
14921 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14923 add six checks, linked/unlinked with no/true/false probe
14925 2005-10-04 Wim Taymans <wim@fluendo.com>
14927 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14928 (gst_fake_sink_event), (gst_fake_sink_preroll),
14929 (gst_fake_sink_render), (gst_fake_sink_change_state):
14930 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14931 (gst_fake_src_get_property), (gst_fake_src_create),
14932 (gst_fake_src_stop):
14933 * gst/elements/gstidentity.c: (gst_identity_stop):
14934 Protect last_message with lock.
14936 2005-10-04 Edward Hervey <edward@fluendo.com>
14939 Added precision in the comments for GST_FORMAT_DEFAULT
14941 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
14943 * tools/gst-launch.c: (main):
14944 Don't try to run erroneous pipelines.
14946 2005-10-04 Julien MOUTTE <julien@moutte.net>
14948 * gst/gstbus.c: We don't need this header.
14950 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14953 back to development
14955 === release 0.9.3 ===
14957 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14961 Releasing 0.9.3, "Unregistered"
14963 2005-10-03 Andy Wingo <wingo@pobox.com>
14965 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
14966 whereby calling a pad's activatepush() function can start a thread
14967 that starts to push or pull before the pad gets the FLUSHING flag
14968 unset. Hack around it by holding the stream lock until the flag is
14969 set. Need to replace this with a proper solution. Together with
14970 the ghost pad fixes, this fixes mp3 playing/tagreading.
14972 * docs/design/part-gstghostpad.txt: Add a note about activation of
14973 proxy pads outside of ghost pads.
14975 * gst/gstghostpad.c: Implement the ghost pad activation design.
14977 2005-10-02 Andy Wingo <wingo@pobox.com>
14979 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
14980 It is volatile, after all.
14982 * docs/design/part-gstghostpad.txt: Flesh out activation with
14985 * gst/base/gstbasesrc.c (gst_base_src_init): Use
14988 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
14991 Fix (unused) AM_CONDITIONAL tests.
14993 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
14995 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14997 * gst/gstutils.c: (gst_pad_query_convert):
14998 Add assertion that makes sure src_val is >=0, just like
14999 gst_query_new_convert() has. (#315895)
15001 2005-09-30 Edward Hervey <edward@fluendo.com>
15003 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
15004 Let's not iterate pads we're not interested in, it avoids getting
15005 sky-high refcounts on sinkpad.
15007 2005-09-30 Wim Taymans <wim@fluendo.com>
15009 * gst/gstelement.c: (gst_element_set_state),
15010 (gst_element_change_state):
15011 Small tweak, element in ASYNC remains ASYNC.
15013 2005-09-30 Wim Taymans <wim@fluendo.com>
15015 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15016 Only error is an error.
15018 * gst/gstbin.c: (gst_bin_change_state):
15021 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
15022 Also call pad_block in pad alloc.
15024 * gst/gstutils.c: (gst_flow_get_name):
15027 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15029 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15030 (gst_base_src_get_range):
15031 Fix documentation typos. Add some more debug info.
15033 2005-09-29 David Schleef <ds@schleef.org>
15035 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
15036 more end-user friendly.
15037 * tools/gst-inspect.c: (main): Check if command-line argument is
15038 a file and attempt to load that file as a plugin.
15040 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15042 * check/gst/gstbin.c:
15043 * check/states/sinks.c:
15044 fix tests for the new warning
15045 * check/gst/gstpipeline.c:
15046 add a test for pipeline and bus interaction
15047 * gst/gstelement.c:
15048 elements should be NULL if they get disposed; add a warning if not
15050 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15053 for 2.6 refcounting, make debug log more correct by printing
15054 the actual refcounts at the time of swap (Wim)
15056 2005-09-29 Andy Wingo <wingo@pobox.com>
15058 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
15059 removes signal watches previously added via
15060 gst_bus_add_signal_watch.
15061 (gst_bus_add_signal_watch): Don't return the source id, just store
15062 it on the bus if there wasn't an id already.
15064 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
15065 add_signal_watch and remove_signal_watch.
15067 2005-09-29 Edward Hervey <edward@fluendo.com>
15069 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
15070 Better if we actually iterate the list :)
15072 2005-09-29 Wim Taymans <wim@fluendo.com>
15074 * check/gst/gstbin.c: (GST_START_TEST):
15075 Change for new bus API.
15077 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15078 (send_messages), (GST_START_TEST), (gstbus_suite):
15079 Change for new bus signal API.
15081 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
15082 (gst_bus_source_prepare), (gst_bus_source_check),
15083 (gst_bus_create_watch), (gst_bus_add_watch_full),
15084 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
15085 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
15087 Remove support for multiple GSources operating on different
15088 message types as it is too complex and unneeded when using
15090 Added support for receiving signals from the bus.
15092 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15094 * docs/libs/tmpl/gstdataprotocol.sgml:
15095 * docs/manual/advanced-dataaccess.xml:
15096 * gst/elements/gstcapsfilter.c:
15098 rename filter-caps to caps property
15100 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15102 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15103 More robust fraction string parsing.
15105 * docs/pwg/appendix-porting.xml:
15106 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15108 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15110 * gst/gstcaps.c: (gst_caps_do_simplify):
15111 Thou shalt not free a structure and then continue using it
15112 in the next loop iteration.
15114 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15116 Add test case for caps simplification.
15118 2005-09-29 Wim Taymans <wim@fluendo.com>
15120 * check/gst/gstbin.c: (GST_START_TEST):
15123 2005-09-29 Wim Taymans <wim@fluendo.com>
15125 * check/gst/gstbin.c: (GST_START_TEST):
15128 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15129 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15130 (find_element), (gst_bin_sort_iterator_next),
15131 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15132 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15133 (gst_bin_change_state), (gst_bin_dispose):
15134 A bin does not have a bus, it gets the bus from the parent.
15136 * gst/gstelement.c: (gst_element_requires_clock),
15137 (gst_element_provides_clock), (gst_element_is_indexable),
15138 (gst_element_is_locked_state), (gst_element_change_state),
15139 (gst_element_set_bus_func):
15142 * gst/gstpipeline.c: (gst_pipeline_class_init),
15143 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15144 The pipeline provides a bus.
15146 2005-09-28 Johan Dahlin <johan@gnome.org>
15148 * gst/gstmessage.c (gst_message_parse_state_changed): Use
15149 gst_structure_get_enum instead of gst_structure_get_int
15151 * gst/gststructure.c (gst_structure_get_enum): Impl.
15153 * gst/gststructure.h (gst_structure_get_enum): Add
15155 * docs/gst/gstreamer-sections.txt: Ditto
15157 * gst/gstmessage.c (gst_message_new_state_changed): Use
15158 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15159 which does introspection.
15160 Reviewed by Christian Schaller
15162 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15164 * gst/gstinfo.c: (gst_debug_log_default):
15165 don't do dummy g_strdup()s
15166 * libs/gst/controller/gstcontroller.c:
15167 (on_object_controlled_property_changed),
15168 (gst_controlled_property_new), (gst_controller_new_valist),
15169 (gst_controller_new_list),
15170 (gst_controller_remove_properties_valist), (gst_controller_set),
15171 (gst_controller_get), (gst_controller_sync_values),
15172 (gst_controller_get_value_array), (_gst_controller_class_init),
15173 (gst_controller_get_type):
15174 * libs/gst/controller/gstcontroller.h:
15175 * libs/gst/controller/gstinterpolation.c:
15176 (gst_controlled_property_find_timed_value_node):
15177 convert // to /**/ comments
15179 2005-09-28 Wim Taymans <wim@fluendo.com>
15181 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15182 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15183 (gst_bus_sync_signal_handler):
15185 Added async-message and sync-message signals to the bus.
15186 Added helper BusFunc to emit signals for all posted messages.
15188 * gst/gstmessage.c: (gst_message_type_get_name),
15189 (gst_message_type_to_quark), (gst_message_get_type):
15190 * gst/gstmessage.h:
15191 Register quarks for message names.
15193 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15195 * docs/libs/gstreamer-libs-sections.txt:
15196 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15197 (gst_controller_new_list):
15198 * libs/gst/controller/gstcontroller.h:
15199 added another constructor for language bindings
15201 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
15203 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15207 * gst/gstinfo.c: (_gst_debug_init):
15208 slightly more readable color for refcount debugging
15210 2005-09-28 Wim Taymans <wim@fluendo.com>
15212 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15213 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15214 (find_element), (gst_bin_sort_iterator_next),
15215 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15216 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15217 (gst_bin_change_state), (gst_bin_dispose):
15218 Small doc fixes. get_clock -> provide_clock.
15220 * gst/gstelement.c: (gst_element_class_init),
15221 (gst_element_provides_clock), (gst_element_provide_clock),
15222 (gst_element_get_clock), (gst_element_commit_state),
15223 (gst_element_lost_state):
15224 * gst/gstelement.h:
15225 Make get/set_clock() symetric. Add provide_clock vmethod since
15226 that is actually what this function does.
15228 * gst/gstpipeline.c: (gst_pipeline_class_init),
15229 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15230 (gst_pipeline_get_clock):
15231 get_clock -> provide_clock.
15233 2005-09-28 Andy Wingo <wingo@pobox.com>
15235 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15236 lieu of real docs...
15238 * gst/elements/gstfdsrc.c: Cleaned up a bit.
15240 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
15242 * gst/elements/gstcapsfilter.c:
15243 * gst/elements/gstfakesink.c:
15244 * gst/elements/gstfakesrc.c:
15245 * gst/elements/gstfdsink.c:
15246 * gst/elements/gstfdsrc.c:
15247 * gst/elements/gstfilesink.c:
15248 * gst/elements/gstfilesrc.c:
15249 * gst/elements/gstidentity.c:
15250 * gst/elements/gsttee.c:
15251 * gst/elements/gsttypefindelement.c:
15252 Make element details static.
15254 2005-09-28 Wim Taymans <wim@fluendo.com>
15256 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15257 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15258 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15259 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15260 (gst_bin_change_state), (gst_bin_dispose):
15261 Some documentation updates.
15262 Clean up dispose handlers.
15264 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15265 * gst/gstpad.c: (gst_pad_dispose):
15266 Clean up dispose handler.
15268 * gst/gstpipeline.c: (gst_pipeline_change_state):
15269 Removed spurious UNLOCK.
15271 2005-09-27 Stefan Kost <ensonic@users.sf.net>
15273 * docs/gst/gstreamer-sections.txt:
15274 * gst/base/gstbasesrc.h:
15275 * gst/gstelement.h:
15279 * gst/gstpipeline.c:
15280 * gst/gstpipeline.h:
15283 added two new functions to the docs
15284 documents all undocumented GstXXXFlags
15285 completed some incomplete docs
15287 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
15289 * gst/gstbin.c: (gst_bin_dispose):
15290 * gst/gstelement.c: (gst_element_dispose):
15291 remove now useless and leaky resurrection code in dispose
15292 * gst/base/gstbasesrc.c: (gst_base_src_init):
15293 * gst/gstelementfactory.c: (gst_element_factory_create):
15294 * gst/gstobject.c: (gst_object_set_parent):
15297 2005-09-27 Wim Taymans <wim@fluendo.com>
15299 * docs/design/part-TODO.txt:
15302 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15303 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15304 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15305 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15306 (gst_bin_change_state):
15307 * gst/gstelement.h:
15308 Remove element variable, we keep element info in the iterator now.
15310 2005-09-27 Andy Wingo <wingo@pobox.com>
15312 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15315 2005-09-27 Wim Taymans <wim@fluendo.com>
15317 * check/gst/gstbin.c: (GST_START_TEST):
15318 Enable check that works now.
15320 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15321 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15322 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15323 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15324 (gst_bin_change_state):
15326 Redid the state change algorithm using a topological sort algo.
15327 Handles all cases correctly.
15328 Exposed iterator for state change order.
15330 * gst/gstelement.h:
15331 Temp storage for state changes. Need to get rid of this soon.
15333 2005-09-27 Wim Taymans <wim@fluendo.com>
15335 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15336 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15337 (link_fold_func), (gst_pad_proxy_setcaps):
15338 Leak fixes, the fold functions need to unref the passed object and
15339 _get_parent_*() returns ref to parent.
15341 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15343 * check/gst/gstbuffer.c: (test_make_writable):
15344 Plug leak in test case and fix 'make check-valgrind'
15346 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15348 * gst/gstbuffer.c: (gst_subbuffer_init):
15349 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15350 works correctly in all circumstances (we could have just copied
15351 the parent buffer's readonly flag, but conceptually it seems
15352 cleaner to mark all subbuffers as read-only). (based on patch
15353 by Alessandro Decina, #314710).
15355 * check/gst/gstbuffer.c: (create_read_only_buffer),
15356 (test_make_writable), (test_subbuffer_make_writable),
15358 Add some tests for gst_buffer_make_writable().
15360 2005-09-27 Wim Taymans <wim@fluendo.com>
15362 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15363 use gst_object_has_ancestor().
15365 * gst/gstobject.c: (gst_object_has_ancestor):
15367 gst_object_has_ancestor() copied from gstbin.c as it is a
15370 * tests/instantiate/create.c: (create_all_elements):
15371 * tests/lat.c: (handoff_src), (handoff_sink):
15372 * tests/sched/runxml.c: (main):
15373 * tests/seeking/seeking1.c: (main):
15374 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15376 Fix compilation of some tests.
15378 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15381 Remove comment. GST_TYPE_G_ERROR is here to stay,
15382 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15383 (#316961, #300610).
15385 2005-09-26 Wim Taymans <wim@fluendo.com>
15387 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15388 Added check that shows error in state change order.
15390 2005-09-26 Wim Taymans <wim@fluendo.com>
15392 * gst/gstbin.c: (gst_bin_change_state):
15393 Make state change function use 3 queues again, we were
15394 adding elements in the wrong order.
15396 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15399 * gst/gstpad.c: (gst_pad_dispose):
15400 Added some debug info first.
15402 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
15404 * docs/design/draft-push-pull.txt:
15405 * docs/design/part-events.txt:
15406 * docs/design/part-overview.txt:
15407 * docs/design/part-scheduling.txt:
15408 Replace all _pull_region() with _pull_range()
15410 2005-09-26 Andy Wingo <wingo@pobox.com>
15412 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15414 * check/gst-libs/controller.c: Update for controller api change.
15417 * tests/Makefile.am:
15418 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15419 over by GLib bug 118439.
15421 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15422 routines to a function.
15424 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15426 * libs/gst/controller/gsthelper.c:
15427 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15428 (gst_object_sync_values): Renamed from sink_values. Ugh.
15430 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15432 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15433 Renamed from controller_key, as it is exported.
15435 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15437 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
15442 * gst/gstpadtemplate.h:
15445 * gst/gstqueryutils.c:
15446 * gst/gstqueryutils.h:
15447 remove queryutils headers after moving the two used functions
15448 to gstquery. also fixes build problem for gstsiddec
15450 2005-09-26 Michael Smith <msmith@fluendo.com>
15452 * tools/gst-launch.1.in:
15453 Correct documentation in manpage of debug syntax
15455 2005-09-26 Wim Taymans <wim@fluendo.com>
15457 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15458 (gst_base_src_is_seekable), (gst_base_src_change_state):
15459 Some more debugging info.
15461 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15463 * docs/gst/gstreamer-sections.txt:
15464 * gst/base/gstbasetransform.h:
15468 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15470 * docs/gst/.cvsignore:
15471 * docs/gst/tmpl/.cvsignore:
15472 * docs/gst/tmpl/gstpipeline.sgml:
15473 * docs/gst/tmpl/gstplugin.sgml:
15474 * gst/gstpipeline.c:
15477 inlined the last two docs files
15478 removed the tmpl directory from cvs (no more conflicts here!)
15480 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15482 * docs/gst/gstreamer-sections.txt:
15483 * docs/gst/tmpl/.cvsignore:
15484 * docs/gst/tmpl/gstpad.sgml:
15485 * docs/gst/tmpl/gstpadtemplate.sgml:
15487 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15488 (gst_pad_finalize), (gst_pad_set_pad_template):
15490 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15491 (gst_pad_template_class_init), (gst_pad_template_init),
15492 (gst_pad_template_dispose), (name_is_valid),
15493 (gst_static_pad_template_get), (gst_pad_template_new),
15494 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15495 (gst_pad_template_pad_created):
15496 * gst/gstpadtemplate.h:
15497 inlined two more docs
15498 factored gstpadtemplate out of gstpad
15500 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
15502 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15503 (test_children_state_change_order_semi_sink):
15504 Fix test case: we can't rely on a fixed state change order when
15505 going from READY => PAUSED because the sink might commit its
15506 new state first when the first buffer created by the source
15507 reaches the sink before the source has finished its change state.
15508 (Test case still fails at times, see #316856, comment 5 onwards)
15510 2005-09-24 Wim Taymans <wim@fluendo.com>
15512 * docs/design/part-events.txt:
15513 * docs/design/part-gstbus.txt:
15514 * docs/design/part-gstpipeline.txt:
15515 * docs/design/part-messages.txt:
15516 * docs/design/part-overview.txt:
15517 * docs/design/part-segments.txt:
15521 * gst/gstelement.c:
15524 * gst/gstiterator.c:
15525 Various documentation updates.
15527 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
15530 Well, that's embarassing. Luckily we weren't using
15531 GST_CLOCK_DIFF anywhere.
15533 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15535 * common/gtk-doc.mak:
15536 don't fail on building XML, FC4 slave shows a bunch of doc
15537 missing bits that I don't get
15539 * gst/gstpipeline.c:
15540 * gst/gststructure.c:
15543 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15545 * docs/design/part-gstbin.txt:
15546 * docs/design/part-gstbus.txt:
15548 Add blurb about how the bus goes into flushing mode and
15549 drops all messages when its bin goes from READY into NULL
15552 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15554 * docs/gst/gstreamer-sections.txt:
15555 * gst/gststructure.c: (gst_structure_get_clock_time):
15556 * gst/gststructure.h:
15557 add a method to get a GstClockTime out of a structure
15559 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15561 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15562 (test_children_state_change_order_semi_sink), (gst_bin_suite):
15563 Added test to check state change order in bins (can still be made
15564 to fail here under heavy disk load; bails out with 'Push on pad
15565 fakesink:sink0, but it was not activated in push mode').
15567 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15568 Fix state change order when there is only a semi sink (#316856)
15570 * gst/gstbus.c: (gst_bus_class_init):
15571 Use _class_peek_parent(), not _class_ref(); fix docs to say
15572 'default main context' instead of 'mainloop' where that is
15575 * gst/gstelement.c: (gst_element_commit_state),
15576 (gst_element_set_state):
15577 Fix typos in debug messages
15579 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15582 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15583 * gst/gstpluginfeature.c:
15585 various doc updates
15586 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15587 change an assert into an error until it gets fixed properly
15589 2005-09-23 Stefan Kost <ensonic@users.sf.net>
15591 * docs/gst/gstreamer-sections.txt:
15592 * docs/gst/tmpl/.cvsignore:
15593 * docs/gst/tmpl/gstelement.sgml:
15594 * docs/gst/tmpl/gstinfo.sgml:
15595 * docs/gst/tmpl/gstobject.sgml:
15596 * gst/gstelement.c:
15597 * gst/gstelement.h:
15600 * gst/gstobject.c: (gst_object_class_init):
15602 inlined 3 more biiiig doc files and added some missing docs on the fly
15604 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15606 * check/gst/.cvsignore:
15607 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15608 * gst/gstregistryxml.c: (load_plugin),
15609 (gst_registry_xml_save_plugin):
15610 put back source in registry. add checks for find_plugin.
15611 * testsuite/states/bin.c: (assert_state), (empty_bin),
15612 (test_adding_one_element), (main):
15613 * testsuite/states/locked.c: (main):
15614 some compile/run fixes
15616 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
15618 * check/gst/gstvalue.c: (GST_START_TEST):
15619 fix leaks in the test itself
15621 2005-09-22 Wim Taymans <wim@fluendo.com>
15623 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15624 (gst_base_sink_send_event), (gst_base_sink_peer_query),
15625 (gst_base_sink_query):
15626 Prepare for more accurate position reporting and query
15629 * gst/gstelement.c: (gst_element_send_event),
15630 (gst_element_set_state):
15633 2005-09-22 Wim Taymans <wim@fluendo.com>
15635 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15636 (gst_query_parse_segment):
15638 More documentation.
15639 Add segment query for future use.
15641 2005-09-22 Wim Taymans <wim@fluendo.com>
15643 * gst/gstbin.c: (gst_bin_add_func):
15644 Some more debug info.
15646 * gst/gstelement.c: (gst_element_send_event):
15647 Simplify send_event
15649 * gst/gstelement.h:
15650 Don't know how flags got broken.
15655 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15657 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15658 Add simplistic test suite for GST_TYPE_DATE serialisation and
15661 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15663 * docs/gst/gstreamer-sections.txt:
15664 * gst/gststructure.c: (gst_structure_set_valist),
15665 (gst_structure_get_date):
15666 * gst/gststructure.h:
15667 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15668 (gst_date_copy), (gst_value_compare_date),
15669 (gst_value_serialize_date), (gst_value_deserialize_date),
15670 (gst_value_transform_date_string),
15671 (gst_value_transform_string_date), (_gst_value_initialize):
15673 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15674 bunch of utility functions along with a hack that checks that
15675 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15676 is required. Part of the grand scheme in #170777.
15678 2005-09-22 Andy Wingo <wingo@pobox.com>
15680 * gst/gstconfig.h.in: Psych out gtk-doc.
15682 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15684 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15686 * tools/gst-inspect.c (print_element_list): Plug some
15687 inconsequential leaks.
15689 * gst/gstregistry.c (gst_registry_get_default): Doc.
15691 * check/gst/gstplugin.c:
15692 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15693 * gst/gstelementfactory.c (gst_element_factory_create):
15694 * gst/gstindexfactory.c (gst_index_factory_create): Update for
15697 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15698 (gst_plugin_feature_load): Doc, don't eat refs.
15700 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15701 (gst_plugin_list_free): Doc.
15702 (gst_plugin_load_file): Doc updates.
15704 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15705 accessors returning refcounted objects, return a ref.
15707 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15708 accessor for caps. IDEMPOTENCE. Oh yes.
15710 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
15712 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15714 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15715 (_gst_debug_register_funcptr):
15716 Add mutex to serialise access to the hash table with
15717 the function pointer => function name string mapping;
15718 make that hash table static scope (#316809).
15720 * gst/registries/.cvsignore:
15721 Remove left-over file.
15723 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15725 * docs/pwg/appendix-porting.xml:
15726 And something about newsegment events and caps-on-buffers to
15727 the porting guide (feel free to improve).
15729 2005-09-21 Andy Wingo <wingo@pobox.com>
15731 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15732 data and event probes on the same pad.
15733 (test_buffer_probe_once): Test that removing probes from within
15734 the probe functions works.
15736 2005-09-21 Andy Wingo <wingo@pobox.com>
15738 * check/gst/gstutils.c: New file.
15739 (test_buffer_probe_n_times): A simple buffer probe test. More to
15742 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15743 have-data::buffer, not have-data.
15744 (gst_pad_add_event_probe): Likewise for have-data::event.
15745 (gst_pad_add_data_probe): More docs. The part about 'resolving the
15746 peer' isn't quite right yet though.
15747 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
15748 (gst_pad_remove_data_probe): Change to take the guint handler_id
15749 as their arg, not the function+data, which is more glib-like.
15751 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15752 the signal emission to indicate if the data is a buffer or an
15754 (gst_pad_get_type): Initialize buffer and event quarks.
15755 (gst_pad_class_init): have-data is now a detailed signal, yes it
15758 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15760 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15761 * gst/gstutils.c: (gst_util_set_value_from_string),
15762 (gst_util_set_object_arg):
15763 Don't put functional code in g_return_if_fail() or
15764 g_return_val_if_fail() statements, otherwise things will
15765 break when G_DISABLE_CHECKS is defined during compilation.
15767 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15769 * docs/gst/tmpl/.cvsignore:
15770 * docs/gst/tmpl/gstvalue.sgml:
15773 inlied another one and added some obvious docs
15775 2005-09-21 Wim Taymans <wim@fluendo.com>
15777 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15778 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15779 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15780 (gst_fdsrc_get_property), (gst_fdsrc_create):
15781 * gst/elements/gstfdsrc.h:
15782 Properly implement fdsrc. Removed signal and timeout,
15783 better implemented somewhere else.
15785 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15787 * docs/gst/tmpl/.cvsignore:
15788 * docs/gst/tmpl/gstimplementsinterface.sgml:
15789 * gst/gstinterface.c:
15792 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15794 * docs/gst/gstreamer-sections.txt:
15795 * docs/gst/tmpl/.cvsignore:
15796 * docs/gst/tmpl/gstenumtypes.sgml:
15797 remove obsolete doc file
15799 2005-09-21 David Schleef <ds@schleef.org>
15801 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15802 little beer, fix a little leak.
15804 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15806 * docs/gst/gstreamer-docs.sgml:
15807 * docs/gst/gstreamer-sections.txt:
15808 * docs/gst/tmpl/.cvsignore:
15812 * gst/gstelement.h:
15813 * gst/gstindex.c: (gst_index_class_init):
15815 * gst/gstindexfactory.c: (gst_index_factory_get_type),
15816 (gst_index_factory_class_init), (gst_index_factory_init),
15817 (gst_index_factory_finalize), (gst_index_factory_new),
15818 (gst_index_factory_destroy), (gst_index_factory_find),
15819 (gst_index_factory_create), (gst_index_factory_make):
15820 * gst/gstindexfactory.h:
15821 * gst/gstpluginfeature.c:
15822 * gst/gstpluginfeature.h:
15823 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15824 more docs inlined, splitted gstindex.{c,h}
15826 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15828 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15831 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15833 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15834 Set sync to FALSE by default.
15836 2005-09-20 Wim Taymans <wim@fluendo.com>
15838 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15839 (gst_base_sink_init):
15840 Make sync property settable from subclass.
15842 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15843 (gst_fake_sink_change_state):
15844 Set sync to FALSE by default.
15846 2005-09-20 Wim Taymans <wim@fluendo.com>
15848 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15849 * tools/gst-launch.c: (main):
15850 The timeout handler should have lower priority than the source
15851 so we don't timeout before popping a message with 0 timeout.
15852 Dump error messages after failed state change.
15854 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15856 * tools/gst-inspect.c: (print_element_properties_info):
15859 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15861 * check/gst/gstevent.c:
15862 * gst/elements/gstfakesink.c:
15863 * gst/elements/gstfakesink.h:
15864 remove the sync property from fakesink.
15865 has the side effect of setting sync TRUE
15866 for fakesink, which is a change. Anyone who knows how
15867 to fix this nicely in a GObject-y way, feel free.
15869 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15871 * docs/gst/gstreamer-docs.sgml:
15872 remove probe refsection
15874 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15876 * check/Makefile.am:
15877 disable valgrinding the controller test again
15878 * docs/gst/gstreamer-sections.txt:
15879 update for api-changes
15881 2005-09-20 Wim Taymans <wim@fluendo.com>
15883 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15884 (gst_base_sink_set_property), (gst_base_sink_get_property),
15885 (gst_base_sink_do_sync):
15886 * gst/base/gstbasesink.h:
15887 Added sync property to basesink to disable clock sync.
15889 2005-09-20 Andy Wingo <wingo@pobox.com>
15891 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15892 eating the caller's refcount.
15894 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
15895 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15898 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15899 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15900 of GLib 2.8 public, so we can know which refcount to check in
15903 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15904 (gst_object_init): Only set the gst refcount if we're going ahead
15905 with the refcount hack.
15907 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15909 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15910 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15911 more leaks plumbed, added more debug-logging
15915 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15917 * gst/gstmessage.c:
15918 remove include of gstmemchunk.h
15920 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15922 * gst/gstclock.c: (_gst_clock_id_free):
15923 Commit from the Political Party For More Atomic CVS Commits,
15924 so that people don't waste too much of their day fishing
15925 out obvious leaks out of massive commits.
15926 Oh, and fix a pretty damn obvious leak in the memchunk
15929 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15931 * check/Makefile.am:
15932 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15933 plug mem-leak, re-add to valgrindable tests
15935 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15938 unbreak the build for those who have chronic arthritis
15939 and typing "make check" is just too taxing on the hands
15941 2005-09-20 Andy Wingo <wingo@pobox.com>
15943 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
15944 really want it out, you should fix plugins at the same time.
15946 2005-09-19 Stefan Kost <ensonic@users.sf.net>
15949 * docs/gst/gstreamer-sections.txt:
15951 added missing symbols to api docs
15952 disable ref-count hack if we have glib >= 2.8
15954 2005-09-19 David Schleef <ds@schleef.org>
15956 * docs/gst/Makefile.am: Ignore a few more internal headers
15957 * docs/gst/gstreamer-docs.sgml: Remove old sections
15958 * docs/gst/gstreamer-sections.txt: Remove old sections
15959 * docs/gst/tmpl/gstobject.sgml: update
15960 * docs/gst/tmpl/gstplugin.sgml: update
15961 * docs/gst/tmpl/gstpluginfeature.sgml: update
15962 * docs/random/ds/0.9-suggested-changes: update.
15963 * gst/Makefile.am: remove memchunk and trashstack, since they're
15965 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
15966 * gst/gst.h: don't include some headers
15967 * gst/gstchildproxy.c: add gstmarshal.h
15968 * gst/gstclock.c: Don't use memchunks
15969 * gst/gstminiobject.c: Add some docs
15970 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
15971 * gst/gstobject.h: same
15972 * gst/gstplugin.c: include gstmacros.h
15973 * gst/gstplugin.h: don't include gstmacros.h, since it's private
15974 * gst/gstquery.c: don't use memchunks
15975 * gst/gstregistry.c: rename gst_registry_deinit()
15976 * gst/gstregistry.h: same
15978 2005-09-19 David Schleef <ds@schleef.org>
15980 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
15981 * docs/libs/gstreamer-libs-sections.txt:
15982 * docs/libs/tmpl/gstgetbits.sgml:
15983 * docs/libs/tmpl/gstputbits.sgml:
15985 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
15987 * win32/gstenumtypes.c:
15988 * win32/gstenumtypes.h:
15991 2005-09-19 Wim Taymans <wim@fluendo.com>
15993 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
15994 Automatically PAUSE and RESUME a pipeline when a flushing seek
15997 2005-09-19 Andy Wingo <wingo@pobox.com>
15999 * gst/gstregistry.h: Spacing fixen.
16001 2005-09-19 Wim Taymans <wim@fluendo.com>
16003 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
16004 Handle state change failure more correctly.
16006 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16008 * check/Makefile.am:
16009 * check/pipelines/cleanup.c: (run_pipeline):
16010 * check/pipelines/simple_launch_lines.c: (run_pipeline),
16012 enable cleanup again after fixing the leak
16014 some more info on docs
16016 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16018 * check/Makefile.am:
16019 re-enable tests now that leaks are plugged
16021 * check/gst/gstbin.c:
16022 * check/gst/gstpipeline.c:
16023 add some more tests while fixing leaks
16024 * common/check.mak:
16025 make sure binaries are uptodate when valgrinding/gdbing
16027 * gst/gstelementfactory.c:
16028 remove a ref too many, and add a FIXME for when we get
16029 round to disposing of classes
16031 fix the refcounting when loading a plugin from a file and
16032 the code pretends that the pointer is the same even though
16033 of course it can change
16034 * gst/gstpluginfeature.c:
16035 unref plugins marked cached (a bit confusing as a name)
16036 as the docs state should be done
16037 various doc additions to explain refcounting
16038 * gst/gstregistry.c:
16039 * gst/gstregistryxml.c:
16042 2005-09-19 Wim Taymans <wim@fluendo.com>
16044 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16045 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16046 (send_messages), (GST_START_TEST), (gstbus_suite):
16047 * check/gst/gstpipeline.c: (GST_START_TEST):
16048 * check/pipelines/cleanup.c: (run_pipeline):
16049 * check/pipelines/simple_launch_lines.c: (run_pipeline),
16051 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
16052 (gst_bus_source_check), (gst_bus_source_dispatch),
16053 (gst_bus_create_watch), (gst_bus_add_watch_full),
16054 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
16056 * tools/gst-launch.c: (event_loop):
16057 * tools/gst-md5sum.c: (event_loop):
16058 GstBusHandler -> GstBusFunc, return value has the same meaning as
16059 any other GSource (FALSE == remove source).
16060 _add_watch() and _add_watch_full() now take a MessageType mask to
16061 only handle specific types of messages.
16062 _poll() returns the GstMessage instead of the message type to avoid
16064 _have_pending() takes a MessageType mask now too.
16065 Added testsuite for multiple bus watches.
16066 Fix testsuites and applications for new bus API.
16068 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16070 * check/Makefile.am:
16071 mark a bunch of the tests as to fix until we fix them
16073 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16075 * common/check.mak:
16076 use GST_PLUGIN settings for valgrind tests as well, so we're
16077 valgrinding the correct thing
16078 * gst/gst.c: (init_post):
16081 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16083 * gst/gst.c: (init_post), (gst_deinit):
16084 * gst/gstelementfactory.c: (gst_element_factory_class_init),
16085 (gst_element_factory_finalize), (gst_element_factory_cleanup):
16086 * gst/gstindex.c: (gst_index_factory_class_init),
16087 (gst_index_factory_finalize):
16088 * gst/gstobject.c: (gst_object_dispose):
16089 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16090 (gst_plugin_load_file), (gst_plugin_desc_free):
16091 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
16092 (gst_plugin_feature_finalize):
16093 * gst/gstregistry.c: (gst_registry_class_init),
16094 (gst_registry_init), (gst_registry_finalize),
16095 (gst_registry_get_default), (gst_registry_deinit):
16096 * gst/gstregistry.h:
16097 * gst/gstregistryxml.c: (load_feature), (load_plugin):
16098 various cleanups and memleak plugging. make valgrind is happy now.
16100 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16102 * common/check.mak:
16103 add a check-valgrind target
16105 2005-09-18 David Schleef <ds@schleef.org>
16107 * tools/gst-inspect.c: Revert the GOption code.
16109 2005-09-17 David Schleef <ds@schleef.org>
16111 * check/Makefile.am: Fix environment variables.
16112 * check/gst/gstplugin.c: Fix for API changes.
16113 * tools/gst-inspect.c: Fix for API changes.
16114 * tools/gst-xmlinspect.c: Fix for API changes.
16115 * gst/gstelementfactory.c:
16118 * gst/gstpluginfeature.c:
16119 * gst/gstpluginfeature.h:
16120 * gst/gstregistry.c:
16121 * gst/gstregistry.h:
16122 * gst/gstregistryxml.c:
16123 * gst/gsttypefind.c:
16124 * gst/gsttypefindfactory.c:
16125 * gst/indexers/gstfileindex.c:
16126 * gst/indexers/gstmemindex.c:
16127 * gst/schedulers/Makefile.am:
16128 Change registry to keep track of both plugins and features,
16129 removing the feature tracking from plugins themselves.
16131 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
16133 * check/Makefile.am:
16134 * tools/gst-register.1.in:
16135 remove gst-register
16137 2005-09-15 David Schleef <ds@schleef.org>
16139 * check/gst/gstplugin.c:
16140 * gst/gstelementfactory.c:
16142 * gst/gstpluginfeature.c:
16143 * gst/gstregistry.c:
16144 Getting tired of debugging. Disabled all the unreffing of
16145 plugins and features, which fixes the segfaults, but of
16146 course leaks like crazy. At least playbin works.
16148 2005-09-15 David Schleef <ds@schleef.org>
16150 * check/gst/gstplugin.c: (register_check_elements),
16151 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16153 * gst/elements/gsttypefindelement.c: Fix refcounting.
16154 * gst/gsttypefind.c:
16155 * gst/gsttypefindfactory.c:
16156 * gst/gsttypefindfactory.h:
16158 2005-09-15 David Schleef <ds@schleef.org>
16160 * gst/gstindex.c: get refcounting correct.
16161 * gst/gstregistry.c: Handle the case where a feature/plugin is
16164 2005-09-15 David Schleef <ds@schleef.org>
16166 * check/Makefile.am:
16167 * check/gst/gstplugin.c: Add test
16168 * gst/gstplugin.c: Fix problems noticed by testsuite
16170 * gst/gstregistry.c:
16171 * gst/gstregistry.h:
16173 2005-09-15 David Schleef <ds@schleef.org>
16175 * gst/gstplugin.c: Implement semi-decent recounting and locking
16176 in plugins and plugin features.
16178 * gst/gstpluginfeature.c:
16179 * gst/gstpluginfeature.h:
16180 * gst/gstregistry.c:
16182 2005-09-15 Michael Smith <msmith@fluendo.com>
16184 * gst/gstregistry.c: (gst_registry_get_feature_list):
16185 Implement this. Makes oggdemux work; decodebin still broken.
16187 2005-09-14 David Schleef <ds@schleef.org>
16189 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16191 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16192 * gst/check/Makefile.am:
16193 * libs/gst/controller/Makefile.am:
16194 * libs/gst/dataprotocol/Makefile.am:
16196 2005-09-14 David Schleef <ds@schleef.org>
16198 * configure.ac: Remove getbits library. Nothing uses it, and
16199 it should be in something like liboil if someone did want
16201 * libs/gst/Makefile.am:
16202 * libs/gst/getbits/Makefile.am:
16203 * libs/gst/getbits/gbtest.c:
16204 * libs/gst/getbits/getbits.c:
16205 * libs/gst/getbits/getbits.h:
16206 * libs/gst/getbits/gstgetbits_generic.c:
16207 * libs/gst/getbits/gstgetbits_i386.s:
16208 * libs/gst/getbits/gstgetbits_inl.h:
16210 2005-09-14 David Schleef <ds@schleef.org>
16212 * gst/Makefile.am: Dist glib-compat.h
16214 2005-09-14 David Schleef <ds@schleef.org>
16216 * configure.ac: Remove gst/registries, since it's no longer used.
16217 * gst/registries/Makefile.am:
16218 * gst/registries/gstlibxmlregistry.c:
16219 * gst/registries/gstlibxmlregistry.h:
16220 * gst/registries/gstxmlregistry.c:
16221 * gst/registries/gstxmlregistry.h:
16222 * gst/registries/registrytest.c:
16224 2005-09-14 David Schleef <ds@schleef.org>
16226 * gst/glib-compat.h:
16227 * gst/gstregistryxml.c:
16228 Convergence is near. Seriously.
16230 2005-09-14 David Schleef <ds@schleef.org>
16232 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16233 * gst/glib-compat.h:
16234 Attempt #4 to appease the buildbots.
16236 2005-09-14 David Schleef <ds@schleef.org>
16238 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16241 2005-09-14 David Schleef <ds@schleef.org>
16243 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16246 2005-09-14 David Schleef <ds@schleef.org>
16248 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16251 2005-09-14 David Schleef <ds@schleef.org>
16253 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16254 * gst/glib-compat.h: Add some functions that are in newer versions
16255 of glib than we care to require.
16256 * gst/gstregistryxml.c: Use them.
16258 2005-09-14 David Schleef <ds@schleef.org>
16260 * po/POTFILES.in: remove gst-register.c
16262 2005-09-14 David Schleef <ds@schleef.org>
16264 * docs/gst/gstreamer-docs.sgml:
16265 * docs/gst/gstreamer-sections.txt:
16266 * docs/gst/gstreamer.types:
16267 * docs/gst/tmpl/gstelement.sgml:
16268 * docs/gst/tmpl/gstplugin.sgml:
16269 * docs/gst/tmpl/gstpluginfeature.sgml:
16270 Documentation updates for registry changes.
16272 2005-09-14 David Schleef <ds@schleef.org>
16274 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16275 because we don't require glib-2.8.
16277 2005-09-14 David Schleef <ds@schleef.org>
16279 * gst/gstregistryxml.c: Added. Essentially moved out of the
16280 registries directory.
16282 2005-09-14 David Schleef <ds@schleef.org>
16284 * check/Makefile.am:
16285 * check/generic/states.c:
16289 * gst/gst_private.h:
16290 * gst/gstelementfactory.c:
16295 * gst/gstpluginfeature.c:
16296 * gst/gstpluginfeature.h:
16297 * gst/gstregistry.c:
16298 * gst/gstregistry.h:
16299 * gst/gstregistrypool.c: remove
16300 * gst/gstregistrypool.h: remove
16301 * gst/gsttypefind.c:
16302 * gst/gsttypefindfactory.c:
16304 * tools/Makefile.am:
16305 * tools/gst-compprep.c:
16306 * tools/gst-inspect.c:
16307 * tools/gst-register.c: remove
16308 * tools/gst-xmlinspect.c:
16309 Registry rewrite. Changes registry from being a file created
16310 by a tool into a simple cache file created automatically by
16311 libgstreamer. Removed gst-register (because it's no longer
16312 needed). Remove registry pools, because we only have one
16313 registry implementation (XML). Fix up other subsystems as
16316 2005-09-13 Michael Smith <msmith@fluendo.com>
16318 * gst/gstconfig.h.in:
16319 Don't Use windows linking attributes for MinGW. Fixes #316157
16321 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
16323 * gst/gstutils.c: (set_state_async_thread_func),
16324 (gst_element_set_state_async):
16325 Apparently people think it's better if this function doesn't
16326 try to set the state to whatever state was asked for on the first
16327 call to this function for any object. Seriously.
16329 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16331 * check/gst/gstpipeline.c: (GST_START_TEST):
16332 * docs/gst/gstreamer-sections.txt:
16333 * gst/gstutils.c: (set_state_async_thread_func),
16334 (gst_element_set_state_async):
16336 add a "gst_element_set_state_async" method that
16337 sets the state and starts a thread to make sure the state
16338 change completes as best as it can
16340 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16342 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16343 codify design+behaviour in testsuite after discussion
16345 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16347 * docs/gst/tmpl/gstelement.sgml:
16348 * docs/manual/appendix-quotes.xml:
16350 * gst/gstelement.c: (gst_element_set_state):
16353 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
16355 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16356 (gst_base_transform_prepare_output_buf),
16357 (gst_base_transform_handle_buffer):
16358 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16359 (gst_capsfilter_prepare_buf):
16360 Remove the requirement for sub-classes to call the parent
16361 implementation of prepare_output_buffer with a wrapper function.
16363 * gst/gsttaglist.h:
16364 * gst/gsttagsetter.h:
16365 Fix #define wrapper
16367 2005-09-11 Stefan Kost <ensonic@users.sf.net>
16369 * docs/gst/gstreamer-sections.txt:
16372 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16374 * docs/gst/gstreamer-sections.txt:
16375 * docs/gst/tmpl/gstelement.sgml:
16376 * docs/gst/tmpl/gstplugin.sgml:
16377 * gst/gstminiobject.c:
16379 docs now stop throwing warnings
16381 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16383 * docs/gst/gstreamer-sections.txt:
16384 * docs/gst/gstreamer.types:
16385 * docs/gst/tmpl/gstpad.sgml:
16386 * docs/gst/tmpl/gsttypes.sgml:
16387 * gst/base/gstadapter.h:
16388 * gst/base/gstbasesink.h:
16389 * gst/base/gstbasesrc.h:
16395 * gst/gstelement.h:
16397 * gst/gstmessage.h:
16399 * gst/gststructure.c:
16400 * gst/registries/gstlibxmlregistry.h:
16401 various documentation fixes
16403 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16405 * docs/gst/gstreamer-sections.txt:
16406 * docs/gst/tmpl/gstvalue.sgml:
16407 rearrange gstvalue section
16408 * gst/gstutils.c: (gst_element_state_get_name):
16410 * gst/gstvalue.c: (_gst_value_initialize):
16414 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
16416 * check/gst-libs/controller.c:
16417 Header include fix.
16418 * gst/base/gstbasetransform.c:
16419 (gst_base_transform_default_prepare_buf),
16420 (gst_base_transform_handle_buffer):
16421 * gst/base/gstbasetransform.h:
16422 Some more basetransform changes and fixes to enable sub-classes
16423 that modify buffer metadata only.
16424 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16425 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16426 (gst_capsfilter_prepare_buf):
16427 If the output pad has fixed allowed caps and input buffers
16428 don't have any, set the fixed caps on outgoing buffers.
16430 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
16431 * check/elements/identity.c: (GST_START_TEST):
16432 Make the error a little clearer when the test fails because
16433 identity made a copy of the buffer.
16434 * docs/gst/gstreamer-sections.txt:
16435 New symbols in gstbasetransform.h
16436 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16437 (gst_base_transform_init), (gst_base_transform_transform_size),
16438 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16439 (gst_base_transform_default_prepare_buf),
16440 (gst_base_transform_get_unit_size),
16441 (gst_base_transform_buffer_alloc),
16442 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16443 (gst_base_transform_change_state),
16444 (gst_base_transform_set_passthrough),
16445 (gst_base_transform_set_in_place),
16446 (gst_base_transform_is_in_place):
16447 * gst/base/gstbasetransform.h:
16448 Change BaseTransform to separate in_place operate from same_caps
16449 output. in_place implies that the element can perform the transform
16450 on incoming buffers in-place, even if the caps on the output are
16452 Sub-class elements can now implement special buffer allocation
16453 methods for outgoing buffers if they wish to.
16454 Big documentation addition.
16455 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16456 * gst/elements/gstelements.c:
16457 Changes for basetransform modifications.
16458 * gst/elements/Makefile.am:
16459 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16460 Compile fix. Extra debug output.
16462 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16464 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16466 add tests for valid pad naming
16467 * gst/check/gstcheck.c: (gst_check_log_message_func),
16468 (gst_check_log_critical_func):
16470 remove printing of code, it is fragile when the code contains
16471 % and the line number is enough info
16472 * gst/check/gstcheck.h:
16473 * gst/gstpad.c: (gst_pad_template_new):
16476 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16479 say what CHECK flags we use
16480 * docs/libs/gstreamer-libs.types:
16481 * libs/gst/controller/Makefile.am:
16482 * libs/gst/controller/gst-controller.c:
16483 * libs/gst/controller/gst-controller.h:
16484 * libs/gst/controller/gst-helper.c:
16485 * libs/gst/controller/gst-interpolation.c:
16486 * libs/gst/controller/gstcontroller.c:
16487 * libs/gst/controller/gsthelper.c:
16488 * libs/gst/controller/gstinterpolation.c:
16489 * tools/gst-inspect.c: (print_plugin_info):
16490 we don't use dashes in header names
16492 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16494 * check/Makefile.am:
16495 * check/gst/.cvsignore:
16496 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16497 (gst_pipeline_suite), (main):
16498 adding a test for pipelines and state changes
16499 * gst/gstutils.c: (get_state_func):
16501 * gstreamer.spec.in:
16504 2005-09-08 Michael Smith <msmith@fluendo.com>
16506 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16507 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16508 (gst_file_src_is_seekable), (gst_file_src_get_size),
16509 (gst_file_src_start):
16510 * gst/elements/gstfilesrc.h:
16511 Various fixes for unseekable, unmmapable, and non-normal files, so
16512 that fallback to read() rather than mmap() works.
16513 * gst/gstevent.c: (gst_event_new_newsegment):
16514 Allow newsegment events with segment_start == segment_end, as will
16515 correctly happen if you use filesrc on a zero-size file, for
16518 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16520 * gst/gstplugin.c: (gst_plugin_load_file):
16521 Call g_module_close when we don't load the module
16523 * gst/registries/gstlibxmlregistry.c:
16524 (gst_xml_registry_get_property):
16525 Port leak fix from 0.8
16527 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16529 * docs/gst/gstreamer-docs.sgml:
16530 * docs/gst/tmpl/.cvsignore:
16531 * docs/gst/tmpl/gsttrace.sgml:
16532 * docs/gst/tmpl/gsttrashstack.sgml:
16535 * gst/gstelement.h:
16537 * gst/gstmessage.c:
16538 * gst/gstmessage.h:
16541 * gst/gsttaginterface.c:
16542 * gst/gsttaginterface.h:
16543 * gst/gsttaglist.c:
16544 * gst/gsttaglist.h:
16545 * gst/gsttagsetter.c:
16546 * gst/gsttagsetter.h:
16549 * gst/gsttrashstack.c:
16550 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16551 inlined docs for gsttrace, gsttrashstack
16553 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16556 * gst/elements/gstbufferstore.h:
16557 * gst/elements/gsttypefindelement.c:
16558 * gst/elements/gsttypefindelement.h:
16560 * gst/gsttypefind.c:
16561 * gst/gsttypefind.h:
16562 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16563 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16564 (gst_type_find_factory_dispose),
16565 (gst_type_find_factory_unload_thyself),
16566 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16567 (gst_type_find_factory_get_caps),
16568 (gst_type_find_factory_get_extensions),
16569 (gst_type_find_factory_call_function):
16570 * gst/gsttypefindfactory.h:
16571 * gst/registries/gstlibxmlregistry.c:
16572 * gst/registries/gstxmlregistry.c:
16573 splitted gsttypefind into gsttypefind, gsttypefindfactory
16575 2005-09-07 Andy Wingo <wingo@pobox.com>
16577 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16578 condition whereby the pad's task function is entered before the
16579 pad_mode variable was set.
16581 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16583 * gst/gstpad.c: (gst_pad_alloc_buffer):
16584 Catch misbehaving pad_alloc functions that don't
16585 set up caps and do it for them.
16587 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16589 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16590 test for pipe!=NULL
16591 * docs/gst/tmpl/.cvsignore:
16592 * docs/gst/tmpl/gstmemchunk.sgml:
16593 * docs/gst/tmpl/gstparse.sgml:
16594 * docs/gst/tmpl/gsttaglist.sgml:
16595 * docs/gst/tmpl/gsttagsetter.sgml:
16596 * docs/gst/tmpl/gsttypefind.sgml:
16597 * docs/gst/tmpl/gsttypefindfactory.sgml:
16598 * gst/gstmemchunk.c:
16601 * gst/gsttaginterface.c:
16602 * gst/gsttypefind.c:
16603 * gst/gsttypefind.h:
16606 === release 0.9.2 ===
16608 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
16613 releasing 0.9.2, "South"
16615 2005-09-05 Andy Wingo <wingo@pobox.com>
16617 * gst/registries/gstxmlregistry.h:
16618 * gst/registries/gstxmlregistry.c: Um... resurrect...
16620 * gst/registries/gstxmlregistry.h:
16621 * gst/registries/gstxmlregistry.c: and update to newer API.
16622 Incidentally they should be a bit faster now that they don't have
16625 2005-09-05 Andy Wingo <wingo@pobox.com>
16627 * gst/registries/gstxmlregistry.h:
16628 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16629 replaced by the libxml registry a while back
16631 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16633 * docs/gst/tmpl/gstplugin.sgml:
16634 * gst/elements/gstelements.c:
16636 * gst/gstplugin.c: (gst_plugin_register_func),
16637 (gst_plugin_desc_copy), (gst_plugin_desc_free),
16638 (gst_plugin_get_source):
16640 * gst/registries/gstlibxmlregistry.c: (load_plugin),
16641 (gst_xml_registry_save_plugin):
16642 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16643 (gst_xml_registry_save_plugin):
16644 * tools/gst-inspect.c: (print_plugin_info):
16645 add a "source" plugin description field, to represent the source
16646 module this plugin is a part of. By default GST_PLUGIN_DEFINE
16647 will set it to PACKAGE, which is automake's idea of the name of
16648 the source project.
16650 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16655 * docs/Makefile.am:
16656 * docs/faq/Makefile.am:
16657 * docs/gst/tmpl/gstelement.sgml:
16658 * docs/gst/tmpl/gsttypes.sgml:
16659 * docs/htmlinstall.mak:
16660 * docs/manual/Makefile.am:
16661 * docs/pwg/Makefile.am:
16662 reorganize doc build a little
16663 split out docbook and gtk-doc stuff
16664 have two separate --enable's and enable them through autogen
16665 but disable by default in configure (to be similar to other
16667 * gstreamer.spec.in:
16668 clean up docs install
16686 translation updates
16688 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
16690 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16693 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16694 (gst_fake_sink_change_state):
16695 Make state change function thread-safe.
16697 * gst/gstpad.c: (gst_pad_alloc_buffer):
16698 Set offset on generic buffer allocated by fallback.
16700 2005-09-03 Stefan Kost <ensonic@users.sf.net>
16702 * docs/gst/gstreamer-sections.txt:
16703 * docs/gst/tmpl/gstelement.sgml:
16705 * libs/gst/controller/gst-controller.c:
16706 (gst_controlled_property_set_interpolation_mode),
16707 (gst_controlled_property_new),
16708 (gst_controller_find_controlled_property):
16709 run the wingo-magic script against the docs
16711 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16713 * docs/gst/gstreamer-docs.sgml:
16714 * docs/gst/gstreamer-sections.txt:
16715 * docs/gst/tmpl/.cvsignore:
16716 * docs/gst/tmpl/gstelementdetails.sgml:
16717 * docs/gst/tmpl/gstelementfactory.sgml:
16720 * gst/gstelementfactory.c:
16721 * gst/gstelementfactory.h:
16722 merged elementdetails docs into elementfactory docs
16725 2005-09-02 Andy Wingo <wingo@pobox.com>
16727 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16728 consider this enum an enum and not a flags.
16730 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16732 * docs/gst/gstreamer-docs.sgml:
16733 * docs/gst/tmpl/.cvsignore:
16734 * docs/gst/tmpl/gstghostpad.sgml:
16735 * docs/gst/tmpl/gstiterator.sgml:
16736 * docs/gst/tmpl/gstmacros.sgml:
16737 * docs/gst/tmpl/gstrealpad.sgml:
16738 * docs/gst/tmpl/gstregistry.sgml:
16739 * docs/gst/tmpl/gstregistrypool.sgml:
16740 * docs/gst/tmpl/gststructure.sgml:
16741 * docs/gst/tmpl/gstsystemclock.sgml:
16742 * docs/gst/tmpl/gsttrace.sgml:
16743 * gst/gstghostpad.c:
16745 * gst/gstmemchunk.c:
16746 * gst/gstmemchunk.h:
16748 * gst/gstregistry.c:
16749 * gst/gstregistrypool.c:
16750 * gst/gststructure.c:
16751 * gst/gstsystemclock.c:
16754 2005-09-02 Andy Wingo <wingo@pobox.com>
16756 * gst/gstelement.h (GstState): Renamed from GstElementState,
16757 changed to be a normal enum instead of flags.
16758 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16759 munged to be GST_STATE_CHANGE_*.
16760 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16761 work with the new state representation.
16762 (GstStateChange): New enumeration of possible state transitions.
16763 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16764 (GstElementClass::change_state): Pass the GstStateChange along as
16765 an argument. Helps language bindings, so they don't have to use
16766 tricky lock-needing macros like GST_STATE_CHANGE ().
16768 * scripts/update-states (file): New script. Run it on a file to
16769 update it for state naming and API changes. Updates files in
16772 * All files updated for the new API.
16774 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
16776 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16777 * gst/gstutils.c: (gst_util_set_value_from_string),
16778 (gst_util_set_object_arg):
16779 fix a bunch of unchecked return values
16780 * tools/gst-complete.c: (main):
16781 * gstreamer.spec.in:
16784 2005-09-01 Wim Taymans <wim@fluendo.com>
16786 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16787 (gst_base_sink_event), (gst_base_sink_do_sync),
16788 (gst_base_sink_handle_event):
16789 * gst/base/gstbasesink.h:
16790 Handle newsegments more correctly.
16795 * gst/gstevent.c: (gst_event_new_newsegment):
16796 A newsegment cannot have a start_time of -1
16798 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
16800 * win32/gstenumtypes.c:
16801 * win32/gstenumtypes.h:
16804 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16806 * libs/gst/controller/gst-controller.c:
16807 (gst_controlled_property_set_interpolation_mode),
16808 (gst_controlled_property_new):
16809 fixed boolean again
16811 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
16813 * docs/faq/gst-uninstalled:
16818 * gst/gstutils.c: (gst_element_link_filtered):
16820 add gst_element_link_filtered
16822 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16824 * docs/gst/gstreamer-docs.sgml:
16825 * docs/gst/gstreamer-sections.txt:
16826 * docs/gst/tmpl/.cvsignore:
16827 * docs/gst/tmpl/gsterror.sgml:
16828 * docs/gst/tmpl/gstfilter.sgml:
16829 * docs/gst/tmpl/gsturihandler.sgml:
16830 * docs/gst/tmpl/gsturitype.sgml:
16831 * docs/gst/tmpl/gstutils.sgml:
16832 * docs/gst/tmpl/gstxml.sgml:
16837 * gst/gsturitype.c:
16840 inlined more docs, fixed double id-ref
16842 2005-08-31 Wim Taymans <wim@fluendo.com>
16844 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16845 (gst_base_transform_handle_buffer):
16846 Passthrough elements don't need the caps as they don't care.
16848 2005-08-31 Wim Taymans <wim@fluendo.com>
16850 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16851 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16852 Don't leak refcounts on buffers.
16854 2005-08-31 Wim Taymans <wim@fluendo.com>
16856 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16857 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16858 (gst_base_transform_chain), (gst_base_transform_change_state):
16859 * gst/base/gstbasetransform.h:
16860 Handle the case where we are not negotiated more gracefully.
16862 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
16864 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16865 (gst_file_src_map_region):
16866 Set READONLY flag on mmap'ed buffers, otherwise
16867 gst_buffer_make_writable() won't work properly (#314708).
16869 2005-08-31 Wim Taymans <wim@fluendo.com>
16871 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16872 passthrough elements can even do inplace on non writable
16873 buffers (as they don't touch them).
16875 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16877 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16878 (gst_test_mono_source_set_property),
16879 (gst_test_mono_source_class_init), (GST_START_TEST),
16880 (gst_controller_suite):
16881 more tests (hehe I have the most)
16883 describe popping messages whenusing mulltiple sources
16884 * libs/gst/controller/gst-controller.c:
16885 (gst_controlled_property_set_interpolation_mode),
16886 (gst_controlled_property_new):
16887 * libs/gst/controller/gst-controller.h:
16888 * libs/gst/controller/gst-interpolation.c:
16889 implement boolean properties
16891 2005-08-31 Wim Taymans <wim@fluendo.com>
16893 * gst/gstminiobject.c: (gst_mini_object_ref):
16894 Cannot assert that the refcount has to be positive
16895 since a disposed object can be resurrected.
16897 2005-08-31 Wim Taymans <wim@fluendo.com>
16899 * gst/gstpad.c: (gst_pad_init):
16900 Revert change, need to first fix badly behaving
16903 2005-08-30 Wim Taymans <wim@fluendo.com>
16905 * check/elements/fakesrc.c: (setup_fakesrc):
16906 * check/elements/identity.c: (setup_identity):
16907 Activate pads before using them.
16909 2005-08-30 Wim Taymans <wim@fluendo.com>
16911 * gst/base/gstadapter.c: (gst_adapter_flush):
16912 Flushing out 0 bytes is ok for this function.
16914 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16915 no newsegment gives a warning and sets the start/stop to
16918 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16919 (gst_base_transform_set_passthrough):
16922 * gst/gstminiobject.c: (gst_mini_object_ref):
16923 Check refcount here too.
16925 * gst/gstpad.c: (gst_pad_init):
16926 Pads are initially flushing and refusing data.
16928 * gst/gstutils.c: (gst_element_link_pads_filtered):
16929 When adding a capsfilter element make sure it has the
16930 same state as the parent bin.
16932 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16934 * docs/gst/tmpl/.cvsignore:
16935 * docs/gst/tmpl/gstformat.sgml:
16936 * docs/gst/tmpl/gstversion.sgml:
16940 * gst/gstversion.h.in:
16941 more docs and two more inlined
16943 2005-08-30 Wim Taymans <wim@fluendo.com>
16945 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
16946 Don't sync to clock.
16948 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16950 * docs/gst/gstreamer-sections.txt:
16951 ultral33t func10ns deserve to appear in the docs actually
16952 * docs/gst/tmpl/.cvsignore:
16953 * docs/gst/tmpl/gstcompat.sgml:
16954 * docs/gst/tmpl/gstconfig.sgml:
16955 * gst/check/gstcheck.c:
16957 * gst/gstconfig.h.in:
16960 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16962 * docs/gst/tmpl/.cvsignore:
16963 * docs/gst/tmpl/gstquery.sgml:
16964 * docs/gst/tmpl/gstutils.sgml:
16967 inlined and extended docs
16969 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16971 * check/gst-libs/controller.c: (GST_START_TEST),
16972 (gst_controller_suite):
16974 * docs/gst/tmpl/gstutils.sgml:
16975 * docs/libs/gstreamer-libs-sections.txt:
16976 * docs/libs/tmpl/gstdataprotocol.sgml:
16978 * examples/controller/audio-example.c: (main):
16979 controller example works now
16982 * tools/gst-inspect.c: (print_element_properties_info):
16983 show param spec flags
16985 2005-08-29 Andy Wingo <wingo@pobox.com>
16987 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
16989 2005-08-28 Andy Wingo <wingo@pobox.com>
16991 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
16992 as having two arguments instead of just one. Allows superclasses
16993 to access information on subclasses -- see the terrible for() loop
16994 in gtype.c:g_type_create_instance for the reason why. All callers
16997 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16999 * docs/design/part-messages.txt:
17001 * docs/gst/tmpl/.cvsignore:
17002 * docs/gst/tmpl/gstcaps.sgml:
17003 * docs/gst/tmpl/gstclock.sgml:
17009 * gst/gstmessage.c:
17010 added descriptions for bus and message
17011 inline caps and clock docs
17013 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17015 * gst/gstmessage.c:
17016 * gst/gstmessage.h:
17019 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17021 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17024 2005-08-26 Andy Wingo <wingo@pobox.com>
17026 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
17027 element_set_state's return val.
17028 (test_2_elements): Add test that's been disabled for months.
17030 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
17031 can-activate-pull properties.
17033 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
17034 can-activate-pull properties. Implement is_seekable so fakesrc can
17035 operate in pull mode.
17037 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
17039 (gst_base_sink_activate, gst_base_sink_activate_pull)
17040 (gst_base_sink_activate_push): Make activation mode choosing work.
17042 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
17043 is right. Make pull mode work. Post an eos before pausing in pull
17045 (gst_base_sink_change_state): Pay attention to the core's
17046 change_state() return val.
17048 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
17049 has-getrange properties. Cleanups.
17051 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
17052 has_getrange and replace with can_activate_pull and
17055 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
17056 locking comments. Remove has_loop, has_chain and replace with
17057 can_activate_pull and can_activate_push.
17059 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
17062 * examples/Makefile.am:
17063 * examples/metadata/Makefile.am:
17064 * examples/metadata/read-metadata.c: (message_loop),
17065 (have_pad_handler), (make_pipeline), (print_tag), (main):
17066 Add metadata reading example that loops over a list of filenames,
17067 dumping any tags found.
17069 * gst/gstbus.c: (gst_bus_dispose):
17070 * gst/gstelement.c: (gst_element_dispose):
17071 Release a few potentially-held references in dispose.
17073 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17075 * docs/gst/tmpl/gstminiobject.sgml:
17076 do *not* add tmpl/*.sgml files to CVS!
17078 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17080 * libs/gst/bytestream/.cvsignore:
17081 * libs/gst/bytestream/Makefile.am:
17082 * libs/gst/bytestream/adapter.c:
17083 * libs/gst/bytestream/adapter.h:
17084 * libs/gst/bytestream/bytestream.c:
17085 * libs/gst/bytestream/bytestream.h:
17086 * libs/gst/bytestream/filepad.c:
17087 * libs/gst/bytestream/filepad.h:
17088 removing obsolete files
17090 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17092 * docs/gst/gstreamer-docs.sgml:
17093 * docs/libs/gstreamer-libs-docs.sgml:
17094 disabed additional index entries again, as this makes docs-gen just
17095 slow and they aren't useful yet
17096 * docs/libs/gstreamer-libs-sections.txt:
17097 little -section.txt cleanup for libs
17099 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
17101 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17102 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17103 fix up some debugging
17104 (gst_base_transform_get_unit_size),
17105 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17106 (gst_base_transform_handle_buffer):
17107 * gst/base/gstbasetransform.h:
17108 handle and store timed NEWSEGMENT events so that subclasses that
17109 calculate time by counting samples have a segment_start time they
17110 need to add to their timestamps - see audioresample
17112 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17115 removed ';' from the end of macro defs
17116 * docs/gst/gstreamer-docs.sgml:
17117 * docs/gst/gstreamer-sections.txt:
17118 * docs/gst/tmpl/.cvsignore:
17120 * gst/gstelement.c: (gst_element_class_init),
17121 (gst_element_set_state), (activate_pads),
17122 (gst_element_save_thyself):
17123 * gst/gstevent.c: (gst_event_new_newsegment):
17125 * gst/gstiterator.c:
17126 * gst/gstiterator.h:
17129 * gst/gstutils.c: (gst_pad_query_convert):
17131 fixed parameter name mismatches between source, header and docs
17132 added some more docs, resolved the last batch of unused elements in
17133 docs (now someone needs to doc them)
17135 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17137 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17138 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17139 don't walk through the plugins backwards. Where is all this
17140 reversed logic coming from ?
17142 2005-08-25 Wim Taymans <wim@fluendo.com>
17144 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17145 (gst_base_transform_transform_size),
17146 (gst_base_transform_configure_caps),
17147 (gst_base_transform_get_unit_size),
17148 (gst_base_transform_buffer_alloc),
17149 (gst_base_transform_change_state):
17150 * gst/base/gstbasetransform.h:
17151 Cache caps unit_size.
17152 Make sure we cannot negotiate up and downstream at the
17155 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17157 * gst/gst.c: (init_pre), (init_post):
17158 register the installed plugin path after the env var
17159 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17160 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17161 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17162 directories, so the tests can prefer uninstalled over installed
17164 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17166 * gst/base/gstbasetransform.h:
17171 2005-08-25 Wim Taymans <wim@fluendo.com>
17173 * gst/gstbin.c: (bin_bus_handler):
17174 Be a bit more conservative about the posted message.
17176 * gst/gstbus.c: (gst_bus_post):
17177 Some cleanups, warn wrong return values.
17179 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
17181 * check/gst/gstbin.c: (GST_START_TEST):
17182 * gst/gstbin.c: (bin_bus_handler):
17183 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17184 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17185 (gst_message_new_warning), (gst_message_new_tag),
17186 (gst_message_new_state_changed), (gst_message_new_segment_start),
17187 (gst_message_new_segment_done), (gst_message_new_custom):
17188 * gst/gstmessage.h:
17189 * tools/gst-launch.c: (event_loop):
17190 * tools/gst-md5sum.c: (event_loop):
17191 Revert unpopular change for GST_MESSAGE_SRC to GObject.
17193 2005-08-25 Wim Taymans <wim@fluendo.com>
17195 * check/generic/states.c: (GST_START_TEST):
17196 Cleanup can be done at the end.
17198 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17199 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17200 (gst_task_get_state), (gst_task_start), (gst_task_pause):
17201 Oh boy.. Thanks for finding this, Thomas.
17203 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17205 * docs/gst/gstreamer.types:
17206 added missing types
17208 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17210 * docs/gst/gstreamer-docs.sgml:
17211 * docs/gst/gstreamer-sections.txt:
17212 * docs/gst/tmpl/.cvsignore:
17214 * gst/gstiterator.c:
17216 * gst/registries/gstxmlregistry.h:
17217 added missing classes and symbols (123 more to go)
17218 removed removed symbols from section file
17219 fixed many doc-comments
17221 2005-08-24 Wim Taymans <wim@fluendo.com>
17223 * check/generic/states.c: (GST_START_TEST):
17224 Make sure all tasks are stopped.
17226 * check/gst/gstbin.c: (GST_START_TEST):
17227 Unref after usage for proper valgrinding.
17229 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17230 Really wait for the task to stop before destroying the
17233 * gst/gstqueue.c: (gst_queue_sink_activate_push),
17234 (gst_queue_src_activate_push):
17235 Small cleanups. Don't stop the task when we did not start
17238 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17239 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17240 (gst_task_get_state), (gst_task_start), (gst_task_pause),
17243 Protect the stream lock with the object lock.
17244 Disallow setting the stream lock when running.
17245 Add cleanup_all to wait for the threadpool to finish.
17246 Remove code to autoallocate a mutex if none was provided.
17247 Add _join() to wait for a task to stop.
17248 Protect the thread pool with a global lock.
17250 2005-08-24 Wim Taymans <wim@fluendo.com>
17252 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17253 (gst_base_sink_get_times), (gst_base_sink_do_sync),
17254 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17255 * gst/base/gstbasesink.h:
17256 Handle newsegment events correctly.
17257 Drop buffers out of the segment range.
17259 2005-08-22 Andy Wingo <wingo@pobox.com>
17261 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17262 macro, implements an interface and gstimplementsinterface for a
17265 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17267 * check/Makefile.am:
17268 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17269 add a test that does a bunch of state changes on elements
17270 needs some fixing for valgrind
17271 * check/states/sinks.c: (gst_object_suite):
17274 add prototype for gst_caps_is_equal_fixed
17276 * gst/gstregistrypool.c:
17279 2005-08-24 Andy Wingo <wingo@pobox.com>
17281 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17282 convert a negative value. Doesn't make much sense. Mostly this is
17283 here to force callers to ensure -1 maps to -1.
17285 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17287 * docs/pwg/advanced-types.xml:
17288 Well done to Michael for catching my deliberate introduction
17289 of this spelling mistake.
17290 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17291 * gst/gstelement.h:
17292 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17293 unlink pads before removing the element from the bin.
17295 2005-08-24 Andy Wingo <wingo@pobox.com>
17297 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17298 the same thing as GST_DEBUG=*:4.
17299 (parse_debug_level, parse_debug_category): New helper parsers.
17301 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17303 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17304 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17305 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17306 (gst_base_transform_buffer_alloc),
17307 (gst_base_transform_handle_buffer):
17308 use gboolean return values and pointers to size so we can use the
17309 full GST_BUFFER_SIZE range (guint) for buffer sizes
17310 use GstPadDirection for transform_caps
17311 * gst/base/gstbasetransform.h:
17312 rename get_size to get_unit_size since that's what it is
17313 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17314 use GstPadDirection for transform_caps
17315 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17317 cleanup and debugging
17319 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17321 * gst/gstelement.c: (gst_element_class_init),
17322 (gst_element_set_state), (activate_pads),
17323 (gst_element_save_thyself):
17324 * tools/gst-compprep.c: (main):
17325 * tools/gst-inspect.c: (print_element_properties_info):
17326 * tools/gst-xmlinspect.c: (print_element_properties):
17327 Fixed long standing mem-leak
17329 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17331 * check/gst/gstbin.c: (GST_START_TEST):
17332 * gst/gstbin.c: (bin_bus_handler):
17333 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17334 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17335 (gst_message_new_warning), (gst_message_new_tag),
17336 (gst_message_new_state_changed), (gst_message_new_segment_start),
17337 (gst_message_new_segment_done), (gst_message_new_custom):
17338 * gst/gstmessage.h:
17339 * tools/gst-launch.c: (event_loop):
17340 * tools/gst-md5sum.c: (event_loop):
17341 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17342 that applications can sensibly post custom messages with references
17343 to their own objects.
17345 2005-08-24 Andy Wingo <wingo@pobox.com>
17347 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17350 2005-08-24 Wim Taymans <wim@fluendo.com>
17352 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17353 (gst_base_transform_transform_caps),
17354 (gst_base_transform_transform_size),
17355 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17356 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17357 (gst_base_transform_handle_buffer):
17358 * gst/base/gstbasetransform.h:
17359 Many fixes and new features added by Thomas. Can now also do
17360 transforms with variable sizes and a custom fixate_caps function.
17362 2005-08-24 Wim Taymans <wim@fluendo.com>
17364 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17368 Cast to ClockTime before formatting to time.
17373 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17375 * check/gst-libs/controller.c: (GST_START_TEST),
17376 (gst_controller_suite):
17377 * docs/gst/tmpl/gstcaps.sgml:
17378 * docs/gst/tmpl/gstghostpad.sgml:
17379 * docs/gst/tmpl/gstquery.sgml:
17380 * docs/gst/tmpl/gstutils.sgml:
17381 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17382 (gst_object_sink_values), (gst_object_get_value_arrays),
17383 (gst_object_get_value_array):
17384 gracefully handle helper method calls to objects that are not beeing
17385 controlled, added test case for that
17387 2005-08-23 Wim Taymans <wim@fluendo.com>
17389 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17390 (gst_event_new_newsegment), (gst_event_parse_newsegment),
17391 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17392 (gst_event_parse_qos), (gst_event_new_seek),
17393 (gst_event_parse_seek):
17395 Some more debugging output and doc cleanups.
17397 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17398 Fix possible deadlock.
17400 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17402 * docs/gst/gstreamer-docs.sgml:
17403 * docs/gst/gstreamer-sections.txt:
17404 * docs/gst/gstreamer.types:
17405 * docs/gst/tmpl/.cvsignore:
17408 * gst/gstelement.c:
17410 added 100 symbols from gstreamer-unused.txt to the right sections
17411 fixed more broken comments
17412 added GstBus to docs
17414 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17416 * docs/gst/gstreamer-sections.txt:
17417 * docs/gst/tmpl/.cvsignore:
17418 * docs/gst/tmpl/gstbin.sgml:
17419 * docs/gst/tmpl/gstbuffer.sgml:
17420 * gst/base/gstbasesrc.c:
17421 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17424 * tools/gst-launch.1.in:
17425 inlined more doc comments, added missing comments and fixed comments
17428 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
17430 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17434 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17436 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17437 * gst/gststructure.h:
17438 add a fixate function for booleans; add a FIXME that these func
17439 names should probably be gst_structure_fixate_*
17441 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17443 * docs/gst/gstreamer-docs.sgml:
17444 * docs/gst/gstreamer-sections.txt:
17446 * gst/gstbin.c: (gst_bin_get_type),
17447 (gst_bin_child_proxy_get_child_by_index),
17448 (gst_bin_child_proxy_get_children_count),
17449 (gst_bin_child_proxy_init):
17450 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17451 (gst_child_proxy_get_child_by_index),
17452 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17453 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17454 (gst_child_proxy_get), (gst_child_proxy_set_property),
17455 (gst_child_proxy_set_valist), (gst_child_proxy_set),
17456 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17457 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17458 * gst/gstchildproxy.h:
17459 * gst/parse/grammar.y:
17460 * tools/gst-inspect.c: (print_interfaces),
17461 (print_element_properties_info), (print_element_info):
17462 ported gstchildproxy over from 0.8
17463 ported gst-inspect fixes and enhancements over from 0.8
17465 2005-08-22 Wim Taymans <wim@fluendo.com>
17467 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17468 (gst_base_transform_handle_buffer):
17469 Also call the transform function if we have ANY caps.
17471 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17474 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17476 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17477 Don't pretend to handle seek events if the source is not seekable
17479 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17481 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17482 Remove extra parameter to debug output
17484 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17485 (gst_base_src_do_seek), (gst_base_src_activate_push):
17486 Fix seek event handling.
17488 * gst/gstpipeline.c: (gst_pipeline_change_state):
17489 * gst/gstqueue.c: (gst_queue_handle_sink_event),
17490 (gst_queue_src_activate_push):
17491 Don't start the src pad task on FLUSH_STOP if the pad
17495 2005-08-22 Wim Taymans <wim@fluendo.com>
17497 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17498 Added check for gst_static_caps_get() refcounting.
17500 2005-08-22 Wim Taymans <wim@fluendo.com>
17502 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17503 Make _static_caps_get() refcounting sane.
17505 * gst/gstelement.c: (gst_element_set_state):
17506 Add g_return_val_if_fail() to protect against segfaults.
17508 2005-08-22 Stefan Kost <ensonic@users.sf.net>
17510 * docs/gst/tmpl/gstevent.sgml:
17513 inlined remaining docs, added missing doc comments
17515 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
17517 * check/gst/gstbin.c: (GST_START_TEST):
17518 since we don't know when preroll is done, use refcount range
17520 * gst/check/gstcheck.h:
17521 add macro for checking refcount range
17523 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17525 * check/Makefile.am:
17526 clean up environment for when registry gets built versus
17527 when actual tests are run; valgrind seems to not report
17528 leaks if GST_PLUGIN_PATH is set to some specific values
17529 * check/gst/gstbin.c: (GST_START_TEST):
17530 add more refcounting checks; maybe this exposes a
17532 * common/check.mak:
17533 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17534 * gst/check/gstcheck.h:
17535 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17536 (gst_bin_change_state):
17537 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17538 add/fix debugging/whitespace
17540 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17542 * check/gst/gstevent.c: (event_probe), (test_event),
17544 Er, don't call gst_bin_watch_for_state_change you idiot.
17546 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17548 * check/Makefile.am:
17549 Use CHECK_CFLAGS and CHECK_LIBS
17550 * check/gst/gstevent.c: (event_probe), (test_event),
17553 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17554 (gst_base_src_start), (gst_base_src_stop),
17555 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17556 (gst_base_src_change_state):
17557 Sprinkle gst_base_src_stop liberally around error paths to fix
17558 problems reusing a source after failed state changes.
17559 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17560 (helper_find_suggest), (gst_type_find_helper):
17561 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17563 * docs/gst/tmpl/gstevent.sgml:
17564 Migrate part of the docs from the SGML file. Wait for ensonic to
17565 tell me how I did it wrong ;)
17566 * tools/gst-typefind.c: (main):
17567 Extra robustness to state changes between files.
17569 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17571 * check/Makefile.am:
17572 don't valgrind the controller test - it's leaking - Stefan, HELP
17573 * gst/check/gstcheck.c: (gst_check_message_error),
17574 (gst_check_chain_func), (gst_check_setup_element),
17575 (gst_check_teardown_element), (gst_check_setup_src_pad),
17576 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17577 (gst_check_teardown_sink_pad):
17578 * gst/check/gstcheck.h:
17579 add a bunch of methods to set up elements, and src and sink pads
17580 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17581 * check/elements/identity.c: (setup_identity), (cleanup_identity),
17584 * gst/gstmessage.c:
17586 whitespace/doc fixes
17588 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17590 * gst/gstelement.h:
17591 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17592 be handled by the application and not always printed as well
17594 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17596 * check/Makefile.am:
17598 * gst/check/gstcheck.c: (gst_check_message_error):
17599 * gst/check/gstcheck.h:
17600 add a fail_unless_equals_int
17601 add fail_unless for error messages
17603 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17605 * check/Makefile.am:
17607 * common/Makefile.am:
17608 * common/check.mak:
17610 factor out some of the common stuff so we can use it
17612 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17614 * check/Makefile.am:
17615 * check/gst/gstiterator.c: (GST_START_TEST):
17616 * check/gst/gstsystemclock.c: (GST_START_TEST),
17617 (gst_systemclock_suite):
17618 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17620 valgrind more tests
17622 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17624 * check/elements/.cvsignore:
17625 * check/elements/gstfakesrc.c:
17626 rename to name of element
17627 * check/elements/identity.c: (chain_func), (event_func),
17628 (setup_identity), (cleanup_identity), (GST_START_TEST),
17629 (identity_suite), (main):
17630 add a test for identity
17631 * check/Makefile.am:
17632 * pkgconfig/Makefile.am:
17633 * pkgconfig/gstreamer-check.pc.in:
17634 * pkgconfig/gstreamer-check-uninstalled.pc.in:
17638 move the check stuff to a library that gets installed
17639 * check/gst-libs/controller.c: (GST_START_TEST):
17640 * check/gst-libs/gdp.c:
17641 * check/gst/gst.c: (GST_START_TEST):
17642 * check/gst/gstbin.c:
17643 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17644 * check/gst/gstbus.c:
17645 * check/gst/gstcaps.c: (GST_START_TEST):
17646 * check/gst/gstelement.c:
17647 * check/gst/gstghostpad.c:
17648 * check/gst/gstiterator.c:
17649 * check/gst/gstmessage.c:
17650 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17651 * check/gst/gstobject.c:
17652 * check/gst/gstpad.c: (GST_START_TEST):
17653 * check/gst/gststructure.c: (GST_START_TEST):
17654 * check/gst/gstsystemclock.c: (GST_START_TEST),
17655 (gst_systemclock_suite):
17656 * check/gst/gsttag.c: (gst_tag_suite):
17657 * check/gst/gstvalue.c:
17658 * check/pipelines/cleanup.c:
17659 * check/pipelines/simple_launch_lines.c:
17660 * check/states/sinks.c:
17661 change include statement
17663 * docs/gst/gstreamer-sections.txt:
17664 * docs/gst/tmpl/gstpad.sgml:
17665 document more pad stuff
17666 * gst/gstminiobject.c: (gst_mini_object_ref),
17667 (gst_mini_object_unref):
17670 2005-08-19 Stefan Kost <ensonic@users.sf.net>
17672 * docs/gst/tmpl/gst.sgml:
17674 eliminate another tmpl file, fix spelling in the long-description
17676 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17678 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17679 (test_event), (timediff), (gstevents_suite):
17680 Should fix build on 64-bit arch's
17682 2005-08-18 Andy Wingo <wingo@pobox.com>
17684 Make sure that when a pipeline goes to PLAYING, that data has
17685 actually hit the sink.
17687 * check/states/sinks.c (test_sink): A sink that doesn't get any
17688 data shouldn't return SUCCESS for going to either PLAYING or
17689 PAUSED. Test also the return values on the way back down.
17691 * gst/gstelement.c (gst_element_set_state): When changing the
17692 state of an element currently changing state asynchronously, go to
17693 lost-state after commiting the pending state. Makes future calls
17694 to get_state continue to return ASYNC.
17696 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17697 ASYNC when going to PLAYING if we still don't have preroll, as can
17698 happen with live sources.
17700 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17702 * docs/pwg/advanced-types.xml:
17703 Hack long paragraph into 2 chunks as a workaround for buggy
17704 jadetex version in sid and breezy that loops infinitely and
17707 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17709 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17710 (test_event), (timediff), (gstevents_suite):
17711 Provide more error margin in clock measurements to allow for
17712 g_get_current_time inaccuracies.
17714 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17716 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17717 (test_event), (timediff), (gstevents_suite):
17718 Fix error message output so I might be able to tell why the
17719 test works here but fails on the build farm.
17721 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17723 * check/Makefile.am:
17724 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17725 (test_event), (timediff), (gstevents_suite), (main):
17728 * docs/design/part-seeking.txt:
17729 Spelling correction
17731 * docs/gst/tmpl/gstevent.sgml:
17732 * docs/gst/tmpl/gstfakesrc.sgml:
17735 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17736 Treat a buffer-without-newsegment the same as a receiving
17737 a newsegment not in time format, and disable syncing to the clock
17740 * gst/gstbus.c: (gst_bus_set_sync_handler):
17741 Assert if anyone tries to replace the existing sync_handler for bus,
17742 as only the owner should be setting it.
17745 Have a fixed set of custom event enums with events identified by
17746 their structure name (as in 0.8), rather than a free-for-all
17747 allowing collisions between enum values from different plugins.
17749 * gst/gstpad.c: (gst_pad_class_init):
17752 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17753 Handle out-of-band downstream events from the sending thread.
17755 2005-08-17 Andy Wingo <wingo@pobox.com>
17757 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17758 play-timeout==0 to mean no timeout at all. In that case, don't
17759 bother with a get_state or a warning, just return directly, even
17762 * gst/base/gstbasetransform.c: Debug changes.
17765 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17766 ensure bins post state change messages. A bit of a hack but I can't
17767 think of a way to avoid it.
17769 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17771 2005-08-16 Andy Wingo <wingo@pobox.com>
17773 * gst/base/gstadapter.h:
17774 * gst/base/gstadapter.c (gst_adapter_take): New function, like
17775 peek() but you own the data. Not terribly efficient atm.
17777 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17779 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17780 (gst_element_found_tags):
17782 Add two utility functions for tag handling.
17784 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17786 * docs/manual/advanced-dataaccess.xml:
17787 * docs/manual/basics-helloworld.xml:
17788 Fix docs to use _bin_add() before _link(), which fixes the examples
17789 with recent core versions (reported by Madhan Raj M
17790 <raj_madan@rediffmail.com>, #313199).
17792 2005-08-16 Wim Taymans <wim@fluendo.com>
17794 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17795 Added subtract checks.
17797 * docs/design/part-events.txt:
17798 Some more docs about newsegment
17800 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17803 * gst/gstcaps.c: (gst_caps_to_string):
17804 Add comments, cleanups.
17806 * gst/gstelement.c: (gst_element_save_thyself):
17809 * gst/gstvalue.c: (gst_value_collect_int_range),
17810 (gst_string_unwrap), (gst_value_union_int_int_range),
17811 (gst_value_union_int_range_int_range),
17812 (gst_value_intersect_int_int_range),
17813 (gst_value_intersect_int_range_int_range),
17814 (gst_value_intersect_double_double_range),
17815 (gst_value_intersect_double_range_double_range),
17816 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17817 (gst_value_subtract_int_range_int),
17818 (gst_value_subtract_double_range_double),
17819 (gst_value_subtract_double_range_double_range),
17820 (gst_value_subtract_from_list), (gst_value_subtract_list),
17821 (gst_value_can_compare), (gst_value_compare_fraction):
17822 Cleanups, add comments, remove unneeded asserts.
17824 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17826 * tools/gst-launch.c: (event_loop):
17827 don't convert NULL structures to strings
17829 2005-08-15 Stefan Kost <ensonic@users.sf.net>
17831 * docs/gst/gstreamer-sections.txt:
17832 made some defines private
17833 * docs/gst/tmpl/gstconfig.sgml:
17834 * docs/gst/tmpl/gstqueue.sgml:
17835 * docs/gst/tmpl/gsttaglist.sgml:
17836 * docs/gst/tmpl/gsttypes.sgml:
17837 * docs/gst/tmpl/gstutils.sgml:
17838 * docs/pwg/appendix-porting.xml:
17839 * gst/base/gstbasesink.h:
17840 * gst/base/gstbasesrc.c:
17841 * gst/base/gstbasesrc.h:
17842 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17843 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17844 * gst/gstelement.c: (gst_element_class_init):
17845 * gst/gstpad.c: (gst_pad_class_init):
17846 * gst/gstqueue.c: (gst_queue_class_init):
17847 * gst/gstxml.c: (gst_xml_class_init):
17848 documented all undocumented signal inline
17849 * libs/gst/controller/gst-controller.h:
17852 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17854 * docs/pwg/appendix-porting.xml:
17855 Document _set_link_function -> _set_setcaps_function.
17857 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17859 * check/Makefile.am:
17860 add a .check target for running the check
17861 * check/gst-libs/controller.c: (GST_START_TEST):
17863 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17864 complete checks for gstbuffer; would be nice if I could get the
17865 gcov stuff to work so I can see if I actually completed gstbuffer.c
17866 * check/gstcheck.h:
17867 add ASSERT_BUFFER_REFCOUNT
17869 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
17871 * docs/gst/gstreamer-sections.txt:
17872 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17874 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17875 spew out a warning if a tag that is already registered
17876 is re-registered, unless it is re-registered with a
17877 different type (#308438).
17879 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
17881 * docs/pwg/appendix-porting.xml:
17882 * docs/pwg/building-state.xml:
17883 Add some paragraphs about state changes in 0.9 to the PWG
17884 and the porting guide, in particular about the new meaning
17885 of GST_STATE_PAUSED and how to write state change functions
17886 with concurrent access by multiple threads in mind.
17888 2005-08-11 Stefan Kost <ensonic@users.sf.net>
17890 * docs/gst/gstreamer-docs.sgml:
17891 * docs/libs/gstreamer-libs-docs.sgml:
17892 added deprecation and since indexes
17893 * libs/gst/controller/gst-controller.c:
17894 * libs/gst/controller/gst-helper.c:
17898 2005-08-11 Wim Taymans <wim@fluendo.com>
17900 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17901 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17902 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17903 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17904 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17905 (gst_ghost_pad_set_target):
17906 Actually implement (re)setting the target on a ghostpad
17907 as described in the docs.
17909 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17911 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17912 Check whether GST_DEBUG_NO_COLOR environment variable is
17913 set and disable coloured debug output if that is the case.
17915 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17917 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17918 (gst_type_find_helper):
17919 The memory returned by gst_type_find_peek() needs to
17920 stay valid until the end of a typefind function, and
17921 typefind functions may keep results from different
17922 offsets around, so we can't just unref the buffer from
17923 the previous _peek(), but have to save all buffers
17924 returned by _peek() until typefinding is done and only
17927 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
17929 * docs/gst/gstreamer-sections.txt:
17931 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
17933 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17935 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17936 Fix a pretty good memleak.
17938 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17940 * gst/gstiterator.h:
17941 Fix wrong include and 'make distcheck'.
17943 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17945 * gst/gstbin.c: (bin_bus_handler):
17946 Use gst_element_post_message() instead.
17948 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17950 * gst/base/gstadapter.h:
17951 * gst/base/gstbasesink.h:
17952 * gst/base/gstbasesrc.h:
17953 * gst/base/gstbasetransform.h:
17954 * gst/base/gstcollectpads.h:
17955 * gst/base/gstpushsrc.h:
17956 * gst/gstiterator.h:
17957 Add padding to our base elements' class and instance structs and
17958 to GstIterator (you will need to rebuild all plugins and apps!)
17960 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17962 * gst/gstbin.c: (bin_bus_handler):
17963 Make default message forwarding from child->bus to bin->bus
17964 threadsafe and make it not emit warnings if the parent has no bus.
17966 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17968 * gst/gstelement.c: (activate_pads):
17969 On paused->ready, set pad->caps to NULL, as is the documented
17970 behaviour in this state change. Fixes playback of series of
17971 media files when visualization is enabled in Totem.
17973 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17975 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17976 Allow NULL as filter-caps (which means "any").
17978 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17980 * docs/libs/gstreamer-libs-sections.txt:
17981 * libs/gst/controller/gst-controller.c:
17982 * libs/gst/controller/gst-controller.h:
17983 * libs/gst/controller/gst-helper.c:
17984 adding more entries to the docs and fix small doc-bugs
17986 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17988 * docs/gst/gstreamer-docs.sgml:
17989 * docs/gst/gstreamer-sections.txt:
17990 * docs/gst/gstreamer.types:
17991 * docs/gst/tmpl/gstbasesink.sgml:
17992 * docs/gst/tmpl/gstbasesrc.sgml:
17993 * docs/gst/tmpl/gstbasetransform.sgml:
17994 * docs/gst/tmpl/gstfakesrc.sgml:
17995 * gst/base/gstcollectpads.c:
17996 * gst/base/gstcollectpads.h:
17997 * libs/gst/controller/gst-controller.c:
17998 * libs/gst/controller/gst-controller.h:
17999 * libs/gst/controller/gst-helper.c:
18000 * libs/gst/controller/gst-interpolation.c:
18001 * libs/gst/controller/lib.c:
18002 added long/short desc for controller docs
18003 added collectpads base class docs
18004 added correct includes to base-class docs
18006 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18008 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18009 (gst_test_mono_source_set_property),
18010 (gst_test_mono_source_class_init), (GST_START_TEST),
18011 (gst_controller_suite):
18012 * docs/gst/gstreamer-docs.sgml:
18013 * docs/gst/gstreamer-sections.txt:
18014 * docs/gst/gstreamer.types:
18015 * docs/libs/gstreamer-libs-docs.sgml:
18016 * docs/libs/gstreamer-libs-sections.txt:
18017 * gst/base/gstadapter.c:
18018 * libs/gst/controller/gst-controller.c:
18019 (gst_controlled_property_new), (gst_controlled_property_free),
18020 (gst_controller_new_valist),
18021 (gst_controller_remove_properties_valist),
18022 (gst_controller_sink_values), (_gst_controller_finalize):
18023 * libs/gst/controller/gst-controller.h:
18024 * libs/gst/controller/gst-helper.c:
18025 (gst_object_control_properties), (gst_object_uncontrol_properties),
18026 (gst_object_get_controller), (gst_object_set_controller),
18027 (gst_object_sink_values), (gst_object_get_value_arrays),
18028 (gst_object_get_value_array):
18029 more tests (and fixes) for the controller
18030 more docs for the controller
18031 integrated companies docs for the adapter
18033 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
18035 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
18036 (GST_START_TEST), (fakesrc_suite):
18037 add tests for sizetype
18039 2005-08-04 Andy Wingo <wingo@pobox.com>
18041 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
18042 fixes buffer_alloc proxying among other things.
18044 * gst/base/gstbasetransform.c:
18045 * gst/base/gstbasetransform.h:
18046 Revert patch to gstbasetransform from 7-28 removing
18049 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
18050 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
18051 Semantics changed, should return not the size of the output buffer
18052 but the byte size of a buffer with a given caps.
18054 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
18056 (gst_base_transform_configure_caps): Don't set out_size here: (in,
18057 out) are not the pad caps until setcaps finishes.
18058 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
18059 not-in-place case as well. Deal with changing from in-place to
18060 not-in-place within calling pad_alloc_buffer. Still a bit
18061 concerned about the overhead here...
18063 2005-08-03 Andy Wingo <wingo@pobox.com>
18065 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
18066 fixating is an error.
18068 2005-08-04 Edward Hervey <edward@fluendo.com>
18070 * gst/base/gstadapter.h:
18071 Added gst_adapter_get_type() to the header
18073 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18075 * check/Makefile.am:
18076 * check/gst-libs/controller.c:
18077 * libs/gst/controller/gst-controller.c:
18078 (gst_controller_new_valist):
18079 added check test suite for the controller
18080 * gst/base/gstpushsrc.c:
18083 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18085 * docs/gst/Makefile.am:
18086 * docs/gst/gstreamer-docs.sgml:
18087 * docs/gst/gstreamer-sections.txt:
18088 * docs/gst/gstreamer.types:
18089 * docs/gst/tmpl/gstfakesrc.sgml:
18091 * gst/base/gstbasesink.c:
18092 * gst/base/gstbasesink.h:
18093 * gst/base/gstbasesrc.c:
18094 * gst/base/gstbasesrc.h:
18095 * gst/base/gstbasetransform.c:
18096 * gst/base/gstpushsrc.c:
18097 * gst/base/gstpushsrc.h:
18098 add short/long description docs to base classes
18099 add pushsrc to the docs
18100 remove consolidated doc fragments
18102 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18105 * docs/libs/Makefile.am:
18106 * docs/libs/gstreamer-libs-docs.sgml:
18107 * docs/libs/gstreamer-libs-sections.txt:
18108 * docs/libs/gstreamer-libs.types:
18109 * examples/Makefile.am:
18110 * examples/controller/.cvsignore:
18111 * examples/controller/Makefile.am:
18112 * examples/controller/audio-example.c: (main):
18113 * libs/gst/Makefile.am:
18114 * libs/gst/controller/.cvsignore:
18115 * libs/gst/controller/Makefile.am:
18116 * libs/gst/controller/gst-controller.c:
18117 (on_object_controlled_property_changed), (gst_timed_value_compare),
18118 (gst_timed_value_find),
18119 (gst_controlled_property_set_interpolation_mode),
18120 (gst_controlled_property_new), (gst_controlled_property_free),
18121 (gst_controller_find_controlled_property),
18122 (gst_controller_new_valist), (gst_controller_new),
18123 (gst_controller_remove_properties_valist),
18124 (gst_controller_remove_properties), (gst_controller_set),
18125 (gst_controller_set_from_list), (gst_controller_unset),
18126 (gst_controller_get), (gst_controller_get_all),
18127 (gst_controller_sink_values), (gst_controller_get_value_arrays),
18128 (gst_controller_get_value_array),
18129 (gst_controller_set_interpolation_mode),
18130 (_gst_controller_finalize), (_gst_controller_init),
18131 (_gst_controller_class_init), (gst_controller_get_type):
18132 * libs/gst/controller/gst-controller.h:
18133 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18134 (g_object_uncontrol_properties), (g_object_get_controller),
18135 (g_object_set_controller), (g_object_sink_values),
18136 (g_object_get_value_arrays), (g_object_get_value_array):
18137 * libs/gst/controller/gst-interpolation.c:
18138 (gst_controlled_property_find_timed_value_node),
18139 (interpolate_none_get), (interpolate_trigger_get),
18140 (interpolate_trigger_get_value_array):
18141 * libs/gst/controller/lib.c: (gst_controller_init):
18142 * pkgconfig/Makefile.am:
18143 * pkgconfig/gstreamer-control-uninstalled.pc.in:
18144 * pkgconfig/gstreamer-control.pc.in:
18145 * testsuite/Makefile.am:
18146 * testsuite/controller/.cvsignore:
18147 * testsuite/controller/Makefile.am:
18148 * testsuite/controller/interpolator.c: (main):
18149 added controller code
18150 removed dparam pc files
18152 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18153 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18154 (gst_collectpads_stop):
18155 Broadcast the condition when shutting down, to make sure we wake all
18156 threads up. Shut down pads on finalize, for safety.
18158 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18159 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18160 (gst_base_transform_handle_buffer),
18161 (gst_base_transform_change_state):
18162 Handle PAUSED->READY->PAUSED transition after negotiation
18164 * gst/gstmessage.c: (gst_message_init):
18165 Extra piece of debug for new messages.
18167 2005-08-01 Stefan Kost <ensonic@users.sf.net>
18170 * docs/gst/tmpl/gstbasesrc.sgml:
18171 * docs/gst/tmpl/gstelement.sgml:
18172 * docs/gst/tmpl/gstevent.sgml:
18173 * docs/gst/tmpl/gstfakesrc.sgml:
18174 * docs/gst/tmpl/gstformat.sgml:
18175 * docs/gst/tmpl/gstghostpad.sgml:
18176 * docs/gst/tmpl/gstpad.sgml:
18177 * docs/gst/tmpl/gstquery.sgml:
18178 * docs/gst/tmpl/gststructure.sgml:
18179 * docs/gst/tmpl/gsttaglist.sgml:
18180 * docs/gst/tmpl/gstvalue.sgml:
18181 * docs/libs/gstreamer-libs-docs.sgml:
18182 * docs/libs/gstreamer-libs-sections.txt:
18183 * docs/libs/gstreamer-libs.types:
18184 * libs/gst/Makefile.am:
18185 * libs/gst/control/.cvsignore:
18186 * libs/gst/control/Makefile.am:
18187 * libs/gst/control/control.c:
18188 * libs/gst/control/control.h:
18189 * libs/gst/control/dparam.c:
18190 * libs/gst/control/dparam.h:
18191 * libs/gst/control/dparam_smooth.c:
18192 * libs/gst/control/dparam_smooth.h:
18193 * libs/gst/control/dparamcommon.h:
18194 * libs/gst/control/dparammanager.c:
18195 * libs/gst/control/dparammanager.h:
18196 * libs/gst/control/dplinearinterp.c:
18197 * libs/gst/control/dplinearinterp.h:
18198 * libs/gst/control/unitconvert.c:
18199 * libs/gst/control/unitconvert.h:
18200 * testsuite/Makefile.am:
18201 * testsuite/dynparams/.cvsignore:
18202 * testsuite/dynparams/Makefile.am:
18203 * testsuite/dynparams/dparamstest.c:
18204 * tools/Makefile.am:
18205 * tools/gst-inspect.c: (print_element_info), (main):
18206 * tools/gst-xmlinspect.c: (print_element_info), (main):
18207 deactivate and remove dparams (libgstcontrol)
18209 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18211 * gst/elements/gsttypefindelement.c:
18212 (gst_type_find_element_have_type), (gst_type_find_element_init),
18213 (stop_typefinding), (gst_type_find_element_handle_event),
18214 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18215 * gst/elements/gsttypefindelement.h:
18216 Set caps on all outgoing buffers, not just the first one.
18218 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18220 * gst/elements/gsttypefindelement.c:
18221 (gst_type_find_element_have_type),
18222 (gst_type_find_element_check_set_buffer_caps),
18223 (gst_type_find_element_init), (stop_typefinding),
18224 (gst_type_find_element_handle_event),
18225 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18226 * gst/elements/gsttypefindelement.h:
18227 Set caps on first outgoing buffer when we've found the type.
18229 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18231 * docs/gst/gstreamer-docs.sgml:
18232 * docs/gst/gstreamer-sections.txt:
18233 * docs/gst/tmpl/gstscheduler.sgml:
18234 * docs/gst/tmpl/gstschedulerfactory.sgml:
18235 Remove some old cruft from docs.
18237 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
18240 Fix inline docs for GstPadLinkReturn.
18242 * gst/gststructure.c: (gst_structure_has_name):
18243 * gst/gststructure.h:
18244 * docs/gst/gstreamer-sections.txt:
18245 New API: gst_structure_has_name().
18247 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
18250 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18251 and _LARGEFILE_SOURCE in config.h as required. Do not
18252 export those flags in our .pc files any longer (#142209).
18254 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18256 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18257 (gst_file_sink_do_seek), (gst_file_sink_event),
18258 (gst_file_sink_get_current_offset), (gst_file_sink_render):
18259 Redo seek/tell calls with large file support in mind; add some
18260 debugging messages; add log message that tells us when large
18261 file support is unavailable or not enabled for some reason.
18263 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18264 Add log message that tells us when large file support
18265 is unavailable or not enabled for some reason.
18267 2005-07-29 Wim Taymans <wim@fluendo.com>
18269 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18270 Added test for removing an element with ghostpad from a bin.
18271 Fixed test as current implementation does the right thing.
18273 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18274 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18275 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18276 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18277 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18278 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18279 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18280 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18281 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18282 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18283 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18284 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18285 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18286 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18287 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18288 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18289 * gst/gstghostpad.h:
18290 Clean up ghostpads, remove properties for internal stuff.
18293 Prepare for switching targets, not all use cases work yet.
18295 2005-07-29 Wim Taymans <wim@fluendo.com>
18297 * docs/design/part-gstghostpad.txt:
18300 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18301 (gst_bin_remove_func):
18302 Unlinking pads while holding the bin LOCK is not a good
18305 * gst/gstpad.c: (gst_pad_class_init),
18306 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18307 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18308 No prob setting template after creating the pad.
18310 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
18312 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18313 (gst_bus_peek), (gst_bus_source_dispatch),
18314 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18315 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18316 gst_bus_poll may be called from other threads. Handle
18317 this nicely by not making poll_data disappear off the
18318 stack once gst_bus_poll returns.
18319 gst_bus_peek now increments the refcount on the returned
18322 2005-07-29 Wim Taymans <wim@fluendo.com>
18324 * docs/design/part-gstghostpad.txt:
18325 Overview of current GhostPad datastructures and use
18326 cases for changing the target.
18328 2005-07-28 Wim Taymans <wim@fluendo.com>
18330 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18331 Added checks for hierarchy consistency whan adding linked
18334 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18335 Added check to test element scheduling without bin/pipeline.
18337 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18338 First add elements to bin, then link.
18340 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18341 (gst_bin_remove_func):
18342 Unlink pads from elements added/removed from bin to maintain
18343 hierarchy consistency.
18345 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18347 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18348 (gst_base_transform_handle_buffer):
18349 * gst/base/gstbasetransform.h:
18350 Remove broken delay_configure (fixes renegotiation of software
18351 scaling pipelines); remove some leftover printf()s.
18353 2005-07-28 Wim Taymans <wim@fluendo.com>
18355 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18356 Added some more tests for wrong hierarchy
18358 * docs/design/part-overview.txt:
18361 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18364 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18365 (gst_element_dispose):
18366 Some more cleanups.
18368 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18369 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18370 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18371 (gst_pad_set_caps), (gst_pad_send_event):
18372 Check for correct hierarchy when linking pads. Moving to
18373 strict requirement for ghostpads when linking elements in
18377 Clean ups. Added WRONG_HIERARCHY return value.
18379 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18381 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18382 Better debug if no transform is possible.
18384 2005-07-27 Wim Taymans <wim@fluendo.com>
18386 * docs/random/wtay/network-transp:
18387 Some old doc I had.
18389 2005-07-27 Wim Taymans <wim@fluendo.com>
18391 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18392 (gst_dp_event_from_packet):
18393 Fix serialization of seek events.
18395 2005-07-27 Wim Taymans <wim@fluendo.com>
18397 * check/gst-libs/gdp.c: (GST_START_TEST):
18398 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18399 Fix compilation and fix event serialization.
18401 2005-07-27 Wim Taymans <wim@fluendo.com>
18404 * docs/design/part-TODO.txt:
18405 * docs/design/part-events.txt:
18408 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18409 (gst_base_sink_event), (gst_base_sink_do_sync),
18410 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18411 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18412 (gst_base_src_do_seek), (gst_base_src_event_handler),
18413 (gst_base_src_loop):
18414 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18415 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18416 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18417 (gst_base_transform_event), (gst_base_transform_handle_buffer),
18418 (gst_base_transform_set_passthrough),
18419 (gst_base_transform_is_passthrough):
18420 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18421 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18427 * gst/gstelement.c: (gst_element_seek):
18428 * gst/gstelement.h:
18429 Update gst_element_seek.
18431 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18432 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18433 (gst_event_new_flush_start), (gst_event_new_flush_stop),
18434 (gst_event_new_eos), (gst_event_new_newsegment),
18435 (gst_event_parse_newsegment), (gst_event_new_tag),
18436 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18437 (gst_event_parse_qos), (gst_event_new_seek),
18438 (gst_event_parse_seek), (gst_event_new_navigation):
18440 Make GstEvent use GstStructure. Add parsing code, make sure the
18441 API is sufficiently generic.
18442 Mark possible directions of events and serialization.
18444 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18445 (_gst_message_copy), (gst_message_new_segment_start),
18446 (gst_message_new_segment_done), (gst_message_new_custom),
18447 (gst_message_parse_segment_start),
18448 (gst_message_parse_segment_done):
18451 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18452 (gst_pad_set_caps), (gst_pad_send_event):
18453 Update for new events.
18454 Catch events sent in wrong directions.
18456 * gst/gstqueue.c: (gst_queue_link_src),
18457 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18458 (gst_queue_handle_src_query):
18463 Remove event code from this file.
18465 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18466 (gst_dp_event_from_packet):
18469 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18471 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18472 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18473 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18474 Make debugging actually useful.
18476 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18478 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18479 (gst_pad_fixate_caps):
18480 Implement default fixation once again, so that gst_pad_fixate()
18481 actually does anything at all. This probably needs to be some
18482 sort of a last resort, and use profile-based fixation first, but
18483 since that doesn't exist yet, this is the best we have. Fixes
18484 visualization in Totem.
18486 2005-07-22 Wim Taymans <wim@fluendo.com>
18488 * docs/design/part-events.txt:
18491 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18492 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18493 (gst_base_sink_activate_pull):
18494 Some more comments.
18496 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18497 (gst_fake_src_create):
18498 Fix handoff marshall.
18500 * gst/elements/gstidentity.c: (gst_identity_class_init),
18501 (gst_identity_transform_ip):
18502 We're a real inplace element.
18504 * gst/gstbus.c: (gst_bus_post):
18505 Added some comments.
18507 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18508 * tests/muxing/case1.c: (main):
18509 * tests/sched/dynamic-pipeline.c: (main):
18510 * tests/sched/interrupt1.c: (main):
18511 * tests/sched/interrupt2.c: (main):
18512 * tests/sched/interrupt3.c: (main):
18513 * tests/sched/runxml.c: (main):
18514 * tests/sched/sched-stress.c: (main):
18515 * tests/seeking/seeking1.c: (event_received), (main):
18516 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18518 * tests/threadstate/threadstate3.c: (main):
18519 * tests/threadstate/threadstate4.c: (main):
18520 * tests/threadstate/threadstate5.c: (main):
18523 2005-07-21 Wim Taymans <wim@fluendo.com>
18525 * docs/design/part-seeking.txt:
18526 Some small additions.
18528 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18529 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18530 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18531 * gst/base/gstbasesink.h:
18532 discont values are gint64, handle the math correctly.
18534 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18535 Make the basesrc report error if the source pad is not linked.
18537 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18538 (gst_queue_loop), (gst_queue_handle_src_query),
18539 (gst_queue_src_activate_push):
18540 Make queue collect data even if the srcpad is not linked.
18541 Start pushing out data as soon as it is linked.
18543 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18545 Added gst_flow_get_name() to ease error reporting.
18547 2005-07-20 Wim Taymans <wim@fluendo.com>
18549 * gst/gstmessage.c: (gst_message_new_segment_start),
18550 (gst_message_new_segment_done), (gst_message_parse_segment_start),
18551 (gst_message_parse_segment_done):
18552 * gst/gstmessage.h:
18553 Added a bunch of messages for advanced seeking.
18555 * gst/parse/grammar.y:
18556 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18557 (gst_dpman_state_changed):
18558 Fix some new-pad -> pad-added signals
18560 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18562 * docs/manual/appendix-porting.xml:
18563 * docs/pwg/appendix-porting.xml:
18564 Document new-pad/state-change signal renames and the FixedList
18567 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18569 * docs/manual/advanced-autoplugging.xml:
18570 * docs/manual/basics-helloworld.xml:
18571 * docs/manual/basics-pads.xml:
18572 * docs/random/ds/0.9-suggested-changes:
18573 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18574 * gst/gstelement.h:
18578 * gst/gststructure.c: (gst_structure_value_get_generic_type),
18579 (gst_structure_parse_array), (gst_structure_parse_value):
18580 * gst/gstvalue.c: (gst_type_is_fixed),
18581 (gst_value_list_prepend_value), (gst_value_list_append_value),
18582 (gst_value_list_get_size), (gst_value_list_get_value),
18583 (gst_value_transform_array_string), (gst_value_serialize_array),
18584 (gst_value_deserialize_array), (gst_value_intersect_array),
18585 (gst_value_is_fixed), (_gst_value_initialize):
18587 GstElement::new-pad -> pad-added, GstElement::state-change ->
18588 state-changed, GstValueFixedList -> GstValueArray, add format and
18589 flags as their own arguments in gst_element_seek() (should improve
18590 "bindeability"), remove function generators since they don't work
18591 under a whole bunch of compilers (they were deprecated already
18594 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18596 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18597 (_gst_debug_register_funcptr):
18599 Fix illegal cast on some platforms (#309253).
18601 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18603 * gst/gstmessage.c: (gst_message_new_custom):
18604 * gst/gstmessage.h:
18605 Add _new_custom, make _new_application a macro to _new_custom.
18607 2005-07-20 Wim Taymans <wim@fluendo.com>
18609 * gst/base/gstbasesrc.c: (gst_base_src_init),
18610 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18611 * gst/base/gstbasesrc.h:
18612 Add a gboolean to decide when to push out a discont.
18614 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18615 (gst_queue_loop), (gst_queue_handle_src_query),
18616 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18617 (gst_queue_set_property), (gst_queue_get_property):
18620 * tests/threadstate/threadstate1.c: (main):
18621 Make a thread test compile and run... very silly..
18624 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18626 * docs/manual/appendix-porting.xml:
18627 Mention removal of libgstgconf-0.9.la and existence of gconf
18630 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18632 * docs/pwg/advanced-clock.xml:
18633 * docs/pwg/appendix-porting.xml:
18634 * docs/pwg/intro-preface.xml:
18635 * docs/pwg/other-base.xml:
18636 * docs/pwg/other-manager.xml:
18637 * docs/pwg/other-nton.xml:
18638 * docs/pwg/other-ntoone.xml:
18639 * docs/pwg/other-oneton.xml:
18640 * docs/pwg/pwg.xml:
18641 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18642 demuxer), remove n-to-n (was never written), fix some code examples
18643 and links and update the porting section to include all this.
18645 2005-07-19 Wim Taymans <wim@fluendo.com>
18647 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18648 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18649 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18650 (gst_queue_src_activate_push), (gst_queue_change_state),
18651 (gst_queue_get_property):
18653 Propagate GstFlowReturn more intelligently upstream and output
18654 an ERROR/EOS when streaming stopped due to fatal error.
18656 2005-07-19 Wim Taymans <wim@fluendo.com>
18658 * tools/gst-launch.c: (check_intr), (event_loop), (main):
18659 Don't block forever for the state change to complete, the
18660 pipeline already did with a sensible timeout.
18662 2005-07-19 Wim Taymans <wim@fluendo.com>
18664 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18665 Make sure we never call the create function is we
18668 2005-07-19 Andy Wingo <wingo@pobox.com>
18670 * gst/parse/parse.l: Attempt to solve bug #172815.
18672 2005-07-19 Wim Taymans <wim@fluendo.com>
18674 * docs/design/part-clocks.txt:
18675 * docs/design/part-events.txt:
18676 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18677 Small docs updates.
18678 Only update the seeking values when we are not
18681 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18683 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18684 Oops, ignore the result of gst_pad_push_event here.
18686 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18688 * gst/base/gstbasesrc.c: (gst_base_src_loop),
18689 (gst_base_src_activate_push):
18690 Send discont event from the loop function, as pads
18691 aren't activated yet in the activate_push handler.
18693 * gst/gstbin.c: (bin_bus_handler):
18694 Don't leak element name.
18696 2005-07-18 Andy Wingo <wingo@pobox.com>
18698 * configure.ac: Use AS_LIBTOOL_TAGS.
18700 2005-07-18 Wim Taymans <wim@fluendo.com>
18702 * docs/gst/gstreamer.types:
18703 Remove deleted types.
18705 2005-07-18 Wim Taymans <wim@fluendo.com>
18707 * check/elements/gstfakesrc.c: (GST_START_TEST):
18710 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18711 (init_popt_callback):
18713 * gst/gst_private.h:
18714 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18715 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18718 * gst/gstconfig.h.in:
18719 * gst/gstelement.c: (gst_element_class_init),
18720 (gst_element_set_base_time), (gst_element_get_base_time),
18721 (iterator_fold_with_resync), (gst_element_change_state),
18722 (gst_element_dispose), (gst_element_get_bus):
18723 * gst/gstelement.h:
18724 * gst/gstelementfactory.h:
18725 * gst/gsterror.c: (_gst_core_errors_init):
18728 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18730 * gst/gstinfo.c: (_gst_debug_init):
18731 * gst/gstmessage.c: (_gst_message_copy):
18732 * gst/gstmessage.h:
18733 * gst/gstminiobject.h:
18736 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18737 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18740 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18741 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18742 (gst_pipeline_get_last_stream_time):
18743 * gst/gstpipeline.h:
18744 * gst/gstpluginfeature.h:
18746 * gst/gstscheduler.c:
18747 * gst/gstscheduler.h:
18748 * gst/gststructure.h:
18749 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18750 (gst_task_finalize), (gst_task_func), (gst_task_create),
18751 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18752 (gst_task_stop), (gst_task_pause):
18754 * gst/gsttypefind.h:
18756 * gst/registries/gstlibxmlregistry.c: (load_feature),
18757 (gst_xml_registry_load), (gst_xml_registry_save_feature):
18758 * gst/registries/gstxmlregistry.c:
18759 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18760 * gst/schedulers/threadscheduler.c:
18761 * libs/gst/control/dparammanager.h:
18762 * tools/gst-inspect.c: (print_element_list),
18763 (print_plugin_features), (print_element_features):
18764 * tools/gst-xmlinspect.c: (print_element_list),
18765 (print_plugin_info), (main):
18766 Removed plugable schedulers.
18767 Removed Scheduler/Manager from elements.
18768 Removed gsttypes.h, rearranged includes.
18769 Removed dependency pad<->element, element<>pipeline, and
18770 various others, fix includes.
18771 implement gst_pad_get_parent() with gst_object_get_parent()
18772 Make GstTask sefcontained.
18773 Fix _get_state() on GstBin, it did not return ASYNC with a 0
18775 Fix endless loop in iterator_fold_with_resync.
18778 2005-07-18 Wim Taymans <wim@fluendo.com>
18784 2005-07-18 Wim Taymans <wim@fluendo.com>
18787 No more cothreads.h
18789 2005-07-18 Wim Taymans <wim@fluendo.com>
18793 Let's remove these.
18795 2005-07-18 Wim Taymans <wim@fluendo.com>
18797 * docs/design/part-dynamic.txt:
18798 * docs/design/part-events.txt:
18799 * docs/design/part-seeking.txt:
18800 Some more docs in the works.
18802 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18803 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18804 (gst_base_transform_setcaps), (gst_base_transform_get_size),
18805 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18806 (gst_base_transform_handle_buffer),
18807 (gst_base_transform_sink_activate_push),
18808 (gst_base_transform_src_activate_pull),
18809 (gst_base_transform_set_passthrough),
18810 (gst_base_transform_is_passthrough):
18813 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18816 * gst/gstevent.c: (gst_event_finalize):
18819 * gst/gstutils.c: (gst_element_unlink),
18820 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18821 (gst_pad_proxy_setcaps):
18823 Add _get_parent_element() to get a pads parent as an element.
18825 2005-07-18 Wim Taymans <wim@fluendo.com>
18827 * check/gst/gstbin.c: (GST_START_TEST):
18830 2005-07-18 Wim Taymans <wim@fluendo.com>
18832 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18833 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18834 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18835 (gst_base_sink_event), (gst_base_sink_do_sync),
18836 (gst_base_sink_chain), (gst_base_sink_loop),
18837 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18838 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18840 Fix logic for returning ASYNC when not prerolled.
18842 2005-07-18 Wim Taymans <wim@fluendo.com>
18844 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18845 Fix nasty refcount bug.
18847 2005-07-16 Philippe Khalaf <burger@speedy.org>
18849 * gst/elements/gstfdsrc.c:
18850 * gst/elements/gstfdsrc.h:
18851 * gst/elements/gstelements.c:
18852 * gst/elements/Makefile.am:
18853 Ported fdsrc to 0.9.
18855 2005-07-16 Wim Taymans <wim@fluendo.com>
18857 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18858 (gst_base_sink_do_sync):
18861 2005-07-16 Wim Taymans <wim@fluendo.com>
18863 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18864 (gst_base_sink_event), (gst_base_sink_get_times),
18865 (gst_base_sink_do_sync), (gst_base_sink_change_state):
18866 * gst/base/gstbasesink.h:
18867 Store and use discont values when syncing buffers as described
18870 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18871 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18872 (gst_base_src_activate_push):
18873 Push discont event when starting.
18875 * gst/elements/gstidentity.c: (gst_identity_transform):
18878 * gst/gstbin.c: (gst_bin_change_state):
18879 Small cleanups in base_time distribution.
18881 * gst/gstelement.c: (gst_element_set_base_time),
18882 (gst_element_get_base_time), (gst_element_change_state):
18883 * gst/gstelement.h:
18884 Added methods for the base_time of the element.
18887 * gst/gstpipeline.c: (gst_pipeline_send_event),
18888 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18889 (gst_pipeline_get_last_stream_time):
18890 * gst/gstpipeline.h:
18892 Handle seeking as described in design doc, remove stream_time
18894 Cleanups clock and stream_time selection code. Added accessors
18895 for the stream_time.
18898 2005-07-16 Andy Wingo <wingo@pobox.com>
18900 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18903 2005-07-16 Wim Taymans <wim@fluendo.com>
18905 * check/gst/gstbin.c: (GST_START_TEST):
18906 Make elements silent as the deep_notify refs the
18907 parent, which might make the test fail.
18909 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18910 Don't hold the lock for too long.
18912 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
18914 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18915 Don't unref the caps we passed to gst_caps_make_writable() after
18916 passing them. gst_caps_make_writable() will do that for us.
18918 2005-07-15 Andy Wingo <wingo@pobox.com>
18920 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18923 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18924 own marshalling function for the handoff signal. Properly type the
18925 buffer as a buffer. Fixes some warnings. Should do a more general
18927 (gst_identity_class_init): Plug into the right marshaller.
18929 2005-07-15 Wim Taymans <wim@fluendo.com>
18931 * docs/design/part-TODO.txt:
18932 * docs/design/part-clocks.txt:
18933 * docs/design/part-element-sink.txt:
18934 * docs/design/part-events.txt:
18935 * docs/design/part-gstpipeline.txt:
18936 Updated docs, mostly DISCONT related.
18938 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
18940 * docs/pwg/building-pads.xml:
18941 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
18943 2005-07-15 Andy Wingo <wingo@pobox.com>
18945 * tools/gst-typefind.c: Update, add copyright block.
18947 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
18948 Normalize and truncate caps before fixation.
18951 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
18952 discards all but the first structure from its argument.
18954 2005-07-15 Wim Taymans <wim@fluendo.com>
18956 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18957 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
18958 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18959 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18960 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
18961 (gst_base_transform_chain), (gst_base_transform_change_state),
18962 (gst_base_transform_set_passthrough),
18963 (gst_base_transform_is_passthrough):
18964 * gst/base/gstbasetransform.h:
18965 Make passthrough work using the bufferpools.
18966 Changed API a bit, subclasses have to write into a buffer
18967 provided by the base class.
18968 More debug info in nego functions.
18970 * gst/elements/gstidentity.c: (gst_identity_init),
18971 (gst_identity_transform):
18972 Port to new base class.
18974 2005-07-15 Wim Taymans <wim@fluendo.com>
18976 * gst/gstmessage.c: (gst_message_new_state_changed):
18977 * tools/gst-launch.c: (event_loop), (main):
18978 Totally dump messages in -launch with the -m option.
18979 Fix message name for State messages,
18981 2005-07-14 Wim Taymans <wim@fluendo.com>
18983 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18984 Post error messages on errors.
18986 2005-07-14 Wim Taymans <wim@fluendo.com>
18988 * gst/gstcaps.c: (gst_caps_do_simplify):
18992 Define error for stream stopped.
18994 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18995 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
18996 Do proper return values.
18998 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18999 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
19000 (gst_pad_get_range):
19001 Better return values.
19004 Reorganise return values, add macro to check for fatal errors.
19006 * gst/gstqueue.c: (gst_queue_chain):
19007 Return proper GstFlowReturn values,
19009 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
19011 * docs/gst/gstreamer-sections.txt:
19012 * docs/gst/gstreamer.types:
19013 * docs/gst/tmpl/gst.sgml:
19014 * docs/gst/tmpl/gstbasesink.sgml:
19015 * docs/gst/tmpl/gstbasesrc.sgml:
19016 * docs/gst/tmpl/gstbasetransform.sgml:
19017 * docs/gst/tmpl/gstbin.sgml:
19018 * docs/gst/tmpl/gstbuffer.sgml:
19019 * docs/gst/tmpl/gstcaps.sgml:
19020 * docs/gst/tmpl/gstclock.sgml:
19021 * docs/gst/tmpl/gstcompat.sgml:
19022 * docs/gst/tmpl/gstconfig.sgml:
19023 * docs/gst/tmpl/gstelement.sgml:
19024 * docs/gst/tmpl/gstelementdetails.sgml:
19025 * docs/gst/tmpl/gstelementfactory.sgml:
19026 * docs/gst/tmpl/gstenumtypes.sgml:
19027 * docs/gst/tmpl/gsterror.sgml:
19028 * docs/gst/tmpl/gstevent.sgml:
19029 * docs/gst/tmpl/gstfakesink.sgml:
19030 * docs/gst/tmpl/gstfakesrc.sgml:
19031 * docs/gst/tmpl/gstfilesink.sgml:
19032 * docs/gst/tmpl/gstfilesrc.sgml:
19033 * docs/gst/tmpl/gstfilter.sgml:
19034 * docs/gst/tmpl/gstformat.sgml:
19035 * docs/gst/tmpl/gstghostpad.sgml:
19036 * docs/gst/tmpl/gstimplementsinterface.sgml:
19037 * docs/gst/tmpl/gstindex.sgml:
19038 * docs/gst/tmpl/gstindexfactory.sgml:
19039 * docs/gst/tmpl/gstinfo.sgml:
19040 * docs/gst/tmpl/gstiterator.sgml:
19041 * docs/gst/tmpl/gstmacros.sgml:
19042 * docs/gst/tmpl/gstmemchunk.sgml:
19043 * docs/gst/tmpl/gstminiobject.sgml:
19044 * docs/gst/tmpl/gstobject.sgml:
19045 * docs/gst/tmpl/gstpad.sgml:
19046 * docs/gst/tmpl/gstpadtemplate.sgml:
19047 * docs/gst/tmpl/gstparse.sgml:
19048 * docs/gst/tmpl/gstpipeline.sgml:
19049 * docs/gst/tmpl/gstplugin.sgml:
19050 * docs/gst/tmpl/gstpluginfeature.sgml:
19051 * docs/gst/tmpl/gstquery.sgml:
19052 * docs/gst/tmpl/gstqueue.sgml:
19053 * docs/gst/tmpl/gstregistry.sgml:
19054 * docs/gst/tmpl/gstregistrypool.sgml:
19055 * docs/gst/tmpl/gstscheduler.sgml:
19056 * docs/gst/tmpl/gstschedulerfactory.sgml:
19057 * docs/gst/tmpl/gststructure.sgml:
19058 * docs/gst/tmpl/gstsystemclock.sgml:
19059 * docs/gst/tmpl/gsttaglist.sgml:
19060 * docs/gst/tmpl/gsttagsetter.sgml:
19061 * docs/gst/tmpl/gsttrace.sgml:
19062 * docs/gst/tmpl/gsttrashstack.sgml:
19063 * docs/gst/tmpl/gsttypefind.sgml:
19064 * docs/gst/tmpl/gsttypefindfactory.sgml:
19065 * docs/gst/tmpl/gsttypes.sgml:
19066 * docs/gst/tmpl/gsturihandler.sgml:
19067 * docs/gst/tmpl/gsturitype.sgml:
19068 * docs/gst/tmpl/gstutils.sgml:
19069 * docs/gst/tmpl/gstvalue.sgml:
19070 * docs/gst/tmpl/gstversion.sgml:
19071 * docs/gst/tmpl/gstxml.sgml:
19072 * docs/libs/tmpl/gstcontrol.sgml:
19073 * docs/libs/tmpl/gstdataprotocol.sgml:
19074 * docs/libs/tmpl/gstdparam.sgml:
19075 * docs/libs/tmpl/gstdplinint.sgml:
19076 * docs/libs/tmpl/gstdpman.sgml:
19077 * docs/libs/tmpl/gstdpsmooth.sgml:
19078 * docs/libs/tmpl/gstgetbits.sgml:
19079 * docs/libs/tmpl/gstunitconvert.sgml:
19080 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
19081 (gst_push_src_base_init), (gst_push_src_class_init),
19082 (gst_push_src_init), (gst_push_src_create):
19083 * gst/base/gstpushsrc.h:
19084 * gst/elements/gstelements.c:
19085 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
19086 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
19087 (gst_fake_sink_init), (gst_fake_sink_set_property),
19088 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
19089 (gst_fake_sink_event), (gst_fake_sink_preroll),
19090 (gst_fake_sink_render), (gst_fake_sink_change_state):
19091 * gst/elements/gstfakesink.h:
19092 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19093 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19094 (gst_fake_src_base_init), (gst_fake_src_class_init),
19095 (gst_fake_src_init), (gst_fake_src_event_handler),
19096 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19097 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19098 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19099 (gst_fake_src_create_buffer), (gst_fake_src_create),
19100 (gst_fake_src_start), (gst_fake_src_stop):
19101 * gst/elements/gstfakesrc.h:
19102 * gst/elements/gstfilesink.c: (_do_init),
19103 (gst_file_sink_base_init), (gst_file_sink_class_init),
19104 (gst_file_sink_init), (gst_file_sink_dispose),
19105 (gst_file_sink_set_location), (gst_file_sink_set_property),
19106 (gst_file_sink_get_property), (gst_file_sink_open_file),
19107 (gst_file_sink_close_file), (gst_file_sink_query),
19108 (gst_file_sink_event), (gst_file_sink_render),
19109 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19110 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19111 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19112 * gst/elements/gstfilesink.h:
19113 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19114 (gst_file_src_class_init), (gst_file_src_init),
19115 (gst_file_src_finalize), (gst_file_src_set_location),
19116 (gst_file_src_set_property), (gst_file_src_get_property),
19117 (gst_file_src_map_region), (gst_file_src_map_small_region),
19118 (gst_file_src_create_mmap), (gst_file_src_create_read),
19119 (gst_file_src_create), (gst_file_src_is_seekable),
19120 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19121 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19122 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19123 (gst_file_src_uri_handler_init):
19124 * gst/elements/gstfilesrc.h:
19125 more autistic cleanliness in functions/names/defines
19127 2005-07-13 Andy Wingo <wingo@pobox.com>
19129 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19130 source couldn't negotiate.
19132 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19136 * gst/gstutils.c (gst_element_link_pads_filtered): New old
19137 function. I am channeling Hades. Put your boots on suckers!!!
19139 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
19141 * testsuite/caps/Makefile.am:
19142 * testsuite/caps/value_compare.c:
19143 * testsuite/caps/value_intersect.c:
19144 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19145 move two testsuite apps over to the check dir
19147 2005-07-12 Wim Taymans <wim@fluendo.com>
19149 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19150 Added more debug info in the negotiate process.
19152 * gst/gstmessage.h:
19153 Prepare for segment playback.
19155 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19161 * tools/gst-launch.c: (main):
19162 NULL pipeline on errors.
19164 2005-07-12 Andy Wingo <wingo@pobox.com>
19166 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19167 not it comes from a malloc region. Make sure our copy gets freed.
19169 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19171 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19172 * check/gst/gstmessage.c: (GST_START_TEST):
19173 * check/gst/gststructure.c: (GST_START_TEST),
19174 (gst_structure_suite), (main):
19176 * gst/gstelement.c: (gst_element_message_full):
19177 clean up GError and debug string now that they get copied
19178 * gst/gstmessage.c: (gst_message_new_error),
19179 (gst_message_new_warning), (gst_message_parse_error),
19180 (gst_message_parse_warning):
19181 use GST_TYPE_G_ERROR for structure_new, and take copies of
19182 arguments, so that we don't mess up refcounting
19184 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19186 * check/Makefile.am:
19187 add per-test valgrind targets
19188 * check/gst-libs/gdp.c: (GST_START_TEST),
19189 (gst_data_protocol_suite), (main):
19192 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19194 * check/Makefile.am:
19195 instate more valgrindable tests
19196 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19197 (GST_START_TEST), (fakesrc_suite):
19198 * check/gst/gstpad.c: (GST_START_TEST):
19199 * check/gst/gststructure.c: (GST_START_TEST):
19201 * docs/gst/tmpl/gstminiobject.sgml:
19202 * gst/gstpad.c: (gst_pad_finalize):
19203 fix the static mutex leak
19205 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19207 * check/Makefile.am:
19208 add two more tests for valgrinding
19209 * check/gst/gstvalue.c: (GST_START_TEST):
19210 test refcount of deserialized buffer, found a leak
19211 * docs/gst/gstreamer-docs.sgml:
19212 * docs/gst/gstreamer-sections.txt:
19213 * docs/gst/gstreamer.types:
19214 * docs/gst/tmpl/gstminiobject.sgml:
19215 add miniobject to docs
19216 * gst/gstminiobject.c:
19218 * gst/gstvalue.c: (gst_value_deserialize_buffer),
19219 (gst_string_unwrap):
19220 fix a hard-to-find invalid write for one of the tests
19221 fix a leak for deserialized buffers
19223 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19225 * docs/pwg/advanced-events.xml:
19226 * docs/pwg/advanced-request.xml:
19227 * docs/pwg/advanced-scheduling.xml:
19228 * docs/pwg/appendix-porting.xml:
19229 * docs/pwg/building-boiler.xml:
19230 * docs/pwg/intro-preface.xml:
19231 * docs/pwg/other-ntoone.xml:
19232 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19233 of example code and explanation for pad activation, loop() and
19234 getrange() functions and a bit more. Remove old comments pointing
19236 * examples/pwg/Makefile.am:
19237 Add loop/getrange examples.
19239 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19242 check for valgrind binary + some fixes
19244 valgrind suppressions for the tests
19245 * check/Makefile.am:
19246 add a valgrind: target that valgrinds the unit tests
19247 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19248 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19249 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19250 * check/gst/gstghostpad.c:
19252 * check/gst/gstdata.c:
19254 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19255 (thread_unref), (gst_mini_object_suite), (main):
19257 * gst/gst.c: (gst_deinit):
19259 add a method to clean up.
19260 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19261 (gst_system_clock_obtain):
19262 allow for disposing the system clock.
19263 * tools/gst-launch.c: (main):
19266 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19268 * docs/gst/tmpl/gstbasesrc.sgml:
19269 * docs/gst/tmpl/gstfakesrc.sgml:
19270 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19271 (gst_base_src_init), (gst_base_src_set_property),
19272 (gst_base_src_get_property), (gst_base_src_get_range),
19273 (gst_base_src_start):
19274 * gst/base/gstbasesrc.h:
19275 add num-buffers property
19276 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19277 (gst_fakesrc_init), (gst_fakesrc_set_property),
19278 (gst_fakesrc_get_property), (gst_fakesrc_create),
19279 (gst_fakesrc_start):
19280 remove num-buffers property
19282 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19284 * docs/gst/gstreamer-sections.txt:
19285 * docs/gst/tmpl/gstbasesink.sgml:
19286 * docs/gst/tmpl/gstbasesrc.sgml:
19287 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19288 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19289 (gst_base_sink_finalize), (gst_base_sink_set_clock),
19290 (gst_base_sink_set_property), (gst_base_sink_get_property),
19291 (gst_base_sink_handle_object), (gst_base_sink_event),
19292 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19293 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19294 (gst_base_sink_loop), (gst_base_sink_deactivate),
19295 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19296 (gst_base_sink_change_state):
19297 * gst/base/gstbasesink.h:
19298 * gst/base/gstbasesrc.h:
19299 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19300 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19301 (gst_filesink_init):
19302 more macro splitting
19304 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19306 * gst/gstelement.c: (gst_element_get_bus):
19308 * tools/gst-launch.c: (check_intr), (event_loop):
19311 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19313 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19316 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19318 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19319 (gst_base_src_finalize):
19320 add finalize method and clean up properly
19321 * gst/gstpipeline.c: (gst_pipeline_dispose):
19324 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19326 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19328 add more things to check
19329 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19330 * gst/gstelement.c:
19333 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19335 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19336 (GST_START_TEST), (fakesrc_suite):
19337 * check/gst-libs/gdp.c: (GST_START_TEST):
19338 * check/gst/gst.c: (GST_START_TEST):
19339 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19340 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19341 * check/gst/gstbus.c: (GST_START_TEST):
19342 * check/gst/gstcaps.c: (GST_START_TEST):
19343 * check/gst/gstdata.c: (GST_START_TEST):
19344 * check/gst/gstelement.c: (GST_START_TEST):
19345 * check/gst/gstghostpad.c: (GST_START_TEST):
19346 * check/gst/gstiterator.c: (GST_START_TEST):
19347 * check/gst/gstmessage.c: (GST_START_TEST):
19348 * check/gst/gstobject.c: (GST_START_TEST):
19349 * check/gst/gstpad.c: (GST_START_TEST):
19350 * check/gst/gststructure.c: (GST_START_TEST):
19351 * check/gst/gstsystemclock.c: (GST_START_TEST),
19352 (gst_systemclock_suite):
19353 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19354 * check/gst/gstvalue.c: (GST_START_TEST):
19355 * check/pipelines/cleanup.c: (GST_START_TEST):
19356 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19357 * check/states/sinks.c: (GST_START_TEST):
19358 * check/gstcheck.c: (gst_check_init):
19359 * check/gstcheck.h:
19360 add debugging category
19361 use GST_START_TEST now, so we add a debug line
19363 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19365 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19366 add test for state change message on a bin
19367 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19369 * gst/gstbin.c: (gst_bin_init):
19370 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19371 * gst/gstelement.c: (gst_element_post_message),
19372 (gst_element_set_state):
19373 * gst/gstelementfactory.c: (gst_element_factory_create):
19374 * gst/gstmessage.c: (gst_message_new):
19375 * gst/gstscheduler.c:
19376 various debugging additions and cleanups
19378 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19380 * check/Makefile.am:
19381 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19383 adding tests for elements
19384 * gst/gstelement.c: (gst_element_dispose):
19386 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19388 * gst/registries/gstlibxmlregistry.c: (load_feature):
19389 plug more leaks. A simple gst_init() now is leakfree, yay.
19391 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19393 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19394 (gst_xml_registry_load):
19395 plug another memleak
19397 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19400 use GST_SET_ERROR_CFLAGS
19401 * docs/faq/cvs.xml:
19402 change to ERROR_CFLAGS
19404 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19407 make GST_ERROR_CFLAGS overridable and re-enable Werror
19408 * docs/faq/cvs.xml:
19409 add a note about error CFLAGS
19410 * docs/gst/tmpl/gstfakesrc.sgml:
19411 * gst/elements/gstfakesrc.c:
19412 comment out some unused code
19413 * gst/gst.c: (split_and_iterate):
19414 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19418 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19420 * common/Makefile.am:
19421 * common/gtk-doc.mak:
19422 * docs/gst/Makefile.am:
19423 factor out gtk-doc.mak
19425 2005-07-07 Wim Taymans <wim@fluendo.com>
19427 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19428 (gst_thread_scheduler_dispose):
19429 Unlock the STREAM_LOCK completely.
19431 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19433 * check/Makefile.am:
19434 * check/elements/.cvsignore:
19435 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19436 (START_TEST), (fakesrc_suite), (main):
19437 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19438 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19439 (gst_fakesrc_create), (gst_fakesrc_start):
19440 * gst/elements/gstfakesrc.h:
19441 adding a first element test
19443 2005-07-07 Andy Wingo <wingo@pobox.com>
19445 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19448 2005-07-07 Wim Taymans <wim@fluendo.com>
19454 2005-07-07 Wim Taymans <wim@fluendo.com>
19456 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19457 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19458 Allow subclasses to implement their own negotiation.
19460 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19462 * docs/design/part-gstbin.txt:
19463 * docs/design/part-gstpipeline.txt:
19464 Update design notes to reflect the movement of
19465 responsibility for bus handling from GstPipeline to
19468 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19471 Remove unnecessary queue2/3/4 examples.
19473 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19475 * examples/Makefile.am:
19476 * examples/helloworld/helloworld.c: (event_loop), (main):
19477 * examples/queue/queue.c: (event_loop), (main):
19478 * examples/queue2/queue2.c: (main):
19479 Update a couple of the examples to work again.
19481 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19482 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19483 Spelling corrections and extra debug.
19485 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19486 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19487 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19489 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19490 (gst_pipeline_change_state):
19491 * gst/gstpipeline.h:
19492 Move the bus handler for children to the GstBin, and create a
19493 separate bus for receiving messages from children to the one the
19494 bus sends 'upwards' on.
19496 2005-07-06 Wim Taymans <wim@fluendo.com>
19499 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19500 (gst_base_sink_handle_object), (gst_base_sink_loop),
19501 (gst_base_sink_change_state):
19502 * gst/base/gstbasesink.h:
19503 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19504 (gst_base_src_init), (gst_base_src_setcaps),
19505 (gst_base_src_getcaps), (gst_base_src_loop),
19506 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19507 (gst_base_src_start), (gst_base_src_change_state):
19508 * gst/base/gstbasesrc.h:
19509 Make basesrc negotiate.
19510 Handle the case where preroll fails in basesink.
19513 2005-07-06 Wim Taymans <wim@fluendo.com>
19515 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19516 Implement the fixate function.
19517 Clean up acceptcaps.
19519 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19521 * docs/pwg/building-filterfactory.xml:
19522 * docs/pwg/pwg.xml:
19523 Remove never-written filter-factory chapter; I'll add the various
19524 base classes to part 4 ("other element types") later on.
19526 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19528 * docs/pwg/advanced-negotiation.xml:
19529 * docs/pwg/building-boiler.xml:
19530 * docs/pwg/building-pads.xml:
19531 * docs/pwg/pwg.xml:
19532 * examples/pwg/Makefile.am:
19533 Add a chapter on caps negotiation, simplify the original code
19534 samples a bit w.r.t. caps negotiation, add link to the advanced
19535 section. Add a bunch of examples showing different use cases of
19536 different types of caps negotiation. Upstream renegotiation isn't
19537 fully documented yet since nobody knows how that works.
19539 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
19541 * check/gst/gstpad.c:
19542 * check/gstcheck.c:
19543 * gst/gstpad.c: (gst_pad_get_internal_links_default):
19544 if pad has no parent, return NULL as list of internal links
19546 2005-07-05 Andy Wingo <wingo@pobox.com>
19548 * gst/elements/gstfilesrc.c:
19549 * gst/elements/gstfakesrc.c:
19550 * gst/base/gstpushsrc.c:
19551 * gst/base/gstbasesrc.h:
19552 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19554 2005-07-05 Stefan Kost <ensonic@users.sf.net>
19557 better report generation target (lcov needs a patch)
19559 2005-07-05 Andy Wingo <wingo@pobox.com>
19561 * gst/elements, testsuite: Null if we got it...
19563 2005-07-05 Wim Taymans <wim@fluendo.com>
19566 * libs/gst/dataprotocol/Makefile.am:
19567 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19568 * libs/gst/dataprotocol/dataprotocol.h:
19569 * pkgconfig/Makefile.am:
19570 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19571 * pkgconfig/gstreamer-dataprotocol.pc.in:
19572 Ported dataprotol to 0.9.
19573 Added pkgconfig files.
19575 2005-07-05 Andy Wingo <wingo@pobox.com>
19577 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19578 Default to returning TRUE for the case when tranform_caps returns
19579 a fixed caps, like for identity or volume.
19581 * check/gst/gstbus.c (pound_bus_with_messages):
19582 * check/gst/gstmessage.c (START_TEST):
19583 * check/pipelines/simple_launch_lines.c (got_handoff): Application
19584 message API change.
19586 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19587 logic weaks here: always run transform_caps, trying passthrough
19588 operation only if the original caps intersects with the transform.
19590 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19591 source and sink caps.
19593 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19594 Intersect the peer caps with the pad template before going into
19596 (gst_base_transform_transform_caps): More debugging.
19598 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19601 2005-07-04 Edward Hervey <edward@fluendo.com>
19605 (gst_pad_add_*_probe): now returns the signal id for better wrapping
19608 2005-07-04 Andy Wingo <wingo@pobox.com>
19610 * check/gst/gstpad.c: Only set explicit caps on pads.
19612 2005-07-01 Andy Wingo <wingo@pobox.com>
19614 * tests/network-clock.scm: Commentary update.
19616 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19617 Didn't really make sense, not implementable with basetransform,
19619 (gst_identity_transform): Unref inbuf via make_writable. Feeble
19620 attempt at implementing the sync property, needs an unlock method.
19622 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19623 New func, by default returns the same caps (the identity
19625 (gst_base_transform_getcaps): Uses transform_caps to return
19626 something sensible.
19627 (gst_base_transform_setcaps): Complicated logic to get caps on
19628 both pads, even if they are different, and to call set_caps once
19629 for every time both pads get their caps set.
19630 (gst_base_transform_handle_buffer): Give the ref to the transform
19631 function. Allows in-place modification of the buffer.
19633 * gst/base/gstbasetransform.h (transform_caps): New class method.
19634 Given caps on one side, what can I do on the other.
19635 (set_caps): Take two caps, one for each side of the element.
19638 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19639 caps in place. This is safe because we can check the mutability of
19640 the caps, and a good idea because fixate functions are just called
19641 as a matter of last resort. (Not actually implemented.)
19642 (gst_pad_set_caps): If the caps we're setting is actually the same
19643 as the existing pad caps, just update the pointer without calling
19644 setcaps. Assert that caps is either NULL or fixed, as per the
19647 * gst/gstghostpad.c: Update for fixate changes.
19649 2005-07-02 Andy Wingo <wingo@pobox.com>
19652 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19653 two refcounts makes it immutable, which is enough. Doc more.
19655 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
19657 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19658 Put the mini_object into GValue as a mini_object,
19659 not a gpointer, since that's how we declared
19662 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19664 * examples/pwg/Makefile.am:
19665 Fix buildbot again.
19667 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19669 * docs/pwg/building-testapp.xml:
19671 * examples/pwg/Makefile.am:
19674 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19677 * examples/Makefile.am:
19678 * examples/pwg/Makefile.am:
19679 * examples/pwg/extract.pl:
19680 Enable building the PWG examples.
19681 * docs/pwg/advanced-interfaces.xml:
19682 Add URI interface stub.
19683 * docs/pwg/advanced-types.xml:
19684 * docs/pwg/other-autoplugger.xml:
19685 * docs/pwg/appendix-porting.xml:
19686 * docs/pwg/pwg.xml:
19687 Add porting guide (mostly stubs), remove autoplugging (see ADM).
19688 * docs/pwg/building-boiler.xml:
19689 * docs/pwg/building-chainfn.xml:
19690 * docs/pwg/building-pads.xml:
19691 * docs/pwg/building-props.xml:
19692 * docs/pwg/building-state.xml:
19693 * docs/pwg/building-testapp.xml:
19694 Update the building-*.xml parts for 0.9 changes. All examples
19695 code blocks compile in examples/pwg/*.
19697 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19699 * docs/manual/advanced-autoplugging.xml:
19700 * docs/manual/appendix-checklist.xml:
19701 * docs/manual/appendix-integration.xml:
19702 * docs/manual/highlevel-components.xml:
19703 Fix playbin/decodebin examples, update docs a bit, mention bus
19704 instead of signals in various places, mention kmplayer and
19705 kaffeine since they have a working GStreamer backend in the KDE
19708 2005-06-30 Wim Taymans <wim@fluendo.com>
19711 * docs/design/draft-ghostpads.txt:
19712 * docs/design/draft-push-pull.txt:
19713 * docs/design/draft-query.txt:
19714 * docs/design/part-TODO.txt:
19715 * docs/design/part-query.txt:
19716 Added CHANGES-0.9 doc, updated status of other docs.
19721 2005-06-30 Wim Taymans <wim@fluendo.com>
19723 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19724 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19725 (gst_base_sink_change_state):
19726 * gst/base/gstbasesink.h:
19727 Some tweaks, only EOS and a buffer complete a preroll.
19729 2005-06-30 Andy Wingo <wingo@pobox.com>
19731 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19732 activate_push down to the internal pad as well.
19734 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
19736 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19738 * gst/gsttaginterface.c:
19739 Some documentation fixes (#307394 and #307397).
19741 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
19743 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19745 * gst/gstvalue.c: (gst_value_intersect_list):
19746 Fix memleak (#309125).
19748 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19750 * docs/manual/advanced-dataaccess.xml:
19751 Fix fakesrc example to compile; doesn't work, bug somewhere...?
19752 * docs/manual/basics-pads.xml:
19753 Add reference for filtered caps to above chapter.
19755 2005-06-30 Wim Taymans <wim@fluendo.com>
19757 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19758 (gst_bin_change_state):
19760 Lame attempt at making the state change function a bit
19763 2005-06-30 Wim Taymans <wim@fluendo.com>
19765 * docs/design/part-clocks.txt:
19766 * docs/design/part-element-sink.txt:
19767 * docs/design/part-events.txt:
19768 * docs/design/part-preroll.txt:
19769 * docs/design/part-states.txt:
19770 Some more tweeks and additions to the docs.
19772 2005-06-30 Wim Taymans <wim@fluendo.com>
19774 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19775 (default_have_data), (gst_pad_class_init), (gst_pad_init),
19776 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19777 (gst_pad_check_pull_range), (gst_pad_get_range),
19778 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19780 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19781 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19782 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19783 (gst_pad_remove_buffer_probe):
19784 Removed atomic operations, use existing LOCK.
19785 Move exception handling out of main code path.
19787 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19789 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19790 (silly_return_true_function), (gst_pad_class_init),
19791 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19792 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19793 (gst_pad_send_event):
19794 Fix accumulator, add default value by using _emitv() instead
19795 of _emit() for signal emission.
19797 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19799 * docs/manual/advanced-dataaccess.xml:
19800 * examples/manual/Makefile.am:
19802 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19805 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
19807 * gst/elements/gstfilesink.c: (gst_filesink_render):
19808 Simplify code so that we don't have to handle short
19809 writes and return GST_FLOW_ERROR if an error occured.
19811 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19813 * docs/gst/gstreamer-docs.sgml:
19814 Remove probes more.
19816 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19818 * docs/gst/gstreamer-sections.txt:
19819 * docs/gst/tmpl/gstpad.sgml:
19820 * docs/gst/tmpl/gstprobe.sgml:
19822 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19823 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19824 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19825 (gst_pad_push_event), (gst_pad_send_event):
19827 * gst/gstutils.c: (gst_pad_add_data_probe),
19828 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19829 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19830 (gst_pad_remove_buffer_probe):
19832 Remove old probes, add new g-signal-based probes and some utility
19835 2005-06-29 Edward Hervey <edward@fluendo.com>
19837 * gst/gstelementfactory.c:
19840 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19841 the definition to the header file.
19843 2005-06-29 Andy Wingo <wingo@pobox.com>
19845 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19846 plugins from the source directory.
19848 2005-06-29 Wim Taymans <wim@fluendo.com>
19850 * docs/gst/tmpl/gstbuffer.sgml:
19851 * docs/gst/tmpl/gstclock.sgml:
19852 Some fixings for blantently wrong text.
19854 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19856 * check/Makefile.am:
19857 * gst/gst.c: (add_path_func), (init_pre):
19858 * gst/gstregistry.c: (gst_registry_add_path):
19859 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19860 only scan the GST_PLUGIN_PATH locations, and not add
19863 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19865 * docs/gst/gstreamer-sections.txt:
19866 * docs/gst/tmpl/gstbasesrc.sgml:
19867 * gst/gstelement.c:
19868 * gst/gstelement.h:
19873 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19875 * docs/manual/advanced-autoplugging.xml:
19876 Fix autoplugging example.
19878 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19880 * docs/manual/advanced-autoplugging.xml:
19881 * docs/manual/mime-world.fig:
19882 Try to get autoplugging working, fix type detection. Fix text
19883 in hello-world image.
19885 2005-06-29 Wim Taymans <wim@fluendo.com>
19887 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19888 (gst_base_sink_change_state):
19892 map SIGNAL and BROADCAST to the right function.
19895 Remove redundant braces.
19897 * gst/gstpad.c: (gst_pad_set_caps):
19898 Don't call setcaps function when reseting caps to NULL.
19900 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19901 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19902 (gst_system_clock_id_unschedule):
19903 Use BROADCAST as this is what we do.
19905 2005-06-29 Wim Taymans <wim@fluendo.com>
19907 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19908 We are actually prerolling before commiting the state
19911 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19913 * docs/manual/advanced-clocks.xml:
19914 * docs/manual/advanced-interfaces.xml:
19915 * docs/manual/advanced-metadata.xml:
19916 * docs/manual/advanced-position.xml:
19917 * docs/manual/advanced-schedulers.xml:
19918 * docs/manual/advanced-threads.xml:
19919 * docs/manual/appendix-porting.xml:
19920 * docs/manual/basics-bins.xml:
19921 * docs/manual/basics-bus.xml:
19922 * docs/manual/basics-elements.xml:
19923 * docs/manual/basics-helloworld.xml:
19924 * docs/manual/basics-pads.xml:
19925 * docs/manual/highlevel-components.xml:
19926 * docs/manual/manual.xml:
19927 * docs/manual/thread.fig:
19928 Update (until threads/scheduling) Application Development Manual;
19929 remove GstThread, add GstBus, add simple porting checklist, add
19930 documentation for tag writing, clocks, make all examples until this
19931 part compile and run.
19932 * examples/manual/Makefile.am:
19933 Update from changes to Application Development Manual; add bus
19934 example, remove thread example.
19936 2005-06-28 Wim Taymans <wim@fluendo.com>
19938 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
19939 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
19940 (gst_bus_source_dispatch):
19941 Add debugging messages.
19942 Make internal methods static.
19943 Handle the case where the bus is flushed in the handler.
19945 * gst/gstelement.c: (gst_element_get_bus):
19946 Fix refcount in _get_bus();
19948 * gst/gstpipeline.c: (gst_pipeline_change_state),
19949 (gst_pipeline_get_clock_func):
19950 Clock refcounting fixes.
19951 Handle the case where preroll timed out more gracefully.
19953 * gst/gstsystemclock.c: (gst_system_clock_dispose):
19954 Clean up the internal thread in dispose. This is needed
19955 for subclasses that actually get disposed.
19957 * gst/schedulers/threadscheduler.c:
19958 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19959 (gst_thread_scheduler_dispose):
19960 Free thread pool in dispose.
19962 2005-06-28 Andy Wingo <wingo@pobox.com>
19964 * tests/network-clock-utils.scm (debug, print-event): New utils.
19966 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
19967 (*packet-loss*): Unified loss probability.
19968 (network-time): Report out-of-band events.
19970 * tests/plot-data: Add support for out-of-band events. Hack it
19971 into this script instead of passing it down the pipe; should fix
19974 2005-06-28 Wim Taymans <wim@fluendo.com>
19976 * docs/gst/gstreamer.types:
19977 * docs/gst/tmpl/gstbasesrc.sgml:
19978 * docs/gst/tmpl/gstpad.sgml:
19981 2005-06-28 Wim Taymans <wim@fluendo.com>
19983 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19984 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
19985 (gst_proxy_pad_do_fixatecaps):
19986 Correctly proxy the check_pull_range function.
19988 2005-06-28 Andy Wingo <wingo@pobox.com>
19990 * tests/network-clock.scm: Removed need for slib.
19992 2005-06-28 Wim Taymans <wim@fluendo.com>
19994 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
19995 (gst_basesink_preroll_queue_flush):
19996 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
19997 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
19998 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19999 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20000 (gst_proxy_pad_set_property):
20003 * gst/gstqueue.c: (gst_queue_init):
20004 The deprecated pad loop function is removed now.
20006 2005-06-28 Andy Wingo <wingo@pobox.com>
20008 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
20009 New parameters, simulate network packet loss.
20011 * tests/network-clock-utils.scm: Initialize the RNG.
20013 2005-06-28 Wim Taymans <wim@fluendo.com>
20015 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
20016 (gst_basesink_event), (gst_basesink_deactivate):
20017 Flushing the preroll queue always needs to unlock the waiters.
20019 2005-06-28 Edward Hervey <edward@fluendo.com>
20021 * gst/gstpipeline.c: (gst_pipeline_send_event):
20022 Wheen a seek was successful on a pipeline, set the stream_time to the
20023 seek offset in order to have a synchronized stream_time.
20025 2005-06-28 Wim Taymans <wim@fluendo.com>
20027 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20028 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
20029 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
20030 (gst_proxy_pad_do_fixatecaps):
20031 Call wrapper function instead of just calling the function
20032 pointers. This takes care of any locking and whatmore.
20034 2005-06-28 Wim Taymans <wim@fluendo.com>
20036 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
20037 (gst_pad_pull_range):
20039 CONNECTED -> LINKED.
20041 2005-06-28 Andy Wingo <wingo@pobox.com>
20043 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
20044 source-munging commit!!!
20046 * gst/gstobject.c (gst_object_unref, gst_object_ref)
20047 (gst_object_sink): Take gpointer arguments, not GstObject --
20048 avoids casts. Like GLib.
20050 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
20053 2005-06-27 Andy Wingo <wingo@pobox.com>
20055 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
20058 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
20059 returns a sorted copy of the trace list.
20060 (gst_alloc_trace_print_live): New API, only prints traces with
20061 live objects. Sort the list.
20062 (gst_alloc_trace_print_all): Sort the list.
20063 (gst_alloc_trace_print): Align columns.
20065 * gst/elements/gstttypefindelement.c:
20066 * gst/elements/gsttee.c:
20067 * gst/base/gstbasesrc.c:
20068 * gst/base/gstbasesink.c:
20069 * gst/base/gstbasetransform.c:
20070 * gst/gstqueue.c: Adapt for pad activation changes.
20072 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
20074 (gst_pipeline_dispose): Drop ref on sched.
20076 * gst/gstpad.c (gst_pad_init): Set the default activate func.
20077 (gst_pad_activate_default): Push mode by default.
20078 (pre_activate_switch, post_activate_switch): New stubs, things to
20079 do before and after switching activation modes on pads.
20080 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
20081 the pad's activate function to choose which mode to activate.
20082 Shortcut on deactivation and call the right function directly.
20083 (gst_pad_activate_pull): New API, (de)activates a pad in pull
20085 (gst_pad_activate_push): New API, same for push mode.
20086 (gst_pad_set_activate_function)
20087 (gst_pad_set_activatepull_function)
20088 (gst_pad_set_activatepush_function): Setters for new API.
20090 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
20091 Trace all miniobjects.
20092 (gst_mini_object_make_writable): Unref the arg if we copy, like
20093 gst_caps_make_writable.
20095 * gst/gstmessage.c (_gst_message_initialize): No trace init.
20097 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
20098 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20099 Adapt for new pad API.
20101 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20103 * gst/gstelement.h:
20104 * gst/gstelement.c (gst_element_iterate_src_pads)
20105 (gst_element_iterate_sink_pads): New API functions.
20107 * gst/gstelement.c (iterator_fold_with_resync): New utility,
20108 should fold into gstiterator.c in some form.
20109 (gst_element_pads_activate): Simplified via use of fold and
20110 delegation of decisions to gstpad->activate.
20112 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20115 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20116 class once in init, like gstmessage. Didn't run into this issue
20117 but it seems correct. Don't initialize a trace, gstminiobject does
20120 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20121 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20123 (assert_live_count): New util function, uses alloc traces to check
20126 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20127 To be modified when unlink drops the internal pad.
20129 2005-06-27 Wim Taymans <wim@fluendo.com>
20131 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20132 (gst_bin_change_state):
20133 Cleanup the get_state() function a little, make sure it
20134 iterates the same set of elements.
20135 Added stub iterate_state_order().
20137 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
20139 * docs/gst/gstreamer-docs.sgml:
20140 * docs/gst/gstreamer-sections.txt:
20141 * docs/gst/gstreamer.types:
20142 * docs/gst/tmpl/gstbasesink.sgml:
20143 * docs/gst/tmpl/gstbasesrc.sgml:
20144 * docs/gst/tmpl/gstbasetransform.sgml:
20145 * docs/gst/tmpl/gstelement.sgml:
20146 * docs/gst/tmpl/gstiterator.sgml:
20147 * gst/base/gstbasesrc.c:
20148 * gst/base/gstbasesrc.h:
20149 * gst/base/gstbasetransform.h:
20150 * gst/gstelement.c:
20151 * gst/gstiterator.h:
20152 adding basetransform and iterator docs
20154 2005-06-27 Andy Wingo <wingo@pobox.com>
20156 * docs/design/part-activation.txt: Notes on how activation should
20157 work -- not quite implemented yet.
20159 2005-06-25 Wim Taymans <wim@fluendo.com>
20161 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20162 At least get the chain function correct, needs more
20165 2005-06-25 Wim Taymans <wim@fluendo.com>
20167 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20168 (gst_basesink_handle_object), (gst_basesink_event),
20169 (gst_basesink_do_sync), (gst_basesink_handle_event),
20170 (gst_basesink_change_state):
20172 Right, two problems here: ghostpads don't take locks and
20173 glib _rec_mutex_lock_full() with depth==0 still locks.
20174 Catch illegal locking and g_warn them.
20176 2005-06-25 Wim Taymans <wim@fluendo.com>
20178 * check/states/sinks.c: (START_TEST), (gst_object_suite):
20179 Have to check for completion now...
20181 2005-06-25 Wim Taymans <wim@fluendo.com>
20183 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20184 (gst_basesink_handle_object), (gst_basesink_event),
20185 (gst_basesink_do_sync), (gst_basesink_handle_event),
20186 (gst_basesink_change_state):
20188 Unlock STREAM_LOCK whatever the recursion was.
20190 2005-06-25 Wim Taymans <wim@fluendo.com>
20192 * gst/base/gstbasesink.c: (gst_basesink_set_property),
20193 (gst_basesink_preroll_queue_empty),
20194 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20195 (gst_basesink_event), (gst_basesink_do_sync),
20196 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20197 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20198 (gst_basesink_change_state):
20199 Reworked the base sink, handle event and buffer serialisation
20200 correctly and removed possible deadlock.
20201 Handle EOS correctly.
20203 2005-06-25 Wim Taymans <wim@fluendo.com>
20205 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20206 (gst_pipeline_change_state):
20207 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20208 Allow elements to post EOS in the state change function.
20209 Fix up -launch, make it exit the poll loop when the
20210 pipeline actually changed state.
20211 Fix up warning parsing in -launch.
20213 2005-06-25 Wim Taymans <wim@fluendo.com>
20215 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20216 (gst_tee_sink_activate):
20217 Core takes STREAM_LOCK for us now.
20219 2005-06-25 Wim Taymans <wim@fluendo.com>
20221 * gst/gstelement.c: (gst_element_get_state_func),
20222 (gst_element_set_state):
20223 * gst/gstelement.h:
20224 * gst/gstmessage.c: (gst_message_parse_error),
20225 (gst_message_parse_warning):
20226 Keep track of current target state while performing a state
20227 change so that subclasses can do something interesting.
20228 Fix parsing of warning/error messages when GError is NULL.
20230 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
20232 * docs/gst/Makefile.am:
20233 * docs/gst/gstreamer-docs.sgml:
20234 * docs/gst/gstreamer-sections.txt:
20235 * docs/gst/gstreamer.types:
20236 * docs/gst/tmpl/gstbasesink.sgml:
20237 * docs/gst/tmpl/gstbasesrc.sgml:
20238 * docs/gst/tmpl/gstbin.sgml:
20239 * docs/gst/tmpl/gstcompat.sgml:
20240 * docs/gst/tmpl/gstfakesink.sgml:
20241 * docs/gst/tmpl/gstfakesrc.sgml:
20242 * docs/gst/tmpl/gstfilesink.sgml:
20243 * docs/gst/tmpl/gstfilesrc.sgml:
20244 * docs/gst/tmpl/gstindex.sgml:
20245 * docs/manual/appendix-quotes.xml:
20246 * gst/base/gstbasesrc.h:
20247 * gst/elements/gstfakesrc.h:
20248 * gst/gstmessage.h:
20249 start pulling in base classes and elements in our docs
20251 2005-06-24 Stefan Kost <ensonic@users.sf.net>
20253 * docs/gst/Makefile.am:
20254 * docs/libs/Makefile.am:
20255 fixed make distcheck with gtk-doc 1.3
20257 2005-06-23 Wim Taymans <wim@fluendo.com>
20259 * gst/gstelement.c: (gst_element_get_state_func),
20260 (gst_element_set_state), (gst_element_change_state):
20261 When the state did not change, also report NO_PREROLL
20264 2005-06-23 Wim Taymans <wim@fluendo.com>
20266 * gst/gstpad.c: (gst_pad_event_default):
20267 * gst/gstqueue.c: (gst_queue_loop):
20268 No unsafe task pausing please.
20270 2005-06-23 Wim Taymans <wim@fluendo.com>
20272 * gst/schedulers/threadscheduler.c:
20273 (gst_thread_scheduler_task_start),
20274 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20275 Ref the task before pushing it on the threadpool. This
20276 makes sure that we have a ref when the threadfunction is
20279 2005-06-23 Andy Wingo <wingo@pobox.com>
20281 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20282 offset is greater than the file's size.
20284 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
20285 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20286 * gst/gstobject.c (gst_object_class_init): Make the class lock
20287 recursive. Wim won't let me drop deep_notify. Decodebin works
20288 again, whoopdy doo.
20290 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20291 internal pad, and hacks accordingly. Doesn't do it on the target
20292 pad because we change its caps. Probably catches all cases of
20294 (gst_ghost_pad_set_property): Connect to notify::caps as
20297 * tests/network-clock.scm (plot-simulation): Pipe data to the
20298 elite python skript.
20300 * tests/network-clock-utils.scm (define-parameter): New macro,
20301 defines a parameter that can be set via the command line.
20302 (set-parameter!, parse-parameter-arguments): Command line args
20305 * tests/plot-data: Simple matplotlib-based plotter, takes input on
20308 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
20310 * gst/elements/gsttypefindelement.c:
20311 (gst_type_find_element_handle_event):
20312 Don't restart typefinding on a discont.
20313 * gst/gstelement.c: (gst_element_set_state):
20314 Debug spelling fix.
20315 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20316 Allow changing mode of an active pad.
20317 Debug output fixes.
20318 * gst/registries/gstlibxmlregistry.c: (load_feature):
20319 Don't cast a static pad template to a normal pad template.
20321 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
20323 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20324 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20325 remove gst_strtoll completely, since it didn't actually do
20326 anything more than what g_ascii_strtoull already does.
20327 check for range errors when deserializing
20328 do a cast for the unsigned cases; but further fixing needs
20329 a decision on what the interpretation of "(int)" and
20330 deserialization should be for values that fall outside the
20331 type's boundaries (ie, refuse, or interpret as casting)
20333 2005-06-23 Wim Taymans <wim@fluendo.com>
20335 * check/Makefile.am:
20336 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20337 * docs/design/part-live-source.txt:
20338 * docs/design/part-states.txt:
20339 * gst/base/gstbasesrc.c: (gst_basesrc_init),
20340 (gst_basesrc_set_live), (gst_basesrc_is_live),
20341 (gst_basesrc_get_range), (gst_basesrc_activate),
20342 (gst_basesrc_change_state):
20343 * gst/base/gstbasesrc.h:
20344 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20345 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20346 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20347 * gst/gstelement.c: (gst_element_get_state_func),
20348 (gst_element_set_state):
20349 * gst/gstelement.h:
20351 * tools/gst-launch.c: (event_loop), (main):
20352 Added support for live sources and other elements that
20354 Updated design docs, added live-source design doc.
20355 Implemented live source functionality in basesrc
20356 Fix error condition in _bin_get_state()
20357 Implement live source handling in -launch.
20358 Added check for live sources.
20359 Fixed case in GstBin where elements were changed state
20363 2005-06-23 Andy Wingo <wingo@pobox.com>
20365 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20366 borken refcounting.
20368 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20369 gst_caps_replace takes care of this for us.
20371 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20372 gst_pad_set_caps on the target, not just its setcaps() function.
20374 * tests/network-clock.scm:
20375 * tests/network-clock-utils.scm: A network clock simulator.
20376 Something of an algorithmic testbed before doing something in C.
20378 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20380 * check/Makefile.am:
20381 * check/gst/capslist.h:
20382 copy over from 0.8, and add two with bitmasks specified with
20384 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20385 add test to parse everything from capslist.h
20386 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20388 add test for structure deserialization
20389 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20390 add tests for deserialization of strings to int types
20391 * gst/gststructure.c: (gst_structure_nth_field_name):
20392 * gst/gststructure.h:
20393 add a way to get the name of a field referenced by index
20394 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20395 instead of checking if the resulting long long lies between
20396 min and max, we check if the long long would fit into
20397 a number of bytes for the final type.
20398 This fixes cases where a string represents 2^32 - 1, which
20399 when cast to int would be the (valid) -1, but is bigger than
20402 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20404 * gst/parse/grammar.y:
20405 add a log line for type deserialization
20407 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20409 * check/gst/gstvalue.c: (START_TEST):
20410 * gst/gstvalue.c: (gst_value_deserialize):
20411 return long long, not int, so gint64 deserialization actually
20412 works. Is there any flag that makes the compiler check this ?
20415 2005-06-22 Wim Taymans <wim@fluendo.com>
20418 Added convenience macros for setting buffers in GValue.
20420 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20422 * check/gst/.cvsignore:
20423 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20424 add a test deserializing int64, and comment part out because
20427 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20429 * check/Makefile.am:
20430 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20431 * testsuite/Makefile.am:
20432 * testsuite/caps/Makefile.am:
20433 * testsuite/caps/value_serialize.c:
20434 * testsuite/test_gst_init.c:
20435 move a value_serialize test over
20437 2005-06-20 Wim Taymans <wim@fluendo.com>
20442 * gst/gstvalue.c: (gst_value_compare_buffer),
20443 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20444 (gst_value_compare_flags), (gst_value_serialize_flags),
20445 (gst_value_deserialize_flags), (_gst_value_initialize):
20446 Fix serialisation of buffers, they are not boxed types anymore
20448 2005-06-20 Wim Taymans <wim@fluendo.com>
20450 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20451 Testcase to show error in buffer-on-caps serialisation.
20453 2005-06-20 Andy Wingo <wingo@pobox.com>
20455 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20456 will be adding to later.
20458 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20459 if its socks fill with rocks.
20460 (gst_system_clock_obtain): Set the name on object construction.
20461 Avoid double-checked locking.
20463 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
20465 * gst/gsturi.c: (gst_element_make_from_uri):
20466 Fix potential endless loop.
20468 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20470 * check/Makefile.am:
20472 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20474 move over from testsuite dir and clean up
20477 * testsuite/Makefile.am:
20478 * testsuite/tags/.cvsignore:
20479 * testsuite/tags/Makefile.am:
20480 * testsuite/tags/merge.c:
20481 remove testsuite/tags
20483 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20485 * docs/gst/gstreamer-sections.txt:
20486 * docs/gst/tmpl/gstenumtypes.sgml:
20487 * win32/gstenumtypes.c:
20488 clean up documentation build a little
20490 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20492 * check/gstcheck.h:
20493 add macros for checking refcounts on objects and caps
20494 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20495 add some more unit tests
20496 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20497 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20498 fix leaked refcounts (I hope :)) so unittest works
20502 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20504 * configure.ac: back to HEAD
20506 === release 0.9.1 ===
20508 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
20514 2005-06-17 Andy Wingo <wingo@pobox.com>
20516 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20517 assert; it's always possible that the pad gets deactivated in
20518 between the checks in gstpad.c and the implementation. Rely on
20519 finish_preroll() to return a FLUSHING or similar instead of on the
20522 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20523 clock and post an EOS message if we come out of finish_preroll in
20526 2005-06-16 David Schleef <ds@schleef.org>
20528 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20529 (gst_capsfilter_set_property): Allow NULL as possible value
20530 for filter_caps property, indicating GST_CAPS_ANY.
20532 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20534 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20536 * gst/schedulers/Makefile.am:
20538 * gstreamer.spec.in:
20541 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20543 * gstreamer.spec.in:
20546 2005-06-08 Andy Wingo <wingo@pobox.com>
20548 * gst/gstutils.c: RPAD fixes all around.
20549 (gst_element_link_pads): Refcounting fixes.
20551 * tools/gst-inspect.c:
20552 * tools/gst-xmlinspect.c:
20554 * gst/base/gsttypefindhelper.c:
20555 * gst/base/gstbasesink.c:
20556 * gst/gstqueue.c: RPAD fixes.
20558 * gst/gstghostpad.h:
20559 * gst/gstghostpad.c: New ghost pad implementation as full proxy
20560 pads. The tricky thing is they provide both source and sink
20561 interfaces, since they proxy the internal pad for the external
20562 pad, and vice versa. Implement with lower-level ProxyPad objects,
20563 with the interior proxy pad as a child of the exterior ghost pad.
20564 Should write a doc on this.
20566 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20567 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20570 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20571 pads are real pads. No ghost pads in this file. Not documenting
20572 the myriad s/RPAD/PAD/ and REALIZE fixes.
20573 (gst_pad_class_init): Add properties for "direction" and
20574 "template". Both are construct-only, so they can't change during
20575 the life of the pad. Fixes properly deriving from GstPad.
20576 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20577 derived objects, just set properties when creating the objects via
20579 (gst_pad_get_parent): Implement as a function, return NULL if the
20580 parent is not an element.
20581 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20582 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20584 * gst/gstobject.c (gst_object_class_init): Make name a construct
20585 property. Don't set it in the object init.
20587 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20588 with UNKNOWN direction.
20589 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20590 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20591 (gst_element_remove_pad): Remove ghost-pad special cases.
20592 (gst_element_pads_activate): Remove rpad cruft.
20594 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20595 catch the pad's-parent-not-an-element case.
20597 * gst/gst.h: Include gstghostpad.h.
20599 * gst/gst.c (init_post): No more real, ghost pads.
20601 * gst/Makefile.am: Add gstghostpad.[ch].
20603 * check/Makefile.am:
20604 * check/gst/gstbin.c:
20605 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20606 into a bin creates ghost pads, and that the refcounts are right.
20607 Partly moved from gstbin.c.
20609 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20611 * check/gst-libs/.cvsignore:
20612 * check/gst/.cvsignore:
20613 * check/pipelines/.cvsignore:
20615 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20616 (START_TEST), (cleanup_suite), (main):
20617 add some tests related to cleanup after running pipelines
20619 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20621 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20622 add a testsuite for GstBuffer
20624 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20626 * gst/gstminiobject.h:
20627 add defines for accessing the refcount
20629 2005-06-03 Stefan Kost <ensonic@users.sf.net>
20631 * Makefile.am: added support for html unit test coverage reports
20633 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
20635 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20636 Free existing caps if the capsfilter changes. Add a FIXME about
20637 setting those caps on the pads.
20639 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20640 Before adding a ghost pad to a parent bin, check that there isn't
20641 already one for the element on the bin. Prevents infinite recursion
20642 when using decodebin in parse pipelines. Andy says he'll rewrite the
20643 way this works anyway, so ignore the hack.
20645 2005-06-02 Andy Wingo <wingo@pobox.com>
20647 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20648 file size, pass it on to the type find helper.
20650 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20651 segment_start and segment_end properly according to the seek
20652 method. Segment_end is still a bit flaky because offset can be
20653 negative for CUR and END cases, but it takes -1 as an "unset"
20656 2005-06-02 Wim Taymans <wim@fluendo.com>
20658 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20659 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20660 (gst_basesink_activate):
20661 * gst/base/gstbasesink.h:
20662 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20663 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20664 (gst_pad_query), (gst_pad_start_task):
20666 * gst/gstqueue.c: (gst_queue_bufferalloc),
20667 (gst_queue_handle_sink_event), (gst_queue_chain):
20668 Bufferalloc: return GstFlowReturn to more accuratly report
20669 why allocation failed.
20671 2005-06-02 Wim Taymans <wim@fluendo.com>
20673 * gst/gstpipeline.c: (gst_pipeline_send_event):
20674 Take snapshot of state without blocking.
20676 2005-06-02 Wim Taymans <wim@fluendo.com>
20678 * docs/design/part-TODO.txt:
20679 * docs/design/part-caps.txt:
20680 * docs/design/part-clocks.txt:
20681 * docs/design/part-negotiation.txt:
20682 * docs/design/part-preroll.txt:
20685 2005-05-30 Wim Taymans <wim@fluendo.com>
20687 * gst/elements/gstidentity.c: (gst_identity_event),
20688 (gst_identity_transform), (gst_identity_get_property):
20689 Protect last_message property as it is accessed from
20692 2005-05-30 Wim Taymans <wim@fluendo.com>
20694 * gst/gstelement.c: (gst_element_init),
20695 (gst_element_pads_activate), (gst_element_change_state):
20696 Slicker pad activation code.
20698 2005-05-30 Wim Taymans <wim@fluendo.com>
20701 * gst/gstelement.h:
20702 * gst/gstelementfactory.h:
20704 Move elementfactory methods to separate .h file.
20706 2005-05-30 Wim Taymans <wim@fluendo.com>
20708 * docs/design/part-overview.txt:
20709 * gst/gstsystemclock.h:
20710 Small typo fixes, doc updates.
20712 2005-05-30 Wim Taymans <wim@fluendo.com>
20714 * gst/gst.c: (gst_init_get_popt_table), (init_post),
20715 (init_popt_callback):
20716 Remove cpu-opt flag.
20718 2005-05-30 Wim Taymans <wim@fluendo.com>
20720 * gst/gstbuffer.c: (gst_subbuffer_finalize),
20721 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20723 Avoid typechecking in places where not needed.
20724 Added accessor for malloc_data.
20726 2005-05-30 Wim Taymans <wim@fluendo.com>
20728 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20729 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20730 (gst_pad_configure_sink), (gst_pad_configure_src),
20731 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20732 (gst_pad_start_task):
20733 Propagate errors from _set_caps() in configure_src/sink
20734 functions instead of returning TRUE.
20735 FLUSH events can travel up and downstream
20738 2005-05-30 Wim Taymans <wim@fluendo.com>
20740 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20741 (gst_basesink_activate):
20742 Handle EOS in preroll.
20744 2005-05-30 Wim Taymans <wim@fluendo.com>
20746 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20747 (gst_queue_loop), (gst_queue_handle_src_event):
20748 Remove old pieces of code
20749 Flushing the queue in an upstream event is a very bad idea.
20751 2005-05-26 Andy Wingo <wingo@pobox.com>
20753 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20754 gst_value_set_mini_object so as to add a ref on the object (which
20755 will be removed when the value is unset).
20757 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20758 arg type in ::handoff.
20760 * gst/gstelement.c (gst_element_change_state): Also deactivate
20761 pads in READY->NULL, just in case the element didn't make it to
20762 PAUSED. Wingo tested, Wim approved.
20764 2005-05-26 Wim Taymans <wim@fluendo.com>
20766 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20767 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20768 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20769 A flushing pad cannot be used to alloc_buffer from.
20771 2005-05-26 Wim Taymans <wim@fluendo.com>
20773 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20774 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20775 (gst_bus_source_dispatch), (gst_bus_source_finalize),
20776 (gst_bus_create_watch), (gst_bus_add_watch_full):
20778 Implement a real GSource and use g_main_context_wakeup() to
20779 signal new messages instead of the socketpair.
20781 2005-05-25 Wim Taymans <wim@fluendo.com>
20783 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20784 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20785 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20786 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20787 (gst_pad_send_event), (gst_pad_start_task):
20788 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20789 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20790 (gst_queue_sink_activate), (gst_queue_src_activate),
20791 (gst_queue_change_state):
20793 Fix state changes for non sinks. We now change sinks, then elements
20794 with unconnected srcpads, then the rest.
20795 More efficient queue unlocking in flush and state changes.
20796 Set the pad activate mode even if it does not have an activate
20799 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20801 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20802 Don't go in pull mode for non-seekable sources.
20803 * gst/elements/gsttypefindelement.h:
20804 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20805 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20806 (free_entry), (stop_typefinding),
20807 (gst_type_find_element_handle_event), (find_peek),
20808 (gst_type_find_element_chain), (do_pull_typefind),
20809 (gst_type_find_element_change_state):
20810 Allow typefinding (w/o seeking) in push-mode, simplified version
20811 of what was in 0.8.
20812 * gst/gstutils.c: (gst_buffer_join):
20814 gst_buffer_join() from 0.8.
20816 2005-05-25 Wim Taymans <wim@fluendo.com>
20818 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20819 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20820 (gst_pad_send_event), (gst_pad_start_task):
20821 Disable attempt at mode switching until it is figured out.
20823 2005-05-25 Wim Taymans <wim@fluendo.com>
20825 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20826 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20827 (gst_basesink_finish_preroll), (gst_basesink_chain),
20828 (gst_basesink_loop), (gst_basesink_activate),
20829 (gst_basesink_change_state):
20830 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20831 (gst_basesrc_get_range), (gst_basesrc_loop),
20832 (gst_basesrc_activate):
20833 * gst/elements/gsttee.c: (gst_tee_sink_activate):
20834 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20835 (gst_real_pad_init), (gst_real_pad_set_property),
20836 (gst_real_pad_get_property), (gst_pad_set_active),
20837 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20838 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20839 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20840 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20841 (gst_pad_event_default_dispatch), (gst_pad_event_default),
20842 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20843 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20844 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20845 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20846 (gst_pad_stop_task):
20848 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20849 (gst_queue_loop), (gst_queue_src_activate):
20850 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20851 (gst_task_get_state):
20853 * gst/schedulers/threadscheduler.c:
20854 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20855 Implement gst_pad_pause/start/stop_task(), take STREAM lock
20857 Remove ACTIVE pad flag, use FLUSHING everywhere
20858 Added _pad_chain(), _pad_get_range() to call chain/getrange
20860 Add locks around IS_FLUSHING when reading.
20861 Take STREAM lock in chain(), get_range() functions so plugins
20862 don't need to take it anymore.
20866 2005-05-25 Wim Taymans <wim@fluendo.com>
20868 * tools/gst-launch.c: (event_loop):
20869 Unref message after using its contents instead of
20872 2005-05-24 Wim Taymans <wim@fluendo.com>
20874 * docs/design/draft-ghostpads.txt:
20875 * docs/design/draft-push-pull.txt:
20876 * docs/design/draft-query.txt:
20877 * docs/design/part-overview.txt:
20878 Docs updates, added general overview doc.
20880 2005-05-21 David Schleef <ds@schleef.org>
20882 * docs/gst/tmpl/old/GstBin.sgml:
20883 * docs/gst/tmpl/old/GstBuffer.sgml:
20884 * docs/gst/tmpl/old/GstCaps.sgml:
20885 * docs/gst/tmpl/old/GstClock.sgml:
20886 * docs/gst/tmpl/old/GstCompat.sgml:
20887 * docs/gst/tmpl/old/GstData.sgml:
20888 * docs/gst/tmpl/old/GstElement.sgml:
20889 * docs/gst/tmpl/old/GstEvent.sgml:
20890 * docs/gst/tmpl/old/GstIndex.sgml:
20891 * docs/gst/tmpl/old/GstStructure.sgml:
20892 * docs/gst/tmpl/old/GstTag.sgml:
20893 * docs/gst/tmpl/old/cothreads.sgml:
20894 * docs/gst/tmpl/old/cothreads_compat.sgml:
20895 * docs/gst/tmpl/old/gettext.sgml:
20896 * docs/gst/tmpl/old/gobject2gtk.sgml:
20897 * docs/gst/tmpl/old/grammar.tab.sgml:
20898 * docs/gst/tmpl/old/gst-i18n-app.sgml:
20899 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20900 * docs/gst/tmpl/old/gst_private.sgml:
20901 * docs/gst/tmpl/old/gstaggregator.sgml:
20902 * docs/gst/tmpl/old/gstarch.sgml:
20903 * docs/gst/tmpl/old/gstatomic_impl.sgml:
20904 * docs/gst/tmpl/old/gstbufferstore.sgml:
20905 * docs/gst/tmpl/old/gstdata_private.sgml:
20906 * docs/gst/tmpl/old/gstdisksink.sgml:
20907 * docs/gst/tmpl/old/gstdisksrc.sgml:
20908 * docs/gst/tmpl/old/gstelementfactory.sgml:
20909 * docs/gst/tmpl/old/gstextratypes.sgml:
20910 * docs/gst/tmpl/old/gstfakesink.sgml:
20911 * docs/gst/tmpl/old/gstfakesrc.sgml:
20912 * docs/gst/tmpl/old/gstfdsink.sgml:
20913 * docs/gst/tmpl/old/gstfdsrc.sgml:
20914 * docs/gst/tmpl/old/gstfilesink.sgml:
20915 * docs/gst/tmpl/old/gstfilesrc.sgml:
20916 * docs/gst/tmpl/old/gsthttpsrc.sgml:
20917 * docs/gst/tmpl/old/gstidentity.sgml:
20918 * docs/gst/tmpl/old/gstindexfactory.sgml:
20919 * docs/gst/tmpl/old/gstmarshal.sgml:
20920 * docs/gst/tmpl/old/gstmd5sink.sgml:
20921 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20922 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20923 * docs/gst/tmpl/old/gstpadtemplate.sgml:
20924 * docs/gst/tmpl/old/gstpipefilter.sgml:
20925 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20926 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20927 * docs/gst/tmpl/old/gstshaper.sgml:
20928 * docs/gst/tmpl/old/gstspider.sgml:
20929 * docs/gst/tmpl/old/gstspideridentity.sgml:
20930 * docs/gst/tmpl/old/gststatistics.sgml:
20931 * docs/gst/tmpl/old/gsttee.sgml:
20932 * docs/gst/tmpl/old/gsttimecache.sgml:
20933 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
20934 * docs/gst/tmpl/old/gstxmlregistry.sgml:
20935 * docs/gst/tmpl/old/gthread-cothreads.sgml:
20936 * docs/gst/tmpl/old/types.sgml:
20937 I didn't intend to add these or check them in.
20939 2005-05-19 David Schleef <ds@schleef.org>
20941 * configure.ac: Use -no-common everywhere. In a sane world, it
20942 would be the default in libtool, because without it, you can't
20943 build DLLs on Windows.
20944 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
20945 * docs/gst/gstreamer-sections.txt:
20946 * docs/gst/tmpl/gstcpu.sgml:
20947 * docs/gst/tmpl/gstdata.sgml:
20948 * docs/gst/tmpl/gstthread.sgml:
20950 2005-05-19 David Schleef <ds@schleef.org>
20952 * gst/gstminiobject.c: (gst_value_set_mini_object),
20953 (gst_value_take_mini_object), (gst_value_get_mini_object):
20954 * gst/gstminiobject.h: Add GValue set/get functions.
20956 2005-05-19 Wim Taymans <wim@fluendo.com>
20958 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
20959 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
20960 (gst_subbuffer_init), (gst_buffer_is_span_fast):
20962 * gst/gstbus.c: (gst_bus_post):
20963 * gst/gstelement.c: (gst_element_get_random_pad):
20964 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
20965 Make subbufer unref the parent in finalize.
20966 some more debugging info.
20969 2005-05-19 Wim Taymans <wim@fluendo.com>
20971 * gst/base/gstbasesink.c: (gst_basesink_class_init),
20972 (gst_basesink_init), (gst_basesink_finalize),
20973 (gst_basesink_activate), (gst_basesink_change_state):
20974 Don't free preroll queue too early.
20976 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20980 Hi, I'm outdated. Please shoot me.
20982 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20984 * gst/gstpipeline.c: (gst_pipeline_send_event):
20985 Do not access variables after they have been deleted.
20987 2005-05-19 Wim Taymans <wim@fluendo.com>
20989 * tools/gst-inspect.c: (print_plugin_features):
20990 A plugin feature does unfortunatly not use the
20993 2005-05-18 Wim Taymans <wim@fluendo.com>
20995 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
20996 Port _span() functions to new subbuffers.
20998 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21000 * gst/gstbin.c: (gst_bin_add_func):
21001 Fix clock settery in bins when adding kids after the clock has
21004 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21006 * gst/elements/gstidentity.c: (gst_identity_class_init):
21007 Workaround until signals support GstMiniObject.
21009 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
21012 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
21014 2005-05-18 Wim Taymans <wim@fluendo.com>
21016 * gst/base/Makefile.am:
21017 * gst/base/gstadapter.c: (gst_adapter_base_init),
21018 (gst_adapter_class_init), (gst_adapter_init),
21019 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
21020 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
21021 (gst_adapter_flush), (gst_adapter_available),
21022 (gst_adapter_available_fast):
21023 * gst/base/gstadapter.h:
21024 Ported and added adapter to the base classes.
21026 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21029 * gst/gstmessage.c:
21030 Make sure the class is reffed/unreffed once before threads can be
21031 used. Fixes #304551.
21033 2005-05-17 Wim Taymans <wim@fluendo.com>
21035 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
21036 (gst_basesink_chain_unlocked), (gst_basesink_activate):
21037 * gst/gstminiobject.c: (gst_mini_object_get_type),
21038 (gst_mini_object_free):
21039 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
21040 (gst_pad_push), (gst_pad_push_event):
21041 * gst/gstqueue.c: (gst_queue_change_state):
21042 Don't queue buffers in basesink when we are flushing.
21043 Unref buffer when flushing in basesink.
21044 Flush queue when going to READY
21045 Unref buffer when _push() returns an error.
21046 Don't free MiniObject instance when refcount is incremented
21047 in _finalize() so that we can recover objects.
21049 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
21051 * docs/manual/advanced-schedulers.xml:
21052 * docs/manual/appendix-checklist.xml:
21053 * docs/pwg/advanced-clock.xml:
21054 * docs/pwg/advanced-interfaces.xml:
21055 * docs/pwg/advanced-request.xml:
21056 * docs/pwg/advanced-types.xml:
21057 * docs/pwg/intro-preface.xml:
21058 * examples/plugins/example.c: (gst_example_get_type),
21059 (gst_example_class_init), (gst_example_chain),
21060 (gst_example_set_property), (gst_example_get_property),
21061 (gst_example_change_state), (plugin_init):
21062 * examples/plugins/example.h:
21065 2005-05-17 Wim Taymans <wim@fluendo.com>
21067 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
21068 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
21069 * gst/gstqueue.c: (gst_queue_change_state):
21070 Clear queue when going to READY.
21071 Remove IN_SETCAPS flag too.
21073 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
21075 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
21076 Remove implicit cast from gboolean to GstElementStateReturn;
21077 make sure we still return failure in paused => ready case if
21078 the parent class fails to change state and our own stop
21081 2005-05-17 Wim Taymans <wim@fluendo.com>
21083 * tools/gst-launch.c: (event_loop):
21084 Message was unreffed too soon.
21086 2005-05-16 Andy Wingo <wingo@pobox.com>
21088 * gst/gstbin.c (sink_iterator_filter): Err... um...
21090 * check/gst/gstbin.c (test_ghost_pads): New test for the
21091 ghosting-if-elements-not-in-same-bin behavior.
21093 2005-05-16 David Schleef <ds@schleef.org>
21095 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21096 accessing refcount directly.
21098 2005-05-15 David Schleef <ds@schleef.org>
21100 * check/Makefile.am: remove GstData checks
21101 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21102 * gst/Makefile.am: add miniobject, remove data
21103 * gst/gst.h: add miniobject, remove data
21104 * gst/gstdata.c: remove
21105 * gst/gstdata.h: remove
21106 * gst/gstdata_private.h: remove
21107 * gst/gsttypes.h: remove GstEvent and GstMessage
21108 * gst/gstelement.c: (gst_element_post_message): fix for API changes
21109 * gst/gstmarshal.list: change BOXED -> OBJECT
21111 Implement GstMiniObject.
21112 * gst/gstminiobject.c:
21113 * gst/gstminiobject.h:
21115 Modify to be subclasses of GstMiniObject.
21116 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21117 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21118 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21119 (gst_subbuffer_get_type), (gst_subbuffer_init),
21120 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21123 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21124 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21125 (_gst_event_copy), (gst_event_new):
21127 * gst/gstmessage.c: (_gst_message_initialize),
21128 (gst_message_get_type), (gst_message_class_init),
21129 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21130 (gst_message_new), (gst_message_new_error),
21131 (gst_message_new_warning), (gst_message_new_tag),
21132 (gst_message_new_state_changed), (gst_message_new_application):
21133 * gst/gstmessage.h:
21134 * gst/gstprobe.c: (gst_probe_perform),
21135 (gst_probe_dispatcher_dispatch):
21137 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21138 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21139 (_gst_query_copy), (gst_query_new):
21141 Update elements for GstData -> GstMiniObject changes
21143 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21144 (gst_queue_chain), (gst_queue_loop):
21145 * gst/elements/gstbufferstore.c:
21146 (gst_buffer_store_add_buffer_func),
21147 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21148 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21149 (gst_fakesink_render):
21150 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21151 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21152 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21153 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21154 (gst_filesrc_create_read):
21155 * gst/elements/gstidentity.c: (gst_identity_class_init):
21156 * gst/elements/gsttypefindelement.c:
21157 (gst_type_find_element_src_event), (free_entry_buffers),
21158 (gst_type_find_element_handle_event):
21159 * libs/gst/dataprotocol/dataprotocol.c:
21160 (gst_dp_header_from_buffer):
21161 * libs/gst/dataprotocol/dataprotocol.h:
21162 * libs/gst/dataprotocol/dp-private.h:
21164 2005-05-15 David Schleef <ds@schleef.org>
21166 * gst/elements/gstelements.c: Don't include headers that were
21169 2005-05-15 David Schleef <ds@schleef.org>
21171 * gst/elements/Makefile.am: Remove some elements that don't
21172 need to be in the core (or even exist at all).
21173 * gst/elements/gstaggregator.c:
21174 * gst/elements/gstaggregator.h:
21175 * gst/elements/gstmd5sink.c:
21176 * gst/elements/gstmd5sink.h:
21177 * gst/elements/gstmultifilesrc.c:
21178 * gst/elements/gstmultifilesrc.h:
21179 * gst/elements/gstpipefilter.c:
21180 * gst/elements/gstpipefilter.h:
21181 * gst/elements/gstshaper.c:
21182 * gst/elements/gstshaper.h:
21183 * gst/elements/gststatistics.c:
21184 * gst/elements/gststatistics.h:
21185 * po/POTFILES.in: Remove above files.
21187 2005-05-14 Andy Wingo <wingo@pobox.com>
21189 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21190 so as to get the refs right.
21191 (sink_iterator_filter): New function, wraps bin_element_is_sink,
21192 unreffing objects that don't pass the filter.
21194 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21195 gst_element_set_bus.
21196 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21197 normal cases, this will destroy the bus.
21199 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21202 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21205 2005-05-13 Andy Wingo <wingo@pobox.com>
21207 * gst/gstutils.c (gst_element_link_pads): Instead of calling
21208 gst_pad_link, call pad_link_maybe_ghosting,
21209 (pad_link_maybe_ghosting): Links pads, making sure that the
21210 elements being linked are in the same bin.
21211 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21212 Helpers for pad_link_maybe_ghosting.
21214 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21217 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21219 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21221 * docs/design/part-element-source.txt:
21224 2005-05-12 Wim Taymans <wim@fluendo.com>
21226 * gst/base/gstbasesink.c: (gst_basesink_init),
21227 (gst_basesink_activate):
21228 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21229 (gst_basesrc_is_seekable):
21230 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21231 (bin_element_is_sink), (gst_bin_change_state):
21232 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21233 * gst/gstelement.h:
21234 Identify sinks by their flag to avoid overly complicated
21236 Do state changes even for elements not reachable from the
21238 BaseSink is a sink now :)
21239 Some more debugging info in the basesrc.
21242 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21244 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21245 Implement _query on a bin, similar to _send_event.
21247 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
21249 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21250 Discont event offset format should be GST_FORMAT_BYTES,
21251 not GST_FORMAT_TIME.
21253 2005-05-12 Wim Taymans <wim@fluendo.com>
21255 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21256 Same fix as Ronald's but without the signal.
21258 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21260 * gst/gstutils.c: (gst_element_query_position):
21261 No, an element is not a pad.
21263 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21265 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21266 (gst_bin_get_state):
21267 If a child is removed from a bin while we remove the child from
21268 the bin and while we're retrieving its state, signal this to the
21269 get_state function so we abort the wait (instead of waiting for
21270 a timeout) and can immediately re-iterate over all other elements.
21272 2005-05-12 Wim Taymans <wim@fluendo.com>
21274 * gst/base/Makefile.am:
21275 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21276 (gst_basesrc_start):
21277 * gst/base/gstbasesrc.h:
21278 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21279 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21280 (gst_pushsrc_init), (gst_pushsrc_create):
21281 * gst/base/gstpushsrc.h:
21282 Added is_seekable to BaseSrc
21283 Added simple PushSrc.
21285 2005-05-11 Wim Taymans <wim@fluendo.com>
21287 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21288 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21289 (gst_element_link_pads), (gst_element_query_position),
21290 (gst_element_query_convert), (intersect_caps_func),
21291 (gst_pad_query_position), (gst_pad_query_convert):
21292 Fix refcounting in utils function.
21293 No point in trying to activate a pad when it's added, it could
21294 be added from the state change function and then we deadlock, the
21295 element has to decide what to do.
21297 2005-05-10 Andy Wingo <wingo@pobox.com>
21299 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21300 *all* the arguments.
21302 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21303 stream lock if it's a FLUSH_DONE; normal flushes don't get the
21304 lock (according to the docs -- if this is wrong change the docs).
21306 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21307 flush messages in the NULL state.
21309 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21310 message immediately and return.
21311 (gst_bus_set_flushing): New function. If a bus is flushing, it
21312 flushes out any queued messages and immediately unrefs new
21313 messages. This is so when an element goes to NULL, all of the
21314 unhandled messages coming from it can be freed, and their
21315 references to the element dropped. In other words: message source
21316 ref considered harmful :P
21318 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21319 we're finished with it.
21321 * gst/gstmessage.c (gst_message_new_state_changed):
21323 2005-05-10 Wim Taymans <wim@fluendo.com>
21325 * gst/gstvalue.c: (gst_value_compare_flags),
21326 (gst_value_serialize_flags), (gst_value_deserialize_flags),
21327 (_gst_value_initialize):
21328 Added flags serialize/deserialize/compare code.
21330 2005-05-09 Andy Wingo <wingo@pobox.com>
21332 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21333 Intersect the peer's caps with our caps.
21335 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21337 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21338 * gst/elements/gsttypefindelement.c: (find_peek):
21339 Handle negative offsets better. Fixes decodebin.
21341 2005-05-09 Wim Taymans <wim@fluendo.com>
21343 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21344 (gst_base_transform_event):
21345 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21346 Implement accept_caps.
21347 Fix silly lock/unlock mismatch in base class.
21349 2005-05-09 Wim Taymans <wim@fluendo.com>
21351 * docs/design/draft-push-pull.txt:
21352 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21353 * gst/elements/gstfilesink.c: (gst_filesink_init),
21354 (gst_filesink_query):
21355 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21356 (gst_type_find_handle_src_query), (find_element_get_length):
21357 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21358 * gst/gstelement.h:
21359 * gst/gstmessage.c:
21360 * gst/gstmessage.h:
21361 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21362 (gst_real_pad_get_caps_unlocked),
21363 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21364 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21365 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21366 (gst_real_pad_dispose), (gst_real_pad_finalize),
21367 (gst_pad_load_and_link), (gst_pad_save_thyself),
21368 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21369 (gst_pad_check_pull_range), (gst_pad_pull_range),
21370 (gst_pad_template_get_type), (gst_pad_template_class_init),
21371 (gst_pad_template_init), (gst_pad_template_dispose),
21372 (name_is_valid), (gst_static_pad_template_get),
21373 (gst_pad_template_new), (gst_static_pad_template_get_caps),
21374 (gst_pad_template_get_caps), (gst_pad_set_element_private),
21375 (gst_pad_get_element_private), (gst_pad_start_task),
21376 (gst_pad_pause_task), (gst_pad_stop_task),
21377 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21378 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21379 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21380 (gst_ghost_pad_new):
21382 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21383 (gst_query_new_position), (gst_query_set_position),
21384 (gst_query_parse_position), (gst_query_new_convert),
21385 (gst_query_set_convert), (gst_query_parse_convert):
21387 * gst/gstqueryutils.c:
21388 * gst/gstqueryutils.h:
21389 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21390 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21391 (gst_queue_handle_src_query):
21392 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21393 (gst_element_query_position), (gst_element_query_convert),
21394 (intersect_caps_func), (gst_pad_query_position),
21395 (gst_pad_query_convert):
21397 * tools/gst-inspect.c: (print_pad_info):
21398 * tools/gst-xmlinspect.c: (print_element_info):
21399 Remove old query functions. Ported old code.
21400 Added position/convert helper functions to gstutils.
21401 Reordered gstpad.c code, grouping relevant things.
21402 Remove gst_message_new(), always need to speficy a specific
21406 2005-05-09 Andy Wingo <wingo@pobox.com>
21408 * gst/gstiterator.h: Add some includes.
21410 * gst/gstqueryutils.h: Include more headers.
21413 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21414 some uses of gst_pad_query.
21416 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21417 NULL out parameters.
21418 (gst_query_new_position): New proc, allocates a new position
21421 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21422 gstqueryutils.c to the build.
21424 * gst/gststructure.c (gst_structure_set_valist): Implement with
21425 the generic G_VALUE_COLLECT.
21427 2005-05-08 Edward Hervey <bilboed@bilboed.com>
21429 * gst/Makefile.am: (gst_headers):
21430 Added gstqueryutils.h to the list of headers to install, that was
21431 a 'nachty' move wingo :)
21433 2005-05-06 Andy Wingo <wingo@pobox.com>
21436 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21437 GstData, init a memchunk.
21438 (standard_definitions): Add a few query types, deprecate a few.
21439 (gst_query_get_type): New proc.
21440 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21442 (gst_query_new_application, gst_query_get_structure): New public
21445 * docs/design/draft-query.txt: Removed LINKS from the query types,
21446 because all the rest can be dispatched to other pads -- seemed
21447 ugly to have a query that couldn't be dispatched. internal_links
21448 is fine as a pad method.
21450 * gst/gstpad.h: Add query2 as a pad method, add the new functions
21451 in gstpad.c, but maintain binary compatibility for the moment.
21452 Will fix before 0.9 is out.
21454 * gst/gstqueryutils.c:
21455 * gst/gstqueryutils.h: New files, implement 3 methods for each
21456 query type: parse_query, parse_response, and set. Probably need an
21459 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21461 * gst/elements/gstfilesink.c (gst_filesink_query2):
21462 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21463 query_types, and formats methods.
21465 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21466 (gst_pad_set_query2_function): New functions.
21467 (gst_real_pad_init): Set query2_default as the default query2
21468 function. Basically just dispatches to internally linked pads.
21472 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21473 without using the atomic operations. Only one thread can possibly
21474 be accessing the data at this point. Changed so as to avoid
21475 gst_atomic operations.
21477 2005-05-06 Wim Taymans <wim@fluendo.com>
21479 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21480 Also set caps if we use the fallback buffer alloc.
21482 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
21484 * docs/gst/Makefile.am:
21485 * docs/gst/gstreamer-docs.sgml:
21486 * docs/gst/gstreamer-sections.txt:
21487 * docs/gst/tmpl/gstatomic.sgml:
21488 * docs/gst/tmpl/gstmemchunk.sgml:
21489 * testsuite/elements/struct_i386.h:
21490 * win32/GStreamer.vcproj:
21492 Purge GstAtomic stuff from docs and win32 makefiles as well
21494 2005-05-06 Wim Taymans <wim@fluendo.com>
21496 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21497 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21498 * gst/gstpad.c: (gst_pad_peer_get_caps):
21499 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21500 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21501 (gst_queue_src_activate), (gst_queue_change_state):
21503 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21504 (intersect_caps_func):
21505 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21506 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21507 Some fixes for the peer_get_caps() change.
21509 2005-05-06 Wim Taymans <wim@fluendo.com>
21511 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21512 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21513 (gst_basesink_activate):
21514 Actually do something with error codes returned from the push
21517 2005-05-06 Wim Taymans <wim@fluendo.com>
21519 * docs/design/part-element-sink.txt:
21520 * docs/design/part-element-source.txt:
21521 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21522 (gst_basesink_event), (gst_basesink_activate):
21523 * gst/base/gstbasesink.h:
21524 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21525 (gst_basesrc_activate):
21526 * gst/base/gstbasesrc.h:
21527 * gst/gstelement.c: (gst_element_pads_activate):
21528 Some more documentation.
21529 Fixed scheduling decision in _pads_activate().
21531 2005-05-05 Andy Wingo <wingo@pobox.com>
21533 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21536 2005-05-05 Wim Taymans <wim@fluendo.com>
21538 * gst/base/Makefile.am:
21539 * gst/base/gstbasesink.h:
21540 * gst/base/gstbasesrc.c: (gst_basesrc_init),
21541 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21542 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21543 (gst_collectpads_class_init), (gst_collectpads_init),
21544 (gst_collectpads_finalize), (gst_collectpads_new),
21545 (gst_collectpads_set_function), (gst_collectpads_add_pad),
21546 (find_pad), (gst_collectpads_remove_pad),
21547 (gst_collectpads_is_active), (gst_collectpads_collect),
21548 (gst_collectpads_collect_range), (gst_collectpads_start),
21549 (gst_collectpads_stop), (gst_collectpads_peek),
21550 (gst_collectpads_pop), (gst_collectpads_available),
21551 (gst_collectpads_read), (gst_collectpads_flush),
21552 (gst_collectpads_chain):
21553 * gst/base/gstcollectpads.h:
21554 * gst/elements/Makefile.am:
21555 * gst/elements/gstelements.c:
21556 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21557 (gst_fakesink_get_times), (gst_fakesink_event),
21558 (gst_fakesink_preroll), (gst_fakesink_render):
21559 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21560 (gst_filesink_init), (gst_filesink_set_location),
21561 (gst_filesink_open_file), (gst_filesink_close_file),
21562 (gst_filesink_pad_query), (gst_filesink_event),
21563 (gst_filesink_render), (gst_filesink_change_state):
21564 * gst/elements/gstfilesink.h:
21565 Added object to help in making collect pad based elements.
21567 Make event function in sink baseclass return gboolean.
21569 2005-05-05 Wim Taymans <wim@fluendo.com>
21571 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21572 (gst_bin_get_by_name):
21574 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21575 (gst_clock_finalize):
21576 * gst/gstdata.c: (gst_data_replace):
21578 * gst/gstelement.c: (gst_element_request_pad),
21579 (gst_element_pads_activate):
21580 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21581 (gst_object_unref):
21582 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21583 (gst_pad_set_checkgetrange_function),
21584 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21585 (gst_pad_check_pull_range), (gst_pad_pull_range),
21586 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21587 (gst_pad_pause_task), (gst_pad_stop_task):
21588 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21589 (gst_element_request_pad), (gst_pad_proxy_getcaps):
21590 Fix name lookup in GstBin.
21591 Added _data_replace() function and _buffer_replace()
21592 Use finalize method to clean up clock.
21593 Fix refcounting on request pads.
21594 Fix pad schedule mode error.
21595 Some more object refcounting debug info,
21598 2005-05-04 Andy Wingo <wingo@pobox.com>
21600 * check/Makefile.am:
21601 * docs/gst/tmpl/gstatomic.sgml:
21602 * docs/gst/tmpl/gstplugin.sgml:
21603 * gst/base/gstbasesink.c: (gst_basesink_activate):
21604 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21605 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21606 (gst_basesrc_query), (gst_basesrc_set_property),
21607 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21608 (gst_basesrc_activate):
21609 * gst/base/gstbasesrc.h:
21610 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21611 (gst_base_transform_src_activate):
21612 * gst/elements/gstelements.c:
21613 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21614 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21615 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21616 * gst/elements/gsttypefindelement.c: (find_element_get_length),
21617 (gst_type_find_element_checkgetrange),
21618 (gst_type_find_element_activate):
21619 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21620 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21621 (gst_caps_load_thyself):
21622 * gst/gstelement.c: (gst_element_pads_activate),
21623 (gst_element_save_thyself), (gst_element_restore_thyself):
21624 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21625 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21627 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21628 (gst_xml_parse_file), (gst_xml_parse_memory),
21629 (gst_xml_get_element), (gst_xml_make_element):
21630 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21631 (_file_index_id_save_xml), (gst_file_index_commit):
21632 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21633 (read_enum), (load_pad_template), (load_feature), (load_plugin),
21635 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21636 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21637 * tools/gst-complete.c: (main):
21638 * tools/gst-compprep.c: (main):
21639 * tools/gst-inspect.c: (print_element_properties_info):
21640 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21641 * tools/gst-xmlinspect.c: (print_element_properties):
21644 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
21646 * gst/gstplugin.c: (gst_plugin_check_module),
21647 (gst_plugin_check_file), (gst_plugin_load_file):
21648 apply patch from #172526 to make register work on MacOSX
21650 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21652 * docs/gst/tmpl/gstconfig.sgml:
21653 * gst/gstconfig.h.in:
21654 move documentation for some symbols. Add doc for GST_PTR_FORMAT
21655 * testsuite/debug/printf_extension.c: (main):
21656 Do not use GST_PTR_FORMAT on pointers to types with
21657 sizeof < sizeof(gpointer). Fixes test on 64-bit
21658 * testsuite/elements/property.h:
21659 use correct printf format
21661 2005-05-02 Wim Taymans <wim@fluendo.com>
21663 * docs/design/draft-push-pull.txt:
21664 * docs/design/draft-query.txt:
21665 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21666 (gst_basesrc_start):
21667 Added draft for new query API.
21668 Added draft for better selecting scheduling methods.
21669 Make basesrc ignore length if the subclass does not support
21672 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21675 possible fixes for automake-1.5 - _LIBADD is reserved
21677 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21679 * docs/faq/Makefile.am:
21680 * docs/manual/Makefile.am:
21681 * docs/manuals.mak:
21682 * docs/pwg/Makefile.am:
21684 possible fixes for automake-1.5
21686 2005-04-28 Wim Taymans <wim@fluendo.com>
21688 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21689 (gst_basesink_pad_getcaps), (gst_basesink_init),
21690 (gst_basesink_do_sync):
21691 * gst/gstclock.c: (gst_clock_entry_new):
21692 * gst/gstevent.c: (gst_event_discont_get_value):
21693 * gst/gstpipeline.c: (pipeline_bus_handler),
21694 (gst_pipeline_change_state):
21695 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21696 Better debugging of clocking info.
21697 Allow NULL values when getting discont values.
21699 2005-04-27 Wim Taymans <wim@fluendo.com>
21701 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21702 * check/gst/gstpad.c: (gst_pad_suite):
21703 Increase timeout for checks.
21705 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21707 * check/Makefile.am:
21708 fix the broken rule for cleanup. Apparently this rule is
21709 only needed on FC2, so maybe this warrants further autotool
21712 2005-04-26 Wim Taymans <wim@fluendo.com>
21714 * gst/gsttrashstack.h:
21715 Ooohh. a nasty one! After having a failed pop() from the stack,
21716 it's possible that the stack is empty. In that case, don't
21717 follow the NULL pointer.
21719 2005-04-25 Wim Taymans <wim@fluendo.com>
21721 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21722 (gst_pad_set_checkgetrange_function),
21723 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21724 (gst_pad_check_pull_range), (gst_pad_pull_range),
21725 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21726 (gst_pad_pause_task), (gst_pad_stop_task):
21727 * gst/gstplugin.c: (gst_plugin_load):
21729 Remove gst_library_load as it does more harm than good with
21730 the new g_module flags.
21731 Revert bogus caps template check in pad linking, pad caps
21732 are important when linking not the template, which is more
21733 general than the current caps.
21735 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21737 * gst/autoplug/.cvsignore:
21738 * gst/autoplug/Makefile.am:
21739 * gst/autoplug/gstsearchfuncs.c:
21740 * gst/autoplug/gstsearchfuncs.h:
21741 * gst/autoplug/gstspider.c:
21742 * gst/autoplug/gstspider.h:
21743 * gst/autoplug/gstspideridentity.c:
21744 * gst/autoplug/gstspideridentity.h:
21745 * gst/autoplug/spidertest.c:
21748 2005-04-25 Wim Taymans <wim@fluendo.com>
21750 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21751 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21752 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21753 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21755 Added stubs for unimplemented functions.
21757 2005-04-24 David Schleef <ds@schleef.org>
21759 * gst/gstpad.h: Disable some unimplemented functions. Wim,
21762 2005-04-24 David Schleef <ds@schleef.org>
21764 Convert everything from GstAtomicInt to g_atomic_int_*, and
21769 * gst/gstatomic_impl.h:
21777 * gst/gstdata_private.h:
21781 * gst/gstmessage.c:
21784 * gst/gststructure.c:
21785 * gst/gststructure.h:
21786 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21789 2005-04-24 David Schleef <ds@schleef.org>
21791 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21792 make the regressions tests work. Remove some code that is no
21794 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21795 Disable warning for pads without templates.
21797 2005-04-24 David Schleef <ds@schleef.org>
21799 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
21800 functions that handle filtered links.
21801 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21803 * gst/gstutils.c: Fix/remove utility functions that handle
21806 * gst/gstvalue.c: Add serialization/deserialization of caps
21807 * gst/parse/grammar.y: Ignore filtered caps when linking. This
21808 requires fixing so that the filter caps notation creates
21809 a capsfilter element and sets the filter_caps property. I
21810 think everyone probably wants to keep the shorthand notation.
21811 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21812 * docs/gst/tmpl/gstpad.sgml:
21814 * gst/elements/gstelements.c: Register capsfilter element.
21815 * gst/Makefile.am: fix spacing
21816 * docs/random/ds/0.9-suggested-changes: random
21818 2005-04-23 David Schleef <ds@schleef.org>
21820 * gst/elements/Makefile.am:
21821 * gst/elements/gstcapsfilter.c: New element that acts like an
21822 identity, but filters caps. Will eventually replace filtered
21823 caps in pad linking.
21824 * gst/gstutils.c: (gst_element_create_all_pads): New function
21825 to create all the ALWAYS pads that are registered with an
21826 element class. This functionality should eventually be
21827 merged in with GstElement initialization.
21829 * testsuite/trigger/README: part of trigger test code that should
21830 have been checked in a long time ago.
21832 2005-04-23 David Schleef <ds@schleef.org>
21834 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
21835 needed with new versions of libtool (nobody will confirm this),
21836 and hard to carry around.
21837 * gst/autoplug/Makefile.am:
21838 * gst/base/Makefile.am:
21839 * gst/elements/Makefile.am:
21840 * gst/indexers/Makefile.am:
21841 * gst/schedulers/Makefile.am:
21842 * libs/gst/bytestream/Makefile.am:
21843 * libs/gst/control/Makefile.am:
21844 * libs/gst/dataprotocol/Makefile.am:
21845 * libs/gst/getbits/Makefile.am:
21847 2005-04-21 Wim Taymans <wim@fluendo.com>
21849 * docs/design/draft-push-pull.txt:
21850 * docs/design/part-MT-refcounting.txt:
21851 * docs/design/part-TODO.txt:
21852 * docs/design/part-caps.txt:
21853 * docs/design/part-events.txt:
21854 * docs/design/part-gstbus.txt:
21855 * docs/design/part-gstpipeline.txt:
21856 * docs/design/part-messages.txt:
21857 * docs/design/part-push-pull.txt:
21858 * docs/design/part-query.txt:
21861 2005-04-21 Wim Taymans <wim@fluendo.com>
21863 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21864 (gst_message_new), (gst_message_new_error),
21865 (gst_message_new_warning), (gst_message_new_tag),
21866 (gst_message_new_state_changed), (gst_message_new_application),
21867 (gst_message_get_structure):
21868 * gst/gstmessage.h:
21869 * gst/gststructure.c: (gst_structure_set_parent_refcount),
21870 (gst_structure_copy_conditional):
21871 Use parent refcount in GstMessage to ensure GstStructure
21873 Cleaned up headers a bit.
21876 2005-04-20 Wim Taymans <wim@fluendo.com>
21878 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21879 (gst_basesink_pad_getcaps), (gst_basesink_init),
21880 (gst_basesink_chain_unlocked):
21881 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21882 (gst_type_find_helper):
21883 * gst/elements/gsttypefindelement.c:
21884 (gst_type_find_element_have_type), (gst_type_find_element_init),
21885 (stop_typefinding), (gst_type_find_element_handle_event),
21886 (find_suggest), (gst_type_find_element_chain),
21887 (gst_type_find_element_checkgetrange),
21888 (gst_type_find_element_getrange), (do_typefind),
21889 (gst_type_find_element_activate):
21890 * gst/gstbuffer.c: (_gst_buffer_sub_free),
21891 (gst_buffer_default_free), (gst_buffer_default_copy),
21892 (gst_buffer_set_caps):
21893 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21894 (gst_caps_replace):
21895 * gst/gstmessage.c: (gst_message_new),
21896 (gst_message_new_state_changed):
21897 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21898 (gst_pad_set_checkgetrange_function),
21899 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21900 (gst_pad_set_caps), (gst_pad_check_pull_range),
21901 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21903 * gst/gsttypefind.c: (gst_type_find_register):
21904 Make gst_caps_replace() work like other _replace() functions.
21905 Use _caps_replace() where possible.
21906 Make sure _message_new() initialises its field.
21907 Add gst_static_pad_template_get_caps()
21910 2005-04-18 Andy Wingo <wingo@pobox.com>
21912 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21913 on the peer, not the pad. I think that was a typo. Pass an extra
21914 arg to see if random access is possible. Activate the pads as
21915 PULL_RANGE if possible.
21917 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21919 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
21920 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21923 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21925 * docs/faq/using.xml:
21926 Add note on gstreamer-properties (#154996).
21928 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21930 * docs/random/bbb/optional-properties:
21931 Some analysis on optional properties.
21933 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21935 * docs/gst/tmpl/gstelementfactory.sgml:
21936 * gst/gstelement.h:
21937 * gst/gstelementfactory.c: (gst_element_factory_init),
21938 (gst_element_factory_cleanup), (gst_element_register),
21939 (__gst_element_factory_add_static_pad_template),
21940 (gst_element_factory_get_static_pad_templates),
21941 (gst_element_factory_can_src_caps),
21942 (gst_element_factory_can_sink_caps):
21943 * gst/registries/Makefile.am:
21944 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
21945 (gst_xml_registry_class_init), (gst_xml_registry_init),
21946 (gst_xml_registry_new), (gst_xml_registry_set_property),
21947 (gst_xml_registry_get_property), (get_time), (make_dir),
21948 (gst_xml_registry_get_perms_func),
21949 (plugin_times_older_than_recurse), (plugin_times_older_than),
21950 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
21951 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
21952 (add_to_char_array), (read_string), (read_uint), (read_enum),
21953 (load_pad_template), (load_feature), (load_plugin), (load_paths),
21954 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
21955 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
21956 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
21957 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
21958 (gst_xml_registry_rebuild):
21959 * gst/registries/gstlibxmlregistry.h:
21960 * tools/gst-compprep.c: (main):
21961 * tools/gst-inspect.c: (print_pad_templates_info):
21962 * tools/gst-xmlinspect.c: (print_element_info):
21963 Use libxml2 for registry parsing, use staticpadtemplates in
21964 elementfactories. Makes gst_init() +/- 10x faster.
21966 2005-04-12 Wim Taymans <wim@fluendo.com>
21968 * gst/base/Makefile.am:
21969 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21970 (gst_basesink_pad_getcaps), (gst_basesink_init),
21971 (gst_basesink_event), (gst_basesink_change_state):
21972 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21973 (gst_basesrc_init), (gst_basesrc_query),
21974 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21975 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21976 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21977 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21978 (gst_basesrc_stop), (gst_basesrc_activate),
21979 (gst_basesrc_change_state):
21980 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21981 (helper_find_suggest), (gst_type_find_helper):
21982 * gst/base/gsttypefindhelper.h:
21983 * gst/elements/Makefile.am:
21984 * gst/elements/gstelements.c:
21985 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21986 (gst_fakesink_get_times), (gst_fakesink_event),
21987 (gst_fakesink_preroll), (gst_fakesink_render):
21988 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21989 (gst_fakesrc_init), (gst_fakesrc_event_handler),
21990 (gst_fakesrc_get_property), (gst_fakesrc_create),
21991 (gst_fakesrc_start), (gst_fakesrc_stop):
21992 * gst/elements/gstfakesrc.h:
21993 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
21994 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21995 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21996 (gst_filesrc_create_read), (gst_filesrc_create),
21997 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
21998 (gst_filesrc_start):
21999 * gst/elements/gsttypefindelement.c:
22000 (gst_type_find_element_have_type), (gst_type_find_element_init),
22001 (start_typefinding), (stop_typefinding), (push_buffer_store),
22002 (gst_type_find_element_handle_event),
22003 (gst_type_find_element_chain),
22004 (gst_type_find_element_checkgetrange),
22005 (gst_type_find_element_getrange), (do_typefind),
22006 (gst_type_find_element_activate),
22007 (gst_type_find_element_change_state):
22008 * gst/elements/gsttypefindelement.h:
22009 * gst/gstpipeline.c: (pipeline_bus_handler):
22010 Added typefind helper.
22011 Small preroll fix in the base sink.
22012 Disable typefind code in basesrc.
22013 Crude port of typefindelement.
22017 2005-04-11 Wim Taymans <wim@fluendo.com>
22019 * check/gst/gstbus.c: (gstbus_suite):
22020 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
22021 * check/gstcheck.h:
22022 Fix up the timeout so that the test does not fail.
22024 2005-04-06 Wim Taymans <wim@fluendo.com>
22027 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22028 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
22029 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22030 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22031 (gst_basesrc_check_get_range), (gst_basesrc_loop),
22032 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22033 (gst_basesrc_stop), (gst_basesrc_activate),
22034 (gst_basesrc_change_state), (basesrc_find_peek),
22035 (basesrc_find_suggest), (gst_basesrc_type_find):
22036 * gst/base/gstbasesrc.h:
22037 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
22038 (gst_filesrc_class_init), (gst_filesrc_init),
22039 (gst_filesrc_finalize), (gst_filesrc_set_location),
22040 (gst_filesrc_set_property), (gst_filesrc_get_property),
22041 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22042 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22043 (gst_filesrc_create_read), (gst_filesrc_create),
22044 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
22045 * gst/elements/gstfilesrc.h:
22046 * gst/gstelement.c: (gst_element_get_state_func),
22047 (gst_element_lost_state), (gst_element_pads_activate):
22048 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22049 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22050 (gst_pad_pull_range):
22052 More work on the generic source base class, implement seeking,
22054 Make filesrc extend the base source class.
22055 Added gst_pad_set_checkgetrange_function to GstPad.
22057 2005-04-06 Andy Wingo <wingo@pobox.com>
22059 * pkgconfig/gstreamer-base.pc.in:
22060 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
22062 * pkgconfig/Makefile.am:
22063 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
22065 2005-04-04 Wim Taymans <wim@fluendo.com>
22067 * gst/base/Makefile.am:
22069 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22070 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22071 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22072 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
22073 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22074 (gst_basesrc_base_init), (gst_basesrc_class_init),
22075 (gst_basesrc_init), (gst_basesrc_get_formats),
22076 (gst_basesrc_get_query_types), (gst_basesrc_query),
22077 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
22078 (gst_basesrc_set_property), (gst_basesrc_get_property),
22079 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
22080 (gst_basesrc_loop), (gst_basesrc_activate),
22081 (gst_basesrc_change_state):
22082 * gst/base/gstbasesrc.h:
22083 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
22084 (gst_fakesrc_class_init), (gst_fakesrc_init),
22085 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
22086 (gst_fakesrc_get_property), (gst_fakesrc_create):
22087 * gst/elements/gstfakesrc.h:
22088 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
22089 (gst_filesrc_open_file), (gst_filesrc_loop),
22090 (gst_filesrc_activate), (filesrc_find_peek),
22091 (gst_filesrc_type_find):
22092 Made base source class, make fakesrc extend it.
22093 Add comments to basesink class.
22094 Some filesrc cleanup.
22096 2005-03-31 David Schleef <ds@schleef.org>
22098 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22099 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22100 expected to link against libgstreamer.
22101 * gst/base/Makefile.am: link against libgstreamer
22102 * gst/elements/Makefile.am: same
22104 2005-03-31 Andy Wingo <wingo@pobox.com>
22106 * tests/instantiate/Makefile.am:
22107 * tests/instantiate/caps.c: Add test to test speed of caps copy
22110 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22111 GMemChunk to be fair.
22113 * gst/gsttrashstack.h: Remove warning about using the fallback
22114 trash stack implementation, it's still faster than malloc.
22116 2005-03-30 Andy Wingo <wingo@pobox.com>
22118 * tests/complexity.c: Add a copyright.
22120 2005-03-31 Wim Taymans <wim@fluendo.com>
22122 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22123 (gst_base_transform_class_init), (gst_base_transform_init),
22124 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22125 (gst_base_transform_get_property),
22126 (gst_base_transform_sink_activate),
22127 (gst_base_transform_src_activate),
22128 (gst_base_transform_change_state):
22129 * gst/base/gstbasetransform.h:
22130 * gst/elements/gstidentity.c: (gst_identity_class_init),
22131 (gst_identity_event), (gst_identity_check_perfect),
22132 (gst_identity_transform), (gst_identity_start),
22133 (gst_identity_stop):
22134 Added start/stop methods to transform base class so subclasses
22135 don't need to deal with state changes even.
22137 2005-03-31 Wim Taymans <wim@fluendo.com>
22139 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22140 (gst_event_new_discontinuous), (gst_event_discont_get_value):
22142 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22143 (gst_pad_pull_range):
22144 Added rate to the discont event to prepare for variable speed
22145 and reverse playback.
22147 2005-03-29 David Schleef <ds@schleef.org>
22150 * testsuite/trigger/Makefile.am:
22151 * testsuite/trigger/trigger.c: A little example program to show
22152 how trigger-based elements can work.
22154 2005-03-29 Wim Taymans <wim@fluendo.com>
22156 * gst/base/Makefile.am:
22158 * gst/base/gstbasesink.c: (gst_basesink_get_type),
22159 (gst_basesink_base_init), (gst_basesink_class_init),
22160 (gst_basesink_pad_getcaps), (gst_basesink_init),
22161 (gst_basesink_activate), (gst_basesink_change_state):
22162 * gst/base/gstbasesink.h:
22163 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22164 (gst_base_transform_base_init), (gst_base_transform_finalize),
22165 (gst_base_transform_class_init), (gst_base_transform_init),
22166 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22167 (gst_base_transform_event), (gst_base_transform_getrange),
22168 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22169 (gst_base_transform_set_property),
22170 (gst_base_transform_get_property),
22171 (gst_base_transform_sink_activate),
22172 (gst_base_transform_src_activate),
22173 (gst_base_transform_change_state):
22174 * gst/base/gstbasetransform.h:
22175 * gst/elements/gstidentity.c: (gst_identity_finalize),
22176 (gst_identity_class_init), (gst_identity_init),
22177 (gst_identity_event), (gst_identity_check_perfect),
22178 (gst_identity_transform), (gst_identity_set_property),
22179 (gst_identity_get_property), (gst_identity_change_state):
22180 * gst/elements/gstidentity.h:
22181 * gst/gstelement.c: (gst_element_get_state_func),
22182 (gst_element_lost_state), (gst_element_pads_activate):
22183 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22184 (gst_pad_check_pull_range), (gst_pad_pull_range):
22186 Simplify pad activation.
22187 Added function to check if pull_range can be performed.
22188 Error out when pulling inactive or flushing pads.
22189 Removed const from refcounted types as it does not make sense.
22190 Simplify pad templates in basesink
22191 Added base class for simple 1-to-1 transforms.
22192 Make identity subclass the base transform.
22194 2005-03-29 Andy Wingo <wingo@pobox.com>
22196 * docs/libs/gstreamer-libs-overrides.txt:
22197 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22198 really don't understand what's going on, but like whatever. I want
22201 * docs/gst/Makefile.am:
22202 * docs/libs/Makefile.am: Dist the overrides files.
22204 * check/Makefile.am (clean-local): Remove .libs directories.
22206 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22207 elements to EXTRA_DIST, so po/ files are happy.
22209 * po/POTFILES.in: Er, remove it here.
22211 * po/POTFILES: Remove gstspider.c.
22213 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22215 * docs/libs/gstreamer-libs-docs.sgml:
22216 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22219 * tests/complexity.c (main): Set the length of the preroll queue
22220 on the sinks to prevent a lockup.
22222 * libs/gst/dataprotocol/Makefile.am:
22223 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22224 the same as the one in check/gst-libs/gdp.c.
22226 * po/, docs/gst/: Commit automatic changes to docs and po files.
22228 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22229 the versioned libgstbase.
22231 * check/Makefile.am: Depend on an unversioned gst-register, seems
22232 to make autoconf happier.
22234 * gst/base/Makefile.am: Make libgstbase a versioned lib.
22236 2005-03-28 Wim Taymans <wim@fluendo.com>
22239 * docs/design/part-gstelement.txt:
22240 * docs/design/part-negotiation.txt:
22241 * docs/design/part-preroll.txt:
22242 * docs/design/part-scheduling.txt:
22243 * docs/design/part-states.txt:
22245 * gst/base/Makefile.am:
22247 * gst/base/gstbasesink.c: (gst_basesink_get_template),
22248 (gst_basesink_base_init), (gst_basesink_class_init),
22249 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22250 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22251 (gst_basesink_set_pad_functions),
22252 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22253 (gst_basesink_set_property), (gst_basesink_get_property),
22254 (gst_base_sink_get_template), (gst_base_sink_get_caps),
22255 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22256 (gst_basesink_preroll_queue_push),
22257 (gst_basesink_preroll_queue_empty),
22258 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22259 (gst_basesink_event), (gst_basesink_get_times),
22260 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22261 (gst_basesink_chain_unlocked), (gst_basesink_chain),
22262 (gst_basesink_loop), (gst_basesink_activate),
22263 (gst_basesink_change_state):
22264 * gst/base/gstbasesink.h:
22265 * gst/elements/Makefile.am:
22266 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22267 (gst_fakesink_class_init), (gst_fakesink_init),
22268 (gst_fakesink_set_property), (gst_fakesink_get_property),
22269 (gst_fakesink_get_times), (gst_fakesink_event),
22270 (gst_fakesink_preroll), (gst_fakesink_render),
22271 (gst_fakesink_change_state):
22272 * gst/elements/gstfakesink.h:
22273 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22274 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22275 * gst/gstelement.c: (gst_element_add_pad),
22276 (gst_element_get_state_func), (gst_element_abort_state),
22277 (gst_element_commit_state), (gst_element_lost_state),
22278 (gst_element_set_state), (gst_element_pads_activate):
22279 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22280 * gst/gstpipeline.c: (gst_pipeline_send_event),
22281 (gst_pipeline_change_state):
22282 Added state change code.
22283 Added/updated docs.
22284 Added sink base class, make fakesink extend the base class.
22285 Small cleanups in GstPipeline.
22287 2005-03-26 David Schleef <ds@schleef.org>
22289 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
22290 is broken and should be implemented in a different library.
22291 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22292 * gst/gst.h: remove gstcpu.h
22293 * gst/gstcpu.c: remove
22294 * gst/gstcpu.h: remove
22295 * gst/Makefile.am.future: Remove this file. It's ancient.
22297 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22299 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22300 (gst_bin_send_event):
22301 Add default event/set_manager handlers. The set_manager handler
22302 takes care that the manager is distributed over kids that were
22303 already in the bin before the manager was set. The event handler
22304 is a utility virtual function that sends the event over all sinks,
22305 so that gst_element_send_event (bin, event); has the expected
22307 * gst/gstpad.c: (gst_pad_event_default):
22308 Re-install default event handling for discontinuities, so that
22309 seeking works without requiring hacks in applications or extra
22311 * gst/gstpipeline.c: (gst_pipeline_class_init),
22312 (gst_pipeline_send_event):
22313 Half hack, half utility: set a pipeline to PAUSED for seek events,
22314 since that is the only way we can guarantee a/v sync. Means that
22315 you can do gst_element_seek (pipeline, method, pos); on a pipeline
22316 and it "just works".
22318 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22320 * gst/gstpipeline.c: (gst_pipeline_use_clock):
22321 Lock/unlock mismatch.
22323 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
22325 * docs/faq/gst-uninstalled:
22326 add gst-plugins-base
22327 * docs/gst/Makefile.am:
22328 don't error out until docs are fixed
22329 * docs/gst/gstreamer.types:
22332 2005-03-22 Wim Taymans <wim@fluendo.com>
22334 * check/Makefile.am:
22335 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22336 * gst/gststructure.c: (gst_structure_set_valist),
22337 (gst_structure_copy_conditional):
22338 Activated more tests.
22339 Added message test.
22340 Added G_TYPE_POINTER to GstStructure.
22343 2005-03-22 Wim Taymans <wim@fluendo.com>
22345 * docs/design/part-TODO.txt:
22346 * docs/design/part-events.txt:
22347 * docs/design/part-gstbin.txt:
22348 * docs/design/part-gstbus.txt:
22349 * docs/design/part-gstpipeline.txt:
22350 * docs/design/part-messages.txt:
22352 * gst/gstmessage.c:
22355 2005-03-21 Wim Taymans <wim@fluendo.com>
22357 * gst/gstbus.c: (gst_bus_post):
22358 Fix copy-and-paste error.
22360 2005-03-21 Wim Taymans <wim@fluendo.com>
22362 * check/Makefile.am:
22364 * gst/elements/Makefile.am:
22365 * gst/elements/gstelements.c:
22366 * gst/elements/gstfakesink.c: (gst_fakesink_init),
22367 (gst_fakesink_event), (gst_fakesink_chain):
22368 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22369 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22370 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22371 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22372 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22373 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22374 (gst_fakesrc_loop), (gst_fakesrc_activate),
22375 (gst_fakesrc_change_state):
22376 * gst/elements/gstfakesrc.h:
22377 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22378 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22379 (gst_filesrc_open_file), (gst_filesrc_loop),
22380 (gst_filesrc_activate), (gst_filesrc_change_state),
22381 (filesrc_find_peek), (filesrc_find_suggest),
22382 (gst_filesrc_type_find):
22383 * gst/elements/gstidentity.c: (gst_identity_finalize),
22384 (gst_identity_class_init), (gst_identity_init),
22385 (gst_identity_proxy_getcaps), (identity_queue_push),
22386 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22387 (gst_identity_getrange), (gst_identity_chain),
22388 (gst_identity_sink_loop), (gst_identity_src_loop),
22389 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22390 (gst_identity_set_property), (gst_identity_get_property),
22391 (gst_identity_change_state):
22392 * gst/elements/gstidentity.h:
22393 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22394 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22395 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22396 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22397 (gst_tee_sink_activate):
22398 * gst/elements/gsttee.h:
22399 * gst/gst.c: (gst_register_core_elements), (init_post):
22401 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22402 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22403 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22404 (gst_bin_change_state):
22406 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22407 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22408 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22409 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22410 (gst_bus_set_sync_handler), (gst_bus_create_watch),
22411 (bus_watch_callback), (bus_watch_destroy),
22412 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22413 (poll_timeout), (gst_bus_poll):
22417 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22418 (gst_element_post_message), (gst_element_message_full),
22419 (gst_element_get_state_func), (gst_element_get_state),
22420 (gst_element_abort_state), (gst_element_commit_state),
22421 (gst_element_lost_state), (gst_element_set_state),
22422 (gst_element_pads_activate), (gst_element_change_state),
22423 (gst_element_dispose), (gst_element_set_manager_func),
22424 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22425 (gst_element_set_manager), (gst_element_get_manager),
22426 (gst_element_set_bus), (gst_element_get_bus),
22427 (gst_element_set_scheduler), (gst_element_get_scheduler):
22428 * gst/gstelement.h:
22429 * gst/gstevent.c: (gst_event_new_segment_seek),
22430 (gst_event_new_flush):
22432 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22433 (_gst_message_free), (gst_message_get_type), (gst_message_new),
22434 (gst_message_new_eos), (gst_message_new_error),
22435 (gst_message_new_warning), (gst_message_new_tag),
22436 (gst_message_new_state_changed), (gst_message_new_application),
22437 (gst_message_get_structure), (gst_message_parse_tag),
22438 (gst_message_parse_state_changed), (gst_message_parse_error),
22439 (gst_message_parse_warning):
22440 * gst/gstmessage.h:
22441 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22442 (gst_real_pad_set_property), (gst_pad_set_active),
22443 (gst_pad_is_active), (gst_pad_set_blocked_async),
22444 (gst_pad_set_blocked), (gst_pad_is_blocked),
22445 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22446 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22447 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22448 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22449 (gst_pad_link_filtered), (gst_pad_relink_filtered),
22450 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22451 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22452 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22453 (gst_pad_set_caps), (gst_pad_configure_sink),
22454 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22455 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22456 (gst_real_pad_dispose), (gst_real_pad_finalize),
22457 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22458 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22459 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22461 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22462 (pipeline_bus_handler), (gst_pipeline_change_state),
22463 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22464 * gst/gstpipeline.h:
22466 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22467 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22468 (gst_queue_link_src), (gst_queue_bufferalloc),
22469 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22470 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22471 (gst_queue_loop), (gst_queue_handle_src_event),
22472 (gst_queue_handle_src_query), (gst_queue_src_activate),
22473 (gst_queue_change_state):
22475 * gst/gstscheduler.c: (gst_scheduler_init),
22476 (gst_scheduler_dispose), (gst_scheduler_create_task),
22477 (gst_scheduler_factory_create):
22478 * gst/gstscheduler.h:
22479 * gst/gststructure.c: (gst_structure_get_type),
22480 (gst_structure_copy_conditional):
22481 * gst/gststructure.h:
22482 * gst/gsttaginterface.h:
22483 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22484 (gst_task_init), (gst_task_dispose), (gst_task_create),
22485 (gst_task_get_state), (gst_task_start), (gst_task_stop),
22491 * gst/schedulers/Makefile.am:
22492 * gst/schedulers/cothreads_compat.h:
22493 * gst/schedulers/entryscheduler.c:
22494 * gst/schedulers/faircothreads.c:
22495 * gst/schedulers/faircothreads.h:
22496 * gst/schedulers/fairscheduler.c:
22497 * gst/schedulers/gstbasicscheduler.c:
22498 * gst/schedulers/gstoptimalscheduler.c:
22499 * gst/schedulers/gthread-cothreads.h:
22500 * gst/schedulers/threadscheduler.c:
22501 (gst_thread_scheduler_task_get_type),
22502 (gst_thread_scheduler_task_class_init),
22503 (gst_thread_scheduler_task_init),
22504 (gst_thread_scheduler_task_start),
22505 (gst_thread_scheduler_task_stop),
22506 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22507 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22508 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22509 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22511 * libs/gst/Makefile.am:
22512 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22513 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22514 (gst_file_pad_parent_set):
22515 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22516 (gst_dp_event_from_packet):
22517 * tests/complexity.c: (main):
22518 * tests/mass_elements.c: (main):
22519 * testsuite/states/locked.c: (message_received), (main):
22520 * testsuite/states/parent.c: (main):
22521 * tools/gst-inspect.c: (print_element_flag_info),
22522 (print_implementation_info), (print_pad_info):
22523 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22525 * tools/gst-md5sum.c: (event_loop), (main):
22526 * tools/gst-typefind.c: (main):
22527 * tools/gst-xmlinspect.c: (print_element_info):
22529 Added GstBus for mainloop integration.
22530 Added GstMessage for sending notifications on the bus.
22531 Added GstTask as an abstraction for pipeline entry points.
22533 Removed Schedulers.
22534 Simplified GstQueue for multithreaded core.
22535 Made _link threadsafe, removed old capsnego.
22536 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22537 Added pad blocking functions.
22538 Reworked scheduling functions in GstPad to prepare for
22539 scheduling updates soon.
22540 Moved events out of data stream.
22541 Simplified GstEvent types.
22542 Added return values to push/pull.
22543 Removed clocking from GstElement.
22544 Added prototypes for state change function for next merge.
22545 Removed iterate from bins and state change management.
22546 Fixed some elements, disabled others for now.
22547 Fixed -inspect and -launch.
22548 Added check for GstBus.
22550 2005-03-10 Wim Taymans <wim@fluendo.com>
22552 * docs/design/part-MT-refcounting.txt:
22553 * docs/design/part-clocks.txt:
22554 * docs/design/part-gstelement.txt:
22555 * docs/design/part-gstobject.txt:
22556 * docs/design/part-standards.txt:
22557 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22558 (gst_bin_remove_func), (gst_bin_remove):
22562 * testsuite/clock/clock1.c: (main):
22563 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22565 * testsuite/dlopen/loadgst.c: (do_test):
22566 * testsuite/refcounting/bin.c: (add_remove_test1),
22567 (add_remove_test2), (main):
22568 * testsuite/refcounting/element.c: (main):
22569 * testsuite/refcounting/element_pad.c: (main):
22570 * testsuite/refcounting/pad.c: (main):
22571 * tools/gst-launch.c: (sigint_handler_sighandler):
22572 * tools/gst-typefind.c: (main):
22574 Added doc about clock.
22575 removed gst_bin_iterate_recurse_up(), marked methods
22577 Fix more testsuites.
22579 2005-03-09 Wim Taymans <wim@fluendo.com>
22581 * gst/gstpad.c: (gst_pad_get_direction),
22582 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22583 (gst_pad_collect_valist):
22584 * testsuite/bins/interface.c: (main):
22585 * testsuite/caps/audioscale.c: (test_caps):
22586 * testsuite/caps/caps.c: (test1), (test2), (test3):
22587 * testsuite/caps/deserialize.c: (main):
22588 * testsuite/caps/enumcaps.c: (main):
22589 * testsuite/caps/filtercaps.c: (main):
22590 * testsuite/caps/intersect2.c: (main):
22591 * testsuite/caps/random.c: (main):
22592 * testsuite/caps/renegotiate.c: (my_fixate), (main):
22593 * testsuite/caps/sets.c: (check_caps):
22594 * testsuite/caps/simplify.c: (check_caps), (main):
22595 * testsuite/caps/subtract.c: (check_caps):
22596 Fix _pad_get_direction wrt ghostpads.
22597 Fix caps testsuite.
22599 2005-03-09 Wim Taymans <wim@fluendo.com>
22601 * check/Makefile.am:
22602 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22603 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22604 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22605 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22606 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22607 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22608 (gst_bin_remove), (gst_bin_iterate_recurse_up),
22609 (bin_element_is_sink), (gst_bin_iterate_sinks),
22610 (gst_bin_iterate_all_by_interface):
22612 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22613 (gst_element_change_state), (gst_element_dispose),
22614 (gst_element_finalize), (gst_element_set_loop_function):
22615 * gst/gstelement.h:
22616 * gst/gstiterator.c: (find_custom_fold_func):
22617 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22618 (gst_pad_collectv), (gst_pad_collect_valist),
22619 (gst_pad_template_new):
22620 * gst/gstpipeline.c: (gst_pipeline_class_init),
22621 (gst_pipeline_dispose), (gst_pipeline_set_property),
22622 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22623 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22624 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22626 * gst/schedulers/entryscheduler.c:
22627 * gst/schedulers/gstbasicscheduler.c:
22628 (gst_basic_scheduler_cothreaded_chain),
22629 (gst_basic_scheduler_chain_add_element):
22630 * testsuite/bins/interface.c: (main):
22632 Added GstSystemClock test.
22633 Implemented clock distribution code in GstBin.
22634 Implemented iterate sinks method for future use.
22635 Rearranged gstelement.h
22636 Fix GstIterator comparison bug.
22637 Moved some code to GstPipeline, mostly clocking related.
22639 2005-03-09 Wim Taymans <wim@fluendo.com>
22642 * gst/gst_private.h:
22643 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22644 (gst_bin_remove_func), (gst_bin_remove),
22645 (gst_bin_get_by_name_recurse_up):
22646 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22647 (gst_clock_id_compare_func), (gst_clock_id_wait),
22648 (gst_clock_id_wait_async), (gst_clock_init),
22649 (gst_clock_adjust_unlocked), (gst_clock_get_time):
22650 * gst/gstelement.h:
22651 * gst/gstinfo.c: (_gst_debug_init):
22653 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22654 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22656 Bump version number, we're now 0.9.0
22657 Add future debugging category.
22658 Fix NULL _unref() in _get_by_name_recurse_up
22659 Rearrange gstpad.h.
22662 2005-03-08 Wim Taymans <wim@fluendo.com>
22664 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22665 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22666 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22667 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22668 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22669 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22670 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22671 * gst/elements/gstidentity.c: (gst_identity_class_init):
22672 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22673 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22674 * gst/elements/gstshaper.c: (gst_shaper_class_init):
22675 * gst/elements/gststatistics.c: (gst_statistics_class_init):
22676 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22678 * gst/gstelement.c: (gst_element_class_init),
22679 (gst_element_base_class_init), (gst_element_init),
22680 (gst_element_get_random_pad), (gst_element_wait_state_change),
22681 (gst_element_change_state), (gst_element_dispose),
22682 (gst_element_finalize), (gst_element_set_loop_function):
22683 * gst/gstelement.h:
22684 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22685 * gst/gstthread.c: (gst_thread_class_init),
22686 (gst_thread_release_children_locks), (gst_thread_change_state):
22687 * gst/schedulers/gstbasicscheduler.c:
22688 (gst_basic_scheduler_loopfunc_wrapper),
22689 (gst_basic_scheduler_chain_wrapper),
22690 (gst_basic_scheduler_src_wrapper),
22691 (gst_basic_scheduler_remove_element):
22692 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22693 Remove threadsafe properties. Fix elements because GObject
22694 complains when installing a property before declaring a
22695 set/get_property handler.
22696 Rearrange gstelement.h file, use STATE macros for state locks.
22697 Free mutexes in the finalize method instead of dispose.
22699 2005-03-08 Wim Taymans <wim@fluendo.com>
22701 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22702 * gst/gstthread.c: (gst_thread_release_children_locks):
22703 Added parentage check.
22704 Fix build og GstThread again.
22706 2005-03-08 Wim Taymans <wim@fluendo.com>
22708 * docs/design/part-MT-refcounting.txt:
22709 * docs/design/part-conventions.txt:
22710 * docs/design/part-gstobject.txt:
22711 * docs/design/part-relations.txt:
22712 * docs/design/part-standards.txt:
22713 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22714 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22715 (gst_bin_get_by_name), (gst_bin_get_by_interface),
22716 (gst_bin_iterate_all_by_interface):
22719 * gst/gstelement.c: (gst_element_class_init),
22720 (gst_element_change_state), (gst_element_set_loop_function):
22721 * gst/gstelement.h:
22722 * gst/gstiterator.c:
22723 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22724 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22725 (gst_object_dispatch_properties_changed), (gst_object_set_name),
22726 (gst_object_set_parent), (gst_object_unparent),
22727 (gst_object_check_uniqueness):
22729 Docs updates, clean up some headers.
22731 2005-03-07 Wim Taymans <wim@fluendo.com>
22733 * check/.cvsignore:
22734 * check/Makefile.am:
22735 * check/gst-libs/.cvsignore:
22736 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22737 * check/gst/.cvsignore:
22738 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22739 (START_TEST), (gstbus_suite), (main):
22740 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22741 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22742 (gst_data_suite), (main):
22743 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22744 (add_fold_func), (gstiterator_suite), (main):
22745 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22746 (thread_name_object), (thread_name_object_default),
22747 (gst_object_name_compare), (gst_object_suite), (main):
22748 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22749 (gst_pad_suite), (main):
22750 * check/gstcheck.c: (gst_check_log_message_func),
22751 (gst_check_log_critical_func), (gst_check_init):
22752 * check/gstcheck.h:
22753 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22754 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22757 2005-03-07 Wim Taymans <wim@fluendo.com>
22759 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22760 (gst_list_iterator_next), (gst_list_iterator_resync),
22761 (gst_list_iterator_free), (gst_iterator_new_list),
22762 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22763 (gst_iterator_free), (gst_iterator_push), (filter_next),
22764 (filter_resync), (filter_uninit), (filter_free),
22765 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22766 (gst_iterator_foreach), (find_custom_fold_func),
22767 (gst_iterator_find_custom):
22768 * gst/gstiterator.h:
22769 Added missing files.
22771 2005-03-07 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 * examples/mixer/mixer.c: (main):
22780 * examples/thread/thread.c: (eos), (main):
22782 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22783 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22784 (gst_spider_plug_from_srcpad):
22785 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22786 (gst_spider_identity_change_state),
22787 (gst_spider_identity_sink_loop_type_finding):
22788 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22789 * gst/elements/gstidentity.c: (gst_identity_init):
22790 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22791 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22792 * gst/elements/gsttypefindelement.c: (free_entry):
22795 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22796 (gst_bin_set_clock_func), (gst_bin_auto_clock),
22797 (gst_bin_set_index), (gst_bin_set_element_sched),
22798 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22799 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22800 (gst_bin_iterate_elements), (iterate_child_recurse),
22801 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22802 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22803 (compare_interface), (gst_bin_get_by_interface),
22804 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22806 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22807 (gst_buffer_default_free), (gst_buffer_default_copy),
22808 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22809 (gst_buffer_create_sub):
22811 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22812 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22813 (gst_caps_unref), (gst_static_caps_get),
22814 (gst_caps_remove_and_get_structure), (gst_caps_append),
22815 (gst_caps_append_structure), (gst_caps_remove_structure),
22816 (gst_caps_copy_nth), (gst_caps_set_simple),
22817 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22818 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22819 (gst_caps_structure_intersect_field), (gst_caps_intersect),
22820 (gst_caps_structure_subtract_field), (gst_caps_subtract),
22821 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22822 (gst_caps_structure_figure_out_union),
22823 (gst_caps_switch_structures), (gst_caps_do_simplify),
22824 (gst_caps_replace), (gst_caps_from_string),
22825 (gst_caps_copy_conditional):
22827 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22828 (_gst_clock_id_free), (gst_clock_id_unref),
22829 (gst_clock_id_compare_func), (gst_clock_id_wait),
22830 (gst_clock_id_wait_async), (gst_clock_class_init),
22831 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22832 (gst_clock_get_time), (gst_clock_set_time_adjust),
22833 (gst_clock_set_property), (gst_clock_get_property):
22836 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22837 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22839 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22840 (gst_element_requires_clock), (gst_element_provides_clock),
22841 (gst_element_set_clock), (gst_element_clock_wait),
22842 (gst_element_wait), (gst_element_set_time_delay),
22843 (gst_element_is_indexable), (gst_element_add_pad),
22844 (gst_element_add_ghost_pad), (gst_element_remove_pad),
22845 (pad_compare_name), (gst_element_get_static_pad),
22846 (gst_element_request_pad), (gst_element_get_request_pad),
22847 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22848 (gst_element_class_get_pad_template_list),
22849 (gst_element_class_get_pad_template), (gst_element_error_func),
22850 (gst_element_get_random_pad), (gst_element_get_event_masks),
22851 (gst_element_send_event), (gst_element_seek),
22852 (gst_element_get_query_types), (gst_element_query),
22853 (gst_element_get_formats), (gst_element_convert),
22854 (gst_element_is_locked_state), (gst_element_set_locked_state),
22855 (gst_element_sync_state_with_parent), (gst_element_change_state),
22856 (gst_element_finalize), (gst_element_yield),
22857 (gst_element_interrupt), (gst_element_set_scheduler),
22858 (gst_element_get_scheduler), (gst_element_set_loop_function):
22859 * gst/gstelement.h:
22861 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22862 (gst_format_get_by_nick), (gst_format_get_details),
22863 (gst_format_iterate_definitions):
22865 * gst/gstindex.c: (gst_index_gtype_resolver):
22868 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22869 (gst_mem_chunk_free):
22870 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22871 (gst_object_ref), (gst_object_unref), (gst_object_sink),
22872 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22873 (gst_object_dispatch_properties_changed),
22874 (gst_object_set_name_default), (gst_object_set_name),
22875 (gst_object_get_name), (gst_object_set_name_prefix),
22876 (gst_object_get_name_prefix), (gst_object_set_parent),
22877 (gst_object_get_parent), (gst_object_unparent),
22878 (gst_object_check_uniqueness), (gst_object_save_thyself),
22879 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22880 (gst_object_set_property), (gst_object_get_property),
22881 (gst_object_get_path_string):
22883 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22884 (gst_real_pad_init), (gst_real_pad_get_property),
22885 (gst_pad_custom_new), (gst_pad_get_direction),
22886 (gst_pad_set_active), (gst_pad_is_active),
22887 (gst_pad_set_event_function), (gst_pad_is_linked),
22888 (gst_pad_link_free), (gst_pad_link_intersect),
22889 (gst_pad_link_fixate), (gst_pad_set_caps),
22890 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22891 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22892 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22893 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22894 (gst_pad_get_caps), (gst_pad_peer_get_caps),
22895 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22896 (gst_pad_realize), (gst_pad_get_allowed_caps),
22897 (gst_real_pad_dispose), (gst_real_pad_finalize),
22898 (gst_pad_collectv), (gst_pad_collect_valist),
22899 (gst_pad_template_dispose), (gst_pad_template_new),
22900 (gst_pad_get_internal_links):
22902 * gst/gstpipeline.c: (gst_pipeline_dispose),
22903 (gst_pipeline_change_state):
22904 * gst/gstpipeline.h:
22906 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22907 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22908 * gst/gstpluginfeature.h:
22909 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22910 * gst/gstquery.c: (_gst_query_type_initialize),
22911 (gst_query_type_register), (gst_query_type_get_by_nick),
22912 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22914 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22915 * gst/gstscheduler.c: (gst_scheduler_add_element),
22916 (gst_scheduler_factory_create):
22917 * gst/gststructure.c: (gst_structure_set_parent_refcount),
22918 (gst_structure_free), (gst_structure_set_name),
22919 (gst_structure_id_set_value), (gst_structure_set_value),
22920 (gst_structure_set_valist), (gst_structure_remove_field),
22921 (gst_structure_remove_fields),
22922 (gst_structure_remove_fields_valist),
22923 (gst_structure_remove_all_fields), (gst_structure_foreach),
22924 (gst_structure_map_in_place),
22925 (gst_caps_structure_fixate_field_nearest_int),
22926 (gst_caps_structure_fixate_field_nearest_double):
22927 * gst/gststructure.h:
22928 * gst/gstsystemclock.c: (gst_system_clock_class_init),
22929 (gst_system_clock_init), (gst_system_clock_dispose),
22930 (gst_system_clock_async_thread),
22931 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22932 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
22933 * gst/gstsystemclock.h:
22934 * gst/gsttag.c: (gst_tag_list_add_value_internal),
22935 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
22936 * gst/gsttaginterface.c:
22937 * gst/gstthread.c: (gst_thread_dispose),
22938 (gst_thread_release_children_locks), (gst_thread_change_state),
22939 (gst_thread_main_loop):
22940 * gst/gsttrashstack.h:
22941 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
22943 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22944 (gst_element_request_pad), (gst_element_get_pad_from_template),
22945 (gst_element_request_compatible_pad),
22946 (gst_element_get_compatible_pad_filtered),
22947 (gst_element_get_compatible_pad), (gst_element_state_get_name),
22948 (gst_element_link_pads_filtered), (gst_element_link_filtered),
22949 (gst_element_link_many), (gst_element_link),
22950 (gst_element_link_pads), (gst_element_unlink_pads),
22951 (gst_element_unlink_many), (gst_element_unlink),
22952 (gst_pad_can_link_filtered), (gst_pad_can_link),
22953 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
22954 (gst_object_default_error), (gst_bin_add_many),
22955 (gst_bin_remove_many), (gst_element_populate_std_props),
22956 (gst_element_class_install_std_props), (gst_buffer_merge),
22957 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
22958 (link_fold_func), (gst_pad_proxy_setcaps):
22960 * gst/gstvalue.c: (gst_value_deserialize_string):
22961 * gst/parse/grammar.y:
22962 * gst/schedulers/gstbasicscheduler.c:
22963 (gst_basic_scheduler_cothreaded_chain),
22964 (gst_basic_scheduler_chain_recursive_add),
22965 (gst_basic_scheduler_pad_link):
22966 * gst/schedulers/gstoptimalscheduler.c:
22967 (get_group_schedule_function),
22968 (gst_opt_scheduler_state_transition),
22969 (gst_opt_scheduler_add_element), (element_get_reachables_func):
22970 * libs/gst/bytestream/bytestream.c:
22971 * libs/gst/dataprotocol/dataprotocol.c:
22972 (gst_dp_header_from_buffer):
22975 * tests/threadstate/threadstate2.c: (eos):
22976 * tools/gst-compprep.c: (main):
22977 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
22978 (print_pad_info), (print_children_info):
22979 * tools/gst-launch.c: (idle_func), (main):
22980 * tools/gst-md5sum.c: (idle_func), (main):
22981 * tools/gst-xmlinspect.c: (print_element_info):
22982 First THREADED backport attempt, focusing on adding locks and
22983 making sure the API is threadsafe. Needs more work. More docs
22986 2005-02-24 Andy Wingo <wingo@pobox.com>
22988 * tests/bench-complexity.scm:
22989 * tests/complexity.gnuplot: New files, good for running complexity
22992 * tests/Makefile.am:
22993 * tests/complexity.c: New test, sets up N elements, at each level
22994 teeing into M streams per element. Eeeenteresting.
22996 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
22997 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
22998 running bench-mass_elements.scm.
23000 * tests/bench-mass_elements.scm: New script, runs mass_elements
23001 for various numbers of identities, outputting the results to a
23002 file. Requires guile 1.6. Just for testing.
23004 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
23006 * gst/schedulers/fairscheduler.c:
23007 compile with debug disabled
23009 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
23012 hunting season on 0.9 is now OPEN