1 2007-04-18 Stefan Kost <ensonic@users.sf.net>
3 * common/m4/gst-gettext.m4:
5 Make --disable-nls to work
7 2007-04-17 Wim Taymans <wim@fluendo.com>
10 Revert previous change that broke the build.
12 2007-04-17 Stefan Kost <ensonic@users.sf.net>
17 Drop libxml2 dependency when building with
18 --enable-binary-registry --disable-loadsave
20 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
22 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
23 (gst_registry_binary_read_cache):
24 * gst/gstregistrybinary.h:
25 Remove unnecessary <sys/mman.h> include which broke the win32 build
26 with MingW; move includes from header file to .c file, even if the
27 header file isn't installed; use g_strerror() where UTF-8 strings
28 are expected, such as in GST_DEBUG messages.
30 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
32 * docs/libs/gstreamer-libs-sections.txt:
33 Remove bogus addition for API I didn't end up keeping.
35 * libs/gst/base/gstbasesrc.h:
36 Mention Since: 0.10.13 in the documentation.
38 Add the API keyword to the previous ChangeLog entry.
40 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
42 * docs/libs/gstreamer-libs-sections.txt:
43 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
44 (gst_base_src_default_prepare_seek_segment),
45 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
46 * libs/gst/base/gstbasesrc.h:
47 Allow basesrc derived classes to execute seeks in other formats
48 by providing a prepare_seek_segment vmethod. Sub-classes can choose
49 to prepare the GstSegment in any format that their perform_seek method
50 will be able to understand. The default implementation provides the
51 old behaviour of attempting to convert the seek offsets to the
52 configured native format.
54 API: basesrc::prepare_seek_segment vmethod.
56 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
58 * gst/gstelement.c: (gst_element_get_state_func):
59 Don't output the same debug statement twice.
61 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
62 (gst_adapter_peek), (gst_adapter_take_buffer):
63 Optimise the case where we have buffers at the head of the queue that
64 can be joined quickly (because they're contiguous sub-buffers) by
65 merging them together rather than copying data out into new memory.
67 * gst/parse/grammar.y:
68 * tests/check/pipelines/parse-launch.c:
69 Fix a leak in an error path for parse_launch, and add a check
70 for it to the testsuite.
72 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
74 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
75 Don't deadlock when releasing a pad - gst_pad_set_active may try
76 and take the multiqueue lock too.
78 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
80 * gst/gsterror.c: (_gst_core_errors_init):
82 API: add GST_CORE_ERROR_DISABLED (#392804).
84 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
86 * docs/faq/gst-uninstalled:
87 don't get empty paths on the PATH variables
88 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
89 Don't format for the uncommon terminal width of 84 characters.
91 2007-04-06 Wim Taymans <wim@fluendo.com>
93 * gst/gstpipeline.c: (reset_stream_time),
94 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
95 Only try to select a different pipeline clock when we went back to
96 PAUSED and not when we merely got flushed.
98 2007-04-05 Michael Smith <msmith@fluendo.com>
100 * tools/gst-launch.1.in:
101 fractions are better supported in gstreamer than ractions, so
104 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
106 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
110 Added Danish translation.
112 2007-04-05 Wim Taymans <wim@fluendo.com>
114 * libs/gst/base/gstbasesink.c:
115 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
116 Fix leak caused when refusing newsegment after EOS.
118 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
119 (gst_fake_sink_init), (gst_fake_sink_set_property),
120 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
121 (gst_fake_sink_render), (gst_fake_sink_change_state):
122 * plugins/elements/gstfakesink.h:
123 Add num-buffers property to make the element generate EOS after a
124 configurable amount of buffers.
125 API: fakesink::num-buffers property.
127 * tests/check/elements/fakesink.c: (GST_START_TEST),
129 Fix GstBus leak in test.
130 Test for fakesink num-buffers.
132 2007-04-05 Wim Taymans <wim@fluendo.com>
134 * libs/gst/base/gstbasesink.c:
135 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
136 (gst_base_sink_change_state):
137 Don't accept anything after an EOS, return UNEXPECTED instead.
139 * tests/check/elements/fakesink.c: (GST_START_TEST),
141 Unit test for new EOS behaviour.
143 2007-04-05 Wim Taymans <wim@fluendo.com>
145 * gst/gstelement.c: (gst_element_get_request_pad):
146 Make padtemplates also work when they don't contain %s or %d.
148 2007-04-05 Wim Taymans <wim@fluendo.com>
150 * docs/gst/gstreamer-sections.txt:
151 * gst/gstclock.c: (gst_clock_adjust_unlocked),
152 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
154 Improve _adjust_unlocked() so that it overflows less.
155 Add gst_clock_unadjust_unlocked to convert from external time to
156 internal time based on calibration.
158 API: GstClock::gst_clock_unadjust_unlocked()
160 2007-04-03 Wim Taymans <wim@fluendo.com>
162 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
164 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
165 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
166 when releasing sink pad. Fixes #425400.
168 2007-04-02 Stefan Kost <ensonic@users.sf.net>
170 * docs/random/ensonic/dynlink.txt:
171 More work on proposal for new core api.
173 * docs/libs/gstreamer-libs-sections.txt:
174 * libs/gst/base/gstbasetransform.h:
175 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
177 * libs/gst/controller/gstcontroller.c:
178 (on_object_controlled_property_changed),
179 (gst_controller_sync_values),
180 (gst_controller_set_interpolation_mode):
181 * libs/gst/controller/gstcontroller.h:
182 Less verbose logging add docs for unimplemented parts and correctly
183 return when using unavailable parts.
185 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
187 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
188 Move all the debug to the CLOCK category, and associate it with
191 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
193 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
194 Make take_buffer a bit quicker by removing redundant checks
195 caused by calling gst_adapter_take.
197 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
199 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
202 * tests/check/Makefile.am:
203 * tests/check/elements/.cvsignore:
204 * tests/check/elements/multiqueue.c: (setup_multiqueue),
205 (GST_START_TEST), (multiqueue_suite):
206 Add some dead simple unit tests for the 'multiqueue' element
207 (some bits don't work yet and are disabled for now).
209 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
211 * gst/gstelement.c: (gst_element_get_request_pad),
212 (gst_element_class_get_request_pad_template):
213 Make gst_element_get_request_pad() create request pads only for
214 request pad templates and not for, say, sometimes pad templates.
216 2007-03-28 Stefan Kost <ensonic@users.sf.net>
218 * docs/design/draft-klass.txt:
219 Add example that needs more thinking.
221 * docs/design/draft-missing-plugins.txt:
222 More thoughts about wrapper plugins.
224 * docs/random/ensonic/embedded.txt:
225 * docs/random/ensonic/profiling.txt:
228 2007-03-25 Wim Taymans <wim@fluendo.com>
230 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
232 Only push the segment events in the PLAYING state for live sources.
234 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
236 * gst/gstpipeline.c: (gst_pipeline_change_state):
237 Modify the clock distribution path in PAUSED->PLAYING so that we
238 never attempt to choose a new clock unless we're actually leaving
239 the PAUSED state for the first time. This prevents choosing a
240 different clock when the state_change gets called for a 2nd time due
241 to some element doing an async state change.
243 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
245 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
246 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
247 (gst_pad_chain_unchecked), (gst_pad_push):
248 Revert last commit. This needs some more thoughts.
250 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
252 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
253 (gst_pad_chain_unchecked), (gst_pad_push):
254 Check in set_caps if the caps are compatible with the pad and remove
255 two functions that are redundant now. Fixes #421543.
257 2007-03-22 Wim Taymans <wim@fluendo.com>
259 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
260 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
261 Unref some more to make valgrind happy.
263 2007-03-22 Wim Taymans <wim@fluendo.com>
265 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
266 (gst_system_clock_id_wait_jitter),
267 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
268 Fix anoying regression that survived a few releases. When adding an
269 async entry while blocking on a sync entry, the sync entry will unblock
270 but still be busy, so it should continue to wait instead of returning
272 Add some comments here and there.
274 * tests/check/gst/gstsystemclock.c: (mixed_thread),
275 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
276 Add testcase for this.
278 2007-03-22 Wim Taymans <wim@fluendo.com>
280 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
281 Handle errors from the clock sync better, only UNSCHEDULED indicates a
282 WRONG_STATE and can silently pause the task. All other cases should
285 2007-03-22 Wim Taymans <wim@fluendo.com>
287 Patch by: <syrjala at sci dot fi>
289 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
290 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
293 2007-03-21 Michael Smith <msmith@fluendo.com>
295 * docs/pwg/advanced-types.xml:
296 Fix some errors in the typefinding docs pointed out on irc.
298 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
300 * libs/gst/base/gstbasesrc.c:
301 Clarify FIXME comment in the face of having added unlock_stop()
303 2007-03-21 Wim Taymans <wim@fluendo.com>
305 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
306 Prepare for release where we warn against possible app breakage in the
307 case of live pipelines along with an env var to enable/disable live
308 preroll mode (GST_COMPAT=[no-]live-preroll).
310 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
312 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
313 So we should use correct constants for checking for None offset.
315 2007-03-20 Wim Taymans <wim@fluendo.com>
317 * docs/design/part-block.txt:
318 Mention the fact that the newly switched element should be set to at
321 2007-03-20 Wim Taymans <wim@fluendo.com>
324 Fix compilation with registry disabled as spotted by Saur.
326 2007-03-20 Wim Taymans <wim@fluendo.com>
328 Patch by: Olivier Crete <tester at tester dot ca>
330 * gst/gstelement.c: (gst_element_sync_state_with_parent):
331 Look at the pending state too when syncing the element state to the
332 parent. Fixes #420133.
334 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
336 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
337 (gst_base_sink_change_state):
338 * libs/gst/base/gstbasesink.h:
339 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
340 (gst_base_src_default_event), (gst_base_src_unlock_stop),
341 (gst_base_src_deactivate):
342 * libs/gst/base/gstbasesrc.h:
343 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
344 for sub-classes to correctly clear any state they set trying to
345 unlock, such as clearing out unlock commands from a command fd.
347 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
348 (gst_fd_sink_render), (gst_fd_sink_unlock),
349 (gst_fd_sink_unlock_stop):
350 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
351 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
352 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
354 Implement unlock_stop in fdsrc and fdsink.
355 Implement seeking in fdsrc when a seekable fd is passed, as in
356 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
358 2007-03-19 Wim Taymans <wim@fluendo.com>
360 Patch by: Evan Nemerson <evan at coeus dash group dot com>
362 * gst/gstelement.c: (gst_element_class_init):
363 Fix pad-added and pad-removed signal signatures so that the pad type is
364 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
366 2007-03-19 Wim Taymans <wim@fluendo.com>
368 * docs/gst/gstreamer-sections.txt:
369 Add new element field and method.
371 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
372 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
373 (gst_bin_recalc_state), (gst_bin_get_state_func),
374 (gst_bin_element_set_state), (gst_bin_change_state_func),
375 (gst_bin_continue_func), (bin_bus_handler),
376 (bin_push_state_continue), (bin_handle_async_start),
377 (bin_handle_async_done), (gst_bin_handle_message_func):
378 Make async state changes a bit smarter by using new ASYNC_START and
379 ASYNC_DONE messages. This reduces the number of times we run the state
380 recalculation thread.
381 Don't change state of element with a pending ASYNC_START message.
382 Deprecate STATE_DIRTY messages.
384 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
385 (gst_element_get_state_func), (gst_element_continue_state),
386 (gst_element_lost_state), (gst_element_set_state_func),
387 (gst_element_change_state):
389 Keep the state that was last set by the app in a new element field.
390 Don't allow state changes when handling an element event.
391 Post ASYNC_START and ASYNC_DONE messages.
392 Change lost_state so that we go to PAUSED and wait for the parent to set
393 us to PLAYING again (so latency calculation can be performed)
394 Export gst_element_change_state() method so that subclasses can use it.
395 API: gst_element_change_state()
396 API: GST_STATE_TARGET
398 * gst/gstpipeline.c: (gst_pipeline_class_init),
399 (reset_stream_time), (gst_pipeline_change_state),
400 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
401 Using the new ASYNC_START message we can reset the base_time when
402 needed. This can then be used to implement base_time redistribution in
403 flushing seeks so that we can remove the explicit seek handling.
404 Perform latency query and configuration when going to PLAYING.
406 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
407 (gst_base_sink_query), (gst_base_sink_change_state):
408 Post new ASYNC_START/ASYNC_DONE messages.
410 * tests/check/generic/sinks.c: (GST_START_TEST):
411 Fix test because the bin will not set the async element to PLAYING right
414 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
415 Make the message check a little stronger.
416 Handle ASYNC messages.
418 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
419 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
420 Expect ASYNC_DONE messages.
422 2007-03-19 Wim Taymans <wim@fluendo.com>
424 * docs/gst/gstreamer-sections.txt:
425 * gst/gstmessage.c: (gst_message_new_async_start),
426 (gst_message_new_async_done), (gst_message_parse_info),
427 (gst_message_parse_async_start):
429 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
432 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
434 * tools/gst-inspect.c:
435 (print_plugin_automatic_install_info_codecs):
436 Now that we don't check for the 'Codec' keyword any longer in the
437 klass, we shouldn't spew a warning if the klass isn't a decoder or
438 encoder (since it might be a Source/Network, for example).
440 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
442 * tools/gst-inspect.c:
443 (print_plugin_automatic_install_info_codecs):
444 Don't require decoder/demuxer/depayloader elements or
445 encoder/muxer/paylader elements to have 'Codec' as part of their
446 factory class string when introspecting a plugin's capabilities.
447 draft-klass.txt mentions that it might be removed in future, and
448 flump3dec doesn't have it as part of its class string, so chances
449 are others might also not have it.
451 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
473 Update translations from translation project
475 2007-03-14 Stefan Kost <ensonic@users.sf.net>
477 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
478 (gst_child_proxy_set_property):
479 Invert precondition check to be alike the ones in the mimiced gobject
482 2007-03-13 Stefan Kost <ensonic@users.sf.net>
484 * docs/design/draft-tagreading.txt:
485 * docs/random/ensonic/audiobaseclasses.txt:
486 Do some Architect work.
488 * gst/gstobject.c: (gst_object_set_name):
492 Add docs that point from gst_pad_get_range to gst_pad_pull_range
494 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
496 * gst/gstsystemclock.c: (gst_system_clock_init),
497 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
498 Defer starting the async system clock thread until the first async
499 wait is scheduled. Fixes #414986.
501 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
503 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
504 (gst_single_queue_free):
505 Fix small leak (free GstSingleQueue structure too, not only contents).
507 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
509 * gst/gstbin.c:(gst_bin_add):
510 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
511 * win32/common/libgstbase.def:
512 * win32/common/libgstreamer.def:
513 Add new exported functions.
515 2007-03-09 Wim Taymans <wim@fluendo.com>
517 * docs/plugins/gstreamer-plugins-sections.txt:
520 2007-03-09 Wim Taymans <wim@fluendo.com>
522 * docs/gst/gstreamer-sections.txt:
523 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
525 Add metadata copy functions. Fixes #393099.
527 * gst/gstutils.c: (gst_buffer_stamp):
528 * libs/gst/base/gstbasetransform.c:
529 (gst_base_transform_prepare_output_buffer):
530 Use new metadata copy functions.
532 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
534 * plugins/elements/gstidentity.c: (gst_identity_class_init),
535 (gst_identity_init), (gst_identity_check_perfect),
536 (gst_identity_check_imperfect_timestamp),
537 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
538 (gst_identity_set_property), (gst_identity_get_property):
539 * plugins/elements/gstidentity.h:
540 Separate out check-imperfect-timestamp and check-imperfect-offset.
541 Put back check-perfect as it was to keep compatibility.
543 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
545 * gst/gstelement.c: (gst_element_dispose):
546 There's no need to warn if VOID_PENDING is not NONE here, as
547 long as the state is NULL it's ok, and that's checked immediately
550 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
552 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
553 Fix check for perfect stream to ignore buffers with -1
554 offsets/offset ends when checking data contiguity.
556 2007-03-08 Wim Taymans <wim@fluendo.com>
558 * tools/gst-launch.c: (event_loop):
561 2007-03-08 Wim Taymans <wim@fluendo.com>
563 * libs/gst/base/gstbasetransform.c:
564 (gst_base_transform_sink_eventfunc),
565 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
566 (gst_base_transform_activate):
567 * libs/gst/base/gstbasetransform.h:
568 Add support for dropping buffers with custom GstFlowReturn.
569 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
570 buffers or dropped buffers.
572 * docs/libs/gstreamer-libs-sections.txt:
573 docs for new custom return code.
575 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
576 Use drop support in base class to implement drop-probability.
578 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
580 * gst/gst.c: (load_plugin_func):
581 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
582 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
583 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
584 Remove newlines at end of debug log strings.
586 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
588 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
589 Only post bus message at max, once per buffer received.
591 2007-03-07 Wim Taymans <wim@fluendo.com>
593 * docs/design/Makefile.am:
594 * docs/design/part-synchronisation.txt:
595 Add doc about synchronisation
597 * docs/design/draft-latency.txt:
598 * docs/design/part-TODO.txt:
599 * docs/design/part-clocks.txt:
600 * docs/design/part-events.txt:
601 * docs/design/part-gstbus.txt:
602 * docs/design/part-gstpipeline.txt:
603 * docs/design/part-live-source.txt:
604 * docs/design/part-messages.txt:
605 * docs/design/part-overview.txt:
606 * docs/design/part-streams.txt:
607 * docs/design/part-trickmodes.txt:
608 Documentation updates.
610 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
613 Update the doap file.
615 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
617 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
618 Rename non-perfect to imperfect for Mike and for the sanctity of the
620 Also make sure bus message gets emitted for data-incontiguities.
622 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
624 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
625 (gst_identity_start):
626 * plugins/elements/gstidentity.h:
627 Emit bus message if check-perfect is true and we encounter a
628 non-perfect stream between 2 consecutive buffers.
631 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
636 === release 0.10.12 ===
638 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
641 releasing 0.10.12, "Inevitable Demise"
643 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
646 Version 0.10.11.2 (0.10.12 pre-release)
647 Bump libtool versioning.
649 2007-03-01 Stefan Kost <ensonic@users.sf.net>
651 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
652 Log flow-names and not numbers.
654 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
657 Convert to new AG_GST style.
659 2007-02-28 Wim Taymans <wim@fluendo.com>
661 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
662 Don't unref query twice.
664 2007-02-28 Wim Taymans <wim@fluendo.com>
666 * gst/gstvalue.c: (gst_value_transform_object_string),
667 (_gst_value_initialize):
668 Implement GstObject -> string transform so we print object names
669 when serializing GValues containing GstObjects.
671 2007-02-28 Wim Taymans <wim@fluendo.com>
673 * docs/gst/gstreamer-sections.txt:
674 Add new stuff to docs.
676 2007-02-28 Wim Taymans <wim@fluendo.com>
678 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
679 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
680 (gst_base_sink_change_state):
681 Improve latency query code.
682 Don't leak latency events.
684 * tests/check/gst/gstbin.c: (GST_START_TEST):
687 2007-02-28 Wim Taymans <wim@fluendo.com>
689 * gst/gstelement.c: (gst_element_message_full),
690 (gst_element_get_state_func):
692 Improve docs a little. Added Since: for new macro.
694 * gst/gstobject.c: (gst_object_sink):
695 * gst/gstpipeline.c: (gst_pipeline_change_state),
696 (gst_pipeline_set_new_stream_time):
698 Improve debugging and docs.
700 * gst/gstutils.c: (gst_element_state_change_return_get_name):
703 2007-02-28 Wim Taymans <wim@fluendo.com>
705 * gst/gstelement.c: (gst_element_message_full),
706 (gst_element_set_locked_state), (gst_element_get_state_func),
707 (gst_element_change_state):
708 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
709 Documentation updates.
712 * gst/gstmessage.c: (gst_message_new_info),
713 (gst_message_parse_info):
715 API: gst_message_new_info()
716 API: gst_message_parse_info()
717 Add INFO message create and parse code.
719 2007-02-28 Wim Taymans <wim@fluendo.com>
721 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
722 (bin_query_latency_done):
723 Also report the live parameter of a latency query.
725 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
727 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
728 Copy the current generic/states example from -base and adapt so
729 we can use the exact same code everywhere.
730 Check a STATES_IGNORE_ELEMENTS env var which can be used
731 to ignore certain element factories for this test, which is
732 what is being done in -base
733 * tests/check/Makefile.am:
734 Mention this environment variable.
736 2007-02-27 Wim Taymans <wim@fluendo.com>
738 * docs/gst/gstreamer-sections.txt:
739 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
740 (gst_bus_timed_pop), (gst_bus_pop):
742 API: gst_bus_timed_pop()
743 Implement gst_bus_timed_pop() to do a blocking timed wait for a
744 message to arrive on the bus.
746 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
748 Two unit tests for new _timed_pop() function.
750 2007-02-23 Wim Taymans <wim@fluendo.com>
752 * gst/gstpipeline.c: (gst_pipeline_change_state),
753 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
754 Don't ref a NULL clock in _provide_clock_func().
755 Don't allow an INVALID delay.
756 Don't try to calculate base_time with an invalid start_time.
757 Also distribute and notify a NULL clock when it was selected.
759 * tools/gst-launch.c: (event_loop):
760 Don't crash when a NULL clock was selected in the pipeline.
762 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
764 * docs/design/Makefile.am:
765 * docs/design/draft-missing-plugins.txt:
766 * docs/random/draft-missing-plugins.txt:
767 Some small updates: update plugin system identifier prefix
768 ('gstreamer.net' to 'gstreamer'), mention our new install
769 API in libgstbaseutils rather than libgimme-codec, add
770 reference to the online docs.
772 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
774 * win32/common/config.h:
775 Pretty sure Bill never made a powerpc version. Powerpc hackers,
776 use moap cl ci to only check in what is mentioned in the ChangeLog.
778 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
780 * docs/gst/gstreamer-sections.txt:
782 Fix up documentation to link to the correct GstGError section.
783 Add GST_ELEMENT_INFO macro since someone else added a Info message.
785 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
787 * tools/gst-launch.c: (event_loop):
788 Make sure that we actually show the important message part of a
790 No need to check if the gerror is not NULL to free; first of all
791 g_free accepts NULL; and second the default error handler would
792 segfault if gerror was NULL.
794 2007-02-21 Wim Taymans <wim@fluendo.com>
796 * docs/gst/gstreamer-sections.txt:
797 Removed docs as well.
799 2007-02-21 Wim Taymans <wim@fluendo.com>
801 * gst/gstmessage.c: (gst_message_parse_duration):
803 Remove new messages for release.
805 2007-02-20 Wim Taymans <wim@fluendo.com>
807 * docs/design/part-gstghostpad.txt:
808 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
809 (gst_ghost_pad_new_full):
810 Make the ghostpad a parent of the internal pad again for better backward
811 compatibility. Don't write code that relies on this however.
813 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
814 (gst_pad_link_check_hierarchy):
815 Require that parents should be GstElements in the hierarchy check.
817 2007-02-20 Wim Taymans <wim@fluendo.com>
819 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
820 (gst_bin_change_state_func), (bin_query_min_max_init),
821 (bin_query_latency_fold), (bin_query_latency_done),
824 Implement latency query.
826 2007-02-20 Wim Taymans <wim@fluendo.com>
828 * docs/design/part-gstghostpad.txt:
829 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
830 (gst_ghost_pad_internal_do_activate_push),
831 (gst_ghost_pad_internal_do_activate_pull),
832 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
833 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
834 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
835 Do not set the internal pad as a parent anymore so we can avoid
836 hierarchy linking errors when the ghostpad has no parent yet. This also
837 fixes failed activation because of unlinked internal pads, which in
838 turn fixes the impossible case where you have to activate a pad before
839 you can add it to a running element.
842 * gst/gstpad.c: (pre_activate), (post_activate),
843 (gst_pad_set_active), (gst_pad_activate_pull),
844 (gst_pad_activate_push), (gst_pad_check_pull_range):
845 Add some more debug info.
846 Mark activation mode in pre_activate so that we don't try to activate in
847 endless loops. Fixes #385084.
849 2007-02-19 Wim Taymans <wim@fluendo.com>
851 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
852 (gst_base_transform_check_get_range):
853 Implement a checkgetrange function instead of relying on the default
854 core behaviour that assumes we can operate in pull mode if we have a
855 getrange function. First step at fixing #385084.
857 2007-02-15 Stefan Kost <ensonic@users.sf.net>
859 * gst/gstchildproxy.h:
860 * libs/gst/base/gstbasesink.h:
861 * libs/gst/base/gstbasesrc.h:
862 * libs/gst/base/gstbasetransform.h:
863 More docs coverage and some ChangeLog surgery (add missing names)
865 2007-02-15 Wim Taymans <wim@fluendo.com>
867 * docs/design/part-TODO.txt:
868 * docs/design/part-activation.txt:
869 * docs/design/part-block.txt:
870 * docs/design/part-buffering.txt:
871 * docs/design/part-clocks.txt:
872 * docs/design/part-element-source.txt:
873 * docs/design/part-events.txt:
874 * docs/design/part-gstbin.txt:
875 * docs/design/part-gstbus.txt:
876 * docs/design/part-gstpipeline.txt:
877 * docs/design/part-live-source.txt:
878 * docs/design/part-messages.txt:
879 * docs/design/part-overview.txt:
880 * docs/design/part-qos.txt:
881 * docs/design/part-query.txt:
882 * docs/design/part-states.txt:
883 * docs/design/part-trickmodes.txt:
884 Some doc updates. Start renaming from stream_time to running_time where
887 2007-02-15 Wim Taymans <wim@fluendo.com>
889 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
890 Answer LATENCY query.
892 2007-02-15 Wim Taymans <wim@fluendo.com>
894 * tests/check/gst/gstevent.c: (event_probe), (test_event),
898 2007-02-15 Wim Taymans <wim@fluendo.com>
900 * gst/gstpad.c: (gst_pad_get_internal_links_default),
901 (gst_pad_dispatcher):
902 Improve debugging of default pad dispatcher and query functions.
904 2007-02-15 Wim Taymans <wim@fluendo.com>
906 * docs/gst/gstreamer-sections.txt:
907 Remove old unused method.
909 2007-02-13 Wim Taymans <wim@fluendo.com>
911 * tests/check/gst/gstsegment.c: (GST_START_TEST):
914 2007-02-13 Wim Taymans <wim@fluendo.com>
916 * docs/design/part-seeking.txt:
919 * gst/gstsegment.c: (gst_segment_set_seek):
920 Revert old bogus change that should make seeking work again.
922 2007-02-13 Stefan Kost <ensonic@users.sf.net>
924 * docs/random/ensonic/dynlink.txt:
925 * docs/random/ensonic/interfaces.txt:
926 * docs/random/ensonic/receipies.txt:
927 Possible dynamic reconnection api, plus some type fixes the other two
930 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
932 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
933 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
934 Also check for an absolute path following file:// in the filesrc
935 element. Remove redundant check and call g_path_is_absolute() on the
938 2007-02-13 Stefan Kost <ensonic@users.sf.net>
940 * docs/design/draft-klass.txt:
941 Add existing category analysis.
944 Fix doc example, framerate is a fraction.
946 2007-02-12 Stefan Kost <ensonic@users.sf.net>
949 * docs/gst/Makefile.am:
950 * docs/libs/Makefile.am:
951 * docs/plugins/Makefile.am:
952 Add crossreferences to glib/gobject docs.
954 2007-02-12 Wim Taymans <wim@fluendo.com>
956 * docs/design/draft-latency.txt:
959 * docs/libs/gstreamer-libs-sections.txt:
960 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
961 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
962 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
963 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
964 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
965 (gst_base_sink_get_position), (gst_base_sink_query),
966 (gst_base_sink_change_state):
967 * libs/gst/base/gstbasesink.h:
968 API: gst_base_sink_query_latency() to let subclasses query the upstream
970 API: gst_base_sink_get_latency() to let subclasses query the configured
972 Implement query and set latency.
974 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
975 don't continue preroll when we are flushing. Fixes #405284.
977 * tests/check/pipelines/stress.c: (change_state_timeout),
978 (quit_timeout), (GST_START_TEST), (stress_suite):
981 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
983 Patch by: René Stadler <mail at renestadler de>
985 * docs/gst/gstreamer-sections.txt:
986 * gst/gsttaglist.c: (_gst_tag_initialize):
988 API: add GST_TAG_REFERENCE_LEVEL (#403597).
990 2007-02-11 Stefan Kost <ensonic@users.sf.net>
992 * docs/libs/Makefile.am:
993 Fix path to core docs.
995 * gst/gstbin.c: (gst_bin_get_by_interface),
996 (gst_bin_iterate_all_by_interface):
997 Refix docs by also renaming 'interface' to 'iface' in implementation.
999 * docs/gst/gstreamer-sections.txt:
1001 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1002 * gst/gstchildproxy.h:
1003 * gst/gstelementfactory.c:
1004 * gst/gstpadtemplate.h:
1005 * libs/gst/controller/gstcontroller.c:
1006 (gst_controlled_property_new):
1009 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
1011 * gst/gstbin.h:(gst_bin_get_by_interface),
1012 (gst_bin_iterate_all_by_interface):
1013 Replace interface parameter name by iface as interface is
1014 a reserved keyword in Visual Studio for C++ projects so it removes
1015 a build error for application developpers using VS.
1016 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1017 Fix a bug on Windows in uri format check. Now the prefix checked
1018 is file:// and next we check if the path after file:// is absolute.
1019 * win32/common/libgstbase.def:
1020 * win32/common/libgstdataprotocol.def:
1021 * win32/common/libgstgstreamer.def:
1022 Add new exported functions.
1024 2007-02-09 Andy Wingo <wingo@pobox.com>
1026 * tests/check/pipelines/simple-launch-lines.c
1027 (simple_launch_lines_suite, test_tee): Disable tee test until I
1028 have time to fix it :-(
1030 * tests/check/Makefile.am (noinst_HEADERS):
1031 * tests/check/libs/libsabi.c:
1032 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1033 * tests/check/gst/gstabi.c:
1034 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1036 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1037 tests for push and pull tee behavior.
1039 * plugins/elements/gsttee.h:
1040 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1041 mark as deprecated as well as unimplemented. It was a crack idea.
1042 Add support for tee operating in pull mode, off by default.
1044 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1045 normal-case logs down to LOG, raise errors to WARNING.
1046 (gst_registry_xml_read_cache): Don't log before calling a function
1049 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1050 exit (registry finalize).
1051 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1052 DEBUG log when we emit signals that people don't even have the
1053 chance to connect to.
1054 (gst_registry_scan_path_level): Less logging in the normal case.
1056 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1058 Patch by: Michal Benes <michal dot benes at itonis dot tv>
1060 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1061 Correctly generate EOS for non-seekable files. We don't have a total
1062 length for them and would get an unexpected end of file if we only
1063 special-cased for regular files. (Fixes: #404569)
1065 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1067 * tests/check/elements/filesrc.c: (GST_START_TEST),
1069 Add unit test for the GstURIHandler interface in filesrc. This also
1070 tests the newly added file://localhost/foo/bar support.
1072 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
1074 * gst/gstelementfactory.h:
1075 The klass string is not a hierarchy. Add reference to the design doc
1076 for more information and common types.
1078 2007-02-02 Wim Taymans <wim@fluendo.com>
1080 * gst/gstquery.c: (gst_query_new_latency):
1081 Remove old structure field.
1083 2007-02-02 Stefan Kost <ensonic@users.sf.net>
1085 * tools/gst-launch.1.in:
1086 Give example for network streaming (#351998)
1088 2007-02-02 Wim Taymans <wim@fluendo.com>
1090 * docs/gst/gstreamer-sections.txt:
1091 Add docs for new methods.
1093 * gst/gstevent.c: (gst_event_new_latency),
1094 (gst_event_parse_latency):
1096 Add new LATENCY event to configure latency in a pipeline.
1097 API: gst_event_new_latency
1098 API: gst_event_parse_latency
1100 * gst/gstmessage.c: (gst_message_new_buffering),
1101 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1102 (gst_message_new_latency), (gst_message_parse_buffering),
1103 (gst_message_parse_lost_preroll):
1105 Added messages used in draft-latency.
1106 API: gst_message_new_lost_preroll
1107 API: gst_message_parse_lost_preroll
1108 API: gst_message_new_prerolled
1109 API: gst_message_new_latency
1111 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1112 (gst_query_parse_latency):
1114 Implemented new latency query as in design doc.
1115 API: gst_query_new_latency
1116 API: gst_query_set_latency
1117 API: gst_query_parse_latency
1119 2007-02-02 Wim Taymans <wim@fluendo.com>
1121 * docs/design/draft-latency.txt:
1122 Slight redesign to allow for dynamic latency adjustments.
1124 * docs/design/part-negotiation.txt:
1127 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
1129 reviewed by: Wim Taymans <wim@fluendo.com>
1131 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1132 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1133 Allow file://localhost/foo/bar URLs and correctly fail for every other
1134 hostname that one sets. This was gnomevfssrc is linked for those if
1135 installed as it can handle it (#403172)
1137 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1139 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1141 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1142 (unref_data), (gst_collect_pads_add_pad_full):
1143 * libs/gst/base/gstcollectpads.h:
1144 Don't put the previously added destroy notify in the GstCollectData
1145 struct as all it's padding is already used and we don't want to break
1146 ABI. Instead put in the pad's GObject data for now. This should be
1147 cleaned up for 0.11 (#402393).
1149 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1151 reviewed by: Wim Taymans <wim@fluendo.com>
1153 * docs/libs/gstreamer-libs-sections.txt:
1154 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1155 (unref_data), (gst_collect_pads_add_pad),
1156 (gst_collect_pads_add_pad_full):
1157 * libs/gst/base/gstcollectpads.h:
1158 API: Add function to specify a destroy notification for custom
1159 GstCollectData when adding new pads in GstCollectPads (#402393).
1161 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
1164 Update Swedish translation (#378255).
1166 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1168 * docs/design/draft-klass.txt:
1169 Fix the previous change, this is a list of categories and not a hierarchy.
1171 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1173 * docs/design/draft-klass.txt:
1174 Add info about how to get a list of used classes.
1176 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
1178 * plugins/elements/gsttypefindelement.c:
1179 (gst_type_find_element_chain_do_typefinding),
1180 (gst_type_find_element_change_state):
1181 Don't leak found caps in chain function (no idea why that never
1182 showed up as a leak anywhere).
1184 2007-01-30 Stefan Kost <ensonic@users.sf.net>
1187 Fix and expand GstPluginDesc API docs.
1189 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1192 * gst/gstelementfactory.c:
1193 * gst/gstpadtemplate.h:
1196 * libs/gst/controller/gstcontroller.c:
1197 (gst_controlled_property_new):
1198 * tests/examples/controller/audio-example.c:
1201 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1204 comment about refining the xml deps
1207 comments about moving away from jade for docs
1210 recommit the ifdefs to use the binary registry
1212 * gst/gstbin.c: (gst_bin_change_state_func):
1213 this break is obsolete
1215 * gst/gstelementfactory.h:
1216 better GST_ELEMENT_DETAILS docs, add comment about translation
1221 * gst/gstobject.c: (gst_signal_object_get_type):
1222 add G_UNLIKELY as usual
1224 * gst/gstpad.c: (gst_pad_event_default):
1225 add fall trhu comment
1227 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1228 (gst_registry_binary_initialize_magic),
1229 (gst_registry_binary_save_string),
1230 (gst_registry_binary_save_pad_template),
1231 (gst_registry_binary_save_feature),
1232 (gst_registry_binary_save_plugin),
1233 (gst_registry_binary_write_cache),
1234 (gst_registry_binary_check_magic),
1235 (gst_registry_binary_load_pad_template),
1236 (gst_registry_binary_load_feature),
1237 (gst_registry_binary_load_plugin),
1238 (gst_registry_binary_read_cache):
1239 comment typo and formatting
1241 * gst/gstutils.c: (gst_element_state_get_name),
1242 (gst_element_state_change_return_get_name):
1243 remove obsolete breaks
1245 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1246 add FIXME 0.11 and remove cpp comment
1248 2007-01-29 Edward Hervey <edward@fluendo.com>
1250 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1251 Fix print statement in an even more portable way.
1253 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
1255 * docs/gst/gstreamer-sections.txt:
1257 API: add GST_ROUND_DOWN_* macros (#401781).
1259 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
1261 * docs/gst/gstreamer.types.in:
1262 * gst/gstregistry.c: (gst_registry_class_init):
1263 Document registry signals and make gtk-doc pick them up (#401381).
1265 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1267 * docs/pwg/building-testapp.xml:
1268 Add some audioconverts and audioresample to the pipeline, and some
1269 more comments and error handling.
1271 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1273 * docs/manual/manual.xml:
1277 2007-01-26 Wim Taymans <wim@fluendo.com>
1279 * gst/gstcaps.c: (gst_static_caps_get):
1280 Init caps flags too.
1282 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
1284 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1286 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1287 If not using mmap'ed files try to seek to the end instead of the
1288 start to determine whether we can seek at all. This fixes the case
1289 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1290 seeks for everything afterwards fail. Fixes #400656
1292 2007-01-25 Wim Taymans <wim@fluendo.com>
1294 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1295 Add some refcount debugging.
1296 Make gst_static_caps_get threadsafe, which is needed when autoplugging
1297 in multiple streaming threads.
1299 2007-01-25 Wim Taymans <wim@fluendo.com>
1301 Patch by: David Schleef <ds at schleef dot org>
1303 * docs/libs/gstreamer-libs-sections.txt:
1304 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1305 * libs/gst/base/gstadapter.h:
1306 API: gst_adapter_copy() that can reduce the amount of memcpy when
1307 getting data from the adapter. Fixes #388201.
1309 2007-01-25 Edward Hervey <edward@fluendo.com>
1311 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1312 In print statements, "%x" is for guint. Fixes build on macosx.
1314 2007-01-24 Edward Hervey <edward@fluendo.com>
1316 * plugins/elements/gstmultiqueue.c:
1317 (gst_multi_queue_loop):
1319 (single_queue_overrun_cb), (single_queue_underrun_cb),
1320 (single_queue_check_full), (gst_single_queue_new):
1321 Implement single queue growth system.
1322 This uses the extra-size properties, and will grow single queues by
1323 that much if one goes full whereas there are others empty. This is
1324 called extra-mode in the code.
1325 When a single queue's levels go back below the initial max-size
1326 limits, it is no longer in extra-mode. This is to ensure we don't
1327 consume too much memory.
1330 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
1332 * gst/gst.c: (gst_init_get_option_group):
1333 Make warning about late g_thread_init() calls a bit more explicit,
1334 so that it's more obvious to application developers what they need
1335 to do if a user files a bug against their application.
1337 2007-01-22 Edward Hervey <edward@fluendo.com>
1339 * plugins/elements/gstmultiqueue.c:
1340 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1341 Remove previous hack of unsetting the flushing flag for the source pad
1342 instead of activating it. Instead, fix the source pad activate function
1343 so that it no longer depends on having a parent set or not.
1345 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
1347 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1349 * docs/manual/basics-bus.xml:
1350 Fix example code, gst_element_unref() doesn't exist any longer.
1352 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
1354 Patch by: Mark Nauwelaerts <manauw at skynet be>
1357 Fix two docs typoes (#399094).
1359 2007-01-19 Edward Hervey <edward@fluendo.com>
1361 * docs/faq/gst-uninstalled:
1362 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1363 depending on libgstbaseutils can work in uninstalled environment.
1365 2007-01-18 Stefan Kost <ensonic@users.sf.net>
1368 * gst/gsttagsetter.c:
1369 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1370 statement for new tag.
1372 2007-01-17 Edward Hervey <edward@fluendo.com>
1374 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1375 When dynamically creating single queues, activate sinkpad before adding
1377 We should be doing the same thing for the source pad, but we can't
1378 since it would call a method which needs the parent to be set in order
1379 to work propertly. Instead of activating the source pad, we just unset
1380 the flushing flag, which is the minimal requirement for adding a pad
1381 to an element in a state greater than READY.
1383 2007-01-17 Edward Hervey <edward@fluendo.com>
1385 * docs/faq/gst-uninstalled:
1386 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1389 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
1391 * tests/check/gst/gstabi.c:
1392 * tests/check/gst/struct_hppa.h:
1393 * tests/check/libs/libsabi.c:
1394 * tests/check/libs/struct_hppa.h:
1395 Add ABI structs for HPPA (see #393796).
1397 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
1399 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1400 Actually write ABI structs to the file specified in the GST_ABI
1401 environment variable, as the message we print claims we would.
1403 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1405 * tests/check/gst/gsttask.c:
1408 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1410 * gst/gsttaglist.c: (_gst_tag_initialize):
1411 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1412 previous two entries.
1414 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1416 * docs/gst/gstreamer-sections.txt:
1417 * gst/gsttaglist.c: (_gst_tag_initialize):
1419 Add tag support for beat-per-minute.
1421 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1423 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1424 (gst_registry_binary_initialize_magic),
1425 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1426 (gst_registry_binary_save_pad_template),
1427 (gst_registry_binary_save_feature),
1428 (gst_registry_binary_save_plugin),
1429 (gst_registry_binary_write_cache),
1430 (gst_registry_binary_check_magic),
1431 (gst_registry_binary_load_pad_template),
1432 (gst_registry_binary_load_feature),
1433 (gst_registry_binary_load_plugin),
1434 (gst_registry_binary_read_cache):
1435 * gst/gstregistrybinary.h:
1436 Use glib types, cleanup comments, impement interfaces and uri-types.
1438 2007-01-13 Andy Wingo <wingo@pobox.com>
1440 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1441 getrange() to return buffers with other caps, while we fix
1442 demuxers and typefind, or otherwise change part-negotiation.txt.
1444 2007-01-12 Andy Wingo <wingo@pobox.com>
1446 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1447 Factor start/stop into this private function instead of partially
1448 in activate functions and partially in the change_state function.
1449 Fixes setup before the element has changed from READY->PAUSED, as
1450 is the case in pull-mode pipelines.
1451 (gst_base_transform_sink_activate_push)
1452 (gst_base_transform_src_activate_pull): Refactor to use
1453 gst_base_transform_activate().
1454 (gst_base_transform_change_state): Removed, not needed any more.
1456 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1457 Truncate before fixating.
1459 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1460 Don't set_caps() if the result of fixating is ANY, as it's not
1461 supported, and not necessary in the case of a link with no
1462 template caps on either side. Fixes tests/check/libs/basesrc in
1463 some pull-mode tests.
1465 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1466 (gst_base_transform_init, gst_base_transform_sink_activate_push)
1467 (gst_base_transform_src_activate_pull):
1468 Track the activation mode.
1469 (gst_base_transform_setcaps): In pull mode, when activating the
1470 src pad, after activating the sink pad, activate the sink pad's
1471 peer, as discussed in part-negotiation.txt.
1473 * libs/gst/base/gstbasesrc.h:
1474 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1475 vmethod, as in basesink.
1477 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1479 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1480 mode, first proxy the setcaps to the peer pad.
1481 (gst_base_sink_pad_fixate): Add a fixate function that calls the
1483 (gst_base_sink_default_activate_pull): Rename from
1484 gst_base_sink_activate_pull.
1485 (gst_base_sink_negotiate_pull): New function, performs negotiation
1486 in pull mode before calling ::activate_pull().
1487 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1488 vmethod instead of the default implementation. I have no idea how
1489 this worked before. Negotiate before calling activate_pull.
1491 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1492 sink pads in pull mode. In addition to being correct, fixes
1493 filesrc ! decodebin ! identity ! fakesink.
1494 (gst_pad_get_range, gst_pad_pull_range): Don't call
1495 gst_pad_set_caps() if the caps changes; instead error out with
1496 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1498 2007-01-12 Andy Wingo <wingo@pobox.com>
1500 * docs/design/part-negotiation.txt: Update with more policy.
1502 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1504 * libs/gst/check/gstbufferstraw.h:
1505 * libs/gst/check/gstcheck.h:
1506 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1509 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1511 * tests/check/Makefile.am:
1512 * tests/check/gst/.cvsignore:
1513 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1514 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1515 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1516 (GST_START_TEST), (gst_tag_setter_suite):
1517 Add minimal unit test for beforementioned GstTagSetter bug.
1519 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1521 Patch by: René Stadler <mail at renestadler dot de>
1523 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1524 gst_tag_list_merge() returns a new list, so it's not the best idea
1525 to ingore its return value. Effectively meant that tags could only
1526 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1527 Also add function guard to require a non-NULL taglist as input (has
1528 always been so due to gst_tag_list_copy(), just making it explicit).
1530 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1532 * docs/random/draft-missing-plugins.txt:
1533 Some additions: mention new API that is supposed to be used at the
1534 various stages; short blob about new gst-inspect introspection
1535 option; mention potential future problem with plugins that have
1536 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1538 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1540 * tools/gst-inspect.c:
1541 (print_plugin_automatic_install_info_codecs),
1542 (print_plugin_automatic_install_info_protocols),
1543 (print_plugin_automatic_install_info), (main):
1544 Add --print-plugin-auto-install-info option to gst-inspect, so we can
1545 introspect plugin files and get machine-parsable output that corresponds
1546 to the last bit of the missing-plugin installer string (small gotcha:
1547 doesn't take into account ranks).
1549 2007-01-11 Stefan Kost <ensonic@users.sf.net>
1552 * docs/gst/gstreamer-sections.txt:
1554 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1555 (gst_registry_lookup_locked):
1556 * gst/gstregistry.h:
1557 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1558 (gst_registry_binary_initialize_magic),
1559 (gst_registry_binary_save_string),
1560 (gst_registry_binary_save_pad_template),
1561 (gst_registry_binary_save_feature),
1562 (gst_registry_binary_save_plugin),
1563 (gst_registry_binary_write_cache),
1564 (gst_registry_binary_check_magic),
1565 (gst_registry_binary_load_pad_template),
1566 (gst_registry_binary_load_feature),
1567 (gst_registry_binary_load_plugin),
1568 (gst_registry_binary_read_cache):
1569 * gst/gstregistrybinary.h:
1570 * gst/gstregistryxml.c: (load_feature),
1571 (gst_registry_xml_read_cache):
1572 commit binary registry (disabled by default, see #359653)
1574 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1576 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1577 Fix 'make check' too.
1579 2007-01-10 Andy Wingo <wingo@pobox.com>
1581 * docs/design/part-negotiation.txt: Fix a typo, add a couple
1584 * docs/design/part-negotiation.txt: Update with, um, one way that
1585 pull-mode negotiation might work?
1588 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1589 that the pad must be a src pad; makes sense to call it the other
1590 way in pull mode, and the logic is symmetric anyway.
1592 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
1594 * plugins/elements/gstfilesink.c:
1595 Include <stdio.h> for fseeko().
1597 2007-01-10 Wim Taymans <wim@fluendo.com>
1601 Reserve LATENCY event.
1603 2007-01-09 Wim Taymans <wim@fluendo.com>
1605 * docs/design/draft-latency.txt:
1608 2007-01-09 Wim Taymans <wim@fluendo.com>
1610 * docs/design/draft-latency.txt:
1614 * gst/gststructure.c:
1618 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
1620 * tests/check/.cvsignore:
1621 Ignore test-registry.xml as well.
1623 2007-01-09 Wim Taymans <wim@fluendo.com>
1625 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1626 unref data at the end when we are done with the pad.
1628 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1630 * docs/gst/gstreamer-sections.txt:
1631 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1632 (init_post), (gst_deinit), (gst_update_registry):
1634 API: add gst_update_registry() (#391296).
1636 * tests/check/Makefile.am:
1637 * tests/check/gst/gstregistry.c:
1638 * tests/check/gst/.cvsignore:
1639 Simple unit test for the above.
1641 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1643 * gst/gstregistry.c: (gst_registry_scan_path_level):
1644 Plugin extension on HP-UX is .sl, add that to the list of approved
1645 plugin extensions (see #393796).
1647 * tests/check/gst/gstpad.c: (GST_START_TEST):
1648 ulong => gulong. Fixes compilation with HP-UX compiler.
1650 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1651 Fix compilation if valgrind headers are not available.
1653 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
1655 * win32/common/libgstreamer.def:
1656 Add new exported function.
1657 * win32/vs6/libgstbase.dsp:
1658 Add gstdataqueue.c to the build.
1659 * win32/vs6/libgstcoreelements.dsp:
1660 Add gstmultiqueue.c to the build.
1662 2007-01-06 Andy Wingo <wingo@pobox.com>
1664 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1665 activate_pull(), providing for a way to specialize the process of
1666 spawning a thread to pull on the sink pad. There is a default
1669 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1670 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1671 (gst_base_sink_init): Renamed pad activation functions (inserting
1672 "_pad" in their names). Refactor to use the new activate_pull
1673 vmethod, as appropriate.
1674 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1675 default activate_pull function to start a task pulling from the
1676 sink pad, as before.
1678 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1679 on the pads if necessary, as in push()/chain(). Update docs.
1680 Shouldn't affect existing pull() usage as it is currently only
1681 being used on buffers without caps.
1683 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1685 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1687 Call g_thread_init() first thing in gst_init() / gst_check_init().
1688 When initialisation is done via gst_init_get_option_group() and
1689 GOption parsing, issue a warning if the GLib thread system has not
1690 been initialised yet by the time gst_init_get_option_group() is
1691 called, as it's quite likely other GLib functions such as
1692 g_option_context_new() have been called already then, and
1693 g_thread_init() must be called before any other GLib function. The
1694 application in question must be fixed in that case, since memory
1695 corruption might happen otherwise.
1696 We issue the warning because even if the GLib folks decide to work
1697 around the problem on their end in future, this is still an issue
1698 with all GLib versions >= 2.10.0, so we should warn until we depend
1699 on a GLib version we know to be safe.
1700 Update documentation as well.
1703 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1705 * tools/gst-inspect.c: (main):
1706 * tools/gst-launch.c: (main):
1707 * tools/gst-typefind.c: (main):
1708 * tools/gst-xmlinspect.c: (main):
1709 Call g_thread_init() really really early, before any other GLib
1710 function (see #342564 and recent discussion on gtk-devel-list).
1712 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1714 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
1716 * gst/gst_private.h:
1717 * gst/gstconfig.h.in:
1719 On win32, all the __declspec stuff for symbol exporting is
1720 apparently only needed with MSVC, but doesn't work with MingW.
1721 Fixes compilation with MingW and #391909.
1723 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1725 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1726 Change some GST_ERROR_OBJECT that aren't really errors to
1727 GST_WARNING_OBJECT in order to reduce terminal spam.
1729 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1731 * tests/check/Makefile.am:
1732 disable test again, as there seem to be still race problems
1734 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1736 * tests/check/Makefile.am:
1737 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1738 (GST_START_TEST), (queue_suite):
1739 enable queue test again, add tests for the leaky behaviour
1741 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
1744 * tests/examples/Makefile.am:
1745 Compile adapter test/example only if the required headers are
1746 available (fixes #391915).
1748 2007-01-01 David Schleef <ds@schleef.org>
1751 Restore the previous signal handler for SIGSEGV instead of
1752 setting to default, since we may have stolen it away from
1753 someone. (i.e., Mono)
1755 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1757 * docs/random/draft-missing-plugins.txt:
1758 Some small additions and clarifications.
1760 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1762 * gst/gstregistryxml.c: (gst_registry_save_escaped):
1763 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1764 since that can lead to random memory corruptions and crashes
1765 (may or may not be related to #383244, #386711, and #386711).
1767 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1769 * tests/check/.cvsignore:
1770 * tests/check/Makefile.am:
1771 sync .cvsignome and CLEANFILES
1773 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1775 * tests/check/Makefile.am:
1778 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1780 * docs/design/part-states.txt:
1781 two tiny additional comments
1783 * gst/gststructure.c:
1786 * tests/check/Makefile.am:
1787 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1789 disable test for now, unless it gets fixed
1791 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1793 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1795 fix race in underrun test
1797 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1799 * tests/check/elements/.cvsignore:
1802 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1804 try to narrow test failure
1806 2006-12-21 David Schleef <ds@schleef.org>
1808 * plugins/elements/gstfakesrc.c:
1809 Use g_random_int_range(), since it produces better random
1810 numbers in a range than almost-correct floating point code.
1812 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1814 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1815 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1816 (gst_check_teardown_sink_pad):
1817 do not automatically (de)activate pads
1819 * tests/check/Makefile.am:
1820 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1821 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1822 add new, yet simple tests for queue
1824 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1825 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1826 * tests/check/elements/filesrc.c: (cleanup_filesrc),
1828 * tests/check/elements/identity.c: (cleanup_identity):
1829 consistent pad (de)activation
1831 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
1833 Patch by: Sebastian Dröge <slomo ubuntu com>
1835 * libs/gst/base/gstcollectpads.c:
1836 Fix two doc typos (#387866).
1838 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1840 * docs/manual/advanced-dparams.xml:
1841 Fix typo (g_object_control_properties() doesn't exist).
1843 2006-12-19 Edward Hervey <edward@fluendo.com>
1845 * gst/gstsegment.c: (gst_segment_set_seek):
1846 Fine tune the cases where the segment start/stop values are really
1848 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1849 Add tests for the return values of gst_segment_set_seek().
1851 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1856 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1858 Fix incorrect documentation and flesh it out a bit more.
1859 Set default values for the max properties on the GParamSpec as well,
1860 so it shows up correctly in gst-inspect.
1862 2006-12-18 Stefan Kost <ensonic@users.sf.net>
1864 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1865 Correct docs of queue, add more detail and crosslink it more.
1867 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1869 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1870 Print additional debug info when the stream isn't perfectly
1871 timestamped; don't try to use invalid durations.
1873 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1875 * docs/design/Makefile.am:
1876 Dist new design docs.
1878 2006-12-16 Wim Taymans <wim@fluendo.com>
1880 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1882 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
1883 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1884 (gst_collect_pads_stop), (gst_collect_pads_event),
1885 (gst_collect_pads_chain):
1886 * libs/gst/base/gstcollectpads.h:
1887 Add refcounting to the collectpads data so we can track when it's safe
1888 to free the data. Fixes #383382.
1890 2006-12-15 Wim Taymans <wim@fluendo.com>
1892 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1893 (gst_collect_pads_remove_pad):
1894 Automatically activate/deactivate pads when they are added to a
1895 started/stoped collectpads.
1897 2006-12-15 Wim Taymans <wim@fluendo.com>
1899 * gst/gstelement.c: (gst_element_add_pad):
1900 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1901 * gst/gstpad.c: (gst_pad_init):
1902 Set pads to FLUSHING when they are created. Check, warn and fix when a
1903 demuxer adds an inactive pad to itself when running. Fixes #339326.
1905 2006-12-15 Wim Taymans <wim@fluendo.com>
1907 * gst/gstelement.c: (gst_element_class_init),
1908 (gst_element_default_send_event), (gst_element_send_event),
1909 (gst_element_default_query), (gst_element_query):
1910 Expose default element send_event and query handling as vmethods that
1911 subclasses can chain up to.
1913 2006-12-15 Wim Taymans <wim@fluendo.com>
1915 * gst/gstelement.c: (gst_element_set_state_func):
1916 Small documentation fixes.
1918 2006-12-15 Wim Taymans <wim@fluendo.com>
1920 * docs/design/draft-latency.txt:
1921 Checked in draft for handling latency in pipelines.
1923 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
1927 * gstreamer.spec.in:
1930 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
1932 * gst/gst.c: (init_pre), (init_post):
1933 init_pre() and init_post() might be called via our GOptionGroup or
1934 from gst_init(), and we should skip both of them if we've already
1935 been initialised, otherwise we will init some things twice or add
1936 two default log functions.
1938 2006-12-13 Edward Hervey <edward@fluendo.com>
1940 * docs/manual/basics-bus.xml:
1941 No, gst_main_loop does not exist. Its g_main_loop.
1942 Discovered by somebody who abused the copy-paste technique of coding :)
1944 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
1946 * gst/gstghostpad.c:
1947 Log ghostpad debug stuff to the GST_PADS category as well rather
1948 than just to the default category.
1950 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
1953 * gst/gst.c: (init_pre):
1954 Add some basic system details such as OS and architecture
1955 to the debug output if possible, courtesy of uname().
1957 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
1959 * docs/gst/running.xml:
1960 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
1961 environment variables.
1963 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
1965 * tests/check/gst/gstbin.c: (GST_START_TEST):
1966 It is acceptable to have a refcount of 2 or 3 at this point in the
1967 test, because the pipeline might be just posting its state_change
1968 message. The next line then waits for that message to appear using
1969 bus_poll, so that should be fine too.
1971 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
1973 * gst/gst.c: (ensure_current_registry_forking):
1974 Ignore EINTR when reading from the child registry pipe.
1975 Explicitly ignore the return value from close, since it makes no
1978 * gst/gstminiobject.c: (gst_mini_object_ref),
1979 (gst_mini_object_unref):
1980 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
1982 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
1983 When removing cached plugins, remove their features too, so they're
1984 not visible after they've disappeared.
1986 * gst/gstutils.c: (prepare_link_maybe_ghosting):
1987 In the unlikely case that we are linking pads with no parents, don't
1988 crash trying to get the non-existent parent bin.
1990 * gst/parse/grammar.y:
1991 Output debug in the PIPELINE category
1993 2005-03-08 Wim Taymans <wim@fluendo.com>
1995 Patch by: René Stadler <mail at renestadler dot de>
1997 * gst/gstclock.c: (gst_clock_new_periodic_id):
1998 Reject invalid clock times for interval of periodic ids.
2001 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2003 * gst/gstelementfactory.c: (gst_element_factory_create):
2004 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2005 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2006 * tools/gst-inspect.c: (print_element_info):
2007 Fix refcounting of gst_plugin_feature_load to match the docs.
2010 2006-12-07 Wim Taymans <wim@fluendo.com>
2012 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2013 (gst_base_sink_get_position):
2014 Improve debugging of events.
2016 2006-12-07 Wim Taymans <wim@fluendo.com>
2018 Patch by: René Stadler <mail at renestadler dot de>
2020 * gst/gstclock.c: (gst_clock_id_wait):
2021 Make period ids add the interval to the origial requested time instead
2022 of the possibly updated time which can be wrong when there are multiple
2023 waiters for the same id. Fixes #382592.
2025 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2026 (gst_system_clock_id_wait_jitter_unlocked),
2027 (gst_system_clock_id_wait_jitter):
2028 Fix restart in the async notify thread when an async entry is added to
2029 the front of the list. Fixes #381492.
2031 * tests/check/gst/gstsystemclock.c: (store_callback),
2032 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2033 Added test for multiple async waits.
2034 Added test for async wait order.
2036 2006-12-07 Wim Taymans <wim@fluendo.com>
2038 * gst/gstbin.c: (gst_bin_query):
2039 Add some more docs about the POSITION query.
2041 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2044 Bump version nano - back to CVS.
2046 === release 0.10.11 ===
2048 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
2051 releasing 0.10.11, "Love never runs on time"
2053 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
2055 * win32/common/libgstbase.def:
2056 * win32/common/libgstreamer.def:
2057 * win32/vs8/libgstbase.vcproj:
2058 * win32/vs8/libgstcoreelements.vcproj:
2059 * win32/vs8/libgstreamer.vcproj:
2060 Fix compilation on win32 under VS8
2061 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2062 Partially fixes #381175
2064 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
2066 * gst/gstvalue.c: (gst_value_compare_fraction):
2067 If someone is foolish enough to compare 2 fractions with denominator =
2068 0, return UNORDERED rather than aborting.
2070 2006-11-28 Edward Hervey <edward@fluendo.com>
2072 * libs/gst/base/Makefile.am:
2073 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2074 (gst_data_queue_base_init), (gst_data_queue_class_init),
2075 (gst_data_queue_init), (gst_data_queue_new),
2076 (gst_data_queue_cleanup), (gst_data_queue_finalize),
2077 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2078 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2079 (gst_data_queue_is_empty), (gst_data_queue_is_full),
2080 (gst_data_queue_set_flushing), (gst_data_queue_push),
2081 (gst_data_queue_pop), (gst_data_queue_drop_head),
2082 (gst_data_queue_set_property), (gst_data_queue_get_property):
2083 * libs/gst/base/gstdataqueue.h:
2084 New GstDataQueue object for threadsafe queueing. Most useful for
2085 elements that need some queueing functionnality.
2086 * docs/libs/gstreamer-libs-docs.sgml:
2087 * docs/libs/gstreamer-libs-sections.txt:
2088 Insert documentation for GstDataQueue
2089 * plugins/elements/Makefile.am:
2090 * plugins/elements/gstelements.c:
2091 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2092 (gst_multi_queue_class_init), (gst_multi_queue_init),
2093 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2094 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2095 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2096 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2097 (gst_multi_queue_loop), (gst_multi_queue_chain),
2098 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2099 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2100 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2101 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2102 (wake_up_next_non_linked), (compute_next_non_linked),
2103 (single_queue_overrun_cb), (single_queue_underrun_cb),
2104 (single_queue_check_full), (gst_single_queue_new):
2105 * plugins/elements/gstmultiqueue.h:
2106 New multiqueue element, using GstDataQueue. Used for queuing multiple
2108 Closes #344639 and #347785
2110 2006-11-22 Stefan Kost <ensonic@users.sf.net>
2112 * docs/pwg/advanced-types.xml:
2113 add more missing type details
2115 * tools/gst-run.c: (main):
2116 remove unused variable
2118 2006-11-21 Stefan Kost <ensonic@users.sf.net>
2120 * docs/libs/Makefile.am:
2121 * docs/libs/gstreamer-libs.types:
2122 add types of base classes to enable gobject specific stuff in the docs
2124 * docs/random/ensonic/embedded.txt:
2125 more ideas about isolating platform specific things
2127 2006-11-20 Wim Taymans <wim@fluendo.com>
2129 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2131 * libs/gst/check/gstcheck.h:
2132 Fix compilation and running against 0.9.4. Fixes #377332.
2134 2006-11-20 Wim Taymans <wim@fluendo.com>
2136 * gst/gstsegment.c: (gst_segment_set_seek),
2137 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2138 (gst_segment_to_running_time):
2139 Fix boundary checking in to_running_time() and to_stream_time().
2142 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2143 stream and running time can now be calculated for the complete
2146 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
2148 * gst/gstpad.c: (gst_pad_push_event):
2149 Can't access event structure after giving away ownership of
2152 2006-11-15 Stefan Kost <ensonic@users.sf.net>
2154 * docs/random/ensonic/embedded.txt:
2155 * docs/random/ensonic/profiling.txt:
2156 * docs/random/ensonic/receipies.txt:
2159 2006-11-13 Wim Taymans <wim@fluendo.com>
2161 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2164 Fix documentation for gst_pad_dispatcher. Fixes #374475.
2166 2006-11-13 Wim Taymans <wim@fluendo.com>
2168 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2170 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2171 Store new length in segment duration so we don't keep on calling the
2172 potentially expensize get_size() call. Fixes #370865.
2174 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
2176 Patch by: Sergey Scobich <sergey.scobich at gmail com>
2178 * win32/common/libgstreamer.def:
2179 Add two missing symbols (#366492).
2181 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
2183 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2184 (gst_adapter_take_buffer):
2185 Fix format string to use all its arguments.
2186 Remove useless >= check on a guint
2188 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2190 * tests/examples/adapter/.cvsignore:
2191 Ignore build file as commanded by the build-bot
2193 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2195 * tests/examples/adapter/Makefile.am:
2196 * tests/examples/adapter/adapter_test.c: (run_test_take),
2197 (run_test_take_buffer), (run_tests), (main):
2199 Add new files from the previous commit
2201 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2205 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2206 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2207 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2208 * libs/gst/base/gstadapter.h:
2209 * tests/check/libs/adapter.c: (create_and_fill_adapter),
2210 (GST_START_TEST), (gst_adapter_suite):
2211 * tests/examples/Makefile.am:
2212 Do some optimisation work in GstAdapter to avoid copies in more cases.
2213 It could still do slightly better by merging buffers when
2214 gst_buffer_is_span_fast is true, but is already faster.
2216 Also, avoid traversing a single-linked list to append each incoming
2217 buffer inside the adapter.
2219 Add simple test app that times the adapter behaviour in different
2220 situations, and extend the unit test to check that bytes enter and
2221 exit the adapter in their original order.
2223 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
2225 * docs/random/draft-missing-plugins.txt:
2226 Update: use element message instead of adding a new message
2227 type to the core; don't provide GStreamer API to initiate the
2228 plugin download, just provide API to compose the strings needed
2229 and let an external libgimmestuff handle the rest.
2231 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
2233 * tools/gst-inspect.c: (print_element_properties_info):
2234 Print a string instead of 'unknown type' for GValueArray properties
2236 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
2238 * docs/random/draft-missing-plugins.txt:
2241 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2243 * tests/examples/typefind/typefind.c: (type_found), (main):
2244 Make typefind element example work again (#371894); add a
2247 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2249 * docs/random/draft-missing-plugins.txt:
2250 Commit initial draft about how to deal with missing plugins,
2251 needs work (API too).
2253 2006-11-07 Stefan Kost <ensonic@users.sf.net>
2255 * docs/pwg/advanced-types.xml:
2256 documents the new caps elements (see #363118)
2258 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2260 * gst/gstplugin.c: (gst_plugin_load_file):
2261 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2262 (gst_file_src_map_region), (gst_file_src_start):
2263 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2264 (gst_file_index_commit):
2265 Use g_strerror() instead of strerror() - we want UTF-8.
2267 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2269 Patch by: Peter Kjellerstedt <pkj at axis com>
2271 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2272 Another printf fix (#371493).
2274 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2276 * tests/check/gst/gsttag.c:
2277 relicence (okay with author=company)
2279 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2281 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2282 (gst_pad_push_event):
2283 Enhance debug and improve docs
2288 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2290 * docs/random/ensonic/distributed.txt:
2291 * docs/random/ensonic/profiling.txt:
2294 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2296 * docs/gst/gstreamer-sections.txt:
2297 add new API and fix the build
2299 * gst/gstbin.c: (gst_bin_recalc_state):
2300 * gst/gstelement.c: (gst_element_message_full),
2301 (gst_element_get_state_func), (gst_element_set_state_func):
2302 use new API and improve logging
2304 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2306 API: add function to get StateChangereturn names to improve logs
2308 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
2310 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2311 I'm considering shooting the next person to put strerror stuff
2312 in the translateable part of the message.
2314 2006-11-03 Wim Taymans <wim@fluendo.com>
2316 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2317 Get the type and printf conversion specifiers right.
2319 2006-11-03 Wim Taymans <wim@fluendo.com>
2321 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2323 * gst/gstpad.c: (gst_pad_init), (pre_activate),
2324 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2325 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2326 Some small cleanups. Improve debugging.
2328 Signal all waiting threads with a broadcast instead of just one.
2331 2006-11-03 Wim Taymans <wim@fluendo.com>
2333 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2334 (gst_fd_src_create):
2336 Only update fd when it's different from the old.
2338 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2340 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2341 Printf fixes for PPC/OSX, take two (#369366).
2343 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2345 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
2347 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2348 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2349 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2350 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2351 don't cast to long long for portability reasons, but use
2352 GLib's types instead.
2354 2006-10-30 Michael Smith <msmith@fluendo.com>
2356 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2357 Get the arguments to lseek() the right way around.
2360 2006-10-30 Wim Taymans <wim@fluendo.com>
2362 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2365 _declspec should be __declspec (two underscores, not one). Fixes 366572.
2367 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2369 Patch by: Kjartan Maraas <kmaraas at gnome org>
2371 * docs/design/part-MT-refcounting.txt:
2372 * docs/random/wtay/capsnego2-docs:
2375 Typo fixes (#366212).
2377 2006-10-28 Wim Taymans <wim@fluendo.com>
2379 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2382 * win32/common/libgstbase.def:
2383 * win32/common/libgstreamer.def:
2384 * win32/vs8/libgstbase.vcproj:
2385 * win32/vs8/libgstcontroller.vcproj:
2386 Add needed entries in .def files.
2388 Rearrange def files in vs8 solutions. Fixes #366286.
2390 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2392 * win32/common/gstconfig.h:
2393 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2394 hand-made win32 gstconfig.h. Fixes #366321.
2396 2006-10-27 Wim Taymans <wim@fluendo.com>
2398 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2399 (gst_ghost_pad_new_full):
2400 Make acceptcaps return TRUE when we don't have a target, just like
2403 2006-10-27 Wim Taymans <wim@fluendo.com>
2405 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2406 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2408 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
2410 * gst/gststructure.c: (gst_structure_id_set_value):
2411 If someone tries to set a non-UTF8 string field on a structure,
2412 don't just print a warning, but also ignore the request and do
2413 not change/add that field to the structure.
2415 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2418 2006-10-25 David Schleef <ds@schleef.org>
2421 g_hash_table_insert() needs a cast to a non-const pointer duh.
2423 2006-10-25 David Schleef <ds@schleef.org>
2427 Change name parameter of _gst_debug_register_funcptr to const
2428 to reflect the constness of its use in the function as well
2429 as to quiet a gcc warning.
2431 2006-10-25 Edward Hervey <edward@fluendo.com>
2433 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2434 Don't push the buffer if it's empty.
2437 2006-10-24 Wim Taymans <wim@fluendo.com>
2442 * libs/gst/base/gstbasetransform.c:
2443 (gst_base_transform_sink_eventfunc):
2444 Debug segment values *after* updating them as this is more
2447 2006-10-23 Wim Taymans <wim@fluendo.com>
2449 * docs/design/part-events.txt:
2452 * docs/design/part-block.txt:
2453 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2454 (gst_pad_push_event):
2455 Revert BLOCKING patch, it tries to be smart without really having a
2456 clear idea what or how. So, now we discard all FLUSHING events again on
2457 a blocking pad. Should fix gnonlin again.
2459 2006-10-23 Wim Taymans <wim@fluendo.com>
2461 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2463 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2464 (gst_base_src_start), (gst_base_src_activate_push):
2465 Make sure size is always initialized. Fixes #364388.
2467 2006-10-20 Stefan Kost <ensonic@users.sf.net>
2469 * docs/random/ensonic/distributed.txt:
2470 add some ideas about doing distributed processing
2472 * docs/random/ensonic/profiling.txt:
2473 get_rusage look promising
2475 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2477 * docs/manual/basics-helloworld.xml:
2478 Add a cast in example to fix compile warning
2480 2006-10-18 Wim Taymans <wim@fluendo.com>
2482 * gst/gstsegment.c: (gst_segment_set_last_stop),
2483 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2484 Relax arg checking again, -1 is allowed.
2486 2006-10-18 Wim Taymans <wim@fluendo.com>
2488 * gst/gstsegment.c: (gst_segment_set_last_stop),
2489 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2490 _set_last_stop() must be with a value != -1
2491 A _TYPE_SET to -1 means seek to 0.
2492 Calc last_stop correctly for negative rates.
2493 Make sure we work with positive durations when updating a segment.
2495 2006-10-18 Wim Taymans <wim@fluendo.com>
2497 * docs/design/part-live-source.txt:
2501 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
2504 Add an explicit cast to GstBuffer** to keep old code that added an
2505 explicit cast to GstMiniObject** for gst_mini_object_replace()
2506 compiling without warning.
2508 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2510 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2511 check for validity of dates
2513 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2515 * docs/gst/gstreamer-sections.txt:
2516 Forgot this one, makes gtk-doc shut up.
2518 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2520 Patch by: Peter Kjellerstedt <pkj at axis com>
2523 Don't define xmlNodePtr to gpointer if the core was built with
2524 --disable-loadsave and --disable-registry, this will break
2525 applications that want to use libxml2 but are buildling against a
2526 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2527 instead so we don't have to mess with the libxml2 namespace
2530 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2533 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2534 type-punned pointer warnings.
2536 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
2539 Add casts to the correct return type to state <=> state transition
2542 2006-10-16 Stefan Kost <ensonic@users.sf.net>
2544 * docs/design/part-live-source.txt:
2545 describe howto handle latency
2547 * docs/random/ensonic/profiling.txt:
2550 * tools/gst-plot-timeline.py:
2551 fix log parsing for solaris, remove unused function
2553 2006-10-16 Wim Taymans <wim@fluendo.com>
2555 * docs/design/part-trickmodes.txt:
2557 Update some docs regarding reverse playback.
2559 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
2561 Patch by: Marcus Granado <mrc dot gran at gmail com>
2563 * win32/vs8/grammar.vcproj:
2564 Error out with a warning if glib-genmarshal.exe is not in path,
2565 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2567 2006-10-13 Wim Taymans <wim@fluendo.com>
2569 * gst/gstsegment.c: (gst_segment_set_seek):
2570 When seeking to stop -1, set last_stop (current position) to the
2571 duration of the segment.
2573 2006-10-13 Wim Taymans <wim@fluendo.com>
2576 Clarify _NO_PREROLL a bit more.
2581 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2582 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2583 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2584 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2585 due to wrong locking order. Fixes #361769.
2586 Remove some redundant/misplaced checks in pad_block.
2588 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2589 For negative rates, count backwards from the duration.
2591 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
2593 * gst/gsterror.c: (_gst_library_errors_init):
2594 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2595 up with something better).
2597 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2599 * win32/vs6/libgstreamer.dsp:
2600 * win32/vs7/libgstreamer.vcproj:
2601 * win32/vs8/libgstreamer.vcproj:
2602 Don't reference glib-compat.c which is currently not used and not
2603 disted; add gstquark.c which was recently added. Fixes #361730.
2605 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2607 * win32/common/libgstbase.def:
2608 * win32/common/libgstcontroller.def:
2609 * win32/common/libgstreamer.def:
2610 Add gst_caps_merge() and a bunch of other recently-added functions.
2613 2006-10-11 Wim Taymans <wim@fluendo.com>
2615 * docs/plugins/gstreamer-plugins.args:
2616 * docs/plugins/inspect/plugin-coreelements.xml:
2617 * docs/plugins/inspect/plugin-coreindexers.xml:
2618 Update element args.
2620 * gst/gstsystemclock.c:
2621 Small comment update.
2623 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2624 (gst_tee_request_new_pad), (gst_tee_release_pad),
2625 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2626 (gst_tee_sink_activate_pull):
2627 * plugins/elements/gsttee.h:
2629 Add default property defines.
2630 Implement release pad function.
2631 Give properties better blubs etc.
2632 Activate pads before adding them to a running tee.
2633 Do simple buffer_alloc on the first requested pad.
2634 Post error when activation fails.
2636 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2638 * gst/gst.c: (ensure_current_registry_forking):
2639 Check return value of write() to make compiler happy.
2641 2006-10-11 Wim Taymans <wim@fluendo.com>
2643 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2645 * plugins/elements/gstqueue.c: (gst_queue_chain):
2646 Recheck queue filledness after signalling the overrun when we're about
2647 to leak downstream because we released the lock when emitting the signal
2648 and the queue could be empty again. Fixes #352345.
2650 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2652 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2653 Fix refcounting here too, just like we did for _new_valist() a few
2654 days ago (#357180) (thanks to René Stadler). Also remove all those
2655 'Since: 0.9' from the gtk-doc blobs.
2657 * tests/check/libs/controller.c: (controller_refcount_new_list),
2658 (gst_controller_suite):
2659 Unit test for the above.
2661 2006-10-10 Wim Taymans <wim@fluendo.com>
2663 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2665 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2666 (gst_pad_save_thyself):
2668 Write pad direction in XML output. Fixes #345496.
2670 2006-10-10 Wim Taymans <wim@fluendo.com>
2672 Patch by: René Stadler <mail at renestadler dot de>
2674 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2675 (gst_controller_new_list), (_gst_controller_dispose),
2676 (_gst_controller_finalize), (_gst_controller_class_init):
2677 Take ref to controlled object so that it cannot disappear.
2680 2006-10-10 Wim Taymans <wim@fluendo.com>
2682 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2683 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2684 (gst_check_teardown_sink_pad):
2685 Activate/deactivate pads in setup/teardown respectively.
2687 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2689 Patch by: Josep Torre Valles <josep@fluendo.com>
2692 Cast values when making gstenumtypes.h. This pacifies Forte
2693 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2696 2006-10-09 Wim Taymans <wim@fluendo.com>
2698 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2699 Rename some more @cur to @start to fix docs.
2701 * gst/gstsegment.c: (gst_segment_set_seek):
2703 time and start must always stay in sync as defined in design doc.
2705 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2706 Rename param to fix docs.
2708 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2709 Check that start and time are in sync.
2711 * tests/check/pipelines/parse-launch.c:
2712 (gst_parse_test_element_change_state):
2713 Activate pad before adding to the element.
2715 2006-10-09 Wim Taymans <wim@fluendo.com>
2717 * docs/design/part-qos.txt:
2722 Update seek event docs regarding negative rates.
2723 Rename @cur to @start.
2725 * gst/gstsegment.c: (gst_segment_set_seek):
2727 Update set_seek docs regarding negative rates.
2728 Correctly update last_stop to @stop when dealing with negative
2730 Rename @cur to @start.
2732 * tests/check/gst/gstpad.c: (GST_START_TEST):
2733 Activate pads before trying to use them.
2735 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2736 (gst_segment_suite):
2737 Add simple check for segments and negative rates.
2739 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
2741 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2743 * docs/gst/gstreamer-sections.txt:
2744 API: add gst_tag_list_is_empty() (#360467).
2746 * tests/check/gst/gsttag.c: (GST_START_TEST):
2749 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2752 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2753 a value that doesn't fit on enumeration.
2755 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2757 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2758 Remove local debugging system and use Gstreamer's instead.
2760 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2762 Patch by: Josep Torre Valles <josep@fluendo.com>
2764 * common/m4/gst-error.m4:
2765 Disable warning of statement not reached on Forte.
2767 Fix warning on Forte (value doesn't fit on enumeration).
2768 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2769 Fix warning on Forte (value doesn't fit on enumeration).
2770 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2771 DEBUG macro says it takes minimum of 2 args and so Forte
2772 complains about the use with just 1 arg.
2773 * plugins/elements/gstfdsink.c:
2774 * plugins/elements/gstfdsrc.c:
2775 * plugins/elements/gstfilesink.c:
2776 * plugins/elements/gstfilesrc.c:
2777 Use correct return type for the uri handler implementations.
2779 All these fix warnings in Forte. Fixes bug #360860.
2781 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
2784 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2785 format string, so don't use G_GNUC_PRINTF for those versions.
2787 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2789 * gst/gsttaglist.c: (gst_is_tag_list):
2791 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2793 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2794 Small test for the above.
2796 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2799 Less tabs, more spaces.
2801 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
2804 Those two function declarations do actually belong there, revert
2805 commit from yesterday that turned them intro macros.
2807 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2809 Patch by: Josep Torre Valles <josep@fluendo.com>
2811 * gst/gst.c: (gst_init_get_option_group):
2812 Fix empty declaration and type mismatch.
2813 * gst/gstbin.c: (gst_bin_change_state_func):
2815 * gst/gstelement.c: (gst_element_continue_state),
2816 (gst_element_set_state_func), (gst_element_change_state),
2817 (gst_element_change_state_func):
2818 Fix type mismatches.
2819 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2820 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2821 Cast as appropriate.
2822 * gst/gstobject.c: (gst_class_signal_connect):
2823 Cast as appropriate. The function pointer parameter really
2824 has the wrong type but would break API if we change it.
2826 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2827 order of including string.h.
2828 * gst/gstutils.c: (gst_element_state_get_name):
2829 Remove unreachable line.
2830 * gst/gstxml.c: (gst_xml_parse_doc):
2832 All these caught by Forte.
2834 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2836 Patch by: Josep Torre Valles <josep@fluendo.com>
2838 * common/m4/gst-error.m4:
2840 We need to disable warnings on Forte for empty declarations
2841 due to gst-indent adding ;s to lines that just use macros
2842 where the macro actually doesn't need a ; at end to end
2845 2006-10-06 Wim Taymans <wim@fluendo.com>
2847 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2848 (gst_file_sink_close_file), (gst_file_sink_event),
2849 (gst_file_sink_render):
2850 Add some FIXME for the NEWSEGMENT handling.
2852 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2854 * gst/parse/grammar.y:
2855 Remove static function gst_parse_element_lock as all it does
2856 is return. Looks like cruft from 0.8.
2858 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2860 Patch by: Josep Torre Valles <josep@fluendo.com>
2862 * common/m4/gst-error.m4:
2864 * libs/gst/net/Makefile.am:
2865 Fix a compilation issue with Forte on Solaris. inet_aton is in
2868 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2870 * gst/gstpad.c: (pre_activate):
2871 * gst/gstregistry.c: (gst_registry_scan_path_level):
2872 * gst/gstregistryxml.c: (load_plugin):
2873 * libs/gst/controller/gstcontroller.c:
2874 (gst_controlled_property_set_interpolation_mode):
2875 * libs/gst/dataprotocol/dataprotocol.c:
2876 (gst_dp_packet_from_event_1_0):
2877 * libs/gst/net/gstnetclientclock.c:
2878 (gst_net_client_clock_observe_times):
2879 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2882 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2885 * docs/gst/gstreamer-sections.txt:
2886 * gst/gstconfig.h.in:
2889 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
2890 whether we can use G_GNUC_PRINTF in other header files and at
2891 least check the printf format/arguments of debug messages and
2892 GST_ELEMENT_ERROR messages when the printf extension is not
2894 Replace more tabs with spaces in gstinfo.h and remove two spurious
2895 function declarations in GST_DISABLE_DEBUG part with macros.
2897 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
2899 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
2900 More docs for the sync-message signal (mention that it is not
2901 emitted by default); log message structures of messages posted on
2904 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
2906 * gst/gst.c: (ensure_current_registry_forking):
2907 Use a pipe pair to receive status results from the forked child, and
2908 ignore the result from waitpid. Fixes #355499
2910 2006-10-02 Wim Taymans <wim@fluendo.com>
2912 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2913 (gst_ghost_pad_suite):
2916 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
2919 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
2921 2006-10-02 Edward Hervey <edward@fluendo.com>
2923 * docs/design/part-block.txt:
2924 Further explain the use of flushing on blocked pads.
2925 * docs/gst/gstreamer-sections.txt:
2926 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2927 (gst_pad_push_event):
2929 Added new GstPadFlag : GST_PAD_BLOCKING.
2930 Adds the notion of pads really blocking, which enables to properly
2931 handle FLUSH_START/FLUSH_STOP events on blocked pads.
2933 API: gst_pad_is_blocking()
2934 API: GST_PAD_IS_BLOCKING() macro
2935 API: GST_PAD_BLOCKING GstPadFlag
2937 2006-10-02 Wim Taymans <wim@fluendo.com>
2939 Patch by: mrcgran <mrc.gran at gmail dot com>
2941 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
2942 Filter the proxied caps against the padtemplate if we have one.
2944 * gst/gstquery.c: (gst_query_new_segment):
2945 Add include for gstinfo.h so that compilation with
2946 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
2948 2006-10-02 Wim Taymans <wim@fluendo.com>
2950 Patch by: Alessandro Decina <alessandro at nnva org>
2952 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
2953 (gst_file_sink_set_location), (gst_file_sink_open_file),
2954 (gst_file_sink_close_file), (gst_file_sink_event),
2955 (gst_file_sink_render):
2956 Set file to NULL when closing filesink so that we can set a new filename
2957 in READY. Fixes #358613.
2959 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
2961 Patch by: Alessandro Decina <alessandro at nnva org>
2963 * gst/gstevent.c: (_gst_event_copy):
2964 Fix gst_mini_object_make_writable() and gst_event_copy() for events
2965 with event structures by setting the parent refcount address of the
2966 copied structure to the address of the refcount member of the newly
2967 copied event rather than the address of the refcount member of the
2968 original event. Fixes #358737.
2970 * tests/check/gst/gstevent.c: (GST_START_TEST):
2971 Unit test for the above.
2973 2006-09-29 Stefan Kost <ensonic@users.sf.net>
2975 * docs/design/Makefile.am:
2976 Dist some more files.
2978 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
2980 * tests/check/libs/controller.c: (GST_START_TEST),
2981 (gst_controller_suite):
2982 Add test for the previous fix; add some more tests
2983 for correct refcounting behaviour; fix a few leaks
2984 in test cases; call gst_controller_init() at start
2987 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
2989 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2990 (gst_controller_set_from_list):
2991 Don't g_return_val_if_fail() on timed values with invalid timestamps
2992 inside a critical section without unlocking the mutex. Spotted by
2993 René Stadler. (#357617)
2994 Also, fix up refcounting properly: when returning an existing
2995 controller, we should increase the reference only once and not
2996 once per property and when trying to control a property again
2997 we should also increase the refcount.
2999 2006-09-29 Wim Taymans <wim@fluendo.com>
3001 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3002 * libs/gst/net/gstnettimeprovider.c:
3003 (gst_net_time_provider_thread):
3004 Stop reading commands when EOF as well.
3006 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3007 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3008 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3009 Unify description of the dump property.
3011 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3013 * tests/examples/manual/.cvsignore:
3014 OK, so it's actually cvsignore that needs changing. Stop laughing.
3016 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3018 * tests/examples/manual/Makefile.am:
3019 Gah, declare vars *before* using them
3021 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3023 * gst/gst.c: (init_pre), (scan_and_update_registry),
3024 (ensure_current_registry_nonforking),
3025 (ensure_current_registry_forking), (ensure_current_registry),
3026 (init_post), (gst_debug_help), (gst_deinit):
3027 * gst/gst_private.h:
3028 * gst/gstregistry.c: (gst_registry_finalize),
3029 (gst_registry_remove_features_for_plugin_unlocked),
3030 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3031 (gst_registry_scan_path),
3032 (_priv_gst_registry_remove_cache_plugins),
3033 (_priv_gst_registry_cleanup):
3034 * gst/gstregistry.h:
3035 Re-commit the registry changes, along with an extra fix:
3036 When a cached plugin is encountered at a different file path,
3037 update the stored path in the registry cache so that the parent
3038 process knows where it actually is now when it re-reads the registry
3039 cache. Fixes the thing that broke distcheck with the previous commit.
3041 * tests/check/Makefile.am:
3042 Clean up files named 'core' too when running make clean.
3044 * tests/examples/manual/Makefile.am:
3045 Set up a registry path for running these tests, and clean it properly
3048 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3051 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3052 want gmodule-no-export-2.0.pc instead so that we don't drag in
3053 --export-dynamic on every project that links to GStreamer.
3055 Also, make our export regex only match the start of symbols, rather
3056 than any symbol that contains '_gst' somewhere.
3058 * libs/gst/check/Makefile.am:
3059 The libgstcheck we build does however need export-dynamic, as it
3060 produces some symbols that don't match our _gst... style regex.
3063 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3065 * gst/gst.c: (init_pre), (scan_and_update_registry),
3066 (ensure_current_registry_nonforking),
3067 (ensure_current_registry_forking), (ensure_current_registry),
3068 (init_post), (gst_debug_help), (gst_deinit):
3069 * gst/gst_private.h:
3070 * gst/gstregistry.c: (gst_registry_finalize),
3071 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3072 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3073 (_gst_registry_cleanup):
3074 * gst/gstregistry.h:
3075 Revert previous change until I figure out why it breaks distcheck.
3077 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3079 * gst/gst.c: (init_pre), (scan_and_update_registry),
3080 (ensure_current_registry_nonforking),
3081 (ensure_current_registry_forking), (ensure_current_registry),
3082 (init_post), (gst_debug_help), (gst_deinit):
3084 Make init_pre and init_post take the full complement of GOptionFunc
3085 args so they can return useful GErrors. Make the registry updating
3088 Call _priv_gst_registry_remove_cache_plugins after scanning files to
3089 ensure that the registry we're about to write out doesn't contain
3090 stale information about old-deleted plugin files.
3092 Make _priv_gst_registry_remove_cache_plugins return a boolean so
3093 that deletion of plugin files is considered a registry change.
3095 * gst/gst_private.h:
3096 * gst/gstregistry.c: (gst_registry_finalize),
3097 (gst_registry_remove_features_for_plugin_unlocked),
3098 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3099 (gst_registry_scan_path),
3100 (_priv_gst_registry_remove_cache_plugins),
3101 (_priv_gst_registry_cleanup):
3102 * gst/gstregistry.h:
3103 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3104 by adding _priv prefix, so that they won't appear in the global
3105 symbol table. They still do atm though because of #318031. Move the
3106 prototypes to gst_private.h
3108 When removing a plugin, remove all features for that plugin too.
3111 2006-09-27 Wim Taymans <wim@fluendo.com>
3113 * docs/random/moving-plugins:
3114 Make it clear that the "compiled-in descriptions" really mean
3115 the element details.
3117 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3118 (gst_base_sink_wait_preroll):
3121 * docs/libs/gstreamer-libs-sections.txt:
3122 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3123 (gst_base_src_get_range), (gst_base_src_activate_push):
3124 * libs/gst/base/gstbasesrc.h:
3125 Added function to block while waiting for PLAYING, this function
3126 is used by live sources that block on the clock.
3127 API: gst_base_src_wait_playing()
3129 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3131 Patch by: Peter Kjellerstedt <pkj at axis com>
3134 gst-element-check.m4 is generated and should therefore be
3135 copied from the build dir rather than the source dir (#357593).
3136 'make distcheck' hasn't noticed this because we were disting
3137 the file as well, so stop doing that.
3139 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3141 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3142 Add some tests for gst_caps_intersect().
3144 * tools/gst-launch.c: (event_loop):
3145 Print all buffering percentages we get, even the 100% one.
3147 2006-09-26 Wim Taymans <wim@fluendo.com>
3149 * tools/gst-inspect.c: (print_element_properties_info),
3150 (print_signal_info):
3151 Fix printing of flags to match the look of enums.
3153 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3155 * gst/gstelementfactory.c:
3156 Fix typo in docs blurb.
3158 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3160 * gst/gsturi.c: (search_by_entry):
3161 Don't assert/crash here if a uri handler doesn't return any
3162 supported protocols. The list of protocols could be generated
3163 dynamically at runtime or at plugin registration, and an error
3164 in the underlying library shouldn't be fatal (#353301).
3166 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3169 Fix warning if HAVE_PRINTF_EXTENSION is undefined
3170 (spotted by Peter Kjellerstedt).
3172 2006-09-23 Wim Taymans <wim@fluendo.com>
3174 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3176 * libs/gst/base/gstbasesrc.c:
3177 (gst_base_src_default_check_get_range), (gst_base_src_start),
3178 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3179 (gst_base_src_change_state):
3180 Match _start/_stop calls in the activate functions. Remove redundant
3181 _stop call from the state change function. Fixes #356910.
3182 Turn failure DEBUG into ERROR.
3184 2006-09-22 Wim Taymans <wim@fluendo.com>
3186 * docs/design/part-buffering.txt:
3187 * gst/gstmessage.c: (gst_message_new_buffering),
3188 (gst_message_parse_buffering):
3189 Update docs about buffering.
3191 * docs/design/part-trickmodes.txt:
3194 2006-09-22 Stefan Kost <ensonic@users.sf.net>
3196 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3197 (gst_controller_new_list):
3198 Ref instances when returning them again (fixes #357180)
3200 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
3202 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3203 Don't forget to release proxy lock when there's an error.
3205 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
3208 Add extra initialisers for Caps things, to fix some plugin warnings
3211 2006-09-18 Wim Taymans <wim@fluendo.com>
3213 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3214 Also set template on the internal pad so that a getcaps from the
3215 target pad returns the template caps.
3217 2006-09-18 Wim Taymans <wim@fluendo.com>
3219 * gst/gstelement.c: (gst_element_post_message),
3220 (gst_element_dispose):
3221 Use _DEBUG_OBJECT some more.
3223 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3226 * tools/gst-launch.c: (main):
3227 If the toplevel element is not a GstPipeline, it must be put in a
3228 pipeline so that a bus and clock is selected.
3230 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3232 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3233 JITTER, RATE, and LATENCY query should be handled by the
3234 default case and not by the CONVERT query code.
3236 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3238 * gst/gstformat.c: (gst_format_register):
3239 Fix locking order (must take lock before using n_values).
3241 * gst/gstvalue.c: (gst_value_serialize_enum),
3242 (gst_value_deserialize_enum_iter_cmp),
3243 (gst_value_deserialize_enum):
3244 Fix serialisation/deserialisation of custom registered GstFormats.
3246 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3247 Unit test for custom format serialisation/deserialisation.
3249 2006-09-17 Stefan Kost <ensonic@users.sf.net>
3251 * docs/pwg/building-boiler.xml:
3252 * plugins/elements/gstcapsfilter.c:
3253 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3256 2006-09-16 Edward Hervey <edward@fluendo.com>
3258 * libs/gst/base/gstbasetransform.c:
3259 (gst_base_transform_buffer_alloc):
3260 Check if requested caps are the same as the sinks caps IF
3261 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3263 This fixes the renegotiation issues stated in #352827.
3265 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3268 * docs/manual/advanced-autoplugging.xml:
3269 * tests/examples/Makefile.am:
3270 * tests/examples/manual/.cvsignore:
3271 * tests/examples/manual/Makefile.am:
3272 * tests/examples/manual/extract.pl:
3273 Extract the manual examples again like we used to do.
3276 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3278 * win32/common/config.h:
3281 2006-09-16 Stefan Kost <ensonic@users.sf.net>
3284 Documents how to receive errors.
3286 2006-09-15 Wim Taymans <wim@fluendo.com>
3288 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3289 (event_loop), (main):
3290 Added some comments here and there.
3291 Post an application message when an interrupt is caught instead of doing
3292 an uncontrolled state change.
3293 Clean up the event loop.
3294 Handle buffering messages, pause/resume the pipeline.
3295 Make shutdown because of an interrupt more reliable.
3297 2006-09-15 Wim Taymans <wim@fluendo.com>
3299 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3300 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3301 (gst_base_sink_preroll_object):
3302 Make sure that our internal state is correct when we commit our state
3303 asynchronously. This solves a race where a state change to PLAYING
3304 could cause the sink to remain blocked in preroll in some situations.
3306 2006-09-15 Wim Taymans <wim@fluendo.com>
3308 * tools/gst-inspect.c: (print_element_properties_info),
3309 (print_signal_info):
3310 List flags as hex so it's easier to deal with.
3312 2006-09-15 Wim Taymans <wim@fluendo.com>
3314 * docs/libs/gstreamer-libs-sections.txt:
3315 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3316 (gst_base_sink_do_sync):
3317 * libs/gst/base/gstbasesink.h:
3318 Expose logic to wait for preroll so that subclasses such as audiosink
3319 can also use this method.
3320 API: gst_base_sink_wait_preroll()
3322 2006-09-15 Wim Taymans <wim@fluendo.com>
3324 * gst/gstobject.c: (gst_object_set_parent):
3325 * gst/gstpipeline.c: (do_pipeline_seek):
3326 Small cleanups in docs and code.
3328 * gst/gstsegment.c: (gst_segment_clip):
3329 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3330 if stop == start and start is in the segment, no clipping should be
3331 done. Also add a test for this.
3333 2006-09-15 Wim Taymans <wim@fluendo.com>
3335 * docs/design/part-buffering.txt:
3336 * docs/gst/gstreamer-sections.txt:
3337 * gst/gstmessage.c: (gst_message_new_buffering),
3338 (gst_message_parse_buffering):
3340 Added methods to create and parse BUFFERING messages.
3341 Added preliminary docs about buffering.
3342 API: gst_message_new_buffering
3343 API: gst_message_parse_buffering
3345 2006-09-06 Wim Taymans <wim@fluendo.com>
3348 Update documentation.
3350 * gst/gstelement.c: (gst_element_class_init),
3351 (gst_element_release_request_pad), (gst_element_set_clock),
3352 (gst_element_get_index), (gst_element_add_pad),
3353 (gst_element_remove_pad), (gst_element_get_random_pad),
3354 (gst_element_send_event), (gst_element_get_query_types),
3355 (gst_element_query), (gst_element_post_message),
3356 (gst_element_message_full), (gst_element_continue_state),
3357 (gst_element_lost_state), (gst_element_save_thyself),
3358 (gst_element_restore_thyself):
3359 Documentation updates.
3360 Rename last bit of the new-pad -> pad-added signal rename.
3361 Fix the case where an element query would only work if the source
3363 Avoid some useless type checking in message handling.
3368 Documentation updates.
3370 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3372 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3373 add an INFO line for when we actually update the fd
3375 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3380 === release 0.10.10 ===
3382 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3385 releasing 0.10.10, "Pais"
3387 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
3389 * docs/manual/advanced-position.xml:
3390 Fix typo in sample code.
3392 2006-09-05 Wim Taymans <wim@fluendo.com>
3394 * libs/gst/net/gstnetclientclock.c: (inet_aton),
3395 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3396 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3397 * libs/gst/net/gstnetclientclock.h:
3398 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3399 * libs/gst/net/gstnettimepacket.h:
3400 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3401 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3402 (gst_net_time_provider_thread), (gst_net_time_provider_new):
3403 * libs/gst/net/gstnettimeprovider.h:
3404 Make stuff compile on windows. Fixes #345295.
3406 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3408 * gst/gst.c: (ensure_current_registry_forking):
3409 Print better details when child was terminated by signal.
3411 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3413 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3414 Print a warning rather than g_assert() if a plugin feature
3415 is a URI handler but returns no protocols (#353976).
3417 2006-09-02 Stefan Kost <ensonic@users.sf.net>
3419 * docs/random/moving-plugins:
3422 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
3424 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3425 Fix locking order, handle NULL function values properly.
3430 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3431 Initialise variable before using it and fix debug statement to
3432 print the address of the function rather than the address of the
3433 variable on the stack holding the address of the function.
3435 2006-09-01 Wim Taymans <wim@fluendo.com>
3437 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3438 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3439 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3440 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3441 (gst_ghost_pad_parent_unset),
3442 (gst_ghost_pad_internal_do_activate_push),
3443 (gst_ghost_pad_internal_do_activate_pull),
3444 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3445 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3446 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3447 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3448 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3449 (gst_ghost_pad_new_no_target_from_template),
3450 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3452 Avoid needless typechecking in macros.
3453 Since the internal pad is always present and never changes, there is
3454 no need to locking or ref when retrieving it.
3455 Improve debugging a bit.
3456 Handle link errors when setting the target. Fixes #341029.
3458 2006-09-01 Wim Taymans <wim@fluendo.com>
3460 * docs/libs/gstreamer-libs-sections.txt:
3461 * docs/plugins/gstreamer-plugins-sections.txt:
3464 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3465 (gst_collect_pads_event):
3466 * libs/gst/base/gstcollectpads.h:
3467 Documentation updates.
3468 Free queued buffer when removing a pad.
3470 2006-08-31 Michael Smith <msmith@fluendo.com>
3472 * gst/gstutils.c: (gst_element_link_pads),
3473 (gst_element_link_pads_filtered):
3474 Ensure that we set a capsfilter to NULL if we failed to link it
3475 when doing filtered linking, to avoid criticals.
3477 No need to check for unreffing srcpad, which is explicly NULLed
3478 above (a trivial code cleanup).
3480 2006-08-31 Wim Taymans <wim@fluendo.com>
3482 * docs/design/part-gstghostpad.txt:
3483 Update ascii art in documentation.
3485 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3486 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3487 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3488 (gst_ghost_pad_internal_do_activate_push),
3489 (gst_ghost_pad_internal_do_activate_pull),
3490 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3491 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3492 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3493 (gst_ghost_pad_set_target):
3494 Small cleanups and leak fixes.
3495 Remove some checks now that the internal pad is never NULL.
3496 Fix the case where linking pads without a target would create nasty
3497 criticals. Fixes #341029.
3498 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3499 value of _set_target().
3501 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3502 (gst_ghost_pad_suite):
3503 Some more tests for creating and linking untargeted ghostpads.
3505 2006-08-31 Edward Hervey <edward@fluendo.com>
3507 * docs/gst/gstreamer-sections.txt:
3508 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3509 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3510 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3511 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3512 (gst_ghost_pad_new_from_template),
3513 (gst_ghost_pad_new_no_target_from_template):
3514 * gst/gstghostpad.h:
3515 Refactored *_new() functions.
3516 Templates are now used as a g_object_new() parameter.
3517 Use template in _do_getcaps() if we don't have a target.
3518 Small documentation cleanups.
3519 Added two new constructors:
3520 gst_ghost_pad_new_from_template()
3521 gst_ghost_pad_new_no_target_from_template()
3522 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3523 (gst_ghost_pad_suite):
3524 Added tests for new ghostpad instanciation functions.
3526 API additions: gst_ghost_pad_new_from_template,
3527 gst_ghost_pad_new_no_target_from_template
3529 2006-08-30 Stefan Kost <ensonic@users.sf.net>
3531 * docs/random/ensonic/profiling.txt:
3532 Ideas about qos profiling.
3534 2006-08-29 Wim Taymans <wim@fluendo.com>
3536 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3540 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
3543 Improve and detypofy docs.
3545 * tests/check/Makefile.am:
3546 * tests/check/gst/.cvsignore:
3547 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3548 Add a basic test suite for GstXML.
3550 2006-08-29 Wim Taymans <wim@fluendo.com>
3552 * gst/gstelement.c: (activate_pads), (clear_caps),
3553 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3554 Clear the pad caps when the element shut down all of the pads and
3555 is not streaming data that could modify the caps.
3558 2006-08-28 Michael Smith <msmith@fluendo.com>
3560 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3561 Revert previous change; I misunderstood single-segment mode.
3563 2006-08-28 Michael Smith <msmith@fluendo.com>
3565 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3566 Unset DISCONT on buffers when using single-segment mode.
3568 2006-08-28 Wim Taymans <wim@fluendo.com>
3570 * gst/gstcaps.c: (gst_caps_merge_structure):
3572 Fix docs and indentation again.
3574 * tests/check/gst/gstquery.c: (GST_START_TEST):
3575 Fix leak in tests and add some more tests.
3577 2006-08-28 Edward Hervey <edward@fluendo.com>
3579 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3580 Inform GstSegment of the last stop position in order for the current
3581 segment to have a proper duration if it doesn't have a specific stop
3582 position from which a duration could be calculated.
3583 This bug was noticeable when a non-flushing, non-update new segment was
3584 followed by another segment (all buffers from the new segment were being
3587 2006-08-28 Wim Taymans <wim@fluendo.com>
3589 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3590 Small comment update.
3592 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3593 (gst_identity_transform_ip):
3594 Drop-probability is broken, mention this in the code with a
3595 FIXME and also in the property description.
3596 Make silent also be silent about the drop messages.
3598 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
3600 * docs/manual/appendix-win32.xml:
3601 Remove mention of popt, we don't depend on that any
3602 longer (#353136). Add some comments pointing out that
3603 this section is slightly outdated.
3605 2006-08-28 Wim Taymans <wim@fluendo.com>
3607 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3609 * gst/gstquery.c: (gst_query_new_segment):
3610 * tests/check/gst/gstquery.c: (GST_START_TEST):
3611 Initialize variables when creating a new segment query.
3614 2006-08-28 Wim Taymans <wim@fluendo.com>
3616 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3618 * gst/gstelement.c: (gst_element_get_bus):
3619 * tests/check/gst/gstelement.c: (GST_START_TEST):
3620 Check for NULL before _reffing the bus. Fixes #353122.
3622 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
3624 * docs/manual/basics-bus.xml:
3625 Docs update: fix wrong callback return value explanation; add
3626 some lines about the implicit relationship between main loop
3627 and main context; remove duplicate main loop variable declaration.
3629 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
3631 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3632 Don't leak caps in unit test; add a few more simple
3635 2006-08-24 Stefan Kost <ensonic@users.sf.net>
3637 * docs/gst/gstreamer-sections.txt:
3638 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3639 (gst_caps_structure_is_subset), (gst_caps_merge),
3640 (gst_caps_merge_structure):
3642 * libs/gst/base/gstbasetransform.c:
3643 (gst_base_transform_transform_caps):
3644 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3645 implement caps merging (fixes #352580)
3647 2006-08-23 Stefan Kost <ensonic@users.sf.net>
3649 * tools/Makefile.am:
3650 * tools/gst-plot-timeline.py:
3651 add debug-log plotting developer tool (#340674)
3653 2006-08-23 Wim Taymans <wim@fluendo.com>
3655 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3656 (gst_pad_stop_task):
3657 Improve debugging for task functions.
3659 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3660 (gst_task_start), (gst_task_pause), (gst_task_join):
3661 Make sure that the task function started and finished after a
3663 Don't try to push the task function on the threadpool multiple
3665 Improve the g_warning message with some useful suggestions
3666 about how to fix the problem.
3668 2006-08-23 Wim Taymans <wim@fluendo.com>
3670 * gst/gstutils.c: (gst_pad_proxy_getcaps):
3671 Handle RESYNC correctly in _proxy_getcaps.
3673 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
3675 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3676 (gst_xml_parse_memory), (gst_xml_get_element):
3677 Chain up to parent class in dispose function and also
3678 unref the elements in the toplevel_elements GList.
3679 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3680 Always return a reference in gst_xml_get_element() rather
3681 than only sometimes.
3683 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3684 Don't leak GstXml object.
3686 2006-08-21 Stefan Kost <ensonic@users.sf.net>
3688 * docs/gst/gstreamer-sections.txt:
3689 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3692 * libs/gst/base/gstbasetransform.c:
3693 (gst_base_transform_transform_caps):
3694 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3697 2006-08-21 Edward Hervey <edward@fluendo.com>
3699 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3700 Implement GObject::dispose virtual method in GstXML so we can free the
3703 2006-08-21 Wim Taymans <wim@fluendo.com>
3705 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3706 (gst_buffer_create_sub):
3707 Copy duration/offset_end/caps when creating a subbuffer of the
3709 Make the subbuffer read-only when we make the metadata writable for
3712 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3713 Added check for metadata copy when creating subbuffers.
3715 2006-08-21 Edward Hervey <edward@fluendo.com>
3717 * libs/gst/base/gstbasetransform.c:
3718 (gst_base_transform_buffer_alloc):
3719 Only call downstream buffer_alloc if transform element is passthrough
3720 or always_in_place. Closes #350449.
3722 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3725 ChangeLog surgery to add comments to previous changes
3727 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3732 * gst/gstpad.c: (gst_pad_set_active):
3733 Be more verbose in the log
3735 * libs/gst/base/gstbasetransform.c:
3736 (gst_base_transform_transform_caps):
3737 Simplify caps to get rid of duplicates, fixes #345444
3739 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3743 Use these optimizations only internally.
3745 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3747 * gst/gstvalue.c: (gst_value_compare_list),
3748 (gst_value_compare_fraction_range),
3749 (gst_value_intersect_fraction_fraction_range),
3750 (gst_value_intersect_fraction_range_fraction_range),
3751 (gst_value_subtract_fraction_fraction_range),
3752 (gst_value_subtract_fraction_range_fraction_range),
3753 (gst_value_get_compare_func), (gst_value_compare),
3754 (gst_value_compare_with_func):
3756 Saves the expensive lookup of the compare function in many cases
3759 2006-08-18 Edward Hervey <edward@fluendo.com>
3761 * tests/check/gst/gstinfo.c: (gst_info_suite):
3762 Disable test that require gstdebug if it wasn't built in core.
3764 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3766 * docs/random/ensonic/logging.txt:
3769 * gst/gstinfo.c: (gst_debug_log_default):
3770 reorder fields, save some columns, add optional color codes for log
3773 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3775 * docs/random/ensonic/logging.txt:
3776 add ideas about making the logs a bit more useful
3778 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3780 * docs/pwg/advanced-events.xml:
3781 * docs/pwg/titlepage.xml:
3782 Update for 0.10 API (#340627). Add myself
3785 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3787 * docs/libs/gstreamer-libs-docs.sgml:
3788 * docs/libs/gstreamer-libs-sections.txt:
3789 * libs/gst/check/gstbufferstraw.c:
3790 Make gstcheck stuff show up in docs (still needs to
3791 be documented properly though).
3793 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
3795 * docs/gst/gstreamer-sections.txt:
3797 * gst/gst.c: (init_post):
3798 * gst/gst_private.h:
3799 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3801 * gst/gstquery.c: (gst_query_new_position),
3802 (gst_query_set_position), (gst_query_parse_position),
3803 (gst_query_new_duration), (gst_query_set_duration),
3804 (gst_query_parse_duration), (gst_query_new_convert),
3805 (gst_query_set_convert), (gst_query_parse_convert),
3806 (gst_query_new_segment), (gst_query_set_segment),
3807 (gst_query_parse_segment), (gst_query_new_seeking),
3808 (gst_query_set_seeking), (gst_query_parse_seeking):
3809 Add internal helpers for pre-registering quarks from static strings
3810 and using the quark values directly instead of looking them up when
3811 creating and parsing queries. Can be used for event construction too.
3814 2006-08-16 Wim Taymans <wim@fluendo.com>
3819 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3821 * gst/gstutils.c: (gst_util_set_value_from_string):
3822 Fix memleak (#351502).
3824 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3825 Add unit test for most of gst_util_set_value_from_string()
3826 (not that one would want to encourage use of this function).
3828 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3830 * libs/gst/check/gstcheck.h:
3831 Use const gchar * variables in fail_unless_equals_string
3832 macro to avoid compiler warnings (and don't use tabs for
3835 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3837 * tools/gst-launch.c: (print_tag):
3838 More space on the left for the tag names, to cater
3839 for the 'extended comment' tag (not touching the
3840 string for the first line since it's translated).
3842 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3844 * libs/gst/check/gstcheck.h:
3845 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
3846 print something when they fail.
3848 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3850 * docs/gst/gstreamer-sections.txt:
3851 * gst/gsttaglist.c: (_gst_tag_initialize):
3853 API: add GST_TAG_EXTENDED_COMMENT (#350935).
3854 Also change merge function for GST_TAG_COMMENT to
3857 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3859 * gst/gstinfo.c: (gst_debug_print_object):
3860 Make GST_PTR_FORMAT print messages as well.
3862 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
3863 (GST_START_TEST), (gst_info_suite):
3866 2006-08-14 Edward Hervey <edward@fluendo.com>
3868 * gst/gstelementfactory.c: (gst_element_register):
3869 If the GstElementClass doesn't have a GstElementDetails with all fields
3870 filled up correctly (longname, description AND author), then error out
3871 nicely instead of crashing.
3873 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3875 * gst/gststructure.c:
3876 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
3879 Expand on the difference between arrays and lists as we use them.
3881 2006-08-14 Wim Taymans <wim@fluendo.com>
3883 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3884 If the parent state change function failed, don't assume we can safely
3885 stop the source, this will be done when the pads are deactivated.
3887 2006-08-14 Wim Taymans <wim@fluendo.com>
3890 * gst/gsttask.c: (gst_task_join):
3893 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3894 (gst_pad_stop_task):
3895 When pad (de)activation failed for some reason, restore the old
3896 activation mode and set the pad to flushing instead of assuming the
3898 If the _task_join() failed, reinstall the task on the pad so that it can
3899 be stopped later and return an error.
3901 2006-08-11 Andy Wingo <wingo@pobox.com>
3904 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3905 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
3906 is only for users of API that don't want to see deprecated
3907 functions in the headers; people that want to compile out
3908 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
3909 CFLAGS. Fixes the build of multifdsink, or will soon..
3911 2006-08-11 Wim Taymans <wim@fluendo.com>
3913 * docs/gst/gstreamer-sections.txt:
3914 Add GstClockClass vmethod docs.
3917 Mark #endif with comment for associated #if
3919 * gst/gstclock.c: (gst_clock_id_wait):
3921 Add vmethod wait_jitter to avoid an unneeded _get_time() for
3922 most clock implementations.
3924 Flesh out docs about resolution methods.
3925 API: GstClockClass::wait_jitter
3927 * gst/gstsystemclock.c: (gst_system_clock_class_init),
3928 (gst_system_clock_async_thread),
3929 (gst_system_clock_id_wait_jitter_unlocked),
3930 (gst_system_clock_id_wait_jitter):
3931 Use base class wait_jitter variant for improved performance
3932 due to less clock polling.
3934 2006-08-11 Edward Hervey <edward@fluendo.com>
3936 * gst/gst.c: (gst_init_check), (init_post):
3937 Set gst as being initialized before scanning/updating the registry,
3938 since there might be my python plugin loader that calls gst_init() and
3939 we don't want to loop back in.
3942 2006-08-11 Wim Taymans <wim@fluendo.com>
3944 * docs/design/part-qos.txt:
3945 Bring docs in line with the code. Mostly the sign of the jitter was
3946 wrong in the docs. Fixes #349943.
3949 Fix the docs for the jitter.
3951 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
3952 (gst_event_parse_tag), (gst_event_new_buffer_size),
3953 (gst_event_parse_buffer_size), (gst_event_parse_qos),
3954 (gst_event_new_seek), (gst_event_parse_seek),
3955 (gst_event_new_navigation):
3956 Make sure the GstStructure has no parent when creating custom
3958 Add some more argument checking so that we avoid 0.0 rates.
3959 Flesh out the docs for the QoS event some more.
3961 2006-08-11 Wim Taymans <wim@fluendo.com>
3963 * docs/gst/gstreamer-sections.txt:
3964 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3965 (ensure_current_registry_forking), (ensure_current_registry),
3966 (parse_one_option), (parse_goption_arg), (gst_deinit),
3967 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
3970 Added API and command line option to disable registry forking in
3971 addition to the environment variable.
3972 Constify some static arrays.
3973 Added some more debug.
3975 API: gst_registry_fork_is_enabled()
3976 API: gst_registry_fork_set_enabled()
3977 API: --gst-disable-registry-fork command line option
3980 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
3982 * gst/gst.c: (gst_init):
3983 Fix typo in error message.
3985 2006-08-10 Stefan Kost <ensonic@users.sf.net>
3987 * libs/gst/controller/gstcontroller.h:
3988 fix ABI size-correction
3990 * tests/check/libs/gdp.c: (gst_dp_suite):
3991 make tests that use deprecated API conditional
3993 2006-08-10 Stefan Kost <ensonic@users.sf.net>
3995 * docs/libs/gstreamer-libs-sections.txt:
3996 * libs/gst/controller/gstcontroller.c:
3997 (_gst_controller_get_property), (_gst_controller_set_property),
3998 (_gst_controller_init), (_gst_controller_class_init):
3999 * libs/gst/controller/gstcontroller.h:
4000 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4001 (gst_object_set_control_rate):
4002 API: add gst_object_{s,g}et_control_rate(), add private data section,
4005 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4006 * libs/gst/dataprotocol/dataprotocol.h:
4007 add deprecation guards to make gtk-doc happy and allow disabling cruft
4009 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
4011 * tests/check/Makefile.am:
4012 * tests/check/gst/.cvsignore:
4013 Let's enable the new unit test as well.
4015 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
4018 * docs/gst/gstreamer-sections.txt:
4019 * gst/gstconfig.h.in:
4020 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4021 (_gst_info_printf_extension_ptr),
4022 (_gst_info_printf_extension_segment):
4023 API: add GST_SEGMENT_FORMAT, which is a printf extension we
4024 register that lets us easily dump GstSegments into debug
4027 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4028 (info_segment_format_printf_extension), (gst_info_suite):
4029 Add simple unit test that logs a bunch of different segments (not
4030 valgrinded at the moment because of leaks in
4031 gst_debug_add_log_function).
4033 2006-08-09 Edward Hervey <edward@fluendo.com>
4035 * libs/gst/base/gstbasetransform.c:
4036 (gst_base_transform_buffer_alloc):
4037 Even if we can't figure out the proper format to request downstream,
4038 call buffer_alloc() downstream with the input parameters without setting
4039 the caps on the srcpad. This will force negotiation in the chain
4043 2006-08-08 Edward Hervey <edward@fluendo.com>
4045 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4046 Unlinking from a pad without a target is now a perfectly valid case
4047 which should NOT raise an assertion.
4048 This case would happen if a linked ghostpad its target set to NULL after
4049 it was previously linked.
4051 2006-08-08 Edward Hervey <edward@fluendo.com>
4053 * tests/check/libs/gdp.c:
4054 Also comment out the test (see below).
4056 2006-08-08 Edward Hervey <edward@fluendo.com>
4058 * tests/check/libs/gdp.c: (gst_dp_suite):
4059 Use the architecture information from config.h and not gcc macros
4060 in order to properly disable a test that fails on PPC64.
4062 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
4064 * gst/gstelement.c: (gst_element_remove_pad):
4065 Don't crash printing the warning if the pad has no parent.
4067 2006-08-02 Wim Taymans <wim@fluendo.com>
4069 * libs/gst/dataprotocol/dataprotocol.c:
4070 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4071 (gst_dp_crc), (gst_dp_header_payload_length),
4072 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4073 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4074 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4075 (gst_dp_event_from_packet), (gst_dp_validate_header),
4076 (gst_dp_validate_payload):
4077 Make debug category static
4078 Constify the crc table.
4079 Do some more arg checking in public functions.
4080 Fix some docs and do some small cleanups.
4082 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4083 Add some more checks to see if GDP deals with bogus input.
4085 2006-07-31 Wim Taymans <wim@fluendo.com>
4087 * gst/gstvalue.c: (gst_value_compare_list):
4088 Fix GstValueList comparison code. Fixes #347293.
4090 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4091 Check to test GstValueList comparison.
4093 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4095 * gst/gstelementfactory.c: (gst_element_factory_create):
4096 Remove unnecessary ref/unref pair
4098 * gst/parse/grammar.y:
4099 Make sure to free the parse buffer on all code paths.
4100 Move a g_free up to the error handler where it's easier to see.
4102 * tests/check/gst/gstevent.c: (test_event):
4103 Extending timeout for downstream travelling events to 10 seconds to
4104 hopefully avoid intermittent failure on the buildbots.
4106 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4107 Don't manually set the state of the src element - it will happen as a
4108 natural consequence of the pipeline changing state, and that way it
4109 will do it in the right order too.
4111 2006-07-31 Wim Taymans <wim@fluendo.com>
4113 * libs/gst/base/gstbasetransform.c:
4114 (gst_base_transform_buffer_alloc):
4115 Use OBJECT_LOCK and refcounting to get the pad caps in the
4116 buffer_alloc function because the caps could change while we are
4117 busy with them. Fixes #349105
4119 2006-07-31 Wim Taymans <wim@fluendo.com>
4121 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4122 Protect _PAD_CAPS with OBJECT_LOCK.
4124 2006-07-31 Wim Taymans <wim@fluendo.com>
4126 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4127 (gst_pad_get_property), (gst_pad_activate_pull),
4128 (gst_pad_activate_push), (gst_pad_set_blocked_async),
4129 (gst_pad_set_activate_function),
4130 (gst_pad_set_activatepull_function),
4131 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4132 (gst_pad_set_getrange_function),
4133 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4134 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4135 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4136 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4137 (gst_pad_set_acceptcaps_function),
4138 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4139 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4140 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4141 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4142 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4143 (gst_pad_configure_sink), (gst_pad_configure_src),
4144 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4145 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4146 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4147 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4148 (gst_pad_send_event):
4149 Use _DEBUG_OBJECT when it makes sense.
4150 Protect GST_PAD_CAPS with the OBJECT_LOCK.
4151 Small cleanups and code reflows.
4152 Avoid caps refcounting in _accept_caps.
4153 Refactor alloc_buffer so that the code performed on the peer is in a
4154 separate function. Also if the pad does not implement a buffer alloc
4155 function, we should still check if the pad is flushing before falling
4156 back to the default allocator.
4158 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4160 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4161 Make all uses of identity and fakesink have silent=true to avoid
4162 serialising every passing data structure, which is breaking tests
4163 on FC4 for some unknown reason.
4165 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4167 * gst/parse/Makefile.am:
4168 * gst/parse/grammar.y:
4169 * gst/parse/parse.l:
4170 Reverted previous patch as it required to bump the flex dependency to
4171 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4173 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4175 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4177 * gst/parse/Makefile.am:
4178 * gst/parse/grammar.y:
4179 * gst/parse/parse.l:
4180 push & pop the state of the lexer for reentrant use case
4183 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
4185 * libs/gst/base/gstbasesrc.h:
4186 Note in the docs that the ::newsegment vfunc is not actually used by
4189 2006-07-28 Wim Taymans <wim@fluendo.com>
4191 * libs/gst/base/gstcollectpads.c:
4192 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4193 (gst_collect_pads_clear), (gst_collect_pads_flush),
4194 (gst_collect_pads_event), (gst_collect_pads_chain):
4195 When flushing a pad, also clear the queued buffer so that we don't
4196 accidentally use it when we shouldn't.
4197 Fix leaks by inreffing incomming buffer.
4198 Flush out queued buffers in case of errors.
4201 2006-07-28 Wim Taymans <wim@fluendo.com>
4203 * docs/random/phonon-gst:
4204 Random notes about a Phonon backend.
4206 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4208 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4210 * tests/check/libs/gdp.c: (gst_dp_suite):
4211 Take a whack at fixing the ppc compile using a different define to
4212 disable the broken test.
4214 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4215 Remove excess g_print()
4217 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4219 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4220 Oops, meant to uncomment this line too to dampen the noise a bit.
4222 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4224 * gst/parse/grammar.y:
4225 * gst/parse/parse.l:
4226 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4227 (GST_START_TEST), (parse_suite):
4228 Fix some of the leaks exposed by extending the parse-launch testsuite,
4229 and move the 3 I can't figure out into a separate test that won't run
4230 the pipelines unless the appropriate line is uncommented.
4232 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4234 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4235 Requesting 0 bytes before the end of the file should result in
4236 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4239 2006-07-27 Wim Taymans <wim@fluendo.com>
4241 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4242 Fix useless assert, a uint is always positive.
4244 * gst/gststructure.c: (gst_structure_nth_field_name),
4245 (gst_structure_foreach), (gst_structure_map_in_place):
4246 Check input arguments for public functions to avoid obvious crashes.
4248 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4249 * plugins/elements/gstfakesink.h:
4250 Do less useless typechecking.
4252 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4254 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4255 Do not use mmap() by default since there are a number of error
4256 conditions that we would like to handle in a non-fatal way that
4257 will result in a SIGBUS if we use mmap(). Examples: external
4258 devices (USB harddrive, portable music player) being unplugged
4259 while in use; file on mounted CD/DVD that can't be read because
4260 the medium is partly damaged. Fixes #348455 and #348475.
4262 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4265 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4268 2006-07-26 Stefan Kost <ensonic@users.sf.net>
4270 * gst/gstregistry.c:
4271 Move big documentation comment into class section header, so that it
4272 appears in the API docs.
4274 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4276 * docs/gst/gstreamer-sections.txt:
4277 Oops. Commit the docs additions too for new API.
4278 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4280 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4282 * gst/gststructure.c: (gst_structure_id_set),
4283 (gst_structure_id_set_valist):
4284 * gst/gststructure.h:
4285 Add API for setting values into structures without performing
4286 a quark lookup, if the appropriate quark is already known.
4288 API: gst_structure_id_set
4289 API: gst_structure_id_set_valist
4291 * gst/parse/grammar.y:
4292 * gst/parse/parse.l:
4293 Remove some dead code shown by the coverage information.
4294 Don't throw a critical g_warning when encountering a syntax error,
4295 just warn and let the normal error path handle it.
4297 * plugins/elements/gstelements.c:
4298 Bump the rank of filesink up to PRIMARY so that it is preferred over
4299 gnomevfssink for file:// sink uri's
4301 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4302 (GST_START_TEST), (run_delayed_test),
4303 (gst_parse_test_element_base_init),
4304 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4305 (gst_parse_test_element_change_state),
4306 (gst_register_parse_element), (parse_suite):
4307 Beef up the tests for parse syntax to check that more error cases
4308 fail as they are supposed to. Increases the test coverage a bit.
4310 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
4312 * docs/manual/basics-elements.xml:
4313 Fix gst_element_link() example.
4316 Mention in API docs that one should usually gst_bin_add()
4317 elements to a bin or pipeline before doing the linking.
4319 2006-07-26 Wim Taymans <wim@fluendo.com>
4321 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4322 (gst_subbuffer_get_type), (gst_buffer_create_sub):
4323 Avoid function call for known types by keeping the buffer and
4324 subbuffer GType global.
4326 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4327 Random silly optimisations in read() path.
4329 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4331 * tools/gst-launch.c: (main):
4332 If the top-level of the parse is a normal bin, it doesn't do the
4333 right logic to run as a top-level element, so place it inside a
4336 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
4338 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4339 Remove superfluous g_object_notify() calls, GObject does
4340 that for us automatically.
4342 2006-07-25 Stefan Kost <ensonic@users.sf.net>
4345 on Win32, use dllspec to export the debug category symbols
4347 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
4349 * gst/gsttaglist.c: (_gst_tag_initialize):
4350 Allow more than one GST_TAG_IMAGE per taglist.
4352 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
4354 * gst/gstminiobject.c:
4356 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4357 (gst_fd_src_create):
4358 log recurring events at LOG level
4359 add more debug for when the fd gets set
4361 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4363 * gst/gstparse.c: (gst_parse_launch):
4364 Also remove reentrance checks if flex is MT safe (#348179)
4365 Fix my empty ChangeLog entry below
4367 2006-07-21 Andy Wingo <wingo@pobox.com>
4369 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4371 * libs/gst/check/Makefile.am
4372 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4373 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
4374 * libs/gst/check/gstbufferstraw.h:
4375 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4376 functions, thus proving I am still a GStreamer haxor. OK I wrote
4377 them a long time ago, but anyways.
4379 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4382 * gst/gstparse.c: (gst_parse_launch):
4383 Check for flex version and omit mutex if we have a MT save flex
4386 2006-07-21 Wim Taymans <wim@fluendo.com>
4388 * gst/gstparse.c: (gst_parse_launch):
4389 Protect recursive calls to _parse with a recursive mutex
4392 2006-07-21 Wim Taymans <wim@fluendo.com>
4394 * tests/check/gst/gstpad.c: (GST_START_TEST):
4397 2006-07-20 Stefan Kost <ensonic@users.sf.net>
4399 * gst/gstparse.c: (gst_parse_launch):
4400 Do not hang on recursive usage of gst_parse_launch()
4402 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4405 Add some more docs, comments and FIXME 0.11s here and there
4406 and also fix some typos.
4408 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4411 Convert tabs to spaces for better readability.
4413 2006-07-20 Edward Hervey <edward@fluendo.com>
4415 * tests/check/libs/gdp.c: (gst_dp_suite):
4416 the test_buffer test fails at line 140 on ppc64 at the following
4418 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4419 GST_BUFFER_FLAG_IN_CAPS),
4420 "GST_BUFFER_IN_CAPS flag should have been copied !");
4421 See bug #348114 for more details.
4423 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
4425 * docs/pwg/advanced-scheduling.xml:
4427 Fix typos (#348000).
4429 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
4431 * docs/pwg/intro-basics.xml:
4432 Fix wrong links (#347927).
4434 2006-07-18 Stefan Kost <ensonic@users.sf.net>
4436 * gst/gstregistry.h:
4437 * gst/gstregistryxml.c: (load_feature),
4438 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4439 * win32/common/config.h:
4440 make --disable-index work (#342564)
4442 2006-07-18 Wim Taymans <wim@fluendo.com>
4444 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4448 The attached patch adds two missing defines to gsttrace.h when tracing
4449 is disabled. It also corrects one existing define.
4452 2006-07-17 Wim Taymans <wim@fluendo.com>
4454 * docs/gst/gstreamer-sections.txt:
4455 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4457 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4458 Add two functions to check and change the SIGSEGV behaviour
4459 when loading plugins.
4460 Don't mess with the SIGSEGV handler when we were told not to.
4462 API: gst_segtrap_is_enabled
4463 API: gst_segtrap_set_enabled
4465 2006-07-14 Wim Taymans <wim@fluendo.com>
4467 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4468 * tests/check/elements/filesrc.c: (GST_START_TEST):
4469 Revert fix for regression in #347408 after release.
4471 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
4473 Patch by: Antoine Tremblay <hexa00 at gmail com>
4475 * gst/gstutils.c: (gst_element_unlink):
4476 Free iterator when done (#347311).
4478 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4479 And add a test case for this.
4481 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
4484 Bump nano back to CVS
4486 === release 0.10.9 ===
4488 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
4491 releasing 0.10.9, "On the road again"
4493 2006-07-13 Wim Taymans <wim@fluendo.com>
4495 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4496 * tests/check/elements/filesrc.c: (GST_START_TEST):
4497 Revert pull-0 fix for release. Disable check. Fixes #347408.
4499 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4501 * libs/gst/dataprotocol/dataprotocol.c:
4502 (gst_dp_event_from_packet_1_0):
4503 Fixes #347337: failure to deserialize event packets with
4504 empty payload (only event type)
4506 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4509 do not install a .c file in the header directory
4511 2006-07-13 Edward Hervey <edward@fluendo.com>
4513 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4514 GhostPad no longer implicitely use the padtemplates of the targets.
4517 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
4519 * gst/gstvalue.c: (gst_value_compare_list),
4520 (gst_value_compare_array), (_gst_value_initialize):
4521 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4522 Make GstValueArray comparison be order dependent as designed.
4523 Add checks for value lists and value array comparisons.
4526 2006-07-11 Edward Hervey <edward@fluendo.com>
4528 * gst/gstbin.c: (activate_pads),
4529 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4530 (gst_bin_change_state_func):
4531 (de)activate src pads before calling state_change on the childs.
4532 This is to avoid the case where a src ghostpad is blocked (holding the
4533 stream lock), which would block the deactivation of the ghostpad's
4535 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4536 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4537 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4538 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4539 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4540 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4541 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4542 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4543 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4544 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4545 (gst_ghost_pad_class_init),
4546 (gst_ghost_pad_internal_do_activate_push),
4547 (gst_ghost_pad_internal_do_activate_pull),
4548 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4549 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4550 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4551 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4552 GhostPads now create their internal GstProxyPad at creation (and not
4553 when they're linked, as it was being done previously).
4554 The internal and target pads are linked straight away.
4555 The data will also travel through the other pad in order to make
4556 pad blocking and probes non-hackish (the probe/block now really happens
4557 on the GhostPad and not on the target).
4558 * gst/gstpad.c: (gst_pad_set_blocked_async),
4559 (gst_pad_link_prepare), (gst_pad_push_event):
4560 Remove previous ghostpad cruft.
4561 * gst/gstutils.c: (gst_pad_add_data_probe),
4562 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4563 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4564 (gst_pad_remove_buffer_probe):
4565 Remove previous ghost pad cruft.
4566 Added more detailed debug statements.
4567 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4568 Fix the testsuite for refcounting changes.
4569 The comments about who has references were correct, but the refcount
4570 being checked wasn't the same (!?!).
4574 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4576 * docs/gst/gstreamer-sections.txt:
4577 * gst/gstconfig.h.in:
4578 More docs for configuration options, add docs to gtk-doc.
4580 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4583 * gst/gstconfig.h.in:
4584 * win32/common/config.h:
4585 Fix build when disabling tracing (fixes #344016). Also start to document
4586 the defines that disable the sub-systems.
4588 2006-07-10 Edward Hervey <edward@fluendo.com>
4590 * gst/gst.c: (ensure_current_registry_forking):
4591 let's make valgrind happy...
4593 2006-07-09 Wim Taymans <wim@fluendo.com>
4595 * gst/gstelement.c: (activate_pads),
4596 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4597 Better pad activation code: Reset the collect value too on resync.
4600 2006-07-09 Wim Taymans <wim@fluendo.com>
4602 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4603 (gst_pad_activate_push):
4604 Use some more macros where it makes sense.
4605 Allow pad mode switching instead of asserting. When a pad
4606 is activated in one mode and we activate it in another,
4607 deactivate it first before activating it in a different mode.
4610 2006-07-08 Andy Wingo <wingo@pobox.com>
4612 * tools/gst-launch.c (main): Handle err == NULL.
4614 * gst/gst.c (init_post, ensure_current_registry)
4615 (ensure_current_registry_forking)
4616 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4617 factoring out the registry scanning into separate functions. Don't
4618 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4619 Better environment var name/interface suggestions accepted.
4621 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4623 * gst/gstobject.c: (gst_object_set_name_default),
4624 (gst_object_set_name):
4625 Random micro-optimisation: don't use a hash table
4626 with strings as keys and the usual strdup/strcmp
4627 involved, but rather just use the GQuark of the
4628 type name as key, since it needs to be looked up
4629 anyway to get the type name string.
4631 * tests/check/gst/gstobject.c: (GST_START_TEST):
4634 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4636 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4637 (gst_bin_iterate_all_by_interface):
4638 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4639 GTypes are gulongs and thus the top 4 bytes might be cut
4640 off on some platforms when doing GPOINTER_TO_INT, leading
4641 to invalid GTypes and bad things happening (see RH bug #179654).
4642 Also add a check to make sure the type passed in is really
4645 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4650 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4654 * gst-element-check.m4:
4655 * gst-element-check.m4.in:
4656 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4657 instead of the unversioned gst-inspect (#324176, #168659).
4659 2006-07-06 Wim Taymans <wim@fluendo.com>
4662 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4665 2006-07-06 Wim Taymans <wim@fluendo.com>
4667 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4668 (gst_base_src_wait), (gst_base_src_update_length),
4669 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4670 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4671 (gst_base_src_loop), (gst_base_src_start),
4672 (gst_base_src_activate_pull):
4674 blocksize == 0 now means the default blocksize when working in push
4676 Remove some pointless asserts in _wait function.
4677 Fix offset/length calculations and EOS handling. We can now pull 0
4678 bytes as well, which is allowed.
4679 use _check_get_range() to decide if we can operate in _pull based
4681 Fix refcounting leak when check_get_range function was not
4683 API GstBaseSrc::blocksize range can be 0 too now (default)
4685 * tests/check/elements/filesrc.c: (GST_START_TEST),
4687 Added check to test _get_range() behaviour.
4689 2006-07-06 Wim Taymans <wim@fluendo.com>
4691 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4692 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4693 (gst_pad_pull_range):
4695 Lots of comments and docs added to the pad functions.
4696 Flesh out the expected behaviour of the get_range() functions.
4698 2006-07-06 Wim Taymans <wim@fluendo.com>
4703 * gst/gstiterator.h:
4707 Remove comma at end of enumerator list.
4709 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
4711 * win32/common/libgstbase.def:
4712 * win32/common/libgstdataprotocol.def:
4713 * win32/common/libsgtreamer.def:
4714 Add new exported functions.
4716 2006-07-05 Wim Taymans <wim@fluendo.com>
4718 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4719 Add some more docs here and there.
4721 2006-07-05 Wim Taymans <wim@fluendo.com>
4723 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4724 (gst_base_sink_loop), (gst_base_sink_get_position):
4725 When operating in pull mode update the offset so that we
4728 2006-07-05 Wim Taymans <wim@fluendo.com>
4730 * gst/gstregistryxml.c: (read_string):
4731 Avoid strdup. (will happen in libxml, but hey!)
4736 2006-07-05 Wim Taymans <wim@fluendo.com>
4738 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4739 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4741 No point in checking if the size of the subbuffer > 0, the
4742 code handles it correclty as demonstrated by unit test.
4743 Also add a unit test for the zero sized _new_and_alloc and
4744 _copy. Fixes #346663.
4746 2006-07-05 Wim Taymans <wim@fluendo.com>
4748 * libs/gst/base/gstbasetransform.c:
4749 (gst_base_transform_prepare_output_buffer),
4750 (gst_base_transform_buffer_alloc),
4751 (gst_base_transform_handle_buffer):
4752 Make sure the buffer we pass to transform_ip has a refcount of
4753 1 and thus is writable. Fixes #343196
4755 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
4757 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4758 (gst_file_src_init), (gst_file_src_set_property),
4759 (gst_file_src_get_property), (gst_file_src_map_region):
4760 * plugins/elements/gstfilesrc.h:
4761 Add "sequential" property, off by default, to use madvise and hint
4762 to the kernel that sequential access is desired.
4763 Touch all retrieved pages by default to ensure they are pulled
4764 into memory. (Closes #345720)
4766 2006-07-03 Wim Taymans <wim@fluendo.com>
4768 * docs/design/part-block.txt:
4769 * docs/design/part-dynamic.txt:
4772 2006-07-03 Wim Taymans <wim@fluendo.com>
4774 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4775 (gst_caps_unref), (gst_static_caps_get),
4776 (gst_caps_append_structure):
4777 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4778 Use GSlice when the glib we build against is >= 2.10
4780 2006-07-03 Wim Taymans <wim@fluendo.com>
4782 * gst/gstelement.c: (gst_element_pads_activate):
4783 Small cleanup in pad activation code.
4785 2006-07-03 Wim Taymans <wim@fluendo.com>
4787 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4789 * gst/gst-i18n-app.h:
4790 * gst/gst-i18n-lib.h:
4791 * tools/gst-inspect.c: (print_signal_info):
4792 The attached patch will make the inclusion of gettext.h unconditional in
4793 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4794 libintl.h in tools/gst-inspect.c.
4795 This allows use of --disable-nls again and fixes #344642.
4797 2006-07-03 Edward Hervey <edward@fluendo.com>
4799 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4800 Implement pad blocking on events according to part-block.txt.
4801 More comments on behaviour.
4802 * tests/check/gst/gstevent.c: (test_event):
4803 Send event to peer pad of blocked pad (else it will block).
4805 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4807 * libs/gst/check/gstcheck.c: (gst_check_message_error),
4808 (gst_check_run_suite):
4809 if we get the wrong message, give us the types as string
4810 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4812 * tests/check/elements/filesrc.c: (GST_START_TEST):
4813 add a test for trying to open a non-existing file
4815 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4817 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4818 add a test for adding self
4820 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4822 * libs/gst/check/gstcheck.h:
4823 add some assert_ as alias for fail_unless_*
4824 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4825 increase test coverage
4827 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4830 include lcov.mak for lcov coverage generation
4831 * tools/Makefile.am:
4834 2006-07-02 Edward Hervey <edward@fluendo.com>
4836 * tests/check/elements/.cvsignore:
4839 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4842 don't set CFLAGS and friends for gcov, done from GST_GCOV now
4843 * tests/check/Makefile.am:
4846 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4848 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
4849 remove gst_caps_simplify; it was not declared and not used
4850 and deprecated in 0.8
4852 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4854 * docs/faq/gst-uninstalled:
4855 don't put empty paths on PYTHONPATH
4856 * docs/gst/gstreamer-sections.txt:
4857 remove some symbols that are not there
4859 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4861 * gst/gstcaps.c: (gst_caps_compare_structures):
4863 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4864 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4867 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4869 * libs/gst/dataprotocol/Makefile.am:
4870 build dataprotocol test by linking to the lib, instead of
4871 compiling the source, so we get coverage
4872 * tests/check/Makefile.am:
4873 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
4874 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
4875 add a test for filesrc
4877 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4879 * tests/check/gst/gststructure.c: (GST_START_TEST),
4880 (gst_structure_suite):
4881 Push coverage from 59.04% to 70.00%
4883 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4885 * tests/check/Makefile.am:
4886 gst-inspect every element; this makes sure that we also get
4887 coverage on element's get/set functions
4889 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4892 set CFLAGS and friends to -O0 if gcov is being used
4895 * libs/gst/base/Makefile.am:
4896 * libs/gst/check/Makefile.am:
4897 * libs/gst/controller/Makefile.am:
4898 * libs/gst/dataprotocol/Makefile.am:
4899 * libs/gst/net/Makefile.am:
4900 * plugins/elements/Makefile.am:
4901 * plugins/indexers/Makefile.am:
4902 add makefile rules to generate gcov data and clean up
4903 * tests/check/Makefile.am:
4904 add a coverage target that generates an html overview
4907 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4909 * tests/check/elements/fakesink.c:
4910 * tests/check/elements/fakesrc.c:
4911 * tests/check/elements/fdsrc.c:
4912 * tests/check/elements/identity.c:
4913 * tests/check/generic/sinks.c: (gst_sinks_suite):
4914 * tests/check/generic/states.c:
4915 * tests/check/gst/gst.c:
4916 * tests/check/gst/gstabi.c:
4917 * tests/check/gst/gstbin.c:
4918 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
4919 * tests/check/gst/gstbus.c: (gst_bus_suite):
4920 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4921 * tests/check/gst/gstelement.c:
4922 * tests/check/gst/gstevent.c: (gst_event_suite):
4923 * tests/check/gst/gstghostpad.c:
4924 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
4925 * tests/check/gst/gstmessage.c: (gst_message_suite):
4926 * tests/check/gst/gstminiobject.c:
4927 * tests/check/gst/gstobject.c:
4928 * tests/check/gst/gstpad.c:
4929 * tests/check/gst/gstpipeline.c:
4930 * tests/check/gst/gstplugin.c:
4931 * tests/check/gst/gstquery.c: (gst_query_suite):
4932 * tests/check/gst/gstsegment.c: (gst_segment_suite):
4933 * tests/check/gst/gststructure.c:
4934 * tests/check/gst/gstsystemclock.c:
4935 * tests/check/gst/gsttag.c:
4936 * tests/check/gst/gsttask.c: (gst_task_suite):
4937 * tests/check/gst/gstutils.c:
4938 * tests/check/gst/gstvalue.c:
4939 * tests/check/libs/adapter.c:
4940 * tests/check/libs/basesrc.c:
4941 * tests/check/libs/collectpads.c:
4942 * tests/check/libs/controller.c:
4943 * tests/check/libs/gdp.c: (gst_dp_suite):
4944 * tests/check/libs/gstnetclientclock.c:
4945 * tests/check/libs/gstnettimeprovider.c:
4946 * tests/check/libs/libsabi.c: (libsabi_suite):
4947 * tests/check/libs/typefindhelper.c:
4948 * tests/check/pipelines/cleanup.c:
4949 * tests/check/pipelines/parse-launch.c:
4950 * tests/check/pipelines/simple-launch-lines.c:
4951 * tests/check/pipelines/stress.c: (stress_suite):
4954 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4956 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
4957 * libs/gst/check/gstcheck.h:
4958 create a macro and function so that the simple unit test
4959 case can be just one macro to create main()
4961 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
4963 * gst/gstbin.c: (gst_bin_restore_thyself):
4964 * gst/gstxml.c: (gst_xml_make_element):
4965 Fix deserialisation from XML. Set parent manually
4966 instead of using gst_bin_add(), since gst_bin_add()
4967 will unlink all pads of the element being added.
4970 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
4972 Patch by: Peter Kjellerstedt <pkj at axis com>
4974 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
4975 Fix missing g_strdup() and double free when using the
4976 --gst-plugin-load command line option (#346097).
4978 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
4981 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
4983 * libs/gst/net/gstnetclientclock.c:
4984 * libs/gst/net/gstnettimeprovider.c:
4985 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
4987 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
4989 * docs/manual/advanced-dataaccess.xml:
4990 Fix buffer probe example compilation in
4993 2006-06-22 Edward Hervey <edward@fluendo.com>
4995 * gst/gstelement.c: (gst_element_pads_activate):
4996 We need to deactivate src pads first and then sink pads.
4997 The reason is the src pads might be blocking while holding the streaming
4998 lock, so we need to deactivate them first so that deactivating the sink
4999 pads doesn't block (since it will require the streaming lock).
5001 2006-06-22 Wim Taymans <wim@fluendo.com>
5003 * libs/gst/base/gstbasetransform.c:
5004 (gst_base_transform_buffer_alloc):
5005 Forgot to remove two unneeded unrefs.
5006 Simplify a check _is_equal allready checks the obvious case.
5008 2006-06-22 Wim Taymans <wim@fluendo.com>
5010 * docs/design/part-block.txt:
5011 Some docs about what pad_block should do.
5013 2006-06-22 Wim Taymans <wim@fluendo.com>
5015 * gst/gstcaps.c: (gst_caps_replace):
5016 Fix crasher when passed NULL. Doc clarification.
5017 Optimize for the trivial case.
5019 * gst/gstpipeline.c: (gst_pipeline_change_state):
5022 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5023 Small documentation cleanup.
5025 * libs/gst/base/gstbasetransform.c:
5026 (gst_base_transform_buffer_alloc):
5027 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5028 is what we need and it avoids a whole lot of redundant
5029 refcount operations.
5031 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
5033 Patch by: Philip Jägenstedt <philip at lysator liu se>
5035 * docs/manual/advanced-dataaccess.xml:
5036 Fix 'Embedding static elements' section to use
5037 GST_PLUGIN_DEFINE_STATIC (#345607).
5039 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5041 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5042 Attempt to 'fix' spuriously failing test case: it seems like the
5043 timeout of half a second is simply too small when the system is under
5044 load otherwise, and the timeout doesn't really seem to serve any
5045 particular purpose here. Give the pipeline a few seconds to preroll
5046 first, and then give it another half a second to go from PAUSED to
5047 PLAYING and marshal the message into the main thread.
5049 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5051 * tools/gst-feedback-m.m:
5052 Don't only use unversioned tools, try versioned tools as well
5055 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5057 * gst/gstbus.c: (gst_bus_class_init):
5058 Fix some typos, make docs more explicit.
5060 2006-06-20 Wim Taymans <wim@fluendo.com>
5062 * tests/check/gst/gstghostpad.c: (block_callback),
5063 (GST_START_TEST), (gst_ghost_pad_suite):
5064 Added some more ghostpad tests, mainly blocking
5067 2006-06-16 Wim Taymans <wim@fluendo.com>
5069 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5070 (gst_file_sink_close_file), (gst_file_sink_do_seek),
5071 (gst_file_sink_event), (gst_file_sink_render):
5072 * plugins/elements/gstfilesink.h:
5073 Check if we can seek in the file instead of assuming
5074 we always can. Post an error when we are asked to seek in a
5075 non-seekable file (like a fifo). Fixes #343312.
5078 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5080 * tools/gst-launch.1.in:
5081 Un-garble (fourcc) bit in filtered caps section.
5083 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5085 * docs/manual/advanced-autoplugging.xml:
5086 * docs/manual/basics-helloworld.xml:
5087 * docs/manual/highlevel-components.xml:
5088 Don't leak bus reference in sample code.
5090 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
5093 Add default for new --enable-plugin-docs switch.
5096 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5100 Use new ENABLE_PLUGIN_DOCS conditional.
5102 2006-06-14 Wim Taymans <wim@fluendo.com>
5104 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5105 Make it clear with a FIXME and a real define what the #if 0
5106 previously disabled.
5108 2006-06-14 Wim Taymans <wim@fluendo.com>
5110 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5111 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5112 * libs/gst/base/gstbasetransform.c:
5113 (gst_base_transform_sink_eventfunc):
5114 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5115 Don't randomly and silently reset a segment when the format
5116 changes as this is a bug somewhere upstream. Fixes #330379.
5118 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
5120 Patch by: Wouter Paesen <wouter at kangaroot net>
5122 * libs/gst/controller/gstcontroller.c:
5123 (gst_controlled_property_new):
5124 Fix controlling of float properties (#344849).
5126 * tests/check/libs/controller.c:
5127 (gst_test_mono_source_get_property),
5128 (gst_test_mono_source_set_property),
5129 (gst_test_mono_source_class_init), (GST_START_TEST):
5130 While we're at it, add some float stuff to unit test.
5132 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5135 * docs/images/gdp-header.svg:
5137 * docs/libs/Makefile.am:
5138 * docs/libs/gdp-header.png:
5139 * libs/gst/dataprotocol/dataprotocol.c:
5140 add it to the API docs
5141 * docs/manual/intro-motivation.xml:
5144 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5146 * gst/gst.c: (scan_and_update_registry), (init_post):
5147 If the fork()'ed child process can't write the updated registry cache
5148 file to disk for some reason, make it exit with a failure exit code,
5149 so that the parent can then re-scan the plugins itself and update the
5150 registry structures in memory and work with that (rather than failing
5151 when creating elements because seemingly no plugins are available).
5152 Refactor registry scanning code into separate function for this and
5153 also separate fork() and non-fork() code paths. Fixes #344748.
5155 2006-06-13 Wim Taymans <wim@fluendo.com>
5157 * docs/manual/advanced-dataaccess.xml:
5158 Fix wrong PluginDesc. Fixes #344755.
5160 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5162 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5163 Fix silly bug that prevented us from creating
5164 ~/.gstreamer-0.10 and writing the registry in one
5165 go (the first call to g_mkstemp() would overwrite the
5166 placeholder in the template string, so the second call
5167 to g_mkstemp() after creating the missing directory
5168 would then error out with 'invalid argument').
5170 2006-06-13 Edward Hervey <edward@fluendo.com>
5172 * gst/gst.c: (init_post):
5175 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5177 * gst/glib-compat-private.h:
5178 * gst/glib-compat.c:
5179 * gst/glib-compat.h:
5180 * gst/gstvalue.c: (gst_value_serialize_flags):
5181 remove GLib 2.6 compatibility code
5183 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
5185 * gst/parse/Makefile.am:
5186 Fix build with 'make -j N' even more (#340016).
5188 2006-06-12 Wim Taymans <wim@fluendo.com>
5190 * docs/gst/gstreamer-sections.txt:
5193 2006-06-12 Wim Taymans <wim@fluendo.com>
5195 * gst/gstsegment.c: (gst_segment_set_duration),
5196 (gst_segment_set_last_stop), (gst_segment_set_seek),
5197 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5198 (gst_segment_to_running_time), (gst_segment_clip):
5199 Use G_UNLIKELY to help the compiler a bit.
5201 2006-06-12 Wim Taymans <wim@fluendo.com>
5203 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5205 * gst/gstevent.c: (gst_event_get_type):
5207 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5209 constify quark registration strings. Fixes #344115
5210 Avoid unneeded type checking is _pad_push() by internally
5211 calling gst_pad_chain_unchecked().
5213 2006-06-12 Wim Taymans <wim@fluendo.com>
5215 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5216 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5217 (gst_subbuffer_finalize), (gst_buffer_create_sub),
5218 (gst_buffer_is_span_fast), (gst_buffer_span):
5219 Init _type for consistency.
5220 Use _FLAGS macro to avoid type check.
5221 Avoid unneeded type checks in subbufer code.
5223 2006-06-12 Wim Taymans <wim@fluendo.com>
5225 * gst/gst.c: (gst_debug_help):
5226 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5227 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5228 (gst_plugin_feature_list_free):
5229 * gst/gstregistry.c: (gst_registry_add_plugin),
5230 (gst_registry_add_feature), (gst_registry_plugin_filter),
5231 (gst_registry_feature_filter), (gst_registry_find_plugin),
5232 (gst_registry_find_feature), (gst_registry_get_plugin_list),
5233 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5234 * gst/gstregistryxml.c: (load_feature),
5235 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5236 * gst/gstminiobject.c: (gst_mini_object_unref),
5237 (gst_mini_object_replace), (gst_value_mini_object_free),
5238 (gst_value_mini_object_copy):
5239 Use _CAST macros to avoid unneeded type checking.
5240 Added some more G_UNLIKELY.
5242 2006-06-12 Wim Taymans <wim@fluendo.com>
5245 Avoid unneeded type checking.
5246 API: GST_BUFFER_IS_DISCONT
5248 * gst/gstminiobject.h:
5249 Avoid type check in flag accessor.
5251 * gst/gstelementfactory.h:
5253 * gst/gstpluginfeature.h:
5255 API: GST_ELEMENT_FACTORY_CAST
5256 API: GST_PLUGIN_CAST
5257 API: GST_PLUGIN_FEATURE_CAST
5259 2006-06-12 Wim Taymans <wim@fluendo.com>
5261 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5263 Add G_UNLIKELY in type registration.
5264 Avoid type check in _ref/_unref since that is also
5267 2006-06-12 Wim Taymans <wim@fluendo.com>
5269 * gst/gsterror.c: (gst_g_error_get_type):
5270 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5271 (gst_static_pad_template_get_type):
5272 * gst/gsttaglist.c: (gst_tag_list_get_type):
5273 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5274 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5275 * gst/gsturi.c: (gst_uri_handler_get_type):
5276 * gst/gstvalue.c: (gst_date_get_type):
5277 * gst/gstxml.c: (gst_xml_get_type):
5278 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5279 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5280 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5281 Add G_UNLIKELY in type registration.
5283 2006-06-12 Wim Taymans <wim@fluendo.com>
5285 * tools/gst-inspect.c: (print_signal_info):
5286 Properly print enum values.
5288 2006-06-12 Wim Taymans <wim@fluendo.com>
5290 * gst/gstinfo.c: (gst_debug_set_active),
5291 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5293 Add some G_[UN]LIKELY.
5294 Maintain __gst_debug_min to avoid formatting the arguments of
5295 debug messages that will be dropped anyway to avoid a lot of
5296 overhead from the debugging system.
5298 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5302 add missing files containing translatable strings, tell intltool about
5305 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5307 * tests/check/libs/.cvsignore:
5308 add test-binary to ignore list
5310 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5312 * docs/libs/gstreamer-libs-docs.sgml:
5313 reorder (put dp into a chapter) and indent
5315 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5320 === release 0.10.8 ===
5322 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5325 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5327 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5329 * gst/gst.c: (init_post):
5330 move pid declaration to declaration block
5332 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5334 * gst/gst.c: (init_post):
5335 use _exit() instead of exit() in our forked child; this ensures
5336 that none of the registered exit handlers from whatever is using
5337 GStreamer get executed. This fixes gnome-mixer-applet failing
5338 to load, because ORBit would shut down.
5339 Spotted by: Edward Hervey <edward@fluendo.com>
5340 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
5343 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5348 === release 0.10.7 ===
5350 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5353 releasing 0.10.7, "Soepeke, ik zie ou"
5355 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
5378 * win32/common/config.h:
5381 2006-06-07 Wim Taymans <wim@fluendo.com>
5383 * gst/gstindex.c: (gst_index_gtype_resolver):
5384 * tools/gst-xmlinspect.c: (print_plugin_info):
5385 Fix leak spotted by coverity checker. Fixes #343827
5386 Fix another other leak found by paolo borelli.
5388 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5390 * libs/gst/dataprotocol/dataprotocol.c:
5391 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5392 (gst_dp_version_get_type), (gst_dp_init),
5393 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5394 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5395 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5396 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5397 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5398 (gst_dp_packetizer_free):
5399 * libs/gst/dataprotocol/dataprotocol.h:
5400 API: add a GstDPPacketizer object, and create/free functions
5401 API: add GstDPVersion enum
5402 Add 1.0 event function that uses the string serialization
5403 Serialize more useful buffer flags
5406 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5408 * tests/check/Makefile.am:
5409 * tests/check/gst/gstabi.c:
5410 * tests/check/gst/struct_ppc64.h:
5411 * tests/check/libs/libsabi.c:
5412 * tests/check/libs/struct_ppc64.h:
5413 add ppc64 structure sizes
5415 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5417 * tests/check/Makefile.am:
5418 * tests/check/gst/gstabi.c:
5419 * tests/check/gst/struct_x86_64.h:
5420 * tests/check/libs/libsabi.c:
5421 * tests/check/libs/struct_x86_64.h:
5422 generate and add structure size lists for x86_64
5424 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5426 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5427 * libs/gst/check/gstcheck.h:
5428 factor out the method from tests that checks size of structures,
5429 and add code to generate the header containing these sizes
5430 * tests/check/gst/gstabi.c: (GST_START_TEST):
5431 * tests/check/gst/struct_i386.h:
5432 * tests/check/libs/libsabi.c: (GST_START_TEST):
5433 * tests/check/libs/struct_i386.h:
5436 2006-06-06 Michael Smith <msmith@fluendo.com>
5439 Don't use c++-style comments, fixes #343929
5441 2006-06-05 Edward Hervey <edward@fluendo.com>
5444 plugin_paths is not used if we build without registry support.
5446 * gst/gstsegment.c: (gst_segment_copy):
5447 _copy() was always returning NULL...
5449 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5451 * libs/gst/dataprotocol/dataprotocol.c:
5452 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5453 (gst_dp_packet_from_event):
5456 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5458 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5459 make sure we unset caps
5461 2006-06-02 Michael Smith <msmith@fluendo.com>
5463 * libs/gst/check/gstcheck.c: (gst_check_init),
5464 (gst_check_chain_func):
5465 * libs/gst/check/gstcheck.h:
5466 Add a cond/mutex to the check support lib, signal this whenever we
5467 add to the buffers list. This will allow tests to not busy-wait on
5470 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5472 * libs/gst/dataprotocol/dataprotocol.c:
5473 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5474 (gst_dp_packet_from_event):
5475 factor out some common header init code
5477 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5479 * docs/libs/gstreamer-libs-sections.txt:
5480 * docs/libs/tmpl/gstdataprotocol.sgml:
5481 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5482 * libs/gst/dataprotocol/dataprotocol.h:
5483 API: make gst_dp_crc() public
5485 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5487 * plugins/indexers/gstindexers.c: (plugin_init):
5488 conditionally register fileindexer (fixes #343598)
5490 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5492 * gst/gsttagsetter.h:
5493 Can't cast ifaces to a class
5495 * libs/gst/net/gstnetclientclock.h:
5496 * libs/gst/net/gstnettimeprovider.h:
5497 * plugins/elements/gstfakesink.h:
5498 * plugins/elements/gstfakesrc.h:
5499 * plugins/elements/gstfdsink.h:
5500 * plugins/elements/gstfdsrc.h:
5501 * plugins/elements/gstfilesink.h:
5502 * plugins/elements/gstfilesrc.h:
5503 * plugins/elements/gstidentity.h:
5504 * plugins/elements/gstqueue.h:
5505 * plugins/elements/gsttee.h:
5506 * plugins/indexers/gstfileindex.c:
5507 * plugins/indexers/gstmemindex.c:
5508 * tests/old/examples/plugins/example.h:
5509 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5511 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
5513 * libs/gst/dataprotocol/dataprotocol.c:
5514 (gst_dp_header_from_buffer):
5515 make sure we zero the whole ABI-compatible area
5517 2006-06-01 Wim Taymans <wim@fluendo.com>
5519 Patch by: Alessandro Decina <alessandro at nnva dot org>
5521 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5522 Make sure the EOS flag is cleared from pads after a flush
5523 or stop. Fixes #343538.
5525 * tests/check/libs/collectpads.c: (GST_START_TEST),
5526 (gst_collect_pads_suite):
5527 Added test for collectpads reusage after EOS.
5529 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
5532 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5533 * win32/common/libgstbase.def:
5534 export gst_collect_pads_set_flushing
5535 * win32/common/libgstreamer.def:
5536 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5537 gst_value_fraction_multiply
5538 * win32/vs6/gst_inspect.dsp:
5539 add a link to intl.lib
5541 2006-05-30 Wim Taymans <wim@fluendo.com>
5543 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5544 (gst_collect_pads_chain):
5545 Handle the case where a pad is removed from the collection
5546 that could cause the other pads to become collectable.
5548 2006-05-30 Wim Taymans <wim@fluendo.com>
5551 Clarify the use of _release_request_pad() and
5552 _get_request_pad() a bit better.
5554 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5555 (gst_adapter_take_buffer):
5556 Fix some doc and comment typos.
5558 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5560 * docs/gst/gstreamer-sections.txt:
5561 * docs/libs/gstreamer-libs-sections.txt:
5562 add declared symbols
5564 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
5566 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5567 Add debug that can be enabled using a #define at the top of the file,
5568 for dumping stats about how late/early we were when waking up from
5569 waiting on the clock.
5571 2006-05-30 Wim Taymans <wim@fluendo.com>
5573 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5574 When rebuilding the pad list, don't leak the previous list.
5576 2006-05-30 Wim Taymans <wim@fluendo.com>
5578 Patch by: Lutz Mueller <lutz at topfrose dot de>
5580 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5581 (gst_base_src_get_query_types), (gst_base_src_update_length):
5582 Publish supported query types.
5583 Update last_stop field in get_range mode so the position
5584 query works. Fixes #342321.
5586 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
5588 * docs/gst/gstreamer-sections.txt:
5589 * gst/gsttaglist.c: (_gst_tag_initialize):
5591 API: add GST_TAG_PREVIEW_IMAGE (#343341).
5593 2006-05-30 Wim Taymans <wim@fluendo.com>
5595 Patch by: Alessandro Decina <alessandro at nnva dot org>
5597 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5598 Unlock mutex when removing an unknown pad.
5601 * tests/check/Makefile.am:
5602 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5603 (push_event), (setup), (teardown), (GST_START_TEST),
5604 (gst_collect_pads_suite), (main):
5605 Added collecpads check, disabled for now as check crashes for
5608 2006-05-29 Wim Taymans <wim@fluendo.com>
5610 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5611 Don't leak pads lists.
5613 2006-05-29 Wim Taymans <wim@fluendo.com>
5615 * docs/libs/gstreamer-libs-sections.txt:
5616 * libs/gst/base/gstcollectpads.c:
5617 (gst_collect_pads_set_flushing_unlocked),
5618 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5619 (gst_collect_pads_stop):
5620 * libs/gst/base/gstcollectpads.h:
5621 API: gst_collect_pads_set_flushing()
5622 Added api to set the pads to flushing, useful for seeking
5623 code in elements using collectpads.
5624 Clear segment when receiving a flush.
5626 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
5628 * gst/gst.c: (add_path_func), (init_post):
5629 Don't scan registry paths passed via --gst-plugin-path immediately
5630 (will crash, because absolutely nothing is set up and no types are
5631 registered etc.); do this later in init_post(). Fixes #343057.
5633 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
5635 * gst/gst.c: (init_post):
5636 if we have fork, fork while reading/rebuilding the registry
5637 so the parent doesn't take the hit of having all plugins loaded
5638 in memory. Fixes #342777.
5640 Check if we have fork()
5641 * win32/common/config.h.in:
5644 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5646 * plugins/elements/gstelements.c:
5647 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5648 (gst_file_src_init), (gst_file_src_set_property),
5649 (gst_file_src_get_property), (gst_file_src_start):
5650 * plugins/elements/gstfilesrc.h:
5651 API: GstFileSrc::use-mmap
5653 Add a use-mmap property to enable easier testing of all code paths.
5654 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5655 in the absence of gnomevfssrc. (Closes #340501)
5657 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5659 * tools/gst-inspect.c:
5660 Add missing include, removes warning of ngettext not being defined on
5663 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5665 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5666 Handle NULL input and output pointers silently as a failed conversion,
5667 rather than g_warnings.
5669 2006-05-25 Wim Taymans <wim@fluendo.com>
5671 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5672 Initialize variable before using. Fixes #342820.
5674 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
5676 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5677 Fix off-by-one bug that would only allow peeks of N-1 bytes
5678 from the start even if the buffer to typefind on contains
5679 in fact N bytes of data (makes vorbis typefinding from a
5680 vorbis identification header buffer work).
5682 * tests/check/Makefile.am:
5683 * tests/check/libs/.cvsignore:
5684 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5685 (gst_typefindhelper_suite), (main), (foobar_typefind),
5687 Add very basic unit test for gst_type_find_helper_for_buffer()
5688 that checks for the problem fixed above.
5690 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
5692 * tools/gst-inspect.c: (print_interfaces),
5693 (print_element_properties_info), (print_element_list), (main):
5694 add more translatable strings
5696 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
5698 Patch by: Julien Moutte <julien at moutte net>
5700 * docs/gst/gstreamer-sections.txt:
5701 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5703 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5704 (gst_fake_sink_preroll):
5705 * plugins/elements/gstfakesink.h:
5706 API: Add new GstFakeSink::preroll-handoff signal (#337100).
5708 2006-05-23 Wim Taymans <wim@fluendo.com>
5710 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5712 Added _CUSTOM error and success GstFlowReturn that can be
5713 used be elements internally.
5714 Added macro to check for SUCCESS flowreturns.
5715 API: GST_FLOW_CUSTOM_SUCCESS
5716 API: GST_FLOW_CUSTOM_ERROR
5717 API: GST_FLOW_IS_SUCCESS
5719 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5720 Added check for GstFlowReturn sanity.
5722 2006-05-23 Wim Taymans <wim@fluendo.com>
5724 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5726 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5727 (gst_collect_pads_event):
5728 clear/reset segment info in FLUSH_STOP.
5731 2006-05-22 Stefan Kost <ensonic@users.sf.net>
5733 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5734 (gst_collect_pads_check_collected):
5735 Flush queued buffer on _stop(), fixes playing again (#342454)
5737 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
5739 * tests/check/gst/gststructure.c: (GST_START_TEST),
5740 (gst_structure_suite):
5741 add a test for a complete structure
5743 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5745 * docs/faq/developing.xml:
5747 * docs/faq/troubleshooting.xml:
5748 * docs/faq/using.xml:
5749 Some minor FAQ updates that won't change the fact that
5750 our FAQ is badly structured, full of information hardly
5751 anyone new to GStreamer needs to know and lacking lots
5752 of information people constantly ask for.
5754 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
5756 * gst/gstpad.c: (gst_pad_set_caps):
5757 Short-circuit gst_pad_set_caps if setting the existing
5758 caps pointer again, and avoid printing debug and
5759 reffing/unreffing the caps.
5761 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5762 There's actually no need to set the caps before pushing -
5763 the acceptcaps method will handle it anyway.
5765 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5767 * docs/gst/gstreamer-sections.txt:
5768 * win32/common/libgstreamer.def:
5769 * gst/gstutils.c: (gst_element_seek_simple):
5771 API: add gst_element_seek_simple() (#342238).
5773 2006-05-18 Edward Hervey <edward@fluendo.com>
5775 * gst/gsttypefind.c: (gst_type_find_get_type):
5776 * gst/gsttypefind.h:
5777 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5778 registered for GstTypeFind pointers. This allows wrapping the structure
5779 in bindings (i.e. gst-python).
5781 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5783 * gst/gsttagsetter.c:
5784 Docs additions and fixes (see #339918).
5786 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
5788 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5789 The caps intersection algorithm can produce multiple copies of the
5790 caps. Until that is fixed, we need to simplify the result to be
5791 sure whether the allowed caps are fixed or not.
5793 * plugins/elements/gstqueue.c: (gst_queue_init),
5794 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5795 (gst_queue_push_one):
5796 Proxied buffer alloc should not set the caps on the source pad.
5797 When pushing buffers, we always accept the caps change that triggers.
5798 This prevents negotiation errors caused by caps changing mid-stream
5799 and then being refused on our source pad (because upstream is now
5800 refusing those caps).
5802 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5804 * tests/examples/helloworld/helloworld.c: (main):
5805 Must plug audioconvert and audioresample between decoder
5808 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
5810 * gst/gstregistryxml.c: (read_string), (load_pad_template),
5811 (load_feature), (load_plugin):
5812 Allow empty strings for some of the plugin fields so we don't
5813 drop valid plugin entries that were written out correctly
5816 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
5818 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5819 Use g_remove and g_rename instead of remove and rename that don't
5820 handle utf8 characters. rename was failing for users who had specific
5821 characters in their name then the registry was built at each
5823 * win32/vs6/gst_inspect.dsp:
5824 * win32/vs6/gst_launch.dsp:
5825 * win32/vs6/libgstbase.dsp:
5826 * win32/vs6/libgstcoreelements.dsp:
5827 * win32/vs6/libgstreamer.dsp:
5828 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
5829 build of libgstreamer and clean unused libraries in projects link
5832 2006-05-17 Edward Hervey <edward@fluendo.com>
5834 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5835 The queue is not responsible for pushing an EOS when receiving a fatal
5836 flow error. It's up to the real element driving the pipeline to do that.
5838 2006-05-16 Edward Hervey <edward@fluendo.com>
5840 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5841 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
5842 buffer returned a fatal error. It should just send an EOS and stop
5844 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
5845 when pushing buffers on the queue and will be able to handle the event.
5847 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
5849 * docs/manual/basics-bins.xml:
5850 * docs/manual/basics-init.xml:
5851 Fix typos and minor errors in sample code (#341856).
5853 2006-05-16 Wim Taymans <wim@fluendo.com>
5855 * docs/design/part-qos.txt:
5856 Fix indexes in formulas to make more sense.
5858 2006-05-15 Wim Taymans <wim@fluendo.com>
5860 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5861 Don't report POSITION based on clock time if sync is
5864 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
5867 Add cast to make compiler happy - refcount variable was a gint
5868 in GstObject but is a guint in GObject and g_atomic_int_get()
5871 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
5873 * gst/parse/Makefile.am:
5874 chain commands using &&, which also makes parallel make work
5876 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
5878 * docs/gst/gstreamer-sections.txt:
5884 === release 0.10.6 ===
5886 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
5889 releasing 0.10.6, "Take the cannoli"
5891 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
5893 * tools/gst-launch.c: (print_tag):
5894 Fix use of uninitialized variable in the hypothetical
5895 case that some broken plugin creates a GST_TAG_IMAGE
5896 tag containing a NULL buffer (#341667).
5898 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
5900 * tools/gst-launch.c: (print_tag):
5901 Print something more intelligible for image tags when
5902 using the -t switch (#341556).
5904 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
5909 define GST_MAJORMINOR so we have it available in win32/common/config.h
5910 Possibly remove it from our Makefile.am files later
5911 * win32/common/config.h:
5912 * win32/common/config.h.in:
5913 added GST_MAJORMINOR
5914 * win32/common/gstenumtypes.c: (register_gst_resource_error):
5915 * win32/common/gstversion.h:
5918 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
5921 Update win32 files listing.
5922 * win32/common/gstversion.h:
5923 Add GST_MAJORMINOR definition.
5924 * win32/common/libgstreamer.def:
5925 Add new exported functions.
5927 2006-05-12 Michael Smith <msmith@fluendo.com>
5929 * gst/gstplugin.c: (gst_plugin_load_file):
5930 If an so file has no plugin entry point, unload the module.
5932 2006-05-11 Wim Taymans <wim@fluendo.com>
5934 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
5935 (gst_queue_set_property):
5936 Don't forget to signal the _chain or _loop function
5937 when the queue size or thresholds change since that might
5938 cause them to make progres again.
5940 2006-05-11 Stefan Kost <ensonic@users.sf.net>
5942 * gst/gstclock.c: (gst_clock_class_init):
5943 * gst/gstindex.c: (gst_index_class_init):
5944 * gst/gstobject.c: (gst_object_class_init):
5945 * gst/gstpad.c: (gst_pad_class_init):
5946 * gst/gstpipeline.c: (gst_pipeline_class_init):
5947 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5948 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
5949 * libs/gst/base/gstbasetransform.c:
5950 (gst_base_transform_class_init):
5951 * libs/gst/net/gstnetclientclock.c:
5952 (gst_net_client_clock_class_init):
5953 * libs/gst/net/gstnettimeprovider.c:
5954 (gst_net_time_provider_class_init):
5955 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
5956 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5957 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5958 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
5959 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
5960 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5961 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5962 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5963 * plugins/elements/gsttee.c: (gst_tee_class_init):
5964 * tests/old/examples/plugins/example.c: (gst_example_class_init):
5965 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
5966 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
5968 2006-05-11 Wim Taymans <wim@fluendo.com>
5970 * gst/gstbuffer.c: (_gst_buffer_initialize):
5971 Register subbufer along with the buffer type so that
5972 it does not accidentally gets registered from N
5973 different streaming threads in a non threadsafe way.
5975 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
5980 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
5981 gst_event_ref() and gst_message_ref() functions again
5982 (ugly hack, please do fix if there's a better way besides
5983 overrides.txt, which doesn't seem to work).
5985 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5987 * libs/gst/check/gstcheck.h:
5988 add an assert for setting state to avoid lots of repetitive code
5991 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5993 * gst/gstvalue.c: (gst_value_serialize_flags):
5994 fix a leak if no flags are set
5995 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5998 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6000 * docs/manual/basics-pads.xml:
6001 Expand a bit on caps and filtered links and update
6002 examples that were still using the no longer existing
6003 gst_pad_link_filtered() (#338206).
6005 2006-05-10 Wim Taymans <wim@fluendo.com>
6007 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6008 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6009 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6010 (gst_collect_pads_stop):
6011 * libs/gst/base/gstcollectpads.h:
6012 No need to call _stop in _finalize.
6013 Iterate the main pad list in _finalize.
6014 Added some more debug.
6015 Free lists and data in the right order.
6016 Also free data whem doing _remove_pad when stopped for
6017 backward compatibility protect ::started with PAD_LOCK as
6020 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6022 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6023 (gst_structure_parse_value):
6025 rename a method so that it actually says what it does better
6027 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6029 * gst/gstevent.c: (_gst_event_initialize):
6030 * gst/gstformat.c: (_gst_format_initialize):
6031 make sure some essential types used by events are registered
6032 as part of gst_init()
6033 * gst/gstvalue.c: (gst_value_serialize_flags):
6034 if no flags are set, serialize them to a value that represents NONE
6035 so that deserializing them works
6036 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6037 add tests for serialization and deserialization of flags
6039 2006-05-10 Wim Taymans <wim@fluendo.com>
6041 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6042 (gst_collect_pads_collect_range), (gst_collect_pads_available),
6043 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6044 (gst_collect_pads_event), (gst_collect_pads_chain):
6047 Catch and return errors from the collect function
6048 Refuse data on eos pads.
6050 2006-05-10 Edward Hervey <edward@fluendo.com>
6052 * gst/gstinterface.h:
6053 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6054 GInterface type checking.
6055 They were previously using non-defined macros.
6057 2006-05-09 Wim Taymans <wim@fluendo.com>
6059 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6060 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6061 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6062 (gst_collect_pads_start), (gst_collect_pads_stop),
6063 (gst_collect_pads_peek), (gst_collect_pads_pop),
6064 (gst_collect_pads_available), (gst_collect_pads_read),
6065 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6066 (gst_collect_pads_is_collected), (gst_collect_pads_event),
6067 (gst_collect_pads_chain):
6068 * libs/gst/base/gstcollectpads.h:
6069 Clean up the mess that is collectpads, add comments and
6070 FIXMEs where needed.
6071 Maintain a separate pad list so we can add pads while
6072 collecting the other ones. For this we need a new separate
6074 Fix memory leak in finalize.
6075 Refactor some weird code to set/unset pad flushing flags, mark
6077 Don't crash in _available, _read, _flush when we're EOS.
6079 * tests/check/libs/.cvsignore:
6080 Ignore adapter check binary.
6082 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6084 * gst/gstindex.c: (gst_index_resolver_get_type):
6085 * plugins/elements/gstfakesink.c:
6086 (gst_fake_sink_state_error_get_type):
6087 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6088 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6089 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6090 Const-ify GEnumValue arrays.
6092 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6094 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6095 Add test case for flags + gst_buffer_make_metadata_writable().
6097 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6099 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6100 gst_buffer_make_metadata_writable() should maintain the
6101 buffer flags (those that make sense at least) (see #340859).
6103 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6105 * tools/gst-inspect.c:
6106 * tools/gst-launch.c:
6107 * tools/gst-typefind.c:
6108 * tools/gst-xmlinspect.c:
6110 Fix up includes: need to include stdlib.h in tools.h for exit().
6112 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6114 * gst/gsttaglist.c: (_gst_tag_initialize):
6116 API: add GST_TAG_IMAGE tag (#340721).
6118 2006-05-08 Wim Taymans <wim@fluendo.com>
6121 Added some docs for the segment query.
6123 2006-05-08 Wim Taymans <wim@fluendo.com>
6125 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6126 (gst_base_src_loop), (gst_base_src_change_state):
6127 Always push non-flushing serialized events in the streaming
6130 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
6132 * gst/gsterror.c: (_gst_stream_errors_init):
6133 Add a missing error string.
6135 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
6137 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6138 Add applied_rate to the debug
6140 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6141 Copy applied_rate into the outgoing NEWSEGMENT event
6143 2006-05-08 Wim Taymans <wim@fluendo.com>
6145 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6147 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6148 (gst_base_sink_change_state):
6149 call ::unlock before taking the PREROLL_LOCK so we can safely
6150 handle elements that lock in ::render.
6153 2006-05-08 Edward Hervey <edward@fluendo.com>
6155 * autogen.sh: (CONFIGURE_DEF_OPT):
6156 Darwin's libtoolize is in fact called glibtoolize.
6157 Adding glibtoolize to the list of accepted names for libtoolize.
6159 2006-05-08 Wim Taymans <wim@fluendo.com>
6161 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6162 Unify error handling, don't post an error message
6163 when a push() returns EOS but perform our normal EOS
6164 handling code. Fixes #340772.
6166 2006-05-08 Wim Taymans <wim@fluendo.com>
6168 * docs/design/part-overview.txt:
6169 Make upsteam/downstream concepts more clear.
6170 Give an example of serialized/non-serialized events.
6172 * docs/design/part-events.txt:
6173 * docs/design/part-streams.txt:
6174 Mention applied_rate.
6176 * docs/design/part-trickmodes.txt:
6177 Mention applied rate, flesh out some more use cases.
6179 * gst/gstevent.c: (gst_event_new_new_segment),
6180 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6181 (gst_event_parse_new_segment_full), (gst_event_new_tag),
6182 (gst_event_parse_tag), (gst_event_new_buffer_size),
6183 (gst_event_parse_buffer_size), (gst_event_new_qos),
6184 (gst_event_parse_qos), (gst_event_parse_seek),
6185 (gst_event_new_navigation):
6187 Add applied_rate field to NEWSEGMENT event.
6188 API: gst_event_new_new_segment_full()
6189 API: gst_event_parse_new_segment_full()
6191 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6192 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6193 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6195 Add applied_rate to GstSegment structure.
6196 Make calculation of stream_time and running_time more correct
6197 wrt rate/applied_rate.
6199 API: GstSegment::applied_rate field
6200 API: gst_segment_set_newsegment_full();
6202 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6203 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6204 * libs/gst/base/gstbasetransform.c:
6205 (gst_base_transform_sink_eventfunc),
6206 (gst_base_transform_handle_buffer):
6207 Parse and use applied_rate in the GstSegment field.
6209 * tests/check/gst/gstevent.c: (GST_START_TEST):
6210 Add check for applied_rate field.
6212 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6213 (gstsegments_suite):
6214 Add more checks for various GstSegment operations.
6216 2006-05-08 Wim Taymans <wim@fluendo.com>
6218 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6219 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6220 (gst_base_sink_get_position), (gst_base_sink_change_state):
6221 Store the sync time of the buffer end position separatly in a
6222 new variable eos_rtime so we can properly sync the EOS event.
6224 Fix the docs for gst_base_sink_set_qos_enabled().
6225 Don't set segment start to invalid value when we receive a
6226 non TIME newsegment.
6227 get closer to handling position reporting for negative rates
6230 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6233 Docs about how to print caps for debug purposes.
6235 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6236 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6238 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6241 use full enum names and preprend a '%' in docs strings to make recent
6242 gtk-doc turn that into a link
6244 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6246 * docs/manual/basics-bins.xml:
6247 * docs/manual/basics-bus.xml:
6248 * docs/manual/basics-pads.xml:
6249 Some typo fixes, some additions, some clarifications.
6251 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6253 * tools/gst-inspect.c: (main):
6254 * tools/gst-launch.c: (main):
6255 * tools/gst-run.c: (main):
6256 * tools/gst-typefind.c: (main):
6257 * tools/gst-xmlinspect.c: (main):
6258 Use the string passed to g_option_context_new() for
6259 what it's intended for - the program name is already
6262 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6264 * tools/Makefile.am:
6265 * tools/gst-inspect.c: (main):
6266 * tools/gst-launch.c: (main):
6267 * tools/gst-xmlinspect.c: (main):
6269 Add back --version command line option (#340460).
6271 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6272 Add --version option and use GOption for argument parsing; refactor a
6273 bit; accept directories as arguments and recurse into them; lastly,
6274 print a decent error message when things go wrong.
6276 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6278 * docs/manual/basics-bins.xml:
6279 Don't mention GstThread (#340611)
6280 * docs/manual/basics-elements.xml:
6281 Update link to GObject tutorial (#340607)
6283 2006-05-05 Wim Taymans <wim@fluendo.com>
6286 * gst/gstminiobject.c:
6287 Add note about refcounting and miniobject/buffer writeability
6288 to docs. Fixes #340604
6290 * gst/gstelementfactory.h:
6291 Added some explanation about @klass.
6293 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6295 * docs/manual/intro-motivation.xml:
6296 * docs/manual/manual.xml:
6297 Avoid CORBA & Bonobo references (#340598)
6299 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6301 * docs/manual/basics-bus.xml:
6302 * docs/manual/basics-pads.xml:
6303 Fix up some inaccuracies and omissions (#340609)
6305 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6307 * gst/gstghostpad.c:
6308 Small typo in docs (#340625)
6310 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6312 * gst/parse/Makefile.am:
6313 Make 'make -j' proof (see #340698).
6315 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6318 Require GLib-2.8 here as well.
6320 2006-05-05 Wim Taymans <wim@fluendo.com>
6322 * gst/glib-compat.c:
6323 * gst/gst.c: (init_pre):
6324 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6325 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6326 (gst_object_dispatch_properties_changed):
6328 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6329 * gst/gststructure.c: (gst_structure_set_valist):
6330 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6331 Remove pre glib2.8 compatibility, fixes #340508
6333 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6336 Mention type of tags in doc blurbs.
6338 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
6340 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6341 (gst_pad_configure_src), (gst_pad_push):
6342 Restore acceptcaps checking behaviour now that good plugins have
6345 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6347 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6358 * gst/parse/Makefile.am:
6359 * libs/gst/base/gstadapter.c:
6360 * libs/gst/base/gstbasesrc.c:
6361 * libs/gst/base/gstpushsrc.c:
6362 * libs/gst/base/gsttypefindhelper.c:
6363 * plugins/elements/gstfakesrc.c:
6364 * plugins/elements/gstidentity.c:
6365 Make sure gstprivate.h and/or config.h are
6366 always included first, otherwise some of our
6367 defines (like _FILE_OFFSET_BITS) might be
6368 redefined in the system headers. Fixes build
6369 on opensolaris (#340016).
6371 2006-05-04 Wim Taymans <wim@fluendo.com>
6373 * docs/libs/gstreamer-libs-sections.txt:
6374 API: addition: gst_adapter_take_buffer()
6376 * libs/gst/base/gstadapter.c: (gst_adapter_push),
6377 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6378 (gst_adapter_available_fast):
6379 * libs/gst/base/gstadapter.h:
6380 Prepare for optimizing the hell out of this hugely inefficient
6382 Added gst_adapter_take_buffer() so we can at least start thinking
6383 about subbuffering and merging.
6384 Added some comments.
6386 * tests/check/Makefile.am:
6387 * tests/check/libs/adapter.c: (GST_START_TEST),
6388 (gst_adapter_suite), (main):
6389 Added GstAdapter check.
6391 2006-05-04 Wim Taymans <wim@fluendo.com>
6393 * docs/design/part-overview.txt:
6394 Fix some typos, add blurb about buffer flags.
6396 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6398 * docs/libs/gstreamer-libs-sections.txt:
6399 make sure GstBaseTransformClass shows up in the docs
6400 * libs/gst/base/gstbasetransform.c:
6401 * libs/gst/base/gstbasetransform.h:
6402 move docs so gtk-doc picks it up now
6404 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6406 * docs/libs/gstreamer-libs-sections.txt:
6407 add missing symbols to docs
6409 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6411 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6412 back out the newsegment handling change, see #340060 for ongoing
6415 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
6417 * tools/gst-run.c: (get_candidates), (main):
6418 Fix wrong g_file_test() usage (see glib docs for why it doesn't
6419 work); fix typo in error message. Fixes #340079.
6421 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6423 * common/Makefile.am:
6425 * docs/faq/Makefile.am:
6426 * docs/gst/Makefile.am:
6427 * docs/libs/Makefile.am:
6428 * docs/manual/Makefile.am:
6429 * docs/plugins/Makefile.am:
6430 * docs/pwg/Makefile.am:
6431 * docs/slides/Makefile.am:
6433 * common/upload.mak:
6434 move upload.mak to common
6436 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6438 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6439 add more asserts on refcounts
6440 do more cleanup at end of tests
6441 fix test leaks showing in FC5
6443 2006-04-29 Stefan Kost <ensonic@users.sf.net>
6445 * plugins/elements/gsttypefindelement.c:
6446 (gst_type_find_element_handle_event):
6447 reverted wrong change and reflowed code to avoid others falling into
6450 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6452 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6453 fix changelog entry about last collectpads change,
6454 add notes about proper fix
6456 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6459 * gst/gstregistry.c: (gst_registry_scan_path_level),
6460 (gst_registry_scan_path):
6461 * gst/gstregistry.h:
6462 only write out registry if it has changed, fixes #338339
6464 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6467 * gst/gstpipeline.c:
6468 * plugins/elements/gstcapsfilter.c:
6469 * plugins/elements/gstfakesink.c:
6470 * plugins/elements/gstfakesrc.c:
6471 * plugins/elements/gstfdsink.c:
6472 * plugins/elements/gstfdsrc.c:
6473 * plugins/elements/gstfilesink.c:
6474 * plugins/elements/gstfilesrc.c:
6475 * plugins/elements/gstidentity.c:
6476 * plugins/elements/gstqueue.c:
6477 * plugins/elements/gsttee.c:
6478 * plugins/elements/gsttypefindelement.c:
6479 (gst_type_find_element_handle_event):
6480 make GstElementDetails const
6482 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6484 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6485 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6486 (gst_collect_pads_is_collected), (gst_collect_pads_event):
6487 more detailed debug and formatting cleanup,
6488 forward newsegments to src-pad (so that e.g. adder not eats them)
6490 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6492 * gst/gstutils.c: (gst_element_link_pads):
6495 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6497 * libs/gst/controller/gstcontroller.c:
6498 (gst_controller_sync_values):
6500 * tests/check/libs/controller.c: (GST_START_TEST),
6501 (gst_controller_suite):
6502 a new test for live value handling
6504 2006-04-28 Wim Taymans <wim@fluendo.com>
6506 * gst/gstutils.c: (push_and_ref):
6507 Added some more docs.
6508 Fix refcount issue whith gst_element_found_tags() helper
6509 function. Fixes #338335
6511 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6512 Added testsuite for gst_element_found_tags().
6514 2006-04-28 Michael Smith <msmith@fluendo.com>
6516 * gst/gstvalue.c: (gst_value_serialize_flags):
6517 Avoid NULL dereference when trying to serialize flags containing
6520 2006-04-28 Michael Smith <msmith@fluendo.com>
6522 * plugins/elements/gsttypefindelement.c:
6523 (gst_type_find_element_handle_event):
6524 If we get EOS before any data is accumulated, don't use
6525 uninitialised local variables.
6527 2006-04-28 Michael Smith <msmith@fluendo.com>
6529 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6530 (gst_dp_event_from_packet):
6531 Fixes in reading/writing events over GDP (not currently used?) -
6532 dereferencing NULL events for unknown/invalid event types, memory
6533 leak, and change g_warning to GST_WARNING.
6535 2006-04-28 Wim Taymans <wim@fluendo.com>
6537 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6538 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6539 (gst_base_sink_get_position), (gst_base_sink_change_state):
6540 When frame dropping is enabled, we should not ignore frames
6542 Update some documentation.
6544 2006-04-28 Wim Taymans <wim@fluendo.com>
6546 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6547 (gst_base_src_send_event), (gst_base_src_change_state):
6548 Documentation updates.
6550 2006-04-28 Wim Taymans <wim@fluendo.com>
6552 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6553 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6554 handle EAGAIN, EINTR and short writes correctly. Also clean
6555 up some error cases, avoid a deadlock on bad file descriptors and
6556 use GST_DEBUG_OBJECT.
6559 2006-04-28 Wim Taymans <wim@fluendo.com>
6561 * gst/gstvalue.c: (gst_value_serialize_buffer),
6562 (gst_value_deserialize_buffer):
6563 Don't try to serialize a GValue with a NULL buffer.
6566 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6567 Added check for serialisation of NULL buffers.
6569 2006-04-28 Wim Taymans <wim@fluendo.com>
6571 * gst/gstminiobject.c: (gst_value_take_mini_object):
6572 Taking a NULL miniobject is valid, fix the case where
6573 we try to unref the NULL miniobject.
6575 2006-04-28 Wim Taymans <wim@fluendo.com>
6577 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6579 * gst/gstbin.c: (gst_bin_handle_message_func):
6581 Don't leak bin refcount when a state recalc is
6582 in progress and we delay another one #339808.
6584 2006-04-28 Wim Taymans <wim@fluendo.com>
6586 * docs/design/part-TODO.txt:
6587 Mention QoS as an ongoing work item.
6589 * docs/design/part-buffering.txt:
6590 New doc about buffering that needs to be fleshed out
6593 * docs/design/part-qos.txt:
6594 More QoS policy for decoders/demuxers/transforms
6596 * docs/design/part-trickmodes.txt:
6599 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6604 === release 0.10.5 ===
6606 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6609 releasing 0.10.5, "Fogo"
6611 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
6613 patch by: Wim Taymans
6615 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6616 (gst_pad_configure_src), (gst_pad_push):
6617 * gst/gstpipeline.c: (gst_pipeline_init):
6618 Fix internal data flow errors. Fixes #338711.
6620 2006-04-12 Wim Taymans <wim@fluendo.com>
6622 * tests/check/gst/gstelement.c: (GST_START_TEST):
6623 Don't leak the factory.
6625 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6628 * win32/common/config.h:
6631 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
6633 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6634 (gst_controller_unset_all):
6635 Free allocated GstTimedValues when freeing list nodes.
6636 Should fix leaks 'make check-valgrind' complains about.
6638 * win32/common/libgstcontroller.def:
6639 Add gst_controller_unset_all.
6641 2006-04-11 Stefan Kost <ensonic@users.sf.net>
6643 * docs/libs/gstreamer-libs-sections.txt:
6644 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6645 (gst_controller_unset_all):
6646 * libs/gst/controller/gstcontroller.h:
6647 API: Added new method gst_controller_unset_all()
6648 fixed gst_controller_unset()
6649 * tests/check/libs/controller.c: (GST_START_TEST),
6650 (gst_controller_suite):
6651 Added two testcases for new and fixed method
6653 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
6655 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6656 MSG_DONTWAIT is not defined on Cygwin, so work
6657 around that (fixes #317048).
6659 2006-04-11 Wim Taymans <wim@fluendo.com>
6661 * gst/gstelementfactory.c: (gst_element_register),
6662 (gst_element_factory_create), (gst_element_factory_make):
6665 Updated docs (Fixes #131079)
6667 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6670 * tests/check/gst/gstelement.c: (GST_START_TEST),
6671 (gst_element_suite):
6672 Added testcase for elementfactory class field.
6674 2006-04-10 Wim Taymans <wim@fluendo.com>
6677 Added some more docs.
6679 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6680 (gst_base_sink_reset_qos):
6681 Calculate more accurate rate values.
6683 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
6685 * gst/gst_private.h:
6686 add a new #ifdef to use __declspec(dllimport) only for
6687 other modules and not for gstreamer core
6688 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6689 use gst_guint64_to_gdouble for conversion
6690 * win32/common/libgstreamer.def:
6691 add new exported functions
6692 * win32/vs6/gst_inspect.dsp:
6693 * win32/vs6/gst_launch.dsp:
6694 * win32/vs6/libgstbase.dsp:
6695 * win32/vs6/libgstcontroller.dsp:
6696 * win32/vs6/libgstcoreelements.dsp:
6697 * win32/vs6/libgstdataprotocol.dsp:
6698 * win32/vs6/libgstnet.dsp:
6699 update project files
6701 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6703 * gst/gstbuffer.c: (gst_subbuffer_class_init):
6704 * gst/gstclock.c: (gst_clock_class_init):
6705 * gst/gstelement.c: (gst_element_class_init):
6706 * gst/gstindex.c: (gst_index_class_init):
6707 * gst/gstindexfactory.c: (gst_index_factory_class_init):
6708 * gst/gstobject.c: (gst_object_class_init),
6709 (gst_signal_object_class_init):
6710 * gst/gstpad.c: (gst_pad_class_init):
6711 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6712 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6713 * gst/gstregistry.c: (gst_registry_class_init):
6714 * gst/gstsystemclock.c: (gst_system_clock_class_init):
6715 * gst/gsttask.c: (gst_task_class_init):
6716 * gst/gstxml.c: (gst_xml_class_init):
6717 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6718 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6719 (gst_base_src_loop):
6720 * libs/gst/controller/gstcontroller.c:/
6721 (_gst_controller_class_init):
6722 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6723 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6724 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6725 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6726 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6727 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6729 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
6731 * gst/gstpad.c: (gst_pad_link):
6732 Must set peer pads before calling the link function, otherwise
6733 a task started from a link function might get a flow-not-linked
6734 result when trying to push because the other thread where the
6735 linking happens hasn't had a chance to set the peers yet. This
6736 might happen for example when a queue gets linked to a downstream
6737 element, as queue starts a streaming task when its source pad
6738 gets linked. Happens in real life when playing back flac/musepack
6739 files in playbin (#332390).
6741 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6745 * libs/gst/base/gstadapter.h:
6746 * libs/gst/base/gstbasesink.h:
6747 * libs/gst/base/gstbasesrc.h:
6748 * libs/gst/base/gstbasetransform.h:
6749 * libs/gst/base/gstcollectpads.h:
6750 * libs/gst/base/gstpushsrc.h:
6751 Fix broken GObject macros
6753 2006-04-07 Wim Taymans <wim@fluendo.com>
6755 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6756 Initialize start and stop times, thanks valgrind.
6758 2006-04-07 Wim Taymans <wim@fluendo.com>
6760 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6761 Be a bit nicer to badly behaving upstream elements that expect
6762 us to deal with non TIME segments and timestamps (such as fakesrc
6765 2006-04-07 Wim Taymans <wim@fluendo.com>
6768 Small documentation clarification about the signal watch.
6770 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6771 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6772 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6773 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6774 (gst_base_sink_get_position_last),
6775 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6776 Convert and store timestamps in stream time and running time, the
6777 raw timestamps are not useful, also document this better.
6778 Use different window sizes for good and bad QoS observations so
6779 we react to badness a little quicker.
6780 Keep track of the amount of rendered and dropped buffers.
6781 Send QoS timestamps in running time.
6783 * libs/gst/base/gstbasetransform.c:
6784 (gst_base_transform_sink_eventfunc),
6785 (gst_base_transform_handle_buffer):
6786 Compare QoS timestamps against running time.
6788 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6793 2006-04-06 Michael Smith <msmith@fluendo.com>
6795 * gst/gstpad.c: (gst_pad_set_property):
6796 Use g_value_get_object() instead of g_value_dup_gst_object(),
6797 to avoid double-reffing the pad template (which we then sink,
6798 so this worked previously if (and only if) the pad template
6801 * gst/gstpadtemplate.c: (gst_pad_template_init),
6802 (gst_pad_template_pad_created):
6803 Never return floating references to pad templates, create
6804 them as initially-sunken.
6806 Document an extra function (and make this stop sinking our
6807 pad template, since that is now guaranteed to do nothing,
6808 since we created it sunken).
6810 * gst/gstghostpad.c:
6813 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6815 * gst/gstinfo.c: (__gst_in_valgrind):
6818 * plugins/elements/gsttypefindelement.c:
6819 (gst_type_find_element_chain):
6820 Don't leak buffer caps.
6822 2006-04-06 Michael Smith <msmith@fluendo.com>
6824 * gst/parse/grammar.y:
6825 Fix a leak in parse-launch for any source-or-sink named element
6828 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6829 Unref the pipeline if it exists after we've failed parsing.
6831 2006-04-05 Michael Smith <msmith@fluendo.com>
6833 * gst/gstpipeline.c: (gst_pipeline_init):
6834 When we create a pipeline bus, initially create it in flushing mode.
6835 Fixes leaks in at least one test, and makes a new pipeline work the
6836 same as one that has gone to READY and then back to NULL.
6841 2006-04-05 Michael Smith <msmith@fluendo.com>
6843 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6844 Unref a pad we reffed.
6845 * tests/check/gst/gstutils.c: (GST_START_TEST):
6848 2006-04-05 Michael Smith <msmith@fluendo.com>
6850 * gst/gstquery.c: (gst_query_set_formats),
6851 (gst_query_set_formatsv):
6852 Fix leaking GValues in queries, as shown by valgrind/testsuite.
6854 2006-04-05 Michael Smith <msmith@fluendo.com>
6856 * tests/check/generic/sinks.c: (GST_START_TEST):
6857 Fix a variety of memleaks in sinks check, which are only sometimes
6858 shown by running the tests under valgrind (weird?).
6860 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
6862 * docs/version.entities.in:
6863 Fix the substituted entity name after thomas' changes on the
6866 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6868 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
6871 2006-04-05 Andy Wingo <wingo@pobox.com>
6873 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
6875 * libs/gst/base/gstbasetransform.c
6876 (gst_base_transform_sink_eventfunc): When resetting our segment on
6877 FLUSH_STOP, also update the flag saying we haven't seen a
6880 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6882 Patch by: Paolo Borelli <pborelli at katamail dot com>
6884 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6885 (gst_plugin_check_license):
6886 minor clean-ups: G_DEFINE_TYPE already takes care of the
6887 parent_class stuff, no need to do it twice. Mark array of
6888 license strings as constant. (#337103)
6890 2006-04-04 Michael Smith <msmith@fluendo.com>
6892 * tools/gst-inspect.c: (print_element_list):
6893 Free the right plugin list; fixes a memory leak.
6895 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6897 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6899 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6900 Don't error out on empty buffers (#336945).
6902 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
6904 * docs/libs/gstreamer-libs-sections.txt:
6906 * libs/gst/base/gstbasesink.c:
6907 * libs/gst/base/gstbasesink.h:
6908 * libs/gst/base/gstbasesrc.c:
6909 * libs/gst/base/gstbasesrc.h:
6910 Documentation updates. Make BaseSink and BaseSrc docs contain the
6911 class structure so that people can actually see the prototypes for
6912 virtual functions they're supposed to be overriding.
6914 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6916 * plugins/elements/gsttypefindelement.c:
6917 (gst_type_find_element_chain):
6918 More debug info; when skipping typefinding, send cached
6919 events in all cases.
6921 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
6924 use new AS_VERSION and AS_NANO macros
6925 * gst/gst-i18n-lib.h:
6928 * gst/gstversion.h.in:
6929 * win32/common/config.h:
6930 * win32/common/config.h.in:
6933 2006-03-31 Michael Smith <msmith@fluendo.com>
6935 * plugins/elements/gsttypefindelement.c:
6936 (gst_type_find_element_chain):
6937 Do not typefind content if the buffers already have caps.
6938 Neccesary for icydemux (#333657), and the right thing to do anyway.
6940 2006-03-30 Wim Taymans <wim@fluendo.com>
6942 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6943 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
6944 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
6945 (gst_base_sink_record_qos_observation),
6946 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6947 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6948 (gst_base_sink_change_state):
6949 More QoS measurements as described in the design doc.
6950 Get rid of ringbuffer with observations, running average is
6951 more simple and equally good.
6952 Calculates valid proportion now.
6953 Added beginning of flood measurement.
6955 2006-03-29 Wim Taymans <wim@fluendo.com>
6957 * docs/design/part-qos.txt:
6959 Small documentation updates and additions.
6961 2006-03-29 Wim Taymans <wim@fluendo.com>
6963 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6964 (gst_base_src_send_event), (gst_base_src_loop),
6965 (gst_base_src_change_state):
6966 Perform the EOS logic when we reach the segment stop position.
6967 Fix compilation on gcc4.1
6969 2006-03-29 Wim Taymans <wim@fluendo.com>
6971 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6973 * plugins/elements/gstqueue.c: (gst_queue_init),
6974 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6975 (gst_queue_set_property):
6976 * plugins/elements/gstqueue.h:
6977 In queue, when EOS is received, if minimum threshold > max_size -
6978 current_level, there is chance that queue blocks forever in conditional
6979 item del wait. This is because the queue is not emptied completely due
6980 to minimum threshold. Here is another approach. Instead of setting
6981 cur_levels to max in EOS, just zero all minimum threshold levels. This
6982 should make sure that queue gives out all data. When going to READY
6983 (stop) state, just reset the original minimum threshold levels.
6986 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
6988 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
6989 (gst_type_find_element_handle_event),
6990 (gst_type_find_element_send_cached_events),
6991 (gst_type_find_element_change_state):
6992 * plugins/elements/gsttypefindelement.h:
6993 When typefinding is done in push mode, we should cache
6994 events we receive during typefinding instead of just
6995 dropping them (e.g. newsegment, custom events from
6996 dvdreadsrc etc.) and then send them out once we've
6997 determined the type of the stream (and decodebin
6998 has had a chance to plug in a decoder/demuxer).
7000 2006-03-27 Wim Taymans <wim@fluendo.com>
7002 * docs/design/part-qos.txt:
7005 2006-03-27 Wim Taymans <wim@fluendo.com>
7007 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7009 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7010 (gst_base_src_send_event), (gst_base_src_change_state):
7011 Handle element seek correctly when we are streaming.
7014 2006-03-24 Michael Smith <msmith@fluendo.com>
7016 * docs/faq/gst-uninstalled:
7017 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7018 allow you to correctly run intalled applications built against old
7019 core, using plugins that require updated core (e.g. running
7020 installed totem against a full uninstalled gstreamer stack)
7022 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7024 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7027 2006-03-24 Wim Taymans <wim@fluendo.com>
7029 * docs/gst/gstreamer-sections.txt:
7030 Rearrange the order of the methods so that related methods
7031 are grouped together in sections.
7033 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7036 Little clarification in the docs
7038 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7042 * plugins/elements/gstidentity.c:
7043 * plugins/elements/gstqueue.c:
7044 * plugins/elements/gsttee.c:
7045 * plugins/elements/gsttypefindelement.c:
7046 GST_ELEMENT_DETAILS formatting
7048 2006-03-24 Wim Taymans <wim@fluendo.com>
7050 * libs/gst/base/gstbasesink.h:
7051 Only add fields, not insert or we break ABI.
7053 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7055 * win32/common/libgstbase.def:
7056 * win32/common/libgstreamer.def:
7057 Update, add recently added functions.
7059 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7061 * docs/gst/gstreamer-sections.txt:
7062 * gst/gstutils.c: (gst_pad_query_peer_position),
7063 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7065 API: add some new utility functions:
7066 - gst_pad_query_peer_position()
7067 - gst_pad_query_peer_duration()
7068 - gst_pad_query_peer_convert()
7070 2006-03-23 Wim Taymans <wim@fluendo.com>
7072 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7073 (gst_base_sink_init), (gst_base_sink_finalize),
7074 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7075 (gst_base_sink_set_property), (gst_base_sink_get_property),
7076 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7077 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7078 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7079 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7080 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7081 (gst_base_sink_preroll_object), (gst_base_sink_event),
7082 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7083 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7084 (gst_base_sink_query), (gst_base_sink_change_state):
7085 Decouple max-lateness and the fact that QoS messages are generated
7086 with a new property (qos).
7087 added API: GstBaseSink::async_play()
7088 Add vmethod so subclasses can be notified of ASYNC playing
7090 Collect timestamp start and stop to report better current
7091 position in EOS/PLAYING/PAUSED/READY/NULL.
7092 Refactor QoS/frame dropping and other measurements.
7093 API: GstBaseSrc::qos
7096 * libs/gst/base/gstbasesink.h:
7097 Added Private struct.
7098 API: gst_base_sink_set_qos_enabled()
7099 API: gst_base_sink_is_qos_enabled()
7101 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7103 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7104 If compiling against GLib-2.8 or newer, try to read the
7105 registry file using GMappedFile first before falling back
7106 to fopen() + fread() (#332151).
7108 2006-03-22 Wim Taymans <wim@fluendo.com>
7110 * gst/gstinfo.c: (gst_debug_set_active),
7111 (gst_debug_category_set_threshold):
7112 Disable debugging unless explicitly activated.
7115 2006-03-22 Wim Taymans <wim@fluendo.com>
7117 * gst/gstelement.c: (gst_element_set_locked_state),
7118 (gst_element_dispose):
7119 Cleanup the error case.
7121 * gst/gstobject.c: (gst_object_dispose):
7122 print a critical when some object was disposed with
7123 a parent, also revive the object since it might
7126 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
7128 * tools/gst-launch.1.in:
7131 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7134 * tests/check/Makefile.am:
7135 disable some tests when we don't have a registry
7136 * tests/check/gst/gstutils.c: (gst_utils_suite):
7137 don't build the part that needs parsing
7139 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7142 * tests/examples/Makefile.am:
7143 fix --disable-parse build
7145 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7147 * tools/gst-feedback.1.in:
7148 Fix typo: s/feeback/feedback/ (#133494).
7150 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7152 * tools/Makefile.am:
7153 * tools/gst-launch.1.in:
7154 Add FILES section and correct entry about GST_REGISTRY_PATH
7155 environment variable (#133495; #133494).
7157 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7159 * tools/Makefile.am:
7160 * tools/gst-md5sum.1.in:
7161 * tools/gst-md5sum.c:
7162 Remove gst-md5sum and man page (the md5sink element
7163 required was removed ages ago)
7165 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7167 * gst/gststructure.c: (gst_structure_id_set_value):
7168 Make sure that string fields in structures/taglists
7169 contain valid UTF-8 - we don't want to pass rubbish to
7170 applications because of a buggy plugin (cp. #334167).
7172 2006-03-21 Edward Hervey <edward@fluendo.com>
7174 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7175 (gst_bin_handle_message_func):
7176 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7177 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7178 (gst_element_set_bus_func):
7179 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7180 * gst/gstminiobject.c: (gst_value_set_mini_object),
7181 (gst_value_take_mini_object):
7182 * gst/gstpad.c: (gst_pad_set_pad_template):
7183 * gst/gstpipeline.c: (gst_pipeline_dispose),
7184 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7185 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7186 (gst_collect_pads_chain):
7187 * libs/gst/net/gstnettimeprovider.c:
7188 (gst_net_time_provider_set_property):
7189 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7190 It's in fact all issues with gst_*object_replace().
7192 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7194 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
7196 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7197 * pkgconfig/gstreamer-check.pc.in:
7198 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7200 2006-03-21 Edward Hervey <edward@fluendo.com>
7205 gst_[buffer|event|message]_ref() macros are replaced by a static
7206 inline functions because gcc-4.1 will about if the return value
7208 * tests/check/gst/gstevent.c: (event_probe):
7209 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7211 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
7214 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7215 the type' case. (Closes: #335195 for now). In the future, when we
7216 depend on GLib 2.10, we could also intern the type name using
7217 g_intern_static_string()
7219 2006-03-20 Wim Taymans <wim@fluendo.com>
7221 * gst/gstbin.c: (gst_bin_handle_message_func),
7222 (bin_query_max_init), (bin_query_position_fold),
7223 (bin_query_position_done), (gst_bin_query):
7224 Position query should also take max of all streams.
7226 2006-03-20 Wim Taymans <wim@fluendo.com>
7228 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7229 (gst_fake_src_finalize):
7230 Fix leaks in fakesrc.
7232 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7233 Fix leaks in the testcase.
7235 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
7237 * gst/gst_private.h:
7238 add win32 specific import decoration(__declspec(dllimport))
7239 for all extern GstDebugCategory * variables
7240 * win32/common/libgstbase.def:
7241 * win32/common/libgstcontroller.def:
7242 * win32/common/libgstreamer.def:
7243 Add some exports, remove empty lines
7244 * win32/common/libgstdataprotocol.def:
7245 * win32/common/libgstdataprotocol.dsp:
7246 * win32/common/libgstnet.def:
7247 * win32/common/libgstnet.dsp:
7248 new project files and exportation files added
7250 2006-03-19 Wim Taymans <wim@fluendo.com>
7252 * tests/check/libs/basesrc.c: (eos_event_counter):
7253 Use proper return value for probe.
7255 2006-03-17 Wim Taymans <wim@fluendo.com>
7257 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7259 Don't leak buffers, caps and pads on negotiation errors.
7261 2006-03-16 Stefan Kost <ensonic@users.sf.net>
7264 * docs/faq/dependencies.xml:
7265 * docs/faq/developing.xml:
7267 * docs/faq/general.xml:
7268 * docs/faq/getting.xml:
7269 * docs/faq/legal.xml:
7270 * docs/faq/troubleshooting.xml:
7271 * docs/faq/using.xml:
7272 Faq review and update.
7274 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
7276 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7278 Don't pound the cpu to pieces by checking get_caps when accept_caps
7279 is called with the same caps as the pad already has.
7280 Use GST_DEBUG_OBJECT when outputting caps change information.
7282 2006-03-15 Wim Taymans <wim@fluendo.com>
7284 * gst/gstclock.c: (gst_clock_class_init):
7287 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
7292 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7293 (gst_pad_accept_caps), (gst_pad_configure_sink),
7294 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7295 Make the default acceptcaps behaviour be to check the requested
7296 caps against the gst_pad_get_caps output.
7298 Ensure that gst_pad_accept_caps is used to check caps when a pad
7299 doesn't have a setcaps function, so that pads automatically refuse
7300 caps that they don't allow in their pad template. (Fixes #332986)
7302 When a buffer with attached caps is pushed, ensure that the source
7303 pad receives those caps even if the element didn't call
7304 gst_pad_set_caps first.
7306 2006-03-15 Wim Taymans <wim@fluendo.com>
7308 * libs/gst/base/gstadapter.c:
7311 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
7313 * win32/common/libgstbase.def:
7314 * win32/common/libgstcontroller.def:
7315 * win32/common/libgstreamer.def:
7316 Add a whole bunch of missing functions (#334434).
7318 2006-03-14 Wim Taymans <wim@fluendo.com>
7320 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7321 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7322 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7323 Better debug info when we receive a segment event.
7324 Reorganize a bit so we can pass the get_times() results around.
7325 Use the segment format when calculating the running time.
7326 Don't do QoS is sync is disabled or we have no clock or the
7327 element does not want us to sync to the clock.
7328 Don't drop buffers if QoS is disabled for now.
7330 2006-03-14 Wim Taymans <wim@fluendo.com>
7332 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7333 Marked the stats property as unimplemented so people don't get
7335 Add debug message when regression goes wrong.
7336 Added some more docs.
7338 2006-03-14 Wim Taymans <wim@fluendo.com>
7340 * gst/gstsegment.c: (gst_segment_to_stream_time):
7341 Return correct return type in case of errors.
7343 2006-03-14 Wim Taymans <wim@fluendo.com>
7345 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7346 Don't segfault on invalid formats.
7348 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7350 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7351 Can't use gst_segment_to_running_time() when the segment
7352 is not in GST_TIME_FORMAT (like with filesink, for example).
7353 Stops flac encoding pipelines from spewing critical warnings
7356 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7358 * gst/gstpipeline.c: (gst_pipeline_class_init):
7359 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7361 * plugins/elements/gsttypefindelement.c:
7362 (gst_type_find_element_handle_event):
7363 Don't try to typefind empty streams.
7365 2006-03-14 Wim Taymans <wim@fluendo.com>
7367 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7368 (gst_base_sink_do_qos):
7369 Separate QoS calculation.
7370 Only drop buffers when lateness is bigger than the
7371 duration of the buffer.
7373 2006-03-13 Wim Taymans <wim@fluendo.com>
7375 * gst/gstpipeline.c: (gst_pipeline_set_property),
7376 (gst_pipeline_get_property), (do_pipeline_seek),
7377 (gst_pipeline_change_state), (gst_pipeline_set_delay),
7378 (gst_pipeline_get_delay):
7379 Don't deadlock when reading properties.
7381 2006-03-13 Wim Taymans <wim@fluendo.com>
7383 * libs/gst/base/gstbasetransform.c:
7384 (gst_base_transform_class_init), (gst_base_transform_init),
7385 (gst_base_transform_sink_event),
7386 (gst_base_transform_sink_eventfunc),
7387 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7388 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7389 (gst_base_transform_set_property),
7390 (gst_base_transform_get_property),
7391 (gst_base_transform_change_state), (gst_base_transform_update_qos),
7392 (gst_base_transform_set_qos_enabled),
7393 (gst_base_transform_is_qos_enabled):
7394 * libs/gst/base/gstbasetransform.h:
7395 Make basetransform virtual method for src events too.
7396 Handle QOS in basetransform.
7397 API: gst_base_transform_update_qos()
7398 API: gst_base_transform_set_qos_enabled()
7399 API: gst_base_transform_is_qos_enabled()
7401 2006-03-13 Wim Taymans <wim@fluendo.com>
7403 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7404 (gst_base_sink_do_sync):
7406 Use QOS debug category.
7408 2006-03-13 Wim Taymans <wim@fluendo.com>
7410 * plugins/elements/gstqueue.c:
7411 Very small doc update.
7413 2006-03-13 Wim Taymans <wim@fluendo.com>
7415 * gst/gst_private.h:
7416 * gst/gstinfo.c: (_gst_debug_init):
7417 Added QOS debug category
7419 2006-03-13 Wim Taymans <wim@fluendo.com>
7421 * docs/gst/gstreamer-sections.txt:
7422 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7424 * gst/gstbus.c: (gst_bus_class_init):
7427 * gst/gstelement.c: (gst_element_set_locked_state):
7429 Documentation updates.
7431 * gst/gstpipeline.c: (gst_pipeline_get_type),
7432 (gst_pipeline_class_init), (gst_pipeline_init),
7433 (gst_pipeline_dispose), (gst_pipeline_set_property),
7434 (gst_pipeline_get_property), (do_pipeline_seek),
7435 (gst_pipeline_send_event), (gst_pipeline_change_state),
7436 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7437 (gst_pipeline_get_delay):
7438 * gst/gstpipeline.h:
7439 Added methods for setting the delay.
7440 API: gst_pipeline_set_delay()
7441 API: gst_pipeline_get_delay()
7442 Add pipeline debug category
7445 Don't reset stream time when seek failed.
7447 2006-03-13 Wim Taymans <wim@fluendo.com>
7449 * docs/design/draft-klass.txt:
7450 * docs/design/part-clocks.txt:
7451 * docs/design/part-events.txt:
7452 * docs/design/part-gstbin.txt:
7453 * docs/design/part-gstpipeline.txt:
7454 * docs/design/part-messages.txt:
7455 * docs/design/part-negotiation.txt:
7456 * docs/design/part-overview.txt:
7457 * docs/design/part-preroll.txt:
7458 * docs/design/part-seeking.txt:
7459 * docs/design/part-states.txt:
7460 * docs/design/part-streams.txt:
7461 Documentation updates.
7463 2006-03-12 Julien MOUTTE <julien@moutte.net>
7465 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7466 us to leak strings...
7468 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
7470 * libs/gst/net/gstnettimeprovider.c:
7472 * win32/common/config.h:
7475 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
7477 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7480 Don't check for libgnomeui (leftover from old examples
7481 that aren't built or disted any longer) (#334303).
7483 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
7485 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7486 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7487 Emit RESOURCE_NO_SPACE_LEFT error here as well when
7488 there's no space left on the device.
7490 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
7493 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7494 to cast the input to GstClockTime before comparing with
7495 another GstClockTime value.
7497 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7502 === release 0.10.4 ===
7504 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7507 releasing 0.10.4, "Light"
7509 2006-03-10 Michael Smith <msmith@fluendo.com>
7511 * libs/gst/dataprotocol/dataprotocol.c:
7512 Fix docs for dataprocotol to not get the return types completely
7513 wrong for a few functions.
7515 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7517 * docs/gst/gstreamer-sections.txt:
7518 * gst/gstpipeline.c: (gst_pipeline_class_init),
7519 (gst_pipeline_init), (gst_pipeline_set_property),
7520 (gst_pipeline_get_property), (gst_pipeline_change_state),
7521 (gst_pipeline_set_auto_flush_bus),
7522 (gst_pipeline_get_auto_flush_bus):
7523 * gst/gstpipeline.h:
7524 Add new API: gst_pipeline_set_auto_flush_bus() and
7525 gst_pipeline_get_auto_flush_bus() to disable automatic
7526 flushing of the pipeline's GstBus when going from READY
7527 to NULL state (#332045).
7529 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7531 * docs/gst/gstreamer-sections.txt:
7532 * gst/gsturi.c: (gst_uri_has_protocol):
7534 Add new API: gst_uri_has_protocol() (#333779).
7536 2006-03-09 Wim Taymans <wim@fluendo.com>
7538 * gst/gstclock.c: (gst_clock_entry_new),
7539 (gst_clock_id_compare_func), (gst_clock_id_wait),
7540 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7541 (gst_clock_init), (gst_clock_get_internal_time),
7542 (gst_clock_set_master), (do_linear_regression),
7543 (gst_clock_add_observation), (gst_clock_set_property):
7547 Fix a possible segfault when the window-size is made smaller.
7548 Calculate jitter before performing the clock wait. Ideally
7549 the clock implementation should calculate jitter but we need
7550 API breakage for that.
7552 * gst/gstsystemclock.c: (gst_system_clock_init):
7555 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7556 Remove leftover else
7558 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7559 (gst_systemclock_suite):
7560 Added check to test GST_CLOCK_DIFF.
7562 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7564 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7565 (gst_type_find_helper_get_range):
7566 If we are provided with the size, we should implement
7567 GstTypeFind::get_length, so that typefind functions who
7568 want to can actually peek at the middle of a file.
7570 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
7572 * docs/manual/advanced-dataaccess.xml:
7573 Add some very very basic error checking.
7575 * docs/pwg/appendix-checklist.xml:
7576 Some updates to the list of things to check when writing an element.
7578 2006-03-08 Wim Taymans <wim@fluendo.com>
7580 * docs/design/part-element-transform.txt:
7581 Added some docs about the design of tranform elements.
7583 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7584 (gst_base_src_loop), (gst_base_src_change_state):
7585 Mark buffers with the DISCONT flag.
7587 2006-03-08 Michael Smith <msmith@fluendo.com>
7589 * gst/gstregistry.h:
7590 * gst/gstregistryxml.c: (gst_registry_save),
7591 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7592 (gst_registry_xml_save_pad_template),
7593 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7594 (gst_registry_xml_write_cache):
7595 Rewrite registry-saving to avoid race conditions and check for
7598 2006-03-08 Wim Taymans <wim@fluendo.com>
7600 * libs/gst/base/gstbasetransform.c:
7601 (gst_base_transform_transform_caps),
7602 (gst_base_transform_transform_size),
7603 (gst_base_transform_prepare_output_buffer),
7604 (gst_base_transform_get_unit_size),
7605 (gst_base_transform_buffer_alloc),
7606 (gst_base_transform_handle_buffer),
7607 (gst_base_transform_change_state):
7608 Cleanups, separate normal flow from errors, add sensible
7610 Don't try to renegotiate when allocating an output buffer.
7611 Also copy DISCONT buffer flag when copying a buffer.
7612 Reset the transform after we finish streaming, not during.
7614 2006-03-08 Wim Taymans <wim@fluendo.com>
7616 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7617 Use last buffer timestamp in qos message.
7619 2006-03-07 Wim Taymans <wim@fluendo.com>
7621 Patch by: Christophe Fergeau
7623 * docs/pwg/advanced-tagging.xml:
7624 * docs/pwg/building-pads.xml:
7627 2006-03-07 Wim Taymans <wim@fluendo.com>
7629 * docs/libs/gstreamer-libs-sections.txt:
7630 Added basesink new methods.
7634 Docs updates. Flesh out the QoS docs.
7636 * libs/gst/base/gstadapter.c:
7637 Small doc clarification about ownership and flushing.
7639 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7640 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7641 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7642 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7643 * libs/gst/base/gstbasesink.h:
7645 Added new methods to allow subclass to control max-lateness
7647 Generate very basic QoS events based on last sync observation.
7648 Updated docs, fix typo, added some QoS blurb.
7650 * libs/gst/base/gstbasesrc.c:
7651 Remove obsolete _get_state() calls from docs.
7653 2006-03-07 Wim Taymans <wim@fluendo.com>
7655 * docs/libs/gstreamer-libs-sections.txt:
7656 * libs/gst/base/gstbasetransform.h:
7657 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7658 Fix docs for GstBaseSrc.
7660 2006-03-07 Wim Taymans <wim@fluendo.com>
7662 * docs/gst/gstreamer-sections.txt:
7665 * libs/gst/base/gstbasetransform.h:
7666 Small documentation fixes.
7668 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7671 Document thread-unsafety of gst_value_register_foo_func()
7672 when used at the same time as gst_value_foo() (#322628).
7674 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7676 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7677 (gst_push_src_check_get_range):
7678 Push sources don't support pull mode by default.
7680 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7682 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7683 (gst_base_src_init), (gst_base_src_pad_check_get_range),
7684 (gst_base_src_default_check_get_range):
7685 * libs/gst/base/gstbasesrc.h:
7686 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7687 provide default implementation, and rename
7688 gst_base_src_check_get_range() to
7689 gst_base_src_pad_check_get_range() for clarity.
7691 2006-03-06 Wim Taymans <wim@fluendo.com>
7693 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7694 Make property overridable.
7696 2006-03-06 Wim Taymans <wim@fluendo.com>
7698 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7699 (gst_base_sink_init), (gst_base_sink_set_property),
7700 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7701 * libs/gst/base/gstbasesink.h:
7702 API addition: Make max-lateness a property.
7704 2006-03-06 Wim Taymans <wim@fluendo.com>
7706 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7707 (gst_base_sink_do_sync), (gst_base_sink_render_object):
7708 Don't ever draw a frame that is >10ms late.
7710 2006-03-06 Michael Smith <msmith@fluendo.com>
7712 * gst/gstmessage.c: (_gst_message_copy):
7713 When copying a message, set the parent_refcount of the enclosed
7714 structure to point at the copy, not the original message.
7716 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7718 Patch by: Christophe Fergeau
7721 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7722 usable in c++ code (#333417)
7724 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
7727 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7729 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
7731 * libs/gst/base/gstbasetransform.c:
7732 (gst_base_transform_transform_caps):
7733 Make sure caps are writable before passing them to
7736 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7739 Fix some minor docs errors.
7741 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7743 Patch by: Ross Burton <ross at burtonini dot com>
7745 * gst/gsterror.c: (_gst_resource_errors_init):
7747 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7749 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7752 Add a check and output a g_warning when GStreamer is built
7753 against GLib 2.6 but running against 2.8 or higher, and vice
7754 versa. (Closes: #323542)
7756 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7758 * gst/parse/parse.l:
7759 Commit patch for parse_launch syntax from #331255. Removes
7760 support for quoted strings and mimetypes when writing filtered
7761 caps. See the bug report for more details - I'm pretty sure this
7762 obscure feature is not in use by _anyone_ anywhere.
7764 With this simple change, the size of the gstreamer.so here
7765 drops from 2193KB to 1565KB.
7767 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7769 * plugins/elements/gsttypefindelement.h:
7770 * plugins/elements/gsttypefindelement.c:
7771 (gst_type_find_element_src_event), (start_typefinding),
7772 (stop_typefinding), (gst_type_find_element_handle_event),
7773 (gst_type_find_element_chain),
7774 (gst_type_find_element_chain_do_typefinding):
7775 Use gst_type_find_helper_for_buffer() for chain-based
7778 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7780 * plugins/elements/gsttypefindelement.c:
7781 (gst_type_find_element_class_init),
7782 (gst_type_find_element_set_property),
7783 (gst_type_find_element_get_property):
7784 Deprecate "maximum" property (not only was it only taken into
7785 account for typefinding in push-mode anyway, it also was never
7786 actually possible to set it in the first place because the
7787 property was registered with the numeric property ID for the
7788 "minimum" property). Register "maximum" property correctly,
7789 for the sake of future copy'n'pasters. Remove some cruft
7790 from property get/set functions.
7792 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7794 * plugins/elements/gsttypefindelement.c:
7795 (gst_type_find_element_activate):
7796 Use gst_type_find_helper_get_range() here, so we
7797 can honour the "minimum" property and also emit
7798 the signal with the correct probability of the found caps.
7800 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
7802 * docs/libs/gstreamer-libs-sections.txt:
7803 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7804 (helper_find_suggest), (gst_type_find_helper_get_range),
7805 (gst_type_find_helper):
7806 * libs/gst/base/gsttypefindhelper.h:
7807 New API: gst_type_find_helper_get_range() (#333042).
7809 2006-03-02 Michael Smith <msmith@fluendo.com>
7811 * gst/gstregistryxml.c: (load_feature):
7812 Asserting on a failure to read part of the registry is Not Cool.
7813 Just log a warning and return NULL (which is already handled)
7815 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
7817 * win32/common/libgstbase.def:
7818 added export of gst_type_find_helper_for_buffer
7819 * win32/common/libgstbase.def:
7820 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7821 gst_ghost_pad_get_target
7823 2006-02-28 Wim Taymans <wim@fluendo.com>
7825 * docs/design/draft-klass.txt:
7827 Added Connector to mark elements that are only used to
7828 allow pipeline connections.
7829 Moved Debug to extra feature since most of them are
7830 functionally something else.
7832 2006-02-28 Wim Taymans <wim@fluendo.com>
7834 * docs/design/draft-klass.txt:
7835 Some updates and clarifications.
7837 2006-02-28 Wim Taymans <wim@fluendo.com>
7839 * docs/design/draft-klass.txt:
7840 Proposal for klass field values.
7842 * docs/design/part-streams.txt:
7843 Start of a doc describing stream anatomy.
7845 2006-02-28 Wim Taymans <wim@fluendo.com>
7847 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
7848 Help the compiler a bit with type registration.
7849 Use existing forward cod path instead of duplicating it when
7852 * gst/gstbus.c: (gst_bus_get_type):
7853 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
7854 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
7855 * gst/gstclock.c: (gst_clock_get_type):
7856 * gst/gstelement.c: (gst_element_get_type),
7857 * gst/gstelementfactory.c: (gst_element_factory_get_type):
7858 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7859 * gst/gstminiobject.c: (gst_mini_object_get_type):
7860 * gst/gstpad.c: (gst_pad_get_type):
7861 * gst/gstsegment.c: (gst_segment_get_type):
7862 * gst/gststructure.c: (gst_structure_get_type):
7863 * gst/gstsystemclock.c: (gst_system_clock_get_type):
7864 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
7866 Help compiler with type registration.
7868 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7871 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7873 * plugins/elements/gsttypefindelement.c:
7874 (gst_type_find_element_handle_event):
7875 When we get an EOS event and have not found a type yet
7876 (most likely because we had not yet accumulated
7877 TYPE_FIND_MIN_SIZE of data yet), try to determine the
7878 type given the data we have so far. Fixes typefinding
7879 for very short streams again, most notably quicktime
7880 redirections as used on Apple's trailer site (#331701).
7882 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7884 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
7885 (gst_type_find_helper):
7886 Try typefinding factories with the highest rank first.
7888 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7890 * docs/libs/gstreamer-libs-docs.sgml:
7891 * docs/libs/gstreamer-libs-sections.txt:
7892 * libs/gst/base/gsttypefindhelper.c:
7893 Add section for typefind helper and add documentation
7894 for the old and the new function.
7896 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7898 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
7899 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
7900 (gst_type_find_helper_for_buffer):
7901 * libs/gst/base/gsttypefindhelper.h:
7902 New API: gst_type_find_helper_for_buffer() (#332723).
7904 2006-02-27 Michael Smith <msmith@fluendo.com>
7906 Patch by: Loïc Minier
7910 * docs/slides/Makefile.am:
7911 prevent CVS directories getting disted.
7913 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7915 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
7916 Use the REFCOUNTING category for caps refcounting.
7918 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
7920 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
7921 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
7923 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
7925 * plugins/elements/gsttypefindelement.c:
7926 (gst_type_find_element_activate):
7927 Use gst_pad_check_pull_range() before _activate_pull()
7928 to avoid unnecessary open/close (see #331690).
7930 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
7933 Docs enhancement: make it crystal clear what the
7934 gst_pad_add_*_probe() callbacks should look like.
7936 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
7938 * libs/gst/base/gstbasesrc.c:
7939 Document how applications can stop recording from
7940 live sources (see #330996).
7942 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7944 * tests/check/Makefile.am:
7945 * tests/check/libs/basesrc.c: (eos_event_counter),
7946 (basesrc_eos_events_pull), (basesrc_eos_events_push),
7947 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
7948 (gst_basesrc_suite), (main):
7949 ... and add some tests for the base source EOS stuff.
7951 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7953 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
7954 Test case originally showed the problem fixed below,
7955 but was then amended. Add checks back at the place
7956 where they used to be.
7958 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7960 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7961 (gst_base_src_init), (gst_base_src_loop),
7962 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7963 (gst_base_src_change_state):
7964 * libs/gst/base/gstbasesrc.h:
7965 Don't unconditionally send EOS when going from PAUSED to
7966 READY state, esp. make sure we don't send two EOS events
7967 in some cases (e.g. one when reaching EOS and one when
7968 going from PAUSED to READY). Also, we don't want to send
7969 EOS events when operating in pull mode. However, we do
7970 want to send an EOS event when shutting down a live
7971 source explicitly, for example (fixes #330996).
7973 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7975 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7976 Update src->read_position after a seek when not using mmap.
7977 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
7979 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
7985 Make things work with --disable-parse as they do with
7986 --disable-load-save - the symbols involved disappear, but the
7987 header is still installed and GST_DISABLE_PARSE is included via
7990 2006-02-20 Julien MOUTTE <julien@moutte.net>
7992 * libs/gst/base/gstbasetransform.c:
7993 (gst_base_transform_change_state): Fix a stupid bug. I was
7994 sure I compiled that.
7996 2006-02-20 Julien MOUTTE <julien@moutte.net>
7998 * gst/gstpad.c: (gst_pad_set_blocked_async):
7999 * gst/gstutils.c: (gst_pad_add_data_probe),
8000 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8001 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8002 (gst_pad_remove_buffer_probe): Make those function act on the
8003 ghostpad target when it's a ghostpad. (Closes #331727)
8005 2006-02-20 Julien MOUTTE <julien@moutte.net>
8007 * libs/gst/base/gstbasetransform.c:
8008 (gst_base_transform_change_state): Make basetransform reusable.
8011 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
8013 * docs/random/release:
8014 Move the current documentation of how to do a release to the top
8017 * gst/gstbin.c: (gst_bin_class_init),
8018 (gst_bin_handle_message_func):
8019 Allow multiple state-recalculation threads. (Closes #328873)
8021 2006-02-19 Julien MOUTTE <julien@moutte.net>
8023 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8024 * gst/gstpad.c: (gst_pad_set_event_function),
8025 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8026 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8027 2 strings. You can't use the STR_NULL macro on that.
8029 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
8031 * gst/gstpad.c: (gst_pad_set_event_function),
8032 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8033 (gst_pad_set_getcaps_function)
8034 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8035 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8036 So now, we can use --gst-debug-level=5 on Windows
8037 * win32/common/libgstcontroller.def:
8038 Added export of gst_controller_init
8039 * win32/vs6/libgstcontroller.dsp:
8040 Fixed Release post build configuration
8042 2006-02-17 Wim Taymans <wim@fluendo.com>
8044 * tests/check/gst/gstquery.c: (GST_START_TEST):
8045 Added another check.
8047 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
8049 * plugins/elements/gsttypefindelement.c: (find_peek):
8050 We can do peeks at non-zero offsets, as long as they
8051 fall within the buffer we have.
8053 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
8055 * tests/check/Makefile.am:
8056 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8057 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8058 (parse_suite), (main):
8059 Add testsuite for parse launch syntax
8061 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
8063 * plugins/elements/gsttypefindelement.c:
8064 (gst_type_find_element_chain):
8065 When typefinding is unsuccessful in the chain function, don't
8066 error out immediately. Only error out with NO_CAPS_FOUND if
8067 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8068 otherwise simply wait for more data so we can try typefinding
8069 again with more data later. Also, don't attempt to typefind
8070 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8071 this should improve typefinding from network sources where the
8072 size of the first buffer can be somewhat random.
8074 2006-02-14 Wim Taymans <wim@fluendo.com>
8076 * docs/gst/gstreamer-sections.txt:
8077 * gst/gstpadtemplate.c:
8078 * gst/gstpadtemplate.h:
8079 Fix padtemplate docs, fixes #328805.
8081 2006-02-14 Wim Taymans <wim@fluendo.com>
8083 * tools/gst-launch.c: (main):
8084 NO_PREROLL is not an ERROR so don't send confusing messages
8087 2006-02-14 Wim Taymans <wim@fluendo.com>
8089 Patch by: Torsten Schoenfeld
8091 * gst/gstregistry.c: (gst_registry_get_default),
8092 (_gst_registry_cleanup):
8093 Protect default registry with lock and ref/sink it.
8096 2006-02-14 Wim Taymans <wim@fluendo.com>
8099 * gst/gstquery.c: (gst_query_list_add_format),
8100 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8101 (gst_query_parse_formats_nth):
8102 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8105 2006-02-14 Wim Taymans <wim@fluendo.com>
8107 * docs/gst/gstreamer-sections.txt:
8108 Reworked query docs.
8110 * gst/gstquery.c: (gst_query_new_formats),
8111 (gst_query_list_add_format), (gst_query_set_formats),
8112 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8113 (gst_query_parse_formats_nth):
8115 Flesh out formats query, added some new methods.
8116 Fix part of #324398.
8118 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8119 Added query creation tests.
8121 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
8123 * gst/gstpad.c: (fixate_value):
8124 Add a default fixation for fraction lists.
8126 2006-02-13 Wim Taymans <wim@fluendo.com>
8128 * gst/gsttask.c: (gst_task_init), (gst_task_func),
8129 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8132 Detect and warn for obvious deadlocks. fixes #320340
8133 Fix error case where lock was not released.
8135 * tests/check/Makefile.am:
8136 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8137 (task_func), (gst_element_suite), (main):
8140 2006-02-13 Wim Taymans <wim@fluendo.com>
8142 * docs/gst/gstreamer-sections.txt:
8144 Add new functions to docs.
8146 2006-02-13 Wim Taymans <wim@fluendo.com>
8148 * docs/design/part-TODO.txt:
8149 Updated TODO list, basesrc supports seeking to non-bytes
8152 * docs/design/part-element-sink.txt:
8155 * gst/gstbin.c: (bin_replace_message),
8156 (gst_bin_handle_message_func):
8157 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8158 * gst/gstevent.c: (gst_event_finalize):
8159 * gst/gstpad.c: (gst_pad_event_default_dispatch),
8160 (gst_pad_send_event):
8161 Use shiny new _TYPE_NAME macros.
8163 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8164 Move debug statement up.
8166 * gst/gstelement.c: (gst_element_set_locked_state):
8169 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
8171 * docs/gst/gstreamer-sections.txt:
8174 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8175 macros (#330906). Also, document the already existing
8176 GST_QUERY_TYPE macro.
8178 2006-02-13 Wim Taymans <wim@fluendo.com>
8180 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8181 (event_probe), (GST_START_TEST):
8182 Only events up to the pipeline EOS are counted, there are
8183 some more when going to NULL currently which we don't care
8186 2006-02-13 Wim Taymans <wim@fluendo.com>
8188 * gst/gstpad.c: (gst_pad_send_event):
8189 Correctly check flushing and emit probes. fixes #330125
8191 2006-02-10 Andy Wingo <wingo@pobox.com>
8193 * gst/gstbus.c (gst_bus_class_init): Declare our private data
8195 (gst_bus_init): Cache the location of the private data in the
8197 (gst_bus_enable_sync_message_emission)
8198 (gst_bus_disable_sync_message_emission): Implement new public
8200 (gst_bus_post): Emit the sync-message signal if the user asked for
8203 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8204 location of the bus-private structure.
8205 (gst_bus_enable_sync_message_emission)
8206 (gst_bus_disable_sync_message_emission): API addition
8208 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
8210 Patch by: Vincent Torri
8212 * docs/pwg/building-boiler.xml:
8213 PWG patch from #326800
8215 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
8219 * docs/design/Makefile.am:
8222 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8227 === release 0.10.3 ===
8229 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8232 releasing 0.10.3, "Like a virgin"
8234 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8237 2nd prerelease of 0.10.3
8238 Bump libtool versioning.
8240 2006-02-07 Andy Wingo <wingo@pobox.com>
8242 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8243 update last_stop if we're in TIME format and the timestamp is
8246 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
8247 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
8248 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8249 If we get a new newsegment with a different format, adapt
8252 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8253 of 0. Not a problem, really.
8255 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8258 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
8263 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
8266 project files updated to the default vs7 configuration
8267 * win32/common/libgstbase.def:
8268 * win32/common/libgstreamer.def:
8270 removed empty lines,
8271 sorted all exported symbols alphabetically
8272 * win32/common/dirent.c:
8273 * win32/common/dirent.h:
8274 * win32/common/gchar.h:
8275 use windows line end.
8277 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8279 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8280 Send EOS event when stopping.
8282 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8285 Tell folks what to do if the plugin-foobar.xml file
8286 hasn't been generated for a newly-added plugin.
8288 2006-02-05 Julien MOUTTE <julien@moutte.net>
8290 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8291 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8292 (gst_collect_pads_start), (gst_collect_pads_stop),
8293 (gst_collect_pads_event): Collectpads now holds a reference
8294 to the GstPad that was added. Indeed we don't want to look
8295 at pads that might just go away with no warning...
8297 2006-02-05 Julien MOUTTE <julien@moutte.net>
8299 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8300 (gst_collect_pads_start), (gst_collect_pads_stop),
8301 (gst_collect_pads_event), (gst_collect_pads_chain):
8302 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8303 Mark Nauwelaerts's patch on bug #328491.
8305 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8307 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8309 Add some simple tests for gst_parse_bin_from_description() and
8310 gst_bin_find_unconnected_pad() (#329069).
8312 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8314 * tools/gst-launch.c: (event_loop), (main):
8315 Catch errors during preroll (#320084).
8317 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
8319 * plugins/elements/gsttypefindelement.c:
8320 (gst_type_find_element_activate):
8321 Post TYPE_NOT_FOUND error message when typefinding
8322 is unsuccessful in the activate function as well.
8324 2006-02-02 Wim Taymans <wim@fluendo.com>
8326 * docs/design/part-element-sink.txt:
8329 2006-02-02 Wim Taymans <wim@fluendo.com>
8331 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8332 (gst_base_sink_render_object),
8333 (gst_base_sink_queue_object_unlocked):
8334 Only keep track of prerollable items when we are
8336 Before rendering after preroll, always check if we
8338 Added some more debugging.
8340 2006-02-02 Wim Taymans <wim@fluendo.com>
8342 * gst/gstelement.c: (gst_element_continue_state),
8343 (gst_element_set_state_func), (gst_element_change_state):
8344 Fixed #326576, been running this for quite some time with
8345 no regressions at all.
8347 2006-02-02 Wim Taymans <wim@fluendo.com>
8350 Added more suppressions
8352 2006-02-02 Wim Taymans <wim@fluendo.com>
8354 * docs/design/part-element-sink.txt:
8357 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8358 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8359 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8360 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8361 (gst_base_sink_do_sync), (gst_base_sink_render_object),
8362 (gst_base_sink_preroll_object),
8363 (gst_base_sink_queue_object_unlocked),
8364 (gst_base_sink_queue_object), (gst_base_sink_event),
8365 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8366 (gst_base_sink_loop), (gst_base_sink_activate_pull),
8367 (gst_base_sink_get_position), (gst_base_sink_change_state):
8368 * libs/gst/base/gstbasesink.h:
8369 Totally refactored matching the design doc.
8370 Use two segments, one to clip incomming buffers and another to
8372 Handle queueing correctly, bypass the queue when playing.
8373 Make EOS cancelable.
8374 Handle errors correctly when operating in pull based mode.
8376 * tests/check/elements/fakesink.c: (GST_START_TEST),
8378 Added new check for sinks.
8380 2006-02-02 Wim Taymans <wim@fluendo.com>
8382 * gst/gstsegment.c: (gst_segment_clip):
8383 No reason to refuse to clip when start == -1
8385 2006-02-02 Stefan Kost <ensonic@users.sf.net>
8388 * docs/manual/intro-basics.xml:
8389 * docs/manual/intro-preface.xml:
8390 * docs/manual/manual.xml:
8391 * docs/pwg/advanced-dparams.xml:
8392 * docs/pwg/intro-basics.xml:
8393 * docs/pwg/intro-preface.xml:
8395 describe dparams (controller) for plugins
8396 unify docs a little more
8398 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
8400 * docs/gst/gstreamer-sections.txt:
8401 * gst/gstutils.c: (element_find_unconnected_pad),
8402 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8404 Add new API: gst_parse_bin_from_description() and
8405 gst_bin_find_unconnected_pad() (#329069).
8407 2006-02-01 Stefan Kost <ensonic@users.sf.net>
8409 * docs/manual/README:
8410 uncover a nasty detail of the docs build
8412 2006-01-31 Wim Taymans <wim@fluendo.com>
8414 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8415 Don't cache duration messages if we're not going to use or
8418 2006-01-31 Stefan Kost <ensonic@users.sf.net>
8420 * docs/manual/advanced-dparams.xml:
8421 * docs/pwg/advanced-dparams.xml:
8425 * libs/gst/controller/lib.c: (gst_controller_init):
8428 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
8430 * gst/gstelement.c: (gst_element_message_full):
8431 also show file/line/func if no additional debug was given
8433 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
8435 * win32/vs7/grammar.vcproj:
8436 activate copy of autogenerated files for Release mode
8438 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8440 * win32/common/libgstreamer.def:
8441 export gst_value_compare
8443 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
8445 * plugins/elements/Makefile.am:
8446 * plugins/elements/gstelements.c:
8447 * plugins/elements/gstfdsink.c: (_do_init),
8448 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8449 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8450 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8451 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8452 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8453 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8454 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8455 * plugins/elements/gstfdsink.h:
8456 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8458 2006-01-30 Stefan Kost <ensonic@users.sf.net>
8460 * docs/manual/advanced-dparams.xml:
8462 * docs/manual/advanced-position.xml:
8463 * docs/manual/basics-init.xml:
8464 * docs/manual/manual.xml:
8465 * docs/manual/titlepage.xml:
8467 * docs/pwg/titlepage.xml:
8468 cleanup xml (more to come)
8469 * libs/gst/controller/gstcontroller.c:
8472 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8474 * win32/vs6/grammar.dsp:
8475 add autogen of gstmarshal.c,h for Release mode
8477 2006-01-30 Wim Taymans <wim@fluendo.com>
8479 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8480 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8481 (gst_base_sink_handle_object), (gst_base_sink_event),
8482 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8483 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8484 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8485 (gst_base_sink_deactivate), (gst_base_sink_activate),
8486 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8487 (gst_base_sink_query), (gst_base_sink_change_state):
8488 Basesink cleanups, remove some old code.
8489 Handle the case where a subclass can preroll in the render
8490 method (mostly audiosinks).
8492 Remove some locks around variables that are now protected
8493 with the PREROLL_LOCK (clock_id, flushing, ..).
8494 Optimize position query some more, do correct locking.
8495 Remove old code to push queue in state change, this is not
8496 needed anymore since preroll blocks on all prerollable items
8498 Almost implemented as described in design doc.
8500 2006-01-30 Wim Taymans <wim@fluendo.com>
8502 * tests/check/gst/gstbin.c: (GST_START_TEST):
8503 Wait for refcount to settle down before checking.
8505 2006-01-30 Wim Taymans <wim@fluendo.com>
8507 * docs/design/part-element-sink.txt:
8508 Pseudo code overview of desired sink behaviour regarding
8511 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8512 * win32/vs6/grammar.dsp:
8513 fix some bugs in Release mode for autogenerated files
8515 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8516 * win32/common/libgstbase.def:
8517 * win32/common/libgstreamer.def:
8518 export some new symbols: gst_base_src_set_format,
8519 gst_iterator_next, gst_structure_set_valist
8521 2006-01-29 Julien MOUTTE <julien@moutte.net>
8523 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8524 Set pad functions unconditionally. Fixes #329105.
8526 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8528 add vs8 project files created by Sergey Scobich
8530 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
8532 * gst/gstutils.c: (gst_element_unlink_pads):
8533 Don't leak pad references.
8535 * tests/check/elements/fakesink.c: (GST_START_TEST):
8536 * tests/check/generic/sinks.c: (GST_START_TEST):
8537 * tests/check/generic/states.c: (GST_START_TEST):
8538 * tests/check/gst/gstbin.c: (GST_START_TEST):
8539 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8540 * tests/check/gst/gstelement.c: (GST_START_TEST):
8541 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8542 * tests/check/gst/gstiterator.c: (GST_START_TEST):
8543 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8544 Fix a bunch of leaks. Make generic/sinks.c
8545 use a bit less cpu by slowing the buffer rate
8546 between fakesrc and fakesink.
8548 2006-01-27 Stefan Kost <ensonic@users.sf.net>
8550 * gst/gstelement.c: (gst_element_send_event):
8553 * gst/gstiterator.c:
8554 * gst/gstiterator.h:
8555 * gst/gstpad.c: (gst_pad_send_event):
8556 * gst/gststructure.c:
8560 * libs/gst/base/gstadapter.c:
8561 doc fixes, to link to function, just write gst_cool_function(), don't
8564 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8566 * plugins/elements/gsttee.c: (gst_tee_do_push),
8567 (gst_tee_handle_buffer):
8568 Always prefer an actual return value from a src
8569 pad in place of NOT_LINKED. This means we return
8570 WRONG_STATE when all src pads are WRONG_STATE
8571 instead of NOT_LINKED.
8573 Lock when replacing the last message to prevent
8574 racing with the get_property method.
8578 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8580 * tests/check/Makefile.am:
8581 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8583 Add a very simple check that should have caught the memleak I fixed
8584 last night (if not for the slice allocator hiding it)
8586 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8588 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8589 (gst_bin_remove_func), (gst_bin_handle_message_func),
8590 (bin_query_duration_fold), (bin_query_generic_fold):
8591 Clean up references to the clock provider when disposed or when
8592 handling a clock-lost message from it.
8594 Unref sinks when performing a query via gst_iterator_fold, as the
8595 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8597 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8598 (gst_clock_set_master):
8599 Drop our reference to the master clock, if any, when we are disposed.
8601 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8602 Chain up in dispose.
8604 2006-01-26 Wim Taymans <wim@fluendo.com>
8606 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8609 2006-01-26 Julien MOUTTE <julien@moutte.net>
8611 * plugins/elements/gsttee.c: (gst_tee_do_push),
8612 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8613 handles pad being NOT_LINKED or in WRONG_STATE.
8615 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8620 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8623 remove obsolete entry
8625 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8627 * docs/gst/gstreamer-sections.txt:
8628 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8629 (gst_bin_iterate_sources), (gst_bin_send_event):
8631 * gst/gstelement.c: (gst_element_send_event):
8633 * gst/gstpad.c: (gst_pad_send_event):
8634 added code for downstream events, reviewed docs in gstevent.c
8636 2006-01-25 Julien MOUTTE <julien@moutte.net>
8638 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8639 We only query position using the clock in the playing state.
8640 Query peer in the other cases.
8641 * win32/common/config.h: Updates.
8643 2006-01-24 Wim Taymans <wim@fluendo.com>
8645 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8646 A clock entry that is scheduled for the exact time of the
8647 clock is still in time.
8649 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8650 (gst_base_sink_do_sync):
8651 Add some more debug info.
8653 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8656 Add new vs7 project files and solution.
8658 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8661 all files removed as they were out-dated.
8663 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8665 * docs/random/release:
8667 * gst/gstbin.c: (gst_bin_init):
8668 * gst/gstbus.c: (gst_bus_new):
8670 * gst/gstpipeline.c: (gst_pipeline_init):
8671 use gst_bus_new(), improve logging, fix docs
8672 * win32/common/config.h:
8673 update for cvs build
8675 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8678 up required version of automake to 1.7
8680 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
8682 * win32/common/libgstreamer.def:
8683 export gst_buffer_is_metadata_writable
8685 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
8687 * docs/gst/gstreamer-sections.txt:
8689 Add gst_event_replace() (#327001)
8691 2006-01-20 Wim Taymans <wim@fluendo.com>
8693 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8694 Make it actually compile too..
8696 2006-01-20 Wim Taymans <wim@fluendo.com>
8699 Clarify behaviour of _is_equal() when passing NULL parameters.
8701 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8703 Cleanups. Don't unref NULL caps.
8704 When setting the same caps, protect caps of the pad with
8706 Use full functionality of _is_equal() when comparing caps.
8708 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8710 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8711 Don't loop infinitely if there are no buffers to present. Partially
8712 fixes #327197, but collectpads is just broken for reusing elements
8713 to do multiple encodes atm.
8715 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8717 * tools/gst-inspect.c: (print_element_features):
8718 * tools/gst-xmlinspect.c: (main):
8719 URL_HANDLER is not a plugin feature we can search for in
8722 2006-01-19 Edward Hervey <edward@fluendo.com>
8724 * gst/gstelement.c: (gst_element_pads_activate):
8725 When activating, do src pads first, then sink pads.
8726 When de-activating, do sink pads first, then src pads.
8728 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8730 * docs/gst/gstreamer-sections.txt:
8731 Add gst_index_add_associationv to the docs
8733 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8738 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8739 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8740 Do some refactoring. Doesn't actually change functionality,
8741 but makes landing the DRAIN event easier later.
8743 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
8745 * docs/pwg/advanced-scheduling.xml:
8746 Update from 0.9.x to 0.10 API and make example a bit
8749 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8751 * docs/gst/gstreamer-sections.txt:
8752 Add gst_buffer_(is|make)_metadata_writable methods.
8754 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8756 * docs/design/part-sparsestreams.txt:
8757 Update sparse streams doc, hopefully for greater clarity
8759 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
8761 * docs/design/part-events.txt:
8762 Remove mention of FILLER events.
8765 * docs/design/part-sparsestreams.txt:
8766 Write some things about using NEWSEGMENT to keep sparse streams
8769 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8771 * gst/gstbin.c: (gst_bin_dispose):
8772 Guard gst_object_unref call against a NULL object (dispose
8773 can theoretically be called multiple times).
8775 2006-01-18 Wim Taymans <wim@fluendo.com>
8777 * gst/gstbin.c: (gst_bin_element_set_state):
8778 * gst/gstclock.c: (gst_clock_id_wait):
8779 Added some more debug info.
8781 * libs/gst/base/gstadapter.c:
8784 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8785 (gst_base_sink_do_sync), (gst_base_sink_chain):
8786 Added some comments.
8788 2006-01-18 Wim Taymans <wim@fluendo.com>
8790 * tests/check/Makefile.am:
8791 * tests/check/elements/fakesink.c: (chain_async_buffer),
8792 (chain_async), (chain_async_return), (GST_START_TEST),
8793 (fakesink_suite), (main):
8794 Added fakesink test that checks prerolling and clipping
8797 * tests/check/gst/gstutils.c: (GST_START_TEST):
8798 Make check run faster so that buildbots don't timeout.
8800 2006-01-18 Wim Taymans <wim@fluendo.com>
8802 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8803 (gst_base_sink_do_sync):
8805 When the sink finishes blocking on the preroll buffer, it can
8806 immediatly render it instead of rendering when the next buffer
8809 2006-01-18 Wim Taymans <wim@fluendo.com>
8811 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8812 (gst_base_sink_get_property), (gst_base_sink_do_sync),
8813 (gst_base_sink_chain):
8815 GST_ELEMENT_CLOCK and sync are protected with LOCK.
8816 Don't store _last_stop if the buffer is dropped.
8818 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8820 * plugins/elements/gsttypefindelement.c:
8821 (gst_type_find_element_class_init):
8822 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8823 object method handler that sets the caps on the pad and we want
8824 that to happen before we emit the signal (fixes e.g. feeding a
8825 plain text file to decodebin).
8827 2006-01-18 Christian Schaller <Christian@fluendo.com>
8829 * gst/gstplugin.c: Add MPL and Proprietary as license options
8831 2006-01-18 Andy Wingo <wingo@pobox.com>
8833 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8834 symbol was exported before, it appears this was just an oversight.
8836 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
8838 * gst/gstindex.c (gst_index_add_associationv): Changed int in
8839 prototype to gint. OK since this prototype was not in the header.
8841 2006-01-17 Andy Wingo <wingo@pobox.com>
8843 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
8844 registry while we remove plugins.
8846 * tools/gst-inspect.c (print_element_info): Don't unref the
8847 factory arg, that should be the responsibility of whatever code
8848 received the ref. Fixes a double-free when called from
8849 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
8850 (main): Unref the factory if we have one.
8851 (print_element_list): No change -- relies on the
8852 plugin_feature_list_free to free the list of features.
8854 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
8856 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8857 (gst_buffer_make_metadata_writable):
8859 * libs/gst/base/gstbasetransform.c:
8860 (gst_base_transform_prepare_output_buf):
8861 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8862 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8863 Replace gst_buffer_(make|is)_metadata_writable patch now
8864 that the release is out.
8866 2006-01-17 Andy Wingo <wingo@pobox.com>
8868 * gst/gstregistry.c: Reflow design comment. Update so as to speak
8869 in the present tense without reference to versions.
8871 * gst/gstregistry.c (gst_registry_add_plugin)
8872 (gst_registry_remove_plugin, gst_registry_remove_feature)
8873 (gst_registry_find_feature, gst_registry_get_feature_list)
8874 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
8875 (gst_registry_lookup, gst_registry_scan_path)
8876 (_gst_registry_remove_cache_plugins)
8877 (gst_registry_get_feature_list_by_plugin): Add argument
8880 === release 0.10.2 ===
8882 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
8885 releasing 0.10.2, "If man is five"
8887 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8891 * libs/gst/base/gstbasetransform.c:
8892 (gst_base_transform_prepare_output_buf):
8893 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8894 * tests/check/gst/gstbuffer.c: (gst_test_suite):
8895 Back out patch until after the release.
8897 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8899 * gst/gstminiobject.c:
8900 Spelling fix in docs.
8901 * ChangeLog - remove conflict indicator
8903 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8905 Reviewed By: Andy Wingo
8907 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8908 (gst_buffer_make_metadata_writable):
8910 Add gst_buffer_(is|make)_metadata_writable as analogues of
8911 gst_buffer_(is|make)_writable.
8913 * libs/gst/base/gstbasetransform.c:
8914 (gst_base_transform_prepare_output_buf):
8915 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8916 Use name gst_buffer_(is|make)_metadata_writable functions.
8918 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8919 Test gst_buffer_(is|make)_metadata_writable
8923 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
8925 * docs/manual/Makefile.am:
8926 don't do parallel make
8929 * win32/common/config.h.in:
8930 add generations for HOST_CPU and GST_MAJORMINOR
8931 * win32/common/config.h:
8932 commit generated result
8934 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
8936 * docs/manual/appendix-integration.xml:
8937 Update GNOME integration section to use gst_init_get_option_group()
8938 instead of the old popt stuff (#322911). Also, GNOME applications
8939 should now use gconf*sink and gconf*src instead of the old gconf
8942 2006-01-13 Stefan Kost <ensonic@users.sf.net>
8945 * docs/gst/gstreamer-docs.sgml:
8946 * docs/gst/gstreamer-sections.txt:
8947 * docs/libs/gstreamer-libs-sections.txt:
8948 add new API entries to the docs
8949 * libs/gst/controller/Makefile.am:
8950 * libs/gst/controller/gstcontroller.c:
8951 * libs/gst/controller/gstcontroller.h:
8952 * libs/gst/controller/gstcontrollerprivate.h:
8953 * libs/gst/controller/gsthelper.c:
8954 * libs/gst/controller/gstinterpolation.c:
8955 move private structs to private header
8957 gstreamer-0.7 -> gstreamer-0.10
8958 * tests/check/libs/struct_i386.h:
8959 remove private structs
8961 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
8963 * plugins/indexers/Makefile.am:
8964 Fixes as part of #317048
8966 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
8968 * plugins/indexers/Makefile.am:
8969 fix #316086 - compilation when mmap is missing
8971 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
8973 * libs/gst/base/gstbasesink.c:
8974 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
8975 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
8976 * win32/common/config.h:
8977 added some defines GST_MAJORMINOR and HOST_CPU
8978 * win32/common/libgstbase.def:
8979 * win32/common/libgstreamer.def:
8980 added some exported functions.
8982 2006-01-12 Stefan Kost <ensonic@users.sf.net>
8984 * libs/gst/controller/gstcontroller.c:
8985 (gst_controlled_property_set_interpolation_mode),
8986 (gst_controlled_property_new):
8987 * libs/gst/controller/gstcontroller.h:
8988 * libs/gst/controller/gstinterpolation.c:
8989 (interpolate_none_get_string_value_array):
8990 make G_TYPE_STRING controlable
8992 2006-01-12 Stefan Kost <ensonic@users.sf.net>
8995 * tools/gst-feedback.1.in:
8996 * tools/gst-inspect.1.in:
8997 * tools/gst-launch.1.in:
8998 * tools/gst-md5sum.1.in:
8999 * tools/gst-typefind.1.in:
9000 * tools/gst-xmlinspect.1.in:
9001 * tools/gst-xmllaunch.1.in:
9002 cleanup man-pages, remove reference to gst-register, document env-vars
9004 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
9006 * gst/gstbuffer.c: (gst_buffer_span):
9007 gst_buffer_span should copy the timestamp of the first buffer
9008 if they were both originally overlapping subbuffers of the
9009 same parent, using the same logic as the 'slow copy' case.
9011 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
9013 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9014 Need to awaken ALL the pads when we pop a buffer, otherwise
9015 collectpads only works when there is 2 input streams.
9017 2006-01-11 Stefan Kost <ensonic@users.sf.net>
9019 * docs/random/ensonic/media-device-daemon.txt:
9022 fix doc example, add clarification
9023 * tools/gst-launch.1.in:
9024 add initial info about GST_PLUGIN_PATH, needs more work
9026 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
9028 * docs/manual/basics-bins.xml:
9029 * docs/manual/basics-elements.xml:
9030 * docs/manual/intro-basics.xml:
9031 Some more minor docs additions and updates.
9033 2006-01-11 Wim Taymans <wim@fluendo.com>
9035 * docs/manual/basics-bins.xml:
9036 * docs/manual/basics-elements.xml:
9037 Some small fixes as pointed out by Ser-ver on IRC.
9039 2006-01-10 Edward Hervey <edward@fluendo.com>
9041 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9042 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9043 the single-segment mode.
9045 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
9047 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9049 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9050 (gst_base_src_perform_seek), (gst_base_src_send_event),
9051 (gst_base_src_set_property), (gst_base_src_get_property),
9052 (gst_base_src_loop), (gst_base_src_start),
9053 (gst_base_src_activate_push):
9054 * libs/gst/base/gstbasesrc.h:
9055 Name (private) union; makes Sun's Forte compiler happy (#324900).
9057 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
9060 gst-register is gone.
9062 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
9064 * gst/gstvalue.c: (_gst_value_initialize):
9065 make the G_TYPE_DATE instantiation work if debug is disabled
9067 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
9069 * gst/gstmessage.c: (gst_message_parse_tag),
9070 (gst_message_parse_error), (gst_message_parse_warning):
9071 Don't crash when return location for error/warning debug
9072 string is NULL; add fact that return locations can be
9073 NULL to docs where appropriate.
9075 2006-01-05 Wim Taymans <wim@fluendo.com>
9077 * gst/gstplugin.c: (gst_plugin_load_file):
9078 Replace strdup by g_strdup.
9080 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9082 * docs/pwg/advanced-types.xml:
9085 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9087 submitted by: Abel Cheung
9091 Added Chinese (traditional) translation
9093 2006-01-04 Wim Taymans <wim@fluendo.com>
9095 * docs/manual/basics-pads.xml:
9096 * docs/plugins/Makefile.am:
9097 * docs/plugins/gstreamer-plugins-docs.sgml:
9098 * docs/plugins/gstreamer-plugins-sections.txt:
9099 * docs/pwg/advanced-clock.xml:
9100 * docs/pwg/advanced-scheduling.xml:
9101 * docs/pwg/advanced-types.xml:
9102 * plugins/elements/gstfdsink.c:
9103 * plugins/elements/gstfdsrc.c:
9104 * plugins/elements/gstfdsrc.h:
9105 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9106 * plugins/elements/gstidentity.h:
9107 * plugins/elements/gstqueue.h:
9108 * plugins/elements/gsttee.c:
9109 * plugins/elements/gsttee.h:
9110 * plugins/elements/gsttypefindelement.c:
9111 (gst_type_find_element_class_init):
9112 * plugins/elements/gsttypefindelement.h:
9113 Small updates to various docs.
9114 Added core plugins to docs.
9116 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9119 add a suppression for liboil's uninitialized variable
9121 2006-01-02 James Livingston <jrl at ids dot org dot au>
9123 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9126 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9127 macro, so that gcc doesn't complain if the -Wmissing-prototypes
9128 compiler switch is being used (#325429).
9130 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
9132 * gst/gstbin.c: (gst_bin_query):
9133 Disable duration query caching in bins until it gets
9134 fixed (see #324807).
9136 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9138 * tools/gst-inspect.c: (print_element_properties_info):
9139 Handle properties of POINTER and BOXED type.
9141 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9143 * gst/gst.c: (init_post):
9144 Init tags stuff and some other things before loading
9145 any static plugins (there may be other static plugins
9146 than just the GStreamer ones, and they may want to
9147 register their own tags or formats or whatever, and
9148 preferably without segfaulting).
9150 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9151 Print at least a warning in the debug logs if we drop a
9152 query just because we don't know how to adjust the value
9153 in the particular format.
9155 2005-12-24 David Schleef <ds@schleef.org>
9157 * tools/gstreamer-completion:
9158 Replacement for gst-complete written in sh and sed. Only
9159 completes names of features, but that's 90% of what I want
9160 it for. Properties are not available in registry.xml. (Maybe
9163 === release 0.10.1 ===
9165 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
9168 releasing 0.10.1, "Nollaig chridheil"
9170 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
9173 Add missing quote, should be make ERROR_CFLAGS="".
9175 2005-12-20 Wim Taymans <wim@fluendo.com>
9177 * docs/design/part-trickmodes.txt:
9178 More documentation on trickmodes.
9180 2005-12-20 Edward Hervey <edward@fluendo.com>
9182 * gst/gstcaps.c: (gst_static_caps_get_type):
9184 API addition: GST_TYPE_STATIC_CAPS
9185 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9186 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9187 * gst/gstpadtemplate.h:
9188 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9189 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9192 2005-12-18 Wim Taymans <wim@fluendo.com>
9194 * libs/gst/base/gstadapter.c:
9195 * libs/gst/base/gstadapter.h:
9196 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9197 (gst_base_sink_get_position):
9198 * libs/gst/base/gstbasesink.h:
9199 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9200 (gst_base_src_default_query), (gst_base_src_default_do_seek),
9201 (gst_base_src_do_seek), (gst_base_src_perform_seek),
9202 (gst_base_src_send_event), (gst_base_src_update_length),
9203 (gst_base_src_get_range), (gst_base_src_loop),
9204 (gst_base_src_start):
9205 * libs/gst/base/gstbasesrc.h:
9206 * libs/gst/base/gstbasetransform.h:
9207 * libs/gst/base/gstcollectpads.h:
9208 * libs/gst/base/gstpushsrc.c:
9209 * libs/gst/base/gstpushsrc.h:
9210 * libs/gst/dataprotocol/dataprotocol.c:
9211 * libs/gst/dataprotocol/dataprotocol.h:
9212 * libs/gst/net/gstnetclientclock.h:
9213 * libs/gst/net/gstnettimeprovider.h:
9214 Documentation updates.
9216 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
9218 * docs/manual/basics-helloworld.xml:
9219 Remove superfluous closing bracket in helloworld example.
9221 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
9223 * tools/gst-launch.1.in:
9224 Update gst-launch man page; add a section with useful
9225 environment variables. Fixes #323882.
9227 2005-12-16 Stefan Kost <ensonic@users.sf.net>
9230 * gst/gst_private.h:
9231 change some char* into char[]
9233 2005-12-16 Wim Taymans <wim@fluendo.com>
9235 * gst/gstregistryxml.c: (load_feature):
9237 Don't use g_object_unref on GstObjects so that we avoid
9238 leaks on unsafe glibs.
9240 2005-12-16 Wim Taymans <wim@fluendo.com>
9242 * gst/gstbin.c: (gst_bin_recalc_state):
9245 2005-12-16 Wim Taymans <wim@fluendo.com>
9248 Added make forever target for check.
9250 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
9252 * gst/gst.c: (init_post):
9253 make the registry cache file HOST_CPU-dependent
9255 2005-12-16 Andy Wingo <wingo@pobox.com>
9257 * plugins/elements/gstbufferstore.c
9258 (gst_buffer_store_cleared_func): Pay attention to g_list_append
9261 * tests/check/gst/gstobject.c
9262 (test_fake_object_name_threaded_unique): Pay attention to
9263 g_list_sort return value.
9265 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
9267 * tools/gst-feedback-m.m:
9268 Update for 0.9/0.10 (fixes #323870).
9270 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
9272 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9273 Fix lcopy for mini objects, the mini object needs to be ref'ed.
9275 * tests/check/gst/gstminiobject.c: (my_foo_init),
9276 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9277 (test_value_collection), (gst_mini_object_suite):
9278 Add test to ensure refcounts end up as expected when passing
9279 GstMiniObjects through g_object_get() and g_object_set().
9281 2005-12-14 Julien MOUTTE <julien@moutte.net>
9283 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9284 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9285 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9286 of collectpads. This version removes a lot of races without
9287 touching API/ABI. Yay !
9289 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
9291 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9292 Don't allow activation of a srcpad in pull_range if it has no
9294 Change some debug statements to be a little clearer
9296 * plugins/elements/gsttypefindelement.c:
9297 (gst_type_find_handle_src_query):
9298 Check that we have a peer before executing queries thereupon.
9300 * tests/examples/metadata/read-metadata.c: (message_loop):
9301 Use gst_bus_pop instead of gst_bus_poll when we just want it to
9302 immediately return us any available message with 0 timeout.
9304 2005-12-12 Michael Smith <msmith@fluendo.com>
9306 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9307 Don't unref factories after calling them.
9308 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9309 * plugins/elements/gsttypefindelement.c:
9310 (gst_type_find_element_chain):
9311 Free lists of factories after using them. Fixing typefinding memory
9314 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9316 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9317 (gst_plugin_feature_load):
9318 more meaningful debug output
9320 * tests/Makefile.am:
9321 * tests/old/examples/Makefile.am:
9322 make make distcheck happy again
9324 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9326 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9327 Catch the special case where we are operating chain-based,
9328 but the downstream peer pad has no chain function. Emit a
9329 custom error message in this case instead of letting the
9330 core generate one implying that this is some sort of core
9331 bug. It's not, it just means that whatever got plugged
9332 into the pipeline downstream when we announced the type
9333 can only operate pull-based, while our source can only
9334 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9335 Error string has not been marked for translation yet, as
9336 it probably needs some more work first.
9338 (gst_type_find_element_get_best_possibility):
9339 Add helper function to find the best of all available
9340 found possibilities that qualify given the min. threshold.
9342 (gst_type_find_element_handle_event):
9343 Fix the case where we get an EOS while still in TYPEFIND
9344 mode (we want to chose the best of all possible types,
9345 not just the first type that happens to be in our unsorted
9346 list of possible types).
9348 (gst_type_find_element_chain):
9349 Make sure we return GST_FLOW_ERROR when we errored out
9350 in stop_typefinding(); also, don't just find the best of
9351 all found type entries and then use the last examined
9352 type entry, but actually use the best entry.
9354 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9356 * tests/examples/typefind/typefind.c: (type_found):
9357 * tests/examples/xml/runxml.c: (xml_loaded):
9358 More gcc4 fixes and a mem leak fix.
9360 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9362 * tests/examples/xml/createxml.c: (object_saved):
9365 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9367 * tests/Makefile.am:
9368 enable the examples even more
9370 2005-12-12 Andy Wingo <wingo@pobox.com>
9372 * libs/gst/net/gstnettimeprovider.c
9373 (gst_net_time_provider_class_init, gst_net_time_provider_init)
9374 (gst_net_time_provider_set_property)
9375 (gst_net_time_provider_get_property):
9376 API addition: Export "active" as a GObject property.
9377 (gst_net_time_provider_thread): Only respond to time queries if
9378 the time provider is active.
9380 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9381 NetTimeProvider, preserving binary compat.
9383 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9385 * tests/examples/controller/audio-example.c: (main):
9386 * tests/examples/launch/Makefile.am:
9387 convert comments again
9389 2005-12-12 Wim Taymans <wim@fluendo.com>
9391 * libs/gst/base/gstpushsrc.c:
9394 2005-12-12 Wim Taymans <wim@fluendo.com>
9396 * docs/libs/gstreamer-libs-sections.txt:
9397 Added new symbol to docs.
9399 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9400 (gst_base_src_init), (gst_base_src_set_format),
9401 (gst_base_src_default_query), (gst_base_src_query),
9402 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9403 (gst_base_src_perform_seek), (gst_base_src_send_event),
9404 (gst_base_src_default_event), (gst_base_src_event_handler),
9405 (gst_base_src_set_property), (gst_base_src_get_property),
9406 (gst_base_src_wait), (gst_base_src_do_sync),
9407 (gst_base_src_update_length), (gst_base_src_get_range),
9408 (gst_base_src_check_get_range), (gst_base_src_loop),
9409 (gst_base_src_default_negotiate), (gst_base_src_start),
9410 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9411 (gst_base_src_change_state):
9412 * libs/gst/base/gstbasesrc.h:
9413 Implement seeking to other formats than _BYTES.
9414 Implement more seeking methods correctly.
9416 Added query vmethod.
9417 Added do_seek vmethod to make life easier for subclasses
9419 API addition: gst_base_src_set_format()
9421 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9423 * tests/examples/Makefile.am:
9426 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9429 * docs/random/ensonic/media-device-daemon.txt:
9430 * tests/examples/controller/.cvsignore:
9431 * tests/examples/controller/Makefile.am:
9432 * tests/examples/controller/audio-example.c: (main):
9433 * tests/examples/helloworld/.cvsignore:
9434 * tests/examples/helloworld/Makefile.am:
9435 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9436 * tests/examples/launch/.cvsignore:
9437 * tests/examples/launch/Makefile.am:
9438 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9439 * tests/examples/metadata/.cvsignore:
9440 * tests/examples/metadata/Makefile.am:
9441 * tests/examples/metadata/read-metadata.c: (message_loop),
9442 (make_pipeline), (print_tag), (main):
9443 * tests/examples/queue/.cvsignore:
9444 * tests/examples/queue/Makefile.am:
9445 * tests/examples/queue/queue.c: (event_loop), (main):
9446 * tests/examples/typefind/.cvsignore:
9447 * tests/examples/typefind/Makefile.am:
9448 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9450 * tests/examples/xml/.cvsignore:
9451 * tests/examples/xml/Makefile.am:
9452 * tests/examples/xml/createxml.c: (object_saved), (main):
9453 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9454 * tests/old/examples/Makefile.am:
9455 * tests/old/examples/TODO:
9456 * tests/old/examples/controller/.cvsignore:
9457 * tests/old/examples/controller/Makefile.am:
9458 * tests/old/examples/controller/audio-example.c:
9459 * tests/old/examples/helloworld/.cvsignore:
9460 * tests/old/examples/helloworld/Makefile.am:
9461 * tests/old/examples/helloworld/helloworld.c:
9462 * tests/old/examples/launch/.cvsignore:
9463 * tests/old/examples/launch/Makefile.am:
9464 * tests/old/examples/launch/mp3parselaunch.c:
9465 * tests/old/examples/launch/mp3play:
9466 * tests/old/examples/manual/Makefile.am:
9467 * tests/old/examples/metadata/Makefile.am:
9468 * tests/old/examples/metadata/read-metadata.c:
9469 * tests/old/examples/queue/.cvsignore:
9470 * tests/old/examples/queue/Makefile.am:
9471 * tests/old/examples/queue/queue.c:
9472 * tests/old/examples/typefind/.cvsignore:
9473 * tests/old/examples/typefind/Makefile.am:
9474 * tests/old/examples/typefind/typefind.c:
9475 * tests/old/examples/xml/.cvsignore:
9476 * tests/old/examples/xml/Makefile.am:
9477 * tests/old/examples/xml/createxml.c:
9478 * tests/old/examples/xml/runxml.c:
9479 applied some simple fixing to some examples
9480 re-enabled the working examples
9482 2005-12-12 Wim Taymans <wim@fluendo.com>
9484 * gst/gstsegment.c: (gst_segment_init),
9485 (gst_segment_set_last_stop), (gst_segment_set_seek),
9486 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9487 (gst_segment_to_running_time):
9488 Added more documentation.
9489 Make sure the last_pos value is updated properly.
9490 Make sure to_stream_time and to_running_time don't
9491 operate on wrong values.
9493 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9496 2005-12-12 Michael Smith <msmith@fluendo.com>
9498 * plugins/elements/gsttypefindelement.c: (free_entry),
9499 (gst_type_find_element_chain):
9500 Now that we're not leaking factories, make sure we keep references
9501 to them while we need them.
9503 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9505 * tests/check/gst/struct_i386.h:
9506 ifdef out the XML structs
9508 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9510 * gst/gstvalue.c: (gst_value_transform_double_fraction):
9511 floor is not needed, F is always positive; this obviates the
9512 need for adding -lm when building without libxml
9514 2005-12-12 Wim Taymans <wim@fluendo.com>
9516 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9517 Take current playback rate into account when reporting
9520 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9522 * docs/manual/mime-world.fig:
9523 Let's try this again, this time with a file that is
9524 actually in XFig format.
9526 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9528 * docs/manual/mime-world.fig:
9529 Add audioconvert element to diagram so that it
9530 matches the text and the code (fixes #319526).
9532 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9534 * docs/pwg/building-chainfn.xml:
9535 * docs/pwg/building-pads.xml:
9536 * docs/pwg/building-state.xml:
9537 * docs/pwg/other-source.xml:
9538 Update state change stuff for 0.10 (fixes #322969).
9540 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9542 * docs/manual/advanced-dataaccess.xml:
9543 * docs/manual/appendix-checklist.xml:
9544 * docs/manual/appendix-programs.xml:
9545 * docs/manual/basics-pads.xml:
9546 * docs/manual/highlevel-components.xml:
9547 * docs/manual/manual.xml:
9548 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9549 add converters in front of pipelines; remove curly
9550 brackets for threads stuff, they no longer exist; use
9551 GST_TYPE_FRACTION for framerates; update some pieces of
9552 code to 0.10, but there's plenty more to do.
9554 * docs/manual/appendix-porting.xml:
9555 Expand on asynchroneous state changes; s/0.9/0.10/;
9556 mention disappearance of gst_init_get_popt_table()
9559 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9561 * docs/faq/using.xml:
9562 Spider no longer exists, and neither does gst-launch-ext.
9563 Update examples to use decodebin and playbin and put
9564 converters in front of sinks (fixes #323726).
9566 2005-12-09 Michael Smith <msmith@fluendo.com>
9568 * plugins/elements/gsttypefindelement.c: (find_peek),
9569 (gst_type_find_element_chain):
9570 Fix leaking element factories in typefinding.
9571 Fix problem where we forgot about a probable type on non-seekable
9572 files, and thus later mis-typefound it.
9574 2005-12-09 Michael Smith <msmith@fluendo.com>
9576 * common/m4/gst-makecontext.m4:
9577 * common/m4/gst-mcsc.m4:
9579 * win32/common/config.h:
9580 * win32/common/config.h.in:
9581 Remove makecontext stuff; not used in 0.10 and causes problems on
9582 HPUX according to bug #322441
9584 2005-12-07 Wim Taymans <wim@fluendo.com>
9586 * tests/check/Makefile.am:
9587 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9589 * tests/check/libs/struct_i386.h:
9590 Added ABI check for libs
9592 2005-12-07 Wim Taymans <wim@fluendo.com>
9594 * tests/check/Makefile.am:
9595 And add the struct_i386.h to dist.
9597 2005-12-07 Wim Taymans <wim@fluendo.com>
9599 * tests/check/Makefile.am:
9600 * tests/check/gst/.cvsignore:
9601 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9603 * tests/check/gst/struct_i386.h:
9604 Added check for ABI compatibility.
9606 2005-12-07 Wim Taymans <wim@fluendo.com>
9608 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9609 (gst_fake_src_get_times), (gst_fake_src_create):
9610 Fix broken sync option, fixes #323259
9612 2005-12-07 Wim Taymans <wim@fluendo.com>
9617 * gst/gstcaps.c: (gst_caps_is_equal):
9618 Don't assert on NULL <--> X. Fixes #323260
9620 * gst/gstminiobject.c: (gst_mini_object_replace):
9621 If we're doing atomic operations, we might just as well use
9622 the proper way to get an atomic pointer.
9624 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9627 2005-12-07 Michael Smith <msmith@fluendo.com>
9629 * gst/parse/grammar.y:
9630 Remove handling of { } for threads.
9632 2005-12-06 David Schleef <ds@schleef.org>
9634 * libs/gst/base/gstbasetransform.c: speling fix.
9636 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
9638 * docs/libs/tmpl/gstdataprotocol.sgml:
9639 * docs/random/omega/testing/gstobject.c:
9643 * gst/gstelementfactory.c:
9646 * gst/gstghostpad.c:
9648 * gst/gstpadtemplate.c:
9649 * gst/gstregistryxml.c:
9651 * gst/gsttagsetter.c:
9652 * gst/gsttypefind.c:
9654 * libs/gst/base/gstbasesrc.c:
9655 * libs/gst/net/gstnetclientclock.c:
9656 * libs/gst/net/gstnettimeprovider.c:
9657 * plugins/elements/gstfakesrc.c:
9658 * plugins/elements/gstfdsrc.c:
9659 * plugins/elements/gstfilesrc.c:
9660 * plugins/elements/gstidentity.c:
9661 * plugins/elements/gstqueue.c:
9662 * plugins/elements/gsttypefindelement.c:
9663 * plugins/indexers/gstfileindex.c:
9664 * plugins/indexers/gstmemindex.c:
9665 * tests/check/gst/gsttag.c:
9666 * tests/old/examples/cutter/cutter.c:
9667 * tests/old/examples/mixer/mixer.c:
9668 * tests/old/examples/xml/runxml.c: (main):
9669 * tests/old/testsuite/caps/normalisation.c:
9670 * tests/old/testsuite/debug/global.c:
9671 * tests/old/testsuite/parse/parse1.c:
9672 * tools/gst-xmlinspect.c:
9673 * win32/common/dirent.c:
9676 === release 0.10.0 ===
9678 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9681 releasing 0.10.0, "Maroilles"
9683 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9685 submitted by: Funda Wang <fundawang@linux.net.cn>
9689 added Chinese (Traditional) translation
9691 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9693 * docs/gst/gstreamer-sections.txt:
9694 * docs/libs/tmpl/gstdataprotocol.sgml:
9695 * docs/random/thomasvs/TODO:
9700 2005-12-05 Andy Wingo <wingo@pobox.com>
9702 patch by: Wim Taymans <wim@fluendo.com>
9704 * libs/gst/base/gstbasetransform.c
9705 (gst_base_transform_prepare_output_buf)
9706 (gst_base_transform_buffer_alloc):
9707 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9708 alloc_buffer_and_set_caps.
9710 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9711 set_caps on the source pad.
9712 (gst_pad_alloc_buffer_and_set_caps): New function, does what
9713 alloc_buffer used to do. Fixes #322874.
9715 * docs/gst/gstreamer-sections.txt:
9716 * docs/design/part-negotiation.txt:
9717 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9720 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9722 patch by: Sebastien Moutte
9725 * win32/common/config.h.in:
9726 * win32/vs6/libgstcontroller.dsp:
9729 2005-12-05 Wim Taymans <wim@fluendo.com>
9731 * gst/gstcaps.c: (gst_caps_is_equal):
9732 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9733 (gst_fake_src_create):
9734 Back out previous code changes, leave doc updates, file bugs
9737 2005-12-05 Wim Taymans <wim@fluendo.com>
9739 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9740 (gst_fake_src_get_times), (gst_fake_src_create):
9741 * plugins/elements/gstfakesrc.h:
9742 Fix broken sync code.
9744 2005-12-05 Wim Taymans <wim@fluendo.com>
9746 * gst/gstcaps.c: (gst_caps_is_equal):
9747 Comparing NULL against !NULL yields different caps, not a
9750 2005-12-05 Wim Taymans <wim@fluendo.com>
9752 * gst/gstpipeline.c:
9753 Fix small typo in docs.
9755 2005-12-05 Andy Wingo <wingo@pobox.com>
9757 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
9759 * gst/gst.c (init_post): remove hard-coded 0.9 location for
9760 registries/plugins with a MAJORMINOR one.
9761 (plugin_desc): Rename library from gstcoreleements to
9762 staticelements. Fixes #323222.
9764 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
9766 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9767 Change debug category to 'collectpads' from 'collect_pads'
9770 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9772 patch by: Sebastien Moutte
9774 * libs/gst/controller/gstinterpolation.c:
9775 use convert function for uint64/double
9776 * win32/vs6/libgstcontroller.dsp:
9779 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9781 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9782 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9784 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9785 add tests that seem to show that the guint64/gdouble conversions
9788 2005-12-02 Wim Taymans <wim@fluendo.com>
9790 * gst/gstregistry.c: (gst_registry_add_path):
9791 * gst/gstregistry.h:
9792 * gst/gstregistryxml.c:
9795 2005-12-02 Wim Taymans <wim@fluendo.com>
9797 * gst/gstutils.c: (gst_util_uint64_scale_int64),
9798 (gst_util_uint64_scale_int):
9801 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9804 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9807 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9810 * win32/common/config.h:
9811 * win32/vs6/gstreamer.dsw:
9812 * win32/vs6/libgstcoreelements.dsp:
9813 * win32/vs6/libgstelements.dsp:
9814 renamed core elements plugin
9816 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9818 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9820 do piece-wise major/minor comparison so 0.9 < 0.10
9821 also allow .exe extensions for tools
9823 2005-12-02 Michael Smith <msmith@fluendo.com>
9826 Escape a % to make gtkdoc happier; bug 322958.
9828 === release 0.9.7 ===
9830 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9833 releasing 0.9.7, "My Dog Has No Nose"
9835 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9837 * common/gst-xmlinspect.py:
9839 * docs/libs/tmpl/gstdataprotocol.sgml:
9840 * docs/random/release:
9859 * win32/common/config.h:
9860 * win32/common/config.h.in:
9861 * win32/vs6/gst_inspect.dsp:
9862 * win32/vs6/gst_launch.dsp:
9863 * win32/vs6/libgstbase.dsp:
9864 * win32/vs6/libgstelements.dsp:
9865 * win32/vs6/libgstreamer.dsp:
9866 * win32/vs7/GStreamer.vcproj:
9867 * win32/vs7/gst-inspect.vcproj:
9868 * win32/vs7/gst-launch.vcproj:
9869 * win32/vs7/libgstbase.vcproj:
9870 bump GST_MAJORMINOR to 0.10
9871 reset libtool version
9873 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9877 Added Bulgarian translation by (Alexander Shopov)
9879 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9881 * tests/check/gst/gstplugin.c:
9884 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9886 * common/gst-xmlinspect.py:
9887 * common/gtk-doc-plugins.mak:
9890 * docs/gst/Makefile.am:
9891 * docs/gst/gstreamer-docs.sgml:
9892 * docs/gst/gstreamer-sections.txt:
9893 * docs/gst/gstreamer.types:
9894 * docs/gst/gstreamer.types.in:
9895 * docs/plugins/Makefile.am:
9896 * docs/plugins/gstreamer-plugins-docs.sgml:
9897 * docs/plugins/gstreamer-plugins-sections.txt:
9898 * docs/plugins/gstreamer-plugins.types:
9899 * docs/plugins/inspect.stamp:
9900 * docs/plugins/inspect/plugin-coreelements.xml:
9901 * docs/plugins/inspect/plugin-coreindexers.xml:
9902 * docs/plugins/scanobj-build.stamp:
9903 * gstreamer.spec.in:
9904 * plugins/elements/Makefile.am:
9905 * plugins/elements/gstelements.c:
9906 * plugins/elements/gstfakesink.c:
9907 * plugins/elements/gstfakesrc.c:
9908 * plugins/elements/gstfilesink.c:
9909 * plugins/elements/gstfilesrc.c:
9910 * plugins/elements/gstqueue.c:
9911 * plugins/indexers/Makefile.am:
9912 * plugins/indexers/gstindexers.c:
9913 document core plugins in a separate document just like all the
9915 rename these plugins to something starting with core
9917 2005-12-01 Andy Wingo <wingo@pobox.com>
9919 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
9920 padding here before, but it missed the commit.
9922 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9924 * libs/gst/controller/gstinterpolation.c:
9925 whitespace prices have crashed, we should feel free to use some now
9926 use gst_guint64_to_gdouble
9928 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9930 * libs/gst/controller/gstcontroller.c:
9931 * libs/gst/controller/gsthelper.c:
9932 * libs/gst/controller/gstinterpolation.c:
9933 * libs/gst/controller/lib.c:
9934 wrap config.h include
9936 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9938 * docs/gst/gstreamer-sections.txt:
9941 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9943 * plugins/elements/gstelements.c:
9944 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
9945 (gst_fd_sink__class_init), (gst_fd_sink__init),
9946 (gst_fd_sink__chain), (gst_fd_sink__set_property),
9947 (gst_fd_sink__get_property):
9948 * plugins/elements/gstfdsink.h:
9949 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
9950 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
9951 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
9952 (gst_fd_src_unlock), (gst_fd_src_set_property),
9953 (gst_fd_src_get_property), (gst_fd_src_create),
9954 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
9955 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
9956 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
9957 (gst_fd_src_uri_handler_init):
9958 * plugins/elements/gstfdsrc.h:
9959 * plugins/elements/gstqueue.c: (gst_queue_get_type):
9962 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9964 * docs/gst/Makefile.am:
9965 * docs/gst/gstreamer.types.in:
9969 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9975 * gst/gstregistry.h:
9976 * tests/benchmarks/complexity.c:
9977 * tests/benchmarks/mass-elements.c:
9978 * tests/check/Makefile.am:
9979 * tools/Makefile.am:
9980 * tools/gst-inspect.c:
9981 * tools/gst-xmlinspect.c:
9982 various fixes to make
9983 --disable-nls --disable-registry --disable-loadsave
9984 --disable-parse --disable-gst-debug
9985 work and get the core .so down to 360444 bytes after stripping
9987 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9992 * docs/random/thomasvs/TODO:
9993 * tests/Makefile.am:
9997 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9999 * win32/GStreamer.vcproj:
10002 * win32/Makefile.inspect:
10003 * win32/Makefile.launch:
10004 * win32/Makefile.register:
10005 * win32/README.txt:
10006 * win32/gst-inspect.vcproj:
10007 * win32/gst-launch.vcproj:
10008 * win32/gst-register.vcproj:
10009 * win32/gstelements.vcproj:
10010 * win32/gstgetbits.def:
10011 * win32/gstgetbits.vcproj:
10012 * win32/gstreamer-dbg.def:
10013 * win32/gstreamer.def:
10014 * win32/libgstbase.def:
10015 * win32/libgstbase.vcproj:
10016 * win32/link_oldruntime.c:
10020 * win32/msvc71.sln:
10021 move even more stuff, win32/ is nice and clean now
10023 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10025 * libs/gst/control/.cvsignore:
10030 * win32/gstbytestream.def:
10031 * win32/gstbytestream.vcproj:
10032 * win32/gstconfig.h:
10033 * win32/gstenumtypes.c:
10034 * win32/gstenumtypes.h:
10035 * win32/gstoptimalscheduler.vcproj:
10036 * win32/gstversion.h:
10038 * win32/testsuite/bins.vcproj:
10039 * win32/testsuite/bytestream.vcproj:
10040 * win32/testsuite/caps.vcproj:
10041 * win32/testsuite/cleanup.vcproj:
10042 * win32/testsuite/clock.vcproj:
10043 * win32/testsuite/debug.vcproj:
10044 * win32/testsuite/dlopen.vcproj:
10045 * win32/testsuite/dynparams.vcproj:
10046 * win32/testsuite/elements.vcproj:
10047 * win32/testsuite/ghostpads.vcproj:
10048 * win32/testsuite/indexers.vcproj:
10049 * win32/testsuite/negotiation.vcproj:
10050 * win32/testsuite/parse.vcproj:
10051 * win32/testsuite/plugin.vcproj:
10052 * win32/testsuite/refcounting.vcproj:
10053 * win32/testsuite/schedulers.vcproj:
10054 * win32/testsuite/states.vcproj:
10055 * win32/testsuite/tags.vcproj:
10056 * win32/testsuite/threads.vcproj:
10057 remove old win32 stuff that isn't maintained and should be
10060 2005-11-30 Andy Wingo <wingo@pobox.com>
10062 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10063 loading the gst.interfaces python module bork.
10065 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10066 available since GLib 2.2. Fixes #318031.
10068 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10071 * check/.cvsignore:
10072 * check/Makefile.am:
10073 * check/elements/.cvsignore:
10074 * check/elements/fakesrc.c:
10075 * check/elements/fdsrc.c:
10076 * check/elements/identity.c:
10077 * check/generic/.cvsignore:
10078 * check/generic/states.c:
10079 * check/gst-libs/.cvsignore:
10080 * check/gst-libs/controller.c:
10081 * check/gst-libs/gdp.c:
10082 * check/gst/.cvsignore:
10083 * check/gst/capslist.h:
10085 * check/gst/gstbin.c:
10086 * check/gst/gstbuffer.c:
10087 * check/gst/gstbus.c:
10088 * check/gst/gstcaps.c:
10089 * check/gst/gstelement.c:
10090 * check/gst/gstevent.c:
10091 * check/gst/gstghostpad.c:
10092 * check/gst/gstiterator.c:
10093 * check/gst/gstmessage.c:
10094 * check/gst/gstminiobject.c:
10095 * check/gst/gstobject.c:
10096 * check/gst/gstpad.c:
10097 * check/gst/gstpipeline.c:
10098 * check/gst/gstplugin.c:
10099 * check/gst/gstsegment.c:
10100 * check/gst/gststructure.c:
10101 * check/gst/gstsystemclock.c:
10102 * check/gst/gsttag.c:
10103 * check/gst/gstutils.c:
10104 * check/gst/gstvalue.c:
10105 * check/net/.cvsignore:
10106 * check/net/gstnetclientclock.c:
10107 * check/net/gstnettimeprovider.c:
10108 * check/pipelines/.cvsignore:
10109 * check/pipelines/cleanup.c:
10110 * check/pipelines/simple_launch_lines.c:
10111 * check/pipelines/stress.c:
10112 * check/states/.cvsignore:
10113 * check/states/sinks.c:
10115 * examples/Makefile.am:
10116 * examples/appreader/.cvsignore:
10117 * examples/appreader/Makefile.am:
10118 * examples/appreader/appreader.c:
10119 * examples/controller/.cvsignore:
10120 * examples/controller/Makefile.am:
10121 * examples/controller/audio-example.c:
10122 * examples/cutter/.cvsignore:
10123 * examples/cutter/Makefile.am:
10124 * examples/cutter/cutter.c:
10125 * examples/cutter/cutter.h:
10126 * examples/events/Makefile.am:
10127 * examples/events/seek.c:
10128 * examples/helloworld/.cvsignore:
10129 * examples/helloworld/Makefile.am:
10130 * examples/helloworld/helloworld.c:
10131 * examples/helloworld2/.cvsignore:
10132 * examples/helloworld2/Makefile.am:
10133 * examples/helloworld2/helloworld2.c:
10134 * examples/launch/.cvsignore:
10135 * examples/launch/Makefile.am:
10136 * examples/launch/mp3parselaunch.c:
10137 * examples/launch/mp3play:
10138 * examples/manual/.cvsignore:
10139 * examples/manual/Makefile.am:
10140 * examples/manual/extract.pl:
10141 * examples/metadata/Makefile.am:
10142 * examples/metadata/read-metadata.c:
10143 * examples/mixer/.cvsignore:
10144 * examples/mixer/Makefile.am:
10145 * examples/mixer/mixer.c:
10146 * examples/mixer/mixer.h:
10147 * examples/pingpong/.cvsignore:
10148 * examples/pingpong/Makefile.am:
10149 * examples/pingpong/pingpong.c:
10150 * examples/plugins/.cvsignore:
10151 * examples/plugins/Makefile.am:
10152 * examples/plugins/example.c:
10153 * examples/plugins/example.h:
10154 * examples/pwg/.cvsignore:
10155 * examples/pwg/Makefile.am:
10156 * examples/pwg/extract.pl:
10157 * examples/queue/.cvsignore:
10158 * examples/queue/Makefile.am:
10159 * examples/queue/queue.c:
10160 * examples/queue2/.cvsignore:
10161 * examples/queue2/Makefile.am:
10162 * examples/queue2/queue2.c:
10163 * examples/queue3/.cvsignore:
10164 * examples/queue3/Makefile.am:
10165 * examples/queue3/queue3.c:
10166 * examples/queue4/.cvsignore:
10167 * examples/queue4/Makefile.am:
10168 * examples/queue4/queue4.c:
10169 * examples/retag/.cvsignore:
10170 * examples/retag/Makefile.am:
10171 * examples/retag/retag.c:
10172 * examples/retag/transcode.c:
10173 * examples/thread/.cvsignore:
10174 * examples/thread/Makefile.am:
10175 * examples/thread/thread.c:
10176 * examples/typefind/.cvsignore:
10177 * examples/typefind/Makefile.am:
10178 * examples/typefind/typefind.c:
10179 * examples/xml/.cvsignore:
10180 * examples/xml/Makefile.am:
10181 * examples/xml/createxml.c:
10182 * examples/xml/runxml.c:
10183 * tests/Makefile.am:
10184 * tests/check/Makefile.am:
10185 * testsuite/.cvsignore:
10186 * testsuite/Makefile.am:
10188 * testsuite/caps/.cvsignore:
10189 * testsuite/caps/Makefile.am:
10190 * testsuite/caps/app_fixate.c:
10191 * testsuite/caps/audioscale.c:
10192 * testsuite/caps/caps.c:
10193 * testsuite/caps/caps.h:
10194 * testsuite/caps/caps_strings:
10195 * testsuite/caps/compatibility.c:
10196 * testsuite/caps/deserialize.c:
10197 * testsuite/caps/enumcaps.c:
10198 * testsuite/caps/eratosthenes.c:
10199 * testsuite/caps/filtercaps.c:
10200 * testsuite/caps/fixed.c:
10201 * testsuite/caps/fraction-convert.c:
10202 * testsuite/caps/fraction-multiply-and-zero.c:
10203 * testsuite/caps/intersect2.c:
10204 * testsuite/caps/intersection.c:
10205 * testsuite/caps/normalisation.c:
10206 * testsuite/caps/random.c:
10207 * testsuite/caps/renegotiate.c:
10208 * testsuite/caps/sets.c:
10209 * testsuite/caps/simplify.c:
10210 * testsuite/caps/string-conversions.c:
10211 * testsuite/caps/structure.c:
10212 * testsuite/caps/subtract.c:
10213 * testsuite/caps/union.c:
10214 * testsuite/debug/.cvsignore:
10215 * testsuite/debug/Makefile.am:
10216 * testsuite/debug/category.c:
10217 * testsuite/debug/commandline.c:
10218 * testsuite/debug/global.c:
10219 * testsuite/debug/output.c:
10220 * testsuite/debug/printf_extension.c:
10221 * testsuite/dlopen/.cvsignore:
10222 * testsuite/dlopen/Makefile.am:
10223 * testsuite/dlopen/dlopen_gst.c:
10224 * testsuite/dlopen/loadgst.c:
10225 * testsuite/elements/.cvsignore:
10226 * testsuite/elements/Makefile.am:
10227 * testsuite/elements/gst-inspect-check.in:
10228 * testsuite/elements/struct_i386.h:
10229 * testsuite/elements/struct_size.c:
10230 * testsuite/indexers/.cvsignore:
10231 * testsuite/indexers/Makefile.am:
10232 * testsuite/indexers/cache1.c:
10233 * testsuite/indexers/indexdump.c:
10234 * testsuite/parse/.cvsignore:
10235 * testsuite/parse/Makefile.am:
10236 * testsuite/parse/parse1.c:
10237 * testsuite/parse/parse2.c:
10238 * testsuite/plugin/.cvsignore:
10239 * testsuite/plugin/Makefile.am:
10240 * testsuite/plugin/README:
10241 * testsuite/plugin/dynamic.c:
10242 * testsuite/plugin/linked.c:
10243 * testsuite/plugin/loading.c:
10244 * testsuite/plugin/registry.c:
10245 * testsuite/plugin/static.c:
10246 * testsuite/plugin/static2.c:
10247 * testsuite/plugin/testplugin.c:
10248 * testsuite/plugin/testplugin2.c:
10249 * testsuite/plugin/testplugin2_s.c:
10250 * testsuite/plugin/testplugin_s.c:
10251 * testsuite/refcounting/.cvsignore:
10252 * testsuite/refcounting/Makefile.am:
10253 * testsuite/refcounting/bin.c:
10254 * testsuite/refcounting/element.c:
10255 * testsuite/refcounting/element_pad.c:
10256 * testsuite/refcounting/mainloop.c:
10257 * testsuite/refcounting/mem.c:
10258 * testsuite/refcounting/mem.h:
10259 * testsuite/refcounting/object.c:
10260 * testsuite/refcounting/pad.c:
10261 * testsuite/refcounting/sched.c:
10262 * testsuite/refcounting/thread.c:
10263 * testsuite/states/.cvsignore:
10264 * testsuite/states/Makefile.am:
10265 * testsuite/states/bin.c:
10266 * testsuite/states/locked.c:
10267 * testsuite/states/parent.c:
10268 * testsuite/threads/.cvsignore:
10269 * testsuite/threads/159566.c:
10270 * testsuite/threads/159852.c:
10271 * testsuite/threads/Makefile.am:
10272 * testsuite/threads/queue.c:
10273 * testsuite/threads/signals.c:
10274 * testsuite/threads/staticrec.c:
10275 * testsuite/threads/thread.c:
10276 * testsuite/threads/threadb.c:
10277 * testsuite/threads/threadc.c:
10278 * testsuite/threads/threadd.c:
10279 * testsuite/threads/threade.c:
10280 * testsuite/threads/threadf.c:
10281 * testsuite/threads/threadg.c:
10282 * testsuite/threads/threadh.c:
10283 * testsuite/threads/threadi.c:
10284 move all of these under tests
10286 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10289 * tests/Makefile.am:
10292 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10294 * docs/gst/gstreamer-sections.txt:
10295 * tests/sched/.cvsignore:
10296 * tests/sched/Makefile.am:
10297 * tests/sched/cases/(fs-fs).xml:
10298 * tests/sched/cases/(fs-i-fs).xml:
10299 * tests/sched/cases/(fs-i-i-fs).xml:
10300 * tests/sched/cases/(fs-i-q[i-fs]).xml:
10301 * tests/sched/dynamic-pipeline.c:
10302 * tests/sched/interrupt1.c:
10303 * tests/sched/interrupt2.c:
10304 * tests/sched/interrupt3.c:
10305 * tests/sched/runtestcases:
10306 * tests/sched/runxml.c:
10307 * tests/sched/sched-stress.c:
10308 * tests/sched/sort.c:
10309 * tests/sched/testcases:
10310 * tests/sched/testcases1.tc:
10311 * tests/seeking/.cvsignore:
10312 * tests/seeking/Makefile.am:
10313 * tests/seeking/seeking1.c:
10314 * tests/threadstate/.cvsignore:
10315 * tests/threadstate/Makefile.am:
10316 * tests/threadstate/test1.c:
10317 * tests/threadstate/test2.c:
10318 * tests/threadstate/threadstate1.c:
10319 * tests/threadstate/threadstate2.c:
10320 * tests/threadstate/threadstate3.c:
10321 * tests/threadstate/threadstate4.c:
10322 * tests/threadstate/threadstate5.c:
10323 remove obsolete tests
10325 * tests/bench-complexity.scm:
10326 * tests/bench-mass_elements.scm:
10327 * tests/complexity.c:
10328 * tests/complexity.gnuplot:
10329 * tests/instantiate/.cvsignore:
10330 * tests/instantiate/Makefile.am:
10331 * tests/instantiate/caps.c:
10332 * tests/mass_elements.c:
10333 * tests/network-clock-utils.scm:
10334 * tests/network-clock.scm:
10336 First pass at cleaning up tests/ dir before moving the rest
10337 Combined with CVS surgery
10339 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10342 queue has moved, update
10344 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10346 * docs/gst/gstreamer-sections.txt:
10347 remove double entries from the docs
10348 * gst/gst_private.h:
10349 * gst/gstinfo.c: (_gst_debug_init):
10350 remove the THREAD debug category
10354 * docs/gst/gstreamer.types:
10355 * plugins/elements/gstqueue.c: (gst_queue_get_type),
10356 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10357 completely move queue and fix up debugging categories
10359 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10361 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10362 make initialization portable, using LL is not
10364 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10366 * win32/common/gstconfig.h:
10369 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10371 * win32/common/libgstreamer.def:
10372 rename symbols; sort base section
10374 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10376 * gst/gstclock.c: (do_linear_regression):
10377 remove crack non-portable handrolled DEBUG macro
10379 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10381 * docs/random/release:
10383 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10384 (gst_object_flags_get_type), (register_gst_bin_flags),
10385 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10386 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10387 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10388 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10389 (gst_caps_flags_get_type), (register_gst_clock_return),
10390 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10391 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10392 (gst_clock_flags_get_type), (register_gst_state),
10393 (gst_state_get_type), (register_gst_state_change_return),
10394 (gst_state_change_return_get_type), (register_gst_state_change),
10395 (gst_state_change_get_type), (register_gst_element_flags),
10396 (gst_element_flags_get_type), (register_gst_core_error),
10397 (gst_core_error_get_type), (register_gst_library_error),
10398 (gst_library_error_get_type), (register_gst_resource_error),
10399 (gst_resource_error_get_type), (register_gst_stream_error),
10400 (gst_stream_error_get_type), (register_gst_event_type_flags),
10401 (gst_event_type_flags_get_type), (register_gst_event_type),
10402 (gst_event_type_get_type), (register_gst_seek_type),
10403 (gst_seek_type_get_type), (register_gst_seek_flags),
10404 (gst_seek_flags_get_type), (register_gst_format),
10405 (gst_format_get_type), (register_gst_index_certainty),
10406 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10407 (gst_index_entry_type_get_type),
10408 (register_gst_index_lookup_method),
10409 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10410 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10411 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10412 (gst_index_flags_get_type), (register_gst_debug_level),
10413 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10414 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10415 (gst_iterator_result_get_type), (register_gst_iterator_item),
10416 (gst_iterator_item_get_type), (register_gst_message_type),
10417 (gst_message_type_get_type), (register_gst_mini_object_flags),
10418 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10419 (gst_pad_link_return_get_type), (register_gst_flow_return),
10420 (gst_flow_return_get_type), (register_gst_activate_mode),
10421 (gst_activate_mode_get_type), (register_gst_pad_direction),
10422 (gst_pad_direction_get_type), (register_gst_pad_flags),
10423 (gst_pad_flags_get_type), (register_gst_pad_presence),
10424 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10425 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10426 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10427 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10428 (gst_plugin_flags_get_type), (register_gst_rank),
10429 (gst_rank_get_type), (register_gst_query_type),
10430 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10431 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10432 (gst_tag_flag_get_type), (register_gst_task_state),
10433 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10434 (gst_alloc_trace_flags_get_type),
10435 (register_gst_type_find_probability),
10436 (gst_type_find_probability_get_type), (register_gst_uri_type),
10437 (gst_uri_type_get_type), (register_gst_parse_error),
10438 (gst_parse_error_get_type):
10439 * win32/common/gstenumtypes.h:
10440 * win32/common/gstversion.h:
10441 update visual studio generated files
10443 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10445 * win32/vs6/libgstbase.dsp:
10446 * win32/vs6/libgstelements.dsp:
10447 update project files for new locations
10449 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10454 reinstate and update
10459 * docs/random/LICENSE:
10462 2005-11-30 Edward Hervey <edward@fluendo.com>
10464 * gst/gsttypefind.c: (gst_type_find_register):
10465 * gst/gsttypefind.h:
10466 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10467 (gst_type_find_factory_dispose):
10468 * gst/gsttypefindfactory.h:
10469 Fix memory leak in GstTypeFindFactory.
10471 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10474 * plugins/elements/Makefile.am:
10475 * plugins/elements/gstelements.c:
10476 * plugins/elements/gstqueue.c:
10477 move queue from core to the elements plugin
10479 2005-11-29 Andy Wingo <wingo@pobox.com>
10481 * libs/gst/base/gstbasetransform.h:
10482 * libs/gst/base/gstbasesrc.h:
10483 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10485 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10486 of pointers by which to pad very extensible base classes (like the
10487 ones in libs/gst/base).
10489 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10491 * docs/gst/gstreamer-docs.sgml:
10492 * docs/gst/gstreamer-sections.txt:
10493 * docs/libs/gstreamer-libs-docs.sgml:
10494 * docs/libs/gstreamer-libs-sections.txt:
10495 moving documentation from core to lib
10497 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10499 * check/Makefile.am:
10501 * docs/gst/Makefile.am:
10503 * gst/base/.cvsignore:
10504 * gst/base/Makefile.am:
10506 * gst/base/gstadapter.c:
10507 * gst/base/gstadapter.h:
10508 * gst/base/gstbasesink.c:
10509 * gst/base/gstbasesink.h:
10510 * gst/base/gstbasesrc.c:
10511 * gst/base/gstbasesrc.h:
10512 * gst/base/gstbasetransform.c:
10513 * gst/base/gstbasetransform.h:
10514 * gst/base/gstcollectpads.c:
10515 * gst/base/gstcollectpads.h:
10516 * gst/base/gstpushsrc.c:
10517 * gst/base/gstpushsrc.h:
10518 * gst/base/gsttypefindhelper.c:
10519 * gst/base/gsttypefindhelper.h:
10520 * gst/check/Makefile.am:
10521 * gst/check/gstcheck.c:
10522 * gst/check/gstcheck.h:
10523 * gst/net/Makefile.am:
10524 * gst/net/gstnet.h:
10525 * gst/net/gstnetclientclock.c:
10526 * gst/net/gstnetclientclock.h:
10527 * gst/net/gstnettimepacket.c:
10528 * gst/net/gstnettimepacket.h:
10529 * gst/net/gstnettimeprovider.c:
10530 * gst/net/gstnettimeprovider.h:
10531 * libs/gst/Makefile.am:
10532 * libs/gst/base/Makefile.am:
10533 * libs/gst/base/gstbasetransform.c:
10534 * libs/gst/check/Makefile.am:
10535 * plugins/elements/Makefile.am:
10537 CVS surgery + support to move base, check, and net out of gst
10540 2005-11-29 Andy Wingo <wingo@pobox.com>
10542 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10544 * gst/gststructure.h (struct _GstStructure): Only one pointer of
10547 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10549 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10551 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10553 * gst/gstobject.h: (struct _GstObject): Only one pointer of
10554 padding; reduces object size by about 30%. We don't expect
10555 anything else to go into gstobject.
10557 * gst/gstminiobject.h (struct _GstMiniObject)
10558 (struct _GstMiniObjectClass): Only one pointer of padding; the
10559 payload is only a pointer and two ints anyway. For the class there
10560 are only two methods as well.
10562 * gst/gstelement.h (struct _GstElementClass): Removed
10563 the state_changed signal callback, it is not used.
10565 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10567 * docs/gst/gstreamer.types:
10568 fix includes, though they are a little dinky
10570 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10572 * check/Makefile.am:
10573 look in the right place for elements, a lot more chance of
10576 remove indexers and elements subdirs
10577 * plugins/Makefile.am:
10578 make indexers conditional
10580 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10584 * plugins/elements/Makefile.am:
10585 * plugins/elements/gstcapsfilter.c:
10586 * plugins/elements/gstfilesink.c:
10587 * plugins/elements/gstfilesrc.c:
10588 * plugins/elements/gstidentity.c:
10589 * plugins/indexers/Makefile.am:
10590 do CVS surgery and related build fixery to move elements
10591 and indexers in a new gstreamer/plugins directory, out of the
10594 2005-11-29 Andy Wingo <wingo@pobox.com>
10596 * check/Makefile.am:
10597 * pkgconfig/gstreamer-net-uninstalled.pc.in:
10598 * pkgconfig/gstreamer-net.pc.in:
10599 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10602 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10604 * tools/Makefile.am:
10605 * tools/gst-complete.1.in:
10606 * tools/gst-complete.c:
10607 * tools/gst-compprep.1.in:
10608 * tools/gst-compprep.c:
10609 removing -compprep and -complete
10611 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10613 * gst/gstevent.c: (gst_event_new_new_segment),
10614 (gst_event_parse_new_segment):
10616 fix #320529 - clean up new_segment API and structure.
10617 Let's hope everyone was using the methods, and not the structure.
10619 2005-11-29 Edward Hervey <edward@fluendo.com>
10621 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10622 (gst_base_sink_event), (gst_base_sink_do_sync),
10623 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10624 Properly handle non GST_FORMAT_TIME segment
10625 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10626 Properly handle non GST_FORMAT_TIME segment
10627 * gst/gstsegment.c:
10628 This function is valid if the accumulator is 0 and the format
10629 is different from the requested format.
10631 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10633 * docs/gst/gstreamer-sections.txt:
10634 Add gst_query_new_seeking and gst_query_parse_seeking to the
10637 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10639 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10640 Treat a pad alloc with new caps the same as if we were not
10641 negotiated, in order to allow a changing upstream output
10642 to produce a new format of data.
10644 2005-11-29 Edward Hervey <edward@fluendo.com>
10646 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10647 (gst_base_transform_event), (gst_base_transform_eventfunc):
10648 The event virtual method is now properly implemented, with a default
10650 Sub classes should call the parent_class event method. They should
10651 return FALSE if they had a problem handling the given event, or don't
10652 want GstBaseTransform to send that even downstream
10653 * gst/elements/gstidentity.c: (gst_identity_class_init),
10654 (gst_identity_init), (gst_identity_event),
10655 (gst_identity_transform_ip), (gst_identity_set_property),
10656 (gst_identity_get_property):
10657 * gst/elements/gstidentity.h:
10658 Added the single-segment boolean property.
10659 If set to TRUE, it will output a single segment of data, starting from
10660 0, will eat up all incoming newsegment, and modify the timestamp of the
10661 buffers accordingly
10663 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
10665 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10666 Don't ref NULL target pad (#322751). Improve docs.
10668 2005-11-29 Michael Smith <msmith@fluendo.com>
10670 * gst/gstregistryxml.c: (load_plugin):
10671 Don't crash if we failed to load a feature from a plugin.
10673 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10675 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10677 use more check API and less GLib API
10679 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10682 don't run checks if we don't have check
10683 * common/check.mak:
10684 remove the registry when running make torture
10685 * docs/gst/gstreamer-sections.txt:
10686 remove second multiply
10687 * gst/gstqueue.c: (gst_queue_loop):
10688 fix a compile warning when disabling debug
10690 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10693 Hey! Let's print the pad name if the pointer != NULL instead
10694 of when it == NULL :-)
10696 2005-11-28 Wim Taymans <wim@fluendo.com>
10698 * check/gst/gstutils.c: (GST_START_TEST):
10699 Updated check, add some scaling accuracy checking code.
10701 * gst/gstutils.c: (gst_util_div128_64),
10702 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10703 (gst_util_uint64_scale_int):
10704 Fix 6 times faster division code. Optimize for common
10705 1/1 and less common X/1 cases.
10707 2005-11-28 Wim Taymans <wim@fluendo.com>
10709 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10712 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10713 (do_linear_regression), (gst_clock_add_observation):
10715 Release lock when the clock cannot be slaved.
10716 Catch the case where the regression returned an invalid denominator.
10718 * gst/gstutils.c: (gst_util_div128_64_iterate),
10719 (gst_util_div128_64), (gst_util_uint64_scale_int64),
10720 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10721 Add protentially more performant non-iterative 128/64 divide function
10722 that unfortunatly does not work yet.
10723 Shortcut the trivial 0/X = 0 case.
10724 Remove the warnings on overflow.
10726 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10728 * gst/gstplugin.c: (gst_plugin_register_func):
10729 everything causing a plugin not to load should be at least a WARNING
10731 2005-11-28 Stefan Kost <ensonic@users.sf.net>
10733 * docs/random/ensonic/dparams.txt:
10734 some TODOs for the next dev cycle
10735 * libs/gst/controller/gstcontroller.c:
10736 (gst_controlled_property_set_interpolation_mode),
10737 (gst_controlled_property_new):
10738 * libs/gst/controller/gstcontroller.h:
10739 use base type to assign acccessor functions
10741 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10743 * check/Makefile.am:
10744 Oops, that should have been top_srcdir
10746 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10748 * check/Makefile.am:
10749 * check/elements/fdsrc.c: (GST_START_TEST):
10750 Use a cmdline define to specify the location of a file to use for
10751 testing, to avoid breaking distcheck.
10753 2005-11-28 Andy Wingo <wingo@pobox.com>
10755 * gst/gstpad.c (fixate_value): Use array functions for arrays.
10757 2005-11-28 Edward Hervey <edward@fluendo.com>
10759 * tools/gst-launch.c: (main):
10760 Clarify the output strings, makes it easier to translate.
10763 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10766 don't try and build net if we don't even have <sys/socket.h>
10768 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
10770 * check/Makefile.am:
10771 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10772 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10773 Add tests for fdsrc seekability
10775 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10776 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10777 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10778 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10779 * gst/elements/gstfdsrc.h:
10780 fdsrc should not be a 'live' source.
10781 Implement seeking on seekable fd's.
10783 * gst/gstquery.c: (gst_query_new_seeking),
10784 (gst_query_parse_seeking):
10786 Implement SEEKING query functions:
10787 *_new_seeking and *_parse_seeking
10789 2005-11-27 Stefan Kost <ensonic@users.sf.net>
10791 * gst/gstelement.c: (gst_element_dispose):
10794 * gst/gstiterator.c:
10795 * gst/gststructure.c:
10798 * libs/gst/controller/gstcontroller.c:
10799 (gst_controlled_property_set_interpolation_mode):
10800 * libs/gst/controller/gstcontroller.h:
10801 * libs/gst/controller/gstinterpolation.c:
10802 (interpolate_none_get_enum_value_array):
10803 support controlling enums
10805 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10808 Improve documentation for gst_value_union().
10811 Change return value for union, intersect and subtract functions
10812 from gint to gboolean.
10814 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10816 * gst/gstvalue.c: (gst_value_serialize_any_list),
10817 (gst_value_transform_any_list_string),
10818 (gst_value_deserialize_list), (gst_value_deserialize_array),
10819 (gst_value_set_int_range), (gst_value_deserialize_int_range),
10820 (gst_value_set_double_range), (gst_value_deserialize_double_range),
10821 (gst_value_set_fraction_range_full),
10822 (gst_value_deserialize_fraction_range),
10823 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10824 (gst_value_deserialize_boolean),
10825 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10826 (gst_value_serialize_float), (gst_value_deserialize_float),
10827 (gst_string_wrap), (gst_value_deserialize_string),
10828 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10829 (gst_value_union_int_range_int_range),
10830 (gst_value_intersect_int_range_int_range),
10831 (gst_value_intersect_double_range_double_range),
10832 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10833 (gst_value_subtract_int_range_int_range),
10834 (gst_value_subtract_double_double_range),
10835 (gst_value_subtract_double_range_double_range),
10836 (gst_value_deserialize_fraction):
10838 Use gint, gdouble and gchar in our API instead of int, double and
10839 char (and make usage in gstvalue.c more consistent).
10841 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10843 * check/Makefile.am:
10844 * libs/gst/controller/Makefile.am:
10845 * libs/gst/dataprotocol/Makefile.am:
10846 fix up Makefile.am and remove GST_ENABLE_NEW
10848 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10852 * gst/base/Makefile.am:
10853 * gst/check/Makefile.am:
10854 * gst/elements/Makefile.am:
10855 * gst/net/Makefile.am:
10856 update LDFLAGS use some more
10858 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10860 * common/m4/gst-doc.m4:
10863 2005-11-26 Edward Hervey <edward@fluendo.com>
10865 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10866 This shouldn't issue a g_warning since it returns NULL if it
10867 couldn't find the plugin, and all functions using this behave
10868 properly on a NULL return. Switching to a GST_WARNING.
10870 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
10872 * gst/gstbin.c: (gst_bin_handle_message_func):
10873 Don't leak clock messages.
10875 2005-11-25 Wim Taymans <wim@fluendo.com>
10877 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10878 (gst_util_uint64_scale_int):
10879 Optimisations, remove unneeded vars.
10881 2005-11-25 Wim Taymans <wim@fluendo.com>
10883 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10884 Added more checks for the high precision uint64 cases.
10886 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10887 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10888 Implement high precision (guint64 * guint64) / guint64.
10890 2005-11-24 Wim Taymans <wim@fluendo.com>
10892 * gst/base/gstbasesrc.c: (gst_base_src_query):
10893 Fix wrong percentage query.
10895 * gst/gstutils.c: (gst_util_uint64_scale),
10896 (gst_util_uint64_scale_int):
10897 Add some more common cases that can be handled
10898 efficiently to _scale.
10900 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10902 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
10903 (gst_mini_object_suite):
10904 don't use check calls from threads; check probably isn't
10905 threadsafe and using a lock to make it threadsafe would
10906 defeat the purpose of this check
10907 * gst/check/gstcheck.c:
10908 * gst/check/gstcheck.h:
10909 use GST_DEBUG some more
10911 2005-11-24 Wim Taymans <wim@fluendo.com>
10913 * gst/gstutils.c: (gst_util_uint64_scale),
10914 (gst_util_uint64_scale_int):
10915 Chain trivial case to _scale_int.
10917 2005-11-24 Wim Taymans <wim@fluendo.com>
10919 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10920 Added test for scaling.
10925 * gst/gstutils.c: (gst_util_uint64_scale_int):
10926 Implemented high precision scaling code.
10928 2005-11-24 Stefan Kost <ensonic@users.sf.net>
10931 do not crash on pad==NULL
10933 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10935 Patch by: Stefan Kost
10937 * common/gtk-doc.mak:
10938 * docs/gst/Makefile.am:
10939 * docs/libs/Makefile.am:
10940 Fix distcheck issues for the libraries docs build
10943 2005-11-24 Michael Smith <msmith@fluendo.com>
10945 * docs/manual/basics-helloworld.xml:
10946 Fix bug #315027: memory leak in example code in docs.
10948 2005-11-24 Michael Smith <msmith@fluendo.com>
10950 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10951 Unlock the PREROLL_LOCK in a failure case.
10953 2005-11-24 Wim Taymans <wim@fluendo.com>
10955 * docs/gst/gstreamer-sections.txt:
10956 * gst/base/gstadapter.h:
10957 * gst/base/gstbasesink.h:
10958 * gst/base/gstbasesrc.h:
10959 * gst/base/gstbasetransform.h:
10960 * gst/base/gstpushsrc.h:
10961 * gst/elements/gstfakesink.h:
10962 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
10963 * gst/elements/gstfakesrc.h:
10964 * gst/elements/gstfilesink.h:
10965 * gst/elements/gstfilesrc.h:
10968 * gst/gstbuffer.c: (_gst_buffer_copy):
10971 * gst/gstchildproxy.c:
10973 * gst/gstelement.c:
10974 * gst/gstelementfactory.c:
10975 * gst/gstelementfactory.h:
10977 * gst/gstghostpad.h:
10979 * gst/gstinterface.h:
10980 * gst/gstminiobject.c:
10981 * gst/gstminiobject.h:
10984 * gst/gstpadtemplate.h:
10985 * gst/gstpipeline.h:
10986 * gst/gstpluginfeature.h:
10989 * gst/gsttaglist.c:
10990 * gst/gsttaglist.h:
10991 * gst/gsttagsetter.c:
10992 * gst/gsttagsetter.h:
10995 * gst/gsttypefind.h:
10998 * gst/net/gstnetclientclock.c:
10999 * gst/net/gstnetclientclock.h:
11000 * gst/net/gstnettimepacket.c:
11001 * gst/net/gstnettimeprovider.c:
11002 * gst/net/gstnettimeprovider.h:
11005 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11007 * configure.ac: back to HEAD
11009 === release 0.9.6 ===
11011 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11014 releasing 0.9.6, "Always On Time"
11016 2005-11-23 Wim Taymans <wim@fluendo.com>
11018 * docs/gst/gstreamer-sections.txt:
11019 * gst/glib-compat.c:
11020 * gst/gsttagsetter.c:
11022 * gst/net/gstnetclientclock.c:
11023 * gst/net/gstnettimepacket.h:
11026 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11028 * docs/faq/using.xml:
11029 * docs/libs/tmpl/gstcontrol.sgml:
11030 * docs/manual/advanced-dparams.xml:
11031 * docs/manual/appendix-checklist.xml:
11032 * docs/manual/basics-elements.xml:
11033 * docs/pwg/other-source.xml:
11034 * docs/random/moving-plugins:
11036 * tools/gst-launch.1.in:
11037 remove mentions of sinesrc
11039 2005-11-23 Michael Smith <msmith@fluendo.com>
11041 * docs/gst/gstreamer-sections.txt:
11042 Update for new API and API changes.
11044 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11046 Documentation typo fix.
11047 * gst/net/gstnettimepacket.c:
11048 Documentation fixes for arguments.
11050 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
11052 * gst/gststructure.c: (gst_structure_get_fraction),
11053 (gst_structure_parse_value),
11054 (gst_structure_fixate_field_nearest_fraction):
11055 * gst/gststructure.h:
11056 * gst/gstutils.c: (gst_util_uint64_scale_int):
11058 * scripts/update-funcnames:
11060 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11061 Make gst_structure_fixate_field_nearest_fraction take a numerator
11062 and denominator argument instead of a GValue
11063 add gst_structure_get_fraction helper function.
11065 2005-11-23 Wim Taymans <wim@fluendo.com>
11067 * docs/design/part-TODO.txt:
11070 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11071 * gst/net/gstnetclientclock.h:
11072 Use parent fields for timeout and window_size.
11074 2005-11-23 Andy Wingo <wingo@pobox.com>
11076 * check/net/gstnetclientclock.c (test_functioning): Adjust to
11077 rate_num/rate_denom change.
11079 * gst/net/gstnetclientclock.c
11080 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11081 OBJECT_LOCK. Don't call add_observation with the lock.
11083 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11085 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11087 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11088 deal with rate as a fraction whose numerator and denominator are
11089 GstClockTime values.
11090 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11091 master; the other fields are protected by the SLAVE_LOCK.
11092 (do_linear_regression): Note that this must be called with the
11094 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11095 OBJECT_LOCK. Call set_calibration instead of touching the
11096 variables directly.
11097 (gst_clock_set_property, gst_clock_get_property): Protect
11098 master/slave parameters with the SLAVE_LOCK.
11100 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11101 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11102 note that all of the instance variables that add_observation and
11103 the set_master functions use are protected by that lock and not
11105 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11107 * gst/gstclock.c (gst_clock_add_observation): No longer requires
11108 the caller to take the object lock.
11110 2005-11-23 Wim Taymans <wim@fluendo.com>
11112 * gst/gsterror.c: (_gst_core_errors_init):
11114 Add error for clock stuff.
11116 * gst/gstpipeline.c: (gst_pipeline_change_state),
11117 (gst_pipeline_set_clock):
11118 Post clock error when clock cannot be used in a pipeline.
11120 2005-11-23 Stefan Kost <ensonic@users.sf.net>
11122 * docs/gst/gstreamer-sections.txt:
11123 make two symbols from gstinfo private for the docs
11124 * gst/base/gstcollectpads.h:
11126 fix doc typos, update docs
11128 2005-11-22 Wim Taymans <wim@fluendo.com>
11130 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11131 (gst_base_sink_wait), (gst_base_sink_do_sync),
11132 (gst_base_sink_handle_event):
11133 * gst/base/gstbasesink.h:
11134 No need to store the clock, the parent element class already
11137 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11138 Updates for clock_set returning a gboolean
11140 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11141 (gst_clock_id_wait_async), (gst_clock_class_init),
11142 (gst_clock_init), (gst_clock_finalize),
11143 (gst_clock_get_internal_time), (gst_clock_get_time),
11144 (gst_clock_slave_callback), (gst_clock_set_master),
11145 (gst_clock_get_master), (do_linear_regression),
11146 (gst_clock_add_observation), (gst_clock_set_property),
11147 (gst_clock_get_property):
11149 Implement master/slave. When setting a clock as a slave, a
11150 periodic timeout is scheduled to sample master and slave times.
11151 Then the slave clock is recalibrated to match offset and rate
11152 of the master clock.
11153 Update logging a bit.
11154 Add flag so that a clock can state that is cannot be slaved to
11157 * gst/gstelement.c: (gst_element_set_clock):
11158 * gst/gstelement.h:
11159 The set clock returns a gboolean for when an element cannot
11160 deal with the selected clock in the pipeline.
11162 * gst/gstpipeline.c: (gst_pipeline_change_state),
11163 (gst_pipeline_set_clock):
11164 * gst/gstpipeline.h:
11165 Handle the case where the selected clock cannot be set on
11168 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11169 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11170 (gst_net_client_clock_set_property),
11171 (gst_net_client_clock_get_property),
11172 (gst_net_client_clock_observe_times):
11173 * gst/net/gstnetclientclock.h:
11174 Use regression code in GstClock parent, remove duplicated
11177 2005-11-22 Michael Smith <msmith@fluendo.com>
11179 * gst/gstutils.c: (gst_util_clock_time_scale):
11181 * docs/gst/gstreamer-sections.txt:
11182 Rename method to have extra underscore.
11184 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
11186 * gst/elements/Makefile.am:
11187 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11188 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11189 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11190 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11191 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11192 * gst/elements/gstfakesrc.h:
11193 * gst/gstqueue.c: (queue_leaky_get_type):
11194 correctly fix GEnumValues so that nick is the short lowercase
11196 * tools/gst-inspect.c: (print_element_properties_info):
11197 also show the nick, since it's useful to use from parse_launch
11201 2005-11-22 Michael Smith <msmith@fluendo.com>
11203 * gst/gstutils.c: (gst_util_clocktime_scale):
11205 * docs/gst/gstreamer-sections.txt:
11206 Add util method for scaling a clocktime by a fraction. Useful
11207 implementation is left as an exercise for the reader.
11209 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11211 * gst/gstvalue.c: (gst_value_collect_fraction_range):
11212 If needed, allocate storage in the destination value during
11215 2005-11-22 Edward Hervey <edward@fluendo.com>
11217 * docs/gst/gstreamer-sections.txt:
11220 * gst/gsturitype.c:
11221 * gst/gsturitype.h:
11222 * gst/gstutils.c: (gst_util_set_object_arg):
11223 * tools/gst-compprep.c: (main):
11224 * tools/gst-inspect.c: (print_element_properties_info):
11225 Removed GstURI, closes bug #321061
11227 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11229 * check/gst/gststructure.c: (GST_START_TEST):
11230 * gst/gststructure.c: (gst_structure_parse_value):
11231 Oops, broke automatic string type parsing.
11232 Add a test to catch it in future.
11234 2005-11-22 Andy Wingo <wingo@pobox.com>
11236 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
11237 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11238 Actually rename the function implementations. Grr.
11240 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11242 * check/gst/capslist.h:
11244 * check/gst/gststructure.c: (GST_START_TEST),
11245 (gst_structure_suite):
11246 Test automatic value type detection in gst_structure_from_string.
11247 * gst/gststructure.c: (gst_structure_parse_value):
11248 Add fraction as a type we try and guess automatically in
11249 caps/structure strings.
11251 2005-11-22 Andy Wingo <wingo@pobox.com>
11253 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11255 * gst/gsttagsetter.h:
11256 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11257 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11258 (gst_tag_setter_add_tag_valist)
11259 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11260 _add_values, _add_valist, and _add_valist_values. Since this is an
11261 interface the function suffixes should be more explicit so
11262 language binding don't end up with element.add_valist ->
11263 gst_tag_setter_add_valist, for example. Fixes #322069.
11265 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11267 * check/gst/gstcaps.c: (GST_START_TEST):
11268 Extend caps string tests to check that a caps to string
11269 conversion is reversible and produces the same caps.
11271 * gst/gststructure.c: (gst_structure_value_get_generic_type):
11272 Output "fraction" as the generic type fraction range, so caps
11273 serialisation and deserialisation works.
11274 * check/gst/capslist.h:
11275 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11276 Support 'MIN' and 'MAX' for deserialising fractions.
11278 2005-11-22 Andy Wingo <wingo@pobox.com>
11280 * gst/gstevent.h (gst_event_new_new_segment)
11281 (gst_event_parse_new_segment, gst_event_new_buffer_size)
11282 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11283 Renamed from *_newsegment, *_buffersize, *_notarget.
11285 * scripts/update-funcnames: New script, performs the changes
11288 2005-11-22 Wim Taymans <wim@fluendo.com>
11290 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11291 Make sure the GstFlowReturn is returned.
11293 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11294 (gst_bus_add_signal_watch):
11296 add gst_bus_add_signal_watch_full.
11298 * gst/gstplugin.c: (gst_plugin_load_file):
11299 Small style cleanup.
11301 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11303 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11304 Block the fakesrc srcpad when we send an event, to avoid
11305 contention on the stream_lock causing random test failures.
11307 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11309 * check/gst/gstvalue.c: (GST_START_TEST):
11310 * gst/gstvalue.c: (gst_value_fraction_subtract):
11313 2005-11-22 Stefan Kost <ensonic@users.sf.net>
11316 include "gstchildproxy.h"
11317 * gst/gstchildproxy.h:
11318 * libs/gst/controller/gstcontroller.h:
11319 use G_GNUC_NULL_TERMINATED
11321 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11323 * check/gst/capslist.h:
11324 * check/gst/gstcaps.c: (GST_START_TEST):
11325 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11326 * gst/gststructure.c: (gst_structure_parse_range),
11327 (gst_structure_fixate_field_nearest_fraction):
11328 * gst/gststructure.h:
11329 * gst/gstvalue.c: (gst_value_init_fraction_range),
11330 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11331 (gst_value_collect_fraction_range),
11332 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11333 (gst_value_set_fraction_range_full),
11334 (gst_value_get_fraction_range_min),
11335 (gst_value_get_fraction_range_max),
11336 (gst_value_serialize_fraction_range),
11337 (gst_value_transform_fraction_range_string),
11338 (gst_value_compare_fraction_range),
11339 (gst_value_deserialize_fraction_range),
11340 (gst_value_intersect_fraction_fraction_range),
11341 (gst_value_intersect_fraction_range_fraction_range),
11342 (gst_value_subtract_fraction_fraction_range),
11343 (gst_value_subtract_fraction_range_fraction),
11344 (gst_value_subtract_fraction_range_fraction_range),
11345 (gst_value_collect_fraction), (gst_value_fraction_multiply),
11346 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11347 (gst_value_transform_string_fraction), (_gst_value_initialize):
11349 Implement fraction ranges and extend GstFraction to support
11350 arithmetic subtraction, as well as deserialization from integer
11351 strings such as "100"
11352 Add a testsuite as for int and double range set operations
11354 2005-11-21 Andy Wingo <wingo@pobox.com>
11356 * gst/gsttaglist.h:
11358 * gst/gststructure.h: Add glib-compat.h.
11360 2005-11-21 Wim Taymans <wim@fluendo.com>
11362 * gst/gstbin.c: (gst_bin_change_state_func):
11365 2005-11-21 Wim Taymans <wim@fluendo.com>
11367 * gst/gstsegment.h:
11368 And add a nice define too.
11370 2005-11-21 Wim Taymans <wim@fluendo.com>
11372 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11373 (gst_segment_new), (gst_segment_free), (gst_segment_init),
11374 (gst_segment_set_duration), (gst_segment_set_last_stop),
11375 (gst_segment_set_seek), (gst_segment_set_newsegment),
11376 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11377 (gst_segment_clip):
11378 * gst/gstsegment.h:
11379 Make binding friendly.
11381 2005-11-21 Andy Wingo <wingo@pobox.com>
11383 * gst/gsttagsetter.h:
11384 * gst/gsttaglist.h:
11385 * gst/gststructure.h:
11387 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11390 * gst/gsterror.c (_gst_core_errors_init):
11391 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11394 * gst/Makefile.am (gst_headers): Add glib-compat.h.
11395 (noinst_HEADERS): noinst the -private.
11397 2005-11-21 Michael Smith <msmith@fluendo.com>
11400 * gst/gstregistry.h:
11401 Remove unimplemented declarations for which we can see no sensible
11404 2005-11-21 Andy Wingo <wingo@pobox.com>
11406 * gst/gst.h: Include glib-compat.h.
11408 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11410 * gst/glib-compat.c: Include the public and the private header.
11412 * gst/glib-compat-private.h: Copied here from glib-compat.h.
11416 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11418 * check/gst/gstevent.c (create_custom_events): Check that
11419 FLUSH_STOP is serialized.
11421 * check/elements/identity.c (event_func):
11422 * check/elements/fakesrc.c (event_func): No stream lock, the core
11425 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11426 stream lock taking, yay.
11428 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11429 ensure that core takes the stream lock.
11431 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11434 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11435 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11436 it already. For the flush start we do take it though so we get the
11437 right preroll state change messages.
11439 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11440 the stream lock here, the core does it for us.
11442 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11443 GST_STREAM_GET_LOCK.
11444 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
11445 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
11446 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11447 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11448 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
11449 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11451 * gst/gstpad.c: Update for stream lock name change.
11453 * gst/base/gstbasesink.c: Update for preroll lock name change.
11455 2005-11-21 Wim Taymans <wim@fluendo.com>
11457 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11458 (gst_clock_get_master):
11460 * gst/gstsystemclock.c: (gst_system_clock_init):
11461 Convert Clock flags to object flags.
11462 Added methods to manage master/slave clocks.
11464 2005-11-21 Wim Taymans <wim@fluendo.com>
11466 * check/gst/gstsegment.c: (GST_START_TEST):
11467 * docs/design/part-TODO.txt:
11468 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11469 (gst_base_sink_event), (gst_base_sink_do_sync),
11470 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11471 (gst_base_sink_query), (gst_base_sink_change_state):
11472 * gst/base/gstbasesink.h:
11473 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11474 (gst_base_src_default_newsegment),
11475 (gst_base_src_configure_segment), (gst_base_src_do_seek),
11476 (gst_base_src_get_range), (gst_base_src_loop),
11477 (gst_base_src_change_state):
11478 * gst/base/gstbasesrc.h:
11479 * gst/base/gstbasetransform.c:
11480 (gst_base_transform_prepare_output_buf),
11481 (gst_base_transform_event), (gst_base_transform_change_state):
11482 * gst/base/gstbasetransform.h:
11483 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11484 (gst_collect_pads_event):
11485 * gst/base/gstcollectpads.h:
11486 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11487 (gst_fake_src_create):
11488 * gst/elements/gstfakesrc.h:
11489 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11490 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11491 (gst_segment_set_last_stop), (gst_segment_set_seek),
11492 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11493 (gst_segment_to_running_time), (gst_segment_clip):
11494 * gst/gstsegment.h:
11495 More segment updates, replace code in plugins with segment
11498 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11500 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11501 Don't ignore sscanf results
11503 2005-11-21 Andy Wingo <wingo@pobox.com>
11505 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11508 * *.c: Ran scripts/update-macros. Oh yes.
11510 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11511 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11514 * scripts/update-macros: New script. Run it on your files to
11515 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11518 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11520 * docs/gst/Makefile.am:
11521 * docs/gst/gstreamer-docs.sgml:
11522 * docs/gst/gstreamer-sections.txt:
11523 * docs/gst/gstreamer.types:
11525 more docs fixes, add new api to the docs
11527 2005-11-21 Andy Wingo <wingo@pobox.com>
11529 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11530 state_broadcast call.
11532 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11534 2005-11-21 Julien MOUTTE <julien@moutte.net>
11536 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11537 function calls for arrays.
11539 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11541 * docs/random/ensonic/media-device-daemon.txt:
11542 wild idea, can this be done?
11543 * docs/gst/gstreamer-sections.txt:
11548 * gst/gstpluginfeature.c:
11552 doc fixes and additions
11554 2005-11-21 Andy Wingo <wingo@pobox.com>
11556 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
11557 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
11558 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
11559 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11560 private to the basesrc implementation.
11562 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11563 behalf of event function if necessary. It should no longer be
11564 necessary to take the stream lock in pad's event functions. Fixes
11567 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11568 * docs/gst/gstreamer-sections.txt:
11569 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11570 (gst_structure_fixate_field_nearest_double),
11571 (gst_structure_fixate_field_boolean):
11572 * gst/gststructure.h:
11573 * win32/common/libgstreamer.def:
11574 * win32/gstreamer.def:
11576 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11579 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11581 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11582 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11583 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11584 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11585 (gst_fdsrc_uri_handler_init):
11586 * gst/elements/gstfdsrc.h:
11587 Port fd:// URI handler from 0.8 to fdsrc
11589 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11591 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11592 (gst_value_serialize_fourcc):
11594 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11595 consistent with our other format defines (#320324).
11597 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11599 * gst/gstvalue.c: (gst_value_is_fixed):
11600 Revert previous commit. Value lists are by definition
11601 not fixed, as they are a list of possible values.
11603 2005-11-21 Andy Wingo <wingo@pobox.com>
11605 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11606 during the stable series if we need it. Fixes #319178.
11608 * gst/gstevent.c (gst_event_new_filler): Removed.
11610 * check/gst/gstevent.c: Update comment about filler events.
11612 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11614 * gst/gstvalue.c: (gst_value_is_fixed):
11615 Should handle both value arrays and value lists.
11617 2005-11-21 Andy Wingo <wingo@pobox.com>
11619 patch by: Alessandro Dessina <alessandro nnva org>
11621 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11622 functions to access arrays. Fixes #321962.
11624 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11626 * docs/gst/gstreamer.types:
11627 gst_collectpads_get_type => gst_collect_pads_get_type.
11629 * gst/base/gstbasetransform.c:
11630 Remove unused SIGNAL_HANDOFF enum.
11632 2005-11-21 Andy Wingo <wingo@pobox.com>
11634 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11635 the event type (upstream, downstream, serialized). Renamed
11636 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11637 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11638 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11640 * gst/gstevent.c: Update for new CUSTOM event names.
11642 * check/gst/gstevent.c: Update check for new CUSTOM event names.
11645 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11648 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11650 * docs/gst/gstreamer-sections.txt:
11651 * win32/common/libgstbase.def:
11652 * win32/libgstbase.def:
11653 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11654 (gst_collect_pads_class_init), (gst_collect_pads_init),
11655 (gst_collect_pads_finalize), (gst_collect_pads_new),
11656 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11657 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11658 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11659 (gst_collect_pads_start), (gst_collect_pads_stop),
11660 (gst_collect_pads_peek), (gst_collect_pads_pop),
11661 (gst_collect_pads_available), (gst_collect_pads_read),
11662 (gst_collect_pads_flush), (gst_collect_pads_event),
11663 (gst_collect_pads_chain):
11664 * gst/base/gstcollectpads.h:
11665 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11666 unimplemented functions as unimplemented. Add padding to
11667 GstCollectData. (#320766, #320423)
11669 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11671 * gst/gstmessage.c:
11672 Improve docs for DURATION message (usage of duration parameter)
11675 2005-11-20 Wim Taymans <wim@fluendo.com>
11677 * check/Makefile.am:
11678 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11682 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11683 (gst_segment_set_seek), (gst_segment_set_newsegment),
11684 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11685 (gst_segment_clip):
11686 * gst/gstsegment.h:
11687 Added segment helper structure and methods. Not fully implemented
11689 Added segment check.
11691 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
11693 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11694 Add a deserialisation test for fractions
11695 * examples/metadata/read-metadata.c: (message_loop),
11696 (make_pipeline), (main):
11697 Fix up metadata reading sample.
11698 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11700 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11701 Don't try and fixate empty caps
11702 * gst/gst_private.h:
11703 Wrap in G_BEGIN_DECLS/G_END_DECLS
11704 * gst/gstvalue.c: (gst_value_collect_fraction),
11705 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11706 (gst_value_transform_string_fraction),
11707 (gst_value_compare_fraction):
11708 Add some extra guards to ensure that we don't end up
11709 with an invalid denominator of 0 in a gstfraction and
11710 that fractions always get reduced.
11712 2005-11-20 Wim Taymans <wim@fluendo.com>
11714 * docs/gst/gstreamer-sections.txt:
11716 * gst/gstelement.c:
11725 2005-11-20 Wim Taymans <wim@fluendo.com>
11727 * docs/design/part-TODO.txt:
11729 Make a proper enum of the flag.
11731 2005-11-19 Wim Taymans <wim@fluendo.com>
11733 * docs/design/part-TODO.txt:
11734 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11735 (gst_format_to_quark), (gst_format_register):
11737 * gst/gstquery.c: (_gst_query_initialize),
11738 (gst_query_type_get_name), (gst_query_type_to_quark),
11739 (gst_query_type_register):
11741 Add type to quark and type to string conversions.
11743 2005-11-19 Andy Wingo <wingo@pobox.com>
11745 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11748 2005-11-19 Wim Taymans <wim@fluendo.com>
11750 * docs/design/part-TODO.txt:
11751 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11752 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11753 (gst_bin_handle_message_func):
11755 Make message handling overridable.
11757 2005-11-19 Andy Wingo <wingo@pobox.com>
11759 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11762 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11764 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11765 is a GstClockTime. Fixes #321710.
11767 * gst/gstclock.h (GstClock): Remove offset property. Add
11768 internal_calibration and external_calibration. Fix padding. Pad
11769 also by GstClockTime so we don't run into problems.
11771 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11772 (gst_clock_get_rate_offset): Remove.
11773 (gst_clock_set_time_adjust): Remove. Fixes #321712.
11776 * gst/gstutils.c (g_static_rec_cond_wait)
11777 (g_static_rec_cond_timed_wait): Removed, no longer needed.
11779 * gst/gstbin.c: Remove terrible continue_state prototype.
11781 * gst/gstelement.h (gst_element_continue_state): Make public.
11783 * gst/gstelement.h:
11784 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11785 by continue_state. Fixes #319389.
11787 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11788 Really fixes #168438. However I don't see anywhere where the
11789 filter function is called... stupid GStreamer...
11791 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11792 don't have a dispose function, so it won't get called when the
11793 object is unreffed, but oh well!
11795 * gst/gstindex.c (gst_index_set_filter_full): New API function,
11796 allows a destroy function to be set so user_data can be freed.
11798 (gst_index_set_filter): Call gst_index_set_filter_full.
11800 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11802 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11803 string should produce an error, given the lack of a way to
11804 represent NULL strings. Fixes #165650.
11807 * gst/gstvalue.c (gst_value_array_append_value)
11808 (gst_value_array_prepend_value, gst_value_array_get_size)
11809 (gst_value_array_get_value): New API, copied from
11810 gst_value_list_*, only operates on arrays.
11811 (gst_value_list_append_value, gst_value_list_prepend_value)
11812 (gst_value_list_concat, gst_value_list_get_size)
11813 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11815 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11816 init_list, because it works on both.
11817 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11818 (gst_value_copy_list_or_array): Renamed from copy_list.
11819 (gst_value_free_list_or_array): Renamed from free_list.
11820 (gst_value_collect_list_or_array): Renamed from collect_list.
11821 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11822 (gst_value_list_or_array_peek_pointer): Renamed from
11824 (_gst_value_array_value_table, _gst_value_list_value_table):
11825 Update value table functions.
11826 (gst_value_compare_list_or_array): Renamed from compare_list.
11828 * gsttaglist.h: Whoops, foreach function returns void. Also fix
11831 * gst/gsttaglist.c:
11832 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11833 GstTagList*. Fixes #143472.
11835 * gst/gststructure.h: Clarify what the foreach/map functions can
11836 or can't do to their arguments.
11838 2005-11-18 Wim Taymans <wim@fluendo.com>
11840 * gst/gstclock.c: (gst_clock_set_calibration),
11841 (gst_clock_get_calibration):
11843 Calibration can be set with internal time equal to current
11846 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
11852 2005-11-18 Andy Wingo <wingo@pobox.com>
11855 * pkgconfig/gstreamer-net.pc.in:
11856 * pkgconfig/gstreamer-net-uninstalled.pc.in:
11857 * pkgconfig/Makefile.am: Add net pkgconfig files.
11859 2005-11-18 Stefan Kost <ensonic@users.sf.net>
11862 * gst/gstghostpad.c:
11868 2005-11-18 Andy Wingo <wingo@pobox.com>
11870 * gst/net/gstnetclientclock.c: Turn off debugging.
11872 * check/net/gstnetclientclock.c (test_functioning): Assert that the
11873 times connverge somewhat. Can't make a real test.
11875 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
11876 integer arithmetic. Return the minimum of the domain, which can be
11877 set as "internal" for gst_clock_set_calibration.
11878 (gst_net_client_clock_observe_times): Call _set_calibration.
11879 (gst_net_client_clock_new): Call _set_calibration instead of
11882 * check/net/gstnetclientclock.c (test_functioning): Use the right
11886 * gst/gstclock.c (gst_clock_get_calibration)
11887 (gst_clock_set_calibration): New functions, obsolete the ones I
11888 added yesterday. Doh. Precision issues mean we have to extrapolate
11889 from a point in the more recent past than 1970.
11890 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
11892 (gst_clock_adjust_unlocked): Use the right calibration data.
11894 2005-11-18 Edward Hervey <edward@fluendo.com>
11896 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11897 Also reset the ->current_* values in READY->PAUSED
11899 2005-11-18 Andy Wingo <wingo@pobox.com>
11901 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
11902 Whoops, check the right fd. Also add some debugging.
11903 (gst_net_client_clock_observe_times): Adjust for int64 offset.
11904 (do_linear_regression): Add a crapload of debugging. Subtract off
11905 the minimum values from the input series to discard unneeded bits.
11906 Use only int arithmetic. There is still double arithmetic when
11907 calculating the intercept that needs fixing. Return boolean to
11908 indicate success; FALSE would mean the domain or range is too
11909 great. Still needs fixes.
11911 2005-11-18 Wim Taymans <wim@fluendo.com>
11913 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
11914 For the current position in stream time, we need to subtract
11917 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11918 Release lock before calling the callback function of async
11921 2005-11-18 Andy Wingo <wingo@pobox.com>
11923 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
11924 Port goes all the way to MAXUINT16.
11926 * gst/net/gstnettimeprovider.c: Make the port range the same as
11927 for the kernel: 0 assigns, otherwise ports are less than
11930 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
11933 * check/net/gstnetclientclock.c (test_functioning): Add the start
11936 2005-11-18 Wim Taymans <wim@fluendo.com>
11938 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11939 (gst_bin_remove_func), (bin_bus_handler):
11941 Removing a clock provider from a bin, triggers a clock lost message
11942 so that a new clock will be selected.
11943 Adding a clock to a bin triggers a clock provider message.
11944 Make sure we reselect a clock when we received a clock lost message.
11945 Keep a reference to the element that provided the clock.
11947 2005-11-18 Andy Wingo <wingo@pobox.com>
11949 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
11950 the clock initially so it produces values around the base time.
11951 (gst_net_client_clock_class_init): Typo fix.
11952 (gst_net_client_clock_thread): Add note on when the socket gets
11955 2005-11-17 Wim Taymans <wim@fluendo.com>
11957 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
11958 Free remote and local time arrays.
11960 2005-11-17 Wim Taymans <wim@fluendo.com>
11962 * gst/net/gstnetclientclock.c: (do_linear_regression),
11963 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
11964 Fix compilation, uninitialized vars and a forgotten continue.
11966 2005-11-17 Andy Wingo <wingo@pobox.com>
11968 * check/Makefile.am (check_PROGRAMS):
11969 * check/net/gstnetclientclock.c: Add a most minimal test for the
11970 net client clock. More to come later.
11972 * gst/net/gstnet.h:
11973 * gst/net/Makefile.am: Add netclientclock.
11975 * gst/net/gstnetclientclock.h:
11976 * gst/net/gstnetclientclock.c: New files, implement an untested
11977 GstClock that takes its time from a network time provider.
11978 Implements the algorithm in network-clock.scm.
11980 * tests/network-clock.scm (*window-size*): Rename from
11982 * tests/network-clock.scm (network-time):
11983 * tests/network-clock-utils.scm (q-push): Update callers.
11985 2005-11-17 Wim Taymans <wim@fluendo.com>
11987 * gst/gstbin.c: (gst_bin_provide_clock_func),
11988 (gst_bin_sort_iterator_new):
11989 And unref the child too..
11991 2005-11-17 Wim Taymans <wim@fluendo.com>
11993 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11994 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
11995 Refactor the sort iterator so it can be used while holding the
11997 Make clock selection select a clock closest to the source.
11999 2005-11-17 Michael Smith <msmith@fluendo.com>
12001 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12002 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12004 Anonymous structs are a gcc (and some other compilers) extension, so
12005 don't use them. Since this is only for ABI-compatibility, and our
12006 API/ABI freeze is over in a few days, this whole thing will only
12007 last a few days, so don't bother trying to think up a meaningful
12008 name for the struct.
12010 2005-11-17 Andy Wingo <wingo@pobox.com>
12012 * gst/gstclock.h (GstClock): Add rate and offset properties,
12013 preserving ABI stability. Add rate/offset accessors. Will file bug
12014 for the freeze break.
12016 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12017 and offset, trying to keep precision and avoiding
12018 underflow/overflow.
12019 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12020 functions. Make gst_clock_set_time_adjust obsolete.
12021 (gst_clock_set_time_adjust): Note that this function is obsolete.
12022 Will file bug soon.
12024 * gst/base/gstbasetransform.h: Make the ABI-stability hack
12025 greppable by using GST_PADDING-1+1.
12027 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
12029 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12031 * gst/gstmessage.c: (gst_message_parse_clock_lost):
12032 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12034 * gst/gstpadtemplate.h:
12035 * gst/gstpluginfeature.h:
12036 Don't use c++ style comments in headers (#321638).
12038 2005-11-16 Andy Wingo <wingo@pobox.com>
12040 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12043 * check/net/gstnettimeprovider.c: Check to see that the time
12044 provider actually provides times. Works, yo!
12046 2005-11-16 Wim Taymans <wim@fluendo.com>
12048 * check/Makefile.am:
12051 * check/elements/fakesrc.c: (GST_START_TEST):
12052 Set element to NULL before disposing it.
12054 2005-11-16 Andy Wingo <wingo@pobox.com>
12056 * gst/net/Makefile.am:
12057 * gst/net/gstnet.h:
12058 * gst/net/gstnettimeprovider.c:
12059 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12060 provider, include it from gstnet.h, and add it to the build.
12062 * gst/net/gstnettimepacket.h:
12063 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12064 sending and receiving.
12066 2005-11-16 Wim Taymans <wim@fluendo.com>
12068 * check/Makefile.am:
12069 Enable valgrind check.
12071 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12072 (gst_fake_src_alloc_buffer):
12075 2005-11-16 Wim Taymans <wim@fluendo.com>
12077 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12078 Call parent finalize too.
12080 2005-11-16 Wim Taymans <wim@fluendo.com>
12082 * check/Makefile.am:
12083 Enable valgrind check that should work fine now.
12085 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12086 * gst/gstqueue.c: (gst_queue_init):
12087 Fix memleaks in pad allocation.
12089 2005-11-16 Andy Wingo <wingo@pobox.com>
12091 * gst/net/Makefile.am:
12092 * gst/net/gstnet.h: New part of core to hold network elements and
12093 objects. Put in core because it exposes API that applications want
12094 to use. The library is named libgstnet-tempname right now because
12095 of the existing libgstnet in gst-plugins-base. Solution is
12096 probably to rename the one in plugins-base; will file a bug for
12099 * gst/net/gstnettimeprovider.c:
12100 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12101 get_time call over the network.
12104 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12106 * check/Makefile.am:
12107 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12108 get additions shortly.
12110 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12112 * gst/gstpad.c: (gst_pad_new_from_static_template):
12114 add gst_pad_new_from_static_template functions
12115 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12116 (gst_check_setup_sink_pad):
12117 * gst/elements/gsttee.c: (gst_tee_init):
12120 2005-11-16 Wim Taymans <wim@fluendo.com>
12122 * gst/gstpad.c: (gst_pad_pause_task):
12123 Removed warning, it's not really an error either.
12125 2005-11-16 Wim Taymans <wim@fluendo.com>
12127 * gst/base/gstbasetransform.c:
12128 (gst_base_transform_prepare_output_buf),
12129 (gst_base_transform_event):
12130 Check if the caps are NULL, this can happen if the element
12131 is shutting down and the pad caps are set to NULL.
12133 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12135 * gst/elements/gsttee.c: (gst_tee_init):
12136 fix pad template leak in tee
12138 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12140 * gst/glib-compat.c: (g_value_dup_gst_object):
12141 * gst/glib-compat.h:
12142 * gst/gstpad.c: (gst_pad_set_property):
12143 use gst_object_ref when setting the pad template; this will
12144 trigger the pad template leaks on GLib 2.6 and the slaves
12146 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12148 * gst/glib-compat.c: (gst_flags_get_first_value):
12149 * gst/glib-compat.h:
12150 * gst/gstregistryxml.c:
12151 remove functions copied from GLib 2.6
12153 2005-11-16 Michael Smith <msmith@fluendo.com>
12156 Don't link against VALGRIND_LIBS. That was always the wrong thing to
12157 do, but only breaks with newer valgrind versions. We're not a
12158 valgrind tool, we have no link-time dependencies on libcoregrind.
12160 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12162 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12164 * gst/gstmessage.h:
12167 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12169 * gst/base/gstbasesrc.c: (gst_base_src_init):
12170 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12171 * gst/gstqueue.c: (gst_queue_init):
12172 * gst/gstregistryxml.c: (load_feature):
12173 Revert all these unrefs, they don't even pass make check !
12175 2005-11-15 Johan Dahlin <johan@gnome.org>
12177 * gst/base/gstbasesrc.c: (gst_base_src_init):
12178 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12179 * gst/gstqueue.c: (gst_queue_init):
12180 Free pad templates, fixes a couple of leaks.
12182 2005-11-15 Daniel Fischer <dan at f3c dot com>
12184 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12186 * gst/gstpad.c: (gst_pad_get_property):
12187 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12188 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12191 2005-11-15 Wim Taymans <wim@fluendo.com>
12196 2005-11-15 Andy Wingo <wingo@pobox.com>
12198 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12200 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12201 using GST_CLOCK_TIME_NONE to disable base time management.
12202 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12203 time if it was NONE before.
12204 (gst_pipeline_change_state): Only munge the base time if
12205 stream_time != GST_CLOCK_TIME_NONE.
12207 * check/gst/gstpipeline.c (test_base_time): Punt around the
12208 problem of the probe not being called, because that's not the
12209 issue I'm looking at. Add a check that setting stream_time to NONE
12210 disables base time management.
12212 2005-11-15 Wim Taymans <wim@fluendo.com>
12214 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12215 segment_stop == -1 at startup.
12217 * gst/base/gstbasetransform.c: (gst_base_transform_event),
12218 (gst_base_transform_change_state):
12219 Init segment values at start.
12221 2005-11-15 Wim Taymans <wim@fluendo.com>
12223 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12224 0 segment values are 0 in any format.
12226 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12227 * gst/base/gstbasetransform.h:
12228 Parse newsegment correctly in basetransform
12230 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12231 Sync to clock using updated segment values.
12233 2005-11-15 Andy Wingo <wingo@pobox.com>
12235 * check/gst/gstpipeline.c (test_base_time): Add check that the
12236 base time and stream time are reset correctly.
12238 2005-11-15 Wim Taymans <wim@fluendo.com>
12240 * docs/design/part-TODO.txt:
12241 Some more TODO items.
12243 2005-11-15 Andy Wingo <wingo@pobox.com>
12245 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12246 error if the user selected "no clock" as the clocking method.
12248 * check/gst/gstpipeline.c (test_base_time): New test for buffer
12249 timestamps with live capture.
12251 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12252 is 0 but we are a live source, timestamp the buffers using the
12255 2005-11-14 Stefan Kost <ensonic@users.sf.net>
12257 * docs/gst/gstreamer-sections.txt:
12259 * gst/gstghostpad.c:
12264 2005-11-14 Wim Taymans <wim@fluendo.com>
12267 add suppressions from Wim's Debian machine
12269 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
12272 add suppressions from Andy's AMD64 Ubuntu machine
12274 2005-11-14 Andy Wingo <wingo@pobox.com>
12276 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12277 STATE_LOCK not necessary. Fixes #311489.
12279 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12282 * gst/gstindex.c (gst_index_add_object): Note in the docs that
12283 this function is not implemented.
12285 2005-11-14 Julien MOUTTE <julien@moutte.net>
12287 * gst/base/gstbasetransform.c:
12288 (gst_base_transform_prepare_output_buf):
12289 Ref the source pad caps while we need them.
12292 2005-11-11 Wim Taymans <wim@fluendo.com>
12294 * docs/gst/gstreamer-sections.txt:
12295 Added some docs for GstCollectData.
12297 * gst/base/gstadapter.c:
12298 Some small code example fix.
12300 * gst/base/gstcollectpads.c:
12301 * gst/base/gstcollectpads.h:
12302 Document some more.
12304 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12306 * configure.ac: back to HEAD
12308 === release 0.9.5 ===
12310 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12313 releasing 0.9.5, "Bike Lunch Day"
12315 2005-11-11 Wim Taymans <wim@fluendo.com>
12317 * gst/gstbuffer.c: (_gst_buffer_copy):
12320 * gst/gstcaps.c: (gst_caps_is_equal):
12322 Make _is_equal fast in the trivial cases.
12324 * gst/gstminiobject.c:
12325 * gst/gstminiobject.h:
12326 More docs. Spifify .h file.
12331 2005-11-11 Wim Taymans <wim@fluendo.com>
12333 * gst/base/gstbasetransform.c:
12334 (gst_base_transform_prepare_output_buf),
12335 (gst_base_transform_handle_buffer):
12337 If we're processing a buffer and need to allocate an output
12338 buffer, we cannot accept a format change. If we did get a
12339 format change, we have to alloc a buffer ourselves of the
12342 2005-11-11 Wim Taymans <wim@fluendo.com>
12344 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12345 While checking the flag for reentrancy in the gstcaps function
12346 is nice to detect recursive invocations, it also makes it
12347 impossible to call getcaps from multiple threads, which must be
12348 possible. So, checking for recursive calls has to go.
12350 2005-11-11 Michael Smith <msmith@fluendo.com>
12352 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12353 Don't sync on buffers that fall partially outside our current
12354 segment. Prevents an assertion failure/abort playing some files.
12356 2005-11-10 Andy Wingo <wingo@pobox.com>
12358 * check/gst/gstbin.c (test_message_state_changed_children): Style
12361 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12362 gst_bus_poll with the signal watch. Ensures that poll and a signal
12363 watch see the same messages.
12365 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12366 a poll and a watch at the same time get the same messages.
12368 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12370 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12371 * gst/gstcaps.c: (gst_caps_intersect):
12372 Don't call gst_caps_do_simplify - it doesn't respect order of caps
12373 and it's not needed.
12375 2005-11-10 Wim Taymans <wim@fluendo.com>
12377 * docs/design/part-TODO.txt:
12380 2005-11-10 Wim Taymans <wim@fluendo.com>
12382 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12383 * gst/base/gstbasesrc.c: (gst_base_src_wait),
12384 (gst_base_src_do_sync), (gst_base_src_get_range):
12385 Implement clock sync in base class.
12387 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12389 patch by: Tim-Philipp Müller <tim at centricular dot net>
12391 * gst/gststructure.c: (gst_structure_parse_field),
12392 (gst_structure_from_string):
12393 Forward-port a 0.8 patch to handle escaped spaces in structure string,
12394 so that gst_parse_launch() can deal with spaces in filtered link
12395 caps (fixes #164479)
12396 * check/gst/capslist.h:
12397 * check/gst/gststructure.c: (GST_START_TEST):
12398 add unit tests for this change
12400 2005-11-10 Wim Taymans <wim@fluendo.com>
12402 * docs/gst/gstreamer-sections.txt:
12403 * gst/gstelement.c:
12404 * gst/gstelement.h:
12405 Fix docs, move some STATE macros to private.
12407 2005-11-10 Wim Taymans <wim@fluendo.com>
12409 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12410 Added check for bug #317341
12414 Some more spiffifying.
12416 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12417 Call peer linkfunction if we are a source pad. Totally fixes
12421 Update docs, source pads should call the peer linkfunction
12422 so they can atomically perform the pad link.
12424 2005-11-09 Wim Taymans <wim@fluendo.com>
12428 Uber-spiffy-spiffify some more.
12430 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
12432 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12433 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12434 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12435 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12436 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12437 * gst/gstpad.c: (gst_pad_init):
12438 Use GST_DEBUG_FUNCPTR() more extensively.
12440 2005-11-09 Wim Taymans <wim@fluendo.com>
12442 * gst/gstobject.c: (gst_object_class_init):
12444 Documentation fixes.
12446 2005-11-09 Edward Hervey <edward@fluendo.com>
12448 * gst/gsttypefindfactory.c:
12451 2005-11-09 Edward Hervey <edward@fluendo.com>
12453 * gst/base/gsttypefindhelper.c:
12454 * gst/gsttypefind.c:
12455 * gst/gsttypefind.h:
12458 2005-11-09 Wim Taymans <wim@fluendo.com>
12460 * gst/gstiterator.c:
12467 2005-11-09 Wim Taymans <wim@fluendo.com>
12473 2005-11-09 Wim Taymans <wim@fluendo.com>
12475 * docs/gst/gstreamer-sections.txt:
12476 Moved the message async delivery private lock and cond
12477 to the private section.
12479 * gst/gstmessage.c:
12480 * gst/gstmessage.h:
12483 2005-11-09 Edward Hervey <edward@fluendo.com>
12485 * docs/gst/gstreamer-sections.txt:
12488 Document GstURIHandler
12490 2005-11-09 Wim Taymans <wim@fluendo.com>
12492 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12493 (gst_iterator_find_custom):
12494 * gst/gstiterator.h:
12497 2005-11-09 Wim Taymans <wim@fluendo.com>
12500 Document another field.
12502 * gst/gststructure.c:
12503 * gst/gststructure.h:
12506 2005-11-09 Wim Taymans <wim@fluendo.com>
12509 Documented structs.
12511 2005-11-09 Wim Taymans <wim@fluendo.com>
12513 * docs/gst/gstreamer-sections.txt:
12514 Added some new macros.
12521 2005-11-09 Wim Taymans <wim@fluendo.com>
12523 * docs/design/part-TODO.txt:
12524 Some more items for the TODO
12530 2005-11-09 Andy Wingo <wingo@pobox.com>
12532 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12533 to work on something else now tho...
12535 * gst/base/gstadapter.c: More adapter docs.
12537 * gst/elements/gstfilesink.c (gst_file_sink_start)
12538 (gst_file_sink_stop): New functions, replace the state change
12540 (gst_file_sink_class_init): Hook up the start and stop functions.
12541 (gst_file_sink_base_init): Don't set the state change handler any
12542 more. It was a bit ugly too, being set from here...
12543 (gst_file_sink_get_property, gst_file_sink_set_property):
12545 (gst_file_sink_set_location): More robust check that doesn't call
12546 GST_STATE. Ugggggg.
12548 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
12550 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12551 Hold STREAM_LOCK while pushing newsegment or tag events as well.
12553 2005-11-08 Wim Taymans <wim@fluendo.com>
12555 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12556 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12557 (gst_base_sink_chain), (gst_base_sink_change_state):
12558 * gst/base/gstbasesink.h:
12559 * gst/base/gstbasesrc.h:
12560 * gst/gstelement.h:
12562 Avoid excessive typechecking in macros.
12564 * gst/gstminiobject.c: (gst_mini_object_get_type),
12565 (gst_mini_object_init), (gst_mini_object_new),
12566 (gst_mini_object_free):
12567 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12568 (gst_object_finalize):
12569 Remove cruft code, optimize alloc_trace.
12571 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
12573 * docs/faq/gst-uninstalled:
12574 fix up PS1 for systems that try to reset it
12576 2005-11-07 Wim Taymans <wim@fluendo.com>
12578 * gst/base/gstbasesrc.c: (gst_base_src_init),
12579 (gst_base_src_get_range):
12580 Set the segment_end to -1 initially. Fixed typefind.
12582 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
12584 * gst/base/gstadapter.c:
12585 Debug category should be 'adapter', not 'GstAdapter'.
12587 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12588 (gst_collectpads_class_init), (gst_collectpads_init),
12589 (gst_collectpads_peek), (gst_collectpads_pop),
12590 (gst_collectpads_event), (gst_collectpads_chain):
12591 Add debug category and some debugging output. Use boilerplate
12592 macros. Remove some extraneous words from docs.
12594 2005-11-05 Andy Wingo <wingo@pobox.com>
12596 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12599 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12601 * docs/gst/gstreamer-sections.txt:
12604 * gst/gstminiobject.h:
12609 2005-11-04 Wim Taymans <wim@fluendo.com>
12611 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12612 Small update to stop at the configured segment_end
12615 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12617 * gst/gstregistry.c:
12618 * gst/gstregistry.h:
12621 2005-11-04 Edward Hervey <edward@fluendo.com>
12623 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12624 Check if we are doing a segment seek and have arrived at the
12625 end of that segment.
12627 2005-11-04 Wim Taymans <wim@fluendo.com>
12629 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12630 Don't leak a mutex unlock in case of an error.
12635 2005-11-04 Wim Taymans <wim@fluendo.com>
12637 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12639 Get the context to wake up only once.
12641 2005-11-03 Wim Taymans <wim@fluendo.com>
12643 * check/states/sinks.c: (GST_START_TEST):
12644 Uncomment fixed check.
12646 * docs/design/part-TODO.txt:
12649 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12650 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12651 (gst_base_sink_get_position):
12652 If we are going to PLAYING, post the right pending state
12653 when we post the intermediate paused message.
12655 * gst/gstelement.c: (gst_element_continue_state),
12656 (gst_element_set_state_func), (gst_element_change_state):
12657 Don't post state changes that were between the same state
12658 and were not ASYNC.
12660 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12662 * docs/gst/gstreamer-sections.txt:
12665 * gst/gstminiobject.h:
12668 more docs and doc style fixes
12670 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12672 * docs/gst/gstreamer-sections.txt:
12673 * gst/gstelement.c:
12674 * gst/gstminiobject.c:
12677 2005-11-03 Andy Wingo <wingo@pobox.com>
12679 * check/states/sinks.c (test_livesrc_sink): Add checks that the
12680 state-changed messages actually have the right order and the right
12683 2005-11-03 Wim Taymans <wim@fluendo.com>
12685 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12686 Added some more checks. Specifically the case where NO_PREROLL
12687 elements are in the pipeline.
12689 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12690 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12691 (gst_base_sink_get_position):
12692 Post READY->PAUSED state change messages too.
12693 Fix bug where VOID was posted as pending state...
12695 * gst/gstbin.c: (gst_bin_recalc_state):
12696 use _element_continue_state() to continue the state change.
12698 * gst/gstelement.c: (gst_element_continue_state),
12699 (gst_element_commit_state), (gst_element_set_state_func),
12700 (gst_element_change_state), (gst_element_change_state_func):
12701 Lots of state change cleanups, assign the STATE_RETURN in
12702 a new continue_state() function that also propagates the
12703 last return value from a state change to the app.
12704 Update some debug statements with proper category.
12706 2005-11-03 Wim Taymans <wim@fluendo.com>
12708 * docs/design/part-events.txt:
12709 * docs/design/part-gstpipeline.txt:
12710 * docs/design/part-messages.txt:
12711 * docs/design/part-overview.txt:
12712 * docs/design/part-seeking.txt:
12713 * docs/design/part-states.txt:
12714 * docs/design/part-trickmodes.txt:
12715 * docs/manual/advanced-position.xml:
12716 Small docs updates.
12719 People think !! is ugly, this looks better.
12721 * gst/gstpad.c: (gst_pad_set_blocked_async):
12722 Remove !! since it's fixed elsewhere now.
12724 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12726 * gst/gstminiobject.h:
12728 Add !! to _FLAG_IS_SET macros to make the result boolean.
12730 2005-11-03 Edward Hervey <edward@fluendo.com>
12732 * gst/gstpad.c: (gst_pad_set_blocked_async):
12733 comparing a flag and a gboolean rarely returns coherent results...
12734 Added two characters (!!) to make that work correctly.
12736 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12738 * gst/gstbus.c: (gst_bus_class_init):
12741 * gst/gstqueue.c: (gst_queue_loop):
12742 Don't assume a miniobject that isn't a buffer is an
12743 event (it could be that there is a refcounting
12744 problem somewhere and the pointer is stale and
12745 refers to an already destroyed miniobject).
12747 2005-11-03 Julien MOUTTE <julien@moutte.net>
12749 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12751 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12753 * docs/manual/advanced-position.xml:
12754 Update seek example and explanations to current 0.9 API.
12756 * gst/elements/gsttypefindelement.c:
12757 (gst_type_find_element_activate):
12758 Remove FIXME comment now that the found caps
12761 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
12763 * gst/gstregistryxml.c: (load_feature):
12764 Add another GST_STR_NULL instance
12766 2005-11-02 Edward Hervey <edward@fluendo.com>
12768 * gst/gstpad.c: (handle_pad_block):
12769 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12771 2005-11-02 Wim Taymans <wim@fluendo.com>
12776 * gst/gstelement.c: (gst_element_commit_state):
12777 Remove unused value.
12779 * gst/gstiterator.c:
12780 Mention that the returned element is reffed in the docs.
12782 2005-11-02 Wim Taymans <wim@fluendo.com>
12784 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12785 (gst_pad_push), (gst_pad_push_event):
12786 Unlock blocked pads when they are flushed.
12788 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12791 * docs/gst/gstreamer-sections.txt:
12794 * gst/gstregistry.c: (gst_registry_scan_path_level):
12795 fix for a nasty little missed situation where an installed plug-in
12796 which was in the cache did not get overridden by an uninstalled one
12797 which was earlier in the plugin path because the newly created plugin
12798 for the uninstalled one (not in the registry) didn't get its
12799 ->registered set to TRUE
12801 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12803 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12804 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12805 (gst_collectpads_is_active), (gst_collectpads_collect),
12806 (gst_collectpads_collect_range), (gst_collectpads_start),
12807 (gst_collectpads_stop), (gst_collectpads_peek),
12808 (gst_collectpads_pop), (gst_collectpads_available),
12809 (gst_collectpads_read), (gst_collectpads_flush):
12810 Guard public API with assertions.
12813 Fix docs for gst_pad_set_link_function().
12815 2005-11-02 Johan Dahlin <johan@gnome.org>
12817 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
12818 Unref found_caps after we used it.
12820 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12822 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12823 Don't try to ref NULL.
12825 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12827 * win32/common/config.h.in:
12828 provide a GST_FUNCTION that just gives a string for now
12830 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12832 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12833 (gst_object_flags_get_type), (register_gst_bin_flags),
12834 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12835 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12836 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12837 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
12838 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12839 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12840 (gst_clock_flags_get_type), (register_gst_state),
12841 (gst_state_get_type), (register_gst_state_change_return),
12842 (gst_state_change_return_get_type), (register_gst_state_change),
12843 (gst_state_change_get_type), (register_gst_element_flags),
12844 (gst_element_flags_get_type), (register_gst_core_error),
12845 (gst_core_error_get_type), (register_gst_library_error),
12846 (gst_library_error_get_type), (register_gst_resource_error),
12847 (gst_resource_error_get_type), (register_gst_stream_error),
12848 (gst_stream_error_get_type), (register_gst_event_type),
12849 (gst_event_type_get_type), (register_gst_seek_type),
12850 (gst_seek_type_get_type), (register_gst_seek_flags),
12851 (gst_seek_flags_get_type), (register_gst_format),
12852 (gst_format_get_type), (register_gst_index_certainty),
12853 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12854 (gst_index_entry_type_get_type),
12855 (register_gst_index_lookup_method),
12856 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12857 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12858 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12859 (gst_index_flags_get_type), (register_gst_debug_level),
12860 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12861 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12862 (gst_iterator_result_get_type), (register_gst_iterator_item),
12863 (gst_iterator_item_get_type), (register_gst_message_type),
12864 (gst_message_type_get_type), (register_gst_mini_object_flags),
12865 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12866 (gst_pad_link_return_get_type), (register_gst_flow_return),
12867 (gst_flow_return_get_type), (register_gst_activate_mode),
12868 (gst_activate_mode_get_type), (register_gst_pad_direction),
12869 (gst_pad_direction_get_type), (register_gst_pad_flags),
12870 (gst_pad_flags_get_type), (register_gst_pad_presence),
12871 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12872 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12873 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12874 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12875 (gst_plugin_flags_get_type), (register_gst_rank),
12876 (gst_rank_get_type), (register_gst_query_type),
12877 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12878 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12879 (gst_tag_flag_get_type), (register_gst_task_state),
12880 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12881 (gst_alloc_trace_flags_get_type),
12882 (register_gst_type_find_probability),
12883 (gst_type_find_probability_get_type), (register_gst_uri_type),
12884 (gst_uri_type_get_type), (register_gst_parse_error),
12885 (gst_parse_error_get_type):
12886 * win32/common/gstversion.h:
12887 update win32 copies
12889 2005-11-01 Luca Ognibene <luogni@tin.it>
12892 fix docs. popt is dead, long live GOption.
12894 2005-10-31 Wim Taymans <wim@fluendo.com>
12899 2005-10-31 Andy Wingo <wingo@pobox.com>
12903 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
12905 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
12906 need to serialize property notifications on GLib 2.8. GLib 2.6 has
12907 the possibility of deadlocks here if code calling notify() or
12908 set() has a lock that can be taken in another notify handler (ABBA
12909 with class lock and e.g. python GIL state lock).
12911 2005-10-28 Julien MOUTTE <julien@moutte.net>
12913 * gst/gstbus.c: Doc updates.
12915 2005-10-28 Wim Taymans <wim@fluendo.com>
12917 * docs/design/part-TODO.txt:
12918 * gst/gstiterator.c:
12919 * gst/gstsystemclock.c:
12920 * gst/gstsystemclock.h:
12923 2005-10-28 Edward Hervey <edward@fluendo.com>
12925 * docs/gst/gstreamer-docs.sgml:
12926 * docs/gst/gstreamer-sections.txt:
12927 the GstURIType documentation page is private, it only defines GstURIType
12928 which should be defined in the GstURIHandler page
12930 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
12932 * gst/gstbin.c: (gst_bin_class_init):
12935 Documentation updates.
12937 2005-10-28 Wim Taymans <wim@fluendo.com>
12939 * docs/gst/gstreamer-sections.txt:
12942 Documented the clocks.
12944 2005-10-28 Stefan Kost <ensonic@users.sf.net>
12946 * docs/gst/gstreamer-sections.txt:
12947 move some macros to private sections
12948 * gst/gstminiobject.c:
12949 * gst/gstminiobject.h:
12950 add descriptions provided by ds and some more
12952 mark macro as to be removed
12954 2005-10-28 Wim Taymans <wim@fluendo.com>
12956 * docs/design/part-TODO.txt:
12957 Add an item to TODO.
12959 * gst/gstiterator.c: (gst_iterator_fold),
12960 (gst_iterator_find_custom):
12961 * gst/gstiterator.h:
12964 2005-10-28 Wim Taymans <wim@fluendo.com>
12966 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12967 (gst_base_transform_init):
12970 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
12971 An EOS event marks the queue as completely filled.
12973 2005-10-27 Wim Taymans <wim@fluendo.com>
12975 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12976 (gst_base_sink_do_sync), (gst_base_sink_get_position):
12977 Some more debugging.
12979 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
12980 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
12981 (gst_base_transform_event), (gst_base_transform_getrange),
12982 (gst_base_transform_chain):
12983 * gst/base/gstbasetransform.h:
12985 Protect transform and concurrent buffer alloc with a new lock.
12986 Try not to break ABI/API.
12988 2005-10-27 Wim Taymans <wim@fluendo.com>
12990 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12991 (gst_base_src_init), (gst_base_src_query),
12992 (gst_base_src_default_newsegment),
12993 (gst_base_src_configure_segment), (gst_base_src_do_seek),
12994 (gst_base_src_send_event), (gst_base_src_event_handler),
12995 (gst_base_src_pad_get_range), (gst_base_src_loop),
12996 (gst_base_src_unlock), (gst_base_src_default_negotiate),
12997 (gst_base_src_start), (gst_base_src_deactivate),
12998 (gst_base_src_activate_push), (gst_base_src_change_state):
12999 Move some stuff around and cleanup things.
13001 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
13003 * gst/base/gstbasesrc.c: (gst_base_src_query):
13004 Add missing break statements.
13006 2005-10-27 Wim Taymans <wim@fluendo.com>
13008 * check/gst/gstbin.c: (GST_START_TEST):
13009 An extra refcount is taken in basesrc.
13011 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13012 (gst_base_src_get_range), (gst_base_src_pad_get_range),
13013 (gst_base_src_loop):
13014 Small cleanups, check for flushing after being unlocked from the
13015 LIVE_LOCK. take refcounts correctly (not yet everywhere).
13016 Don't send out EOS when going to READY.
13018 2005-10-27 Wim Taymans <wim@fluendo.com>
13020 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13021 (gst_base_sink_get_position):
13024 * gst/gstbin.c: (message_check), (bin_replace_message),
13025 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13026 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13027 (bin_query_duration_init), (bin_query_duration_fold),
13028 (bin_query_duration_done), (bin_query_generic_fold),
13030 * tools/gst-launch.c: (main):
13033 2005-10-26 Stefan Kost <ensonic@users.sf.net>
13035 * examples/controller/audio-example.c: (main):
13036 * examples/queue/queue.c: (event_loop):
13037 * gst/base/gstbasetransform.h:
13038 * gst/gstelement.c: (gst_element_send_event):
13040 * gst/gstpad.c: (gst_pad_send_event):
13043 changing log priority in error situations
13045 2005-10-25 Wim Taymans <wim@fluendo.com>
13047 * gst/gstbin.c: (message_check), (bin_replace_message),
13048 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13049 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13050 (bin_query_duration_init), (bin_query_duration_fold),
13051 (bin_query_duration_done), (bin_query_generic_fold),
13053 Some doc and debug updates.
13054 Cache previously requested query DURATION for speed. invalidate
13055 cached duration if element posts a DURATION message.
13057 2005-10-25 Wim Taymans <wim@fluendo.com>
13059 * docs/design/part-TODO.txt:
13062 * gst/gstbin.c: (message_check), (bin_replace_message),
13063 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13064 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13065 (bin_query_duration_init), (bin_query_duration_fold),
13066 (bin_query_duration_done), (bin_query_generic_fold),
13068 Handle SEGMENT_START/DONE messages correctly.
13069 More evolved query algorithm that handles duration queries
13072 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13073 (gst_element_get_state_func), (gst_element_abort_state),
13074 (gst_element_commit_state), (gst_element_lost_state):
13075 Some more debugging.
13077 * gst/gstmessage.h:
13080 2005-10-25 Wim Taymans <wim@fluendo.com>
13082 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13083 Don't use invalid stream_time.
13085 * gst/gstevent.c: (gst_event_new_newsegment):
13086 stream_time in newsegment cannot be undefined.
13088 2005-10-24 Wim Taymans <wim@fluendo.com>
13093 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13095 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13097 2005-10-24 Stefan Kost <ensonic@users.sf.net>
13099 * docs/libs/tmpl/gstdparam.sgml:
13100 * docs/libs/tmpl/gstdplinint.sgml:
13101 * docs/libs/tmpl/gstdpman.sgml:
13102 * docs/libs/tmpl/gstdpsmooth.sgml:
13103 * docs/libs/tmpl/gstunitconvert.sgml:
13106 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
13111 === release 0.9.4 ===
13113 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13116 releasing 0.9.4, "Tyrannosaurus Rex"
13118 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
13120 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13121 (gst_file_sink_get_current_offset):
13122 Use fseeko() and ftello() if available. When falling back on
13123 lseek() to get the current offset, fflush() first to make sure
13124 everything is up-to-date and we get the right offset.
13126 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13128 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13129 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13130 * gst/gsterror.c: (_gst_stream_errors_init):
13132 * gst/gstqueue.c: (gst_queue_loop):
13134 remove prematurely added error category and clean up the instances
13136 2005-10-21 Wim Taymans <wim@fluendo.com>
13138 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13139 (gst_base_sink_get_position), (gst_base_sink_query),
13140 (gst_base_sink_change_state):
13141 Simply set the right flag when going to playing, that's all
13142 we need to do instead of calling a function inside the object
13143 lock (that could take the lock as well and deadlock)
13145 2005-10-21 Wim Taymans <wim@fluendo.com>
13147 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13148 (gst_base_src_loop):
13149 Don't warn, the peer element knows what to do best when
13150 the seek failed, it might try something else.
13152 2005-10-21 Wim Taymans <wim@fluendo.com>
13154 * gst/base/gstbasesrc.c: (gst_base_src_init),
13155 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13158 2005-10-21 Wim Taymans <wim@fluendo.com>
13160 * docs/design/part-segments.txt:
13163 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13164 Correctly set caps, even on the subbufer.
13166 2005-10-21 Wim Taymans <wim@fluendo.com>
13168 * docs/gst/gstreamer-docs.sgml:
13169 * docs/gst/gstreamer-sections.txt:
13170 * gst/gstelement.h:
13173 * gst/gstmessage.h:
13176 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13180 And 2% more doc coverage.
13182 2005-10-21 Andy Wingo <wingo@pobox.com>
13184 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13185 position reporting.
13187 2005-10-20 Wim Taymans <wim@fluendo.com>
13189 * gst/gsterror.c: (gst_error_get_message):
13192 * gst/gststructure.c:
13197 2005-10-20 Wim Taymans <wim@fluendo.com>
13202 Another 1% more coverage.
13204 2005-10-20 Wim Taymans <wim@fluendo.com>
13206 * docs/gst/gstreamer-sections.txt:
13207 * gst/gstelement.c: (gst_element_get_state_func),
13208 (gst_element_abort_state), (gst_element_commit_state),
13209 (gst_element_lost_state):
13211 * gst/gstquery.c: (gst_query_set_position),
13212 (gst_query_parse_position), (gst_query_set_duration),
13213 (gst_query_parse_duration), (gst_query_new_convert):
13215 Yay! 1% more docs coverage.
13217 2005-10-20 Wim Taymans <wim@fluendo.com>
13220 * gst/gstquery.c: (gst_query_set_position),
13221 (gst_query_parse_position), (gst_query_set_duration),
13222 (gst_query_parse_duration), (gst_query_new_convert):
13224 * gst/gstutils.c: (gst_element_query_convert):
13226 Docs and consistency fixes.
13228 2005-10-20 Wim Taymans <wim@fluendo.com>
13234 2005-10-20 Wim Taymans <wim@fluendo.com>
13236 * gst/gstbin.c: (message_check), (bin_replace_message),
13237 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13238 (update_degree), (gst_bin_sort_iterator_next),
13239 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13240 Reworked the message handling a bit, cache the messages instead of
13241 only the senders. alows us to do more in the future.
13243 2005-10-20 Wim Taymans <wim@fluendo.com>
13245 * docs/design/part-TODO.txt:
13248 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13249 (gst_base_sink_query):
13250 Don't use clock time to report position when in EOS.
13252 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
13254 * tools/gst-inspect.c: (print_interfaces),
13255 (print_element_properties_info), (print_element_info):
13256 Fix interface output with gst-inspect -a; don't print
13257 newlines after double/float properties.
13259 2005-10-20 Wim Taymans <wim@fluendo.com>
13261 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13262 (gst_base_sink_query):
13263 Speed up current position calculation.
13265 * gst/base/gstbasesrc.c: (gst_base_src_query),
13266 (gst_base_src_default_newsegment):
13267 Correctly set stream position in newsegment.
13269 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13270 (update_degree), (gst_bin_sort_iterator_next),
13271 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13272 * gst/gstmessage.c: (gst_message_new_custom):
13273 Clean up debugging info
13275 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13276 (gst_queue_loop), (gst_queue_handle_src_query):
13279 2005-10-19 Wim Taymans <wim@fluendo.com>
13281 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13282 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13283 Fix query handling again.
13285 2005-10-19 Wim Taymans <wim@fluendo.com>
13287 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13288 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13289 * gst/base/gstbasesrc.c: (gst_base_src_query):
13290 * gst/elements/gstfilesink.c: (gst_file_sink_query):
13291 * gst/elements/gsttypefindelement.c:
13292 (gst_type_find_handle_src_query), (find_element_get_length),
13293 (gst_type_find_element_activate):
13296 * gst/gstquery.c: (gst_query_new_position),
13297 (gst_query_set_position), (gst_query_parse_position),
13298 (gst_query_new_duration), (gst_query_set_duration),
13299 (gst_query_parse_duration), (gst_query_set_segment),
13300 (gst_query_parse_segment):
13302 Bundling query position/duration is not a good idea since duration
13303 does not change much and we don't want to recalculate it for every
13304 position query, so they are separated again..
13305 Base value in segment query is not needed.
13307 * gst/gstqueue.c: (gst_queue_handle_src_query):
13308 * gst/gstutils.c: (gst_element_query_position),
13309 (gst_element_query_duration), (gst_pad_query_position),
13310 (gst_pad_query_duration):
13312 Updates for query API change.
13313 Added some docs here and there.
13315 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
13317 * check/gst/gstbin.c: (GST_START_TEST):
13318 * check/gst/gstghostpad.c: (GST_START_TEST):
13319 * check/pipelines/cleanup.c: (GST_START_TEST):
13320 wait on thread to die so we can check refcount correctly
13322 2005-10-18 Wim Taymans <wim@fluendo.com>
13324 * check/pipelines/stress.c: (GST_START_TEST):
13325 Make check a little more time consuming.
13327 2005-10-18 Wim Taymans <wim@fluendo.com>
13329 * check/Makefile.am:
13330 * check/pipelines/stress.c: (GST_START_TEST),
13331 (simple_launch_lines_suite), (main):
13332 Small state change torture test.
13334 * docs/design/part-states.txt:
13335 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13336 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13337 (gst_base_sink_change_state):
13338 Never take state lock from streaming thread, clean up ugly
13339 hacks. Unfortunatly core does not yet support nice ways to
13340 async commit state.
13342 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13344 Start state recalc if a STATE_DIRTY message is posted, but only
13345 on the toplevel bin.
13347 * gst/gstelement.c: (gst_element_sync_state_with_parent),
13348 (gst_element_get_state_func), (gst_element_abort_state),
13349 (gst_element_commit_state), (gst_element_lost_state),
13350 (gst_element_set_state_func), (gst_element_change_state):
13351 * gst/gstelement.h:
13352 State variables are now protected with the LOCK, the state
13353 lock is only used to serialize _set_state().
13355 2005-10-18 Wim Taymans <wim@fluendo.com>
13357 * check/gst/gstbin.c: (GST_START_TEST):
13358 * check/gst/gstmessage.c: (GST_START_TEST):
13359 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13360 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13362 * gst/gstelement.c: (gst_element_abort_state),
13363 (gst_element_commit_state), (gst_element_lost_state):
13364 * gst/gstmessage.c: (gst_message_new_state_changed),
13365 (gst_message_new_state_dirty), (gst_message_new_segment_start),
13366 (gst_message_new_segment_done), (gst_message_new_duration),
13367 (gst_message_parse_state_changed),
13368 (gst_message_parse_segment_start),
13369 (gst_message_parse_segment_done), (gst_message_parse_duration):
13370 * gst/gstmessage.h:
13371 * tools/gst-launch.c: (event_loop):
13372 Seriously, this is better than a previous commit as we only need
13373 to notify the fact that an element changed state in a streaming
13374 thread, marking the state of the parents dirty, hence the
13375 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13378 2005-10-18 Wim Taymans <wim@fluendo.com>
13380 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13381 (gst_bin_recalc_func):
13382 * gst/gstelement.c: (gst_element_set_clock),
13383 (gst_element_abort_state), (gst_element_lost_state):
13384 Cleanups, prepare for state change fixes.
13386 2005-10-18 Wim Taymans <wim@fluendo.com>
13389 * gst/gstelement.c: (gst_element_class_init),
13390 (gst_element_set_state), (gst_element_set_state_func):
13391 * gst/gstelement.h:
13392 Pending ABI changes.
13393 GThreadPool in GstBinClass to monitor async state changes.
13394 state_cookie in GstElement to detect concurrent gst/set state.
13395 set_state is now virtual too in case a very complicated element
13396 has to be constructed.
13398 2005-10-18 Wim Taymans <wim@fluendo.com>
13400 * check/gst/gstbin.c: (GST_START_TEST):
13401 * check/gst/gstmessage.c: (GST_START_TEST):
13402 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13403 * gst/gstbin.c: (bin_bus_handler):
13404 * gst/gstelement.c: (gst_element_commit_state),
13405 (gst_element_lost_state):
13406 * gst/gstmessage.c: (gst_message_new_state_changed),
13407 (gst_message_new_segment_start), (gst_message_new_segment_done),
13408 (gst_message_new_duration), (gst_message_parse_state_changed),
13409 (gst_message_parse_segment_start),
13410 (gst_message_parse_segment_done), (gst_message_parse_duration):
13411 * gst/gstmessage.h:
13412 * tools/gst-launch.c: (event_loop):
13413 Make messages future proof.
13414 state-change gets a flag if it was a message comming from the
13416 segment-start/stop can also be specified in other formats.
13417 A message to notify an app that a pipeline changed playback
13419 Also fix a GstMessage leak in -launch
13421 2005-10-18 Andy Wingo <wingo@pobox.com>
13423 * gst/gstelement.c (gst_element_dispose): More helpful message.
13425 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13427 reviewed by: <delete if not using a buddy>
13429 * common/gtk-doc.mak:
13431 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13433 * gst/gstregistry.c: (gst_registry_scan_path_level):
13434 unref a plug-in we get that was already initialized
13436 2005-10-18 Stefan Kost <ensonic@users.sf.net>
13438 * docs/gst/gstreamer-sections.txt:
13439 * docs/libs/gstreamer-libs-sections.txt:
13440 * gst/gstelement.h:
13441 add new api entries
13442 hide internal macro
13444 2005-10-17 Andy Wingo <wingo@pobox.com>
13446 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13449 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13451 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13453 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13454 (gst_element_get_state_func): Better debug message.
13455 (gst_element_commit_state): s/INFO/DEBUG/.
13456 (gst_element_lost_state, gst_element_change_state):
13458 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13459 (gst_message_new_custom): s/INFO/LOG/.
13461 2005-10-17 Michael Smith <msmith@fluendo.com>
13463 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13464 Check if end time is valid using end time, not start time.
13466 2005-10-17 Stefan Kost <ensonic@users.sf.net>
13468 * check/gst-libs/controller.c: (GST_START_TEST),
13469 (gst_controller_suite):
13470 * libs/gst/controller/gstcontroller.c:
13471 (gst_controlled_property_set_interpolation_mode):
13472 * libs/gst/controller/gstcontroller.h:
13473 * libs/gst/controller/gstinterpolation.c:
13474 * testsuite/controller/.cvsignore:
13475 * testsuite/controller/Makefile.am:
13476 * testsuite/controller/interpolator.c:
13477 merge controller testsuites
13479 remove mem-chunk from docs
13481 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13483 * gst/gstmemchunk.c:
13484 * gst/gstmemchunk.h:
13485 * gst/gsttrashstack.c:
13486 * gst/gsttrashstack.h:
13487 out. get out. you're fired. to the Attic !
13489 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13491 * gst/gstcaps.c: (gst_caps_intersect):
13492 fix signedness issues in a (hopefully) correct way
13493 * gst/gstelement.c: (gst_element_pads_activate):
13495 * gst/gstobject.c: (gst_object_set_parent):
13498 2005-10-17 Julien MOUTTE <julien@moutte.net>
13500 * gst/gstvalue.h: Fix prototypes.
13502 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13504 * docs/gst/gstreamer-sections.txt:
13505 * gst/gst.c: (gst_version_string):
13507 * gst/gstversion.h.in:
13508 * win32/common/libgstreamer.def:
13509 add gst_version_string ()
13511 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13515 * gst/gst.c: (init_post):
13516 * win32/common/config.h.in:
13518 * gst/gstcaps.c: (gst_caps_intersect):
13519 use gint64, the range could be bigger than a guint
13521 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13524 document potential problem in 2038
13526 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13528 * gst/gstcaps.c: (gst_caps_intersect):
13529 Fix guint j diving under 0
13531 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13534 * win32/common/config.h:
13535 * win32/common/config.h.in:
13536 check for process.h, declares getpid() on Windows
13538 include process.h if we have it
13539 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13540 * gst/gstmemchunk.h:
13541 fix signedness issues
13542 * win32/common/libgstreamer.def:
13545 2005-10-16 Julien MOUTTE <julien@moutte.net>
13547 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13548 fix. Because of unsigned ints, caps intersection was going nuts and
13549 trying to access structures with G_MAXUINT index. That fixes
13550 videotestsrc ! ffmpegcolorspace ! fakesink
13551 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13554 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13557 use the gettext macro
13558 * gst/elements/gstelements.c:
13560 * gst/indexers/gstindexers.c:
13561 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13562 * win32/common/config.h:
13564 * win32/common/config.h.in:
13565 add the template to generate config.h
13566 * win32/common/gstenumtypes.c:
13567 * win32/common/gstversion.h:
13570 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13572 * gst/gst.c: (gst_version):
13573 * gst/gstversion.h.in:
13576 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13579 Oops, add missing closing bracket.
13581 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13584 use common m4's for argument checking
13586 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13588 * docs/gst/gstreamer-sections.txt:
13590 Add GST_EVENT_TYPE_NAME() macro.
13592 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13595 * gst/gstpluginfeature.c:
13597 privatize more symbols
13599 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13602 add srcdir, builddir includes to GST_ALL_CFLAGS, since
13603 everything that uses GStreamer API should have the includes
13605 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13607 * docs/gst/gstreamer-sections.txt:
13608 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13610 give each value a _get_type, removes the DATA exports
13612 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13616 remove _gst_registry_auto_load, not used anymore
13617 * gst/gstbin.c: (gst_bin_get_type):
13619 * gst/gstelement.c: (gst_element_get_type):
13620 * gst/gstelement.h:
13621 * gst/gstobject.c: (gst_object_get_type):
13623 * gst/gstpad.c: (gst_pad_get_type):
13625 make _get_type functions similar, fixes data export from library
13627 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13630 correctly make conditionals
13631 * gst/elements/Makefile.am:
13632 * gst/elements/gstelements.c:
13633 fix typo causing fdsrc not to build
13635 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13637 * testsuite/Makefile.am:
13638 * testsuite/bytestream/.cvsignore:
13639 * testsuite/bytestream/Makefile.am:
13640 * testsuite/bytestream/filepadsink.c:
13641 * testsuite/bytestream/gstbstest.c:
13642 * testsuite/bytestream/test1.c:
13643 * testsuite/bytestream/testfile1:
13644 * testsuite/caps/normalisation.c:
13645 * testsuite/caps/random.c: (main):
13646 * testsuite/cleanup/.cvsignore:
13647 * testsuite/cleanup/Makefile.am:
13648 * testsuite/cleanup/cleanup1.c:
13649 * testsuite/cleanup/cleanup2.c:
13650 * testsuite/cleanup/cleanup3.c:
13651 * testsuite/cleanup/cleanup4.c:
13652 * testsuite/cleanup/cleanup5.c:
13653 * testsuite/controller/interpolator.c:
13654 * testsuite/debug/printf_extension.c: (main):
13655 * testsuite/elements/tee.c:
13656 * testsuite/negotiation/.cvsignore:
13657 * testsuite/negotiation/Makefile.am:
13658 * testsuite/negotiation/pad_link.c:
13659 * testsuite/pad/Makefile.am:
13660 * testsuite/pad/chainnopull.c:
13661 * testsuite/pad/getnopush.c:
13662 * testsuite/pad/link.c:
13663 * testsuite/refcounting/sched.c: (create_pipeline):
13664 * testsuite/registry/Makefile.am:
13665 * testsuite/registry/gst-print-formats.c:
13666 * testsuite/schedulers/.cvsignore:
13667 * testsuite/schedulers/142183-2.c:
13668 * testsuite/schedulers/142183.c:
13669 * testsuite/schedulers/143777-2.c:
13670 * testsuite/schedulers/143777.c:
13671 * testsuite/schedulers/147713.c:
13672 * testsuite/schedulers/147819.c:
13673 * testsuite/schedulers/147894-2.c:
13674 * testsuite/schedulers/147894.c:
13675 * testsuite/schedulers/Makefile.am:
13676 * testsuite/schedulers/group_link.c:
13677 * testsuite/schedulers/queue_link.c:
13678 * testsuite/schedulers/relink.c:
13679 * testsuite/schedulers/unlink.c:
13680 * testsuite/schedulers/unref.c:
13681 * testsuite/schedulers/useless_iteration.c:
13682 * testsuite/states/bin.c:
13683 clean out/remove some stuff from the testsuite directories
13685 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13688 check for some headers
13689 * gst/elements/Makefile.am:
13690 * gst/elements/gstelements.c:
13691 don't compile fdsrc without sys/socket.h
13692 * gst/indexers/Makefile.am:
13693 * gst/indexers/gstindexers.c: (plugin_init):
13694 don't compile fileindex without mmap
13696 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13703 * check/Makefile.am:
13704 * docs/gst/Makefile.am:
13705 * examples/helloworld/Makefile.am:
13707 * gst/base/Makefile.am:
13708 * gst/check/Makefile.am:
13709 * gst/elements/Makefile.am:
13710 * gst/indexers/Makefile.am:
13711 * gst/parse/Makefile.am:
13712 * libs/gst/controller/Makefile.am:
13713 * libs/gst/dataprotocol/Makefile.am:
13714 * examples/helloworld/helloworld.c: (event_loop):
13715 compile fixes, though it's not being compiled currently
13717 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13719 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13720 Add some simple tests for the new taglist date API.
13722 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13724 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13725 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13726 Beautify 'last-message' output: print 'none' for buffer timestamps
13727 and durations if none is set; improve alignment with next messages.
13729 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13731 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13732 * gst/gstpluginfeature.h:
13733 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13734 * gst/gstregistry.h:
13735 * docs/gst/gstreamer-sections.txt:
13736 Add new API to check plugin feature version requirements.
13738 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13739 Some basic tests for the above.
13741 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13743 * gst/gststructure.c: (gst_structure_to_string):
13744 guard against NULL printf - happens when for example
13745 a message structure with GstClock gets serialized
13747 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13749 * gst/base/gstcollectpads.c: (gst_collectpads_event):
13750 Fix presumable copy'n'pasto.
13752 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13754 * gst/elements/gstfakesrc.h:
13755 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13756 * gst/elements/gsttypefindelement.c:
13757 fix some signedness
13758 * gst/elements/gstfilesink.c: (gst_file_sink_render):
13759 I wonder if this could actually write +2GB files before
13761 2005-10-13 Andy Wingo <wingo@pobox.com>
13763 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13764 Fix Timmeke Waymans bug.
13765 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13766 string of the proper length to gst_caps_from_string. There's a
13767 potential for, before this fix, that this could cause someone
13768 connecting over the network to cause a segfault if the payload is
13769 not NUL-terminated.
13771 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13773 * docs/design/draft-push-pull.txt:
13774 * docs/design/part-overview.txt:
13775 * docs/random/TODO-pre-0.9:
13776 * docs/random/old/ChangeLog.gstreamer:
13777 * gst/base/gstpushsrc.c:
13781 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13783 * gst/glib-compat.c: (gst_flags_get_first_value):
13784 * gst/glib-compat.h:
13785 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13786 (gst_value_compare_double), (gst_value_serialize_flags):
13787 GLib 2.6 g_flags_get_first_value has a bug that triggers an
13790 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13792 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13793 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13795 * tools/gst-launch.c: (event_loop):
13796 print out clock nicely
13798 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13800 * docs/gst/gstreamer-sections.txt:
13801 * gst/gsttaglist.h:
13802 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13803 (gst_tag_list_get_date_index):
13804 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13805 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13807 2005-10-13 Julien MOUTTE <julien@moutte.net>
13809 * gst/base/gstcollectpads.c: (gst_collectpads_event),
13810 (gst_collectpads_chain):
13811 * gst/base/gstcollectpads.h: Handle newsegment and store informations
13814 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13816 * docs/gst/gstreamer-sections.txt:
13819 * tools/gst-inspect.c: (main):
13820 * tools/gst-launch.c: (main):
13821 * tools/gst-run.c: (main):
13822 * tools/gst-xmlinspect.c: (main):
13823 fix GOption context leaks
13826 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13830 * win32/common/config.h:
13832 * win32/vs6/grammar.dsp:
13833 * win32/vs6/libgstelements.dsp:
13834 * win32/vs6/libgstreamer.dsp:
13837 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13839 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13840 * gst/base/gstbasesrc.c: (gst_base_src_query):
13841 fix more guint64<->gdouble conversions
13843 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13846 add win32-update target
13847 * win32/common/gstconfig.h:
13848 * win32/common/gstenumtypes.c:
13849 * win32/common/gstenumtypes.h:
13850 * win32/common/gstversion.h:
13851 add files that visual studio can't generate
13853 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13856 add a win32-update target
13859 2005-10-12 Wim Taymans <wim@fluendo.com>
13861 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13862 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
13863 * gst/gstelement.c: (gst_element_commit_state),
13864 (gst_element_set_state):
13865 Protect flags with proper lock.
13866 unref provided cached clock in dispose.
13868 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13871 * gst/gstminiobject.h:
13873 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
13874 removed unused flags from miniobject
13877 2005-10-12 Wim Taymans <wim@fluendo.com>
13879 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13880 (gst_file_sink_event), (gst_file_sink_render):
13881 Flush before seeking.
13883 2005-10-12 Andy Wingo <wingo@pobox.com>
13885 * gst/gst.c (gst_init_check): Ignore unknown options, as has
13886 always been the case.
13888 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13890 * check/gst/gstbin.c: (GST_START_TEST):
13891 * docs/gst/gstreamer-sections.txt:
13892 * gst/base/gstbasesink.c: (gst_base_sink_init):
13893 * gst/base/gstbasesrc.c: (gst_base_src_init),
13894 (gst_base_src_get_range), (gst_base_src_check_get_range),
13895 (gst_base_src_start), (gst_base_src_stop):
13896 * gst/base/gstbasesrc.h:
13897 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
13898 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13899 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
13903 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
13905 * gst/gstelement.c: (gst_element_is_locked_state),
13906 (gst_element_set_locked_state), (gst_element_commit_state),
13907 (gst_element_set_state):
13908 * gst/gstelement.h:
13909 * gst/gstindex.c: (gst_index_init):
13911 * gst/gstminiobject.h:
13912 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
13913 (gst_object_set_parent):
13915 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
13916 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
13918 * gst/gstpadtemplate.h:
13919 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
13920 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13921 * gst/gstpipeline.h:
13922 * gst/indexers/gstfileindex.c: (gst_file_index_load),
13923 (gst_file_index_commit):
13924 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
13925 * testsuite/pad/link.c: (gst_test_src_init),
13926 (gst_test_filter_init), (gst_test_sink_init):
13927 * testsuite/states/locked.c: (main):
13928 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
13929 moved bitshift from macro to enum definition
13931 2005-10-12 Wim Taymans <wim@fluendo.com>
13933 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
13934 * gst/elements/gstfilesink.c: (gst_file_sink_event),
13935 (gst_file_sink_render):
13936 Some more debugging info.
13938 2005-10-12 Wim Taymans <wim@fluendo.com>
13940 * docs/design/part-states.txt:
13941 * tools/gst-launch.c: (main):
13943 Revert non-intentional change.
13945 2005-10-12 Wim Taymans <wim@fluendo.com>
13947 * check/gst/gstbin.c: (GST_START_TEST):
13948 * check/gst/gstelement.c: (GST_START_TEST):
13949 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
13950 * check/gst/gstghostpad.c: (GST_START_TEST):
13951 * check/gst/gstpipeline.c: (GST_START_TEST):
13952 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13953 * check/states/sinks.c: (GST_START_TEST):
13954 * gst/elements/gsttypefindelement.c: (stop_typefinding):
13955 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13956 (gst_bin_remove_func), (gst_bin_get_state_func),
13957 (gst_bin_recalc_state), (gst_bin_change_state_func),
13959 * gst/gstelement.c: (gst_element_get_state_func),
13960 (gst_element_get_state), (gst_element_abort_state),
13961 (gst_element_commit_state), (gst_element_set_state),
13962 (gst_element_change_state), (gst_element_change_state_func):
13963 * gst/gstelement.h:
13964 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
13965 (gst_pipeline_provide_clock_func):
13966 * gst/gstutils.c: (gst_element_link_pads_filtered):
13967 * tools/gst-launch.c: (main):
13968 * tools/gst-typefind.c: (main):
13969 Use GstClockTime in _get_state() instead of GTimeVal.
13970 Remove old code in gstutils.c
13972 2005-10-12 Andy Wingo <wingo@pobox.com>
13974 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
13977 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
13978 there is no task. Shouldn't affect any code, as nothing in our
13979 plugins checks this return value.
13980 (gst_pad_stop_task): Also take the stream lock if the pad has no
13981 task. Docs updated.
13983 2005-10-12 Wim Taymans <wim@fluendo.com>
13985 * gst/gstpad.c: (pre_activate), (post_activate),
13986 (gst_pad_activate_pull), (gst_pad_activate_push):
13987 Cleanup activation code. Reset old state if
13990 2005-10-12 Wim Taymans <wim@fluendo.com>
13992 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13993 (gst_base_sink_change_state):
13994 No need to prerol after receiving EOS.
13996 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13997 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
13998 * gst/elements/gstidentity.c: (gst_identity_event):
13999 Print events more verbosely.
14001 2005-10-12 Wim Taymans <wim@fluendo.com>
14003 * check/Makefile.am:
14004 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14005 * check/states/sinks2.c:
14006 Moved sinks2 testcode in sinks check.
14008 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14009 (gst_bin_remove_func), (gst_bin_recalc_state),
14010 (gst_bin_change_state_func), (bin_bus_handler):
14011 Fix potential race condition when _get_state() iterated over an
14012 ASYNC element right before it posted a state completion.
14015 Do proper cast here.
14017 * gst/gstevent.c: (gst_event_new_newsegment),
14018 (gst_event_parse_newsegment):
14019 A playback rate of 0.0 is not allowed.
14021 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14023 * win32/common/config.h:
14024 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14025 (_trewinddir), (_ttelldir), (_tseekdir):
14026 * win32/common/dirent.h:
14027 * win32/common/gtchar.h:
14028 * win32/common/libgstbase.def:
14029 * win32/common/libgstreamer.def:
14030 * win32/vs6/grammar.dsp:
14031 * win32/vs6/gst_inspect.dsp:
14032 * win32/vs6/gst_launch.dsp:
14033 * win32/vs6/gstreamer.dsw:
14034 * win32/vs6/libgstbase.dsp:
14035 * win32/vs6/libgstelements.dsp:
14036 * win32/vs6/libgstreamer.dsp:
14037 Visual Studio 6 project files, and a new common directory.
14040 2005-10-11 Wim Taymans <wim@fluendo.com>
14042 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14043 (gst_base_sink_do_sync), (gst_base_sink_query),
14044 (gst_base_sink_change_state):
14045 * gst/base/gstbasesink.h:
14046 Correctly parse newsegment info.
14048 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14050 * gst/gst.c: (init_post):
14051 split plugin paths correctly
14053 2005-10-11 Wim Taymans <wim@fluendo.com>
14055 * check/gst/gstevent.c: (GST_START_TEST):
14056 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14057 (gst_base_sink_change_state):
14058 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14059 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14060 * gst/elements/gstfilesink.c: (gst_file_sink_event):
14061 * gst/gstevent.c: (gst_event_new_newsegment),
14062 (gst_event_parse_newsegment):
14064 Added extra flag to newsegment for future API freeze.
14065 Updated check and base elements.
14067 2005-10-11 Julien MOUTTE <julien@moutte.net>
14069 * gst/base/gstcollectpads.c: (gst_collectpads_init),
14070 (gst_collectpads_add_pad), (gst_collectpads_pop),
14071 (gst_collectpads_event), (gst_collectpads_chain):
14072 * gst/base/gstcollectpads.h: Handle EOS correctly.
14074 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14076 * tools/gst-launch.c: (main):
14077 more null protecting
14079 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14081 * gst/gst-i18n-lib.h:
14082 check for ENABLE_NLS, not GETTEXT_PACKAGE
14083 * gst/gstregistry.c: (gst_registry_add_plugin),
14084 (gst_registry_scan_path_level),
14085 (_gst_registry_remove_cache_plugins):
14086 protect possibly NULL strings
14087 * gst/parse/types.h:
14088 config.h already included before
14089 * tools/gst-inspect.c: (main):
14090 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14091 check for ENABLE_NLS, not GETTEXT_PACKAGE
14092 * tools/gst-launch.c: (main):
14093 check for ENABLE_NLS, not GETTEXT_PACKAGE
14095 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14098 if we don't have glib, fail before testing 2.8
14099 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14100 fix a leak, should fix plugins-base testsuite
14102 2005-10-11 Andy Wingo <wingo@pobox.com>
14104 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14105 take the mode we're going to as an arg. Go head and set the mode
14106 and flushing flags now, so that if the activate function starts a
14107 thread all the flags will be in the right state.
14108 (post_activate): Renamed also. Just handle making sure streaming
14109 finishes for the deactivation case, and setting the deactivated
14111 (gst_pad_set_active): Complain loudly if deactivation fails.
14112 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14113 (gst_pad_activate_push): Adapt to pre/post_activate changes,
14114 remove the terrible hack.
14116 2005-10-11 Wim Taymans <wim@fluendo.com>
14118 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14119 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14120 (gst_bin_recalc_state), (gst_bin_change_state_func),
14121 (gst_bin_dispose), (bin_bus_handler):
14123 Prepare to make current EOS message queue more generic.
14126 * gst/gstevent.c: (gst_event_new_newsegment),
14127 (gst_event_parse_newsegment):
14129 Rename base to stream_time.
14131 * gst/gstmessage.h:
14134 2005-10-11 Wim Taymans <wim@fluendo.com>
14136 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14137 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14138 (gst_bin_change_state_func), (bin_bus_handler):
14140 Work on proper clock selection.
14142 2005-10-11 Edward Hervey <edward@fluendo.com>
14144 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
14145 * libs/gst/controller/gstcontroller.h:
14146 Added GList* version of _remove_properties() in order to be able to wrap
14149 2005-10-11 Wim Taymans <wim@fluendo.com>
14151 * docs/design/part-states.txt:
14154 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14155 (gst_bin_change_state_func), (bin_bus_handler):
14156 Doc updates. Don't distribute the same clock over and over again.
14162 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14163 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14164 (gst_pad_send_event):
14166 Make probe emission threadsafe again.
14167 Register quarks and move _get_name() from utils.
14170 * gst/gstpipeline.c: (gst_pipeline_class_init),
14171 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14172 Only redistribute the clock of it changed.
14174 * gst/gstsystemclock.h:
14179 Moved the _flow_get_name() to GstPad.
14181 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14183 * check/gst-libs/gdp.c: (GST_START_TEST):
14184 * check/gst/gstcaps.c: (GST_START_TEST):
14185 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14186 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14187 (gst_dp_packet_from_caps):
14188 fix more valgrind warnings before turning up the heat
14190 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14192 * gst/parse/grammar.y:
14193 some cleanup before the hacking
14195 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14197 * gst/base/gstbasesrc.c: (gst_base_src_query):
14199 * gst/gstutils.c: (gst_guint64_to_gdouble),
14200 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14202 externalize, basesrc uses it
14203 obviously the implementation needs testing
14205 2005-10-10 Wim Taymans <wim@fluendo.com>
14207 * tests/sched/Makefile.am:
14208 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14209 (make_pipeline3), (make_pipeline4), (print_elem), (main):
14211 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14213 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14214 apparently converting from guint64 to double is not implemented
14217 2005-10-10 Wim Taymans <wim@fluendo.com>
14219 * check/Makefile.am:
14220 * check/generic/states.c: (GST_START_TEST):
14221 * check/gst/gstbin.c: (GST_START_TEST):
14222 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14223 * check/states/sinks.c: (GST_START_TEST):
14224 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14226 Check fixes, use API as stated in design docs, remove hacks.
14228 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14229 (gst_base_sink_change_state):
14230 Catch stopping our task while we're shutting down.
14232 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14233 (gst_bin_remove_func), (gst_bin_get_state_func),
14234 (gst_bin_recalc_state), (gst_bin_change_state_func),
14237 * gst/gstelement.c: (gst_element_init),
14238 (gst_element_get_state_func), (gst_element_abort_state),
14239 (gst_element_commit_state), (gst_element_lost_state),
14240 (gst_element_set_state), (gst_element_change_state),
14241 (gst_element_change_state_func):
14242 * gst/gstelement.h:
14243 New state change algorithm (see #318116)
14245 * gst/gstpipeline.c: (gst_pipeline_class_init),
14246 (gst_pipeline_init), (gst_pipeline_set_property),
14247 (gst_pipeline_get_property), (do_pipeline_seek),
14248 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14249 * gst/gstpipeline.h:
14250 Remove crude state change hacks.
14253 Remove crude hacks.
14255 * tools/gst-launch.c: (main):
14256 Fixes for state change. Needs some more work to fully use the
14259 2005-10-10 Andy Wingo <wingo@pobox.com>
14261 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14263 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14264 this flag, but it's not even in GLib 2.6. Odd. Hack around the
14267 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14269 * gst/gstiterator.c: (gst_iterator_new):
14270 Fix my previous commit: GTypes passed to gst_iterator_new()
14271 can be fundamental types.
14273 2005-10-10 Wim Taymans <wim@fluendo.com>
14275 * gst/gstelement.c: (gst_element_iterate_pad_list),
14276 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14277 (gst_element_iterate_sink_pads):
14278 Use src/sink pads lists for the respective iterators instead
14281 2005-10-10 Andy Wingo <wingo@pobox.com>
14283 Merged in popt removal + GOption addition patch from Ronald, bug
14286 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14287 GstElement macros around, remove popt-related symbols, add goption
14290 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14292 * docs/gst/Makefile.am:
14293 * docs/libs/Makefile.am: No POPT_CFLAGS.
14295 * examples/manual/Makefile.am:
14296 * docs/manual/basics-init.xml: Doc updates with an example.
14298 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14299 (gst_init), (parse_one_option), (parse_goption_arg):
14300 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14301 bit of hand merging and debugging to get the GOption stuff working
14304 * tests/Makefile.am:
14305 * tools/Makefile.am:
14306 * tools/gst-inspect.c: (main):
14307 * tools/gst-launch.c: (main):
14308 * tools/gst-run.c: (main):
14309 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14311 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14313 * gst/gstiterator.c: (gst_iterator_new):
14314 Add assertions to make sure passed GType is likely to really
14315 be a GType (as the compiler won't catch it if the size and
14316 GType arguments get mixed up, see #318447).
14318 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
14320 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14322 * gst/gstbin.c: (gst_bin_iterate_sorted):
14323 Pass GType and size arguments to gst_iterator_new() in the right
14324 order (maybe we should make _new() take the GType as first argument
14325 just like _new_list()?) (#318447).
14328 2005-10-10 Wim Taymans <wim@fluendo.com>
14330 * gst/gstelement.c: (gst_element_finalize):
14331 And free the GStaticRecMutex too
14333 2005-10-10 Andy Wingo <wingo@pobox.com>
14335 * gst/gstelement.c (gst_element_init, gst_element_finalize):
14336 Allocate and free the mutex properly.
14338 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14340 (GstElement): The state_lock is now recursive. Rebuild your
14341 plugins, suckers. Old macros adapted.
14343 * docs/gst/gstreamer-sections.txt: Doc updates.
14346 * gst/gstutils.c (g_static_rec_cond_timed_wait)
14347 (g_static_rec_cond_wait): Ported from state changes patch, while
14348 we wait on bug #317802 to be solved in a well-distributed GLib.
14350 * gst/gstelement.c (gst_element_change_state_func): Renamed from
14351 gst_element_change_state, variable name changes.
14352 (gst_element_change_state): Split out of gst_element_set_state in
14353 preparation for the state change merge. Doesn't pay attention to
14354 the 'transition' argument.
14355 (gst_element_set_state): Updates, hopefully purely cosmetic.
14356 (gst_element_sync_state_with_parent): MT-safety. Ported from the
14357 state change patch.
14358 (gst_element_get_state_func): Renamed from get_state, cosmetic
14361 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14363 * gst/elements/gstelements.c:
14364 * win32/GStreamer.vcproj:
14366 * win32/dirent.c: (_tseekdir):
14367 * win32/gst-inspect.vcproj:
14368 * win32/gst-launch.vcproj:
14369 * win32/gstconfig.h:
14370 * win32/gstelements.vcproj:
14371 * win32/gstenumtypes.c: (gst_object_flags_get_type):
14372 * win32/gstreamer.def:
14373 * win32/msvc71.sln:
14374 updates for the win32 build (patch from Sebastien Moutte)
14376 2005-10-10 Andy Wingo <wingo@pobox.com>
14378 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14379 gst_bin_get_state, cleaned up (but no logic changes).
14380 (bin_element_is_sink): Comment updates.
14381 (sink_iterator_filter): Remove needless cast.
14382 (gst_bin_iterate_sinks): Doc update.
14383 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14384 cleaned up (but no logic changes).
14386 * check/states/sinks.c (test_src_sink): Cleanups from the state
14388 (test_livesrc_sink): Sync on the state.
14390 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14391 the state change patch.
14393 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14396 * check/gst/gstbin.c: Merge in some style fixes and additional
14397 checks from Wim's state change patch.
14399 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14401 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14402 (gst_type_find_helper):
14403 Check whether we have the requested data already in our list of
14404 cached buffers before pulling a new buffer; also make the buffer
14405 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14407 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14412 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14413 don't use long long, it's not portable. Replacing with
14414 gint64 seems to work; let's hope no skeletons fall out of the closet.
14416 2005-10-10 Andy Wingo <wingo@pobox.com>
14418 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14420 2005-10-09 Stefan Kost <ensonic@users.sf.net>
14422 * docs/gst/gstreamer-sections.txt:
14427 * gst/gstmessage.c: (gst_message_parse_state_changed):
14430 more docs, fix compilation
14432 2005-10-09 Philippe Khalaf <burger@speedy.org>
14433 * gst/gstmessage.c:
14434 Fixed a few forgotten variables on previous commit
14436 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
14438 * gst/base/gsttypefindhelper.c: (helper_find_peek):
14439 Fix evil typefind crasher: getrange() might return a short
14440 buffer at the end of a file, but gst_type_find_peek() must
14441 either return the full data as requested or NULL, but
14442 never a short buffer.
14444 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
14446 * gst/gstmessage.c: (gst_message_new_state_changed),
14447 (gst_message_parse_state_changed):
14448 * gst/gstmessage.h:
14449 don't use "new", it's a C++ keyword
14451 2005-10-08 Wim Taymans <wim@fluendo.com>
14453 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14454 * gst/gstelement.c: (gst_element_post_message):
14455 * gst/gstpipeline.c: (gst_pipeline_change_state):
14456 Small docs and debug updates.
14458 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14460 * docs/gst/gstreamer-sections.txt:
14461 * gst/gstelementfactory.c:
14463 * gst/gsttaglist.c:
14466 2005-10-08 Wim Taymans <wim@fluendo.com>
14468 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14469 (gst_bin_dispose), (bin_bus_handler):
14470 Fix typos, add comments.
14471 Clear EOS list when going to PAUSED from any direction and do it
14472 in a threadsafe way.
14473 Get base time in a threadsafe way too.
14474 Fix confusing debug in the change_state function.
14475 Various other small cleanups.
14477 * gst/gstelement.c: (gst_element_post_message):
14478 Fix very verbose bus posting code.
14480 * gst/gstpipeline.c: (gst_pipeline_class_init),
14481 (gst_pipeline_set_property), (gst_pipeline_get_property),
14482 (gst_pipeline_change_state):
14483 Small ARG_ -> PROP_ cleanup
14485 2005-10-08 Wim Taymans <wim@fluendo.com>
14487 * gst/gstbin.c: (is_eos), (bin_bus_handler):
14488 Do a less CPU demanding EOS check because we can.
14490 2005-10-08 Wim Taymans <wim@fluendo.com>
14492 * libs/gst/dataprotocol/dataprotocol.c:
14493 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14494 (gst_dp_packet_from_event):
14495 * libs/gst/dataprotocol/dataprotocol.h:
14496 * libs/gst/dataprotocol/dp-private.h:
14497 It's about time we bump the version number.
14498 Since event types don't fit in the guint8 anymore describing
14499 the payload type, make payload type 16 bits wide.
14501 2005-10-08 Wim Taymans <wim@fluendo.com>
14503 * docs/design/part-TODO.txt:
14504 * docs/design/part-clocks.txt:
14505 * docs/design/part-events.txt:
14506 * docs/design/part-gstbin.txt:
14507 * docs/design/part-gstelement.txt:
14508 * docs/design/part-gstpipeline.txt:
14509 * docs/design/part-live-source.txt:
14510 * docs/design/part-messages.txt:
14511 * docs/design/part-overview.txt:
14512 * docs/design/part-states.txt:
14515 2005-10-08 Wim Taymans <wim@fluendo.com>
14519 Fix event quark registration.
14520 Add some space between events so we can insert them in the
14523 2005-10-08 Wim Taymans <wim@fluendo.com>
14525 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14526 (gst_base_sink_handle_buffer):
14527 Better log message.
14530 * gst/gstelement.h:
14533 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14534 (gst_queue_set_property), (gst_queue_get_property):
14536 Remove old unused properties.
14538 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14539 * docs/gst/gstreamer-sections.txt:
14540 * gst/gstmessage.c:
14541 * gst/gstmessage.h:
14542 * gst/gstminiobject.c:
14543 * gst/gstminiobject.h:
14547 lots of new docs and doc fixes
14549 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14551 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14553 * gst/gstregistry.c: (gst_registry_lookup_locked),
14554 (gst_registry_scan_path_level):
14555 * gst/gstregistryxml.c: (load_plugin):
14556 Only ever load one plugin for a given plugin basename.
14557 This ensures correct overriding of GST_PLUGIN_PATH over
14558 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14559 system installed plugins.
14561 2005-10-08 Wim Taymans <wim@fluendo.com>
14563 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14564 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14565 Prepare for doing QOS.
14567 2005-10-08 Wim Taymans <wim@fluendo.com>
14569 * check/gst/gstbin.c: (GST_START_TEST):
14570 * check/pipelines/cleanup.c: (GST_START_TEST):
14571 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14572 Allow new clock message too.
14574 2005-10-08 Wim Taymans <wim@fluendo.com>
14576 * gst/gstmessage.c: (gst_message_new_error),
14577 (gst_message_new_warning), (gst_message_new_tag),
14578 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14579 (gst_message_new_clock_lost), (gst_message_new_new_clock),
14580 (gst_message_new_segment_start), (gst_message_new_segment_done),
14581 (gst_message_parse_state_changed),
14582 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14583 (gst_message_parse_new_clock):
14584 * gst/gstmessage.h:
14585 Also carry the clock in question.
14587 2005-10-08 Wim Taymans <wim@fluendo.com>
14589 * gst/gstmessage.c: (gst_message_new_custom),
14590 (gst_message_new_eos), (gst_message_new_error),
14591 (gst_message_new_warning), (gst_message_new_tag),
14592 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14593 (gst_message_new_new_clock), (gst_message_new_segment_start),
14594 (gst_message_new_segment_done), (gst_message_parse_state_changed),
14595 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14596 * gst/gstmessage.h:
14598 Added clock related messages.
14600 * gst/gstpipeline.c: (gst_pipeline_change_state):
14601 Post message when the clock changed.
14603 * tools/gst-launch.c: (event_loop):
14606 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
14608 * tools/gst-inspect.c: (print_element_properties_info):
14609 Can't pass NULL strings to g_print() on windows.
14611 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14613 * docs/Makefile.am:
14614 * docs/gst/Makefile.am:
14615 * docs/gst/gstreamer-docs.sgml:
14616 * docs/gst/running.xml:
14617 * docs/version.entities.in:
14618 add a chapter on running GStreamer.
14619 document GST_DEBUG and GST_PLUGIN* env vars
14621 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14626 remove PLUGINS_BUILDDIR stuff
14627 * gst/gst.c: (init_post):
14628 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14630 remove, it was condescending and not needed
14632 2005-10-08 Wim Taymans <wim@fluendo.com>
14634 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14635 (gst_base_sink_handle_object), (gst_base_sink_event),
14636 (gst_base_sink_wait), (gst_base_sink_handle_event),
14637 (gst_base_sink_change_state):
14638 * gst/base/gstbasesink.h:
14639 Repost EOS message while going to PLAYING if still EOS.
14640 Make sure that when receiving a FLUSH_START we don't attempt
14641 to sync on the clock anymore.
14643 2005-10-08 Wim Taymans <wim@fluendo.com>
14645 * tools/gst-launch.c: (event_loop):
14646 Better message printout.
14648 2005-10-08 Wim Taymans <wim@fluendo.com>
14650 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14651 (gst_bin_child_proxy_get_children_count):
14652 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14653 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14654 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14655 (gst_child_proxy_set_valist):
14656 * gst/parse/grammar.y:
14657 Make ChildProxy threadsafe and fix mem leaks.
14659 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14661 * gst/gst.c: (init_post):
14662 debug the GST_PLUGIN_ env vars
14664 2005-10-08 Wim Taymans <wim@fluendo.com>
14666 * check/gst/gstbin.c: (GST_START_TEST):
14667 * check/gst/gstmessage.c: (GST_START_TEST):
14668 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14669 * gst/gstelement.c: (gst_element_commit_state),
14670 (gst_element_lost_state):
14671 * gst/gstmessage.c: (gst_message_new_state_changed),
14672 (gst_message_parse_state_changed):
14673 * gst/gstmessage.h:
14674 * tools/gst-launch.c: (event_loop):
14675 Added extra field to STATE_CHANGE message with the pending
14676 state, which will be different from the new state soon.
14678 2005-10-08 Wim Taymans <wim@fluendo.com>
14680 * gst/gstbus.c: (gst_bus_pop):
14682 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14683 Small cleanups and doc updates.
14685 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14687 * gst/gst.c: (init_pre):
14688 * gst/gstbin.c: (gst_bin_add_func):
14689 log distributing clocks and base time
14690 * gst/gstregistry.c: (gst_registry_add_plugin),
14691 (gst_registry_scan_path_level), (gst_registry_scan_path):
14692 clean up the debugging output a little
14693 * gst/gstutils.c: (gst_element_state_get_name):
14694 warn about a memleak (I've actually seen this be used, though
14695 it was probably a bug)
14697 2005-10-07 Wim Taymans <wim@fluendo.com>
14699 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14700 (gst_base_src_init), (gst_base_src_default_newsegment),
14701 (gst_base_src_newsegment), (gst_base_src_do_seek),
14702 (gst_base_src_loop), (gst_base_src_start):
14703 * gst/base/gstbasesrc.h:
14704 Make the newsegment event customizable by subclasses.
14706 2005-10-07 Wim Taymans <wim@fluendo.com>
14708 * gst/gstevent.c: (gst_event_new_buffersize),
14709 (gst_event_parse_buffersize):
14711 New event for future idea.
14713 2005-10-07 Andy Wingo <wingo@pobox.com>
14715 * gst/gstelement.c (gst_element_post_message): Doc update.
14717 * docs/gst/gstreamer-sections.txt: Update.
14719 * gst/gstmessage.c (gst_message_new_application): Made into a
14720 function like honest API calls.
14721 (gst_message_new_element): New message type.
14723 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14725 * check/elements/fakesrc.c (test_no_preroll): New check, checks
14726 that setting a live fakesrc to PAUSED returns NO_PREROLL both
14729 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14730 NO_PREROLL from gst_element_change_state to fall through.
14732 2005-10-07 Wim Taymans <wim@fluendo.com>
14734 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14735 (gst_ghost_pad_do_activate_push):
14736 Activating a ghostpad with no internal pad in push mode
14739 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
14742 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14743 Fixes compilation on Windows.
14745 2005-10-07 Michael Smith <msmith@fluendo.com>
14747 * tools/gst-inspect.c:
14748 Print out feature and plugin count at the end when printing out
14751 2005-10-04 Michael Smith <msmith@fluendo.com>
14753 * gst/gsterror.c: (_gst_stream_errors_init):
14754 Add another error string used in a few existing plugins.
14757 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14758 * tools/gst-inspect.c: (print_element_info):
14759 When a feature disappears from a plugin (and the feature exists in
14760 the cached registry file), things went horribly wrong. This isn't a
14761 complete fix, we should actually be removing the 'missing' features
14762 from the features list when we load the actual plugin. That's not
14765 2005-10-04 Johan Dahlin <johan@gnome.org>
14767 * check/gst/gstiterator.c: (GST_START_TEST):
14768 * gst/gstbin.c: (gst_bin_iterate_elements),
14769 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14770 * gst/gstelement.c: (gst_element_iterate_pads):
14771 * gst/gstformat.c: (gst_format_iterate_definitions):
14772 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14773 (gst_iterator_new_list), (gst_iterator_filter):
14774 * gst/gstiterator.h:
14775 * gst/gstquery.c: (gst_query_type_iterate_definitions):
14776 Add a GType to GstIterator, update callsites and tests.
14778 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14780 * gst/gstpad.c: (gst_pad_event_default_dispatch):
14781 give events a chance to be handled by event probes when the pad
14784 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14786 * gst/gstevent.c: (gst_event_type_get_name),
14787 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14789 add string representations for event types
14791 2005-10-06 Wim Taymans <wim@fluendo.com>
14793 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14794 Don't use NULL pointers.
14796 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14798 * gst/gst_private.h:
14800 * gst/gstelement.c:
14802 * gst/gstpluginfeature.c:
14803 widen the debug category in output to fit the biggest one we have
14804 add a bus category and use it
14805 play with the colors
14806 fix up some categories
14808 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14810 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14811 add push activation of sink ghost pads.
14812 Andye, please verify
14814 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14816 * gst/gstutils.c: (gst_element_link_pads):
14817 fix a bug in the case where neither element has a pad
14818 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14819 add a test for that case
14821 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14823 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14824 emit have-data before checking for peers. This allows
14825 for probe handlers to connect elements. This helps autopluggers.
14826 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14828 add six checks, linked/unlinked with no/true/false probe
14830 2005-10-04 Wim Taymans <wim@fluendo.com>
14832 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14833 (gst_fake_sink_event), (gst_fake_sink_preroll),
14834 (gst_fake_sink_render), (gst_fake_sink_change_state):
14835 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14836 (gst_fake_src_get_property), (gst_fake_src_create),
14837 (gst_fake_src_stop):
14838 * gst/elements/gstidentity.c: (gst_identity_stop):
14839 Protect last_message with lock.
14841 2005-10-04 Edward Hervey <edward@fluendo.com>
14844 Added precision in the comments for GST_FORMAT_DEFAULT
14846 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
14848 * tools/gst-launch.c: (main):
14849 Don't try to run erroneous pipelines.
14851 2005-10-04 Julien MOUTTE <julien@moutte.net>
14853 * gst/gstbus.c: We don't need this header.
14855 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14858 back to development
14860 === release 0.9.3 ===
14862 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14866 Releasing 0.9.3, "Unregistered"
14868 2005-10-03 Andy Wingo <wingo@pobox.com>
14870 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
14871 whereby calling a pad's activatepush() function can start a thread
14872 that starts to push or pull before the pad gets the FLUSHING flag
14873 unset. Hack around it by holding the stream lock until the flag is
14874 set. Need to replace this with a proper solution. Together with
14875 the ghost pad fixes, this fixes mp3 playing/tagreading.
14877 * docs/design/part-gstghostpad.txt: Add a note about activation of
14878 proxy pads outside of ghost pads.
14880 * gst/gstghostpad.c: Implement the ghost pad activation design.
14882 2005-10-02 Andy Wingo <wingo@pobox.com>
14884 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
14885 It is volatile, after all.
14887 * docs/design/part-gstghostpad.txt: Flesh out activation with
14890 * gst/base/gstbasesrc.c (gst_base_src_init): Use
14893 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
14896 Fix (unused) AM_CONDITIONAL tests.
14898 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
14900 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14902 * gst/gstutils.c: (gst_pad_query_convert):
14903 Add assertion that makes sure src_val is >=0, just like
14904 gst_query_new_convert() has. (#315895)
14906 2005-09-30 Edward Hervey <edward@fluendo.com>
14908 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
14909 Let's not iterate pads we're not interested in, it avoids getting
14910 sky-high refcounts on sinkpad.
14912 2005-09-30 Wim Taymans <wim@fluendo.com>
14914 * gst/gstelement.c: (gst_element_set_state),
14915 (gst_element_change_state):
14916 Small tweak, element in ASYNC remains ASYNC.
14918 2005-09-30 Wim Taymans <wim@fluendo.com>
14920 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14921 Only error is an error.
14923 * gst/gstbin.c: (gst_bin_change_state):
14926 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
14927 Also call pad_block in pad alloc.
14929 * gst/gstutils.c: (gst_flow_get_name):
14932 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14934 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14935 (gst_base_src_get_range):
14936 Fix documentation typos. Add some more debug info.
14938 2005-09-29 David Schleef <ds@schleef.org>
14940 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
14941 more end-user friendly.
14942 * tools/gst-inspect.c: (main): Check if command-line argument is
14943 a file and attempt to load that file as a plugin.
14945 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14947 * check/gst/gstbin.c:
14948 * check/states/sinks.c:
14949 fix tests for the new warning
14950 * check/gst/gstpipeline.c:
14951 add a test for pipeline and bus interaction
14952 * gst/gstelement.c:
14953 elements should be NULL if they get disposed; add a warning if not
14955 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14958 for 2.6 refcounting, make debug log more correct by printing
14959 the actual refcounts at the time of swap (Wim)
14961 2005-09-29 Andy Wingo <wingo@pobox.com>
14963 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
14964 removes signal watches previously added via
14965 gst_bus_add_signal_watch.
14966 (gst_bus_add_signal_watch): Don't return the source id, just store
14967 it on the bus if there wasn't an id already.
14969 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
14970 add_signal_watch and remove_signal_watch.
14972 2005-09-29 Edward Hervey <edward@fluendo.com>
14974 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
14975 Better if we actually iterate the list :)
14977 2005-09-29 Wim Taymans <wim@fluendo.com>
14979 * check/gst/gstbin.c: (GST_START_TEST):
14980 Change for new bus API.
14982 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
14983 (send_messages), (GST_START_TEST), (gstbus_suite):
14984 Change for new bus signal API.
14986 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
14987 (gst_bus_source_prepare), (gst_bus_source_check),
14988 (gst_bus_create_watch), (gst_bus_add_watch_full),
14989 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
14990 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
14992 Remove support for multiple GSources operating on different
14993 message types as it is too complex and unneeded when using
14995 Added support for receiving signals from the bus.
14997 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14999 * docs/libs/tmpl/gstdataprotocol.sgml:
15000 * docs/manual/advanced-dataaccess.xml:
15001 * gst/elements/gstcapsfilter.c:
15003 rename filter-caps to caps property
15005 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15007 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15008 More robust fraction string parsing.
15010 * docs/pwg/appendix-porting.xml:
15011 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15013 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15015 * gst/gstcaps.c: (gst_caps_do_simplify):
15016 Thou shalt not free a structure and then continue using it
15017 in the next loop iteration.
15019 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15021 Add test case for caps simplification.
15023 2005-09-29 Wim Taymans <wim@fluendo.com>
15025 * check/gst/gstbin.c: (GST_START_TEST):
15028 2005-09-29 Wim Taymans <wim@fluendo.com>
15030 * check/gst/gstbin.c: (GST_START_TEST):
15033 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15034 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15035 (find_element), (gst_bin_sort_iterator_next),
15036 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15037 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15038 (gst_bin_change_state), (gst_bin_dispose):
15039 A bin does not have a bus, it gets the bus from the parent.
15041 * gst/gstelement.c: (gst_element_requires_clock),
15042 (gst_element_provides_clock), (gst_element_is_indexable),
15043 (gst_element_is_locked_state), (gst_element_change_state),
15044 (gst_element_set_bus_func):
15047 * gst/gstpipeline.c: (gst_pipeline_class_init),
15048 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15049 The pipeline provides a bus.
15051 2005-09-28 Johan Dahlin <johan@gnome.org>
15053 * gst/gstmessage.c (gst_message_parse_state_changed): Use
15054 gst_structure_get_enum instead of gst_structure_get_int
15056 * gst/gststructure.c (gst_structure_get_enum): Impl.
15058 * gst/gststructure.h (gst_structure_get_enum): Add
15060 * docs/gst/gstreamer-sections.txt: Ditto
15062 * gst/gstmessage.c (gst_message_new_state_changed): Use
15063 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15064 which does introspection.
15065 Reviewed by Christian Schaller
15067 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15069 * gst/gstinfo.c: (gst_debug_log_default):
15070 don't do dummy g_strdup()s
15071 * libs/gst/controller/gstcontroller.c:
15072 (on_object_controlled_property_changed),
15073 (gst_controlled_property_new), (gst_controller_new_valist),
15074 (gst_controller_new_list),
15075 (gst_controller_remove_properties_valist), (gst_controller_set),
15076 (gst_controller_get), (gst_controller_sync_values),
15077 (gst_controller_get_value_array), (_gst_controller_class_init),
15078 (gst_controller_get_type):
15079 * libs/gst/controller/gstcontroller.h:
15080 * libs/gst/controller/gstinterpolation.c:
15081 (gst_controlled_property_find_timed_value_node):
15082 convert // to /**/ comments
15084 2005-09-28 Wim Taymans <wim@fluendo.com>
15086 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15087 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15088 (gst_bus_sync_signal_handler):
15090 Added async-message and sync-message signals to the bus.
15091 Added helper BusFunc to emit signals for all posted messages.
15093 * gst/gstmessage.c: (gst_message_type_get_name),
15094 (gst_message_type_to_quark), (gst_message_get_type):
15095 * gst/gstmessage.h:
15096 Register quarks for message names.
15098 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15100 * docs/libs/gstreamer-libs-sections.txt:
15101 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15102 (gst_controller_new_list):
15103 * libs/gst/controller/gstcontroller.h:
15104 added another constructor for language bindings
15106 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
15108 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15112 * gst/gstinfo.c: (_gst_debug_init):
15113 slightly more readable color for refcount debugging
15115 2005-09-28 Wim Taymans <wim@fluendo.com>
15117 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15118 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15119 (find_element), (gst_bin_sort_iterator_next),
15120 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15121 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15122 (gst_bin_change_state), (gst_bin_dispose):
15123 Small doc fixes. get_clock -> provide_clock.
15125 * gst/gstelement.c: (gst_element_class_init),
15126 (gst_element_provides_clock), (gst_element_provide_clock),
15127 (gst_element_get_clock), (gst_element_commit_state),
15128 (gst_element_lost_state):
15129 * gst/gstelement.h:
15130 Make get/set_clock() symetric. Add provide_clock vmethod since
15131 that is actually what this function does.
15133 * gst/gstpipeline.c: (gst_pipeline_class_init),
15134 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15135 (gst_pipeline_get_clock):
15136 get_clock -> provide_clock.
15138 2005-09-28 Andy Wingo <wingo@pobox.com>
15140 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15141 lieu of real docs...
15143 * gst/elements/gstfdsrc.c: Cleaned up a bit.
15145 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
15147 * gst/elements/gstcapsfilter.c:
15148 * gst/elements/gstfakesink.c:
15149 * gst/elements/gstfakesrc.c:
15150 * gst/elements/gstfdsink.c:
15151 * gst/elements/gstfdsrc.c:
15152 * gst/elements/gstfilesink.c:
15153 * gst/elements/gstfilesrc.c:
15154 * gst/elements/gstidentity.c:
15155 * gst/elements/gsttee.c:
15156 * gst/elements/gsttypefindelement.c:
15157 Make element details static.
15159 2005-09-28 Wim Taymans <wim@fluendo.com>
15161 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15162 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15163 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15164 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15165 (gst_bin_change_state), (gst_bin_dispose):
15166 Some documentation updates.
15167 Clean up dispose handlers.
15169 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15170 * gst/gstpad.c: (gst_pad_dispose):
15171 Clean up dispose handler.
15173 * gst/gstpipeline.c: (gst_pipeline_change_state):
15174 Removed spurious UNLOCK.
15176 2005-09-27 Stefan Kost <ensonic@users.sf.net>
15178 * docs/gst/gstreamer-sections.txt:
15179 * gst/base/gstbasesrc.h:
15180 * gst/gstelement.h:
15184 * gst/gstpipeline.c:
15185 * gst/gstpipeline.h:
15188 added two new functions to the docs
15189 documents all undocumented GstXXXFlags
15190 completed some incomplete docs
15192 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
15194 * gst/gstbin.c: (gst_bin_dispose):
15195 * gst/gstelement.c: (gst_element_dispose):
15196 remove now useless and leaky resurrection code in dispose
15197 * gst/base/gstbasesrc.c: (gst_base_src_init):
15198 * gst/gstelementfactory.c: (gst_element_factory_create):
15199 * gst/gstobject.c: (gst_object_set_parent):
15202 2005-09-27 Wim Taymans <wim@fluendo.com>
15204 * docs/design/part-TODO.txt:
15207 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15208 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15209 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15210 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15211 (gst_bin_change_state):
15212 * gst/gstelement.h:
15213 Remove element variable, we keep element info in the iterator now.
15215 2005-09-27 Andy Wingo <wingo@pobox.com>
15217 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15220 2005-09-27 Wim Taymans <wim@fluendo.com>
15222 * check/gst/gstbin.c: (GST_START_TEST):
15223 Enable check that works now.
15225 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15226 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15227 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15228 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15229 (gst_bin_change_state):
15231 Redid the state change algorithm using a topological sort algo.
15232 Handles all cases correctly.
15233 Exposed iterator for state change order.
15235 * gst/gstelement.h:
15236 Temp storage for state changes. Need to get rid of this soon.
15238 2005-09-27 Wim Taymans <wim@fluendo.com>
15240 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15241 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15242 (link_fold_func), (gst_pad_proxy_setcaps):
15243 Leak fixes, the fold functions need to unref the passed object and
15244 _get_parent_*() returns ref to parent.
15246 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15248 * check/gst/gstbuffer.c: (test_make_writable):
15249 Plug leak in test case and fix 'make check-valgrind'
15251 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15253 * gst/gstbuffer.c: (gst_subbuffer_init):
15254 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15255 works correctly in all circumstances (we could have just copied
15256 the parent buffer's readonly flag, but conceptually it seems
15257 cleaner to mark all subbuffers as read-only). (based on patch
15258 by Alessandro Decina, #314710).
15260 * check/gst/gstbuffer.c: (create_read_only_buffer),
15261 (test_make_writable), (test_subbuffer_make_writable),
15263 Add some tests for gst_buffer_make_writable().
15265 2005-09-27 Wim Taymans <wim@fluendo.com>
15267 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15268 use gst_object_has_ancestor().
15270 * gst/gstobject.c: (gst_object_has_ancestor):
15272 gst_object_has_ancestor() copied from gstbin.c as it is a
15275 * tests/instantiate/create.c: (create_all_elements):
15276 * tests/lat.c: (handoff_src), (handoff_sink):
15277 * tests/sched/runxml.c: (main):
15278 * tests/seeking/seeking1.c: (main):
15279 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15281 Fix compilation of some tests.
15283 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15286 Remove comment. GST_TYPE_G_ERROR is here to stay,
15287 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15288 (#316961, #300610).
15290 2005-09-26 Wim Taymans <wim@fluendo.com>
15292 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15293 Added check that shows error in state change order.
15295 2005-09-26 Wim Taymans <wim@fluendo.com>
15297 * gst/gstbin.c: (gst_bin_change_state):
15298 Make state change function use 3 queues again, we were
15299 adding elements in the wrong order.
15301 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15304 * gst/gstpad.c: (gst_pad_dispose):
15305 Added some debug info first.
15307 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
15309 * docs/design/draft-push-pull.txt:
15310 * docs/design/part-events.txt:
15311 * docs/design/part-overview.txt:
15312 * docs/design/part-scheduling.txt:
15313 Replace all _pull_region() with _pull_range()
15315 2005-09-26 Andy Wingo <wingo@pobox.com>
15317 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15319 * check/gst-libs/controller.c: Update for controller api change.
15322 * tests/Makefile.am:
15323 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15324 over by GLib bug 118439.
15326 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15327 routines to a function.
15329 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15331 * libs/gst/controller/gsthelper.c:
15332 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15333 (gst_object_sync_values): Renamed from sink_values. Ugh.
15335 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15337 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15338 Renamed from controller_key, as it is exported.
15340 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15342 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
15347 * gst/gstpadtemplate.h:
15350 * gst/gstqueryutils.c:
15351 * gst/gstqueryutils.h:
15352 remove queryutils headers after moving the two used functions
15353 to gstquery. also fixes build problem for gstsiddec
15355 2005-09-26 Michael Smith <msmith@fluendo.com>
15357 * tools/gst-launch.1.in:
15358 Correct documentation in manpage of debug syntax
15360 2005-09-26 Wim Taymans <wim@fluendo.com>
15362 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15363 (gst_base_src_is_seekable), (gst_base_src_change_state):
15364 Some more debugging info.
15366 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15368 * docs/gst/gstreamer-sections.txt:
15369 * gst/base/gstbasetransform.h:
15373 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15375 * docs/gst/.cvsignore:
15376 * docs/gst/tmpl/.cvsignore:
15377 * docs/gst/tmpl/gstpipeline.sgml:
15378 * docs/gst/tmpl/gstplugin.sgml:
15379 * gst/gstpipeline.c:
15382 inlined the last two docs files
15383 removed the tmpl directory from cvs (no more conflicts here!)
15385 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15387 * docs/gst/gstreamer-sections.txt:
15388 * docs/gst/tmpl/.cvsignore:
15389 * docs/gst/tmpl/gstpad.sgml:
15390 * docs/gst/tmpl/gstpadtemplate.sgml:
15392 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15393 (gst_pad_finalize), (gst_pad_set_pad_template):
15395 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15396 (gst_pad_template_class_init), (gst_pad_template_init),
15397 (gst_pad_template_dispose), (name_is_valid),
15398 (gst_static_pad_template_get), (gst_pad_template_new),
15399 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15400 (gst_pad_template_pad_created):
15401 * gst/gstpadtemplate.h:
15402 inlined two more docs
15403 factored gstpadtemplate out of gstpad
15405 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
15407 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15408 (test_children_state_change_order_semi_sink):
15409 Fix test case: we can't rely on a fixed state change order when
15410 going from READY => PAUSED because the sink might commit its
15411 new state first when the first buffer created by the source
15412 reaches the sink before the source has finished its change state.
15413 (Test case still fails at times, see #316856, comment 5 onwards)
15415 2005-09-24 Wim Taymans <wim@fluendo.com>
15417 * docs/design/part-events.txt:
15418 * docs/design/part-gstbus.txt:
15419 * docs/design/part-gstpipeline.txt:
15420 * docs/design/part-messages.txt:
15421 * docs/design/part-overview.txt:
15422 * docs/design/part-segments.txt:
15426 * gst/gstelement.c:
15429 * gst/gstiterator.c:
15430 Various documentation updates.
15432 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
15435 Well, that's embarassing. Luckily we weren't using
15436 GST_CLOCK_DIFF anywhere.
15438 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15440 * common/gtk-doc.mak:
15441 don't fail on building XML, FC4 slave shows a bunch of doc
15442 missing bits that I don't get
15444 * gst/gstpipeline.c:
15445 * gst/gststructure.c:
15448 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15450 * docs/design/part-gstbin.txt:
15451 * docs/design/part-gstbus.txt:
15453 Add blurb about how the bus goes into flushing mode and
15454 drops all messages when its bin goes from READY into NULL
15457 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15459 * docs/gst/gstreamer-sections.txt:
15460 * gst/gststructure.c: (gst_structure_get_clock_time):
15461 * gst/gststructure.h:
15462 add a method to get a GstClockTime out of a structure
15464 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15466 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15467 (test_children_state_change_order_semi_sink), (gst_bin_suite):
15468 Added test to check state change order in bins (can still be made
15469 to fail here under heavy disk load; bails out with 'Push on pad
15470 fakesink:sink0, but it was not activated in push mode').
15472 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15473 Fix state change order when there is only a semi sink (#316856)
15475 * gst/gstbus.c: (gst_bus_class_init):
15476 Use _class_peek_parent(), not _class_ref(); fix docs to say
15477 'default main context' instead of 'mainloop' where that is
15480 * gst/gstelement.c: (gst_element_commit_state),
15481 (gst_element_set_state):
15482 Fix typos in debug messages
15484 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15487 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15488 * gst/gstpluginfeature.c:
15490 various doc updates
15491 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15492 change an assert into an error until it gets fixed properly
15494 2005-09-23 Stefan Kost <ensonic@users.sf.net>
15496 * docs/gst/gstreamer-sections.txt:
15497 * docs/gst/tmpl/.cvsignore:
15498 * docs/gst/tmpl/gstelement.sgml:
15499 * docs/gst/tmpl/gstinfo.sgml:
15500 * docs/gst/tmpl/gstobject.sgml:
15501 * gst/gstelement.c:
15502 * gst/gstelement.h:
15505 * gst/gstobject.c: (gst_object_class_init):
15507 inlined 3 more biiiig doc files and added some missing docs on the fly
15509 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15511 * check/gst/.cvsignore:
15512 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15513 * gst/gstregistryxml.c: (load_plugin),
15514 (gst_registry_xml_save_plugin):
15515 put back source in registry. add checks for find_plugin.
15516 * testsuite/states/bin.c: (assert_state), (empty_bin),
15517 (test_adding_one_element), (main):
15518 * testsuite/states/locked.c: (main):
15519 some compile/run fixes
15521 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
15523 * check/gst/gstvalue.c: (GST_START_TEST):
15524 fix leaks in the test itself
15526 2005-09-22 Wim Taymans <wim@fluendo.com>
15528 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15529 (gst_base_sink_send_event), (gst_base_sink_peer_query),
15530 (gst_base_sink_query):
15531 Prepare for more accurate position reporting and query
15534 * gst/gstelement.c: (gst_element_send_event),
15535 (gst_element_set_state):
15538 2005-09-22 Wim Taymans <wim@fluendo.com>
15540 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15541 (gst_query_parse_segment):
15543 More documentation.
15544 Add segment query for future use.
15546 2005-09-22 Wim Taymans <wim@fluendo.com>
15548 * gst/gstbin.c: (gst_bin_add_func):
15549 Some more debug info.
15551 * gst/gstelement.c: (gst_element_send_event):
15552 Simplify send_event
15554 * gst/gstelement.h:
15555 Don't know how flags got broken.
15560 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15562 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15563 Add simplistic test suite for GST_TYPE_DATE serialisation and
15566 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15568 * docs/gst/gstreamer-sections.txt:
15569 * gst/gststructure.c: (gst_structure_set_valist),
15570 (gst_structure_get_date):
15571 * gst/gststructure.h:
15572 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15573 (gst_date_copy), (gst_value_compare_date),
15574 (gst_value_serialize_date), (gst_value_deserialize_date),
15575 (gst_value_transform_date_string),
15576 (gst_value_transform_string_date), (_gst_value_initialize):
15578 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15579 bunch of utility functions along with a hack that checks that
15580 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15581 is required. Part of the grand scheme in #170777.
15583 2005-09-22 Andy Wingo <wingo@pobox.com>
15585 * gst/gstconfig.h.in: Psych out gtk-doc.
15587 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15589 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15591 * tools/gst-inspect.c (print_element_list): Plug some
15592 inconsequential leaks.
15594 * gst/gstregistry.c (gst_registry_get_default): Doc.
15596 * check/gst/gstplugin.c:
15597 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15598 * gst/gstelementfactory.c (gst_element_factory_create):
15599 * gst/gstindexfactory.c (gst_index_factory_create): Update for
15602 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15603 (gst_plugin_feature_load): Doc, don't eat refs.
15605 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15606 (gst_plugin_list_free): Doc.
15607 (gst_plugin_load_file): Doc updates.
15609 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15610 accessors returning refcounted objects, return a ref.
15612 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15613 accessor for caps. IDEMPOTENCE. Oh yes.
15615 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
15617 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15619 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15620 (_gst_debug_register_funcptr):
15621 Add mutex to serialise access to the hash table with
15622 the function pointer => function name string mapping;
15623 make that hash table static scope (#316809).
15625 * gst/registries/.cvsignore:
15626 Remove left-over file.
15628 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15630 * docs/pwg/appendix-porting.xml:
15631 And something about newsegment events and caps-on-buffers to
15632 the porting guide (feel free to improve).
15634 2005-09-21 Andy Wingo <wingo@pobox.com>
15636 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15637 data and event probes on the same pad.
15638 (test_buffer_probe_once): Test that removing probes from within
15639 the probe functions works.
15641 2005-09-21 Andy Wingo <wingo@pobox.com>
15643 * check/gst/gstutils.c: New file.
15644 (test_buffer_probe_n_times): A simple buffer probe test. More to
15647 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15648 have-data::buffer, not have-data.
15649 (gst_pad_add_event_probe): Likewise for have-data::event.
15650 (gst_pad_add_data_probe): More docs. The part about 'resolving the
15651 peer' isn't quite right yet though.
15652 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
15653 (gst_pad_remove_data_probe): Change to take the guint handler_id
15654 as their arg, not the function+data, which is more glib-like.
15656 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15657 the signal emission to indicate if the data is a buffer or an
15659 (gst_pad_get_type): Initialize buffer and event quarks.
15660 (gst_pad_class_init): have-data is now a detailed signal, yes it
15663 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15665 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15666 * gst/gstutils.c: (gst_util_set_value_from_string),
15667 (gst_util_set_object_arg):
15668 Don't put functional code in g_return_if_fail() or
15669 g_return_val_if_fail() statements, otherwise things will
15670 break when G_DISABLE_CHECKS is defined during compilation.
15672 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15674 * docs/gst/tmpl/.cvsignore:
15675 * docs/gst/tmpl/gstvalue.sgml:
15678 inlied another one and added some obvious docs
15680 2005-09-21 Wim Taymans <wim@fluendo.com>
15682 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15683 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15684 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15685 (gst_fdsrc_get_property), (gst_fdsrc_create):
15686 * gst/elements/gstfdsrc.h:
15687 Properly implement fdsrc. Removed signal and timeout,
15688 better implemented somewhere else.
15690 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15692 * docs/gst/tmpl/.cvsignore:
15693 * docs/gst/tmpl/gstimplementsinterface.sgml:
15694 * gst/gstinterface.c:
15697 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15699 * docs/gst/gstreamer-sections.txt:
15700 * docs/gst/tmpl/.cvsignore:
15701 * docs/gst/tmpl/gstenumtypes.sgml:
15702 remove obsolete doc file
15704 2005-09-21 David Schleef <ds@schleef.org>
15706 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15707 little beer, fix a little leak.
15709 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15711 * docs/gst/gstreamer-docs.sgml:
15712 * docs/gst/gstreamer-sections.txt:
15713 * docs/gst/tmpl/.cvsignore:
15717 * gst/gstelement.h:
15718 * gst/gstindex.c: (gst_index_class_init):
15720 * gst/gstindexfactory.c: (gst_index_factory_get_type),
15721 (gst_index_factory_class_init), (gst_index_factory_init),
15722 (gst_index_factory_finalize), (gst_index_factory_new),
15723 (gst_index_factory_destroy), (gst_index_factory_find),
15724 (gst_index_factory_create), (gst_index_factory_make):
15725 * gst/gstindexfactory.h:
15726 * gst/gstpluginfeature.c:
15727 * gst/gstpluginfeature.h:
15728 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15729 more docs inlined, splitted gstindex.{c,h}
15731 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15733 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15736 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15738 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15739 Set sync to FALSE by default.
15741 2005-09-20 Wim Taymans <wim@fluendo.com>
15743 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15744 (gst_base_sink_init):
15745 Make sync property settable from subclass.
15747 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15748 (gst_fake_sink_change_state):
15749 Set sync to FALSE by default.
15751 2005-09-20 Wim Taymans <wim@fluendo.com>
15753 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15754 * tools/gst-launch.c: (main):
15755 The timeout handler should have lower priority than the source
15756 so we don't timeout before popping a message with 0 timeout.
15757 Dump error messages after failed state change.
15759 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15761 * tools/gst-inspect.c: (print_element_properties_info):
15764 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15766 * check/gst/gstevent.c:
15767 * gst/elements/gstfakesink.c:
15768 * gst/elements/gstfakesink.h:
15769 remove the sync property from fakesink.
15770 has the side effect of setting sync TRUE
15771 for fakesink, which is a change. Anyone who knows how
15772 to fix this nicely in a GObject-y way, feel free.
15774 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15776 * docs/gst/gstreamer-docs.sgml:
15777 remove probe refsection
15779 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15781 * check/Makefile.am:
15782 disable valgrinding the controller test again
15783 * docs/gst/gstreamer-sections.txt:
15784 update for api-changes
15786 2005-09-20 Wim Taymans <wim@fluendo.com>
15788 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15789 (gst_base_sink_set_property), (gst_base_sink_get_property),
15790 (gst_base_sink_do_sync):
15791 * gst/base/gstbasesink.h:
15792 Added sync property to basesink to disable clock sync.
15794 2005-09-20 Andy Wingo <wingo@pobox.com>
15796 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15797 eating the caller's refcount.
15799 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
15800 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15803 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15804 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15805 of GLib 2.8 public, so we can know which refcount to check in
15808 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15809 (gst_object_init): Only set the gst refcount if we're going ahead
15810 with the refcount hack.
15812 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15814 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15815 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15816 more leaks plumbed, added more debug-logging
15820 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15822 * gst/gstmessage.c:
15823 remove include of gstmemchunk.h
15825 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15827 * gst/gstclock.c: (_gst_clock_id_free):
15828 Commit from the Political Party For More Atomic CVS Commits,
15829 so that people don't waste too much of their day fishing
15830 out obvious leaks out of massive commits.
15831 Oh, and fix a pretty damn obvious leak in the memchunk
15834 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15836 * check/Makefile.am:
15837 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15838 plug mem-leak, re-add to valgrindable tests
15840 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15843 unbreak the build for those who have chronic arthritis
15844 and typing "make check" is just too taxing on the hands
15846 2005-09-20 Andy Wingo <wingo@pobox.com>
15848 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
15849 really want it out, you should fix plugins at the same time.
15851 2005-09-19 Stefan Kost <ensonic@users.sf.net>
15854 * docs/gst/gstreamer-sections.txt:
15856 added missing symbols to api docs
15857 disable ref-count hack if we have glib >= 2.8
15859 2005-09-19 David Schleef <ds@schleef.org>
15861 * docs/gst/Makefile.am: Ignore a few more internal headers
15862 * docs/gst/gstreamer-docs.sgml: Remove old sections
15863 * docs/gst/gstreamer-sections.txt: Remove old sections
15864 * docs/gst/tmpl/gstobject.sgml: update
15865 * docs/gst/tmpl/gstplugin.sgml: update
15866 * docs/gst/tmpl/gstpluginfeature.sgml: update
15867 * docs/random/ds/0.9-suggested-changes: update.
15868 * gst/Makefile.am: remove memchunk and trashstack, since they're
15870 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
15871 * gst/gst.h: don't include some headers
15872 * gst/gstchildproxy.c: add gstmarshal.h
15873 * gst/gstclock.c: Don't use memchunks
15874 * gst/gstminiobject.c: Add some docs
15875 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
15876 * gst/gstobject.h: same
15877 * gst/gstplugin.c: include gstmacros.h
15878 * gst/gstplugin.h: don't include gstmacros.h, since it's private
15879 * gst/gstquery.c: don't use memchunks
15880 * gst/gstregistry.c: rename gst_registry_deinit()
15881 * gst/gstregistry.h: same
15883 2005-09-19 David Schleef <ds@schleef.org>
15885 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
15886 * docs/libs/gstreamer-libs-sections.txt:
15887 * docs/libs/tmpl/gstgetbits.sgml:
15888 * docs/libs/tmpl/gstputbits.sgml:
15890 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
15892 * win32/gstenumtypes.c:
15893 * win32/gstenumtypes.h:
15896 2005-09-19 Wim Taymans <wim@fluendo.com>
15898 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
15899 Automatically PAUSE and RESUME a pipeline when a flushing seek
15902 2005-09-19 Andy Wingo <wingo@pobox.com>
15904 * gst/gstregistry.h: Spacing fixen.
15906 2005-09-19 Wim Taymans <wim@fluendo.com>
15908 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
15909 Handle state change failure more correctly.
15911 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15913 * check/Makefile.am:
15914 * check/pipelines/cleanup.c: (run_pipeline):
15915 * check/pipelines/simple_launch_lines.c: (run_pipeline),
15917 enable cleanup again after fixing the leak
15919 some more info on docs
15921 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15923 * check/Makefile.am:
15924 re-enable tests now that leaks are plugged
15926 * check/gst/gstbin.c:
15927 * check/gst/gstpipeline.c:
15928 add some more tests while fixing leaks
15929 * common/check.mak:
15930 make sure binaries are uptodate when valgrinding/gdbing
15932 * gst/gstelementfactory.c:
15933 remove a ref too many, and add a FIXME for when we get
15934 round to disposing of classes
15936 fix the refcounting when loading a plugin from a file and
15937 the code pretends that the pointer is the same even though
15938 of course it can change
15939 * gst/gstpluginfeature.c:
15940 unref plugins marked cached (a bit confusing as a name)
15941 as the docs state should be done
15942 various doc additions to explain refcounting
15943 * gst/gstregistry.c:
15944 * gst/gstregistryxml.c:
15947 2005-09-19 Wim Taymans <wim@fluendo.com>
15949 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15950 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15951 (send_messages), (GST_START_TEST), (gstbus_suite):
15952 * check/gst/gstpipeline.c: (GST_START_TEST):
15953 * check/pipelines/cleanup.c: (run_pipeline):
15954 * check/pipelines/simple_launch_lines.c: (run_pipeline),
15956 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
15957 (gst_bus_source_check), (gst_bus_source_dispatch),
15958 (gst_bus_create_watch), (gst_bus_add_watch_full),
15959 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
15961 * tools/gst-launch.c: (event_loop):
15962 * tools/gst-md5sum.c: (event_loop):
15963 GstBusHandler -> GstBusFunc, return value has the same meaning as
15964 any other GSource (FALSE == remove source).
15965 _add_watch() and _add_watch_full() now take a MessageType mask to
15966 only handle specific types of messages.
15967 _poll() returns the GstMessage instead of the message type to avoid
15969 _have_pending() takes a MessageType mask now too.
15970 Added testsuite for multiple bus watches.
15971 Fix testsuites and applications for new bus API.
15973 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15975 * check/Makefile.am:
15976 mark a bunch of the tests as to fix until we fix them
15978 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15980 * common/check.mak:
15981 use GST_PLUGIN settings for valgrind tests as well, so we're
15982 valgrinding the correct thing
15983 * gst/gst.c: (init_post):
15986 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15988 * gst/gst.c: (init_post), (gst_deinit):
15989 * gst/gstelementfactory.c: (gst_element_factory_class_init),
15990 (gst_element_factory_finalize), (gst_element_factory_cleanup):
15991 * gst/gstindex.c: (gst_index_factory_class_init),
15992 (gst_index_factory_finalize):
15993 * gst/gstobject.c: (gst_object_dispose):
15994 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15995 (gst_plugin_load_file), (gst_plugin_desc_free):
15996 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
15997 (gst_plugin_feature_finalize):
15998 * gst/gstregistry.c: (gst_registry_class_init),
15999 (gst_registry_init), (gst_registry_finalize),
16000 (gst_registry_get_default), (gst_registry_deinit):
16001 * gst/gstregistry.h:
16002 * gst/gstregistryxml.c: (load_feature), (load_plugin):
16003 various cleanups and memleak plugging. make valgrind is happy now.
16005 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16007 * common/check.mak:
16008 add a check-valgrind target
16010 2005-09-18 David Schleef <ds@schleef.org>
16012 * tools/gst-inspect.c: Revert the GOption code.
16014 2005-09-17 David Schleef <ds@schleef.org>
16016 * check/Makefile.am: Fix environment variables.
16017 * check/gst/gstplugin.c: Fix for API changes.
16018 * tools/gst-inspect.c: Fix for API changes.
16019 * tools/gst-xmlinspect.c: Fix for API changes.
16020 * gst/gstelementfactory.c:
16023 * gst/gstpluginfeature.c:
16024 * gst/gstpluginfeature.h:
16025 * gst/gstregistry.c:
16026 * gst/gstregistry.h:
16027 * gst/gstregistryxml.c:
16028 * gst/gsttypefind.c:
16029 * gst/gsttypefindfactory.c:
16030 * gst/indexers/gstfileindex.c:
16031 * gst/indexers/gstmemindex.c:
16032 * gst/schedulers/Makefile.am:
16033 Change registry to keep track of both plugins and features,
16034 removing the feature tracking from plugins themselves.
16036 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
16038 * check/Makefile.am:
16039 * tools/gst-register.1.in:
16040 remove gst-register
16042 2005-09-15 David Schleef <ds@schleef.org>
16044 * check/gst/gstplugin.c:
16045 * gst/gstelementfactory.c:
16047 * gst/gstpluginfeature.c:
16048 * gst/gstregistry.c:
16049 Getting tired of debugging. Disabled all the unreffing of
16050 plugins and features, which fixes the segfaults, but of
16051 course leaks like crazy. At least playbin works.
16053 2005-09-15 David Schleef <ds@schleef.org>
16055 * check/gst/gstplugin.c: (register_check_elements),
16056 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16058 * gst/elements/gsttypefindelement.c: Fix refcounting.
16059 * gst/gsttypefind.c:
16060 * gst/gsttypefindfactory.c:
16061 * gst/gsttypefindfactory.h:
16063 2005-09-15 David Schleef <ds@schleef.org>
16065 * gst/gstindex.c: get refcounting correct.
16066 * gst/gstregistry.c: Handle the case where a feature/plugin is
16069 2005-09-15 David Schleef <ds@schleef.org>
16071 * check/Makefile.am:
16072 * check/gst/gstplugin.c: Add test
16073 * gst/gstplugin.c: Fix problems noticed by testsuite
16075 * gst/gstregistry.c:
16076 * gst/gstregistry.h:
16078 2005-09-15 David Schleef <ds@schleef.org>
16080 * gst/gstplugin.c: Implement semi-decent recounting and locking
16081 in plugins and plugin features.
16083 * gst/gstpluginfeature.c:
16084 * gst/gstpluginfeature.h:
16085 * gst/gstregistry.c:
16087 2005-09-15 Michael Smith <msmith@fluendo.com>
16089 * gst/gstregistry.c: (gst_registry_get_feature_list):
16090 Implement this. Makes oggdemux work; decodebin still broken.
16092 2005-09-14 David Schleef <ds@schleef.org>
16094 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16096 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16097 * gst/check/Makefile.am:
16098 * libs/gst/controller/Makefile.am:
16099 * libs/gst/dataprotocol/Makefile.am:
16101 2005-09-14 David Schleef <ds@schleef.org>
16103 * configure.ac: Remove getbits library. Nothing uses it, and
16104 it should be in something like liboil if someone did want
16106 * libs/gst/Makefile.am:
16107 * libs/gst/getbits/Makefile.am:
16108 * libs/gst/getbits/gbtest.c:
16109 * libs/gst/getbits/getbits.c:
16110 * libs/gst/getbits/getbits.h:
16111 * libs/gst/getbits/gstgetbits_generic.c:
16112 * libs/gst/getbits/gstgetbits_i386.s:
16113 * libs/gst/getbits/gstgetbits_inl.h:
16115 2005-09-14 David Schleef <ds@schleef.org>
16117 * gst/Makefile.am: Dist glib-compat.h
16119 2005-09-14 David Schleef <ds@schleef.org>
16121 * configure.ac: Remove gst/registries, since it's no longer used.
16122 * gst/registries/Makefile.am:
16123 * gst/registries/gstlibxmlregistry.c:
16124 * gst/registries/gstlibxmlregistry.h:
16125 * gst/registries/gstxmlregistry.c:
16126 * gst/registries/gstxmlregistry.h:
16127 * gst/registries/registrytest.c:
16129 2005-09-14 David Schleef <ds@schleef.org>
16131 * gst/glib-compat.h:
16132 * gst/gstregistryxml.c:
16133 Convergence is near. Seriously.
16135 2005-09-14 David Schleef <ds@schleef.org>
16137 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16138 * gst/glib-compat.h:
16139 Attempt #4 to appease the buildbots.
16141 2005-09-14 David Schleef <ds@schleef.org>
16143 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16146 2005-09-14 David Schleef <ds@schleef.org>
16148 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16151 2005-09-14 David Schleef <ds@schleef.org>
16153 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16156 2005-09-14 David Schleef <ds@schleef.org>
16158 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16159 * gst/glib-compat.h: Add some functions that are in newer versions
16160 of glib than we care to require.
16161 * gst/gstregistryxml.c: Use them.
16163 2005-09-14 David Schleef <ds@schleef.org>
16165 * po/POTFILES.in: remove gst-register.c
16167 2005-09-14 David Schleef <ds@schleef.org>
16169 * docs/gst/gstreamer-docs.sgml:
16170 * docs/gst/gstreamer-sections.txt:
16171 * docs/gst/gstreamer.types:
16172 * docs/gst/tmpl/gstelement.sgml:
16173 * docs/gst/tmpl/gstplugin.sgml:
16174 * docs/gst/tmpl/gstpluginfeature.sgml:
16175 Documentation updates for registry changes.
16177 2005-09-14 David Schleef <ds@schleef.org>
16179 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16180 because we don't require glib-2.8.
16182 2005-09-14 David Schleef <ds@schleef.org>
16184 * gst/gstregistryxml.c: Added. Essentially moved out of the
16185 registries directory.
16187 2005-09-14 David Schleef <ds@schleef.org>
16189 * check/Makefile.am:
16190 * check/generic/states.c:
16194 * gst/gst_private.h:
16195 * gst/gstelementfactory.c:
16200 * gst/gstpluginfeature.c:
16201 * gst/gstpluginfeature.h:
16202 * gst/gstregistry.c:
16203 * gst/gstregistry.h:
16204 * gst/gstregistrypool.c: remove
16205 * gst/gstregistrypool.h: remove
16206 * gst/gsttypefind.c:
16207 * gst/gsttypefindfactory.c:
16209 * tools/Makefile.am:
16210 * tools/gst-compprep.c:
16211 * tools/gst-inspect.c:
16212 * tools/gst-register.c: remove
16213 * tools/gst-xmlinspect.c:
16214 Registry rewrite. Changes registry from being a file created
16215 by a tool into a simple cache file created automatically by
16216 libgstreamer. Removed gst-register (because it's no longer
16217 needed). Remove registry pools, because we only have one
16218 registry implementation (XML). Fix up other subsystems as
16221 2005-09-13 Michael Smith <msmith@fluendo.com>
16223 * gst/gstconfig.h.in:
16224 Don't Use windows linking attributes for MinGW. Fixes #316157
16226 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
16228 * gst/gstutils.c: (set_state_async_thread_func),
16229 (gst_element_set_state_async):
16230 Apparently people think it's better if this function doesn't
16231 try to set the state to whatever state was asked for on the first
16232 call to this function for any object. Seriously.
16234 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16236 * check/gst/gstpipeline.c: (GST_START_TEST):
16237 * docs/gst/gstreamer-sections.txt:
16238 * gst/gstutils.c: (set_state_async_thread_func),
16239 (gst_element_set_state_async):
16241 add a "gst_element_set_state_async" method that
16242 sets the state and starts a thread to make sure the state
16243 change completes as best as it can
16245 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16247 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16248 codify design+behaviour in testsuite after discussion
16250 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16252 * docs/gst/tmpl/gstelement.sgml:
16253 * docs/manual/appendix-quotes.xml:
16255 * gst/gstelement.c: (gst_element_set_state):
16258 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
16260 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16261 (gst_base_transform_prepare_output_buf),
16262 (gst_base_transform_handle_buffer):
16263 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16264 (gst_capsfilter_prepare_buf):
16265 Remove the requirement for sub-classes to call the parent
16266 implementation of prepare_output_buffer with a wrapper function.
16268 * gst/gsttaglist.h:
16269 * gst/gsttagsetter.h:
16270 Fix #define wrapper
16272 2005-09-11 Stefan Kost <ensonic@users.sf.net>
16274 * docs/gst/gstreamer-sections.txt:
16277 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16279 * docs/gst/gstreamer-sections.txt:
16280 * docs/gst/tmpl/gstelement.sgml:
16281 * docs/gst/tmpl/gstplugin.sgml:
16282 * gst/gstminiobject.c:
16284 docs now stop throwing warnings
16286 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16288 * docs/gst/gstreamer-sections.txt:
16289 * docs/gst/gstreamer.types:
16290 * docs/gst/tmpl/gstpad.sgml:
16291 * docs/gst/tmpl/gsttypes.sgml:
16292 * gst/base/gstadapter.h:
16293 * gst/base/gstbasesink.h:
16294 * gst/base/gstbasesrc.h:
16300 * gst/gstelement.h:
16302 * gst/gstmessage.h:
16304 * gst/gststructure.c:
16305 * gst/registries/gstlibxmlregistry.h:
16306 various documentation fixes
16308 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16310 * docs/gst/gstreamer-sections.txt:
16311 * docs/gst/tmpl/gstvalue.sgml:
16312 rearrange gstvalue section
16313 * gst/gstutils.c: (gst_element_state_get_name):
16315 * gst/gstvalue.c: (_gst_value_initialize):
16319 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
16321 * check/gst-libs/controller.c:
16322 Header include fix.
16323 * gst/base/gstbasetransform.c:
16324 (gst_base_transform_default_prepare_buf),
16325 (gst_base_transform_handle_buffer):
16326 * gst/base/gstbasetransform.h:
16327 Some more basetransform changes and fixes to enable sub-classes
16328 that modify buffer metadata only.
16329 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16330 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16331 (gst_capsfilter_prepare_buf):
16332 If the output pad has fixed allowed caps and input buffers
16333 don't have any, set the fixed caps on outgoing buffers.
16335 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
16336 * check/elements/identity.c: (GST_START_TEST):
16337 Make the error a little clearer when the test fails because
16338 identity made a copy of the buffer.
16339 * docs/gst/gstreamer-sections.txt:
16340 New symbols in gstbasetransform.h
16341 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16342 (gst_base_transform_init), (gst_base_transform_transform_size),
16343 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16344 (gst_base_transform_default_prepare_buf),
16345 (gst_base_transform_get_unit_size),
16346 (gst_base_transform_buffer_alloc),
16347 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16348 (gst_base_transform_change_state),
16349 (gst_base_transform_set_passthrough),
16350 (gst_base_transform_set_in_place),
16351 (gst_base_transform_is_in_place):
16352 * gst/base/gstbasetransform.h:
16353 Change BaseTransform to separate in_place operate from same_caps
16354 output. in_place implies that the element can perform the transform
16355 on incoming buffers in-place, even if the caps on the output are
16357 Sub-class elements can now implement special buffer allocation
16358 methods for outgoing buffers if they wish to.
16359 Big documentation addition.
16360 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16361 * gst/elements/gstelements.c:
16362 Changes for basetransform modifications.
16363 * gst/elements/Makefile.am:
16364 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16365 Compile fix. Extra debug output.
16367 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16369 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16371 add tests for valid pad naming
16372 * gst/check/gstcheck.c: (gst_check_log_message_func),
16373 (gst_check_log_critical_func):
16375 remove printing of code, it is fragile when the code contains
16376 % and the line number is enough info
16377 * gst/check/gstcheck.h:
16378 * gst/gstpad.c: (gst_pad_template_new):
16381 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16384 say what CHECK flags we use
16385 * docs/libs/gstreamer-libs.types:
16386 * libs/gst/controller/Makefile.am:
16387 * libs/gst/controller/gst-controller.c:
16388 * libs/gst/controller/gst-controller.h:
16389 * libs/gst/controller/gst-helper.c:
16390 * libs/gst/controller/gst-interpolation.c:
16391 * libs/gst/controller/gstcontroller.c:
16392 * libs/gst/controller/gsthelper.c:
16393 * libs/gst/controller/gstinterpolation.c:
16394 * tools/gst-inspect.c: (print_plugin_info):
16395 we don't use dashes in header names
16397 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16399 * check/Makefile.am:
16400 * check/gst/.cvsignore:
16401 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16402 (gst_pipeline_suite), (main):
16403 adding a test for pipelines and state changes
16404 * gst/gstutils.c: (get_state_func):
16406 * gstreamer.spec.in:
16409 2005-09-08 Michael Smith <msmith@fluendo.com>
16411 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16412 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16413 (gst_file_src_is_seekable), (gst_file_src_get_size),
16414 (gst_file_src_start):
16415 * gst/elements/gstfilesrc.h:
16416 Various fixes for unseekable, unmmapable, and non-normal files, so
16417 that fallback to read() rather than mmap() works.
16418 * gst/gstevent.c: (gst_event_new_newsegment):
16419 Allow newsegment events with segment_start == segment_end, as will
16420 correctly happen if you use filesrc on a zero-size file, for
16423 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16425 * gst/gstplugin.c: (gst_plugin_load_file):
16426 Call g_module_close when we don't load the module
16428 * gst/registries/gstlibxmlregistry.c:
16429 (gst_xml_registry_get_property):
16430 Port leak fix from 0.8
16432 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16434 * docs/gst/gstreamer-docs.sgml:
16435 * docs/gst/tmpl/.cvsignore:
16436 * docs/gst/tmpl/gsttrace.sgml:
16437 * docs/gst/tmpl/gsttrashstack.sgml:
16440 * gst/gstelement.h:
16442 * gst/gstmessage.c:
16443 * gst/gstmessage.h:
16446 * gst/gsttaginterface.c:
16447 * gst/gsttaginterface.h:
16448 * gst/gsttaglist.c:
16449 * gst/gsttaglist.h:
16450 * gst/gsttagsetter.c:
16451 * gst/gsttagsetter.h:
16454 * gst/gsttrashstack.c:
16455 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16456 inlined docs for gsttrace, gsttrashstack
16458 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16461 * gst/elements/gstbufferstore.h:
16462 * gst/elements/gsttypefindelement.c:
16463 * gst/elements/gsttypefindelement.h:
16465 * gst/gsttypefind.c:
16466 * gst/gsttypefind.h:
16467 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16468 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16469 (gst_type_find_factory_dispose),
16470 (gst_type_find_factory_unload_thyself),
16471 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16472 (gst_type_find_factory_get_caps),
16473 (gst_type_find_factory_get_extensions),
16474 (gst_type_find_factory_call_function):
16475 * gst/gsttypefindfactory.h:
16476 * gst/registries/gstlibxmlregistry.c:
16477 * gst/registries/gstxmlregistry.c:
16478 splitted gsttypefind into gsttypefind, gsttypefindfactory
16480 2005-09-07 Andy Wingo <wingo@pobox.com>
16482 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16483 condition whereby the pad's task function is entered before the
16484 pad_mode variable was set.
16486 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16488 * gst/gstpad.c: (gst_pad_alloc_buffer):
16489 Catch misbehaving pad_alloc functions that don't
16490 set up caps and do it for them.
16492 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16494 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16495 test for pipe!=NULL
16496 * docs/gst/tmpl/.cvsignore:
16497 * docs/gst/tmpl/gstmemchunk.sgml:
16498 * docs/gst/tmpl/gstparse.sgml:
16499 * docs/gst/tmpl/gsttaglist.sgml:
16500 * docs/gst/tmpl/gsttagsetter.sgml:
16501 * docs/gst/tmpl/gsttypefind.sgml:
16502 * docs/gst/tmpl/gsttypefindfactory.sgml:
16503 * gst/gstmemchunk.c:
16506 * gst/gsttaginterface.c:
16507 * gst/gsttypefind.c:
16508 * gst/gsttypefind.h:
16511 === release 0.9.2 ===
16513 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
16518 releasing 0.9.2, "South"
16520 2005-09-05 Andy Wingo <wingo@pobox.com>
16522 * gst/registries/gstxmlregistry.h:
16523 * gst/registries/gstxmlregistry.c: Um... resurrect...
16525 * gst/registries/gstxmlregistry.h:
16526 * gst/registries/gstxmlregistry.c: and update to newer API.
16527 Incidentally they should be a bit faster now that they don't have
16530 2005-09-05 Andy Wingo <wingo@pobox.com>
16532 * gst/registries/gstxmlregistry.h:
16533 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16534 replaced by the libxml registry a while back
16536 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16538 * docs/gst/tmpl/gstplugin.sgml:
16539 * gst/elements/gstelements.c:
16541 * gst/gstplugin.c: (gst_plugin_register_func),
16542 (gst_plugin_desc_copy), (gst_plugin_desc_free),
16543 (gst_plugin_get_source):
16545 * gst/registries/gstlibxmlregistry.c: (load_plugin),
16546 (gst_xml_registry_save_plugin):
16547 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16548 (gst_xml_registry_save_plugin):
16549 * tools/gst-inspect.c: (print_plugin_info):
16550 add a "source" plugin description field, to represent the source
16551 module this plugin is a part of. By default GST_PLUGIN_DEFINE
16552 will set it to PACKAGE, which is automake's idea of the name of
16553 the source project.
16555 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16560 * docs/Makefile.am:
16561 * docs/faq/Makefile.am:
16562 * docs/gst/tmpl/gstelement.sgml:
16563 * docs/gst/tmpl/gsttypes.sgml:
16564 * docs/htmlinstall.mak:
16565 * docs/manual/Makefile.am:
16566 * docs/pwg/Makefile.am:
16567 reorganize doc build a little
16568 split out docbook and gtk-doc stuff
16569 have two separate --enable's and enable them through autogen
16570 but disable by default in configure (to be similar to other
16572 * gstreamer.spec.in:
16573 clean up docs install
16591 translation updates
16593 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
16595 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16598 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16599 (gst_fake_sink_change_state):
16600 Make state change function thread-safe.
16602 * gst/gstpad.c: (gst_pad_alloc_buffer):
16603 Set offset on generic buffer allocated by fallback.
16605 2005-09-03 Stefan Kost <ensonic@users.sf.net>
16607 * docs/gst/gstreamer-sections.txt:
16608 * docs/gst/tmpl/gstelement.sgml:
16610 * libs/gst/controller/gst-controller.c:
16611 (gst_controlled_property_set_interpolation_mode),
16612 (gst_controlled_property_new),
16613 (gst_controller_find_controlled_property):
16614 run the wingo-magic script against the docs
16616 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16618 * docs/gst/gstreamer-docs.sgml:
16619 * docs/gst/gstreamer-sections.txt:
16620 * docs/gst/tmpl/.cvsignore:
16621 * docs/gst/tmpl/gstelementdetails.sgml:
16622 * docs/gst/tmpl/gstelementfactory.sgml:
16625 * gst/gstelementfactory.c:
16626 * gst/gstelementfactory.h:
16627 merged elementdetails docs into elementfactory docs
16630 2005-09-02 Andy Wingo <wingo@pobox.com>
16632 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16633 consider this enum an enum and not a flags.
16635 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16637 * docs/gst/gstreamer-docs.sgml:
16638 * docs/gst/tmpl/.cvsignore:
16639 * docs/gst/tmpl/gstghostpad.sgml:
16640 * docs/gst/tmpl/gstiterator.sgml:
16641 * docs/gst/tmpl/gstmacros.sgml:
16642 * docs/gst/tmpl/gstrealpad.sgml:
16643 * docs/gst/tmpl/gstregistry.sgml:
16644 * docs/gst/tmpl/gstregistrypool.sgml:
16645 * docs/gst/tmpl/gststructure.sgml:
16646 * docs/gst/tmpl/gstsystemclock.sgml:
16647 * docs/gst/tmpl/gsttrace.sgml:
16648 * gst/gstghostpad.c:
16650 * gst/gstmemchunk.c:
16651 * gst/gstmemchunk.h:
16653 * gst/gstregistry.c:
16654 * gst/gstregistrypool.c:
16655 * gst/gststructure.c:
16656 * gst/gstsystemclock.c:
16659 2005-09-02 Andy Wingo <wingo@pobox.com>
16661 * gst/gstelement.h (GstState): Renamed from GstElementState,
16662 changed to be a normal enum instead of flags.
16663 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16664 munged to be GST_STATE_CHANGE_*.
16665 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16666 work with the new state representation.
16667 (GstStateChange): New enumeration of possible state transitions.
16668 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16669 (GstElementClass::change_state): Pass the GstStateChange along as
16670 an argument. Helps language bindings, so they don't have to use
16671 tricky lock-needing macros like GST_STATE_CHANGE ().
16673 * scripts/update-states (file): New script. Run it on a file to
16674 update it for state naming and API changes. Updates files in
16677 * All files updated for the new API.
16679 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
16681 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16682 * gst/gstutils.c: (gst_util_set_value_from_string),
16683 (gst_util_set_object_arg):
16684 fix a bunch of unchecked return values
16685 * tools/gst-complete.c: (main):
16686 * gstreamer.spec.in:
16689 2005-09-01 Wim Taymans <wim@fluendo.com>
16691 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16692 (gst_base_sink_event), (gst_base_sink_do_sync),
16693 (gst_base_sink_handle_event):
16694 * gst/base/gstbasesink.h:
16695 Handle newsegments more correctly.
16700 * gst/gstevent.c: (gst_event_new_newsegment):
16701 A newsegment cannot have a start_time of -1
16703 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
16705 * win32/gstenumtypes.c:
16706 * win32/gstenumtypes.h:
16709 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16711 * libs/gst/controller/gst-controller.c:
16712 (gst_controlled_property_set_interpolation_mode),
16713 (gst_controlled_property_new):
16714 fixed boolean again
16716 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
16718 * docs/faq/gst-uninstalled:
16723 * gst/gstutils.c: (gst_element_link_filtered):
16725 add gst_element_link_filtered
16727 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16729 * docs/gst/gstreamer-docs.sgml:
16730 * docs/gst/gstreamer-sections.txt:
16731 * docs/gst/tmpl/.cvsignore:
16732 * docs/gst/tmpl/gsterror.sgml:
16733 * docs/gst/tmpl/gstfilter.sgml:
16734 * docs/gst/tmpl/gsturihandler.sgml:
16735 * docs/gst/tmpl/gsturitype.sgml:
16736 * docs/gst/tmpl/gstutils.sgml:
16737 * docs/gst/tmpl/gstxml.sgml:
16742 * gst/gsturitype.c:
16745 inlined more docs, fixed double id-ref
16747 2005-08-31 Wim Taymans <wim@fluendo.com>
16749 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16750 (gst_base_transform_handle_buffer):
16751 Passthrough elements don't need the caps as they don't care.
16753 2005-08-31 Wim Taymans <wim@fluendo.com>
16755 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16756 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16757 Don't leak refcounts on buffers.
16759 2005-08-31 Wim Taymans <wim@fluendo.com>
16761 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16762 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16763 (gst_base_transform_chain), (gst_base_transform_change_state):
16764 * gst/base/gstbasetransform.h:
16765 Handle the case where we are not negotiated more gracefully.
16767 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
16769 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16770 (gst_file_src_map_region):
16771 Set READONLY flag on mmap'ed buffers, otherwise
16772 gst_buffer_make_writable() won't work properly (#314708).
16774 2005-08-31 Wim Taymans <wim@fluendo.com>
16776 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16777 passthrough elements can even do inplace on non writable
16778 buffers (as they don't touch them).
16780 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16782 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16783 (gst_test_mono_source_set_property),
16784 (gst_test_mono_source_class_init), (GST_START_TEST),
16785 (gst_controller_suite):
16786 more tests (hehe I have the most)
16788 describe popping messages whenusing mulltiple sources
16789 * libs/gst/controller/gst-controller.c:
16790 (gst_controlled_property_set_interpolation_mode),
16791 (gst_controlled_property_new):
16792 * libs/gst/controller/gst-controller.h:
16793 * libs/gst/controller/gst-interpolation.c:
16794 implement boolean properties
16796 2005-08-31 Wim Taymans <wim@fluendo.com>
16798 * gst/gstminiobject.c: (gst_mini_object_ref):
16799 Cannot assert that the refcount has to be positive
16800 since a disposed object can be resurrected.
16802 2005-08-31 Wim Taymans <wim@fluendo.com>
16804 * gst/gstpad.c: (gst_pad_init):
16805 Revert change, need to first fix badly behaving
16808 2005-08-30 Wim Taymans <wim@fluendo.com>
16810 * check/elements/fakesrc.c: (setup_fakesrc):
16811 * check/elements/identity.c: (setup_identity):
16812 Activate pads before using them.
16814 2005-08-30 Wim Taymans <wim@fluendo.com>
16816 * gst/base/gstadapter.c: (gst_adapter_flush):
16817 Flushing out 0 bytes is ok for this function.
16819 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16820 no newsegment gives a warning and sets the start/stop to
16823 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16824 (gst_base_transform_set_passthrough):
16827 * gst/gstminiobject.c: (gst_mini_object_ref):
16828 Check refcount here too.
16830 * gst/gstpad.c: (gst_pad_init):
16831 Pads are initially flushing and refusing data.
16833 * gst/gstutils.c: (gst_element_link_pads_filtered):
16834 When adding a capsfilter element make sure it has the
16835 same state as the parent bin.
16837 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16839 * docs/gst/tmpl/.cvsignore:
16840 * docs/gst/tmpl/gstformat.sgml:
16841 * docs/gst/tmpl/gstversion.sgml:
16845 * gst/gstversion.h.in:
16846 more docs and two more inlined
16848 2005-08-30 Wim Taymans <wim@fluendo.com>
16850 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
16851 Don't sync to clock.
16853 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16855 * docs/gst/gstreamer-sections.txt:
16856 ultral33t func10ns deserve to appear in the docs actually
16857 * docs/gst/tmpl/.cvsignore:
16858 * docs/gst/tmpl/gstcompat.sgml:
16859 * docs/gst/tmpl/gstconfig.sgml:
16860 * gst/check/gstcheck.c:
16862 * gst/gstconfig.h.in:
16865 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16867 * docs/gst/tmpl/.cvsignore:
16868 * docs/gst/tmpl/gstquery.sgml:
16869 * docs/gst/tmpl/gstutils.sgml:
16872 inlined and extended docs
16874 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16876 * check/gst-libs/controller.c: (GST_START_TEST),
16877 (gst_controller_suite):
16879 * docs/gst/tmpl/gstutils.sgml:
16880 * docs/libs/gstreamer-libs-sections.txt:
16881 * docs/libs/tmpl/gstdataprotocol.sgml:
16883 * examples/controller/audio-example.c: (main):
16884 controller example works now
16887 * tools/gst-inspect.c: (print_element_properties_info):
16888 show param spec flags
16890 2005-08-29 Andy Wingo <wingo@pobox.com>
16892 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
16894 2005-08-28 Andy Wingo <wingo@pobox.com>
16896 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
16897 as having two arguments instead of just one. Allows superclasses
16898 to access information on subclasses -- see the terrible for() loop
16899 in gtype.c:g_type_create_instance for the reason why. All callers
16902 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16904 * docs/design/part-messages.txt:
16906 * docs/gst/tmpl/.cvsignore:
16907 * docs/gst/tmpl/gstcaps.sgml:
16908 * docs/gst/tmpl/gstclock.sgml:
16914 * gst/gstmessage.c:
16915 added descriptions for bus and message
16916 inline caps and clock docs
16918 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16920 * gst/gstmessage.c:
16921 * gst/gstmessage.h:
16924 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16926 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16929 2005-08-26 Andy Wingo <wingo@pobox.com>
16931 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
16932 element_set_state's return val.
16933 (test_2_elements): Add test that's been disabled for months.
16935 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
16936 can-activate-pull properties.
16938 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
16939 can-activate-pull properties. Implement is_seekable so fakesrc can
16940 operate in pull mode.
16942 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
16944 (gst_base_sink_activate, gst_base_sink_activate_pull)
16945 (gst_base_sink_activate_push): Make activation mode choosing work.
16947 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
16948 is right. Make pull mode work. Post an eos before pausing in pull
16950 (gst_base_sink_change_state): Pay attention to the core's
16951 change_state() return val.
16953 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
16954 has-getrange properties. Cleanups.
16956 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
16957 has_getrange and replace with can_activate_pull and
16960 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
16961 locking comments. Remove has_loop, has_chain and replace with
16962 can_activate_pull and can_activate_push.
16964 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
16967 * examples/Makefile.am:
16968 * examples/metadata/Makefile.am:
16969 * examples/metadata/read-metadata.c: (message_loop),
16970 (have_pad_handler), (make_pipeline), (print_tag), (main):
16971 Add metadata reading example that loops over a list of filenames,
16972 dumping any tags found.
16974 * gst/gstbus.c: (gst_bus_dispose):
16975 * gst/gstelement.c: (gst_element_dispose):
16976 Release a few potentially-held references in dispose.
16978 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16980 * docs/gst/tmpl/gstminiobject.sgml:
16981 do *not* add tmpl/*.sgml files to CVS!
16983 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16985 * libs/gst/bytestream/.cvsignore:
16986 * libs/gst/bytestream/Makefile.am:
16987 * libs/gst/bytestream/adapter.c:
16988 * libs/gst/bytestream/adapter.h:
16989 * libs/gst/bytestream/bytestream.c:
16990 * libs/gst/bytestream/bytestream.h:
16991 * libs/gst/bytestream/filepad.c:
16992 * libs/gst/bytestream/filepad.h:
16993 removing obsolete files
16995 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16997 * docs/gst/gstreamer-docs.sgml:
16998 * docs/libs/gstreamer-libs-docs.sgml:
16999 disabed additional index entries again, as this makes docs-gen just
17000 slow and they aren't useful yet
17001 * docs/libs/gstreamer-libs-sections.txt:
17002 little -section.txt cleanup for libs
17004 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
17006 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17007 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17008 fix up some debugging
17009 (gst_base_transform_get_unit_size),
17010 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17011 (gst_base_transform_handle_buffer):
17012 * gst/base/gstbasetransform.h:
17013 handle and store timed NEWSEGMENT events so that subclasses that
17014 calculate time by counting samples have a segment_start time they
17015 need to add to their timestamps - see audioresample
17017 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17020 removed ';' from the end of macro defs
17021 * docs/gst/gstreamer-docs.sgml:
17022 * docs/gst/gstreamer-sections.txt:
17023 * docs/gst/tmpl/.cvsignore:
17025 * gst/gstelement.c: (gst_element_class_init),
17026 (gst_element_set_state), (activate_pads),
17027 (gst_element_save_thyself):
17028 * gst/gstevent.c: (gst_event_new_newsegment):
17030 * gst/gstiterator.c:
17031 * gst/gstiterator.h:
17034 * gst/gstutils.c: (gst_pad_query_convert):
17036 fixed parameter name mismatches between source, header and docs
17037 added some more docs, resolved the last batch of unused elements in
17038 docs (now someone needs to doc them)
17040 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17042 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17043 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17044 don't walk through the plugins backwards. Where is all this
17045 reversed logic coming from ?
17047 2005-08-25 Wim Taymans <wim@fluendo.com>
17049 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17050 (gst_base_transform_transform_size),
17051 (gst_base_transform_configure_caps),
17052 (gst_base_transform_get_unit_size),
17053 (gst_base_transform_buffer_alloc),
17054 (gst_base_transform_change_state):
17055 * gst/base/gstbasetransform.h:
17056 Cache caps unit_size.
17057 Make sure we cannot negotiate up and downstream at the
17060 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17062 * gst/gst.c: (init_pre), (init_post):
17063 register the installed plugin path after the env var
17064 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17065 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17066 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17067 directories, so the tests can prefer uninstalled over installed
17069 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17071 * gst/base/gstbasetransform.h:
17076 2005-08-25 Wim Taymans <wim@fluendo.com>
17078 * gst/gstbin.c: (bin_bus_handler):
17079 Be a bit more conservative about the posted message.
17081 * gst/gstbus.c: (gst_bus_post):
17082 Some cleanups, warn wrong return values.
17084 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
17086 * check/gst/gstbin.c: (GST_START_TEST):
17087 * gst/gstbin.c: (bin_bus_handler):
17088 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17089 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17090 (gst_message_new_warning), (gst_message_new_tag),
17091 (gst_message_new_state_changed), (gst_message_new_segment_start),
17092 (gst_message_new_segment_done), (gst_message_new_custom):
17093 * gst/gstmessage.h:
17094 * tools/gst-launch.c: (event_loop):
17095 * tools/gst-md5sum.c: (event_loop):
17096 Revert unpopular change for GST_MESSAGE_SRC to GObject.
17098 2005-08-25 Wim Taymans <wim@fluendo.com>
17100 * check/generic/states.c: (GST_START_TEST):
17101 Cleanup can be done at the end.
17103 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17104 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17105 (gst_task_get_state), (gst_task_start), (gst_task_pause):
17106 Oh boy.. Thanks for finding this, Thomas.
17108 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17110 * docs/gst/gstreamer.types:
17111 added missing types
17113 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17115 * docs/gst/gstreamer-docs.sgml:
17116 * docs/gst/gstreamer-sections.txt:
17117 * docs/gst/tmpl/.cvsignore:
17119 * gst/gstiterator.c:
17121 * gst/registries/gstxmlregistry.h:
17122 added missing classes and symbols (123 more to go)
17123 removed removed symbols from section file
17124 fixed many doc-comments
17126 2005-08-24 Wim Taymans <wim@fluendo.com>
17128 * check/generic/states.c: (GST_START_TEST):
17129 Make sure all tasks are stopped.
17131 * check/gst/gstbin.c: (GST_START_TEST):
17132 Unref after usage for proper valgrinding.
17134 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17135 Really wait for the task to stop before destroying the
17138 * gst/gstqueue.c: (gst_queue_sink_activate_push),
17139 (gst_queue_src_activate_push):
17140 Small cleanups. Don't stop the task when we did not start
17143 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17144 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17145 (gst_task_get_state), (gst_task_start), (gst_task_pause),
17148 Protect the stream lock with the object lock.
17149 Disallow setting the stream lock when running.
17150 Add cleanup_all to wait for the threadpool to finish.
17151 Remove code to autoallocate a mutex if none was provided.
17152 Add _join() to wait for a task to stop.
17153 Protect the thread pool with a global lock.
17155 2005-08-24 Wim Taymans <wim@fluendo.com>
17157 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17158 (gst_base_sink_get_times), (gst_base_sink_do_sync),
17159 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17160 * gst/base/gstbasesink.h:
17161 Handle newsegment events correctly.
17162 Drop buffers out of the segment range.
17164 2005-08-22 Andy Wingo <wingo@pobox.com>
17166 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17167 macro, implements an interface and gstimplementsinterface for a
17170 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17172 * check/Makefile.am:
17173 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17174 add a test that does a bunch of state changes on elements
17175 needs some fixing for valgrind
17176 * check/states/sinks.c: (gst_object_suite):
17179 add prototype for gst_caps_is_equal_fixed
17181 * gst/gstregistrypool.c:
17184 2005-08-24 Andy Wingo <wingo@pobox.com>
17186 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17187 convert a negative value. Doesn't make much sense. Mostly this is
17188 here to force callers to ensure -1 maps to -1.
17190 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17192 * docs/pwg/advanced-types.xml:
17193 Well done to Michael for catching my deliberate introduction
17194 of this spelling mistake.
17195 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17196 * gst/gstelement.h:
17197 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17198 unlink pads before removing the element from the bin.
17200 2005-08-24 Andy Wingo <wingo@pobox.com>
17202 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17203 the same thing as GST_DEBUG=*:4.
17204 (parse_debug_level, parse_debug_category): New helper parsers.
17206 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17208 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17209 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17210 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17211 (gst_base_transform_buffer_alloc),
17212 (gst_base_transform_handle_buffer):
17213 use gboolean return values and pointers to size so we can use the
17214 full GST_BUFFER_SIZE range (guint) for buffer sizes
17215 use GstPadDirection for transform_caps
17216 * gst/base/gstbasetransform.h:
17217 rename get_size to get_unit_size since that's what it is
17218 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17219 use GstPadDirection for transform_caps
17220 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17222 cleanup and debugging
17224 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17226 * gst/gstelement.c: (gst_element_class_init),
17227 (gst_element_set_state), (activate_pads),
17228 (gst_element_save_thyself):
17229 * tools/gst-compprep.c: (main):
17230 * tools/gst-inspect.c: (print_element_properties_info):
17231 * tools/gst-xmlinspect.c: (print_element_properties):
17232 Fixed long standing mem-leak
17234 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17236 * check/gst/gstbin.c: (GST_START_TEST):
17237 * gst/gstbin.c: (bin_bus_handler):
17238 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17239 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17240 (gst_message_new_warning), (gst_message_new_tag),
17241 (gst_message_new_state_changed), (gst_message_new_segment_start),
17242 (gst_message_new_segment_done), (gst_message_new_custom):
17243 * gst/gstmessage.h:
17244 * tools/gst-launch.c: (event_loop):
17245 * tools/gst-md5sum.c: (event_loop):
17246 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17247 that applications can sensibly post custom messages with references
17248 to their own objects.
17250 2005-08-24 Andy Wingo <wingo@pobox.com>
17252 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17255 2005-08-24 Wim Taymans <wim@fluendo.com>
17257 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17258 (gst_base_transform_transform_caps),
17259 (gst_base_transform_transform_size),
17260 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17261 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17262 (gst_base_transform_handle_buffer):
17263 * gst/base/gstbasetransform.h:
17264 Many fixes and new features added by Thomas. Can now also do
17265 transforms with variable sizes and a custom fixate_caps function.
17267 2005-08-24 Wim Taymans <wim@fluendo.com>
17269 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17273 Cast to ClockTime before formatting to time.
17278 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17280 * check/gst-libs/controller.c: (GST_START_TEST),
17281 (gst_controller_suite):
17282 * docs/gst/tmpl/gstcaps.sgml:
17283 * docs/gst/tmpl/gstghostpad.sgml:
17284 * docs/gst/tmpl/gstquery.sgml:
17285 * docs/gst/tmpl/gstutils.sgml:
17286 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17287 (gst_object_sink_values), (gst_object_get_value_arrays),
17288 (gst_object_get_value_array):
17289 gracefully handle helper method calls to objects that are not beeing
17290 controlled, added test case for that
17292 2005-08-23 Wim Taymans <wim@fluendo.com>
17294 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17295 (gst_event_new_newsegment), (gst_event_parse_newsegment),
17296 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17297 (gst_event_parse_qos), (gst_event_new_seek),
17298 (gst_event_parse_seek):
17300 Some more debugging output and doc cleanups.
17302 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17303 Fix possible deadlock.
17305 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17307 * docs/gst/gstreamer-docs.sgml:
17308 * docs/gst/gstreamer-sections.txt:
17309 * docs/gst/gstreamer.types:
17310 * docs/gst/tmpl/.cvsignore:
17313 * gst/gstelement.c:
17315 added 100 symbols from gstreamer-unused.txt to the right sections
17316 fixed more broken comments
17317 added GstBus to docs
17319 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17321 * docs/gst/gstreamer-sections.txt:
17322 * docs/gst/tmpl/.cvsignore:
17323 * docs/gst/tmpl/gstbin.sgml:
17324 * docs/gst/tmpl/gstbuffer.sgml:
17325 * gst/base/gstbasesrc.c:
17326 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17329 * tools/gst-launch.1.in:
17330 inlined more doc comments, added missing comments and fixed comments
17333 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
17335 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17339 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17341 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17342 * gst/gststructure.h:
17343 add a fixate function for booleans; add a FIXME that these func
17344 names should probably be gst_structure_fixate_*
17346 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17348 * docs/gst/gstreamer-docs.sgml:
17349 * docs/gst/gstreamer-sections.txt:
17351 * gst/gstbin.c: (gst_bin_get_type),
17352 (gst_bin_child_proxy_get_child_by_index),
17353 (gst_bin_child_proxy_get_children_count),
17354 (gst_bin_child_proxy_init):
17355 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17356 (gst_child_proxy_get_child_by_index),
17357 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17358 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17359 (gst_child_proxy_get), (gst_child_proxy_set_property),
17360 (gst_child_proxy_set_valist), (gst_child_proxy_set),
17361 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17362 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17363 * gst/gstchildproxy.h:
17364 * gst/parse/grammar.y:
17365 * tools/gst-inspect.c: (print_interfaces),
17366 (print_element_properties_info), (print_element_info):
17367 ported gstchildproxy over from 0.8
17368 ported gst-inspect fixes and enhancements over from 0.8
17370 2005-08-22 Wim Taymans <wim@fluendo.com>
17372 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17373 (gst_base_transform_handle_buffer):
17374 Also call the transform function if we have ANY caps.
17376 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17379 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17381 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17382 Don't pretend to handle seek events if the source is not seekable
17384 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17386 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17387 Remove extra parameter to debug output
17389 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17390 (gst_base_src_do_seek), (gst_base_src_activate_push):
17391 Fix seek event handling.
17393 * gst/gstpipeline.c: (gst_pipeline_change_state):
17394 * gst/gstqueue.c: (gst_queue_handle_sink_event),
17395 (gst_queue_src_activate_push):
17396 Don't start the src pad task on FLUSH_STOP if the pad
17400 2005-08-22 Wim Taymans <wim@fluendo.com>
17402 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17403 Added check for gst_static_caps_get() refcounting.
17405 2005-08-22 Wim Taymans <wim@fluendo.com>
17407 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17408 Make _static_caps_get() refcounting sane.
17410 * gst/gstelement.c: (gst_element_set_state):
17411 Add g_return_val_if_fail() to protect against segfaults.
17413 2005-08-22 Stefan Kost <ensonic@users.sf.net>
17415 * docs/gst/tmpl/gstevent.sgml:
17418 inlined remaining docs, added missing doc comments
17420 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
17422 * check/gst/gstbin.c: (GST_START_TEST):
17423 since we don't know when preroll is done, use refcount range
17425 * gst/check/gstcheck.h:
17426 add macro for checking refcount range
17428 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17430 * check/Makefile.am:
17431 clean up environment for when registry gets built versus
17432 when actual tests are run; valgrind seems to not report
17433 leaks if GST_PLUGIN_PATH is set to some specific values
17434 * check/gst/gstbin.c: (GST_START_TEST):
17435 add more refcounting checks; maybe this exposes a
17437 * common/check.mak:
17438 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17439 * gst/check/gstcheck.h:
17440 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17441 (gst_bin_change_state):
17442 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17443 add/fix debugging/whitespace
17445 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17447 * check/gst/gstevent.c: (event_probe), (test_event),
17449 Er, don't call gst_bin_watch_for_state_change you idiot.
17451 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17453 * check/Makefile.am:
17454 Use CHECK_CFLAGS and CHECK_LIBS
17455 * check/gst/gstevent.c: (event_probe), (test_event),
17458 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17459 (gst_base_src_start), (gst_base_src_stop),
17460 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17461 (gst_base_src_change_state):
17462 Sprinkle gst_base_src_stop liberally around error paths to fix
17463 problems reusing a source after failed state changes.
17464 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17465 (helper_find_suggest), (gst_type_find_helper):
17466 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17468 * docs/gst/tmpl/gstevent.sgml:
17469 Migrate part of the docs from the SGML file. Wait for ensonic to
17470 tell me how I did it wrong ;)
17471 * tools/gst-typefind.c: (main):
17472 Extra robustness to state changes between files.
17474 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17476 * check/Makefile.am:
17477 don't valgrind the controller test - it's leaking - Stefan, HELP
17478 * gst/check/gstcheck.c: (gst_check_message_error),
17479 (gst_check_chain_func), (gst_check_setup_element),
17480 (gst_check_teardown_element), (gst_check_setup_src_pad),
17481 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17482 (gst_check_teardown_sink_pad):
17483 * gst/check/gstcheck.h:
17484 add a bunch of methods to set up elements, and src and sink pads
17485 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17486 * check/elements/identity.c: (setup_identity), (cleanup_identity),
17489 * gst/gstmessage.c:
17491 whitespace/doc fixes
17493 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17495 * gst/gstelement.h:
17496 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17497 be handled by the application and not always printed as well
17499 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17501 * check/Makefile.am:
17503 * gst/check/gstcheck.c: (gst_check_message_error):
17504 * gst/check/gstcheck.h:
17505 add a fail_unless_equals_int
17506 add fail_unless for error messages
17508 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17510 * check/Makefile.am:
17512 * common/Makefile.am:
17513 * common/check.mak:
17515 factor out some of the common stuff so we can use it
17517 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17519 * check/Makefile.am:
17520 * check/gst/gstiterator.c: (GST_START_TEST):
17521 * check/gst/gstsystemclock.c: (GST_START_TEST),
17522 (gst_systemclock_suite):
17523 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17525 valgrind more tests
17527 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17529 * check/elements/.cvsignore:
17530 * check/elements/gstfakesrc.c:
17531 rename to name of element
17532 * check/elements/identity.c: (chain_func), (event_func),
17533 (setup_identity), (cleanup_identity), (GST_START_TEST),
17534 (identity_suite), (main):
17535 add a test for identity
17536 * check/Makefile.am:
17537 * pkgconfig/Makefile.am:
17538 * pkgconfig/gstreamer-check.pc.in:
17539 * pkgconfig/gstreamer-check-uninstalled.pc.in:
17543 move the check stuff to a library that gets installed
17544 * check/gst-libs/controller.c: (GST_START_TEST):
17545 * check/gst-libs/gdp.c:
17546 * check/gst/gst.c: (GST_START_TEST):
17547 * check/gst/gstbin.c:
17548 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17549 * check/gst/gstbus.c:
17550 * check/gst/gstcaps.c: (GST_START_TEST):
17551 * check/gst/gstelement.c:
17552 * check/gst/gstghostpad.c:
17553 * check/gst/gstiterator.c:
17554 * check/gst/gstmessage.c:
17555 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17556 * check/gst/gstobject.c:
17557 * check/gst/gstpad.c: (GST_START_TEST):
17558 * check/gst/gststructure.c: (GST_START_TEST):
17559 * check/gst/gstsystemclock.c: (GST_START_TEST),
17560 (gst_systemclock_suite):
17561 * check/gst/gsttag.c: (gst_tag_suite):
17562 * check/gst/gstvalue.c:
17563 * check/pipelines/cleanup.c:
17564 * check/pipelines/simple_launch_lines.c:
17565 * check/states/sinks.c:
17566 change include statement
17568 * docs/gst/gstreamer-sections.txt:
17569 * docs/gst/tmpl/gstpad.sgml:
17570 document more pad stuff
17571 * gst/gstminiobject.c: (gst_mini_object_ref),
17572 (gst_mini_object_unref):
17575 2005-08-19 Stefan Kost <ensonic@users.sf.net>
17577 * docs/gst/tmpl/gst.sgml:
17579 eliminate another tmpl file, fix spelling in the long-description
17581 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17583 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17584 (test_event), (timediff), (gstevents_suite):
17585 Should fix build on 64-bit arch's
17587 2005-08-18 Andy Wingo <wingo@pobox.com>
17589 Make sure that when a pipeline goes to PLAYING, that data has
17590 actually hit the sink.
17592 * check/states/sinks.c (test_sink): A sink that doesn't get any
17593 data shouldn't return SUCCESS for going to either PLAYING or
17594 PAUSED. Test also the return values on the way back down.
17596 * gst/gstelement.c (gst_element_set_state): When changing the
17597 state of an element currently changing state asynchronously, go to
17598 lost-state after commiting the pending state. Makes future calls
17599 to get_state continue to return ASYNC.
17601 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17602 ASYNC when going to PLAYING if we still don't have preroll, as can
17603 happen with live sources.
17605 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17607 * docs/pwg/advanced-types.xml:
17608 Hack long paragraph into 2 chunks as a workaround for buggy
17609 jadetex version in sid and breezy that loops infinitely and
17612 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17614 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17615 (test_event), (timediff), (gstevents_suite):
17616 Provide more error margin in clock measurements to allow for
17617 g_get_current_time inaccuracies.
17619 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17621 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17622 (test_event), (timediff), (gstevents_suite):
17623 Fix error message output so I might be able to tell why the
17624 test works here but fails on the build farm.
17626 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17628 * check/Makefile.am:
17629 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17630 (test_event), (timediff), (gstevents_suite), (main):
17633 * docs/design/part-seeking.txt:
17634 Spelling correction
17636 * docs/gst/tmpl/gstevent.sgml:
17637 * docs/gst/tmpl/gstfakesrc.sgml:
17640 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17641 Treat a buffer-without-newsegment the same as a receiving
17642 a newsegment not in time format, and disable syncing to the clock
17645 * gst/gstbus.c: (gst_bus_set_sync_handler):
17646 Assert if anyone tries to replace the existing sync_handler for bus,
17647 as only the owner should be setting it.
17650 Have a fixed set of custom event enums with events identified by
17651 their structure name (as in 0.8), rather than a free-for-all
17652 allowing collisions between enum values from different plugins.
17654 * gst/gstpad.c: (gst_pad_class_init):
17657 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17658 Handle out-of-band downstream events from the sending thread.
17660 2005-08-17 Andy Wingo <wingo@pobox.com>
17662 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17663 play-timeout==0 to mean no timeout at all. In that case, don't
17664 bother with a get_state or a warning, just return directly, even
17667 * gst/base/gstbasetransform.c: Debug changes.
17670 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17671 ensure bins post state change messages. A bit of a hack but I can't
17672 think of a way to avoid it.
17674 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17676 2005-08-16 Andy Wingo <wingo@pobox.com>
17678 * gst/base/gstadapter.h:
17679 * gst/base/gstadapter.c (gst_adapter_take): New function, like
17680 peek() but you own the data. Not terribly efficient atm.
17682 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17684 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17685 (gst_element_found_tags):
17687 Add two utility functions for tag handling.
17689 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17691 * docs/manual/advanced-dataaccess.xml:
17692 * docs/manual/basics-helloworld.xml:
17693 Fix docs to use _bin_add() before _link(), which fixes the examples
17694 with recent core versions (reported by Madhan Raj M
17695 <raj_madan@rediffmail.com>, #313199).
17697 2005-08-16 Wim Taymans <wim@fluendo.com>
17699 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17700 Added subtract checks.
17702 * docs/design/part-events.txt:
17703 Some more docs about newsegment
17705 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17708 * gst/gstcaps.c: (gst_caps_to_string):
17709 Add comments, cleanups.
17711 * gst/gstelement.c: (gst_element_save_thyself):
17714 * gst/gstvalue.c: (gst_value_collect_int_range),
17715 (gst_string_unwrap), (gst_value_union_int_int_range),
17716 (gst_value_union_int_range_int_range),
17717 (gst_value_intersect_int_int_range),
17718 (gst_value_intersect_int_range_int_range),
17719 (gst_value_intersect_double_double_range),
17720 (gst_value_intersect_double_range_double_range),
17721 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17722 (gst_value_subtract_int_range_int),
17723 (gst_value_subtract_double_range_double),
17724 (gst_value_subtract_double_range_double_range),
17725 (gst_value_subtract_from_list), (gst_value_subtract_list),
17726 (gst_value_can_compare), (gst_value_compare_fraction):
17727 Cleanups, add comments, remove unneeded asserts.
17729 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17731 * tools/gst-launch.c: (event_loop):
17732 don't convert NULL structures to strings
17734 2005-08-15 Stefan Kost <ensonic@users.sf.net>
17736 * docs/gst/gstreamer-sections.txt:
17737 made some defines private
17738 * docs/gst/tmpl/gstconfig.sgml:
17739 * docs/gst/tmpl/gstqueue.sgml:
17740 * docs/gst/tmpl/gsttaglist.sgml:
17741 * docs/gst/tmpl/gsttypes.sgml:
17742 * docs/gst/tmpl/gstutils.sgml:
17743 * docs/pwg/appendix-porting.xml:
17744 * gst/base/gstbasesink.h:
17745 * gst/base/gstbasesrc.c:
17746 * gst/base/gstbasesrc.h:
17747 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17748 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17749 * gst/gstelement.c: (gst_element_class_init):
17750 * gst/gstpad.c: (gst_pad_class_init):
17751 * gst/gstqueue.c: (gst_queue_class_init):
17752 * gst/gstxml.c: (gst_xml_class_init):
17753 documented all undocumented signal inline
17754 * libs/gst/controller/gst-controller.h:
17757 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17759 * docs/pwg/appendix-porting.xml:
17760 Document _set_link_function -> _set_setcaps_function.
17762 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17764 * check/Makefile.am:
17765 add a .check target for running the check
17766 * check/gst-libs/controller.c: (GST_START_TEST):
17768 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17769 complete checks for gstbuffer; would be nice if I could get the
17770 gcov stuff to work so I can see if I actually completed gstbuffer.c
17771 * check/gstcheck.h:
17772 add ASSERT_BUFFER_REFCOUNT
17774 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
17776 * docs/gst/gstreamer-sections.txt:
17777 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17779 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17780 spew out a warning if a tag that is already registered
17781 is re-registered, unless it is re-registered with a
17782 different type (#308438).
17784 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
17786 * docs/pwg/appendix-porting.xml:
17787 * docs/pwg/building-state.xml:
17788 Add some paragraphs about state changes in 0.9 to the PWG
17789 and the porting guide, in particular about the new meaning
17790 of GST_STATE_PAUSED and how to write state change functions
17791 with concurrent access by multiple threads in mind.
17793 2005-08-11 Stefan Kost <ensonic@users.sf.net>
17795 * docs/gst/gstreamer-docs.sgml:
17796 * docs/libs/gstreamer-libs-docs.sgml:
17797 added deprecation and since indexes
17798 * libs/gst/controller/gst-controller.c:
17799 * libs/gst/controller/gst-helper.c:
17803 2005-08-11 Wim Taymans <wim@fluendo.com>
17805 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17806 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17807 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17808 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17809 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17810 (gst_ghost_pad_set_target):
17811 Actually implement (re)setting the target on a ghostpad
17812 as described in the docs.
17814 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17816 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17817 Check whether GST_DEBUG_NO_COLOR environment variable is
17818 set and disable coloured debug output if that is the case.
17820 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17822 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17823 (gst_type_find_helper):
17824 The memory returned by gst_type_find_peek() needs to
17825 stay valid until the end of a typefind function, and
17826 typefind functions may keep results from different
17827 offsets around, so we can't just unref the buffer from
17828 the previous _peek(), but have to save all buffers
17829 returned by _peek() until typefinding is done and only
17832 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
17834 * docs/gst/gstreamer-sections.txt:
17836 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
17838 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17840 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17841 Fix a pretty good memleak.
17843 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17845 * gst/gstiterator.h:
17846 Fix wrong include and 'make distcheck'.
17848 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17850 * gst/gstbin.c: (bin_bus_handler):
17851 Use gst_element_post_message() instead.
17853 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17855 * gst/base/gstadapter.h:
17856 * gst/base/gstbasesink.h:
17857 * gst/base/gstbasesrc.h:
17858 * gst/base/gstbasetransform.h:
17859 * gst/base/gstcollectpads.h:
17860 * gst/base/gstpushsrc.h:
17861 * gst/gstiterator.h:
17862 Add padding to our base elements' class and instance structs and
17863 to GstIterator (you will need to rebuild all plugins and apps!)
17865 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17867 * gst/gstbin.c: (bin_bus_handler):
17868 Make default message forwarding from child->bus to bin->bus
17869 threadsafe and make it not emit warnings if the parent has no bus.
17871 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17873 * gst/gstelement.c: (activate_pads):
17874 On paused->ready, set pad->caps to NULL, as is the documented
17875 behaviour in this state change. Fixes playback of series of
17876 media files when visualization is enabled in Totem.
17878 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17880 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17881 Allow NULL as filter-caps (which means "any").
17883 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17885 * docs/libs/gstreamer-libs-sections.txt:
17886 * libs/gst/controller/gst-controller.c:
17887 * libs/gst/controller/gst-controller.h:
17888 * libs/gst/controller/gst-helper.c:
17889 adding more entries to the docs and fix small doc-bugs
17891 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17893 * docs/gst/gstreamer-docs.sgml:
17894 * docs/gst/gstreamer-sections.txt:
17895 * docs/gst/gstreamer.types:
17896 * docs/gst/tmpl/gstbasesink.sgml:
17897 * docs/gst/tmpl/gstbasesrc.sgml:
17898 * docs/gst/tmpl/gstbasetransform.sgml:
17899 * docs/gst/tmpl/gstfakesrc.sgml:
17900 * gst/base/gstcollectpads.c:
17901 * gst/base/gstcollectpads.h:
17902 * libs/gst/controller/gst-controller.c:
17903 * libs/gst/controller/gst-controller.h:
17904 * libs/gst/controller/gst-helper.c:
17905 * libs/gst/controller/gst-interpolation.c:
17906 * libs/gst/controller/lib.c:
17907 added long/short desc for controller docs
17908 added collectpads base class docs
17909 added correct includes to base-class docs
17911 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17913 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17914 (gst_test_mono_source_set_property),
17915 (gst_test_mono_source_class_init), (GST_START_TEST),
17916 (gst_controller_suite):
17917 * docs/gst/gstreamer-docs.sgml:
17918 * docs/gst/gstreamer-sections.txt:
17919 * docs/gst/gstreamer.types:
17920 * docs/libs/gstreamer-libs-docs.sgml:
17921 * docs/libs/gstreamer-libs-sections.txt:
17922 * gst/base/gstadapter.c:
17923 * libs/gst/controller/gst-controller.c:
17924 (gst_controlled_property_new), (gst_controlled_property_free),
17925 (gst_controller_new_valist),
17926 (gst_controller_remove_properties_valist),
17927 (gst_controller_sink_values), (_gst_controller_finalize):
17928 * libs/gst/controller/gst-controller.h:
17929 * libs/gst/controller/gst-helper.c:
17930 (gst_object_control_properties), (gst_object_uncontrol_properties),
17931 (gst_object_get_controller), (gst_object_set_controller),
17932 (gst_object_sink_values), (gst_object_get_value_arrays),
17933 (gst_object_get_value_array):
17934 more tests (and fixes) for the controller
17935 more docs for the controller
17936 integrated companies docs for the adapter
17938 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
17940 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
17941 (GST_START_TEST), (fakesrc_suite):
17942 add tests for sizetype
17944 2005-08-04 Andy Wingo <wingo@pobox.com>
17946 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
17947 fixes buffer_alloc proxying among other things.
17949 * gst/base/gstbasetransform.c:
17950 * gst/base/gstbasetransform.h:
17951 Revert patch to gstbasetransform from 7-28 removing
17954 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
17955 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
17956 Semantics changed, should return not the size of the output buffer
17957 but the byte size of a buffer with a given caps.
17959 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
17961 (gst_base_transform_configure_caps): Don't set out_size here: (in,
17962 out) are not the pad caps until setcaps finishes.
17963 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
17964 not-in-place case as well. Deal with changing from in-place to
17965 not-in-place within calling pad_alloc_buffer. Still a bit
17966 concerned about the overhead here...
17968 2005-08-03 Andy Wingo <wingo@pobox.com>
17970 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
17971 fixating is an error.
17973 2005-08-04 Edward Hervey <edward@fluendo.com>
17975 * gst/base/gstadapter.h:
17976 Added gst_adapter_get_type() to the header
17978 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17980 * check/Makefile.am:
17981 * check/gst-libs/controller.c:
17982 * libs/gst/controller/gst-controller.c:
17983 (gst_controller_new_valist):
17984 added check test suite for the controller
17985 * gst/base/gstpushsrc.c:
17988 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17990 * docs/gst/Makefile.am:
17991 * docs/gst/gstreamer-docs.sgml:
17992 * docs/gst/gstreamer-sections.txt:
17993 * docs/gst/gstreamer.types:
17994 * docs/gst/tmpl/gstfakesrc.sgml:
17996 * gst/base/gstbasesink.c:
17997 * gst/base/gstbasesink.h:
17998 * gst/base/gstbasesrc.c:
17999 * gst/base/gstbasesrc.h:
18000 * gst/base/gstbasetransform.c:
18001 * gst/base/gstpushsrc.c:
18002 * gst/base/gstpushsrc.h:
18003 add short/long description docs to base classes
18004 add pushsrc to the docs
18005 remove consolidated doc fragments
18007 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18010 * docs/libs/Makefile.am:
18011 * docs/libs/gstreamer-libs-docs.sgml:
18012 * docs/libs/gstreamer-libs-sections.txt:
18013 * docs/libs/gstreamer-libs.types:
18014 * examples/Makefile.am:
18015 * examples/controller/.cvsignore:
18016 * examples/controller/Makefile.am:
18017 * examples/controller/audio-example.c: (main):
18018 * libs/gst/Makefile.am:
18019 * libs/gst/controller/.cvsignore:
18020 * libs/gst/controller/Makefile.am:
18021 * libs/gst/controller/gst-controller.c:
18022 (on_object_controlled_property_changed), (gst_timed_value_compare),
18023 (gst_timed_value_find),
18024 (gst_controlled_property_set_interpolation_mode),
18025 (gst_controlled_property_new), (gst_controlled_property_free),
18026 (gst_controller_find_controlled_property),
18027 (gst_controller_new_valist), (gst_controller_new),
18028 (gst_controller_remove_properties_valist),
18029 (gst_controller_remove_properties), (gst_controller_set),
18030 (gst_controller_set_from_list), (gst_controller_unset),
18031 (gst_controller_get), (gst_controller_get_all),
18032 (gst_controller_sink_values), (gst_controller_get_value_arrays),
18033 (gst_controller_get_value_array),
18034 (gst_controller_set_interpolation_mode),
18035 (_gst_controller_finalize), (_gst_controller_init),
18036 (_gst_controller_class_init), (gst_controller_get_type):
18037 * libs/gst/controller/gst-controller.h:
18038 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18039 (g_object_uncontrol_properties), (g_object_get_controller),
18040 (g_object_set_controller), (g_object_sink_values),
18041 (g_object_get_value_arrays), (g_object_get_value_array):
18042 * libs/gst/controller/gst-interpolation.c:
18043 (gst_controlled_property_find_timed_value_node),
18044 (interpolate_none_get), (interpolate_trigger_get),
18045 (interpolate_trigger_get_value_array):
18046 * libs/gst/controller/lib.c: (gst_controller_init):
18047 * pkgconfig/Makefile.am:
18048 * pkgconfig/gstreamer-control-uninstalled.pc.in:
18049 * pkgconfig/gstreamer-control.pc.in:
18050 * testsuite/Makefile.am:
18051 * testsuite/controller/.cvsignore:
18052 * testsuite/controller/Makefile.am:
18053 * testsuite/controller/interpolator.c: (main):
18054 added controller code
18055 removed dparam pc files
18057 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18058 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18059 (gst_collectpads_stop):
18060 Broadcast the condition when shutting down, to make sure we wake all
18061 threads up. Shut down pads on finalize, for safety.
18063 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18064 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18065 (gst_base_transform_handle_buffer),
18066 (gst_base_transform_change_state):
18067 Handle PAUSED->READY->PAUSED transition after negotiation
18069 * gst/gstmessage.c: (gst_message_init):
18070 Extra piece of debug for new messages.
18072 2005-08-01 Stefan Kost <ensonic@users.sf.net>
18075 * docs/gst/tmpl/gstbasesrc.sgml:
18076 * docs/gst/tmpl/gstelement.sgml:
18077 * docs/gst/tmpl/gstevent.sgml:
18078 * docs/gst/tmpl/gstfakesrc.sgml:
18079 * docs/gst/tmpl/gstformat.sgml:
18080 * docs/gst/tmpl/gstghostpad.sgml:
18081 * docs/gst/tmpl/gstpad.sgml:
18082 * docs/gst/tmpl/gstquery.sgml:
18083 * docs/gst/tmpl/gststructure.sgml:
18084 * docs/gst/tmpl/gsttaglist.sgml:
18085 * docs/gst/tmpl/gstvalue.sgml:
18086 * docs/libs/gstreamer-libs-docs.sgml:
18087 * docs/libs/gstreamer-libs-sections.txt:
18088 * docs/libs/gstreamer-libs.types:
18089 * libs/gst/Makefile.am:
18090 * libs/gst/control/.cvsignore:
18091 * libs/gst/control/Makefile.am:
18092 * libs/gst/control/control.c:
18093 * libs/gst/control/control.h:
18094 * libs/gst/control/dparam.c:
18095 * libs/gst/control/dparam.h:
18096 * libs/gst/control/dparam_smooth.c:
18097 * libs/gst/control/dparam_smooth.h:
18098 * libs/gst/control/dparamcommon.h:
18099 * libs/gst/control/dparammanager.c:
18100 * libs/gst/control/dparammanager.h:
18101 * libs/gst/control/dplinearinterp.c:
18102 * libs/gst/control/dplinearinterp.h:
18103 * libs/gst/control/unitconvert.c:
18104 * libs/gst/control/unitconvert.h:
18105 * testsuite/Makefile.am:
18106 * testsuite/dynparams/.cvsignore:
18107 * testsuite/dynparams/Makefile.am:
18108 * testsuite/dynparams/dparamstest.c:
18109 * tools/Makefile.am:
18110 * tools/gst-inspect.c: (print_element_info), (main):
18111 * tools/gst-xmlinspect.c: (print_element_info), (main):
18112 deactivate and remove dparams (libgstcontrol)
18114 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18116 * gst/elements/gsttypefindelement.c:
18117 (gst_type_find_element_have_type), (gst_type_find_element_init),
18118 (stop_typefinding), (gst_type_find_element_handle_event),
18119 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18120 * gst/elements/gsttypefindelement.h:
18121 Set caps on all outgoing buffers, not just the first one.
18123 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18125 * gst/elements/gsttypefindelement.c:
18126 (gst_type_find_element_have_type),
18127 (gst_type_find_element_check_set_buffer_caps),
18128 (gst_type_find_element_init), (stop_typefinding),
18129 (gst_type_find_element_handle_event),
18130 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18131 * gst/elements/gsttypefindelement.h:
18132 Set caps on first outgoing buffer when we've found the type.
18134 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18136 * docs/gst/gstreamer-docs.sgml:
18137 * docs/gst/gstreamer-sections.txt:
18138 * docs/gst/tmpl/gstscheduler.sgml:
18139 * docs/gst/tmpl/gstschedulerfactory.sgml:
18140 Remove some old cruft from docs.
18142 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
18145 Fix inline docs for GstPadLinkReturn.
18147 * gst/gststructure.c: (gst_structure_has_name):
18148 * gst/gststructure.h:
18149 * docs/gst/gstreamer-sections.txt:
18150 New API: gst_structure_has_name().
18152 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
18155 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18156 and _LARGEFILE_SOURCE in config.h as required. Do not
18157 export those flags in our .pc files any longer (#142209).
18159 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18161 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18162 (gst_file_sink_do_seek), (gst_file_sink_event),
18163 (gst_file_sink_get_current_offset), (gst_file_sink_render):
18164 Redo seek/tell calls with large file support in mind; add some
18165 debugging messages; add log message that tells us when large
18166 file support is unavailable or not enabled for some reason.
18168 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18169 Add log message that tells us when large file support
18170 is unavailable or not enabled for some reason.
18172 2005-07-29 Wim Taymans <wim@fluendo.com>
18174 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18175 Added test for removing an element with ghostpad from a bin.
18176 Fixed test as current implementation does the right thing.
18178 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18179 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18180 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18181 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18182 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18183 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18184 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18185 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18186 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18187 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18188 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18189 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18190 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18191 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18192 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18193 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18194 * gst/gstghostpad.h:
18195 Clean up ghostpads, remove properties for internal stuff.
18198 Prepare for switching targets, not all use cases work yet.
18200 2005-07-29 Wim Taymans <wim@fluendo.com>
18202 * docs/design/part-gstghostpad.txt:
18205 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18206 (gst_bin_remove_func):
18207 Unlinking pads while holding the bin LOCK is not a good
18210 * gst/gstpad.c: (gst_pad_class_init),
18211 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18212 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18213 No prob setting template after creating the pad.
18215 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
18217 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18218 (gst_bus_peek), (gst_bus_source_dispatch),
18219 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18220 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18221 gst_bus_poll may be called from other threads. Handle
18222 this nicely by not making poll_data disappear off the
18223 stack once gst_bus_poll returns.
18224 gst_bus_peek now increments the refcount on the returned
18227 2005-07-29 Wim Taymans <wim@fluendo.com>
18229 * docs/design/part-gstghostpad.txt:
18230 Overview of current GhostPad datastructures and use
18231 cases for changing the target.
18233 2005-07-28 Wim Taymans <wim@fluendo.com>
18235 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18236 Added checks for hierarchy consistency whan adding linked
18239 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18240 Added check to test element scheduling without bin/pipeline.
18242 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18243 First add elements to bin, then link.
18245 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18246 (gst_bin_remove_func):
18247 Unlink pads from elements added/removed from bin to maintain
18248 hierarchy consistency.
18250 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18252 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18253 (gst_base_transform_handle_buffer):
18254 * gst/base/gstbasetransform.h:
18255 Remove broken delay_configure (fixes renegotiation of software
18256 scaling pipelines); remove some leftover printf()s.
18258 2005-07-28 Wim Taymans <wim@fluendo.com>
18260 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18261 Added some more tests for wrong hierarchy
18263 * docs/design/part-overview.txt:
18266 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18269 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18270 (gst_element_dispose):
18271 Some more cleanups.
18273 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18274 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18275 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18276 (gst_pad_set_caps), (gst_pad_send_event):
18277 Check for correct hierarchy when linking pads. Moving to
18278 strict requirement for ghostpads when linking elements in
18282 Clean ups. Added WRONG_HIERARCHY return value.
18284 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18286 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18287 Better debug if no transform is possible.
18289 2005-07-27 Wim Taymans <wim@fluendo.com>
18291 * docs/random/wtay/network-transp:
18292 Some old doc I had.
18294 2005-07-27 Wim Taymans <wim@fluendo.com>
18296 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18297 (gst_dp_event_from_packet):
18298 Fix serialization of seek events.
18300 2005-07-27 Wim Taymans <wim@fluendo.com>
18302 * check/gst-libs/gdp.c: (GST_START_TEST):
18303 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18304 Fix compilation and fix event serialization.
18306 2005-07-27 Wim Taymans <wim@fluendo.com>
18309 * docs/design/part-TODO.txt:
18310 * docs/design/part-events.txt:
18313 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18314 (gst_base_sink_event), (gst_base_sink_do_sync),
18315 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18316 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18317 (gst_base_src_do_seek), (gst_base_src_event_handler),
18318 (gst_base_src_loop):
18319 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18320 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18321 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18322 (gst_base_transform_event), (gst_base_transform_handle_buffer),
18323 (gst_base_transform_set_passthrough),
18324 (gst_base_transform_is_passthrough):
18325 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18326 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18332 * gst/gstelement.c: (gst_element_seek):
18333 * gst/gstelement.h:
18334 Update gst_element_seek.
18336 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18337 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18338 (gst_event_new_flush_start), (gst_event_new_flush_stop),
18339 (gst_event_new_eos), (gst_event_new_newsegment),
18340 (gst_event_parse_newsegment), (gst_event_new_tag),
18341 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18342 (gst_event_parse_qos), (gst_event_new_seek),
18343 (gst_event_parse_seek), (gst_event_new_navigation):
18345 Make GstEvent use GstStructure. Add parsing code, make sure the
18346 API is sufficiently generic.
18347 Mark possible directions of events and serialization.
18349 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18350 (_gst_message_copy), (gst_message_new_segment_start),
18351 (gst_message_new_segment_done), (gst_message_new_custom),
18352 (gst_message_parse_segment_start),
18353 (gst_message_parse_segment_done):
18356 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18357 (gst_pad_set_caps), (gst_pad_send_event):
18358 Update for new events.
18359 Catch events sent in wrong directions.
18361 * gst/gstqueue.c: (gst_queue_link_src),
18362 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18363 (gst_queue_handle_src_query):
18368 Remove event code from this file.
18370 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18371 (gst_dp_event_from_packet):
18374 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18376 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18377 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18378 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18379 Make debugging actually useful.
18381 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18383 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18384 (gst_pad_fixate_caps):
18385 Implement default fixation once again, so that gst_pad_fixate()
18386 actually does anything at all. This probably needs to be some
18387 sort of a last resort, and use profile-based fixation first, but
18388 since that doesn't exist yet, this is the best we have. Fixes
18389 visualization in Totem.
18391 2005-07-22 Wim Taymans <wim@fluendo.com>
18393 * docs/design/part-events.txt:
18396 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18397 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18398 (gst_base_sink_activate_pull):
18399 Some more comments.
18401 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18402 (gst_fake_src_create):
18403 Fix handoff marshall.
18405 * gst/elements/gstidentity.c: (gst_identity_class_init),
18406 (gst_identity_transform_ip):
18407 We're a real inplace element.
18409 * gst/gstbus.c: (gst_bus_post):
18410 Added some comments.
18412 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18413 * tests/muxing/case1.c: (main):
18414 * tests/sched/dynamic-pipeline.c: (main):
18415 * tests/sched/interrupt1.c: (main):
18416 * tests/sched/interrupt2.c: (main):
18417 * tests/sched/interrupt3.c: (main):
18418 * tests/sched/runxml.c: (main):
18419 * tests/sched/sched-stress.c: (main):
18420 * tests/seeking/seeking1.c: (event_received), (main):
18421 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18423 * tests/threadstate/threadstate3.c: (main):
18424 * tests/threadstate/threadstate4.c: (main):
18425 * tests/threadstate/threadstate5.c: (main):
18428 2005-07-21 Wim Taymans <wim@fluendo.com>
18430 * docs/design/part-seeking.txt:
18431 Some small additions.
18433 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18434 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18435 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18436 * gst/base/gstbasesink.h:
18437 discont values are gint64, handle the math correctly.
18439 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18440 Make the basesrc report error if the source pad is not linked.
18442 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18443 (gst_queue_loop), (gst_queue_handle_src_query),
18444 (gst_queue_src_activate_push):
18445 Make queue collect data even if the srcpad is not linked.
18446 Start pushing out data as soon as it is linked.
18448 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18450 Added gst_flow_get_name() to ease error reporting.
18452 2005-07-20 Wim Taymans <wim@fluendo.com>
18454 * gst/gstmessage.c: (gst_message_new_segment_start),
18455 (gst_message_new_segment_done), (gst_message_parse_segment_start),
18456 (gst_message_parse_segment_done):
18457 * gst/gstmessage.h:
18458 Added a bunch of messages for advanced seeking.
18460 * gst/parse/grammar.y:
18461 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18462 (gst_dpman_state_changed):
18463 Fix some new-pad -> pad-added signals
18465 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18467 * docs/manual/appendix-porting.xml:
18468 * docs/pwg/appendix-porting.xml:
18469 Document new-pad/state-change signal renames and the FixedList
18472 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18474 * docs/manual/advanced-autoplugging.xml:
18475 * docs/manual/basics-helloworld.xml:
18476 * docs/manual/basics-pads.xml:
18477 * docs/random/ds/0.9-suggested-changes:
18478 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18479 * gst/gstelement.h:
18483 * gst/gststructure.c: (gst_structure_value_get_generic_type),
18484 (gst_structure_parse_array), (gst_structure_parse_value):
18485 * gst/gstvalue.c: (gst_type_is_fixed),
18486 (gst_value_list_prepend_value), (gst_value_list_append_value),
18487 (gst_value_list_get_size), (gst_value_list_get_value),
18488 (gst_value_transform_array_string), (gst_value_serialize_array),
18489 (gst_value_deserialize_array), (gst_value_intersect_array),
18490 (gst_value_is_fixed), (_gst_value_initialize):
18492 GstElement::new-pad -> pad-added, GstElement::state-change ->
18493 state-changed, GstValueFixedList -> GstValueArray, add format and
18494 flags as their own arguments in gst_element_seek() (should improve
18495 "bindeability"), remove function generators since they don't work
18496 under a whole bunch of compilers (they were deprecated already
18499 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18501 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18502 (_gst_debug_register_funcptr):
18504 Fix illegal cast on some platforms (#309253).
18506 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18508 * gst/gstmessage.c: (gst_message_new_custom):
18509 * gst/gstmessage.h:
18510 Add _new_custom, make _new_application a macro to _new_custom.
18512 2005-07-20 Wim Taymans <wim@fluendo.com>
18514 * gst/base/gstbasesrc.c: (gst_base_src_init),
18515 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18516 * gst/base/gstbasesrc.h:
18517 Add a gboolean to decide when to push out a discont.
18519 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18520 (gst_queue_loop), (gst_queue_handle_src_query),
18521 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18522 (gst_queue_set_property), (gst_queue_get_property):
18525 * tests/threadstate/threadstate1.c: (main):
18526 Make a thread test compile and run... very silly..
18529 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18531 * docs/manual/appendix-porting.xml:
18532 Mention removal of libgstgconf-0.9.la and existence of gconf
18535 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18537 * docs/pwg/advanced-clock.xml:
18538 * docs/pwg/appendix-porting.xml:
18539 * docs/pwg/intro-preface.xml:
18540 * docs/pwg/other-base.xml:
18541 * docs/pwg/other-manager.xml:
18542 * docs/pwg/other-nton.xml:
18543 * docs/pwg/other-ntoone.xml:
18544 * docs/pwg/other-oneton.xml:
18545 * docs/pwg/pwg.xml:
18546 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18547 demuxer), remove n-to-n (was never written), fix some code examples
18548 and links and update the porting section to include all this.
18550 2005-07-19 Wim Taymans <wim@fluendo.com>
18552 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18553 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18554 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18555 (gst_queue_src_activate_push), (gst_queue_change_state),
18556 (gst_queue_get_property):
18558 Propagate GstFlowReturn more intelligently upstream and output
18559 an ERROR/EOS when streaming stopped due to fatal error.
18561 2005-07-19 Wim Taymans <wim@fluendo.com>
18563 * tools/gst-launch.c: (check_intr), (event_loop), (main):
18564 Don't block forever for the state change to complete, the
18565 pipeline already did with a sensible timeout.
18567 2005-07-19 Wim Taymans <wim@fluendo.com>
18569 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18570 Make sure we never call the create function is we
18573 2005-07-19 Andy Wingo <wingo@pobox.com>
18575 * gst/parse/parse.l: Attempt to solve bug #172815.
18577 2005-07-19 Wim Taymans <wim@fluendo.com>
18579 * docs/design/part-clocks.txt:
18580 * docs/design/part-events.txt:
18581 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18582 Small docs updates.
18583 Only update the seeking values when we are not
18586 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18588 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18589 Oops, ignore the result of gst_pad_push_event here.
18591 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18593 * gst/base/gstbasesrc.c: (gst_base_src_loop),
18594 (gst_base_src_activate_push):
18595 Send discont event from the loop function, as pads
18596 aren't activated yet in the activate_push handler.
18598 * gst/gstbin.c: (bin_bus_handler):
18599 Don't leak element name.
18601 2005-07-18 Andy Wingo <wingo@pobox.com>
18603 * configure.ac: Use AS_LIBTOOL_TAGS.
18605 2005-07-18 Wim Taymans <wim@fluendo.com>
18607 * docs/gst/gstreamer.types:
18608 Remove deleted types.
18610 2005-07-18 Wim Taymans <wim@fluendo.com>
18612 * check/elements/gstfakesrc.c: (GST_START_TEST):
18615 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18616 (init_popt_callback):
18618 * gst/gst_private.h:
18619 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18620 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18623 * gst/gstconfig.h.in:
18624 * gst/gstelement.c: (gst_element_class_init),
18625 (gst_element_set_base_time), (gst_element_get_base_time),
18626 (iterator_fold_with_resync), (gst_element_change_state),
18627 (gst_element_dispose), (gst_element_get_bus):
18628 * gst/gstelement.h:
18629 * gst/gstelementfactory.h:
18630 * gst/gsterror.c: (_gst_core_errors_init):
18633 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18635 * gst/gstinfo.c: (_gst_debug_init):
18636 * gst/gstmessage.c: (_gst_message_copy):
18637 * gst/gstmessage.h:
18638 * gst/gstminiobject.h:
18641 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18642 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18645 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18646 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18647 (gst_pipeline_get_last_stream_time):
18648 * gst/gstpipeline.h:
18649 * gst/gstpluginfeature.h:
18651 * gst/gstscheduler.c:
18652 * gst/gstscheduler.h:
18653 * gst/gststructure.h:
18654 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18655 (gst_task_finalize), (gst_task_func), (gst_task_create),
18656 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18657 (gst_task_stop), (gst_task_pause):
18659 * gst/gsttypefind.h:
18661 * gst/registries/gstlibxmlregistry.c: (load_feature),
18662 (gst_xml_registry_load), (gst_xml_registry_save_feature):
18663 * gst/registries/gstxmlregistry.c:
18664 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18665 * gst/schedulers/threadscheduler.c:
18666 * libs/gst/control/dparammanager.h:
18667 * tools/gst-inspect.c: (print_element_list),
18668 (print_plugin_features), (print_element_features):
18669 * tools/gst-xmlinspect.c: (print_element_list),
18670 (print_plugin_info), (main):
18671 Removed plugable schedulers.
18672 Removed Scheduler/Manager from elements.
18673 Removed gsttypes.h, rearranged includes.
18674 Removed dependency pad<->element, element<>pipeline, and
18675 various others, fix includes.
18676 implement gst_pad_get_parent() with gst_object_get_parent()
18677 Make GstTask sefcontained.
18678 Fix _get_state() on GstBin, it did not return ASYNC with a 0
18680 Fix endless loop in iterator_fold_with_resync.
18683 2005-07-18 Wim Taymans <wim@fluendo.com>
18689 2005-07-18 Wim Taymans <wim@fluendo.com>
18692 No more cothreads.h
18694 2005-07-18 Wim Taymans <wim@fluendo.com>
18698 Let's remove these.
18700 2005-07-18 Wim Taymans <wim@fluendo.com>
18702 * docs/design/part-dynamic.txt:
18703 * docs/design/part-events.txt:
18704 * docs/design/part-seeking.txt:
18705 Some more docs in the works.
18707 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18708 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18709 (gst_base_transform_setcaps), (gst_base_transform_get_size),
18710 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18711 (gst_base_transform_handle_buffer),
18712 (gst_base_transform_sink_activate_push),
18713 (gst_base_transform_src_activate_pull),
18714 (gst_base_transform_set_passthrough),
18715 (gst_base_transform_is_passthrough):
18718 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18721 * gst/gstevent.c: (gst_event_finalize):
18724 * gst/gstutils.c: (gst_element_unlink),
18725 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18726 (gst_pad_proxy_setcaps):
18728 Add _get_parent_element() to get a pads parent as an element.
18730 2005-07-18 Wim Taymans <wim@fluendo.com>
18732 * check/gst/gstbin.c: (GST_START_TEST):
18735 2005-07-18 Wim Taymans <wim@fluendo.com>
18737 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18738 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18739 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18740 (gst_base_sink_event), (gst_base_sink_do_sync),
18741 (gst_base_sink_chain), (gst_base_sink_loop),
18742 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18743 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18745 Fix logic for returning ASYNC when not prerolled.
18747 2005-07-18 Wim Taymans <wim@fluendo.com>
18749 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18750 Fix nasty refcount bug.
18752 2005-07-16 Philippe Khalaf <burger@speedy.org>
18754 * gst/elements/gstfdsrc.c:
18755 * gst/elements/gstfdsrc.h:
18756 * gst/elements/gstelements.c:
18757 * gst/elements/Makefile.am:
18758 Ported fdsrc to 0.9.
18760 2005-07-16 Wim Taymans <wim@fluendo.com>
18762 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18763 (gst_base_sink_do_sync):
18766 2005-07-16 Wim Taymans <wim@fluendo.com>
18768 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18769 (gst_base_sink_event), (gst_base_sink_get_times),
18770 (gst_base_sink_do_sync), (gst_base_sink_change_state):
18771 * gst/base/gstbasesink.h:
18772 Store and use discont values when syncing buffers as described
18775 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18776 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18777 (gst_base_src_activate_push):
18778 Push discont event when starting.
18780 * gst/elements/gstidentity.c: (gst_identity_transform):
18783 * gst/gstbin.c: (gst_bin_change_state):
18784 Small cleanups in base_time distribution.
18786 * gst/gstelement.c: (gst_element_set_base_time),
18787 (gst_element_get_base_time), (gst_element_change_state):
18788 * gst/gstelement.h:
18789 Added methods for the base_time of the element.
18792 * gst/gstpipeline.c: (gst_pipeline_send_event),
18793 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18794 (gst_pipeline_get_last_stream_time):
18795 * gst/gstpipeline.h:
18797 Handle seeking as described in design doc, remove stream_time
18799 Cleanups clock and stream_time selection code. Added accessors
18800 for the stream_time.
18803 2005-07-16 Andy Wingo <wingo@pobox.com>
18805 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18808 2005-07-16 Wim Taymans <wim@fluendo.com>
18810 * check/gst/gstbin.c: (GST_START_TEST):
18811 Make elements silent as the deep_notify refs the
18812 parent, which might make the test fail.
18814 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18815 Don't hold the lock for too long.
18817 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
18819 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18820 Don't unref the caps we passed to gst_caps_make_writable() after
18821 passing them. gst_caps_make_writable() will do that for us.
18823 2005-07-15 Andy Wingo <wingo@pobox.com>
18825 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18828 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18829 own marshalling function for the handoff signal. Properly type the
18830 buffer as a buffer. Fixes some warnings. Should do a more general
18832 (gst_identity_class_init): Plug into the right marshaller.
18834 2005-07-15 Wim Taymans <wim@fluendo.com>
18836 * docs/design/part-TODO.txt:
18837 * docs/design/part-clocks.txt:
18838 * docs/design/part-element-sink.txt:
18839 * docs/design/part-events.txt:
18840 * docs/design/part-gstpipeline.txt:
18841 Updated docs, mostly DISCONT related.
18843 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
18845 * docs/pwg/building-pads.xml:
18846 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
18848 2005-07-15 Andy Wingo <wingo@pobox.com>
18850 * tools/gst-typefind.c: Update, add copyright block.
18852 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
18853 Normalize and truncate caps before fixation.
18856 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
18857 discards all but the first structure from its argument.
18859 2005-07-15 Wim Taymans <wim@fluendo.com>
18861 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18862 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
18863 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18864 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18865 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
18866 (gst_base_transform_chain), (gst_base_transform_change_state),
18867 (gst_base_transform_set_passthrough),
18868 (gst_base_transform_is_passthrough):
18869 * gst/base/gstbasetransform.h:
18870 Make passthrough work using the bufferpools.
18871 Changed API a bit, subclasses have to write into a buffer
18872 provided by the base class.
18873 More debug info in nego functions.
18875 * gst/elements/gstidentity.c: (gst_identity_init),
18876 (gst_identity_transform):
18877 Port to new base class.
18879 2005-07-15 Wim Taymans <wim@fluendo.com>
18881 * gst/gstmessage.c: (gst_message_new_state_changed):
18882 * tools/gst-launch.c: (event_loop), (main):
18883 Totally dump messages in -launch with the -m option.
18884 Fix message name for State messages,
18886 2005-07-14 Wim Taymans <wim@fluendo.com>
18888 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18889 Post error messages on errors.
18891 2005-07-14 Wim Taymans <wim@fluendo.com>
18893 * gst/gstcaps.c: (gst_caps_do_simplify):
18897 Define error for stream stopped.
18899 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18900 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
18901 Do proper return values.
18903 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18904 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
18905 (gst_pad_get_range):
18906 Better return values.
18909 Reorganise return values, add macro to check for fatal errors.
18911 * gst/gstqueue.c: (gst_queue_chain):
18912 Return proper GstFlowReturn values,
18914 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
18916 * docs/gst/gstreamer-sections.txt:
18917 * docs/gst/gstreamer.types:
18918 * docs/gst/tmpl/gst.sgml:
18919 * docs/gst/tmpl/gstbasesink.sgml:
18920 * docs/gst/tmpl/gstbasesrc.sgml:
18921 * docs/gst/tmpl/gstbasetransform.sgml:
18922 * docs/gst/tmpl/gstbin.sgml:
18923 * docs/gst/tmpl/gstbuffer.sgml:
18924 * docs/gst/tmpl/gstcaps.sgml:
18925 * docs/gst/tmpl/gstclock.sgml:
18926 * docs/gst/tmpl/gstcompat.sgml:
18927 * docs/gst/tmpl/gstconfig.sgml:
18928 * docs/gst/tmpl/gstelement.sgml:
18929 * docs/gst/tmpl/gstelementdetails.sgml:
18930 * docs/gst/tmpl/gstelementfactory.sgml:
18931 * docs/gst/tmpl/gstenumtypes.sgml:
18932 * docs/gst/tmpl/gsterror.sgml:
18933 * docs/gst/tmpl/gstevent.sgml:
18934 * docs/gst/tmpl/gstfakesink.sgml:
18935 * docs/gst/tmpl/gstfakesrc.sgml:
18936 * docs/gst/tmpl/gstfilesink.sgml:
18937 * docs/gst/tmpl/gstfilesrc.sgml:
18938 * docs/gst/tmpl/gstfilter.sgml:
18939 * docs/gst/tmpl/gstformat.sgml:
18940 * docs/gst/tmpl/gstghostpad.sgml:
18941 * docs/gst/tmpl/gstimplementsinterface.sgml:
18942 * docs/gst/tmpl/gstindex.sgml:
18943 * docs/gst/tmpl/gstindexfactory.sgml:
18944 * docs/gst/tmpl/gstinfo.sgml:
18945 * docs/gst/tmpl/gstiterator.sgml:
18946 * docs/gst/tmpl/gstmacros.sgml:
18947 * docs/gst/tmpl/gstmemchunk.sgml:
18948 * docs/gst/tmpl/gstminiobject.sgml:
18949 * docs/gst/tmpl/gstobject.sgml:
18950 * docs/gst/tmpl/gstpad.sgml:
18951 * docs/gst/tmpl/gstpadtemplate.sgml:
18952 * docs/gst/tmpl/gstparse.sgml:
18953 * docs/gst/tmpl/gstpipeline.sgml:
18954 * docs/gst/tmpl/gstplugin.sgml:
18955 * docs/gst/tmpl/gstpluginfeature.sgml:
18956 * docs/gst/tmpl/gstquery.sgml:
18957 * docs/gst/tmpl/gstqueue.sgml:
18958 * docs/gst/tmpl/gstregistry.sgml:
18959 * docs/gst/tmpl/gstregistrypool.sgml:
18960 * docs/gst/tmpl/gstscheduler.sgml:
18961 * docs/gst/tmpl/gstschedulerfactory.sgml:
18962 * docs/gst/tmpl/gststructure.sgml:
18963 * docs/gst/tmpl/gstsystemclock.sgml:
18964 * docs/gst/tmpl/gsttaglist.sgml:
18965 * docs/gst/tmpl/gsttagsetter.sgml:
18966 * docs/gst/tmpl/gsttrace.sgml:
18967 * docs/gst/tmpl/gsttrashstack.sgml:
18968 * docs/gst/tmpl/gsttypefind.sgml:
18969 * docs/gst/tmpl/gsttypefindfactory.sgml:
18970 * docs/gst/tmpl/gsttypes.sgml:
18971 * docs/gst/tmpl/gsturihandler.sgml:
18972 * docs/gst/tmpl/gsturitype.sgml:
18973 * docs/gst/tmpl/gstutils.sgml:
18974 * docs/gst/tmpl/gstvalue.sgml:
18975 * docs/gst/tmpl/gstversion.sgml:
18976 * docs/gst/tmpl/gstxml.sgml:
18977 * docs/libs/tmpl/gstcontrol.sgml:
18978 * docs/libs/tmpl/gstdataprotocol.sgml:
18979 * docs/libs/tmpl/gstdparam.sgml:
18980 * docs/libs/tmpl/gstdplinint.sgml:
18981 * docs/libs/tmpl/gstdpman.sgml:
18982 * docs/libs/tmpl/gstdpsmooth.sgml:
18983 * docs/libs/tmpl/gstgetbits.sgml:
18984 * docs/libs/tmpl/gstunitconvert.sgml:
18985 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
18986 (gst_push_src_base_init), (gst_push_src_class_init),
18987 (gst_push_src_init), (gst_push_src_create):
18988 * gst/base/gstpushsrc.h:
18989 * gst/elements/gstelements.c:
18990 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
18991 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
18992 (gst_fake_sink_init), (gst_fake_sink_set_property),
18993 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
18994 (gst_fake_sink_event), (gst_fake_sink_preroll),
18995 (gst_fake_sink_render), (gst_fake_sink_change_state):
18996 * gst/elements/gstfakesink.h:
18997 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18998 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18999 (gst_fake_src_base_init), (gst_fake_src_class_init),
19000 (gst_fake_src_init), (gst_fake_src_event_handler),
19001 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19002 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19003 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19004 (gst_fake_src_create_buffer), (gst_fake_src_create),
19005 (gst_fake_src_start), (gst_fake_src_stop):
19006 * gst/elements/gstfakesrc.h:
19007 * gst/elements/gstfilesink.c: (_do_init),
19008 (gst_file_sink_base_init), (gst_file_sink_class_init),
19009 (gst_file_sink_init), (gst_file_sink_dispose),
19010 (gst_file_sink_set_location), (gst_file_sink_set_property),
19011 (gst_file_sink_get_property), (gst_file_sink_open_file),
19012 (gst_file_sink_close_file), (gst_file_sink_query),
19013 (gst_file_sink_event), (gst_file_sink_render),
19014 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19015 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19016 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19017 * gst/elements/gstfilesink.h:
19018 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19019 (gst_file_src_class_init), (gst_file_src_init),
19020 (gst_file_src_finalize), (gst_file_src_set_location),
19021 (gst_file_src_set_property), (gst_file_src_get_property),
19022 (gst_file_src_map_region), (gst_file_src_map_small_region),
19023 (gst_file_src_create_mmap), (gst_file_src_create_read),
19024 (gst_file_src_create), (gst_file_src_is_seekable),
19025 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19026 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19027 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19028 (gst_file_src_uri_handler_init):
19029 * gst/elements/gstfilesrc.h:
19030 more autistic cleanliness in functions/names/defines
19032 2005-07-13 Andy Wingo <wingo@pobox.com>
19034 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19035 source couldn't negotiate.
19037 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19041 * gst/gstutils.c (gst_element_link_pads_filtered): New old
19042 function. I am channeling Hades. Put your boots on suckers!!!
19044 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
19046 * testsuite/caps/Makefile.am:
19047 * testsuite/caps/value_compare.c:
19048 * testsuite/caps/value_intersect.c:
19049 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19050 move two testsuite apps over to the check dir
19052 2005-07-12 Wim Taymans <wim@fluendo.com>
19054 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19055 Added more debug info in the negotiate process.
19057 * gst/gstmessage.h:
19058 Prepare for segment playback.
19060 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19066 * tools/gst-launch.c: (main):
19067 NULL pipeline on errors.
19069 2005-07-12 Andy Wingo <wingo@pobox.com>
19071 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19072 not it comes from a malloc region. Make sure our copy gets freed.
19074 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19076 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19077 * check/gst/gstmessage.c: (GST_START_TEST):
19078 * check/gst/gststructure.c: (GST_START_TEST),
19079 (gst_structure_suite), (main):
19081 * gst/gstelement.c: (gst_element_message_full):
19082 clean up GError and debug string now that they get copied
19083 * gst/gstmessage.c: (gst_message_new_error),
19084 (gst_message_new_warning), (gst_message_parse_error),
19085 (gst_message_parse_warning):
19086 use GST_TYPE_G_ERROR for structure_new, and take copies of
19087 arguments, so that we don't mess up refcounting
19089 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19091 * check/Makefile.am:
19092 add per-test valgrind targets
19093 * check/gst-libs/gdp.c: (GST_START_TEST),
19094 (gst_data_protocol_suite), (main):
19097 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19099 * check/Makefile.am:
19100 instate more valgrindable tests
19101 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19102 (GST_START_TEST), (fakesrc_suite):
19103 * check/gst/gstpad.c: (GST_START_TEST):
19104 * check/gst/gststructure.c: (GST_START_TEST):
19106 * docs/gst/tmpl/gstminiobject.sgml:
19107 * gst/gstpad.c: (gst_pad_finalize):
19108 fix the static mutex leak
19110 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19112 * check/Makefile.am:
19113 add two more tests for valgrinding
19114 * check/gst/gstvalue.c: (GST_START_TEST):
19115 test refcount of deserialized buffer, found a leak
19116 * docs/gst/gstreamer-docs.sgml:
19117 * docs/gst/gstreamer-sections.txt:
19118 * docs/gst/gstreamer.types:
19119 * docs/gst/tmpl/gstminiobject.sgml:
19120 add miniobject to docs
19121 * gst/gstminiobject.c:
19123 * gst/gstvalue.c: (gst_value_deserialize_buffer),
19124 (gst_string_unwrap):
19125 fix a hard-to-find invalid write for one of the tests
19126 fix a leak for deserialized buffers
19128 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19130 * docs/pwg/advanced-events.xml:
19131 * docs/pwg/advanced-request.xml:
19132 * docs/pwg/advanced-scheduling.xml:
19133 * docs/pwg/appendix-porting.xml:
19134 * docs/pwg/building-boiler.xml:
19135 * docs/pwg/intro-preface.xml:
19136 * docs/pwg/other-ntoone.xml:
19137 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19138 of example code and explanation for pad activation, loop() and
19139 getrange() functions and a bit more. Remove old comments pointing
19141 * examples/pwg/Makefile.am:
19142 Add loop/getrange examples.
19144 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19147 check for valgrind binary + some fixes
19149 valgrind suppressions for the tests
19150 * check/Makefile.am:
19151 add a valgrind: target that valgrinds the unit tests
19152 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19153 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19154 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19155 * check/gst/gstghostpad.c:
19157 * check/gst/gstdata.c:
19159 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19160 (thread_unref), (gst_mini_object_suite), (main):
19162 * gst/gst.c: (gst_deinit):
19164 add a method to clean up.
19165 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19166 (gst_system_clock_obtain):
19167 allow for disposing the system clock.
19168 * tools/gst-launch.c: (main):
19171 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19173 * docs/gst/tmpl/gstbasesrc.sgml:
19174 * docs/gst/tmpl/gstfakesrc.sgml:
19175 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19176 (gst_base_src_init), (gst_base_src_set_property),
19177 (gst_base_src_get_property), (gst_base_src_get_range),
19178 (gst_base_src_start):
19179 * gst/base/gstbasesrc.h:
19180 add num-buffers property
19181 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19182 (gst_fakesrc_init), (gst_fakesrc_set_property),
19183 (gst_fakesrc_get_property), (gst_fakesrc_create),
19184 (gst_fakesrc_start):
19185 remove num-buffers property
19187 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19189 * docs/gst/gstreamer-sections.txt:
19190 * docs/gst/tmpl/gstbasesink.sgml:
19191 * docs/gst/tmpl/gstbasesrc.sgml:
19192 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19193 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19194 (gst_base_sink_finalize), (gst_base_sink_set_clock),
19195 (gst_base_sink_set_property), (gst_base_sink_get_property),
19196 (gst_base_sink_handle_object), (gst_base_sink_event),
19197 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19198 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19199 (gst_base_sink_loop), (gst_base_sink_deactivate),
19200 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19201 (gst_base_sink_change_state):
19202 * gst/base/gstbasesink.h:
19203 * gst/base/gstbasesrc.h:
19204 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19205 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19206 (gst_filesink_init):
19207 more macro splitting
19209 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19211 * gst/gstelement.c: (gst_element_get_bus):
19213 * tools/gst-launch.c: (check_intr), (event_loop):
19216 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19218 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19221 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19223 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19224 (gst_base_src_finalize):
19225 add finalize method and clean up properly
19226 * gst/gstpipeline.c: (gst_pipeline_dispose):
19229 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19231 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19233 add more things to check
19234 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19235 * gst/gstelement.c:
19238 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19240 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19241 (GST_START_TEST), (fakesrc_suite):
19242 * check/gst-libs/gdp.c: (GST_START_TEST):
19243 * check/gst/gst.c: (GST_START_TEST):
19244 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19245 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19246 * check/gst/gstbus.c: (GST_START_TEST):
19247 * check/gst/gstcaps.c: (GST_START_TEST):
19248 * check/gst/gstdata.c: (GST_START_TEST):
19249 * check/gst/gstelement.c: (GST_START_TEST):
19250 * check/gst/gstghostpad.c: (GST_START_TEST):
19251 * check/gst/gstiterator.c: (GST_START_TEST):
19252 * check/gst/gstmessage.c: (GST_START_TEST):
19253 * check/gst/gstobject.c: (GST_START_TEST):
19254 * check/gst/gstpad.c: (GST_START_TEST):
19255 * check/gst/gststructure.c: (GST_START_TEST):
19256 * check/gst/gstsystemclock.c: (GST_START_TEST),
19257 (gst_systemclock_suite):
19258 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19259 * check/gst/gstvalue.c: (GST_START_TEST):
19260 * check/pipelines/cleanup.c: (GST_START_TEST):
19261 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19262 * check/states/sinks.c: (GST_START_TEST):
19263 * check/gstcheck.c: (gst_check_init):
19264 * check/gstcheck.h:
19265 add debugging category
19266 use GST_START_TEST now, so we add a debug line
19268 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19270 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19271 add test for state change message on a bin
19272 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19274 * gst/gstbin.c: (gst_bin_init):
19275 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19276 * gst/gstelement.c: (gst_element_post_message),
19277 (gst_element_set_state):
19278 * gst/gstelementfactory.c: (gst_element_factory_create):
19279 * gst/gstmessage.c: (gst_message_new):
19280 * gst/gstscheduler.c:
19281 various debugging additions and cleanups
19283 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19285 * check/Makefile.am:
19286 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19288 adding tests for elements
19289 * gst/gstelement.c: (gst_element_dispose):
19291 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19293 * gst/registries/gstlibxmlregistry.c: (load_feature):
19294 plug more leaks. A simple gst_init() now is leakfree, yay.
19296 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19298 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19299 (gst_xml_registry_load):
19300 plug another memleak
19302 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19305 use GST_SET_ERROR_CFLAGS
19306 * docs/faq/cvs.xml:
19307 change to ERROR_CFLAGS
19309 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19312 make GST_ERROR_CFLAGS overridable and re-enable Werror
19313 * docs/faq/cvs.xml:
19314 add a note about error CFLAGS
19315 * docs/gst/tmpl/gstfakesrc.sgml:
19316 * gst/elements/gstfakesrc.c:
19317 comment out some unused code
19318 * gst/gst.c: (split_and_iterate):
19319 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19323 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19325 * common/Makefile.am:
19326 * common/gtk-doc.mak:
19327 * docs/gst/Makefile.am:
19328 factor out gtk-doc.mak
19330 2005-07-07 Wim Taymans <wim@fluendo.com>
19332 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19333 (gst_thread_scheduler_dispose):
19334 Unlock the STREAM_LOCK completely.
19336 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19338 * check/Makefile.am:
19339 * check/elements/.cvsignore:
19340 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19341 (START_TEST), (fakesrc_suite), (main):
19342 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19343 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19344 (gst_fakesrc_create), (gst_fakesrc_start):
19345 * gst/elements/gstfakesrc.h:
19346 adding a first element test
19348 2005-07-07 Andy Wingo <wingo@pobox.com>
19350 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19353 2005-07-07 Wim Taymans <wim@fluendo.com>
19359 2005-07-07 Wim Taymans <wim@fluendo.com>
19361 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19362 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19363 Allow subclasses to implement their own negotiation.
19365 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19367 * docs/design/part-gstbin.txt:
19368 * docs/design/part-gstpipeline.txt:
19369 Update design notes to reflect the movement of
19370 responsibility for bus handling from GstPipeline to
19373 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19376 Remove unnecessary queue2/3/4 examples.
19378 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19380 * examples/Makefile.am:
19381 * examples/helloworld/helloworld.c: (event_loop), (main):
19382 * examples/queue/queue.c: (event_loop), (main):
19383 * examples/queue2/queue2.c: (main):
19384 Update a couple of the examples to work again.
19386 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19387 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19388 Spelling corrections and extra debug.
19390 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19391 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19392 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19394 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19395 (gst_pipeline_change_state):
19396 * gst/gstpipeline.h:
19397 Move the bus handler for children to the GstBin, and create a
19398 separate bus for receiving messages from children to the one the
19399 bus sends 'upwards' on.
19401 2005-07-06 Wim Taymans <wim@fluendo.com>
19404 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19405 (gst_base_sink_handle_object), (gst_base_sink_loop),
19406 (gst_base_sink_change_state):
19407 * gst/base/gstbasesink.h:
19408 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19409 (gst_base_src_init), (gst_base_src_setcaps),
19410 (gst_base_src_getcaps), (gst_base_src_loop),
19411 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19412 (gst_base_src_start), (gst_base_src_change_state):
19413 * gst/base/gstbasesrc.h:
19414 Make basesrc negotiate.
19415 Handle the case where preroll fails in basesink.
19418 2005-07-06 Wim Taymans <wim@fluendo.com>
19420 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19421 Implement the fixate function.
19422 Clean up acceptcaps.
19424 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19426 * docs/pwg/building-filterfactory.xml:
19427 * docs/pwg/pwg.xml:
19428 Remove never-written filter-factory chapter; I'll add the various
19429 base classes to part 4 ("other element types") later on.
19431 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19433 * docs/pwg/advanced-negotiation.xml:
19434 * docs/pwg/building-boiler.xml:
19435 * docs/pwg/building-pads.xml:
19436 * docs/pwg/pwg.xml:
19437 * examples/pwg/Makefile.am:
19438 Add a chapter on caps negotiation, simplify the original code
19439 samples a bit w.r.t. caps negotiation, add link to the advanced
19440 section. Add a bunch of examples showing different use cases of
19441 different types of caps negotiation. Upstream renegotiation isn't
19442 fully documented yet since nobody knows how that works.
19444 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
19446 * check/gst/gstpad.c:
19447 * check/gstcheck.c:
19448 * gst/gstpad.c: (gst_pad_get_internal_links_default):
19449 if pad has no parent, return NULL as list of internal links
19451 2005-07-05 Andy Wingo <wingo@pobox.com>
19453 * gst/elements/gstfilesrc.c:
19454 * gst/elements/gstfakesrc.c:
19455 * gst/base/gstpushsrc.c:
19456 * gst/base/gstbasesrc.h:
19457 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19459 2005-07-05 Stefan Kost <ensonic@users.sf.net>
19462 better report generation target (lcov needs a patch)
19464 2005-07-05 Andy Wingo <wingo@pobox.com>
19466 * gst/elements, testsuite: Null if we got it...
19468 2005-07-05 Wim Taymans <wim@fluendo.com>
19471 * libs/gst/dataprotocol/Makefile.am:
19472 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19473 * libs/gst/dataprotocol/dataprotocol.h:
19474 * pkgconfig/Makefile.am:
19475 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19476 * pkgconfig/gstreamer-dataprotocol.pc.in:
19477 Ported dataprotol to 0.9.
19478 Added pkgconfig files.
19480 2005-07-05 Andy Wingo <wingo@pobox.com>
19482 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19483 Default to returning TRUE for the case when tranform_caps returns
19484 a fixed caps, like for identity or volume.
19486 * check/gst/gstbus.c (pound_bus_with_messages):
19487 * check/gst/gstmessage.c (START_TEST):
19488 * check/pipelines/simple_launch_lines.c (got_handoff): Application
19489 message API change.
19491 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19492 logic weaks here: always run transform_caps, trying passthrough
19493 operation only if the original caps intersects with the transform.
19495 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19496 source and sink caps.
19498 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19499 Intersect the peer caps with the pad template before going into
19501 (gst_base_transform_transform_caps): More debugging.
19503 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19506 2005-07-04 Edward Hervey <edward@fluendo.com>
19510 (gst_pad_add_*_probe): now returns the signal id for better wrapping
19513 2005-07-04 Andy Wingo <wingo@pobox.com>
19515 * check/gst/gstpad.c: Only set explicit caps on pads.
19517 2005-07-01 Andy Wingo <wingo@pobox.com>
19519 * tests/network-clock.scm: Commentary update.
19521 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19522 Didn't really make sense, not implementable with basetransform,
19524 (gst_identity_transform): Unref inbuf via make_writable. Feeble
19525 attempt at implementing the sync property, needs an unlock method.
19527 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19528 New func, by default returns the same caps (the identity
19530 (gst_base_transform_getcaps): Uses transform_caps to return
19531 something sensible.
19532 (gst_base_transform_setcaps): Complicated logic to get caps on
19533 both pads, even if they are different, and to call set_caps once
19534 for every time both pads get their caps set.
19535 (gst_base_transform_handle_buffer): Give the ref to the transform
19536 function. Allows in-place modification of the buffer.
19538 * gst/base/gstbasetransform.h (transform_caps): New class method.
19539 Given caps on one side, what can I do on the other.
19540 (set_caps): Take two caps, one for each side of the element.
19543 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19544 caps in place. This is safe because we can check the mutability of
19545 the caps, and a good idea because fixate functions are just called
19546 as a matter of last resort. (Not actually implemented.)
19547 (gst_pad_set_caps): If the caps we're setting is actually the same
19548 as the existing pad caps, just update the pointer without calling
19549 setcaps. Assert that caps is either NULL or fixed, as per the
19552 * gst/gstghostpad.c: Update for fixate changes.
19554 2005-07-02 Andy Wingo <wingo@pobox.com>
19557 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19558 two refcounts makes it immutable, which is enough. Doc more.
19560 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
19562 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19563 Put the mini_object into GValue as a mini_object,
19564 not a gpointer, since that's how we declared
19567 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19569 * examples/pwg/Makefile.am:
19570 Fix buildbot again.
19572 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19574 * docs/pwg/building-testapp.xml:
19576 * examples/pwg/Makefile.am:
19579 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19582 * examples/Makefile.am:
19583 * examples/pwg/Makefile.am:
19584 * examples/pwg/extract.pl:
19585 Enable building the PWG examples.
19586 * docs/pwg/advanced-interfaces.xml:
19587 Add URI interface stub.
19588 * docs/pwg/advanced-types.xml:
19589 * docs/pwg/other-autoplugger.xml:
19590 * docs/pwg/appendix-porting.xml:
19591 * docs/pwg/pwg.xml:
19592 Add porting guide (mostly stubs), remove autoplugging (see ADM).
19593 * docs/pwg/building-boiler.xml:
19594 * docs/pwg/building-chainfn.xml:
19595 * docs/pwg/building-pads.xml:
19596 * docs/pwg/building-props.xml:
19597 * docs/pwg/building-state.xml:
19598 * docs/pwg/building-testapp.xml:
19599 Update the building-*.xml parts for 0.9 changes. All examples
19600 code blocks compile in examples/pwg/*.
19602 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19604 * docs/manual/advanced-autoplugging.xml:
19605 * docs/manual/appendix-checklist.xml:
19606 * docs/manual/appendix-integration.xml:
19607 * docs/manual/highlevel-components.xml:
19608 Fix playbin/decodebin examples, update docs a bit, mention bus
19609 instead of signals in various places, mention kmplayer and
19610 kaffeine since they have a working GStreamer backend in the KDE
19613 2005-06-30 Wim Taymans <wim@fluendo.com>
19616 * docs/design/draft-ghostpads.txt:
19617 * docs/design/draft-push-pull.txt:
19618 * docs/design/draft-query.txt:
19619 * docs/design/part-TODO.txt:
19620 * docs/design/part-query.txt:
19621 Added CHANGES-0.9 doc, updated status of other docs.
19626 2005-06-30 Wim Taymans <wim@fluendo.com>
19628 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19629 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19630 (gst_base_sink_change_state):
19631 * gst/base/gstbasesink.h:
19632 Some tweaks, only EOS and a buffer complete a preroll.
19634 2005-06-30 Andy Wingo <wingo@pobox.com>
19636 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19637 activate_push down to the internal pad as well.
19639 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
19641 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19643 * gst/gsttaginterface.c:
19644 Some documentation fixes (#307394 and #307397).
19646 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
19648 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19650 * gst/gstvalue.c: (gst_value_intersect_list):
19651 Fix memleak (#309125).
19653 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19655 * docs/manual/advanced-dataaccess.xml:
19656 Fix fakesrc example to compile; doesn't work, bug somewhere...?
19657 * docs/manual/basics-pads.xml:
19658 Add reference for filtered caps to above chapter.
19660 2005-06-30 Wim Taymans <wim@fluendo.com>
19662 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19663 (gst_bin_change_state):
19665 Lame attempt at making the state change function a bit
19668 2005-06-30 Wim Taymans <wim@fluendo.com>
19670 * docs/design/part-clocks.txt:
19671 * docs/design/part-element-sink.txt:
19672 * docs/design/part-events.txt:
19673 * docs/design/part-preroll.txt:
19674 * docs/design/part-states.txt:
19675 Some more tweeks and additions to the docs.
19677 2005-06-30 Wim Taymans <wim@fluendo.com>
19679 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19680 (default_have_data), (gst_pad_class_init), (gst_pad_init),
19681 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19682 (gst_pad_check_pull_range), (gst_pad_get_range),
19683 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19685 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19686 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19687 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19688 (gst_pad_remove_buffer_probe):
19689 Removed atomic operations, use existing LOCK.
19690 Move exception handling out of main code path.
19692 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19694 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19695 (silly_return_true_function), (gst_pad_class_init),
19696 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19697 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19698 (gst_pad_send_event):
19699 Fix accumulator, add default value by using _emitv() instead
19700 of _emit() for signal emission.
19702 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19704 * docs/manual/advanced-dataaccess.xml:
19705 * examples/manual/Makefile.am:
19707 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19710 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
19712 * gst/elements/gstfilesink.c: (gst_filesink_render):
19713 Simplify code so that we don't have to handle short
19714 writes and return GST_FLOW_ERROR if an error occured.
19716 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19718 * docs/gst/gstreamer-docs.sgml:
19719 Remove probes more.
19721 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19723 * docs/gst/gstreamer-sections.txt:
19724 * docs/gst/tmpl/gstpad.sgml:
19725 * docs/gst/tmpl/gstprobe.sgml:
19727 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19728 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19729 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19730 (gst_pad_push_event), (gst_pad_send_event):
19732 * gst/gstutils.c: (gst_pad_add_data_probe),
19733 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19734 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19735 (gst_pad_remove_buffer_probe):
19737 Remove old probes, add new g-signal-based probes and some utility
19740 2005-06-29 Edward Hervey <edward@fluendo.com>
19742 * gst/gstelementfactory.c:
19745 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19746 the definition to the header file.
19748 2005-06-29 Andy Wingo <wingo@pobox.com>
19750 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19751 plugins from the source directory.
19753 2005-06-29 Wim Taymans <wim@fluendo.com>
19755 * docs/gst/tmpl/gstbuffer.sgml:
19756 * docs/gst/tmpl/gstclock.sgml:
19757 Some fixings for blantently wrong text.
19759 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19761 * check/Makefile.am:
19762 * gst/gst.c: (add_path_func), (init_pre):
19763 * gst/gstregistry.c: (gst_registry_add_path):
19764 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19765 only scan the GST_PLUGIN_PATH locations, and not add
19768 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19770 * docs/gst/gstreamer-sections.txt:
19771 * docs/gst/tmpl/gstbasesrc.sgml:
19772 * gst/gstelement.c:
19773 * gst/gstelement.h:
19778 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19780 * docs/manual/advanced-autoplugging.xml:
19781 Fix autoplugging example.
19783 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19785 * docs/manual/advanced-autoplugging.xml:
19786 * docs/manual/mime-world.fig:
19787 Try to get autoplugging working, fix type detection. Fix text
19788 in hello-world image.
19790 2005-06-29 Wim Taymans <wim@fluendo.com>
19792 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19793 (gst_base_sink_change_state):
19797 map SIGNAL and BROADCAST to the right function.
19800 Remove redundant braces.
19802 * gst/gstpad.c: (gst_pad_set_caps):
19803 Don't call setcaps function when reseting caps to NULL.
19805 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19806 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19807 (gst_system_clock_id_unschedule):
19808 Use BROADCAST as this is what we do.
19810 2005-06-29 Wim Taymans <wim@fluendo.com>
19812 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19813 We are actually prerolling before commiting the state
19816 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19818 * docs/manual/advanced-clocks.xml:
19819 * docs/manual/advanced-interfaces.xml:
19820 * docs/manual/advanced-metadata.xml:
19821 * docs/manual/advanced-position.xml:
19822 * docs/manual/advanced-schedulers.xml:
19823 * docs/manual/advanced-threads.xml:
19824 * docs/manual/appendix-porting.xml:
19825 * docs/manual/basics-bins.xml:
19826 * docs/manual/basics-bus.xml:
19827 * docs/manual/basics-elements.xml:
19828 * docs/manual/basics-helloworld.xml:
19829 * docs/manual/basics-pads.xml:
19830 * docs/manual/highlevel-components.xml:
19831 * docs/manual/manual.xml:
19832 * docs/manual/thread.fig:
19833 Update (until threads/scheduling) Application Development Manual;
19834 remove GstThread, add GstBus, add simple porting checklist, add
19835 documentation for tag writing, clocks, make all examples until this
19836 part compile and run.
19837 * examples/manual/Makefile.am:
19838 Update from changes to Application Development Manual; add bus
19839 example, remove thread example.
19841 2005-06-28 Wim Taymans <wim@fluendo.com>
19843 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
19844 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
19845 (gst_bus_source_dispatch):
19846 Add debugging messages.
19847 Make internal methods static.
19848 Handle the case where the bus is flushed in the handler.
19850 * gst/gstelement.c: (gst_element_get_bus):
19851 Fix refcount in _get_bus();
19853 * gst/gstpipeline.c: (gst_pipeline_change_state),
19854 (gst_pipeline_get_clock_func):
19855 Clock refcounting fixes.
19856 Handle the case where preroll timed out more gracefully.
19858 * gst/gstsystemclock.c: (gst_system_clock_dispose):
19859 Clean up the internal thread in dispose. This is needed
19860 for subclasses that actually get disposed.
19862 * gst/schedulers/threadscheduler.c:
19863 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19864 (gst_thread_scheduler_dispose):
19865 Free thread pool in dispose.
19867 2005-06-28 Andy Wingo <wingo@pobox.com>
19869 * tests/network-clock-utils.scm (debug, print-event): New utils.
19871 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
19872 (*packet-loss*): Unified loss probability.
19873 (network-time): Report out-of-band events.
19875 * tests/plot-data: Add support for out-of-band events. Hack it
19876 into this script instead of passing it down the pipe; should fix
19879 2005-06-28 Wim Taymans <wim@fluendo.com>
19881 * docs/gst/gstreamer.types:
19882 * docs/gst/tmpl/gstbasesrc.sgml:
19883 * docs/gst/tmpl/gstpad.sgml:
19886 2005-06-28 Wim Taymans <wim@fluendo.com>
19888 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19889 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
19890 (gst_proxy_pad_do_fixatecaps):
19891 Correctly proxy the check_pull_range function.
19893 2005-06-28 Andy Wingo <wingo@pobox.com>
19895 * tests/network-clock.scm: Removed need for slib.
19897 2005-06-28 Wim Taymans <wim@fluendo.com>
19899 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
19900 (gst_basesink_preroll_queue_flush):
19901 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
19902 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
19903 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19904 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19905 (gst_proxy_pad_set_property):
19908 * gst/gstqueue.c: (gst_queue_init):
19909 The deprecated pad loop function is removed now.
19911 2005-06-28 Andy Wingo <wingo@pobox.com>
19913 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
19914 New parameters, simulate network packet loss.
19916 * tests/network-clock-utils.scm: Initialize the RNG.
19918 2005-06-28 Wim Taymans <wim@fluendo.com>
19920 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
19921 (gst_basesink_event), (gst_basesink_deactivate):
19922 Flushing the preroll queue always needs to unlock the waiters.
19924 2005-06-28 Edward Hervey <edward@fluendo.com>
19926 * gst/gstpipeline.c: (gst_pipeline_send_event):
19927 Wheen a seek was successful on a pipeline, set the stream_time to the
19928 seek offset in order to have a synchronized stream_time.
19930 2005-06-28 Wim Taymans <wim@fluendo.com>
19932 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19933 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
19934 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
19935 (gst_proxy_pad_do_fixatecaps):
19936 Call wrapper function instead of just calling the function
19937 pointers. This takes care of any locking and whatmore.
19939 2005-06-28 Wim Taymans <wim@fluendo.com>
19941 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
19942 (gst_pad_pull_range):
19944 CONNECTED -> LINKED.
19946 2005-06-28 Andy Wingo <wingo@pobox.com>
19948 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
19949 source-munging commit!!!
19951 * gst/gstobject.c (gst_object_unref, gst_object_ref)
19952 (gst_object_sink): Take gpointer arguments, not GstObject --
19953 avoids casts. Like GLib.
19955 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
19958 2005-06-27 Andy Wingo <wingo@pobox.com>
19960 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
19963 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
19964 returns a sorted copy of the trace list.
19965 (gst_alloc_trace_print_live): New API, only prints traces with
19966 live objects. Sort the list.
19967 (gst_alloc_trace_print_all): Sort the list.
19968 (gst_alloc_trace_print): Align columns.
19970 * gst/elements/gstttypefindelement.c:
19971 * gst/elements/gsttee.c:
19972 * gst/base/gstbasesrc.c:
19973 * gst/base/gstbasesink.c:
19974 * gst/base/gstbasetransform.c:
19975 * gst/gstqueue.c: Adapt for pad activation changes.
19977 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
19979 (gst_pipeline_dispose): Drop ref on sched.
19981 * gst/gstpad.c (gst_pad_init): Set the default activate func.
19982 (gst_pad_activate_default): Push mode by default.
19983 (pre_activate_switch, post_activate_switch): New stubs, things to
19984 do before and after switching activation modes on pads.
19985 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
19986 the pad's activate function to choose which mode to activate.
19987 Shortcut on deactivation and call the right function directly.
19988 (gst_pad_activate_pull): New API, (de)activates a pad in pull
19990 (gst_pad_activate_push): New API, same for push mode.
19991 (gst_pad_set_activate_function)
19992 (gst_pad_set_activatepull_function)
19993 (gst_pad_set_activatepush_function): Setters for new API.
19995 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
19996 Trace all miniobjects.
19997 (gst_mini_object_make_writable): Unref the arg if we copy, like
19998 gst_caps_make_writable.
20000 * gst/gstmessage.c (_gst_message_initialize): No trace init.
20002 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
20003 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20004 Adapt for new pad API.
20006 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20008 * gst/gstelement.h:
20009 * gst/gstelement.c (gst_element_iterate_src_pads)
20010 (gst_element_iterate_sink_pads): New API functions.
20012 * gst/gstelement.c (iterator_fold_with_resync): New utility,
20013 should fold into gstiterator.c in some form.
20014 (gst_element_pads_activate): Simplified via use of fold and
20015 delegation of decisions to gstpad->activate.
20017 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20020 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20021 class once in init, like gstmessage. Didn't run into this issue
20022 but it seems correct. Don't initialize a trace, gstminiobject does
20025 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20026 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20028 (assert_live_count): New util function, uses alloc traces to check
20031 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20032 To be modified when unlink drops the internal pad.
20034 2005-06-27 Wim Taymans <wim@fluendo.com>
20036 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20037 (gst_bin_change_state):
20038 Cleanup the get_state() function a little, make sure it
20039 iterates the same set of elements.
20040 Added stub iterate_state_order().
20042 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
20044 * docs/gst/gstreamer-docs.sgml:
20045 * docs/gst/gstreamer-sections.txt:
20046 * docs/gst/gstreamer.types:
20047 * docs/gst/tmpl/gstbasesink.sgml:
20048 * docs/gst/tmpl/gstbasesrc.sgml:
20049 * docs/gst/tmpl/gstbasetransform.sgml:
20050 * docs/gst/tmpl/gstelement.sgml:
20051 * docs/gst/tmpl/gstiterator.sgml:
20052 * gst/base/gstbasesrc.c:
20053 * gst/base/gstbasesrc.h:
20054 * gst/base/gstbasetransform.h:
20055 * gst/gstelement.c:
20056 * gst/gstiterator.h:
20057 adding basetransform and iterator docs
20059 2005-06-27 Andy Wingo <wingo@pobox.com>
20061 * docs/design/part-activation.txt: Notes on how activation should
20062 work -- not quite implemented yet.
20064 2005-06-25 Wim Taymans <wim@fluendo.com>
20066 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20067 At least get the chain function correct, needs more
20070 2005-06-25 Wim Taymans <wim@fluendo.com>
20072 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20073 (gst_basesink_handle_object), (gst_basesink_event),
20074 (gst_basesink_do_sync), (gst_basesink_handle_event),
20075 (gst_basesink_change_state):
20077 Right, two problems here: ghostpads don't take locks and
20078 glib _rec_mutex_lock_full() with depth==0 still locks.
20079 Catch illegal locking and g_warn them.
20081 2005-06-25 Wim Taymans <wim@fluendo.com>
20083 * check/states/sinks.c: (START_TEST), (gst_object_suite):
20084 Have to check for completion now...
20086 2005-06-25 Wim Taymans <wim@fluendo.com>
20088 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20089 (gst_basesink_handle_object), (gst_basesink_event),
20090 (gst_basesink_do_sync), (gst_basesink_handle_event),
20091 (gst_basesink_change_state):
20093 Unlock STREAM_LOCK whatever the recursion was.
20095 2005-06-25 Wim Taymans <wim@fluendo.com>
20097 * gst/base/gstbasesink.c: (gst_basesink_set_property),
20098 (gst_basesink_preroll_queue_empty),
20099 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20100 (gst_basesink_event), (gst_basesink_do_sync),
20101 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20102 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20103 (gst_basesink_change_state):
20104 Reworked the base sink, handle event and buffer serialisation
20105 correctly and removed possible deadlock.
20106 Handle EOS correctly.
20108 2005-06-25 Wim Taymans <wim@fluendo.com>
20110 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20111 (gst_pipeline_change_state):
20112 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20113 Allow elements to post EOS in the state change function.
20114 Fix up -launch, make it exit the poll loop when the
20115 pipeline actually changed state.
20116 Fix up warning parsing in -launch.
20118 2005-06-25 Wim Taymans <wim@fluendo.com>
20120 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20121 (gst_tee_sink_activate):
20122 Core takes STREAM_LOCK for us now.
20124 2005-06-25 Wim Taymans <wim@fluendo.com>
20126 * gst/gstelement.c: (gst_element_get_state_func),
20127 (gst_element_set_state):
20128 * gst/gstelement.h:
20129 * gst/gstmessage.c: (gst_message_parse_error),
20130 (gst_message_parse_warning):
20131 Keep track of current target state while performing a state
20132 change so that subclasses can do something interesting.
20133 Fix parsing of warning/error messages when GError is NULL.
20135 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
20137 * docs/gst/Makefile.am:
20138 * docs/gst/gstreamer-docs.sgml:
20139 * docs/gst/gstreamer-sections.txt:
20140 * docs/gst/gstreamer.types:
20141 * docs/gst/tmpl/gstbasesink.sgml:
20142 * docs/gst/tmpl/gstbasesrc.sgml:
20143 * docs/gst/tmpl/gstbin.sgml:
20144 * docs/gst/tmpl/gstcompat.sgml:
20145 * docs/gst/tmpl/gstfakesink.sgml:
20146 * docs/gst/tmpl/gstfakesrc.sgml:
20147 * docs/gst/tmpl/gstfilesink.sgml:
20148 * docs/gst/tmpl/gstfilesrc.sgml:
20149 * docs/gst/tmpl/gstindex.sgml:
20150 * docs/manual/appendix-quotes.xml:
20151 * gst/base/gstbasesrc.h:
20152 * gst/elements/gstfakesrc.h:
20153 * gst/gstmessage.h:
20154 start pulling in base classes and elements in our docs
20156 2005-06-24 Stefan Kost <ensonic@users.sf.net>
20158 * docs/gst/Makefile.am:
20159 * docs/libs/Makefile.am:
20160 fixed make distcheck with gtk-doc 1.3
20162 2005-06-23 Wim Taymans <wim@fluendo.com>
20164 * gst/gstelement.c: (gst_element_get_state_func),
20165 (gst_element_set_state), (gst_element_change_state):
20166 When the state did not change, also report NO_PREROLL
20169 2005-06-23 Wim Taymans <wim@fluendo.com>
20171 * gst/gstpad.c: (gst_pad_event_default):
20172 * gst/gstqueue.c: (gst_queue_loop):
20173 No unsafe task pausing please.
20175 2005-06-23 Wim Taymans <wim@fluendo.com>
20177 * gst/schedulers/threadscheduler.c:
20178 (gst_thread_scheduler_task_start),
20179 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20180 Ref the task before pushing it on the threadpool. This
20181 makes sure that we have a ref when the threadfunction is
20184 2005-06-23 Andy Wingo <wingo@pobox.com>
20186 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20187 offset is greater than the file's size.
20189 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
20190 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20191 * gst/gstobject.c (gst_object_class_init): Make the class lock
20192 recursive. Wim won't let me drop deep_notify. Decodebin works
20193 again, whoopdy doo.
20195 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20196 internal pad, and hacks accordingly. Doesn't do it on the target
20197 pad because we change its caps. Probably catches all cases of
20199 (gst_ghost_pad_set_property): Connect to notify::caps as
20202 * tests/network-clock.scm (plot-simulation): Pipe data to the
20203 elite python skript.
20205 * tests/network-clock-utils.scm (define-parameter): New macro,
20206 defines a parameter that can be set via the command line.
20207 (set-parameter!, parse-parameter-arguments): Command line args
20210 * tests/plot-data: Simple matplotlib-based plotter, takes input on
20213 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
20215 * gst/elements/gsttypefindelement.c:
20216 (gst_type_find_element_handle_event):
20217 Don't restart typefinding on a discont.
20218 * gst/gstelement.c: (gst_element_set_state):
20219 Debug spelling fix.
20220 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20221 Allow changing mode of an active pad.
20222 Debug output fixes.
20223 * gst/registries/gstlibxmlregistry.c: (load_feature):
20224 Don't cast a static pad template to a normal pad template.
20226 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
20228 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20229 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20230 remove gst_strtoll completely, since it didn't actually do
20231 anything more than what g_ascii_strtoull already does.
20232 check for range errors when deserializing
20233 do a cast for the unsigned cases; but further fixing needs
20234 a decision on what the interpretation of "(int)" and
20235 deserialization should be for values that fall outside the
20236 type's boundaries (ie, refuse, or interpret as casting)
20238 2005-06-23 Wim Taymans <wim@fluendo.com>
20240 * check/Makefile.am:
20241 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20242 * docs/design/part-live-source.txt:
20243 * docs/design/part-states.txt:
20244 * gst/base/gstbasesrc.c: (gst_basesrc_init),
20245 (gst_basesrc_set_live), (gst_basesrc_is_live),
20246 (gst_basesrc_get_range), (gst_basesrc_activate),
20247 (gst_basesrc_change_state):
20248 * gst/base/gstbasesrc.h:
20249 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20250 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20251 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20252 * gst/gstelement.c: (gst_element_get_state_func),
20253 (gst_element_set_state):
20254 * gst/gstelement.h:
20256 * tools/gst-launch.c: (event_loop), (main):
20257 Added support for live sources and other elements that
20259 Updated design docs, added live-source design doc.
20260 Implemented live source functionality in basesrc
20261 Fix error condition in _bin_get_state()
20262 Implement live source handling in -launch.
20263 Added check for live sources.
20264 Fixed case in GstBin where elements were changed state
20268 2005-06-23 Andy Wingo <wingo@pobox.com>
20270 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20271 borken refcounting.
20273 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20274 gst_caps_replace takes care of this for us.
20276 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20277 gst_pad_set_caps on the target, not just its setcaps() function.
20279 * tests/network-clock.scm:
20280 * tests/network-clock-utils.scm: A network clock simulator.
20281 Something of an algorithmic testbed before doing something in C.
20283 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20285 * check/Makefile.am:
20286 * check/gst/capslist.h:
20287 copy over from 0.8, and add two with bitmasks specified with
20289 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20290 add test to parse everything from capslist.h
20291 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20293 add test for structure deserialization
20294 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20295 add tests for deserialization of strings to int types
20296 * gst/gststructure.c: (gst_structure_nth_field_name):
20297 * gst/gststructure.h:
20298 add a way to get the name of a field referenced by index
20299 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20300 instead of checking if the resulting long long lies between
20301 min and max, we check if the long long would fit into
20302 a number of bytes for the final type.
20303 This fixes cases where a string represents 2^32 - 1, which
20304 when cast to int would be the (valid) -1, but is bigger than
20307 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20309 * gst/parse/grammar.y:
20310 add a log line for type deserialization
20312 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20314 * check/gst/gstvalue.c: (START_TEST):
20315 * gst/gstvalue.c: (gst_value_deserialize):
20316 return long long, not int, so gint64 deserialization actually
20317 works. Is there any flag that makes the compiler check this ?
20320 2005-06-22 Wim Taymans <wim@fluendo.com>
20323 Added convenience macros for setting buffers in GValue.
20325 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20327 * check/gst/.cvsignore:
20328 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20329 add a test deserializing int64, and comment part out because
20332 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20334 * check/Makefile.am:
20335 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20336 * testsuite/Makefile.am:
20337 * testsuite/caps/Makefile.am:
20338 * testsuite/caps/value_serialize.c:
20339 * testsuite/test_gst_init.c:
20340 move a value_serialize test over
20342 2005-06-20 Wim Taymans <wim@fluendo.com>
20347 * gst/gstvalue.c: (gst_value_compare_buffer),
20348 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20349 (gst_value_compare_flags), (gst_value_serialize_flags),
20350 (gst_value_deserialize_flags), (_gst_value_initialize):
20351 Fix serialisation of buffers, they are not boxed types anymore
20353 2005-06-20 Wim Taymans <wim@fluendo.com>
20355 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20356 Testcase to show error in buffer-on-caps serialisation.
20358 2005-06-20 Andy Wingo <wingo@pobox.com>
20360 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20361 will be adding to later.
20363 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20364 if its socks fill with rocks.
20365 (gst_system_clock_obtain): Set the name on object construction.
20366 Avoid double-checked locking.
20368 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
20370 * gst/gsturi.c: (gst_element_make_from_uri):
20371 Fix potential endless loop.
20373 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20375 * check/Makefile.am:
20377 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20379 move over from testsuite dir and clean up
20382 * testsuite/Makefile.am:
20383 * testsuite/tags/.cvsignore:
20384 * testsuite/tags/Makefile.am:
20385 * testsuite/tags/merge.c:
20386 remove testsuite/tags
20388 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20390 * docs/gst/gstreamer-sections.txt:
20391 * docs/gst/tmpl/gstenumtypes.sgml:
20392 * win32/gstenumtypes.c:
20393 clean up documentation build a little
20395 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20397 * check/gstcheck.h:
20398 add macros for checking refcounts on objects and caps
20399 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20400 add some more unit tests
20401 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20402 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20403 fix leaked refcounts (I hope :)) so unittest works
20407 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20409 * configure.ac: back to HEAD
20411 === release 0.9.1 ===
20413 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
20419 2005-06-17 Andy Wingo <wingo@pobox.com>
20421 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20422 assert; it's always possible that the pad gets deactivated in
20423 between the checks in gstpad.c and the implementation. Rely on
20424 finish_preroll() to return a FLUSHING or similar instead of on the
20427 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20428 clock and post an EOS message if we come out of finish_preroll in
20431 2005-06-16 David Schleef <ds@schleef.org>
20433 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20434 (gst_capsfilter_set_property): Allow NULL as possible value
20435 for filter_caps property, indicating GST_CAPS_ANY.
20437 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20439 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20441 * gst/schedulers/Makefile.am:
20443 * gstreamer.spec.in:
20446 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20448 * gstreamer.spec.in:
20451 2005-06-08 Andy Wingo <wingo@pobox.com>
20453 * gst/gstutils.c: RPAD fixes all around.
20454 (gst_element_link_pads): Refcounting fixes.
20456 * tools/gst-inspect.c:
20457 * tools/gst-xmlinspect.c:
20459 * gst/base/gsttypefindhelper.c:
20460 * gst/base/gstbasesink.c:
20461 * gst/gstqueue.c: RPAD fixes.
20463 * gst/gstghostpad.h:
20464 * gst/gstghostpad.c: New ghost pad implementation as full proxy
20465 pads. The tricky thing is they provide both source and sink
20466 interfaces, since they proxy the internal pad for the external
20467 pad, and vice versa. Implement with lower-level ProxyPad objects,
20468 with the interior proxy pad as a child of the exterior ghost pad.
20469 Should write a doc on this.
20471 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20472 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20475 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20476 pads are real pads. No ghost pads in this file. Not documenting
20477 the myriad s/RPAD/PAD/ and REALIZE fixes.
20478 (gst_pad_class_init): Add properties for "direction" and
20479 "template". Both are construct-only, so they can't change during
20480 the life of the pad. Fixes properly deriving from GstPad.
20481 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20482 derived objects, just set properties when creating the objects via
20484 (gst_pad_get_parent): Implement as a function, return NULL if the
20485 parent is not an element.
20486 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20487 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20489 * gst/gstobject.c (gst_object_class_init): Make name a construct
20490 property. Don't set it in the object init.
20492 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20493 with UNKNOWN direction.
20494 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20495 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20496 (gst_element_remove_pad): Remove ghost-pad special cases.
20497 (gst_element_pads_activate): Remove rpad cruft.
20499 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20500 catch the pad's-parent-not-an-element case.
20502 * gst/gst.h: Include gstghostpad.h.
20504 * gst/gst.c (init_post): No more real, ghost pads.
20506 * gst/Makefile.am: Add gstghostpad.[ch].
20508 * check/Makefile.am:
20509 * check/gst/gstbin.c:
20510 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20511 into a bin creates ghost pads, and that the refcounts are right.
20512 Partly moved from gstbin.c.
20514 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20516 * check/gst-libs/.cvsignore:
20517 * check/gst/.cvsignore:
20518 * check/pipelines/.cvsignore:
20520 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20521 (START_TEST), (cleanup_suite), (main):
20522 add some tests related to cleanup after running pipelines
20524 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20526 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20527 add a testsuite for GstBuffer
20529 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20531 * gst/gstminiobject.h:
20532 add defines for accessing the refcount
20534 2005-06-03 Stefan Kost <ensonic@users.sf.net>
20536 * Makefile.am: added support for html unit test coverage reports
20538 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
20540 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20541 Free existing caps if the capsfilter changes. Add a FIXME about
20542 setting those caps on the pads.
20544 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20545 Before adding a ghost pad to a parent bin, check that there isn't
20546 already one for the element on the bin. Prevents infinite recursion
20547 when using decodebin in parse pipelines. Andy says he'll rewrite the
20548 way this works anyway, so ignore the hack.
20550 2005-06-02 Andy Wingo <wingo@pobox.com>
20552 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20553 file size, pass it on to the type find helper.
20555 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20556 segment_start and segment_end properly according to the seek
20557 method. Segment_end is still a bit flaky because offset can be
20558 negative for CUR and END cases, but it takes -1 as an "unset"
20561 2005-06-02 Wim Taymans <wim@fluendo.com>
20563 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20564 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20565 (gst_basesink_activate):
20566 * gst/base/gstbasesink.h:
20567 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20568 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20569 (gst_pad_query), (gst_pad_start_task):
20571 * gst/gstqueue.c: (gst_queue_bufferalloc),
20572 (gst_queue_handle_sink_event), (gst_queue_chain):
20573 Bufferalloc: return GstFlowReturn to more accuratly report
20574 why allocation failed.
20576 2005-06-02 Wim Taymans <wim@fluendo.com>
20578 * gst/gstpipeline.c: (gst_pipeline_send_event):
20579 Take snapshot of state without blocking.
20581 2005-06-02 Wim Taymans <wim@fluendo.com>
20583 * docs/design/part-TODO.txt:
20584 * docs/design/part-caps.txt:
20585 * docs/design/part-clocks.txt:
20586 * docs/design/part-negotiation.txt:
20587 * docs/design/part-preroll.txt:
20590 2005-05-30 Wim Taymans <wim@fluendo.com>
20592 * gst/elements/gstidentity.c: (gst_identity_event),
20593 (gst_identity_transform), (gst_identity_get_property):
20594 Protect last_message property as it is accessed from
20597 2005-05-30 Wim Taymans <wim@fluendo.com>
20599 * gst/gstelement.c: (gst_element_init),
20600 (gst_element_pads_activate), (gst_element_change_state):
20601 Slicker pad activation code.
20603 2005-05-30 Wim Taymans <wim@fluendo.com>
20606 * gst/gstelement.h:
20607 * gst/gstelementfactory.h:
20609 Move elementfactory methods to separate .h file.
20611 2005-05-30 Wim Taymans <wim@fluendo.com>
20613 * docs/design/part-overview.txt:
20614 * gst/gstsystemclock.h:
20615 Small typo fixes, doc updates.
20617 2005-05-30 Wim Taymans <wim@fluendo.com>
20619 * gst/gst.c: (gst_init_get_popt_table), (init_post),
20620 (init_popt_callback):
20621 Remove cpu-opt flag.
20623 2005-05-30 Wim Taymans <wim@fluendo.com>
20625 * gst/gstbuffer.c: (gst_subbuffer_finalize),
20626 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20628 Avoid typechecking in places where not needed.
20629 Added accessor for malloc_data.
20631 2005-05-30 Wim Taymans <wim@fluendo.com>
20633 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20634 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20635 (gst_pad_configure_sink), (gst_pad_configure_src),
20636 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20637 (gst_pad_start_task):
20638 Propagate errors from _set_caps() in configure_src/sink
20639 functions instead of returning TRUE.
20640 FLUSH events can travel up and downstream
20643 2005-05-30 Wim Taymans <wim@fluendo.com>
20645 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20646 (gst_basesink_activate):
20647 Handle EOS in preroll.
20649 2005-05-30 Wim Taymans <wim@fluendo.com>
20651 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20652 (gst_queue_loop), (gst_queue_handle_src_event):
20653 Remove old pieces of code
20654 Flushing the queue in an upstream event is a very bad idea.
20656 2005-05-26 Andy Wingo <wingo@pobox.com>
20658 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20659 gst_value_set_mini_object so as to add a ref on the object (which
20660 will be removed when the value is unset).
20662 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20663 arg type in ::handoff.
20665 * gst/gstelement.c (gst_element_change_state): Also deactivate
20666 pads in READY->NULL, just in case the element didn't make it to
20667 PAUSED. Wingo tested, Wim approved.
20669 2005-05-26 Wim Taymans <wim@fluendo.com>
20671 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20672 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20673 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20674 A flushing pad cannot be used to alloc_buffer from.
20676 2005-05-26 Wim Taymans <wim@fluendo.com>
20678 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20679 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20680 (gst_bus_source_dispatch), (gst_bus_source_finalize),
20681 (gst_bus_create_watch), (gst_bus_add_watch_full):
20683 Implement a real GSource and use g_main_context_wakeup() to
20684 signal new messages instead of the socketpair.
20686 2005-05-25 Wim Taymans <wim@fluendo.com>
20688 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20689 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20690 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20691 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20692 (gst_pad_send_event), (gst_pad_start_task):
20693 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20694 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20695 (gst_queue_sink_activate), (gst_queue_src_activate),
20696 (gst_queue_change_state):
20698 Fix state changes for non sinks. We now change sinks, then elements
20699 with unconnected srcpads, then the rest.
20700 More efficient queue unlocking in flush and state changes.
20701 Set the pad activate mode even if it does not have an activate
20704 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20706 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20707 Don't go in pull mode for non-seekable sources.
20708 * gst/elements/gsttypefindelement.h:
20709 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20710 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20711 (free_entry), (stop_typefinding),
20712 (gst_type_find_element_handle_event), (find_peek),
20713 (gst_type_find_element_chain), (do_pull_typefind),
20714 (gst_type_find_element_change_state):
20715 Allow typefinding (w/o seeking) in push-mode, simplified version
20716 of what was in 0.8.
20717 * gst/gstutils.c: (gst_buffer_join):
20719 gst_buffer_join() from 0.8.
20721 2005-05-25 Wim Taymans <wim@fluendo.com>
20723 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20724 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20725 (gst_pad_send_event), (gst_pad_start_task):
20726 Disable attempt at mode switching until it is figured out.
20728 2005-05-25 Wim Taymans <wim@fluendo.com>
20730 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20731 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20732 (gst_basesink_finish_preroll), (gst_basesink_chain),
20733 (gst_basesink_loop), (gst_basesink_activate),
20734 (gst_basesink_change_state):
20735 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20736 (gst_basesrc_get_range), (gst_basesrc_loop),
20737 (gst_basesrc_activate):
20738 * gst/elements/gsttee.c: (gst_tee_sink_activate):
20739 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20740 (gst_real_pad_init), (gst_real_pad_set_property),
20741 (gst_real_pad_get_property), (gst_pad_set_active),
20742 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20743 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20744 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20745 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20746 (gst_pad_event_default_dispatch), (gst_pad_event_default),
20747 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20748 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20749 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20750 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20751 (gst_pad_stop_task):
20753 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20754 (gst_queue_loop), (gst_queue_src_activate):
20755 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20756 (gst_task_get_state):
20758 * gst/schedulers/threadscheduler.c:
20759 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20760 Implement gst_pad_pause/start/stop_task(), take STREAM lock
20762 Remove ACTIVE pad flag, use FLUSHING everywhere
20763 Added _pad_chain(), _pad_get_range() to call chain/getrange
20765 Add locks around IS_FLUSHING when reading.
20766 Take STREAM lock in chain(), get_range() functions so plugins
20767 don't need to take it anymore.
20771 2005-05-25 Wim Taymans <wim@fluendo.com>
20773 * tools/gst-launch.c: (event_loop):
20774 Unref message after using its contents instead of
20777 2005-05-24 Wim Taymans <wim@fluendo.com>
20779 * docs/design/draft-ghostpads.txt:
20780 * docs/design/draft-push-pull.txt:
20781 * docs/design/draft-query.txt:
20782 * docs/design/part-overview.txt:
20783 Docs updates, added general overview doc.
20785 2005-05-21 David Schleef <ds@schleef.org>
20787 * docs/gst/tmpl/old/GstBin.sgml:
20788 * docs/gst/tmpl/old/GstBuffer.sgml:
20789 * docs/gst/tmpl/old/GstCaps.sgml:
20790 * docs/gst/tmpl/old/GstClock.sgml:
20791 * docs/gst/tmpl/old/GstCompat.sgml:
20792 * docs/gst/tmpl/old/GstData.sgml:
20793 * docs/gst/tmpl/old/GstElement.sgml:
20794 * docs/gst/tmpl/old/GstEvent.sgml:
20795 * docs/gst/tmpl/old/GstIndex.sgml:
20796 * docs/gst/tmpl/old/GstStructure.sgml:
20797 * docs/gst/tmpl/old/GstTag.sgml:
20798 * docs/gst/tmpl/old/cothreads.sgml:
20799 * docs/gst/tmpl/old/cothreads_compat.sgml:
20800 * docs/gst/tmpl/old/gettext.sgml:
20801 * docs/gst/tmpl/old/gobject2gtk.sgml:
20802 * docs/gst/tmpl/old/grammar.tab.sgml:
20803 * docs/gst/tmpl/old/gst-i18n-app.sgml:
20804 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20805 * docs/gst/tmpl/old/gst_private.sgml:
20806 * docs/gst/tmpl/old/gstaggregator.sgml:
20807 * docs/gst/tmpl/old/gstarch.sgml:
20808 * docs/gst/tmpl/old/gstatomic_impl.sgml:
20809 * docs/gst/tmpl/old/gstbufferstore.sgml:
20810 * docs/gst/tmpl/old/gstdata_private.sgml:
20811 * docs/gst/tmpl/old/gstdisksink.sgml:
20812 * docs/gst/tmpl/old/gstdisksrc.sgml:
20813 * docs/gst/tmpl/old/gstelementfactory.sgml:
20814 * docs/gst/tmpl/old/gstextratypes.sgml:
20815 * docs/gst/tmpl/old/gstfakesink.sgml:
20816 * docs/gst/tmpl/old/gstfakesrc.sgml:
20817 * docs/gst/tmpl/old/gstfdsink.sgml:
20818 * docs/gst/tmpl/old/gstfdsrc.sgml:
20819 * docs/gst/tmpl/old/gstfilesink.sgml:
20820 * docs/gst/tmpl/old/gstfilesrc.sgml:
20821 * docs/gst/tmpl/old/gsthttpsrc.sgml:
20822 * docs/gst/tmpl/old/gstidentity.sgml:
20823 * docs/gst/tmpl/old/gstindexfactory.sgml:
20824 * docs/gst/tmpl/old/gstmarshal.sgml:
20825 * docs/gst/tmpl/old/gstmd5sink.sgml:
20826 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20827 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20828 * docs/gst/tmpl/old/gstpadtemplate.sgml:
20829 * docs/gst/tmpl/old/gstpipefilter.sgml:
20830 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20831 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20832 * docs/gst/tmpl/old/gstshaper.sgml:
20833 * docs/gst/tmpl/old/gstspider.sgml:
20834 * docs/gst/tmpl/old/gstspideridentity.sgml:
20835 * docs/gst/tmpl/old/gststatistics.sgml:
20836 * docs/gst/tmpl/old/gsttee.sgml:
20837 * docs/gst/tmpl/old/gsttimecache.sgml:
20838 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
20839 * docs/gst/tmpl/old/gstxmlregistry.sgml:
20840 * docs/gst/tmpl/old/gthread-cothreads.sgml:
20841 * docs/gst/tmpl/old/types.sgml:
20842 I didn't intend to add these or check them in.
20844 2005-05-19 David Schleef <ds@schleef.org>
20846 * configure.ac: Use -no-common everywhere. In a sane world, it
20847 would be the default in libtool, because without it, you can't
20848 build DLLs on Windows.
20849 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
20850 * docs/gst/gstreamer-sections.txt:
20851 * docs/gst/tmpl/gstcpu.sgml:
20852 * docs/gst/tmpl/gstdata.sgml:
20853 * docs/gst/tmpl/gstthread.sgml:
20855 2005-05-19 David Schleef <ds@schleef.org>
20857 * gst/gstminiobject.c: (gst_value_set_mini_object),
20858 (gst_value_take_mini_object), (gst_value_get_mini_object):
20859 * gst/gstminiobject.h: Add GValue set/get functions.
20861 2005-05-19 Wim Taymans <wim@fluendo.com>
20863 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
20864 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
20865 (gst_subbuffer_init), (gst_buffer_is_span_fast):
20867 * gst/gstbus.c: (gst_bus_post):
20868 * gst/gstelement.c: (gst_element_get_random_pad):
20869 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
20870 Make subbufer unref the parent in finalize.
20871 some more debugging info.
20874 2005-05-19 Wim Taymans <wim@fluendo.com>
20876 * gst/base/gstbasesink.c: (gst_basesink_class_init),
20877 (gst_basesink_init), (gst_basesink_finalize),
20878 (gst_basesink_activate), (gst_basesink_change_state):
20879 Don't free preroll queue too early.
20881 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20885 Hi, I'm outdated. Please shoot me.
20887 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20889 * gst/gstpipeline.c: (gst_pipeline_send_event):
20890 Do not access variables after they have been deleted.
20892 2005-05-19 Wim Taymans <wim@fluendo.com>
20894 * tools/gst-inspect.c: (print_plugin_features):
20895 A plugin feature does unfortunatly not use the
20898 2005-05-18 Wim Taymans <wim@fluendo.com>
20900 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
20901 Port _span() functions to new subbuffers.
20903 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20905 * gst/gstbin.c: (gst_bin_add_func):
20906 Fix clock settery in bins when adding kids after the clock has
20909 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20911 * gst/elements/gstidentity.c: (gst_identity_class_init):
20912 Workaround until signals support GstMiniObject.
20914 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
20917 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
20919 2005-05-18 Wim Taymans <wim@fluendo.com>
20921 * gst/base/Makefile.am:
20922 * gst/base/gstadapter.c: (gst_adapter_base_init),
20923 (gst_adapter_class_init), (gst_adapter_init),
20924 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
20925 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
20926 (gst_adapter_flush), (gst_adapter_available),
20927 (gst_adapter_available_fast):
20928 * gst/base/gstadapter.h:
20929 Ported and added adapter to the base classes.
20931 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20934 * gst/gstmessage.c:
20935 Make sure the class is reffed/unreffed once before threads can be
20936 used. Fixes #304551.
20938 2005-05-17 Wim Taymans <wim@fluendo.com>
20940 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
20941 (gst_basesink_chain_unlocked), (gst_basesink_activate):
20942 * gst/gstminiobject.c: (gst_mini_object_get_type),
20943 (gst_mini_object_free):
20944 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
20945 (gst_pad_push), (gst_pad_push_event):
20946 * gst/gstqueue.c: (gst_queue_change_state):
20947 Don't queue buffers in basesink when we are flushing.
20948 Unref buffer when flushing in basesink.
20949 Flush queue when going to READY
20950 Unref buffer when _push() returns an error.
20951 Don't free MiniObject instance when refcount is incremented
20952 in _finalize() so that we can recover objects.
20954 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
20956 * docs/manual/advanced-schedulers.xml:
20957 * docs/manual/appendix-checklist.xml:
20958 * docs/pwg/advanced-clock.xml:
20959 * docs/pwg/advanced-interfaces.xml:
20960 * docs/pwg/advanced-request.xml:
20961 * docs/pwg/advanced-types.xml:
20962 * docs/pwg/intro-preface.xml:
20963 * examples/plugins/example.c: (gst_example_get_type),
20964 (gst_example_class_init), (gst_example_chain),
20965 (gst_example_set_property), (gst_example_get_property),
20966 (gst_example_change_state), (plugin_init):
20967 * examples/plugins/example.h:
20970 2005-05-17 Wim Taymans <wim@fluendo.com>
20972 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
20973 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
20974 * gst/gstqueue.c: (gst_queue_change_state):
20975 Clear queue when going to READY.
20976 Remove IN_SETCAPS flag too.
20978 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
20980 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
20981 Remove implicit cast from gboolean to GstElementStateReturn;
20982 make sure we still return failure in paused => ready case if
20983 the parent class fails to change state and our own stop
20986 2005-05-17 Wim Taymans <wim@fluendo.com>
20988 * tools/gst-launch.c: (event_loop):
20989 Message was unreffed too soon.
20991 2005-05-16 Andy Wingo <wingo@pobox.com>
20993 * gst/gstbin.c (sink_iterator_filter): Err... um...
20995 * check/gst/gstbin.c (test_ghost_pads): New test for the
20996 ghosting-if-elements-not-in-same-bin behavior.
20998 2005-05-16 David Schleef <ds@schleef.org>
21000 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21001 accessing refcount directly.
21003 2005-05-15 David Schleef <ds@schleef.org>
21005 * check/Makefile.am: remove GstData checks
21006 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21007 * gst/Makefile.am: add miniobject, remove data
21008 * gst/gst.h: add miniobject, remove data
21009 * gst/gstdata.c: remove
21010 * gst/gstdata.h: remove
21011 * gst/gstdata_private.h: remove
21012 * gst/gsttypes.h: remove GstEvent and GstMessage
21013 * gst/gstelement.c: (gst_element_post_message): fix for API changes
21014 * gst/gstmarshal.list: change BOXED -> OBJECT
21016 Implement GstMiniObject.
21017 * gst/gstminiobject.c:
21018 * gst/gstminiobject.h:
21020 Modify to be subclasses of GstMiniObject.
21021 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21022 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21023 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21024 (gst_subbuffer_get_type), (gst_subbuffer_init),
21025 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21028 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21029 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21030 (_gst_event_copy), (gst_event_new):
21032 * gst/gstmessage.c: (_gst_message_initialize),
21033 (gst_message_get_type), (gst_message_class_init),
21034 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21035 (gst_message_new), (gst_message_new_error),
21036 (gst_message_new_warning), (gst_message_new_tag),
21037 (gst_message_new_state_changed), (gst_message_new_application):
21038 * gst/gstmessage.h:
21039 * gst/gstprobe.c: (gst_probe_perform),
21040 (gst_probe_dispatcher_dispatch):
21042 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21043 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21044 (_gst_query_copy), (gst_query_new):
21046 Update elements for GstData -> GstMiniObject changes
21048 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21049 (gst_queue_chain), (gst_queue_loop):
21050 * gst/elements/gstbufferstore.c:
21051 (gst_buffer_store_add_buffer_func),
21052 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21053 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21054 (gst_fakesink_render):
21055 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21056 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21057 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21058 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21059 (gst_filesrc_create_read):
21060 * gst/elements/gstidentity.c: (gst_identity_class_init):
21061 * gst/elements/gsttypefindelement.c:
21062 (gst_type_find_element_src_event), (free_entry_buffers),
21063 (gst_type_find_element_handle_event):
21064 * libs/gst/dataprotocol/dataprotocol.c:
21065 (gst_dp_header_from_buffer):
21066 * libs/gst/dataprotocol/dataprotocol.h:
21067 * libs/gst/dataprotocol/dp-private.h:
21069 2005-05-15 David Schleef <ds@schleef.org>
21071 * gst/elements/gstelements.c: Don't include headers that were
21074 2005-05-15 David Schleef <ds@schleef.org>
21076 * gst/elements/Makefile.am: Remove some elements that don't
21077 need to be in the core (or even exist at all).
21078 * gst/elements/gstaggregator.c:
21079 * gst/elements/gstaggregator.h:
21080 * gst/elements/gstmd5sink.c:
21081 * gst/elements/gstmd5sink.h:
21082 * gst/elements/gstmultifilesrc.c:
21083 * gst/elements/gstmultifilesrc.h:
21084 * gst/elements/gstpipefilter.c:
21085 * gst/elements/gstpipefilter.h:
21086 * gst/elements/gstshaper.c:
21087 * gst/elements/gstshaper.h:
21088 * gst/elements/gststatistics.c:
21089 * gst/elements/gststatistics.h:
21090 * po/POTFILES.in: Remove above files.
21092 2005-05-14 Andy Wingo <wingo@pobox.com>
21094 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21095 so as to get the refs right.
21096 (sink_iterator_filter): New function, wraps bin_element_is_sink,
21097 unreffing objects that don't pass the filter.
21099 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21100 gst_element_set_bus.
21101 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21102 normal cases, this will destroy the bus.
21104 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21107 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21110 2005-05-13 Andy Wingo <wingo@pobox.com>
21112 * gst/gstutils.c (gst_element_link_pads): Instead of calling
21113 gst_pad_link, call pad_link_maybe_ghosting,
21114 (pad_link_maybe_ghosting): Links pads, making sure that the
21115 elements being linked are in the same bin.
21116 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21117 Helpers for pad_link_maybe_ghosting.
21119 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21122 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21124 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21126 * docs/design/part-element-source.txt:
21129 2005-05-12 Wim Taymans <wim@fluendo.com>
21131 * gst/base/gstbasesink.c: (gst_basesink_init),
21132 (gst_basesink_activate):
21133 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21134 (gst_basesrc_is_seekable):
21135 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21136 (bin_element_is_sink), (gst_bin_change_state):
21137 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21138 * gst/gstelement.h:
21139 Identify sinks by their flag to avoid overly complicated
21141 Do state changes even for elements not reachable from the
21143 BaseSink is a sink now :)
21144 Some more debugging info in the basesrc.
21147 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21149 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21150 Implement _query on a bin, similar to _send_event.
21152 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
21154 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21155 Discont event offset format should be GST_FORMAT_BYTES,
21156 not GST_FORMAT_TIME.
21158 2005-05-12 Wim Taymans <wim@fluendo.com>
21160 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21161 Same fix as Ronald's but without the signal.
21163 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21165 * gst/gstutils.c: (gst_element_query_position):
21166 No, an element is not a pad.
21168 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21170 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21171 (gst_bin_get_state):
21172 If a child is removed from a bin while we remove the child from
21173 the bin and while we're retrieving its state, signal this to the
21174 get_state function so we abort the wait (instead of waiting for
21175 a timeout) and can immediately re-iterate over all other elements.
21177 2005-05-12 Wim Taymans <wim@fluendo.com>
21179 * gst/base/Makefile.am:
21180 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21181 (gst_basesrc_start):
21182 * gst/base/gstbasesrc.h:
21183 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21184 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21185 (gst_pushsrc_init), (gst_pushsrc_create):
21186 * gst/base/gstpushsrc.h:
21187 Added is_seekable to BaseSrc
21188 Added simple PushSrc.
21190 2005-05-11 Wim Taymans <wim@fluendo.com>
21192 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21193 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21194 (gst_element_link_pads), (gst_element_query_position),
21195 (gst_element_query_convert), (intersect_caps_func),
21196 (gst_pad_query_position), (gst_pad_query_convert):
21197 Fix refcounting in utils function.
21198 No point in trying to activate a pad when it's added, it could
21199 be added from the state change function and then we deadlock, the
21200 element has to decide what to do.
21202 2005-05-10 Andy Wingo <wingo@pobox.com>
21204 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21205 *all* the arguments.
21207 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21208 stream lock if it's a FLUSH_DONE; normal flushes don't get the
21209 lock (according to the docs -- if this is wrong change the docs).
21211 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21212 flush messages in the NULL state.
21214 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21215 message immediately and return.
21216 (gst_bus_set_flushing): New function. If a bus is flushing, it
21217 flushes out any queued messages and immediately unrefs new
21218 messages. This is so when an element goes to NULL, all of the
21219 unhandled messages coming from it can be freed, and their
21220 references to the element dropped. In other words: message source
21221 ref considered harmful :P
21223 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21224 we're finished with it.
21226 * gst/gstmessage.c (gst_message_new_state_changed):
21228 2005-05-10 Wim Taymans <wim@fluendo.com>
21230 * gst/gstvalue.c: (gst_value_compare_flags),
21231 (gst_value_serialize_flags), (gst_value_deserialize_flags),
21232 (_gst_value_initialize):
21233 Added flags serialize/deserialize/compare code.
21235 2005-05-09 Andy Wingo <wingo@pobox.com>
21237 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21238 Intersect the peer's caps with our caps.
21240 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21242 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21243 * gst/elements/gsttypefindelement.c: (find_peek):
21244 Handle negative offsets better. Fixes decodebin.
21246 2005-05-09 Wim Taymans <wim@fluendo.com>
21248 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21249 (gst_base_transform_event):
21250 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21251 Implement accept_caps.
21252 Fix silly lock/unlock mismatch in base class.
21254 2005-05-09 Wim Taymans <wim@fluendo.com>
21256 * docs/design/draft-push-pull.txt:
21257 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21258 * gst/elements/gstfilesink.c: (gst_filesink_init),
21259 (gst_filesink_query):
21260 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21261 (gst_type_find_handle_src_query), (find_element_get_length):
21262 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21263 * gst/gstelement.h:
21264 * gst/gstmessage.c:
21265 * gst/gstmessage.h:
21266 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21267 (gst_real_pad_get_caps_unlocked),
21268 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21269 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21270 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21271 (gst_real_pad_dispose), (gst_real_pad_finalize),
21272 (gst_pad_load_and_link), (gst_pad_save_thyself),
21273 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21274 (gst_pad_check_pull_range), (gst_pad_pull_range),
21275 (gst_pad_template_get_type), (gst_pad_template_class_init),
21276 (gst_pad_template_init), (gst_pad_template_dispose),
21277 (name_is_valid), (gst_static_pad_template_get),
21278 (gst_pad_template_new), (gst_static_pad_template_get_caps),
21279 (gst_pad_template_get_caps), (gst_pad_set_element_private),
21280 (gst_pad_get_element_private), (gst_pad_start_task),
21281 (gst_pad_pause_task), (gst_pad_stop_task),
21282 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21283 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21284 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21285 (gst_ghost_pad_new):
21287 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21288 (gst_query_new_position), (gst_query_set_position),
21289 (gst_query_parse_position), (gst_query_new_convert),
21290 (gst_query_set_convert), (gst_query_parse_convert):
21292 * gst/gstqueryutils.c:
21293 * gst/gstqueryutils.h:
21294 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21295 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21296 (gst_queue_handle_src_query):
21297 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21298 (gst_element_query_position), (gst_element_query_convert),
21299 (intersect_caps_func), (gst_pad_query_position),
21300 (gst_pad_query_convert):
21302 * tools/gst-inspect.c: (print_pad_info):
21303 * tools/gst-xmlinspect.c: (print_element_info):
21304 Remove old query functions. Ported old code.
21305 Added position/convert helper functions to gstutils.
21306 Reordered gstpad.c code, grouping relevant things.
21307 Remove gst_message_new(), always need to speficy a specific
21311 2005-05-09 Andy Wingo <wingo@pobox.com>
21313 * gst/gstiterator.h: Add some includes.
21315 * gst/gstqueryutils.h: Include more headers.
21318 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21319 some uses of gst_pad_query.
21321 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21322 NULL out parameters.
21323 (gst_query_new_position): New proc, allocates a new position
21326 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21327 gstqueryutils.c to the build.
21329 * gst/gststructure.c (gst_structure_set_valist): Implement with
21330 the generic G_VALUE_COLLECT.
21332 2005-05-08 Edward Hervey <bilboed@bilboed.com>
21334 * gst/Makefile.am: (gst_headers):
21335 Added gstqueryutils.h to the list of headers to install, that was
21336 a 'nachty' move wingo :)
21338 2005-05-06 Andy Wingo <wingo@pobox.com>
21341 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21342 GstData, init a memchunk.
21343 (standard_definitions): Add a few query types, deprecate a few.
21344 (gst_query_get_type): New proc.
21345 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21347 (gst_query_new_application, gst_query_get_structure): New public
21350 * docs/design/draft-query.txt: Removed LINKS from the query types,
21351 because all the rest can be dispatched to other pads -- seemed
21352 ugly to have a query that couldn't be dispatched. internal_links
21353 is fine as a pad method.
21355 * gst/gstpad.h: Add query2 as a pad method, add the new functions
21356 in gstpad.c, but maintain binary compatibility for the moment.
21357 Will fix before 0.9 is out.
21359 * gst/gstqueryutils.c:
21360 * gst/gstqueryutils.h: New files, implement 3 methods for each
21361 query type: parse_query, parse_response, and set. Probably need an
21364 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21366 * gst/elements/gstfilesink.c (gst_filesink_query2):
21367 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21368 query_types, and formats methods.
21370 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21371 (gst_pad_set_query2_function): New functions.
21372 (gst_real_pad_init): Set query2_default as the default query2
21373 function. Basically just dispatches to internally linked pads.
21377 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21378 without using the atomic operations. Only one thread can possibly
21379 be accessing the data at this point. Changed so as to avoid
21380 gst_atomic operations.
21382 2005-05-06 Wim Taymans <wim@fluendo.com>
21384 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21385 Also set caps if we use the fallback buffer alloc.
21387 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
21389 * docs/gst/Makefile.am:
21390 * docs/gst/gstreamer-docs.sgml:
21391 * docs/gst/gstreamer-sections.txt:
21392 * docs/gst/tmpl/gstatomic.sgml:
21393 * docs/gst/tmpl/gstmemchunk.sgml:
21394 * testsuite/elements/struct_i386.h:
21395 * win32/GStreamer.vcproj:
21397 Purge GstAtomic stuff from docs and win32 makefiles as well
21399 2005-05-06 Wim Taymans <wim@fluendo.com>
21401 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21402 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21403 * gst/gstpad.c: (gst_pad_peer_get_caps):
21404 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21405 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21406 (gst_queue_src_activate), (gst_queue_change_state):
21408 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21409 (intersect_caps_func):
21410 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21411 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21412 Some fixes for the peer_get_caps() change.
21414 2005-05-06 Wim Taymans <wim@fluendo.com>
21416 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21417 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21418 (gst_basesink_activate):
21419 Actually do something with error codes returned from the push
21422 2005-05-06 Wim Taymans <wim@fluendo.com>
21424 * docs/design/part-element-sink.txt:
21425 * docs/design/part-element-source.txt:
21426 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21427 (gst_basesink_event), (gst_basesink_activate):
21428 * gst/base/gstbasesink.h:
21429 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21430 (gst_basesrc_activate):
21431 * gst/base/gstbasesrc.h:
21432 * gst/gstelement.c: (gst_element_pads_activate):
21433 Some more documentation.
21434 Fixed scheduling decision in _pads_activate().
21436 2005-05-05 Andy Wingo <wingo@pobox.com>
21438 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21441 2005-05-05 Wim Taymans <wim@fluendo.com>
21443 * gst/base/Makefile.am:
21444 * gst/base/gstbasesink.h:
21445 * gst/base/gstbasesrc.c: (gst_basesrc_init),
21446 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21447 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21448 (gst_collectpads_class_init), (gst_collectpads_init),
21449 (gst_collectpads_finalize), (gst_collectpads_new),
21450 (gst_collectpads_set_function), (gst_collectpads_add_pad),
21451 (find_pad), (gst_collectpads_remove_pad),
21452 (gst_collectpads_is_active), (gst_collectpads_collect),
21453 (gst_collectpads_collect_range), (gst_collectpads_start),
21454 (gst_collectpads_stop), (gst_collectpads_peek),
21455 (gst_collectpads_pop), (gst_collectpads_available),
21456 (gst_collectpads_read), (gst_collectpads_flush),
21457 (gst_collectpads_chain):
21458 * gst/base/gstcollectpads.h:
21459 * gst/elements/Makefile.am:
21460 * gst/elements/gstelements.c:
21461 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21462 (gst_fakesink_get_times), (gst_fakesink_event),
21463 (gst_fakesink_preroll), (gst_fakesink_render):
21464 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21465 (gst_filesink_init), (gst_filesink_set_location),
21466 (gst_filesink_open_file), (gst_filesink_close_file),
21467 (gst_filesink_pad_query), (gst_filesink_event),
21468 (gst_filesink_render), (gst_filesink_change_state):
21469 * gst/elements/gstfilesink.h:
21470 Added object to help in making collect pad based elements.
21472 Make event function in sink baseclass return gboolean.
21474 2005-05-05 Wim Taymans <wim@fluendo.com>
21476 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21477 (gst_bin_get_by_name):
21479 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21480 (gst_clock_finalize):
21481 * gst/gstdata.c: (gst_data_replace):
21483 * gst/gstelement.c: (gst_element_request_pad),
21484 (gst_element_pads_activate):
21485 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21486 (gst_object_unref):
21487 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21488 (gst_pad_set_checkgetrange_function),
21489 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21490 (gst_pad_check_pull_range), (gst_pad_pull_range),
21491 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21492 (gst_pad_pause_task), (gst_pad_stop_task):
21493 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21494 (gst_element_request_pad), (gst_pad_proxy_getcaps):
21495 Fix name lookup in GstBin.
21496 Added _data_replace() function and _buffer_replace()
21497 Use finalize method to clean up clock.
21498 Fix refcounting on request pads.
21499 Fix pad schedule mode error.
21500 Some more object refcounting debug info,
21503 2005-05-04 Andy Wingo <wingo@pobox.com>
21505 * check/Makefile.am:
21506 * docs/gst/tmpl/gstatomic.sgml:
21507 * docs/gst/tmpl/gstplugin.sgml:
21508 * gst/base/gstbasesink.c: (gst_basesink_activate):
21509 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21510 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21511 (gst_basesrc_query), (gst_basesrc_set_property),
21512 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21513 (gst_basesrc_activate):
21514 * gst/base/gstbasesrc.h:
21515 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21516 (gst_base_transform_src_activate):
21517 * gst/elements/gstelements.c:
21518 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21519 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21520 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21521 * gst/elements/gsttypefindelement.c: (find_element_get_length),
21522 (gst_type_find_element_checkgetrange),
21523 (gst_type_find_element_activate):
21524 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21525 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21526 (gst_caps_load_thyself):
21527 * gst/gstelement.c: (gst_element_pads_activate),
21528 (gst_element_save_thyself), (gst_element_restore_thyself):
21529 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21530 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21532 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21533 (gst_xml_parse_file), (gst_xml_parse_memory),
21534 (gst_xml_get_element), (gst_xml_make_element):
21535 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21536 (_file_index_id_save_xml), (gst_file_index_commit):
21537 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21538 (read_enum), (load_pad_template), (load_feature), (load_plugin),
21540 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21541 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21542 * tools/gst-complete.c: (main):
21543 * tools/gst-compprep.c: (main):
21544 * tools/gst-inspect.c: (print_element_properties_info):
21545 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21546 * tools/gst-xmlinspect.c: (print_element_properties):
21549 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
21551 * gst/gstplugin.c: (gst_plugin_check_module),
21552 (gst_plugin_check_file), (gst_plugin_load_file):
21553 apply patch from #172526 to make register work on MacOSX
21555 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21557 * docs/gst/tmpl/gstconfig.sgml:
21558 * gst/gstconfig.h.in:
21559 move documentation for some symbols. Add doc for GST_PTR_FORMAT
21560 * testsuite/debug/printf_extension.c: (main):
21561 Do not use GST_PTR_FORMAT on pointers to types with
21562 sizeof < sizeof(gpointer). Fixes test on 64-bit
21563 * testsuite/elements/property.h:
21564 use correct printf format
21566 2005-05-02 Wim Taymans <wim@fluendo.com>
21568 * docs/design/draft-push-pull.txt:
21569 * docs/design/draft-query.txt:
21570 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21571 (gst_basesrc_start):
21572 Added draft for new query API.
21573 Added draft for better selecting scheduling methods.
21574 Make basesrc ignore length if the subclass does not support
21577 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21580 possible fixes for automake-1.5 - _LIBADD is reserved
21582 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21584 * docs/faq/Makefile.am:
21585 * docs/manual/Makefile.am:
21586 * docs/manuals.mak:
21587 * docs/pwg/Makefile.am:
21589 possible fixes for automake-1.5
21591 2005-04-28 Wim Taymans <wim@fluendo.com>
21593 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21594 (gst_basesink_pad_getcaps), (gst_basesink_init),
21595 (gst_basesink_do_sync):
21596 * gst/gstclock.c: (gst_clock_entry_new):
21597 * gst/gstevent.c: (gst_event_discont_get_value):
21598 * gst/gstpipeline.c: (pipeline_bus_handler),
21599 (gst_pipeline_change_state):
21600 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21601 Better debugging of clocking info.
21602 Allow NULL values when getting discont values.
21604 2005-04-27 Wim Taymans <wim@fluendo.com>
21606 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21607 * check/gst/gstpad.c: (gst_pad_suite):
21608 Increase timeout for checks.
21610 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21612 * check/Makefile.am:
21613 fix the broken rule for cleanup. Apparently this rule is
21614 only needed on FC2, so maybe this warrants further autotool
21617 2005-04-26 Wim Taymans <wim@fluendo.com>
21619 * gst/gsttrashstack.h:
21620 Ooohh. a nasty one! After having a failed pop() from the stack,
21621 it's possible that the stack is empty. In that case, don't
21622 follow the NULL pointer.
21624 2005-04-25 Wim Taymans <wim@fluendo.com>
21626 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21627 (gst_pad_set_checkgetrange_function),
21628 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21629 (gst_pad_check_pull_range), (gst_pad_pull_range),
21630 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21631 (gst_pad_pause_task), (gst_pad_stop_task):
21632 * gst/gstplugin.c: (gst_plugin_load):
21634 Remove gst_library_load as it does more harm than good with
21635 the new g_module flags.
21636 Revert bogus caps template check in pad linking, pad caps
21637 are important when linking not the template, which is more
21638 general than the current caps.
21640 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21642 * gst/autoplug/.cvsignore:
21643 * gst/autoplug/Makefile.am:
21644 * gst/autoplug/gstsearchfuncs.c:
21645 * gst/autoplug/gstsearchfuncs.h:
21646 * gst/autoplug/gstspider.c:
21647 * gst/autoplug/gstspider.h:
21648 * gst/autoplug/gstspideridentity.c:
21649 * gst/autoplug/gstspideridentity.h:
21650 * gst/autoplug/spidertest.c:
21653 2005-04-25 Wim Taymans <wim@fluendo.com>
21655 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21656 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21657 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21658 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21660 Added stubs for unimplemented functions.
21662 2005-04-24 David Schleef <ds@schleef.org>
21664 * gst/gstpad.h: Disable some unimplemented functions. Wim,
21667 2005-04-24 David Schleef <ds@schleef.org>
21669 Convert everything from GstAtomicInt to g_atomic_int_*, and
21674 * gst/gstatomic_impl.h:
21682 * gst/gstdata_private.h:
21686 * gst/gstmessage.c:
21689 * gst/gststructure.c:
21690 * gst/gststructure.h:
21691 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21694 2005-04-24 David Schleef <ds@schleef.org>
21696 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21697 make the regressions tests work. Remove some code that is no
21699 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21700 Disable warning for pads without templates.
21702 2005-04-24 David Schleef <ds@schleef.org>
21704 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
21705 functions that handle filtered links.
21706 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21708 * gst/gstutils.c: Fix/remove utility functions that handle
21711 * gst/gstvalue.c: Add serialization/deserialization of caps
21712 * gst/parse/grammar.y: Ignore filtered caps when linking. This
21713 requires fixing so that the filter caps notation creates
21714 a capsfilter element and sets the filter_caps property. I
21715 think everyone probably wants to keep the shorthand notation.
21716 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21717 * docs/gst/tmpl/gstpad.sgml:
21719 * gst/elements/gstelements.c: Register capsfilter element.
21720 * gst/Makefile.am: fix spacing
21721 * docs/random/ds/0.9-suggested-changes: random
21723 2005-04-23 David Schleef <ds@schleef.org>
21725 * gst/elements/Makefile.am:
21726 * gst/elements/gstcapsfilter.c: New element that acts like an
21727 identity, but filters caps. Will eventually replace filtered
21728 caps in pad linking.
21729 * gst/gstutils.c: (gst_element_create_all_pads): New function
21730 to create all the ALWAYS pads that are registered with an
21731 element class. This functionality should eventually be
21732 merged in with GstElement initialization.
21734 * testsuite/trigger/README: part of trigger test code that should
21735 have been checked in a long time ago.
21737 2005-04-23 David Schleef <ds@schleef.org>
21739 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
21740 needed with new versions of libtool (nobody will confirm this),
21741 and hard to carry around.
21742 * gst/autoplug/Makefile.am:
21743 * gst/base/Makefile.am:
21744 * gst/elements/Makefile.am:
21745 * gst/indexers/Makefile.am:
21746 * gst/schedulers/Makefile.am:
21747 * libs/gst/bytestream/Makefile.am:
21748 * libs/gst/control/Makefile.am:
21749 * libs/gst/dataprotocol/Makefile.am:
21750 * libs/gst/getbits/Makefile.am:
21752 2005-04-21 Wim Taymans <wim@fluendo.com>
21754 * docs/design/draft-push-pull.txt:
21755 * docs/design/part-MT-refcounting.txt:
21756 * docs/design/part-TODO.txt:
21757 * docs/design/part-caps.txt:
21758 * docs/design/part-events.txt:
21759 * docs/design/part-gstbus.txt:
21760 * docs/design/part-gstpipeline.txt:
21761 * docs/design/part-messages.txt:
21762 * docs/design/part-push-pull.txt:
21763 * docs/design/part-query.txt:
21766 2005-04-21 Wim Taymans <wim@fluendo.com>
21768 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21769 (gst_message_new), (gst_message_new_error),
21770 (gst_message_new_warning), (gst_message_new_tag),
21771 (gst_message_new_state_changed), (gst_message_new_application),
21772 (gst_message_get_structure):
21773 * gst/gstmessage.h:
21774 * gst/gststructure.c: (gst_structure_set_parent_refcount),
21775 (gst_structure_copy_conditional):
21776 Use parent refcount in GstMessage to ensure GstStructure
21778 Cleaned up headers a bit.
21781 2005-04-20 Wim Taymans <wim@fluendo.com>
21783 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21784 (gst_basesink_pad_getcaps), (gst_basesink_init),
21785 (gst_basesink_chain_unlocked):
21786 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21787 (gst_type_find_helper):
21788 * gst/elements/gsttypefindelement.c:
21789 (gst_type_find_element_have_type), (gst_type_find_element_init),
21790 (stop_typefinding), (gst_type_find_element_handle_event),
21791 (find_suggest), (gst_type_find_element_chain),
21792 (gst_type_find_element_checkgetrange),
21793 (gst_type_find_element_getrange), (do_typefind),
21794 (gst_type_find_element_activate):
21795 * gst/gstbuffer.c: (_gst_buffer_sub_free),
21796 (gst_buffer_default_free), (gst_buffer_default_copy),
21797 (gst_buffer_set_caps):
21798 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21799 (gst_caps_replace):
21800 * gst/gstmessage.c: (gst_message_new),
21801 (gst_message_new_state_changed):
21802 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21803 (gst_pad_set_checkgetrange_function),
21804 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21805 (gst_pad_set_caps), (gst_pad_check_pull_range),
21806 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21808 * gst/gsttypefind.c: (gst_type_find_register):
21809 Make gst_caps_replace() work like other _replace() functions.
21810 Use _caps_replace() where possible.
21811 Make sure _message_new() initialises its field.
21812 Add gst_static_pad_template_get_caps()
21815 2005-04-18 Andy Wingo <wingo@pobox.com>
21817 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21818 on the peer, not the pad. I think that was a typo. Pass an extra
21819 arg to see if random access is possible. Activate the pads as
21820 PULL_RANGE if possible.
21822 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21824 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
21825 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21828 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21830 * docs/faq/using.xml:
21831 Add note on gstreamer-properties (#154996).
21833 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21835 * docs/random/bbb/optional-properties:
21836 Some analysis on optional properties.
21838 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21840 * docs/gst/tmpl/gstelementfactory.sgml:
21841 * gst/gstelement.h:
21842 * gst/gstelementfactory.c: (gst_element_factory_init),
21843 (gst_element_factory_cleanup), (gst_element_register),
21844 (__gst_element_factory_add_static_pad_template),
21845 (gst_element_factory_get_static_pad_templates),
21846 (gst_element_factory_can_src_caps),
21847 (gst_element_factory_can_sink_caps):
21848 * gst/registries/Makefile.am:
21849 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
21850 (gst_xml_registry_class_init), (gst_xml_registry_init),
21851 (gst_xml_registry_new), (gst_xml_registry_set_property),
21852 (gst_xml_registry_get_property), (get_time), (make_dir),
21853 (gst_xml_registry_get_perms_func),
21854 (plugin_times_older_than_recurse), (plugin_times_older_than),
21855 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
21856 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
21857 (add_to_char_array), (read_string), (read_uint), (read_enum),
21858 (load_pad_template), (load_feature), (load_plugin), (load_paths),
21859 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
21860 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
21861 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
21862 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
21863 (gst_xml_registry_rebuild):
21864 * gst/registries/gstlibxmlregistry.h:
21865 * tools/gst-compprep.c: (main):
21866 * tools/gst-inspect.c: (print_pad_templates_info):
21867 * tools/gst-xmlinspect.c: (print_element_info):
21868 Use libxml2 for registry parsing, use staticpadtemplates in
21869 elementfactories. Makes gst_init() +/- 10x faster.
21871 2005-04-12 Wim Taymans <wim@fluendo.com>
21873 * gst/base/Makefile.am:
21874 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21875 (gst_basesink_pad_getcaps), (gst_basesink_init),
21876 (gst_basesink_event), (gst_basesink_change_state):
21877 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21878 (gst_basesrc_init), (gst_basesrc_query),
21879 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21880 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21881 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21882 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21883 (gst_basesrc_stop), (gst_basesrc_activate),
21884 (gst_basesrc_change_state):
21885 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21886 (helper_find_suggest), (gst_type_find_helper):
21887 * gst/base/gsttypefindhelper.h:
21888 * gst/elements/Makefile.am:
21889 * gst/elements/gstelements.c:
21890 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21891 (gst_fakesink_get_times), (gst_fakesink_event),
21892 (gst_fakesink_preroll), (gst_fakesink_render):
21893 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21894 (gst_fakesrc_init), (gst_fakesrc_event_handler),
21895 (gst_fakesrc_get_property), (gst_fakesrc_create),
21896 (gst_fakesrc_start), (gst_fakesrc_stop):
21897 * gst/elements/gstfakesrc.h:
21898 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
21899 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21900 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21901 (gst_filesrc_create_read), (gst_filesrc_create),
21902 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
21903 (gst_filesrc_start):
21904 * gst/elements/gsttypefindelement.c:
21905 (gst_type_find_element_have_type), (gst_type_find_element_init),
21906 (start_typefinding), (stop_typefinding), (push_buffer_store),
21907 (gst_type_find_element_handle_event),
21908 (gst_type_find_element_chain),
21909 (gst_type_find_element_checkgetrange),
21910 (gst_type_find_element_getrange), (do_typefind),
21911 (gst_type_find_element_activate),
21912 (gst_type_find_element_change_state):
21913 * gst/elements/gsttypefindelement.h:
21914 * gst/gstpipeline.c: (pipeline_bus_handler):
21915 Added typefind helper.
21916 Small preroll fix in the base sink.
21917 Disable typefind code in basesrc.
21918 Crude port of typefindelement.
21922 2005-04-11 Wim Taymans <wim@fluendo.com>
21924 * check/gst/gstbus.c: (gstbus_suite):
21925 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
21926 * check/gstcheck.h:
21927 Fix up the timeout so that the test does not fail.
21929 2005-04-06 Wim Taymans <wim@fluendo.com>
21932 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21933 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
21934 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21935 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21936 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21937 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21938 (gst_basesrc_stop), (gst_basesrc_activate),
21939 (gst_basesrc_change_state), (basesrc_find_peek),
21940 (basesrc_find_suggest), (gst_basesrc_type_find):
21941 * gst/base/gstbasesrc.h:
21942 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
21943 (gst_filesrc_class_init), (gst_filesrc_init),
21944 (gst_filesrc_finalize), (gst_filesrc_set_location),
21945 (gst_filesrc_set_property), (gst_filesrc_get_property),
21946 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21947 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21948 (gst_filesrc_create_read), (gst_filesrc_create),
21949 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
21950 * gst/elements/gstfilesrc.h:
21951 * gst/gstelement.c: (gst_element_get_state_func),
21952 (gst_element_lost_state), (gst_element_pads_activate):
21953 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21954 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21955 (gst_pad_pull_range):
21957 More work on the generic source base class, implement seeking,
21959 Make filesrc extend the base source class.
21960 Added gst_pad_set_checkgetrange_function to GstPad.
21962 2005-04-06 Andy Wingo <wingo@pobox.com>
21964 * pkgconfig/gstreamer-base.pc.in:
21965 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
21967 * pkgconfig/Makefile.am:
21968 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
21970 2005-04-04 Wim Taymans <wim@fluendo.com>
21972 * gst/base/Makefile.am:
21974 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21975 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21976 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21977 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
21978 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21979 (gst_basesrc_base_init), (gst_basesrc_class_init),
21980 (gst_basesrc_init), (gst_basesrc_get_formats),
21981 (gst_basesrc_get_query_types), (gst_basesrc_query),
21982 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
21983 (gst_basesrc_set_property), (gst_basesrc_get_property),
21984 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
21985 (gst_basesrc_loop), (gst_basesrc_activate),
21986 (gst_basesrc_change_state):
21987 * gst/base/gstbasesrc.h:
21988 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
21989 (gst_fakesrc_class_init), (gst_fakesrc_init),
21990 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
21991 (gst_fakesrc_get_property), (gst_fakesrc_create):
21992 * gst/elements/gstfakesrc.h:
21993 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
21994 (gst_filesrc_open_file), (gst_filesrc_loop),
21995 (gst_filesrc_activate), (filesrc_find_peek),
21996 (gst_filesrc_type_find):
21997 Made base source class, make fakesrc extend it.
21998 Add comments to basesink class.
21999 Some filesrc cleanup.
22001 2005-03-31 David Schleef <ds@schleef.org>
22003 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22004 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22005 expected to link against libgstreamer.
22006 * gst/base/Makefile.am: link against libgstreamer
22007 * gst/elements/Makefile.am: same
22009 2005-03-31 Andy Wingo <wingo@pobox.com>
22011 * tests/instantiate/Makefile.am:
22012 * tests/instantiate/caps.c: Add test to test speed of caps copy
22015 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22016 GMemChunk to be fair.
22018 * gst/gsttrashstack.h: Remove warning about using the fallback
22019 trash stack implementation, it's still faster than malloc.
22021 2005-03-30 Andy Wingo <wingo@pobox.com>
22023 * tests/complexity.c: Add a copyright.
22025 2005-03-31 Wim Taymans <wim@fluendo.com>
22027 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22028 (gst_base_transform_class_init), (gst_base_transform_init),
22029 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22030 (gst_base_transform_get_property),
22031 (gst_base_transform_sink_activate),
22032 (gst_base_transform_src_activate),
22033 (gst_base_transform_change_state):
22034 * gst/base/gstbasetransform.h:
22035 * gst/elements/gstidentity.c: (gst_identity_class_init),
22036 (gst_identity_event), (gst_identity_check_perfect),
22037 (gst_identity_transform), (gst_identity_start),
22038 (gst_identity_stop):
22039 Added start/stop methods to transform base class so subclasses
22040 don't need to deal with state changes even.
22042 2005-03-31 Wim Taymans <wim@fluendo.com>
22044 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22045 (gst_event_new_discontinuous), (gst_event_discont_get_value):
22047 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22048 (gst_pad_pull_range):
22049 Added rate to the discont event to prepare for variable speed
22050 and reverse playback.
22052 2005-03-29 David Schleef <ds@schleef.org>
22055 * testsuite/trigger/Makefile.am:
22056 * testsuite/trigger/trigger.c: A little example program to show
22057 how trigger-based elements can work.
22059 2005-03-29 Wim Taymans <wim@fluendo.com>
22061 * gst/base/Makefile.am:
22063 * gst/base/gstbasesink.c: (gst_basesink_get_type),
22064 (gst_basesink_base_init), (gst_basesink_class_init),
22065 (gst_basesink_pad_getcaps), (gst_basesink_init),
22066 (gst_basesink_activate), (gst_basesink_change_state):
22067 * gst/base/gstbasesink.h:
22068 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22069 (gst_base_transform_base_init), (gst_base_transform_finalize),
22070 (gst_base_transform_class_init), (gst_base_transform_init),
22071 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22072 (gst_base_transform_event), (gst_base_transform_getrange),
22073 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22074 (gst_base_transform_set_property),
22075 (gst_base_transform_get_property),
22076 (gst_base_transform_sink_activate),
22077 (gst_base_transform_src_activate),
22078 (gst_base_transform_change_state):
22079 * gst/base/gstbasetransform.h:
22080 * gst/elements/gstidentity.c: (gst_identity_finalize),
22081 (gst_identity_class_init), (gst_identity_init),
22082 (gst_identity_event), (gst_identity_check_perfect),
22083 (gst_identity_transform), (gst_identity_set_property),
22084 (gst_identity_get_property), (gst_identity_change_state):
22085 * gst/elements/gstidentity.h:
22086 * gst/gstelement.c: (gst_element_get_state_func),
22087 (gst_element_lost_state), (gst_element_pads_activate):
22088 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22089 (gst_pad_check_pull_range), (gst_pad_pull_range):
22091 Simplify pad activation.
22092 Added function to check if pull_range can be performed.
22093 Error out when pulling inactive or flushing pads.
22094 Removed const from refcounted types as it does not make sense.
22095 Simplify pad templates in basesink
22096 Added base class for simple 1-to-1 transforms.
22097 Make identity subclass the base transform.
22099 2005-03-29 Andy Wingo <wingo@pobox.com>
22101 * docs/libs/gstreamer-libs-overrides.txt:
22102 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22103 really don't understand what's going on, but like whatever. I want
22106 * docs/gst/Makefile.am:
22107 * docs/libs/Makefile.am: Dist the overrides files.
22109 * check/Makefile.am (clean-local): Remove .libs directories.
22111 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22112 elements to EXTRA_DIST, so po/ files are happy.
22114 * po/POTFILES.in: Er, remove it here.
22116 * po/POTFILES: Remove gstspider.c.
22118 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22120 * docs/libs/gstreamer-libs-docs.sgml:
22121 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22124 * tests/complexity.c (main): Set the length of the preroll queue
22125 on the sinks to prevent a lockup.
22127 * libs/gst/dataprotocol/Makefile.am:
22128 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22129 the same as the one in check/gst-libs/gdp.c.
22131 * po/, docs/gst/: Commit automatic changes to docs and po files.
22133 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22134 the versioned libgstbase.
22136 * check/Makefile.am: Depend on an unversioned gst-register, seems
22137 to make autoconf happier.
22139 * gst/base/Makefile.am: Make libgstbase a versioned lib.
22141 2005-03-28 Wim Taymans <wim@fluendo.com>
22144 * docs/design/part-gstelement.txt:
22145 * docs/design/part-negotiation.txt:
22146 * docs/design/part-preroll.txt:
22147 * docs/design/part-scheduling.txt:
22148 * docs/design/part-states.txt:
22150 * gst/base/Makefile.am:
22152 * gst/base/gstbasesink.c: (gst_basesink_get_template),
22153 (gst_basesink_base_init), (gst_basesink_class_init),
22154 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22155 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22156 (gst_basesink_set_pad_functions),
22157 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22158 (gst_basesink_set_property), (gst_basesink_get_property),
22159 (gst_base_sink_get_template), (gst_base_sink_get_caps),
22160 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22161 (gst_basesink_preroll_queue_push),
22162 (gst_basesink_preroll_queue_empty),
22163 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22164 (gst_basesink_event), (gst_basesink_get_times),
22165 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22166 (gst_basesink_chain_unlocked), (gst_basesink_chain),
22167 (gst_basesink_loop), (gst_basesink_activate),
22168 (gst_basesink_change_state):
22169 * gst/base/gstbasesink.h:
22170 * gst/elements/Makefile.am:
22171 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22172 (gst_fakesink_class_init), (gst_fakesink_init),
22173 (gst_fakesink_set_property), (gst_fakesink_get_property),
22174 (gst_fakesink_get_times), (gst_fakesink_event),
22175 (gst_fakesink_preroll), (gst_fakesink_render),
22176 (gst_fakesink_change_state):
22177 * gst/elements/gstfakesink.h:
22178 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22179 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22180 * gst/gstelement.c: (gst_element_add_pad),
22181 (gst_element_get_state_func), (gst_element_abort_state),
22182 (gst_element_commit_state), (gst_element_lost_state),
22183 (gst_element_set_state), (gst_element_pads_activate):
22184 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22185 * gst/gstpipeline.c: (gst_pipeline_send_event),
22186 (gst_pipeline_change_state):
22187 Added state change code.
22188 Added/updated docs.
22189 Added sink base class, make fakesink extend the base class.
22190 Small cleanups in GstPipeline.
22192 2005-03-26 David Schleef <ds@schleef.org>
22194 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
22195 is broken and should be implemented in a different library.
22196 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22197 * gst/gst.h: remove gstcpu.h
22198 * gst/gstcpu.c: remove
22199 * gst/gstcpu.h: remove
22200 * gst/Makefile.am.future: Remove this file. It's ancient.
22202 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22204 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22205 (gst_bin_send_event):
22206 Add default event/set_manager handlers. The set_manager handler
22207 takes care that the manager is distributed over kids that were
22208 already in the bin before the manager was set. The event handler
22209 is a utility virtual function that sends the event over all sinks,
22210 so that gst_element_send_event (bin, event); has the expected
22212 * gst/gstpad.c: (gst_pad_event_default):
22213 Re-install default event handling for discontinuities, so that
22214 seeking works without requiring hacks in applications or extra
22216 * gst/gstpipeline.c: (gst_pipeline_class_init),
22217 (gst_pipeline_send_event):
22218 Half hack, half utility: set a pipeline to PAUSED for seek events,
22219 since that is the only way we can guarantee a/v sync. Means that
22220 you can do gst_element_seek (pipeline, method, pos); on a pipeline
22221 and it "just works".
22223 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22225 * gst/gstpipeline.c: (gst_pipeline_use_clock):
22226 Lock/unlock mismatch.
22228 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
22230 * docs/faq/gst-uninstalled:
22231 add gst-plugins-base
22232 * docs/gst/Makefile.am:
22233 don't error out until docs are fixed
22234 * docs/gst/gstreamer.types:
22237 2005-03-22 Wim Taymans <wim@fluendo.com>
22239 * check/Makefile.am:
22240 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22241 * gst/gststructure.c: (gst_structure_set_valist),
22242 (gst_structure_copy_conditional):
22243 Activated more tests.
22244 Added message test.
22245 Added G_TYPE_POINTER to GstStructure.
22248 2005-03-22 Wim Taymans <wim@fluendo.com>
22250 * docs/design/part-TODO.txt:
22251 * docs/design/part-events.txt:
22252 * docs/design/part-gstbin.txt:
22253 * docs/design/part-gstbus.txt:
22254 * docs/design/part-gstpipeline.txt:
22255 * docs/design/part-messages.txt:
22257 * gst/gstmessage.c:
22260 2005-03-21 Wim Taymans <wim@fluendo.com>
22262 * gst/gstbus.c: (gst_bus_post):
22263 Fix copy-and-paste error.
22265 2005-03-21 Wim Taymans <wim@fluendo.com>
22267 * check/Makefile.am:
22269 * gst/elements/Makefile.am:
22270 * gst/elements/gstelements.c:
22271 * gst/elements/gstfakesink.c: (gst_fakesink_init),
22272 (gst_fakesink_event), (gst_fakesink_chain):
22273 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22274 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22275 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22276 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22277 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22278 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22279 (gst_fakesrc_loop), (gst_fakesrc_activate),
22280 (gst_fakesrc_change_state):
22281 * gst/elements/gstfakesrc.h:
22282 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22283 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22284 (gst_filesrc_open_file), (gst_filesrc_loop),
22285 (gst_filesrc_activate), (gst_filesrc_change_state),
22286 (filesrc_find_peek), (filesrc_find_suggest),
22287 (gst_filesrc_type_find):
22288 * gst/elements/gstidentity.c: (gst_identity_finalize),
22289 (gst_identity_class_init), (gst_identity_init),
22290 (gst_identity_proxy_getcaps), (identity_queue_push),
22291 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22292 (gst_identity_getrange), (gst_identity_chain),
22293 (gst_identity_sink_loop), (gst_identity_src_loop),
22294 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22295 (gst_identity_set_property), (gst_identity_get_property),
22296 (gst_identity_change_state):
22297 * gst/elements/gstidentity.h:
22298 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22299 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22300 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22301 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22302 (gst_tee_sink_activate):
22303 * gst/elements/gsttee.h:
22304 * gst/gst.c: (gst_register_core_elements), (init_post):
22306 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22307 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22308 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22309 (gst_bin_change_state):
22311 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22312 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22313 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22314 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22315 (gst_bus_set_sync_handler), (gst_bus_create_watch),
22316 (bus_watch_callback), (bus_watch_destroy),
22317 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22318 (poll_timeout), (gst_bus_poll):
22322 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22323 (gst_element_post_message), (gst_element_message_full),
22324 (gst_element_get_state_func), (gst_element_get_state),
22325 (gst_element_abort_state), (gst_element_commit_state),
22326 (gst_element_lost_state), (gst_element_set_state),
22327 (gst_element_pads_activate), (gst_element_change_state),
22328 (gst_element_dispose), (gst_element_set_manager_func),
22329 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22330 (gst_element_set_manager), (gst_element_get_manager),
22331 (gst_element_set_bus), (gst_element_get_bus),
22332 (gst_element_set_scheduler), (gst_element_get_scheduler):
22333 * gst/gstelement.h:
22334 * gst/gstevent.c: (gst_event_new_segment_seek),
22335 (gst_event_new_flush):
22337 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22338 (_gst_message_free), (gst_message_get_type), (gst_message_new),
22339 (gst_message_new_eos), (gst_message_new_error),
22340 (gst_message_new_warning), (gst_message_new_tag),
22341 (gst_message_new_state_changed), (gst_message_new_application),
22342 (gst_message_get_structure), (gst_message_parse_tag),
22343 (gst_message_parse_state_changed), (gst_message_parse_error),
22344 (gst_message_parse_warning):
22345 * gst/gstmessage.h:
22346 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22347 (gst_real_pad_set_property), (gst_pad_set_active),
22348 (gst_pad_is_active), (gst_pad_set_blocked_async),
22349 (gst_pad_set_blocked), (gst_pad_is_blocked),
22350 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22351 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22352 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22353 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22354 (gst_pad_link_filtered), (gst_pad_relink_filtered),
22355 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22356 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22357 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22358 (gst_pad_set_caps), (gst_pad_configure_sink),
22359 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22360 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22361 (gst_real_pad_dispose), (gst_real_pad_finalize),
22362 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22363 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22364 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22366 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22367 (pipeline_bus_handler), (gst_pipeline_change_state),
22368 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22369 * gst/gstpipeline.h:
22371 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22372 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22373 (gst_queue_link_src), (gst_queue_bufferalloc),
22374 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22375 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22376 (gst_queue_loop), (gst_queue_handle_src_event),
22377 (gst_queue_handle_src_query), (gst_queue_src_activate),
22378 (gst_queue_change_state):
22380 * gst/gstscheduler.c: (gst_scheduler_init),
22381 (gst_scheduler_dispose), (gst_scheduler_create_task),
22382 (gst_scheduler_factory_create):
22383 * gst/gstscheduler.h:
22384 * gst/gststructure.c: (gst_structure_get_type),
22385 (gst_structure_copy_conditional):
22386 * gst/gststructure.h:
22387 * gst/gsttaginterface.h:
22388 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22389 (gst_task_init), (gst_task_dispose), (gst_task_create),
22390 (gst_task_get_state), (gst_task_start), (gst_task_stop),
22396 * gst/schedulers/Makefile.am:
22397 * gst/schedulers/cothreads_compat.h:
22398 * gst/schedulers/entryscheduler.c:
22399 * gst/schedulers/faircothreads.c:
22400 * gst/schedulers/faircothreads.h:
22401 * gst/schedulers/fairscheduler.c:
22402 * gst/schedulers/gstbasicscheduler.c:
22403 * gst/schedulers/gstoptimalscheduler.c:
22404 * gst/schedulers/gthread-cothreads.h:
22405 * gst/schedulers/threadscheduler.c:
22406 (gst_thread_scheduler_task_get_type),
22407 (gst_thread_scheduler_task_class_init),
22408 (gst_thread_scheduler_task_init),
22409 (gst_thread_scheduler_task_start),
22410 (gst_thread_scheduler_task_stop),
22411 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22412 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22413 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22414 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22416 * libs/gst/Makefile.am:
22417 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22418 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22419 (gst_file_pad_parent_set):
22420 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22421 (gst_dp_event_from_packet):
22422 * tests/complexity.c: (main):
22423 * tests/mass_elements.c: (main):
22424 * testsuite/states/locked.c: (message_received), (main):
22425 * testsuite/states/parent.c: (main):
22426 * tools/gst-inspect.c: (print_element_flag_info),
22427 (print_implementation_info), (print_pad_info):
22428 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22430 * tools/gst-md5sum.c: (event_loop), (main):
22431 * tools/gst-typefind.c: (main):
22432 * tools/gst-xmlinspect.c: (print_element_info):
22434 Added GstBus for mainloop integration.
22435 Added GstMessage for sending notifications on the bus.
22436 Added GstTask as an abstraction for pipeline entry points.
22438 Removed Schedulers.
22439 Simplified GstQueue for multithreaded core.
22440 Made _link threadsafe, removed old capsnego.
22441 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22442 Added pad blocking functions.
22443 Reworked scheduling functions in GstPad to prepare for
22444 scheduling updates soon.
22445 Moved events out of data stream.
22446 Simplified GstEvent types.
22447 Added return values to push/pull.
22448 Removed clocking from GstElement.
22449 Added prototypes for state change function for next merge.
22450 Removed iterate from bins and state change management.
22451 Fixed some elements, disabled others for now.
22452 Fixed -inspect and -launch.
22453 Added check for GstBus.
22455 2005-03-10 Wim Taymans <wim@fluendo.com>
22457 * docs/design/part-MT-refcounting.txt:
22458 * docs/design/part-clocks.txt:
22459 * docs/design/part-gstelement.txt:
22460 * docs/design/part-gstobject.txt:
22461 * docs/design/part-standards.txt:
22462 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22463 (gst_bin_remove_func), (gst_bin_remove):
22467 * testsuite/clock/clock1.c: (main):
22468 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22470 * testsuite/dlopen/loadgst.c: (do_test):
22471 * testsuite/refcounting/bin.c: (add_remove_test1),
22472 (add_remove_test2), (main):
22473 * testsuite/refcounting/element.c: (main):
22474 * testsuite/refcounting/element_pad.c: (main):
22475 * testsuite/refcounting/pad.c: (main):
22476 * tools/gst-launch.c: (sigint_handler_sighandler):
22477 * tools/gst-typefind.c: (main):
22479 Added doc about clock.
22480 removed gst_bin_iterate_recurse_up(), marked methods
22482 Fix more testsuites.
22484 2005-03-09 Wim Taymans <wim@fluendo.com>
22486 * gst/gstpad.c: (gst_pad_get_direction),
22487 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22488 (gst_pad_collect_valist):
22489 * testsuite/bins/interface.c: (main):
22490 * testsuite/caps/audioscale.c: (test_caps):
22491 * testsuite/caps/caps.c: (test1), (test2), (test3):
22492 * testsuite/caps/deserialize.c: (main):
22493 * testsuite/caps/enumcaps.c: (main):
22494 * testsuite/caps/filtercaps.c: (main):
22495 * testsuite/caps/intersect2.c: (main):
22496 * testsuite/caps/random.c: (main):
22497 * testsuite/caps/renegotiate.c: (my_fixate), (main):
22498 * testsuite/caps/sets.c: (check_caps):
22499 * testsuite/caps/simplify.c: (check_caps), (main):
22500 * testsuite/caps/subtract.c: (check_caps):
22501 Fix _pad_get_direction wrt ghostpads.
22502 Fix caps testsuite.
22504 2005-03-09 Wim Taymans <wim@fluendo.com>
22506 * check/Makefile.am:
22507 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22508 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22509 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22510 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22511 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22512 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22513 (gst_bin_remove), (gst_bin_iterate_recurse_up),
22514 (bin_element_is_sink), (gst_bin_iterate_sinks),
22515 (gst_bin_iterate_all_by_interface):
22517 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22518 (gst_element_change_state), (gst_element_dispose),
22519 (gst_element_finalize), (gst_element_set_loop_function):
22520 * gst/gstelement.h:
22521 * gst/gstiterator.c: (find_custom_fold_func):
22522 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22523 (gst_pad_collectv), (gst_pad_collect_valist),
22524 (gst_pad_template_new):
22525 * gst/gstpipeline.c: (gst_pipeline_class_init),
22526 (gst_pipeline_dispose), (gst_pipeline_set_property),
22527 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22528 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22529 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22531 * gst/schedulers/entryscheduler.c:
22532 * gst/schedulers/gstbasicscheduler.c:
22533 (gst_basic_scheduler_cothreaded_chain),
22534 (gst_basic_scheduler_chain_add_element):
22535 * testsuite/bins/interface.c: (main):
22537 Added GstSystemClock test.
22538 Implemented clock distribution code in GstBin.
22539 Implemented iterate sinks method for future use.
22540 Rearranged gstelement.h
22541 Fix GstIterator comparison bug.
22542 Moved some code to GstPipeline, mostly clocking related.
22544 2005-03-09 Wim Taymans <wim@fluendo.com>
22547 * gst/gst_private.h:
22548 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22549 (gst_bin_remove_func), (gst_bin_remove),
22550 (gst_bin_get_by_name_recurse_up):
22551 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22552 (gst_clock_id_compare_func), (gst_clock_id_wait),
22553 (gst_clock_id_wait_async), (gst_clock_init),
22554 (gst_clock_adjust_unlocked), (gst_clock_get_time):
22555 * gst/gstelement.h:
22556 * gst/gstinfo.c: (_gst_debug_init):
22558 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22559 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22561 Bump version number, we're now 0.9.0
22562 Add future debugging category.
22563 Fix NULL _unref() in _get_by_name_recurse_up
22564 Rearrange gstpad.h.
22567 2005-03-08 Wim Taymans <wim@fluendo.com>
22569 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22570 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22571 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22572 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22573 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22574 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22575 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22576 * gst/elements/gstidentity.c: (gst_identity_class_init):
22577 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22578 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22579 * gst/elements/gstshaper.c: (gst_shaper_class_init):
22580 * gst/elements/gststatistics.c: (gst_statistics_class_init):
22581 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22583 * gst/gstelement.c: (gst_element_class_init),
22584 (gst_element_base_class_init), (gst_element_init),
22585 (gst_element_get_random_pad), (gst_element_wait_state_change),
22586 (gst_element_change_state), (gst_element_dispose),
22587 (gst_element_finalize), (gst_element_set_loop_function):
22588 * gst/gstelement.h:
22589 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22590 * gst/gstthread.c: (gst_thread_class_init),
22591 (gst_thread_release_children_locks), (gst_thread_change_state):
22592 * gst/schedulers/gstbasicscheduler.c:
22593 (gst_basic_scheduler_loopfunc_wrapper),
22594 (gst_basic_scheduler_chain_wrapper),
22595 (gst_basic_scheduler_src_wrapper),
22596 (gst_basic_scheduler_remove_element):
22597 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22598 Remove threadsafe properties. Fix elements because GObject
22599 complains when installing a property before declaring a
22600 set/get_property handler.
22601 Rearrange gstelement.h file, use STATE macros for state locks.
22602 Free mutexes in the finalize method instead of dispose.
22604 2005-03-08 Wim Taymans <wim@fluendo.com>
22606 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22607 * gst/gstthread.c: (gst_thread_release_children_locks):
22608 Added parentage check.
22609 Fix build og GstThread again.
22611 2005-03-08 Wim Taymans <wim@fluendo.com>
22613 * docs/design/part-MT-refcounting.txt:
22614 * docs/design/part-conventions.txt:
22615 * docs/design/part-gstobject.txt:
22616 * docs/design/part-relations.txt:
22617 * docs/design/part-standards.txt:
22618 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22619 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22620 (gst_bin_get_by_name), (gst_bin_get_by_interface),
22621 (gst_bin_iterate_all_by_interface):
22624 * gst/gstelement.c: (gst_element_class_init),
22625 (gst_element_change_state), (gst_element_set_loop_function):
22626 * gst/gstelement.h:
22627 * gst/gstiterator.c:
22628 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22629 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22630 (gst_object_dispatch_properties_changed), (gst_object_set_name),
22631 (gst_object_set_parent), (gst_object_unparent),
22632 (gst_object_check_uniqueness):
22634 Docs updates, clean up some headers.
22636 2005-03-07 Wim Taymans <wim@fluendo.com>
22638 * check/.cvsignore:
22639 * check/Makefile.am:
22640 * check/gst-libs/.cvsignore:
22641 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22642 * check/gst/.cvsignore:
22643 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22644 (START_TEST), (gstbus_suite), (main):
22645 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22646 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22647 (gst_data_suite), (main):
22648 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22649 (add_fold_func), (gstiterator_suite), (main):
22650 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22651 (thread_name_object), (thread_name_object_default),
22652 (gst_object_name_compare), (gst_object_suite), (main):
22653 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22654 (gst_pad_suite), (main):
22655 * check/gstcheck.c: (gst_check_log_message_func),
22656 (gst_check_log_critical_func), (gst_check_init):
22657 * check/gstcheck.h:
22658 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22659 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22662 2005-03-07 Wim Taymans <wim@fluendo.com>
22664 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22665 (gst_list_iterator_next), (gst_list_iterator_resync),
22666 (gst_list_iterator_free), (gst_iterator_new_list),
22667 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22668 (gst_iterator_free), (gst_iterator_push), (filter_next),
22669 (filter_resync), (filter_uninit), (filter_free),
22670 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22671 (gst_iterator_foreach), (find_custom_fold_func),
22672 (gst_iterator_find_custom):
22673 * gst/gstiterator.h:
22674 Added missing files.
22676 2005-03-07 Wim Taymans <wim@fluendo.com>
22680 * docs/design/part-MT-refcounting.txt:
22681 * docs/design/part-conventions.txt:
22682 * docs/design/part-gstobject.txt:
22683 * docs/design/part-relations.txt:
22684 * examples/mixer/mixer.c: (main):
22685 * examples/thread/thread.c: (eos), (main):
22687 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22688 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22689 (gst_spider_plug_from_srcpad):
22690 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22691 (gst_spider_identity_change_state),
22692 (gst_spider_identity_sink_loop_type_finding):
22693 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22694 * gst/elements/gstidentity.c: (gst_identity_init):
22695 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22696 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22697 * gst/elements/gsttypefindelement.c: (free_entry):
22700 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22701 (gst_bin_set_clock_func), (gst_bin_auto_clock),
22702 (gst_bin_set_index), (gst_bin_set_element_sched),
22703 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22704 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22705 (gst_bin_iterate_elements), (iterate_child_recurse),
22706 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22707 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22708 (compare_interface), (gst_bin_get_by_interface),
22709 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22711 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22712 (gst_buffer_default_free), (gst_buffer_default_copy),
22713 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22714 (gst_buffer_create_sub):
22716 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22717 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22718 (gst_caps_unref), (gst_static_caps_get),
22719 (gst_caps_remove_and_get_structure), (gst_caps_append),
22720 (gst_caps_append_structure), (gst_caps_remove_structure),
22721 (gst_caps_copy_nth), (gst_caps_set_simple),
22722 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22723 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22724 (gst_caps_structure_intersect_field), (gst_caps_intersect),
22725 (gst_caps_structure_subtract_field), (gst_caps_subtract),
22726 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22727 (gst_caps_structure_figure_out_union),
22728 (gst_caps_switch_structures), (gst_caps_do_simplify),
22729 (gst_caps_replace), (gst_caps_from_string),
22730 (gst_caps_copy_conditional):
22732 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22733 (_gst_clock_id_free), (gst_clock_id_unref),
22734 (gst_clock_id_compare_func), (gst_clock_id_wait),
22735 (gst_clock_id_wait_async), (gst_clock_class_init),
22736 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22737 (gst_clock_get_time), (gst_clock_set_time_adjust),
22738 (gst_clock_set_property), (gst_clock_get_property):
22741 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22742 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22744 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22745 (gst_element_requires_clock), (gst_element_provides_clock),
22746 (gst_element_set_clock), (gst_element_clock_wait),
22747 (gst_element_wait), (gst_element_set_time_delay),
22748 (gst_element_is_indexable), (gst_element_add_pad),
22749 (gst_element_add_ghost_pad), (gst_element_remove_pad),
22750 (pad_compare_name), (gst_element_get_static_pad),
22751 (gst_element_request_pad), (gst_element_get_request_pad),
22752 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22753 (gst_element_class_get_pad_template_list),
22754 (gst_element_class_get_pad_template), (gst_element_error_func),
22755 (gst_element_get_random_pad), (gst_element_get_event_masks),
22756 (gst_element_send_event), (gst_element_seek),
22757 (gst_element_get_query_types), (gst_element_query),
22758 (gst_element_get_formats), (gst_element_convert),
22759 (gst_element_is_locked_state), (gst_element_set_locked_state),
22760 (gst_element_sync_state_with_parent), (gst_element_change_state),
22761 (gst_element_finalize), (gst_element_yield),
22762 (gst_element_interrupt), (gst_element_set_scheduler),
22763 (gst_element_get_scheduler), (gst_element_set_loop_function):
22764 * gst/gstelement.h:
22766 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22767 (gst_format_get_by_nick), (gst_format_get_details),
22768 (gst_format_iterate_definitions):
22770 * gst/gstindex.c: (gst_index_gtype_resolver):
22773 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22774 (gst_mem_chunk_free):
22775 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22776 (gst_object_ref), (gst_object_unref), (gst_object_sink),
22777 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22778 (gst_object_dispatch_properties_changed),
22779 (gst_object_set_name_default), (gst_object_set_name),
22780 (gst_object_get_name), (gst_object_set_name_prefix),
22781 (gst_object_get_name_prefix), (gst_object_set_parent),
22782 (gst_object_get_parent), (gst_object_unparent),
22783 (gst_object_check_uniqueness), (gst_object_save_thyself),
22784 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22785 (gst_object_set_property), (gst_object_get_property),
22786 (gst_object_get_path_string):
22788 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22789 (gst_real_pad_init), (gst_real_pad_get_property),
22790 (gst_pad_custom_new), (gst_pad_get_direction),
22791 (gst_pad_set_active), (gst_pad_is_active),
22792 (gst_pad_set_event_function), (gst_pad_is_linked),
22793 (gst_pad_link_free), (gst_pad_link_intersect),
22794 (gst_pad_link_fixate), (gst_pad_set_caps),
22795 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22796 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22797 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22798 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22799 (gst_pad_get_caps), (gst_pad_peer_get_caps),
22800 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22801 (gst_pad_realize), (gst_pad_get_allowed_caps),
22802 (gst_real_pad_dispose), (gst_real_pad_finalize),
22803 (gst_pad_collectv), (gst_pad_collect_valist),
22804 (gst_pad_template_dispose), (gst_pad_template_new),
22805 (gst_pad_get_internal_links):
22807 * gst/gstpipeline.c: (gst_pipeline_dispose),
22808 (gst_pipeline_change_state):
22809 * gst/gstpipeline.h:
22811 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22812 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22813 * gst/gstpluginfeature.h:
22814 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22815 * gst/gstquery.c: (_gst_query_type_initialize),
22816 (gst_query_type_register), (gst_query_type_get_by_nick),
22817 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22819 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22820 * gst/gstscheduler.c: (gst_scheduler_add_element),
22821 (gst_scheduler_factory_create):
22822 * gst/gststructure.c: (gst_structure_set_parent_refcount),
22823 (gst_structure_free), (gst_structure_set_name),
22824 (gst_structure_id_set_value), (gst_structure_set_value),
22825 (gst_structure_set_valist), (gst_structure_remove_field),
22826 (gst_structure_remove_fields),
22827 (gst_structure_remove_fields_valist),
22828 (gst_structure_remove_all_fields), (gst_structure_foreach),
22829 (gst_structure_map_in_place),
22830 (gst_caps_structure_fixate_field_nearest_int),
22831 (gst_caps_structure_fixate_field_nearest_double):
22832 * gst/gststructure.h:
22833 * gst/gstsystemclock.c: (gst_system_clock_class_init),
22834 (gst_system_clock_init), (gst_system_clock_dispose),
22835 (gst_system_clock_async_thread),
22836 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22837 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
22838 * gst/gstsystemclock.h:
22839 * gst/gsttag.c: (gst_tag_list_add_value_internal),
22840 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
22841 * gst/gsttaginterface.c:
22842 * gst/gstthread.c: (gst_thread_dispose),
22843 (gst_thread_release_children_locks), (gst_thread_change_state),
22844 (gst_thread_main_loop):
22845 * gst/gsttrashstack.h:
22846 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
22848 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22849 (gst_element_request_pad), (gst_element_get_pad_from_template),
22850 (gst_element_request_compatible_pad),
22851 (gst_element_get_compatible_pad_filtered),
22852 (gst_element_get_compatible_pad), (gst_element_state_get_name),
22853 (gst_element_link_pads_filtered), (gst_element_link_filtered),
22854 (gst_element_link_many), (gst_element_link),
22855 (gst_element_link_pads), (gst_element_unlink_pads),
22856 (gst_element_unlink_many), (gst_element_unlink),
22857 (gst_pad_can_link_filtered), (gst_pad_can_link),
22858 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
22859 (gst_object_default_error), (gst_bin_add_many),
22860 (gst_bin_remove_many), (gst_element_populate_std_props),
22861 (gst_element_class_install_std_props), (gst_buffer_merge),
22862 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
22863 (link_fold_func), (gst_pad_proxy_setcaps):
22865 * gst/gstvalue.c: (gst_value_deserialize_string):
22866 * gst/parse/grammar.y:
22867 * gst/schedulers/gstbasicscheduler.c:
22868 (gst_basic_scheduler_cothreaded_chain),
22869 (gst_basic_scheduler_chain_recursive_add),
22870 (gst_basic_scheduler_pad_link):
22871 * gst/schedulers/gstoptimalscheduler.c:
22872 (get_group_schedule_function),
22873 (gst_opt_scheduler_state_transition),
22874 (gst_opt_scheduler_add_element), (element_get_reachables_func):
22875 * libs/gst/bytestream/bytestream.c:
22876 * libs/gst/dataprotocol/dataprotocol.c:
22877 (gst_dp_header_from_buffer):
22880 * tests/threadstate/threadstate2.c: (eos):
22881 * tools/gst-compprep.c: (main):
22882 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
22883 (print_pad_info), (print_children_info):
22884 * tools/gst-launch.c: (idle_func), (main):
22885 * tools/gst-md5sum.c: (idle_func), (main):
22886 * tools/gst-xmlinspect.c: (print_element_info):
22887 First THREADED backport attempt, focusing on adding locks and
22888 making sure the API is threadsafe. Needs more work. More docs
22891 2005-02-24 Andy Wingo <wingo@pobox.com>
22893 * tests/bench-complexity.scm:
22894 * tests/complexity.gnuplot: New files, good for running complexity
22897 * tests/Makefile.am:
22898 * tests/complexity.c: New test, sets up N elements, at each level
22899 teeing into M streams per element. Eeeenteresting.
22901 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
22902 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
22903 running bench-mass_elements.scm.
22905 * tests/bench-mass_elements.scm: New script, runs mass_elements
22906 for various numbers of identities, outputting the results to a
22907 file. Requires guile 1.6. Just for testing.
22909 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
22911 * gst/schedulers/fairscheduler.c:
22912 compile with debug disabled
22914 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
22917 hunting season on 0.9 is now OPEN