1 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3 * docs/libs/gstreamer-libs-sections.txt:
4 Remove bogus addition for API I didn't end up keeping.
6 * libs/gst/base/gstbasesrc.h:
7 Mention Since: 0.10.13 in the documentation.
9 Add the API keyword to the previous ChangeLog entry.
11 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
13 * docs/libs/gstreamer-libs-sections.txt:
14 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15 (gst_base_src_default_prepare_seek_segment),
16 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
17 * libs/gst/base/gstbasesrc.h:
18 Allow basesrc derived classes to execute seeks in other formats
19 by providing a prepare_seek_segment vmethod. Sub-classes can choose
20 to prepare the GstSegment in any format that their perform_seek method
21 will be able to understand. The default implementation provides the
22 old behaviour of attempting to convert the seek offsets to the
23 configured native format.
25 API: basesrc::prepare_seek_segment vmethod.
27 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
29 * gst/gstelement.c: (gst_element_get_state_func):
30 Don't output the same debug statement twice.
32 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
33 (gst_adapter_peek), (gst_adapter_take_buffer):
34 Optimise the case where we have buffers at the head of the queue that
35 can be joined quickly (because they're contiguous sub-buffers) by
36 merging them together rather than copying data out into new memory.
38 * gst/parse/grammar.y:
39 * tests/check/pipelines/parse-launch.c:
40 Fix a leak in an error path for parse_launch, and add a check
41 for it to the testsuite.
43 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
45 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
46 Don't deadlock when releasing a pad - gst_pad_set_active may try
47 and take the multiqueue lock too.
49 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
51 * gst/gsterror.c: (_gst_core_errors_init):
53 API: add GST_CORE_ERROR_DISABLED (#392804).
55 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
57 * docs/faq/gst-uninstalled:
58 don't get empty paths on the PATH variables
59 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
60 Don't format for the uncommon terminal width of 84 characters.
62 2007-04-06 Wim Taymans <wim@fluendo.com>
64 * gst/gstpipeline.c: (reset_stream_time),
65 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
66 Only try to select a different pipeline clock when we went back to
67 PAUSED and not when we merely got flushed.
69 2007-04-05 Michael Smith <msmith@fluendo.com>
71 * tools/gst-launch.1.in:
72 fractions are better supported in gstreamer than ractions, so
75 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
77 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
81 Added Danish translation.
83 2007-04-05 Wim Taymans <wim@fluendo.com>
85 * libs/gst/base/gstbasesink.c:
86 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
87 Fix leak caused when refusing newsegment after EOS.
89 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
90 (gst_fake_sink_init), (gst_fake_sink_set_property),
91 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
92 (gst_fake_sink_render), (gst_fake_sink_change_state):
93 * plugins/elements/gstfakesink.h:
94 Add num-buffers property to make the element generate EOS after a
95 configurable amount of buffers.
96 API: fakesink::num-buffers property.
98 * tests/check/elements/fakesink.c: (GST_START_TEST),
100 Fix GstBus leak in test.
101 Test for fakesink num-buffers.
103 2007-04-05 Wim Taymans <wim@fluendo.com>
105 * libs/gst/base/gstbasesink.c:
106 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
107 (gst_base_sink_change_state):
108 Don't accept anything after an EOS, return UNEXPECTED instead.
110 * tests/check/elements/fakesink.c: (GST_START_TEST),
112 Unit test for new EOS behaviour.
114 2007-04-05 Wim Taymans <wim@fluendo.com>
116 * gst/gstelement.c: (gst_element_get_request_pad):
117 Make padtemplates also work when they don't contain %s or %d.
119 2007-04-05 Wim Taymans <wim@fluendo.com>
121 * docs/gst/gstreamer-sections.txt:
122 * gst/gstclock.c: (gst_clock_adjust_unlocked),
123 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
125 Improve _adjust_unlocked() so that it overflows less.
126 Add gst_clock_unadjust_unlocked to convert from external time to
127 internal time based on calibration.
129 API: GstClock::gst_clock_unadjust_unlocked()
131 2007-04-03 Wim Taymans <wim@fluendo.com>
133 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
135 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
136 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
137 when releasing sink pad. Fixes #425400.
139 2007-04-02 Stefan Kost <ensonic@users.sf.net>
141 * docs/random/ensonic/dynlink.txt:
142 More work on proposal for new core api.
144 * docs/libs/gstreamer-libs-sections.txt:
145 * libs/gst/base/gstbasetransform.h:
146 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
148 * libs/gst/controller/gstcontroller.c:
149 (on_object_controlled_property_changed),
150 (gst_controller_sync_values),
151 (gst_controller_set_interpolation_mode):
152 * libs/gst/controller/gstcontroller.h:
153 Less verbose logging add docs for unimplemented parts and correctly
154 return when using unavailable parts.
156 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
158 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
159 Move all the debug to the CLOCK category, and associate it with
162 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
164 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
165 Make take_buffer a bit quicker by removing redundant checks
166 caused by calling gst_adapter_take.
168 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
170 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
173 * tests/check/Makefile.am:
174 * tests/check/elements/.cvsignore:
175 * tests/check/elements/multiqueue.c: (setup_multiqueue),
176 (GST_START_TEST), (multiqueue_suite):
177 Add some dead simple unit tests for the 'multiqueue' element
178 (some bits don't work yet and are disabled for now).
180 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
182 * gst/gstelement.c: (gst_element_get_request_pad),
183 (gst_element_class_get_request_pad_template):
184 Make gst_element_get_request_pad() create request pads only for
185 request pad templates and not for, say, sometimes pad templates.
187 2007-03-28 Stefan Kost <ensonic@users.sf.net>
189 * docs/design/draft-klass.txt:
190 Add example that needs more thinking.
192 * docs/design/draft-missing-plugins.txt:
193 More thoughts about wrapper plugins.
195 * docs/random/ensonic/embedded.txt:
196 * docs/random/ensonic/profiling.txt:
199 2007-03-25 Wim Taymans <wim@fluendo.com>
201 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
203 Only push the segment events in the PLAYING state for live sources.
205 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
207 * gst/gstpipeline.c: (gst_pipeline_change_state):
208 Modify the clock distribution path in PAUSED->PLAYING so that we
209 never attempt to choose a new clock unless we're actually leaving
210 the PAUSED state for the first time. This prevents choosing a
211 different clock when the state_change gets called for a 2nd time due
212 to some element doing an async state change.
214 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
216 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
217 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
218 (gst_pad_chain_unchecked), (gst_pad_push):
219 Revert last commit. This needs some more thoughts.
221 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
223 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
224 (gst_pad_chain_unchecked), (gst_pad_push):
225 Check in set_caps if the caps are compatible with the pad and remove
226 two functions that are redundant now. Fixes #421543.
228 2007-03-22 Wim Taymans <wim@fluendo.com>
230 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
231 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
232 Unref some more to make valgrind happy.
234 2007-03-22 Wim Taymans <wim@fluendo.com>
236 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
237 (gst_system_clock_id_wait_jitter),
238 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
239 Fix anoying regression that survived a few releases. When adding an
240 async entry while blocking on a sync entry, the sync entry will unblock
241 but still be busy, so it should continue to wait instead of returning
243 Add some comments here and there.
245 * tests/check/gst/gstsystemclock.c: (mixed_thread),
246 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
247 Add testcase for this.
249 2007-03-22 Wim Taymans <wim@fluendo.com>
251 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
252 Handle errors from the clock sync better, only UNSCHEDULED indicates a
253 WRONG_STATE and can silently pause the task. All other cases should
256 2007-03-22 Wim Taymans <wim@fluendo.com>
258 Patch by: <syrjala at sci dot fi>
260 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
261 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
264 2007-03-21 Michael Smith <msmith@fluendo.com>
266 * docs/pwg/advanced-types.xml:
267 Fix some errors in the typefinding docs pointed out on irc.
269 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
271 * libs/gst/base/gstbasesrc.c:
272 Clarify FIXME comment in the face of having added unlock_stop()
274 2007-03-21 Wim Taymans <wim@fluendo.com>
276 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
277 Prepare for release where we warn against possible app breakage in the
278 case of live pipelines along with an env var to enable/disable live
279 preroll mode (GST_COMPAT=[no-]live-preroll).
281 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
283 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
284 So we should use correct constants for checking for None offset.
286 2007-03-20 Wim Taymans <wim@fluendo.com>
288 * docs/design/part-block.txt:
289 Mention the fact that the newly switched element should be set to at
292 2007-03-20 Wim Taymans <wim@fluendo.com>
295 Fix compilation with registry disabled as spotted by Saur.
297 2007-03-20 Wim Taymans <wim@fluendo.com>
299 Patch by: Olivier Crete <tester at tester dot ca>
301 * gst/gstelement.c: (gst_element_sync_state_with_parent):
302 Look at the pending state too when syncing the element state to the
303 parent. Fixes #420133.
305 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
307 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
308 (gst_base_sink_change_state):
309 * libs/gst/base/gstbasesink.h:
310 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
311 (gst_base_src_default_event), (gst_base_src_unlock_stop),
312 (gst_base_src_deactivate):
313 * libs/gst/base/gstbasesrc.h:
314 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
315 for sub-classes to correctly clear any state they set trying to
316 unlock, such as clearing out unlock commands from a command fd.
318 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
319 (gst_fd_sink_render), (gst_fd_sink_unlock),
320 (gst_fd_sink_unlock_stop):
321 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
322 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
323 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
325 Implement unlock_stop in fdsrc and fdsink.
326 Implement seeking in fdsrc when a seekable fd is passed, as in
327 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
329 2007-03-19 Wim Taymans <wim@fluendo.com>
331 Patch by: Evan Nemerson <evan at coeus dash group dot com>
333 * gst/gstelement.c: (gst_element_class_init):
334 Fix pad-added and pad-removed signal signatures so that the pad type is
335 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
337 2007-03-19 Wim Taymans <wim@fluendo.com>
339 * docs/gst/gstreamer-sections.txt:
340 Add new element field and method.
342 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
343 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
344 (gst_bin_recalc_state), (gst_bin_get_state_func),
345 (gst_bin_element_set_state), (gst_bin_change_state_func),
346 (gst_bin_continue_func), (bin_bus_handler),
347 (bin_push_state_continue), (bin_handle_async_start),
348 (bin_handle_async_done), (gst_bin_handle_message_func):
349 Make async state changes a bit smarter by using new ASYNC_START and
350 ASYNC_DONE messages. This reduces the number of times we run the state
351 recalculation thread.
352 Don't change state of element with a pending ASYNC_START message.
353 Deprecate STATE_DIRTY messages.
355 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
356 (gst_element_get_state_func), (gst_element_continue_state),
357 (gst_element_lost_state), (gst_element_set_state_func),
358 (gst_element_change_state):
360 Keep the state that was last set by the app in a new element field.
361 Don't allow state changes when handling an element event.
362 Post ASYNC_START and ASYNC_DONE messages.
363 Change lost_state so that we go to PAUSED and wait for the parent to set
364 us to PLAYING again (so latency calculation can be performed)
365 Export gst_element_change_state() method so that subclasses can use it.
366 API: gst_element_change_state()
367 API: GST_STATE_TARGET
369 * gst/gstpipeline.c: (gst_pipeline_class_init),
370 (reset_stream_time), (gst_pipeline_change_state),
371 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
372 Using the new ASYNC_START message we can reset the base_time when
373 needed. This can then be used to implement base_time redistribution in
374 flushing seeks so that we can remove the explicit seek handling.
375 Perform latency query and configuration when going to PLAYING.
377 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
378 (gst_base_sink_query), (gst_base_sink_change_state):
379 Post new ASYNC_START/ASYNC_DONE messages.
381 * tests/check/generic/sinks.c: (GST_START_TEST):
382 Fix test because the bin will not set the async element to PLAYING right
385 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
386 Make the message check a little stronger.
387 Handle ASYNC messages.
389 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
390 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
391 Expect ASYNC_DONE messages.
393 2007-03-19 Wim Taymans <wim@fluendo.com>
395 * docs/gst/gstreamer-sections.txt:
396 * gst/gstmessage.c: (gst_message_new_async_start),
397 (gst_message_new_async_done), (gst_message_parse_info),
398 (gst_message_parse_async_start):
400 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
403 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
405 * tools/gst-inspect.c:
406 (print_plugin_automatic_install_info_codecs):
407 Now that we don't check for the 'Codec' keyword any longer in the
408 klass, we shouldn't spew a warning if the klass isn't a decoder or
409 encoder (since it might be a Source/Network, for example).
411 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
413 * tools/gst-inspect.c:
414 (print_plugin_automatic_install_info_codecs):
415 Don't require decoder/demuxer/depayloader elements or
416 encoder/muxer/paylader elements to have 'Codec' as part of their
417 factory class string when introspecting a plugin's capabilities.
418 draft-klass.txt mentions that it might be removed in future, and
419 flump3dec doesn't have it as part of its class string, so chances
420 are others might also not have it.
422 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
444 Update translations from translation project
446 2007-03-14 Stefan Kost <ensonic@users.sf.net>
448 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
449 (gst_child_proxy_set_property):
450 Invert precondition check to be alike the ones in the mimiced gobject
453 2007-03-13 Stefan Kost <ensonic@users.sf.net>
455 * docs/design/draft-tagreading.txt:
456 * docs/random/ensonic/audiobaseclasses.txt:
457 Do some Architect work.
459 * gst/gstobject.c: (gst_object_set_name):
463 Add docs that point from gst_pad_get_range to gst_pad_pull_range
465 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
467 * gst/gstsystemclock.c: (gst_system_clock_init),
468 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
469 Defer starting the async system clock thread until the first async
470 wait is scheduled. Fixes #414986.
472 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
474 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
475 (gst_single_queue_free):
476 Fix small leak (free GstSingleQueue structure too, not only contents).
478 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
480 * gst/gstbin.c:(gst_bin_add):
481 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
482 * win32/common/libgstbase.def:
483 * win32/common/libgstreamer.def:
484 Add new exported functions.
486 2007-03-09 Wim Taymans <wim@fluendo.com>
488 * docs/plugins/gstreamer-plugins-sections.txt:
491 2007-03-09 Wim Taymans <wim@fluendo.com>
493 * docs/gst/gstreamer-sections.txt:
494 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
496 Add metadata copy functions. Fixes #393099.
498 * gst/gstutils.c: (gst_buffer_stamp):
499 * libs/gst/base/gstbasetransform.c:
500 (gst_base_transform_prepare_output_buffer):
501 Use new metadata copy functions.
503 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
505 * plugins/elements/gstidentity.c: (gst_identity_class_init),
506 (gst_identity_init), (gst_identity_check_perfect),
507 (gst_identity_check_imperfect_timestamp),
508 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
509 (gst_identity_set_property), (gst_identity_get_property):
510 * plugins/elements/gstidentity.h:
511 Separate out check-imperfect-timestamp and check-imperfect-offset.
512 Put back check-perfect as it was to keep compatibility.
514 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
516 * gst/gstelement.c: (gst_element_dispose):
517 There's no need to warn if VOID_PENDING is not NONE here, as
518 long as the state is NULL it's ok, and that's checked immediately
521 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
523 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
524 Fix check for perfect stream to ignore buffers with -1
525 offsets/offset ends when checking data contiguity.
527 2007-03-08 Wim Taymans <wim@fluendo.com>
529 * tools/gst-launch.c: (event_loop):
532 2007-03-08 Wim Taymans <wim@fluendo.com>
534 * libs/gst/base/gstbasetransform.c:
535 (gst_base_transform_sink_eventfunc),
536 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
537 (gst_base_transform_activate):
538 * libs/gst/base/gstbasetransform.h:
539 Add support for dropping buffers with custom GstFlowReturn.
540 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
541 buffers or dropped buffers.
543 * docs/libs/gstreamer-libs-sections.txt:
544 docs for new custom return code.
546 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
547 Use drop support in base class to implement drop-probability.
549 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
551 * gst/gst.c: (load_plugin_func):
552 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
553 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
554 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
555 Remove newlines at end of debug log strings.
557 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
559 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
560 Only post bus message at max, once per buffer received.
562 2007-03-07 Wim Taymans <wim@fluendo.com>
564 * docs/design/Makefile.am:
565 * docs/design/part-synchronisation.txt:
566 Add doc about synchronisation
568 * docs/design/draft-latency.txt:
569 * docs/design/part-TODO.txt:
570 * docs/design/part-clocks.txt:
571 * docs/design/part-events.txt:
572 * docs/design/part-gstbus.txt:
573 * docs/design/part-gstpipeline.txt:
574 * docs/design/part-live-source.txt:
575 * docs/design/part-messages.txt:
576 * docs/design/part-overview.txt:
577 * docs/design/part-streams.txt:
578 * docs/design/part-trickmodes.txt:
579 Documentation updates.
581 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
584 Update the doap file.
586 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
588 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
589 Rename non-perfect to imperfect for Mike and for the sanctity of the
591 Also make sure bus message gets emitted for data-incontiguities.
593 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
595 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
596 (gst_identity_start):
597 * plugins/elements/gstidentity.h:
598 Emit bus message if check-perfect is true and we encounter a
599 non-perfect stream between 2 consecutive buffers.
602 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
607 === release 0.10.12 ===
609 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
612 releasing 0.10.12, "Inevitable Demise"
614 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
617 Version 0.10.11.2 (0.10.12 pre-release)
618 Bump libtool versioning.
620 2007-03-01 Stefan Kost <ensonic@users.sf.net>
622 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
623 Log flow-names and not numbers.
625 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
628 Convert to new AG_GST style.
630 2007-02-28 Wim Taymans <wim@fluendo.com>
632 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
633 Don't unref query twice.
635 2007-02-28 Wim Taymans <wim@fluendo.com>
637 * gst/gstvalue.c: (gst_value_transform_object_string),
638 (_gst_value_initialize):
639 Implement GstObject -> string transform so we print object names
640 when serializing GValues containing GstObjects.
642 2007-02-28 Wim Taymans <wim@fluendo.com>
644 * docs/gst/gstreamer-sections.txt:
645 Add new stuff to docs.
647 2007-02-28 Wim Taymans <wim@fluendo.com>
649 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
650 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
651 (gst_base_sink_change_state):
652 Improve latency query code.
653 Don't leak latency events.
655 * tests/check/gst/gstbin.c: (GST_START_TEST):
658 2007-02-28 Wim Taymans <wim@fluendo.com>
660 * gst/gstelement.c: (gst_element_message_full),
661 (gst_element_get_state_func):
663 Improve docs a little. Added Since: for new macro.
665 * gst/gstobject.c: (gst_object_sink):
666 * gst/gstpipeline.c: (gst_pipeline_change_state),
667 (gst_pipeline_set_new_stream_time):
669 Improve debugging and docs.
671 * gst/gstutils.c: (gst_element_state_change_return_get_name):
674 2007-02-28 Wim Taymans <wim@fluendo.com>
676 * gst/gstelement.c: (gst_element_message_full),
677 (gst_element_set_locked_state), (gst_element_get_state_func),
678 (gst_element_change_state):
679 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
680 Documentation updates.
683 * gst/gstmessage.c: (gst_message_new_info),
684 (gst_message_parse_info):
686 API: gst_message_new_info()
687 API: gst_message_parse_info()
688 Add INFO message create and parse code.
690 2007-02-28 Wim Taymans <wim@fluendo.com>
692 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
693 (bin_query_latency_done):
694 Also report the live parameter of a latency query.
696 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
698 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
699 Copy the current generic/states example from -base and adapt so
700 we can use the exact same code everywhere.
701 Check a STATES_IGNORE_ELEMENTS env var which can be used
702 to ignore certain element factories for this test, which is
703 what is being done in -base
704 * tests/check/Makefile.am:
705 Mention this environment variable.
707 2007-02-27 Wim Taymans <wim@fluendo.com>
709 * docs/gst/gstreamer-sections.txt:
710 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
711 (gst_bus_timed_pop), (gst_bus_pop):
713 API: gst_bus_timed_pop()
714 Implement gst_bus_timed_pop() to do a blocking timed wait for a
715 message to arrive on the bus.
717 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
719 Two unit tests for new _timed_pop() function.
721 2007-02-23 Wim Taymans <wim@fluendo.com>
723 * gst/gstpipeline.c: (gst_pipeline_change_state),
724 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
725 Don't ref a NULL clock in _provide_clock_func().
726 Don't allow an INVALID delay.
727 Don't try to calculate base_time with an invalid start_time.
728 Also distribute and notify a NULL clock when it was selected.
730 * tools/gst-launch.c: (event_loop):
731 Don't crash when a NULL clock was selected in the pipeline.
733 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
735 * docs/design/Makefile.am:
736 * docs/design/draft-missing-plugins.txt:
737 * docs/random/draft-missing-plugins.txt:
738 Some small updates: update plugin system identifier prefix
739 ('gstreamer.net' to 'gstreamer'), mention our new install
740 API in libgstbaseutils rather than libgimme-codec, add
741 reference to the online docs.
743 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
745 * win32/common/config.h:
746 Pretty sure Bill never made a powerpc version. Powerpc hackers,
747 use moap cl ci to only check in what is mentioned in the ChangeLog.
749 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
751 * docs/gst/gstreamer-sections.txt:
753 Fix up documentation to link to the correct GstGError section.
754 Add GST_ELEMENT_INFO macro since someone else added a Info message.
756 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
758 * tools/gst-launch.c: (event_loop):
759 Make sure that we actually show the important message part of a
761 No need to check if the gerror is not NULL to free; first of all
762 g_free accepts NULL; and second the default error handler would
763 segfault if gerror was NULL.
765 2007-02-21 Wim Taymans <wim@fluendo.com>
767 * docs/gst/gstreamer-sections.txt:
768 Removed docs as well.
770 2007-02-21 Wim Taymans <wim@fluendo.com>
772 * gst/gstmessage.c: (gst_message_parse_duration):
774 Remove new messages for release.
776 2007-02-20 Wim Taymans <wim@fluendo.com>
778 * docs/design/part-gstghostpad.txt:
779 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
780 (gst_ghost_pad_new_full):
781 Make the ghostpad a parent of the internal pad again for better backward
782 compatibility. Don't write code that relies on this however.
784 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
785 (gst_pad_link_check_hierarchy):
786 Require that parents should be GstElements in the hierarchy check.
788 2007-02-20 Wim Taymans <wim@fluendo.com>
790 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
791 (gst_bin_change_state_func), (bin_query_min_max_init),
792 (bin_query_latency_fold), (bin_query_latency_done),
795 Implement latency query.
797 2007-02-20 Wim Taymans <wim@fluendo.com>
799 * docs/design/part-gstghostpad.txt:
800 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
801 (gst_ghost_pad_internal_do_activate_push),
802 (gst_ghost_pad_internal_do_activate_pull),
803 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
804 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
805 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
806 Do not set the internal pad as a parent anymore so we can avoid
807 hierarchy linking errors when the ghostpad has no parent yet. This also
808 fixes failed activation because of unlinked internal pads, which in
809 turn fixes the impossible case where you have to activate a pad before
810 you can add it to a running element.
813 * gst/gstpad.c: (pre_activate), (post_activate),
814 (gst_pad_set_active), (gst_pad_activate_pull),
815 (gst_pad_activate_push), (gst_pad_check_pull_range):
816 Add some more debug info.
817 Mark activation mode in pre_activate so that we don't try to activate in
818 endless loops. Fixes #385084.
820 2007-02-19 Wim Taymans <wim@fluendo.com>
822 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
823 (gst_base_transform_check_get_range):
824 Implement a checkgetrange function instead of relying on the default
825 core behaviour that assumes we can operate in pull mode if we have a
826 getrange function. First step at fixing #385084.
828 2007-02-15 Stefan Kost <ensonic@users.sf.net>
830 * gst/gstchildproxy.h:
831 * libs/gst/base/gstbasesink.h:
832 * libs/gst/base/gstbasesrc.h:
833 * libs/gst/base/gstbasetransform.h:
834 More docs coverage and some ChangeLog surgery (add missing names)
836 2007-02-15 Wim Taymans <wim@fluendo.com>
838 * docs/design/part-TODO.txt:
839 * docs/design/part-activation.txt:
840 * docs/design/part-block.txt:
841 * docs/design/part-buffering.txt:
842 * docs/design/part-clocks.txt:
843 * docs/design/part-element-source.txt:
844 * docs/design/part-events.txt:
845 * docs/design/part-gstbin.txt:
846 * docs/design/part-gstbus.txt:
847 * docs/design/part-gstpipeline.txt:
848 * docs/design/part-live-source.txt:
849 * docs/design/part-messages.txt:
850 * docs/design/part-overview.txt:
851 * docs/design/part-qos.txt:
852 * docs/design/part-query.txt:
853 * docs/design/part-states.txt:
854 * docs/design/part-trickmodes.txt:
855 Some doc updates. Start renaming from stream_time to running_time where
858 2007-02-15 Wim Taymans <wim@fluendo.com>
860 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
861 Answer LATENCY query.
863 2007-02-15 Wim Taymans <wim@fluendo.com>
865 * tests/check/gst/gstevent.c: (event_probe), (test_event),
869 2007-02-15 Wim Taymans <wim@fluendo.com>
871 * gst/gstpad.c: (gst_pad_get_internal_links_default),
872 (gst_pad_dispatcher):
873 Improve debugging of default pad dispatcher and query functions.
875 2007-02-15 Wim Taymans <wim@fluendo.com>
877 * docs/gst/gstreamer-sections.txt:
878 Remove old unused method.
880 2007-02-13 Wim Taymans <wim@fluendo.com>
882 * tests/check/gst/gstsegment.c: (GST_START_TEST):
885 2007-02-13 Wim Taymans <wim@fluendo.com>
887 * docs/design/part-seeking.txt:
890 * gst/gstsegment.c: (gst_segment_set_seek):
891 Revert old bogus change that should make seeking work again.
893 2007-02-13 Stefan Kost <ensonic@users.sf.net>
895 * docs/random/ensonic/dynlink.txt:
896 * docs/random/ensonic/interfaces.txt:
897 * docs/random/ensonic/receipies.txt:
898 Possible dynamic reconnection api, plus some type fixes the other two
901 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
903 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
904 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
905 Also check for an absolute path following file:// in the filesrc
906 element. Remove redundant check and call g_path_is_absolute() on the
909 2007-02-13 Stefan Kost <ensonic@users.sf.net>
911 * docs/design/draft-klass.txt:
912 Add existing category analysis.
915 Fix doc example, framerate is a fraction.
917 2007-02-12 Stefan Kost <ensonic@users.sf.net>
920 * docs/gst/Makefile.am:
921 * docs/libs/Makefile.am:
922 * docs/plugins/Makefile.am:
923 Add crossreferences to glib/gobject docs.
925 2007-02-12 Wim Taymans <wim@fluendo.com>
927 * docs/design/draft-latency.txt:
930 * docs/libs/gstreamer-libs-sections.txt:
931 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
932 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
933 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
934 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
935 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
936 (gst_base_sink_get_position), (gst_base_sink_query),
937 (gst_base_sink_change_state):
938 * libs/gst/base/gstbasesink.h:
939 API: gst_base_sink_query_latency() to let subclasses query the upstream
941 API: gst_base_sink_get_latency() to let subclasses query the configured
943 Implement query and set latency.
945 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
946 don't continue preroll when we are flushing. Fixes #405284.
948 * tests/check/pipelines/stress.c: (change_state_timeout),
949 (quit_timeout), (GST_START_TEST), (stress_suite):
952 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
954 Patch by: René Stadler <mail at renestadler de>
956 * docs/gst/gstreamer-sections.txt:
957 * gst/gsttaglist.c: (_gst_tag_initialize):
959 API: add GST_TAG_REFERENCE_LEVEL (#403597).
961 2007-02-11 Stefan Kost <ensonic@users.sf.net>
963 * docs/libs/Makefile.am:
964 Fix path to core docs.
966 * gst/gstbin.c: (gst_bin_get_by_interface),
967 (gst_bin_iterate_all_by_interface):
968 Refix docs by also renaming 'interface' to 'iface' in implementation.
970 * docs/gst/gstreamer-sections.txt:
972 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
973 * gst/gstchildproxy.h:
974 * gst/gstelementfactory.c:
975 * gst/gstpadtemplate.h:
976 * libs/gst/controller/gstcontroller.c:
977 (gst_controlled_property_new):
980 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
982 * gst/gstbin.h:(gst_bin_get_by_interface),
983 (gst_bin_iterate_all_by_interface):
984 Replace interface parameter name by iface as interface is
985 a reserved keyword in Visual Studio for C++ projects so it removes
986 a build error for application developpers using VS.
987 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
988 Fix a bug on Windows in uri format check. Now the prefix checked
989 is file:// and next we check if the path after file:// is absolute.
990 * win32/common/libgstbase.def:
991 * win32/common/libgstdataprotocol.def:
992 * win32/common/libgstgstreamer.def:
993 Add new exported functions.
995 2007-02-09 Andy Wingo <wingo@pobox.com>
997 * tests/check/pipelines/simple-launch-lines.c
998 (simple_launch_lines_suite, test_tee): Disable tee test until I
999 have time to fix it :-(
1001 * tests/check/Makefile.am (noinst_HEADERS):
1002 * tests/check/libs/libsabi.c:
1003 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1004 * tests/check/gst/gstabi.c:
1005 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1007 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1008 tests for push and pull tee behavior.
1010 * plugins/elements/gsttee.h:
1011 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1012 mark as deprecated as well as unimplemented. It was a crack idea.
1013 Add support for tee operating in pull mode, off by default.
1015 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1016 normal-case logs down to LOG, raise errors to WARNING.
1017 (gst_registry_xml_read_cache): Don't log before calling a function
1020 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1021 exit (registry finalize).
1022 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1023 DEBUG log when we emit signals that people don't even have the
1024 chance to connect to.
1025 (gst_registry_scan_path_level): Less logging in the normal case.
1027 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1029 Patch by: Michal Benes <michal dot benes at itonis dot tv>
1031 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1032 Correctly generate EOS for non-seekable files. We don't have a total
1033 length for them and would get an unexpected end of file if we only
1034 special-cased for regular files. (Fixes: #404569)
1036 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1038 * tests/check/elements/filesrc.c: (GST_START_TEST),
1040 Add unit test for the GstURIHandler interface in filesrc. This also
1041 tests the newly added file://localhost/foo/bar support.
1043 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
1045 * gst/gstelementfactory.h:
1046 The klass string is not a hierarchy. Add reference to the design doc
1047 for more information and common types.
1049 2007-02-02 Wim Taymans <wim@fluendo.com>
1051 * gst/gstquery.c: (gst_query_new_latency):
1052 Remove old structure field.
1054 2007-02-02 Stefan Kost <ensonic@users.sf.net>
1056 * tools/gst-launch.1.in:
1057 Give example for network streaming (#351998)
1059 2007-02-02 Wim Taymans <wim@fluendo.com>
1061 * docs/gst/gstreamer-sections.txt:
1062 Add docs for new methods.
1064 * gst/gstevent.c: (gst_event_new_latency),
1065 (gst_event_parse_latency):
1067 Add new LATENCY event to configure latency in a pipeline.
1068 API: gst_event_new_latency
1069 API: gst_event_parse_latency
1071 * gst/gstmessage.c: (gst_message_new_buffering),
1072 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1073 (gst_message_new_latency), (gst_message_parse_buffering),
1074 (gst_message_parse_lost_preroll):
1076 Added messages used in draft-latency.
1077 API: gst_message_new_lost_preroll
1078 API: gst_message_parse_lost_preroll
1079 API: gst_message_new_prerolled
1080 API: gst_message_new_latency
1082 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1083 (gst_query_parse_latency):
1085 Implemented new latency query as in design doc.
1086 API: gst_query_new_latency
1087 API: gst_query_set_latency
1088 API: gst_query_parse_latency
1090 2007-02-02 Wim Taymans <wim@fluendo.com>
1092 * docs/design/draft-latency.txt:
1093 Slight redesign to allow for dynamic latency adjustments.
1095 * docs/design/part-negotiation.txt:
1098 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
1100 reviewed by: Wim Taymans <wim@fluendo.com>
1102 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1103 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1104 Allow file://localhost/foo/bar URLs and correctly fail for every other
1105 hostname that one sets. This was gnomevfssrc is linked for those if
1106 installed as it can handle it (#403172)
1108 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1110 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1112 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1113 (unref_data), (gst_collect_pads_add_pad_full):
1114 * libs/gst/base/gstcollectpads.h:
1115 Don't put the previously added destroy notify in the GstCollectData
1116 struct as all it's padding is already used and we don't want to break
1117 ABI. Instead put in the pad's GObject data for now. This should be
1118 cleaned up for 0.11 (#402393).
1120 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1122 reviewed by: Wim Taymans <wim@fluendo.com>
1124 * docs/libs/gstreamer-libs-sections.txt:
1125 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1126 (unref_data), (gst_collect_pads_add_pad),
1127 (gst_collect_pads_add_pad_full):
1128 * libs/gst/base/gstcollectpads.h:
1129 API: Add function to specify a destroy notification for custom
1130 GstCollectData when adding new pads in GstCollectPads (#402393).
1132 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
1135 Update Swedish translation (#378255).
1137 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1139 * docs/design/draft-klass.txt:
1140 Fix the previous change, this is a list of categories and not a hierarchy.
1142 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1144 * docs/design/draft-klass.txt:
1145 Add info about how to get a list of used classes.
1147 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
1149 * plugins/elements/gsttypefindelement.c:
1150 (gst_type_find_element_chain_do_typefinding),
1151 (gst_type_find_element_change_state):
1152 Don't leak found caps in chain function (no idea why that never
1153 showed up as a leak anywhere).
1155 2007-01-30 Stefan Kost <ensonic@users.sf.net>
1158 Fix and expand GstPluginDesc API docs.
1160 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1163 * gst/gstelementfactory.c:
1164 * gst/gstpadtemplate.h:
1167 * libs/gst/controller/gstcontroller.c:
1168 (gst_controlled_property_new):
1169 * tests/examples/controller/audio-example.c:
1172 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1175 comment about refining the xml deps
1178 comments about moving away from jade for docs
1181 recommit the ifdefs to use the binary registry
1183 * gst/gstbin.c: (gst_bin_change_state_func):
1184 this break is obsolete
1186 * gst/gstelementfactory.h:
1187 better GST_ELEMENT_DETAILS docs, add comment about translation
1192 * gst/gstobject.c: (gst_signal_object_get_type):
1193 add G_UNLIKELY as usual
1195 * gst/gstpad.c: (gst_pad_event_default):
1196 add fall trhu comment
1198 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1199 (gst_registry_binary_initialize_magic),
1200 (gst_registry_binary_save_string),
1201 (gst_registry_binary_save_pad_template),
1202 (gst_registry_binary_save_feature),
1203 (gst_registry_binary_save_plugin),
1204 (gst_registry_binary_write_cache),
1205 (gst_registry_binary_check_magic),
1206 (gst_registry_binary_load_pad_template),
1207 (gst_registry_binary_load_feature),
1208 (gst_registry_binary_load_plugin),
1209 (gst_registry_binary_read_cache):
1210 comment typo and formatting
1212 * gst/gstutils.c: (gst_element_state_get_name),
1213 (gst_element_state_change_return_get_name):
1214 remove obsolete breaks
1216 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1217 add FIXME 0.11 and remove cpp comment
1219 2007-01-29 Edward Hervey <edward@fluendo.com>
1221 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1222 Fix print statement in an even more portable way.
1224 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
1226 * docs/gst/gstreamer-sections.txt:
1228 API: add GST_ROUND_DOWN_* macros (#401781).
1230 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
1232 * docs/gst/gstreamer.types.in:
1233 * gst/gstregistry.c: (gst_registry_class_init):
1234 Document registry signals and make gtk-doc pick them up (#401381).
1236 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1238 * docs/pwg/building-testapp.xml:
1239 Add some audioconverts and audioresample to the pipeline, and some
1240 more comments and error handling.
1242 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1244 * docs/manual/manual.xml:
1248 2007-01-26 Wim Taymans <wim@fluendo.com>
1250 * gst/gstcaps.c: (gst_static_caps_get):
1251 Init caps flags too.
1253 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
1255 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1257 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1258 If not using mmap'ed files try to seek to the end instead of the
1259 start to determine whether we can seek at all. This fixes the case
1260 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1261 seeks for everything afterwards fail. Fixes #400656
1263 2007-01-25 Wim Taymans <wim@fluendo.com>
1265 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1266 Add some refcount debugging.
1267 Make gst_static_caps_get threadsafe, which is needed when autoplugging
1268 in multiple streaming threads.
1270 2007-01-25 Wim Taymans <wim@fluendo.com>
1272 Patch by: David Schleef <ds at schleef dot org>
1274 * docs/libs/gstreamer-libs-sections.txt:
1275 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1276 * libs/gst/base/gstadapter.h:
1277 API: gst_adapter_copy() that can reduce the amount of memcpy when
1278 getting data from the adapter. Fixes #388201.
1280 2007-01-25 Edward Hervey <edward@fluendo.com>
1282 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1283 In print statements, "%x" is for guint. Fixes build on macosx.
1285 2007-01-24 Edward Hervey <edward@fluendo.com>
1287 * plugins/elements/gstmultiqueue.c:
1288 (gst_multi_queue_loop):
1290 (single_queue_overrun_cb), (single_queue_underrun_cb),
1291 (single_queue_check_full), (gst_single_queue_new):
1292 Implement single queue growth system.
1293 This uses the extra-size properties, and will grow single queues by
1294 that much if one goes full whereas there are others empty. This is
1295 called extra-mode in the code.
1296 When a single queue's levels go back below the initial max-size
1297 limits, it is no longer in extra-mode. This is to ensure we don't
1298 consume too much memory.
1301 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
1303 * gst/gst.c: (gst_init_get_option_group):
1304 Make warning about late g_thread_init() calls a bit more explicit,
1305 so that it's more obvious to application developers what they need
1306 to do if a user files a bug against their application.
1308 2007-01-22 Edward Hervey <edward@fluendo.com>
1310 * plugins/elements/gstmultiqueue.c:
1311 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1312 Remove previous hack of unsetting the flushing flag for the source pad
1313 instead of activating it. Instead, fix the source pad activate function
1314 so that it no longer depends on having a parent set or not.
1316 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
1318 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1320 * docs/manual/basics-bus.xml:
1321 Fix example code, gst_element_unref() doesn't exist any longer.
1323 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
1325 Patch by: Mark Nauwelaerts <manauw at skynet be>
1328 Fix two docs typoes (#399094).
1330 2007-01-19 Edward Hervey <edward@fluendo.com>
1332 * docs/faq/gst-uninstalled:
1333 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1334 depending on libgstbaseutils can work in uninstalled environment.
1336 2007-01-18 Stefan Kost <ensonic@users.sf.net>
1339 * gst/gsttagsetter.c:
1340 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1341 statement for new tag.
1343 2007-01-17 Edward Hervey <edward@fluendo.com>
1345 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1346 When dynamically creating single queues, activate sinkpad before adding
1348 We should be doing the same thing for the source pad, but we can't
1349 since it would call a method which needs the parent to be set in order
1350 to work propertly. Instead of activating the source pad, we just unset
1351 the flushing flag, which is the minimal requirement for adding a pad
1352 to an element in a state greater than READY.
1354 2007-01-17 Edward Hervey <edward@fluendo.com>
1356 * docs/faq/gst-uninstalled:
1357 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1360 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
1362 * tests/check/gst/gstabi.c:
1363 * tests/check/gst/struct_hppa.h:
1364 * tests/check/libs/libsabi.c:
1365 * tests/check/libs/struct_hppa.h:
1366 Add ABI structs for HPPA (see #393796).
1368 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
1370 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1371 Actually write ABI structs to the file specified in the GST_ABI
1372 environment variable, as the message we print claims we would.
1374 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1376 * tests/check/gst/gsttask.c:
1379 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1381 * gst/gsttaglist.c: (_gst_tag_initialize):
1382 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1383 previous two entries.
1385 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1387 * docs/gst/gstreamer-sections.txt:
1388 * gst/gsttaglist.c: (_gst_tag_initialize):
1390 Add tag support for beat-per-minute.
1392 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1394 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1395 (gst_registry_binary_initialize_magic),
1396 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1397 (gst_registry_binary_save_pad_template),
1398 (gst_registry_binary_save_feature),
1399 (gst_registry_binary_save_plugin),
1400 (gst_registry_binary_write_cache),
1401 (gst_registry_binary_check_magic),
1402 (gst_registry_binary_load_pad_template),
1403 (gst_registry_binary_load_feature),
1404 (gst_registry_binary_load_plugin),
1405 (gst_registry_binary_read_cache):
1406 * gst/gstregistrybinary.h:
1407 Use glib types, cleanup comments, impement interfaces and uri-types.
1409 2007-01-13 Andy Wingo <wingo@pobox.com>
1411 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1412 getrange() to return buffers with other caps, while we fix
1413 demuxers and typefind, or otherwise change part-negotiation.txt.
1415 2007-01-12 Andy Wingo <wingo@pobox.com>
1417 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1418 Factor start/stop into this private function instead of partially
1419 in activate functions and partially in the change_state function.
1420 Fixes setup before the element has changed from READY->PAUSED, as
1421 is the case in pull-mode pipelines.
1422 (gst_base_transform_sink_activate_push)
1423 (gst_base_transform_src_activate_pull): Refactor to use
1424 gst_base_transform_activate().
1425 (gst_base_transform_change_state): Removed, not needed any more.
1427 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1428 Truncate before fixating.
1430 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1431 Don't set_caps() if the result of fixating is ANY, as it's not
1432 supported, and not necessary in the case of a link with no
1433 template caps on either side. Fixes tests/check/libs/basesrc in
1434 some pull-mode tests.
1436 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1437 (gst_base_transform_init, gst_base_transform_sink_activate_push)
1438 (gst_base_transform_src_activate_pull):
1439 Track the activation mode.
1440 (gst_base_transform_setcaps): In pull mode, when activating the
1441 src pad, after activating the sink pad, activate the sink pad's
1442 peer, as discussed in part-negotiation.txt.
1444 * libs/gst/base/gstbasesrc.h:
1445 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1446 vmethod, as in basesink.
1448 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1450 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1451 mode, first proxy the setcaps to the peer pad.
1452 (gst_base_sink_pad_fixate): Add a fixate function that calls the
1454 (gst_base_sink_default_activate_pull): Rename from
1455 gst_base_sink_activate_pull.
1456 (gst_base_sink_negotiate_pull): New function, performs negotiation
1457 in pull mode before calling ::activate_pull().
1458 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1459 vmethod instead of the default implementation. I have no idea how
1460 this worked before. Negotiate before calling activate_pull.
1462 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1463 sink pads in pull mode. In addition to being correct, fixes
1464 filesrc ! decodebin ! identity ! fakesink.
1465 (gst_pad_get_range, gst_pad_pull_range): Don't call
1466 gst_pad_set_caps() if the caps changes; instead error out with
1467 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1469 2007-01-12 Andy Wingo <wingo@pobox.com>
1471 * docs/design/part-negotiation.txt: Update with more policy.
1473 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1475 * libs/gst/check/gstbufferstraw.h:
1476 * libs/gst/check/gstcheck.h:
1477 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1480 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1482 * tests/check/Makefile.am:
1483 * tests/check/gst/.cvsignore:
1484 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1485 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1486 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1487 (GST_START_TEST), (gst_tag_setter_suite):
1488 Add minimal unit test for beforementioned GstTagSetter bug.
1490 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1492 Patch by: René Stadler <mail at renestadler dot de>
1494 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1495 gst_tag_list_merge() returns a new list, so it's not the best idea
1496 to ingore its return value. Effectively meant that tags could only
1497 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1498 Also add function guard to require a non-NULL taglist as input (has
1499 always been so due to gst_tag_list_copy(), just making it explicit).
1501 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1503 * docs/random/draft-missing-plugins.txt:
1504 Some additions: mention new API that is supposed to be used at the
1505 various stages; short blob about new gst-inspect introspection
1506 option; mention potential future problem with plugins that have
1507 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1509 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1511 * tools/gst-inspect.c:
1512 (print_plugin_automatic_install_info_codecs),
1513 (print_plugin_automatic_install_info_protocols),
1514 (print_plugin_automatic_install_info), (main):
1515 Add --print-plugin-auto-install-info option to gst-inspect, so we can
1516 introspect plugin files and get machine-parsable output that corresponds
1517 to the last bit of the missing-plugin installer string (small gotcha:
1518 doesn't take into account ranks).
1520 2007-01-11 Stefan Kost <ensonic@users.sf.net>
1523 * docs/gst/gstreamer-sections.txt:
1525 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1526 (gst_registry_lookup_locked):
1527 * gst/gstregistry.h:
1528 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1529 (gst_registry_binary_initialize_magic),
1530 (gst_registry_binary_save_string),
1531 (gst_registry_binary_save_pad_template),
1532 (gst_registry_binary_save_feature),
1533 (gst_registry_binary_save_plugin),
1534 (gst_registry_binary_write_cache),
1535 (gst_registry_binary_check_magic),
1536 (gst_registry_binary_load_pad_template),
1537 (gst_registry_binary_load_feature),
1538 (gst_registry_binary_load_plugin),
1539 (gst_registry_binary_read_cache):
1540 * gst/gstregistrybinary.h:
1541 * gst/gstregistryxml.c: (load_feature),
1542 (gst_registry_xml_read_cache):
1543 commit binary registry (disabled by default, see #359653)
1545 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1547 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1548 Fix 'make check' too.
1550 2007-01-10 Andy Wingo <wingo@pobox.com>
1552 * docs/design/part-negotiation.txt: Fix a typo, add a couple
1555 * docs/design/part-negotiation.txt: Update with, um, one way that
1556 pull-mode negotiation might work?
1559 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1560 that the pad must be a src pad; makes sense to call it the other
1561 way in pull mode, and the logic is symmetric anyway.
1563 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
1565 * plugins/elements/gstfilesink.c:
1566 Include <stdio.h> for fseeko().
1568 2007-01-10 Wim Taymans <wim@fluendo.com>
1572 Reserve LATENCY event.
1574 2007-01-09 Wim Taymans <wim@fluendo.com>
1576 * docs/design/draft-latency.txt:
1579 2007-01-09 Wim Taymans <wim@fluendo.com>
1581 * docs/design/draft-latency.txt:
1585 * gst/gststructure.c:
1589 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
1591 * tests/check/.cvsignore:
1592 Ignore test-registry.xml as well.
1594 2007-01-09 Wim Taymans <wim@fluendo.com>
1596 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1597 unref data at the end when we are done with the pad.
1599 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1601 * docs/gst/gstreamer-sections.txt:
1602 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1603 (init_post), (gst_deinit), (gst_update_registry):
1605 API: add gst_update_registry() (#391296).
1607 * tests/check/Makefile.am:
1608 * tests/check/gst/gstregistry.c:
1609 * tests/check/gst/.cvsignore:
1610 Simple unit test for the above.
1612 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1614 * gst/gstregistry.c: (gst_registry_scan_path_level):
1615 Plugin extension on HP-UX is .sl, add that to the list of approved
1616 plugin extensions (see #393796).
1618 * tests/check/gst/gstpad.c: (GST_START_TEST):
1619 ulong => gulong. Fixes compilation with HP-UX compiler.
1621 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1622 Fix compilation if valgrind headers are not available.
1624 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
1626 * win32/common/libgstreamer.def:
1627 Add new exported function.
1628 * win32/vs6/libgstbase.dsp:
1629 Add gstdataqueue.c to the build.
1630 * win32/vs6/libgstcoreelements.dsp:
1631 Add gstmultiqueue.c to the build.
1633 2007-01-06 Andy Wingo <wingo@pobox.com>
1635 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1636 activate_pull(), providing for a way to specialize the process of
1637 spawning a thread to pull on the sink pad. There is a default
1640 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1641 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1642 (gst_base_sink_init): Renamed pad activation functions (inserting
1643 "_pad" in their names). Refactor to use the new activate_pull
1644 vmethod, as appropriate.
1645 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1646 default activate_pull function to start a task pulling from the
1647 sink pad, as before.
1649 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1650 on the pads if necessary, as in push()/chain(). Update docs.
1651 Shouldn't affect existing pull() usage as it is currently only
1652 being used on buffers without caps.
1654 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1656 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1658 Call g_thread_init() first thing in gst_init() / gst_check_init().
1659 When initialisation is done via gst_init_get_option_group() and
1660 GOption parsing, issue a warning if the GLib thread system has not
1661 been initialised yet by the time gst_init_get_option_group() is
1662 called, as it's quite likely other GLib functions such as
1663 g_option_context_new() have been called already then, and
1664 g_thread_init() must be called before any other GLib function. The
1665 application in question must be fixed in that case, since memory
1666 corruption might happen otherwise.
1667 We issue the warning because even if the GLib folks decide to work
1668 around the problem on their end in future, this is still an issue
1669 with all GLib versions >= 2.10.0, so we should warn until we depend
1670 on a GLib version we know to be safe.
1671 Update documentation as well.
1674 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1676 * tools/gst-inspect.c: (main):
1677 * tools/gst-launch.c: (main):
1678 * tools/gst-typefind.c: (main):
1679 * tools/gst-xmlinspect.c: (main):
1680 Call g_thread_init() really really early, before any other GLib
1681 function (see #342564 and recent discussion on gtk-devel-list).
1683 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1685 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
1687 * gst/gst_private.h:
1688 * gst/gstconfig.h.in:
1690 On win32, all the __declspec stuff for symbol exporting is
1691 apparently only needed with MSVC, but doesn't work with MingW.
1692 Fixes compilation with MingW and #391909.
1694 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1696 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1697 Change some GST_ERROR_OBJECT that aren't really errors to
1698 GST_WARNING_OBJECT in order to reduce terminal spam.
1700 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1702 * tests/check/Makefile.am:
1703 disable test again, as there seem to be still race problems
1705 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1707 * tests/check/Makefile.am:
1708 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1709 (GST_START_TEST), (queue_suite):
1710 enable queue test again, add tests for the leaky behaviour
1712 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
1715 * tests/examples/Makefile.am:
1716 Compile adapter test/example only if the required headers are
1717 available (fixes #391915).
1719 2007-01-01 David Schleef <ds@schleef.org>
1722 Restore the previous signal handler for SIGSEGV instead of
1723 setting to default, since we may have stolen it away from
1724 someone. (i.e., Mono)
1726 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1728 * docs/random/draft-missing-plugins.txt:
1729 Some small additions and clarifications.
1731 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1733 * gst/gstregistryxml.c: (gst_registry_save_escaped):
1734 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1735 since that can lead to random memory corruptions and crashes
1736 (may or may not be related to #383244, #386711, and #386711).
1738 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1740 * tests/check/.cvsignore:
1741 * tests/check/Makefile.am:
1742 sync .cvsignome and CLEANFILES
1744 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1746 * tests/check/Makefile.am:
1749 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1751 * docs/design/part-states.txt:
1752 two tiny additional comments
1754 * gst/gststructure.c:
1757 * tests/check/Makefile.am:
1758 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1760 disable test for now, unless it gets fixed
1762 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1764 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1766 fix race in underrun test
1768 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1770 * tests/check/elements/.cvsignore:
1773 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1775 try to narrow test failure
1777 2006-12-21 David Schleef <ds@schleef.org>
1779 * plugins/elements/gstfakesrc.c:
1780 Use g_random_int_range(), since it produces better random
1781 numbers in a range than almost-correct floating point code.
1783 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1785 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1786 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1787 (gst_check_teardown_sink_pad):
1788 do not automatically (de)activate pads
1790 * tests/check/Makefile.am:
1791 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1792 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1793 add new, yet simple tests for queue
1795 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1796 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1797 * tests/check/elements/filesrc.c: (cleanup_filesrc),
1799 * tests/check/elements/identity.c: (cleanup_identity):
1800 consistent pad (de)activation
1802 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
1804 Patch by: Sebastian Dröge <slomo ubuntu com>
1806 * libs/gst/base/gstcollectpads.c:
1807 Fix two doc typos (#387866).
1809 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1811 * docs/manual/advanced-dparams.xml:
1812 Fix typo (g_object_control_properties() doesn't exist).
1814 2006-12-19 Edward Hervey <edward@fluendo.com>
1816 * gst/gstsegment.c: (gst_segment_set_seek):
1817 Fine tune the cases where the segment start/stop values are really
1819 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1820 Add tests for the return values of gst_segment_set_seek().
1822 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1827 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1829 Fix incorrect documentation and flesh it out a bit more.
1830 Set default values for the max properties on the GParamSpec as well,
1831 so it shows up correctly in gst-inspect.
1833 2006-12-18 Stefan Kost <ensonic@users.sf.net>
1835 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1836 Correct docs of queue, add more detail and crosslink it more.
1838 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1840 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1841 Print additional debug info when the stream isn't perfectly
1842 timestamped; don't try to use invalid durations.
1844 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1846 * docs/design/Makefile.am:
1847 Dist new design docs.
1849 2006-12-16 Wim Taymans <wim@fluendo.com>
1851 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1853 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
1854 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1855 (gst_collect_pads_stop), (gst_collect_pads_event),
1856 (gst_collect_pads_chain):
1857 * libs/gst/base/gstcollectpads.h:
1858 Add refcounting to the collectpads data so we can track when it's safe
1859 to free the data. Fixes #383382.
1861 2006-12-15 Wim Taymans <wim@fluendo.com>
1863 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1864 (gst_collect_pads_remove_pad):
1865 Automatically activate/deactivate pads when they are added to a
1866 started/stoped collectpads.
1868 2006-12-15 Wim Taymans <wim@fluendo.com>
1870 * gst/gstelement.c: (gst_element_add_pad):
1871 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1872 * gst/gstpad.c: (gst_pad_init):
1873 Set pads to FLUSHING when they are created. Check, warn and fix when a
1874 demuxer adds an inactive pad to itself when running. Fixes #339326.
1876 2006-12-15 Wim Taymans <wim@fluendo.com>
1878 * gst/gstelement.c: (gst_element_class_init),
1879 (gst_element_default_send_event), (gst_element_send_event),
1880 (gst_element_default_query), (gst_element_query):
1881 Expose default element send_event and query handling as vmethods that
1882 subclasses can chain up to.
1884 2006-12-15 Wim Taymans <wim@fluendo.com>
1886 * gst/gstelement.c: (gst_element_set_state_func):
1887 Small documentation fixes.
1889 2006-12-15 Wim Taymans <wim@fluendo.com>
1891 * docs/design/draft-latency.txt:
1892 Checked in draft for handling latency in pipelines.
1894 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
1898 * gstreamer.spec.in:
1901 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
1903 * gst/gst.c: (init_pre), (init_post):
1904 init_pre() and init_post() might be called via our GOptionGroup or
1905 from gst_init(), and we should skip both of them if we've already
1906 been initialised, otherwise we will init some things twice or add
1907 two default log functions.
1909 2006-12-13 Edward Hervey <edward@fluendo.com>
1911 * docs/manual/basics-bus.xml:
1912 No, gst_main_loop does not exist. Its g_main_loop.
1913 Discovered by somebody who abused the copy-paste technique of coding :)
1915 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
1917 * gst/gstghostpad.c:
1918 Log ghostpad debug stuff to the GST_PADS category as well rather
1919 than just to the default category.
1921 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
1924 * gst/gst.c: (init_pre):
1925 Add some basic system details such as OS and architecture
1926 to the debug output if possible, courtesy of uname().
1928 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
1930 * docs/gst/running.xml:
1931 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
1932 environment variables.
1934 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
1936 * tests/check/gst/gstbin.c: (GST_START_TEST):
1937 It is acceptable to have a refcount of 2 or 3 at this point in the
1938 test, because the pipeline might be just posting its state_change
1939 message. The next line then waits for that message to appear using
1940 bus_poll, so that should be fine too.
1942 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
1944 * gst/gst.c: (ensure_current_registry_forking):
1945 Ignore EINTR when reading from the child registry pipe.
1946 Explicitly ignore the return value from close, since it makes no
1949 * gst/gstminiobject.c: (gst_mini_object_ref),
1950 (gst_mini_object_unref):
1951 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
1953 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
1954 When removing cached plugins, remove their features too, so they're
1955 not visible after they've disappeared.
1957 * gst/gstutils.c: (prepare_link_maybe_ghosting):
1958 In the unlikely case that we are linking pads with no parents, don't
1959 crash trying to get the non-existent parent bin.
1961 * gst/parse/grammar.y:
1962 Output debug in the PIPELINE category
1964 2005-03-08 Wim Taymans <wim@fluendo.com>
1966 Patch by: René Stadler <mail at renestadler dot de>
1968 * gst/gstclock.c: (gst_clock_new_periodic_id):
1969 Reject invalid clock times for interval of periodic ids.
1972 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
1974 * gst/gstelementfactory.c: (gst_element_factory_create):
1975 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1976 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
1977 * tools/gst-inspect.c: (print_element_info):
1978 Fix refcounting of gst_plugin_feature_load to match the docs.
1981 2006-12-07 Wim Taymans <wim@fluendo.com>
1983 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1984 (gst_base_sink_get_position):
1985 Improve debugging of events.
1987 2006-12-07 Wim Taymans <wim@fluendo.com>
1989 Patch by: René Stadler <mail at renestadler dot de>
1991 * gst/gstclock.c: (gst_clock_id_wait):
1992 Make period ids add the interval to the origial requested time instead
1993 of the possibly updated time which can be wrong when there are multiple
1994 waiters for the same id. Fixes #382592.
1996 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
1997 (gst_system_clock_id_wait_jitter_unlocked),
1998 (gst_system_clock_id_wait_jitter):
1999 Fix restart in the async notify thread when an async entry is added to
2000 the front of the list. Fixes #381492.
2002 * tests/check/gst/gstsystemclock.c: (store_callback),
2003 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2004 Added test for multiple async waits.
2005 Added test for async wait order.
2007 2006-12-07 Wim Taymans <wim@fluendo.com>
2009 * gst/gstbin.c: (gst_bin_query):
2010 Add some more docs about the POSITION query.
2012 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2015 Bump version nano - back to CVS.
2017 === release 0.10.11 ===
2019 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
2022 releasing 0.10.11, "Love never runs on time"
2024 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
2026 * win32/common/libgstbase.def:
2027 * win32/common/libgstreamer.def:
2028 * win32/vs8/libgstbase.vcproj:
2029 * win32/vs8/libgstcoreelements.vcproj:
2030 * win32/vs8/libgstreamer.vcproj:
2031 Fix compilation on win32 under VS8
2032 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2033 Partially fixes #381175
2035 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
2037 * gst/gstvalue.c: (gst_value_compare_fraction):
2038 If someone is foolish enough to compare 2 fractions with denominator =
2039 0, return UNORDERED rather than aborting.
2041 2006-11-28 Edward Hervey <edward@fluendo.com>
2043 * libs/gst/base/Makefile.am:
2044 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2045 (gst_data_queue_base_init), (gst_data_queue_class_init),
2046 (gst_data_queue_init), (gst_data_queue_new),
2047 (gst_data_queue_cleanup), (gst_data_queue_finalize),
2048 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2049 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2050 (gst_data_queue_is_empty), (gst_data_queue_is_full),
2051 (gst_data_queue_set_flushing), (gst_data_queue_push),
2052 (gst_data_queue_pop), (gst_data_queue_drop_head),
2053 (gst_data_queue_set_property), (gst_data_queue_get_property):
2054 * libs/gst/base/gstdataqueue.h:
2055 New GstDataQueue object for threadsafe queueing. Most useful for
2056 elements that need some queueing functionnality.
2057 * docs/libs/gstreamer-libs-docs.sgml:
2058 * docs/libs/gstreamer-libs-sections.txt:
2059 Insert documentation for GstDataQueue
2060 * plugins/elements/Makefile.am:
2061 * plugins/elements/gstelements.c:
2062 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2063 (gst_multi_queue_class_init), (gst_multi_queue_init),
2064 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2065 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2066 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2067 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2068 (gst_multi_queue_loop), (gst_multi_queue_chain),
2069 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2070 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2071 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2072 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2073 (wake_up_next_non_linked), (compute_next_non_linked),
2074 (single_queue_overrun_cb), (single_queue_underrun_cb),
2075 (single_queue_check_full), (gst_single_queue_new):
2076 * plugins/elements/gstmultiqueue.h:
2077 New multiqueue element, using GstDataQueue. Used for queuing multiple
2079 Closes #344639 and #347785
2081 2006-11-22 Stefan Kost <ensonic@users.sf.net>
2083 * docs/pwg/advanced-types.xml:
2084 add more missing type details
2086 * tools/gst-run.c: (main):
2087 remove unused variable
2089 2006-11-21 Stefan Kost <ensonic@users.sf.net>
2091 * docs/libs/Makefile.am:
2092 * docs/libs/gstreamer-libs.types:
2093 add types of base classes to enable gobject specific stuff in the docs
2095 * docs/random/ensonic/embedded.txt:
2096 more ideas about isolating platform specific things
2098 2006-11-20 Wim Taymans <wim@fluendo.com>
2100 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2102 * libs/gst/check/gstcheck.h:
2103 Fix compilation and running against 0.9.4. Fixes #377332.
2105 2006-11-20 Wim Taymans <wim@fluendo.com>
2107 * gst/gstsegment.c: (gst_segment_set_seek),
2108 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2109 (gst_segment_to_running_time):
2110 Fix boundary checking in to_running_time() and to_stream_time().
2113 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2114 stream and running time can now be calculated for the complete
2117 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
2119 * gst/gstpad.c: (gst_pad_push_event):
2120 Can't access event structure after giving away ownership of
2123 2006-11-15 Stefan Kost <ensonic@users.sf.net>
2125 * docs/random/ensonic/embedded.txt:
2126 * docs/random/ensonic/profiling.txt:
2127 * docs/random/ensonic/receipies.txt:
2130 2006-11-13 Wim Taymans <wim@fluendo.com>
2132 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2135 Fix documentation for gst_pad_dispatcher. Fixes #374475.
2137 2006-11-13 Wim Taymans <wim@fluendo.com>
2139 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2141 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2142 Store new length in segment duration so we don't keep on calling the
2143 potentially expensize get_size() call. Fixes #370865.
2145 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
2147 Patch by: Sergey Scobich <sergey.scobich at gmail com>
2149 * win32/common/libgstreamer.def:
2150 Add two missing symbols (#366492).
2152 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
2154 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2155 (gst_adapter_take_buffer):
2156 Fix format string to use all its arguments.
2157 Remove useless >= check on a guint
2159 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2161 * tests/examples/adapter/.cvsignore:
2162 Ignore build file as commanded by the build-bot
2164 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2166 * tests/examples/adapter/Makefile.am:
2167 * tests/examples/adapter/adapter_test.c: (run_test_take),
2168 (run_test_take_buffer), (run_tests), (main):
2170 Add new files from the previous commit
2172 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2176 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2177 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2178 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2179 * libs/gst/base/gstadapter.h:
2180 * tests/check/libs/adapter.c: (create_and_fill_adapter),
2181 (GST_START_TEST), (gst_adapter_suite):
2182 * tests/examples/Makefile.am:
2183 Do some optimisation work in GstAdapter to avoid copies in more cases.
2184 It could still do slightly better by merging buffers when
2185 gst_buffer_is_span_fast is true, but is already faster.
2187 Also, avoid traversing a single-linked list to append each incoming
2188 buffer inside the adapter.
2190 Add simple test app that times the adapter behaviour in different
2191 situations, and extend the unit test to check that bytes enter and
2192 exit the adapter in their original order.
2194 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
2196 * docs/random/draft-missing-plugins.txt:
2197 Update: use element message instead of adding a new message
2198 type to the core; don't provide GStreamer API to initiate the
2199 plugin download, just provide API to compose the strings needed
2200 and let an external libgimmestuff handle the rest.
2202 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
2204 * tools/gst-inspect.c: (print_element_properties_info):
2205 Print a string instead of 'unknown type' for GValueArray properties
2207 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
2209 * docs/random/draft-missing-plugins.txt:
2212 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2214 * tests/examples/typefind/typefind.c: (type_found), (main):
2215 Make typefind element example work again (#371894); add a
2218 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2220 * docs/random/draft-missing-plugins.txt:
2221 Commit initial draft about how to deal with missing plugins,
2222 needs work (API too).
2224 2006-11-07 Stefan Kost <ensonic@users.sf.net>
2226 * docs/pwg/advanced-types.xml:
2227 documents the new caps elements (see #363118)
2229 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2231 * gst/gstplugin.c: (gst_plugin_load_file):
2232 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2233 (gst_file_src_map_region), (gst_file_src_start):
2234 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2235 (gst_file_index_commit):
2236 Use g_strerror() instead of strerror() - we want UTF-8.
2238 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2240 Patch by: Peter Kjellerstedt <pkj at axis com>
2242 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2243 Another printf fix (#371493).
2245 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2247 * tests/check/gst/gsttag.c:
2248 relicence (okay with author=company)
2250 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2252 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2253 (gst_pad_push_event):
2254 Enhance debug and improve docs
2259 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2261 * docs/random/ensonic/distributed.txt:
2262 * docs/random/ensonic/profiling.txt:
2265 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2267 * docs/gst/gstreamer-sections.txt:
2268 add new API and fix the build
2270 * gst/gstbin.c: (gst_bin_recalc_state):
2271 * gst/gstelement.c: (gst_element_message_full),
2272 (gst_element_get_state_func), (gst_element_set_state_func):
2273 use new API and improve logging
2275 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2277 API: add function to get StateChangereturn names to improve logs
2279 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
2281 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2282 I'm considering shooting the next person to put strerror stuff
2283 in the translateable part of the message.
2285 2006-11-03 Wim Taymans <wim@fluendo.com>
2287 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2288 Get the type and printf conversion specifiers right.
2290 2006-11-03 Wim Taymans <wim@fluendo.com>
2292 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2294 * gst/gstpad.c: (gst_pad_init), (pre_activate),
2295 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2296 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2297 Some small cleanups. Improve debugging.
2299 Signal all waiting threads with a broadcast instead of just one.
2302 2006-11-03 Wim Taymans <wim@fluendo.com>
2304 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2305 (gst_fd_src_create):
2307 Only update fd when it's different from the old.
2309 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2311 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2312 Printf fixes for PPC/OSX, take two (#369366).
2314 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2316 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
2318 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2319 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2320 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2321 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2322 don't cast to long long for portability reasons, but use
2323 GLib's types instead.
2325 2006-10-30 Michael Smith <msmith@fluendo.com>
2327 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2328 Get the arguments to lseek() the right way around.
2331 2006-10-30 Wim Taymans <wim@fluendo.com>
2333 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2336 _declspec should be __declspec (two underscores, not one). Fixes 366572.
2338 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2340 Patch by: Kjartan Maraas <kmaraas at gnome org>
2342 * docs/design/part-MT-refcounting.txt:
2343 * docs/random/wtay/capsnego2-docs:
2346 Typo fixes (#366212).
2348 2006-10-28 Wim Taymans <wim@fluendo.com>
2350 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2353 * win32/common/libgstbase.def:
2354 * win32/common/libgstreamer.def:
2355 * win32/vs8/libgstbase.vcproj:
2356 * win32/vs8/libgstcontroller.vcproj:
2357 Add needed entries in .def files.
2359 Rearrange def files in vs8 solutions. Fixes #366286.
2361 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2363 * win32/common/gstconfig.h:
2364 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2365 hand-made win32 gstconfig.h. Fixes #366321.
2367 2006-10-27 Wim Taymans <wim@fluendo.com>
2369 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2370 (gst_ghost_pad_new_full):
2371 Make acceptcaps return TRUE when we don't have a target, just like
2374 2006-10-27 Wim Taymans <wim@fluendo.com>
2376 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2377 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2379 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
2381 * gst/gststructure.c: (gst_structure_id_set_value):
2382 If someone tries to set a non-UTF8 string field on a structure,
2383 don't just print a warning, but also ignore the request and do
2384 not change/add that field to the structure.
2386 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2389 2006-10-25 David Schleef <ds@schleef.org>
2392 g_hash_table_insert() needs a cast to a non-const pointer duh.
2394 2006-10-25 David Schleef <ds@schleef.org>
2398 Change name parameter of _gst_debug_register_funcptr to const
2399 to reflect the constness of its use in the function as well
2400 as to quiet a gcc warning.
2402 2006-10-25 Edward Hervey <edward@fluendo.com>
2404 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2405 Don't push the buffer if it's empty.
2408 2006-10-24 Wim Taymans <wim@fluendo.com>
2413 * libs/gst/base/gstbasetransform.c:
2414 (gst_base_transform_sink_eventfunc):
2415 Debug segment values *after* updating them as this is more
2418 2006-10-23 Wim Taymans <wim@fluendo.com>
2420 * docs/design/part-events.txt:
2423 * docs/design/part-block.txt:
2424 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2425 (gst_pad_push_event):
2426 Revert BLOCKING patch, it tries to be smart without really having a
2427 clear idea what or how. So, now we discard all FLUSHING events again on
2428 a blocking pad. Should fix gnonlin again.
2430 2006-10-23 Wim Taymans <wim@fluendo.com>
2432 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2434 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2435 (gst_base_src_start), (gst_base_src_activate_push):
2436 Make sure size is always initialized. Fixes #364388.
2438 2006-10-20 Stefan Kost <ensonic@users.sf.net>
2440 * docs/random/ensonic/distributed.txt:
2441 add some ideas about doing distributed processing
2443 * docs/random/ensonic/profiling.txt:
2444 get_rusage look promising
2446 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2448 * docs/manual/basics-helloworld.xml:
2449 Add a cast in example to fix compile warning
2451 2006-10-18 Wim Taymans <wim@fluendo.com>
2453 * gst/gstsegment.c: (gst_segment_set_last_stop),
2454 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2455 Relax arg checking again, -1 is allowed.
2457 2006-10-18 Wim Taymans <wim@fluendo.com>
2459 * gst/gstsegment.c: (gst_segment_set_last_stop),
2460 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2461 _set_last_stop() must be with a value != -1
2462 A _TYPE_SET to -1 means seek to 0.
2463 Calc last_stop correctly for negative rates.
2464 Make sure we work with positive durations when updating a segment.
2466 2006-10-18 Wim Taymans <wim@fluendo.com>
2468 * docs/design/part-live-source.txt:
2472 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
2475 Add an explicit cast to GstBuffer** to keep old code that added an
2476 explicit cast to GstMiniObject** for gst_mini_object_replace()
2477 compiling without warning.
2479 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2481 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2482 check for validity of dates
2484 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2486 * docs/gst/gstreamer-sections.txt:
2487 Forgot this one, makes gtk-doc shut up.
2489 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2491 Patch by: Peter Kjellerstedt <pkj at axis com>
2494 Don't define xmlNodePtr to gpointer if the core was built with
2495 --disable-loadsave and --disable-registry, this will break
2496 applications that want to use libxml2 but are buildling against a
2497 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2498 instead so we don't have to mess with the libxml2 namespace
2501 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2504 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2505 type-punned pointer warnings.
2507 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
2510 Add casts to the correct return type to state <=> state transition
2513 2006-10-16 Stefan Kost <ensonic@users.sf.net>
2515 * docs/design/part-live-source.txt:
2516 describe howto handle latency
2518 * docs/random/ensonic/profiling.txt:
2521 * tools/gst-plot-timeline.py:
2522 fix log parsing for solaris, remove unused function
2524 2006-10-16 Wim Taymans <wim@fluendo.com>
2526 * docs/design/part-trickmodes.txt:
2528 Update some docs regarding reverse playback.
2530 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
2532 Patch by: Marcus Granado <mrc dot gran at gmail com>
2534 * win32/vs8/grammar.vcproj:
2535 Error out with a warning if glib-genmarshal.exe is not in path,
2536 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2538 2006-10-13 Wim Taymans <wim@fluendo.com>
2540 * gst/gstsegment.c: (gst_segment_set_seek):
2541 When seeking to stop -1, set last_stop (current position) to the
2542 duration of the segment.
2544 2006-10-13 Wim Taymans <wim@fluendo.com>
2547 Clarify _NO_PREROLL a bit more.
2552 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2553 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2554 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2555 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2556 due to wrong locking order. Fixes #361769.
2557 Remove some redundant/misplaced checks in pad_block.
2559 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2560 For negative rates, count backwards from the duration.
2562 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
2564 * gst/gsterror.c: (_gst_library_errors_init):
2565 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2566 up with something better).
2568 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2570 * win32/vs6/libgstreamer.dsp:
2571 * win32/vs7/libgstreamer.vcproj:
2572 * win32/vs8/libgstreamer.vcproj:
2573 Don't reference glib-compat.c which is currently not used and not
2574 disted; add gstquark.c which was recently added. Fixes #361730.
2576 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2578 * win32/common/libgstbase.def:
2579 * win32/common/libgstcontroller.def:
2580 * win32/common/libgstreamer.def:
2581 Add gst_caps_merge() and a bunch of other recently-added functions.
2584 2006-10-11 Wim Taymans <wim@fluendo.com>
2586 * docs/plugins/gstreamer-plugins.args:
2587 * docs/plugins/inspect/plugin-coreelements.xml:
2588 * docs/plugins/inspect/plugin-coreindexers.xml:
2589 Update element args.
2591 * gst/gstsystemclock.c:
2592 Small comment update.
2594 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2595 (gst_tee_request_new_pad), (gst_tee_release_pad),
2596 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2597 (gst_tee_sink_activate_pull):
2598 * plugins/elements/gsttee.h:
2600 Add default property defines.
2601 Implement release pad function.
2602 Give properties better blubs etc.
2603 Activate pads before adding them to a running tee.
2604 Do simple buffer_alloc on the first requested pad.
2605 Post error when activation fails.
2607 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2609 * gst/gst.c: (ensure_current_registry_forking):
2610 Check return value of write() to make compiler happy.
2612 2006-10-11 Wim Taymans <wim@fluendo.com>
2614 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2616 * plugins/elements/gstqueue.c: (gst_queue_chain):
2617 Recheck queue filledness after signalling the overrun when we're about
2618 to leak downstream because we released the lock when emitting the signal
2619 and the queue could be empty again. Fixes #352345.
2621 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2623 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2624 Fix refcounting here too, just like we did for _new_valist() a few
2625 days ago (#357180) (thanks to René Stadler). Also remove all those
2626 'Since: 0.9' from the gtk-doc blobs.
2628 * tests/check/libs/controller.c: (controller_refcount_new_list),
2629 (gst_controller_suite):
2630 Unit test for the above.
2632 2006-10-10 Wim Taymans <wim@fluendo.com>
2634 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2636 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2637 (gst_pad_save_thyself):
2639 Write pad direction in XML output. Fixes #345496.
2641 2006-10-10 Wim Taymans <wim@fluendo.com>
2643 Patch by: René Stadler <mail at renestadler dot de>
2645 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2646 (gst_controller_new_list), (_gst_controller_dispose),
2647 (_gst_controller_finalize), (_gst_controller_class_init):
2648 Take ref to controlled object so that it cannot disappear.
2651 2006-10-10 Wim Taymans <wim@fluendo.com>
2653 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2654 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2655 (gst_check_teardown_sink_pad):
2656 Activate/deactivate pads in setup/teardown respectively.
2658 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2660 Patch by: Josep Torre Valles <josep@fluendo.com>
2663 Cast values when making gstenumtypes.h. This pacifies Forte
2664 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2667 2006-10-09 Wim Taymans <wim@fluendo.com>
2669 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2670 Rename some more @cur to @start to fix docs.
2672 * gst/gstsegment.c: (gst_segment_set_seek):
2674 time and start must always stay in sync as defined in design doc.
2676 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2677 Rename param to fix docs.
2679 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2680 Check that start and time are in sync.
2682 * tests/check/pipelines/parse-launch.c:
2683 (gst_parse_test_element_change_state):
2684 Activate pad before adding to the element.
2686 2006-10-09 Wim Taymans <wim@fluendo.com>
2688 * docs/design/part-qos.txt:
2693 Update seek event docs regarding negative rates.
2694 Rename @cur to @start.
2696 * gst/gstsegment.c: (gst_segment_set_seek):
2698 Update set_seek docs regarding negative rates.
2699 Correctly update last_stop to @stop when dealing with negative
2701 Rename @cur to @start.
2703 * tests/check/gst/gstpad.c: (GST_START_TEST):
2704 Activate pads before trying to use them.
2706 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2707 (gst_segment_suite):
2708 Add simple check for segments and negative rates.
2710 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
2712 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2714 * docs/gst/gstreamer-sections.txt:
2715 API: add gst_tag_list_is_empty() (#360467).
2717 * tests/check/gst/gsttag.c: (GST_START_TEST):
2720 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2723 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2724 a value that doesn't fit on enumeration.
2726 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2728 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2729 Remove local debugging system and use Gstreamer's instead.
2731 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2733 Patch by: Josep Torre Valles <josep@fluendo.com>
2735 * common/m4/gst-error.m4:
2736 Disable warning of statement not reached on Forte.
2738 Fix warning on Forte (value doesn't fit on enumeration).
2739 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2740 Fix warning on Forte (value doesn't fit on enumeration).
2741 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2742 DEBUG macro says it takes minimum of 2 args and so Forte
2743 complains about the use with just 1 arg.
2744 * plugins/elements/gstfdsink.c:
2745 * plugins/elements/gstfdsrc.c:
2746 * plugins/elements/gstfilesink.c:
2747 * plugins/elements/gstfilesrc.c:
2748 Use correct return type for the uri handler implementations.
2750 All these fix warnings in Forte. Fixes bug #360860.
2752 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
2755 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2756 format string, so don't use G_GNUC_PRINTF for those versions.
2758 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2760 * gst/gsttaglist.c: (gst_is_tag_list):
2762 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2764 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2765 Small test for the above.
2767 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2770 Less tabs, more spaces.
2772 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
2775 Those two function declarations do actually belong there, revert
2776 commit from yesterday that turned them intro macros.
2778 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2780 Patch by: Josep Torre Valles <josep@fluendo.com>
2782 * gst/gst.c: (gst_init_get_option_group):
2783 Fix empty declaration and type mismatch.
2784 * gst/gstbin.c: (gst_bin_change_state_func):
2786 * gst/gstelement.c: (gst_element_continue_state),
2787 (gst_element_set_state_func), (gst_element_change_state),
2788 (gst_element_change_state_func):
2789 Fix type mismatches.
2790 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2791 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2792 Cast as appropriate.
2793 * gst/gstobject.c: (gst_class_signal_connect):
2794 Cast as appropriate. The function pointer parameter really
2795 has the wrong type but would break API if we change it.
2797 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2798 order of including string.h.
2799 * gst/gstutils.c: (gst_element_state_get_name):
2800 Remove unreachable line.
2801 * gst/gstxml.c: (gst_xml_parse_doc):
2803 All these caught by Forte.
2805 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2807 Patch by: Josep Torre Valles <josep@fluendo.com>
2809 * common/m4/gst-error.m4:
2811 We need to disable warnings on Forte for empty declarations
2812 due to gst-indent adding ;s to lines that just use macros
2813 where the macro actually doesn't need a ; at end to end
2816 2006-10-06 Wim Taymans <wim@fluendo.com>
2818 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2819 (gst_file_sink_close_file), (gst_file_sink_event),
2820 (gst_file_sink_render):
2821 Add some FIXME for the NEWSEGMENT handling.
2823 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2825 * gst/parse/grammar.y:
2826 Remove static function gst_parse_element_lock as all it does
2827 is return. Looks like cruft from 0.8.
2829 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2831 Patch by: Josep Torre Valles <josep@fluendo.com>
2833 * common/m4/gst-error.m4:
2835 * libs/gst/net/Makefile.am:
2836 Fix a compilation issue with Forte on Solaris. inet_aton is in
2839 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2841 * gst/gstpad.c: (pre_activate):
2842 * gst/gstregistry.c: (gst_registry_scan_path_level):
2843 * gst/gstregistryxml.c: (load_plugin):
2844 * libs/gst/controller/gstcontroller.c:
2845 (gst_controlled_property_set_interpolation_mode):
2846 * libs/gst/dataprotocol/dataprotocol.c:
2847 (gst_dp_packet_from_event_1_0):
2848 * libs/gst/net/gstnetclientclock.c:
2849 (gst_net_client_clock_observe_times):
2850 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2853 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2856 * docs/gst/gstreamer-sections.txt:
2857 * gst/gstconfig.h.in:
2860 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
2861 whether we can use G_GNUC_PRINTF in other header files and at
2862 least check the printf format/arguments of debug messages and
2863 GST_ELEMENT_ERROR messages when the printf extension is not
2865 Replace more tabs with spaces in gstinfo.h and remove two spurious
2866 function declarations in GST_DISABLE_DEBUG part with macros.
2868 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
2870 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
2871 More docs for the sync-message signal (mention that it is not
2872 emitted by default); log message structures of messages posted on
2875 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
2877 * gst/gst.c: (ensure_current_registry_forking):
2878 Use a pipe pair to receive status results from the forked child, and
2879 ignore the result from waitpid. Fixes #355499
2881 2006-10-02 Wim Taymans <wim@fluendo.com>
2883 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2884 (gst_ghost_pad_suite):
2887 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
2890 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
2892 2006-10-02 Edward Hervey <edward@fluendo.com>
2894 * docs/design/part-block.txt:
2895 Further explain the use of flushing on blocked pads.
2896 * docs/gst/gstreamer-sections.txt:
2897 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2898 (gst_pad_push_event):
2900 Added new GstPadFlag : GST_PAD_BLOCKING.
2901 Adds the notion of pads really blocking, which enables to properly
2902 handle FLUSH_START/FLUSH_STOP events on blocked pads.
2904 API: gst_pad_is_blocking()
2905 API: GST_PAD_IS_BLOCKING() macro
2906 API: GST_PAD_BLOCKING GstPadFlag
2908 2006-10-02 Wim Taymans <wim@fluendo.com>
2910 Patch by: mrcgran <mrc.gran at gmail dot com>
2912 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
2913 Filter the proxied caps against the padtemplate if we have one.
2915 * gst/gstquery.c: (gst_query_new_segment):
2916 Add include for gstinfo.h so that compilation with
2917 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
2919 2006-10-02 Wim Taymans <wim@fluendo.com>
2921 Patch by: Alessandro Decina <alessandro at nnva org>
2923 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
2924 (gst_file_sink_set_location), (gst_file_sink_open_file),
2925 (gst_file_sink_close_file), (gst_file_sink_event),
2926 (gst_file_sink_render):
2927 Set file to NULL when closing filesink so that we can set a new filename
2928 in READY. Fixes #358613.
2930 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
2932 Patch by: Alessandro Decina <alessandro at nnva org>
2934 * gst/gstevent.c: (_gst_event_copy):
2935 Fix gst_mini_object_make_writable() and gst_event_copy() for events
2936 with event structures by setting the parent refcount address of the
2937 copied structure to the address of the refcount member of the newly
2938 copied event rather than the address of the refcount member of the
2939 original event. Fixes #358737.
2941 * tests/check/gst/gstevent.c: (GST_START_TEST):
2942 Unit test for the above.
2944 2006-09-29 Stefan Kost <ensonic@users.sf.net>
2946 * docs/design/Makefile.am:
2947 Dist some more files.
2949 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
2951 * tests/check/libs/controller.c: (GST_START_TEST),
2952 (gst_controller_suite):
2953 Add test for the previous fix; add some more tests
2954 for correct refcounting behaviour; fix a few leaks
2955 in test cases; call gst_controller_init() at start
2958 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
2960 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2961 (gst_controller_set_from_list):
2962 Don't g_return_val_if_fail() on timed values with invalid timestamps
2963 inside a critical section without unlocking the mutex. Spotted by
2964 René Stadler. (#357617)
2965 Also, fix up refcounting properly: when returning an existing
2966 controller, we should increase the reference only once and not
2967 once per property and when trying to control a property again
2968 we should also increase the refcount.
2970 2006-09-29 Wim Taymans <wim@fluendo.com>
2972 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2973 * libs/gst/net/gstnettimeprovider.c:
2974 (gst_net_time_provider_thread):
2975 Stop reading commands when EOF as well.
2977 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2978 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2979 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2980 Unify description of the dump property.
2982 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2984 * tests/examples/manual/.cvsignore:
2985 OK, so it's actually cvsignore that needs changing. Stop laughing.
2987 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2989 * tests/examples/manual/Makefile.am:
2990 Gah, declare vars *before* using them
2992 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2994 * gst/gst.c: (init_pre), (scan_and_update_registry),
2995 (ensure_current_registry_nonforking),
2996 (ensure_current_registry_forking), (ensure_current_registry),
2997 (init_post), (gst_debug_help), (gst_deinit):
2998 * gst/gst_private.h:
2999 * gst/gstregistry.c: (gst_registry_finalize),
3000 (gst_registry_remove_features_for_plugin_unlocked),
3001 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3002 (gst_registry_scan_path),
3003 (_priv_gst_registry_remove_cache_plugins),
3004 (_priv_gst_registry_cleanup):
3005 * gst/gstregistry.h:
3006 Re-commit the registry changes, along with an extra fix:
3007 When a cached plugin is encountered at a different file path,
3008 update the stored path in the registry cache so that the parent
3009 process knows where it actually is now when it re-reads the registry
3010 cache. Fixes the thing that broke distcheck with the previous commit.
3012 * tests/check/Makefile.am:
3013 Clean up files named 'core' too when running make clean.
3015 * tests/examples/manual/Makefile.am:
3016 Set up a registry path for running these tests, and clean it properly
3019 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3022 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3023 want gmodule-no-export-2.0.pc instead so that we don't drag in
3024 --export-dynamic on every project that links to GStreamer.
3026 Also, make our export regex only match the start of symbols, rather
3027 than any symbol that contains '_gst' somewhere.
3029 * libs/gst/check/Makefile.am:
3030 The libgstcheck we build does however need export-dynamic, as it
3031 produces some symbols that don't match our _gst... style regex.
3034 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3036 * gst/gst.c: (init_pre), (scan_and_update_registry),
3037 (ensure_current_registry_nonforking),
3038 (ensure_current_registry_forking), (ensure_current_registry),
3039 (init_post), (gst_debug_help), (gst_deinit):
3040 * gst/gst_private.h:
3041 * gst/gstregistry.c: (gst_registry_finalize),
3042 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3043 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3044 (_gst_registry_cleanup):
3045 * gst/gstregistry.h:
3046 Revert previous change until I figure out why it breaks distcheck.
3048 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3050 * gst/gst.c: (init_pre), (scan_and_update_registry),
3051 (ensure_current_registry_nonforking),
3052 (ensure_current_registry_forking), (ensure_current_registry),
3053 (init_post), (gst_debug_help), (gst_deinit):
3055 Make init_pre and init_post take the full complement of GOptionFunc
3056 args so they can return useful GErrors. Make the registry updating
3059 Call _priv_gst_registry_remove_cache_plugins after scanning files to
3060 ensure that the registry we're about to write out doesn't contain
3061 stale information about old-deleted plugin files.
3063 Make _priv_gst_registry_remove_cache_plugins return a boolean so
3064 that deletion of plugin files is considered a registry change.
3066 * gst/gst_private.h:
3067 * gst/gstregistry.c: (gst_registry_finalize),
3068 (gst_registry_remove_features_for_plugin_unlocked),
3069 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3070 (gst_registry_scan_path),
3071 (_priv_gst_registry_remove_cache_plugins),
3072 (_priv_gst_registry_cleanup):
3073 * gst/gstregistry.h:
3074 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3075 by adding _priv prefix, so that they won't appear in the global
3076 symbol table. They still do atm though because of #318031. Move the
3077 prototypes to gst_private.h
3079 When removing a plugin, remove all features for that plugin too.
3082 2006-09-27 Wim Taymans <wim@fluendo.com>
3084 * docs/random/moving-plugins:
3085 Make it clear that the "compiled-in descriptions" really mean
3086 the element details.
3088 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3089 (gst_base_sink_wait_preroll):
3092 * docs/libs/gstreamer-libs-sections.txt:
3093 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3094 (gst_base_src_get_range), (gst_base_src_activate_push):
3095 * libs/gst/base/gstbasesrc.h:
3096 Added function to block while waiting for PLAYING, this function
3097 is used by live sources that block on the clock.
3098 API: gst_base_src_wait_playing()
3100 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3102 Patch by: Peter Kjellerstedt <pkj at axis com>
3105 gst-element-check.m4 is generated and should therefore be
3106 copied from the build dir rather than the source dir (#357593).
3107 'make distcheck' hasn't noticed this because we were disting
3108 the file as well, so stop doing that.
3110 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3112 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3113 Add some tests for gst_caps_intersect().
3115 * tools/gst-launch.c: (event_loop):
3116 Print all buffering percentages we get, even the 100% one.
3118 2006-09-26 Wim Taymans <wim@fluendo.com>
3120 * tools/gst-inspect.c: (print_element_properties_info),
3121 (print_signal_info):
3122 Fix printing of flags to match the look of enums.
3124 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3126 * gst/gstelementfactory.c:
3127 Fix typo in docs blurb.
3129 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3131 * gst/gsturi.c: (search_by_entry):
3132 Don't assert/crash here if a uri handler doesn't return any
3133 supported protocols. The list of protocols could be generated
3134 dynamically at runtime or at plugin registration, and an error
3135 in the underlying library shouldn't be fatal (#353301).
3137 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3140 Fix warning if HAVE_PRINTF_EXTENSION is undefined
3141 (spotted by Peter Kjellerstedt).
3143 2006-09-23 Wim Taymans <wim@fluendo.com>
3145 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3147 * libs/gst/base/gstbasesrc.c:
3148 (gst_base_src_default_check_get_range), (gst_base_src_start),
3149 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3150 (gst_base_src_change_state):
3151 Match _start/_stop calls in the activate functions. Remove redundant
3152 _stop call from the state change function. Fixes #356910.
3153 Turn failure DEBUG into ERROR.
3155 2006-09-22 Wim Taymans <wim@fluendo.com>
3157 * docs/design/part-buffering.txt:
3158 * gst/gstmessage.c: (gst_message_new_buffering),
3159 (gst_message_parse_buffering):
3160 Update docs about buffering.
3162 * docs/design/part-trickmodes.txt:
3165 2006-09-22 Stefan Kost <ensonic@users.sf.net>
3167 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3168 (gst_controller_new_list):
3169 Ref instances when returning them again (fixes #357180)
3171 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
3173 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3174 Don't forget to release proxy lock when there's an error.
3176 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
3179 Add extra initialisers for Caps things, to fix some plugin warnings
3182 2006-09-18 Wim Taymans <wim@fluendo.com>
3184 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3185 Also set template on the internal pad so that a getcaps from the
3186 target pad returns the template caps.
3188 2006-09-18 Wim Taymans <wim@fluendo.com>
3190 * gst/gstelement.c: (gst_element_post_message),
3191 (gst_element_dispose):
3192 Use _DEBUG_OBJECT some more.
3194 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3197 * tools/gst-launch.c: (main):
3198 If the toplevel element is not a GstPipeline, it must be put in a
3199 pipeline so that a bus and clock is selected.
3201 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3203 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3204 JITTER, RATE, and LATENCY query should be handled by the
3205 default case and not by the CONVERT query code.
3207 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3209 * gst/gstformat.c: (gst_format_register):
3210 Fix locking order (must take lock before using n_values).
3212 * gst/gstvalue.c: (gst_value_serialize_enum),
3213 (gst_value_deserialize_enum_iter_cmp),
3214 (gst_value_deserialize_enum):
3215 Fix serialisation/deserialisation of custom registered GstFormats.
3217 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3218 Unit test for custom format serialisation/deserialisation.
3220 2006-09-17 Stefan Kost <ensonic@users.sf.net>
3222 * docs/pwg/building-boiler.xml:
3223 * plugins/elements/gstcapsfilter.c:
3224 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3227 2006-09-16 Edward Hervey <edward@fluendo.com>
3229 * libs/gst/base/gstbasetransform.c:
3230 (gst_base_transform_buffer_alloc):
3231 Check if requested caps are the same as the sinks caps IF
3232 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3234 This fixes the renegotiation issues stated in #352827.
3236 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3239 * docs/manual/advanced-autoplugging.xml:
3240 * tests/examples/Makefile.am:
3241 * tests/examples/manual/.cvsignore:
3242 * tests/examples/manual/Makefile.am:
3243 * tests/examples/manual/extract.pl:
3244 Extract the manual examples again like we used to do.
3247 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3249 * win32/common/config.h:
3252 2006-09-16 Stefan Kost <ensonic@users.sf.net>
3255 Documents how to receive errors.
3257 2006-09-15 Wim Taymans <wim@fluendo.com>
3259 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3260 (event_loop), (main):
3261 Added some comments here and there.
3262 Post an application message when an interrupt is caught instead of doing
3263 an uncontrolled state change.
3264 Clean up the event loop.
3265 Handle buffering messages, pause/resume the pipeline.
3266 Make shutdown because of an interrupt more reliable.
3268 2006-09-15 Wim Taymans <wim@fluendo.com>
3270 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3271 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3272 (gst_base_sink_preroll_object):
3273 Make sure that our internal state is correct when we commit our state
3274 asynchronously. This solves a race where a state change to PLAYING
3275 could cause the sink to remain blocked in preroll in some situations.
3277 2006-09-15 Wim Taymans <wim@fluendo.com>
3279 * tools/gst-inspect.c: (print_element_properties_info),
3280 (print_signal_info):
3281 List flags as hex so it's easier to deal with.
3283 2006-09-15 Wim Taymans <wim@fluendo.com>
3285 * docs/libs/gstreamer-libs-sections.txt:
3286 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3287 (gst_base_sink_do_sync):
3288 * libs/gst/base/gstbasesink.h:
3289 Expose logic to wait for preroll so that subclasses such as audiosink
3290 can also use this method.
3291 API: gst_base_sink_wait_preroll()
3293 2006-09-15 Wim Taymans <wim@fluendo.com>
3295 * gst/gstobject.c: (gst_object_set_parent):
3296 * gst/gstpipeline.c: (do_pipeline_seek):
3297 Small cleanups in docs and code.
3299 * gst/gstsegment.c: (gst_segment_clip):
3300 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3301 if stop == start and start is in the segment, no clipping should be
3302 done. Also add a test for this.
3304 2006-09-15 Wim Taymans <wim@fluendo.com>
3306 * docs/design/part-buffering.txt:
3307 * docs/gst/gstreamer-sections.txt:
3308 * gst/gstmessage.c: (gst_message_new_buffering),
3309 (gst_message_parse_buffering):
3311 Added methods to create and parse BUFFERING messages.
3312 Added preliminary docs about buffering.
3313 API: gst_message_new_buffering
3314 API: gst_message_parse_buffering
3316 2006-09-06 Wim Taymans <wim@fluendo.com>
3319 Update documentation.
3321 * gst/gstelement.c: (gst_element_class_init),
3322 (gst_element_release_request_pad), (gst_element_set_clock),
3323 (gst_element_get_index), (gst_element_add_pad),
3324 (gst_element_remove_pad), (gst_element_get_random_pad),
3325 (gst_element_send_event), (gst_element_get_query_types),
3326 (gst_element_query), (gst_element_post_message),
3327 (gst_element_message_full), (gst_element_continue_state),
3328 (gst_element_lost_state), (gst_element_save_thyself),
3329 (gst_element_restore_thyself):
3330 Documentation updates.
3331 Rename last bit of the new-pad -> pad-added signal rename.
3332 Fix the case where an element query would only work if the source
3334 Avoid some useless type checking in message handling.
3339 Documentation updates.
3341 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3343 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3344 add an INFO line for when we actually update the fd
3346 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3351 === release 0.10.10 ===
3353 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3356 releasing 0.10.10, "Pais"
3358 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
3360 * docs/manual/advanced-position.xml:
3361 Fix typo in sample code.
3363 2006-09-05 Wim Taymans <wim@fluendo.com>
3365 * libs/gst/net/gstnetclientclock.c: (inet_aton),
3366 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3367 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3368 * libs/gst/net/gstnetclientclock.h:
3369 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3370 * libs/gst/net/gstnettimepacket.h:
3371 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3372 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3373 (gst_net_time_provider_thread), (gst_net_time_provider_new):
3374 * libs/gst/net/gstnettimeprovider.h:
3375 Make stuff compile on windows. Fixes #345295.
3377 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3379 * gst/gst.c: (ensure_current_registry_forking):
3380 Print better details when child was terminated by signal.
3382 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3384 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3385 Print a warning rather than g_assert() if a plugin feature
3386 is a URI handler but returns no protocols (#353976).
3388 2006-09-02 Stefan Kost <ensonic@users.sf.net>
3390 * docs/random/moving-plugins:
3393 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
3395 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3396 Fix locking order, handle NULL function values properly.
3401 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3402 Initialise variable before using it and fix debug statement to
3403 print the address of the function rather than the address of the
3404 variable on the stack holding the address of the function.
3406 2006-09-01 Wim Taymans <wim@fluendo.com>
3408 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3409 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3410 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3411 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3412 (gst_ghost_pad_parent_unset),
3413 (gst_ghost_pad_internal_do_activate_push),
3414 (gst_ghost_pad_internal_do_activate_pull),
3415 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3416 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3417 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3418 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3419 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3420 (gst_ghost_pad_new_no_target_from_template),
3421 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3423 Avoid needless typechecking in macros.
3424 Since the internal pad is always present and never changes, there is
3425 no need to locking or ref when retrieving it.
3426 Improve debugging a bit.
3427 Handle link errors when setting the target. Fixes #341029.
3429 2006-09-01 Wim Taymans <wim@fluendo.com>
3431 * docs/libs/gstreamer-libs-sections.txt:
3432 * docs/plugins/gstreamer-plugins-sections.txt:
3435 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3436 (gst_collect_pads_event):
3437 * libs/gst/base/gstcollectpads.h:
3438 Documentation updates.
3439 Free queued buffer when removing a pad.
3441 2006-08-31 Michael Smith <msmith@fluendo.com>
3443 * gst/gstutils.c: (gst_element_link_pads),
3444 (gst_element_link_pads_filtered):
3445 Ensure that we set a capsfilter to NULL if we failed to link it
3446 when doing filtered linking, to avoid criticals.
3448 No need to check for unreffing srcpad, which is explicly NULLed
3449 above (a trivial code cleanup).
3451 2006-08-31 Wim Taymans <wim@fluendo.com>
3453 * docs/design/part-gstghostpad.txt:
3454 Update ascii art in documentation.
3456 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3457 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3458 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3459 (gst_ghost_pad_internal_do_activate_push),
3460 (gst_ghost_pad_internal_do_activate_pull),
3461 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3462 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3463 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3464 (gst_ghost_pad_set_target):
3465 Small cleanups and leak fixes.
3466 Remove some checks now that the internal pad is never NULL.
3467 Fix the case where linking pads without a target would create nasty
3468 criticals. Fixes #341029.
3469 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3470 value of _set_target().
3472 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3473 (gst_ghost_pad_suite):
3474 Some more tests for creating and linking untargeted ghostpads.
3476 2006-08-31 Edward Hervey <edward@fluendo.com>
3478 * docs/gst/gstreamer-sections.txt:
3479 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3480 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3481 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3482 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3483 (gst_ghost_pad_new_from_template),
3484 (gst_ghost_pad_new_no_target_from_template):
3485 * gst/gstghostpad.h:
3486 Refactored *_new() functions.
3487 Templates are now used as a g_object_new() parameter.
3488 Use template in _do_getcaps() if we don't have a target.
3489 Small documentation cleanups.
3490 Added two new constructors:
3491 gst_ghost_pad_new_from_template()
3492 gst_ghost_pad_new_no_target_from_template()
3493 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3494 (gst_ghost_pad_suite):
3495 Added tests for new ghostpad instanciation functions.
3497 API additions: gst_ghost_pad_new_from_template,
3498 gst_ghost_pad_new_no_target_from_template
3500 2006-08-30 Stefan Kost <ensonic@users.sf.net>
3502 * docs/random/ensonic/profiling.txt:
3503 Ideas about qos profiling.
3505 2006-08-29 Wim Taymans <wim@fluendo.com>
3507 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3511 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
3514 Improve and detypofy docs.
3516 * tests/check/Makefile.am:
3517 * tests/check/gst/.cvsignore:
3518 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3519 Add a basic test suite for GstXML.
3521 2006-08-29 Wim Taymans <wim@fluendo.com>
3523 * gst/gstelement.c: (activate_pads), (clear_caps),
3524 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3525 Clear the pad caps when the element shut down all of the pads and
3526 is not streaming data that could modify the caps.
3529 2006-08-28 Michael Smith <msmith@fluendo.com>
3531 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3532 Revert previous change; I misunderstood single-segment mode.
3534 2006-08-28 Michael Smith <msmith@fluendo.com>
3536 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3537 Unset DISCONT on buffers when using single-segment mode.
3539 2006-08-28 Wim Taymans <wim@fluendo.com>
3541 * gst/gstcaps.c: (gst_caps_merge_structure):
3543 Fix docs and indentation again.
3545 * tests/check/gst/gstquery.c: (GST_START_TEST):
3546 Fix leak in tests and add some more tests.
3548 2006-08-28 Edward Hervey <edward@fluendo.com>
3550 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3551 Inform GstSegment of the last stop position in order for the current
3552 segment to have a proper duration if it doesn't have a specific stop
3553 position from which a duration could be calculated.
3554 This bug was noticeable when a non-flushing, non-update new segment was
3555 followed by another segment (all buffers from the new segment were being
3558 2006-08-28 Wim Taymans <wim@fluendo.com>
3560 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3561 Small comment update.
3563 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3564 (gst_identity_transform_ip):
3565 Drop-probability is broken, mention this in the code with a
3566 FIXME and also in the property description.
3567 Make silent also be silent about the drop messages.
3569 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
3571 * docs/manual/appendix-win32.xml:
3572 Remove mention of popt, we don't depend on that any
3573 longer (#353136). Add some comments pointing out that
3574 this section is slightly outdated.
3576 2006-08-28 Wim Taymans <wim@fluendo.com>
3578 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3580 * gst/gstquery.c: (gst_query_new_segment):
3581 * tests/check/gst/gstquery.c: (GST_START_TEST):
3582 Initialize variables when creating a new segment query.
3585 2006-08-28 Wim Taymans <wim@fluendo.com>
3587 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3589 * gst/gstelement.c: (gst_element_get_bus):
3590 * tests/check/gst/gstelement.c: (GST_START_TEST):
3591 Check for NULL before _reffing the bus. Fixes #353122.
3593 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
3595 * docs/manual/basics-bus.xml:
3596 Docs update: fix wrong callback return value explanation; add
3597 some lines about the implicit relationship between main loop
3598 and main context; remove duplicate main loop variable declaration.
3600 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
3602 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3603 Don't leak caps in unit test; add a few more simple
3606 2006-08-24 Stefan Kost <ensonic@users.sf.net>
3608 * docs/gst/gstreamer-sections.txt:
3609 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3610 (gst_caps_structure_is_subset), (gst_caps_merge),
3611 (gst_caps_merge_structure):
3613 * libs/gst/base/gstbasetransform.c:
3614 (gst_base_transform_transform_caps):
3615 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3616 implement caps merging (fixes #352580)
3618 2006-08-23 Stefan Kost <ensonic@users.sf.net>
3620 * tools/Makefile.am:
3621 * tools/gst-plot-timeline.py:
3622 add debug-log plotting developer tool (#340674)
3624 2006-08-23 Wim Taymans <wim@fluendo.com>
3626 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3627 (gst_pad_stop_task):
3628 Improve debugging for task functions.
3630 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3631 (gst_task_start), (gst_task_pause), (gst_task_join):
3632 Make sure that the task function started and finished after a
3634 Don't try to push the task function on the threadpool multiple
3636 Improve the g_warning message with some useful suggestions
3637 about how to fix the problem.
3639 2006-08-23 Wim Taymans <wim@fluendo.com>
3641 * gst/gstutils.c: (gst_pad_proxy_getcaps):
3642 Handle RESYNC correctly in _proxy_getcaps.
3644 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
3646 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3647 (gst_xml_parse_memory), (gst_xml_get_element):
3648 Chain up to parent class in dispose function and also
3649 unref the elements in the toplevel_elements GList.
3650 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3651 Always return a reference in gst_xml_get_element() rather
3652 than only sometimes.
3654 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3655 Don't leak GstXml object.
3657 2006-08-21 Stefan Kost <ensonic@users.sf.net>
3659 * docs/gst/gstreamer-sections.txt:
3660 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3663 * libs/gst/base/gstbasetransform.c:
3664 (gst_base_transform_transform_caps):
3665 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3668 2006-08-21 Edward Hervey <edward@fluendo.com>
3670 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3671 Implement GObject::dispose virtual method in GstXML so we can free the
3674 2006-08-21 Wim Taymans <wim@fluendo.com>
3676 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3677 (gst_buffer_create_sub):
3678 Copy duration/offset_end/caps when creating a subbuffer of the
3680 Make the subbuffer read-only when we make the metadata writable for
3683 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3684 Added check for metadata copy when creating subbuffers.
3686 2006-08-21 Edward Hervey <edward@fluendo.com>
3688 * libs/gst/base/gstbasetransform.c:
3689 (gst_base_transform_buffer_alloc):
3690 Only call downstream buffer_alloc if transform element is passthrough
3691 or always_in_place. Closes #350449.
3693 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3696 ChangeLog surgery to add comments to previous changes
3698 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3703 * gst/gstpad.c: (gst_pad_set_active):
3704 Be more verbose in the log
3706 * libs/gst/base/gstbasetransform.c:
3707 (gst_base_transform_transform_caps):
3708 Simplify caps to get rid of duplicates, fixes #345444
3710 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3714 Use these optimizations only internally.
3716 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3718 * gst/gstvalue.c: (gst_value_compare_list),
3719 (gst_value_compare_fraction_range),
3720 (gst_value_intersect_fraction_fraction_range),
3721 (gst_value_intersect_fraction_range_fraction_range),
3722 (gst_value_subtract_fraction_fraction_range),
3723 (gst_value_subtract_fraction_range_fraction_range),
3724 (gst_value_get_compare_func), (gst_value_compare),
3725 (gst_value_compare_with_func):
3727 Saves the expensive lookup of the compare function in many cases
3730 2006-08-18 Edward Hervey <edward@fluendo.com>
3732 * tests/check/gst/gstinfo.c: (gst_info_suite):
3733 Disable test that require gstdebug if it wasn't built in core.
3735 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3737 * docs/random/ensonic/logging.txt:
3740 * gst/gstinfo.c: (gst_debug_log_default):
3741 reorder fields, save some columns, add optional color codes for log
3744 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3746 * docs/random/ensonic/logging.txt:
3747 add ideas about making the logs a bit more useful
3749 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3751 * docs/pwg/advanced-events.xml:
3752 * docs/pwg/titlepage.xml:
3753 Update for 0.10 API (#340627). Add myself
3756 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3758 * docs/libs/gstreamer-libs-docs.sgml:
3759 * docs/libs/gstreamer-libs-sections.txt:
3760 * libs/gst/check/gstbufferstraw.c:
3761 Make gstcheck stuff show up in docs (still needs to
3762 be documented properly though).
3764 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
3766 * docs/gst/gstreamer-sections.txt:
3768 * gst/gst.c: (init_post):
3769 * gst/gst_private.h:
3770 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3772 * gst/gstquery.c: (gst_query_new_position),
3773 (gst_query_set_position), (gst_query_parse_position),
3774 (gst_query_new_duration), (gst_query_set_duration),
3775 (gst_query_parse_duration), (gst_query_new_convert),
3776 (gst_query_set_convert), (gst_query_parse_convert),
3777 (gst_query_new_segment), (gst_query_set_segment),
3778 (gst_query_parse_segment), (gst_query_new_seeking),
3779 (gst_query_set_seeking), (gst_query_parse_seeking):
3780 Add internal helpers for pre-registering quarks from static strings
3781 and using the quark values directly instead of looking them up when
3782 creating and parsing queries. Can be used for event construction too.
3785 2006-08-16 Wim Taymans <wim@fluendo.com>
3790 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3792 * gst/gstutils.c: (gst_util_set_value_from_string):
3793 Fix memleak (#351502).
3795 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3796 Add unit test for most of gst_util_set_value_from_string()
3797 (not that one would want to encourage use of this function).
3799 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3801 * libs/gst/check/gstcheck.h:
3802 Use const gchar * variables in fail_unless_equals_string
3803 macro to avoid compiler warnings (and don't use tabs for
3806 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3808 * tools/gst-launch.c: (print_tag):
3809 More space on the left for the tag names, to cater
3810 for the 'extended comment' tag (not touching the
3811 string for the first line since it's translated).
3813 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3815 * libs/gst/check/gstcheck.h:
3816 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
3817 print something when they fail.
3819 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3821 * docs/gst/gstreamer-sections.txt:
3822 * gst/gsttaglist.c: (_gst_tag_initialize):
3824 API: add GST_TAG_EXTENDED_COMMENT (#350935).
3825 Also change merge function for GST_TAG_COMMENT to
3828 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3830 * gst/gstinfo.c: (gst_debug_print_object):
3831 Make GST_PTR_FORMAT print messages as well.
3833 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
3834 (GST_START_TEST), (gst_info_suite):
3837 2006-08-14 Edward Hervey <edward@fluendo.com>
3839 * gst/gstelementfactory.c: (gst_element_register):
3840 If the GstElementClass doesn't have a GstElementDetails with all fields
3841 filled up correctly (longname, description AND author), then error out
3842 nicely instead of crashing.
3844 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3846 * gst/gststructure.c:
3847 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
3850 Expand on the difference between arrays and lists as we use them.
3852 2006-08-14 Wim Taymans <wim@fluendo.com>
3854 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3855 If the parent state change function failed, don't assume we can safely
3856 stop the source, this will be done when the pads are deactivated.
3858 2006-08-14 Wim Taymans <wim@fluendo.com>
3861 * gst/gsttask.c: (gst_task_join):
3864 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3865 (gst_pad_stop_task):
3866 When pad (de)activation failed for some reason, restore the old
3867 activation mode and set the pad to flushing instead of assuming the
3869 If the _task_join() failed, reinstall the task on the pad so that it can
3870 be stopped later and return an error.
3872 2006-08-11 Andy Wingo <wingo@pobox.com>
3875 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3876 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
3877 is only for users of API that don't want to see deprecated
3878 functions in the headers; people that want to compile out
3879 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
3880 CFLAGS. Fixes the build of multifdsink, or will soon..
3882 2006-08-11 Wim Taymans <wim@fluendo.com>
3884 * docs/gst/gstreamer-sections.txt:
3885 Add GstClockClass vmethod docs.
3888 Mark #endif with comment for associated #if
3890 * gst/gstclock.c: (gst_clock_id_wait):
3892 Add vmethod wait_jitter to avoid an unneeded _get_time() for
3893 most clock implementations.
3895 Flesh out docs about resolution methods.
3896 API: GstClockClass::wait_jitter
3898 * gst/gstsystemclock.c: (gst_system_clock_class_init),
3899 (gst_system_clock_async_thread),
3900 (gst_system_clock_id_wait_jitter_unlocked),
3901 (gst_system_clock_id_wait_jitter):
3902 Use base class wait_jitter variant for improved performance
3903 due to less clock polling.
3905 2006-08-11 Edward Hervey <edward@fluendo.com>
3907 * gst/gst.c: (gst_init_check), (init_post):
3908 Set gst as being initialized before scanning/updating the registry,
3909 since there might be my python plugin loader that calls gst_init() and
3910 we don't want to loop back in.
3913 2006-08-11 Wim Taymans <wim@fluendo.com>
3915 * docs/design/part-qos.txt:
3916 Bring docs in line with the code. Mostly the sign of the jitter was
3917 wrong in the docs. Fixes #349943.
3920 Fix the docs for the jitter.
3922 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
3923 (gst_event_parse_tag), (gst_event_new_buffer_size),
3924 (gst_event_parse_buffer_size), (gst_event_parse_qos),
3925 (gst_event_new_seek), (gst_event_parse_seek),
3926 (gst_event_new_navigation):
3927 Make sure the GstStructure has no parent when creating custom
3929 Add some more argument checking so that we avoid 0.0 rates.
3930 Flesh out the docs for the QoS event some more.
3932 2006-08-11 Wim Taymans <wim@fluendo.com>
3934 * docs/gst/gstreamer-sections.txt:
3935 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3936 (ensure_current_registry_forking), (ensure_current_registry),
3937 (parse_one_option), (parse_goption_arg), (gst_deinit),
3938 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
3941 Added API and command line option to disable registry forking in
3942 addition to the environment variable.
3943 Constify some static arrays.
3944 Added some more debug.
3946 API: gst_registry_fork_is_enabled()
3947 API: gst_registry_fork_set_enabled()
3948 API: --gst-disable-registry-fork command line option
3951 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
3953 * gst/gst.c: (gst_init):
3954 Fix typo in error message.
3956 2006-08-10 Stefan Kost <ensonic@users.sf.net>
3958 * libs/gst/controller/gstcontroller.h:
3959 fix ABI size-correction
3961 * tests/check/libs/gdp.c: (gst_dp_suite):
3962 make tests that use deprecated API conditional
3964 2006-08-10 Stefan Kost <ensonic@users.sf.net>
3966 * docs/libs/gstreamer-libs-sections.txt:
3967 * libs/gst/controller/gstcontroller.c:
3968 (_gst_controller_get_property), (_gst_controller_set_property),
3969 (_gst_controller_init), (_gst_controller_class_init):
3970 * libs/gst/controller/gstcontroller.h:
3971 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
3972 (gst_object_set_control_rate):
3973 API: add gst_object_{s,g}et_control_rate(), add private data section,
3976 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3977 * libs/gst/dataprotocol/dataprotocol.h:
3978 add deprecation guards to make gtk-doc happy and allow disabling cruft
3980 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
3982 * tests/check/Makefile.am:
3983 * tests/check/gst/.cvsignore:
3984 Let's enable the new unit test as well.
3986 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
3989 * docs/gst/gstreamer-sections.txt:
3990 * gst/gstconfig.h.in:
3991 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
3992 (_gst_info_printf_extension_ptr),
3993 (_gst_info_printf_extension_segment):
3994 API: add GST_SEGMENT_FORMAT, which is a printf extension we
3995 register that lets us easily dump GstSegments into debug
3998 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
3999 (info_segment_format_printf_extension), (gst_info_suite):
4000 Add simple unit test that logs a bunch of different segments (not
4001 valgrinded at the moment because of leaks in
4002 gst_debug_add_log_function).
4004 2006-08-09 Edward Hervey <edward@fluendo.com>
4006 * libs/gst/base/gstbasetransform.c:
4007 (gst_base_transform_buffer_alloc):
4008 Even if we can't figure out the proper format to request downstream,
4009 call buffer_alloc() downstream with the input parameters without setting
4010 the caps on the srcpad. This will force negotiation in the chain
4014 2006-08-08 Edward Hervey <edward@fluendo.com>
4016 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4017 Unlinking from a pad without a target is now a perfectly valid case
4018 which should NOT raise an assertion.
4019 This case would happen if a linked ghostpad its target set to NULL after
4020 it was previously linked.
4022 2006-08-08 Edward Hervey <edward@fluendo.com>
4024 * tests/check/libs/gdp.c:
4025 Also comment out the test (see below).
4027 2006-08-08 Edward Hervey <edward@fluendo.com>
4029 * tests/check/libs/gdp.c: (gst_dp_suite):
4030 Use the architecture information from config.h and not gcc macros
4031 in order to properly disable a test that fails on PPC64.
4033 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
4035 * gst/gstelement.c: (gst_element_remove_pad):
4036 Don't crash printing the warning if the pad has no parent.
4038 2006-08-02 Wim Taymans <wim@fluendo.com>
4040 * libs/gst/dataprotocol/dataprotocol.c:
4041 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4042 (gst_dp_crc), (gst_dp_header_payload_length),
4043 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4044 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4045 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4046 (gst_dp_event_from_packet), (gst_dp_validate_header),
4047 (gst_dp_validate_payload):
4048 Make debug category static
4049 Constify the crc table.
4050 Do some more arg checking in public functions.
4051 Fix some docs and do some small cleanups.
4053 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4054 Add some more checks to see if GDP deals with bogus input.
4056 2006-07-31 Wim Taymans <wim@fluendo.com>
4058 * gst/gstvalue.c: (gst_value_compare_list):
4059 Fix GstValueList comparison code. Fixes #347293.
4061 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4062 Check to test GstValueList comparison.
4064 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4066 * gst/gstelementfactory.c: (gst_element_factory_create):
4067 Remove unnecessary ref/unref pair
4069 * gst/parse/grammar.y:
4070 Make sure to free the parse buffer on all code paths.
4071 Move a g_free up to the error handler where it's easier to see.
4073 * tests/check/gst/gstevent.c: (test_event):
4074 Extending timeout for downstream travelling events to 10 seconds to
4075 hopefully avoid intermittent failure on the buildbots.
4077 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4078 Don't manually set the state of the src element - it will happen as a
4079 natural consequence of the pipeline changing state, and that way it
4080 will do it in the right order too.
4082 2006-07-31 Wim Taymans <wim@fluendo.com>
4084 * libs/gst/base/gstbasetransform.c:
4085 (gst_base_transform_buffer_alloc):
4086 Use OBJECT_LOCK and refcounting to get the pad caps in the
4087 buffer_alloc function because the caps could change while we are
4088 busy with them. Fixes #349105
4090 2006-07-31 Wim Taymans <wim@fluendo.com>
4092 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4093 Protect _PAD_CAPS with OBJECT_LOCK.
4095 2006-07-31 Wim Taymans <wim@fluendo.com>
4097 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4098 (gst_pad_get_property), (gst_pad_activate_pull),
4099 (gst_pad_activate_push), (gst_pad_set_blocked_async),
4100 (gst_pad_set_activate_function),
4101 (gst_pad_set_activatepull_function),
4102 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4103 (gst_pad_set_getrange_function),
4104 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4105 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4106 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4107 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4108 (gst_pad_set_acceptcaps_function),
4109 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4110 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4111 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4112 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4113 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4114 (gst_pad_configure_sink), (gst_pad_configure_src),
4115 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4116 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4117 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4118 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4119 (gst_pad_send_event):
4120 Use _DEBUG_OBJECT when it makes sense.
4121 Protect GST_PAD_CAPS with the OBJECT_LOCK.
4122 Small cleanups and code reflows.
4123 Avoid caps refcounting in _accept_caps.
4124 Refactor alloc_buffer so that the code performed on the peer is in a
4125 separate function. Also if the pad does not implement a buffer alloc
4126 function, we should still check if the pad is flushing before falling
4127 back to the default allocator.
4129 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4131 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4132 Make all uses of identity and fakesink have silent=true to avoid
4133 serialising every passing data structure, which is breaking tests
4134 on FC4 for some unknown reason.
4136 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4138 * gst/parse/Makefile.am:
4139 * gst/parse/grammar.y:
4140 * gst/parse/parse.l:
4141 Reverted previous patch as it required to bump the flex dependency to
4142 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4144 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4146 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4148 * gst/parse/Makefile.am:
4149 * gst/parse/grammar.y:
4150 * gst/parse/parse.l:
4151 push & pop the state of the lexer for reentrant use case
4154 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
4156 * libs/gst/base/gstbasesrc.h:
4157 Note in the docs that the ::newsegment vfunc is not actually used by
4160 2006-07-28 Wim Taymans <wim@fluendo.com>
4162 * libs/gst/base/gstcollectpads.c:
4163 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4164 (gst_collect_pads_clear), (gst_collect_pads_flush),
4165 (gst_collect_pads_event), (gst_collect_pads_chain):
4166 When flushing a pad, also clear the queued buffer so that we don't
4167 accidentally use it when we shouldn't.
4168 Fix leaks by inreffing incomming buffer.
4169 Flush out queued buffers in case of errors.
4172 2006-07-28 Wim Taymans <wim@fluendo.com>
4174 * docs/random/phonon-gst:
4175 Random notes about a Phonon backend.
4177 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4179 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4181 * tests/check/libs/gdp.c: (gst_dp_suite):
4182 Take a whack at fixing the ppc compile using a different define to
4183 disable the broken test.
4185 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4186 Remove excess g_print()
4188 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4190 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4191 Oops, meant to uncomment this line too to dampen the noise a bit.
4193 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4195 * gst/parse/grammar.y:
4196 * gst/parse/parse.l:
4197 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4198 (GST_START_TEST), (parse_suite):
4199 Fix some of the leaks exposed by extending the parse-launch testsuite,
4200 and move the 3 I can't figure out into a separate test that won't run
4201 the pipelines unless the appropriate line is uncommented.
4203 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4205 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4206 Requesting 0 bytes before the end of the file should result in
4207 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4210 2006-07-27 Wim Taymans <wim@fluendo.com>
4212 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4213 Fix useless assert, a uint is always positive.
4215 * gst/gststructure.c: (gst_structure_nth_field_name),
4216 (gst_structure_foreach), (gst_structure_map_in_place):
4217 Check input arguments for public functions to avoid obvious crashes.
4219 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4220 * plugins/elements/gstfakesink.h:
4221 Do less useless typechecking.
4223 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4225 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4226 Do not use mmap() by default since there are a number of error
4227 conditions that we would like to handle in a non-fatal way that
4228 will result in a SIGBUS if we use mmap(). Examples: external
4229 devices (USB harddrive, portable music player) being unplugged
4230 while in use; file on mounted CD/DVD that can't be read because
4231 the medium is partly damaged. Fixes #348455 and #348475.
4233 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4236 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4239 2006-07-26 Stefan Kost <ensonic@users.sf.net>
4241 * gst/gstregistry.c:
4242 Move big documentation comment into class section header, so that it
4243 appears in the API docs.
4245 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4247 * docs/gst/gstreamer-sections.txt:
4248 Oops. Commit the docs additions too for new API.
4249 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4251 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4253 * gst/gststructure.c: (gst_structure_id_set),
4254 (gst_structure_id_set_valist):
4255 * gst/gststructure.h:
4256 Add API for setting values into structures without performing
4257 a quark lookup, if the appropriate quark is already known.
4259 API: gst_structure_id_set
4260 API: gst_structure_id_set_valist
4262 * gst/parse/grammar.y:
4263 * gst/parse/parse.l:
4264 Remove some dead code shown by the coverage information.
4265 Don't throw a critical g_warning when encountering a syntax error,
4266 just warn and let the normal error path handle it.
4268 * plugins/elements/gstelements.c:
4269 Bump the rank of filesink up to PRIMARY so that it is preferred over
4270 gnomevfssink for file:// sink uri's
4272 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4273 (GST_START_TEST), (run_delayed_test),
4274 (gst_parse_test_element_base_init),
4275 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4276 (gst_parse_test_element_change_state),
4277 (gst_register_parse_element), (parse_suite):
4278 Beef up the tests for parse syntax to check that more error cases
4279 fail as they are supposed to. Increases the test coverage a bit.
4281 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
4283 * docs/manual/basics-elements.xml:
4284 Fix gst_element_link() example.
4287 Mention in API docs that one should usually gst_bin_add()
4288 elements to a bin or pipeline before doing the linking.
4290 2006-07-26 Wim Taymans <wim@fluendo.com>
4292 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4293 (gst_subbuffer_get_type), (gst_buffer_create_sub):
4294 Avoid function call for known types by keeping the buffer and
4295 subbuffer GType global.
4297 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4298 Random silly optimisations in read() path.
4300 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4302 * tools/gst-launch.c: (main):
4303 If the top-level of the parse is a normal bin, it doesn't do the
4304 right logic to run as a top-level element, so place it inside a
4307 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
4309 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4310 Remove superfluous g_object_notify() calls, GObject does
4311 that for us automatically.
4313 2006-07-25 Stefan Kost <ensonic@users.sf.net>
4316 on Win32, use dllspec to export the debug category symbols
4318 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
4320 * gst/gsttaglist.c: (_gst_tag_initialize):
4321 Allow more than one GST_TAG_IMAGE per taglist.
4323 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
4325 * gst/gstminiobject.c:
4327 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4328 (gst_fd_src_create):
4329 log recurring events at LOG level
4330 add more debug for when the fd gets set
4332 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4334 * gst/gstparse.c: (gst_parse_launch):
4335 Also remove reentrance checks if flex is MT safe (#348179)
4336 Fix my empty ChangeLog entry below
4338 2006-07-21 Andy Wingo <wingo@pobox.com>
4340 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4342 * libs/gst/check/Makefile.am
4343 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4344 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
4345 * libs/gst/check/gstbufferstraw.h:
4346 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4347 functions, thus proving I am still a GStreamer haxor. OK I wrote
4348 them a long time ago, but anyways.
4350 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4353 * gst/gstparse.c: (gst_parse_launch):
4354 Check for flex version and omit mutex if we have a MT save flex
4357 2006-07-21 Wim Taymans <wim@fluendo.com>
4359 * gst/gstparse.c: (gst_parse_launch):
4360 Protect recursive calls to _parse with a recursive mutex
4363 2006-07-21 Wim Taymans <wim@fluendo.com>
4365 * tests/check/gst/gstpad.c: (GST_START_TEST):
4368 2006-07-20 Stefan Kost <ensonic@users.sf.net>
4370 * gst/gstparse.c: (gst_parse_launch):
4371 Do not hang on recursive usage of gst_parse_launch()
4373 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4376 Add some more docs, comments and FIXME 0.11s here and there
4377 and also fix some typos.
4379 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4382 Convert tabs to spaces for better readability.
4384 2006-07-20 Edward Hervey <edward@fluendo.com>
4386 * tests/check/libs/gdp.c: (gst_dp_suite):
4387 the test_buffer test fails at line 140 on ppc64 at the following
4389 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4390 GST_BUFFER_FLAG_IN_CAPS),
4391 "GST_BUFFER_IN_CAPS flag should have been copied !");
4392 See bug #348114 for more details.
4394 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
4396 * docs/pwg/advanced-scheduling.xml:
4398 Fix typos (#348000).
4400 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
4402 * docs/pwg/intro-basics.xml:
4403 Fix wrong links (#347927).
4405 2006-07-18 Stefan Kost <ensonic@users.sf.net>
4407 * gst/gstregistry.h:
4408 * gst/gstregistryxml.c: (load_feature),
4409 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4410 * win32/common/config.h:
4411 make --disable-index work (#342564)
4413 2006-07-18 Wim Taymans <wim@fluendo.com>
4415 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4419 The attached patch adds two missing defines to gsttrace.h when tracing
4420 is disabled. It also corrects one existing define.
4423 2006-07-17 Wim Taymans <wim@fluendo.com>
4425 * docs/gst/gstreamer-sections.txt:
4426 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4428 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4429 Add two functions to check and change the SIGSEGV behaviour
4430 when loading plugins.
4431 Don't mess with the SIGSEGV handler when we were told not to.
4433 API: gst_segtrap_is_enabled
4434 API: gst_segtrap_set_enabled
4436 2006-07-14 Wim Taymans <wim@fluendo.com>
4438 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4439 * tests/check/elements/filesrc.c: (GST_START_TEST):
4440 Revert fix for regression in #347408 after release.
4442 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
4444 Patch by: Antoine Tremblay <hexa00 at gmail com>
4446 * gst/gstutils.c: (gst_element_unlink):
4447 Free iterator when done (#347311).
4449 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4450 And add a test case for this.
4452 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
4455 Bump nano back to CVS
4457 === release 0.10.9 ===
4459 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
4462 releasing 0.10.9, "On the road again"
4464 2006-07-13 Wim Taymans <wim@fluendo.com>
4466 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4467 * tests/check/elements/filesrc.c: (GST_START_TEST):
4468 Revert pull-0 fix for release. Disable check. Fixes #347408.
4470 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4472 * libs/gst/dataprotocol/dataprotocol.c:
4473 (gst_dp_event_from_packet_1_0):
4474 Fixes #347337: failure to deserialize event packets with
4475 empty payload (only event type)
4477 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4480 do not install a .c file in the header directory
4482 2006-07-13 Edward Hervey <edward@fluendo.com>
4484 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4485 GhostPad no longer implicitely use the padtemplates of the targets.
4488 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
4490 * gst/gstvalue.c: (gst_value_compare_list),
4491 (gst_value_compare_array), (_gst_value_initialize):
4492 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4493 Make GstValueArray comparison be order dependent as designed.
4494 Add checks for value lists and value array comparisons.
4497 2006-07-11 Edward Hervey <edward@fluendo.com>
4499 * gst/gstbin.c: (activate_pads),
4500 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4501 (gst_bin_change_state_func):
4502 (de)activate src pads before calling state_change on the childs.
4503 This is to avoid the case where a src ghostpad is blocked (holding the
4504 stream lock), which would block the deactivation of the ghostpad's
4506 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4507 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4508 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4509 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4510 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4511 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4512 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4513 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4514 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4515 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4516 (gst_ghost_pad_class_init),
4517 (gst_ghost_pad_internal_do_activate_push),
4518 (gst_ghost_pad_internal_do_activate_pull),
4519 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4520 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4521 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4522 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4523 GhostPads now create their internal GstProxyPad at creation (and not
4524 when they're linked, as it was being done previously).
4525 The internal and target pads are linked straight away.
4526 The data will also travel through the other pad in order to make
4527 pad blocking and probes non-hackish (the probe/block now really happens
4528 on the GhostPad and not on the target).
4529 * gst/gstpad.c: (gst_pad_set_blocked_async),
4530 (gst_pad_link_prepare), (gst_pad_push_event):
4531 Remove previous ghostpad cruft.
4532 * gst/gstutils.c: (gst_pad_add_data_probe),
4533 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4534 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4535 (gst_pad_remove_buffer_probe):
4536 Remove previous ghost pad cruft.
4537 Added more detailed debug statements.
4538 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4539 Fix the testsuite for refcounting changes.
4540 The comments about who has references were correct, but the refcount
4541 being checked wasn't the same (!?!).
4545 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4547 * docs/gst/gstreamer-sections.txt:
4548 * gst/gstconfig.h.in:
4549 More docs for configuration options, add docs to gtk-doc.
4551 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4554 * gst/gstconfig.h.in:
4555 * win32/common/config.h:
4556 Fix build when disabling tracing (fixes #344016). Also start to document
4557 the defines that disable the sub-systems.
4559 2006-07-10 Edward Hervey <edward@fluendo.com>
4561 * gst/gst.c: (ensure_current_registry_forking):
4562 let's make valgrind happy...
4564 2006-07-09 Wim Taymans <wim@fluendo.com>
4566 * gst/gstelement.c: (activate_pads),
4567 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4568 Better pad activation code: Reset the collect value too on resync.
4571 2006-07-09 Wim Taymans <wim@fluendo.com>
4573 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4574 (gst_pad_activate_push):
4575 Use some more macros where it makes sense.
4576 Allow pad mode switching instead of asserting. When a pad
4577 is activated in one mode and we activate it in another,
4578 deactivate it first before activating it in a different mode.
4581 2006-07-08 Andy Wingo <wingo@pobox.com>
4583 * tools/gst-launch.c (main): Handle err == NULL.
4585 * gst/gst.c (init_post, ensure_current_registry)
4586 (ensure_current_registry_forking)
4587 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4588 factoring out the registry scanning into separate functions. Don't
4589 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4590 Better environment var name/interface suggestions accepted.
4592 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4594 * gst/gstobject.c: (gst_object_set_name_default),
4595 (gst_object_set_name):
4596 Random micro-optimisation: don't use a hash table
4597 with strings as keys and the usual strdup/strcmp
4598 involved, but rather just use the GQuark of the
4599 type name as key, since it needs to be looked up
4600 anyway to get the type name string.
4602 * tests/check/gst/gstobject.c: (GST_START_TEST):
4605 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4607 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4608 (gst_bin_iterate_all_by_interface):
4609 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4610 GTypes are gulongs and thus the top 4 bytes might be cut
4611 off on some platforms when doing GPOINTER_TO_INT, leading
4612 to invalid GTypes and bad things happening (see RH bug #179654).
4613 Also add a check to make sure the type passed in is really
4616 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4621 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4625 * gst-element-check.m4:
4626 * gst-element-check.m4.in:
4627 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4628 instead of the unversioned gst-inspect (#324176, #168659).
4630 2006-07-06 Wim Taymans <wim@fluendo.com>
4633 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4636 2006-07-06 Wim Taymans <wim@fluendo.com>
4638 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4639 (gst_base_src_wait), (gst_base_src_update_length),
4640 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4641 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4642 (gst_base_src_loop), (gst_base_src_start),
4643 (gst_base_src_activate_pull):
4645 blocksize == 0 now means the default blocksize when working in push
4647 Remove some pointless asserts in _wait function.
4648 Fix offset/length calculations and EOS handling. We can now pull 0
4649 bytes as well, which is allowed.
4650 use _check_get_range() to decide if we can operate in _pull based
4652 Fix refcounting leak when check_get_range function was not
4654 API GstBaseSrc::blocksize range can be 0 too now (default)
4656 * tests/check/elements/filesrc.c: (GST_START_TEST),
4658 Added check to test _get_range() behaviour.
4660 2006-07-06 Wim Taymans <wim@fluendo.com>
4662 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4663 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4664 (gst_pad_pull_range):
4666 Lots of comments and docs added to the pad functions.
4667 Flesh out the expected behaviour of the get_range() functions.
4669 2006-07-06 Wim Taymans <wim@fluendo.com>
4674 * gst/gstiterator.h:
4678 Remove comma at end of enumerator list.
4680 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
4682 * win32/common/libgstbase.def:
4683 * win32/common/libgstdataprotocol.def:
4684 * win32/common/libsgtreamer.def:
4685 Add new exported functions.
4687 2006-07-05 Wim Taymans <wim@fluendo.com>
4689 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4690 Add some more docs here and there.
4692 2006-07-05 Wim Taymans <wim@fluendo.com>
4694 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4695 (gst_base_sink_loop), (gst_base_sink_get_position):
4696 When operating in pull mode update the offset so that we
4699 2006-07-05 Wim Taymans <wim@fluendo.com>
4701 * gst/gstregistryxml.c: (read_string):
4702 Avoid strdup. (will happen in libxml, but hey!)
4707 2006-07-05 Wim Taymans <wim@fluendo.com>
4709 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4710 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4712 No point in checking if the size of the subbuffer > 0, the
4713 code handles it correclty as demonstrated by unit test.
4714 Also add a unit test for the zero sized _new_and_alloc and
4715 _copy. Fixes #346663.
4717 2006-07-05 Wim Taymans <wim@fluendo.com>
4719 * libs/gst/base/gstbasetransform.c:
4720 (gst_base_transform_prepare_output_buffer),
4721 (gst_base_transform_buffer_alloc),
4722 (gst_base_transform_handle_buffer):
4723 Make sure the buffer we pass to transform_ip has a refcount of
4724 1 and thus is writable. Fixes #343196
4726 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
4728 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4729 (gst_file_src_init), (gst_file_src_set_property),
4730 (gst_file_src_get_property), (gst_file_src_map_region):
4731 * plugins/elements/gstfilesrc.h:
4732 Add "sequential" property, off by default, to use madvise and hint
4733 to the kernel that sequential access is desired.
4734 Touch all retrieved pages by default to ensure they are pulled
4735 into memory. (Closes #345720)
4737 2006-07-03 Wim Taymans <wim@fluendo.com>
4739 * docs/design/part-block.txt:
4740 * docs/design/part-dynamic.txt:
4743 2006-07-03 Wim Taymans <wim@fluendo.com>
4745 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4746 (gst_caps_unref), (gst_static_caps_get),
4747 (gst_caps_append_structure):
4748 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4749 Use GSlice when the glib we build against is >= 2.10
4751 2006-07-03 Wim Taymans <wim@fluendo.com>
4753 * gst/gstelement.c: (gst_element_pads_activate):
4754 Small cleanup in pad activation code.
4756 2006-07-03 Wim Taymans <wim@fluendo.com>
4758 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4760 * gst/gst-i18n-app.h:
4761 * gst/gst-i18n-lib.h:
4762 * tools/gst-inspect.c: (print_signal_info):
4763 The attached patch will make the inclusion of gettext.h unconditional in
4764 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4765 libintl.h in tools/gst-inspect.c.
4766 This allows use of --disable-nls again and fixes #344642.
4768 2006-07-03 Edward Hervey <edward@fluendo.com>
4770 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4771 Implement pad blocking on events according to part-block.txt.
4772 More comments on behaviour.
4773 * tests/check/gst/gstevent.c: (test_event):
4774 Send event to peer pad of blocked pad (else it will block).
4776 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4778 * libs/gst/check/gstcheck.c: (gst_check_message_error),
4779 (gst_check_run_suite):
4780 if we get the wrong message, give us the types as string
4781 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4783 * tests/check/elements/filesrc.c: (GST_START_TEST):
4784 add a test for trying to open a non-existing file
4786 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4788 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4789 add a test for adding self
4791 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4793 * libs/gst/check/gstcheck.h:
4794 add some assert_ as alias for fail_unless_*
4795 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4796 increase test coverage
4798 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4801 include lcov.mak for lcov coverage generation
4802 * tools/Makefile.am:
4805 2006-07-02 Edward Hervey <edward@fluendo.com>
4807 * tests/check/elements/.cvsignore:
4810 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4813 don't set CFLAGS and friends for gcov, done from GST_GCOV now
4814 * tests/check/Makefile.am:
4817 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4819 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
4820 remove gst_caps_simplify; it was not declared and not used
4821 and deprecated in 0.8
4823 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4825 * docs/faq/gst-uninstalled:
4826 don't put empty paths on PYTHONPATH
4827 * docs/gst/gstreamer-sections.txt:
4828 remove some symbols that are not there
4830 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4832 * gst/gstcaps.c: (gst_caps_compare_structures):
4834 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4835 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4838 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4840 * libs/gst/dataprotocol/Makefile.am:
4841 build dataprotocol test by linking to the lib, instead of
4842 compiling the source, so we get coverage
4843 * tests/check/Makefile.am:
4844 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
4845 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
4846 add a test for filesrc
4848 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4850 * tests/check/gst/gststructure.c: (GST_START_TEST),
4851 (gst_structure_suite):
4852 Push coverage from 59.04% to 70.00%
4854 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4856 * tests/check/Makefile.am:
4857 gst-inspect every element; this makes sure that we also get
4858 coverage on element's get/set functions
4860 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4863 set CFLAGS and friends to -O0 if gcov is being used
4866 * libs/gst/base/Makefile.am:
4867 * libs/gst/check/Makefile.am:
4868 * libs/gst/controller/Makefile.am:
4869 * libs/gst/dataprotocol/Makefile.am:
4870 * libs/gst/net/Makefile.am:
4871 * plugins/elements/Makefile.am:
4872 * plugins/indexers/Makefile.am:
4873 add makefile rules to generate gcov data and clean up
4874 * tests/check/Makefile.am:
4875 add a coverage target that generates an html overview
4878 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4880 * tests/check/elements/fakesink.c:
4881 * tests/check/elements/fakesrc.c:
4882 * tests/check/elements/fdsrc.c:
4883 * tests/check/elements/identity.c:
4884 * tests/check/generic/sinks.c: (gst_sinks_suite):
4885 * tests/check/generic/states.c:
4886 * tests/check/gst/gst.c:
4887 * tests/check/gst/gstabi.c:
4888 * tests/check/gst/gstbin.c:
4889 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
4890 * tests/check/gst/gstbus.c: (gst_bus_suite):
4891 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4892 * tests/check/gst/gstelement.c:
4893 * tests/check/gst/gstevent.c: (gst_event_suite):
4894 * tests/check/gst/gstghostpad.c:
4895 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
4896 * tests/check/gst/gstmessage.c: (gst_message_suite):
4897 * tests/check/gst/gstminiobject.c:
4898 * tests/check/gst/gstobject.c:
4899 * tests/check/gst/gstpad.c:
4900 * tests/check/gst/gstpipeline.c:
4901 * tests/check/gst/gstplugin.c:
4902 * tests/check/gst/gstquery.c: (gst_query_suite):
4903 * tests/check/gst/gstsegment.c: (gst_segment_suite):
4904 * tests/check/gst/gststructure.c:
4905 * tests/check/gst/gstsystemclock.c:
4906 * tests/check/gst/gsttag.c:
4907 * tests/check/gst/gsttask.c: (gst_task_suite):
4908 * tests/check/gst/gstutils.c:
4909 * tests/check/gst/gstvalue.c:
4910 * tests/check/libs/adapter.c:
4911 * tests/check/libs/basesrc.c:
4912 * tests/check/libs/collectpads.c:
4913 * tests/check/libs/controller.c:
4914 * tests/check/libs/gdp.c: (gst_dp_suite):
4915 * tests/check/libs/gstnetclientclock.c:
4916 * tests/check/libs/gstnettimeprovider.c:
4917 * tests/check/libs/libsabi.c: (libsabi_suite):
4918 * tests/check/libs/typefindhelper.c:
4919 * tests/check/pipelines/cleanup.c:
4920 * tests/check/pipelines/parse-launch.c:
4921 * tests/check/pipelines/simple-launch-lines.c:
4922 * tests/check/pipelines/stress.c: (stress_suite):
4925 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4927 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
4928 * libs/gst/check/gstcheck.h:
4929 create a macro and function so that the simple unit test
4930 case can be just one macro to create main()
4932 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
4934 * gst/gstbin.c: (gst_bin_restore_thyself):
4935 * gst/gstxml.c: (gst_xml_make_element):
4936 Fix deserialisation from XML. Set parent manually
4937 instead of using gst_bin_add(), since gst_bin_add()
4938 will unlink all pads of the element being added.
4941 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
4943 Patch by: Peter Kjellerstedt <pkj at axis com>
4945 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
4946 Fix missing g_strdup() and double free when using the
4947 --gst-plugin-load command line option (#346097).
4949 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
4952 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
4954 * libs/gst/net/gstnetclientclock.c:
4955 * libs/gst/net/gstnettimeprovider.c:
4956 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
4958 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
4960 * docs/manual/advanced-dataaccess.xml:
4961 Fix buffer probe example compilation in
4964 2006-06-22 Edward Hervey <edward@fluendo.com>
4966 * gst/gstelement.c: (gst_element_pads_activate):
4967 We need to deactivate src pads first and then sink pads.
4968 The reason is the src pads might be blocking while holding the streaming
4969 lock, so we need to deactivate them first so that deactivating the sink
4970 pads doesn't block (since it will require the streaming lock).
4972 2006-06-22 Wim Taymans <wim@fluendo.com>
4974 * libs/gst/base/gstbasetransform.c:
4975 (gst_base_transform_buffer_alloc):
4976 Forgot to remove two unneeded unrefs.
4977 Simplify a check _is_equal allready checks the obvious case.
4979 2006-06-22 Wim Taymans <wim@fluendo.com>
4981 * docs/design/part-block.txt:
4982 Some docs about what pad_block should do.
4984 2006-06-22 Wim Taymans <wim@fluendo.com>
4986 * gst/gstcaps.c: (gst_caps_replace):
4987 Fix crasher when passed NULL. Doc clarification.
4988 Optimize for the trivial case.
4990 * gst/gstpipeline.c: (gst_pipeline_change_state):
4993 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4994 Small documentation cleanup.
4996 * libs/gst/base/gstbasetransform.c:
4997 (gst_base_transform_buffer_alloc):
4998 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
4999 is what we need and it avoids a whole lot of redundant
5000 refcount operations.
5002 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
5004 Patch by: Philip Jägenstedt <philip at lysator liu se>
5006 * docs/manual/advanced-dataaccess.xml:
5007 Fix 'Embedding static elements' section to use
5008 GST_PLUGIN_DEFINE_STATIC (#345607).
5010 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5012 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5013 Attempt to 'fix' spuriously failing test case: it seems like the
5014 timeout of half a second is simply too small when the system is under
5015 load otherwise, and the timeout doesn't really seem to serve any
5016 particular purpose here. Give the pipeline a few seconds to preroll
5017 first, and then give it another half a second to go from PAUSED to
5018 PLAYING and marshal the message into the main thread.
5020 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5022 * tools/gst-feedback-m.m:
5023 Don't only use unversioned tools, try versioned tools as well
5026 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5028 * gst/gstbus.c: (gst_bus_class_init):
5029 Fix some typos, make docs more explicit.
5031 2006-06-20 Wim Taymans <wim@fluendo.com>
5033 * tests/check/gst/gstghostpad.c: (block_callback),
5034 (GST_START_TEST), (gst_ghost_pad_suite):
5035 Added some more ghostpad tests, mainly blocking
5038 2006-06-16 Wim Taymans <wim@fluendo.com>
5040 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5041 (gst_file_sink_close_file), (gst_file_sink_do_seek),
5042 (gst_file_sink_event), (gst_file_sink_render):
5043 * plugins/elements/gstfilesink.h:
5044 Check if we can seek in the file instead of assuming
5045 we always can. Post an error when we are asked to seek in a
5046 non-seekable file (like a fifo). Fixes #343312.
5049 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5051 * tools/gst-launch.1.in:
5052 Un-garble (fourcc) bit in filtered caps section.
5054 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5056 * docs/manual/advanced-autoplugging.xml:
5057 * docs/manual/basics-helloworld.xml:
5058 * docs/manual/highlevel-components.xml:
5059 Don't leak bus reference in sample code.
5061 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
5064 Add default for new --enable-plugin-docs switch.
5067 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5071 Use new ENABLE_PLUGIN_DOCS conditional.
5073 2006-06-14 Wim Taymans <wim@fluendo.com>
5075 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5076 Make it clear with a FIXME and a real define what the #if 0
5077 previously disabled.
5079 2006-06-14 Wim Taymans <wim@fluendo.com>
5081 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5082 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5083 * libs/gst/base/gstbasetransform.c:
5084 (gst_base_transform_sink_eventfunc):
5085 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5086 Don't randomly and silently reset a segment when the format
5087 changes as this is a bug somewhere upstream. Fixes #330379.
5089 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
5091 Patch by: Wouter Paesen <wouter at kangaroot net>
5093 * libs/gst/controller/gstcontroller.c:
5094 (gst_controlled_property_new):
5095 Fix controlling of float properties (#344849).
5097 * tests/check/libs/controller.c:
5098 (gst_test_mono_source_get_property),
5099 (gst_test_mono_source_set_property),
5100 (gst_test_mono_source_class_init), (GST_START_TEST):
5101 While we're at it, add some float stuff to unit test.
5103 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5106 * docs/images/gdp-header.svg:
5108 * docs/libs/Makefile.am:
5109 * docs/libs/gdp-header.png:
5110 * libs/gst/dataprotocol/dataprotocol.c:
5111 add it to the API docs
5112 * docs/manual/intro-motivation.xml:
5115 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5117 * gst/gst.c: (scan_and_update_registry), (init_post):
5118 If the fork()'ed child process can't write the updated registry cache
5119 file to disk for some reason, make it exit with a failure exit code,
5120 so that the parent can then re-scan the plugins itself and update the
5121 registry structures in memory and work with that (rather than failing
5122 when creating elements because seemingly no plugins are available).
5123 Refactor registry scanning code into separate function for this and
5124 also separate fork() and non-fork() code paths. Fixes #344748.
5126 2006-06-13 Wim Taymans <wim@fluendo.com>
5128 * docs/manual/advanced-dataaccess.xml:
5129 Fix wrong PluginDesc. Fixes #344755.
5131 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5133 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5134 Fix silly bug that prevented us from creating
5135 ~/.gstreamer-0.10 and writing the registry in one
5136 go (the first call to g_mkstemp() would overwrite the
5137 placeholder in the template string, so the second call
5138 to g_mkstemp() after creating the missing directory
5139 would then error out with 'invalid argument').
5141 2006-06-13 Edward Hervey <edward@fluendo.com>
5143 * gst/gst.c: (init_post):
5146 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5148 * gst/glib-compat-private.h:
5149 * gst/glib-compat.c:
5150 * gst/glib-compat.h:
5151 * gst/gstvalue.c: (gst_value_serialize_flags):
5152 remove GLib 2.6 compatibility code
5154 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
5156 * gst/parse/Makefile.am:
5157 Fix build with 'make -j N' even more (#340016).
5159 2006-06-12 Wim Taymans <wim@fluendo.com>
5161 * docs/gst/gstreamer-sections.txt:
5164 2006-06-12 Wim Taymans <wim@fluendo.com>
5166 * gst/gstsegment.c: (gst_segment_set_duration),
5167 (gst_segment_set_last_stop), (gst_segment_set_seek),
5168 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5169 (gst_segment_to_running_time), (gst_segment_clip):
5170 Use G_UNLIKELY to help the compiler a bit.
5172 2006-06-12 Wim Taymans <wim@fluendo.com>
5174 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5176 * gst/gstevent.c: (gst_event_get_type):
5178 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5180 constify quark registration strings. Fixes #344115
5181 Avoid unneeded type checking is _pad_push() by internally
5182 calling gst_pad_chain_unchecked().
5184 2006-06-12 Wim Taymans <wim@fluendo.com>
5186 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5187 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5188 (gst_subbuffer_finalize), (gst_buffer_create_sub),
5189 (gst_buffer_is_span_fast), (gst_buffer_span):
5190 Init _type for consistency.
5191 Use _FLAGS macro to avoid type check.
5192 Avoid unneeded type checks in subbufer code.
5194 2006-06-12 Wim Taymans <wim@fluendo.com>
5196 * gst/gst.c: (gst_debug_help):
5197 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5198 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5199 (gst_plugin_feature_list_free):
5200 * gst/gstregistry.c: (gst_registry_add_plugin),
5201 (gst_registry_add_feature), (gst_registry_plugin_filter),
5202 (gst_registry_feature_filter), (gst_registry_find_plugin),
5203 (gst_registry_find_feature), (gst_registry_get_plugin_list),
5204 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5205 * gst/gstregistryxml.c: (load_feature),
5206 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5207 * gst/gstminiobject.c: (gst_mini_object_unref),
5208 (gst_mini_object_replace), (gst_value_mini_object_free),
5209 (gst_value_mini_object_copy):
5210 Use _CAST macros to avoid unneeded type checking.
5211 Added some more G_UNLIKELY.
5213 2006-06-12 Wim Taymans <wim@fluendo.com>
5216 Avoid unneeded type checking.
5217 API: GST_BUFFER_IS_DISCONT
5219 * gst/gstminiobject.h:
5220 Avoid type check in flag accessor.
5222 * gst/gstelementfactory.h:
5224 * gst/gstpluginfeature.h:
5226 API: GST_ELEMENT_FACTORY_CAST
5227 API: GST_PLUGIN_CAST
5228 API: GST_PLUGIN_FEATURE_CAST
5230 2006-06-12 Wim Taymans <wim@fluendo.com>
5232 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5234 Add G_UNLIKELY in type registration.
5235 Avoid type check in _ref/_unref since that is also
5238 2006-06-12 Wim Taymans <wim@fluendo.com>
5240 * gst/gsterror.c: (gst_g_error_get_type):
5241 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5242 (gst_static_pad_template_get_type):
5243 * gst/gsttaglist.c: (gst_tag_list_get_type):
5244 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5245 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5246 * gst/gsturi.c: (gst_uri_handler_get_type):
5247 * gst/gstvalue.c: (gst_date_get_type):
5248 * gst/gstxml.c: (gst_xml_get_type):
5249 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5250 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5251 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5252 Add G_UNLIKELY in type registration.
5254 2006-06-12 Wim Taymans <wim@fluendo.com>
5256 * tools/gst-inspect.c: (print_signal_info):
5257 Properly print enum values.
5259 2006-06-12 Wim Taymans <wim@fluendo.com>
5261 * gst/gstinfo.c: (gst_debug_set_active),
5262 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5264 Add some G_[UN]LIKELY.
5265 Maintain __gst_debug_min to avoid formatting the arguments of
5266 debug messages that will be dropped anyway to avoid a lot of
5267 overhead from the debugging system.
5269 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5273 add missing files containing translatable strings, tell intltool about
5276 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5278 * tests/check/libs/.cvsignore:
5279 add test-binary to ignore list
5281 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5283 * docs/libs/gstreamer-libs-docs.sgml:
5284 reorder (put dp into a chapter) and indent
5286 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5291 === release 0.10.8 ===
5293 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5296 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5298 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5300 * gst/gst.c: (init_post):
5301 move pid declaration to declaration block
5303 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5305 * gst/gst.c: (init_post):
5306 use _exit() instead of exit() in our forked child; this ensures
5307 that none of the registered exit handlers from whatever is using
5308 GStreamer get executed. This fixes gnome-mixer-applet failing
5309 to load, because ORBit would shut down.
5310 Spotted by: Edward Hervey <edward@fluendo.com>
5311 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
5314 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5319 === release 0.10.7 ===
5321 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5324 releasing 0.10.7, "Soepeke, ik zie ou"
5326 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
5349 * win32/common/config.h:
5352 2006-06-07 Wim Taymans <wim@fluendo.com>
5354 * gst/gstindex.c: (gst_index_gtype_resolver):
5355 * tools/gst-xmlinspect.c: (print_plugin_info):
5356 Fix leak spotted by coverity checker. Fixes #343827
5357 Fix another other leak found by paolo borelli.
5359 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5361 * libs/gst/dataprotocol/dataprotocol.c:
5362 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5363 (gst_dp_version_get_type), (gst_dp_init),
5364 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5365 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5366 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5367 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5368 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5369 (gst_dp_packetizer_free):
5370 * libs/gst/dataprotocol/dataprotocol.h:
5371 API: add a GstDPPacketizer object, and create/free functions
5372 API: add GstDPVersion enum
5373 Add 1.0 event function that uses the string serialization
5374 Serialize more useful buffer flags
5377 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5379 * tests/check/Makefile.am:
5380 * tests/check/gst/gstabi.c:
5381 * tests/check/gst/struct_ppc64.h:
5382 * tests/check/libs/libsabi.c:
5383 * tests/check/libs/struct_ppc64.h:
5384 add ppc64 structure sizes
5386 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5388 * tests/check/Makefile.am:
5389 * tests/check/gst/gstabi.c:
5390 * tests/check/gst/struct_x86_64.h:
5391 * tests/check/libs/libsabi.c:
5392 * tests/check/libs/struct_x86_64.h:
5393 generate and add structure size lists for x86_64
5395 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5397 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5398 * libs/gst/check/gstcheck.h:
5399 factor out the method from tests that checks size of structures,
5400 and add code to generate the header containing these sizes
5401 * tests/check/gst/gstabi.c: (GST_START_TEST):
5402 * tests/check/gst/struct_i386.h:
5403 * tests/check/libs/libsabi.c: (GST_START_TEST):
5404 * tests/check/libs/struct_i386.h:
5407 2006-06-06 Michael Smith <msmith@fluendo.com>
5410 Don't use c++-style comments, fixes #343929
5412 2006-06-05 Edward Hervey <edward@fluendo.com>
5415 plugin_paths is not used if we build without registry support.
5417 * gst/gstsegment.c: (gst_segment_copy):
5418 _copy() was always returning NULL...
5420 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5422 * libs/gst/dataprotocol/dataprotocol.c:
5423 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5424 (gst_dp_packet_from_event):
5427 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5429 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5430 make sure we unset caps
5432 2006-06-02 Michael Smith <msmith@fluendo.com>
5434 * libs/gst/check/gstcheck.c: (gst_check_init),
5435 (gst_check_chain_func):
5436 * libs/gst/check/gstcheck.h:
5437 Add a cond/mutex to the check support lib, signal this whenever we
5438 add to the buffers list. This will allow tests to not busy-wait on
5441 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5443 * libs/gst/dataprotocol/dataprotocol.c:
5444 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5445 (gst_dp_packet_from_event):
5446 factor out some common header init code
5448 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5450 * docs/libs/gstreamer-libs-sections.txt:
5451 * docs/libs/tmpl/gstdataprotocol.sgml:
5452 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5453 * libs/gst/dataprotocol/dataprotocol.h:
5454 API: make gst_dp_crc() public
5456 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5458 * plugins/indexers/gstindexers.c: (plugin_init):
5459 conditionally register fileindexer (fixes #343598)
5461 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5463 * gst/gsttagsetter.h:
5464 Can't cast ifaces to a class
5466 * libs/gst/net/gstnetclientclock.h:
5467 * libs/gst/net/gstnettimeprovider.h:
5468 * plugins/elements/gstfakesink.h:
5469 * plugins/elements/gstfakesrc.h:
5470 * plugins/elements/gstfdsink.h:
5471 * plugins/elements/gstfdsrc.h:
5472 * plugins/elements/gstfilesink.h:
5473 * plugins/elements/gstfilesrc.h:
5474 * plugins/elements/gstidentity.h:
5475 * plugins/elements/gstqueue.h:
5476 * plugins/elements/gsttee.h:
5477 * plugins/indexers/gstfileindex.c:
5478 * plugins/indexers/gstmemindex.c:
5479 * tests/old/examples/plugins/example.h:
5480 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5482 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
5484 * libs/gst/dataprotocol/dataprotocol.c:
5485 (gst_dp_header_from_buffer):
5486 make sure we zero the whole ABI-compatible area
5488 2006-06-01 Wim Taymans <wim@fluendo.com>
5490 Patch by: Alessandro Decina <alessandro at nnva dot org>
5492 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5493 Make sure the EOS flag is cleared from pads after a flush
5494 or stop. Fixes #343538.
5496 * tests/check/libs/collectpads.c: (GST_START_TEST),
5497 (gst_collect_pads_suite):
5498 Added test for collectpads reusage after EOS.
5500 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
5503 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5504 * win32/common/libgstbase.def:
5505 export gst_collect_pads_set_flushing
5506 * win32/common/libgstreamer.def:
5507 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5508 gst_value_fraction_multiply
5509 * win32/vs6/gst_inspect.dsp:
5510 add a link to intl.lib
5512 2006-05-30 Wim Taymans <wim@fluendo.com>
5514 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5515 (gst_collect_pads_chain):
5516 Handle the case where a pad is removed from the collection
5517 that could cause the other pads to become collectable.
5519 2006-05-30 Wim Taymans <wim@fluendo.com>
5522 Clarify the use of _release_request_pad() and
5523 _get_request_pad() a bit better.
5525 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5526 (gst_adapter_take_buffer):
5527 Fix some doc and comment typos.
5529 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5531 * docs/gst/gstreamer-sections.txt:
5532 * docs/libs/gstreamer-libs-sections.txt:
5533 add declared symbols
5535 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
5537 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5538 Add debug that can be enabled using a #define at the top of the file,
5539 for dumping stats about how late/early we were when waking up from
5540 waiting on the clock.
5542 2006-05-30 Wim Taymans <wim@fluendo.com>
5544 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5545 When rebuilding the pad list, don't leak the previous list.
5547 2006-05-30 Wim Taymans <wim@fluendo.com>
5549 Patch by: Lutz Mueller <lutz at topfrose dot de>
5551 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5552 (gst_base_src_get_query_types), (gst_base_src_update_length):
5553 Publish supported query types.
5554 Update last_stop field in get_range mode so the position
5555 query works. Fixes #342321.
5557 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
5559 * docs/gst/gstreamer-sections.txt:
5560 * gst/gsttaglist.c: (_gst_tag_initialize):
5562 API: add GST_TAG_PREVIEW_IMAGE (#343341).
5564 2006-05-30 Wim Taymans <wim@fluendo.com>
5566 Patch by: Alessandro Decina <alessandro at nnva dot org>
5568 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5569 Unlock mutex when removing an unknown pad.
5572 * tests/check/Makefile.am:
5573 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5574 (push_event), (setup), (teardown), (GST_START_TEST),
5575 (gst_collect_pads_suite), (main):
5576 Added collecpads check, disabled for now as check crashes for
5579 2006-05-29 Wim Taymans <wim@fluendo.com>
5581 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5582 Don't leak pads lists.
5584 2006-05-29 Wim Taymans <wim@fluendo.com>
5586 * docs/libs/gstreamer-libs-sections.txt:
5587 * libs/gst/base/gstcollectpads.c:
5588 (gst_collect_pads_set_flushing_unlocked),
5589 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5590 (gst_collect_pads_stop):
5591 * libs/gst/base/gstcollectpads.h:
5592 API: gst_collect_pads_set_flushing()
5593 Added api to set the pads to flushing, useful for seeking
5594 code in elements using collectpads.
5595 Clear segment when receiving a flush.
5597 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
5599 * gst/gst.c: (add_path_func), (init_post):
5600 Don't scan registry paths passed via --gst-plugin-path immediately
5601 (will crash, because absolutely nothing is set up and no types are
5602 registered etc.); do this later in init_post(). Fixes #343057.
5604 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
5606 * gst/gst.c: (init_post):
5607 if we have fork, fork while reading/rebuilding the registry
5608 so the parent doesn't take the hit of having all plugins loaded
5609 in memory. Fixes #342777.
5611 Check if we have fork()
5612 * win32/common/config.h.in:
5615 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5617 * plugins/elements/gstelements.c:
5618 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5619 (gst_file_src_init), (gst_file_src_set_property),
5620 (gst_file_src_get_property), (gst_file_src_start):
5621 * plugins/elements/gstfilesrc.h:
5622 API: GstFileSrc::use-mmap
5624 Add a use-mmap property to enable easier testing of all code paths.
5625 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5626 in the absence of gnomevfssrc. (Closes #340501)
5628 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5630 * tools/gst-inspect.c:
5631 Add missing include, removes warning of ngettext not being defined on
5634 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5636 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5637 Handle NULL input and output pointers silently as a failed conversion,
5638 rather than g_warnings.
5640 2006-05-25 Wim Taymans <wim@fluendo.com>
5642 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5643 Initialize variable before using. Fixes #342820.
5645 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
5647 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5648 Fix off-by-one bug that would only allow peeks of N-1 bytes
5649 from the start even if the buffer to typefind on contains
5650 in fact N bytes of data (makes vorbis typefinding from a
5651 vorbis identification header buffer work).
5653 * tests/check/Makefile.am:
5654 * tests/check/libs/.cvsignore:
5655 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5656 (gst_typefindhelper_suite), (main), (foobar_typefind),
5658 Add very basic unit test for gst_type_find_helper_for_buffer()
5659 that checks for the problem fixed above.
5661 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
5663 * tools/gst-inspect.c: (print_interfaces),
5664 (print_element_properties_info), (print_element_list), (main):
5665 add more translatable strings
5667 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
5669 Patch by: Julien Moutte <julien at moutte net>
5671 * docs/gst/gstreamer-sections.txt:
5672 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5674 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5675 (gst_fake_sink_preroll):
5676 * plugins/elements/gstfakesink.h:
5677 API: Add new GstFakeSink::preroll-handoff signal (#337100).
5679 2006-05-23 Wim Taymans <wim@fluendo.com>
5681 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5683 Added _CUSTOM error and success GstFlowReturn that can be
5684 used be elements internally.
5685 Added macro to check for SUCCESS flowreturns.
5686 API: GST_FLOW_CUSTOM_SUCCESS
5687 API: GST_FLOW_CUSTOM_ERROR
5688 API: GST_FLOW_IS_SUCCESS
5690 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5691 Added check for GstFlowReturn sanity.
5693 2006-05-23 Wim Taymans <wim@fluendo.com>
5695 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5697 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5698 (gst_collect_pads_event):
5699 clear/reset segment info in FLUSH_STOP.
5702 2006-05-22 Stefan Kost <ensonic@users.sf.net>
5704 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5705 (gst_collect_pads_check_collected):
5706 Flush queued buffer on _stop(), fixes playing again (#342454)
5708 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
5710 * tests/check/gst/gststructure.c: (GST_START_TEST),
5711 (gst_structure_suite):
5712 add a test for a complete structure
5714 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5716 * docs/faq/developing.xml:
5718 * docs/faq/troubleshooting.xml:
5719 * docs/faq/using.xml:
5720 Some minor FAQ updates that won't change the fact that
5721 our FAQ is badly structured, full of information hardly
5722 anyone new to GStreamer needs to know and lacking lots
5723 of information people constantly ask for.
5725 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
5727 * gst/gstpad.c: (gst_pad_set_caps):
5728 Short-circuit gst_pad_set_caps if setting the existing
5729 caps pointer again, and avoid printing debug and
5730 reffing/unreffing the caps.
5732 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5733 There's actually no need to set the caps before pushing -
5734 the acceptcaps method will handle it anyway.
5736 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5738 * docs/gst/gstreamer-sections.txt:
5739 * win32/common/libgstreamer.def:
5740 * gst/gstutils.c: (gst_element_seek_simple):
5742 API: add gst_element_seek_simple() (#342238).
5744 2006-05-18 Edward Hervey <edward@fluendo.com>
5746 * gst/gsttypefind.c: (gst_type_find_get_type):
5747 * gst/gsttypefind.h:
5748 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5749 registered for GstTypeFind pointers. This allows wrapping the structure
5750 in bindings (i.e. gst-python).
5752 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5754 * gst/gsttagsetter.c:
5755 Docs additions and fixes (see #339918).
5757 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
5759 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5760 The caps intersection algorithm can produce multiple copies of the
5761 caps. Until that is fixed, we need to simplify the result to be
5762 sure whether the allowed caps are fixed or not.
5764 * plugins/elements/gstqueue.c: (gst_queue_init),
5765 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5766 (gst_queue_push_one):
5767 Proxied buffer alloc should not set the caps on the source pad.
5768 When pushing buffers, we always accept the caps change that triggers.
5769 This prevents negotiation errors caused by caps changing mid-stream
5770 and then being refused on our source pad (because upstream is now
5771 refusing those caps).
5773 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5775 * tests/examples/helloworld/helloworld.c: (main):
5776 Must plug audioconvert and audioresample between decoder
5779 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
5781 * gst/gstregistryxml.c: (read_string), (load_pad_template),
5782 (load_feature), (load_plugin):
5783 Allow empty strings for some of the plugin fields so we don't
5784 drop valid plugin entries that were written out correctly
5787 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
5789 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5790 Use g_remove and g_rename instead of remove and rename that don't
5791 handle utf8 characters. rename was failing for users who had specific
5792 characters in their name then the registry was built at each
5794 * win32/vs6/gst_inspect.dsp:
5795 * win32/vs6/gst_launch.dsp:
5796 * win32/vs6/libgstbase.dsp:
5797 * win32/vs6/libgstcoreelements.dsp:
5798 * win32/vs6/libgstreamer.dsp:
5799 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
5800 build of libgstreamer and clean unused libraries in projects link
5803 2006-05-17 Edward Hervey <edward@fluendo.com>
5805 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5806 The queue is not responsible for pushing an EOS when receiving a fatal
5807 flow error. It's up to the real element driving the pipeline to do that.
5809 2006-05-16 Edward Hervey <edward@fluendo.com>
5811 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5812 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
5813 buffer returned a fatal error. It should just send an EOS and stop
5815 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
5816 when pushing buffers on the queue and will be able to handle the event.
5818 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
5820 * docs/manual/basics-bins.xml:
5821 * docs/manual/basics-init.xml:
5822 Fix typos and minor errors in sample code (#341856).
5824 2006-05-16 Wim Taymans <wim@fluendo.com>
5826 * docs/design/part-qos.txt:
5827 Fix indexes in formulas to make more sense.
5829 2006-05-15 Wim Taymans <wim@fluendo.com>
5831 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5832 Don't report POSITION based on clock time if sync is
5835 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
5838 Add cast to make compiler happy - refcount variable was a gint
5839 in GstObject but is a guint in GObject and g_atomic_int_get()
5842 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
5844 * gst/parse/Makefile.am:
5845 chain commands using &&, which also makes parallel make work
5847 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
5849 * docs/gst/gstreamer-sections.txt:
5855 === release 0.10.6 ===
5857 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
5860 releasing 0.10.6, "Take the cannoli"
5862 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
5864 * tools/gst-launch.c: (print_tag):
5865 Fix use of uninitialized variable in the hypothetical
5866 case that some broken plugin creates a GST_TAG_IMAGE
5867 tag containing a NULL buffer (#341667).
5869 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
5871 * tools/gst-launch.c: (print_tag):
5872 Print something more intelligible for image tags when
5873 using the -t switch (#341556).
5875 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
5880 define GST_MAJORMINOR so we have it available in win32/common/config.h
5881 Possibly remove it from our Makefile.am files later
5882 * win32/common/config.h:
5883 * win32/common/config.h.in:
5884 added GST_MAJORMINOR
5885 * win32/common/gstenumtypes.c: (register_gst_resource_error):
5886 * win32/common/gstversion.h:
5889 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
5892 Update win32 files listing.
5893 * win32/common/gstversion.h:
5894 Add GST_MAJORMINOR definition.
5895 * win32/common/libgstreamer.def:
5896 Add new exported functions.
5898 2006-05-12 Michael Smith <msmith@fluendo.com>
5900 * gst/gstplugin.c: (gst_plugin_load_file):
5901 If an so file has no plugin entry point, unload the module.
5903 2006-05-11 Wim Taymans <wim@fluendo.com>
5905 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
5906 (gst_queue_set_property):
5907 Don't forget to signal the _chain or _loop function
5908 when the queue size or thresholds change since that might
5909 cause them to make progres again.
5911 2006-05-11 Stefan Kost <ensonic@users.sf.net>
5913 * gst/gstclock.c: (gst_clock_class_init):
5914 * gst/gstindex.c: (gst_index_class_init):
5915 * gst/gstobject.c: (gst_object_class_init):
5916 * gst/gstpad.c: (gst_pad_class_init):
5917 * gst/gstpipeline.c: (gst_pipeline_class_init):
5918 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5919 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
5920 * libs/gst/base/gstbasetransform.c:
5921 (gst_base_transform_class_init):
5922 * libs/gst/net/gstnetclientclock.c:
5923 (gst_net_client_clock_class_init):
5924 * libs/gst/net/gstnettimeprovider.c:
5925 (gst_net_time_provider_class_init):
5926 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
5927 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5928 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5929 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
5930 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
5931 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5932 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5933 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5934 * plugins/elements/gsttee.c: (gst_tee_class_init):
5935 * tests/old/examples/plugins/example.c: (gst_example_class_init):
5936 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
5937 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
5939 2006-05-11 Wim Taymans <wim@fluendo.com>
5941 * gst/gstbuffer.c: (_gst_buffer_initialize):
5942 Register subbufer along with the buffer type so that
5943 it does not accidentally gets registered from N
5944 different streaming threads in a non threadsafe way.
5946 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
5951 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
5952 gst_event_ref() and gst_message_ref() functions again
5953 (ugly hack, please do fix if there's a better way besides
5954 overrides.txt, which doesn't seem to work).
5956 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5958 * libs/gst/check/gstcheck.h:
5959 add an assert for setting state to avoid lots of repetitive code
5962 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5964 * gst/gstvalue.c: (gst_value_serialize_flags):
5965 fix a leak if no flags are set
5966 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5969 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
5971 * docs/manual/basics-pads.xml:
5972 Expand a bit on caps and filtered links and update
5973 examples that were still using the no longer existing
5974 gst_pad_link_filtered() (#338206).
5976 2006-05-10 Wim Taymans <wim@fluendo.com>
5978 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5979 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5980 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5981 (gst_collect_pads_stop):
5982 * libs/gst/base/gstcollectpads.h:
5983 No need to call _stop in _finalize.
5984 Iterate the main pad list in _finalize.
5985 Added some more debug.
5986 Free lists and data in the right order.
5987 Also free data whem doing _remove_pad when stopped for
5988 backward compatibility protect ::started with PAD_LOCK as
5991 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5993 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
5994 (gst_structure_parse_value):
5996 rename a method so that it actually says what it does better
5998 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6000 * gst/gstevent.c: (_gst_event_initialize):
6001 * gst/gstformat.c: (_gst_format_initialize):
6002 make sure some essential types used by events are registered
6003 as part of gst_init()
6004 * gst/gstvalue.c: (gst_value_serialize_flags):
6005 if no flags are set, serialize them to a value that represents NONE
6006 so that deserializing them works
6007 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6008 add tests for serialization and deserialization of flags
6010 2006-05-10 Wim Taymans <wim@fluendo.com>
6012 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6013 (gst_collect_pads_collect_range), (gst_collect_pads_available),
6014 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6015 (gst_collect_pads_event), (gst_collect_pads_chain):
6018 Catch and return errors from the collect function
6019 Refuse data on eos pads.
6021 2006-05-10 Edward Hervey <edward@fluendo.com>
6023 * gst/gstinterface.h:
6024 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6025 GInterface type checking.
6026 They were previously using non-defined macros.
6028 2006-05-09 Wim Taymans <wim@fluendo.com>
6030 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6031 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6032 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6033 (gst_collect_pads_start), (gst_collect_pads_stop),
6034 (gst_collect_pads_peek), (gst_collect_pads_pop),
6035 (gst_collect_pads_available), (gst_collect_pads_read),
6036 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6037 (gst_collect_pads_is_collected), (gst_collect_pads_event),
6038 (gst_collect_pads_chain):
6039 * libs/gst/base/gstcollectpads.h:
6040 Clean up the mess that is collectpads, add comments and
6041 FIXMEs where needed.
6042 Maintain a separate pad list so we can add pads while
6043 collecting the other ones. For this we need a new separate
6045 Fix memory leak in finalize.
6046 Refactor some weird code to set/unset pad flushing flags, mark
6048 Don't crash in _available, _read, _flush when we're EOS.
6050 * tests/check/libs/.cvsignore:
6051 Ignore adapter check binary.
6053 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6055 * gst/gstindex.c: (gst_index_resolver_get_type):
6056 * plugins/elements/gstfakesink.c:
6057 (gst_fake_sink_state_error_get_type):
6058 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6059 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6060 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6061 Const-ify GEnumValue arrays.
6063 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6065 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6066 Add test case for flags + gst_buffer_make_metadata_writable().
6068 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6070 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6071 gst_buffer_make_metadata_writable() should maintain the
6072 buffer flags (those that make sense at least) (see #340859).
6074 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6076 * tools/gst-inspect.c:
6077 * tools/gst-launch.c:
6078 * tools/gst-typefind.c:
6079 * tools/gst-xmlinspect.c:
6081 Fix up includes: need to include stdlib.h in tools.h for exit().
6083 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6085 * gst/gsttaglist.c: (_gst_tag_initialize):
6087 API: add GST_TAG_IMAGE tag (#340721).
6089 2006-05-08 Wim Taymans <wim@fluendo.com>
6092 Added some docs for the segment query.
6094 2006-05-08 Wim Taymans <wim@fluendo.com>
6096 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6097 (gst_base_src_loop), (gst_base_src_change_state):
6098 Always push non-flushing serialized events in the streaming
6101 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
6103 * gst/gsterror.c: (_gst_stream_errors_init):
6104 Add a missing error string.
6106 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
6108 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6109 Add applied_rate to the debug
6111 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6112 Copy applied_rate into the outgoing NEWSEGMENT event
6114 2006-05-08 Wim Taymans <wim@fluendo.com>
6116 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6118 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6119 (gst_base_sink_change_state):
6120 call ::unlock before taking the PREROLL_LOCK so we can safely
6121 handle elements that lock in ::render.
6124 2006-05-08 Edward Hervey <edward@fluendo.com>
6126 * autogen.sh: (CONFIGURE_DEF_OPT):
6127 Darwin's libtoolize is in fact called glibtoolize.
6128 Adding glibtoolize to the list of accepted names for libtoolize.
6130 2006-05-08 Wim Taymans <wim@fluendo.com>
6132 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6133 Unify error handling, don't post an error message
6134 when a push() returns EOS but perform our normal EOS
6135 handling code. Fixes #340772.
6137 2006-05-08 Wim Taymans <wim@fluendo.com>
6139 * docs/design/part-overview.txt:
6140 Make upsteam/downstream concepts more clear.
6141 Give an example of serialized/non-serialized events.
6143 * docs/design/part-events.txt:
6144 * docs/design/part-streams.txt:
6145 Mention applied_rate.
6147 * docs/design/part-trickmodes.txt:
6148 Mention applied rate, flesh out some more use cases.
6150 * gst/gstevent.c: (gst_event_new_new_segment),
6151 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6152 (gst_event_parse_new_segment_full), (gst_event_new_tag),
6153 (gst_event_parse_tag), (gst_event_new_buffer_size),
6154 (gst_event_parse_buffer_size), (gst_event_new_qos),
6155 (gst_event_parse_qos), (gst_event_parse_seek),
6156 (gst_event_new_navigation):
6158 Add applied_rate field to NEWSEGMENT event.
6159 API: gst_event_new_new_segment_full()
6160 API: gst_event_parse_new_segment_full()
6162 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6163 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6164 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6166 Add applied_rate to GstSegment structure.
6167 Make calculation of stream_time and running_time more correct
6168 wrt rate/applied_rate.
6170 API: GstSegment::applied_rate field
6171 API: gst_segment_set_newsegment_full();
6173 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6174 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6175 * libs/gst/base/gstbasetransform.c:
6176 (gst_base_transform_sink_eventfunc),
6177 (gst_base_transform_handle_buffer):
6178 Parse and use applied_rate in the GstSegment field.
6180 * tests/check/gst/gstevent.c: (GST_START_TEST):
6181 Add check for applied_rate field.
6183 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6184 (gstsegments_suite):
6185 Add more checks for various GstSegment operations.
6187 2006-05-08 Wim Taymans <wim@fluendo.com>
6189 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6190 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6191 (gst_base_sink_get_position), (gst_base_sink_change_state):
6192 Store the sync time of the buffer end position separatly in a
6193 new variable eos_rtime so we can properly sync the EOS event.
6195 Fix the docs for gst_base_sink_set_qos_enabled().
6196 Don't set segment start to invalid value when we receive a
6197 non TIME newsegment.
6198 get closer to handling position reporting for negative rates
6201 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6204 Docs about how to print caps for debug purposes.
6206 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6207 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6209 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6212 use full enum names and preprend a '%' in docs strings to make recent
6213 gtk-doc turn that into a link
6215 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6217 * docs/manual/basics-bins.xml:
6218 * docs/manual/basics-bus.xml:
6219 * docs/manual/basics-pads.xml:
6220 Some typo fixes, some additions, some clarifications.
6222 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6224 * tools/gst-inspect.c: (main):
6225 * tools/gst-launch.c: (main):
6226 * tools/gst-run.c: (main):
6227 * tools/gst-typefind.c: (main):
6228 * tools/gst-xmlinspect.c: (main):
6229 Use the string passed to g_option_context_new() for
6230 what it's intended for - the program name is already
6233 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6235 * tools/Makefile.am:
6236 * tools/gst-inspect.c: (main):
6237 * tools/gst-launch.c: (main):
6238 * tools/gst-xmlinspect.c: (main):
6240 Add back --version command line option (#340460).
6242 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6243 Add --version option and use GOption for argument parsing; refactor a
6244 bit; accept directories as arguments and recurse into them; lastly,
6245 print a decent error message when things go wrong.
6247 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6249 * docs/manual/basics-bins.xml:
6250 Don't mention GstThread (#340611)
6251 * docs/manual/basics-elements.xml:
6252 Update link to GObject tutorial (#340607)
6254 2006-05-05 Wim Taymans <wim@fluendo.com>
6257 * gst/gstminiobject.c:
6258 Add note about refcounting and miniobject/buffer writeability
6259 to docs. Fixes #340604
6261 * gst/gstelementfactory.h:
6262 Added some explanation about @klass.
6264 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6266 * docs/manual/intro-motivation.xml:
6267 * docs/manual/manual.xml:
6268 Avoid CORBA & Bonobo references (#340598)
6270 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6272 * docs/manual/basics-bus.xml:
6273 * docs/manual/basics-pads.xml:
6274 Fix up some inaccuracies and omissions (#340609)
6276 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6278 * gst/gstghostpad.c:
6279 Small typo in docs (#340625)
6281 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6283 * gst/parse/Makefile.am:
6284 Make 'make -j' proof (see #340698).
6286 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6289 Require GLib-2.8 here as well.
6291 2006-05-05 Wim Taymans <wim@fluendo.com>
6293 * gst/glib-compat.c:
6294 * gst/gst.c: (init_pre):
6295 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6296 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6297 (gst_object_dispatch_properties_changed):
6299 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6300 * gst/gststructure.c: (gst_structure_set_valist):
6301 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6302 Remove pre glib2.8 compatibility, fixes #340508
6304 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6307 Mention type of tags in doc blurbs.
6309 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
6311 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6312 (gst_pad_configure_src), (gst_pad_push):
6313 Restore acceptcaps checking behaviour now that good plugins have
6316 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6318 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6329 * gst/parse/Makefile.am:
6330 * libs/gst/base/gstadapter.c:
6331 * libs/gst/base/gstbasesrc.c:
6332 * libs/gst/base/gstpushsrc.c:
6333 * libs/gst/base/gsttypefindhelper.c:
6334 * plugins/elements/gstfakesrc.c:
6335 * plugins/elements/gstidentity.c:
6336 Make sure gstprivate.h and/or config.h are
6337 always included first, otherwise some of our
6338 defines (like _FILE_OFFSET_BITS) might be
6339 redefined in the system headers. Fixes build
6340 on opensolaris (#340016).
6342 2006-05-04 Wim Taymans <wim@fluendo.com>
6344 * docs/libs/gstreamer-libs-sections.txt:
6345 API: addition: gst_adapter_take_buffer()
6347 * libs/gst/base/gstadapter.c: (gst_adapter_push),
6348 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6349 (gst_adapter_available_fast):
6350 * libs/gst/base/gstadapter.h:
6351 Prepare for optimizing the hell out of this hugely inefficient
6353 Added gst_adapter_take_buffer() so we can at least start thinking
6354 about subbuffering and merging.
6355 Added some comments.
6357 * tests/check/Makefile.am:
6358 * tests/check/libs/adapter.c: (GST_START_TEST),
6359 (gst_adapter_suite), (main):
6360 Added GstAdapter check.
6362 2006-05-04 Wim Taymans <wim@fluendo.com>
6364 * docs/design/part-overview.txt:
6365 Fix some typos, add blurb about buffer flags.
6367 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6369 * docs/libs/gstreamer-libs-sections.txt:
6370 make sure GstBaseTransformClass shows up in the docs
6371 * libs/gst/base/gstbasetransform.c:
6372 * libs/gst/base/gstbasetransform.h:
6373 move docs so gtk-doc picks it up now
6375 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6377 * docs/libs/gstreamer-libs-sections.txt:
6378 add missing symbols to docs
6380 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6382 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6383 back out the newsegment handling change, see #340060 for ongoing
6386 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
6388 * tools/gst-run.c: (get_candidates), (main):
6389 Fix wrong g_file_test() usage (see glib docs for why it doesn't
6390 work); fix typo in error message. Fixes #340079.
6392 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6394 * common/Makefile.am:
6396 * docs/faq/Makefile.am:
6397 * docs/gst/Makefile.am:
6398 * docs/libs/Makefile.am:
6399 * docs/manual/Makefile.am:
6400 * docs/plugins/Makefile.am:
6401 * docs/pwg/Makefile.am:
6402 * docs/slides/Makefile.am:
6404 * common/upload.mak:
6405 move upload.mak to common
6407 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6409 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6410 add more asserts on refcounts
6411 do more cleanup at end of tests
6412 fix test leaks showing in FC5
6414 2006-04-29 Stefan Kost <ensonic@users.sf.net>
6416 * plugins/elements/gsttypefindelement.c:
6417 (gst_type_find_element_handle_event):
6418 reverted wrong change and reflowed code to avoid others falling into
6421 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6423 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6424 fix changelog entry about last collectpads change,
6425 add notes about proper fix
6427 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6430 * gst/gstregistry.c: (gst_registry_scan_path_level),
6431 (gst_registry_scan_path):
6432 * gst/gstregistry.h:
6433 only write out registry if it has changed, fixes #338339
6435 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6438 * gst/gstpipeline.c:
6439 * plugins/elements/gstcapsfilter.c:
6440 * plugins/elements/gstfakesink.c:
6441 * plugins/elements/gstfakesrc.c:
6442 * plugins/elements/gstfdsink.c:
6443 * plugins/elements/gstfdsrc.c:
6444 * plugins/elements/gstfilesink.c:
6445 * plugins/elements/gstfilesrc.c:
6446 * plugins/elements/gstidentity.c:
6447 * plugins/elements/gstqueue.c:
6448 * plugins/elements/gsttee.c:
6449 * plugins/elements/gsttypefindelement.c:
6450 (gst_type_find_element_handle_event):
6451 make GstElementDetails const
6453 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6455 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6456 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6457 (gst_collect_pads_is_collected), (gst_collect_pads_event):
6458 more detailed debug and formatting cleanup,
6459 forward newsegments to src-pad (so that e.g. adder not eats them)
6461 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6463 * gst/gstutils.c: (gst_element_link_pads):
6466 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6468 * libs/gst/controller/gstcontroller.c:
6469 (gst_controller_sync_values):
6471 * tests/check/libs/controller.c: (GST_START_TEST),
6472 (gst_controller_suite):
6473 a new test for live value handling
6475 2006-04-28 Wim Taymans <wim@fluendo.com>
6477 * gst/gstutils.c: (push_and_ref):
6478 Added some more docs.
6479 Fix refcount issue whith gst_element_found_tags() helper
6480 function. Fixes #338335
6482 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6483 Added testsuite for gst_element_found_tags().
6485 2006-04-28 Michael Smith <msmith@fluendo.com>
6487 * gst/gstvalue.c: (gst_value_serialize_flags):
6488 Avoid NULL dereference when trying to serialize flags containing
6491 2006-04-28 Michael Smith <msmith@fluendo.com>
6493 * plugins/elements/gsttypefindelement.c:
6494 (gst_type_find_element_handle_event):
6495 If we get EOS before any data is accumulated, don't use
6496 uninitialised local variables.
6498 2006-04-28 Michael Smith <msmith@fluendo.com>
6500 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6501 (gst_dp_event_from_packet):
6502 Fixes in reading/writing events over GDP (not currently used?) -
6503 dereferencing NULL events for unknown/invalid event types, memory
6504 leak, and change g_warning to GST_WARNING.
6506 2006-04-28 Wim Taymans <wim@fluendo.com>
6508 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6509 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6510 (gst_base_sink_get_position), (gst_base_sink_change_state):
6511 When frame dropping is enabled, we should not ignore frames
6513 Update some documentation.
6515 2006-04-28 Wim Taymans <wim@fluendo.com>
6517 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6518 (gst_base_src_send_event), (gst_base_src_change_state):
6519 Documentation updates.
6521 2006-04-28 Wim Taymans <wim@fluendo.com>
6523 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6524 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6525 handle EAGAIN, EINTR and short writes correctly. Also clean
6526 up some error cases, avoid a deadlock on bad file descriptors and
6527 use GST_DEBUG_OBJECT.
6530 2006-04-28 Wim Taymans <wim@fluendo.com>
6532 * gst/gstvalue.c: (gst_value_serialize_buffer),
6533 (gst_value_deserialize_buffer):
6534 Don't try to serialize a GValue with a NULL buffer.
6537 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6538 Added check for serialisation of NULL buffers.
6540 2006-04-28 Wim Taymans <wim@fluendo.com>
6542 * gst/gstminiobject.c: (gst_value_take_mini_object):
6543 Taking a NULL miniobject is valid, fix the case where
6544 we try to unref the NULL miniobject.
6546 2006-04-28 Wim Taymans <wim@fluendo.com>
6548 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6550 * gst/gstbin.c: (gst_bin_handle_message_func):
6552 Don't leak bin refcount when a state recalc is
6553 in progress and we delay another one #339808.
6555 2006-04-28 Wim Taymans <wim@fluendo.com>
6557 * docs/design/part-TODO.txt:
6558 Mention QoS as an ongoing work item.
6560 * docs/design/part-buffering.txt:
6561 New doc about buffering that needs to be fleshed out
6564 * docs/design/part-qos.txt:
6565 More QoS policy for decoders/demuxers/transforms
6567 * docs/design/part-trickmodes.txt:
6570 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6575 === release 0.10.5 ===
6577 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6580 releasing 0.10.5, "Fogo"
6582 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
6584 patch by: Wim Taymans
6586 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6587 (gst_pad_configure_src), (gst_pad_push):
6588 * gst/gstpipeline.c: (gst_pipeline_init):
6589 Fix internal data flow errors. Fixes #338711.
6591 2006-04-12 Wim Taymans <wim@fluendo.com>
6593 * tests/check/gst/gstelement.c: (GST_START_TEST):
6594 Don't leak the factory.
6596 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6599 * win32/common/config.h:
6602 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
6604 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6605 (gst_controller_unset_all):
6606 Free allocated GstTimedValues when freeing list nodes.
6607 Should fix leaks 'make check-valgrind' complains about.
6609 * win32/common/libgstcontroller.def:
6610 Add gst_controller_unset_all.
6612 2006-04-11 Stefan Kost <ensonic@users.sf.net>
6614 * docs/libs/gstreamer-libs-sections.txt:
6615 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6616 (gst_controller_unset_all):
6617 * libs/gst/controller/gstcontroller.h:
6618 API: Added new method gst_controller_unset_all()
6619 fixed gst_controller_unset()
6620 * tests/check/libs/controller.c: (GST_START_TEST),
6621 (gst_controller_suite):
6622 Added two testcases for new and fixed method
6624 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
6626 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6627 MSG_DONTWAIT is not defined on Cygwin, so work
6628 around that (fixes #317048).
6630 2006-04-11 Wim Taymans <wim@fluendo.com>
6632 * gst/gstelementfactory.c: (gst_element_register),
6633 (gst_element_factory_create), (gst_element_factory_make):
6636 Updated docs (Fixes #131079)
6638 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6641 * tests/check/gst/gstelement.c: (GST_START_TEST),
6642 (gst_element_suite):
6643 Added testcase for elementfactory class field.
6645 2006-04-10 Wim Taymans <wim@fluendo.com>
6648 Added some more docs.
6650 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6651 (gst_base_sink_reset_qos):
6652 Calculate more accurate rate values.
6654 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
6656 * gst/gst_private.h:
6657 add a new #ifdef to use __declspec(dllimport) only for
6658 other modules and not for gstreamer core
6659 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6660 use gst_guint64_to_gdouble for conversion
6661 * win32/common/libgstreamer.def:
6662 add new exported functions
6663 * win32/vs6/gst_inspect.dsp:
6664 * win32/vs6/gst_launch.dsp:
6665 * win32/vs6/libgstbase.dsp:
6666 * win32/vs6/libgstcontroller.dsp:
6667 * win32/vs6/libgstcoreelements.dsp:
6668 * win32/vs6/libgstdataprotocol.dsp:
6669 * win32/vs6/libgstnet.dsp:
6670 update project files
6672 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6674 * gst/gstbuffer.c: (gst_subbuffer_class_init):
6675 * gst/gstclock.c: (gst_clock_class_init):
6676 * gst/gstelement.c: (gst_element_class_init):
6677 * gst/gstindex.c: (gst_index_class_init):
6678 * gst/gstindexfactory.c: (gst_index_factory_class_init):
6679 * gst/gstobject.c: (gst_object_class_init),
6680 (gst_signal_object_class_init):
6681 * gst/gstpad.c: (gst_pad_class_init):
6682 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6683 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6684 * gst/gstregistry.c: (gst_registry_class_init):
6685 * gst/gstsystemclock.c: (gst_system_clock_class_init):
6686 * gst/gsttask.c: (gst_task_class_init):
6687 * gst/gstxml.c: (gst_xml_class_init):
6688 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6689 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6690 (gst_base_src_loop):
6691 * libs/gst/controller/gstcontroller.c:/
6692 (_gst_controller_class_init):
6693 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6694 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6695 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6696 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6697 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6698 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6700 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
6702 * gst/gstpad.c: (gst_pad_link):
6703 Must set peer pads before calling the link function, otherwise
6704 a task started from a link function might get a flow-not-linked
6705 result when trying to push because the other thread where the
6706 linking happens hasn't had a chance to set the peers yet. This
6707 might happen for example when a queue gets linked to a downstream
6708 element, as queue starts a streaming task when its source pad
6709 gets linked. Happens in real life when playing back flac/musepack
6710 files in playbin (#332390).
6712 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6716 * libs/gst/base/gstadapter.h:
6717 * libs/gst/base/gstbasesink.h:
6718 * libs/gst/base/gstbasesrc.h:
6719 * libs/gst/base/gstbasetransform.h:
6720 * libs/gst/base/gstcollectpads.h:
6721 * libs/gst/base/gstpushsrc.h:
6722 Fix broken GObject macros
6724 2006-04-07 Wim Taymans <wim@fluendo.com>
6726 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6727 Initialize start and stop times, thanks valgrind.
6729 2006-04-07 Wim Taymans <wim@fluendo.com>
6731 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6732 Be a bit nicer to badly behaving upstream elements that expect
6733 us to deal with non TIME segments and timestamps (such as fakesrc
6736 2006-04-07 Wim Taymans <wim@fluendo.com>
6739 Small documentation clarification about the signal watch.
6741 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6742 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6743 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6744 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6745 (gst_base_sink_get_position_last),
6746 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6747 Convert and store timestamps in stream time and running time, the
6748 raw timestamps are not useful, also document this better.
6749 Use different window sizes for good and bad QoS observations so
6750 we react to badness a little quicker.
6751 Keep track of the amount of rendered and dropped buffers.
6752 Send QoS timestamps in running time.
6754 * libs/gst/base/gstbasetransform.c:
6755 (gst_base_transform_sink_eventfunc),
6756 (gst_base_transform_handle_buffer):
6757 Compare QoS timestamps against running time.
6759 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6764 2006-04-06 Michael Smith <msmith@fluendo.com>
6766 * gst/gstpad.c: (gst_pad_set_property):
6767 Use g_value_get_object() instead of g_value_dup_gst_object(),
6768 to avoid double-reffing the pad template (which we then sink,
6769 so this worked previously if (and only if) the pad template
6772 * gst/gstpadtemplate.c: (gst_pad_template_init),
6773 (gst_pad_template_pad_created):
6774 Never return floating references to pad templates, create
6775 them as initially-sunken.
6777 Document an extra function (and make this stop sinking our
6778 pad template, since that is now guaranteed to do nothing,
6779 since we created it sunken).
6781 * gst/gstghostpad.c:
6784 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6786 * gst/gstinfo.c: (__gst_in_valgrind):
6789 * plugins/elements/gsttypefindelement.c:
6790 (gst_type_find_element_chain):
6791 Don't leak buffer caps.
6793 2006-04-06 Michael Smith <msmith@fluendo.com>
6795 * gst/parse/grammar.y:
6796 Fix a leak in parse-launch for any source-or-sink named element
6799 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6800 Unref the pipeline if it exists after we've failed parsing.
6802 2006-04-05 Michael Smith <msmith@fluendo.com>
6804 * gst/gstpipeline.c: (gst_pipeline_init):
6805 When we create a pipeline bus, initially create it in flushing mode.
6806 Fixes leaks in at least one test, and makes a new pipeline work the
6807 same as one that has gone to READY and then back to NULL.
6812 2006-04-05 Michael Smith <msmith@fluendo.com>
6814 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6815 Unref a pad we reffed.
6816 * tests/check/gst/gstutils.c: (GST_START_TEST):
6819 2006-04-05 Michael Smith <msmith@fluendo.com>
6821 * gst/gstquery.c: (gst_query_set_formats),
6822 (gst_query_set_formatsv):
6823 Fix leaking GValues in queries, as shown by valgrind/testsuite.
6825 2006-04-05 Michael Smith <msmith@fluendo.com>
6827 * tests/check/generic/sinks.c: (GST_START_TEST):
6828 Fix a variety of memleaks in sinks check, which are only sometimes
6829 shown by running the tests under valgrind (weird?).
6831 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
6833 * docs/version.entities.in:
6834 Fix the substituted entity name after thomas' changes on the
6837 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6839 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
6842 2006-04-05 Andy Wingo <wingo@pobox.com>
6844 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
6846 * libs/gst/base/gstbasetransform.c
6847 (gst_base_transform_sink_eventfunc): When resetting our segment on
6848 FLUSH_STOP, also update the flag saying we haven't seen a
6851 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6853 Patch by: Paolo Borelli <pborelli at katamail dot com>
6855 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6856 (gst_plugin_check_license):
6857 minor clean-ups: G_DEFINE_TYPE already takes care of the
6858 parent_class stuff, no need to do it twice. Mark array of
6859 license strings as constant. (#337103)
6861 2006-04-04 Michael Smith <msmith@fluendo.com>
6863 * tools/gst-inspect.c: (print_element_list):
6864 Free the right plugin list; fixes a memory leak.
6866 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6868 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6870 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6871 Don't error out on empty buffers (#336945).
6873 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
6875 * docs/libs/gstreamer-libs-sections.txt:
6877 * libs/gst/base/gstbasesink.c:
6878 * libs/gst/base/gstbasesink.h:
6879 * libs/gst/base/gstbasesrc.c:
6880 * libs/gst/base/gstbasesrc.h:
6881 Documentation updates. Make BaseSink and BaseSrc docs contain the
6882 class structure so that people can actually see the prototypes for
6883 virtual functions they're supposed to be overriding.
6885 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6887 * plugins/elements/gsttypefindelement.c:
6888 (gst_type_find_element_chain):
6889 More debug info; when skipping typefinding, send cached
6890 events in all cases.
6892 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
6895 use new AS_VERSION and AS_NANO macros
6896 * gst/gst-i18n-lib.h:
6899 * gst/gstversion.h.in:
6900 * win32/common/config.h:
6901 * win32/common/config.h.in:
6904 2006-03-31 Michael Smith <msmith@fluendo.com>
6906 * plugins/elements/gsttypefindelement.c:
6907 (gst_type_find_element_chain):
6908 Do not typefind content if the buffers already have caps.
6909 Neccesary for icydemux (#333657), and the right thing to do anyway.
6911 2006-03-30 Wim Taymans <wim@fluendo.com>
6913 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6914 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
6915 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
6916 (gst_base_sink_record_qos_observation),
6917 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6918 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6919 (gst_base_sink_change_state):
6920 More QoS measurements as described in the design doc.
6921 Get rid of ringbuffer with observations, running average is
6922 more simple and equally good.
6923 Calculates valid proportion now.
6924 Added beginning of flood measurement.
6926 2006-03-29 Wim Taymans <wim@fluendo.com>
6928 * docs/design/part-qos.txt:
6930 Small documentation updates and additions.
6932 2006-03-29 Wim Taymans <wim@fluendo.com>
6934 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6935 (gst_base_src_send_event), (gst_base_src_loop),
6936 (gst_base_src_change_state):
6937 Perform the EOS logic when we reach the segment stop position.
6938 Fix compilation on gcc4.1
6940 2006-03-29 Wim Taymans <wim@fluendo.com>
6942 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6944 * plugins/elements/gstqueue.c: (gst_queue_init),
6945 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6946 (gst_queue_set_property):
6947 * plugins/elements/gstqueue.h:
6948 In queue, when EOS is received, if minimum threshold > max_size -
6949 current_level, there is chance that queue blocks forever in conditional
6950 item del wait. This is because the queue is not emptied completely due
6951 to minimum threshold. Here is another approach. Instead of setting
6952 cur_levels to max in EOS, just zero all minimum threshold levels. This
6953 should make sure that queue gives out all data. When going to READY
6954 (stop) state, just reset the original minimum threshold levels.
6957 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
6959 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
6960 (gst_type_find_element_handle_event),
6961 (gst_type_find_element_send_cached_events),
6962 (gst_type_find_element_change_state):
6963 * plugins/elements/gsttypefindelement.h:
6964 When typefinding is done in push mode, we should cache
6965 events we receive during typefinding instead of just
6966 dropping them (e.g. newsegment, custom events from
6967 dvdreadsrc etc.) and then send them out once we've
6968 determined the type of the stream (and decodebin
6969 has had a chance to plug in a decoder/demuxer).
6971 2006-03-27 Wim Taymans <wim@fluendo.com>
6973 * docs/design/part-qos.txt:
6976 2006-03-27 Wim Taymans <wim@fluendo.com>
6978 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
6980 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6981 (gst_base_src_send_event), (gst_base_src_change_state):
6982 Handle element seek correctly when we are streaming.
6985 2006-03-24 Michael Smith <msmith@fluendo.com>
6987 * docs/faq/gst-uninstalled:
6988 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
6989 allow you to correctly run intalled applications built against old
6990 core, using plugins that require updated core (e.g. running
6991 installed totem against a full uninstalled gstreamer stack)
6993 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6995 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6998 2006-03-24 Wim Taymans <wim@fluendo.com>
7000 * docs/gst/gstreamer-sections.txt:
7001 Rearrange the order of the methods so that related methods
7002 are grouped together in sections.
7004 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7007 Little clarification in the docs
7009 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7013 * plugins/elements/gstidentity.c:
7014 * plugins/elements/gstqueue.c:
7015 * plugins/elements/gsttee.c:
7016 * plugins/elements/gsttypefindelement.c:
7017 GST_ELEMENT_DETAILS formatting
7019 2006-03-24 Wim Taymans <wim@fluendo.com>
7021 * libs/gst/base/gstbasesink.h:
7022 Only add fields, not insert or we break ABI.
7024 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7026 * win32/common/libgstbase.def:
7027 * win32/common/libgstreamer.def:
7028 Update, add recently added functions.
7030 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7032 * docs/gst/gstreamer-sections.txt:
7033 * gst/gstutils.c: (gst_pad_query_peer_position),
7034 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7036 API: add some new utility functions:
7037 - gst_pad_query_peer_position()
7038 - gst_pad_query_peer_duration()
7039 - gst_pad_query_peer_convert()
7041 2006-03-23 Wim Taymans <wim@fluendo.com>
7043 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7044 (gst_base_sink_init), (gst_base_sink_finalize),
7045 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7046 (gst_base_sink_set_property), (gst_base_sink_get_property),
7047 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7048 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7049 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7050 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7051 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7052 (gst_base_sink_preroll_object), (gst_base_sink_event),
7053 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7054 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7055 (gst_base_sink_query), (gst_base_sink_change_state):
7056 Decouple max-lateness and the fact that QoS messages are generated
7057 with a new property (qos).
7058 added API: GstBaseSink::async_play()
7059 Add vmethod so subclasses can be notified of ASYNC playing
7061 Collect timestamp start and stop to report better current
7062 position in EOS/PLAYING/PAUSED/READY/NULL.
7063 Refactor QoS/frame dropping and other measurements.
7064 API: GstBaseSrc::qos
7067 * libs/gst/base/gstbasesink.h:
7068 Added Private struct.
7069 API: gst_base_sink_set_qos_enabled()
7070 API: gst_base_sink_is_qos_enabled()
7072 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7074 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7075 If compiling against GLib-2.8 or newer, try to read the
7076 registry file using GMappedFile first before falling back
7077 to fopen() + fread() (#332151).
7079 2006-03-22 Wim Taymans <wim@fluendo.com>
7081 * gst/gstinfo.c: (gst_debug_set_active),
7082 (gst_debug_category_set_threshold):
7083 Disable debugging unless explicitly activated.
7086 2006-03-22 Wim Taymans <wim@fluendo.com>
7088 * gst/gstelement.c: (gst_element_set_locked_state),
7089 (gst_element_dispose):
7090 Cleanup the error case.
7092 * gst/gstobject.c: (gst_object_dispose):
7093 print a critical when some object was disposed with
7094 a parent, also revive the object since it might
7097 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
7099 * tools/gst-launch.1.in:
7102 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7105 * tests/check/Makefile.am:
7106 disable some tests when we don't have a registry
7107 * tests/check/gst/gstutils.c: (gst_utils_suite):
7108 don't build the part that needs parsing
7110 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7113 * tests/examples/Makefile.am:
7114 fix --disable-parse build
7116 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7118 * tools/gst-feedback.1.in:
7119 Fix typo: s/feeback/feedback/ (#133494).
7121 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7123 * tools/Makefile.am:
7124 * tools/gst-launch.1.in:
7125 Add FILES section and correct entry about GST_REGISTRY_PATH
7126 environment variable (#133495; #133494).
7128 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7130 * tools/Makefile.am:
7131 * tools/gst-md5sum.1.in:
7132 * tools/gst-md5sum.c:
7133 Remove gst-md5sum and man page (the md5sink element
7134 required was removed ages ago)
7136 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7138 * gst/gststructure.c: (gst_structure_id_set_value):
7139 Make sure that string fields in structures/taglists
7140 contain valid UTF-8 - we don't want to pass rubbish to
7141 applications because of a buggy plugin (cp. #334167).
7143 2006-03-21 Edward Hervey <edward@fluendo.com>
7145 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7146 (gst_bin_handle_message_func):
7147 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7148 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7149 (gst_element_set_bus_func):
7150 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7151 * gst/gstminiobject.c: (gst_value_set_mini_object),
7152 (gst_value_take_mini_object):
7153 * gst/gstpad.c: (gst_pad_set_pad_template):
7154 * gst/gstpipeline.c: (gst_pipeline_dispose),
7155 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7156 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7157 (gst_collect_pads_chain):
7158 * libs/gst/net/gstnettimeprovider.c:
7159 (gst_net_time_provider_set_property):
7160 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7161 It's in fact all issues with gst_*object_replace().
7163 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7165 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
7167 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7168 * pkgconfig/gstreamer-check.pc.in:
7169 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7171 2006-03-21 Edward Hervey <edward@fluendo.com>
7176 gst_[buffer|event|message]_ref() macros are replaced by a static
7177 inline functions because gcc-4.1 will about if the return value
7179 * tests/check/gst/gstevent.c: (event_probe):
7180 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7182 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
7185 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7186 the type' case. (Closes: #335195 for now). In the future, when we
7187 depend on GLib 2.10, we could also intern the type name using
7188 g_intern_static_string()
7190 2006-03-20 Wim Taymans <wim@fluendo.com>
7192 * gst/gstbin.c: (gst_bin_handle_message_func),
7193 (bin_query_max_init), (bin_query_position_fold),
7194 (bin_query_position_done), (gst_bin_query):
7195 Position query should also take max of all streams.
7197 2006-03-20 Wim Taymans <wim@fluendo.com>
7199 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7200 (gst_fake_src_finalize):
7201 Fix leaks in fakesrc.
7203 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7204 Fix leaks in the testcase.
7206 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
7208 * gst/gst_private.h:
7209 add win32 specific import decoration(__declspec(dllimport))
7210 for all extern GstDebugCategory * variables
7211 * win32/common/libgstbase.def:
7212 * win32/common/libgstcontroller.def:
7213 * win32/common/libgstreamer.def:
7214 Add some exports, remove empty lines
7215 * win32/common/libgstdataprotocol.def:
7216 * win32/common/libgstdataprotocol.dsp:
7217 * win32/common/libgstnet.def:
7218 * win32/common/libgstnet.dsp:
7219 new project files and exportation files added
7221 2006-03-19 Wim Taymans <wim@fluendo.com>
7223 * tests/check/libs/basesrc.c: (eos_event_counter):
7224 Use proper return value for probe.
7226 2006-03-17 Wim Taymans <wim@fluendo.com>
7228 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7230 Don't leak buffers, caps and pads on negotiation errors.
7232 2006-03-16 Stefan Kost <ensonic@users.sf.net>
7235 * docs/faq/dependencies.xml:
7236 * docs/faq/developing.xml:
7238 * docs/faq/general.xml:
7239 * docs/faq/getting.xml:
7240 * docs/faq/legal.xml:
7241 * docs/faq/troubleshooting.xml:
7242 * docs/faq/using.xml:
7243 Faq review and update.
7245 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
7247 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7249 Don't pound the cpu to pieces by checking get_caps when accept_caps
7250 is called with the same caps as the pad already has.
7251 Use GST_DEBUG_OBJECT when outputting caps change information.
7253 2006-03-15 Wim Taymans <wim@fluendo.com>
7255 * gst/gstclock.c: (gst_clock_class_init):
7258 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
7263 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7264 (gst_pad_accept_caps), (gst_pad_configure_sink),
7265 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7266 Make the default acceptcaps behaviour be to check the requested
7267 caps against the gst_pad_get_caps output.
7269 Ensure that gst_pad_accept_caps is used to check caps when a pad
7270 doesn't have a setcaps function, so that pads automatically refuse
7271 caps that they don't allow in their pad template. (Fixes #332986)
7273 When a buffer with attached caps is pushed, ensure that the source
7274 pad receives those caps even if the element didn't call
7275 gst_pad_set_caps first.
7277 2006-03-15 Wim Taymans <wim@fluendo.com>
7279 * libs/gst/base/gstadapter.c:
7282 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
7284 * win32/common/libgstbase.def:
7285 * win32/common/libgstcontroller.def:
7286 * win32/common/libgstreamer.def:
7287 Add a whole bunch of missing functions (#334434).
7289 2006-03-14 Wim Taymans <wim@fluendo.com>
7291 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7292 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7293 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7294 Better debug info when we receive a segment event.
7295 Reorganize a bit so we can pass the get_times() results around.
7296 Use the segment format when calculating the running time.
7297 Don't do QoS is sync is disabled or we have no clock or the
7298 element does not want us to sync to the clock.
7299 Don't drop buffers if QoS is disabled for now.
7301 2006-03-14 Wim Taymans <wim@fluendo.com>
7303 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7304 Marked the stats property as unimplemented so people don't get
7306 Add debug message when regression goes wrong.
7307 Added some more docs.
7309 2006-03-14 Wim Taymans <wim@fluendo.com>
7311 * gst/gstsegment.c: (gst_segment_to_stream_time):
7312 Return correct return type in case of errors.
7314 2006-03-14 Wim Taymans <wim@fluendo.com>
7316 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7317 Don't segfault on invalid formats.
7319 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7321 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7322 Can't use gst_segment_to_running_time() when the segment
7323 is not in GST_TIME_FORMAT (like with filesink, for example).
7324 Stops flac encoding pipelines from spewing critical warnings
7327 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7329 * gst/gstpipeline.c: (gst_pipeline_class_init):
7330 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7332 * plugins/elements/gsttypefindelement.c:
7333 (gst_type_find_element_handle_event):
7334 Don't try to typefind empty streams.
7336 2006-03-14 Wim Taymans <wim@fluendo.com>
7338 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7339 (gst_base_sink_do_qos):
7340 Separate QoS calculation.
7341 Only drop buffers when lateness is bigger than the
7342 duration of the buffer.
7344 2006-03-13 Wim Taymans <wim@fluendo.com>
7346 * gst/gstpipeline.c: (gst_pipeline_set_property),
7347 (gst_pipeline_get_property), (do_pipeline_seek),
7348 (gst_pipeline_change_state), (gst_pipeline_set_delay),
7349 (gst_pipeline_get_delay):
7350 Don't deadlock when reading properties.
7352 2006-03-13 Wim Taymans <wim@fluendo.com>
7354 * libs/gst/base/gstbasetransform.c:
7355 (gst_base_transform_class_init), (gst_base_transform_init),
7356 (gst_base_transform_sink_event),
7357 (gst_base_transform_sink_eventfunc),
7358 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7359 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7360 (gst_base_transform_set_property),
7361 (gst_base_transform_get_property),
7362 (gst_base_transform_change_state), (gst_base_transform_update_qos),
7363 (gst_base_transform_set_qos_enabled),
7364 (gst_base_transform_is_qos_enabled):
7365 * libs/gst/base/gstbasetransform.h:
7366 Make basetransform virtual method for src events too.
7367 Handle QOS in basetransform.
7368 API: gst_base_transform_update_qos()
7369 API: gst_base_transform_set_qos_enabled()
7370 API: gst_base_transform_is_qos_enabled()
7372 2006-03-13 Wim Taymans <wim@fluendo.com>
7374 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7375 (gst_base_sink_do_sync):
7377 Use QOS debug category.
7379 2006-03-13 Wim Taymans <wim@fluendo.com>
7381 * plugins/elements/gstqueue.c:
7382 Very small doc update.
7384 2006-03-13 Wim Taymans <wim@fluendo.com>
7386 * gst/gst_private.h:
7387 * gst/gstinfo.c: (_gst_debug_init):
7388 Added QOS debug category
7390 2006-03-13 Wim Taymans <wim@fluendo.com>
7392 * docs/gst/gstreamer-sections.txt:
7393 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7395 * gst/gstbus.c: (gst_bus_class_init):
7398 * gst/gstelement.c: (gst_element_set_locked_state):
7400 Documentation updates.
7402 * gst/gstpipeline.c: (gst_pipeline_get_type),
7403 (gst_pipeline_class_init), (gst_pipeline_init),
7404 (gst_pipeline_dispose), (gst_pipeline_set_property),
7405 (gst_pipeline_get_property), (do_pipeline_seek),
7406 (gst_pipeline_send_event), (gst_pipeline_change_state),
7407 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7408 (gst_pipeline_get_delay):
7409 * gst/gstpipeline.h:
7410 Added methods for setting the delay.
7411 API: gst_pipeline_set_delay()
7412 API: gst_pipeline_get_delay()
7413 Add pipeline debug category
7416 Don't reset stream time when seek failed.
7418 2006-03-13 Wim Taymans <wim@fluendo.com>
7420 * docs/design/draft-klass.txt:
7421 * docs/design/part-clocks.txt:
7422 * docs/design/part-events.txt:
7423 * docs/design/part-gstbin.txt:
7424 * docs/design/part-gstpipeline.txt:
7425 * docs/design/part-messages.txt:
7426 * docs/design/part-negotiation.txt:
7427 * docs/design/part-overview.txt:
7428 * docs/design/part-preroll.txt:
7429 * docs/design/part-seeking.txt:
7430 * docs/design/part-states.txt:
7431 * docs/design/part-streams.txt:
7432 Documentation updates.
7434 2006-03-12 Julien MOUTTE <julien@moutte.net>
7436 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7437 us to leak strings...
7439 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
7441 * libs/gst/net/gstnettimeprovider.c:
7443 * win32/common/config.h:
7446 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
7448 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7451 Don't check for libgnomeui (leftover from old examples
7452 that aren't built or disted any longer) (#334303).
7454 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
7456 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7457 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7458 Emit RESOURCE_NO_SPACE_LEFT error here as well when
7459 there's no space left on the device.
7461 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
7464 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7465 to cast the input to GstClockTime before comparing with
7466 another GstClockTime value.
7468 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7473 === release 0.10.4 ===
7475 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7478 releasing 0.10.4, "Light"
7480 2006-03-10 Michael Smith <msmith@fluendo.com>
7482 * libs/gst/dataprotocol/dataprotocol.c:
7483 Fix docs for dataprocotol to not get the return types completely
7484 wrong for a few functions.
7486 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7488 * docs/gst/gstreamer-sections.txt:
7489 * gst/gstpipeline.c: (gst_pipeline_class_init),
7490 (gst_pipeline_init), (gst_pipeline_set_property),
7491 (gst_pipeline_get_property), (gst_pipeline_change_state),
7492 (gst_pipeline_set_auto_flush_bus),
7493 (gst_pipeline_get_auto_flush_bus):
7494 * gst/gstpipeline.h:
7495 Add new API: gst_pipeline_set_auto_flush_bus() and
7496 gst_pipeline_get_auto_flush_bus() to disable automatic
7497 flushing of the pipeline's GstBus when going from READY
7498 to NULL state (#332045).
7500 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7502 * docs/gst/gstreamer-sections.txt:
7503 * gst/gsturi.c: (gst_uri_has_protocol):
7505 Add new API: gst_uri_has_protocol() (#333779).
7507 2006-03-09 Wim Taymans <wim@fluendo.com>
7509 * gst/gstclock.c: (gst_clock_entry_new),
7510 (gst_clock_id_compare_func), (gst_clock_id_wait),
7511 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7512 (gst_clock_init), (gst_clock_get_internal_time),
7513 (gst_clock_set_master), (do_linear_regression),
7514 (gst_clock_add_observation), (gst_clock_set_property):
7518 Fix a possible segfault when the window-size is made smaller.
7519 Calculate jitter before performing the clock wait. Ideally
7520 the clock implementation should calculate jitter but we need
7521 API breakage for that.
7523 * gst/gstsystemclock.c: (gst_system_clock_init):
7526 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7527 Remove leftover else
7529 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7530 (gst_systemclock_suite):
7531 Added check to test GST_CLOCK_DIFF.
7533 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7535 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7536 (gst_type_find_helper_get_range):
7537 If we are provided with the size, we should implement
7538 GstTypeFind::get_length, so that typefind functions who
7539 want to can actually peek at the middle of a file.
7541 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
7543 * docs/manual/advanced-dataaccess.xml:
7544 Add some very very basic error checking.
7546 * docs/pwg/appendix-checklist.xml:
7547 Some updates to the list of things to check when writing an element.
7549 2006-03-08 Wim Taymans <wim@fluendo.com>
7551 * docs/design/part-element-transform.txt:
7552 Added some docs about the design of tranform elements.
7554 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7555 (gst_base_src_loop), (gst_base_src_change_state):
7556 Mark buffers with the DISCONT flag.
7558 2006-03-08 Michael Smith <msmith@fluendo.com>
7560 * gst/gstregistry.h:
7561 * gst/gstregistryxml.c: (gst_registry_save),
7562 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7563 (gst_registry_xml_save_pad_template),
7564 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7565 (gst_registry_xml_write_cache):
7566 Rewrite registry-saving to avoid race conditions and check for
7569 2006-03-08 Wim Taymans <wim@fluendo.com>
7571 * libs/gst/base/gstbasetransform.c:
7572 (gst_base_transform_transform_caps),
7573 (gst_base_transform_transform_size),
7574 (gst_base_transform_prepare_output_buffer),
7575 (gst_base_transform_get_unit_size),
7576 (gst_base_transform_buffer_alloc),
7577 (gst_base_transform_handle_buffer),
7578 (gst_base_transform_change_state):
7579 Cleanups, separate normal flow from errors, add sensible
7581 Don't try to renegotiate when allocating an output buffer.
7582 Also copy DISCONT buffer flag when copying a buffer.
7583 Reset the transform after we finish streaming, not during.
7585 2006-03-08 Wim Taymans <wim@fluendo.com>
7587 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7588 Use last buffer timestamp in qos message.
7590 2006-03-07 Wim Taymans <wim@fluendo.com>
7592 Patch by: Christophe Fergeau
7594 * docs/pwg/advanced-tagging.xml:
7595 * docs/pwg/building-pads.xml:
7598 2006-03-07 Wim Taymans <wim@fluendo.com>
7600 * docs/libs/gstreamer-libs-sections.txt:
7601 Added basesink new methods.
7605 Docs updates. Flesh out the QoS docs.
7607 * libs/gst/base/gstadapter.c:
7608 Small doc clarification about ownership and flushing.
7610 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7611 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7612 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7613 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7614 * libs/gst/base/gstbasesink.h:
7616 Added new methods to allow subclass to control max-lateness
7618 Generate very basic QoS events based on last sync observation.
7619 Updated docs, fix typo, added some QoS blurb.
7621 * libs/gst/base/gstbasesrc.c:
7622 Remove obsolete _get_state() calls from docs.
7624 2006-03-07 Wim Taymans <wim@fluendo.com>
7626 * docs/libs/gstreamer-libs-sections.txt:
7627 * libs/gst/base/gstbasetransform.h:
7628 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7629 Fix docs for GstBaseSrc.
7631 2006-03-07 Wim Taymans <wim@fluendo.com>
7633 * docs/gst/gstreamer-sections.txt:
7636 * libs/gst/base/gstbasetransform.h:
7637 Small documentation fixes.
7639 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7642 Document thread-unsafety of gst_value_register_foo_func()
7643 when used at the same time as gst_value_foo() (#322628).
7645 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7647 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7648 (gst_push_src_check_get_range):
7649 Push sources don't support pull mode by default.
7651 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7653 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7654 (gst_base_src_init), (gst_base_src_pad_check_get_range),
7655 (gst_base_src_default_check_get_range):
7656 * libs/gst/base/gstbasesrc.h:
7657 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7658 provide default implementation, and rename
7659 gst_base_src_check_get_range() to
7660 gst_base_src_pad_check_get_range() for clarity.
7662 2006-03-06 Wim Taymans <wim@fluendo.com>
7664 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7665 Make property overridable.
7667 2006-03-06 Wim Taymans <wim@fluendo.com>
7669 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7670 (gst_base_sink_init), (gst_base_sink_set_property),
7671 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7672 * libs/gst/base/gstbasesink.h:
7673 API addition: Make max-lateness a property.
7675 2006-03-06 Wim Taymans <wim@fluendo.com>
7677 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7678 (gst_base_sink_do_sync), (gst_base_sink_render_object):
7679 Don't ever draw a frame that is >10ms late.
7681 2006-03-06 Michael Smith <msmith@fluendo.com>
7683 * gst/gstmessage.c: (_gst_message_copy):
7684 When copying a message, set the parent_refcount of the enclosed
7685 structure to point at the copy, not the original message.
7687 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7689 Patch by: Christophe Fergeau
7692 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7693 usable in c++ code (#333417)
7695 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
7698 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7700 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
7702 * libs/gst/base/gstbasetransform.c:
7703 (gst_base_transform_transform_caps):
7704 Make sure caps are writable before passing them to
7707 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7710 Fix some minor docs errors.
7712 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7714 Patch by: Ross Burton <ross at burtonini dot com>
7716 * gst/gsterror.c: (_gst_resource_errors_init):
7718 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7720 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7723 Add a check and output a g_warning when GStreamer is built
7724 against GLib 2.6 but running against 2.8 or higher, and vice
7725 versa. (Closes: #323542)
7727 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7729 * gst/parse/parse.l:
7730 Commit patch for parse_launch syntax from #331255. Removes
7731 support for quoted strings and mimetypes when writing filtered
7732 caps. See the bug report for more details - I'm pretty sure this
7733 obscure feature is not in use by _anyone_ anywhere.
7735 With this simple change, the size of the gstreamer.so here
7736 drops from 2193KB to 1565KB.
7738 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7740 * plugins/elements/gsttypefindelement.h:
7741 * plugins/elements/gsttypefindelement.c:
7742 (gst_type_find_element_src_event), (start_typefinding),
7743 (stop_typefinding), (gst_type_find_element_handle_event),
7744 (gst_type_find_element_chain),
7745 (gst_type_find_element_chain_do_typefinding):
7746 Use gst_type_find_helper_for_buffer() for chain-based
7749 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7751 * plugins/elements/gsttypefindelement.c:
7752 (gst_type_find_element_class_init),
7753 (gst_type_find_element_set_property),
7754 (gst_type_find_element_get_property):
7755 Deprecate "maximum" property (not only was it only taken into
7756 account for typefinding in push-mode anyway, it also was never
7757 actually possible to set it in the first place because the
7758 property was registered with the numeric property ID for the
7759 "minimum" property). Register "maximum" property correctly,
7760 for the sake of future copy'n'pasters. Remove some cruft
7761 from property get/set functions.
7763 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7765 * plugins/elements/gsttypefindelement.c:
7766 (gst_type_find_element_activate):
7767 Use gst_type_find_helper_get_range() here, so we
7768 can honour the "minimum" property and also emit
7769 the signal with the correct probability of the found caps.
7771 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
7773 * docs/libs/gstreamer-libs-sections.txt:
7774 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7775 (helper_find_suggest), (gst_type_find_helper_get_range),
7776 (gst_type_find_helper):
7777 * libs/gst/base/gsttypefindhelper.h:
7778 New API: gst_type_find_helper_get_range() (#333042).
7780 2006-03-02 Michael Smith <msmith@fluendo.com>
7782 * gst/gstregistryxml.c: (load_feature):
7783 Asserting on a failure to read part of the registry is Not Cool.
7784 Just log a warning and return NULL (which is already handled)
7786 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
7788 * win32/common/libgstbase.def:
7789 added export of gst_type_find_helper_for_buffer
7790 * win32/common/libgstbase.def:
7791 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7792 gst_ghost_pad_get_target
7794 2006-02-28 Wim Taymans <wim@fluendo.com>
7796 * docs/design/draft-klass.txt:
7798 Added Connector to mark elements that are only used to
7799 allow pipeline connections.
7800 Moved Debug to extra feature since most of them are
7801 functionally something else.
7803 2006-02-28 Wim Taymans <wim@fluendo.com>
7805 * docs/design/draft-klass.txt:
7806 Some updates and clarifications.
7808 2006-02-28 Wim Taymans <wim@fluendo.com>
7810 * docs/design/draft-klass.txt:
7811 Proposal for klass field values.
7813 * docs/design/part-streams.txt:
7814 Start of a doc describing stream anatomy.
7816 2006-02-28 Wim Taymans <wim@fluendo.com>
7818 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
7819 Help the compiler a bit with type registration.
7820 Use existing forward cod path instead of duplicating it when
7823 * gst/gstbus.c: (gst_bus_get_type):
7824 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
7825 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
7826 * gst/gstclock.c: (gst_clock_get_type):
7827 * gst/gstelement.c: (gst_element_get_type),
7828 * gst/gstelementfactory.c: (gst_element_factory_get_type):
7829 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7830 * gst/gstminiobject.c: (gst_mini_object_get_type):
7831 * gst/gstpad.c: (gst_pad_get_type):
7832 * gst/gstsegment.c: (gst_segment_get_type):
7833 * gst/gststructure.c: (gst_structure_get_type):
7834 * gst/gstsystemclock.c: (gst_system_clock_get_type):
7835 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
7837 Help compiler with type registration.
7839 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7842 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7844 * plugins/elements/gsttypefindelement.c:
7845 (gst_type_find_element_handle_event):
7846 When we get an EOS event and have not found a type yet
7847 (most likely because we had not yet accumulated
7848 TYPE_FIND_MIN_SIZE of data yet), try to determine the
7849 type given the data we have so far. Fixes typefinding
7850 for very short streams again, most notably quicktime
7851 redirections as used on Apple's trailer site (#331701).
7853 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7855 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
7856 (gst_type_find_helper):
7857 Try typefinding factories with the highest rank first.
7859 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7861 * docs/libs/gstreamer-libs-docs.sgml:
7862 * docs/libs/gstreamer-libs-sections.txt:
7863 * libs/gst/base/gsttypefindhelper.c:
7864 Add section for typefind helper and add documentation
7865 for the old and the new function.
7867 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7869 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
7870 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
7871 (gst_type_find_helper_for_buffer):
7872 * libs/gst/base/gsttypefindhelper.h:
7873 New API: gst_type_find_helper_for_buffer() (#332723).
7875 2006-02-27 Michael Smith <msmith@fluendo.com>
7877 Patch by: Loïc Minier
7881 * docs/slides/Makefile.am:
7882 prevent CVS directories getting disted.
7884 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7886 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
7887 Use the REFCOUNTING category for caps refcounting.
7889 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
7891 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
7892 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
7894 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
7896 * plugins/elements/gsttypefindelement.c:
7897 (gst_type_find_element_activate):
7898 Use gst_pad_check_pull_range() before _activate_pull()
7899 to avoid unnecessary open/close (see #331690).
7901 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
7904 Docs enhancement: make it crystal clear what the
7905 gst_pad_add_*_probe() callbacks should look like.
7907 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
7909 * libs/gst/base/gstbasesrc.c:
7910 Document how applications can stop recording from
7911 live sources (see #330996).
7913 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7915 * tests/check/Makefile.am:
7916 * tests/check/libs/basesrc.c: (eos_event_counter),
7917 (basesrc_eos_events_pull), (basesrc_eos_events_push),
7918 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
7919 (gst_basesrc_suite), (main):
7920 ... and add some tests for the base source EOS stuff.
7922 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7924 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
7925 Test case originally showed the problem fixed below,
7926 but was then amended. Add checks back at the place
7927 where they used to be.
7929 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7931 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7932 (gst_base_src_init), (gst_base_src_loop),
7933 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7934 (gst_base_src_change_state):
7935 * libs/gst/base/gstbasesrc.h:
7936 Don't unconditionally send EOS when going from PAUSED to
7937 READY state, esp. make sure we don't send two EOS events
7938 in some cases (e.g. one when reaching EOS and one when
7939 going from PAUSED to READY). Also, we don't want to send
7940 EOS events when operating in pull mode. However, we do
7941 want to send an EOS event when shutting down a live
7942 source explicitly, for example (fixes #330996).
7944 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7946 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7947 Update src->read_position after a seek when not using mmap.
7948 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
7950 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
7956 Make things work with --disable-parse as they do with
7957 --disable-load-save - the symbols involved disappear, but the
7958 header is still installed and GST_DISABLE_PARSE is included via
7961 2006-02-20 Julien MOUTTE <julien@moutte.net>
7963 * libs/gst/base/gstbasetransform.c:
7964 (gst_base_transform_change_state): Fix a stupid bug. I was
7965 sure I compiled that.
7967 2006-02-20 Julien MOUTTE <julien@moutte.net>
7969 * gst/gstpad.c: (gst_pad_set_blocked_async):
7970 * gst/gstutils.c: (gst_pad_add_data_probe),
7971 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7972 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7973 (gst_pad_remove_buffer_probe): Make those function act on the
7974 ghostpad target when it's a ghostpad. (Closes #331727)
7976 2006-02-20 Julien MOUTTE <julien@moutte.net>
7978 * libs/gst/base/gstbasetransform.c:
7979 (gst_base_transform_change_state): Make basetransform reusable.
7982 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
7984 * docs/random/release:
7985 Move the current documentation of how to do a release to the top
7988 * gst/gstbin.c: (gst_bin_class_init),
7989 (gst_bin_handle_message_func):
7990 Allow multiple state-recalculation threads. (Closes #328873)
7992 2006-02-19 Julien MOUTTE <julien@moutte.net>
7994 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
7995 * gst/gstpad.c: (gst_pad_set_event_function),
7996 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7997 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
7998 2 strings. You can't use the STR_NULL macro on that.
8000 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
8002 * gst/gstpad.c: (gst_pad_set_event_function),
8003 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8004 (gst_pad_set_getcaps_function)
8005 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8006 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8007 So now, we can use --gst-debug-level=5 on Windows
8008 * win32/common/libgstcontroller.def:
8009 Added export of gst_controller_init
8010 * win32/vs6/libgstcontroller.dsp:
8011 Fixed Release post build configuration
8013 2006-02-17 Wim Taymans <wim@fluendo.com>
8015 * tests/check/gst/gstquery.c: (GST_START_TEST):
8016 Added another check.
8018 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
8020 * plugins/elements/gsttypefindelement.c: (find_peek):
8021 We can do peeks at non-zero offsets, as long as they
8022 fall within the buffer we have.
8024 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
8026 * tests/check/Makefile.am:
8027 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8028 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8029 (parse_suite), (main):
8030 Add testsuite for parse launch syntax
8032 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
8034 * plugins/elements/gsttypefindelement.c:
8035 (gst_type_find_element_chain):
8036 When typefinding is unsuccessful in the chain function, don't
8037 error out immediately. Only error out with NO_CAPS_FOUND if
8038 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8039 otherwise simply wait for more data so we can try typefinding
8040 again with more data later. Also, don't attempt to typefind
8041 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8042 this should improve typefinding from network sources where the
8043 size of the first buffer can be somewhat random.
8045 2006-02-14 Wim Taymans <wim@fluendo.com>
8047 * docs/gst/gstreamer-sections.txt:
8048 * gst/gstpadtemplate.c:
8049 * gst/gstpadtemplate.h:
8050 Fix padtemplate docs, fixes #328805.
8052 2006-02-14 Wim Taymans <wim@fluendo.com>
8054 * tools/gst-launch.c: (main):
8055 NO_PREROLL is not an ERROR so don't send confusing messages
8058 2006-02-14 Wim Taymans <wim@fluendo.com>
8060 Patch by: Torsten Schoenfeld
8062 * gst/gstregistry.c: (gst_registry_get_default),
8063 (_gst_registry_cleanup):
8064 Protect default registry with lock and ref/sink it.
8067 2006-02-14 Wim Taymans <wim@fluendo.com>
8070 * gst/gstquery.c: (gst_query_list_add_format),
8071 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8072 (gst_query_parse_formats_nth):
8073 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8076 2006-02-14 Wim Taymans <wim@fluendo.com>
8078 * docs/gst/gstreamer-sections.txt:
8079 Reworked query docs.
8081 * gst/gstquery.c: (gst_query_new_formats),
8082 (gst_query_list_add_format), (gst_query_set_formats),
8083 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8084 (gst_query_parse_formats_nth):
8086 Flesh out formats query, added some new methods.
8087 Fix part of #324398.
8089 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8090 Added query creation tests.
8092 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
8094 * gst/gstpad.c: (fixate_value):
8095 Add a default fixation for fraction lists.
8097 2006-02-13 Wim Taymans <wim@fluendo.com>
8099 * gst/gsttask.c: (gst_task_init), (gst_task_func),
8100 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8103 Detect and warn for obvious deadlocks. fixes #320340
8104 Fix error case where lock was not released.
8106 * tests/check/Makefile.am:
8107 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8108 (task_func), (gst_element_suite), (main):
8111 2006-02-13 Wim Taymans <wim@fluendo.com>
8113 * docs/gst/gstreamer-sections.txt:
8115 Add new functions to docs.
8117 2006-02-13 Wim Taymans <wim@fluendo.com>
8119 * docs/design/part-TODO.txt:
8120 Updated TODO list, basesrc supports seeking to non-bytes
8123 * docs/design/part-element-sink.txt:
8126 * gst/gstbin.c: (bin_replace_message),
8127 (gst_bin_handle_message_func):
8128 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8129 * gst/gstevent.c: (gst_event_finalize):
8130 * gst/gstpad.c: (gst_pad_event_default_dispatch),
8131 (gst_pad_send_event):
8132 Use shiny new _TYPE_NAME macros.
8134 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8135 Move debug statement up.
8137 * gst/gstelement.c: (gst_element_set_locked_state):
8140 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
8142 * docs/gst/gstreamer-sections.txt:
8145 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8146 macros (#330906). Also, document the already existing
8147 GST_QUERY_TYPE macro.
8149 2006-02-13 Wim Taymans <wim@fluendo.com>
8151 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8152 (event_probe), (GST_START_TEST):
8153 Only events up to the pipeline EOS are counted, there are
8154 some more when going to NULL currently which we don't care
8157 2006-02-13 Wim Taymans <wim@fluendo.com>
8159 * gst/gstpad.c: (gst_pad_send_event):
8160 Correctly check flushing and emit probes. fixes #330125
8162 2006-02-10 Andy Wingo <wingo@pobox.com>
8164 * gst/gstbus.c (gst_bus_class_init): Declare our private data
8166 (gst_bus_init): Cache the location of the private data in the
8168 (gst_bus_enable_sync_message_emission)
8169 (gst_bus_disable_sync_message_emission): Implement new public
8171 (gst_bus_post): Emit the sync-message signal if the user asked for
8174 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8175 location of the bus-private structure.
8176 (gst_bus_enable_sync_message_emission)
8177 (gst_bus_disable_sync_message_emission): API addition
8179 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
8181 Patch by: Vincent Torri
8183 * docs/pwg/building-boiler.xml:
8184 PWG patch from #326800
8186 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
8190 * docs/design/Makefile.am:
8193 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8198 === release 0.10.3 ===
8200 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8203 releasing 0.10.3, "Like a virgin"
8205 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8208 2nd prerelease of 0.10.3
8209 Bump libtool versioning.
8211 2006-02-07 Andy Wingo <wingo@pobox.com>
8213 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8214 update last_stop if we're in TIME format and the timestamp is
8217 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
8218 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
8219 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8220 If we get a new newsegment with a different format, adapt
8223 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8224 of 0. Not a problem, really.
8226 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8229 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
8234 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
8237 project files updated to the default vs7 configuration
8238 * win32/common/libgstbase.def:
8239 * win32/common/libgstreamer.def:
8241 removed empty lines,
8242 sorted all exported symbols alphabetically
8243 * win32/common/dirent.c:
8244 * win32/common/dirent.h:
8245 * win32/common/gchar.h:
8246 use windows line end.
8248 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8250 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8251 Send EOS event when stopping.
8253 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8256 Tell folks what to do if the plugin-foobar.xml file
8257 hasn't been generated for a newly-added plugin.
8259 2006-02-05 Julien MOUTTE <julien@moutte.net>
8261 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8262 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8263 (gst_collect_pads_start), (gst_collect_pads_stop),
8264 (gst_collect_pads_event): Collectpads now holds a reference
8265 to the GstPad that was added. Indeed we don't want to look
8266 at pads that might just go away with no warning...
8268 2006-02-05 Julien MOUTTE <julien@moutte.net>
8270 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8271 (gst_collect_pads_start), (gst_collect_pads_stop),
8272 (gst_collect_pads_event), (gst_collect_pads_chain):
8273 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8274 Mark Nauwelaerts's patch on bug #328491.
8276 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8278 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8280 Add some simple tests for gst_parse_bin_from_description() and
8281 gst_bin_find_unconnected_pad() (#329069).
8283 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8285 * tools/gst-launch.c: (event_loop), (main):
8286 Catch errors during preroll (#320084).
8288 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
8290 * plugins/elements/gsttypefindelement.c:
8291 (gst_type_find_element_activate):
8292 Post TYPE_NOT_FOUND error message when typefinding
8293 is unsuccessful in the activate function as well.
8295 2006-02-02 Wim Taymans <wim@fluendo.com>
8297 * docs/design/part-element-sink.txt:
8300 2006-02-02 Wim Taymans <wim@fluendo.com>
8302 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8303 (gst_base_sink_render_object),
8304 (gst_base_sink_queue_object_unlocked):
8305 Only keep track of prerollable items when we are
8307 Before rendering after preroll, always check if we
8309 Added some more debugging.
8311 2006-02-02 Wim Taymans <wim@fluendo.com>
8313 * gst/gstelement.c: (gst_element_continue_state),
8314 (gst_element_set_state_func), (gst_element_change_state):
8315 Fixed #326576, been running this for quite some time with
8316 no regressions at all.
8318 2006-02-02 Wim Taymans <wim@fluendo.com>
8321 Added more suppressions
8323 2006-02-02 Wim Taymans <wim@fluendo.com>
8325 * docs/design/part-element-sink.txt:
8328 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8329 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8330 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8331 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8332 (gst_base_sink_do_sync), (gst_base_sink_render_object),
8333 (gst_base_sink_preroll_object),
8334 (gst_base_sink_queue_object_unlocked),
8335 (gst_base_sink_queue_object), (gst_base_sink_event),
8336 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8337 (gst_base_sink_loop), (gst_base_sink_activate_pull),
8338 (gst_base_sink_get_position), (gst_base_sink_change_state):
8339 * libs/gst/base/gstbasesink.h:
8340 Totally refactored matching the design doc.
8341 Use two segments, one to clip incomming buffers and another to
8343 Handle queueing correctly, bypass the queue when playing.
8344 Make EOS cancelable.
8345 Handle errors correctly when operating in pull based mode.
8347 * tests/check/elements/fakesink.c: (GST_START_TEST),
8349 Added new check for sinks.
8351 2006-02-02 Wim Taymans <wim@fluendo.com>
8353 * gst/gstsegment.c: (gst_segment_clip):
8354 No reason to refuse to clip when start == -1
8356 2006-02-02 Stefan Kost <ensonic@users.sf.net>
8359 * docs/manual/intro-basics.xml:
8360 * docs/manual/intro-preface.xml:
8361 * docs/manual/manual.xml:
8362 * docs/pwg/advanced-dparams.xml:
8363 * docs/pwg/intro-basics.xml:
8364 * docs/pwg/intro-preface.xml:
8366 describe dparams (controller) for plugins
8367 unify docs a little more
8369 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
8371 * docs/gst/gstreamer-sections.txt:
8372 * gst/gstutils.c: (element_find_unconnected_pad),
8373 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8375 Add new API: gst_parse_bin_from_description() and
8376 gst_bin_find_unconnected_pad() (#329069).
8378 2006-02-01 Stefan Kost <ensonic@users.sf.net>
8380 * docs/manual/README:
8381 uncover a nasty detail of the docs build
8383 2006-01-31 Wim Taymans <wim@fluendo.com>
8385 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8386 Don't cache duration messages if we're not going to use or
8389 2006-01-31 Stefan Kost <ensonic@users.sf.net>
8391 * docs/manual/advanced-dparams.xml:
8392 * docs/pwg/advanced-dparams.xml:
8396 * libs/gst/controller/lib.c: (gst_controller_init):
8399 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
8401 * gst/gstelement.c: (gst_element_message_full):
8402 also show file/line/func if no additional debug was given
8404 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
8406 * win32/vs7/grammar.vcproj:
8407 activate copy of autogenerated files for Release mode
8409 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8411 * win32/common/libgstreamer.def:
8412 export gst_value_compare
8414 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
8416 * plugins/elements/Makefile.am:
8417 * plugins/elements/gstelements.c:
8418 * plugins/elements/gstfdsink.c: (_do_init),
8419 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8420 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8421 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8422 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8423 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8424 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8425 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8426 * plugins/elements/gstfdsink.h:
8427 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8429 2006-01-30 Stefan Kost <ensonic@users.sf.net>
8431 * docs/manual/advanced-dparams.xml:
8433 * docs/manual/advanced-position.xml:
8434 * docs/manual/basics-init.xml:
8435 * docs/manual/manual.xml:
8436 * docs/manual/titlepage.xml:
8438 * docs/pwg/titlepage.xml:
8439 cleanup xml (more to come)
8440 * libs/gst/controller/gstcontroller.c:
8443 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8445 * win32/vs6/grammar.dsp:
8446 add autogen of gstmarshal.c,h for Release mode
8448 2006-01-30 Wim Taymans <wim@fluendo.com>
8450 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8451 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8452 (gst_base_sink_handle_object), (gst_base_sink_event),
8453 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8454 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8455 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8456 (gst_base_sink_deactivate), (gst_base_sink_activate),
8457 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8458 (gst_base_sink_query), (gst_base_sink_change_state):
8459 Basesink cleanups, remove some old code.
8460 Handle the case where a subclass can preroll in the render
8461 method (mostly audiosinks).
8463 Remove some locks around variables that are now protected
8464 with the PREROLL_LOCK (clock_id, flushing, ..).
8465 Optimize position query some more, do correct locking.
8466 Remove old code to push queue in state change, this is not
8467 needed anymore since preroll blocks on all prerollable items
8469 Almost implemented as described in design doc.
8471 2006-01-30 Wim Taymans <wim@fluendo.com>
8473 * tests/check/gst/gstbin.c: (GST_START_TEST):
8474 Wait for refcount to settle down before checking.
8476 2006-01-30 Wim Taymans <wim@fluendo.com>
8478 * docs/design/part-element-sink.txt:
8479 Pseudo code overview of desired sink behaviour regarding
8482 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8483 * win32/vs6/grammar.dsp:
8484 fix some bugs in Release mode for autogenerated files
8486 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8487 * win32/common/libgstbase.def:
8488 * win32/common/libgstreamer.def:
8489 export some new symbols: gst_base_src_set_format,
8490 gst_iterator_next, gst_structure_set_valist
8492 2006-01-29 Julien MOUTTE <julien@moutte.net>
8494 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8495 Set pad functions unconditionally. Fixes #329105.
8497 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8499 add vs8 project files created by Sergey Scobich
8501 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
8503 * gst/gstutils.c: (gst_element_unlink_pads):
8504 Don't leak pad references.
8506 * tests/check/elements/fakesink.c: (GST_START_TEST):
8507 * tests/check/generic/sinks.c: (GST_START_TEST):
8508 * tests/check/generic/states.c: (GST_START_TEST):
8509 * tests/check/gst/gstbin.c: (GST_START_TEST):
8510 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8511 * tests/check/gst/gstelement.c: (GST_START_TEST):
8512 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8513 * tests/check/gst/gstiterator.c: (GST_START_TEST):
8514 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8515 Fix a bunch of leaks. Make generic/sinks.c
8516 use a bit less cpu by slowing the buffer rate
8517 between fakesrc and fakesink.
8519 2006-01-27 Stefan Kost <ensonic@users.sf.net>
8521 * gst/gstelement.c: (gst_element_send_event):
8524 * gst/gstiterator.c:
8525 * gst/gstiterator.h:
8526 * gst/gstpad.c: (gst_pad_send_event):
8527 * gst/gststructure.c:
8531 * libs/gst/base/gstadapter.c:
8532 doc fixes, to link to function, just write gst_cool_function(), don't
8535 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8537 * plugins/elements/gsttee.c: (gst_tee_do_push),
8538 (gst_tee_handle_buffer):
8539 Always prefer an actual return value from a src
8540 pad in place of NOT_LINKED. This means we return
8541 WRONG_STATE when all src pads are WRONG_STATE
8542 instead of NOT_LINKED.
8544 Lock when replacing the last message to prevent
8545 racing with the get_property method.
8549 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8551 * tests/check/Makefile.am:
8552 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8554 Add a very simple check that should have caught the memleak I fixed
8555 last night (if not for the slice allocator hiding it)
8557 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8559 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8560 (gst_bin_remove_func), (gst_bin_handle_message_func),
8561 (bin_query_duration_fold), (bin_query_generic_fold):
8562 Clean up references to the clock provider when disposed or when
8563 handling a clock-lost message from it.
8565 Unref sinks when performing a query via gst_iterator_fold, as the
8566 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8568 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8569 (gst_clock_set_master):
8570 Drop our reference to the master clock, if any, when we are disposed.
8572 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8573 Chain up in dispose.
8575 2006-01-26 Wim Taymans <wim@fluendo.com>
8577 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8580 2006-01-26 Julien MOUTTE <julien@moutte.net>
8582 * plugins/elements/gsttee.c: (gst_tee_do_push),
8583 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8584 handles pad being NOT_LINKED or in WRONG_STATE.
8586 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8591 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8594 remove obsolete entry
8596 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8598 * docs/gst/gstreamer-sections.txt:
8599 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8600 (gst_bin_iterate_sources), (gst_bin_send_event):
8602 * gst/gstelement.c: (gst_element_send_event):
8604 * gst/gstpad.c: (gst_pad_send_event):
8605 added code for downstream events, reviewed docs in gstevent.c
8607 2006-01-25 Julien MOUTTE <julien@moutte.net>
8609 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8610 We only query position using the clock in the playing state.
8611 Query peer in the other cases.
8612 * win32/common/config.h: Updates.
8614 2006-01-24 Wim Taymans <wim@fluendo.com>
8616 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8617 A clock entry that is scheduled for the exact time of the
8618 clock is still in time.
8620 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8621 (gst_base_sink_do_sync):
8622 Add some more debug info.
8624 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8627 Add new vs7 project files and solution.
8629 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8632 all files removed as they were out-dated.
8634 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8636 * docs/random/release:
8638 * gst/gstbin.c: (gst_bin_init):
8639 * gst/gstbus.c: (gst_bus_new):
8641 * gst/gstpipeline.c: (gst_pipeline_init):
8642 use gst_bus_new(), improve logging, fix docs
8643 * win32/common/config.h:
8644 update for cvs build
8646 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8649 up required version of automake to 1.7
8651 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
8653 * win32/common/libgstreamer.def:
8654 export gst_buffer_is_metadata_writable
8656 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
8658 * docs/gst/gstreamer-sections.txt:
8660 Add gst_event_replace() (#327001)
8662 2006-01-20 Wim Taymans <wim@fluendo.com>
8664 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8665 Make it actually compile too..
8667 2006-01-20 Wim Taymans <wim@fluendo.com>
8670 Clarify behaviour of _is_equal() when passing NULL parameters.
8672 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8674 Cleanups. Don't unref NULL caps.
8675 When setting the same caps, protect caps of the pad with
8677 Use full functionality of _is_equal() when comparing caps.
8679 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8681 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8682 Don't loop infinitely if there are no buffers to present. Partially
8683 fixes #327197, but collectpads is just broken for reusing elements
8684 to do multiple encodes atm.
8686 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8688 * tools/gst-inspect.c: (print_element_features):
8689 * tools/gst-xmlinspect.c: (main):
8690 URL_HANDLER is not a plugin feature we can search for in
8693 2006-01-19 Edward Hervey <edward@fluendo.com>
8695 * gst/gstelement.c: (gst_element_pads_activate):
8696 When activating, do src pads first, then sink pads.
8697 When de-activating, do sink pads first, then src pads.
8699 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8701 * docs/gst/gstreamer-sections.txt:
8702 Add gst_index_add_associationv to the docs
8704 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8709 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8710 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8711 Do some refactoring. Doesn't actually change functionality,
8712 but makes landing the DRAIN event easier later.
8714 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
8716 * docs/pwg/advanced-scheduling.xml:
8717 Update from 0.9.x to 0.10 API and make example a bit
8720 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8722 * docs/gst/gstreamer-sections.txt:
8723 Add gst_buffer_(is|make)_metadata_writable methods.
8725 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8727 * docs/design/part-sparsestreams.txt:
8728 Update sparse streams doc, hopefully for greater clarity
8730 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
8732 * docs/design/part-events.txt:
8733 Remove mention of FILLER events.
8736 * docs/design/part-sparsestreams.txt:
8737 Write some things about using NEWSEGMENT to keep sparse streams
8740 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8742 * gst/gstbin.c: (gst_bin_dispose):
8743 Guard gst_object_unref call against a NULL object (dispose
8744 can theoretically be called multiple times).
8746 2006-01-18 Wim Taymans <wim@fluendo.com>
8748 * gst/gstbin.c: (gst_bin_element_set_state):
8749 * gst/gstclock.c: (gst_clock_id_wait):
8750 Added some more debug info.
8752 * libs/gst/base/gstadapter.c:
8755 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8756 (gst_base_sink_do_sync), (gst_base_sink_chain):
8757 Added some comments.
8759 2006-01-18 Wim Taymans <wim@fluendo.com>
8761 * tests/check/Makefile.am:
8762 * tests/check/elements/fakesink.c: (chain_async_buffer),
8763 (chain_async), (chain_async_return), (GST_START_TEST),
8764 (fakesink_suite), (main):
8765 Added fakesink test that checks prerolling and clipping
8768 * tests/check/gst/gstutils.c: (GST_START_TEST):
8769 Make check run faster so that buildbots don't timeout.
8771 2006-01-18 Wim Taymans <wim@fluendo.com>
8773 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8774 (gst_base_sink_do_sync):
8776 When the sink finishes blocking on the preroll buffer, it can
8777 immediatly render it instead of rendering when the next buffer
8780 2006-01-18 Wim Taymans <wim@fluendo.com>
8782 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8783 (gst_base_sink_get_property), (gst_base_sink_do_sync),
8784 (gst_base_sink_chain):
8786 GST_ELEMENT_CLOCK and sync are protected with LOCK.
8787 Don't store _last_stop if the buffer is dropped.
8789 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8791 * plugins/elements/gsttypefindelement.c:
8792 (gst_type_find_element_class_init):
8793 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8794 object method handler that sets the caps on the pad and we want
8795 that to happen before we emit the signal (fixes e.g. feeding a
8796 plain text file to decodebin).
8798 2006-01-18 Christian Schaller <Christian@fluendo.com>
8800 * gst/gstplugin.c: Add MPL and Proprietary as license options
8802 2006-01-18 Andy Wingo <wingo@pobox.com>
8804 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8805 symbol was exported before, it appears this was just an oversight.
8807 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
8809 * gst/gstindex.c (gst_index_add_associationv): Changed int in
8810 prototype to gint. OK since this prototype was not in the header.
8812 2006-01-17 Andy Wingo <wingo@pobox.com>
8814 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
8815 registry while we remove plugins.
8817 * tools/gst-inspect.c (print_element_info): Don't unref the
8818 factory arg, that should be the responsibility of whatever code
8819 received the ref. Fixes a double-free when called from
8820 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
8821 (main): Unref the factory if we have one.
8822 (print_element_list): No change -- relies on the
8823 plugin_feature_list_free to free the list of features.
8825 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
8827 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8828 (gst_buffer_make_metadata_writable):
8830 * libs/gst/base/gstbasetransform.c:
8831 (gst_base_transform_prepare_output_buf):
8832 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8833 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8834 Replace gst_buffer_(make|is)_metadata_writable patch now
8835 that the release is out.
8837 2006-01-17 Andy Wingo <wingo@pobox.com>
8839 * gst/gstregistry.c: Reflow design comment. Update so as to speak
8840 in the present tense without reference to versions.
8842 * gst/gstregistry.c (gst_registry_add_plugin)
8843 (gst_registry_remove_plugin, gst_registry_remove_feature)
8844 (gst_registry_find_feature, gst_registry_get_feature_list)
8845 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
8846 (gst_registry_lookup, gst_registry_scan_path)
8847 (_gst_registry_remove_cache_plugins)
8848 (gst_registry_get_feature_list_by_plugin): Add argument
8851 === release 0.10.2 ===
8853 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
8856 releasing 0.10.2, "If man is five"
8858 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8862 * libs/gst/base/gstbasetransform.c:
8863 (gst_base_transform_prepare_output_buf):
8864 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8865 * tests/check/gst/gstbuffer.c: (gst_test_suite):
8866 Back out patch until after the release.
8868 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8870 * gst/gstminiobject.c:
8871 Spelling fix in docs.
8872 * ChangeLog - remove conflict indicator
8874 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8876 Reviewed By: Andy Wingo
8878 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8879 (gst_buffer_make_metadata_writable):
8881 Add gst_buffer_(is|make)_metadata_writable as analogues of
8882 gst_buffer_(is|make)_writable.
8884 * libs/gst/base/gstbasetransform.c:
8885 (gst_base_transform_prepare_output_buf):
8886 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8887 Use name gst_buffer_(is|make)_metadata_writable functions.
8889 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8890 Test gst_buffer_(is|make)_metadata_writable
8894 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
8896 * docs/manual/Makefile.am:
8897 don't do parallel make
8900 * win32/common/config.h.in:
8901 add generations for HOST_CPU and GST_MAJORMINOR
8902 * win32/common/config.h:
8903 commit generated result
8905 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
8907 * docs/manual/appendix-integration.xml:
8908 Update GNOME integration section to use gst_init_get_option_group()
8909 instead of the old popt stuff (#322911). Also, GNOME applications
8910 should now use gconf*sink and gconf*src instead of the old gconf
8913 2006-01-13 Stefan Kost <ensonic@users.sf.net>
8916 * docs/gst/gstreamer-docs.sgml:
8917 * docs/gst/gstreamer-sections.txt:
8918 * docs/libs/gstreamer-libs-sections.txt:
8919 add new API entries to the docs
8920 * libs/gst/controller/Makefile.am:
8921 * libs/gst/controller/gstcontroller.c:
8922 * libs/gst/controller/gstcontroller.h:
8923 * libs/gst/controller/gstcontrollerprivate.h:
8924 * libs/gst/controller/gsthelper.c:
8925 * libs/gst/controller/gstinterpolation.c:
8926 move private structs to private header
8928 gstreamer-0.7 -> gstreamer-0.10
8929 * tests/check/libs/struct_i386.h:
8930 remove private structs
8932 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
8934 * plugins/indexers/Makefile.am:
8935 Fixes as part of #317048
8937 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
8939 * plugins/indexers/Makefile.am:
8940 fix #316086 - compilation when mmap is missing
8942 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
8944 * libs/gst/base/gstbasesink.c:
8945 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
8946 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
8947 * win32/common/config.h:
8948 added some defines GST_MAJORMINOR and HOST_CPU
8949 * win32/common/libgstbase.def:
8950 * win32/common/libgstreamer.def:
8951 added some exported functions.
8953 2006-01-12 Stefan Kost <ensonic@users.sf.net>
8955 * libs/gst/controller/gstcontroller.c:
8956 (gst_controlled_property_set_interpolation_mode),
8957 (gst_controlled_property_new):
8958 * libs/gst/controller/gstcontroller.h:
8959 * libs/gst/controller/gstinterpolation.c:
8960 (interpolate_none_get_string_value_array):
8961 make G_TYPE_STRING controlable
8963 2006-01-12 Stefan Kost <ensonic@users.sf.net>
8966 * tools/gst-feedback.1.in:
8967 * tools/gst-inspect.1.in:
8968 * tools/gst-launch.1.in:
8969 * tools/gst-md5sum.1.in:
8970 * tools/gst-typefind.1.in:
8971 * tools/gst-xmlinspect.1.in:
8972 * tools/gst-xmllaunch.1.in:
8973 cleanup man-pages, remove reference to gst-register, document env-vars
8975 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
8977 * gst/gstbuffer.c: (gst_buffer_span):
8978 gst_buffer_span should copy the timestamp of the first buffer
8979 if they were both originally overlapping subbuffers of the
8980 same parent, using the same logic as the 'slow copy' case.
8982 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
8984 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
8985 Need to awaken ALL the pads when we pop a buffer, otherwise
8986 collectpads only works when there is 2 input streams.
8988 2006-01-11 Stefan Kost <ensonic@users.sf.net>
8990 * docs/random/ensonic/media-device-daemon.txt:
8993 fix doc example, add clarification
8994 * tools/gst-launch.1.in:
8995 add initial info about GST_PLUGIN_PATH, needs more work
8997 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
8999 * docs/manual/basics-bins.xml:
9000 * docs/manual/basics-elements.xml:
9001 * docs/manual/intro-basics.xml:
9002 Some more minor docs additions and updates.
9004 2006-01-11 Wim Taymans <wim@fluendo.com>
9006 * docs/manual/basics-bins.xml:
9007 * docs/manual/basics-elements.xml:
9008 Some small fixes as pointed out by Ser-ver on IRC.
9010 2006-01-10 Edward Hervey <edward@fluendo.com>
9012 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9013 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9014 the single-segment mode.
9016 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
9018 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9020 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9021 (gst_base_src_perform_seek), (gst_base_src_send_event),
9022 (gst_base_src_set_property), (gst_base_src_get_property),
9023 (gst_base_src_loop), (gst_base_src_start),
9024 (gst_base_src_activate_push):
9025 * libs/gst/base/gstbasesrc.h:
9026 Name (private) union; makes Sun's Forte compiler happy (#324900).
9028 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
9031 gst-register is gone.
9033 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
9035 * gst/gstvalue.c: (_gst_value_initialize):
9036 make the G_TYPE_DATE instantiation work if debug is disabled
9038 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
9040 * gst/gstmessage.c: (gst_message_parse_tag),
9041 (gst_message_parse_error), (gst_message_parse_warning):
9042 Don't crash when return location for error/warning debug
9043 string is NULL; add fact that return locations can be
9044 NULL to docs where appropriate.
9046 2006-01-05 Wim Taymans <wim@fluendo.com>
9048 * gst/gstplugin.c: (gst_plugin_load_file):
9049 Replace strdup by g_strdup.
9051 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9053 * docs/pwg/advanced-types.xml:
9056 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9058 submitted by: Abel Cheung
9062 Added Chinese (traditional) translation
9064 2006-01-04 Wim Taymans <wim@fluendo.com>
9066 * docs/manual/basics-pads.xml:
9067 * docs/plugins/Makefile.am:
9068 * docs/plugins/gstreamer-plugins-docs.sgml:
9069 * docs/plugins/gstreamer-plugins-sections.txt:
9070 * docs/pwg/advanced-clock.xml:
9071 * docs/pwg/advanced-scheduling.xml:
9072 * docs/pwg/advanced-types.xml:
9073 * plugins/elements/gstfdsink.c:
9074 * plugins/elements/gstfdsrc.c:
9075 * plugins/elements/gstfdsrc.h:
9076 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9077 * plugins/elements/gstidentity.h:
9078 * plugins/elements/gstqueue.h:
9079 * plugins/elements/gsttee.c:
9080 * plugins/elements/gsttee.h:
9081 * plugins/elements/gsttypefindelement.c:
9082 (gst_type_find_element_class_init):
9083 * plugins/elements/gsttypefindelement.h:
9084 Small updates to various docs.
9085 Added core plugins to docs.
9087 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9090 add a suppression for liboil's uninitialized variable
9092 2006-01-02 James Livingston <jrl at ids dot org dot au>
9094 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9097 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9098 macro, so that gcc doesn't complain if the -Wmissing-prototypes
9099 compiler switch is being used (#325429).
9101 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
9103 * gst/gstbin.c: (gst_bin_query):
9104 Disable duration query caching in bins until it gets
9105 fixed (see #324807).
9107 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9109 * tools/gst-inspect.c: (print_element_properties_info):
9110 Handle properties of POINTER and BOXED type.
9112 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9114 * gst/gst.c: (init_post):
9115 Init tags stuff and some other things before loading
9116 any static plugins (there may be other static plugins
9117 than just the GStreamer ones, and they may want to
9118 register their own tags or formats or whatever, and
9119 preferably without segfaulting).
9121 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9122 Print at least a warning in the debug logs if we drop a
9123 query just because we don't know how to adjust the value
9124 in the particular format.
9126 2005-12-24 David Schleef <ds@schleef.org>
9128 * tools/gstreamer-completion:
9129 Replacement for gst-complete written in sh and sed. Only
9130 completes names of features, but that's 90% of what I want
9131 it for. Properties are not available in registry.xml. (Maybe
9134 === release 0.10.1 ===
9136 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
9139 releasing 0.10.1, "Nollaig chridheil"
9141 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
9144 Add missing quote, should be make ERROR_CFLAGS="".
9146 2005-12-20 Wim Taymans <wim@fluendo.com>
9148 * docs/design/part-trickmodes.txt:
9149 More documentation on trickmodes.
9151 2005-12-20 Edward Hervey <edward@fluendo.com>
9153 * gst/gstcaps.c: (gst_static_caps_get_type):
9155 API addition: GST_TYPE_STATIC_CAPS
9156 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9157 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9158 * gst/gstpadtemplate.h:
9159 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9160 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9163 2005-12-18 Wim Taymans <wim@fluendo.com>
9165 * libs/gst/base/gstadapter.c:
9166 * libs/gst/base/gstadapter.h:
9167 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9168 (gst_base_sink_get_position):
9169 * libs/gst/base/gstbasesink.h:
9170 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9171 (gst_base_src_default_query), (gst_base_src_default_do_seek),
9172 (gst_base_src_do_seek), (gst_base_src_perform_seek),
9173 (gst_base_src_send_event), (gst_base_src_update_length),
9174 (gst_base_src_get_range), (gst_base_src_loop),
9175 (gst_base_src_start):
9176 * libs/gst/base/gstbasesrc.h:
9177 * libs/gst/base/gstbasetransform.h:
9178 * libs/gst/base/gstcollectpads.h:
9179 * libs/gst/base/gstpushsrc.c:
9180 * libs/gst/base/gstpushsrc.h:
9181 * libs/gst/dataprotocol/dataprotocol.c:
9182 * libs/gst/dataprotocol/dataprotocol.h:
9183 * libs/gst/net/gstnetclientclock.h:
9184 * libs/gst/net/gstnettimeprovider.h:
9185 Documentation updates.
9187 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
9189 * docs/manual/basics-helloworld.xml:
9190 Remove superfluous closing bracket in helloworld example.
9192 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
9194 * tools/gst-launch.1.in:
9195 Update gst-launch man page; add a section with useful
9196 environment variables. Fixes #323882.
9198 2005-12-16 Stefan Kost <ensonic@users.sf.net>
9201 * gst/gst_private.h:
9202 change some char* into char[]
9204 2005-12-16 Wim Taymans <wim@fluendo.com>
9206 * gst/gstregistryxml.c: (load_feature):
9208 Don't use g_object_unref on GstObjects so that we avoid
9209 leaks on unsafe glibs.
9211 2005-12-16 Wim Taymans <wim@fluendo.com>
9213 * gst/gstbin.c: (gst_bin_recalc_state):
9216 2005-12-16 Wim Taymans <wim@fluendo.com>
9219 Added make forever target for check.
9221 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
9223 * gst/gst.c: (init_post):
9224 make the registry cache file HOST_CPU-dependent
9226 2005-12-16 Andy Wingo <wingo@pobox.com>
9228 * plugins/elements/gstbufferstore.c
9229 (gst_buffer_store_cleared_func): Pay attention to g_list_append
9232 * tests/check/gst/gstobject.c
9233 (test_fake_object_name_threaded_unique): Pay attention to
9234 g_list_sort return value.
9236 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
9238 * tools/gst-feedback-m.m:
9239 Update for 0.9/0.10 (fixes #323870).
9241 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
9243 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9244 Fix lcopy for mini objects, the mini object needs to be ref'ed.
9246 * tests/check/gst/gstminiobject.c: (my_foo_init),
9247 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9248 (test_value_collection), (gst_mini_object_suite):
9249 Add test to ensure refcounts end up as expected when passing
9250 GstMiniObjects through g_object_get() and g_object_set().
9252 2005-12-14 Julien MOUTTE <julien@moutte.net>
9254 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9255 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9256 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9257 of collectpads. This version removes a lot of races without
9258 touching API/ABI. Yay !
9260 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
9262 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9263 Don't allow activation of a srcpad in pull_range if it has no
9265 Change some debug statements to be a little clearer
9267 * plugins/elements/gsttypefindelement.c:
9268 (gst_type_find_handle_src_query):
9269 Check that we have a peer before executing queries thereupon.
9271 * tests/examples/metadata/read-metadata.c: (message_loop):
9272 Use gst_bus_pop instead of gst_bus_poll when we just want it to
9273 immediately return us any available message with 0 timeout.
9275 2005-12-12 Michael Smith <msmith@fluendo.com>
9277 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9278 Don't unref factories after calling them.
9279 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9280 * plugins/elements/gsttypefindelement.c:
9281 (gst_type_find_element_chain):
9282 Free lists of factories after using them. Fixing typefinding memory
9285 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9287 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9288 (gst_plugin_feature_load):
9289 more meaningful debug output
9291 * tests/Makefile.am:
9292 * tests/old/examples/Makefile.am:
9293 make make distcheck happy again
9295 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9297 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9298 Catch the special case where we are operating chain-based,
9299 but the downstream peer pad has no chain function. Emit a
9300 custom error message in this case instead of letting the
9301 core generate one implying that this is some sort of core
9302 bug. It's not, it just means that whatever got plugged
9303 into the pipeline downstream when we announced the type
9304 can only operate pull-based, while our source can only
9305 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9306 Error string has not been marked for translation yet, as
9307 it probably needs some more work first.
9309 (gst_type_find_element_get_best_possibility):
9310 Add helper function to find the best of all available
9311 found possibilities that qualify given the min. threshold.
9313 (gst_type_find_element_handle_event):
9314 Fix the case where we get an EOS while still in TYPEFIND
9315 mode (we want to chose the best of all possible types,
9316 not just the first type that happens to be in our unsorted
9317 list of possible types).
9319 (gst_type_find_element_chain):
9320 Make sure we return GST_FLOW_ERROR when we errored out
9321 in stop_typefinding(); also, don't just find the best of
9322 all found type entries and then use the last examined
9323 type entry, but actually use the best entry.
9325 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9327 * tests/examples/typefind/typefind.c: (type_found):
9328 * tests/examples/xml/runxml.c: (xml_loaded):
9329 More gcc4 fixes and a mem leak fix.
9331 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9333 * tests/examples/xml/createxml.c: (object_saved):
9336 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9338 * tests/Makefile.am:
9339 enable the examples even more
9341 2005-12-12 Andy Wingo <wingo@pobox.com>
9343 * libs/gst/net/gstnettimeprovider.c
9344 (gst_net_time_provider_class_init, gst_net_time_provider_init)
9345 (gst_net_time_provider_set_property)
9346 (gst_net_time_provider_get_property):
9347 API addition: Export "active" as a GObject property.
9348 (gst_net_time_provider_thread): Only respond to time queries if
9349 the time provider is active.
9351 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9352 NetTimeProvider, preserving binary compat.
9354 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9356 * tests/examples/controller/audio-example.c: (main):
9357 * tests/examples/launch/Makefile.am:
9358 convert comments again
9360 2005-12-12 Wim Taymans <wim@fluendo.com>
9362 * libs/gst/base/gstpushsrc.c:
9365 2005-12-12 Wim Taymans <wim@fluendo.com>
9367 * docs/libs/gstreamer-libs-sections.txt:
9368 Added new symbol to docs.
9370 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9371 (gst_base_src_init), (gst_base_src_set_format),
9372 (gst_base_src_default_query), (gst_base_src_query),
9373 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9374 (gst_base_src_perform_seek), (gst_base_src_send_event),
9375 (gst_base_src_default_event), (gst_base_src_event_handler),
9376 (gst_base_src_set_property), (gst_base_src_get_property),
9377 (gst_base_src_wait), (gst_base_src_do_sync),
9378 (gst_base_src_update_length), (gst_base_src_get_range),
9379 (gst_base_src_check_get_range), (gst_base_src_loop),
9380 (gst_base_src_default_negotiate), (gst_base_src_start),
9381 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9382 (gst_base_src_change_state):
9383 * libs/gst/base/gstbasesrc.h:
9384 Implement seeking to other formats than _BYTES.
9385 Implement more seeking methods correctly.
9387 Added query vmethod.
9388 Added do_seek vmethod to make life easier for subclasses
9390 API addition: gst_base_src_set_format()
9392 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9394 * tests/examples/Makefile.am:
9397 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9400 * docs/random/ensonic/media-device-daemon.txt:
9401 * tests/examples/controller/.cvsignore:
9402 * tests/examples/controller/Makefile.am:
9403 * tests/examples/controller/audio-example.c: (main):
9404 * tests/examples/helloworld/.cvsignore:
9405 * tests/examples/helloworld/Makefile.am:
9406 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9407 * tests/examples/launch/.cvsignore:
9408 * tests/examples/launch/Makefile.am:
9409 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9410 * tests/examples/metadata/.cvsignore:
9411 * tests/examples/metadata/Makefile.am:
9412 * tests/examples/metadata/read-metadata.c: (message_loop),
9413 (make_pipeline), (print_tag), (main):
9414 * tests/examples/queue/.cvsignore:
9415 * tests/examples/queue/Makefile.am:
9416 * tests/examples/queue/queue.c: (event_loop), (main):
9417 * tests/examples/typefind/.cvsignore:
9418 * tests/examples/typefind/Makefile.am:
9419 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9421 * tests/examples/xml/.cvsignore:
9422 * tests/examples/xml/Makefile.am:
9423 * tests/examples/xml/createxml.c: (object_saved), (main):
9424 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9425 * tests/old/examples/Makefile.am:
9426 * tests/old/examples/TODO:
9427 * tests/old/examples/controller/.cvsignore:
9428 * tests/old/examples/controller/Makefile.am:
9429 * tests/old/examples/controller/audio-example.c:
9430 * tests/old/examples/helloworld/.cvsignore:
9431 * tests/old/examples/helloworld/Makefile.am:
9432 * tests/old/examples/helloworld/helloworld.c:
9433 * tests/old/examples/launch/.cvsignore:
9434 * tests/old/examples/launch/Makefile.am:
9435 * tests/old/examples/launch/mp3parselaunch.c:
9436 * tests/old/examples/launch/mp3play:
9437 * tests/old/examples/manual/Makefile.am:
9438 * tests/old/examples/metadata/Makefile.am:
9439 * tests/old/examples/metadata/read-metadata.c:
9440 * tests/old/examples/queue/.cvsignore:
9441 * tests/old/examples/queue/Makefile.am:
9442 * tests/old/examples/queue/queue.c:
9443 * tests/old/examples/typefind/.cvsignore:
9444 * tests/old/examples/typefind/Makefile.am:
9445 * tests/old/examples/typefind/typefind.c:
9446 * tests/old/examples/xml/.cvsignore:
9447 * tests/old/examples/xml/Makefile.am:
9448 * tests/old/examples/xml/createxml.c:
9449 * tests/old/examples/xml/runxml.c:
9450 applied some simple fixing to some examples
9451 re-enabled the working examples
9453 2005-12-12 Wim Taymans <wim@fluendo.com>
9455 * gst/gstsegment.c: (gst_segment_init),
9456 (gst_segment_set_last_stop), (gst_segment_set_seek),
9457 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9458 (gst_segment_to_running_time):
9459 Added more documentation.
9460 Make sure the last_pos value is updated properly.
9461 Make sure to_stream_time and to_running_time don't
9462 operate on wrong values.
9464 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9467 2005-12-12 Michael Smith <msmith@fluendo.com>
9469 * plugins/elements/gsttypefindelement.c: (free_entry),
9470 (gst_type_find_element_chain):
9471 Now that we're not leaking factories, make sure we keep references
9472 to them while we need them.
9474 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9476 * tests/check/gst/struct_i386.h:
9477 ifdef out the XML structs
9479 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9481 * gst/gstvalue.c: (gst_value_transform_double_fraction):
9482 floor is not needed, F is always positive; this obviates the
9483 need for adding -lm when building without libxml
9485 2005-12-12 Wim Taymans <wim@fluendo.com>
9487 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9488 Take current playback rate into account when reporting
9491 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9493 * docs/manual/mime-world.fig:
9494 Let's try this again, this time with a file that is
9495 actually in XFig format.
9497 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9499 * docs/manual/mime-world.fig:
9500 Add audioconvert element to diagram so that it
9501 matches the text and the code (fixes #319526).
9503 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9505 * docs/pwg/building-chainfn.xml:
9506 * docs/pwg/building-pads.xml:
9507 * docs/pwg/building-state.xml:
9508 * docs/pwg/other-source.xml:
9509 Update state change stuff for 0.10 (fixes #322969).
9511 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9513 * docs/manual/advanced-dataaccess.xml:
9514 * docs/manual/appendix-checklist.xml:
9515 * docs/manual/appendix-programs.xml:
9516 * docs/manual/basics-pads.xml:
9517 * docs/manual/highlevel-components.xml:
9518 * docs/manual/manual.xml:
9519 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9520 add converters in front of pipelines; remove curly
9521 brackets for threads stuff, they no longer exist; use
9522 GST_TYPE_FRACTION for framerates; update some pieces of
9523 code to 0.10, but there's plenty more to do.
9525 * docs/manual/appendix-porting.xml:
9526 Expand on asynchroneous state changes; s/0.9/0.10/;
9527 mention disappearance of gst_init_get_popt_table()
9530 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9532 * docs/faq/using.xml:
9533 Spider no longer exists, and neither does gst-launch-ext.
9534 Update examples to use decodebin and playbin and put
9535 converters in front of sinks (fixes #323726).
9537 2005-12-09 Michael Smith <msmith@fluendo.com>
9539 * plugins/elements/gsttypefindelement.c: (find_peek),
9540 (gst_type_find_element_chain):
9541 Fix leaking element factories in typefinding.
9542 Fix problem where we forgot about a probable type on non-seekable
9543 files, and thus later mis-typefound it.
9545 2005-12-09 Michael Smith <msmith@fluendo.com>
9547 * common/m4/gst-makecontext.m4:
9548 * common/m4/gst-mcsc.m4:
9550 * win32/common/config.h:
9551 * win32/common/config.h.in:
9552 Remove makecontext stuff; not used in 0.10 and causes problems on
9553 HPUX according to bug #322441
9555 2005-12-07 Wim Taymans <wim@fluendo.com>
9557 * tests/check/Makefile.am:
9558 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9560 * tests/check/libs/struct_i386.h:
9561 Added ABI check for libs
9563 2005-12-07 Wim Taymans <wim@fluendo.com>
9565 * tests/check/Makefile.am:
9566 And add the struct_i386.h to dist.
9568 2005-12-07 Wim Taymans <wim@fluendo.com>
9570 * tests/check/Makefile.am:
9571 * tests/check/gst/.cvsignore:
9572 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9574 * tests/check/gst/struct_i386.h:
9575 Added check for ABI compatibility.
9577 2005-12-07 Wim Taymans <wim@fluendo.com>
9579 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9580 (gst_fake_src_get_times), (gst_fake_src_create):
9581 Fix broken sync option, fixes #323259
9583 2005-12-07 Wim Taymans <wim@fluendo.com>
9588 * gst/gstcaps.c: (gst_caps_is_equal):
9589 Don't assert on NULL <--> X. Fixes #323260
9591 * gst/gstminiobject.c: (gst_mini_object_replace):
9592 If we're doing atomic operations, we might just as well use
9593 the proper way to get an atomic pointer.
9595 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9598 2005-12-07 Michael Smith <msmith@fluendo.com>
9600 * gst/parse/grammar.y:
9601 Remove handling of { } for threads.
9603 2005-12-06 David Schleef <ds@schleef.org>
9605 * libs/gst/base/gstbasetransform.c: speling fix.
9607 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
9609 * docs/libs/tmpl/gstdataprotocol.sgml:
9610 * docs/random/omega/testing/gstobject.c:
9614 * gst/gstelementfactory.c:
9617 * gst/gstghostpad.c:
9619 * gst/gstpadtemplate.c:
9620 * gst/gstregistryxml.c:
9622 * gst/gsttagsetter.c:
9623 * gst/gsttypefind.c:
9625 * libs/gst/base/gstbasesrc.c:
9626 * libs/gst/net/gstnetclientclock.c:
9627 * libs/gst/net/gstnettimeprovider.c:
9628 * plugins/elements/gstfakesrc.c:
9629 * plugins/elements/gstfdsrc.c:
9630 * plugins/elements/gstfilesrc.c:
9631 * plugins/elements/gstidentity.c:
9632 * plugins/elements/gstqueue.c:
9633 * plugins/elements/gsttypefindelement.c:
9634 * plugins/indexers/gstfileindex.c:
9635 * plugins/indexers/gstmemindex.c:
9636 * tests/check/gst/gsttag.c:
9637 * tests/old/examples/cutter/cutter.c:
9638 * tests/old/examples/mixer/mixer.c:
9639 * tests/old/examples/xml/runxml.c: (main):
9640 * tests/old/testsuite/caps/normalisation.c:
9641 * tests/old/testsuite/debug/global.c:
9642 * tests/old/testsuite/parse/parse1.c:
9643 * tools/gst-xmlinspect.c:
9644 * win32/common/dirent.c:
9647 === release 0.10.0 ===
9649 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9652 releasing 0.10.0, "Maroilles"
9654 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9656 submitted by: Funda Wang <fundawang@linux.net.cn>
9660 added Chinese (Traditional) translation
9662 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9664 * docs/gst/gstreamer-sections.txt:
9665 * docs/libs/tmpl/gstdataprotocol.sgml:
9666 * docs/random/thomasvs/TODO:
9671 2005-12-05 Andy Wingo <wingo@pobox.com>
9673 patch by: Wim Taymans <wim@fluendo.com>
9675 * libs/gst/base/gstbasetransform.c
9676 (gst_base_transform_prepare_output_buf)
9677 (gst_base_transform_buffer_alloc):
9678 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9679 alloc_buffer_and_set_caps.
9681 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9682 set_caps on the source pad.
9683 (gst_pad_alloc_buffer_and_set_caps): New function, does what
9684 alloc_buffer used to do. Fixes #322874.
9686 * docs/gst/gstreamer-sections.txt:
9687 * docs/design/part-negotiation.txt:
9688 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9691 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9693 patch by: Sebastien Moutte
9696 * win32/common/config.h.in:
9697 * win32/vs6/libgstcontroller.dsp:
9700 2005-12-05 Wim Taymans <wim@fluendo.com>
9702 * gst/gstcaps.c: (gst_caps_is_equal):
9703 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9704 (gst_fake_src_create):
9705 Back out previous code changes, leave doc updates, file bugs
9708 2005-12-05 Wim Taymans <wim@fluendo.com>
9710 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9711 (gst_fake_src_get_times), (gst_fake_src_create):
9712 * plugins/elements/gstfakesrc.h:
9713 Fix broken sync code.
9715 2005-12-05 Wim Taymans <wim@fluendo.com>
9717 * gst/gstcaps.c: (gst_caps_is_equal):
9718 Comparing NULL against !NULL yields different caps, not a
9721 2005-12-05 Wim Taymans <wim@fluendo.com>
9723 * gst/gstpipeline.c:
9724 Fix small typo in docs.
9726 2005-12-05 Andy Wingo <wingo@pobox.com>
9728 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
9730 * gst/gst.c (init_post): remove hard-coded 0.9 location for
9731 registries/plugins with a MAJORMINOR one.
9732 (plugin_desc): Rename library from gstcoreleements to
9733 staticelements. Fixes #323222.
9735 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
9737 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9738 Change debug category to 'collectpads' from 'collect_pads'
9741 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9743 patch by: Sebastien Moutte
9745 * libs/gst/controller/gstinterpolation.c:
9746 use convert function for uint64/double
9747 * win32/vs6/libgstcontroller.dsp:
9750 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9752 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9753 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9755 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9756 add tests that seem to show that the guint64/gdouble conversions
9759 2005-12-02 Wim Taymans <wim@fluendo.com>
9761 * gst/gstregistry.c: (gst_registry_add_path):
9762 * gst/gstregistry.h:
9763 * gst/gstregistryxml.c:
9766 2005-12-02 Wim Taymans <wim@fluendo.com>
9768 * gst/gstutils.c: (gst_util_uint64_scale_int64),
9769 (gst_util_uint64_scale_int):
9772 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9775 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9778 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9781 * win32/common/config.h:
9782 * win32/vs6/gstreamer.dsw:
9783 * win32/vs6/libgstcoreelements.dsp:
9784 * win32/vs6/libgstelements.dsp:
9785 renamed core elements plugin
9787 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9789 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9791 do piece-wise major/minor comparison so 0.9 < 0.10
9792 also allow .exe extensions for tools
9794 2005-12-02 Michael Smith <msmith@fluendo.com>
9797 Escape a % to make gtkdoc happier; bug 322958.
9799 === release 0.9.7 ===
9801 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9804 releasing 0.9.7, "My Dog Has No Nose"
9806 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9808 * common/gst-xmlinspect.py:
9810 * docs/libs/tmpl/gstdataprotocol.sgml:
9811 * docs/random/release:
9830 * win32/common/config.h:
9831 * win32/common/config.h.in:
9832 * win32/vs6/gst_inspect.dsp:
9833 * win32/vs6/gst_launch.dsp:
9834 * win32/vs6/libgstbase.dsp:
9835 * win32/vs6/libgstelements.dsp:
9836 * win32/vs6/libgstreamer.dsp:
9837 * win32/vs7/GStreamer.vcproj:
9838 * win32/vs7/gst-inspect.vcproj:
9839 * win32/vs7/gst-launch.vcproj:
9840 * win32/vs7/libgstbase.vcproj:
9841 bump GST_MAJORMINOR to 0.10
9842 reset libtool version
9844 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9848 Added Bulgarian translation by (Alexander Shopov)
9850 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9852 * tests/check/gst/gstplugin.c:
9855 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9857 * common/gst-xmlinspect.py:
9858 * common/gtk-doc-plugins.mak:
9861 * docs/gst/Makefile.am:
9862 * docs/gst/gstreamer-docs.sgml:
9863 * docs/gst/gstreamer-sections.txt:
9864 * docs/gst/gstreamer.types:
9865 * docs/gst/gstreamer.types.in:
9866 * docs/plugins/Makefile.am:
9867 * docs/plugins/gstreamer-plugins-docs.sgml:
9868 * docs/plugins/gstreamer-plugins-sections.txt:
9869 * docs/plugins/gstreamer-plugins.types:
9870 * docs/plugins/inspect.stamp:
9871 * docs/plugins/inspect/plugin-coreelements.xml:
9872 * docs/plugins/inspect/plugin-coreindexers.xml:
9873 * docs/plugins/scanobj-build.stamp:
9874 * gstreamer.spec.in:
9875 * plugins/elements/Makefile.am:
9876 * plugins/elements/gstelements.c:
9877 * plugins/elements/gstfakesink.c:
9878 * plugins/elements/gstfakesrc.c:
9879 * plugins/elements/gstfilesink.c:
9880 * plugins/elements/gstfilesrc.c:
9881 * plugins/elements/gstqueue.c:
9882 * plugins/indexers/Makefile.am:
9883 * plugins/indexers/gstindexers.c:
9884 document core plugins in a separate document just like all the
9886 rename these plugins to something starting with core
9888 2005-12-01 Andy Wingo <wingo@pobox.com>
9890 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
9891 padding here before, but it missed the commit.
9893 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9895 * libs/gst/controller/gstinterpolation.c:
9896 whitespace prices have crashed, we should feel free to use some now
9897 use gst_guint64_to_gdouble
9899 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9901 * libs/gst/controller/gstcontroller.c:
9902 * libs/gst/controller/gsthelper.c:
9903 * libs/gst/controller/gstinterpolation.c:
9904 * libs/gst/controller/lib.c:
9905 wrap config.h include
9907 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9909 * docs/gst/gstreamer-sections.txt:
9912 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9914 * plugins/elements/gstelements.c:
9915 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
9916 (gst_fd_sink__class_init), (gst_fd_sink__init),
9917 (gst_fd_sink__chain), (gst_fd_sink__set_property),
9918 (gst_fd_sink__get_property):
9919 * plugins/elements/gstfdsink.h:
9920 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
9921 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
9922 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
9923 (gst_fd_src_unlock), (gst_fd_src_set_property),
9924 (gst_fd_src_get_property), (gst_fd_src_create),
9925 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
9926 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
9927 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
9928 (gst_fd_src_uri_handler_init):
9929 * plugins/elements/gstfdsrc.h:
9930 * plugins/elements/gstqueue.c: (gst_queue_get_type):
9933 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9935 * docs/gst/Makefile.am:
9936 * docs/gst/gstreamer.types.in:
9940 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9946 * gst/gstregistry.h:
9947 * tests/benchmarks/complexity.c:
9948 * tests/benchmarks/mass-elements.c:
9949 * tests/check/Makefile.am:
9950 * tools/Makefile.am:
9951 * tools/gst-inspect.c:
9952 * tools/gst-xmlinspect.c:
9953 various fixes to make
9954 --disable-nls --disable-registry --disable-loadsave
9955 --disable-parse --disable-gst-debug
9956 work and get the core .so down to 360444 bytes after stripping
9958 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9963 * docs/random/thomasvs/TODO:
9964 * tests/Makefile.am:
9968 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9970 * win32/GStreamer.vcproj:
9973 * win32/Makefile.inspect:
9974 * win32/Makefile.launch:
9975 * win32/Makefile.register:
9977 * win32/gst-inspect.vcproj:
9978 * win32/gst-launch.vcproj:
9979 * win32/gst-register.vcproj:
9980 * win32/gstelements.vcproj:
9981 * win32/gstgetbits.def:
9982 * win32/gstgetbits.vcproj:
9983 * win32/gstreamer-dbg.def:
9984 * win32/gstreamer.def:
9985 * win32/libgstbase.def:
9986 * win32/libgstbase.vcproj:
9987 * win32/link_oldruntime.c:
9992 move even more stuff, win32/ is nice and clean now
9994 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9996 * libs/gst/control/.cvsignore:
10001 * win32/gstbytestream.def:
10002 * win32/gstbytestream.vcproj:
10003 * win32/gstconfig.h:
10004 * win32/gstenumtypes.c:
10005 * win32/gstenumtypes.h:
10006 * win32/gstoptimalscheduler.vcproj:
10007 * win32/gstversion.h:
10009 * win32/testsuite/bins.vcproj:
10010 * win32/testsuite/bytestream.vcproj:
10011 * win32/testsuite/caps.vcproj:
10012 * win32/testsuite/cleanup.vcproj:
10013 * win32/testsuite/clock.vcproj:
10014 * win32/testsuite/debug.vcproj:
10015 * win32/testsuite/dlopen.vcproj:
10016 * win32/testsuite/dynparams.vcproj:
10017 * win32/testsuite/elements.vcproj:
10018 * win32/testsuite/ghostpads.vcproj:
10019 * win32/testsuite/indexers.vcproj:
10020 * win32/testsuite/negotiation.vcproj:
10021 * win32/testsuite/parse.vcproj:
10022 * win32/testsuite/plugin.vcproj:
10023 * win32/testsuite/refcounting.vcproj:
10024 * win32/testsuite/schedulers.vcproj:
10025 * win32/testsuite/states.vcproj:
10026 * win32/testsuite/tags.vcproj:
10027 * win32/testsuite/threads.vcproj:
10028 remove old win32 stuff that isn't maintained and should be
10031 2005-11-30 Andy Wingo <wingo@pobox.com>
10033 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10034 loading the gst.interfaces python module bork.
10036 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10037 available since GLib 2.2. Fixes #318031.
10039 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10042 * check/.cvsignore:
10043 * check/Makefile.am:
10044 * check/elements/.cvsignore:
10045 * check/elements/fakesrc.c:
10046 * check/elements/fdsrc.c:
10047 * check/elements/identity.c:
10048 * check/generic/.cvsignore:
10049 * check/generic/states.c:
10050 * check/gst-libs/.cvsignore:
10051 * check/gst-libs/controller.c:
10052 * check/gst-libs/gdp.c:
10053 * check/gst/.cvsignore:
10054 * check/gst/capslist.h:
10056 * check/gst/gstbin.c:
10057 * check/gst/gstbuffer.c:
10058 * check/gst/gstbus.c:
10059 * check/gst/gstcaps.c:
10060 * check/gst/gstelement.c:
10061 * check/gst/gstevent.c:
10062 * check/gst/gstghostpad.c:
10063 * check/gst/gstiterator.c:
10064 * check/gst/gstmessage.c:
10065 * check/gst/gstminiobject.c:
10066 * check/gst/gstobject.c:
10067 * check/gst/gstpad.c:
10068 * check/gst/gstpipeline.c:
10069 * check/gst/gstplugin.c:
10070 * check/gst/gstsegment.c:
10071 * check/gst/gststructure.c:
10072 * check/gst/gstsystemclock.c:
10073 * check/gst/gsttag.c:
10074 * check/gst/gstutils.c:
10075 * check/gst/gstvalue.c:
10076 * check/net/.cvsignore:
10077 * check/net/gstnetclientclock.c:
10078 * check/net/gstnettimeprovider.c:
10079 * check/pipelines/.cvsignore:
10080 * check/pipelines/cleanup.c:
10081 * check/pipelines/simple_launch_lines.c:
10082 * check/pipelines/stress.c:
10083 * check/states/.cvsignore:
10084 * check/states/sinks.c:
10086 * examples/Makefile.am:
10087 * examples/appreader/.cvsignore:
10088 * examples/appreader/Makefile.am:
10089 * examples/appreader/appreader.c:
10090 * examples/controller/.cvsignore:
10091 * examples/controller/Makefile.am:
10092 * examples/controller/audio-example.c:
10093 * examples/cutter/.cvsignore:
10094 * examples/cutter/Makefile.am:
10095 * examples/cutter/cutter.c:
10096 * examples/cutter/cutter.h:
10097 * examples/events/Makefile.am:
10098 * examples/events/seek.c:
10099 * examples/helloworld/.cvsignore:
10100 * examples/helloworld/Makefile.am:
10101 * examples/helloworld/helloworld.c:
10102 * examples/helloworld2/.cvsignore:
10103 * examples/helloworld2/Makefile.am:
10104 * examples/helloworld2/helloworld2.c:
10105 * examples/launch/.cvsignore:
10106 * examples/launch/Makefile.am:
10107 * examples/launch/mp3parselaunch.c:
10108 * examples/launch/mp3play:
10109 * examples/manual/.cvsignore:
10110 * examples/manual/Makefile.am:
10111 * examples/manual/extract.pl:
10112 * examples/metadata/Makefile.am:
10113 * examples/metadata/read-metadata.c:
10114 * examples/mixer/.cvsignore:
10115 * examples/mixer/Makefile.am:
10116 * examples/mixer/mixer.c:
10117 * examples/mixer/mixer.h:
10118 * examples/pingpong/.cvsignore:
10119 * examples/pingpong/Makefile.am:
10120 * examples/pingpong/pingpong.c:
10121 * examples/plugins/.cvsignore:
10122 * examples/plugins/Makefile.am:
10123 * examples/plugins/example.c:
10124 * examples/plugins/example.h:
10125 * examples/pwg/.cvsignore:
10126 * examples/pwg/Makefile.am:
10127 * examples/pwg/extract.pl:
10128 * examples/queue/.cvsignore:
10129 * examples/queue/Makefile.am:
10130 * examples/queue/queue.c:
10131 * examples/queue2/.cvsignore:
10132 * examples/queue2/Makefile.am:
10133 * examples/queue2/queue2.c:
10134 * examples/queue3/.cvsignore:
10135 * examples/queue3/Makefile.am:
10136 * examples/queue3/queue3.c:
10137 * examples/queue4/.cvsignore:
10138 * examples/queue4/Makefile.am:
10139 * examples/queue4/queue4.c:
10140 * examples/retag/.cvsignore:
10141 * examples/retag/Makefile.am:
10142 * examples/retag/retag.c:
10143 * examples/retag/transcode.c:
10144 * examples/thread/.cvsignore:
10145 * examples/thread/Makefile.am:
10146 * examples/thread/thread.c:
10147 * examples/typefind/.cvsignore:
10148 * examples/typefind/Makefile.am:
10149 * examples/typefind/typefind.c:
10150 * examples/xml/.cvsignore:
10151 * examples/xml/Makefile.am:
10152 * examples/xml/createxml.c:
10153 * examples/xml/runxml.c:
10154 * tests/Makefile.am:
10155 * tests/check/Makefile.am:
10156 * testsuite/.cvsignore:
10157 * testsuite/Makefile.am:
10159 * testsuite/caps/.cvsignore:
10160 * testsuite/caps/Makefile.am:
10161 * testsuite/caps/app_fixate.c:
10162 * testsuite/caps/audioscale.c:
10163 * testsuite/caps/caps.c:
10164 * testsuite/caps/caps.h:
10165 * testsuite/caps/caps_strings:
10166 * testsuite/caps/compatibility.c:
10167 * testsuite/caps/deserialize.c:
10168 * testsuite/caps/enumcaps.c:
10169 * testsuite/caps/eratosthenes.c:
10170 * testsuite/caps/filtercaps.c:
10171 * testsuite/caps/fixed.c:
10172 * testsuite/caps/fraction-convert.c:
10173 * testsuite/caps/fraction-multiply-and-zero.c:
10174 * testsuite/caps/intersect2.c:
10175 * testsuite/caps/intersection.c:
10176 * testsuite/caps/normalisation.c:
10177 * testsuite/caps/random.c:
10178 * testsuite/caps/renegotiate.c:
10179 * testsuite/caps/sets.c:
10180 * testsuite/caps/simplify.c:
10181 * testsuite/caps/string-conversions.c:
10182 * testsuite/caps/structure.c:
10183 * testsuite/caps/subtract.c:
10184 * testsuite/caps/union.c:
10185 * testsuite/debug/.cvsignore:
10186 * testsuite/debug/Makefile.am:
10187 * testsuite/debug/category.c:
10188 * testsuite/debug/commandline.c:
10189 * testsuite/debug/global.c:
10190 * testsuite/debug/output.c:
10191 * testsuite/debug/printf_extension.c:
10192 * testsuite/dlopen/.cvsignore:
10193 * testsuite/dlopen/Makefile.am:
10194 * testsuite/dlopen/dlopen_gst.c:
10195 * testsuite/dlopen/loadgst.c:
10196 * testsuite/elements/.cvsignore:
10197 * testsuite/elements/Makefile.am:
10198 * testsuite/elements/gst-inspect-check.in:
10199 * testsuite/elements/struct_i386.h:
10200 * testsuite/elements/struct_size.c:
10201 * testsuite/indexers/.cvsignore:
10202 * testsuite/indexers/Makefile.am:
10203 * testsuite/indexers/cache1.c:
10204 * testsuite/indexers/indexdump.c:
10205 * testsuite/parse/.cvsignore:
10206 * testsuite/parse/Makefile.am:
10207 * testsuite/parse/parse1.c:
10208 * testsuite/parse/parse2.c:
10209 * testsuite/plugin/.cvsignore:
10210 * testsuite/plugin/Makefile.am:
10211 * testsuite/plugin/README:
10212 * testsuite/plugin/dynamic.c:
10213 * testsuite/plugin/linked.c:
10214 * testsuite/plugin/loading.c:
10215 * testsuite/plugin/registry.c:
10216 * testsuite/plugin/static.c:
10217 * testsuite/plugin/static2.c:
10218 * testsuite/plugin/testplugin.c:
10219 * testsuite/plugin/testplugin2.c:
10220 * testsuite/plugin/testplugin2_s.c:
10221 * testsuite/plugin/testplugin_s.c:
10222 * testsuite/refcounting/.cvsignore:
10223 * testsuite/refcounting/Makefile.am:
10224 * testsuite/refcounting/bin.c:
10225 * testsuite/refcounting/element.c:
10226 * testsuite/refcounting/element_pad.c:
10227 * testsuite/refcounting/mainloop.c:
10228 * testsuite/refcounting/mem.c:
10229 * testsuite/refcounting/mem.h:
10230 * testsuite/refcounting/object.c:
10231 * testsuite/refcounting/pad.c:
10232 * testsuite/refcounting/sched.c:
10233 * testsuite/refcounting/thread.c:
10234 * testsuite/states/.cvsignore:
10235 * testsuite/states/Makefile.am:
10236 * testsuite/states/bin.c:
10237 * testsuite/states/locked.c:
10238 * testsuite/states/parent.c:
10239 * testsuite/threads/.cvsignore:
10240 * testsuite/threads/159566.c:
10241 * testsuite/threads/159852.c:
10242 * testsuite/threads/Makefile.am:
10243 * testsuite/threads/queue.c:
10244 * testsuite/threads/signals.c:
10245 * testsuite/threads/staticrec.c:
10246 * testsuite/threads/thread.c:
10247 * testsuite/threads/threadb.c:
10248 * testsuite/threads/threadc.c:
10249 * testsuite/threads/threadd.c:
10250 * testsuite/threads/threade.c:
10251 * testsuite/threads/threadf.c:
10252 * testsuite/threads/threadg.c:
10253 * testsuite/threads/threadh.c:
10254 * testsuite/threads/threadi.c:
10255 move all of these under tests
10257 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10260 * tests/Makefile.am:
10263 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10265 * docs/gst/gstreamer-sections.txt:
10266 * tests/sched/.cvsignore:
10267 * tests/sched/Makefile.am:
10268 * tests/sched/cases/(fs-fs).xml:
10269 * tests/sched/cases/(fs-i-fs).xml:
10270 * tests/sched/cases/(fs-i-i-fs).xml:
10271 * tests/sched/cases/(fs-i-q[i-fs]).xml:
10272 * tests/sched/dynamic-pipeline.c:
10273 * tests/sched/interrupt1.c:
10274 * tests/sched/interrupt2.c:
10275 * tests/sched/interrupt3.c:
10276 * tests/sched/runtestcases:
10277 * tests/sched/runxml.c:
10278 * tests/sched/sched-stress.c:
10279 * tests/sched/sort.c:
10280 * tests/sched/testcases:
10281 * tests/sched/testcases1.tc:
10282 * tests/seeking/.cvsignore:
10283 * tests/seeking/Makefile.am:
10284 * tests/seeking/seeking1.c:
10285 * tests/threadstate/.cvsignore:
10286 * tests/threadstate/Makefile.am:
10287 * tests/threadstate/test1.c:
10288 * tests/threadstate/test2.c:
10289 * tests/threadstate/threadstate1.c:
10290 * tests/threadstate/threadstate2.c:
10291 * tests/threadstate/threadstate3.c:
10292 * tests/threadstate/threadstate4.c:
10293 * tests/threadstate/threadstate5.c:
10294 remove obsolete tests
10296 * tests/bench-complexity.scm:
10297 * tests/bench-mass_elements.scm:
10298 * tests/complexity.c:
10299 * tests/complexity.gnuplot:
10300 * tests/instantiate/.cvsignore:
10301 * tests/instantiate/Makefile.am:
10302 * tests/instantiate/caps.c:
10303 * tests/mass_elements.c:
10304 * tests/network-clock-utils.scm:
10305 * tests/network-clock.scm:
10307 First pass at cleaning up tests/ dir before moving the rest
10308 Combined with CVS surgery
10310 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10313 queue has moved, update
10315 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10317 * docs/gst/gstreamer-sections.txt:
10318 remove double entries from the docs
10319 * gst/gst_private.h:
10320 * gst/gstinfo.c: (_gst_debug_init):
10321 remove the THREAD debug category
10325 * docs/gst/gstreamer.types:
10326 * plugins/elements/gstqueue.c: (gst_queue_get_type),
10327 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10328 completely move queue and fix up debugging categories
10330 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10332 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10333 make initialization portable, using LL is not
10335 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10337 * win32/common/gstconfig.h:
10340 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10342 * win32/common/libgstreamer.def:
10343 rename symbols; sort base section
10345 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10347 * gst/gstclock.c: (do_linear_regression):
10348 remove crack non-portable handrolled DEBUG macro
10350 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10352 * docs/random/release:
10354 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10355 (gst_object_flags_get_type), (register_gst_bin_flags),
10356 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10357 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10358 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10359 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10360 (gst_caps_flags_get_type), (register_gst_clock_return),
10361 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10362 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10363 (gst_clock_flags_get_type), (register_gst_state),
10364 (gst_state_get_type), (register_gst_state_change_return),
10365 (gst_state_change_return_get_type), (register_gst_state_change),
10366 (gst_state_change_get_type), (register_gst_element_flags),
10367 (gst_element_flags_get_type), (register_gst_core_error),
10368 (gst_core_error_get_type), (register_gst_library_error),
10369 (gst_library_error_get_type), (register_gst_resource_error),
10370 (gst_resource_error_get_type), (register_gst_stream_error),
10371 (gst_stream_error_get_type), (register_gst_event_type_flags),
10372 (gst_event_type_flags_get_type), (register_gst_event_type),
10373 (gst_event_type_get_type), (register_gst_seek_type),
10374 (gst_seek_type_get_type), (register_gst_seek_flags),
10375 (gst_seek_flags_get_type), (register_gst_format),
10376 (gst_format_get_type), (register_gst_index_certainty),
10377 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10378 (gst_index_entry_type_get_type),
10379 (register_gst_index_lookup_method),
10380 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10381 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10382 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10383 (gst_index_flags_get_type), (register_gst_debug_level),
10384 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10385 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10386 (gst_iterator_result_get_type), (register_gst_iterator_item),
10387 (gst_iterator_item_get_type), (register_gst_message_type),
10388 (gst_message_type_get_type), (register_gst_mini_object_flags),
10389 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10390 (gst_pad_link_return_get_type), (register_gst_flow_return),
10391 (gst_flow_return_get_type), (register_gst_activate_mode),
10392 (gst_activate_mode_get_type), (register_gst_pad_direction),
10393 (gst_pad_direction_get_type), (register_gst_pad_flags),
10394 (gst_pad_flags_get_type), (register_gst_pad_presence),
10395 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10396 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10397 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10398 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10399 (gst_plugin_flags_get_type), (register_gst_rank),
10400 (gst_rank_get_type), (register_gst_query_type),
10401 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10402 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10403 (gst_tag_flag_get_type), (register_gst_task_state),
10404 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10405 (gst_alloc_trace_flags_get_type),
10406 (register_gst_type_find_probability),
10407 (gst_type_find_probability_get_type), (register_gst_uri_type),
10408 (gst_uri_type_get_type), (register_gst_parse_error),
10409 (gst_parse_error_get_type):
10410 * win32/common/gstenumtypes.h:
10411 * win32/common/gstversion.h:
10412 update visual studio generated files
10414 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10416 * win32/vs6/libgstbase.dsp:
10417 * win32/vs6/libgstelements.dsp:
10418 update project files for new locations
10420 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10425 reinstate and update
10430 * docs/random/LICENSE:
10433 2005-11-30 Edward Hervey <edward@fluendo.com>
10435 * gst/gsttypefind.c: (gst_type_find_register):
10436 * gst/gsttypefind.h:
10437 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10438 (gst_type_find_factory_dispose):
10439 * gst/gsttypefindfactory.h:
10440 Fix memory leak in GstTypeFindFactory.
10442 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10445 * plugins/elements/Makefile.am:
10446 * plugins/elements/gstelements.c:
10447 * plugins/elements/gstqueue.c:
10448 move queue from core to the elements plugin
10450 2005-11-29 Andy Wingo <wingo@pobox.com>
10452 * libs/gst/base/gstbasetransform.h:
10453 * libs/gst/base/gstbasesrc.h:
10454 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10456 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10457 of pointers by which to pad very extensible base classes (like the
10458 ones in libs/gst/base).
10460 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10462 * docs/gst/gstreamer-docs.sgml:
10463 * docs/gst/gstreamer-sections.txt:
10464 * docs/libs/gstreamer-libs-docs.sgml:
10465 * docs/libs/gstreamer-libs-sections.txt:
10466 moving documentation from core to lib
10468 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10470 * check/Makefile.am:
10472 * docs/gst/Makefile.am:
10474 * gst/base/.cvsignore:
10475 * gst/base/Makefile.am:
10477 * gst/base/gstadapter.c:
10478 * gst/base/gstadapter.h:
10479 * gst/base/gstbasesink.c:
10480 * gst/base/gstbasesink.h:
10481 * gst/base/gstbasesrc.c:
10482 * gst/base/gstbasesrc.h:
10483 * gst/base/gstbasetransform.c:
10484 * gst/base/gstbasetransform.h:
10485 * gst/base/gstcollectpads.c:
10486 * gst/base/gstcollectpads.h:
10487 * gst/base/gstpushsrc.c:
10488 * gst/base/gstpushsrc.h:
10489 * gst/base/gsttypefindhelper.c:
10490 * gst/base/gsttypefindhelper.h:
10491 * gst/check/Makefile.am:
10492 * gst/check/gstcheck.c:
10493 * gst/check/gstcheck.h:
10494 * gst/net/Makefile.am:
10495 * gst/net/gstnet.h:
10496 * gst/net/gstnetclientclock.c:
10497 * gst/net/gstnetclientclock.h:
10498 * gst/net/gstnettimepacket.c:
10499 * gst/net/gstnettimepacket.h:
10500 * gst/net/gstnettimeprovider.c:
10501 * gst/net/gstnettimeprovider.h:
10502 * libs/gst/Makefile.am:
10503 * libs/gst/base/Makefile.am:
10504 * libs/gst/base/gstbasetransform.c:
10505 * libs/gst/check/Makefile.am:
10506 * plugins/elements/Makefile.am:
10508 CVS surgery + support to move base, check, and net out of gst
10511 2005-11-29 Andy Wingo <wingo@pobox.com>
10513 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10515 * gst/gststructure.h (struct _GstStructure): Only one pointer of
10518 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10520 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10522 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10524 * gst/gstobject.h: (struct _GstObject): Only one pointer of
10525 padding; reduces object size by about 30%. We don't expect
10526 anything else to go into gstobject.
10528 * gst/gstminiobject.h (struct _GstMiniObject)
10529 (struct _GstMiniObjectClass): Only one pointer of padding; the
10530 payload is only a pointer and two ints anyway. For the class there
10531 are only two methods as well.
10533 * gst/gstelement.h (struct _GstElementClass): Removed
10534 the state_changed signal callback, it is not used.
10536 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10538 * docs/gst/gstreamer.types:
10539 fix includes, though they are a little dinky
10541 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10543 * check/Makefile.am:
10544 look in the right place for elements, a lot more chance of
10547 remove indexers and elements subdirs
10548 * plugins/Makefile.am:
10549 make indexers conditional
10551 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10555 * plugins/elements/Makefile.am:
10556 * plugins/elements/gstcapsfilter.c:
10557 * plugins/elements/gstfilesink.c:
10558 * plugins/elements/gstfilesrc.c:
10559 * plugins/elements/gstidentity.c:
10560 * plugins/indexers/Makefile.am:
10561 do CVS surgery and related build fixery to move elements
10562 and indexers in a new gstreamer/plugins directory, out of the
10565 2005-11-29 Andy Wingo <wingo@pobox.com>
10567 * check/Makefile.am:
10568 * pkgconfig/gstreamer-net-uninstalled.pc.in:
10569 * pkgconfig/gstreamer-net.pc.in:
10570 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10573 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10575 * tools/Makefile.am:
10576 * tools/gst-complete.1.in:
10577 * tools/gst-complete.c:
10578 * tools/gst-compprep.1.in:
10579 * tools/gst-compprep.c:
10580 removing -compprep and -complete
10582 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10584 * gst/gstevent.c: (gst_event_new_new_segment),
10585 (gst_event_parse_new_segment):
10587 fix #320529 - clean up new_segment API and structure.
10588 Let's hope everyone was using the methods, and not the structure.
10590 2005-11-29 Edward Hervey <edward@fluendo.com>
10592 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10593 (gst_base_sink_event), (gst_base_sink_do_sync),
10594 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10595 Properly handle non GST_FORMAT_TIME segment
10596 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10597 Properly handle non GST_FORMAT_TIME segment
10598 * gst/gstsegment.c:
10599 This function is valid if the accumulator is 0 and the format
10600 is different from the requested format.
10602 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10604 * docs/gst/gstreamer-sections.txt:
10605 Add gst_query_new_seeking and gst_query_parse_seeking to the
10608 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10610 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10611 Treat a pad alloc with new caps the same as if we were not
10612 negotiated, in order to allow a changing upstream output
10613 to produce a new format of data.
10615 2005-11-29 Edward Hervey <edward@fluendo.com>
10617 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10618 (gst_base_transform_event), (gst_base_transform_eventfunc):
10619 The event virtual method is now properly implemented, with a default
10621 Sub classes should call the parent_class event method. They should
10622 return FALSE if they had a problem handling the given event, or don't
10623 want GstBaseTransform to send that even downstream
10624 * gst/elements/gstidentity.c: (gst_identity_class_init),
10625 (gst_identity_init), (gst_identity_event),
10626 (gst_identity_transform_ip), (gst_identity_set_property),
10627 (gst_identity_get_property):
10628 * gst/elements/gstidentity.h:
10629 Added the single-segment boolean property.
10630 If set to TRUE, it will output a single segment of data, starting from
10631 0, will eat up all incoming newsegment, and modify the timestamp of the
10632 buffers accordingly
10634 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
10636 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10637 Don't ref NULL target pad (#322751). Improve docs.
10639 2005-11-29 Michael Smith <msmith@fluendo.com>
10641 * gst/gstregistryxml.c: (load_plugin):
10642 Don't crash if we failed to load a feature from a plugin.
10644 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10646 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10648 use more check API and less GLib API
10650 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10653 don't run checks if we don't have check
10654 * common/check.mak:
10655 remove the registry when running make torture
10656 * docs/gst/gstreamer-sections.txt:
10657 remove second multiply
10658 * gst/gstqueue.c: (gst_queue_loop):
10659 fix a compile warning when disabling debug
10661 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10664 Hey! Let's print the pad name if the pointer != NULL instead
10665 of when it == NULL :-)
10667 2005-11-28 Wim Taymans <wim@fluendo.com>
10669 * check/gst/gstutils.c: (GST_START_TEST):
10670 Updated check, add some scaling accuracy checking code.
10672 * gst/gstutils.c: (gst_util_div128_64),
10673 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10674 (gst_util_uint64_scale_int):
10675 Fix 6 times faster division code. Optimize for common
10676 1/1 and less common X/1 cases.
10678 2005-11-28 Wim Taymans <wim@fluendo.com>
10680 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10683 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10684 (do_linear_regression), (gst_clock_add_observation):
10686 Release lock when the clock cannot be slaved.
10687 Catch the case where the regression returned an invalid denominator.
10689 * gst/gstutils.c: (gst_util_div128_64_iterate),
10690 (gst_util_div128_64), (gst_util_uint64_scale_int64),
10691 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10692 Add protentially more performant non-iterative 128/64 divide function
10693 that unfortunatly does not work yet.
10694 Shortcut the trivial 0/X = 0 case.
10695 Remove the warnings on overflow.
10697 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10699 * gst/gstplugin.c: (gst_plugin_register_func):
10700 everything causing a plugin not to load should be at least a WARNING
10702 2005-11-28 Stefan Kost <ensonic@users.sf.net>
10704 * docs/random/ensonic/dparams.txt:
10705 some TODOs for the next dev cycle
10706 * libs/gst/controller/gstcontroller.c:
10707 (gst_controlled_property_set_interpolation_mode),
10708 (gst_controlled_property_new):
10709 * libs/gst/controller/gstcontroller.h:
10710 use base type to assign acccessor functions
10712 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10714 * check/Makefile.am:
10715 Oops, that should have been top_srcdir
10717 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10719 * check/Makefile.am:
10720 * check/elements/fdsrc.c: (GST_START_TEST):
10721 Use a cmdline define to specify the location of a file to use for
10722 testing, to avoid breaking distcheck.
10724 2005-11-28 Andy Wingo <wingo@pobox.com>
10726 * gst/gstpad.c (fixate_value): Use array functions for arrays.
10728 2005-11-28 Edward Hervey <edward@fluendo.com>
10730 * tools/gst-launch.c: (main):
10731 Clarify the output strings, makes it easier to translate.
10734 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10737 don't try and build net if we don't even have <sys/socket.h>
10739 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
10741 * check/Makefile.am:
10742 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10743 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10744 Add tests for fdsrc seekability
10746 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10747 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10748 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10749 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10750 * gst/elements/gstfdsrc.h:
10751 fdsrc should not be a 'live' source.
10752 Implement seeking on seekable fd's.
10754 * gst/gstquery.c: (gst_query_new_seeking),
10755 (gst_query_parse_seeking):
10757 Implement SEEKING query functions:
10758 *_new_seeking and *_parse_seeking
10760 2005-11-27 Stefan Kost <ensonic@users.sf.net>
10762 * gst/gstelement.c: (gst_element_dispose):
10765 * gst/gstiterator.c:
10766 * gst/gststructure.c:
10769 * libs/gst/controller/gstcontroller.c:
10770 (gst_controlled_property_set_interpolation_mode):
10771 * libs/gst/controller/gstcontroller.h:
10772 * libs/gst/controller/gstinterpolation.c:
10773 (interpolate_none_get_enum_value_array):
10774 support controlling enums
10776 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10779 Improve documentation for gst_value_union().
10782 Change return value for union, intersect and subtract functions
10783 from gint to gboolean.
10785 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10787 * gst/gstvalue.c: (gst_value_serialize_any_list),
10788 (gst_value_transform_any_list_string),
10789 (gst_value_deserialize_list), (gst_value_deserialize_array),
10790 (gst_value_set_int_range), (gst_value_deserialize_int_range),
10791 (gst_value_set_double_range), (gst_value_deserialize_double_range),
10792 (gst_value_set_fraction_range_full),
10793 (gst_value_deserialize_fraction_range),
10794 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10795 (gst_value_deserialize_boolean),
10796 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10797 (gst_value_serialize_float), (gst_value_deserialize_float),
10798 (gst_string_wrap), (gst_value_deserialize_string),
10799 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10800 (gst_value_union_int_range_int_range),
10801 (gst_value_intersect_int_range_int_range),
10802 (gst_value_intersect_double_range_double_range),
10803 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10804 (gst_value_subtract_int_range_int_range),
10805 (gst_value_subtract_double_double_range),
10806 (gst_value_subtract_double_range_double_range),
10807 (gst_value_deserialize_fraction):
10809 Use gint, gdouble and gchar in our API instead of int, double and
10810 char (and make usage in gstvalue.c more consistent).
10812 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10814 * check/Makefile.am:
10815 * libs/gst/controller/Makefile.am:
10816 * libs/gst/dataprotocol/Makefile.am:
10817 fix up Makefile.am and remove GST_ENABLE_NEW
10819 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10823 * gst/base/Makefile.am:
10824 * gst/check/Makefile.am:
10825 * gst/elements/Makefile.am:
10826 * gst/net/Makefile.am:
10827 update LDFLAGS use some more
10829 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10831 * common/m4/gst-doc.m4:
10834 2005-11-26 Edward Hervey <edward@fluendo.com>
10836 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10837 This shouldn't issue a g_warning since it returns NULL if it
10838 couldn't find the plugin, and all functions using this behave
10839 properly on a NULL return. Switching to a GST_WARNING.
10841 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
10843 * gst/gstbin.c: (gst_bin_handle_message_func):
10844 Don't leak clock messages.
10846 2005-11-25 Wim Taymans <wim@fluendo.com>
10848 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10849 (gst_util_uint64_scale_int):
10850 Optimisations, remove unneeded vars.
10852 2005-11-25 Wim Taymans <wim@fluendo.com>
10854 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10855 Added more checks for the high precision uint64 cases.
10857 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10858 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10859 Implement high precision (guint64 * guint64) / guint64.
10861 2005-11-24 Wim Taymans <wim@fluendo.com>
10863 * gst/base/gstbasesrc.c: (gst_base_src_query):
10864 Fix wrong percentage query.
10866 * gst/gstutils.c: (gst_util_uint64_scale),
10867 (gst_util_uint64_scale_int):
10868 Add some more common cases that can be handled
10869 efficiently to _scale.
10871 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10873 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
10874 (gst_mini_object_suite):
10875 don't use check calls from threads; check probably isn't
10876 threadsafe and using a lock to make it threadsafe would
10877 defeat the purpose of this check
10878 * gst/check/gstcheck.c:
10879 * gst/check/gstcheck.h:
10880 use GST_DEBUG some more
10882 2005-11-24 Wim Taymans <wim@fluendo.com>
10884 * gst/gstutils.c: (gst_util_uint64_scale),
10885 (gst_util_uint64_scale_int):
10886 Chain trivial case to _scale_int.
10888 2005-11-24 Wim Taymans <wim@fluendo.com>
10890 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10891 Added test for scaling.
10896 * gst/gstutils.c: (gst_util_uint64_scale_int):
10897 Implemented high precision scaling code.
10899 2005-11-24 Stefan Kost <ensonic@users.sf.net>
10902 do not crash on pad==NULL
10904 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10906 Patch by: Stefan Kost
10908 * common/gtk-doc.mak:
10909 * docs/gst/Makefile.am:
10910 * docs/libs/Makefile.am:
10911 Fix distcheck issues for the libraries docs build
10914 2005-11-24 Michael Smith <msmith@fluendo.com>
10916 * docs/manual/basics-helloworld.xml:
10917 Fix bug #315027: memory leak in example code in docs.
10919 2005-11-24 Michael Smith <msmith@fluendo.com>
10921 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10922 Unlock the PREROLL_LOCK in a failure case.
10924 2005-11-24 Wim Taymans <wim@fluendo.com>
10926 * docs/gst/gstreamer-sections.txt:
10927 * gst/base/gstadapter.h:
10928 * gst/base/gstbasesink.h:
10929 * gst/base/gstbasesrc.h:
10930 * gst/base/gstbasetransform.h:
10931 * gst/base/gstpushsrc.h:
10932 * gst/elements/gstfakesink.h:
10933 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
10934 * gst/elements/gstfakesrc.h:
10935 * gst/elements/gstfilesink.h:
10936 * gst/elements/gstfilesrc.h:
10939 * gst/gstbuffer.c: (_gst_buffer_copy):
10942 * gst/gstchildproxy.c:
10944 * gst/gstelement.c:
10945 * gst/gstelementfactory.c:
10946 * gst/gstelementfactory.h:
10948 * gst/gstghostpad.h:
10950 * gst/gstinterface.h:
10951 * gst/gstminiobject.c:
10952 * gst/gstminiobject.h:
10955 * gst/gstpadtemplate.h:
10956 * gst/gstpipeline.h:
10957 * gst/gstpluginfeature.h:
10960 * gst/gsttaglist.c:
10961 * gst/gsttaglist.h:
10962 * gst/gsttagsetter.c:
10963 * gst/gsttagsetter.h:
10966 * gst/gsttypefind.h:
10969 * gst/net/gstnetclientclock.c:
10970 * gst/net/gstnetclientclock.h:
10971 * gst/net/gstnettimepacket.c:
10972 * gst/net/gstnettimeprovider.c:
10973 * gst/net/gstnettimeprovider.h:
10976 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10978 * configure.ac: back to HEAD
10980 === release 0.9.6 ===
10982 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10985 releasing 0.9.6, "Always On Time"
10987 2005-11-23 Wim Taymans <wim@fluendo.com>
10989 * docs/gst/gstreamer-sections.txt:
10990 * gst/glib-compat.c:
10991 * gst/gsttagsetter.c:
10993 * gst/net/gstnetclientclock.c:
10994 * gst/net/gstnettimepacket.h:
10997 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10999 * docs/faq/using.xml:
11000 * docs/libs/tmpl/gstcontrol.sgml:
11001 * docs/manual/advanced-dparams.xml:
11002 * docs/manual/appendix-checklist.xml:
11003 * docs/manual/basics-elements.xml:
11004 * docs/pwg/other-source.xml:
11005 * docs/random/moving-plugins:
11007 * tools/gst-launch.1.in:
11008 remove mentions of sinesrc
11010 2005-11-23 Michael Smith <msmith@fluendo.com>
11012 * docs/gst/gstreamer-sections.txt:
11013 Update for new API and API changes.
11015 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11017 Documentation typo fix.
11018 * gst/net/gstnettimepacket.c:
11019 Documentation fixes for arguments.
11021 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
11023 * gst/gststructure.c: (gst_structure_get_fraction),
11024 (gst_structure_parse_value),
11025 (gst_structure_fixate_field_nearest_fraction):
11026 * gst/gststructure.h:
11027 * gst/gstutils.c: (gst_util_uint64_scale_int):
11029 * scripts/update-funcnames:
11031 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11032 Make gst_structure_fixate_field_nearest_fraction take a numerator
11033 and denominator argument instead of a GValue
11034 add gst_structure_get_fraction helper function.
11036 2005-11-23 Wim Taymans <wim@fluendo.com>
11038 * docs/design/part-TODO.txt:
11041 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11042 * gst/net/gstnetclientclock.h:
11043 Use parent fields for timeout and window_size.
11045 2005-11-23 Andy Wingo <wingo@pobox.com>
11047 * check/net/gstnetclientclock.c (test_functioning): Adjust to
11048 rate_num/rate_denom change.
11050 * gst/net/gstnetclientclock.c
11051 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11052 OBJECT_LOCK. Don't call add_observation with the lock.
11054 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11056 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11058 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11059 deal with rate as a fraction whose numerator and denominator are
11060 GstClockTime values.
11061 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11062 master; the other fields are protected by the SLAVE_LOCK.
11063 (do_linear_regression): Note that this must be called with the
11065 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11066 OBJECT_LOCK. Call set_calibration instead of touching the
11067 variables directly.
11068 (gst_clock_set_property, gst_clock_get_property): Protect
11069 master/slave parameters with the SLAVE_LOCK.
11071 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11072 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11073 note that all of the instance variables that add_observation and
11074 the set_master functions use are protected by that lock and not
11076 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11078 * gst/gstclock.c (gst_clock_add_observation): No longer requires
11079 the caller to take the object lock.
11081 2005-11-23 Wim Taymans <wim@fluendo.com>
11083 * gst/gsterror.c: (_gst_core_errors_init):
11085 Add error for clock stuff.
11087 * gst/gstpipeline.c: (gst_pipeline_change_state),
11088 (gst_pipeline_set_clock):
11089 Post clock error when clock cannot be used in a pipeline.
11091 2005-11-23 Stefan Kost <ensonic@users.sf.net>
11093 * docs/gst/gstreamer-sections.txt:
11094 make two symbols from gstinfo private for the docs
11095 * gst/base/gstcollectpads.h:
11097 fix doc typos, update docs
11099 2005-11-22 Wim Taymans <wim@fluendo.com>
11101 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11102 (gst_base_sink_wait), (gst_base_sink_do_sync),
11103 (gst_base_sink_handle_event):
11104 * gst/base/gstbasesink.h:
11105 No need to store the clock, the parent element class already
11108 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11109 Updates for clock_set returning a gboolean
11111 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11112 (gst_clock_id_wait_async), (gst_clock_class_init),
11113 (gst_clock_init), (gst_clock_finalize),
11114 (gst_clock_get_internal_time), (gst_clock_get_time),
11115 (gst_clock_slave_callback), (gst_clock_set_master),
11116 (gst_clock_get_master), (do_linear_regression),
11117 (gst_clock_add_observation), (gst_clock_set_property),
11118 (gst_clock_get_property):
11120 Implement master/slave. When setting a clock as a slave, a
11121 periodic timeout is scheduled to sample master and slave times.
11122 Then the slave clock is recalibrated to match offset and rate
11123 of the master clock.
11124 Update logging a bit.
11125 Add flag so that a clock can state that is cannot be slaved to
11128 * gst/gstelement.c: (gst_element_set_clock):
11129 * gst/gstelement.h:
11130 The set clock returns a gboolean for when an element cannot
11131 deal with the selected clock in the pipeline.
11133 * gst/gstpipeline.c: (gst_pipeline_change_state),
11134 (gst_pipeline_set_clock):
11135 * gst/gstpipeline.h:
11136 Handle the case where the selected clock cannot be set on
11139 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11140 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11141 (gst_net_client_clock_set_property),
11142 (gst_net_client_clock_get_property),
11143 (gst_net_client_clock_observe_times):
11144 * gst/net/gstnetclientclock.h:
11145 Use regression code in GstClock parent, remove duplicated
11148 2005-11-22 Michael Smith <msmith@fluendo.com>
11150 * gst/gstutils.c: (gst_util_clock_time_scale):
11152 * docs/gst/gstreamer-sections.txt:
11153 Rename method to have extra underscore.
11155 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
11157 * gst/elements/Makefile.am:
11158 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11159 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11160 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11161 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11162 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11163 * gst/elements/gstfakesrc.h:
11164 * gst/gstqueue.c: (queue_leaky_get_type):
11165 correctly fix GEnumValues so that nick is the short lowercase
11167 * tools/gst-inspect.c: (print_element_properties_info):
11168 also show the nick, since it's useful to use from parse_launch
11172 2005-11-22 Michael Smith <msmith@fluendo.com>
11174 * gst/gstutils.c: (gst_util_clocktime_scale):
11176 * docs/gst/gstreamer-sections.txt:
11177 Add util method for scaling a clocktime by a fraction. Useful
11178 implementation is left as an exercise for the reader.
11180 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11182 * gst/gstvalue.c: (gst_value_collect_fraction_range):
11183 If needed, allocate storage in the destination value during
11186 2005-11-22 Edward Hervey <edward@fluendo.com>
11188 * docs/gst/gstreamer-sections.txt:
11191 * gst/gsturitype.c:
11192 * gst/gsturitype.h:
11193 * gst/gstutils.c: (gst_util_set_object_arg):
11194 * tools/gst-compprep.c: (main):
11195 * tools/gst-inspect.c: (print_element_properties_info):
11196 Removed GstURI, closes bug #321061
11198 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11200 * check/gst/gststructure.c: (GST_START_TEST):
11201 * gst/gststructure.c: (gst_structure_parse_value):
11202 Oops, broke automatic string type parsing.
11203 Add a test to catch it in future.
11205 2005-11-22 Andy Wingo <wingo@pobox.com>
11207 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
11208 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11209 Actually rename the function implementations. Grr.
11211 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11213 * check/gst/capslist.h:
11215 * check/gst/gststructure.c: (GST_START_TEST),
11216 (gst_structure_suite):
11217 Test automatic value type detection in gst_structure_from_string.
11218 * gst/gststructure.c: (gst_structure_parse_value):
11219 Add fraction as a type we try and guess automatically in
11220 caps/structure strings.
11222 2005-11-22 Andy Wingo <wingo@pobox.com>
11224 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11226 * gst/gsttagsetter.h:
11227 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11228 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11229 (gst_tag_setter_add_tag_valist)
11230 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11231 _add_values, _add_valist, and _add_valist_values. Since this is an
11232 interface the function suffixes should be more explicit so
11233 language binding don't end up with element.add_valist ->
11234 gst_tag_setter_add_valist, for example. Fixes #322069.
11236 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11238 * check/gst/gstcaps.c: (GST_START_TEST):
11239 Extend caps string tests to check that a caps to string
11240 conversion is reversible and produces the same caps.
11242 * gst/gststructure.c: (gst_structure_value_get_generic_type):
11243 Output "fraction" as the generic type fraction range, so caps
11244 serialisation and deserialisation works.
11245 * check/gst/capslist.h:
11246 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11247 Support 'MIN' and 'MAX' for deserialising fractions.
11249 2005-11-22 Andy Wingo <wingo@pobox.com>
11251 * gst/gstevent.h (gst_event_new_new_segment)
11252 (gst_event_parse_new_segment, gst_event_new_buffer_size)
11253 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11254 Renamed from *_newsegment, *_buffersize, *_notarget.
11256 * scripts/update-funcnames: New script, performs the changes
11259 2005-11-22 Wim Taymans <wim@fluendo.com>
11261 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11262 Make sure the GstFlowReturn is returned.
11264 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11265 (gst_bus_add_signal_watch):
11267 add gst_bus_add_signal_watch_full.
11269 * gst/gstplugin.c: (gst_plugin_load_file):
11270 Small style cleanup.
11272 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11274 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11275 Block the fakesrc srcpad when we send an event, to avoid
11276 contention on the stream_lock causing random test failures.
11278 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11280 * check/gst/gstvalue.c: (GST_START_TEST):
11281 * gst/gstvalue.c: (gst_value_fraction_subtract):
11284 2005-11-22 Stefan Kost <ensonic@users.sf.net>
11287 include "gstchildproxy.h"
11288 * gst/gstchildproxy.h:
11289 * libs/gst/controller/gstcontroller.h:
11290 use G_GNUC_NULL_TERMINATED
11292 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11294 * check/gst/capslist.h:
11295 * check/gst/gstcaps.c: (GST_START_TEST):
11296 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11297 * gst/gststructure.c: (gst_structure_parse_range),
11298 (gst_structure_fixate_field_nearest_fraction):
11299 * gst/gststructure.h:
11300 * gst/gstvalue.c: (gst_value_init_fraction_range),
11301 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11302 (gst_value_collect_fraction_range),
11303 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11304 (gst_value_set_fraction_range_full),
11305 (gst_value_get_fraction_range_min),
11306 (gst_value_get_fraction_range_max),
11307 (gst_value_serialize_fraction_range),
11308 (gst_value_transform_fraction_range_string),
11309 (gst_value_compare_fraction_range),
11310 (gst_value_deserialize_fraction_range),
11311 (gst_value_intersect_fraction_fraction_range),
11312 (gst_value_intersect_fraction_range_fraction_range),
11313 (gst_value_subtract_fraction_fraction_range),
11314 (gst_value_subtract_fraction_range_fraction),
11315 (gst_value_subtract_fraction_range_fraction_range),
11316 (gst_value_collect_fraction), (gst_value_fraction_multiply),
11317 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11318 (gst_value_transform_string_fraction), (_gst_value_initialize):
11320 Implement fraction ranges and extend GstFraction to support
11321 arithmetic subtraction, as well as deserialization from integer
11322 strings such as "100"
11323 Add a testsuite as for int and double range set operations
11325 2005-11-21 Andy Wingo <wingo@pobox.com>
11327 * gst/gsttaglist.h:
11329 * gst/gststructure.h: Add glib-compat.h.
11331 2005-11-21 Wim Taymans <wim@fluendo.com>
11333 * gst/gstbin.c: (gst_bin_change_state_func):
11336 2005-11-21 Wim Taymans <wim@fluendo.com>
11338 * gst/gstsegment.h:
11339 And add a nice define too.
11341 2005-11-21 Wim Taymans <wim@fluendo.com>
11343 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11344 (gst_segment_new), (gst_segment_free), (gst_segment_init),
11345 (gst_segment_set_duration), (gst_segment_set_last_stop),
11346 (gst_segment_set_seek), (gst_segment_set_newsegment),
11347 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11348 (gst_segment_clip):
11349 * gst/gstsegment.h:
11350 Make binding friendly.
11352 2005-11-21 Andy Wingo <wingo@pobox.com>
11354 * gst/gsttagsetter.h:
11355 * gst/gsttaglist.h:
11356 * gst/gststructure.h:
11358 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11361 * gst/gsterror.c (_gst_core_errors_init):
11362 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11365 * gst/Makefile.am (gst_headers): Add glib-compat.h.
11366 (noinst_HEADERS): noinst the -private.
11368 2005-11-21 Michael Smith <msmith@fluendo.com>
11371 * gst/gstregistry.h:
11372 Remove unimplemented declarations for which we can see no sensible
11375 2005-11-21 Andy Wingo <wingo@pobox.com>
11377 * gst/gst.h: Include glib-compat.h.
11379 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11381 * gst/glib-compat.c: Include the public and the private header.
11383 * gst/glib-compat-private.h: Copied here from glib-compat.h.
11387 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11389 * check/gst/gstevent.c (create_custom_events): Check that
11390 FLUSH_STOP is serialized.
11392 * check/elements/identity.c (event_func):
11393 * check/elements/fakesrc.c (event_func): No stream lock, the core
11396 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11397 stream lock taking, yay.
11399 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11400 ensure that core takes the stream lock.
11402 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11405 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11406 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11407 it already. For the flush start we do take it though so we get the
11408 right preroll state change messages.
11410 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11411 the stream lock here, the core does it for us.
11413 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11414 GST_STREAM_GET_LOCK.
11415 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
11416 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
11417 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11418 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11419 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
11420 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11422 * gst/gstpad.c: Update for stream lock name change.
11424 * gst/base/gstbasesink.c: Update for preroll lock name change.
11426 2005-11-21 Wim Taymans <wim@fluendo.com>
11428 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11429 (gst_clock_get_master):
11431 * gst/gstsystemclock.c: (gst_system_clock_init):
11432 Convert Clock flags to object flags.
11433 Added methods to manage master/slave clocks.
11435 2005-11-21 Wim Taymans <wim@fluendo.com>
11437 * check/gst/gstsegment.c: (GST_START_TEST):
11438 * docs/design/part-TODO.txt:
11439 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11440 (gst_base_sink_event), (gst_base_sink_do_sync),
11441 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11442 (gst_base_sink_query), (gst_base_sink_change_state):
11443 * gst/base/gstbasesink.h:
11444 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11445 (gst_base_src_default_newsegment),
11446 (gst_base_src_configure_segment), (gst_base_src_do_seek),
11447 (gst_base_src_get_range), (gst_base_src_loop),
11448 (gst_base_src_change_state):
11449 * gst/base/gstbasesrc.h:
11450 * gst/base/gstbasetransform.c:
11451 (gst_base_transform_prepare_output_buf),
11452 (gst_base_transform_event), (gst_base_transform_change_state):
11453 * gst/base/gstbasetransform.h:
11454 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11455 (gst_collect_pads_event):
11456 * gst/base/gstcollectpads.h:
11457 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11458 (gst_fake_src_create):
11459 * gst/elements/gstfakesrc.h:
11460 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11461 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11462 (gst_segment_set_last_stop), (gst_segment_set_seek),
11463 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11464 (gst_segment_to_running_time), (gst_segment_clip):
11465 * gst/gstsegment.h:
11466 More segment updates, replace code in plugins with segment
11469 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11471 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11472 Don't ignore sscanf results
11474 2005-11-21 Andy Wingo <wingo@pobox.com>
11476 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11479 * *.c: Ran scripts/update-macros. Oh yes.
11481 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11482 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11485 * scripts/update-macros: New script. Run it on your files to
11486 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11489 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11491 * docs/gst/Makefile.am:
11492 * docs/gst/gstreamer-docs.sgml:
11493 * docs/gst/gstreamer-sections.txt:
11494 * docs/gst/gstreamer.types:
11496 more docs fixes, add new api to the docs
11498 2005-11-21 Andy Wingo <wingo@pobox.com>
11500 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11501 state_broadcast call.
11503 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11505 2005-11-21 Julien MOUTTE <julien@moutte.net>
11507 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11508 function calls for arrays.
11510 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11512 * docs/random/ensonic/media-device-daemon.txt:
11513 wild idea, can this be done?
11514 * docs/gst/gstreamer-sections.txt:
11519 * gst/gstpluginfeature.c:
11523 doc fixes and additions
11525 2005-11-21 Andy Wingo <wingo@pobox.com>
11527 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
11528 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
11529 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
11530 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11531 private to the basesrc implementation.
11533 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11534 behalf of event function if necessary. It should no longer be
11535 necessary to take the stream lock in pad's event functions. Fixes
11538 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11539 * docs/gst/gstreamer-sections.txt:
11540 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11541 (gst_structure_fixate_field_nearest_double),
11542 (gst_structure_fixate_field_boolean):
11543 * gst/gststructure.h:
11544 * win32/common/libgstreamer.def:
11545 * win32/gstreamer.def:
11547 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11550 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11552 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11553 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11554 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11555 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11556 (gst_fdsrc_uri_handler_init):
11557 * gst/elements/gstfdsrc.h:
11558 Port fd:// URI handler from 0.8 to fdsrc
11560 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11562 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11563 (gst_value_serialize_fourcc):
11565 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11566 consistent with our other format defines (#320324).
11568 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11570 * gst/gstvalue.c: (gst_value_is_fixed):
11571 Revert previous commit. Value lists are by definition
11572 not fixed, as they are a list of possible values.
11574 2005-11-21 Andy Wingo <wingo@pobox.com>
11576 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11577 during the stable series if we need it. Fixes #319178.
11579 * gst/gstevent.c (gst_event_new_filler): Removed.
11581 * check/gst/gstevent.c: Update comment about filler events.
11583 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11585 * gst/gstvalue.c: (gst_value_is_fixed):
11586 Should handle both value arrays and value lists.
11588 2005-11-21 Andy Wingo <wingo@pobox.com>
11590 patch by: Alessandro Dessina <alessandro nnva org>
11592 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11593 functions to access arrays. Fixes #321962.
11595 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11597 * docs/gst/gstreamer.types:
11598 gst_collectpads_get_type => gst_collect_pads_get_type.
11600 * gst/base/gstbasetransform.c:
11601 Remove unused SIGNAL_HANDOFF enum.
11603 2005-11-21 Andy Wingo <wingo@pobox.com>
11605 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11606 the event type (upstream, downstream, serialized). Renamed
11607 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11608 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11609 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11611 * gst/gstevent.c: Update for new CUSTOM event names.
11613 * check/gst/gstevent.c: Update check for new CUSTOM event names.
11616 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11619 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11621 * docs/gst/gstreamer-sections.txt:
11622 * win32/common/libgstbase.def:
11623 * win32/libgstbase.def:
11624 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11625 (gst_collect_pads_class_init), (gst_collect_pads_init),
11626 (gst_collect_pads_finalize), (gst_collect_pads_new),
11627 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11628 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11629 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11630 (gst_collect_pads_start), (gst_collect_pads_stop),
11631 (gst_collect_pads_peek), (gst_collect_pads_pop),
11632 (gst_collect_pads_available), (gst_collect_pads_read),
11633 (gst_collect_pads_flush), (gst_collect_pads_event),
11634 (gst_collect_pads_chain):
11635 * gst/base/gstcollectpads.h:
11636 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11637 unimplemented functions as unimplemented. Add padding to
11638 GstCollectData. (#320766, #320423)
11640 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11642 * gst/gstmessage.c:
11643 Improve docs for DURATION message (usage of duration parameter)
11646 2005-11-20 Wim Taymans <wim@fluendo.com>
11648 * check/Makefile.am:
11649 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11653 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11654 (gst_segment_set_seek), (gst_segment_set_newsegment),
11655 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11656 (gst_segment_clip):
11657 * gst/gstsegment.h:
11658 Added segment helper structure and methods. Not fully implemented
11660 Added segment check.
11662 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
11664 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11665 Add a deserialisation test for fractions
11666 * examples/metadata/read-metadata.c: (message_loop),
11667 (make_pipeline), (main):
11668 Fix up metadata reading sample.
11669 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11671 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11672 Don't try and fixate empty caps
11673 * gst/gst_private.h:
11674 Wrap in G_BEGIN_DECLS/G_END_DECLS
11675 * gst/gstvalue.c: (gst_value_collect_fraction),
11676 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11677 (gst_value_transform_string_fraction),
11678 (gst_value_compare_fraction):
11679 Add some extra guards to ensure that we don't end up
11680 with an invalid denominator of 0 in a gstfraction and
11681 that fractions always get reduced.
11683 2005-11-20 Wim Taymans <wim@fluendo.com>
11685 * docs/gst/gstreamer-sections.txt:
11687 * gst/gstelement.c:
11696 2005-11-20 Wim Taymans <wim@fluendo.com>
11698 * docs/design/part-TODO.txt:
11700 Make a proper enum of the flag.
11702 2005-11-19 Wim Taymans <wim@fluendo.com>
11704 * docs/design/part-TODO.txt:
11705 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11706 (gst_format_to_quark), (gst_format_register):
11708 * gst/gstquery.c: (_gst_query_initialize),
11709 (gst_query_type_get_name), (gst_query_type_to_quark),
11710 (gst_query_type_register):
11712 Add type to quark and type to string conversions.
11714 2005-11-19 Andy Wingo <wingo@pobox.com>
11716 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11719 2005-11-19 Wim Taymans <wim@fluendo.com>
11721 * docs/design/part-TODO.txt:
11722 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11723 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11724 (gst_bin_handle_message_func):
11726 Make message handling overridable.
11728 2005-11-19 Andy Wingo <wingo@pobox.com>
11730 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11733 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11735 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11736 is a GstClockTime. Fixes #321710.
11738 * gst/gstclock.h (GstClock): Remove offset property. Add
11739 internal_calibration and external_calibration. Fix padding. Pad
11740 also by GstClockTime so we don't run into problems.
11742 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11743 (gst_clock_get_rate_offset): Remove.
11744 (gst_clock_set_time_adjust): Remove. Fixes #321712.
11747 * gst/gstutils.c (g_static_rec_cond_wait)
11748 (g_static_rec_cond_timed_wait): Removed, no longer needed.
11750 * gst/gstbin.c: Remove terrible continue_state prototype.
11752 * gst/gstelement.h (gst_element_continue_state): Make public.
11754 * gst/gstelement.h:
11755 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11756 by continue_state. Fixes #319389.
11758 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11759 Really fixes #168438. However I don't see anywhere where the
11760 filter function is called... stupid GStreamer...
11762 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11763 don't have a dispose function, so it won't get called when the
11764 object is unreffed, but oh well!
11766 * gst/gstindex.c (gst_index_set_filter_full): New API function,
11767 allows a destroy function to be set so user_data can be freed.
11769 (gst_index_set_filter): Call gst_index_set_filter_full.
11771 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11773 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11774 string should produce an error, given the lack of a way to
11775 represent NULL strings. Fixes #165650.
11778 * gst/gstvalue.c (gst_value_array_append_value)
11779 (gst_value_array_prepend_value, gst_value_array_get_size)
11780 (gst_value_array_get_value): New API, copied from
11781 gst_value_list_*, only operates on arrays.
11782 (gst_value_list_append_value, gst_value_list_prepend_value)
11783 (gst_value_list_concat, gst_value_list_get_size)
11784 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11786 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11787 init_list, because it works on both.
11788 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11789 (gst_value_copy_list_or_array): Renamed from copy_list.
11790 (gst_value_free_list_or_array): Renamed from free_list.
11791 (gst_value_collect_list_or_array): Renamed from collect_list.
11792 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11793 (gst_value_list_or_array_peek_pointer): Renamed from
11795 (_gst_value_array_value_table, _gst_value_list_value_table):
11796 Update value table functions.
11797 (gst_value_compare_list_or_array): Renamed from compare_list.
11799 * gsttaglist.h: Whoops, foreach function returns void. Also fix
11802 * gst/gsttaglist.c:
11803 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11804 GstTagList*. Fixes #143472.
11806 * gst/gststructure.h: Clarify what the foreach/map functions can
11807 or can't do to their arguments.
11809 2005-11-18 Wim Taymans <wim@fluendo.com>
11811 * gst/gstclock.c: (gst_clock_set_calibration),
11812 (gst_clock_get_calibration):
11814 Calibration can be set with internal time equal to current
11817 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
11823 2005-11-18 Andy Wingo <wingo@pobox.com>
11826 * pkgconfig/gstreamer-net.pc.in:
11827 * pkgconfig/gstreamer-net-uninstalled.pc.in:
11828 * pkgconfig/Makefile.am: Add net pkgconfig files.
11830 2005-11-18 Stefan Kost <ensonic@users.sf.net>
11833 * gst/gstghostpad.c:
11839 2005-11-18 Andy Wingo <wingo@pobox.com>
11841 * gst/net/gstnetclientclock.c: Turn off debugging.
11843 * check/net/gstnetclientclock.c (test_functioning): Assert that the
11844 times connverge somewhat. Can't make a real test.
11846 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
11847 integer arithmetic. Return the minimum of the domain, which can be
11848 set as "internal" for gst_clock_set_calibration.
11849 (gst_net_client_clock_observe_times): Call _set_calibration.
11850 (gst_net_client_clock_new): Call _set_calibration instead of
11853 * check/net/gstnetclientclock.c (test_functioning): Use the right
11857 * gst/gstclock.c (gst_clock_get_calibration)
11858 (gst_clock_set_calibration): New functions, obsolete the ones I
11859 added yesterday. Doh. Precision issues mean we have to extrapolate
11860 from a point in the more recent past than 1970.
11861 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
11863 (gst_clock_adjust_unlocked): Use the right calibration data.
11865 2005-11-18 Edward Hervey <edward@fluendo.com>
11867 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11868 Also reset the ->current_* values in READY->PAUSED
11870 2005-11-18 Andy Wingo <wingo@pobox.com>
11872 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
11873 Whoops, check the right fd. Also add some debugging.
11874 (gst_net_client_clock_observe_times): Adjust for int64 offset.
11875 (do_linear_regression): Add a crapload of debugging. Subtract off
11876 the minimum values from the input series to discard unneeded bits.
11877 Use only int arithmetic. There is still double arithmetic when
11878 calculating the intercept that needs fixing. Return boolean to
11879 indicate success; FALSE would mean the domain or range is too
11880 great. Still needs fixes.
11882 2005-11-18 Wim Taymans <wim@fluendo.com>
11884 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
11885 For the current position in stream time, we need to subtract
11888 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11889 Release lock before calling the callback function of async
11892 2005-11-18 Andy Wingo <wingo@pobox.com>
11894 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
11895 Port goes all the way to MAXUINT16.
11897 * gst/net/gstnettimeprovider.c: Make the port range the same as
11898 for the kernel: 0 assigns, otherwise ports are less than
11901 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
11904 * check/net/gstnetclientclock.c (test_functioning): Add the start
11907 2005-11-18 Wim Taymans <wim@fluendo.com>
11909 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11910 (gst_bin_remove_func), (bin_bus_handler):
11912 Removing a clock provider from a bin, triggers a clock lost message
11913 so that a new clock will be selected.
11914 Adding a clock to a bin triggers a clock provider message.
11915 Make sure we reselect a clock when we received a clock lost message.
11916 Keep a reference to the element that provided the clock.
11918 2005-11-18 Andy Wingo <wingo@pobox.com>
11920 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
11921 the clock initially so it produces values around the base time.
11922 (gst_net_client_clock_class_init): Typo fix.
11923 (gst_net_client_clock_thread): Add note on when the socket gets
11926 2005-11-17 Wim Taymans <wim@fluendo.com>
11928 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
11929 Free remote and local time arrays.
11931 2005-11-17 Wim Taymans <wim@fluendo.com>
11933 * gst/net/gstnetclientclock.c: (do_linear_regression),
11934 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
11935 Fix compilation, uninitialized vars and a forgotten continue.
11937 2005-11-17 Andy Wingo <wingo@pobox.com>
11939 * check/Makefile.am (check_PROGRAMS):
11940 * check/net/gstnetclientclock.c: Add a most minimal test for the
11941 net client clock. More to come later.
11943 * gst/net/gstnet.h:
11944 * gst/net/Makefile.am: Add netclientclock.
11946 * gst/net/gstnetclientclock.h:
11947 * gst/net/gstnetclientclock.c: New files, implement an untested
11948 GstClock that takes its time from a network time provider.
11949 Implements the algorithm in network-clock.scm.
11951 * tests/network-clock.scm (*window-size*): Rename from
11953 * tests/network-clock.scm (network-time):
11954 * tests/network-clock-utils.scm (q-push): Update callers.
11956 2005-11-17 Wim Taymans <wim@fluendo.com>
11958 * gst/gstbin.c: (gst_bin_provide_clock_func),
11959 (gst_bin_sort_iterator_new):
11960 And unref the child too..
11962 2005-11-17 Wim Taymans <wim@fluendo.com>
11964 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11965 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
11966 Refactor the sort iterator so it can be used while holding the
11968 Make clock selection select a clock closest to the source.
11970 2005-11-17 Michael Smith <msmith@fluendo.com>
11972 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
11973 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
11975 Anonymous structs are a gcc (and some other compilers) extension, so
11976 don't use them. Since this is only for ABI-compatibility, and our
11977 API/ABI freeze is over in a few days, this whole thing will only
11978 last a few days, so don't bother trying to think up a meaningful
11979 name for the struct.
11981 2005-11-17 Andy Wingo <wingo@pobox.com>
11983 * gst/gstclock.h (GstClock): Add rate and offset properties,
11984 preserving ABI stability. Add rate/offset accessors. Will file bug
11985 for the freeze break.
11987 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
11988 and offset, trying to keep precision and avoiding
11989 underflow/overflow.
11990 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
11991 functions. Make gst_clock_set_time_adjust obsolete.
11992 (gst_clock_set_time_adjust): Note that this function is obsolete.
11993 Will file bug soon.
11995 * gst/base/gstbasetransform.h: Make the ABI-stability hack
11996 greppable by using GST_PADDING-1+1.
11998 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
12000 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12002 * gst/gstmessage.c: (gst_message_parse_clock_lost):
12003 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12005 * gst/gstpadtemplate.h:
12006 * gst/gstpluginfeature.h:
12007 Don't use c++ style comments in headers (#321638).
12009 2005-11-16 Andy Wingo <wingo@pobox.com>
12011 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12014 * check/net/gstnettimeprovider.c: Check to see that the time
12015 provider actually provides times. Works, yo!
12017 2005-11-16 Wim Taymans <wim@fluendo.com>
12019 * check/Makefile.am:
12022 * check/elements/fakesrc.c: (GST_START_TEST):
12023 Set element to NULL before disposing it.
12025 2005-11-16 Andy Wingo <wingo@pobox.com>
12027 * gst/net/Makefile.am:
12028 * gst/net/gstnet.h:
12029 * gst/net/gstnettimeprovider.c:
12030 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12031 provider, include it from gstnet.h, and add it to the build.
12033 * gst/net/gstnettimepacket.h:
12034 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12035 sending and receiving.
12037 2005-11-16 Wim Taymans <wim@fluendo.com>
12039 * check/Makefile.am:
12040 Enable valgrind check.
12042 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12043 (gst_fake_src_alloc_buffer):
12046 2005-11-16 Wim Taymans <wim@fluendo.com>
12048 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12049 Call parent finalize too.
12051 2005-11-16 Wim Taymans <wim@fluendo.com>
12053 * check/Makefile.am:
12054 Enable valgrind check that should work fine now.
12056 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12057 * gst/gstqueue.c: (gst_queue_init):
12058 Fix memleaks in pad allocation.
12060 2005-11-16 Andy Wingo <wingo@pobox.com>
12062 * gst/net/Makefile.am:
12063 * gst/net/gstnet.h: New part of core to hold network elements and
12064 objects. Put in core because it exposes API that applications want
12065 to use. The library is named libgstnet-tempname right now because
12066 of the existing libgstnet in gst-plugins-base. Solution is
12067 probably to rename the one in plugins-base; will file a bug for
12070 * gst/net/gstnettimeprovider.c:
12071 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12072 get_time call over the network.
12075 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12077 * check/Makefile.am:
12078 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12079 get additions shortly.
12081 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12083 * gst/gstpad.c: (gst_pad_new_from_static_template):
12085 add gst_pad_new_from_static_template functions
12086 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12087 (gst_check_setup_sink_pad):
12088 * gst/elements/gsttee.c: (gst_tee_init):
12091 2005-11-16 Wim Taymans <wim@fluendo.com>
12093 * gst/gstpad.c: (gst_pad_pause_task):
12094 Removed warning, it's not really an error either.
12096 2005-11-16 Wim Taymans <wim@fluendo.com>
12098 * gst/base/gstbasetransform.c:
12099 (gst_base_transform_prepare_output_buf),
12100 (gst_base_transform_event):
12101 Check if the caps are NULL, this can happen if the element
12102 is shutting down and the pad caps are set to NULL.
12104 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12106 * gst/elements/gsttee.c: (gst_tee_init):
12107 fix pad template leak in tee
12109 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12111 * gst/glib-compat.c: (g_value_dup_gst_object):
12112 * gst/glib-compat.h:
12113 * gst/gstpad.c: (gst_pad_set_property):
12114 use gst_object_ref when setting the pad template; this will
12115 trigger the pad template leaks on GLib 2.6 and the slaves
12117 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12119 * gst/glib-compat.c: (gst_flags_get_first_value):
12120 * gst/glib-compat.h:
12121 * gst/gstregistryxml.c:
12122 remove functions copied from GLib 2.6
12124 2005-11-16 Michael Smith <msmith@fluendo.com>
12127 Don't link against VALGRIND_LIBS. That was always the wrong thing to
12128 do, but only breaks with newer valgrind versions. We're not a
12129 valgrind tool, we have no link-time dependencies on libcoregrind.
12131 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12133 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12135 * gst/gstmessage.h:
12138 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12140 * gst/base/gstbasesrc.c: (gst_base_src_init):
12141 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12142 * gst/gstqueue.c: (gst_queue_init):
12143 * gst/gstregistryxml.c: (load_feature):
12144 Revert all these unrefs, they don't even pass make check !
12146 2005-11-15 Johan Dahlin <johan@gnome.org>
12148 * gst/base/gstbasesrc.c: (gst_base_src_init):
12149 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12150 * gst/gstqueue.c: (gst_queue_init):
12151 Free pad templates, fixes a couple of leaks.
12153 2005-11-15 Daniel Fischer <dan at f3c dot com>
12155 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12157 * gst/gstpad.c: (gst_pad_get_property):
12158 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12159 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12162 2005-11-15 Wim Taymans <wim@fluendo.com>
12167 2005-11-15 Andy Wingo <wingo@pobox.com>
12169 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12171 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12172 using GST_CLOCK_TIME_NONE to disable base time management.
12173 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12174 time if it was NONE before.
12175 (gst_pipeline_change_state): Only munge the base time if
12176 stream_time != GST_CLOCK_TIME_NONE.
12178 * check/gst/gstpipeline.c (test_base_time): Punt around the
12179 problem of the probe not being called, because that's not the
12180 issue I'm looking at. Add a check that setting stream_time to NONE
12181 disables base time management.
12183 2005-11-15 Wim Taymans <wim@fluendo.com>
12185 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12186 segment_stop == -1 at startup.
12188 * gst/base/gstbasetransform.c: (gst_base_transform_event),
12189 (gst_base_transform_change_state):
12190 Init segment values at start.
12192 2005-11-15 Wim Taymans <wim@fluendo.com>
12194 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12195 0 segment values are 0 in any format.
12197 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12198 * gst/base/gstbasetransform.h:
12199 Parse newsegment correctly in basetransform
12201 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12202 Sync to clock using updated segment values.
12204 2005-11-15 Andy Wingo <wingo@pobox.com>
12206 * check/gst/gstpipeline.c (test_base_time): Add check that the
12207 base time and stream time are reset correctly.
12209 2005-11-15 Wim Taymans <wim@fluendo.com>
12211 * docs/design/part-TODO.txt:
12212 Some more TODO items.
12214 2005-11-15 Andy Wingo <wingo@pobox.com>
12216 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12217 error if the user selected "no clock" as the clocking method.
12219 * check/gst/gstpipeline.c (test_base_time): New test for buffer
12220 timestamps with live capture.
12222 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12223 is 0 but we are a live source, timestamp the buffers using the
12226 2005-11-14 Stefan Kost <ensonic@users.sf.net>
12228 * docs/gst/gstreamer-sections.txt:
12230 * gst/gstghostpad.c:
12235 2005-11-14 Wim Taymans <wim@fluendo.com>
12238 add suppressions from Wim's Debian machine
12240 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
12243 add suppressions from Andy's AMD64 Ubuntu machine
12245 2005-11-14 Andy Wingo <wingo@pobox.com>
12247 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12248 STATE_LOCK not necessary. Fixes #311489.
12250 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12253 * gst/gstindex.c (gst_index_add_object): Note in the docs that
12254 this function is not implemented.
12256 2005-11-14 Julien MOUTTE <julien@moutte.net>
12258 * gst/base/gstbasetransform.c:
12259 (gst_base_transform_prepare_output_buf):
12260 Ref the source pad caps while we need them.
12263 2005-11-11 Wim Taymans <wim@fluendo.com>
12265 * docs/gst/gstreamer-sections.txt:
12266 Added some docs for GstCollectData.
12268 * gst/base/gstadapter.c:
12269 Some small code example fix.
12271 * gst/base/gstcollectpads.c:
12272 * gst/base/gstcollectpads.h:
12273 Document some more.
12275 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12277 * configure.ac: back to HEAD
12279 === release 0.9.5 ===
12281 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12284 releasing 0.9.5, "Bike Lunch Day"
12286 2005-11-11 Wim Taymans <wim@fluendo.com>
12288 * gst/gstbuffer.c: (_gst_buffer_copy):
12291 * gst/gstcaps.c: (gst_caps_is_equal):
12293 Make _is_equal fast in the trivial cases.
12295 * gst/gstminiobject.c:
12296 * gst/gstminiobject.h:
12297 More docs. Spifify .h file.
12302 2005-11-11 Wim Taymans <wim@fluendo.com>
12304 * gst/base/gstbasetransform.c:
12305 (gst_base_transform_prepare_output_buf),
12306 (gst_base_transform_handle_buffer):
12308 If we're processing a buffer and need to allocate an output
12309 buffer, we cannot accept a format change. If we did get a
12310 format change, we have to alloc a buffer ourselves of the
12313 2005-11-11 Wim Taymans <wim@fluendo.com>
12315 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12316 While checking the flag for reentrancy in the gstcaps function
12317 is nice to detect recursive invocations, it also makes it
12318 impossible to call getcaps from multiple threads, which must be
12319 possible. So, checking for recursive calls has to go.
12321 2005-11-11 Michael Smith <msmith@fluendo.com>
12323 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12324 Don't sync on buffers that fall partially outside our current
12325 segment. Prevents an assertion failure/abort playing some files.
12327 2005-11-10 Andy Wingo <wingo@pobox.com>
12329 * check/gst/gstbin.c (test_message_state_changed_children): Style
12332 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12333 gst_bus_poll with the signal watch. Ensures that poll and a signal
12334 watch see the same messages.
12336 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12337 a poll and a watch at the same time get the same messages.
12339 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12341 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12342 * gst/gstcaps.c: (gst_caps_intersect):
12343 Don't call gst_caps_do_simplify - it doesn't respect order of caps
12344 and it's not needed.
12346 2005-11-10 Wim Taymans <wim@fluendo.com>
12348 * docs/design/part-TODO.txt:
12351 2005-11-10 Wim Taymans <wim@fluendo.com>
12353 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12354 * gst/base/gstbasesrc.c: (gst_base_src_wait),
12355 (gst_base_src_do_sync), (gst_base_src_get_range):
12356 Implement clock sync in base class.
12358 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12360 patch by: Tim-Philipp Müller <tim at centricular dot net>
12362 * gst/gststructure.c: (gst_structure_parse_field),
12363 (gst_structure_from_string):
12364 Forward-port a 0.8 patch to handle escaped spaces in structure string,
12365 so that gst_parse_launch() can deal with spaces in filtered link
12366 caps (fixes #164479)
12367 * check/gst/capslist.h:
12368 * check/gst/gststructure.c: (GST_START_TEST):
12369 add unit tests for this change
12371 2005-11-10 Wim Taymans <wim@fluendo.com>
12373 * docs/gst/gstreamer-sections.txt:
12374 * gst/gstelement.c:
12375 * gst/gstelement.h:
12376 Fix docs, move some STATE macros to private.
12378 2005-11-10 Wim Taymans <wim@fluendo.com>
12380 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12381 Added check for bug #317341
12385 Some more spiffifying.
12387 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12388 Call peer linkfunction if we are a source pad. Totally fixes
12392 Update docs, source pads should call the peer linkfunction
12393 so they can atomically perform the pad link.
12395 2005-11-09 Wim Taymans <wim@fluendo.com>
12399 Uber-spiffy-spiffify some more.
12401 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
12403 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12404 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12405 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12406 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12407 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12408 * gst/gstpad.c: (gst_pad_init):
12409 Use GST_DEBUG_FUNCPTR() more extensively.
12411 2005-11-09 Wim Taymans <wim@fluendo.com>
12413 * gst/gstobject.c: (gst_object_class_init):
12415 Documentation fixes.
12417 2005-11-09 Edward Hervey <edward@fluendo.com>
12419 * gst/gsttypefindfactory.c:
12422 2005-11-09 Edward Hervey <edward@fluendo.com>
12424 * gst/base/gsttypefindhelper.c:
12425 * gst/gsttypefind.c:
12426 * gst/gsttypefind.h:
12429 2005-11-09 Wim Taymans <wim@fluendo.com>
12431 * gst/gstiterator.c:
12438 2005-11-09 Wim Taymans <wim@fluendo.com>
12444 2005-11-09 Wim Taymans <wim@fluendo.com>
12446 * docs/gst/gstreamer-sections.txt:
12447 Moved the message async delivery private lock and cond
12448 to the private section.
12450 * gst/gstmessage.c:
12451 * gst/gstmessage.h:
12454 2005-11-09 Edward Hervey <edward@fluendo.com>
12456 * docs/gst/gstreamer-sections.txt:
12459 Document GstURIHandler
12461 2005-11-09 Wim Taymans <wim@fluendo.com>
12463 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12464 (gst_iterator_find_custom):
12465 * gst/gstiterator.h:
12468 2005-11-09 Wim Taymans <wim@fluendo.com>
12471 Document another field.
12473 * gst/gststructure.c:
12474 * gst/gststructure.h:
12477 2005-11-09 Wim Taymans <wim@fluendo.com>
12480 Documented structs.
12482 2005-11-09 Wim Taymans <wim@fluendo.com>
12484 * docs/gst/gstreamer-sections.txt:
12485 Added some new macros.
12492 2005-11-09 Wim Taymans <wim@fluendo.com>
12494 * docs/design/part-TODO.txt:
12495 Some more items for the TODO
12501 2005-11-09 Andy Wingo <wingo@pobox.com>
12503 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12504 to work on something else now tho...
12506 * gst/base/gstadapter.c: More adapter docs.
12508 * gst/elements/gstfilesink.c (gst_file_sink_start)
12509 (gst_file_sink_stop): New functions, replace the state change
12511 (gst_file_sink_class_init): Hook up the start and stop functions.
12512 (gst_file_sink_base_init): Don't set the state change handler any
12513 more. It was a bit ugly too, being set from here...
12514 (gst_file_sink_get_property, gst_file_sink_set_property):
12516 (gst_file_sink_set_location): More robust check that doesn't call
12517 GST_STATE. Ugggggg.
12519 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
12521 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12522 Hold STREAM_LOCK while pushing newsegment or tag events as well.
12524 2005-11-08 Wim Taymans <wim@fluendo.com>
12526 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12527 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12528 (gst_base_sink_chain), (gst_base_sink_change_state):
12529 * gst/base/gstbasesink.h:
12530 * gst/base/gstbasesrc.h:
12531 * gst/gstelement.h:
12533 Avoid excessive typechecking in macros.
12535 * gst/gstminiobject.c: (gst_mini_object_get_type),
12536 (gst_mini_object_init), (gst_mini_object_new),
12537 (gst_mini_object_free):
12538 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12539 (gst_object_finalize):
12540 Remove cruft code, optimize alloc_trace.
12542 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
12544 * docs/faq/gst-uninstalled:
12545 fix up PS1 for systems that try to reset it
12547 2005-11-07 Wim Taymans <wim@fluendo.com>
12549 * gst/base/gstbasesrc.c: (gst_base_src_init),
12550 (gst_base_src_get_range):
12551 Set the segment_end to -1 initially. Fixed typefind.
12553 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
12555 * gst/base/gstadapter.c:
12556 Debug category should be 'adapter', not 'GstAdapter'.
12558 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12559 (gst_collectpads_class_init), (gst_collectpads_init),
12560 (gst_collectpads_peek), (gst_collectpads_pop),
12561 (gst_collectpads_event), (gst_collectpads_chain):
12562 Add debug category and some debugging output. Use boilerplate
12563 macros. Remove some extraneous words from docs.
12565 2005-11-05 Andy Wingo <wingo@pobox.com>
12567 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12570 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12572 * docs/gst/gstreamer-sections.txt:
12575 * gst/gstminiobject.h:
12580 2005-11-04 Wim Taymans <wim@fluendo.com>
12582 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12583 Small update to stop at the configured segment_end
12586 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12588 * gst/gstregistry.c:
12589 * gst/gstregistry.h:
12592 2005-11-04 Edward Hervey <edward@fluendo.com>
12594 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12595 Check if we are doing a segment seek and have arrived at the
12596 end of that segment.
12598 2005-11-04 Wim Taymans <wim@fluendo.com>
12600 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12601 Don't leak a mutex unlock in case of an error.
12606 2005-11-04 Wim Taymans <wim@fluendo.com>
12608 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12610 Get the context to wake up only once.
12612 2005-11-03 Wim Taymans <wim@fluendo.com>
12614 * check/states/sinks.c: (GST_START_TEST):
12615 Uncomment fixed check.
12617 * docs/design/part-TODO.txt:
12620 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12621 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12622 (gst_base_sink_get_position):
12623 If we are going to PLAYING, post the right pending state
12624 when we post the intermediate paused message.
12626 * gst/gstelement.c: (gst_element_continue_state),
12627 (gst_element_set_state_func), (gst_element_change_state):
12628 Don't post state changes that were between the same state
12629 and were not ASYNC.
12631 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12633 * docs/gst/gstreamer-sections.txt:
12636 * gst/gstminiobject.h:
12639 more docs and doc style fixes
12641 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12643 * docs/gst/gstreamer-sections.txt:
12644 * gst/gstelement.c:
12645 * gst/gstminiobject.c:
12648 2005-11-03 Andy Wingo <wingo@pobox.com>
12650 * check/states/sinks.c (test_livesrc_sink): Add checks that the
12651 state-changed messages actually have the right order and the right
12654 2005-11-03 Wim Taymans <wim@fluendo.com>
12656 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12657 Added some more checks. Specifically the case where NO_PREROLL
12658 elements are in the pipeline.
12660 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12661 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12662 (gst_base_sink_get_position):
12663 Post READY->PAUSED state change messages too.
12664 Fix bug where VOID was posted as pending state...
12666 * gst/gstbin.c: (gst_bin_recalc_state):
12667 use _element_continue_state() to continue the state change.
12669 * gst/gstelement.c: (gst_element_continue_state),
12670 (gst_element_commit_state), (gst_element_set_state_func),
12671 (gst_element_change_state), (gst_element_change_state_func):
12672 Lots of state change cleanups, assign the STATE_RETURN in
12673 a new continue_state() function that also propagates the
12674 last return value from a state change to the app.
12675 Update some debug statements with proper category.
12677 2005-11-03 Wim Taymans <wim@fluendo.com>
12679 * docs/design/part-events.txt:
12680 * docs/design/part-gstpipeline.txt:
12681 * docs/design/part-messages.txt:
12682 * docs/design/part-overview.txt:
12683 * docs/design/part-seeking.txt:
12684 * docs/design/part-states.txt:
12685 * docs/design/part-trickmodes.txt:
12686 * docs/manual/advanced-position.xml:
12687 Small docs updates.
12690 People think !! is ugly, this looks better.
12692 * gst/gstpad.c: (gst_pad_set_blocked_async):
12693 Remove !! since it's fixed elsewhere now.
12695 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12697 * gst/gstminiobject.h:
12699 Add !! to _FLAG_IS_SET macros to make the result boolean.
12701 2005-11-03 Edward Hervey <edward@fluendo.com>
12703 * gst/gstpad.c: (gst_pad_set_blocked_async):
12704 comparing a flag and a gboolean rarely returns coherent results...
12705 Added two characters (!!) to make that work correctly.
12707 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12709 * gst/gstbus.c: (gst_bus_class_init):
12712 * gst/gstqueue.c: (gst_queue_loop):
12713 Don't assume a miniobject that isn't a buffer is an
12714 event (it could be that there is a refcounting
12715 problem somewhere and the pointer is stale and
12716 refers to an already destroyed miniobject).
12718 2005-11-03 Julien MOUTTE <julien@moutte.net>
12720 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12722 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12724 * docs/manual/advanced-position.xml:
12725 Update seek example and explanations to current 0.9 API.
12727 * gst/elements/gsttypefindelement.c:
12728 (gst_type_find_element_activate):
12729 Remove FIXME comment now that the found caps
12732 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
12734 * gst/gstregistryxml.c: (load_feature):
12735 Add another GST_STR_NULL instance
12737 2005-11-02 Edward Hervey <edward@fluendo.com>
12739 * gst/gstpad.c: (handle_pad_block):
12740 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12742 2005-11-02 Wim Taymans <wim@fluendo.com>
12747 * gst/gstelement.c: (gst_element_commit_state):
12748 Remove unused value.
12750 * gst/gstiterator.c:
12751 Mention that the returned element is reffed in the docs.
12753 2005-11-02 Wim Taymans <wim@fluendo.com>
12755 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12756 (gst_pad_push), (gst_pad_push_event):
12757 Unlock blocked pads when they are flushed.
12759 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12762 * docs/gst/gstreamer-sections.txt:
12765 * gst/gstregistry.c: (gst_registry_scan_path_level):
12766 fix for a nasty little missed situation where an installed plug-in
12767 which was in the cache did not get overridden by an uninstalled one
12768 which was earlier in the plugin path because the newly created plugin
12769 for the uninstalled one (not in the registry) didn't get its
12770 ->registered set to TRUE
12772 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12774 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12775 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12776 (gst_collectpads_is_active), (gst_collectpads_collect),
12777 (gst_collectpads_collect_range), (gst_collectpads_start),
12778 (gst_collectpads_stop), (gst_collectpads_peek),
12779 (gst_collectpads_pop), (gst_collectpads_available),
12780 (gst_collectpads_read), (gst_collectpads_flush):
12781 Guard public API with assertions.
12784 Fix docs for gst_pad_set_link_function().
12786 2005-11-02 Johan Dahlin <johan@gnome.org>
12788 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
12789 Unref found_caps after we used it.
12791 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12793 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12794 Don't try to ref NULL.
12796 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12798 * win32/common/config.h.in:
12799 provide a GST_FUNCTION that just gives a string for now
12801 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12803 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12804 (gst_object_flags_get_type), (register_gst_bin_flags),
12805 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12806 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12807 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12808 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
12809 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12810 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12811 (gst_clock_flags_get_type), (register_gst_state),
12812 (gst_state_get_type), (register_gst_state_change_return),
12813 (gst_state_change_return_get_type), (register_gst_state_change),
12814 (gst_state_change_get_type), (register_gst_element_flags),
12815 (gst_element_flags_get_type), (register_gst_core_error),
12816 (gst_core_error_get_type), (register_gst_library_error),
12817 (gst_library_error_get_type), (register_gst_resource_error),
12818 (gst_resource_error_get_type), (register_gst_stream_error),
12819 (gst_stream_error_get_type), (register_gst_event_type),
12820 (gst_event_type_get_type), (register_gst_seek_type),
12821 (gst_seek_type_get_type), (register_gst_seek_flags),
12822 (gst_seek_flags_get_type), (register_gst_format),
12823 (gst_format_get_type), (register_gst_index_certainty),
12824 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12825 (gst_index_entry_type_get_type),
12826 (register_gst_index_lookup_method),
12827 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12828 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12829 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12830 (gst_index_flags_get_type), (register_gst_debug_level),
12831 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12832 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12833 (gst_iterator_result_get_type), (register_gst_iterator_item),
12834 (gst_iterator_item_get_type), (register_gst_message_type),
12835 (gst_message_type_get_type), (register_gst_mini_object_flags),
12836 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12837 (gst_pad_link_return_get_type), (register_gst_flow_return),
12838 (gst_flow_return_get_type), (register_gst_activate_mode),
12839 (gst_activate_mode_get_type), (register_gst_pad_direction),
12840 (gst_pad_direction_get_type), (register_gst_pad_flags),
12841 (gst_pad_flags_get_type), (register_gst_pad_presence),
12842 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12843 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12844 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12845 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12846 (gst_plugin_flags_get_type), (register_gst_rank),
12847 (gst_rank_get_type), (register_gst_query_type),
12848 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12849 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12850 (gst_tag_flag_get_type), (register_gst_task_state),
12851 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12852 (gst_alloc_trace_flags_get_type),
12853 (register_gst_type_find_probability),
12854 (gst_type_find_probability_get_type), (register_gst_uri_type),
12855 (gst_uri_type_get_type), (register_gst_parse_error),
12856 (gst_parse_error_get_type):
12857 * win32/common/gstversion.h:
12858 update win32 copies
12860 2005-11-01 Luca Ognibene <luogni@tin.it>
12863 fix docs. popt is dead, long live GOption.
12865 2005-10-31 Wim Taymans <wim@fluendo.com>
12870 2005-10-31 Andy Wingo <wingo@pobox.com>
12874 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
12876 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
12877 need to serialize property notifications on GLib 2.8. GLib 2.6 has
12878 the possibility of deadlocks here if code calling notify() or
12879 set() has a lock that can be taken in another notify handler (ABBA
12880 with class lock and e.g. python GIL state lock).
12882 2005-10-28 Julien MOUTTE <julien@moutte.net>
12884 * gst/gstbus.c: Doc updates.
12886 2005-10-28 Wim Taymans <wim@fluendo.com>
12888 * docs/design/part-TODO.txt:
12889 * gst/gstiterator.c:
12890 * gst/gstsystemclock.c:
12891 * gst/gstsystemclock.h:
12894 2005-10-28 Edward Hervey <edward@fluendo.com>
12896 * docs/gst/gstreamer-docs.sgml:
12897 * docs/gst/gstreamer-sections.txt:
12898 the GstURIType documentation page is private, it only defines GstURIType
12899 which should be defined in the GstURIHandler page
12901 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
12903 * gst/gstbin.c: (gst_bin_class_init):
12906 Documentation updates.
12908 2005-10-28 Wim Taymans <wim@fluendo.com>
12910 * docs/gst/gstreamer-sections.txt:
12913 Documented the clocks.
12915 2005-10-28 Stefan Kost <ensonic@users.sf.net>
12917 * docs/gst/gstreamer-sections.txt:
12918 move some macros to private sections
12919 * gst/gstminiobject.c:
12920 * gst/gstminiobject.h:
12921 add descriptions provided by ds and some more
12923 mark macro as to be removed
12925 2005-10-28 Wim Taymans <wim@fluendo.com>
12927 * docs/design/part-TODO.txt:
12928 Add an item to TODO.
12930 * gst/gstiterator.c: (gst_iterator_fold),
12931 (gst_iterator_find_custom):
12932 * gst/gstiterator.h:
12935 2005-10-28 Wim Taymans <wim@fluendo.com>
12937 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12938 (gst_base_transform_init):
12941 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
12942 An EOS event marks the queue as completely filled.
12944 2005-10-27 Wim Taymans <wim@fluendo.com>
12946 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12947 (gst_base_sink_do_sync), (gst_base_sink_get_position):
12948 Some more debugging.
12950 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
12951 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
12952 (gst_base_transform_event), (gst_base_transform_getrange),
12953 (gst_base_transform_chain):
12954 * gst/base/gstbasetransform.h:
12956 Protect transform and concurrent buffer alloc with a new lock.
12957 Try not to break ABI/API.
12959 2005-10-27 Wim Taymans <wim@fluendo.com>
12961 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12962 (gst_base_src_init), (gst_base_src_query),
12963 (gst_base_src_default_newsegment),
12964 (gst_base_src_configure_segment), (gst_base_src_do_seek),
12965 (gst_base_src_send_event), (gst_base_src_event_handler),
12966 (gst_base_src_pad_get_range), (gst_base_src_loop),
12967 (gst_base_src_unlock), (gst_base_src_default_negotiate),
12968 (gst_base_src_start), (gst_base_src_deactivate),
12969 (gst_base_src_activate_push), (gst_base_src_change_state):
12970 Move some stuff around and cleanup things.
12972 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
12974 * gst/base/gstbasesrc.c: (gst_base_src_query):
12975 Add missing break statements.
12977 2005-10-27 Wim Taymans <wim@fluendo.com>
12979 * check/gst/gstbin.c: (GST_START_TEST):
12980 An extra refcount is taken in basesrc.
12982 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12983 (gst_base_src_get_range), (gst_base_src_pad_get_range),
12984 (gst_base_src_loop):
12985 Small cleanups, check for flushing after being unlocked from the
12986 LIVE_LOCK. take refcounts correctly (not yet everywhere).
12987 Don't send out EOS when going to READY.
12989 2005-10-27 Wim Taymans <wim@fluendo.com>
12991 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12992 (gst_base_sink_get_position):
12995 * gst/gstbin.c: (message_check), (bin_replace_message),
12996 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12997 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12998 (bin_query_duration_init), (bin_query_duration_fold),
12999 (bin_query_duration_done), (bin_query_generic_fold),
13001 * tools/gst-launch.c: (main):
13004 2005-10-26 Stefan Kost <ensonic@users.sf.net>
13006 * examples/controller/audio-example.c: (main):
13007 * examples/queue/queue.c: (event_loop):
13008 * gst/base/gstbasetransform.h:
13009 * gst/gstelement.c: (gst_element_send_event):
13011 * gst/gstpad.c: (gst_pad_send_event):
13014 changing log priority in error situations
13016 2005-10-25 Wim Taymans <wim@fluendo.com>
13018 * gst/gstbin.c: (message_check), (bin_replace_message),
13019 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13020 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13021 (bin_query_duration_init), (bin_query_duration_fold),
13022 (bin_query_duration_done), (bin_query_generic_fold),
13024 Some doc and debug updates.
13025 Cache previously requested query DURATION for speed. invalidate
13026 cached duration if element posts a DURATION message.
13028 2005-10-25 Wim Taymans <wim@fluendo.com>
13030 * docs/design/part-TODO.txt:
13033 * gst/gstbin.c: (message_check), (bin_replace_message),
13034 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13035 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13036 (bin_query_duration_init), (bin_query_duration_fold),
13037 (bin_query_duration_done), (bin_query_generic_fold),
13039 Handle SEGMENT_START/DONE messages correctly.
13040 More evolved query algorithm that handles duration queries
13043 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13044 (gst_element_get_state_func), (gst_element_abort_state),
13045 (gst_element_commit_state), (gst_element_lost_state):
13046 Some more debugging.
13048 * gst/gstmessage.h:
13051 2005-10-25 Wim Taymans <wim@fluendo.com>
13053 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13054 Don't use invalid stream_time.
13056 * gst/gstevent.c: (gst_event_new_newsegment):
13057 stream_time in newsegment cannot be undefined.
13059 2005-10-24 Wim Taymans <wim@fluendo.com>
13064 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13066 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13068 2005-10-24 Stefan Kost <ensonic@users.sf.net>
13070 * docs/libs/tmpl/gstdparam.sgml:
13071 * docs/libs/tmpl/gstdplinint.sgml:
13072 * docs/libs/tmpl/gstdpman.sgml:
13073 * docs/libs/tmpl/gstdpsmooth.sgml:
13074 * docs/libs/tmpl/gstunitconvert.sgml:
13077 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
13082 === release 0.9.4 ===
13084 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13087 releasing 0.9.4, "Tyrannosaurus Rex"
13089 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
13091 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13092 (gst_file_sink_get_current_offset):
13093 Use fseeko() and ftello() if available. When falling back on
13094 lseek() to get the current offset, fflush() first to make sure
13095 everything is up-to-date and we get the right offset.
13097 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13099 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13100 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13101 * gst/gsterror.c: (_gst_stream_errors_init):
13103 * gst/gstqueue.c: (gst_queue_loop):
13105 remove prematurely added error category and clean up the instances
13107 2005-10-21 Wim Taymans <wim@fluendo.com>
13109 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13110 (gst_base_sink_get_position), (gst_base_sink_query),
13111 (gst_base_sink_change_state):
13112 Simply set the right flag when going to playing, that's all
13113 we need to do instead of calling a function inside the object
13114 lock (that could take the lock as well and deadlock)
13116 2005-10-21 Wim Taymans <wim@fluendo.com>
13118 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13119 (gst_base_src_loop):
13120 Don't warn, the peer element knows what to do best when
13121 the seek failed, it might try something else.
13123 2005-10-21 Wim Taymans <wim@fluendo.com>
13125 * gst/base/gstbasesrc.c: (gst_base_src_init),
13126 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13129 2005-10-21 Wim Taymans <wim@fluendo.com>
13131 * docs/design/part-segments.txt:
13134 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13135 Correctly set caps, even on the subbufer.
13137 2005-10-21 Wim Taymans <wim@fluendo.com>
13139 * docs/gst/gstreamer-docs.sgml:
13140 * docs/gst/gstreamer-sections.txt:
13141 * gst/gstelement.h:
13144 * gst/gstmessage.h:
13147 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13151 And 2% more doc coverage.
13153 2005-10-21 Andy Wingo <wingo@pobox.com>
13155 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13156 position reporting.
13158 2005-10-20 Wim Taymans <wim@fluendo.com>
13160 * gst/gsterror.c: (gst_error_get_message):
13163 * gst/gststructure.c:
13168 2005-10-20 Wim Taymans <wim@fluendo.com>
13173 Another 1% more coverage.
13175 2005-10-20 Wim Taymans <wim@fluendo.com>
13177 * docs/gst/gstreamer-sections.txt:
13178 * gst/gstelement.c: (gst_element_get_state_func),
13179 (gst_element_abort_state), (gst_element_commit_state),
13180 (gst_element_lost_state):
13182 * gst/gstquery.c: (gst_query_set_position),
13183 (gst_query_parse_position), (gst_query_set_duration),
13184 (gst_query_parse_duration), (gst_query_new_convert):
13186 Yay! 1% more docs coverage.
13188 2005-10-20 Wim Taymans <wim@fluendo.com>
13191 * gst/gstquery.c: (gst_query_set_position),
13192 (gst_query_parse_position), (gst_query_set_duration),
13193 (gst_query_parse_duration), (gst_query_new_convert):
13195 * gst/gstutils.c: (gst_element_query_convert):
13197 Docs and consistency fixes.
13199 2005-10-20 Wim Taymans <wim@fluendo.com>
13205 2005-10-20 Wim Taymans <wim@fluendo.com>
13207 * gst/gstbin.c: (message_check), (bin_replace_message),
13208 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13209 (update_degree), (gst_bin_sort_iterator_next),
13210 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13211 Reworked the message handling a bit, cache the messages instead of
13212 only the senders. alows us to do more in the future.
13214 2005-10-20 Wim Taymans <wim@fluendo.com>
13216 * docs/design/part-TODO.txt:
13219 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13220 (gst_base_sink_query):
13221 Don't use clock time to report position when in EOS.
13223 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
13225 * tools/gst-inspect.c: (print_interfaces),
13226 (print_element_properties_info), (print_element_info):
13227 Fix interface output with gst-inspect -a; don't print
13228 newlines after double/float properties.
13230 2005-10-20 Wim Taymans <wim@fluendo.com>
13232 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13233 (gst_base_sink_query):
13234 Speed up current position calculation.
13236 * gst/base/gstbasesrc.c: (gst_base_src_query),
13237 (gst_base_src_default_newsegment):
13238 Correctly set stream position in newsegment.
13240 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13241 (update_degree), (gst_bin_sort_iterator_next),
13242 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13243 * gst/gstmessage.c: (gst_message_new_custom):
13244 Clean up debugging info
13246 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13247 (gst_queue_loop), (gst_queue_handle_src_query):
13250 2005-10-19 Wim Taymans <wim@fluendo.com>
13252 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13253 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13254 Fix query handling again.
13256 2005-10-19 Wim Taymans <wim@fluendo.com>
13258 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13259 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13260 * gst/base/gstbasesrc.c: (gst_base_src_query):
13261 * gst/elements/gstfilesink.c: (gst_file_sink_query):
13262 * gst/elements/gsttypefindelement.c:
13263 (gst_type_find_handle_src_query), (find_element_get_length),
13264 (gst_type_find_element_activate):
13267 * gst/gstquery.c: (gst_query_new_position),
13268 (gst_query_set_position), (gst_query_parse_position),
13269 (gst_query_new_duration), (gst_query_set_duration),
13270 (gst_query_parse_duration), (gst_query_set_segment),
13271 (gst_query_parse_segment):
13273 Bundling query position/duration is not a good idea since duration
13274 does not change much and we don't want to recalculate it for every
13275 position query, so they are separated again..
13276 Base value in segment query is not needed.
13278 * gst/gstqueue.c: (gst_queue_handle_src_query):
13279 * gst/gstutils.c: (gst_element_query_position),
13280 (gst_element_query_duration), (gst_pad_query_position),
13281 (gst_pad_query_duration):
13283 Updates for query API change.
13284 Added some docs here and there.
13286 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
13288 * check/gst/gstbin.c: (GST_START_TEST):
13289 * check/gst/gstghostpad.c: (GST_START_TEST):
13290 * check/pipelines/cleanup.c: (GST_START_TEST):
13291 wait on thread to die so we can check refcount correctly
13293 2005-10-18 Wim Taymans <wim@fluendo.com>
13295 * check/pipelines/stress.c: (GST_START_TEST):
13296 Make check a little more time consuming.
13298 2005-10-18 Wim Taymans <wim@fluendo.com>
13300 * check/Makefile.am:
13301 * check/pipelines/stress.c: (GST_START_TEST),
13302 (simple_launch_lines_suite), (main):
13303 Small state change torture test.
13305 * docs/design/part-states.txt:
13306 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13307 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13308 (gst_base_sink_change_state):
13309 Never take state lock from streaming thread, clean up ugly
13310 hacks. Unfortunatly core does not yet support nice ways to
13311 async commit state.
13313 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13315 Start state recalc if a STATE_DIRTY message is posted, but only
13316 on the toplevel bin.
13318 * gst/gstelement.c: (gst_element_sync_state_with_parent),
13319 (gst_element_get_state_func), (gst_element_abort_state),
13320 (gst_element_commit_state), (gst_element_lost_state),
13321 (gst_element_set_state_func), (gst_element_change_state):
13322 * gst/gstelement.h:
13323 State variables are now protected with the LOCK, the state
13324 lock is only used to serialize _set_state().
13326 2005-10-18 Wim Taymans <wim@fluendo.com>
13328 * check/gst/gstbin.c: (GST_START_TEST):
13329 * check/gst/gstmessage.c: (GST_START_TEST):
13330 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13331 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13333 * gst/gstelement.c: (gst_element_abort_state),
13334 (gst_element_commit_state), (gst_element_lost_state):
13335 * gst/gstmessage.c: (gst_message_new_state_changed),
13336 (gst_message_new_state_dirty), (gst_message_new_segment_start),
13337 (gst_message_new_segment_done), (gst_message_new_duration),
13338 (gst_message_parse_state_changed),
13339 (gst_message_parse_segment_start),
13340 (gst_message_parse_segment_done), (gst_message_parse_duration):
13341 * gst/gstmessage.h:
13342 * tools/gst-launch.c: (event_loop):
13343 Seriously, this is better than a previous commit as we only need
13344 to notify the fact that an element changed state in a streaming
13345 thread, marking the state of the parents dirty, hence the
13346 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13349 2005-10-18 Wim Taymans <wim@fluendo.com>
13351 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13352 (gst_bin_recalc_func):
13353 * gst/gstelement.c: (gst_element_set_clock),
13354 (gst_element_abort_state), (gst_element_lost_state):
13355 Cleanups, prepare for state change fixes.
13357 2005-10-18 Wim Taymans <wim@fluendo.com>
13360 * gst/gstelement.c: (gst_element_class_init),
13361 (gst_element_set_state), (gst_element_set_state_func):
13362 * gst/gstelement.h:
13363 Pending ABI changes.
13364 GThreadPool in GstBinClass to monitor async state changes.
13365 state_cookie in GstElement to detect concurrent gst/set state.
13366 set_state is now virtual too in case a very complicated element
13367 has to be constructed.
13369 2005-10-18 Wim Taymans <wim@fluendo.com>
13371 * check/gst/gstbin.c: (GST_START_TEST):
13372 * check/gst/gstmessage.c: (GST_START_TEST):
13373 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13374 * gst/gstbin.c: (bin_bus_handler):
13375 * gst/gstelement.c: (gst_element_commit_state),
13376 (gst_element_lost_state):
13377 * gst/gstmessage.c: (gst_message_new_state_changed),
13378 (gst_message_new_segment_start), (gst_message_new_segment_done),
13379 (gst_message_new_duration), (gst_message_parse_state_changed),
13380 (gst_message_parse_segment_start),
13381 (gst_message_parse_segment_done), (gst_message_parse_duration):
13382 * gst/gstmessage.h:
13383 * tools/gst-launch.c: (event_loop):
13384 Make messages future proof.
13385 state-change gets a flag if it was a message comming from the
13387 segment-start/stop can also be specified in other formats.
13388 A message to notify an app that a pipeline changed playback
13390 Also fix a GstMessage leak in -launch
13392 2005-10-18 Andy Wingo <wingo@pobox.com>
13394 * gst/gstelement.c (gst_element_dispose): More helpful message.
13396 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13398 reviewed by: <delete if not using a buddy>
13400 * common/gtk-doc.mak:
13402 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13404 * gst/gstregistry.c: (gst_registry_scan_path_level):
13405 unref a plug-in we get that was already initialized
13407 2005-10-18 Stefan Kost <ensonic@users.sf.net>
13409 * docs/gst/gstreamer-sections.txt:
13410 * docs/libs/gstreamer-libs-sections.txt:
13411 * gst/gstelement.h:
13412 add new api entries
13413 hide internal macro
13415 2005-10-17 Andy Wingo <wingo@pobox.com>
13417 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13420 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13422 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13424 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13425 (gst_element_get_state_func): Better debug message.
13426 (gst_element_commit_state): s/INFO/DEBUG/.
13427 (gst_element_lost_state, gst_element_change_state):
13429 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13430 (gst_message_new_custom): s/INFO/LOG/.
13432 2005-10-17 Michael Smith <msmith@fluendo.com>
13434 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13435 Check if end time is valid using end time, not start time.
13437 2005-10-17 Stefan Kost <ensonic@users.sf.net>
13439 * check/gst-libs/controller.c: (GST_START_TEST),
13440 (gst_controller_suite):
13441 * libs/gst/controller/gstcontroller.c:
13442 (gst_controlled_property_set_interpolation_mode):
13443 * libs/gst/controller/gstcontroller.h:
13444 * libs/gst/controller/gstinterpolation.c:
13445 * testsuite/controller/.cvsignore:
13446 * testsuite/controller/Makefile.am:
13447 * testsuite/controller/interpolator.c:
13448 merge controller testsuites
13450 remove mem-chunk from docs
13452 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13454 * gst/gstmemchunk.c:
13455 * gst/gstmemchunk.h:
13456 * gst/gsttrashstack.c:
13457 * gst/gsttrashstack.h:
13458 out. get out. you're fired. to the Attic !
13460 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13462 * gst/gstcaps.c: (gst_caps_intersect):
13463 fix signedness issues in a (hopefully) correct way
13464 * gst/gstelement.c: (gst_element_pads_activate):
13466 * gst/gstobject.c: (gst_object_set_parent):
13469 2005-10-17 Julien MOUTTE <julien@moutte.net>
13471 * gst/gstvalue.h: Fix prototypes.
13473 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13475 * docs/gst/gstreamer-sections.txt:
13476 * gst/gst.c: (gst_version_string):
13478 * gst/gstversion.h.in:
13479 * win32/common/libgstreamer.def:
13480 add gst_version_string ()
13482 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13486 * gst/gst.c: (init_post):
13487 * win32/common/config.h.in:
13489 * gst/gstcaps.c: (gst_caps_intersect):
13490 use gint64, the range could be bigger than a guint
13492 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13495 document potential problem in 2038
13497 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13499 * gst/gstcaps.c: (gst_caps_intersect):
13500 Fix guint j diving under 0
13502 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13505 * win32/common/config.h:
13506 * win32/common/config.h.in:
13507 check for process.h, declares getpid() on Windows
13509 include process.h if we have it
13510 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13511 * gst/gstmemchunk.h:
13512 fix signedness issues
13513 * win32/common/libgstreamer.def:
13516 2005-10-16 Julien MOUTTE <julien@moutte.net>
13518 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13519 fix. Because of unsigned ints, caps intersection was going nuts and
13520 trying to access structures with G_MAXUINT index. That fixes
13521 videotestsrc ! ffmpegcolorspace ! fakesink
13522 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13525 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13528 use the gettext macro
13529 * gst/elements/gstelements.c:
13531 * gst/indexers/gstindexers.c:
13532 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13533 * win32/common/config.h:
13535 * win32/common/config.h.in:
13536 add the template to generate config.h
13537 * win32/common/gstenumtypes.c:
13538 * win32/common/gstversion.h:
13541 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13543 * gst/gst.c: (gst_version):
13544 * gst/gstversion.h.in:
13547 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13550 Oops, add missing closing bracket.
13552 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13555 use common m4's for argument checking
13557 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13559 * docs/gst/gstreamer-sections.txt:
13561 Add GST_EVENT_TYPE_NAME() macro.
13563 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13566 * gst/gstpluginfeature.c:
13568 privatize more symbols
13570 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13573 add srcdir, builddir includes to GST_ALL_CFLAGS, since
13574 everything that uses GStreamer API should have the includes
13576 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13578 * docs/gst/gstreamer-sections.txt:
13579 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13581 give each value a _get_type, removes the DATA exports
13583 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13587 remove _gst_registry_auto_load, not used anymore
13588 * gst/gstbin.c: (gst_bin_get_type):
13590 * gst/gstelement.c: (gst_element_get_type):
13591 * gst/gstelement.h:
13592 * gst/gstobject.c: (gst_object_get_type):
13594 * gst/gstpad.c: (gst_pad_get_type):
13596 make _get_type functions similar, fixes data export from library
13598 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13601 correctly make conditionals
13602 * gst/elements/Makefile.am:
13603 * gst/elements/gstelements.c:
13604 fix typo causing fdsrc not to build
13606 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13608 * testsuite/Makefile.am:
13609 * testsuite/bytestream/.cvsignore:
13610 * testsuite/bytestream/Makefile.am:
13611 * testsuite/bytestream/filepadsink.c:
13612 * testsuite/bytestream/gstbstest.c:
13613 * testsuite/bytestream/test1.c:
13614 * testsuite/bytestream/testfile1:
13615 * testsuite/caps/normalisation.c:
13616 * testsuite/caps/random.c: (main):
13617 * testsuite/cleanup/.cvsignore:
13618 * testsuite/cleanup/Makefile.am:
13619 * testsuite/cleanup/cleanup1.c:
13620 * testsuite/cleanup/cleanup2.c:
13621 * testsuite/cleanup/cleanup3.c:
13622 * testsuite/cleanup/cleanup4.c:
13623 * testsuite/cleanup/cleanup5.c:
13624 * testsuite/controller/interpolator.c:
13625 * testsuite/debug/printf_extension.c: (main):
13626 * testsuite/elements/tee.c:
13627 * testsuite/negotiation/.cvsignore:
13628 * testsuite/negotiation/Makefile.am:
13629 * testsuite/negotiation/pad_link.c:
13630 * testsuite/pad/Makefile.am:
13631 * testsuite/pad/chainnopull.c:
13632 * testsuite/pad/getnopush.c:
13633 * testsuite/pad/link.c:
13634 * testsuite/refcounting/sched.c: (create_pipeline):
13635 * testsuite/registry/Makefile.am:
13636 * testsuite/registry/gst-print-formats.c:
13637 * testsuite/schedulers/.cvsignore:
13638 * testsuite/schedulers/142183-2.c:
13639 * testsuite/schedulers/142183.c:
13640 * testsuite/schedulers/143777-2.c:
13641 * testsuite/schedulers/143777.c:
13642 * testsuite/schedulers/147713.c:
13643 * testsuite/schedulers/147819.c:
13644 * testsuite/schedulers/147894-2.c:
13645 * testsuite/schedulers/147894.c:
13646 * testsuite/schedulers/Makefile.am:
13647 * testsuite/schedulers/group_link.c:
13648 * testsuite/schedulers/queue_link.c:
13649 * testsuite/schedulers/relink.c:
13650 * testsuite/schedulers/unlink.c:
13651 * testsuite/schedulers/unref.c:
13652 * testsuite/schedulers/useless_iteration.c:
13653 * testsuite/states/bin.c:
13654 clean out/remove some stuff from the testsuite directories
13656 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13659 check for some headers
13660 * gst/elements/Makefile.am:
13661 * gst/elements/gstelements.c:
13662 don't compile fdsrc without sys/socket.h
13663 * gst/indexers/Makefile.am:
13664 * gst/indexers/gstindexers.c: (plugin_init):
13665 don't compile fileindex without mmap
13667 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13674 * check/Makefile.am:
13675 * docs/gst/Makefile.am:
13676 * examples/helloworld/Makefile.am:
13678 * gst/base/Makefile.am:
13679 * gst/check/Makefile.am:
13680 * gst/elements/Makefile.am:
13681 * gst/indexers/Makefile.am:
13682 * gst/parse/Makefile.am:
13683 * libs/gst/controller/Makefile.am:
13684 * libs/gst/dataprotocol/Makefile.am:
13685 * examples/helloworld/helloworld.c: (event_loop):
13686 compile fixes, though it's not being compiled currently
13688 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13690 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13691 Add some simple tests for the new taglist date API.
13693 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13695 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13696 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13697 Beautify 'last-message' output: print 'none' for buffer timestamps
13698 and durations if none is set; improve alignment with next messages.
13700 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13702 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13703 * gst/gstpluginfeature.h:
13704 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13705 * gst/gstregistry.h:
13706 * docs/gst/gstreamer-sections.txt:
13707 Add new API to check plugin feature version requirements.
13709 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13710 Some basic tests for the above.
13712 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13714 * gst/gststructure.c: (gst_structure_to_string):
13715 guard against NULL printf - happens when for example
13716 a message structure with GstClock gets serialized
13718 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13720 * gst/base/gstcollectpads.c: (gst_collectpads_event):
13721 Fix presumable copy'n'pasto.
13723 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13725 * gst/elements/gstfakesrc.h:
13726 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13727 * gst/elements/gsttypefindelement.c:
13728 fix some signedness
13729 * gst/elements/gstfilesink.c: (gst_file_sink_render):
13730 I wonder if this could actually write +2GB files before
13732 2005-10-13 Andy Wingo <wingo@pobox.com>
13734 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13735 Fix Timmeke Waymans bug.
13736 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13737 string of the proper length to gst_caps_from_string. There's a
13738 potential for, before this fix, that this could cause someone
13739 connecting over the network to cause a segfault if the payload is
13740 not NUL-terminated.
13742 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13744 * docs/design/draft-push-pull.txt:
13745 * docs/design/part-overview.txt:
13746 * docs/random/TODO-pre-0.9:
13747 * docs/random/old/ChangeLog.gstreamer:
13748 * gst/base/gstpushsrc.c:
13752 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13754 * gst/glib-compat.c: (gst_flags_get_first_value):
13755 * gst/glib-compat.h:
13756 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13757 (gst_value_compare_double), (gst_value_serialize_flags):
13758 GLib 2.6 g_flags_get_first_value has a bug that triggers an
13761 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13763 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13764 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13766 * tools/gst-launch.c: (event_loop):
13767 print out clock nicely
13769 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13771 * docs/gst/gstreamer-sections.txt:
13772 * gst/gsttaglist.h:
13773 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13774 (gst_tag_list_get_date_index):
13775 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13776 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13778 2005-10-13 Julien MOUTTE <julien@moutte.net>
13780 * gst/base/gstcollectpads.c: (gst_collectpads_event),
13781 (gst_collectpads_chain):
13782 * gst/base/gstcollectpads.h: Handle newsegment and store informations
13785 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13787 * docs/gst/gstreamer-sections.txt:
13790 * tools/gst-inspect.c: (main):
13791 * tools/gst-launch.c: (main):
13792 * tools/gst-run.c: (main):
13793 * tools/gst-xmlinspect.c: (main):
13794 fix GOption context leaks
13797 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13801 * win32/common/config.h:
13803 * win32/vs6/grammar.dsp:
13804 * win32/vs6/libgstelements.dsp:
13805 * win32/vs6/libgstreamer.dsp:
13808 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13810 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13811 * gst/base/gstbasesrc.c: (gst_base_src_query):
13812 fix more guint64<->gdouble conversions
13814 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13817 add win32-update target
13818 * win32/common/gstconfig.h:
13819 * win32/common/gstenumtypes.c:
13820 * win32/common/gstenumtypes.h:
13821 * win32/common/gstversion.h:
13822 add files that visual studio can't generate
13824 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13827 add a win32-update target
13830 2005-10-12 Wim Taymans <wim@fluendo.com>
13832 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13833 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
13834 * gst/gstelement.c: (gst_element_commit_state),
13835 (gst_element_set_state):
13836 Protect flags with proper lock.
13837 unref provided cached clock in dispose.
13839 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13842 * gst/gstminiobject.h:
13844 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
13845 removed unused flags from miniobject
13848 2005-10-12 Wim Taymans <wim@fluendo.com>
13850 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13851 (gst_file_sink_event), (gst_file_sink_render):
13852 Flush before seeking.
13854 2005-10-12 Andy Wingo <wingo@pobox.com>
13856 * gst/gst.c (gst_init_check): Ignore unknown options, as has
13857 always been the case.
13859 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13861 * check/gst/gstbin.c: (GST_START_TEST):
13862 * docs/gst/gstreamer-sections.txt:
13863 * gst/base/gstbasesink.c: (gst_base_sink_init):
13864 * gst/base/gstbasesrc.c: (gst_base_src_init),
13865 (gst_base_src_get_range), (gst_base_src_check_get_range),
13866 (gst_base_src_start), (gst_base_src_stop):
13867 * gst/base/gstbasesrc.h:
13868 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
13869 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13870 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
13874 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
13876 * gst/gstelement.c: (gst_element_is_locked_state),
13877 (gst_element_set_locked_state), (gst_element_commit_state),
13878 (gst_element_set_state):
13879 * gst/gstelement.h:
13880 * gst/gstindex.c: (gst_index_init):
13882 * gst/gstminiobject.h:
13883 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
13884 (gst_object_set_parent):
13886 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
13887 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
13889 * gst/gstpadtemplate.h:
13890 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
13891 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13892 * gst/gstpipeline.h:
13893 * gst/indexers/gstfileindex.c: (gst_file_index_load),
13894 (gst_file_index_commit):
13895 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
13896 * testsuite/pad/link.c: (gst_test_src_init),
13897 (gst_test_filter_init), (gst_test_sink_init):
13898 * testsuite/states/locked.c: (main):
13899 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
13900 moved bitshift from macro to enum definition
13902 2005-10-12 Wim Taymans <wim@fluendo.com>
13904 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
13905 * gst/elements/gstfilesink.c: (gst_file_sink_event),
13906 (gst_file_sink_render):
13907 Some more debugging info.
13909 2005-10-12 Wim Taymans <wim@fluendo.com>
13911 * docs/design/part-states.txt:
13912 * tools/gst-launch.c: (main):
13914 Revert non-intentional change.
13916 2005-10-12 Wim Taymans <wim@fluendo.com>
13918 * check/gst/gstbin.c: (GST_START_TEST):
13919 * check/gst/gstelement.c: (GST_START_TEST):
13920 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
13921 * check/gst/gstghostpad.c: (GST_START_TEST):
13922 * check/gst/gstpipeline.c: (GST_START_TEST):
13923 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13924 * check/states/sinks.c: (GST_START_TEST):
13925 * gst/elements/gsttypefindelement.c: (stop_typefinding):
13926 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13927 (gst_bin_remove_func), (gst_bin_get_state_func),
13928 (gst_bin_recalc_state), (gst_bin_change_state_func),
13930 * gst/gstelement.c: (gst_element_get_state_func),
13931 (gst_element_get_state), (gst_element_abort_state),
13932 (gst_element_commit_state), (gst_element_set_state),
13933 (gst_element_change_state), (gst_element_change_state_func):
13934 * gst/gstelement.h:
13935 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
13936 (gst_pipeline_provide_clock_func):
13937 * gst/gstutils.c: (gst_element_link_pads_filtered):
13938 * tools/gst-launch.c: (main):
13939 * tools/gst-typefind.c: (main):
13940 Use GstClockTime in _get_state() instead of GTimeVal.
13941 Remove old code in gstutils.c
13943 2005-10-12 Andy Wingo <wingo@pobox.com>
13945 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
13948 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
13949 there is no task. Shouldn't affect any code, as nothing in our
13950 plugins checks this return value.
13951 (gst_pad_stop_task): Also take the stream lock if the pad has no
13952 task. Docs updated.
13954 2005-10-12 Wim Taymans <wim@fluendo.com>
13956 * gst/gstpad.c: (pre_activate), (post_activate),
13957 (gst_pad_activate_pull), (gst_pad_activate_push):
13958 Cleanup activation code. Reset old state if
13961 2005-10-12 Wim Taymans <wim@fluendo.com>
13963 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13964 (gst_base_sink_change_state):
13965 No need to prerol after receiving EOS.
13967 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13968 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
13969 * gst/elements/gstidentity.c: (gst_identity_event):
13970 Print events more verbosely.
13972 2005-10-12 Wim Taymans <wim@fluendo.com>
13974 * check/Makefile.am:
13975 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13976 * check/states/sinks2.c:
13977 Moved sinks2 testcode in sinks check.
13979 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13980 (gst_bin_remove_func), (gst_bin_recalc_state),
13981 (gst_bin_change_state_func), (bin_bus_handler):
13982 Fix potential race condition when _get_state() iterated over an
13983 ASYNC element right before it posted a state completion.
13986 Do proper cast here.
13988 * gst/gstevent.c: (gst_event_new_newsegment),
13989 (gst_event_parse_newsegment):
13990 A playback rate of 0.0 is not allowed.
13992 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13994 * win32/common/config.h:
13995 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
13996 (_trewinddir), (_ttelldir), (_tseekdir):
13997 * win32/common/dirent.h:
13998 * win32/common/gtchar.h:
13999 * win32/common/libgstbase.def:
14000 * win32/common/libgstreamer.def:
14001 * win32/vs6/grammar.dsp:
14002 * win32/vs6/gst_inspect.dsp:
14003 * win32/vs6/gst_launch.dsp:
14004 * win32/vs6/gstreamer.dsw:
14005 * win32/vs6/libgstbase.dsp:
14006 * win32/vs6/libgstelements.dsp:
14007 * win32/vs6/libgstreamer.dsp:
14008 Visual Studio 6 project files, and a new common directory.
14011 2005-10-11 Wim Taymans <wim@fluendo.com>
14013 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14014 (gst_base_sink_do_sync), (gst_base_sink_query),
14015 (gst_base_sink_change_state):
14016 * gst/base/gstbasesink.h:
14017 Correctly parse newsegment info.
14019 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14021 * gst/gst.c: (init_post):
14022 split plugin paths correctly
14024 2005-10-11 Wim Taymans <wim@fluendo.com>
14026 * check/gst/gstevent.c: (GST_START_TEST):
14027 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14028 (gst_base_sink_change_state):
14029 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14030 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14031 * gst/elements/gstfilesink.c: (gst_file_sink_event):
14032 * gst/gstevent.c: (gst_event_new_newsegment),
14033 (gst_event_parse_newsegment):
14035 Added extra flag to newsegment for future API freeze.
14036 Updated check and base elements.
14038 2005-10-11 Julien MOUTTE <julien@moutte.net>
14040 * gst/base/gstcollectpads.c: (gst_collectpads_init),
14041 (gst_collectpads_add_pad), (gst_collectpads_pop),
14042 (gst_collectpads_event), (gst_collectpads_chain):
14043 * gst/base/gstcollectpads.h: Handle EOS correctly.
14045 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14047 * tools/gst-launch.c: (main):
14048 more null protecting
14050 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14052 * gst/gst-i18n-lib.h:
14053 check for ENABLE_NLS, not GETTEXT_PACKAGE
14054 * gst/gstregistry.c: (gst_registry_add_plugin),
14055 (gst_registry_scan_path_level),
14056 (_gst_registry_remove_cache_plugins):
14057 protect possibly NULL strings
14058 * gst/parse/types.h:
14059 config.h already included before
14060 * tools/gst-inspect.c: (main):
14061 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14062 check for ENABLE_NLS, not GETTEXT_PACKAGE
14063 * tools/gst-launch.c: (main):
14064 check for ENABLE_NLS, not GETTEXT_PACKAGE
14066 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14069 if we don't have glib, fail before testing 2.8
14070 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14071 fix a leak, should fix plugins-base testsuite
14073 2005-10-11 Andy Wingo <wingo@pobox.com>
14075 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14076 take the mode we're going to as an arg. Go head and set the mode
14077 and flushing flags now, so that if the activate function starts a
14078 thread all the flags will be in the right state.
14079 (post_activate): Renamed also. Just handle making sure streaming
14080 finishes for the deactivation case, and setting the deactivated
14082 (gst_pad_set_active): Complain loudly if deactivation fails.
14083 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14084 (gst_pad_activate_push): Adapt to pre/post_activate changes,
14085 remove the terrible hack.
14087 2005-10-11 Wim Taymans <wim@fluendo.com>
14089 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14090 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14091 (gst_bin_recalc_state), (gst_bin_change_state_func),
14092 (gst_bin_dispose), (bin_bus_handler):
14094 Prepare to make current EOS message queue more generic.
14097 * gst/gstevent.c: (gst_event_new_newsegment),
14098 (gst_event_parse_newsegment):
14100 Rename base to stream_time.
14102 * gst/gstmessage.h:
14105 2005-10-11 Wim Taymans <wim@fluendo.com>
14107 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14108 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14109 (gst_bin_change_state_func), (bin_bus_handler):
14111 Work on proper clock selection.
14113 2005-10-11 Edward Hervey <edward@fluendo.com>
14115 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
14116 * libs/gst/controller/gstcontroller.h:
14117 Added GList* version of _remove_properties() in order to be able to wrap
14120 2005-10-11 Wim Taymans <wim@fluendo.com>
14122 * docs/design/part-states.txt:
14125 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14126 (gst_bin_change_state_func), (bin_bus_handler):
14127 Doc updates. Don't distribute the same clock over and over again.
14133 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14134 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14135 (gst_pad_send_event):
14137 Make probe emission threadsafe again.
14138 Register quarks and move _get_name() from utils.
14141 * gst/gstpipeline.c: (gst_pipeline_class_init),
14142 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14143 Only redistribute the clock of it changed.
14145 * gst/gstsystemclock.h:
14150 Moved the _flow_get_name() to GstPad.
14152 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14154 * check/gst-libs/gdp.c: (GST_START_TEST):
14155 * check/gst/gstcaps.c: (GST_START_TEST):
14156 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14157 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14158 (gst_dp_packet_from_caps):
14159 fix more valgrind warnings before turning up the heat
14161 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14163 * gst/parse/grammar.y:
14164 some cleanup before the hacking
14166 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14168 * gst/base/gstbasesrc.c: (gst_base_src_query):
14170 * gst/gstutils.c: (gst_guint64_to_gdouble),
14171 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14173 externalize, basesrc uses it
14174 obviously the implementation needs testing
14176 2005-10-10 Wim Taymans <wim@fluendo.com>
14178 * tests/sched/Makefile.am:
14179 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14180 (make_pipeline3), (make_pipeline4), (print_elem), (main):
14182 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14184 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14185 apparently converting from guint64 to double is not implemented
14188 2005-10-10 Wim Taymans <wim@fluendo.com>
14190 * check/Makefile.am:
14191 * check/generic/states.c: (GST_START_TEST):
14192 * check/gst/gstbin.c: (GST_START_TEST):
14193 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14194 * check/states/sinks.c: (GST_START_TEST):
14195 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14197 Check fixes, use API as stated in design docs, remove hacks.
14199 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14200 (gst_base_sink_change_state):
14201 Catch stopping our task while we're shutting down.
14203 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14204 (gst_bin_remove_func), (gst_bin_get_state_func),
14205 (gst_bin_recalc_state), (gst_bin_change_state_func),
14208 * gst/gstelement.c: (gst_element_init),
14209 (gst_element_get_state_func), (gst_element_abort_state),
14210 (gst_element_commit_state), (gst_element_lost_state),
14211 (gst_element_set_state), (gst_element_change_state),
14212 (gst_element_change_state_func):
14213 * gst/gstelement.h:
14214 New state change algorithm (see #318116)
14216 * gst/gstpipeline.c: (gst_pipeline_class_init),
14217 (gst_pipeline_init), (gst_pipeline_set_property),
14218 (gst_pipeline_get_property), (do_pipeline_seek),
14219 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14220 * gst/gstpipeline.h:
14221 Remove crude state change hacks.
14224 Remove crude hacks.
14226 * tools/gst-launch.c: (main):
14227 Fixes for state change. Needs some more work to fully use the
14230 2005-10-10 Andy Wingo <wingo@pobox.com>
14232 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14234 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14235 this flag, but it's not even in GLib 2.6. Odd. Hack around the
14238 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14240 * gst/gstiterator.c: (gst_iterator_new):
14241 Fix my previous commit: GTypes passed to gst_iterator_new()
14242 can be fundamental types.
14244 2005-10-10 Wim Taymans <wim@fluendo.com>
14246 * gst/gstelement.c: (gst_element_iterate_pad_list),
14247 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14248 (gst_element_iterate_sink_pads):
14249 Use src/sink pads lists for the respective iterators instead
14252 2005-10-10 Andy Wingo <wingo@pobox.com>
14254 Merged in popt removal + GOption addition patch from Ronald, bug
14257 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14258 GstElement macros around, remove popt-related symbols, add goption
14261 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14263 * docs/gst/Makefile.am:
14264 * docs/libs/Makefile.am: No POPT_CFLAGS.
14266 * examples/manual/Makefile.am:
14267 * docs/manual/basics-init.xml: Doc updates with an example.
14269 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14270 (gst_init), (parse_one_option), (parse_goption_arg):
14271 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14272 bit of hand merging and debugging to get the GOption stuff working
14275 * tests/Makefile.am:
14276 * tools/Makefile.am:
14277 * tools/gst-inspect.c: (main):
14278 * tools/gst-launch.c: (main):
14279 * tools/gst-run.c: (main):
14280 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14282 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14284 * gst/gstiterator.c: (gst_iterator_new):
14285 Add assertions to make sure passed GType is likely to really
14286 be a GType (as the compiler won't catch it if the size and
14287 GType arguments get mixed up, see #318447).
14289 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
14291 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14293 * gst/gstbin.c: (gst_bin_iterate_sorted):
14294 Pass GType and size arguments to gst_iterator_new() in the right
14295 order (maybe we should make _new() take the GType as first argument
14296 just like _new_list()?) (#318447).
14299 2005-10-10 Wim Taymans <wim@fluendo.com>
14301 * gst/gstelement.c: (gst_element_finalize):
14302 And free the GStaticRecMutex too
14304 2005-10-10 Andy Wingo <wingo@pobox.com>
14306 * gst/gstelement.c (gst_element_init, gst_element_finalize):
14307 Allocate and free the mutex properly.
14309 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14311 (GstElement): The state_lock is now recursive. Rebuild your
14312 plugins, suckers. Old macros adapted.
14314 * docs/gst/gstreamer-sections.txt: Doc updates.
14317 * gst/gstutils.c (g_static_rec_cond_timed_wait)
14318 (g_static_rec_cond_wait): Ported from state changes patch, while
14319 we wait on bug #317802 to be solved in a well-distributed GLib.
14321 * gst/gstelement.c (gst_element_change_state_func): Renamed from
14322 gst_element_change_state, variable name changes.
14323 (gst_element_change_state): Split out of gst_element_set_state in
14324 preparation for the state change merge. Doesn't pay attention to
14325 the 'transition' argument.
14326 (gst_element_set_state): Updates, hopefully purely cosmetic.
14327 (gst_element_sync_state_with_parent): MT-safety. Ported from the
14328 state change patch.
14329 (gst_element_get_state_func): Renamed from get_state, cosmetic
14332 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14334 * gst/elements/gstelements.c:
14335 * win32/GStreamer.vcproj:
14337 * win32/dirent.c: (_tseekdir):
14338 * win32/gst-inspect.vcproj:
14339 * win32/gst-launch.vcproj:
14340 * win32/gstconfig.h:
14341 * win32/gstelements.vcproj:
14342 * win32/gstenumtypes.c: (gst_object_flags_get_type):
14343 * win32/gstreamer.def:
14344 * win32/msvc71.sln:
14345 updates for the win32 build (patch from Sebastien Moutte)
14347 2005-10-10 Andy Wingo <wingo@pobox.com>
14349 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14350 gst_bin_get_state, cleaned up (but no logic changes).
14351 (bin_element_is_sink): Comment updates.
14352 (sink_iterator_filter): Remove needless cast.
14353 (gst_bin_iterate_sinks): Doc update.
14354 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14355 cleaned up (but no logic changes).
14357 * check/states/sinks.c (test_src_sink): Cleanups from the state
14359 (test_livesrc_sink): Sync on the state.
14361 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14362 the state change patch.
14364 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14367 * check/gst/gstbin.c: Merge in some style fixes and additional
14368 checks from Wim's state change patch.
14370 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14372 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14373 (gst_type_find_helper):
14374 Check whether we have the requested data already in our list of
14375 cached buffers before pulling a new buffer; also make the buffer
14376 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14378 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14383 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14384 don't use long long, it's not portable. Replacing with
14385 gint64 seems to work; let's hope no skeletons fall out of the closet.
14387 2005-10-10 Andy Wingo <wingo@pobox.com>
14389 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14391 2005-10-09 Stefan Kost <ensonic@users.sf.net>
14393 * docs/gst/gstreamer-sections.txt:
14398 * gst/gstmessage.c: (gst_message_parse_state_changed):
14401 more docs, fix compilation
14403 2005-10-09 Philippe Khalaf <burger@speedy.org>
14404 * gst/gstmessage.c:
14405 Fixed a few forgotten variables on previous commit
14407 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
14409 * gst/base/gsttypefindhelper.c: (helper_find_peek):
14410 Fix evil typefind crasher: getrange() might return a short
14411 buffer at the end of a file, but gst_type_find_peek() must
14412 either return the full data as requested or NULL, but
14413 never a short buffer.
14415 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
14417 * gst/gstmessage.c: (gst_message_new_state_changed),
14418 (gst_message_parse_state_changed):
14419 * gst/gstmessage.h:
14420 don't use "new", it's a C++ keyword
14422 2005-10-08 Wim Taymans <wim@fluendo.com>
14424 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14425 * gst/gstelement.c: (gst_element_post_message):
14426 * gst/gstpipeline.c: (gst_pipeline_change_state):
14427 Small docs and debug updates.
14429 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14431 * docs/gst/gstreamer-sections.txt:
14432 * gst/gstelementfactory.c:
14434 * gst/gsttaglist.c:
14437 2005-10-08 Wim Taymans <wim@fluendo.com>
14439 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14440 (gst_bin_dispose), (bin_bus_handler):
14441 Fix typos, add comments.
14442 Clear EOS list when going to PAUSED from any direction and do it
14443 in a threadsafe way.
14444 Get base time in a threadsafe way too.
14445 Fix confusing debug in the change_state function.
14446 Various other small cleanups.
14448 * gst/gstelement.c: (gst_element_post_message):
14449 Fix very verbose bus posting code.
14451 * gst/gstpipeline.c: (gst_pipeline_class_init),
14452 (gst_pipeline_set_property), (gst_pipeline_get_property),
14453 (gst_pipeline_change_state):
14454 Small ARG_ -> PROP_ cleanup
14456 2005-10-08 Wim Taymans <wim@fluendo.com>
14458 * gst/gstbin.c: (is_eos), (bin_bus_handler):
14459 Do a less CPU demanding EOS check because we can.
14461 2005-10-08 Wim Taymans <wim@fluendo.com>
14463 * libs/gst/dataprotocol/dataprotocol.c:
14464 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14465 (gst_dp_packet_from_event):
14466 * libs/gst/dataprotocol/dataprotocol.h:
14467 * libs/gst/dataprotocol/dp-private.h:
14468 It's about time we bump the version number.
14469 Since event types don't fit in the guint8 anymore describing
14470 the payload type, make payload type 16 bits wide.
14472 2005-10-08 Wim Taymans <wim@fluendo.com>
14474 * docs/design/part-TODO.txt:
14475 * docs/design/part-clocks.txt:
14476 * docs/design/part-events.txt:
14477 * docs/design/part-gstbin.txt:
14478 * docs/design/part-gstelement.txt:
14479 * docs/design/part-gstpipeline.txt:
14480 * docs/design/part-live-source.txt:
14481 * docs/design/part-messages.txt:
14482 * docs/design/part-overview.txt:
14483 * docs/design/part-states.txt:
14486 2005-10-08 Wim Taymans <wim@fluendo.com>
14490 Fix event quark registration.
14491 Add some space between events so we can insert them in the
14494 2005-10-08 Wim Taymans <wim@fluendo.com>
14496 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14497 (gst_base_sink_handle_buffer):
14498 Better log message.
14501 * gst/gstelement.h:
14504 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14505 (gst_queue_set_property), (gst_queue_get_property):
14507 Remove old unused properties.
14509 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14510 * docs/gst/gstreamer-sections.txt:
14511 * gst/gstmessage.c:
14512 * gst/gstmessage.h:
14513 * gst/gstminiobject.c:
14514 * gst/gstminiobject.h:
14518 lots of new docs and doc fixes
14520 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14522 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14524 * gst/gstregistry.c: (gst_registry_lookup_locked),
14525 (gst_registry_scan_path_level):
14526 * gst/gstregistryxml.c: (load_plugin):
14527 Only ever load one plugin for a given plugin basename.
14528 This ensures correct overriding of GST_PLUGIN_PATH over
14529 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14530 system installed plugins.
14532 2005-10-08 Wim Taymans <wim@fluendo.com>
14534 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14535 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14536 Prepare for doing QOS.
14538 2005-10-08 Wim Taymans <wim@fluendo.com>
14540 * check/gst/gstbin.c: (GST_START_TEST):
14541 * check/pipelines/cleanup.c: (GST_START_TEST):
14542 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14543 Allow new clock message too.
14545 2005-10-08 Wim Taymans <wim@fluendo.com>
14547 * gst/gstmessage.c: (gst_message_new_error),
14548 (gst_message_new_warning), (gst_message_new_tag),
14549 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14550 (gst_message_new_clock_lost), (gst_message_new_new_clock),
14551 (gst_message_new_segment_start), (gst_message_new_segment_done),
14552 (gst_message_parse_state_changed),
14553 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14554 (gst_message_parse_new_clock):
14555 * gst/gstmessage.h:
14556 Also carry the clock in question.
14558 2005-10-08 Wim Taymans <wim@fluendo.com>
14560 * gst/gstmessage.c: (gst_message_new_custom),
14561 (gst_message_new_eos), (gst_message_new_error),
14562 (gst_message_new_warning), (gst_message_new_tag),
14563 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14564 (gst_message_new_new_clock), (gst_message_new_segment_start),
14565 (gst_message_new_segment_done), (gst_message_parse_state_changed),
14566 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14567 * gst/gstmessage.h:
14569 Added clock related messages.
14571 * gst/gstpipeline.c: (gst_pipeline_change_state):
14572 Post message when the clock changed.
14574 * tools/gst-launch.c: (event_loop):
14577 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
14579 * tools/gst-inspect.c: (print_element_properties_info):
14580 Can't pass NULL strings to g_print() on windows.
14582 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14584 * docs/Makefile.am:
14585 * docs/gst/Makefile.am:
14586 * docs/gst/gstreamer-docs.sgml:
14587 * docs/gst/running.xml:
14588 * docs/version.entities.in:
14589 add a chapter on running GStreamer.
14590 document GST_DEBUG and GST_PLUGIN* env vars
14592 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14597 remove PLUGINS_BUILDDIR stuff
14598 * gst/gst.c: (init_post):
14599 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14601 remove, it was condescending and not needed
14603 2005-10-08 Wim Taymans <wim@fluendo.com>
14605 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14606 (gst_base_sink_handle_object), (gst_base_sink_event),
14607 (gst_base_sink_wait), (gst_base_sink_handle_event),
14608 (gst_base_sink_change_state):
14609 * gst/base/gstbasesink.h:
14610 Repost EOS message while going to PLAYING if still EOS.
14611 Make sure that when receiving a FLUSH_START we don't attempt
14612 to sync on the clock anymore.
14614 2005-10-08 Wim Taymans <wim@fluendo.com>
14616 * tools/gst-launch.c: (event_loop):
14617 Better message printout.
14619 2005-10-08 Wim Taymans <wim@fluendo.com>
14621 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14622 (gst_bin_child_proxy_get_children_count):
14623 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14624 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14625 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14626 (gst_child_proxy_set_valist):
14627 * gst/parse/grammar.y:
14628 Make ChildProxy threadsafe and fix mem leaks.
14630 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14632 * gst/gst.c: (init_post):
14633 debug the GST_PLUGIN_ env vars
14635 2005-10-08 Wim Taymans <wim@fluendo.com>
14637 * check/gst/gstbin.c: (GST_START_TEST):
14638 * check/gst/gstmessage.c: (GST_START_TEST):
14639 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14640 * gst/gstelement.c: (gst_element_commit_state),
14641 (gst_element_lost_state):
14642 * gst/gstmessage.c: (gst_message_new_state_changed),
14643 (gst_message_parse_state_changed):
14644 * gst/gstmessage.h:
14645 * tools/gst-launch.c: (event_loop):
14646 Added extra field to STATE_CHANGE message with the pending
14647 state, which will be different from the new state soon.
14649 2005-10-08 Wim Taymans <wim@fluendo.com>
14651 * gst/gstbus.c: (gst_bus_pop):
14653 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14654 Small cleanups and doc updates.
14656 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14658 * gst/gst.c: (init_pre):
14659 * gst/gstbin.c: (gst_bin_add_func):
14660 log distributing clocks and base time
14661 * gst/gstregistry.c: (gst_registry_add_plugin),
14662 (gst_registry_scan_path_level), (gst_registry_scan_path):
14663 clean up the debugging output a little
14664 * gst/gstutils.c: (gst_element_state_get_name):
14665 warn about a memleak (I've actually seen this be used, though
14666 it was probably a bug)
14668 2005-10-07 Wim Taymans <wim@fluendo.com>
14670 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14671 (gst_base_src_init), (gst_base_src_default_newsegment),
14672 (gst_base_src_newsegment), (gst_base_src_do_seek),
14673 (gst_base_src_loop), (gst_base_src_start):
14674 * gst/base/gstbasesrc.h:
14675 Make the newsegment event customizable by subclasses.
14677 2005-10-07 Wim Taymans <wim@fluendo.com>
14679 * gst/gstevent.c: (gst_event_new_buffersize),
14680 (gst_event_parse_buffersize):
14682 New event for future idea.
14684 2005-10-07 Andy Wingo <wingo@pobox.com>
14686 * gst/gstelement.c (gst_element_post_message): Doc update.
14688 * docs/gst/gstreamer-sections.txt: Update.
14690 * gst/gstmessage.c (gst_message_new_application): Made into a
14691 function like honest API calls.
14692 (gst_message_new_element): New message type.
14694 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14696 * check/elements/fakesrc.c (test_no_preroll): New check, checks
14697 that setting a live fakesrc to PAUSED returns NO_PREROLL both
14700 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14701 NO_PREROLL from gst_element_change_state to fall through.
14703 2005-10-07 Wim Taymans <wim@fluendo.com>
14705 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14706 (gst_ghost_pad_do_activate_push):
14707 Activating a ghostpad with no internal pad in push mode
14710 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
14713 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14714 Fixes compilation on Windows.
14716 2005-10-07 Michael Smith <msmith@fluendo.com>
14718 * tools/gst-inspect.c:
14719 Print out feature and plugin count at the end when printing out
14722 2005-10-04 Michael Smith <msmith@fluendo.com>
14724 * gst/gsterror.c: (_gst_stream_errors_init):
14725 Add another error string used in a few existing plugins.
14728 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14729 * tools/gst-inspect.c: (print_element_info):
14730 When a feature disappears from a plugin (and the feature exists in
14731 the cached registry file), things went horribly wrong. This isn't a
14732 complete fix, we should actually be removing the 'missing' features
14733 from the features list when we load the actual plugin. That's not
14736 2005-10-04 Johan Dahlin <johan@gnome.org>
14738 * check/gst/gstiterator.c: (GST_START_TEST):
14739 * gst/gstbin.c: (gst_bin_iterate_elements),
14740 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14741 * gst/gstelement.c: (gst_element_iterate_pads):
14742 * gst/gstformat.c: (gst_format_iterate_definitions):
14743 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14744 (gst_iterator_new_list), (gst_iterator_filter):
14745 * gst/gstiterator.h:
14746 * gst/gstquery.c: (gst_query_type_iterate_definitions):
14747 Add a GType to GstIterator, update callsites and tests.
14749 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14751 * gst/gstpad.c: (gst_pad_event_default_dispatch):
14752 give events a chance to be handled by event probes when the pad
14755 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14757 * gst/gstevent.c: (gst_event_type_get_name),
14758 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14760 add string representations for event types
14762 2005-10-06 Wim Taymans <wim@fluendo.com>
14764 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14765 Don't use NULL pointers.
14767 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14769 * gst/gst_private.h:
14771 * gst/gstelement.c:
14773 * gst/gstpluginfeature.c:
14774 widen the debug category in output to fit the biggest one we have
14775 add a bus category and use it
14776 play with the colors
14777 fix up some categories
14779 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14781 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14782 add push activation of sink ghost pads.
14783 Andye, please verify
14785 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14787 * gst/gstutils.c: (gst_element_link_pads):
14788 fix a bug in the case where neither element has a pad
14789 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14790 add a test for that case
14792 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14794 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14795 emit have-data before checking for peers. This allows
14796 for probe handlers to connect elements. This helps autopluggers.
14797 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14799 add six checks, linked/unlinked with no/true/false probe
14801 2005-10-04 Wim Taymans <wim@fluendo.com>
14803 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14804 (gst_fake_sink_event), (gst_fake_sink_preroll),
14805 (gst_fake_sink_render), (gst_fake_sink_change_state):
14806 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14807 (gst_fake_src_get_property), (gst_fake_src_create),
14808 (gst_fake_src_stop):
14809 * gst/elements/gstidentity.c: (gst_identity_stop):
14810 Protect last_message with lock.
14812 2005-10-04 Edward Hervey <edward@fluendo.com>
14815 Added precision in the comments for GST_FORMAT_DEFAULT
14817 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
14819 * tools/gst-launch.c: (main):
14820 Don't try to run erroneous pipelines.
14822 2005-10-04 Julien MOUTTE <julien@moutte.net>
14824 * gst/gstbus.c: We don't need this header.
14826 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14829 back to development
14831 === release 0.9.3 ===
14833 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14837 Releasing 0.9.3, "Unregistered"
14839 2005-10-03 Andy Wingo <wingo@pobox.com>
14841 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
14842 whereby calling a pad's activatepush() function can start a thread
14843 that starts to push or pull before the pad gets the FLUSHING flag
14844 unset. Hack around it by holding the stream lock until the flag is
14845 set. Need to replace this with a proper solution. Together with
14846 the ghost pad fixes, this fixes mp3 playing/tagreading.
14848 * docs/design/part-gstghostpad.txt: Add a note about activation of
14849 proxy pads outside of ghost pads.
14851 * gst/gstghostpad.c: Implement the ghost pad activation design.
14853 2005-10-02 Andy Wingo <wingo@pobox.com>
14855 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
14856 It is volatile, after all.
14858 * docs/design/part-gstghostpad.txt: Flesh out activation with
14861 * gst/base/gstbasesrc.c (gst_base_src_init): Use
14864 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
14867 Fix (unused) AM_CONDITIONAL tests.
14869 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
14871 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14873 * gst/gstutils.c: (gst_pad_query_convert):
14874 Add assertion that makes sure src_val is >=0, just like
14875 gst_query_new_convert() has. (#315895)
14877 2005-09-30 Edward Hervey <edward@fluendo.com>
14879 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
14880 Let's not iterate pads we're not interested in, it avoids getting
14881 sky-high refcounts on sinkpad.
14883 2005-09-30 Wim Taymans <wim@fluendo.com>
14885 * gst/gstelement.c: (gst_element_set_state),
14886 (gst_element_change_state):
14887 Small tweak, element in ASYNC remains ASYNC.
14889 2005-09-30 Wim Taymans <wim@fluendo.com>
14891 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14892 Only error is an error.
14894 * gst/gstbin.c: (gst_bin_change_state):
14897 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
14898 Also call pad_block in pad alloc.
14900 * gst/gstutils.c: (gst_flow_get_name):
14903 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14905 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14906 (gst_base_src_get_range):
14907 Fix documentation typos. Add some more debug info.
14909 2005-09-29 David Schleef <ds@schleef.org>
14911 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
14912 more end-user friendly.
14913 * tools/gst-inspect.c: (main): Check if command-line argument is
14914 a file and attempt to load that file as a plugin.
14916 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14918 * check/gst/gstbin.c:
14919 * check/states/sinks.c:
14920 fix tests for the new warning
14921 * check/gst/gstpipeline.c:
14922 add a test for pipeline and bus interaction
14923 * gst/gstelement.c:
14924 elements should be NULL if they get disposed; add a warning if not
14926 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14929 for 2.6 refcounting, make debug log more correct by printing
14930 the actual refcounts at the time of swap (Wim)
14932 2005-09-29 Andy Wingo <wingo@pobox.com>
14934 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
14935 removes signal watches previously added via
14936 gst_bus_add_signal_watch.
14937 (gst_bus_add_signal_watch): Don't return the source id, just store
14938 it on the bus if there wasn't an id already.
14940 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
14941 add_signal_watch and remove_signal_watch.
14943 2005-09-29 Edward Hervey <edward@fluendo.com>
14945 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
14946 Better if we actually iterate the list :)
14948 2005-09-29 Wim Taymans <wim@fluendo.com>
14950 * check/gst/gstbin.c: (GST_START_TEST):
14951 Change for new bus API.
14953 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
14954 (send_messages), (GST_START_TEST), (gstbus_suite):
14955 Change for new bus signal API.
14957 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
14958 (gst_bus_source_prepare), (gst_bus_source_check),
14959 (gst_bus_create_watch), (gst_bus_add_watch_full),
14960 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
14961 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
14963 Remove support for multiple GSources operating on different
14964 message types as it is too complex and unneeded when using
14966 Added support for receiving signals from the bus.
14968 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14970 * docs/libs/tmpl/gstdataprotocol.sgml:
14971 * docs/manual/advanced-dataaccess.xml:
14972 * gst/elements/gstcapsfilter.c:
14974 rename filter-caps to caps property
14976 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14978 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14979 More robust fraction string parsing.
14981 * docs/pwg/appendix-porting.xml:
14982 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
14984 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14986 * gst/gstcaps.c: (gst_caps_do_simplify):
14987 Thou shalt not free a structure and then continue using it
14988 in the next loop iteration.
14990 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
14992 Add test case for caps simplification.
14994 2005-09-29 Wim Taymans <wim@fluendo.com>
14996 * check/gst/gstbin.c: (GST_START_TEST):
14999 2005-09-29 Wim Taymans <wim@fluendo.com>
15001 * check/gst/gstbin.c: (GST_START_TEST):
15004 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15005 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15006 (find_element), (gst_bin_sort_iterator_next),
15007 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15008 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15009 (gst_bin_change_state), (gst_bin_dispose):
15010 A bin does not have a bus, it gets the bus from the parent.
15012 * gst/gstelement.c: (gst_element_requires_clock),
15013 (gst_element_provides_clock), (gst_element_is_indexable),
15014 (gst_element_is_locked_state), (gst_element_change_state),
15015 (gst_element_set_bus_func):
15018 * gst/gstpipeline.c: (gst_pipeline_class_init),
15019 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15020 The pipeline provides a bus.
15022 2005-09-28 Johan Dahlin <johan@gnome.org>
15024 * gst/gstmessage.c (gst_message_parse_state_changed): Use
15025 gst_structure_get_enum instead of gst_structure_get_int
15027 * gst/gststructure.c (gst_structure_get_enum): Impl.
15029 * gst/gststructure.h (gst_structure_get_enum): Add
15031 * docs/gst/gstreamer-sections.txt: Ditto
15033 * gst/gstmessage.c (gst_message_new_state_changed): Use
15034 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15035 which does introspection.
15036 Reviewed by Christian Schaller
15038 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15040 * gst/gstinfo.c: (gst_debug_log_default):
15041 don't do dummy g_strdup()s
15042 * libs/gst/controller/gstcontroller.c:
15043 (on_object_controlled_property_changed),
15044 (gst_controlled_property_new), (gst_controller_new_valist),
15045 (gst_controller_new_list),
15046 (gst_controller_remove_properties_valist), (gst_controller_set),
15047 (gst_controller_get), (gst_controller_sync_values),
15048 (gst_controller_get_value_array), (_gst_controller_class_init),
15049 (gst_controller_get_type):
15050 * libs/gst/controller/gstcontroller.h:
15051 * libs/gst/controller/gstinterpolation.c:
15052 (gst_controlled_property_find_timed_value_node):
15053 convert // to /**/ comments
15055 2005-09-28 Wim Taymans <wim@fluendo.com>
15057 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15058 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15059 (gst_bus_sync_signal_handler):
15061 Added async-message and sync-message signals to the bus.
15062 Added helper BusFunc to emit signals for all posted messages.
15064 * gst/gstmessage.c: (gst_message_type_get_name),
15065 (gst_message_type_to_quark), (gst_message_get_type):
15066 * gst/gstmessage.h:
15067 Register quarks for message names.
15069 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15071 * docs/libs/gstreamer-libs-sections.txt:
15072 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15073 (gst_controller_new_list):
15074 * libs/gst/controller/gstcontroller.h:
15075 added another constructor for language bindings
15077 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
15079 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15083 * gst/gstinfo.c: (_gst_debug_init):
15084 slightly more readable color for refcount debugging
15086 2005-09-28 Wim Taymans <wim@fluendo.com>
15088 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15089 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15090 (find_element), (gst_bin_sort_iterator_next),
15091 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15092 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15093 (gst_bin_change_state), (gst_bin_dispose):
15094 Small doc fixes. get_clock -> provide_clock.
15096 * gst/gstelement.c: (gst_element_class_init),
15097 (gst_element_provides_clock), (gst_element_provide_clock),
15098 (gst_element_get_clock), (gst_element_commit_state),
15099 (gst_element_lost_state):
15100 * gst/gstelement.h:
15101 Make get/set_clock() symetric. Add provide_clock vmethod since
15102 that is actually what this function does.
15104 * gst/gstpipeline.c: (gst_pipeline_class_init),
15105 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15106 (gst_pipeline_get_clock):
15107 get_clock -> provide_clock.
15109 2005-09-28 Andy Wingo <wingo@pobox.com>
15111 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15112 lieu of real docs...
15114 * gst/elements/gstfdsrc.c: Cleaned up a bit.
15116 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
15118 * gst/elements/gstcapsfilter.c:
15119 * gst/elements/gstfakesink.c:
15120 * gst/elements/gstfakesrc.c:
15121 * gst/elements/gstfdsink.c:
15122 * gst/elements/gstfdsrc.c:
15123 * gst/elements/gstfilesink.c:
15124 * gst/elements/gstfilesrc.c:
15125 * gst/elements/gstidentity.c:
15126 * gst/elements/gsttee.c:
15127 * gst/elements/gsttypefindelement.c:
15128 Make element details static.
15130 2005-09-28 Wim Taymans <wim@fluendo.com>
15132 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15133 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15134 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15135 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15136 (gst_bin_change_state), (gst_bin_dispose):
15137 Some documentation updates.
15138 Clean up dispose handlers.
15140 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15141 * gst/gstpad.c: (gst_pad_dispose):
15142 Clean up dispose handler.
15144 * gst/gstpipeline.c: (gst_pipeline_change_state):
15145 Removed spurious UNLOCK.
15147 2005-09-27 Stefan Kost <ensonic@users.sf.net>
15149 * docs/gst/gstreamer-sections.txt:
15150 * gst/base/gstbasesrc.h:
15151 * gst/gstelement.h:
15155 * gst/gstpipeline.c:
15156 * gst/gstpipeline.h:
15159 added two new functions to the docs
15160 documents all undocumented GstXXXFlags
15161 completed some incomplete docs
15163 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
15165 * gst/gstbin.c: (gst_bin_dispose):
15166 * gst/gstelement.c: (gst_element_dispose):
15167 remove now useless and leaky resurrection code in dispose
15168 * gst/base/gstbasesrc.c: (gst_base_src_init):
15169 * gst/gstelementfactory.c: (gst_element_factory_create):
15170 * gst/gstobject.c: (gst_object_set_parent):
15173 2005-09-27 Wim Taymans <wim@fluendo.com>
15175 * docs/design/part-TODO.txt:
15178 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15179 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15180 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15181 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15182 (gst_bin_change_state):
15183 * gst/gstelement.h:
15184 Remove element variable, we keep element info in the iterator now.
15186 2005-09-27 Andy Wingo <wingo@pobox.com>
15188 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15191 2005-09-27 Wim Taymans <wim@fluendo.com>
15193 * check/gst/gstbin.c: (GST_START_TEST):
15194 Enable check that works now.
15196 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15197 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15198 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15199 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15200 (gst_bin_change_state):
15202 Redid the state change algorithm using a topological sort algo.
15203 Handles all cases correctly.
15204 Exposed iterator for state change order.
15206 * gst/gstelement.h:
15207 Temp storage for state changes. Need to get rid of this soon.
15209 2005-09-27 Wim Taymans <wim@fluendo.com>
15211 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15212 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15213 (link_fold_func), (gst_pad_proxy_setcaps):
15214 Leak fixes, the fold functions need to unref the passed object and
15215 _get_parent_*() returns ref to parent.
15217 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15219 * check/gst/gstbuffer.c: (test_make_writable):
15220 Plug leak in test case and fix 'make check-valgrind'
15222 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15224 * gst/gstbuffer.c: (gst_subbuffer_init):
15225 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15226 works correctly in all circumstances (we could have just copied
15227 the parent buffer's readonly flag, but conceptually it seems
15228 cleaner to mark all subbuffers as read-only). (based on patch
15229 by Alessandro Decina, #314710).
15231 * check/gst/gstbuffer.c: (create_read_only_buffer),
15232 (test_make_writable), (test_subbuffer_make_writable),
15234 Add some tests for gst_buffer_make_writable().
15236 2005-09-27 Wim Taymans <wim@fluendo.com>
15238 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15239 use gst_object_has_ancestor().
15241 * gst/gstobject.c: (gst_object_has_ancestor):
15243 gst_object_has_ancestor() copied from gstbin.c as it is a
15246 * tests/instantiate/create.c: (create_all_elements):
15247 * tests/lat.c: (handoff_src), (handoff_sink):
15248 * tests/sched/runxml.c: (main):
15249 * tests/seeking/seeking1.c: (main):
15250 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15252 Fix compilation of some tests.
15254 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15257 Remove comment. GST_TYPE_G_ERROR is here to stay,
15258 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15259 (#316961, #300610).
15261 2005-09-26 Wim Taymans <wim@fluendo.com>
15263 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15264 Added check that shows error in state change order.
15266 2005-09-26 Wim Taymans <wim@fluendo.com>
15268 * gst/gstbin.c: (gst_bin_change_state):
15269 Make state change function use 3 queues again, we were
15270 adding elements in the wrong order.
15272 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15275 * gst/gstpad.c: (gst_pad_dispose):
15276 Added some debug info first.
15278 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
15280 * docs/design/draft-push-pull.txt:
15281 * docs/design/part-events.txt:
15282 * docs/design/part-overview.txt:
15283 * docs/design/part-scheduling.txt:
15284 Replace all _pull_region() with _pull_range()
15286 2005-09-26 Andy Wingo <wingo@pobox.com>
15288 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15290 * check/gst-libs/controller.c: Update for controller api change.
15293 * tests/Makefile.am:
15294 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15295 over by GLib bug 118439.
15297 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15298 routines to a function.
15300 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15302 * libs/gst/controller/gsthelper.c:
15303 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15304 (gst_object_sync_values): Renamed from sink_values. Ugh.
15306 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15308 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15309 Renamed from controller_key, as it is exported.
15311 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15313 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
15318 * gst/gstpadtemplate.h:
15321 * gst/gstqueryutils.c:
15322 * gst/gstqueryutils.h:
15323 remove queryutils headers after moving the two used functions
15324 to gstquery. also fixes build problem for gstsiddec
15326 2005-09-26 Michael Smith <msmith@fluendo.com>
15328 * tools/gst-launch.1.in:
15329 Correct documentation in manpage of debug syntax
15331 2005-09-26 Wim Taymans <wim@fluendo.com>
15333 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15334 (gst_base_src_is_seekable), (gst_base_src_change_state):
15335 Some more debugging info.
15337 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15339 * docs/gst/gstreamer-sections.txt:
15340 * gst/base/gstbasetransform.h:
15344 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15346 * docs/gst/.cvsignore:
15347 * docs/gst/tmpl/.cvsignore:
15348 * docs/gst/tmpl/gstpipeline.sgml:
15349 * docs/gst/tmpl/gstplugin.sgml:
15350 * gst/gstpipeline.c:
15353 inlined the last two docs files
15354 removed the tmpl directory from cvs (no more conflicts here!)
15356 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15358 * docs/gst/gstreamer-sections.txt:
15359 * docs/gst/tmpl/.cvsignore:
15360 * docs/gst/tmpl/gstpad.sgml:
15361 * docs/gst/tmpl/gstpadtemplate.sgml:
15363 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15364 (gst_pad_finalize), (gst_pad_set_pad_template):
15366 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15367 (gst_pad_template_class_init), (gst_pad_template_init),
15368 (gst_pad_template_dispose), (name_is_valid),
15369 (gst_static_pad_template_get), (gst_pad_template_new),
15370 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15371 (gst_pad_template_pad_created):
15372 * gst/gstpadtemplate.h:
15373 inlined two more docs
15374 factored gstpadtemplate out of gstpad
15376 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
15378 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15379 (test_children_state_change_order_semi_sink):
15380 Fix test case: we can't rely on a fixed state change order when
15381 going from READY => PAUSED because the sink might commit its
15382 new state first when the first buffer created by the source
15383 reaches the sink before the source has finished its change state.
15384 (Test case still fails at times, see #316856, comment 5 onwards)
15386 2005-09-24 Wim Taymans <wim@fluendo.com>
15388 * docs/design/part-events.txt:
15389 * docs/design/part-gstbus.txt:
15390 * docs/design/part-gstpipeline.txt:
15391 * docs/design/part-messages.txt:
15392 * docs/design/part-overview.txt:
15393 * docs/design/part-segments.txt:
15397 * gst/gstelement.c:
15400 * gst/gstiterator.c:
15401 Various documentation updates.
15403 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
15406 Well, that's embarassing. Luckily we weren't using
15407 GST_CLOCK_DIFF anywhere.
15409 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15411 * common/gtk-doc.mak:
15412 don't fail on building XML, FC4 slave shows a bunch of doc
15413 missing bits that I don't get
15415 * gst/gstpipeline.c:
15416 * gst/gststructure.c:
15419 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15421 * docs/design/part-gstbin.txt:
15422 * docs/design/part-gstbus.txt:
15424 Add blurb about how the bus goes into flushing mode and
15425 drops all messages when its bin goes from READY into NULL
15428 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15430 * docs/gst/gstreamer-sections.txt:
15431 * gst/gststructure.c: (gst_structure_get_clock_time):
15432 * gst/gststructure.h:
15433 add a method to get a GstClockTime out of a structure
15435 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15437 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15438 (test_children_state_change_order_semi_sink), (gst_bin_suite):
15439 Added test to check state change order in bins (can still be made
15440 to fail here under heavy disk load; bails out with 'Push on pad
15441 fakesink:sink0, but it was not activated in push mode').
15443 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15444 Fix state change order when there is only a semi sink (#316856)
15446 * gst/gstbus.c: (gst_bus_class_init):
15447 Use _class_peek_parent(), not _class_ref(); fix docs to say
15448 'default main context' instead of 'mainloop' where that is
15451 * gst/gstelement.c: (gst_element_commit_state),
15452 (gst_element_set_state):
15453 Fix typos in debug messages
15455 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15458 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15459 * gst/gstpluginfeature.c:
15461 various doc updates
15462 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15463 change an assert into an error until it gets fixed properly
15465 2005-09-23 Stefan Kost <ensonic@users.sf.net>
15467 * docs/gst/gstreamer-sections.txt:
15468 * docs/gst/tmpl/.cvsignore:
15469 * docs/gst/tmpl/gstelement.sgml:
15470 * docs/gst/tmpl/gstinfo.sgml:
15471 * docs/gst/tmpl/gstobject.sgml:
15472 * gst/gstelement.c:
15473 * gst/gstelement.h:
15476 * gst/gstobject.c: (gst_object_class_init):
15478 inlined 3 more biiiig doc files and added some missing docs on the fly
15480 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15482 * check/gst/.cvsignore:
15483 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15484 * gst/gstregistryxml.c: (load_plugin),
15485 (gst_registry_xml_save_plugin):
15486 put back source in registry. add checks for find_plugin.
15487 * testsuite/states/bin.c: (assert_state), (empty_bin),
15488 (test_adding_one_element), (main):
15489 * testsuite/states/locked.c: (main):
15490 some compile/run fixes
15492 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
15494 * check/gst/gstvalue.c: (GST_START_TEST):
15495 fix leaks in the test itself
15497 2005-09-22 Wim Taymans <wim@fluendo.com>
15499 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15500 (gst_base_sink_send_event), (gst_base_sink_peer_query),
15501 (gst_base_sink_query):
15502 Prepare for more accurate position reporting and query
15505 * gst/gstelement.c: (gst_element_send_event),
15506 (gst_element_set_state):
15509 2005-09-22 Wim Taymans <wim@fluendo.com>
15511 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15512 (gst_query_parse_segment):
15514 More documentation.
15515 Add segment query for future use.
15517 2005-09-22 Wim Taymans <wim@fluendo.com>
15519 * gst/gstbin.c: (gst_bin_add_func):
15520 Some more debug info.
15522 * gst/gstelement.c: (gst_element_send_event):
15523 Simplify send_event
15525 * gst/gstelement.h:
15526 Don't know how flags got broken.
15531 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15533 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15534 Add simplistic test suite for GST_TYPE_DATE serialisation and
15537 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15539 * docs/gst/gstreamer-sections.txt:
15540 * gst/gststructure.c: (gst_structure_set_valist),
15541 (gst_structure_get_date):
15542 * gst/gststructure.h:
15543 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15544 (gst_date_copy), (gst_value_compare_date),
15545 (gst_value_serialize_date), (gst_value_deserialize_date),
15546 (gst_value_transform_date_string),
15547 (gst_value_transform_string_date), (_gst_value_initialize):
15549 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15550 bunch of utility functions along with a hack that checks that
15551 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15552 is required. Part of the grand scheme in #170777.
15554 2005-09-22 Andy Wingo <wingo@pobox.com>
15556 * gst/gstconfig.h.in: Psych out gtk-doc.
15558 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15560 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15562 * tools/gst-inspect.c (print_element_list): Plug some
15563 inconsequential leaks.
15565 * gst/gstregistry.c (gst_registry_get_default): Doc.
15567 * check/gst/gstplugin.c:
15568 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15569 * gst/gstelementfactory.c (gst_element_factory_create):
15570 * gst/gstindexfactory.c (gst_index_factory_create): Update for
15573 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15574 (gst_plugin_feature_load): Doc, don't eat refs.
15576 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15577 (gst_plugin_list_free): Doc.
15578 (gst_plugin_load_file): Doc updates.
15580 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15581 accessors returning refcounted objects, return a ref.
15583 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15584 accessor for caps. IDEMPOTENCE. Oh yes.
15586 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
15588 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15590 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15591 (_gst_debug_register_funcptr):
15592 Add mutex to serialise access to the hash table with
15593 the function pointer => function name string mapping;
15594 make that hash table static scope (#316809).
15596 * gst/registries/.cvsignore:
15597 Remove left-over file.
15599 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15601 * docs/pwg/appendix-porting.xml:
15602 And something about newsegment events and caps-on-buffers to
15603 the porting guide (feel free to improve).
15605 2005-09-21 Andy Wingo <wingo@pobox.com>
15607 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15608 data and event probes on the same pad.
15609 (test_buffer_probe_once): Test that removing probes from within
15610 the probe functions works.
15612 2005-09-21 Andy Wingo <wingo@pobox.com>
15614 * check/gst/gstutils.c: New file.
15615 (test_buffer_probe_n_times): A simple buffer probe test. More to
15618 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15619 have-data::buffer, not have-data.
15620 (gst_pad_add_event_probe): Likewise for have-data::event.
15621 (gst_pad_add_data_probe): More docs. The part about 'resolving the
15622 peer' isn't quite right yet though.
15623 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
15624 (gst_pad_remove_data_probe): Change to take the guint handler_id
15625 as their arg, not the function+data, which is more glib-like.
15627 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15628 the signal emission to indicate if the data is a buffer or an
15630 (gst_pad_get_type): Initialize buffer and event quarks.
15631 (gst_pad_class_init): have-data is now a detailed signal, yes it
15634 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15636 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15637 * gst/gstutils.c: (gst_util_set_value_from_string),
15638 (gst_util_set_object_arg):
15639 Don't put functional code in g_return_if_fail() or
15640 g_return_val_if_fail() statements, otherwise things will
15641 break when G_DISABLE_CHECKS is defined during compilation.
15643 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15645 * docs/gst/tmpl/.cvsignore:
15646 * docs/gst/tmpl/gstvalue.sgml:
15649 inlied another one and added some obvious docs
15651 2005-09-21 Wim Taymans <wim@fluendo.com>
15653 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15654 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15655 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15656 (gst_fdsrc_get_property), (gst_fdsrc_create):
15657 * gst/elements/gstfdsrc.h:
15658 Properly implement fdsrc. Removed signal and timeout,
15659 better implemented somewhere else.
15661 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15663 * docs/gst/tmpl/.cvsignore:
15664 * docs/gst/tmpl/gstimplementsinterface.sgml:
15665 * gst/gstinterface.c:
15668 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15670 * docs/gst/gstreamer-sections.txt:
15671 * docs/gst/tmpl/.cvsignore:
15672 * docs/gst/tmpl/gstenumtypes.sgml:
15673 remove obsolete doc file
15675 2005-09-21 David Schleef <ds@schleef.org>
15677 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15678 little beer, fix a little leak.
15680 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15682 * docs/gst/gstreamer-docs.sgml:
15683 * docs/gst/gstreamer-sections.txt:
15684 * docs/gst/tmpl/.cvsignore:
15688 * gst/gstelement.h:
15689 * gst/gstindex.c: (gst_index_class_init):
15691 * gst/gstindexfactory.c: (gst_index_factory_get_type),
15692 (gst_index_factory_class_init), (gst_index_factory_init),
15693 (gst_index_factory_finalize), (gst_index_factory_new),
15694 (gst_index_factory_destroy), (gst_index_factory_find),
15695 (gst_index_factory_create), (gst_index_factory_make):
15696 * gst/gstindexfactory.h:
15697 * gst/gstpluginfeature.c:
15698 * gst/gstpluginfeature.h:
15699 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15700 more docs inlined, splitted gstindex.{c,h}
15702 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15704 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15707 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15709 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15710 Set sync to FALSE by default.
15712 2005-09-20 Wim Taymans <wim@fluendo.com>
15714 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15715 (gst_base_sink_init):
15716 Make sync property settable from subclass.
15718 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15719 (gst_fake_sink_change_state):
15720 Set sync to FALSE by default.
15722 2005-09-20 Wim Taymans <wim@fluendo.com>
15724 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15725 * tools/gst-launch.c: (main):
15726 The timeout handler should have lower priority than the source
15727 so we don't timeout before popping a message with 0 timeout.
15728 Dump error messages after failed state change.
15730 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15732 * tools/gst-inspect.c: (print_element_properties_info):
15735 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15737 * check/gst/gstevent.c:
15738 * gst/elements/gstfakesink.c:
15739 * gst/elements/gstfakesink.h:
15740 remove the sync property from fakesink.
15741 has the side effect of setting sync TRUE
15742 for fakesink, which is a change. Anyone who knows how
15743 to fix this nicely in a GObject-y way, feel free.
15745 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15747 * docs/gst/gstreamer-docs.sgml:
15748 remove probe refsection
15750 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15752 * check/Makefile.am:
15753 disable valgrinding the controller test again
15754 * docs/gst/gstreamer-sections.txt:
15755 update for api-changes
15757 2005-09-20 Wim Taymans <wim@fluendo.com>
15759 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15760 (gst_base_sink_set_property), (gst_base_sink_get_property),
15761 (gst_base_sink_do_sync):
15762 * gst/base/gstbasesink.h:
15763 Added sync property to basesink to disable clock sync.
15765 2005-09-20 Andy Wingo <wingo@pobox.com>
15767 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15768 eating the caller's refcount.
15770 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
15771 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15774 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15775 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15776 of GLib 2.8 public, so we can know which refcount to check in
15779 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15780 (gst_object_init): Only set the gst refcount if we're going ahead
15781 with the refcount hack.
15783 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15785 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15786 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15787 more leaks plumbed, added more debug-logging
15791 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15793 * gst/gstmessage.c:
15794 remove include of gstmemchunk.h
15796 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15798 * gst/gstclock.c: (_gst_clock_id_free):
15799 Commit from the Political Party For More Atomic CVS Commits,
15800 so that people don't waste too much of their day fishing
15801 out obvious leaks out of massive commits.
15802 Oh, and fix a pretty damn obvious leak in the memchunk
15805 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15807 * check/Makefile.am:
15808 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15809 plug mem-leak, re-add to valgrindable tests
15811 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15814 unbreak the build for those who have chronic arthritis
15815 and typing "make check" is just too taxing on the hands
15817 2005-09-20 Andy Wingo <wingo@pobox.com>
15819 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
15820 really want it out, you should fix plugins at the same time.
15822 2005-09-19 Stefan Kost <ensonic@users.sf.net>
15825 * docs/gst/gstreamer-sections.txt:
15827 added missing symbols to api docs
15828 disable ref-count hack if we have glib >= 2.8
15830 2005-09-19 David Schleef <ds@schleef.org>
15832 * docs/gst/Makefile.am: Ignore a few more internal headers
15833 * docs/gst/gstreamer-docs.sgml: Remove old sections
15834 * docs/gst/gstreamer-sections.txt: Remove old sections
15835 * docs/gst/tmpl/gstobject.sgml: update
15836 * docs/gst/tmpl/gstplugin.sgml: update
15837 * docs/gst/tmpl/gstpluginfeature.sgml: update
15838 * docs/random/ds/0.9-suggested-changes: update.
15839 * gst/Makefile.am: remove memchunk and trashstack, since they're
15841 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
15842 * gst/gst.h: don't include some headers
15843 * gst/gstchildproxy.c: add gstmarshal.h
15844 * gst/gstclock.c: Don't use memchunks
15845 * gst/gstminiobject.c: Add some docs
15846 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
15847 * gst/gstobject.h: same
15848 * gst/gstplugin.c: include gstmacros.h
15849 * gst/gstplugin.h: don't include gstmacros.h, since it's private
15850 * gst/gstquery.c: don't use memchunks
15851 * gst/gstregistry.c: rename gst_registry_deinit()
15852 * gst/gstregistry.h: same
15854 2005-09-19 David Schleef <ds@schleef.org>
15856 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
15857 * docs/libs/gstreamer-libs-sections.txt:
15858 * docs/libs/tmpl/gstgetbits.sgml:
15859 * docs/libs/tmpl/gstputbits.sgml:
15861 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
15863 * win32/gstenumtypes.c:
15864 * win32/gstenumtypes.h:
15867 2005-09-19 Wim Taymans <wim@fluendo.com>
15869 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
15870 Automatically PAUSE and RESUME a pipeline when a flushing seek
15873 2005-09-19 Andy Wingo <wingo@pobox.com>
15875 * gst/gstregistry.h: Spacing fixen.
15877 2005-09-19 Wim Taymans <wim@fluendo.com>
15879 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
15880 Handle state change failure more correctly.
15882 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15884 * check/Makefile.am:
15885 * check/pipelines/cleanup.c: (run_pipeline):
15886 * check/pipelines/simple_launch_lines.c: (run_pipeline),
15888 enable cleanup again after fixing the leak
15890 some more info on docs
15892 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15894 * check/Makefile.am:
15895 re-enable tests now that leaks are plugged
15897 * check/gst/gstbin.c:
15898 * check/gst/gstpipeline.c:
15899 add some more tests while fixing leaks
15900 * common/check.mak:
15901 make sure binaries are uptodate when valgrinding/gdbing
15903 * gst/gstelementfactory.c:
15904 remove a ref too many, and add a FIXME for when we get
15905 round to disposing of classes
15907 fix the refcounting when loading a plugin from a file and
15908 the code pretends that the pointer is the same even though
15909 of course it can change
15910 * gst/gstpluginfeature.c:
15911 unref plugins marked cached (a bit confusing as a name)
15912 as the docs state should be done
15913 various doc additions to explain refcounting
15914 * gst/gstregistry.c:
15915 * gst/gstregistryxml.c:
15918 2005-09-19 Wim Taymans <wim@fluendo.com>
15920 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15921 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15922 (send_messages), (GST_START_TEST), (gstbus_suite):
15923 * check/gst/gstpipeline.c: (GST_START_TEST):
15924 * check/pipelines/cleanup.c: (run_pipeline):
15925 * check/pipelines/simple_launch_lines.c: (run_pipeline),
15927 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
15928 (gst_bus_source_check), (gst_bus_source_dispatch),
15929 (gst_bus_create_watch), (gst_bus_add_watch_full),
15930 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
15932 * tools/gst-launch.c: (event_loop):
15933 * tools/gst-md5sum.c: (event_loop):
15934 GstBusHandler -> GstBusFunc, return value has the same meaning as
15935 any other GSource (FALSE == remove source).
15936 _add_watch() and _add_watch_full() now take a MessageType mask to
15937 only handle specific types of messages.
15938 _poll() returns the GstMessage instead of the message type to avoid
15940 _have_pending() takes a MessageType mask now too.
15941 Added testsuite for multiple bus watches.
15942 Fix testsuites and applications for new bus API.
15944 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15946 * check/Makefile.am:
15947 mark a bunch of the tests as to fix until we fix them
15949 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15951 * common/check.mak:
15952 use GST_PLUGIN settings for valgrind tests as well, so we're
15953 valgrinding the correct thing
15954 * gst/gst.c: (init_post):
15957 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15959 * gst/gst.c: (init_post), (gst_deinit):
15960 * gst/gstelementfactory.c: (gst_element_factory_class_init),
15961 (gst_element_factory_finalize), (gst_element_factory_cleanup):
15962 * gst/gstindex.c: (gst_index_factory_class_init),
15963 (gst_index_factory_finalize):
15964 * gst/gstobject.c: (gst_object_dispose):
15965 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15966 (gst_plugin_load_file), (gst_plugin_desc_free):
15967 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
15968 (gst_plugin_feature_finalize):
15969 * gst/gstregistry.c: (gst_registry_class_init),
15970 (gst_registry_init), (gst_registry_finalize),
15971 (gst_registry_get_default), (gst_registry_deinit):
15972 * gst/gstregistry.h:
15973 * gst/gstregistryxml.c: (load_feature), (load_plugin):
15974 various cleanups and memleak plugging. make valgrind is happy now.
15976 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15978 * common/check.mak:
15979 add a check-valgrind target
15981 2005-09-18 David Schleef <ds@schleef.org>
15983 * tools/gst-inspect.c: Revert the GOption code.
15985 2005-09-17 David Schleef <ds@schleef.org>
15987 * check/Makefile.am: Fix environment variables.
15988 * check/gst/gstplugin.c: Fix for API changes.
15989 * tools/gst-inspect.c: Fix for API changes.
15990 * tools/gst-xmlinspect.c: Fix for API changes.
15991 * gst/gstelementfactory.c:
15994 * gst/gstpluginfeature.c:
15995 * gst/gstpluginfeature.h:
15996 * gst/gstregistry.c:
15997 * gst/gstregistry.h:
15998 * gst/gstregistryxml.c:
15999 * gst/gsttypefind.c:
16000 * gst/gsttypefindfactory.c:
16001 * gst/indexers/gstfileindex.c:
16002 * gst/indexers/gstmemindex.c:
16003 * gst/schedulers/Makefile.am:
16004 Change registry to keep track of both plugins and features,
16005 removing the feature tracking from plugins themselves.
16007 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
16009 * check/Makefile.am:
16010 * tools/gst-register.1.in:
16011 remove gst-register
16013 2005-09-15 David Schleef <ds@schleef.org>
16015 * check/gst/gstplugin.c:
16016 * gst/gstelementfactory.c:
16018 * gst/gstpluginfeature.c:
16019 * gst/gstregistry.c:
16020 Getting tired of debugging. Disabled all the unreffing of
16021 plugins and features, which fixes the segfaults, but of
16022 course leaks like crazy. At least playbin works.
16024 2005-09-15 David Schleef <ds@schleef.org>
16026 * check/gst/gstplugin.c: (register_check_elements),
16027 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16029 * gst/elements/gsttypefindelement.c: Fix refcounting.
16030 * gst/gsttypefind.c:
16031 * gst/gsttypefindfactory.c:
16032 * gst/gsttypefindfactory.h:
16034 2005-09-15 David Schleef <ds@schleef.org>
16036 * gst/gstindex.c: get refcounting correct.
16037 * gst/gstregistry.c: Handle the case where a feature/plugin is
16040 2005-09-15 David Schleef <ds@schleef.org>
16042 * check/Makefile.am:
16043 * check/gst/gstplugin.c: Add test
16044 * gst/gstplugin.c: Fix problems noticed by testsuite
16046 * gst/gstregistry.c:
16047 * gst/gstregistry.h:
16049 2005-09-15 David Schleef <ds@schleef.org>
16051 * gst/gstplugin.c: Implement semi-decent recounting and locking
16052 in plugins and plugin features.
16054 * gst/gstpluginfeature.c:
16055 * gst/gstpluginfeature.h:
16056 * gst/gstregistry.c:
16058 2005-09-15 Michael Smith <msmith@fluendo.com>
16060 * gst/gstregistry.c: (gst_registry_get_feature_list):
16061 Implement this. Makes oggdemux work; decodebin still broken.
16063 2005-09-14 David Schleef <ds@schleef.org>
16065 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16067 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16068 * gst/check/Makefile.am:
16069 * libs/gst/controller/Makefile.am:
16070 * libs/gst/dataprotocol/Makefile.am:
16072 2005-09-14 David Schleef <ds@schleef.org>
16074 * configure.ac: Remove getbits library. Nothing uses it, and
16075 it should be in something like liboil if someone did want
16077 * libs/gst/Makefile.am:
16078 * libs/gst/getbits/Makefile.am:
16079 * libs/gst/getbits/gbtest.c:
16080 * libs/gst/getbits/getbits.c:
16081 * libs/gst/getbits/getbits.h:
16082 * libs/gst/getbits/gstgetbits_generic.c:
16083 * libs/gst/getbits/gstgetbits_i386.s:
16084 * libs/gst/getbits/gstgetbits_inl.h:
16086 2005-09-14 David Schleef <ds@schleef.org>
16088 * gst/Makefile.am: Dist glib-compat.h
16090 2005-09-14 David Schleef <ds@schleef.org>
16092 * configure.ac: Remove gst/registries, since it's no longer used.
16093 * gst/registries/Makefile.am:
16094 * gst/registries/gstlibxmlregistry.c:
16095 * gst/registries/gstlibxmlregistry.h:
16096 * gst/registries/gstxmlregistry.c:
16097 * gst/registries/gstxmlregistry.h:
16098 * gst/registries/registrytest.c:
16100 2005-09-14 David Schleef <ds@schleef.org>
16102 * gst/glib-compat.h:
16103 * gst/gstregistryxml.c:
16104 Convergence is near. Seriously.
16106 2005-09-14 David Schleef <ds@schleef.org>
16108 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16109 * gst/glib-compat.h:
16110 Attempt #4 to appease the buildbots.
16112 2005-09-14 David Schleef <ds@schleef.org>
16114 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16117 2005-09-14 David Schleef <ds@schleef.org>
16119 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16122 2005-09-14 David Schleef <ds@schleef.org>
16124 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16127 2005-09-14 David Schleef <ds@schleef.org>
16129 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16130 * gst/glib-compat.h: Add some functions that are in newer versions
16131 of glib than we care to require.
16132 * gst/gstregistryxml.c: Use them.
16134 2005-09-14 David Schleef <ds@schleef.org>
16136 * po/POTFILES.in: remove gst-register.c
16138 2005-09-14 David Schleef <ds@schleef.org>
16140 * docs/gst/gstreamer-docs.sgml:
16141 * docs/gst/gstreamer-sections.txt:
16142 * docs/gst/gstreamer.types:
16143 * docs/gst/tmpl/gstelement.sgml:
16144 * docs/gst/tmpl/gstplugin.sgml:
16145 * docs/gst/tmpl/gstpluginfeature.sgml:
16146 Documentation updates for registry changes.
16148 2005-09-14 David Schleef <ds@schleef.org>
16150 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16151 because we don't require glib-2.8.
16153 2005-09-14 David Schleef <ds@schleef.org>
16155 * gst/gstregistryxml.c: Added. Essentially moved out of the
16156 registries directory.
16158 2005-09-14 David Schleef <ds@schleef.org>
16160 * check/Makefile.am:
16161 * check/generic/states.c:
16165 * gst/gst_private.h:
16166 * gst/gstelementfactory.c:
16171 * gst/gstpluginfeature.c:
16172 * gst/gstpluginfeature.h:
16173 * gst/gstregistry.c:
16174 * gst/gstregistry.h:
16175 * gst/gstregistrypool.c: remove
16176 * gst/gstregistrypool.h: remove
16177 * gst/gsttypefind.c:
16178 * gst/gsttypefindfactory.c:
16180 * tools/Makefile.am:
16181 * tools/gst-compprep.c:
16182 * tools/gst-inspect.c:
16183 * tools/gst-register.c: remove
16184 * tools/gst-xmlinspect.c:
16185 Registry rewrite. Changes registry from being a file created
16186 by a tool into a simple cache file created automatically by
16187 libgstreamer. Removed gst-register (because it's no longer
16188 needed). Remove registry pools, because we only have one
16189 registry implementation (XML). Fix up other subsystems as
16192 2005-09-13 Michael Smith <msmith@fluendo.com>
16194 * gst/gstconfig.h.in:
16195 Don't Use windows linking attributes for MinGW. Fixes #316157
16197 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
16199 * gst/gstutils.c: (set_state_async_thread_func),
16200 (gst_element_set_state_async):
16201 Apparently people think it's better if this function doesn't
16202 try to set the state to whatever state was asked for on the first
16203 call to this function for any object. Seriously.
16205 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16207 * check/gst/gstpipeline.c: (GST_START_TEST):
16208 * docs/gst/gstreamer-sections.txt:
16209 * gst/gstutils.c: (set_state_async_thread_func),
16210 (gst_element_set_state_async):
16212 add a "gst_element_set_state_async" method that
16213 sets the state and starts a thread to make sure the state
16214 change completes as best as it can
16216 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16218 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16219 codify design+behaviour in testsuite after discussion
16221 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16223 * docs/gst/tmpl/gstelement.sgml:
16224 * docs/manual/appendix-quotes.xml:
16226 * gst/gstelement.c: (gst_element_set_state):
16229 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
16231 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16232 (gst_base_transform_prepare_output_buf),
16233 (gst_base_transform_handle_buffer):
16234 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16235 (gst_capsfilter_prepare_buf):
16236 Remove the requirement for sub-classes to call the parent
16237 implementation of prepare_output_buffer with a wrapper function.
16239 * gst/gsttaglist.h:
16240 * gst/gsttagsetter.h:
16241 Fix #define wrapper
16243 2005-09-11 Stefan Kost <ensonic@users.sf.net>
16245 * docs/gst/gstreamer-sections.txt:
16248 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16250 * docs/gst/gstreamer-sections.txt:
16251 * docs/gst/tmpl/gstelement.sgml:
16252 * docs/gst/tmpl/gstplugin.sgml:
16253 * gst/gstminiobject.c:
16255 docs now stop throwing warnings
16257 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16259 * docs/gst/gstreamer-sections.txt:
16260 * docs/gst/gstreamer.types:
16261 * docs/gst/tmpl/gstpad.sgml:
16262 * docs/gst/tmpl/gsttypes.sgml:
16263 * gst/base/gstadapter.h:
16264 * gst/base/gstbasesink.h:
16265 * gst/base/gstbasesrc.h:
16271 * gst/gstelement.h:
16273 * gst/gstmessage.h:
16275 * gst/gststructure.c:
16276 * gst/registries/gstlibxmlregistry.h:
16277 various documentation fixes
16279 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16281 * docs/gst/gstreamer-sections.txt:
16282 * docs/gst/tmpl/gstvalue.sgml:
16283 rearrange gstvalue section
16284 * gst/gstutils.c: (gst_element_state_get_name):
16286 * gst/gstvalue.c: (_gst_value_initialize):
16290 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
16292 * check/gst-libs/controller.c:
16293 Header include fix.
16294 * gst/base/gstbasetransform.c:
16295 (gst_base_transform_default_prepare_buf),
16296 (gst_base_transform_handle_buffer):
16297 * gst/base/gstbasetransform.h:
16298 Some more basetransform changes and fixes to enable sub-classes
16299 that modify buffer metadata only.
16300 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16301 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16302 (gst_capsfilter_prepare_buf):
16303 If the output pad has fixed allowed caps and input buffers
16304 don't have any, set the fixed caps on outgoing buffers.
16306 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
16307 * check/elements/identity.c: (GST_START_TEST):
16308 Make the error a little clearer when the test fails because
16309 identity made a copy of the buffer.
16310 * docs/gst/gstreamer-sections.txt:
16311 New symbols in gstbasetransform.h
16312 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16313 (gst_base_transform_init), (gst_base_transform_transform_size),
16314 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16315 (gst_base_transform_default_prepare_buf),
16316 (gst_base_transform_get_unit_size),
16317 (gst_base_transform_buffer_alloc),
16318 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16319 (gst_base_transform_change_state),
16320 (gst_base_transform_set_passthrough),
16321 (gst_base_transform_set_in_place),
16322 (gst_base_transform_is_in_place):
16323 * gst/base/gstbasetransform.h:
16324 Change BaseTransform to separate in_place operate from same_caps
16325 output. in_place implies that the element can perform the transform
16326 on incoming buffers in-place, even if the caps on the output are
16328 Sub-class elements can now implement special buffer allocation
16329 methods for outgoing buffers if they wish to.
16330 Big documentation addition.
16331 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16332 * gst/elements/gstelements.c:
16333 Changes for basetransform modifications.
16334 * gst/elements/Makefile.am:
16335 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16336 Compile fix. Extra debug output.
16338 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16340 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16342 add tests for valid pad naming
16343 * gst/check/gstcheck.c: (gst_check_log_message_func),
16344 (gst_check_log_critical_func):
16346 remove printing of code, it is fragile when the code contains
16347 % and the line number is enough info
16348 * gst/check/gstcheck.h:
16349 * gst/gstpad.c: (gst_pad_template_new):
16352 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16355 say what CHECK flags we use
16356 * docs/libs/gstreamer-libs.types:
16357 * libs/gst/controller/Makefile.am:
16358 * libs/gst/controller/gst-controller.c:
16359 * libs/gst/controller/gst-controller.h:
16360 * libs/gst/controller/gst-helper.c:
16361 * libs/gst/controller/gst-interpolation.c:
16362 * libs/gst/controller/gstcontroller.c:
16363 * libs/gst/controller/gsthelper.c:
16364 * libs/gst/controller/gstinterpolation.c:
16365 * tools/gst-inspect.c: (print_plugin_info):
16366 we don't use dashes in header names
16368 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16370 * check/Makefile.am:
16371 * check/gst/.cvsignore:
16372 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16373 (gst_pipeline_suite), (main):
16374 adding a test for pipelines and state changes
16375 * gst/gstutils.c: (get_state_func):
16377 * gstreamer.spec.in:
16380 2005-09-08 Michael Smith <msmith@fluendo.com>
16382 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16383 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16384 (gst_file_src_is_seekable), (gst_file_src_get_size),
16385 (gst_file_src_start):
16386 * gst/elements/gstfilesrc.h:
16387 Various fixes for unseekable, unmmapable, and non-normal files, so
16388 that fallback to read() rather than mmap() works.
16389 * gst/gstevent.c: (gst_event_new_newsegment):
16390 Allow newsegment events with segment_start == segment_end, as will
16391 correctly happen if you use filesrc on a zero-size file, for
16394 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16396 * gst/gstplugin.c: (gst_plugin_load_file):
16397 Call g_module_close when we don't load the module
16399 * gst/registries/gstlibxmlregistry.c:
16400 (gst_xml_registry_get_property):
16401 Port leak fix from 0.8
16403 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16405 * docs/gst/gstreamer-docs.sgml:
16406 * docs/gst/tmpl/.cvsignore:
16407 * docs/gst/tmpl/gsttrace.sgml:
16408 * docs/gst/tmpl/gsttrashstack.sgml:
16411 * gst/gstelement.h:
16413 * gst/gstmessage.c:
16414 * gst/gstmessage.h:
16417 * gst/gsttaginterface.c:
16418 * gst/gsttaginterface.h:
16419 * gst/gsttaglist.c:
16420 * gst/gsttaglist.h:
16421 * gst/gsttagsetter.c:
16422 * gst/gsttagsetter.h:
16425 * gst/gsttrashstack.c:
16426 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16427 inlined docs for gsttrace, gsttrashstack
16429 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16432 * gst/elements/gstbufferstore.h:
16433 * gst/elements/gsttypefindelement.c:
16434 * gst/elements/gsttypefindelement.h:
16436 * gst/gsttypefind.c:
16437 * gst/gsttypefind.h:
16438 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16439 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16440 (gst_type_find_factory_dispose),
16441 (gst_type_find_factory_unload_thyself),
16442 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16443 (gst_type_find_factory_get_caps),
16444 (gst_type_find_factory_get_extensions),
16445 (gst_type_find_factory_call_function):
16446 * gst/gsttypefindfactory.h:
16447 * gst/registries/gstlibxmlregistry.c:
16448 * gst/registries/gstxmlregistry.c:
16449 splitted gsttypefind into gsttypefind, gsttypefindfactory
16451 2005-09-07 Andy Wingo <wingo@pobox.com>
16453 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16454 condition whereby the pad's task function is entered before the
16455 pad_mode variable was set.
16457 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16459 * gst/gstpad.c: (gst_pad_alloc_buffer):
16460 Catch misbehaving pad_alloc functions that don't
16461 set up caps and do it for them.
16463 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16465 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16466 test for pipe!=NULL
16467 * docs/gst/tmpl/.cvsignore:
16468 * docs/gst/tmpl/gstmemchunk.sgml:
16469 * docs/gst/tmpl/gstparse.sgml:
16470 * docs/gst/tmpl/gsttaglist.sgml:
16471 * docs/gst/tmpl/gsttagsetter.sgml:
16472 * docs/gst/tmpl/gsttypefind.sgml:
16473 * docs/gst/tmpl/gsttypefindfactory.sgml:
16474 * gst/gstmemchunk.c:
16477 * gst/gsttaginterface.c:
16478 * gst/gsttypefind.c:
16479 * gst/gsttypefind.h:
16482 === release 0.9.2 ===
16484 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
16489 releasing 0.9.2, "South"
16491 2005-09-05 Andy Wingo <wingo@pobox.com>
16493 * gst/registries/gstxmlregistry.h:
16494 * gst/registries/gstxmlregistry.c: Um... resurrect...
16496 * gst/registries/gstxmlregistry.h:
16497 * gst/registries/gstxmlregistry.c: and update to newer API.
16498 Incidentally they should be a bit faster now that they don't have
16501 2005-09-05 Andy Wingo <wingo@pobox.com>
16503 * gst/registries/gstxmlregistry.h:
16504 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16505 replaced by the libxml registry a while back
16507 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16509 * docs/gst/tmpl/gstplugin.sgml:
16510 * gst/elements/gstelements.c:
16512 * gst/gstplugin.c: (gst_plugin_register_func),
16513 (gst_plugin_desc_copy), (gst_plugin_desc_free),
16514 (gst_plugin_get_source):
16516 * gst/registries/gstlibxmlregistry.c: (load_plugin),
16517 (gst_xml_registry_save_plugin):
16518 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16519 (gst_xml_registry_save_plugin):
16520 * tools/gst-inspect.c: (print_plugin_info):
16521 add a "source" plugin description field, to represent the source
16522 module this plugin is a part of. By default GST_PLUGIN_DEFINE
16523 will set it to PACKAGE, which is automake's idea of the name of
16524 the source project.
16526 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16531 * docs/Makefile.am:
16532 * docs/faq/Makefile.am:
16533 * docs/gst/tmpl/gstelement.sgml:
16534 * docs/gst/tmpl/gsttypes.sgml:
16535 * docs/htmlinstall.mak:
16536 * docs/manual/Makefile.am:
16537 * docs/pwg/Makefile.am:
16538 reorganize doc build a little
16539 split out docbook and gtk-doc stuff
16540 have two separate --enable's and enable them through autogen
16541 but disable by default in configure (to be similar to other
16543 * gstreamer.spec.in:
16544 clean up docs install
16562 translation updates
16564 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
16566 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16569 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16570 (gst_fake_sink_change_state):
16571 Make state change function thread-safe.
16573 * gst/gstpad.c: (gst_pad_alloc_buffer):
16574 Set offset on generic buffer allocated by fallback.
16576 2005-09-03 Stefan Kost <ensonic@users.sf.net>
16578 * docs/gst/gstreamer-sections.txt:
16579 * docs/gst/tmpl/gstelement.sgml:
16581 * libs/gst/controller/gst-controller.c:
16582 (gst_controlled_property_set_interpolation_mode),
16583 (gst_controlled_property_new),
16584 (gst_controller_find_controlled_property):
16585 run the wingo-magic script against the docs
16587 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16589 * docs/gst/gstreamer-docs.sgml:
16590 * docs/gst/gstreamer-sections.txt:
16591 * docs/gst/tmpl/.cvsignore:
16592 * docs/gst/tmpl/gstelementdetails.sgml:
16593 * docs/gst/tmpl/gstelementfactory.sgml:
16596 * gst/gstelementfactory.c:
16597 * gst/gstelementfactory.h:
16598 merged elementdetails docs into elementfactory docs
16601 2005-09-02 Andy Wingo <wingo@pobox.com>
16603 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16604 consider this enum an enum and not a flags.
16606 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16608 * docs/gst/gstreamer-docs.sgml:
16609 * docs/gst/tmpl/.cvsignore:
16610 * docs/gst/tmpl/gstghostpad.sgml:
16611 * docs/gst/tmpl/gstiterator.sgml:
16612 * docs/gst/tmpl/gstmacros.sgml:
16613 * docs/gst/tmpl/gstrealpad.sgml:
16614 * docs/gst/tmpl/gstregistry.sgml:
16615 * docs/gst/tmpl/gstregistrypool.sgml:
16616 * docs/gst/tmpl/gststructure.sgml:
16617 * docs/gst/tmpl/gstsystemclock.sgml:
16618 * docs/gst/tmpl/gsttrace.sgml:
16619 * gst/gstghostpad.c:
16621 * gst/gstmemchunk.c:
16622 * gst/gstmemchunk.h:
16624 * gst/gstregistry.c:
16625 * gst/gstregistrypool.c:
16626 * gst/gststructure.c:
16627 * gst/gstsystemclock.c:
16630 2005-09-02 Andy Wingo <wingo@pobox.com>
16632 * gst/gstelement.h (GstState): Renamed from GstElementState,
16633 changed to be a normal enum instead of flags.
16634 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16635 munged to be GST_STATE_CHANGE_*.
16636 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16637 work with the new state representation.
16638 (GstStateChange): New enumeration of possible state transitions.
16639 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16640 (GstElementClass::change_state): Pass the GstStateChange along as
16641 an argument. Helps language bindings, so they don't have to use
16642 tricky lock-needing macros like GST_STATE_CHANGE ().
16644 * scripts/update-states (file): New script. Run it on a file to
16645 update it for state naming and API changes. Updates files in
16648 * All files updated for the new API.
16650 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
16652 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16653 * gst/gstutils.c: (gst_util_set_value_from_string),
16654 (gst_util_set_object_arg):
16655 fix a bunch of unchecked return values
16656 * tools/gst-complete.c: (main):
16657 * gstreamer.spec.in:
16660 2005-09-01 Wim Taymans <wim@fluendo.com>
16662 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16663 (gst_base_sink_event), (gst_base_sink_do_sync),
16664 (gst_base_sink_handle_event):
16665 * gst/base/gstbasesink.h:
16666 Handle newsegments more correctly.
16671 * gst/gstevent.c: (gst_event_new_newsegment):
16672 A newsegment cannot have a start_time of -1
16674 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
16676 * win32/gstenumtypes.c:
16677 * win32/gstenumtypes.h:
16680 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16682 * libs/gst/controller/gst-controller.c:
16683 (gst_controlled_property_set_interpolation_mode),
16684 (gst_controlled_property_new):
16685 fixed boolean again
16687 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
16689 * docs/faq/gst-uninstalled:
16694 * gst/gstutils.c: (gst_element_link_filtered):
16696 add gst_element_link_filtered
16698 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16700 * docs/gst/gstreamer-docs.sgml:
16701 * docs/gst/gstreamer-sections.txt:
16702 * docs/gst/tmpl/.cvsignore:
16703 * docs/gst/tmpl/gsterror.sgml:
16704 * docs/gst/tmpl/gstfilter.sgml:
16705 * docs/gst/tmpl/gsturihandler.sgml:
16706 * docs/gst/tmpl/gsturitype.sgml:
16707 * docs/gst/tmpl/gstutils.sgml:
16708 * docs/gst/tmpl/gstxml.sgml:
16713 * gst/gsturitype.c:
16716 inlined more docs, fixed double id-ref
16718 2005-08-31 Wim Taymans <wim@fluendo.com>
16720 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16721 (gst_base_transform_handle_buffer):
16722 Passthrough elements don't need the caps as they don't care.
16724 2005-08-31 Wim Taymans <wim@fluendo.com>
16726 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16727 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16728 Don't leak refcounts on buffers.
16730 2005-08-31 Wim Taymans <wim@fluendo.com>
16732 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16733 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16734 (gst_base_transform_chain), (gst_base_transform_change_state):
16735 * gst/base/gstbasetransform.h:
16736 Handle the case where we are not negotiated more gracefully.
16738 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
16740 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16741 (gst_file_src_map_region):
16742 Set READONLY flag on mmap'ed buffers, otherwise
16743 gst_buffer_make_writable() won't work properly (#314708).
16745 2005-08-31 Wim Taymans <wim@fluendo.com>
16747 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16748 passthrough elements can even do inplace on non writable
16749 buffers (as they don't touch them).
16751 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16753 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16754 (gst_test_mono_source_set_property),
16755 (gst_test_mono_source_class_init), (GST_START_TEST),
16756 (gst_controller_suite):
16757 more tests (hehe I have the most)
16759 describe popping messages whenusing mulltiple sources
16760 * libs/gst/controller/gst-controller.c:
16761 (gst_controlled_property_set_interpolation_mode),
16762 (gst_controlled_property_new):
16763 * libs/gst/controller/gst-controller.h:
16764 * libs/gst/controller/gst-interpolation.c:
16765 implement boolean properties
16767 2005-08-31 Wim Taymans <wim@fluendo.com>
16769 * gst/gstminiobject.c: (gst_mini_object_ref):
16770 Cannot assert that the refcount has to be positive
16771 since a disposed object can be resurrected.
16773 2005-08-31 Wim Taymans <wim@fluendo.com>
16775 * gst/gstpad.c: (gst_pad_init):
16776 Revert change, need to first fix badly behaving
16779 2005-08-30 Wim Taymans <wim@fluendo.com>
16781 * check/elements/fakesrc.c: (setup_fakesrc):
16782 * check/elements/identity.c: (setup_identity):
16783 Activate pads before using them.
16785 2005-08-30 Wim Taymans <wim@fluendo.com>
16787 * gst/base/gstadapter.c: (gst_adapter_flush):
16788 Flushing out 0 bytes is ok for this function.
16790 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16791 no newsegment gives a warning and sets the start/stop to
16794 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16795 (gst_base_transform_set_passthrough):
16798 * gst/gstminiobject.c: (gst_mini_object_ref):
16799 Check refcount here too.
16801 * gst/gstpad.c: (gst_pad_init):
16802 Pads are initially flushing and refusing data.
16804 * gst/gstutils.c: (gst_element_link_pads_filtered):
16805 When adding a capsfilter element make sure it has the
16806 same state as the parent bin.
16808 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16810 * docs/gst/tmpl/.cvsignore:
16811 * docs/gst/tmpl/gstformat.sgml:
16812 * docs/gst/tmpl/gstversion.sgml:
16816 * gst/gstversion.h.in:
16817 more docs and two more inlined
16819 2005-08-30 Wim Taymans <wim@fluendo.com>
16821 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
16822 Don't sync to clock.
16824 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16826 * docs/gst/gstreamer-sections.txt:
16827 ultral33t func10ns deserve to appear in the docs actually
16828 * docs/gst/tmpl/.cvsignore:
16829 * docs/gst/tmpl/gstcompat.sgml:
16830 * docs/gst/tmpl/gstconfig.sgml:
16831 * gst/check/gstcheck.c:
16833 * gst/gstconfig.h.in:
16836 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16838 * docs/gst/tmpl/.cvsignore:
16839 * docs/gst/tmpl/gstquery.sgml:
16840 * docs/gst/tmpl/gstutils.sgml:
16843 inlined and extended docs
16845 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16847 * check/gst-libs/controller.c: (GST_START_TEST),
16848 (gst_controller_suite):
16850 * docs/gst/tmpl/gstutils.sgml:
16851 * docs/libs/gstreamer-libs-sections.txt:
16852 * docs/libs/tmpl/gstdataprotocol.sgml:
16854 * examples/controller/audio-example.c: (main):
16855 controller example works now
16858 * tools/gst-inspect.c: (print_element_properties_info):
16859 show param spec flags
16861 2005-08-29 Andy Wingo <wingo@pobox.com>
16863 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
16865 2005-08-28 Andy Wingo <wingo@pobox.com>
16867 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
16868 as having two arguments instead of just one. Allows superclasses
16869 to access information on subclasses -- see the terrible for() loop
16870 in gtype.c:g_type_create_instance for the reason why. All callers
16873 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16875 * docs/design/part-messages.txt:
16877 * docs/gst/tmpl/.cvsignore:
16878 * docs/gst/tmpl/gstcaps.sgml:
16879 * docs/gst/tmpl/gstclock.sgml:
16885 * gst/gstmessage.c:
16886 added descriptions for bus and message
16887 inline caps and clock docs
16889 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16891 * gst/gstmessage.c:
16892 * gst/gstmessage.h:
16895 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16897 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16900 2005-08-26 Andy Wingo <wingo@pobox.com>
16902 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
16903 element_set_state's return val.
16904 (test_2_elements): Add test that's been disabled for months.
16906 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
16907 can-activate-pull properties.
16909 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
16910 can-activate-pull properties. Implement is_seekable so fakesrc can
16911 operate in pull mode.
16913 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
16915 (gst_base_sink_activate, gst_base_sink_activate_pull)
16916 (gst_base_sink_activate_push): Make activation mode choosing work.
16918 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
16919 is right. Make pull mode work. Post an eos before pausing in pull
16921 (gst_base_sink_change_state): Pay attention to the core's
16922 change_state() return val.
16924 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
16925 has-getrange properties. Cleanups.
16927 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
16928 has_getrange and replace with can_activate_pull and
16931 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
16932 locking comments. Remove has_loop, has_chain and replace with
16933 can_activate_pull and can_activate_push.
16935 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
16938 * examples/Makefile.am:
16939 * examples/metadata/Makefile.am:
16940 * examples/metadata/read-metadata.c: (message_loop),
16941 (have_pad_handler), (make_pipeline), (print_tag), (main):
16942 Add metadata reading example that loops over a list of filenames,
16943 dumping any tags found.
16945 * gst/gstbus.c: (gst_bus_dispose):
16946 * gst/gstelement.c: (gst_element_dispose):
16947 Release a few potentially-held references in dispose.
16949 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16951 * docs/gst/tmpl/gstminiobject.sgml:
16952 do *not* add tmpl/*.sgml files to CVS!
16954 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16956 * libs/gst/bytestream/.cvsignore:
16957 * libs/gst/bytestream/Makefile.am:
16958 * libs/gst/bytestream/adapter.c:
16959 * libs/gst/bytestream/adapter.h:
16960 * libs/gst/bytestream/bytestream.c:
16961 * libs/gst/bytestream/bytestream.h:
16962 * libs/gst/bytestream/filepad.c:
16963 * libs/gst/bytestream/filepad.h:
16964 removing obsolete files
16966 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16968 * docs/gst/gstreamer-docs.sgml:
16969 * docs/libs/gstreamer-libs-docs.sgml:
16970 disabed additional index entries again, as this makes docs-gen just
16971 slow and they aren't useful yet
16972 * docs/libs/gstreamer-libs-sections.txt:
16973 little -section.txt cleanup for libs
16975 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
16977 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16978 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
16979 fix up some debugging
16980 (gst_base_transform_get_unit_size),
16981 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16982 (gst_base_transform_handle_buffer):
16983 * gst/base/gstbasetransform.h:
16984 handle and store timed NEWSEGMENT events so that subclasses that
16985 calculate time by counting samples have a segment_start time they
16986 need to add to their timestamps - see audioresample
16988 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16991 removed ';' from the end of macro defs
16992 * docs/gst/gstreamer-docs.sgml:
16993 * docs/gst/gstreamer-sections.txt:
16994 * docs/gst/tmpl/.cvsignore:
16996 * gst/gstelement.c: (gst_element_class_init),
16997 (gst_element_set_state), (activate_pads),
16998 (gst_element_save_thyself):
16999 * gst/gstevent.c: (gst_event_new_newsegment):
17001 * gst/gstiterator.c:
17002 * gst/gstiterator.h:
17005 * gst/gstutils.c: (gst_pad_query_convert):
17007 fixed parameter name mismatches between source, header and docs
17008 added some more docs, resolved the last batch of unused elements in
17009 docs (now someone needs to doc them)
17011 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17013 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17014 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17015 don't walk through the plugins backwards. Where is all this
17016 reversed logic coming from ?
17018 2005-08-25 Wim Taymans <wim@fluendo.com>
17020 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17021 (gst_base_transform_transform_size),
17022 (gst_base_transform_configure_caps),
17023 (gst_base_transform_get_unit_size),
17024 (gst_base_transform_buffer_alloc),
17025 (gst_base_transform_change_state):
17026 * gst/base/gstbasetransform.h:
17027 Cache caps unit_size.
17028 Make sure we cannot negotiate up and downstream at the
17031 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17033 * gst/gst.c: (init_pre), (init_post):
17034 register the installed plugin path after the env var
17035 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17036 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17037 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17038 directories, so the tests can prefer uninstalled over installed
17040 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17042 * gst/base/gstbasetransform.h:
17047 2005-08-25 Wim Taymans <wim@fluendo.com>
17049 * gst/gstbin.c: (bin_bus_handler):
17050 Be a bit more conservative about the posted message.
17052 * gst/gstbus.c: (gst_bus_post):
17053 Some cleanups, warn wrong return values.
17055 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
17057 * check/gst/gstbin.c: (GST_START_TEST):
17058 * gst/gstbin.c: (bin_bus_handler):
17059 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17060 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17061 (gst_message_new_warning), (gst_message_new_tag),
17062 (gst_message_new_state_changed), (gst_message_new_segment_start),
17063 (gst_message_new_segment_done), (gst_message_new_custom):
17064 * gst/gstmessage.h:
17065 * tools/gst-launch.c: (event_loop):
17066 * tools/gst-md5sum.c: (event_loop):
17067 Revert unpopular change for GST_MESSAGE_SRC to GObject.
17069 2005-08-25 Wim Taymans <wim@fluendo.com>
17071 * check/generic/states.c: (GST_START_TEST):
17072 Cleanup can be done at the end.
17074 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17075 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17076 (gst_task_get_state), (gst_task_start), (gst_task_pause):
17077 Oh boy.. Thanks for finding this, Thomas.
17079 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17081 * docs/gst/gstreamer.types:
17082 added missing types
17084 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17086 * docs/gst/gstreamer-docs.sgml:
17087 * docs/gst/gstreamer-sections.txt:
17088 * docs/gst/tmpl/.cvsignore:
17090 * gst/gstiterator.c:
17092 * gst/registries/gstxmlregistry.h:
17093 added missing classes and symbols (123 more to go)
17094 removed removed symbols from section file
17095 fixed many doc-comments
17097 2005-08-24 Wim Taymans <wim@fluendo.com>
17099 * check/generic/states.c: (GST_START_TEST):
17100 Make sure all tasks are stopped.
17102 * check/gst/gstbin.c: (GST_START_TEST):
17103 Unref after usage for proper valgrinding.
17105 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17106 Really wait for the task to stop before destroying the
17109 * gst/gstqueue.c: (gst_queue_sink_activate_push),
17110 (gst_queue_src_activate_push):
17111 Small cleanups. Don't stop the task when we did not start
17114 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17115 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17116 (gst_task_get_state), (gst_task_start), (gst_task_pause),
17119 Protect the stream lock with the object lock.
17120 Disallow setting the stream lock when running.
17121 Add cleanup_all to wait for the threadpool to finish.
17122 Remove code to autoallocate a mutex if none was provided.
17123 Add _join() to wait for a task to stop.
17124 Protect the thread pool with a global lock.
17126 2005-08-24 Wim Taymans <wim@fluendo.com>
17128 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17129 (gst_base_sink_get_times), (gst_base_sink_do_sync),
17130 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17131 * gst/base/gstbasesink.h:
17132 Handle newsegment events correctly.
17133 Drop buffers out of the segment range.
17135 2005-08-22 Andy Wingo <wingo@pobox.com>
17137 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17138 macro, implements an interface and gstimplementsinterface for a
17141 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17143 * check/Makefile.am:
17144 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17145 add a test that does a bunch of state changes on elements
17146 needs some fixing for valgrind
17147 * check/states/sinks.c: (gst_object_suite):
17150 add prototype for gst_caps_is_equal_fixed
17152 * gst/gstregistrypool.c:
17155 2005-08-24 Andy Wingo <wingo@pobox.com>
17157 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17158 convert a negative value. Doesn't make much sense. Mostly this is
17159 here to force callers to ensure -1 maps to -1.
17161 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17163 * docs/pwg/advanced-types.xml:
17164 Well done to Michael for catching my deliberate introduction
17165 of this spelling mistake.
17166 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17167 * gst/gstelement.h:
17168 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17169 unlink pads before removing the element from the bin.
17171 2005-08-24 Andy Wingo <wingo@pobox.com>
17173 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17174 the same thing as GST_DEBUG=*:4.
17175 (parse_debug_level, parse_debug_category): New helper parsers.
17177 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17179 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17180 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17181 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17182 (gst_base_transform_buffer_alloc),
17183 (gst_base_transform_handle_buffer):
17184 use gboolean return values and pointers to size so we can use the
17185 full GST_BUFFER_SIZE range (guint) for buffer sizes
17186 use GstPadDirection for transform_caps
17187 * gst/base/gstbasetransform.h:
17188 rename get_size to get_unit_size since that's what it is
17189 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17190 use GstPadDirection for transform_caps
17191 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17193 cleanup and debugging
17195 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17197 * gst/gstelement.c: (gst_element_class_init),
17198 (gst_element_set_state), (activate_pads),
17199 (gst_element_save_thyself):
17200 * tools/gst-compprep.c: (main):
17201 * tools/gst-inspect.c: (print_element_properties_info):
17202 * tools/gst-xmlinspect.c: (print_element_properties):
17203 Fixed long standing mem-leak
17205 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17207 * check/gst/gstbin.c: (GST_START_TEST):
17208 * gst/gstbin.c: (bin_bus_handler):
17209 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17210 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17211 (gst_message_new_warning), (gst_message_new_tag),
17212 (gst_message_new_state_changed), (gst_message_new_segment_start),
17213 (gst_message_new_segment_done), (gst_message_new_custom):
17214 * gst/gstmessage.h:
17215 * tools/gst-launch.c: (event_loop):
17216 * tools/gst-md5sum.c: (event_loop):
17217 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17218 that applications can sensibly post custom messages with references
17219 to their own objects.
17221 2005-08-24 Andy Wingo <wingo@pobox.com>
17223 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17226 2005-08-24 Wim Taymans <wim@fluendo.com>
17228 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17229 (gst_base_transform_transform_caps),
17230 (gst_base_transform_transform_size),
17231 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17232 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17233 (gst_base_transform_handle_buffer):
17234 * gst/base/gstbasetransform.h:
17235 Many fixes and new features added by Thomas. Can now also do
17236 transforms with variable sizes and a custom fixate_caps function.
17238 2005-08-24 Wim Taymans <wim@fluendo.com>
17240 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17244 Cast to ClockTime before formatting to time.
17249 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17251 * check/gst-libs/controller.c: (GST_START_TEST),
17252 (gst_controller_suite):
17253 * docs/gst/tmpl/gstcaps.sgml:
17254 * docs/gst/tmpl/gstghostpad.sgml:
17255 * docs/gst/tmpl/gstquery.sgml:
17256 * docs/gst/tmpl/gstutils.sgml:
17257 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17258 (gst_object_sink_values), (gst_object_get_value_arrays),
17259 (gst_object_get_value_array):
17260 gracefully handle helper method calls to objects that are not beeing
17261 controlled, added test case for that
17263 2005-08-23 Wim Taymans <wim@fluendo.com>
17265 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17266 (gst_event_new_newsegment), (gst_event_parse_newsegment),
17267 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17268 (gst_event_parse_qos), (gst_event_new_seek),
17269 (gst_event_parse_seek):
17271 Some more debugging output and doc cleanups.
17273 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17274 Fix possible deadlock.
17276 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17278 * docs/gst/gstreamer-docs.sgml:
17279 * docs/gst/gstreamer-sections.txt:
17280 * docs/gst/gstreamer.types:
17281 * docs/gst/tmpl/.cvsignore:
17284 * gst/gstelement.c:
17286 added 100 symbols from gstreamer-unused.txt to the right sections
17287 fixed more broken comments
17288 added GstBus to docs
17290 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17292 * docs/gst/gstreamer-sections.txt:
17293 * docs/gst/tmpl/.cvsignore:
17294 * docs/gst/tmpl/gstbin.sgml:
17295 * docs/gst/tmpl/gstbuffer.sgml:
17296 * gst/base/gstbasesrc.c:
17297 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17300 * tools/gst-launch.1.in:
17301 inlined more doc comments, added missing comments and fixed comments
17304 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
17306 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17310 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17312 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17313 * gst/gststructure.h:
17314 add a fixate function for booleans; add a FIXME that these func
17315 names should probably be gst_structure_fixate_*
17317 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17319 * docs/gst/gstreamer-docs.sgml:
17320 * docs/gst/gstreamer-sections.txt:
17322 * gst/gstbin.c: (gst_bin_get_type),
17323 (gst_bin_child_proxy_get_child_by_index),
17324 (gst_bin_child_proxy_get_children_count),
17325 (gst_bin_child_proxy_init):
17326 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17327 (gst_child_proxy_get_child_by_index),
17328 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17329 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17330 (gst_child_proxy_get), (gst_child_proxy_set_property),
17331 (gst_child_proxy_set_valist), (gst_child_proxy_set),
17332 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17333 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17334 * gst/gstchildproxy.h:
17335 * gst/parse/grammar.y:
17336 * tools/gst-inspect.c: (print_interfaces),
17337 (print_element_properties_info), (print_element_info):
17338 ported gstchildproxy over from 0.8
17339 ported gst-inspect fixes and enhancements over from 0.8
17341 2005-08-22 Wim Taymans <wim@fluendo.com>
17343 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17344 (gst_base_transform_handle_buffer):
17345 Also call the transform function if we have ANY caps.
17347 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17350 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17352 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17353 Don't pretend to handle seek events if the source is not seekable
17355 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17357 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17358 Remove extra parameter to debug output
17360 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17361 (gst_base_src_do_seek), (gst_base_src_activate_push):
17362 Fix seek event handling.
17364 * gst/gstpipeline.c: (gst_pipeline_change_state):
17365 * gst/gstqueue.c: (gst_queue_handle_sink_event),
17366 (gst_queue_src_activate_push):
17367 Don't start the src pad task on FLUSH_STOP if the pad
17371 2005-08-22 Wim Taymans <wim@fluendo.com>
17373 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17374 Added check for gst_static_caps_get() refcounting.
17376 2005-08-22 Wim Taymans <wim@fluendo.com>
17378 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17379 Make _static_caps_get() refcounting sane.
17381 * gst/gstelement.c: (gst_element_set_state):
17382 Add g_return_val_if_fail() to protect against segfaults.
17384 2005-08-22 Stefan Kost <ensonic@users.sf.net>
17386 * docs/gst/tmpl/gstevent.sgml:
17389 inlined remaining docs, added missing doc comments
17391 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
17393 * check/gst/gstbin.c: (GST_START_TEST):
17394 since we don't know when preroll is done, use refcount range
17396 * gst/check/gstcheck.h:
17397 add macro for checking refcount range
17399 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17401 * check/Makefile.am:
17402 clean up environment for when registry gets built versus
17403 when actual tests are run; valgrind seems to not report
17404 leaks if GST_PLUGIN_PATH is set to some specific values
17405 * check/gst/gstbin.c: (GST_START_TEST):
17406 add more refcounting checks; maybe this exposes a
17408 * common/check.mak:
17409 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17410 * gst/check/gstcheck.h:
17411 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17412 (gst_bin_change_state):
17413 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17414 add/fix debugging/whitespace
17416 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17418 * check/gst/gstevent.c: (event_probe), (test_event),
17420 Er, don't call gst_bin_watch_for_state_change you idiot.
17422 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17424 * check/Makefile.am:
17425 Use CHECK_CFLAGS and CHECK_LIBS
17426 * check/gst/gstevent.c: (event_probe), (test_event),
17429 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17430 (gst_base_src_start), (gst_base_src_stop),
17431 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17432 (gst_base_src_change_state):
17433 Sprinkle gst_base_src_stop liberally around error paths to fix
17434 problems reusing a source after failed state changes.
17435 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17436 (helper_find_suggest), (gst_type_find_helper):
17437 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17439 * docs/gst/tmpl/gstevent.sgml:
17440 Migrate part of the docs from the SGML file. Wait for ensonic to
17441 tell me how I did it wrong ;)
17442 * tools/gst-typefind.c: (main):
17443 Extra robustness to state changes between files.
17445 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17447 * check/Makefile.am:
17448 don't valgrind the controller test - it's leaking - Stefan, HELP
17449 * gst/check/gstcheck.c: (gst_check_message_error),
17450 (gst_check_chain_func), (gst_check_setup_element),
17451 (gst_check_teardown_element), (gst_check_setup_src_pad),
17452 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17453 (gst_check_teardown_sink_pad):
17454 * gst/check/gstcheck.h:
17455 add a bunch of methods to set up elements, and src and sink pads
17456 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17457 * check/elements/identity.c: (setup_identity), (cleanup_identity),
17460 * gst/gstmessage.c:
17462 whitespace/doc fixes
17464 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17466 * gst/gstelement.h:
17467 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17468 be handled by the application and not always printed as well
17470 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17472 * check/Makefile.am:
17474 * gst/check/gstcheck.c: (gst_check_message_error):
17475 * gst/check/gstcheck.h:
17476 add a fail_unless_equals_int
17477 add fail_unless for error messages
17479 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17481 * check/Makefile.am:
17483 * common/Makefile.am:
17484 * common/check.mak:
17486 factor out some of the common stuff so we can use it
17488 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17490 * check/Makefile.am:
17491 * check/gst/gstiterator.c: (GST_START_TEST):
17492 * check/gst/gstsystemclock.c: (GST_START_TEST),
17493 (gst_systemclock_suite):
17494 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17496 valgrind more tests
17498 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17500 * check/elements/.cvsignore:
17501 * check/elements/gstfakesrc.c:
17502 rename to name of element
17503 * check/elements/identity.c: (chain_func), (event_func),
17504 (setup_identity), (cleanup_identity), (GST_START_TEST),
17505 (identity_suite), (main):
17506 add a test for identity
17507 * check/Makefile.am:
17508 * pkgconfig/Makefile.am:
17509 * pkgconfig/gstreamer-check.pc.in:
17510 * pkgconfig/gstreamer-check-uninstalled.pc.in:
17514 move the check stuff to a library that gets installed
17515 * check/gst-libs/controller.c: (GST_START_TEST):
17516 * check/gst-libs/gdp.c:
17517 * check/gst/gst.c: (GST_START_TEST):
17518 * check/gst/gstbin.c:
17519 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17520 * check/gst/gstbus.c:
17521 * check/gst/gstcaps.c: (GST_START_TEST):
17522 * check/gst/gstelement.c:
17523 * check/gst/gstghostpad.c:
17524 * check/gst/gstiterator.c:
17525 * check/gst/gstmessage.c:
17526 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17527 * check/gst/gstobject.c:
17528 * check/gst/gstpad.c: (GST_START_TEST):
17529 * check/gst/gststructure.c: (GST_START_TEST):
17530 * check/gst/gstsystemclock.c: (GST_START_TEST),
17531 (gst_systemclock_suite):
17532 * check/gst/gsttag.c: (gst_tag_suite):
17533 * check/gst/gstvalue.c:
17534 * check/pipelines/cleanup.c:
17535 * check/pipelines/simple_launch_lines.c:
17536 * check/states/sinks.c:
17537 change include statement
17539 * docs/gst/gstreamer-sections.txt:
17540 * docs/gst/tmpl/gstpad.sgml:
17541 document more pad stuff
17542 * gst/gstminiobject.c: (gst_mini_object_ref),
17543 (gst_mini_object_unref):
17546 2005-08-19 Stefan Kost <ensonic@users.sf.net>
17548 * docs/gst/tmpl/gst.sgml:
17550 eliminate another tmpl file, fix spelling in the long-description
17552 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17554 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17555 (test_event), (timediff), (gstevents_suite):
17556 Should fix build on 64-bit arch's
17558 2005-08-18 Andy Wingo <wingo@pobox.com>
17560 Make sure that when a pipeline goes to PLAYING, that data has
17561 actually hit the sink.
17563 * check/states/sinks.c (test_sink): A sink that doesn't get any
17564 data shouldn't return SUCCESS for going to either PLAYING or
17565 PAUSED. Test also the return values on the way back down.
17567 * gst/gstelement.c (gst_element_set_state): When changing the
17568 state of an element currently changing state asynchronously, go to
17569 lost-state after commiting the pending state. Makes future calls
17570 to get_state continue to return ASYNC.
17572 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17573 ASYNC when going to PLAYING if we still don't have preroll, as can
17574 happen with live sources.
17576 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17578 * docs/pwg/advanced-types.xml:
17579 Hack long paragraph into 2 chunks as a workaround for buggy
17580 jadetex version in sid and breezy that loops infinitely and
17583 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17585 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17586 (test_event), (timediff), (gstevents_suite):
17587 Provide more error margin in clock measurements to allow for
17588 g_get_current_time inaccuracies.
17590 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17592 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17593 (test_event), (timediff), (gstevents_suite):
17594 Fix error message output so I might be able to tell why the
17595 test works here but fails on the build farm.
17597 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17599 * check/Makefile.am:
17600 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17601 (test_event), (timediff), (gstevents_suite), (main):
17604 * docs/design/part-seeking.txt:
17605 Spelling correction
17607 * docs/gst/tmpl/gstevent.sgml:
17608 * docs/gst/tmpl/gstfakesrc.sgml:
17611 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17612 Treat a buffer-without-newsegment the same as a receiving
17613 a newsegment not in time format, and disable syncing to the clock
17616 * gst/gstbus.c: (gst_bus_set_sync_handler):
17617 Assert if anyone tries to replace the existing sync_handler for bus,
17618 as only the owner should be setting it.
17621 Have a fixed set of custom event enums with events identified by
17622 their structure name (as in 0.8), rather than a free-for-all
17623 allowing collisions between enum values from different plugins.
17625 * gst/gstpad.c: (gst_pad_class_init):
17628 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17629 Handle out-of-band downstream events from the sending thread.
17631 2005-08-17 Andy Wingo <wingo@pobox.com>
17633 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17634 play-timeout==0 to mean no timeout at all. In that case, don't
17635 bother with a get_state or a warning, just return directly, even
17638 * gst/base/gstbasetransform.c: Debug changes.
17641 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17642 ensure bins post state change messages. A bit of a hack but I can't
17643 think of a way to avoid it.
17645 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17647 2005-08-16 Andy Wingo <wingo@pobox.com>
17649 * gst/base/gstadapter.h:
17650 * gst/base/gstadapter.c (gst_adapter_take): New function, like
17651 peek() but you own the data. Not terribly efficient atm.
17653 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17655 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17656 (gst_element_found_tags):
17658 Add two utility functions for tag handling.
17660 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17662 * docs/manual/advanced-dataaccess.xml:
17663 * docs/manual/basics-helloworld.xml:
17664 Fix docs to use _bin_add() before _link(), which fixes the examples
17665 with recent core versions (reported by Madhan Raj M
17666 <raj_madan@rediffmail.com>, #313199).
17668 2005-08-16 Wim Taymans <wim@fluendo.com>
17670 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17671 Added subtract checks.
17673 * docs/design/part-events.txt:
17674 Some more docs about newsegment
17676 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17679 * gst/gstcaps.c: (gst_caps_to_string):
17680 Add comments, cleanups.
17682 * gst/gstelement.c: (gst_element_save_thyself):
17685 * gst/gstvalue.c: (gst_value_collect_int_range),
17686 (gst_string_unwrap), (gst_value_union_int_int_range),
17687 (gst_value_union_int_range_int_range),
17688 (gst_value_intersect_int_int_range),
17689 (gst_value_intersect_int_range_int_range),
17690 (gst_value_intersect_double_double_range),
17691 (gst_value_intersect_double_range_double_range),
17692 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17693 (gst_value_subtract_int_range_int),
17694 (gst_value_subtract_double_range_double),
17695 (gst_value_subtract_double_range_double_range),
17696 (gst_value_subtract_from_list), (gst_value_subtract_list),
17697 (gst_value_can_compare), (gst_value_compare_fraction):
17698 Cleanups, add comments, remove unneeded asserts.
17700 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17702 * tools/gst-launch.c: (event_loop):
17703 don't convert NULL structures to strings
17705 2005-08-15 Stefan Kost <ensonic@users.sf.net>
17707 * docs/gst/gstreamer-sections.txt:
17708 made some defines private
17709 * docs/gst/tmpl/gstconfig.sgml:
17710 * docs/gst/tmpl/gstqueue.sgml:
17711 * docs/gst/tmpl/gsttaglist.sgml:
17712 * docs/gst/tmpl/gsttypes.sgml:
17713 * docs/gst/tmpl/gstutils.sgml:
17714 * docs/pwg/appendix-porting.xml:
17715 * gst/base/gstbasesink.h:
17716 * gst/base/gstbasesrc.c:
17717 * gst/base/gstbasesrc.h:
17718 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17719 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17720 * gst/gstelement.c: (gst_element_class_init):
17721 * gst/gstpad.c: (gst_pad_class_init):
17722 * gst/gstqueue.c: (gst_queue_class_init):
17723 * gst/gstxml.c: (gst_xml_class_init):
17724 documented all undocumented signal inline
17725 * libs/gst/controller/gst-controller.h:
17728 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17730 * docs/pwg/appendix-porting.xml:
17731 Document _set_link_function -> _set_setcaps_function.
17733 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17735 * check/Makefile.am:
17736 add a .check target for running the check
17737 * check/gst-libs/controller.c: (GST_START_TEST):
17739 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17740 complete checks for gstbuffer; would be nice if I could get the
17741 gcov stuff to work so I can see if I actually completed gstbuffer.c
17742 * check/gstcheck.h:
17743 add ASSERT_BUFFER_REFCOUNT
17745 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
17747 * docs/gst/gstreamer-sections.txt:
17748 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17750 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17751 spew out a warning if a tag that is already registered
17752 is re-registered, unless it is re-registered with a
17753 different type (#308438).
17755 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
17757 * docs/pwg/appendix-porting.xml:
17758 * docs/pwg/building-state.xml:
17759 Add some paragraphs about state changes in 0.9 to the PWG
17760 and the porting guide, in particular about the new meaning
17761 of GST_STATE_PAUSED and how to write state change functions
17762 with concurrent access by multiple threads in mind.
17764 2005-08-11 Stefan Kost <ensonic@users.sf.net>
17766 * docs/gst/gstreamer-docs.sgml:
17767 * docs/libs/gstreamer-libs-docs.sgml:
17768 added deprecation and since indexes
17769 * libs/gst/controller/gst-controller.c:
17770 * libs/gst/controller/gst-helper.c:
17774 2005-08-11 Wim Taymans <wim@fluendo.com>
17776 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17777 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17778 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17779 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17780 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17781 (gst_ghost_pad_set_target):
17782 Actually implement (re)setting the target on a ghostpad
17783 as described in the docs.
17785 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17787 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17788 Check whether GST_DEBUG_NO_COLOR environment variable is
17789 set and disable coloured debug output if that is the case.
17791 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17793 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17794 (gst_type_find_helper):
17795 The memory returned by gst_type_find_peek() needs to
17796 stay valid until the end of a typefind function, and
17797 typefind functions may keep results from different
17798 offsets around, so we can't just unref the buffer from
17799 the previous _peek(), but have to save all buffers
17800 returned by _peek() until typefinding is done and only
17803 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
17805 * docs/gst/gstreamer-sections.txt:
17807 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
17809 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17811 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17812 Fix a pretty good memleak.
17814 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17816 * gst/gstiterator.h:
17817 Fix wrong include and 'make distcheck'.
17819 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17821 * gst/gstbin.c: (bin_bus_handler):
17822 Use gst_element_post_message() instead.
17824 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17826 * gst/base/gstadapter.h:
17827 * gst/base/gstbasesink.h:
17828 * gst/base/gstbasesrc.h:
17829 * gst/base/gstbasetransform.h:
17830 * gst/base/gstcollectpads.h:
17831 * gst/base/gstpushsrc.h:
17832 * gst/gstiterator.h:
17833 Add padding to our base elements' class and instance structs and
17834 to GstIterator (you will need to rebuild all plugins and apps!)
17836 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17838 * gst/gstbin.c: (bin_bus_handler):
17839 Make default message forwarding from child->bus to bin->bus
17840 threadsafe and make it not emit warnings if the parent has no bus.
17842 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17844 * gst/gstelement.c: (activate_pads):
17845 On paused->ready, set pad->caps to NULL, as is the documented
17846 behaviour in this state change. Fixes playback of series of
17847 media files when visualization is enabled in Totem.
17849 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17851 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17852 Allow NULL as filter-caps (which means "any").
17854 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17856 * docs/libs/gstreamer-libs-sections.txt:
17857 * libs/gst/controller/gst-controller.c:
17858 * libs/gst/controller/gst-controller.h:
17859 * libs/gst/controller/gst-helper.c:
17860 adding more entries to the docs and fix small doc-bugs
17862 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17864 * docs/gst/gstreamer-docs.sgml:
17865 * docs/gst/gstreamer-sections.txt:
17866 * docs/gst/gstreamer.types:
17867 * docs/gst/tmpl/gstbasesink.sgml:
17868 * docs/gst/tmpl/gstbasesrc.sgml:
17869 * docs/gst/tmpl/gstbasetransform.sgml:
17870 * docs/gst/tmpl/gstfakesrc.sgml:
17871 * gst/base/gstcollectpads.c:
17872 * gst/base/gstcollectpads.h:
17873 * libs/gst/controller/gst-controller.c:
17874 * libs/gst/controller/gst-controller.h:
17875 * libs/gst/controller/gst-helper.c:
17876 * libs/gst/controller/gst-interpolation.c:
17877 * libs/gst/controller/lib.c:
17878 added long/short desc for controller docs
17879 added collectpads base class docs
17880 added correct includes to base-class docs
17882 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17884 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17885 (gst_test_mono_source_set_property),
17886 (gst_test_mono_source_class_init), (GST_START_TEST),
17887 (gst_controller_suite):
17888 * docs/gst/gstreamer-docs.sgml:
17889 * docs/gst/gstreamer-sections.txt:
17890 * docs/gst/gstreamer.types:
17891 * docs/libs/gstreamer-libs-docs.sgml:
17892 * docs/libs/gstreamer-libs-sections.txt:
17893 * gst/base/gstadapter.c:
17894 * libs/gst/controller/gst-controller.c:
17895 (gst_controlled_property_new), (gst_controlled_property_free),
17896 (gst_controller_new_valist),
17897 (gst_controller_remove_properties_valist),
17898 (gst_controller_sink_values), (_gst_controller_finalize):
17899 * libs/gst/controller/gst-controller.h:
17900 * libs/gst/controller/gst-helper.c:
17901 (gst_object_control_properties), (gst_object_uncontrol_properties),
17902 (gst_object_get_controller), (gst_object_set_controller),
17903 (gst_object_sink_values), (gst_object_get_value_arrays),
17904 (gst_object_get_value_array):
17905 more tests (and fixes) for the controller
17906 more docs for the controller
17907 integrated companies docs for the adapter
17909 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
17911 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
17912 (GST_START_TEST), (fakesrc_suite):
17913 add tests for sizetype
17915 2005-08-04 Andy Wingo <wingo@pobox.com>
17917 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
17918 fixes buffer_alloc proxying among other things.
17920 * gst/base/gstbasetransform.c:
17921 * gst/base/gstbasetransform.h:
17922 Revert patch to gstbasetransform from 7-28 removing
17925 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
17926 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
17927 Semantics changed, should return not the size of the output buffer
17928 but the byte size of a buffer with a given caps.
17930 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
17932 (gst_base_transform_configure_caps): Don't set out_size here: (in,
17933 out) are not the pad caps until setcaps finishes.
17934 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
17935 not-in-place case as well. Deal with changing from in-place to
17936 not-in-place within calling pad_alloc_buffer. Still a bit
17937 concerned about the overhead here...
17939 2005-08-03 Andy Wingo <wingo@pobox.com>
17941 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
17942 fixating is an error.
17944 2005-08-04 Edward Hervey <edward@fluendo.com>
17946 * gst/base/gstadapter.h:
17947 Added gst_adapter_get_type() to the header
17949 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17951 * check/Makefile.am:
17952 * check/gst-libs/controller.c:
17953 * libs/gst/controller/gst-controller.c:
17954 (gst_controller_new_valist):
17955 added check test suite for the controller
17956 * gst/base/gstpushsrc.c:
17959 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17961 * docs/gst/Makefile.am:
17962 * docs/gst/gstreamer-docs.sgml:
17963 * docs/gst/gstreamer-sections.txt:
17964 * docs/gst/gstreamer.types:
17965 * docs/gst/tmpl/gstfakesrc.sgml:
17967 * gst/base/gstbasesink.c:
17968 * gst/base/gstbasesink.h:
17969 * gst/base/gstbasesrc.c:
17970 * gst/base/gstbasesrc.h:
17971 * gst/base/gstbasetransform.c:
17972 * gst/base/gstpushsrc.c:
17973 * gst/base/gstpushsrc.h:
17974 add short/long description docs to base classes
17975 add pushsrc to the docs
17976 remove consolidated doc fragments
17978 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17981 * docs/libs/Makefile.am:
17982 * docs/libs/gstreamer-libs-docs.sgml:
17983 * docs/libs/gstreamer-libs-sections.txt:
17984 * docs/libs/gstreamer-libs.types:
17985 * examples/Makefile.am:
17986 * examples/controller/.cvsignore:
17987 * examples/controller/Makefile.am:
17988 * examples/controller/audio-example.c: (main):
17989 * libs/gst/Makefile.am:
17990 * libs/gst/controller/.cvsignore:
17991 * libs/gst/controller/Makefile.am:
17992 * libs/gst/controller/gst-controller.c:
17993 (on_object_controlled_property_changed), (gst_timed_value_compare),
17994 (gst_timed_value_find),
17995 (gst_controlled_property_set_interpolation_mode),
17996 (gst_controlled_property_new), (gst_controlled_property_free),
17997 (gst_controller_find_controlled_property),
17998 (gst_controller_new_valist), (gst_controller_new),
17999 (gst_controller_remove_properties_valist),
18000 (gst_controller_remove_properties), (gst_controller_set),
18001 (gst_controller_set_from_list), (gst_controller_unset),
18002 (gst_controller_get), (gst_controller_get_all),
18003 (gst_controller_sink_values), (gst_controller_get_value_arrays),
18004 (gst_controller_get_value_array),
18005 (gst_controller_set_interpolation_mode),
18006 (_gst_controller_finalize), (_gst_controller_init),
18007 (_gst_controller_class_init), (gst_controller_get_type):
18008 * libs/gst/controller/gst-controller.h:
18009 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18010 (g_object_uncontrol_properties), (g_object_get_controller),
18011 (g_object_set_controller), (g_object_sink_values),
18012 (g_object_get_value_arrays), (g_object_get_value_array):
18013 * libs/gst/controller/gst-interpolation.c:
18014 (gst_controlled_property_find_timed_value_node),
18015 (interpolate_none_get), (interpolate_trigger_get),
18016 (interpolate_trigger_get_value_array):
18017 * libs/gst/controller/lib.c: (gst_controller_init):
18018 * pkgconfig/Makefile.am:
18019 * pkgconfig/gstreamer-control-uninstalled.pc.in:
18020 * pkgconfig/gstreamer-control.pc.in:
18021 * testsuite/Makefile.am:
18022 * testsuite/controller/.cvsignore:
18023 * testsuite/controller/Makefile.am:
18024 * testsuite/controller/interpolator.c: (main):
18025 added controller code
18026 removed dparam pc files
18028 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18029 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18030 (gst_collectpads_stop):
18031 Broadcast the condition when shutting down, to make sure we wake all
18032 threads up. Shut down pads on finalize, for safety.
18034 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18035 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18036 (gst_base_transform_handle_buffer),
18037 (gst_base_transform_change_state):
18038 Handle PAUSED->READY->PAUSED transition after negotiation
18040 * gst/gstmessage.c: (gst_message_init):
18041 Extra piece of debug for new messages.
18043 2005-08-01 Stefan Kost <ensonic@users.sf.net>
18046 * docs/gst/tmpl/gstbasesrc.sgml:
18047 * docs/gst/tmpl/gstelement.sgml:
18048 * docs/gst/tmpl/gstevent.sgml:
18049 * docs/gst/tmpl/gstfakesrc.sgml:
18050 * docs/gst/tmpl/gstformat.sgml:
18051 * docs/gst/tmpl/gstghostpad.sgml:
18052 * docs/gst/tmpl/gstpad.sgml:
18053 * docs/gst/tmpl/gstquery.sgml:
18054 * docs/gst/tmpl/gststructure.sgml:
18055 * docs/gst/tmpl/gsttaglist.sgml:
18056 * docs/gst/tmpl/gstvalue.sgml:
18057 * docs/libs/gstreamer-libs-docs.sgml:
18058 * docs/libs/gstreamer-libs-sections.txt:
18059 * docs/libs/gstreamer-libs.types:
18060 * libs/gst/Makefile.am:
18061 * libs/gst/control/.cvsignore:
18062 * libs/gst/control/Makefile.am:
18063 * libs/gst/control/control.c:
18064 * libs/gst/control/control.h:
18065 * libs/gst/control/dparam.c:
18066 * libs/gst/control/dparam.h:
18067 * libs/gst/control/dparam_smooth.c:
18068 * libs/gst/control/dparam_smooth.h:
18069 * libs/gst/control/dparamcommon.h:
18070 * libs/gst/control/dparammanager.c:
18071 * libs/gst/control/dparammanager.h:
18072 * libs/gst/control/dplinearinterp.c:
18073 * libs/gst/control/dplinearinterp.h:
18074 * libs/gst/control/unitconvert.c:
18075 * libs/gst/control/unitconvert.h:
18076 * testsuite/Makefile.am:
18077 * testsuite/dynparams/.cvsignore:
18078 * testsuite/dynparams/Makefile.am:
18079 * testsuite/dynparams/dparamstest.c:
18080 * tools/Makefile.am:
18081 * tools/gst-inspect.c: (print_element_info), (main):
18082 * tools/gst-xmlinspect.c: (print_element_info), (main):
18083 deactivate and remove dparams (libgstcontrol)
18085 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18087 * gst/elements/gsttypefindelement.c:
18088 (gst_type_find_element_have_type), (gst_type_find_element_init),
18089 (stop_typefinding), (gst_type_find_element_handle_event),
18090 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18091 * gst/elements/gsttypefindelement.h:
18092 Set caps on all outgoing buffers, not just the first one.
18094 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18096 * gst/elements/gsttypefindelement.c:
18097 (gst_type_find_element_have_type),
18098 (gst_type_find_element_check_set_buffer_caps),
18099 (gst_type_find_element_init), (stop_typefinding),
18100 (gst_type_find_element_handle_event),
18101 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18102 * gst/elements/gsttypefindelement.h:
18103 Set caps on first outgoing buffer when we've found the type.
18105 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18107 * docs/gst/gstreamer-docs.sgml:
18108 * docs/gst/gstreamer-sections.txt:
18109 * docs/gst/tmpl/gstscheduler.sgml:
18110 * docs/gst/tmpl/gstschedulerfactory.sgml:
18111 Remove some old cruft from docs.
18113 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
18116 Fix inline docs for GstPadLinkReturn.
18118 * gst/gststructure.c: (gst_structure_has_name):
18119 * gst/gststructure.h:
18120 * docs/gst/gstreamer-sections.txt:
18121 New API: gst_structure_has_name().
18123 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
18126 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18127 and _LARGEFILE_SOURCE in config.h as required. Do not
18128 export those flags in our .pc files any longer (#142209).
18130 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18132 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18133 (gst_file_sink_do_seek), (gst_file_sink_event),
18134 (gst_file_sink_get_current_offset), (gst_file_sink_render):
18135 Redo seek/tell calls with large file support in mind; add some
18136 debugging messages; add log message that tells us when large
18137 file support is unavailable or not enabled for some reason.
18139 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18140 Add log message that tells us when large file support
18141 is unavailable or not enabled for some reason.
18143 2005-07-29 Wim Taymans <wim@fluendo.com>
18145 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18146 Added test for removing an element with ghostpad from a bin.
18147 Fixed test as current implementation does the right thing.
18149 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18150 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18151 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18152 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18153 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18154 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18155 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18156 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18157 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18158 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18159 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18160 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18161 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18162 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18163 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18164 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18165 * gst/gstghostpad.h:
18166 Clean up ghostpads, remove properties for internal stuff.
18169 Prepare for switching targets, not all use cases work yet.
18171 2005-07-29 Wim Taymans <wim@fluendo.com>
18173 * docs/design/part-gstghostpad.txt:
18176 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18177 (gst_bin_remove_func):
18178 Unlinking pads while holding the bin LOCK is not a good
18181 * gst/gstpad.c: (gst_pad_class_init),
18182 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18183 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18184 No prob setting template after creating the pad.
18186 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
18188 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18189 (gst_bus_peek), (gst_bus_source_dispatch),
18190 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18191 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18192 gst_bus_poll may be called from other threads. Handle
18193 this nicely by not making poll_data disappear off the
18194 stack once gst_bus_poll returns.
18195 gst_bus_peek now increments the refcount on the returned
18198 2005-07-29 Wim Taymans <wim@fluendo.com>
18200 * docs/design/part-gstghostpad.txt:
18201 Overview of current GhostPad datastructures and use
18202 cases for changing the target.
18204 2005-07-28 Wim Taymans <wim@fluendo.com>
18206 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18207 Added checks for hierarchy consistency whan adding linked
18210 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18211 Added check to test element scheduling without bin/pipeline.
18213 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18214 First add elements to bin, then link.
18216 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18217 (gst_bin_remove_func):
18218 Unlink pads from elements added/removed from bin to maintain
18219 hierarchy consistency.
18221 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18223 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18224 (gst_base_transform_handle_buffer):
18225 * gst/base/gstbasetransform.h:
18226 Remove broken delay_configure (fixes renegotiation of software
18227 scaling pipelines); remove some leftover printf()s.
18229 2005-07-28 Wim Taymans <wim@fluendo.com>
18231 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18232 Added some more tests for wrong hierarchy
18234 * docs/design/part-overview.txt:
18237 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18240 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18241 (gst_element_dispose):
18242 Some more cleanups.
18244 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18245 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18246 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18247 (gst_pad_set_caps), (gst_pad_send_event):
18248 Check for correct hierarchy when linking pads. Moving to
18249 strict requirement for ghostpads when linking elements in
18253 Clean ups. Added WRONG_HIERARCHY return value.
18255 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18257 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18258 Better debug if no transform is possible.
18260 2005-07-27 Wim Taymans <wim@fluendo.com>
18262 * docs/random/wtay/network-transp:
18263 Some old doc I had.
18265 2005-07-27 Wim Taymans <wim@fluendo.com>
18267 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18268 (gst_dp_event_from_packet):
18269 Fix serialization of seek events.
18271 2005-07-27 Wim Taymans <wim@fluendo.com>
18273 * check/gst-libs/gdp.c: (GST_START_TEST):
18274 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18275 Fix compilation and fix event serialization.
18277 2005-07-27 Wim Taymans <wim@fluendo.com>
18280 * docs/design/part-TODO.txt:
18281 * docs/design/part-events.txt:
18284 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18285 (gst_base_sink_event), (gst_base_sink_do_sync),
18286 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18287 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18288 (gst_base_src_do_seek), (gst_base_src_event_handler),
18289 (gst_base_src_loop):
18290 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18291 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18292 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18293 (gst_base_transform_event), (gst_base_transform_handle_buffer),
18294 (gst_base_transform_set_passthrough),
18295 (gst_base_transform_is_passthrough):
18296 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18297 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18303 * gst/gstelement.c: (gst_element_seek):
18304 * gst/gstelement.h:
18305 Update gst_element_seek.
18307 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18308 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18309 (gst_event_new_flush_start), (gst_event_new_flush_stop),
18310 (gst_event_new_eos), (gst_event_new_newsegment),
18311 (gst_event_parse_newsegment), (gst_event_new_tag),
18312 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18313 (gst_event_parse_qos), (gst_event_new_seek),
18314 (gst_event_parse_seek), (gst_event_new_navigation):
18316 Make GstEvent use GstStructure. Add parsing code, make sure the
18317 API is sufficiently generic.
18318 Mark possible directions of events and serialization.
18320 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18321 (_gst_message_copy), (gst_message_new_segment_start),
18322 (gst_message_new_segment_done), (gst_message_new_custom),
18323 (gst_message_parse_segment_start),
18324 (gst_message_parse_segment_done):
18327 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18328 (gst_pad_set_caps), (gst_pad_send_event):
18329 Update for new events.
18330 Catch events sent in wrong directions.
18332 * gst/gstqueue.c: (gst_queue_link_src),
18333 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18334 (gst_queue_handle_src_query):
18339 Remove event code from this file.
18341 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18342 (gst_dp_event_from_packet):
18345 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18347 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18348 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18349 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18350 Make debugging actually useful.
18352 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18354 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18355 (gst_pad_fixate_caps):
18356 Implement default fixation once again, so that gst_pad_fixate()
18357 actually does anything at all. This probably needs to be some
18358 sort of a last resort, and use profile-based fixation first, but
18359 since that doesn't exist yet, this is the best we have. Fixes
18360 visualization in Totem.
18362 2005-07-22 Wim Taymans <wim@fluendo.com>
18364 * docs/design/part-events.txt:
18367 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18368 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18369 (gst_base_sink_activate_pull):
18370 Some more comments.
18372 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18373 (gst_fake_src_create):
18374 Fix handoff marshall.
18376 * gst/elements/gstidentity.c: (gst_identity_class_init),
18377 (gst_identity_transform_ip):
18378 We're a real inplace element.
18380 * gst/gstbus.c: (gst_bus_post):
18381 Added some comments.
18383 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18384 * tests/muxing/case1.c: (main):
18385 * tests/sched/dynamic-pipeline.c: (main):
18386 * tests/sched/interrupt1.c: (main):
18387 * tests/sched/interrupt2.c: (main):
18388 * tests/sched/interrupt3.c: (main):
18389 * tests/sched/runxml.c: (main):
18390 * tests/sched/sched-stress.c: (main):
18391 * tests/seeking/seeking1.c: (event_received), (main):
18392 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18394 * tests/threadstate/threadstate3.c: (main):
18395 * tests/threadstate/threadstate4.c: (main):
18396 * tests/threadstate/threadstate5.c: (main):
18399 2005-07-21 Wim Taymans <wim@fluendo.com>
18401 * docs/design/part-seeking.txt:
18402 Some small additions.
18404 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18405 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18406 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18407 * gst/base/gstbasesink.h:
18408 discont values are gint64, handle the math correctly.
18410 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18411 Make the basesrc report error if the source pad is not linked.
18413 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18414 (gst_queue_loop), (gst_queue_handle_src_query),
18415 (gst_queue_src_activate_push):
18416 Make queue collect data even if the srcpad is not linked.
18417 Start pushing out data as soon as it is linked.
18419 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18421 Added gst_flow_get_name() to ease error reporting.
18423 2005-07-20 Wim Taymans <wim@fluendo.com>
18425 * gst/gstmessage.c: (gst_message_new_segment_start),
18426 (gst_message_new_segment_done), (gst_message_parse_segment_start),
18427 (gst_message_parse_segment_done):
18428 * gst/gstmessage.h:
18429 Added a bunch of messages for advanced seeking.
18431 * gst/parse/grammar.y:
18432 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18433 (gst_dpman_state_changed):
18434 Fix some new-pad -> pad-added signals
18436 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18438 * docs/manual/appendix-porting.xml:
18439 * docs/pwg/appendix-porting.xml:
18440 Document new-pad/state-change signal renames and the FixedList
18443 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18445 * docs/manual/advanced-autoplugging.xml:
18446 * docs/manual/basics-helloworld.xml:
18447 * docs/manual/basics-pads.xml:
18448 * docs/random/ds/0.9-suggested-changes:
18449 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18450 * gst/gstelement.h:
18454 * gst/gststructure.c: (gst_structure_value_get_generic_type),
18455 (gst_structure_parse_array), (gst_structure_parse_value):
18456 * gst/gstvalue.c: (gst_type_is_fixed),
18457 (gst_value_list_prepend_value), (gst_value_list_append_value),
18458 (gst_value_list_get_size), (gst_value_list_get_value),
18459 (gst_value_transform_array_string), (gst_value_serialize_array),
18460 (gst_value_deserialize_array), (gst_value_intersect_array),
18461 (gst_value_is_fixed), (_gst_value_initialize):
18463 GstElement::new-pad -> pad-added, GstElement::state-change ->
18464 state-changed, GstValueFixedList -> GstValueArray, add format and
18465 flags as their own arguments in gst_element_seek() (should improve
18466 "bindeability"), remove function generators since they don't work
18467 under a whole bunch of compilers (they were deprecated already
18470 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18472 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18473 (_gst_debug_register_funcptr):
18475 Fix illegal cast on some platforms (#309253).
18477 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18479 * gst/gstmessage.c: (gst_message_new_custom):
18480 * gst/gstmessage.h:
18481 Add _new_custom, make _new_application a macro to _new_custom.
18483 2005-07-20 Wim Taymans <wim@fluendo.com>
18485 * gst/base/gstbasesrc.c: (gst_base_src_init),
18486 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18487 * gst/base/gstbasesrc.h:
18488 Add a gboolean to decide when to push out a discont.
18490 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18491 (gst_queue_loop), (gst_queue_handle_src_query),
18492 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18493 (gst_queue_set_property), (gst_queue_get_property):
18496 * tests/threadstate/threadstate1.c: (main):
18497 Make a thread test compile and run... very silly..
18500 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18502 * docs/manual/appendix-porting.xml:
18503 Mention removal of libgstgconf-0.9.la and existence of gconf
18506 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18508 * docs/pwg/advanced-clock.xml:
18509 * docs/pwg/appendix-porting.xml:
18510 * docs/pwg/intro-preface.xml:
18511 * docs/pwg/other-base.xml:
18512 * docs/pwg/other-manager.xml:
18513 * docs/pwg/other-nton.xml:
18514 * docs/pwg/other-ntoone.xml:
18515 * docs/pwg/other-oneton.xml:
18516 * docs/pwg/pwg.xml:
18517 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18518 demuxer), remove n-to-n (was never written), fix some code examples
18519 and links and update the porting section to include all this.
18521 2005-07-19 Wim Taymans <wim@fluendo.com>
18523 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18524 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18525 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18526 (gst_queue_src_activate_push), (gst_queue_change_state),
18527 (gst_queue_get_property):
18529 Propagate GstFlowReturn more intelligently upstream and output
18530 an ERROR/EOS when streaming stopped due to fatal error.
18532 2005-07-19 Wim Taymans <wim@fluendo.com>
18534 * tools/gst-launch.c: (check_intr), (event_loop), (main):
18535 Don't block forever for the state change to complete, the
18536 pipeline already did with a sensible timeout.
18538 2005-07-19 Wim Taymans <wim@fluendo.com>
18540 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18541 Make sure we never call the create function is we
18544 2005-07-19 Andy Wingo <wingo@pobox.com>
18546 * gst/parse/parse.l: Attempt to solve bug #172815.
18548 2005-07-19 Wim Taymans <wim@fluendo.com>
18550 * docs/design/part-clocks.txt:
18551 * docs/design/part-events.txt:
18552 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18553 Small docs updates.
18554 Only update the seeking values when we are not
18557 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18559 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18560 Oops, ignore the result of gst_pad_push_event here.
18562 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18564 * gst/base/gstbasesrc.c: (gst_base_src_loop),
18565 (gst_base_src_activate_push):
18566 Send discont event from the loop function, as pads
18567 aren't activated yet in the activate_push handler.
18569 * gst/gstbin.c: (bin_bus_handler):
18570 Don't leak element name.
18572 2005-07-18 Andy Wingo <wingo@pobox.com>
18574 * configure.ac: Use AS_LIBTOOL_TAGS.
18576 2005-07-18 Wim Taymans <wim@fluendo.com>
18578 * docs/gst/gstreamer.types:
18579 Remove deleted types.
18581 2005-07-18 Wim Taymans <wim@fluendo.com>
18583 * check/elements/gstfakesrc.c: (GST_START_TEST):
18586 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18587 (init_popt_callback):
18589 * gst/gst_private.h:
18590 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18591 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18594 * gst/gstconfig.h.in:
18595 * gst/gstelement.c: (gst_element_class_init),
18596 (gst_element_set_base_time), (gst_element_get_base_time),
18597 (iterator_fold_with_resync), (gst_element_change_state),
18598 (gst_element_dispose), (gst_element_get_bus):
18599 * gst/gstelement.h:
18600 * gst/gstelementfactory.h:
18601 * gst/gsterror.c: (_gst_core_errors_init):
18604 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18606 * gst/gstinfo.c: (_gst_debug_init):
18607 * gst/gstmessage.c: (_gst_message_copy):
18608 * gst/gstmessage.h:
18609 * gst/gstminiobject.h:
18612 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18613 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18616 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18617 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18618 (gst_pipeline_get_last_stream_time):
18619 * gst/gstpipeline.h:
18620 * gst/gstpluginfeature.h:
18622 * gst/gstscheduler.c:
18623 * gst/gstscheduler.h:
18624 * gst/gststructure.h:
18625 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18626 (gst_task_finalize), (gst_task_func), (gst_task_create),
18627 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18628 (gst_task_stop), (gst_task_pause):
18630 * gst/gsttypefind.h:
18632 * gst/registries/gstlibxmlregistry.c: (load_feature),
18633 (gst_xml_registry_load), (gst_xml_registry_save_feature):
18634 * gst/registries/gstxmlregistry.c:
18635 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18636 * gst/schedulers/threadscheduler.c:
18637 * libs/gst/control/dparammanager.h:
18638 * tools/gst-inspect.c: (print_element_list),
18639 (print_plugin_features), (print_element_features):
18640 * tools/gst-xmlinspect.c: (print_element_list),
18641 (print_plugin_info), (main):
18642 Removed plugable schedulers.
18643 Removed Scheduler/Manager from elements.
18644 Removed gsttypes.h, rearranged includes.
18645 Removed dependency pad<->element, element<>pipeline, and
18646 various others, fix includes.
18647 implement gst_pad_get_parent() with gst_object_get_parent()
18648 Make GstTask sefcontained.
18649 Fix _get_state() on GstBin, it did not return ASYNC with a 0
18651 Fix endless loop in iterator_fold_with_resync.
18654 2005-07-18 Wim Taymans <wim@fluendo.com>
18660 2005-07-18 Wim Taymans <wim@fluendo.com>
18663 No more cothreads.h
18665 2005-07-18 Wim Taymans <wim@fluendo.com>
18669 Let's remove these.
18671 2005-07-18 Wim Taymans <wim@fluendo.com>
18673 * docs/design/part-dynamic.txt:
18674 * docs/design/part-events.txt:
18675 * docs/design/part-seeking.txt:
18676 Some more docs in the works.
18678 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18679 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18680 (gst_base_transform_setcaps), (gst_base_transform_get_size),
18681 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18682 (gst_base_transform_handle_buffer),
18683 (gst_base_transform_sink_activate_push),
18684 (gst_base_transform_src_activate_pull),
18685 (gst_base_transform_set_passthrough),
18686 (gst_base_transform_is_passthrough):
18689 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18692 * gst/gstevent.c: (gst_event_finalize):
18695 * gst/gstutils.c: (gst_element_unlink),
18696 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18697 (gst_pad_proxy_setcaps):
18699 Add _get_parent_element() to get a pads parent as an element.
18701 2005-07-18 Wim Taymans <wim@fluendo.com>
18703 * check/gst/gstbin.c: (GST_START_TEST):
18706 2005-07-18 Wim Taymans <wim@fluendo.com>
18708 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18709 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18710 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18711 (gst_base_sink_event), (gst_base_sink_do_sync),
18712 (gst_base_sink_chain), (gst_base_sink_loop),
18713 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18714 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18716 Fix logic for returning ASYNC when not prerolled.
18718 2005-07-18 Wim Taymans <wim@fluendo.com>
18720 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18721 Fix nasty refcount bug.
18723 2005-07-16 Philippe Khalaf <burger@speedy.org>
18725 * gst/elements/gstfdsrc.c:
18726 * gst/elements/gstfdsrc.h:
18727 * gst/elements/gstelements.c:
18728 * gst/elements/Makefile.am:
18729 Ported fdsrc to 0.9.
18731 2005-07-16 Wim Taymans <wim@fluendo.com>
18733 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18734 (gst_base_sink_do_sync):
18737 2005-07-16 Wim Taymans <wim@fluendo.com>
18739 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18740 (gst_base_sink_event), (gst_base_sink_get_times),
18741 (gst_base_sink_do_sync), (gst_base_sink_change_state):
18742 * gst/base/gstbasesink.h:
18743 Store and use discont values when syncing buffers as described
18746 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18747 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18748 (gst_base_src_activate_push):
18749 Push discont event when starting.
18751 * gst/elements/gstidentity.c: (gst_identity_transform):
18754 * gst/gstbin.c: (gst_bin_change_state):
18755 Small cleanups in base_time distribution.
18757 * gst/gstelement.c: (gst_element_set_base_time),
18758 (gst_element_get_base_time), (gst_element_change_state):
18759 * gst/gstelement.h:
18760 Added methods for the base_time of the element.
18763 * gst/gstpipeline.c: (gst_pipeline_send_event),
18764 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18765 (gst_pipeline_get_last_stream_time):
18766 * gst/gstpipeline.h:
18768 Handle seeking as described in design doc, remove stream_time
18770 Cleanups clock and stream_time selection code. Added accessors
18771 for the stream_time.
18774 2005-07-16 Andy Wingo <wingo@pobox.com>
18776 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18779 2005-07-16 Wim Taymans <wim@fluendo.com>
18781 * check/gst/gstbin.c: (GST_START_TEST):
18782 Make elements silent as the deep_notify refs the
18783 parent, which might make the test fail.
18785 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18786 Don't hold the lock for too long.
18788 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
18790 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18791 Don't unref the caps we passed to gst_caps_make_writable() after
18792 passing them. gst_caps_make_writable() will do that for us.
18794 2005-07-15 Andy Wingo <wingo@pobox.com>
18796 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18799 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18800 own marshalling function for the handoff signal. Properly type the
18801 buffer as a buffer. Fixes some warnings. Should do a more general
18803 (gst_identity_class_init): Plug into the right marshaller.
18805 2005-07-15 Wim Taymans <wim@fluendo.com>
18807 * docs/design/part-TODO.txt:
18808 * docs/design/part-clocks.txt:
18809 * docs/design/part-element-sink.txt:
18810 * docs/design/part-events.txt:
18811 * docs/design/part-gstpipeline.txt:
18812 Updated docs, mostly DISCONT related.
18814 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
18816 * docs/pwg/building-pads.xml:
18817 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
18819 2005-07-15 Andy Wingo <wingo@pobox.com>
18821 * tools/gst-typefind.c: Update, add copyright block.
18823 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
18824 Normalize and truncate caps before fixation.
18827 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
18828 discards all but the first structure from its argument.
18830 2005-07-15 Wim Taymans <wim@fluendo.com>
18832 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18833 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
18834 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18835 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18836 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
18837 (gst_base_transform_chain), (gst_base_transform_change_state),
18838 (gst_base_transform_set_passthrough),
18839 (gst_base_transform_is_passthrough):
18840 * gst/base/gstbasetransform.h:
18841 Make passthrough work using the bufferpools.
18842 Changed API a bit, subclasses have to write into a buffer
18843 provided by the base class.
18844 More debug info in nego functions.
18846 * gst/elements/gstidentity.c: (gst_identity_init),
18847 (gst_identity_transform):
18848 Port to new base class.
18850 2005-07-15 Wim Taymans <wim@fluendo.com>
18852 * gst/gstmessage.c: (gst_message_new_state_changed):
18853 * tools/gst-launch.c: (event_loop), (main):
18854 Totally dump messages in -launch with the -m option.
18855 Fix message name for State messages,
18857 2005-07-14 Wim Taymans <wim@fluendo.com>
18859 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18860 Post error messages on errors.
18862 2005-07-14 Wim Taymans <wim@fluendo.com>
18864 * gst/gstcaps.c: (gst_caps_do_simplify):
18868 Define error for stream stopped.
18870 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18871 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
18872 Do proper return values.
18874 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18875 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
18876 (gst_pad_get_range):
18877 Better return values.
18880 Reorganise return values, add macro to check for fatal errors.
18882 * gst/gstqueue.c: (gst_queue_chain):
18883 Return proper GstFlowReturn values,
18885 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
18887 * docs/gst/gstreamer-sections.txt:
18888 * docs/gst/gstreamer.types:
18889 * docs/gst/tmpl/gst.sgml:
18890 * docs/gst/tmpl/gstbasesink.sgml:
18891 * docs/gst/tmpl/gstbasesrc.sgml:
18892 * docs/gst/tmpl/gstbasetransform.sgml:
18893 * docs/gst/tmpl/gstbin.sgml:
18894 * docs/gst/tmpl/gstbuffer.sgml:
18895 * docs/gst/tmpl/gstcaps.sgml:
18896 * docs/gst/tmpl/gstclock.sgml:
18897 * docs/gst/tmpl/gstcompat.sgml:
18898 * docs/gst/tmpl/gstconfig.sgml:
18899 * docs/gst/tmpl/gstelement.sgml:
18900 * docs/gst/tmpl/gstelementdetails.sgml:
18901 * docs/gst/tmpl/gstelementfactory.sgml:
18902 * docs/gst/tmpl/gstenumtypes.sgml:
18903 * docs/gst/tmpl/gsterror.sgml:
18904 * docs/gst/tmpl/gstevent.sgml:
18905 * docs/gst/tmpl/gstfakesink.sgml:
18906 * docs/gst/tmpl/gstfakesrc.sgml:
18907 * docs/gst/tmpl/gstfilesink.sgml:
18908 * docs/gst/tmpl/gstfilesrc.sgml:
18909 * docs/gst/tmpl/gstfilter.sgml:
18910 * docs/gst/tmpl/gstformat.sgml:
18911 * docs/gst/tmpl/gstghostpad.sgml:
18912 * docs/gst/tmpl/gstimplementsinterface.sgml:
18913 * docs/gst/tmpl/gstindex.sgml:
18914 * docs/gst/tmpl/gstindexfactory.sgml:
18915 * docs/gst/tmpl/gstinfo.sgml:
18916 * docs/gst/tmpl/gstiterator.sgml:
18917 * docs/gst/tmpl/gstmacros.sgml:
18918 * docs/gst/tmpl/gstmemchunk.sgml:
18919 * docs/gst/tmpl/gstminiobject.sgml:
18920 * docs/gst/tmpl/gstobject.sgml:
18921 * docs/gst/tmpl/gstpad.sgml:
18922 * docs/gst/tmpl/gstpadtemplate.sgml:
18923 * docs/gst/tmpl/gstparse.sgml:
18924 * docs/gst/tmpl/gstpipeline.sgml:
18925 * docs/gst/tmpl/gstplugin.sgml:
18926 * docs/gst/tmpl/gstpluginfeature.sgml:
18927 * docs/gst/tmpl/gstquery.sgml:
18928 * docs/gst/tmpl/gstqueue.sgml:
18929 * docs/gst/tmpl/gstregistry.sgml:
18930 * docs/gst/tmpl/gstregistrypool.sgml:
18931 * docs/gst/tmpl/gstscheduler.sgml:
18932 * docs/gst/tmpl/gstschedulerfactory.sgml:
18933 * docs/gst/tmpl/gststructure.sgml:
18934 * docs/gst/tmpl/gstsystemclock.sgml:
18935 * docs/gst/tmpl/gsttaglist.sgml:
18936 * docs/gst/tmpl/gsttagsetter.sgml:
18937 * docs/gst/tmpl/gsttrace.sgml:
18938 * docs/gst/tmpl/gsttrashstack.sgml:
18939 * docs/gst/tmpl/gsttypefind.sgml:
18940 * docs/gst/tmpl/gsttypefindfactory.sgml:
18941 * docs/gst/tmpl/gsttypes.sgml:
18942 * docs/gst/tmpl/gsturihandler.sgml:
18943 * docs/gst/tmpl/gsturitype.sgml:
18944 * docs/gst/tmpl/gstutils.sgml:
18945 * docs/gst/tmpl/gstvalue.sgml:
18946 * docs/gst/tmpl/gstversion.sgml:
18947 * docs/gst/tmpl/gstxml.sgml:
18948 * docs/libs/tmpl/gstcontrol.sgml:
18949 * docs/libs/tmpl/gstdataprotocol.sgml:
18950 * docs/libs/tmpl/gstdparam.sgml:
18951 * docs/libs/tmpl/gstdplinint.sgml:
18952 * docs/libs/tmpl/gstdpman.sgml:
18953 * docs/libs/tmpl/gstdpsmooth.sgml:
18954 * docs/libs/tmpl/gstgetbits.sgml:
18955 * docs/libs/tmpl/gstunitconvert.sgml:
18956 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
18957 (gst_push_src_base_init), (gst_push_src_class_init),
18958 (gst_push_src_init), (gst_push_src_create):
18959 * gst/base/gstpushsrc.h:
18960 * gst/elements/gstelements.c:
18961 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
18962 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
18963 (gst_fake_sink_init), (gst_fake_sink_set_property),
18964 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
18965 (gst_fake_sink_event), (gst_fake_sink_preroll),
18966 (gst_fake_sink_render), (gst_fake_sink_change_state):
18967 * gst/elements/gstfakesink.h:
18968 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18969 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18970 (gst_fake_src_base_init), (gst_fake_src_class_init),
18971 (gst_fake_src_init), (gst_fake_src_event_handler),
18972 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
18973 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
18974 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
18975 (gst_fake_src_create_buffer), (gst_fake_src_create),
18976 (gst_fake_src_start), (gst_fake_src_stop):
18977 * gst/elements/gstfakesrc.h:
18978 * gst/elements/gstfilesink.c: (_do_init),
18979 (gst_file_sink_base_init), (gst_file_sink_class_init),
18980 (gst_file_sink_init), (gst_file_sink_dispose),
18981 (gst_file_sink_set_location), (gst_file_sink_set_property),
18982 (gst_file_sink_get_property), (gst_file_sink_open_file),
18983 (gst_file_sink_close_file), (gst_file_sink_query),
18984 (gst_file_sink_event), (gst_file_sink_render),
18985 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
18986 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
18987 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
18988 * gst/elements/gstfilesink.h:
18989 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
18990 (gst_file_src_class_init), (gst_file_src_init),
18991 (gst_file_src_finalize), (gst_file_src_set_location),
18992 (gst_file_src_set_property), (gst_file_src_get_property),
18993 (gst_file_src_map_region), (gst_file_src_map_small_region),
18994 (gst_file_src_create_mmap), (gst_file_src_create_read),
18995 (gst_file_src_create), (gst_file_src_is_seekable),
18996 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
18997 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
18998 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
18999 (gst_file_src_uri_handler_init):
19000 * gst/elements/gstfilesrc.h:
19001 more autistic cleanliness in functions/names/defines
19003 2005-07-13 Andy Wingo <wingo@pobox.com>
19005 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19006 source couldn't negotiate.
19008 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19012 * gst/gstutils.c (gst_element_link_pads_filtered): New old
19013 function. I am channeling Hades. Put your boots on suckers!!!
19015 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
19017 * testsuite/caps/Makefile.am:
19018 * testsuite/caps/value_compare.c:
19019 * testsuite/caps/value_intersect.c:
19020 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19021 move two testsuite apps over to the check dir
19023 2005-07-12 Wim Taymans <wim@fluendo.com>
19025 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19026 Added more debug info in the negotiate process.
19028 * gst/gstmessage.h:
19029 Prepare for segment playback.
19031 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19037 * tools/gst-launch.c: (main):
19038 NULL pipeline on errors.
19040 2005-07-12 Andy Wingo <wingo@pobox.com>
19042 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19043 not it comes from a malloc region. Make sure our copy gets freed.
19045 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19047 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19048 * check/gst/gstmessage.c: (GST_START_TEST):
19049 * check/gst/gststructure.c: (GST_START_TEST),
19050 (gst_structure_suite), (main):
19052 * gst/gstelement.c: (gst_element_message_full):
19053 clean up GError and debug string now that they get copied
19054 * gst/gstmessage.c: (gst_message_new_error),
19055 (gst_message_new_warning), (gst_message_parse_error),
19056 (gst_message_parse_warning):
19057 use GST_TYPE_G_ERROR for structure_new, and take copies of
19058 arguments, so that we don't mess up refcounting
19060 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19062 * check/Makefile.am:
19063 add per-test valgrind targets
19064 * check/gst-libs/gdp.c: (GST_START_TEST),
19065 (gst_data_protocol_suite), (main):
19068 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19070 * check/Makefile.am:
19071 instate more valgrindable tests
19072 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19073 (GST_START_TEST), (fakesrc_suite):
19074 * check/gst/gstpad.c: (GST_START_TEST):
19075 * check/gst/gststructure.c: (GST_START_TEST):
19077 * docs/gst/tmpl/gstminiobject.sgml:
19078 * gst/gstpad.c: (gst_pad_finalize):
19079 fix the static mutex leak
19081 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19083 * check/Makefile.am:
19084 add two more tests for valgrinding
19085 * check/gst/gstvalue.c: (GST_START_TEST):
19086 test refcount of deserialized buffer, found a leak
19087 * docs/gst/gstreamer-docs.sgml:
19088 * docs/gst/gstreamer-sections.txt:
19089 * docs/gst/gstreamer.types:
19090 * docs/gst/tmpl/gstminiobject.sgml:
19091 add miniobject to docs
19092 * gst/gstminiobject.c:
19094 * gst/gstvalue.c: (gst_value_deserialize_buffer),
19095 (gst_string_unwrap):
19096 fix a hard-to-find invalid write for one of the tests
19097 fix a leak for deserialized buffers
19099 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19101 * docs/pwg/advanced-events.xml:
19102 * docs/pwg/advanced-request.xml:
19103 * docs/pwg/advanced-scheduling.xml:
19104 * docs/pwg/appendix-porting.xml:
19105 * docs/pwg/building-boiler.xml:
19106 * docs/pwg/intro-preface.xml:
19107 * docs/pwg/other-ntoone.xml:
19108 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19109 of example code and explanation for pad activation, loop() and
19110 getrange() functions and a bit more. Remove old comments pointing
19112 * examples/pwg/Makefile.am:
19113 Add loop/getrange examples.
19115 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19118 check for valgrind binary + some fixes
19120 valgrind suppressions for the tests
19121 * check/Makefile.am:
19122 add a valgrind: target that valgrinds the unit tests
19123 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19124 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19125 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19126 * check/gst/gstghostpad.c:
19128 * check/gst/gstdata.c:
19130 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19131 (thread_unref), (gst_mini_object_suite), (main):
19133 * gst/gst.c: (gst_deinit):
19135 add a method to clean up.
19136 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19137 (gst_system_clock_obtain):
19138 allow for disposing the system clock.
19139 * tools/gst-launch.c: (main):
19142 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19144 * docs/gst/tmpl/gstbasesrc.sgml:
19145 * docs/gst/tmpl/gstfakesrc.sgml:
19146 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19147 (gst_base_src_init), (gst_base_src_set_property),
19148 (gst_base_src_get_property), (gst_base_src_get_range),
19149 (gst_base_src_start):
19150 * gst/base/gstbasesrc.h:
19151 add num-buffers property
19152 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19153 (gst_fakesrc_init), (gst_fakesrc_set_property),
19154 (gst_fakesrc_get_property), (gst_fakesrc_create),
19155 (gst_fakesrc_start):
19156 remove num-buffers property
19158 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19160 * docs/gst/gstreamer-sections.txt:
19161 * docs/gst/tmpl/gstbasesink.sgml:
19162 * docs/gst/tmpl/gstbasesrc.sgml:
19163 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19164 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19165 (gst_base_sink_finalize), (gst_base_sink_set_clock),
19166 (gst_base_sink_set_property), (gst_base_sink_get_property),
19167 (gst_base_sink_handle_object), (gst_base_sink_event),
19168 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19169 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19170 (gst_base_sink_loop), (gst_base_sink_deactivate),
19171 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19172 (gst_base_sink_change_state):
19173 * gst/base/gstbasesink.h:
19174 * gst/base/gstbasesrc.h:
19175 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19176 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19177 (gst_filesink_init):
19178 more macro splitting
19180 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19182 * gst/gstelement.c: (gst_element_get_bus):
19184 * tools/gst-launch.c: (check_intr), (event_loop):
19187 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19189 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19192 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19194 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19195 (gst_base_src_finalize):
19196 add finalize method and clean up properly
19197 * gst/gstpipeline.c: (gst_pipeline_dispose):
19200 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19202 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19204 add more things to check
19205 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19206 * gst/gstelement.c:
19209 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19211 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19212 (GST_START_TEST), (fakesrc_suite):
19213 * check/gst-libs/gdp.c: (GST_START_TEST):
19214 * check/gst/gst.c: (GST_START_TEST):
19215 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19216 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19217 * check/gst/gstbus.c: (GST_START_TEST):
19218 * check/gst/gstcaps.c: (GST_START_TEST):
19219 * check/gst/gstdata.c: (GST_START_TEST):
19220 * check/gst/gstelement.c: (GST_START_TEST):
19221 * check/gst/gstghostpad.c: (GST_START_TEST):
19222 * check/gst/gstiterator.c: (GST_START_TEST):
19223 * check/gst/gstmessage.c: (GST_START_TEST):
19224 * check/gst/gstobject.c: (GST_START_TEST):
19225 * check/gst/gstpad.c: (GST_START_TEST):
19226 * check/gst/gststructure.c: (GST_START_TEST):
19227 * check/gst/gstsystemclock.c: (GST_START_TEST),
19228 (gst_systemclock_suite):
19229 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19230 * check/gst/gstvalue.c: (GST_START_TEST):
19231 * check/pipelines/cleanup.c: (GST_START_TEST):
19232 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19233 * check/states/sinks.c: (GST_START_TEST):
19234 * check/gstcheck.c: (gst_check_init):
19235 * check/gstcheck.h:
19236 add debugging category
19237 use GST_START_TEST now, so we add a debug line
19239 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19241 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19242 add test for state change message on a bin
19243 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19245 * gst/gstbin.c: (gst_bin_init):
19246 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19247 * gst/gstelement.c: (gst_element_post_message),
19248 (gst_element_set_state):
19249 * gst/gstelementfactory.c: (gst_element_factory_create):
19250 * gst/gstmessage.c: (gst_message_new):
19251 * gst/gstscheduler.c:
19252 various debugging additions and cleanups
19254 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19256 * check/Makefile.am:
19257 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19259 adding tests for elements
19260 * gst/gstelement.c: (gst_element_dispose):
19262 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19264 * gst/registries/gstlibxmlregistry.c: (load_feature):
19265 plug more leaks. A simple gst_init() now is leakfree, yay.
19267 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19269 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19270 (gst_xml_registry_load):
19271 plug another memleak
19273 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19276 use GST_SET_ERROR_CFLAGS
19277 * docs/faq/cvs.xml:
19278 change to ERROR_CFLAGS
19280 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19283 make GST_ERROR_CFLAGS overridable and re-enable Werror
19284 * docs/faq/cvs.xml:
19285 add a note about error CFLAGS
19286 * docs/gst/tmpl/gstfakesrc.sgml:
19287 * gst/elements/gstfakesrc.c:
19288 comment out some unused code
19289 * gst/gst.c: (split_and_iterate):
19290 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19294 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19296 * common/Makefile.am:
19297 * common/gtk-doc.mak:
19298 * docs/gst/Makefile.am:
19299 factor out gtk-doc.mak
19301 2005-07-07 Wim Taymans <wim@fluendo.com>
19303 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19304 (gst_thread_scheduler_dispose):
19305 Unlock the STREAM_LOCK completely.
19307 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19309 * check/Makefile.am:
19310 * check/elements/.cvsignore:
19311 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19312 (START_TEST), (fakesrc_suite), (main):
19313 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19314 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19315 (gst_fakesrc_create), (gst_fakesrc_start):
19316 * gst/elements/gstfakesrc.h:
19317 adding a first element test
19319 2005-07-07 Andy Wingo <wingo@pobox.com>
19321 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19324 2005-07-07 Wim Taymans <wim@fluendo.com>
19330 2005-07-07 Wim Taymans <wim@fluendo.com>
19332 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19333 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19334 Allow subclasses to implement their own negotiation.
19336 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19338 * docs/design/part-gstbin.txt:
19339 * docs/design/part-gstpipeline.txt:
19340 Update design notes to reflect the movement of
19341 responsibility for bus handling from GstPipeline to
19344 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19347 Remove unnecessary queue2/3/4 examples.
19349 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19351 * examples/Makefile.am:
19352 * examples/helloworld/helloworld.c: (event_loop), (main):
19353 * examples/queue/queue.c: (event_loop), (main):
19354 * examples/queue2/queue2.c: (main):
19355 Update a couple of the examples to work again.
19357 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19358 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19359 Spelling corrections and extra debug.
19361 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19362 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19363 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19365 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19366 (gst_pipeline_change_state):
19367 * gst/gstpipeline.h:
19368 Move the bus handler for children to the GstBin, and create a
19369 separate bus for receiving messages from children to the one the
19370 bus sends 'upwards' on.
19372 2005-07-06 Wim Taymans <wim@fluendo.com>
19375 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19376 (gst_base_sink_handle_object), (gst_base_sink_loop),
19377 (gst_base_sink_change_state):
19378 * gst/base/gstbasesink.h:
19379 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19380 (gst_base_src_init), (gst_base_src_setcaps),
19381 (gst_base_src_getcaps), (gst_base_src_loop),
19382 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19383 (gst_base_src_start), (gst_base_src_change_state):
19384 * gst/base/gstbasesrc.h:
19385 Make basesrc negotiate.
19386 Handle the case where preroll fails in basesink.
19389 2005-07-06 Wim Taymans <wim@fluendo.com>
19391 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19392 Implement the fixate function.
19393 Clean up acceptcaps.
19395 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19397 * docs/pwg/building-filterfactory.xml:
19398 * docs/pwg/pwg.xml:
19399 Remove never-written filter-factory chapter; I'll add the various
19400 base classes to part 4 ("other element types") later on.
19402 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19404 * docs/pwg/advanced-negotiation.xml:
19405 * docs/pwg/building-boiler.xml:
19406 * docs/pwg/building-pads.xml:
19407 * docs/pwg/pwg.xml:
19408 * examples/pwg/Makefile.am:
19409 Add a chapter on caps negotiation, simplify the original code
19410 samples a bit w.r.t. caps negotiation, add link to the advanced
19411 section. Add a bunch of examples showing different use cases of
19412 different types of caps negotiation. Upstream renegotiation isn't
19413 fully documented yet since nobody knows how that works.
19415 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
19417 * check/gst/gstpad.c:
19418 * check/gstcheck.c:
19419 * gst/gstpad.c: (gst_pad_get_internal_links_default):
19420 if pad has no parent, return NULL as list of internal links
19422 2005-07-05 Andy Wingo <wingo@pobox.com>
19424 * gst/elements/gstfilesrc.c:
19425 * gst/elements/gstfakesrc.c:
19426 * gst/base/gstpushsrc.c:
19427 * gst/base/gstbasesrc.h:
19428 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19430 2005-07-05 Stefan Kost <ensonic@users.sf.net>
19433 better report generation target (lcov needs a patch)
19435 2005-07-05 Andy Wingo <wingo@pobox.com>
19437 * gst/elements, testsuite: Null if we got it...
19439 2005-07-05 Wim Taymans <wim@fluendo.com>
19442 * libs/gst/dataprotocol/Makefile.am:
19443 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19444 * libs/gst/dataprotocol/dataprotocol.h:
19445 * pkgconfig/Makefile.am:
19446 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19447 * pkgconfig/gstreamer-dataprotocol.pc.in:
19448 Ported dataprotol to 0.9.
19449 Added pkgconfig files.
19451 2005-07-05 Andy Wingo <wingo@pobox.com>
19453 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19454 Default to returning TRUE for the case when tranform_caps returns
19455 a fixed caps, like for identity or volume.
19457 * check/gst/gstbus.c (pound_bus_with_messages):
19458 * check/gst/gstmessage.c (START_TEST):
19459 * check/pipelines/simple_launch_lines.c (got_handoff): Application
19460 message API change.
19462 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19463 logic weaks here: always run transform_caps, trying passthrough
19464 operation only if the original caps intersects with the transform.
19466 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19467 source and sink caps.
19469 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19470 Intersect the peer caps with the pad template before going into
19472 (gst_base_transform_transform_caps): More debugging.
19474 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19477 2005-07-04 Edward Hervey <edward@fluendo.com>
19481 (gst_pad_add_*_probe): now returns the signal id for better wrapping
19484 2005-07-04 Andy Wingo <wingo@pobox.com>
19486 * check/gst/gstpad.c: Only set explicit caps on pads.
19488 2005-07-01 Andy Wingo <wingo@pobox.com>
19490 * tests/network-clock.scm: Commentary update.
19492 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19493 Didn't really make sense, not implementable with basetransform,
19495 (gst_identity_transform): Unref inbuf via make_writable. Feeble
19496 attempt at implementing the sync property, needs an unlock method.
19498 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19499 New func, by default returns the same caps (the identity
19501 (gst_base_transform_getcaps): Uses transform_caps to return
19502 something sensible.
19503 (gst_base_transform_setcaps): Complicated logic to get caps on
19504 both pads, even if they are different, and to call set_caps once
19505 for every time both pads get their caps set.
19506 (gst_base_transform_handle_buffer): Give the ref to the transform
19507 function. Allows in-place modification of the buffer.
19509 * gst/base/gstbasetransform.h (transform_caps): New class method.
19510 Given caps on one side, what can I do on the other.
19511 (set_caps): Take two caps, one for each side of the element.
19514 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19515 caps in place. This is safe because we can check the mutability of
19516 the caps, and a good idea because fixate functions are just called
19517 as a matter of last resort. (Not actually implemented.)
19518 (gst_pad_set_caps): If the caps we're setting is actually the same
19519 as the existing pad caps, just update the pointer without calling
19520 setcaps. Assert that caps is either NULL or fixed, as per the
19523 * gst/gstghostpad.c: Update for fixate changes.
19525 2005-07-02 Andy Wingo <wingo@pobox.com>
19528 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19529 two refcounts makes it immutable, which is enough. Doc more.
19531 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
19533 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19534 Put the mini_object into GValue as a mini_object,
19535 not a gpointer, since that's how we declared
19538 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19540 * examples/pwg/Makefile.am:
19541 Fix buildbot again.
19543 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19545 * docs/pwg/building-testapp.xml:
19547 * examples/pwg/Makefile.am:
19550 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19553 * examples/Makefile.am:
19554 * examples/pwg/Makefile.am:
19555 * examples/pwg/extract.pl:
19556 Enable building the PWG examples.
19557 * docs/pwg/advanced-interfaces.xml:
19558 Add URI interface stub.
19559 * docs/pwg/advanced-types.xml:
19560 * docs/pwg/other-autoplugger.xml:
19561 * docs/pwg/appendix-porting.xml:
19562 * docs/pwg/pwg.xml:
19563 Add porting guide (mostly stubs), remove autoplugging (see ADM).
19564 * docs/pwg/building-boiler.xml:
19565 * docs/pwg/building-chainfn.xml:
19566 * docs/pwg/building-pads.xml:
19567 * docs/pwg/building-props.xml:
19568 * docs/pwg/building-state.xml:
19569 * docs/pwg/building-testapp.xml:
19570 Update the building-*.xml parts for 0.9 changes. All examples
19571 code blocks compile in examples/pwg/*.
19573 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19575 * docs/manual/advanced-autoplugging.xml:
19576 * docs/manual/appendix-checklist.xml:
19577 * docs/manual/appendix-integration.xml:
19578 * docs/manual/highlevel-components.xml:
19579 Fix playbin/decodebin examples, update docs a bit, mention bus
19580 instead of signals in various places, mention kmplayer and
19581 kaffeine since they have a working GStreamer backend in the KDE
19584 2005-06-30 Wim Taymans <wim@fluendo.com>
19587 * docs/design/draft-ghostpads.txt:
19588 * docs/design/draft-push-pull.txt:
19589 * docs/design/draft-query.txt:
19590 * docs/design/part-TODO.txt:
19591 * docs/design/part-query.txt:
19592 Added CHANGES-0.9 doc, updated status of other docs.
19597 2005-06-30 Wim Taymans <wim@fluendo.com>
19599 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19600 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19601 (gst_base_sink_change_state):
19602 * gst/base/gstbasesink.h:
19603 Some tweaks, only EOS and a buffer complete a preroll.
19605 2005-06-30 Andy Wingo <wingo@pobox.com>
19607 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19608 activate_push down to the internal pad as well.
19610 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
19612 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19614 * gst/gsttaginterface.c:
19615 Some documentation fixes (#307394 and #307397).
19617 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
19619 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19621 * gst/gstvalue.c: (gst_value_intersect_list):
19622 Fix memleak (#309125).
19624 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19626 * docs/manual/advanced-dataaccess.xml:
19627 Fix fakesrc example to compile; doesn't work, bug somewhere...?
19628 * docs/manual/basics-pads.xml:
19629 Add reference for filtered caps to above chapter.
19631 2005-06-30 Wim Taymans <wim@fluendo.com>
19633 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19634 (gst_bin_change_state):
19636 Lame attempt at making the state change function a bit
19639 2005-06-30 Wim Taymans <wim@fluendo.com>
19641 * docs/design/part-clocks.txt:
19642 * docs/design/part-element-sink.txt:
19643 * docs/design/part-events.txt:
19644 * docs/design/part-preroll.txt:
19645 * docs/design/part-states.txt:
19646 Some more tweeks and additions to the docs.
19648 2005-06-30 Wim Taymans <wim@fluendo.com>
19650 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19651 (default_have_data), (gst_pad_class_init), (gst_pad_init),
19652 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19653 (gst_pad_check_pull_range), (gst_pad_get_range),
19654 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19656 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19657 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19658 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19659 (gst_pad_remove_buffer_probe):
19660 Removed atomic operations, use existing LOCK.
19661 Move exception handling out of main code path.
19663 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19665 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19666 (silly_return_true_function), (gst_pad_class_init),
19667 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19668 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19669 (gst_pad_send_event):
19670 Fix accumulator, add default value by using _emitv() instead
19671 of _emit() for signal emission.
19673 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19675 * docs/manual/advanced-dataaccess.xml:
19676 * examples/manual/Makefile.am:
19678 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19681 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
19683 * gst/elements/gstfilesink.c: (gst_filesink_render):
19684 Simplify code so that we don't have to handle short
19685 writes and return GST_FLOW_ERROR if an error occured.
19687 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19689 * docs/gst/gstreamer-docs.sgml:
19690 Remove probes more.
19692 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19694 * docs/gst/gstreamer-sections.txt:
19695 * docs/gst/tmpl/gstpad.sgml:
19696 * docs/gst/tmpl/gstprobe.sgml:
19698 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19699 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19700 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19701 (gst_pad_push_event), (gst_pad_send_event):
19703 * gst/gstutils.c: (gst_pad_add_data_probe),
19704 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19705 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19706 (gst_pad_remove_buffer_probe):
19708 Remove old probes, add new g-signal-based probes and some utility
19711 2005-06-29 Edward Hervey <edward@fluendo.com>
19713 * gst/gstelementfactory.c:
19716 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19717 the definition to the header file.
19719 2005-06-29 Andy Wingo <wingo@pobox.com>
19721 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19722 plugins from the source directory.
19724 2005-06-29 Wim Taymans <wim@fluendo.com>
19726 * docs/gst/tmpl/gstbuffer.sgml:
19727 * docs/gst/tmpl/gstclock.sgml:
19728 Some fixings for blantently wrong text.
19730 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19732 * check/Makefile.am:
19733 * gst/gst.c: (add_path_func), (init_pre):
19734 * gst/gstregistry.c: (gst_registry_add_path):
19735 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19736 only scan the GST_PLUGIN_PATH locations, and not add
19739 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19741 * docs/gst/gstreamer-sections.txt:
19742 * docs/gst/tmpl/gstbasesrc.sgml:
19743 * gst/gstelement.c:
19744 * gst/gstelement.h:
19749 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19751 * docs/manual/advanced-autoplugging.xml:
19752 Fix autoplugging example.
19754 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19756 * docs/manual/advanced-autoplugging.xml:
19757 * docs/manual/mime-world.fig:
19758 Try to get autoplugging working, fix type detection. Fix text
19759 in hello-world image.
19761 2005-06-29 Wim Taymans <wim@fluendo.com>
19763 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19764 (gst_base_sink_change_state):
19768 map SIGNAL and BROADCAST to the right function.
19771 Remove redundant braces.
19773 * gst/gstpad.c: (gst_pad_set_caps):
19774 Don't call setcaps function when reseting caps to NULL.
19776 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19777 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19778 (gst_system_clock_id_unschedule):
19779 Use BROADCAST as this is what we do.
19781 2005-06-29 Wim Taymans <wim@fluendo.com>
19783 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19784 We are actually prerolling before commiting the state
19787 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19789 * docs/manual/advanced-clocks.xml:
19790 * docs/manual/advanced-interfaces.xml:
19791 * docs/manual/advanced-metadata.xml:
19792 * docs/manual/advanced-position.xml:
19793 * docs/manual/advanced-schedulers.xml:
19794 * docs/manual/advanced-threads.xml:
19795 * docs/manual/appendix-porting.xml:
19796 * docs/manual/basics-bins.xml:
19797 * docs/manual/basics-bus.xml:
19798 * docs/manual/basics-elements.xml:
19799 * docs/manual/basics-helloworld.xml:
19800 * docs/manual/basics-pads.xml:
19801 * docs/manual/highlevel-components.xml:
19802 * docs/manual/manual.xml:
19803 * docs/manual/thread.fig:
19804 Update (until threads/scheduling) Application Development Manual;
19805 remove GstThread, add GstBus, add simple porting checklist, add
19806 documentation for tag writing, clocks, make all examples until this
19807 part compile and run.
19808 * examples/manual/Makefile.am:
19809 Update from changes to Application Development Manual; add bus
19810 example, remove thread example.
19812 2005-06-28 Wim Taymans <wim@fluendo.com>
19814 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
19815 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
19816 (gst_bus_source_dispatch):
19817 Add debugging messages.
19818 Make internal methods static.
19819 Handle the case where the bus is flushed in the handler.
19821 * gst/gstelement.c: (gst_element_get_bus):
19822 Fix refcount in _get_bus();
19824 * gst/gstpipeline.c: (gst_pipeline_change_state),
19825 (gst_pipeline_get_clock_func):
19826 Clock refcounting fixes.
19827 Handle the case where preroll timed out more gracefully.
19829 * gst/gstsystemclock.c: (gst_system_clock_dispose):
19830 Clean up the internal thread in dispose. This is needed
19831 for subclasses that actually get disposed.
19833 * gst/schedulers/threadscheduler.c:
19834 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19835 (gst_thread_scheduler_dispose):
19836 Free thread pool in dispose.
19838 2005-06-28 Andy Wingo <wingo@pobox.com>
19840 * tests/network-clock-utils.scm (debug, print-event): New utils.
19842 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
19843 (*packet-loss*): Unified loss probability.
19844 (network-time): Report out-of-band events.
19846 * tests/plot-data: Add support for out-of-band events. Hack it
19847 into this script instead of passing it down the pipe; should fix
19850 2005-06-28 Wim Taymans <wim@fluendo.com>
19852 * docs/gst/gstreamer.types:
19853 * docs/gst/tmpl/gstbasesrc.sgml:
19854 * docs/gst/tmpl/gstpad.sgml:
19857 2005-06-28 Wim Taymans <wim@fluendo.com>
19859 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19860 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
19861 (gst_proxy_pad_do_fixatecaps):
19862 Correctly proxy the check_pull_range function.
19864 2005-06-28 Andy Wingo <wingo@pobox.com>
19866 * tests/network-clock.scm: Removed need for slib.
19868 2005-06-28 Wim Taymans <wim@fluendo.com>
19870 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
19871 (gst_basesink_preroll_queue_flush):
19872 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
19873 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
19874 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19875 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19876 (gst_proxy_pad_set_property):
19879 * gst/gstqueue.c: (gst_queue_init):
19880 The deprecated pad loop function is removed now.
19882 2005-06-28 Andy Wingo <wingo@pobox.com>
19884 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
19885 New parameters, simulate network packet loss.
19887 * tests/network-clock-utils.scm: Initialize the RNG.
19889 2005-06-28 Wim Taymans <wim@fluendo.com>
19891 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
19892 (gst_basesink_event), (gst_basesink_deactivate):
19893 Flushing the preroll queue always needs to unlock the waiters.
19895 2005-06-28 Edward Hervey <edward@fluendo.com>
19897 * gst/gstpipeline.c: (gst_pipeline_send_event):
19898 Wheen a seek was successful on a pipeline, set the stream_time to the
19899 seek offset in order to have a synchronized stream_time.
19901 2005-06-28 Wim Taymans <wim@fluendo.com>
19903 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19904 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
19905 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
19906 (gst_proxy_pad_do_fixatecaps):
19907 Call wrapper function instead of just calling the function
19908 pointers. This takes care of any locking and whatmore.
19910 2005-06-28 Wim Taymans <wim@fluendo.com>
19912 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
19913 (gst_pad_pull_range):
19915 CONNECTED -> LINKED.
19917 2005-06-28 Andy Wingo <wingo@pobox.com>
19919 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
19920 source-munging commit!!!
19922 * gst/gstobject.c (gst_object_unref, gst_object_ref)
19923 (gst_object_sink): Take gpointer arguments, not GstObject --
19924 avoids casts. Like GLib.
19926 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
19929 2005-06-27 Andy Wingo <wingo@pobox.com>
19931 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
19934 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
19935 returns a sorted copy of the trace list.
19936 (gst_alloc_trace_print_live): New API, only prints traces with
19937 live objects. Sort the list.
19938 (gst_alloc_trace_print_all): Sort the list.
19939 (gst_alloc_trace_print): Align columns.
19941 * gst/elements/gstttypefindelement.c:
19942 * gst/elements/gsttee.c:
19943 * gst/base/gstbasesrc.c:
19944 * gst/base/gstbasesink.c:
19945 * gst/base/gstbasetransform.c:
19946 * gst/gstqueue.c: Adapt for pad activation changes.
19948 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
19950 (gst_pipeline_dispose): Drop ref on sched.
19952 * gst/gstpad.c (gst_pad_init): Set the default activate func.
19953 (gst_pad_activate_default): Push mode by default.
19954 (pre_activate_switch, post_activate_switch): New stubs, things to
19955 do before and after switching activation modes on pads.
19956 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
19957 the pad's activate function to choose which mode to activate.
19958 Shortcut on deactivation and call the right function directly.
19959 (gst_pad_activate_pull): New API, (de)activates a pad in pull
19961 (gst_pad_activate_push): New API, same for push mode.
19962 (gst_pad_set_activate_function)
19963 (gst_pad_set_activatepull_function)
19964 (gst_pad_set_activatepush_function): Setters for new API.
19966 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
19967 Trace all miniobjects.
19968 (gst_mini_object_make_writable): Unref the arg if we copy, like
19969 gst_caps_make_writable.
19971 * gst/gstmessage.c (_gst_message_initialize): No trace init.
19973 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
19974 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
19975 Adapt for new pad API.
19977 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
19979 * gst/gstelement.h:
19980 * gst/gstelement.c (gst_element_iterate_src_pads)
19981 (gst_element_iterate_sink_pads): New API functions.
19983 * gst/gstelement.c (iterator_fold_with_resync): New utility,
19984 should fold into gstiterator.c in some form.
19985 (gst_element_pads_activate): Simplified via use of fold and
19986 delegation of decisions to gstpad->activate.
19988 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
19991 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
19992 class once in init, like gstmessage. Didn't run into this issue
19993 but it seems correct. Don't initialize a trace, gstminiobject does
19996 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
19997 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
19999 (assert_live_count): New util function, uses alloc traces to check
20002 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20003 To be modified when unlink drops the internal pad.
20005 2005-06-27 Wim Taymans <wim@fluendo.com>
20007 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20008 (gst_bin_change_state):
20009 Cleanup the get_state() function a little, make sure it
20010 iterates the same set of elements.
20011 Added stub iterate_state_order().
20013 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
20015 * docs/gst/gstreamer-docs.sgml:
20016 * docs/gst/gstreamer-sections.txt:
20017 * docs/gst/gstreamer.types:
20018 * docs/gst/tmpl/gstbasesink.sgml:
20019 * docs/gst/tmpl/gstbasesrc.sgml:
20020 * docs/gst/tmpl/gstbasetransform.sgml:
20021 * docs/gst/tmpl/gstelement.sgml:
20022 * docs/gst/tmpl/gstiterator.sgml:
20023 * gst/base/gstbasesrc.c:
20024 * gst/base/gstbasesrc.h:
20025 * gst/base/gstbasetransform.h:
20026 * gst/gstelement.c:
20027 * gst/gstiterator.h:
20028 adding basetransform and iterator docs
20030 2005-06-27 Andy Wingo <wingo@pobox.com>
20032 * docs/design/part-activation.txt: Notes on how activation should
20033 work -- not quite implemented yet.
20035 2005-06-25 Wim Taymans <wim@fluendo.com>
20037 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20038 At least get the chain function correct, needs more
20041 2005-06-25 Wim Taymans <wim@fluendo.com>
20043 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20044 (gst_basesink_handle_object), (gst_basesink_event),
20045 (gst_basesink_do_sync), (gst_basesink_handle_event),
20046 (gst_basesink_change_state):
20048 Right, two problems here: ghostpads don't take locks and
20049 glib _rec_mutex_lock_full() with depth==0 still locks.
20050 Catch illegal locking and g_warn them.
20052 2005-06-25 Wim Taymans <wim@fluendo.com>
20054 * check/states/sinks.c: (START_TEST), (gst_object_suite):
20055 Have to check for completion now...
20057 2005-06-25 Wim Taymans <wim@fluendo.com>
20059 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20060 (gst_basesink_handle_object), (gst_basesink_event),
20061 (gst_basesink_do_sync), (gst_basesink_handle_event),
20062 (gst_basesink_change_state):
20064 Unlock STREAM_LOCK whatever the recursion was.
20066 2005-06-25 Wim Taymans <wim@fluendo.com>
20068 * gst/base/gstbasesink.c: (gst_basesink_set_property),
20069 (gst_basesink_preroll_queue_empty),
20070 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20071 (gst_basesink_event), (gst_basesink_do_sync),
20072 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20073 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20074 (gst_basesink_change_state):
20075 Reworked the base sink, handle event and buffer serialisation
20076 correctly and removed possible deadlock.
20077 Handle EOS correctly.
20079 2005-06-25 Wim Taymans <wim@fluendo.com>
20081 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20082 (gst_pipeline_change_state):
20083 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20084 Allow elements to post EOS in the state change function.
20085 Fix up -launch, make it exit the poll loop when the
20086 pipeline actually changed state.
20087 Fix up warning parsing in -launch.
20089 2005-06-25 Wim Taymans <wim@fluendo.com>
20091 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20092 (gst_tee_sink_activate):
20093 Core takes STREAM_LOCK for us now.
20095 2005-06-25 Wim Taymans <wim@fluendo.com>
20097 * gst/gstelement.c: (gst_element_get_state_func),
20098 (gst_element_set_state):
20099 * gst/gstelement.h:
20100 * gst/gstmessage.c: (gst_message_parse_error),
20101 (gst_message_parse_warning):
20102 Keep track of current target state while performing a state
20103 change so that subclasses can do something interesting.
20104 Fix parsing of warning/error messages when GError is NULL.
20106 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
20108 * docs/gst/Makefile.am:
20109 * docs/gst/gstreamer-docs.sgml:
20110 * docs/gst/gstreamer-sections.txt:
20111 * docs/gst/gstreamer.types:
20112 * docs/gst/tmpl/gstbasesink.sgml:
20113 * docs/gst/tmpl/gstbasesrc.sgml:
20114 * docs/gst/tmpl/gstbin.sgml:
20115 * docs/gst/tmpl/gstcompat.sgml:
20116 * docs/gst/tmpl/gstfakesink.sgml:
20117 * docs/gst/tmpl/gstfakesrc.sgml:
20118 * docs/gst/tmpl/gstfilesink.sgml:
20119 * docs/gst/tmpl/gstfilesrc.sgml:
20120 * docs/gst/tmpl/gstindex.sgml:
20121 * docs/manual/appendix-quotes.xml:
20122 * gst/base/gstbasesrc.h:
20123 * gst/elements/gstfakesrc.h:
20124 * gst/gstmessage.h:
20125 start pulling in base classes and elements in our docs
20127 2005-06-24 Stefan Kost <ensonic@users.sf.net>
20129 * docs/gst/Makefile.am:
20130 * docs/libs/Makefile.am:
20131 fixed make distcheck with gtk-doc 1.3
20133 2005-06-23 Wim Taymans <wim@fluendo.com>
20135 * gst/gstelement.c: (gst_element_get_state_func),
20136 (gst_element_set_state), (gst_element_change_state):
20137 When the state did not change, also report NO_PREROLL
20140 2005-06-23 Wim Taymans <wim@fluendo.com>
20142 * gst/gstpad.c: (gst_pad_event_default):
20143 * gst/gstqueue.c: (gst_queue_loop):
20144 No unsafe task pausing please.
20146 2005-06-23 Wim Taymans <wim@fluendo.com>
20148 * gst/schedulers/threadscheduler.c:
20149 (gst_thread_scheduler_task_start),
20150 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20151 Ref the task before pushing it on the threadpool. This
20152 makes sure that we have a ref when the threadfunction is
20155 2005-06-23 Andy Wingo <wingo@pobox.com>
20157 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20158 offset is greater than the file's size.
20160 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
20161 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20162 * gst/gstobject.c (gst_object_class_init): Make the class lock
20163 recursive. Wim won't let me drop deep_notify. Decodebin works
20164 again, whoopdy doo.
20166 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20167 internal pad, and hacks accordingly. Doesn't do it on the target
20168 pad because we change its caps. Probably catches all cases of
20170 (gst_ghost_pad_set_property): Connect to notify::caps as
20173 * tests/network-clock.scm (plot-simulation): Pipe data to the
20174 elite python skript.
20176 * tests/network-clock-utils.scm (define-parameter): New macro,
20177 defines a parameter that can be set via the command line.
20178 (set-parameter!, parse-parameter-arguments): Command line args
20181 * tests/plot-data: Simple matplotlib-based plotter, takes input on
20184 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
20186 * gst/elements/gsttypefindelement.c:
20187 (gst_type_find_element_handle_event):
20188 Don't restart typefinding on a discont.
20189 * gst/gstelement.c: (gst_element_set_state):
20190 Debug spelling fix.
20191 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20192 Allow changing mode of an active pad.
20193 Debug output fixes.
20194 * gst/registries/gstlibxmlregistry.c: (load_feature):
20195 Don't cast a static pad template to a normal pad template.
20197 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
20199 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20200 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20201 remove gst_strtoll completely, since it didn't actually do
20202 anything more than what g_ascii_strtoull already does.
20203 check for range errors when deserializing
20204 do a cast for the unsigned cases; but further fixing needs
20205 a decision on what the interpretation of "(int)" and
20206 deserialization should be for values that fall outside the
20207 type's boundaries (ie, refuse, or interpret as casting)
20209 2005-06-23 Wim Taymans <wim@fluendo.com>
20211 * check/Makefile.am:
20212 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20213 * docs/design/part-live-source.txt:
20214 * docs/design/part-states.txt:
20215 * gst/base/gstbasesrc.c: (gst_basesrc_init),
20216 (gst_basesrc_set_live), (gst_basesrc_is_live),
20217 (gst_basesrc_get_range), (gst_basesrc_activate),
20218 (gst_basesrc_change_state):
20219 * gst/base/gstbasesrc.h:
20220 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20221 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20222 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20223 * gst/gstelement.c: (gst_element_get_state_func),
20224 (gst_element_set_state):
20225 * gst/gstelement.h:
20227 * tools/gst-launch.c: (event_loop), (main):
20228 Added support for live sources and other elements that
20230 Updated design docs, added live-source design doc.
20231 Implemented live source functionality in basesrc
20232 Fix error condition in _bin_get_state()
20233 Implement live source handling in -launch.
20234 Added check for live sources.
20235 Fixed case in GstBin where elements were changed state
20239 2005-06-23 Andy Wingo <wingo@pobox.com>
20241 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20242 borken refcounting.
20244 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20245 gst_caps_replace takes care of this for us.
20247 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20248 gst_pad_set_caps on the target, not just its setcaps() function.
20250 * tests/network-clock.scm:
20251 * tests/network-clock-utils.scm: A network clock simulator.
20252 Something of an algorithmic testbed before doing something in C.
20254 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20256 * check/Makefile.am:
20257 * check/gst/capslist.h:
20258 copy over from 0.8, and add two with bitmasks specified with
20260 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20261 add test to parse everything from capslist.h
20262 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20264 add test for structure deserialization
20265 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20266 add tests for deserialization of strings to int types
20267 * gst/gststructure.c: (gst_structure_nth_field_name):
20268 * gst/gststructure.h:
20269 add a way to get the name of a field referenced by index
20270 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20271 instead of checking if the resulting long long lies between
20272 min and max, we check if the long long would fit into
20273 a number of bytes for the final type.
20274 This fixes cases where a string represents 2^32 - 1, which
20275 when cast to int would be the (valid) -1, but is bigger than
20278 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20280 * gst/parse/grammar.y:
20281 add a log line for type deserialization
20283 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20285 * check/gst/gstvalue.c: (START_TEST):
20286 * gst/gstvalue.c: (gst_value_deserialize):
20287 return long long, not int, so gint64 deserialization actually
20288 works. Is there any flag that makes the compiler check this ?
20291 2005-06-22 Wim Taymans <wim@fluendo.com>
20294 Added convenience macros for setting buffers in GValue.
20296 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20298 * check/gst/.cvsignore:
20299 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20300 add a test deserializing int64, and comment part out because
20303 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20305 * check/Makefile.am:
20306 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20307 * testsuite/Makefile.am:
20308 * testsuite/caps/Makefile.am:
20309 * testsuite/caps/value_serialize.c:
20310 * testsuite/test_gst_init.c:
20311 move a value_serialize test over
20313 2005-06-20 Wim Taymans <wim@fluendo.com>
20318 * gst/gstvalue.c: (gst_value_compare_buffer),
20319 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20320 (gst_value_compare_flags), (gst_value_serialize_flags),
20321 (gst_value_deserialize_flags), (_gst_value_initialize):
20322 Fix serialisation of buffers, they are not boxed types anymore
20324 2005-06-20 Wim Taymans <wim@fluendo.com>
20326 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20327 Testcase to show error in buffer-on-caps serialisation.
20329 2005-06-20 Andy Wingo <wingo@pobox.com>
20331 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20332 will be adding to later.
20334 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20335 if its socks fill with rocks.
20336 (gst_system_clock_obtain): Set the name on object construction.
20337 Avoid double-checked locking.
20339 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
20341 * gst/gsturi.c: (gst_element_make_from_uri):
20342 Fix potential endless loop.
20344 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20346 * check/Makefile.am:
20348 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20350 move over from testsuite dir and clean up
20353 * testsuite/Makefile.am:
20354 * testsuite/tags/.cvsignore:
20355 * testsuite/tags/Makefile.am:
20356 * testsuite/tags/merge.c:
20357 remove testsuite/tags
20359 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20361 * docs/gst/gstreamer-sections.txt:
20362 * docs/gst/tmpl/gstenumtypes.sgml:
20363 * win32/gstenumtypes.c:
20364 clean up documentation build a little
20366 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20368 * check/gstcheck.h:
20369 add macros for checking refcounts on objects and caps
20370 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20371 add some more unit tests
20372 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20373 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20374 fix leaked refcounts (I hope :)) so unittest works
20378 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20380 * configure.ac: back to HEAD
20382 === release 0.9.1 ===
20384 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
20390 2005-06-17 Andy Wingo <wingo@pobox.com>
20392 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20393 assert; it's always possible that the pad gets deactivated in
20394 between the checks in gstpad.c and the implementation. Rely on
20395 finish_preroll() to return a FLUSHING or similar instead of on the
20398 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20399 clock and post an EOS message if we come out of finish_preroll in
20402 2005-06-16 David Schleef <ds@schleef.org>
20404 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20405 (gst_capsfilter_set_property): Allow NULL as possible value
20406 for filter_caps property, indicating GST_CAPS_ANY.
20408 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20410 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20412 * gst/schedulers/Makefile.am:
20414 * gstreamer.spec.in:
20417 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20419 * gstreamer.spec.in:
20422 2005-06-08 Andy Wingo <wingo@pobox.com>
20424 * gst/gstutils.c: RPAD fixes all around.
20425 (gst_element_link_pads): Refcounting fixes.
20427 * tools/gst-inspect.c:
20428 * tools/gst-xmlinspect.c:
20430 * gst/base/gsttypefindhelper.c:
20431 * gst/base/gstbasesink.c:
20432 * gst/gstqueue.c: RPAD fixes.
20434 * gst/gstghostpad.h:
20435 * gst/gstghostpad.c: New ghost pad implementation as full proxy
20436 pads. The tricky thing is they provide both source and sink
20437 interfaces, since they proxy the internal pad for the external
20438 pad, and vice versa. Implement with lower-level ProxyPad objects,
20439 with the interior proxy pad as a child of the exterior ghost pad.
20440 Should write a doc on this.
20442 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20443 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20446 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20447 pads are real pads. No ghost pads in this file. Not documenting
20448 the myriad s/RPAD/PAD/ and REALIZE fixes.
20449 (gst_pad_class_init): Add properties for "direction" and
20450 "template". Both are construct-only, so they can't change during
20451 the life of the pad. Fixes properly deriving from GstPad.
20452 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20453 derived objects, just set properties when creating the objects via
20455 (gst_pad_get_parent): Implement as a function, return NULL if the
20456 parent is not an element.
20457 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20458 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20460 * gst/gstobject.c (gst_object_class_init): Make name a construct
20461 property. Don't set it in the object init.
20463 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20464 with UNKNOWN direction.
20465 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20466 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20467 (gst_element_remove_pad): Remove ghost-pad special cases.
20468 (gst_element_pads_activate): Remove rpad cruft.
20470 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20471 catch the pad's-parent-not-an-element case.
20473 * gst/gst.h: Include gstghostpad.h.
20475 * gst/gst.c (init_post): No more real, ghost pads.
20477 * gst/Makefile.am: Add gstghostpad.[ch].
20479 * check/Makefile.am:
20480 * check/gst/gstbin.c:
20481 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20482 into a bin creates ghost pads, and that the refcounts are right.
20483 Partly moved from gstbin.c.
20485 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20487 * check/gst-libs/.cvsignore:
20488 * check/gst/.cvsignore:
20489 * check/pipelines/.cvsignore:
20491 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20492 (START_TEST), (cleanup_suite), (main):
20493 add some tests related to cleanup after running pipelines
20495 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20497 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20498 add a testsuite for GstBuffer
20500 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20502 * gst/gstminiobject.h:
20503 add defines for accessing the refcount
20505 2005-06-03 Stefan Kost <ensonic@users.sf.net>
20507 * Makefile.am: added support for html unit test coverage reports
20509 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
20511 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20512 Free existing caps if the capsfilter changes. Add a FIXME about
20513 setting those caps on the pads.
20515 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20516 Before adding a ghost pad to a parent bin, check that there isn't
20517 already one for the element on the bin. Prevents infinite recursion
20518 when using decodebin in parse pipelines. Andy says he'll rewrite the
20519 way this works anyway, so ignore the hack.
20521 2005-06-02 Andy Wingo <wingo@pobox.com>
20523 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20524 file size, pass it on to the type find helper.
20526 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20527 segment_start and segment_end properly according to the seek
20528 method. Segment_end is still a bit flaky because offset can be
20529 negative for CUR and END cases, but it takes -1 as an "unset"
20532 2005-06-02 Wim Taymans <wim@fluendo.com>
20534 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20535 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20536 (gst_basesink_activate):
20537 * gst/base/gstbasesink.h:
20538 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20539 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20540 (gst_pad_query), (gst_pad_start_task):
20542 * gst/gstqueue.c: (gst_queue_bufferalloc),
20543 (gst_queue_handle_sink_event), (gst_queue_chain):
20544 Bufferalloc: return GstFlowReturn to more accuratly report
20545 why allocation failed.
20547 2005-06-02 Wim Taymans <wim@fluendo.com>
20549 * gst/gstpipeline.c: (gst_pipeline_send_event):
20550 Take snapshot of state without blocking.
20552 2005-06-02 Wim Taymans <wim@fluendo.com>
20554 * docs/design/part-TODO.txt:
20555 * docs/design/part-caps.txt:
20556 * docs/design/part-clocks.txt:
20557 * docs/design/part-negotiation.txt:
20558 * docs/design/part-preroll.txt:
20561 2005-05-30 Wim Taymans <wim@fluendo.com>
20563 * gst/elements/gstidentity.c: (gst_identity_event),
20564 (gst_identity_transform), (gst_identity_get_property):
20565 Protect last_message property as it is accessed from
20568 2005-05-30 Wim Taymans <wim@fluendo.com>
20570 * gst/gstelement.c: (gst_element_init),
20571 (gst_element_pads_activate), (gst_element_change_state):
20572 Slicker pad activation code.
20574 2005-05-30 Wim Taymans <wim@fluendo.com>
20577 * gst/gstelement.h:
20578 * gst/gstelementfactory.h:
20580 Move elementfactory methods to separate .h file.
20582 2005-05-30 Wim Taymans <wim@fluendo.com>
20584 * docs/design/part-overview.txt:
20585 * gst/gstsystemclock.h:
20586 Small typo fixes, doc updates.
20588 2005-05-30 Wim Taymans <wim@fluendo.com>
20590 * gst/gst.c: (gst_init_get_popt_table), (init_post),
20591 (init_popt_callback):
20592 Remove cpu-opt flag.
20594 2005-05-30 Wim Taymans <wim@fluendo.com>
20596 * gst/gstbuffer.c: (gst_subbuffer_finalize),
20597 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20599 Avoid typechecking in places where not needed.
20600 Added accessor for malloc_data.
20602 2005-05-30 Wim Taymans <wim@fluendo.com>
20604 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20605 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20606 (gst_pad_configure_sink), (gst_pad_configure_src),
20607 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20608 (gst_pad_start_task):
20609 Propagate errors from _set_caps() in configure_src/sink
20610 functions instead of returning TRUE.
20611 FLUSH events can travel up and downstream
20614 2005-05-30 Wim Taymans <wim@fluendo.com>
20616 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20617 (gst_basesink_activate):
20618 Handle EOS in preroll.
20620 2005-05-30 Wim Taymans <wim@fluendo.com>
20622 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20623 (gst_queue_loop), (gst_queue_handle_src_event):
20624 Remove old pieces of code
20625 Flushing the queue in an upstream event is a very bad idea.
20627 2005-05-26 Andy Wingo <wingo@pobox.com>
20629 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20630 gst_value_set_mini_object so as to add a ref on the object (which
20631 will be removed when the value is unset).
20633 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20634 arg type in ::handoff.
20636 * gst/gstelement.c (gst_element_change_state): Also deactivate
20637 pads in READY->NULL, just in case the element didn't make it to
20638 PAUSED. Wingo tested, Wim approved.
20640 2005-05-26 Wim Taymans <wim@fluendo.com>
20642 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20643 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20644 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20645 A flushing pad cannot be used to alloc_buffer from.
20647 2005-05-26 Wim Taymans <wim@fluendo.com>
20649 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20650 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20651 (gst_bus_source_dispatch), (gst_bus_source_finalize),
20652 (gst_bus_create_watch), (gst_bus_add_watch_full):
20654 Implement a real GSource and use g_main_context_wakeup() to
20655 signal new messages instead of the socketpair.
20657 2005-05-25 Wim Taymans <wim@fluendo.com>
20659 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20660 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20661 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20662 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20663 (gst_pad_send_event), (gst_pad_start_task):
20664 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20665 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20666 (gst_queue_sink_activate), (gst_queue_src_activate),
20667 (gst_queue_change_state):
20669 Fix state changes for non sinks. We now change sinks, then elements
20670 with unconnected srcpads, then the rest.
20671 More efficient queue unlocking in flush and state changes.
20672 Set the pad activate mode even if it does not have an activate
20675 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20677 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20678 Don't go in pull mode for non-seekable sources.
20679 * gst/elements/gsttypefindelement.h:
20680 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20681 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20682 (free_entry), (stop_typefinding),
20683 (gst_type_find_element_handle_event), (find_peek),
20684 (gst_type_find_element_chain), (do_pull_typefind),
20685 (gst_type_find_element_change_state):
20686 Allow typefinding (w/o seeking) in push-mode, simplified version
20687 of what was in 0.8.
20688 * gst/gstutils.c: (gst_buffer_join):
20690 gst_buffer_join() from 0.8.
20692 2005-05-25 Wim Taymans <wim@fluendo.com>
20694 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20695 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20696 (gst_pad_send_event), (gst_pad_start_task):
20697 Disable attempt at mode switching until it is figured out.
20699 2005-05-25 Wim Taymans <wim@fluendo.com>
20701 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20702 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20703 (gst_basesink_finish_preroll), (gst_basesink_chain),
20704 (gst_basesink_loop), (gst_basesink_activate),
20705 (gst_basesink_change_state):
20706 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20707 (gst_basesrc_get_range), (gst_basesrc_loop),
20708 (gst_basesrc_activate):
20709 * gst/elements/gsttee.c: (gst_tee_sink_activate):
20710 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20711 (gst_real_pad_init), (gst_real_pad_set_property),
20712 (gst_real_pad_get_property), (gst_pad_set_active),
20713 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20714 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20715 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20716 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20717 (gst_pad_event_default_dispatch), (gst_pad_event_default),
20718 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20719 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20720 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20721 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20722 (gst_pad_stop_task):
20724 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20725 (gst_queue_loop), (gst_queue_src_activate):
20726 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20727 (gst_task_get_state):
20729 * gst/schedulers/threadscheduler.c:
20730 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20731 Implement gst_pad_pause/start/stop_task(), take STREAM lock
20733 Remove ACTIVE pad flag, use FLUSHING everywhere
20734 Added _pad_chain(), _pad_get_range() to call chain/getrange
20736 Add locks around IS_FLUSHING when reading.
20737 Take STREAM lock in chain(), get_range() functions so plugins
20738 don't need to take it anymore.
20742 2005-05-25 Wim Taymans <wim@fluendo.com>
20744 * tools/gst-launch.c: (event_loop):
20745 Unref message after using its contents instead of
20748 2005-05-24 Wim Taymans <wim@fluendo.com>
20750 * docs/design/draft-ghostpads.txt:
20751 * docs/design/draft-push-pull.txt:
20752 * docs/design/draft-query.txt:
20753 * docs/design/part-overview.txt:
20754 Docs updates, added general overview doc.
20756 2005-05-21 David Schleef <ds@schleef.org>
20758 * docs/gst/tmpl/old/GstBin.sgml:
20759 * docs/gst/tmpl/old/GstBuffer.sgml:
20760 * docs/gst/tmpl/old/GstCaps.sgml:
20761 * docs/gst/tmpl/old/GstClock.sgml:
20762 * docs/gst/tmpl/old/GstCompat.sgml:
20763 * docs/gst/tmpl/old/GstData.sgml:
20764 * docs/gst/tmpl/old/GstElement.sgml:
20765 * docs/gst/tmpl/old/GstEvent.sgml:
20766 * docs/gst/tmpl/old/GstIndex.sgml:
20767 * docs/gst/tmpl/old/GstStructure.sgml:
20768 * docs/gst/tmpl/old/GstTag.sgml:
20769 * docs/gst/tmpl/old/cothreads.sgml:
20770 * docs/gst/tmpl/old/cothreads_compat.sgml:
20771 * docs/gst/tmpl/old/gettext.sgml:
20772 * docs/gst/tmpl/old/gobject2gtk.sgml:
20773 * docs/gst/tmpl/old/grammar.tab.sgml:
20774 * docs/gst/tmpl/old/gst-i18n-app.sgml:
20775 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20776 * docs/gst/tmpl/old/gst_private.sgml:
20777 * docs/gst/tmpl/old/gstaggregator.sgml:
20778 * docs/gst/tmpl/old/gstarch.sgml:
20779 * docs/gst/tmpl/old/gstatomic_impl.sgml:
20780 * docs/gst/tmpl/old/gstbufferstore.sgml:
20781 * docs/gst/tmpl/old/gstdata_private.sgml:
20782 * docs/gst/tmpl/old/gstdisksink.sgml:
20783 * docs/gst/tmpl/old/gstdisksrc.sgml:
20784 * docs/gst/tmpl/old/gstelementfactory.sgml:
20785 * docs/gst/tmpl/old/gstextratypes.sgml:
20786 * docs/gst/tmpl/old/gstfakesink.sgml:
20787 * docs/gst/tmpl/old/gstfakesrc.sgml:
20788 * docs/gst/tmpl/old/gstfdsink.sgml:
20789 * docs/gst/tmpl/old/gstfdsrc.sgml:
20790 * docs/gst/tmpl/old/gstfilesink.sgml:
20791 * docs/gst/tmpl/old/gstfilesrc.sgml:
20792 * docs/gst/tmpl/old/gsthttpsrc.sgml:
20793 * docs/gst/tmpl/old/gstidentity.sgml:
20794 * docs/gst/tmpl/old/gstindexfactory.sgml:
20795 * docs/gst/tmpl/old/gstmarshal.sgml:
20796 * docs/gst/tmpl/old/gstmd5sink.sgml:
20797 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20798 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20799 * docs/gst/tmpl/old/gstpadtemplate.sgml:
20800 * docs/gst/tmpl/old/gstpipefilter.sgml:
20801 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20802 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20803 * docs/gst/tmpl/old/gstshaper.sgml:
20804 * docs/gst/tmpl/old/gstspider.sgml:
20805 * docs/gst/tmpl/old/gstspideridentity.sgml:
20806 * docs/gst/tmpl/old/gststatistics.sgml:
20807 * docs/gst/tmpl/old/gsttee.sgml:
20808 * docs/gst/tmpl/old/gsttimecache.sgml:
20809 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
20810 * docs/gst/tmpl/old/gstxmlregistry.sgml:
20811 * docs/gst/tmpl/old/gthread-cothreads.sgml:
20812 * docs/gst/tmpl/old/types.sgml:
20813 I didn't intend to add these or check them in.
20815 2005-05-19 David Schleef <ds@schleef.org>
20817 * configure.ac: Use -no-common everywhere. In a sane world, it
20818 would be the default in libtool, because without it, you can't
20819 build DLLs on Windows.
20820 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
20821 * docs/gst/gstreamer-sections.txt:
20822 * docs/gst/tmpl/gstcpu.sgml:
20823 * docs/gst/tmpl/gstdata.sgml:
20824 * docs/gst/tmpl/gstthread.sgml:
20826 2005-05-19 David Schleef <ds@schleef.org>
20828 * gst/gstminiobject.c: (gst_value_set_mini_object),
20829 (gst_value_take_mini_object), (gst_value_get_mini_object):
20830 * gst/gstminiobject.h: Add GValue set/get functions.
20832 2005-05-19 Wim Taymans <wim@fluendo.com>
20834 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
20835 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
20836 (gst_subbuffer_init), (gst_buffer_is_span_fast):
20838 * gst/gstbus.c: (gst_bus_post):
20839 * gst/gstelement.c: (gst_element_get_random_pad):
20840 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
20841 Make subbufer unref the parent in finalize.
20842 some more debugging info.
20845 2005-05-19 Wim Taymans <wim@fluendo.com>
20847 * gst/base/gstbasesink.c: (gst_basesink_class_init),
20848 (gst_basesink_init), (gst_basesink_finalize),
20849 (gst_basesink_activate), (gst_basesink_change_state):
20850 Don't free preroll queue too early.
20852 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20856 Hi, I'm outdated. Please shoot me.
20858 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20860 * gst/gstpipeline.c: (gst_pipeline_send_event):
20861 Do not access variables after they have been deleted.
20863 2005-05-19 Wim Taymans <wim@fluendo.com>
20865 * tools/gst-inspect.c: (print_plugin_features):
20866 A plugin feature does unfortunatly not use the
20869 2005-05-18 Wim Taymans <wim@fluendo.com>
20871 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
20872 Port _span() functions to new subbuffers.
20874 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20876 * gst/gstbin.c: (gst_bin_add_func):
20877 Fix clock settery in bins when adding kids after the clock has
20880 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20882 * gst/elements/gstidentity.c: (gst_identity_class_init):
20883 Workaround until signals support GstMiniObject.
20885 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
20888 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
20890 2005-05-18 Wim Taymans <wim@fluendo.com>
20892 * gst/base/Makefile.am:
20893 * gst/base/gstadapter.c: (gst_adapter_base_init),
20894 (gst_adapter_class_init), (gst_adapter_init),
20895 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
20896 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
20897 (gst_adapter_flush), (gst_adapter_available),
20898 (gst_adapter_available_fast):
20899 * gst/base/gstadapter.h:
20900 Ported and added adapter to the base classes.
20902 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20905 * gst/gstmessage.c:
20906 Make sure the class is reffed/unreffed once before threads can be
20907 used. Fixes #304551.
20909 2005-05-17 Wim Taymans <wim@fluendo.com>
20911 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
20912 (gst_basesink_chain_unlocked), (gst_basesink_activate):
20913 * gst/gstminiobject.c: (gst_mini_object_get_type),
20914 (gst_mini_object_free):
20915 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
20916 (gst_pad_push), (gst_pad_push_event):
20917 * gst/gstqueue.c: (gst_queue_change_state):
20918 Don't queue buffers in basesink when we are flushing.
20919 Unref buffer when flushing in basesink.
20920 Flush queue when going to READY
20921 Unref buffer when _push() returns an error.
20922 Don't free MiniObject instance when refcount is incremented
20923 in _finalize() so that we can recover objects.
20925 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
20927 * docs/manual/advanced-schedulers.xml:
20928 * docs/manual/appendix-checklist.xml:
20929 * docs/pwg/advanced-clock.xml:
20930 * docs/pwg/advanced-interfaces.xml:
20931 * docs/pwg/advanced-request.xml:
20932 * docs/pwg/advanced-types.xml:
20933 * docs/pwg/intro-preface.xml:
20934 * examples/plugins/example.c: (gst_example_get_type),
20935 (gst_example_class_init), (gst_example_chain),
20936 (gst_example_set_property), (gst_example_get_property),
20937 (gst_example_change_state), (plugin_init):
20938 * examples/plugins/example.h:
20941 2005-05-17 Wim Taymans <wim@fluendo.com>
20943 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
20944 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
20945 * gst/gstqueue.c: (gst_queue_change_state):
20946 Clear queue when going to READY.
20947 Remove IN_SETCAPS flag too.
20949 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
20951 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
20952 Remove implicit cast from gboolean to GstElementStateReturn;
20953 make sure we still return failure in paused => ready case if
20954 the parent class fails to change state and our own stop
20957 2005-05-17 Wim Taymans <wim@fluendo.com>
20959 * tools/gst-launch.c: (event_loop):
20960 Message was unreffed too soon.
20962 2005-05-16 Andy Wingo <wingo@pobox.com>
20964 * gst/gstbin.c (sink_iterator_filter): Err... um...
20966 * check/gst/gstbin.c (test_ghost_pads): New test for the
20967 ghosting-if-elements-not-in-same-bin behavior.
20969 2005-05-16 David Schleef <ds@schleef.org>
20971 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
20972 accessing refcount directly.
20974 2005-05-15 David Schleef <ds@schleef.org>
20976 * check/Makefile.am: remove GstData checks
20977 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
20978 * gst/Makefile.am: add miniobject, remove data
20979 * gst/gst.h: add miniobject, remove data
20980 * gst/gstdata.c: remove
20981 * gst/gstdata.h: remove
20982 * gst/gstdata_private.h: remove
20983 * gst/gsttypes.h: remove GstEvent and GstMessage
20984 * gst/gstelement.c: (gst_element_post_message): fix for API changes
20985 * gst/gstmarshal.list: change BOXED -> OBJECT
20987 Implement GstMiniObject.
20988 * gst/gstminiobject.c:
20989 * gst/gstminiobject.h:
20991 Modify to be subclasses of GstMiniObject.
20992 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
20993 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
20994 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
20995 (gst_subbuffer_get_type), (gst_subbuffer_init),
20996 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
20999 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21000 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21001 (_gst_event_copy), (gst_event_new):
21003 * gst/gstmessage.c: (_gst_message_initialize),
21004 (gst_message_get_type), (gst_message_class_init),
21005 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21006 (gst_message_new), (gst_message_new_error),
21007 (gst_message_new_warning), (gst_message_new_tag),
21008 (gst_message_new_state_changed), (gst_message_new_application):
21009 * gst/gstmessage.h:
21010 * gst/gstprobe.c: (gst_probe_perform),
21011 (gst_probe_dispatcher_dispatch):
21013 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21014 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21015 (_gst_query_copy), (gst_query_new):
21017 Update elements for GstData -> GstMiniObject changes
21019 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21020 (gst_queue_chain), (gst_queue_loop):
21021 * gst/elements/gstbufferstore.c:
21022 (gst_buffer_store_add_buffer_func),
21023 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21024 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21025 (gst_fakesink_render):
21026 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21027 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21028 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21029 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21030 (gst_filesrc_create_read):
21031 * gst/elements/gstidentity.c: (gst_identity_class_init):
21032 * gst/elements/gsttypefindelement.c:
21033 (gst_type_find_element_src_event), (free_entry_buffers),
21034 (gst_type_find_element_handle_event):
21035 * libs/gst/dataprotocol/dataprotocol.c:
21036 (gst_dp_header_from_buffer):
21037 * libs/gst/dataprotocol/dataprotocol.h:
21038 * libs/gst/dataprotocol/dp-private.h:
21040 2005-05-15 David Schleef <ds@schleef.org>
21042 * gst/elements/gstelements.c: Don't include headers that were
21045 2005-05-15 David Schleef <ds@schleef.org>
21047 * gst/elements/Makefile.am: Remove some elements that don't
21048 need to be in the core (or even exist at all).
21049 * gst/elements/gstaggregator.c:
21050 * gst/elements/gstaggregator.h:
21051 * gst/elements/gstmd5sink.c:
21052 * gst/elements/gstmd5sink.h:
21053 * gst/elements/gstmultifilesrc.c:
21054 * gst/elements/gstmultifilesrc.h:
21055 * gst/elements/gstpipefilter.c:
21056 * gst/elements/gstpipefilter.h:
21057 * gst/elements/gstshaper.c:
21058 * gst/elements/gstshaper.h:
21059 * gst/elements/gststatistics.c:
21060 * gst/elements/gststatistics.h:
21061 * po/POTFILES.in: Remove above files.
21063 2005-05-14 Andy Wingo <wingo@pobox.com>
21065 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21066 so as to get the refs right.
21067 (sink_iterator_filter): New function, wraps bin_element_is_sink,
21068 unreffing objects that don't pass the filter.
21070 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21071 gst_element_set_bus.
21072 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21073 normal cases, this will destroy the bus.
21075 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21078 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21081 2005-05-13 Andy Wingo <wingo@pobox.com>
21083 * gst/gstutils.c (gst_element_link_pads): Instead of calling
21084 gst_pad_link, call pad_link_maybe_ghosting,
21085 (pad_link_maybe_ghosting): Links pads, making sure that the
21086 elements being linked are in the same bin.
21087 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21088 Helpers for pad_link_maybe_ghosting.
21090 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21093 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21095 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21097 * docs/design/part-element-source.txt:
21100 2005-05-12 Wim Taymans <wim@fluendo.com>
21102 * gst/base/gstbasesink.c: (gst_basesink_init),
21103 (gst_basesink_activate):
21104 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21105 (gst_basesrc_is_seekable):
21106 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21107 (bin_element_is_sink), (gst_bin_change_state):
21108 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21109 * gst/gstelement.h:
21110 Identify sinks by their flag to avoid overly complicated
21112 Do state changes even for elements not reachable from the
21114 BaseSink is a sink now :)
21115 Some more debugging info in the basesrc.
21118 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21120 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21121 Implement _query on a bin, similar to _send_event.
21123 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
21125 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21126 Discont event offset format should be GST_FORMAT_BYTES,
21127 not GST_FORMAT_TIME.
21129 2005-05-12 Wim Taymans <wim@fluendo.com>
21131 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21132 Same fix as Ronald's but without the signal.
21134 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21136 * gst/gstutils.c: (gst_element_query_position):
21137 No, an element is not a pad.
21139 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21141 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21142 (gst_bin_get_state):
21143 If a child is removed from a bin while we remove the child from
21144 the bin and while we're retrieving its state, signal this to the
21145 get_state function so we abort the wait (instead of waiting for
21146 a timeout) and can immediately re-iterate over all other elements.
21148 2005-05-12 Wim Taymans <wim@fluendo.com>
21150 * gst/base/Makefile.am:
21151 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21152 (gst_basesrc_start):
21153 * gst/base/gstbasesrc.h:
21154 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21155 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21156 (gst_pushsrc_init), (gst_pushsrc_create):
21157 * gst/base/gstpushsrc.h:
21158 Added is_seekable to BaseSrc
21159 Added simple PushSrc.
21161 2005-05-11 Wim Taymans <wim@fluendo.com>
21163 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21164 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21165 (gst_element_link_pads), (gst_element_query_position),
21166 (gst_element_query_convert), (intersect_caps_func),
21167 (gst_pad_query_position), (gst_pad_query_convert):
21168 Fix refcounting in utils function.
21169 No point in trying to activate a pad when it's added, it could
21170 be added from the state change function and then we deadlock, the
21171 element has to decide what to do.
21173 2005-05-10 Andy Wingo <wingo@pobox.com>
21175 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21176 *all* the arguments.
21178 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21179 stream lock if it's a FLUSH_DONE; normal flushes don't get the
21180 lock (according to the docs -- if this is wrong change the docs).
21182 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21183 flush messages in the NULL state.
21185 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21186 message immediately and return.
21187 (gst_bus_set_flushing): New function. If a bus is flushing, it
21188 flushes out any queued messages and immediately unrefs new
21189 messages. This is so when an element goes to NULL, all of the
21190 unhandled messages coming from it can be freed, and their
21191 references to the element dropped. In other words: message source
21192 ref considered harmful :P
21194 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21195 we're finished with it.
21197 * gst/gstmessage.c (gst_message_new_state_changed):
21199 2005-05-10 Wim Taymans <wim@fluendo.com>
21201 * gst/gstvalue.c: (gst_value_compare_flags),
21202 (gst_value_serialize_flags), (gst_value_deserialize_flags),
21203 (_gst_value_initialize):
21204 Added flags serialize/deserialize/compare code.
21206 2005-05-09 Andy Wingo <wingo@pobox.com>
21208 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21209 Intersect the peer's caps with our caps.
21211 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21213 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21214 * gst/elements/gsttypefindelement.c: (find_peek):
21215 Handle negative offsets better. Fixes decodebin.
21217 2005-05-09 Wim Taymans <wim@fluendo.com>
21219 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21220 (gst_base_transform_event):
21221 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21222 Implement accept_caps.
21223 Fix silly lock/unlock mismatch in base class.
21225 2005-05-09 Wim Taymans <wim@fluendo.com>
21227 * docs/design/draft-push-pull.txt:
21228 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21229 * gst/elements/gstfilesink.c: (gst_filesink_init),
21230 (gst_filesink_query):
21231 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21232 (gst_type_find_handle_src_query), (find_element_get_length):
21233 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21234 * gst/gstelement.h:
21235 * gst/gstmessage.c:
21236 * gst/gstmessage.h:
21237 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21238 (gst_real_pad_get_caps_unlocked),
21239 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21240 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21241 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21242 (gst_real_pad_dispose), (gst_real_pad_finalize),
21243 (gst_pad_load_and_link), (gst_pad_save_thyself),
21244 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21245 (gst_pad_check_pull_range), (gst_pad_pull_range),
21246 (gst_pad_template_get_type), (gst_pad_template_class_init),
21247 (gst_pad_template_init), (gst_pad_template_dispose),
21248 (name_is_valid), (gst_static_pad_template_get),
21249 (gst_pad_template_new), (gst_static_pad_template_get_caps),
21250 (gst_pad_template_get_caps), (gst_pad_set_element_private),
21251 (gst_pad_get_element_private), (gst_pad_start_task),
21252 (gst_pad_pause_task), (gst_pad_stop_task),
21253 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21254 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21255 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21256 (gst_ghost_pad_new):
21258 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21259 (gst_query_new_position), (gst_query_set_position),
21260 (gst_query_parse_position), (gst_query_new_convert),
21261 (gst_query_set_convert), (gst_query_parse_convert):
21263 * gst/gstqueryutils.c:
21264 * gst/gstqueryutils.h:
21265 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21266 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21267 (gst_queue_handle_src_query):
21268 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21269 (gst_element_query_position), (gst_element_query_convert),
21270 (intersect_caps_func), (gst_pad_query_position),
21271 (gst_pad_query_convert):
21273 * tools/gst-inspect.c: (print_pad_info):
21274 * tools/gst-xmlinspect.c: (print_element_info):
21275 Remove old query functions. Ported old code.
21276 Added position/convert helper functions to gstutils.
21277 Reordered gstpad.c code, grouping relevant things.
21278 Remove gst_message_new(), always need to speficy a specific
21282 2005-05-09 Andy Wingo <wingo@pobox.com>
21284 * gst/gstiterator.h: Add some includes.
21286 * gst/gstqueryutils.h: Include more headers.
21289 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21290 some uses of gst_pad_query.
21292 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21293 NULL out parameters.
21294 (gst_query_new_position): New proc, allocates a new position
21297 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21298 gstqueryutils.c to the build.
21300 * gst/gststructure.c (gst_structure_set_valist): Implement with
21301 the generic G_VALUE_COLLECT.
21303 2005-05-08 Edward Hervey <bilboed@bilboed.com>
21305 * gst/Makefile.am: (gst_headers):
21306 Added gstqueryutils.h to the list of headers to install, that was
21307 a 'nachty' move wingo :)
21309 2005-05-06 Andy Wingo <wingo@pobox.com>
21312 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21313 GstData, init a memchunk.
21314 (standard_definitions): Add a few query types, deprecate a few.
21315 (gst_query_get_type): New proc.
21316 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21318 (gst_query_new_application, gst_query_get_structure): New public
21321 * docs/design/draft-query.txt: Removed LINKS from the query types,
21322 because all the rest can be dispatched to other pads -- seemed
21323 ugly to have a query that couldn't be dispatched. internal_links
21324 is fine as a pad method.
21326 * gst/gstpad.h: Add query2 as a pad method, add the new functions
21327 in gstpad.c, but maintain binary compatibility for the moment.
21328 Will fix before 0.9 is out.
21330 * gst/gstqueryutils.c:
21331 * gst/gstqueryutils.h: New files, implement 3 methods for each
21332 query type: parse_query, parse_response, and set. Probably need an
21335 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21337 * gst/elements/gstfilesink.c (gst_filesink_query2):
21338 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21339 query_types, and formats methods.
21341 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21342 (gst_pad_set_query2_function): New functions.
21343 (gst_real_pad_init): Set query2_default as the default query2
21344 function. Basically just dispatches to internally linked pads.
21348 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21349 without using the atomic operations. Only one thread can possibly
21350 be accessing the data at this point. Changed so as to avoid
21351 gst_atomic operations.
21353 2005-05-06 Wim Taymans <wim@fluendo.com>
21355 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21356 Also set caps if we use the fallback buffer alloc.
21358 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
21360 * docs/gst/Makefile.am:
21361 * docs/gst/gstreamer-docs.sgml:
21362 * docs/gst/gstreamer-sections.txt:
21363 * docs/gst/tmpl/gstatomic.sgml:
21364 * docs/gst/tmpl/gstmemchunk.sgml:
21365 * testsuite/elements/struct_i386.h:
21366 * win32/GStreamer.vcproj:
21368 Purge GstAtomic stuff from docs and win32 makefiles as well
21370 2005-05-06 Wim Taymans <wim@fluendo.com>
21372 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21373 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21374 * gst/gstpad.c: (gst_pad_peer_get_caps):
21375 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21376 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21377 (gst_queue_src_activate), (gst_queue_change_state):
21379 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21380 (intersect_caps_func):
21381 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21382 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21383 Some fixes for the peer_get_caps() change.
21385 2005-05-06 Wim Taymans <wim@fluendo.com>
21387 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21388 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21389 (gst_basesink_activate):
21390 Actually do something with error codes returned from the push
21393 2005-05-06 Wim Taymans <wim@fluendo.com>
21395 * docs/design/part-element-sink.txt:
21396 * docs/design/part-element-source.txt:
21397 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21398 (gst_basesink_event), (gst_basesink_activate):
21399 * gst/base/gstbasesink.h:
21400 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21401 (gst_basesrc_activate):
21402 * gst/base/gstbasesrc.h:
21403 * gst/gstelement.c: (gst_element_pads_activate):
21404 Some more documentation.
21405 Fixed scheduling decision in _pads_activate().
21407 2005-05-05 Andy Wingo <wingo@pobox.com>
21409 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21412 2005-05-05 Wim Taymans <wim@fluendo.com>
21414 * gst/base/Makefile.am:
21415 * gst/base/gstbasesink.h:
21416 * gst/base/gstbasesrc.c: (gst_basesrc_init),
21417 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21418 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21419 (gst_collectpads_class_init), (gst_collectpads_init),
21420 (gst_collectpads_finalize), (gst_collectpads_new),
21421 (gst_collectpads_set_function), (gst_collectpads_add_pad),
21422 (find_pad), (gst_collectpads_remove_pad),
21423 (gst_collectpads_is_active), (gst_collectpads_collect),
21424 (gst_collectpads_collect_range), (gst_collectpads_start),
21425 (gst_collectpads_stop), (gst_collectpads_peek),
21426 (gst_collectpads_pop), (gst_collectpads_available),
21427 (gst_collectpads_read), (gst_collectpads_flush),
21428 (gst_collectpads_chain):
21429 * gst/base/gstcollectpads.h:
21430 * gst/elements/Makefile.am:
21431 * gst/elements/gstelements.c:
21432 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21433 (gst_fakesink_get_times), (gst_fakesink_event),
21434 (gst_fakesink_preroll), (gst_fakesink_render):
21435 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21436 (gst_filesink_init), (gst_filesink_set_location),
21437 (gst_filesink_open_file), (gst_filesink_close_file),
21438 (gst_filesink_pad_query), (gst_filesink_event),
21439 (gst_filesink_render), (gst_filesink_change_state):
21440 * gst/elements/gstfilesink.h:
21441 Added object to help in making collect pad based elements.
21443 Make event function in sink baseclass return gboolean.
21445 2005-05-05 Wim Taymans <wim@fluendo.com>
21447 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21448 (gst_bin_get_by_name):
21450 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21451 (gst_clock_finalize):
21452 * gst/gstdata.c: (gst_data_replace):
21454 * gst/gstelement.c: (gst_element_request_pad),
21455 (gst_element_pads_activate):
21456 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21457 (gst_object_unref):
21458 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21459 (gst_pad_set_checkgetrange_function),
21460 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21461 (gst_pad_check_pull_range), (gst_pad_pull_range),
21462 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21463 (gst_pad_pause_task), (gst_pad_stop_task):
21464 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21465 (gst_element_request_pad), (gst_pad_proxy_getcaps):
21466 Fix name lookup in GstBin.
21467 Added _data_replace() function and _buffer_replace()
21468 Use finalize method to clean up clock.
21469 Fix refcounting on request pads.
21470 Fix pad schedule mode error.
21471 Some more object refcounting debug info,
21474 2005-05-04 Andy Wingo <wingo@pobox.com>
21476 * check/Makefile.am:
21477 * docs/gst/tmpl/gstatomic.sgml:
21478 * docs/gst/tmpl/gstplugin.sgml:
21479 * gst/base/gstbasesink.c: (gst_basesink_activate):
21480 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21481 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21482 (gst_basesrc_query), (gst_basesrc_set_property),
21483 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21484 (gst_basesrc_activate):
21485 * gst/base/gstbasesrc.h:
21486 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21487 (gst_base_transform_src_activate):
21488 * gst/elements/gstelements.c:
21489 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21490 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21491 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21492 * gst/elements/gsttypefindelement.c: (find_element_get_length),
21493 (gst_type_find_element_checkgetrange),
21494 (gst_type_find_element_activate):
21495 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21496 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21497 (gst_caps_load_thyself):
21498 * gst/gstelement.c: (gst_element_pads_activate),
21499 (gst_element_save_thyself), (gst_element_restore_thyself):
21500 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21501 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21503 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21504 (gst_xml_parse_file), (gst_xml_parse_memory),
21505 (gst_xml_get_element), (gst_xml_make_element):
21506 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21507 (_file_index_id_save_xml), (gst_file_index_commit):
21508 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21509 (read_enum), (load_pad_template), (load_feature), (load_plugin),
21511 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21512 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21513 * tools/gst-complete.c: (main):
21514 * tools/gst-compprep.c: (main):
21515 * tools/gst-inspect.c: (print_element_properties_info):
21516 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21517 * tools/gst-xmlinspect.c: (print_element_properties):
21520 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
21522 * gst/gstplugin.c: (gst_plugin_check_module),
21523 (gst_plugin_check_file), (gst_plugin_load_file):
21524 apply patch from #172526 to make register work on MacOSX
21526 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21528 * docs/gst/tmpl/gstconfig.sgml:
21529 * gst/gstconfig.h.in:
21530 move documentation for some symbols. Add doc for GST_PTR_FORMAT
21531 * testsuite/debug/printf_extension.c: (main):
21532 Do not use GST_PTR_FORMAT on pointers to types with
21533 sizeof < sizeof(gpointer). Fixes test on 64-bit
21534 * testsuite/elements/property.h:
21535 use correct printf format
21537 2005-05-02 Wim Taymans <wim@fluendo.com>
21539 * docs/design/draft-push-pull.txt:
21540 * docs/design/draft-query.txt:
21541 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21542 (gst_basesrc_start):
21543 Added draft for new query API.
21544 Added draft for better selecting scheduling methods.
21545 Make basesrc ignore length if the subclass does not support
21548 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21551 possible fixes for automake-1.5 - _LIBADD is reserved
21553 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21555 * docs/faq/Makefile.am:
21556 * docs/manual/Makefile.am:
21557 * docs/manuals.mak:
21558 * docs/pwg/Makefile.am:
21560 possible fixes for automake-1.5
21562 2005-04-28 Wim Taymans <wim@fluendo.com>
21564 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21565 (gst_basesink_pad_getcaps), (gst_basesink_init),
21566 (gst_basesink_do_sync):
21567 * gst/gstclock.c: (gst_clock_entry_new):
21568 * gst/gstevent.c: (gst_event_discont_get_value):
21569 * gst/gstpipeline.c: (pipeline_bus_handler),
21570 (gst_pipeline_change_state):
21571 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21572 Better debugging of clocking info.
21573 Allow NULL values when getting discont values.
21575 2005-04-27 Wim Taymans <wim@fluendo.com>
21577 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21578 * check/gst/gstpad.c: (gst_pad_suite):
21579 Increase timeout for checks.
21581 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21583 * check/Makefile.am:
21584 fix the broken rule for cleanup. Apparently this rule is
21585 only needed on FC2, so maybe this warrants further autotool
21588 2005-04-26 Wim Taymans <wim@fluendo.com>
21590 * gst/gsttrashstack.h:
21591 Ooohh. a nasty one! After having a failed pop() from the stack,
21592 it's possible that the stack is empty. In that case, don't
21593 follow the NULL pointer.
21595 2005-04-25 Wim Taymans <wim@fluendo.com>
21597 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21598 (gst_pad_set_checkgetrange_function),
21599 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21600 (gst_pad_check_pull_range), (gst_pad_pull_range),
21601 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21602 (gst_pad_pause_task), (gst_pad_stop_task):
21603 * gst/gstplugin.c: (gst_plugin_load):
21605 Remove gst_library_load as it does more harm than good with
21606 the new g_module flags.
21607 Revert bogus caps template check in pad linking, pad caps
21608 are important when linking not the template, which is more
21609 general than the current caps.
21611 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21613 * gst/autoplug/.cvsignore:
21614 * gst/autoplug/Makefile.am:
21615 * gst/autoplug/gstsearchfuncs.c:
21616 * gst/autoplug/gstsearchfuncs.h:
21617 * gst/autoplug/gstspider.c:
21618 * gst/autoplug/gstspider.h:
21619 * gst/autoplug/gstspideridentity.c:
21620 * gst/autoplug/gstspideridentity.h:
21621 * gst/autoplug/spidertest.c:
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), (gst_pad_check_pull_range),
21628 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21629 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21631 Added stubs for unimplemented functions.
21633 2005-04-24 David Schleef <ds@schleef.org>
21635 * gst/gstpad.h: Disable some unimplemented functions. Wim,
21638 2005-04-24 David Schleef <ds@schleef.org>
21640 Convert everything from GstAtomicInt to g_atomic_int_*, and
21645 * gst/gstatomic_impl.h:
21653 * gst/gstdata_private.h:
21657 * gst/gstmessage.c:
21660 * gst/gststructure.c:
21661 * gst/gststructure.h:
21662 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21665 2005-04-24 David Schleef <ds@schleef.org>
21667 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21668 make the regressions tests work. Remove some code that is no
21670 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21671 Disable warning for pads without templates.
21673 2005-04-24 David Schleef <ds@schleef.org>
21675 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
21676 functions that handle filtered links.
21677 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21679 * gst/gstutils.c: Fix/remove utility functions that handle
21682 * gst/gstvalue.c: Add serialization/deserialization of caps
21683 * gst/parse/grammar.y: Ignore filtered caps when linking. This
21684 requires fixing so that the filter caps notation creates
21685 a capsfilter element and sets the filter_caps property. I
21686 think everyone probably wants to keep the shorthand notation.
21687 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21688 * docs/gst/tmpl/gstpad.sgml:
21690 * gst/elements/gstelements.c: Register capsfilter element.
21691 * gst/Makefile.am: fix spacing
21692 * docs/random/ds/0.9-suggested-changes: random
21694 2005-04-23 David Schleef <ds@schleef.org>
21696 * gst/elements/Makefile.am:
21697 * gst/elements/gstcapsfilter.c: New element that acts like an
21698 identity, but filters caps. Will eventually replace filtered
21699 caps in pad linking.
21700 * gst/gstutils.c: (gst_element_create_all_pads): New function
21701 to create all the ALWAYS pads that are registered with an
21702 element class. This functionality should eventually be
21703 merged in with GstElement initialization.
21705 * testsuite/trigger/README: part of trigger test code that should
21706 have been checked in a long time ago.
21708 2005-04-23 David Schleef <ds@schleef.org>
21710 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
21711 needed with new versions of libtool (nobody will confirm this),
21712 and hard to carry around.
21713 * gst/autoplug/Makefile.am:
21714 * gst/base/Makefile.am:
21715 * gst/elements/Makefile.am:
21716 * gst/indexers/Makefile.am:
21717 * gst/schedulers/Makefile.am:
21718 * libs/gst/bytestream/Makefile.am:
21719 * libs/gst/control/Makefile.am:
21720 * libs/gst/dataprotocol/Makefile.am:
21721 * libs/gst/getbits/Makefile.am:
21723 2005-04-21 Wim Taymans <wim@fluendo.com>
21725 * docs/design/draft-push-pull.txt:
21726 * docs/design/part-MT-refcounting.txt:
21727 * docs/design/part-TODO.txt:
21728 * docs/design/part-caps.txt:
21729 * docs/design/part-events.txt:
21730 * docs/design/part-gstbus.txt:
21731 * docs/design/part-gstpipeline.txt:
21732 * docs/design/part-messages.txt:
21733 * docs/design/part-push-pull.txt:
21734 * docs/design/part-query.txt:
21737 2005-04-21 Wim Taymans <wim@fluendo.com>
21739 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21740 (gst_message_new), (gst_message_new_error),
21741 (gst_message_new_warning), (gst_message_new_tag),
21742 (gst_message_new_state_changed), (gst_message_new_application),
21743 (gst_message_get_structure):
21744 * gst/gstmessage.h:
21745 * gst/gststructure.c: (gst_structure_set_parent_refcount),
21746 (gst_structure_copy_conditional):
21747 Use parent refcount in GstMessage to ensure GstStructure
21749 Cleaned up headers a bit.
21752 2005-04-20 Wim Taymans <wim@fluendo.com>
21754 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21755 (gst_basesink_pad_getcaps), (gst_basesink_init),
21756 (gst_basesink_chain_unlocked):
21757 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21758 (gst_type_find_helper):
21759 * gst/elements/gsttypefindelement.c:
21760 (gst_type_find_element_have_type), (gst_type_find_element_init),
21761 (stop_typefinding), (gst_type_find_element_handle_event),
21762 (find_suggest), (gst_type_find_element_chain),
21763 (gst_type_find_element_checkgetrange),
21764 (gst_type_find_element_getrange), (do_typefind),
21765 (gst_type_find_element_activate):
21766 * gst/gstbuffer.c: (_gst_buffer_sub_free),
21767 (gst_buffer_default_free), (gst_buffer_default_copy),
21768 (gst_buffer_set_caps):
21769 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21770 (gst_caps_replace):
21771 * gst/gstmessage.c: (gst_message_new),
21772 (gst_message_new_state_changed):
21773 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21774 (gst_pad_set_checkgetrange_function),
21775 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21776 (gst_pad_set_caps), (gst_pad_check_pull_range),
21777 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21779 * gst/gsttypefind.c: (gst_type_find_register):
21780 Make gst_caps_replace() work like other _replace() functions.
21781 Use _caps_replace() where possible.
21782 Make sure _message_new() initialises its field.
21783 Add gst_static_pad_template_get_caps()
21786 2005-04-18 Andy Wingo <wingo@pobox.com>
21788 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21789 on the peer, not the pad. I think that was a typo. Pass an extra
21790 arg to see if random access is possible. Activate the pads as
21791 PULL_RANGE if possible.
21793 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21795 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
21796 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21799 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21801 * docs/faq/using.xml:
21802 Add note on gstreamer-properties (#154996).
21804 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21806 * docs/random/bbb/optional-properties:
21807 Some analysis on optional properties.
21809 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21811 * docs/gst/tmpl/gstelementfactory.sgml:
21812 * gst/gstelement.h:
21813 * gst/gstelementfactory.c: (gst_element_factory_init),
21814 (gst_element_factory_cleanup), (gst_element_register),
21815 (__gst_element_factory_add_static_pad_template),
21816 (gst_element_factory_get_static_pad_templates),
21817 (gst_element_factory_can_src_caps),
21818 (gst_element_factory_can_sink_caps):
21819 * gst/registries/Makefile.am:
21820 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
21821 (gst_xml_registry_class_init), (gst_xml_registry_init),
21822 (gst_xml_registry_new), (gst_xml_registry_set_property),
21823 (gst_xml_registry_get_property), (get_time), (make_dir),
21824 (gst_xml_registry_get_perms_func),
21825 (plugin_times_older_than_recurse), (plugin_times_older_than),
21826 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
21827 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
21828 (add_to_char_array), (read_string), (read_uint), (read_enum),
21829 (load_pad_template), (load_feature), (load_plugin), (load_paths),
21830 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
21831 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
21832 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
21833 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
21834 (gst_xml_registry_rebuild):
21835 * gst/registries/gstlibxmlregistry.h:
21836 * tools/gst-compprep.c: (main):
21837 * tools/gst-inspect.c: (print_pad_templates_info):
21838 * tools/gst-xmlinspect.c: (print_element_info):
21839 Use libxml2 for registry parsing, use staticpadtemplates in
21840 elementfactories. Makes gst_init() +/- 10x faster.
21842 2005-04-12 Wim Taymans <wim@fluendo.com>
21844 * gst/base/Makefile.am:
21845 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21846 (gst_basesink_pad_getcaps), (gst_basesink_init),
21847 (gst_basesink_event), (gst_basesink_change_state):
21848 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21849 (gst_basesrc_init), (gst_basesrc_query),
21850 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21851 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21852 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21853 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21854 (gst_basesrc_stop), (gst_basesrc_activate),
21855 (gst_basesrc_change_state):
21856 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21857 (helper_find_suggest), (gst_type_find_helper):
21858 * gst/base/gsttypefindhelper.h:
21859 * gst/elements/Makefile.am:
21860 * gst/elements/gstelements.c:
21861 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21862 (gst_fakesink_get_times), (gst_fakesink_event),
21863 (gst_fakesink_preroll), (gst_fakesink_render):
21864 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21865 (gst_fakesrc_init), (gst_fakesrc_event_handler),
21866 (gst_fakesrc_get_property), (gst_fakesrc_create),
21867 (gst_fakesrc_start), (gst_fakesrc_stop):
21868 * gst/elements/gstfakesrc.h:
21869 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
21870 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21871 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21872 (gst_filesrc_create_read), (gst_filesrc_create),
21873 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
21874 (gst_filesrc_start):
21875 * gst/elements/gsttypefindelement.c:
21876 (gst_type_find_element_have_type), (gst_type_find_element_init),
21877 (start_typefinding), (stop_typefinding), (push_buffer_store),
21878 (gst_type_find_element_handle_event),
21879 (gst_type_find_element_chain),
21880 (gst_type_find_element_checkgetrange),
21881 (gst_type_find_element_getrange), (do_typefind),
21882 (gst_type_find_element_activate),
21883 (gst_type_find_element_change_state):
21884 * gst/elements/gsttypefindelement.h:
21885 * gst/gstpipeline.c: (pipeline_bus_handler):
21886 Added typefind helper.
21887 Small preroll fix in the base sink.
21888 Disable typefind code in basesrc.
21889 Crude port of typefindelement.
21893 2005-04-11 Wim Taymans <wim@fluendo.com>
21895 * check/gst/gstbus.c: (gstbus_suite):
21896 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
21897 * check/gstcheck.h:
21898 Fix up the timeout so that the test does not fail.
21900 2005-04-06 Wim Taymans <wim@fluendo.com>
21903 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21904 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
21905 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21906 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21907 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21908 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21909 (gst_basesrc_stop), (gst_basesrc_activate),
21910 (gst_basesrc_change_state), (basesrc_find_peek),
21911 (basesrc_find_suggest), (gst_basesrc_type_find):
21912 * gst/base/gstbasesrc.h:
21913 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
21914 (gst_filesrc_class_init), (gst_filesrc_init),
21915 (gst_filesrc_finalize), (gst_filesrc_set_location),
21916 (gst_filesrc_set_property), (gst_filesrc_get_property),
21917 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21918 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21919 (gst_filesrc_create_read), (gst_filesrc_create),
21920 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
21921 * gst/elements/gstfilesrc.h:
21922 * gst/gstelement.c: (gst_element_get_state_func),
21923 (gst_element_lost_state), (gst_element_pads_activate):
21924 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21925 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21926 (gst_pad_pull_range):
21928 More work on the generic source base class, implement seeking,
21930 Make filesrc extend the base source class.
21931 Added gst_pad_set_checkgetrange_function to GstPad.
21933 2005-04-06 Andy Wingo <wingo@pobox.com>
21935 * pkgconfig/gstreamer-base.pc.in:
21936 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
21938 * pkgconfig/Makefile.am:
21939 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
21941 2005-04-04 Wim Taymans <wim@fluendo.com>
21943 * gst/base/Makefile.am:
21945 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21946 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21947 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21948 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
21949 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21950 (gst_basesrc_base_init), (gst_basesrc_class_init),
21951 (gst_basesrc_init), (gst_basesrc_get_formats),
21952 (gst_basesrc_get_query_types), (gst_basesrc_query),
21953 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
21954 (gst_basesrc_set_property), (gst_basesrc_get_property),
21955 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
21956 (gst_basesrc_loop), (gst_basesrc_activate),
21957 (gst_basesrc_change_state):
21958 * gst/base/gstbasesrc.h:
21959 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
21960 (gst_fakesrc_class_init), (gst_fakesrc_init),
21961 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
21962 (gst_fakesrc_get_property), (gst_fakesrc_create):
21963 * gst/elements/gstfakesrc.h:
21964 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
21965 (gst_filesrc_open_file), (gst_filesrc_loop),
21966 (gst_filesrc_activate), (filesrc_find_peek),
21967 (gst_filesrc_type_find):
21968 Made base source class, make fakesrc extend it.
21969 Add comments to basesink class.
21970 Some filesrc cleanup.
21972 2005-03-31 David Schleef <ds@schleef.org>
21974 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
21975 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
21976 expected to link against libgstreamer.
21977 * gst/base/Makefile.am: link against libgstreamer
21978 * gst/elements/Makefile.am: same
21980 2005-03-31 Andy Wingo <wingo@pobox.com>
21982 * tests/instantiate/Makefile.am:
21983 * tests/instantiate/caps.c: Add test to test speed of caps copy
21986 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
21987 GMemChunk to be fair.
21989 * gst/gsttrashstack.h: Remove warning about using the fallback
21990 trash stack implementation, it's still faster than malloc.
21992 2005-03-30 Andy Wingo <wingo@pobox.com>
21994 * tests/complexity.c: Add a copyright.
21996 2005-03-31 Wim Taymans <wim@fluendo.com>
21998 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
21999 (gst_base_transform_class_init), (gst_base_transform_init),
22000 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22001 (gst_base_transform_get_property),
22002 (gst_base_transform_sink_activate),
22003 (gst_base_transform_src_activate),
22004 (gst_base_transform_change_state):
22005 * gst/base/gstbasetransform.h:
22006 * gst/elements/gstidentity.c: (gst_identity_class_init),
22007 (gst_identity_event), (gst_identity_check_perfect),
22008 (gst_identity_transform), (gst_identity_start),
22009 (gst_identity_stop):
22010 Added start/stop methods to transform base class so subclasses
22011 don't need to deal with state changes even.
22013 2005-03-31 Wim Taymans <wim@fluendo.com>
22015 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22016 (gst_event_new_discontinuous), (gst_event_discont_get_value):
22018 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22019 (gst_pad_pull_range):
22020 Added rate to the discont event to prepare for variable speed
22021 and reverse playback.
22023 2005-03-29 David Schleef <ds@schleef.org>
22026 * testsuite/trigger/Makefile.am:
22027 * testsuite/trigger/trigger.c: A little example program to show
22028 how trigger-based elements can work.
22030 2005-03-29 Wim Taymans <wim@fluendo.com>
22032 * gst/base/Makefile.am:
22034 * gst/base/gstbasesink.c: (gst_basesink_get_type),
22035 (gst_basesink_base_init), (gst_basesink_class_init),
22036 (gst_basesink_pad_getcaps), (gst_basesink_init),
22037 (gst_basesink_activate), (gst_basesink_change_state):
22038 * gst/base/gstbasesink.h:
22039 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22040 (gst_base_transform_base_init), (gst_base_transform_finalize),
22041 (gst_base_transform_class_init), (gst_base_transform_init),
22042 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22043 (gst_base_transform_event), (gst_base_transform_getrange),
22044 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22045 (gst_base_transform_set_property),
22046 (gst_base_transform_get_property),
22047 (gst_base_transform_sink_activate),
22048 (gst_base_transform_src_activate),
22049 (gst_base_transform_change_state):
22050 * gst/base/gstbasetransform.h:
22051 * gst/elements/gstidentity.c: (gst_identity_finalize),
22052 (gst_identity_class_init), (gst_identity_init),
22053 (gst_identity_event), (gst_identity_check_perfect),
22054 (gst_identity_transform), (gst_identity_set_property),
22055 (gst_identity_get_property), (gst_identity_change_state):
22056 * gst/elements/gstidentity.h:
22057 * gst/gstelement.c: (gst_element_get_state_func),
22058 (gst_element_lost_state), (gst_element_pads_activate):
22059 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22060 (gst_pad_check_pull_range), (gst_pad_pull_range):
22062 Simplify pad activation.
22063 Added function to check if pull_range can be performed.
22064 Error out when pulling inactive or flushing pads.
22065 Removed const from refcounted types as it does not make sense.
22066 Simplify pad templates in basesink
22067 Added base class for simple 1-to-1 transforms.
22068 Make identity subclass the base transform.
22070 2005-03-29 Andy Wingo <wingo@pobox.com>
22072 * docs/libs/gstreamer-libs-overrides.txt:
22073 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22074 really don't understand what's going on, but like whatever. I want
22077 * docs/gst/Makefile.am:
22078 * docs/libs/Makefile.am: Dist the overrides files.
22080 * check/Makefile.am (clean-local): Remove .libs directories.
22082 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22083 elements to EXTRA_DIST, so po/ files are happy.
22085 * po/POTFILES.in: Er, remove it here.
22087 * po/POTFILES: Remove gstspider.c.
22089 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22091 * docs/libs/gstreamer-libs-docs.sgml:
22092 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22095 * tests/complexity.c (main): Set the length of the preroll queue
22096 on the sinks to prevent a lockup.
22098 * libs/gst/dataprotocol/Makefile.am:
22099 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22100 the same as the one in check/gst-libs/gdp.c.
22102 * po/, docs/gst/: Commit automatic changes to docs and po files.
22104 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22105 the versioned libgstbase.
22107 * check/Makefile.am: Depend on an unversioned gst-register, seems
22108 to make autoconf happier.
22110 * gst/base/Makefile.am: Make libgstbase a versioned lib.
22112 2005-03-28 Wim Taymans <wim@fluendo.com>
22115 * docs/design/part-gstelement.txt:
22116 * docs/design/part-negotiation.txt:
22117 * docs/design/part-preroll.txt:
22118 * docs/design/part-scheduling.txt:
22119 * docs/design/part-states.txt:
22121 * gst/base/Makefile.am:
22123 * gst/base/gstbasesink.c: (gst_basesink_get_template),
22124 (gst_basesink_base_init), (gst_basesink_class_init),
22125 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22126 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22127 (gst_basesink_set_pad_functions),
22128 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22129 (gst_basesink_set_property), (gst_basesink_get_property),
22130 (gst_base_sink_get_template), (gst_base_sink_get_caps),
22131 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22132 (gst_basesink_preroll_queue_push),
22133 (gst_basesink_preroll_queue_empty),
22134 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22135 (gst_basesink_event), (gst_basesink_get_times),
22136 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22137 (gst_basesink_chain_unlocked), (gst_basesink_chain),
22138 (gst_basesink_loop), (gst_basesink_activate),
22139 (gst_basesink_change_state):
22140 * gst/base/gstbasesink.h:
22141 * gst/elements/Makefile.am:
22142 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22143 (gst_fakesink_class_init), (gst_fakesink_init),
22144 (gst_fakesink_set_property), (gst_fakesink_get_property),
22145 (gst_fakesink_get_times), (gst_fakesink_event),
22146 (gst_fakesink_preroll), (gst_fakesink_render),
22147 (gst_fakesink_change_state):
22148 * gst/elements/gstfakesink.h:
22149 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22150 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22151 * gst/gstelement.c: (gst_element_add_pad),
22152 (gst_element_get_state_func), (gst_element_abort_state),
22153 (gst_element_commit_state), (gst_element_lost_state),
22154 (gst_element_set_state), (gst_element_pads_activate):
22155 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22156 * gst/gstpipeline.c: (gst_pipeline_send_event),
22157 (gst_pipeline_change_state):
22158 Added state change code.
22159 Added/updated docs.
22160 Added sink base class, make fakesink extend the base class.
22161 Small cleanups in GstPipeline.
22163 2005-03-26 David Schleef <ds@schleef.org>
22165 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
22166 is broken and should be implemented in a different library.
22167 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22168 * gst/gst.h: remove gstcpu.h
22169 * gst/gstcpu.c: remove
22170 * gst/gstcpu.h: remove
22171 * gst/Makefile.am.future: Remove this file. It's ancient.
22173 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22175 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22176 (gst_bin_send_event):
22177 Add default event/set_manager handlers. The set_manager handler
22178 takes care that the manager is distributed over kids that were
22179 already in the bin before the manager was set. The event handler
22180 is a utility virtual function that sends the event over all sinks,
22181 so that gst_element_send_event (bin, event); has the expected
22183 * gst/gstpad.c: (gst_pad_event_default):
22184 Re-install default event handling for discontinuities, so that
22185 seeking works without requiring hacks in applications or extra
22187 * gst/gstpipeline.c: (gst_pipeline_class_init),
22188 (gst_pipeline_send_event):
22189 Half hack, half utility: set a pipeline to PAUSED for seek events,
22190 since that is the only way we can guarantee a/v sync. Means that
22191 you can do gst_element_seek (pipeline, method, pos); on a pipeline
22192 and it "just works".
22194 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22196 * gst/gstpipeline.c: (gst_pipeline_use_clock):
22197 Lock/unlock mismatch.
22199 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
22201 * docs/faq/gst-uninstalled:
22202 add gst-plugins-base
22203 * docs/gst/Makefile.am:
22204 don't error out until docs are fixed
22205 * docs/gst/gstreamer.types:
22208 2005-03-22 Wim Taymans <wim@fluendo.com>
22210 * check/Makefile.am:
22211 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22212 * gst/gststructure.c: (gst_structure_set_valist),
22213 (gst_structure_copy_conditional):
22214 Activated more tests.
22215 Added message test.
22216 Added G_TYPE_POINTER to GstStructure.
22219 2005-03-22 Wim Taymans <wim@fluendo.com>
22221 * docs/design/part-TODO.txt:
22222 * docs/design/part-events.txt:
22223 * docs/design/part-gstbin.txt:
22224 * docs/design/part-gstbus.txt:
22225 * docs/design/part-gstpipeline.txt:
22226 * docs/design/part-messages.txt:
22228 * gst/gstmessage.c:
22231 2005-03-21 Wim Taymans <wim@fluendo.com>
22233 * gst/gstbus.c: (gst_bus_post):
22234 Fix copy-and-paste error.
22236 2005-03-21 Wim Taymans <wim@fluendo.com>
22238 * check/Makefile.am:
22240 * gst/elements/Makefile.am:
22241 * gst/elements/gstelements.c:
22242 * gst/elements/gstfakesink.c: (gst_fakesink_init),
22243 (gst_fakesink_event), (gst_fakesink_chain):
22244 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22245 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22246 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22247 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22248 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22249 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22250 (gst_fakesrc_loop), (gst_fakesrc_activate),
22251 (gst_fakesrc_change_state):
22252 * gst/elements/gstfakesrc.h:
22253 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22254 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22255 (gst_filesrc_open_file), (gst_filesrc_loop),
22256 (gst_filesrc_activate), (gst_filesrc_change_state),
22257 (filesrc_find_peek), (filesrc_find_suggest),
22258 (gst_filesrc_type_find):
22259 * gst/elements/gstidentity.c: (gst_identity_finalize),
22260 (gst_identity_class_init), (gst_identity_init),
22261 (gst_identity_proxy_getcaps), (identity_queue_push),
22262 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22263 (gst_identity_getrange), (gst_identity_chain),
22264 (gst_identity_sink_loop), (gst_identity_src_loop),
22265 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22266 (gst_identity_set_property), (gst_identity_get_property),
22267 (gst_identity_change_state):
22268 * gst/elements/gstidentity.h:
22269 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22270 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22271 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22272 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22273 (gst_tee_sink_activate):
22274 * gst/elements/gsttee.h:
22275 * gst/gst.c: (gst_register_core_elements), (init_post):
22277 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22278 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22279 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22280 (gst_bin_change_state):
22282 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22283 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22284 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22285 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22286 (gst_bus_set_sync_handler), (gst_bus_create_watch),
22287 (bus_watch_callback), (bus_watch_destroy),
22288 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22289 (poll_timeout), (gst_bus_poll):
22293 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22294 (gst_element_post_message), (gst_element_message_full),
22295 (gst_element_get_state_func), (gst_element_get_state),
22296 (gst_element_abort_state), (gst_element_commit_state),
22297 (gst_element_lost_state), (gst_element_set_state),
22298 (gst_element_pads_activate), (gst_element_change_state),
22299 (gst_element_dispose), (gst_element_set_manager_func),
22300 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22301 (gst_element_set_manager), (gst_element_get_manager),
22302 (gst_element_set_bus), (gst_element_get_bus),
22303 (gst_element_set_scheduler), (gst_element_get_scheduler):
22304 * gst/gstelement.h:
22305 * gst/gstevent.c: (gst_event_new_segment_seek),
22306 (gst_event_new_flush):
22308 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22309 (_gst_message_free), (gst_message_get_type), (gst_message_new),
22310 (gst_message_new_eos), (gst_message_new_error),
22311 (gst_message_new_warning), (gst_message_new_tag),
22312 (gst_message_new_state_changed), (gst_message_new_application),
22313 (gst_message_get_structure), (gst_message_parse_tag),
22314 (gst_message_parse_state_changed), (gst_message_parse_error),
22315 (gst_message_parse_warning):
22316 * gst/gstmessage.h:
22317 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22318 (gst_real_pad_set_property), (gst_pad_set_active),
22319 (gst_pad_is_active), (gst_pad_set_blocked_async),
22320 (gst_pad_set_blocked), (gst_pad_is_blocked),
22321 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22322 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22323 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22324 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22325 (gst_pad_link_filtered), (gst_pad_relink_filtered),
22326 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22327 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22328 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22329 (gst_pad_set_caps), (gst_pad_configure_sink),
22330 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22331 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22332 (gst_real_pad_dispose), (gst_real_pad_finalize),
22333 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22334 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22335 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22337 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22338 (pipeline_bus_handler), (gst_pipeline_change_state),
22339 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22340 * gst/gstpipeline.h:
22342 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22343 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22344 (gst_queue_link_src), (gst_queue_bufferalloc),
22345 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22346 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22347 (gst_queue_loop), (gst_queue_handle_src_event),
22348 (gst_queue_handle_src_query), (gst_queue_src_activate),
22349 (gst_queue_change_state):
22351 * gst/gstscheduler.c: (gst_scheduler_init),
22352 (gst_scheduler_dispose), (gst_scheduler_create_task),
22353 (gst_scheduler_factory_create):
22354 * gst/gstscheduler.h:
22355 * gst/gststructure.c: (gst_structure_get_type),
22356 (gst_structure_copy_conditional):
22357 * gst/gststructure.h:
22358 * gst/gsttaginterface.h:
22359 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22360 (gst_task_init), (gst_task_dispose), (gst_task_create),
22361 (gst_task_get_state), (gst_task_start), (gst_task_stop),
22367 * gst/schedulers/Makefile.am:
22368 * gst/schedulers/cothreads_compat.h:
22369 * gst/schedulers/entryscheduler.c:
22370 * gst/schedulers/faircothreads.c:
22371 * gst/schedulers/faircothreads.h:
22372 * gst/schedulers/fairscheduler.c:
22373 * gst/schedulers/gstbasicscheduler.c:
22374 * gst/schedulers/gstoptimalscheduler.c:
22375 * gst/schedulers/gthread-cothreads.h:
22376 * gst/schedulers/threadscheduler.c:
22377 (gst_thread_scheduler_task_get_type),
22378 (gst_thread_scheduler_task_class_init),
22379 (gst_thread_scheduler_task_init),
22380 (gst_thread_scheduler_task_start),
22381 (gst_thread_scheduler_task_stop),
22382 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22383 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22384 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22385 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22387 * libs/gst/Makefile.am:
22388 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22389 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22390 (gst_file_pad_parent_set):
22391 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22392 (gst_dp_event_from_packet):
22393 * tests/complexity.c: (main):
22394 * tests/mass_elements.c: (main):
22395 * testsuite/states/locked.c: (message_received), (main):
22396 * testsuite/states/parent.c: (main):
22397 * tools/gst-inspect.c: (print_element_flag_info),
22398 (print_implementation_info), (print_pad_info):
22399 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22401 * tools/gst-md5sum.c: (event_loop), (main):
22402 * tools/gst-typefind.c: (main):
22403 * tools/gst-xmlinspect.c: (print_element_info):
22405 Added GstBus for mainloop integration.
22406 Added GstMessage for sending notifications on the bus.
22407 Added GstTask as an abstraction for pipeline entry points.
22409 Removed Schedulers.
22410 Simplified GstQueue for multithreaded core.
22411 Made _link threadsafe, removed old capsnego.
22412 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22413 Added pad blocking functions.
22414 Reworked scheduling functions in GstPad to prepare for
22415 scheduling updates soon.
22416 Moved events out of data stream.
22417 Simplified GstEvent types.
22418 Added return values to push/pull.
22419 Removed clocking from GstElement.
22420 Added prototypes for state change function for next merge.
22421 Removed iterate from bins and state change management.
22422 Fixed some elements, disabled others for now.
22423 Fixed -inspect and -launch.
22424 Added check for GstBus.
22426 2005-03-10 Wim Taymans <wim@fluendo.com>
22428 * docs/design/part-MT-refcounting.txt:
22429 * docs/design/part-clocks.txt:
22430 * docs/design/part-gstelement.txt:
22431 * docs/design/part-gstobject.txt:
22432 * docs/design/part-standards.txt:
22433 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22434 (gst_bin_remove_func), (gst_bin_remove):
22438 * testsuite/clock/clock1.c: (main):
22439 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22441 * testsuite/dlopen/loadgst.c: (do_test):
22442 * testsuite/refcounting/bin.c: (add_remove_test1),
22443 (add_remove_test2), (main):
22444 * testsuite/refcounting/element.c: (main):
22445 * testsuite/refcounting/element_pad.c: (main):
22446 * testsuite/refcounting/pad.c: (main):
22447 * tools/gst-launch.c: (sigint_handler_sighandler):
22448 * tools/gst-typefind.c: (main):
22450 Added doc about clock.
22451 removed gst_bin_iterate_recurse_up(), marked methods
22453 Fix more testsuites.
22455 2005-03-09 Wim Taymans <wim@fluendo.com>
22457 * gst/gstpad.c: (gst_pad_get_direction),
22458 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22459 (gst_pad_collect_valist):
22460 * testsuite/bins/interface.c: (main):
22461 * testsuite/caps/audioscale.c: (test_caps):
22462 * testsuite/caps/caps.c: (test1), (test2), (test3):
22463 * testsuite/caps/deserialize.c: (main):
22464 * testsuite/caps/enumcaps.c: (main):
22465 * testsuite/caps/filtercaps.c: (main):
22466 * testsuite/caps/intersect2.c: (main):
22467 * testsuite/caps/random.c: (main):
22468 * testsuite/caps/renegotiate.c: (my_fixate), (main):
22469 * testsuite/caps/sets.c: (check_caps):
22470 * testsuite/caps/simplify.c: (check_caps), (main):
22471 * testsuite/caps/subtract.c: (check_caps):
22472 Fix _pad_get_direction wrt ghostpads.
22473 Fix caps testsuite.
22475 2005-03-09 Wim Taymans <wim@fluendo.com>
22477 * check/Makefile.am:
22478 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22479 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22480 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22481 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22482 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22483 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22484 (gst_bin_remove), (gst_bin_iterate_recurse_up),
22485 (bin_element_is_sink), (gst_bin_iterate_sinks),
22486 (gst_bin_iterate_all_by_interface):
22488 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22489 (gst_element_change_state), (gst_element_dispose),
22490 (gst_element_finalize), (gst_element_set_loop_function):
22491 * gst/gstelement.h:
22492 * gst/gstiterator.c: (find_custom_fold_func):
22493 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22494 (gst_pad_collectv), (gst_pad_collect_valist),
22495 (gst_pad_template_new):
22496 * gst/gstpipeline.c: (gst_pipeline_class_init),
22497 (gst_pipeline_dispose), (gst_pipeline_set_property),
22498 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22499 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22500 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22502 * gst/schedulers/entryscheduler.c:
22503 * gst/schedulers/gstbasicscheduler.c:
22504 (gst_basic_scheduler_cothreaded_chain),
22505 (gst_basic_scheduler_chain_add_element):
22506 * testsuite/bins/interface.c: (main):
22508 Added GstSystemClock test.
22509 Implemented clock distribution code in GstBin.
22510 Implemented iterate sinks method for future use.
22511 Rearranged gstelement.h
22512 Fix GstIterator comparison bug.
22513 Moved some code to GstPipeline, mostly clocking related.
22515 2005-03-09 Wim Taymans <wim@fluendo.com>
22518 * gst/gst_private.h:
22519 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22520 (gst_bin_remove_func), (gst_bin_remove),
22521 (gst_bin_get_by_name_recurse_up):
22522 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22523 (gst_clock_id_compare_func), (gst_clock_id_wait),
22524 (gst_clock_id_wait_async), (gst_clock_init),
22525 (gst_clock_adjust_unlocked), (gst_clock_get_time):
22526 * gst/gstelement.h:
22527 * gst/gstinfo.c: (_gst_debug_init):
22529 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22530 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22532 Bump version number, we're now 0.9.0
22533 Add future debugging category.
22534 Fix NULL _unref() in _get_by_name_recurse_up
22535 Rearrange gstpad.h.
22538 2005-03-08 Wim Taymans <wim@fluendo.com>
22540 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22541 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22542 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22543 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22544 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22545 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22546 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22547 * gst/elements/gstidentity.c: (gst_identity_class_init):
22548 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22549 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22550 * gst/elements/gstshaper.c: (gst_shaper_class_init):
22551 * gst/elements/gststatistics.c: (gst_statistics_class_init):
22552 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22554 * gst/gstelement.c: (gst_element_class_init),
22555 (gst_element_base_class_init), (gst_element_init),
22556 (gst_element_get_random_pad), (gst_element_wait_state_change),
22557 (gst_element_change_state), (gst_element_dispose),
22558 (gst_element_finalize), (gst_element_set_loop_function):
22559 * gst/gstelement.h:
22560 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22561 * gst/gstthread.c: (gst_thread_class_init),
22562 (gst_thread_release_children_locks), (gst_thread_change_state):
22563 * gst/schedulers/gstbasicscheduler.c:
22564 (gst_basic_scheduler_loopfunc_wrapper),
22565 (gst_basic_scheduler_chain_wrapper),
22566 (gst_basic_scheduler_src_wrapper),
22567 (gst_basic_scheduler_remove_element):
22568 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22569 Remove threadsafe properties. Fix elements because GObject
22570 complains when installing a property before declaring a
22571 set/get_property handler.
22572 Rearrange gstelement.h file, use STATE macros for state locks.
22573 Free mutexes in the finalize method instead of dispose.
22575 2005-03-08 Wim Taymans <wim@fluendo.com>
22577 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22578 * gst/gstthread.c: (gst_thread_release_children_locks):
22579 Added parentage check.
22580 Fix build og GstThread again.
22582 2005-03-08 Wim Taymans <wim@fluendo.com>
22584 * docs/design/part-MT-refcounting.txt:
22585 * docs/design/part-conventions.txt:
22586 * docs/design/part-gstobject.txt:
22587 * docs/design/part-relations.txt:
22588 * docs/design/part-standards.txt:
22589 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22590 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22591 (gst_bin_get_by_name), (gst_bin_get_by_interface),
22592 (gst_bin_iterate_all_by_interface):
22595 * gst/gstelement.c: (gst_element_class_init),
22596 (gst_element_change_state), (gst_element_set_loop_function):
22597 * gst/gstelement.h:
22598 * gst/gstiterator.c:
22599 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22600 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22601 (gst_object_dispatch_properties_changed), (gst_object_set_name),
22602 (gst_object_set_parent), (gst_object_unparent),
22603 (gst_object_check_uniqueness):
22605 Docs updates, clean up some headers.
22607 2005-03-07 Wim Taymans <wim@fluendo.com>
22609 * check/.cvsignore:
22610 * check/Makefile.am:
22611 * check/gst-libs/.cvsignore:
22612 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22613 * check/gst/.cvsignore:
22614 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22615 (START_TEST), (gstbus_suite), (main):
22616 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22617 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22618 (gst_data_suite), (main):
22619 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22620 (add_fold_func), (gstiterator_suite), (main):
22621 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22622 (thread_name_object), (thread_name_object_default),
22623 (gst_object_name_compare), (gst_object_suite), (main):
22624 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22625 (gst_pad_suite), (main):
22626 * check/gstcheck.c: (gst_check_log_message_func),
22627 (gst_check_log_critical_func), (gst_check_init):
22628 * check/gstcheck.h:
22629 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22630 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22633 2005-03-07 Wim Taymans <wim@fluendo.com>
22635 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22636 (gst_list_iterator_next), (gst_list_iterator_resync),
22637 (gst_list_iterator_free), (gst_iterator_new_list),
22638 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22639 (gst_iterator_free), (gst_iterator_push), (filter_next),
22640 (filter_resync), (filter_uninit), (filter_free),
22641 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22642 (gst_iterator_foreach), (find_custom_fold_func),
22643 (gst_iterator_find_custom):
22644 * gst/gstiterator.h:
22645 Added missing files.
22647 2005-03-07 Wim Taymans <wim@fluendo.com>
22651 * docs/design/part-MT-refcounting.txt:
22652 * docs/design/part-conventions.txt:
22653 * docs/design/part-gstobject.txt:
22654 * docs/design/part-relations.txt:
22655 * examples/mixer/mixer.c: (main):
22656 * examples/thread/thread.c: (eos), (main):
22658 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22659 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22660 (gst_spider_plug_from_srcpad):
22661 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22662 (gst_spider_identity_change_state),
22663 (gst_spider_identity_sink_loop_type_finding):
22664 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22665 * gst/elements/gstidentity.c: (gst_identity_init):
22666 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22667 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22668 * gst/elements/gsttypefindelement.c: (free_entry):
22671 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22672 (gst_bin_set_clock_func), (gst_bin_auto_clock),
22673 (gst_bin_set_index), (gst_bin_set_element_sched),
22674 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22675 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22676 (gst_bin_iterate_elements), (iterate_child_recurse),
22677 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22678 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22679 (compare_interface), (gst_bin_get_by_interface),
22680 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22682 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22683 (gst_buffer_default_free), (gst_buffer_default_copy),
22684 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22685 (gst_buffer_create_sub):
22687 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22688 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22689 (gst_caps_unref), (gst_static_caps_get),
22690 (gst_caps_remove_and_get_structure), (gst_caps_append),
22691 (gst_caps_append_structure), (gst_caps_remove_structure),
22692 (gst_caps_copy_nth), (gst_caps_set_simple),
22693 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22694 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22695 (gst_caps_structure_intersect_field), (gst_caps_intersect),
22696 (gst_caps_structure_subtract_field), (gst_caps_subtract),
22697 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22698 (gst_caps_structure_figure_out_union),
22699 (gst_caps_switch_structures), (gst_caps_do_simplify),
22700 (gst_caps_replace), (gst_caps_from_string),
22701 (gst_caps_copy_conditional):
22703 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22704 (_gst_clock_id_free), (gst_clock_id_unref),
22705 (gst_clock_id_compare_func), (gst_clock_id_wait),
22706 (gst_clock_id_wait_async), (gst_clock_class_init),
22707 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22708 (gst_clock_get_time), (gst_clock_set_time_adjust),
22709 (gst_clock_set_property), (gst_clock_get_property):
22712 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22713 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22715 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22716 (gst_element_requires_clock), (gst_element_provides_clock),
22717 (gst_element_set_clock), (gst_element_clock_wait),
22718 (gst_element_wait), (gst_element_set_time_delay),
22719 (gst_element_is_indexable), (gst_element_add_pad),
22720 (gst_element_add_ghost_pad), (gst_element_remove_pad),
22721 (pad_compare_name), (gst_element_get_static_pad),
22722 (gst_element_request_pad), (gst_element_get_request_pad),
22723 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22724 (gst_element_class_get_pad_template_list),
22725 (gst_element_class_get_pad_template), (gst_element_error_func),
22726 (gst_element_get_random_pad), (gst_element_get_event_masks),
22727 (gst_element_send_event), (gst_element_seek),
22728 (gst_element_get_query_types), (gst_element_query),
22729 (gst_element_get_formats), (gst_element_convert),
22730 (gst_element_is_locked_state), (gst_element_set_locked_state),
22731 (gst_element_sync_state_with_parent), (gst_element_change_state),
22732 (gst_element_finalize), (gst_element_yield),
22733 (gst_element_interrupt), (gst_element_set_scheduler),
22734 (gst_element_get_scheduler), (gst_element_set_loop_function):
22735 * gst/gstelement.h:
22737 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22738 (gst_format_get_by_nick), (gst_format_get_details),
22739 (gst_format_iterate_definitions):
22741 * gst/gstindex.c: (gst_index_gtype_resolver):
22744 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22745 (gst_mem_chunk_free):
22746 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22747 (gst_object_ref), (gst_object_unref), (gst_object_sink),
22748 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22749 (gst_object_dispatch_properties_changed),
22750 (gst_object_set_name_default), (gst_object_set_name),
22751 (gst_object_get_name), (gst_object_set_name_prefix),
22752 (gst_object_get_name_prefix), (gst_object_set_parent),
22753 (gst_object_get_parent), (gst_object_unparent),
22754 (gst_object_check_uniqueness), (gst_object_save_thyself),
22755 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22756 (gst_object_set_property), (gst_object_get_property),
22757 (gst_object_get_path_string):
22759 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22760 (gst_real_pad_init), (gst_real_pad_get_property),
22761 (gst_pad_custom_new), (gst_pad_get_direction),
22762 (gst_pad_set_active), (gst_pad_is_active),
22763 (gst_pad_set_event_function), (gst_pad_is_linked),
22764 (gst_pad_link_free), (gst_pad_link_intersect),
22765 (gst_pad_link_fixate), (gst_pad_set_caps),
22766 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22767 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22768 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22769 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22770 (gst_pad_get_caps), (gst_pad_peer_get_caps),
22771 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22772 (gst_pad_realize), (gst_pad_get_allowed_caps),
22773 (gst_real_pad_dispose), (gst_real_pad_finalize),
22774 (gst_pad_collectv), (gst_pad_collect_valist),
22775 (gst_pad_template_dispose), (gst_pad_template_new),
22776 (gst_pad_get_internal_links):
22778 * gst/gstpipeline.c: (gst_pipeline_dispose),
22779 (gst_pipeline_change_state):
22780 * gst/gstpipeline.h:
22782 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22783 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22784 * gst/gstpluginfeature.h:
22785 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22786 * gst/gstquery.c: (_gst_query_type_initialize),
22787 (gst_query_type_register), (gst_query_type_get_by_nick),
22788 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22790 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22791 * gst/gstscheduler.c: (gst_scheduler_add_element),
22792 (gst_scheduler_factory_create):
22793 * gst/gststructure.c: (gst_structure_set_parent_refcount),
22794 (gst_structure_free), (gst_structure_set_name),
22795 (gst_structure_id_set_value), (gst_structure_set_value),
22796 (gst_structure_set_valist), (gst_structure_remove_field),
22797 (gst_structure_remove_fields),
22798 (gst_structure_remove_fields_valist),
22799 (gst_structure_remove_all_fields), (gst_structure_foreach),
22800 (gst_structure_map_in_place),
22801 (gst_caps_structure_fixate_field_nearest_int),
22802 (gst_caps_structure_fixate_field_nearest_double):
22803 * gst/gststructure.h:
22804 * gst/gstsystemclock.c: (gst_system_clock_class_init),
22805 (gst_system_clock_init), (gst_system_clock_dispose),
22806 (gst_system_clock_async_thread),
22807 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22808 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
22809 * gst/gstsystemclock.h:
22810 * gst/gsttag.c: (gst_tag_list_add_value_internal),
22811 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
22812 * gst/gsttaginterface.c:
22813 * gst/gstthread.c: (gst_thread_dispose),
22814 (gst_thread_release_children_locks), (gst_thread_change_state),
22815 (gst_thread_main_loop):
22816 * gst/gsttrashstack.h:
22817 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
22819 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22820 (gst_element_request_pad), (gst_element_get_pad_from_template),
22821 (gst_element_request_compatible_pad),
22822 (gst_element_get_compatible_pad_filtered),
22823 (gst_element_get_compatible_pad), (gst_element_state_get_name),
22824 (gst_element_link_pads_filtered), (gst_element_link_filtered),
22825 (gst_element_link_many), (gst_element_link),
22826 (gst_element_link_pads), (gst_element_unlink_pads),
22827 (gst_element_unlink_many), (gst_element_unlink),
22828 (gst_pad_can_link_filtered), (gst_pad_can_link),
22829 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
22830 (gst_object_default_error), (gst_bin_add_many),
22831 (gst_bin_remove_many), (gst_element_populate_std_props),
22832 (gst_element_class_install_std_props), (gst_buffer_merge),
22833 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
22834 (link_fold_func), (gst_pad_proxy_setcaps):
22836 * gst/gstvalue.c: (gst_value_deserialize_string):
22837 * gst/parse/grammar.y:
22838 * gst/schedulers/gstbasicscheduler.c:
22839 (gst_basic_scheduler_cothreaded_chain),
22840 (gst_basic_scheduler_chain_recursive_add),
22841 (gst_basic_scheduler_pad_link):
22842 * gst/schedulers/gstoptimalscheduler.c:
22843 (get_group_schedule_function),
22844 (gst_opt_scheduler_state_transition),
22845 (gst_opt_scheduler_add_element), (element_get_reachables_func):
22846 * libs/gst/bytestream/bytestream.c:
22847 * libs/gst/dataprotocol/dataprotocol.c:
22848 (gst_dp_header_from_buffer):
22851 * tests/threadstate/threadstate2.c: (eos):
22852 * tools/gst-compprep.c: (main):
22853 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
22854 (print_pad_info), (print_children_info):
22855 * tools/gst-launch.c: (idle_func), (main):
22856 * tools/gst-md5sum.c: (idle_func), (main):
22857 * tools/gst-xmlinspect.c: (print_element_info):
22858 First THREADED backport attempt, focusing on adding locks and
22859 making sure the API is threadsafe. Needs more work. More docs
22862 2005-02-24 Andy Wingo <wingo@pobox.com>
22864 * tests/bench-complexity.scm:
22865 * tests/complexity.gnuplot: New files, good for running complexity
22868 * tests/Makefile.am:
22869 * tests/complexity.c: New test, sets up N elements, at each level
22870 teeing into M streams per element. Eeeenteresting.
22872 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
22873 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
22874 running bench-mass_elements.scm.
22876 * tests/bench-mass_elements.scm: New script, runs mass_elements
22877 for various numbers of identities, outputting the results to a
22878 file. Requires guile 1.6. Just for testing.
22880 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
22882 * gst/schedulers/fairscheduler.c:
22883 compile with debug disabled
22885 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
22888 hunting season on 0.9 is now OPEN