1 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3 * docs/faq/gst-uninstalled:
4 don't get empty paths on the PATH variables
5 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
6 Don't format for the uncommon terminal width of 84 characters.
8 2007-04-06 Wim Taymans <wim@fluendo.com>
10 * gst/gstpipeline.c: (reset_stream_time),
11 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
12 Only try to select a different pipeline clock when we went back to
13 PAUSED and not when we merely got flushed.
15 2007-04-05 Michael Smith <msmith@fluendo.com>
17 * tools/gst-launch.1.in:
18 fractions are better supported in gstreamer than ractions, so
21 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
23 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
27 Added Danish translation.
29 2007-04-05 Wim Taymans <wim@fluendo.com>
31 * libs/gst/base/gstbasesink.c:
32 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
33 Fix leak caused when refusing newsegment after EOS.
35 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
36 (gst_fake_sink_init), (gst_fake_sink_set_property),
37 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
38 (gst_fake_sink_render), (gst_fake_sink_change_state):
39 * plugins/elements/gstfakesink.h:
40 Add num-buffers property to make the element generate EOS after a
41 configurable amount of buffers.
42 API: fakesink::num-buffers property.
44 * tests/check/elements/fakesink.c: (GST_START_TEST),
46 Fix GstBus leak in test.
47 Test for fakesink num-buffers.
49 2007-04-05 Wim Taymans <wim@fluendo.com>
51 * libs/gst/base/gstbasesink.c:
52 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
53 (gst_base_sink_change_state):
54 Don't accept anything after an EOS, return UNEXPECTED instead.
56 * tests/check/elements/fakesink.c: (GST_START_TEST),
58 Unit test for new EOS behaviour.
60 2007-04-05 Wim Taymans <wim@fluendo.com>
62 * gst/gstelement.c: (gst_element_get_request_pad):
63 Make padtemplates also work when they don't contain %s or %d.
65 2007-04-05 Wim Taymans <wim@fluendo.com>
67 * docs/gst/gstreamer-sections.txt:
68 * gst/gstclock.c: (gst_clock_adjust_unlocked),
69 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
71 Improve _adjust_unlocked() so that it overflows less.
72 Add gst_clock_unadjust_unlocked to convert from external time to
73 internal time based on calibration.
75 API: GstClock::gst_clock_unadjust_unlocked()
77 2007-04-03 Wim Taymans <wim@fluendo.com>
79 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
81 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
82 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
83 when releasing sink pad. Fixes #425400.
85 2007-04-02 Stefan Kost <ensonic@users.sf.net>
87 * docs/random/ensonic/dynlink.txt:
88 More work on proposal for new core api.
90 * docs/libs/gstreamer-libs-sections.txt:
91 * libs/gst/base/gstbasetransform.h:
92 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
94 * libs/gst/controller/gstcontroller.c:
95 (on_object_controlled_property_changed),
96 (gst_controller_sync_values),
97 (gst_controller_set_interpolation_mode):
98 * libs/gst/controller/gstcontroller.h:
99 Less verbose logging add docs for unimplemented parts and correctly
100 return when using unavailable parts.
102 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
104 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
105 Move all the debug to the CLOCK category, and associate it with
108 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
110 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
111 Make take_buffer a bit quicker by removing redundant checks
112 caused by calling gst_adapter_take.
114 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
116 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
119 * tests/check/Makefile.am:
120 * tests/check/elements/.cvsignore:
121 * tests/check/elements/multiqueue.c: (setup_multiqueue),
122 (GST_START_TEST), (multiqueue_suite):
123 Add some dead simple unit tests for the 'multiqueue' element
124 (some bits don't work yet and are disabled for now).
126 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
128 * gst/gstelement.c: (gst_element_get_request_pad),
129 (gst_element_class_get_request_pad_template):
130 Make gst_element_get_request_pad() create request pads only for
131 request pad templates and not for, say, sometimes pad templates.
133 2007-03-28 Stefan Kost <ensonic@users.sf.net>
135 * docs/design/draft-klass.txt:
136 Add example that needs more thinking.
138 * docs/design/draft-missing-plugins.txt:
139 More thoughts about wrapper plugins.
141 * docs/random/ensonic/embedded.txt:
142 * docs/random/ensonic/profiling.txt:
145 2007-03-25 Wim Taymans <wim@fluendo.com>
147 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
149 Only push the segment events in the PLAYING state for live sources.
151 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
153 * gst/gstpipeline.c: (gst_pipeline_change_state):
154 Modify the clock distribution path in PAUSED->PLAYING so that we
155 never attempt to choose a new clock unless we're actually leaving
156 the PAUSED state for the first time. This prevents choosing a
157 different clock when the state_change gets called for a 2nd time due
158 to some element doing an async state change.
160 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
162 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
163 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
164 (gst_pad_chain_unchecked), (gst_pad_push):
165 Revert last commit. This needs some more thoughts.
167 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
169 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
170 (gst_pad_chain_unchecked), (gst_pad_push):
171 Check in set_caps if the caps are compatible with the pad and remove
172 two functions that are redundant now. Fixes #421543.
174 2007-03-22 Wim Taymans <wim@fluendo.com>
176 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
177 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
178 Unref some more to make valgrind happy.
180 2007-03-22 Wim Taymans <wim@fluendo.com>
182 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
183 (gst_system_clock_id_wait_jitter),
184 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
185 Fix anoying regression that survived a few releases. When adding an
186 async entry while blocking on a sync entry, the sync entry will unblock
187 but still be busy, so it should continue to wait instead of returning
189 Add some comments here and there.
191 * tests/check/gst/gstsystemclock.c: (mixed_thread),
192 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
193 Add testcase for this.
195 2007-03-22 Wim Taymans <wim@fluendo.com>
197 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
198 Handle errors from the clock sync better, only UNSCHEDULED indicates a
199 WRONG_STATE and can silently pause the task. All other cases should
202 2007-03-22 Wim Taymans <wim@fluendo.com>
204 Patch by: <syrjala at sci dot fi>
206 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
207 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
210 2007-03-21 Michael Smith <msmith@fluendo.com>
212 * docs/pwg/advanced-types.xml:
213 Fix some errors in the typefinding docs pointed out on irc.
215 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
217 * libs/gst/base/gstbasesrc.c:
218 Clarify FIXME comment in the face of having added unlock_stop()
220 2007-03-21 Wim Taymans <wim@fluendo.com>
222 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
223 Prepare for release where we warn against possible app breakage in the
224 case of live pipelines along with an env var to enable/disable live
225 preroll mode (GST_COMPAT=[no-]live-preroll).
227 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
229 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
230 So we should use correct constants for checking for None offset.
232 2007-03-20 Wim Taymans <wim@fluendo.com>
234 * docs/design/part-block.txt:
235 Mention the fact that the newly switched element should be set to at
238 2007-03-20 Wim Taymans <wim@fluendo.com>
241 Fix compilation with registry disabled as spotted by Saur.
243 2007-03-20 Wim Taymans <wim@fluendo.com>
245 Patch by: Olivier Crete <tester at tester dot ca>
247 * gst/gstelement.c: (gst_element_sync_state_with_parent):
248 Look at the pending state too when syncing the element state to the
249 parent. Fixes #420133.
251 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
253 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
254 (gst_base_sink_change_state):
255 * libs/gst/base/gstbasesink.h:
256 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
257 (gst_base_src_default_event), (gst_base_src_unlock_stop),
258 (gst_base_src_deactivate):
259 * libs/gst/base/gstbasesrc.h:
260 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
261 for sub-classes to correctly clear any state they set trying to
262 unlock, such as clearing out unlock commands from a command fd.
264 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
265 (gst_fd_sink_render), (gst_fd_sink_unlock),
266 (gst_fd_sink_unlock_stop):
267 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
268 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
269 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
271 Implement unlock_stop in fdsrc and fdsink.
272 Implement seeking in fdsrc when a seekable fd is passed, as in
273 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
275 2007-03-19 Wim Taymans <wim@fluendo.com>
277 Patch by: Evan Nemerson <evan at coeus dash group dot com>
279 * gst/gstelement.c: (gst_element_class_init):
280 Fix pad-added and pad-removed signal signatures so that the pad type is
281 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
283 2007-03-19 Wim Taymans <wim@fluendo.com>
285 * docs/gst/gstreamer-sections.txt:
286 Add new element field and method.
288 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
289 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
290 (gst_bin_recalc_state), (gst_bin_get_state_func),
291 (gst_bin_element_set_state), (gst_bin_change_state_func),
292 (gst_bin_continue_func), (bin_bus_handler),
293 (bin_push_state_continue), (bin_handle_async_start),
294 (bin_handle_async_done), (gst_bin_handle_message_func):
295 Make async state changes a bit smarter by using new ASYNC_START and
296 ASYNC_DONE messages. This reduces the number of times we run the state
297 recalculation thread.
298 Don't change state of element with a pending ASYNC_START message.
299 Deprecate STATE_DIRTY messages.
301 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
302 (gst_element_get_state_func), (gst_element_continue_state),
303 (gst_element_lost_state), (gst_element_set_state_func),
304 (gst_element_change_state):
306 Keep the state that was last set by the app in a new element field.
307 Don't allow state changes when handling an element event.
308 Post ASYNC_START and ASYNC_DONE messages.
309 Change lost_state so that we go to PAUSED and wait for the parent to set
310 us to PLAYING again (so latency calculation can be performed)
311 Export gst_element_change_state() method so that subclasses can use it.
312 API: gst_element_change_state()
313 API: GST_STATE_TARGET
315 * gst/gstpipeline.c: (gst_pipeline_class_init),
316 (reset_stream_time), (gst_pipeline_change_state),
317 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
318 Using the new ASYNC_START message we can reset the base_time when
319 needed. This can then be used to implement base_time redistribution in
320 flushing seeks so that we can remove the explicit seek handling.
321 Perform latency query and configuration when going to PLAYING.
323 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
324 (gst_base_sink_query), (gst_base_sink_change_state):
325 Post new ASYNC_START/ASYNC_DONE messages.
327 * tests/check/generic/sinks.c: (GST_START_TEST):
328 Fix test because the bin will not set the async element to PLAYING right
331 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
332 Make the message check a little stronger.
333 Handle ASYNC messages.
335 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
336 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
337 Expect ASYNC_DONE messages.
339 2007-03-19 Wim Taymans <wim@fluendo.com>
341 * docs/gst/gstreamer-sections.txt:
342 * gst/gstmessage.c: (gst_message_new_async_start),
343 (gst_message_new_async_done), (gst_message_parse_info),
344 (gst_message_parse_async_start):
346 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
349 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
351 * tools/gst-inspect.c:
352 (print_plugin_automatic_install_info_codecs):
353 Now that we don't check for the 'Codec' keyword any longer in the
354 klass, we shouldn't spew a warning if the klass isn't a decoder or
355 encoder (since it might be a Source/Network, for example).
357 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
359 * tools/gst-inspect.c:
360 (print_plugin_automatic_install_info_codecs):
361 Don't require decoder/demuxer/depayloader elements or
362 encoder/muxer/paylader elements to have 'Codec' as part of their
363 factory class string when introspecting a plugin's capabilities.
364 draft-klass.txt mentions that it might be removed in future, and
365 flump3dec doesn't have it as part of its class string, so chances
366 are others might also not have it.
368 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
390 Update translations from translation project
392 2007-03-14 Stefan Kost <ensonic@users.sf.net>
394 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
395 (gst_child_proxy_set_property):
396 Invert precondition check to be alike the ones in the mimiced gobject
399 2007-03-13 Stefan Kost <ensonic@users.sf.net>
401 * docs/design/draft-tagreading.txt:
402 * docs/random/ensonic/audiobaseclasses.txt:
403 Do some Architect work.
405 * gst/gstobject.c: (gst_object_set_name):
409 Add docs that point from gst_pad_get_range to gst_pad_pull_range
411 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
413 * gst/gstsystemclock.c: (gst_system_clock_init),
414 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
415 Defer starting the async system clock thread until the first async
416 wait is scheduled. Fixes #414986.
418 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
420 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
421 (gst_single_queue_free):
422 Fix small leak (free GstSingleQueue structure too, not only contents).
424 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
426 * gst/gstbin.c:(gst_bin_add):
427 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
428 * win32/common/libgstbase.def:
429 * win32/common/libgstreamer.def:
430 Add new exported functions.
432 2007-03-09 Wim Taymans <wim@fluendo.com>
434 * docs/plugins/gstreamer-plugins-sections.txt:
437 2007-03-09 Wim Taymans <wim@fluendo.com>
439 * docs/gst/gstreamer-sections.txt:
440 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
442 Add metadata copy functions. Fixes #393099.
444 * gst/gstutils.c: (gst_buffer_stamp):
445 * libs/gst/base/gstbasetransform.c:
446 (gst_base_transform_prepare_output_buffer):
447 Use new metadata copy functions.
449 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
451 * plugins/elements/gstidentity.c: (gst_identity_class_init),
452 (gst_identity_init), (gst_identity_check_perfect),
453 (gst_identity_check_imperfect_timestamp),
454 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
455 (gst_identity_set_property), (gst_identity_get_property):
456 * plugins/elements/gstidentity.h:
457 Separate out check-imperfect-timestamp and check-imperfect-offset.
458 Put back check-perfect as it was to keep compatibility.
460 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
462 * gst/gstelement.c: (gst_element_dispose):
463 There's no need to warn if VOID_PENDING is not NONE here, as
464 long as the state is NULL it's ok, and that's checked immediately
467 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
469 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
470 Fix check for perfect stream to ignore buffers with -1
471 offsets/offset ends when checking data contiguity.
473 2007-03-08 Wim Taymans <wim@fluendo.com>
475 * tools/gst-launch.c: (event_loop):
478 2007-03-08 Wim Taymans <wim@fluendo.com>
480 * libs/gst/base/gstbasetransform.c:
481 (gst_base_transform_sink_eventfunc),
482 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
483 (gst_base_transform_activate):
484 * libs/gst/base/gstbasetransform.h:
485 Add support for dropping buffers with custom GstFlowReturn.
486 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
487 buffers or dropped buffers.
489 * docs/libs/gstreamer-libs-sections.txt:
490 docs for new custom return code.
492 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
493 Use drop support in base class to implement drop-probability.
495 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
497 * gst/gst.c: (load_plugin_func):
498 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
499 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
500 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
501 Remove newlines at end of debug log strings.
503 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
505 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
506 Only post bus message at max, once per buffer received.
508 2007-03-07 Wim Taymans <wim@fluendo.com>
510 * docs/design/Makefile.am:
511 * docs/design/part-synchronisation.txt:
512 Add doc about synchronisation
514 * docs/design/draft-latency.txt:
515 * docs/design/part-TODO.txt:
516 * docs/design/part-clocks.txt:
517 * docs/design/part-events.txt:
518 * docs/design/part-gstbus.txt:
519 * docs/design/part-gstpipeline.txt:
520 * docs/design/part-live-source.txt:
521 * docs/design/part-messages.txt:
522 * docs/design/part-overview.txt:
523 * docs/design/part-streams.txt:
524 * docs/design/part-trickmodes.txt:
525 Documentation updates.
527 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
530 Update the doap file.
532 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
534 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
535 Rename non-perfect to imperfect for Mike and for the sanctity of the
537 Also make sure bus message gets emitted for data-incontiguities.
539 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
541 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
542 (gst_identity_start):
543 * plugins/elements/gstidentity.h:
544 Emit bus message if check-perfect is true and we encounter a
545 non-perfect stream between 2 consecutive buffers.
548 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
553 === release 0.10.12 ===
555 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
558 releasing 0.10.12, "Inevitable Demise"
560 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
563 Version 0.10.11.2 (0.10.12 pre-release)
564 Bump libtool versioning.
566 2007-03-01 Stefan Kost <ensonic@users.sf.net>
568 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
569 Log flow-names and not numbers.
571 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
574 Convert to new AG_GST style.
576 2007-02-28 Wim Taymans <wim@fluendo.com>
578 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
579 Don't unref query twice.
581 2007-02-28 Wim Taymans <wim@fluendo.com>
583 * gst/gstvalue.c: (gst_value_transform_object_string),
584 (_gst_value_initialize):
585 Implement GstObject -> string transform so we print object names
586 when serializing GValues containing GstObjects.
588 2007-02-28 Wim Taymans <wim@fluendo.com>
590 * docs/gst/gstreamer-sections.txt:
591 Add new stuff to docs.
593 2007-02-28 Wim Taymans <wim@fluendo.com>
595 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
596 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
597 (gst_base_sink_change_state):
598 Improve latency query code.
599 Don't leak latency events.
601 * tests/check/gst/gstbin.c: (GST_START_TEST):
604 2007-02-28 Wim Taymans <wim@fluendo.com>
606 * gst/gstelement.c: (gst_element_message_full),
607 (gst_element_get_state_func):
609 Improve docs a little. Added Since: for new macro.
611 * gst/gstobject.c: (gst_object_sink):
612 * gst/gstpipeline.c: (gst_pipeline_change_state),
613 (gst_pipeline_set_new_stream_time):
615 Improve debugging and docs.
617 * gst/gstutils.c: (gst_element_state_change_return_get_name):
620 2007-02-28 Wim Taymans <wim@fluendo.com>
622 * gst/gstelement.c: (gst_element_message_full),
623 (gst_element_set_locked_state), (gst_element_get_state_func),
624 (gst_element_change_state):
625 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
626 Documentation updates.
629 * gst/gstmessage.c: (gst_message_new_info),
630 (gst_message_parse_info):
632 API: gst_message_new_info()
633 API: gst_message_parse_info()
634 Add INFO message create and parse code.
636 2007-02-28 Wim Taymans <wim@fluendo.com>
638 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
639 (bin_query_latency_done):
640 Also report the live parameter of a latency query.
642 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
644 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
645 Copy the current generic/states example from -base and adapt so
646 we can use the exact same code everywhere.
647 Check a STATES_IGNORE_ELEMENTS env var which can be used
648 to ignore certain element factories for this test, which is
649 what is being done in -base
650 * tests/check/Makefile.am:
651 Mention this environment variable.
653 2007-02-27 Wim Taymans <wim@fluendo.com>
655 * docs/gst/gstreamer-sections.txt:
656 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
657 (gst_bus_timed_pop), (gst_bus_pop):
659 API: gst_bus_timed_pop()
660 Implement gst_bus_timed_pop() to do a blocking timed wait for a
661 message to arrive on the bus.
663 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
665 Two unit tests for new _timed_pop() function.
667 2007-02-23 Wim Taymans <wim@fluendo.com>
669 * gst/gstpipeline.c: (gst_pipeline_change_state),
670 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
671 Don't ref a NULL clock in _provide_clock_func().
672 Don't allow an INVALID delay.
673 Don't try to calculate base_time with an invalid start_time.
674 Also distribute and notify a NULL clock when it was selected.
676 * tools/gst-launch.c: (event_loop):
677 Don't crash when a NULL clock was selected in the pipeline.
679 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
681 * docs/design/Makefile.am:
682 * docs/design/draft-missing-plugins.txt:
683 * docs/random/draft-missing-plugins.txt:
684 Some small updates: update plugin system identifier prefix
685 ('gstreamer.net' to 'gstreamer'), mention our new install
686 API in libgstbaseutils rather than libgimme-codec, add
687 reference to the online docs.
689 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
691 * win32/common/config.h:
692 Pretty sure Bill never made a powerpc version. Powerpc hackers,
693 use moap cl ci to only check in what is mentioned in the ChangeLog.
695 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
697 * docs/gst/gstreamer-sections.txt:
699 Fix up documentation to link to the correct GstGError section.
700 Add GST_ELEMENT_INFO macro since someone else added a Info message.
702 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
704 * tools/gst-launch.c: (event_loop):
705 Make sure that we actually show the important message part of a
707 No need to check if the gerror is not NULL to free; first of all
708 g_free accepts NULL; and second the default error handler would
709 segfault if gerror was NULL.
711 2007-02-21 Wim Taymans <wim@fluendo.com>
713 * docs/gst/gstreamer-sections.txt:
714 Removed docs as well.
716 2007-02-21 Wim Taymans <wim@fluendo.com>
718 * gst/gstmessage.c: (gst_message_parse_duration):
720 Remove new messages for release.
722 2007-02-20 Wim Taymans <wim@fluendo.com>
724 * docs/design/part-gstghostpad.txt:
725 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
726 (gst_ghost_pad_new_full):
727 Make the ghostpad a parent of the internal pad again for better backward
728 compatibility. Don't write code that relies on this however.
730 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
731 (gst_pad_link_check_hierarchy):
732 Require that parents should be GstElements in the hierarchy check.
734 2007-02-20 Wim Taymans <wim@fluendo.com>
736 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
737 (gst_bin_change_state_func), (bin_query_min_max_init),
738 (bin_query_latency_fold), (bin_query_latency_done),
741 Implement latency query.
743 2007-02-20 Wim Taymans <wim@fluendo.com>
745 * docs/design/part-gstghostpad.txt:
746 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
747 (gst_ghost_pad_internal_do_activate_push),
748 (gst_ghost_pad_internal_do_activate_pull),
749 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
750 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
751 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
752 Do not set the internal pad as a parent anymore so we can avoid
753 hierarchy linking errors when the ghostpad has no parent yet. This also
754 fixes failed activation because of unlinked internal pads, which in
755 turn fixes the impossible case where you have to activate a pad before
756 you can add it to a running element.
759 * gst/gstpad.c: (pre_activate), (post_activate),
760 (gst_pad_set_active), (gst_pad_activate_pull),
761 (gst_pad_activate_push), (gst_pad_check_pull_range):
762 Add some more debug info.
763 Mark activation mode in pre_activate so that we don't try to activate in
764 endless loops. Fixes #385084.
766 2007-02-19 Wim Taymans <wim@fluendo.com>
768 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
769 (gst_base_transform_check_get_range):
770 Implement a checkgetrange function instead of relying on the default
771 core behaviour that assumes we can operate in pull mode if we have a
772 getrange function. First step at fixing #385084.
774 2007-02-15 Stefan Kost <ensonic@users.sf.net>
776 * gst/gstchildproxy.h:
777 * libs/gst/base/gstbasesink.h:
778 * libs/gst/base/gstbasesrc.h:
779 * libs/gst/base/gstbasetransform.h:
780 More docs coverage and some ChangeLog surgery (add missing names)
782 2007-02-15 Wim Taymans <wim@fluendo.com>
784 * docs/design/part-TODO.txt:
785 * docs/design/part-activation.txt:
786 * docs/design/part-block.txt:
787 * docs/design/part-buffering.txt:
788 * docs/design/part-clocks.txt:
789 * docs/design/part-element-source.txt:
790 * docs/design/part-events.txt:
791 * docs/design/part-gstbin.txt:
792 * docs/design/part-gstbus.txt:
793 * docs/design/part-gstpipeline.txt:
794 * docs/design/part-live-source.txt:
795 * docs/design/part-messages.txt:
796 * docs/design/part-overview.txt:
797 * docs/design/part-qos.txt:
798 * docs/design/part-query.txt:
799 * docs/design/part-states.txt:
800 * docs/design/part-trickmodes.txt:
801 Some doc updates. Start renaming from stream_time to running_time where
804 2007-02-15 Wim Taymans <wim@fluendo.com>
806 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
807 Answer LATENCY query.
809 2007-02-15 Wim Taymans <wim@fluendo.com>
811 * tests/check/gst/gstevent.c: (event_probe), (test_event),
815 2007-02-15 Wim Taymans <wim@fluendo.com>
817 * gst/gstpad.c: (gst_pad_get_internal_links_default),
818 (gst_pad_dispatcher):
819 Improve debugging of default pad dispatcher and query functions.
821 2007-02-15 Wim Taymans <wim@fluendo.com>
823 * docs/gst/gstreamer-sections.txt:
824 Remove old unused method.
826 2007-02-13 Wim Taymans <wim@fluendo.com>
828 * tests/check/gst/gstsegment.c: (GST_START_TEST):
831 2007-02-13 Wim Taymans <wim@fluendo.com>
833 * docs/design/part-seeking.txt:
836 * gst/gstsegment.c: (gst_segment_set_seek):
837 Revert old bogus change that should make seeking work again.
839 2007-02-13 Stefan Kost <ensonic@users.sf.net>
841 * docs/random/ensonic/dynlink.txt:
842 * docs/random/ensonic/interfaces.txt:
843 * docs/random/ensonic/receipies.txt:
844 Possible dynamic reconnection api, plus some type fixes the other two
847 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
849 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
850 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
851 Also check for an absolute path following file:// in the filesrc
852 element. Remove redundant check and call g_path_is_absolute() on the
855 2007-02-13 Stefan Kost <ensonic@users.sf.net>
857 * docs/design/draft-klass.txt:
858 Add existing category analysis.
861 Fix doc example, framerate is a fraction.
863 2007-02-12 Stefan Kost <ensonic@users.sf.net>
866 * docs/gst/Makefile.am:
867 * docs/libs/Makefile.am:
868 * docs/plugins/Makefile.am:
869 Add crossreferences to glib/gobject docs.
871 2007-02-12 Wim Taymans <wim@fluendo.com>
873 * docs/design/draft-latency.txt:
876 * docs/libs/gstreamer-libs-sections.txt:
877 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
878 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
879 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
880 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
881 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
882 (gst_base_sink_get_position), (gst_base_sink_query),
883 (gst_base_sink_change_state):
884 * libs/gst/base/gstbasesink.h:
885 API: gst_base_sink_query_latency() to let subclasses query the upstream
887 API: gst_base_sink_get_latency() to let subclasses query the configured
889 Implement query and set latency.
891 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
892 don't continue preroll when we are flushing. Fixes #405284.
894 * tests/check/pipelines/stress.c: (change_state_timeout),
895 (quit_timeout), (GST_START_TEST), (stress_suite):
898 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
900 Patch by: René Stadler <mail at renestadler de>
902 * docs/gst/gstreamer-sections.txt:
903 * gst/gsttaglist.c: (_gst_tag_initialize):
905 API: add GST_TAG_REFERENCE_LEVEL (#403597).
907 2007-02-11 Stefan Kost <ensonic@users.sf.net>
909 * docs/libs/Makefile.am:
910 Fix path to core docs.
912 * gst/gstbin.c: (gst_bin_get_by_interface),
913 (gst_bin_iterate_all_by_interface):
914 Refix docs by also renaming 'interface' to 'iface' in implementation.
916 * docs/gst/gstreamer-sections.txt:
918 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
919 * gst/gstchildproxy.h:
920 * gst/gstelementfactory.c:
921 * gst/gstpadtemplate.h:
922 * libs/gst/controller/gstcontroller.c:
923 (gst_controlled_property_new):
926 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
928 * gst/gstbin.h:(gst_bin_get_by_interface),
929 (gst_bin_iterate_all_by_interface):
930 Replace interface parameter name by iface as interface is
931 a reserved keyword in Visual Studio for C++ projects so it removes
932 a build error for application developpers using VS.
933 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
934 Fix a bug on Windows in uri format check. Now the prefix checked
935 is file:// and next we check if the path after file:// is absolute.
936 * win32/common/libgstbase.def:
937 * win32/common/libgstdataprotocol.def:
938 * win32/common/libgstgstreamer.def:
939 Add new exported functions.
941 2007-02-09 Andy Wingo <wingo@pobox.com>
943 * tests/check/pipelines/simple-launch-lines.c
944 (simple_launch_lines_suite, test_tee): Disable tee test until I
945 have time to fix it :-(
947 * tests/check/Makefile.am (noinst_HEADERS):
948 * tests/check/libs/libsabi.c:
949 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
950 * tests/check/gst/gstabi.c:
951 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
953 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
954 tests for push and pull tee behavior.
956 * plugins/elements/gsttee.h:
957 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
958 mark as deprecated as well as unimplemented. It was a crack idea.
959 Add support for tee operating in pull mode, off by default.
961 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
962 normal-case logs down to LOG, raise errors to WARNING.
963 (gst_registry_xml_read_cache): Don't log before calling a function
966 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
967 exit (registry finalize).
968 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
969 DEBUG log when we emit signals that people don't even have the
970 chance to connect to.
971 (gst_registry_scan_path_level): Less logging in the normal case.
973 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
975 Patch by: Michal Benes <michal dot benes at itonis dot tv>
977 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
978 Correctly generate EOS for non-seekable files. We don't have a total
979 length for them and would get an unexpected end of file if we only
980 special-cased for regular files. (Fixes: #404569)
982 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
984 * tests/check/elements/filesrc.c: (GST_START_TEST),
986 Add unit test for the GstURIHandler interface in filesrc. This also
987 tests the newly added file://localhost/foo/bar support.
989 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
991 * gst/gstelementfactory.h:
992 The klass string is not a hierarchy. Add reference to the design doc
993 for more information and common types.
995 2007-02-02 Wim Taymans <wim@fluendo.com>
997 * gst/gstquery.c: (gst_query_new_latency):
998 Remove old structure field.
1000 2007-02-02 Stefan Kost <ensonic@users.sf.net>
1002 * tools/gst-launch.1.in:
1003 Give example for network streaming (#351998)
1005 2007-02-02 Wim Taymans <wim@fluendo.com>
1007 * docs/gst/gstreamer-sections.txt:
1008 Add docs for new methods.
1010 * gst/gstevent.c: (gst_event_new_latency),
1011 (gst_event_parse_latency):
1013 Add new LATENCY event to configure latency in a pipeline.
1014 API: gst_event_new_latency
1015 API: gst_event_parse_latency
1017 * gst/gstmessage.c: (gst_message_new_buffering),
1018 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1019 (gst_message_new_latency), (gst_message_parse_buffering),
1020 (gst_message_parse_lost_preroll):
1022 Added messages used in draft-latency.
1023 API: gst_message_new_lost_preroll
1024 API: gst_message_parse_lost_preroll
1025 API: gst_message_new_prerolled
1026 API: gst_message_new_latency
1028 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1029 (gst_query_parse_latency):
1031 Implemented new latency query as in design doc.
1032 API: gst_query_new_latency
1033 API: gst_query_set_latency
1034 API: gst_query_parse_latency
1036 2007-02-02 Wim Taymans <wim@fluendo.com>
1038 * docs/design/draft-latency.txt:
1039 Slight redesign to allow for dynamic latency adjustments.
1041 * docs/design/part-negotiation.txt:
1044 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
1046 reviewed by: Wim Taymans <wim@fluendo.com>
1048 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1049 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1050 Allow file://localhost/foo/bar URLs and correctly fail for every other
1051 hostname that one sets. This was gnomevfssrc is linked for those if
1052 installed as it can handle it (#403172)
1054 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1056 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1058 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1059 (unref_data), (gst_collect_pads_add_pad_full):
1060 * libs/gst/base/gstcollectpads.h:
1061 Don't put the previously added destroy notify in the GstCollectData
1062 struct as all it's padding is already used and we don't want to break
1063 ABI. Instead put in the pad's GObject data for now. This should be
1064 cleaned up for 0.11 (#402393).
1066 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1068 reviewed by: Wim Taymans <wim@fluendo.com>
1070 * docs/libs/gstreamer-libs-sections.txt:
1071 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1072 (unref_data), (gst_collect_pads_add_pad),
1073 (gst_collect_pads_add_pad_full):
1074 * libs/gst/base/gstcollectpads.h:
1075 API: Add function to specify a destroy notification for custom
1076 GstCollectData when adding new pads in GstCollectPads (#402393).
1078 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
1081 Update Swedish translation (#378255).
1083 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1085 * docs/design/draft-klass.txt:
1086 Fix the previous change, this is a list of categories and not a hierarchy.
1088 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1090 * docs/design/draft-klass.txt:
1091 Add info about how to get a list of used classes.
1093 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
1095 * plugins/elements/gsttypefindelement.c:
1096 (gst_type_find_element_chain_do_typefinding),
1097 (gst_type_find_element_change_state):
1098 Don't leak found caps in chain function (no idea why that never
1099 showed up as a leak anywhere).
1101 2007-01-30 Stefan Kost <ensonic@users.sf.net>
1104 Fix and expand GstPluginDesc API docs.
1106 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1109 * gst/gstelementfactory.c:
1110 * gst/gstpadtemplate.h:
1113 * libs/gst/controller/gstcontroller.c:
1114 (gst_controlled_property_new):
1115 * tests/examples/controller/audio-example.c:
1118 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1121 comment about refining the xml deps
1124 comments about moving away from jade for docs
1127 recommit the ifdefs to use the binary registry
1129 * gst/gstbin.c: (gst_bin_change_state_func):
1130 this break is obsolete
1132 * gst/gstelementfactory.h:
1133 better GST_ELEMENT_DETAILS docs, add comment about translation
1138 * gst/gstobject.c: (gst_signal_object_get_type):
1139 add G_UNLIKELY as usual
1141 * gst/gstpad.c: (gst_pad_event_default):
1142 add fall trhu comment
1144 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1145 (gst_registry_binary_initialize_magic),
1146 (gst_registry_binary_save_string),
1147 (gst_registry_binary_save_pad_template),
1148 (gst_registry_binary_save_feature),
1149 (gst_registry_binary_save_plugin),
1150 (gst_registry_binary_write_cache),
1151 (gst_registry_binary_check_magic),
1152 (gst_registry_binary_load_pad_template),
1153 (gst_registry_binary_load_feature),
1154 (gst_registry_binary_load_plugin),
1155 (gst_registry_binary_read_cache):
1156 comment typo and formatting
1158 * gst/gstutils.c: (gst_element_state_get_name),
1159 (gst_element_state_change_return_get_name):
1160 remove obsolete breaks
1162 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1163 add FIXME 0.11 and remove cpp comment
1165 2007-01-29 Edward Hervey <edward@fluendo.com>
1167 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1168 Fix print statement in an even more portable way.
1170 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
1172 * docs/gst/gstreamer-sections.txt:
1174 API: add GST_ROUND_DOWN_* macros (#401781).
1176 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
1178 * docs/gst/gstreamer.types.in:
1179 * gst/gstregistry.c: (gst_registry_class_init):
1180 Document registry signals and make gtk-doc pick them up (#401381).
1182 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1184 * docs/pwg/building-testapp.xml:
1185 Add some audioconverts and audioresample to the pipeline, and some
1186 more comments and error handling.
1188 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1190 * docs/manual/manual.xml:
1194 2007-01-26 Wim Taymans <wim@fluendo.com>
1196 * gst/gstcaps.c: (gst_static_caps_get):
1197 Init caps flags too.
1199 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
1201 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1203 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1204 If not using mmap'ed files try to seek to the end instead of the
1205 start to determine whether we can seek at all. This fixes the case
1206 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1207 seeks for everything afterwards fail. Fixes #400656
1209 2007-01-25 Wim Taymans <wim@fluendo.com>
1211 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1212 Add some refcount debugging.
1213 Make gst_static_caps_get threadsafe, which is needed when autoplugging
1214 in multiple streaming threads.
1216 2007-01-25 Wim Taymans <wim@fluendo.com>
1218 Patch by: David Schleef <ds at schleef dot org>
1220 * docs/libs/gstreamer-libs-sections.txt:
1221 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1222 * libs/gst/base/gstadapter.h:
1223 API: gst_adapter_copy() that can reduce the amount of memcpy when
1224 getting data from the adapter. Fixes #388201.
1226 2007-01-25 Edward Hervey <edward@fluendo.com>
1228 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1229 In print statements, "%x" is for guint. Fixes build on macosx.
1231 2007-01-24 Edward Hervey <edward@fluendo.com>
1233 * plugins/elements/gstmultiqueue.c:
1234 (gst_multi_queue_loop):
1236 (single_queue_overrun_cb), (single_queue_underrun_cb),
1237 (single_queue_check_full), (gst_single_queue_new):
1238 Implement single queue growth system.
1239 This uses the extra-size properties, and will grow single queues by
1240 that much if one goes full whereas there are others empty. This is
1241 called extra-mode in the code.
1242 When a single queue's levels go back below the initial max-size
1243 limits, it is no longer in extra-mode. This is to ensure we don't
1244 consume too much memory.
1247 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
1249 * gst/gst.c: (gst_init_get_option_group):
1250 Make warning about late g_thread_init() calls a bit more explicit,
1251 so that it's more obvious to application developers what they need
1252 to do if a user files a bug against their application.
1254 2007-01-22 Edward Hervey <edward@fluendo.com>
1256 * plugins/elements/gstmultiqueue.c:
1257 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1258 Remove previous hack of unsetting the flushing flag for the source pad
1259 instead of activating it. Instead, fix the source pad activate function
1260 so that it no longer depends on having a parent set or not.
1262 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
1264 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1266 * docs/manual/basics-bus.xml:
1267 Fix example code, gst_element_unref() doesn't exist any longer.
1269 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
1271 Patch by: Mark Nauwelaerts <manauw at skynet be>
1274 Fix two docs typoes (#399094).
1276 2007-01-19 Edward Hervey <edward@fluendo.com>
1278 * docs/faq/gst-uninstalled:
1279 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1280 depending on libgstbaseutils can work in uninstalled environment.
1282 2007-01-18 Stefan Kost <ensonic@users.sf.net>
1285 * gst/gsttagsetter.c:
1286 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1287 statement for new tag.
1289 2007-01-17 Edward Hervey <edward@fluendo.com>
1291 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1292 When dynamically creating single queues, activate sinkpad before adding
1294 We should be doing the same thing for the source pad, but we can't
1295 since it would call a method which needs the parent to be set in order
1296 to work propertly. Instead of activating the source pad, we just unset
1297 the flushing flag, which is the minimal requirement for adding a pad
1298 to an element in a state greater than READY.
1300 2007-01-17 Edward Hervey <edward@fluendo.com>
1302 * docs/faq/gst-uninstalled:
1303 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1306 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
1308 * tests/check/gst/gstabi.c:
1309 * tests/check/gst/struct_hppa.h:
1310 * tests/check/libs/libsabi.c:
1311 * tests/check/libs/struct_hppa.h:
1312 Add ABI structs for HPPA (see #393796).
1314 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
1316 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1317 Actually write ABI structs to the file specified in the GST_ABI
1318 environment variable, as the message we print claims we would.
1320 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1322 * tests/check/gst/gsttask.c:
1325 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1327 * gst/gsttaglist.c: (_gst_tag_initialize):
1328 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1329 previous two entries.
1331 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1333 * docs/gst/gstreamer-sections.txt:
1334 * gst/gsttaglist.c: (_gst_tag_initialize):
1336 Add tag support for beat-per-minute.
1338 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1340 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1341 (gst_registry_binary_initialize_magic),
1342 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1343 (gst_registry_binary_save_pad_template),
1344 (gst_registry_binary_save_feature),
1345 (gst_registry_binary_save_plugin),
1346 (gst_registry_binary_write_cache),
1347 (gst_registry_binary_check_magic),
1348 (gst_registry_binary_load_pad_template),
1349 (gst_registry_binary_load_feature),
1350 (gst_registry_binary_load_plugin),
1351 (gst_registry_binary_read_cache):
1352 * gst/gstregistrybinary.h:
1353 Use glib types, cleanup comments, impement interfaces and uri-types.
1355 2007-01-13 Andy Wingo <wingo@pobox.com>
1357 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1358 getrange() to return buffers with other caps, while we fix
1359 demuxers and typefind, or otherwise change part-negotiation.txt.
1361 2007-01-12 Andy Wingo <wingo@pobox.com>
1363 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1364 Factor start/stop into this private function instead of partially
1365 in activate functions and partially in the change_state function.
1366 Fixes setup before the element has changed from READY->PAUSED, as
1367 is the case in pull-mode pipelines.
1368 (gst_base_transform_sink_activate_push)
1369 (gst_base_transform_src_activate_pull): Refactor to use
1370 gst_base_transform_activate().
1371 (gst_base_transform_change_state): Removed, not needed any more.
1373 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1374 Truncate before fixating.
1376 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1377 Don't set_caps() if the result of fixating is ANY, as it's not
1378 supported, and not necessary in the case of a link with no
1379 template caps on either side. Fixes tests/check/libs/basesrc in
1380 some pull-mode tests.
1382 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1383 (gst_base_transform_init, gst_base_transform_sink_activate_push)
1384 (gst_base_transform_src_activate_pull):
1385 Track the activation mode.
1386 (gst_base_transform_setcaps): In pull mode, when activating the
1387 src pad, after activating the sink pad, activate the sink pad's
1388 peer, as discussed in part-negotiation.txt.
1390 * libs/gst/base/gstbasesrc.h:
1391 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1392 vmethod, as in basesink.
1394 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1396 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1397 mode, first proxy the setcaps to the peer pad.
1398 (gst_base_sink_pad_fixate): Add a fixate function that calls the
1400 (gst_base_sink_default_activate_pull): Rename from
1401 gst_base_sink_activate_pull.
1402 (gst_base_sink_negotiate_pull): New function, performs negotiation
1403 in pull mode before calling ::activate_pull().
1404 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1405 vmethod instead of the default implementation. I have no idea how
1406 this worked before. Negotiate before calling activate_pull.
1408 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1409 sink pads in pull mode. In addition to being correct, fixes
1410 filesrc ! decodebin ! identity ! fakesink.
1411 (gst_pad_get_range, gst_pad_pull_range): Don't call
1412 gst_pad_set_caps() if the caps changes; instead error out with
1413 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1415 2007-01-12 Andy Wingo <wingo@pobox.com>
1417 * docs/design/part-negotiation.txt: Update with more policy.
1419 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1421 * libs/gst/check/gstbufferstraw.h:
1422 * libs/gst/check/gstcheck.h:
1423 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1426 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1428 * tests/check/Makefile.am:
1429 * tests/check/gst/.cvsignore:
1430 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1431 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1432 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1433 (GST_START_TEST), (gst_tag_setter_suite):
1434 Add minimal unit test for beforementioned GstTagSetter bug.
1436 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1438 Patch by: René Stadler <mail at renestadler dot de>
1440 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1441 gst_tag_list_merge() returns a new list, so it's not the best idea
1442 to ingore its return value. Effectively meant that tags could only
1443 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1444 Also add function guard to require a non-NULL taglist as input (has
1445 always been so due to gst_tag_list_copy(), just making it explicit).
1447 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1449 * docs/random/draft-missing-plugins.txt:
1450 Some additions: mention new API that is supposed to be used at the
1451 various stages; short blob about new gst-inspect introspection
1452 option; mention potential future problem with plugins that have
1453 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1455 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1457 * tools/gst-inspect.c:
1458 (print_plugin_automatic_install_info_codecs),
1459 (print_plugin_automatic_install_info_protocols),
1460 (print_plugin_automatic_install_info), (main):
1461 Add --print-plugin-auto-install-info option to gst-inspect, so we can
1462 introspect plugin files and get machine-parsable output that corresponds
1463 to the last bit of the missing-plugin installer string (small gotcha:
1464 doesn't take into account ranks).
1466 2007-01-11 Stefan Kost <ensonic@users.sf.net>
1469 * docs/gst/gstreamer-sections.txt:
1471 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1472 (gst_registry_lookup_locked):
1473 * gst/gstregistry.h:
1474 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1475 (gst_registry_binary_initialize_magic),
1476 (gst_registry_binary_save_string),
1477 (gst_registry_binary_save_pad_template),
1478 (gst_registry_binary_save_feature),
1479 (gst_registry_binary_save_plugin),
1480 (gst_registry_binary_write_cache),
1481 (gst_registry_binary_check_magic),
1482 (gst_registry_binary_load_pad_template),
1483 (gst_registry_binary_load_feature),
1484 (gst_registry_binary_load_plugin),
1485 (gst_registry_binary_read_cache):
1486 * gst/gstregistrybinary.h:
1487 * gst/gstregistryxml.c: (load_feature),
1488 (gst_registry_xml_read_cache):
1489 commit binary registry (disabled by default, see #359653)
1491 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1493 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1494 Fix 'make check' too.
1496 2007-01-10 Andy Wingo <wingo@pobox.com>
1498 * docs/design/part-negotiation.txt: Fix a typo, add a couple
1501 * docs/design/part-negotiation.txt: Update with, um, one way that
1502 pull-mode negotiation might work?
1505 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1506 that the pad must be a src pad; makes sense to call it the other
1507 way in pull mode, and the logic is symmetric anyway.
1509 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
1511 * plugins/elements/gstfilesink.c:
1512 Include <stdio.h> for fseeko().
1514 2007-01-10 Wim Taymans <wim@fluendo.com>
1518 Reserve LATENCY event.
1520 2007-01-09 Wim Taymans <wim@fluendo.com>
1522 * docs/design/draft-latency.txt:
1525 2007-01-09 Wim Taymans <wim@fluendo.com>
1527 * docs/design/draft-latency.txt:
1531 * gst/gststructure.c:
1535 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
1537 * tests/check/.cvsignore:
1538 Ignore test-registry.xml as well.
1540 2007-01-09 Wim Taymans <wim@fluendo.com>
1542 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1543 unref data at the end when we are done with the pad.
1545 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1547 * docs/gst/gstreamer-sections.txt:
1548 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1549 (init_post), (gst_deinit), (gst_update_registry):
1551 API: add gst_update_registry() (#391296).
1553 * tests/check/Makefile.am:
1554 * tests/check/gst/gstregistry.c:
1555 * tests/check/gst/.cvsignore:
1556 Simple unit test for the above.
1558 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1560 * gst/gstregistry.c: (gst_registry_scan_path_level):
1561 Plugin extension on HP-UX is .sl, add that to the list of approved
1562 plugin extensions (see #393796).
1564 * tests/check/gst/gstpad.c: (GST_START_TEST):
1565 ulong => gulong. Fixes compilation with HP-UX compiler.
1567 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1568 Fix compilation if valgrind headers are not available.
1570 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
1572 * win32/common/libgstreamer.def:
1573 Add new exported function.
1574 * win32/vs6/libgstbase.dsp:
1575 Add gstdataqueue.c to the build.
1576 * win32/vs6/libgstcoreelements.dsp:
1577 Add gstmultiqueue.c to the build.
1579 2007-01-06 Andy Wingo <wingo@pobox.com>
1581 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1582 activate_pull(), providing for a way to specialize the process of
1583 spawning a thread to pull on the sink pad. There is a default
1586 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1587 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1588 (gst_base_sink_init): Renamed pad activation functions (inserting
1589 "_pad" in their names). Refactor to use the new activate_pull
1590 vmethod, as appropriate.
1591 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1592 default activate_pull function to start a task pulling from the
1593 sink pad, as before.
1595 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1596 on the pads if necessary, as in push()/chain(). Update docs.
1597 Shouldn't affect existing pull() usage as it is currently only
1598 being used on buffers without caps.
1600 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1602 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1604 Call g_thread_init() first thing in gst_init() / gst_check_init().
1605 When initialisation is done via gst_init_get_option_group() and
1606 GOption parsing, issue a warning if the GLib thread system has not
1607 been initialised yet by the time gst_init_get_option_group() is
1608 called, as it's quite likely other GLib functions such as
1609 g_option_context_new() have been called already then, and
1610 g_thread_init() must be called before any other GLib function. The
1611 application in question must be fixed in that case, since memory
1612 corruption might happen otherwise.
1613 We issue the warning because even if the GLib folks decide to work
1614 around the problem on their end in future, this is still an issue
1615 with all GLib versions >= 2.10.0, so we should warn until we depend
1616 on a GLib version we know to be safe.
1617 Update documentation as well.
1620 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1622 * tools/gst-inspect.c: (main):
1623 * tools/gst-launch.c: (main):
1624 * tools/gst-typefind.c: (main):
1625 * tools/gst-xmlinspect.c: (main):
1626 Call g_thread_init() really really early, before any other GLib
1627 function (see #342564 and recent discussion on gtk-devel-list).
1629 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1631 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
1633 * gst/gst_private.h:
1634 * gst/gstconfig.h.in:
1636 On win32, all the __declspec stuff for symbol exporting is
1637 apparently only needed with MSVC, but doesn't work with MingW.
1638 Fixes compilation with MingW and #391909.
1640 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1642 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1643 Change some GST_ERROR_OBJECT that aren't really errors to
1644 GST_WARNING_OBJECT in order to reduce terminal spam.
1646 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1648 * tests/check/Makefile.am:
1649 disable test again, as there seem to be still race problems
1651 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1653 * tests/check/Makefile.am:
1654 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1655 (GST_START_TEST), (queue_suite):
1656 enable queue test again, add tests for the leaky behaviour
1658 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
1661 * tests/examples/Makefile.am:
1662 Compile adapter test/example only if the required headers are
1663 available (fixes #391915).
1665 2007-01-01 David Schleef <ds@schleef.org>
1668 Restore the previous signal handler for SIGSEGV instead of
1669 setting to default, since we may have stolen it away from
1670 someone. (i.e., Mono)
1672 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1674 * docs/random/draft-missing-plugins.txt:
1675 Some small additions and clarifications.
1677 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1679 * gst/gstregistryxml.c: (gst_registry_save_escaped):
1680 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1681 since that can lead to random memory corruptions and crashes
1682 (may or may not be related to #383244, #386711, and #386711).
1684 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1686 * tests/check/.cvsignore:
1687 * tests/check/Makefile.am:
1688 sync .cvsignome and CLEANFILES
1690 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1692 * tests/check/Makefile.am:
1695 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1697 * docs/design/part-states.txt:
1698 two tiny additional comments
1700 * gst/gststructure.c:
1703 * tests/check/Makefile.am:
1704 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1706 disable test for now, unless it gets fixed
1708 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1710 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1712 fix race in underrun test
1714 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1716 * tests/check/elements/.cvsignore:
1719 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1721 try to narrow test failure
1723 2006-12-21 David Schleef <ds@schleef.org>
1725 * plugins/elements/gstfakesrc.c:
1726 Use g_random_int_range(), since it produces better random
1727 numbers in a range than almost-correct floating point code.
1729 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1731 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1732 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1733 (gst_check_teardown_sink_pad):
1734 do not automatically (de)activate pads
1736 * tests/check/Makefile.am:
1737 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1738 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1739 add new, yet simple tests for queue
1741 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1742 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1743 * tests/check/elements/filesrc.c: (cleanup_filesrc),
1745 * tests/check/elements/identity.c: (cleanup_identity):
1746 consistent pad (de)activation
1748 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
1750 Patch by: Sebastian Dröge <slomo ubuntu com>
1752 * libs/gst/base/gstcollectpads.c:
1753 Fix two doc typos (#387866).
1755 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1757 * docs/manual/advanced-dparams.xml:
1758 Fix typo (g_object_control_properties() doesn't exist).
1760 2006-12-19 Edward Hervey <edward@fluendo.com>
1762 * gst/gstsegment.c: (gst_segment_set_seek):
1763 Fine tune the cases where the segment start/stop values are really
1765 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1766 Add tests for the return values of gst_segment_set_seek().
1768 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1773 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1775 Fix incorrect documentation and flesh it out a bit more.
1776 Set default values for the max properties on the GParamSpec as well,
1777 so it shows up correctly in gst-inspect.
1779 2006-12-18 Stefan Kost <ensonic@users.sf.net>
1781 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1782 Correct docs of queue, add more detail and crosslink it more.
1784 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1786 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1787 Print additional debug info when the stream isn't perfectly
1788 timestamped; don't try to use invalid durations.
1790 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1792 * docs/design/Makefile.am:
1793 Dist new design docs.
1795 2006-12-16 Wim Taymans <wim@fluendo.com>
1797 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1799 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
1800 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1801 (gst_collect_pads_stop), (gst_collect_pads_event),
1802 (gst_collect_pads_chain):
1803 * libs/gst/base/gstcollectpads.h:
1804 Add refcounting to the collectpads data so we can track when it's safe
1805 to free the data. Fixes #383382.
1807 2006-12-15 Wim Taymans <wim@fluendo.com>
1809 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1810 (gst_collect_pads_remove_pad):
1811 Automatically activate/deactivate pads when they are added to a
1812 started/stoped collectpads.
1814 2006-12-15 Wim Taymans <wim@fluendo.com>
1816 * gst/gstelement.c: (gst_element_add_pad):
1817 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1818 * gst/gstpad.c: (gst_pad_init):
1819 Set pads to FLUSHING when they are created. Check, warn and fix when a
1820 demuxer adds an inactive pad to itself when running. Fixes #339326.
1822 2006-12-15 Wim Taymans <wim@fluendo.com>
1824 * gst/gstelement.c: (gst_element_class_init),
1825 (gst_element_default_send_event), (gst_element_send_event),
1826 (gst_element_default_query), (gst_element_query):
1827 Expose default element send_event and query handling as vmethods that
1828 subclasses can chain up to.
1830 2006-12-15 Wim Taymans <wim@fluendo.com>
1832 * gst/gstelement.c: (gst_element_set_state_func):
1833 Small documentation fixes.
1835 2006-12-15 Wim Taymans <wim@fluendo.com>
1837 * docs/design/draft-latency.txt:
1838 Checked in draft for handling latency in pipelines.
1840 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
1844 * gstreamer.spec.in:
1847 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
1849 * gst/gst.c: (init_pre), (init_post):
1850 init_pre() and init_post() might be called via our GOptionGroup or
1851 from gst_init(), and we should skip both of them if we've already
1852 been initialised, otherwise we will init some things twice or add
1853 two default log functions.
1855 2006-12-13 Edward Hervey <edward@fluendo.com>
1857 * docs/manual/basics-bus.xml:
1858 No, gst_main_loop does not exist. Its g_main_loop.
1859 Discovered by somebody who abused the copy-paste technique of coding :)
1861 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
1863 * gst/gstghostpad.c:
1864 Log ghostpad debug stuff to the GST_PADS category as well rather
1865 than just to the default category.
1867 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
1870 * gst/gst.c: (init_pre):
1871 Add some basic system details such as OS and architecture
1872 to the debug output if possible, courtesy of uname().
1874 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
1876 * docs/gst/running.xml:
1877 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
1878 environment variables.
1880 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
1882 * tests/check/gst/gstbin.c: (GST_START_TEST):
1883 It is acceptable to have a refcount of 2 or 3 at this point in the
1884 test, because the pipeline might be just posting its state_change
1885 message. The next line then waits for that message to appear using
1886 bus_poll, so that should be fine too.
1888 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
1890 * gst/gst.c: (ensure_current_registry_forking):
1891 Ignore EINTR when reading from the child registry pipe.
1892 Explicitly ignore the return value from close, since it makes no
1895 * gst/gstminiobject.c: (gst_mini_object_ref),
1896 (gst_mini_object_unref):
1897 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
1899 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
1900 When removing cached plugins, remove their features too, so they're
1901 not visible after they've disappeared.
1903 * gst/gstutils.c: (prepare_link_maybe_ghosting):
1904 In the unlikely case that we are linking pads with no parents, don't
1905 crash trying to get the non-existent parent bin.
1907 * gst/parse/grammar.y:
1908 Output debug in the PIPELINE category
1910 2005-03-08 Wim Taymans <wim@fluendo.com>
1912 Patch by: René Stadler <mail at renestadler dot de>
1914 * gst/gstclock.c: (gst_clock_new_periodic_id):
1915 Reject invalid clock times for interval of periodic ids.
1918 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
1920 * gst/gstelementfactory.c: (gst_element_factory_create):
1921 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1922 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
1923 * tools/gst-inspect.c: (print_element_info):
1924 Fix refcounting of gst_plugin_feature_load to match the docs.
1927 2006-12-07 Wim Taymans <wim@fluendo.com>
1929 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1930 (gst_base_sink_get_position):
1931 Improve debugging of events.
1933 2006-12-07 Wim Taymans <wim@fluendo.com>
1935 Patch by: René Stadler <mail at renestadler dot de>
1937 * gst/gstclock.c: (gst_clock_id_wait):
1938 Make period ids add the interval to the origial requested time instead
1939 of the possibly updated time which can be wrong when there are multiple
1940 waiters for the same id. Fixes #382592.
1942 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
1943 (gst_system_clock_id_wait_jitter_unlocked),
1944 (gst_system_clock_id_wait_jitter):
1945 Fix restart in the async notify thread when an async entry is added to
1946 the front of the list. Fixes #381492.
1948 * tests/check/gst/gstsystemclock.c: (store_callback),
1949 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
1950 Added test for multiple async waits.
1951 Added test for async wait order.
1953 2006-12-07 Wim Taymans <wim@fluendo.com>
1955 * gst/gstbin.c: (gst_bin_query):
1956 Add some more docs about the POSITION query.
1958 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
1961 Bump version nano - back to CVS.
1963 === release 0.10.11 ===
1965 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
1968 releasing 0.10.11, "Love never runs on time"
1970 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
1972 * win32/common/libgstbase.def:
1973 * win32/common/libgstreamer.def:
1974 * win32/vs8/libgstbase.vcproj:
1975 * win32/vs8/libgstcoreelements.vcproj:
1976 * win32/vs8/libgstreamer.vcproj:
1977 Fix compilation on win32 under VS8
1978 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
1979 Partially fixes #381175
1981 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1983 * gst/gstvalue.c: (gst_value_compare_fraction):
1984 If someone is foolish enough to compare 2 fractions with denominator =
1985 0, return UNORDERED rather than aborting.
1987 2006-11-28 Edward Hervey <edward@fluendo.com>
1989 * libs/gst/base/Makefile.am:
1990 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
1991 (gst_data_queue_base_init), (gst_data_queue_class_init),
1992 (gst_data_queue_init), (gst_data_queue_new),
1993 (gst_data_queue_cleanup), (gst_data_queue_finalize),
1994 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
1995 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
1996 (gst_data_queue_is_empty), (gst_data_queue_is_full),
1997 (gst_data_queue_set_flushing), (gst_data_queue_push),
1998 (gst_data_queue_pop), (gst_data_queue_drop_head),
1999 (gst_data_queue_set_property), (gst_data_queue_get_property):
2000 * libs/gst/base/gstdataqueue.h:
2001 New GstDataQueue object for threadsafe queueing. Most useful for
2002 elements that need some queueing functionnality.
2003 * docs/libs/gstreamer-libs-docs.sgml:
2004 * docs/libs/gstreamer-libs-sections.txt:
2005 Insert documentation for GstDataQueue
2006 * plugins/elements/Makefile.am:
2007 * plugins/elements/gstelements.c:
2008 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2009 (gst_multi_queue_class_init), (gst_multi_queue_init),
2010 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2011 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2012 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2013 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2014 (gst_multi_queue_loop), (gst_multi_queue_chain),
2015 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2016 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2017 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2018 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2019 (wake_up_next_non_linked), (compute_next_non_linked),
2020 (single_queue_overrun_cb), (single_queue_underrun_cb),
2021 (single_queue_check_full), (gst_single_queue_new):
2022 * plugins/elements/gstmultiqueue.h:
2023 New multiqueue element, using GstDataQueue. Used for queuing multiple
2025 Closes #344639 and #347785
2027 2006-11-22 Stefan Kost <ensonic@users.sf.net>
2029 * docs/pwg/advanced-types.xml:
2030 add more missing type details
2032 * tools/gst-run.c: (main):
2033 remove unused variable
2035 2006-11-21 Stefan Kost <ensonic@users.sf.net>
2037 * docs/libs/Makefile.am:
2038 * docs/libs/gstreamer-libs.types:
2039 add types of base classes to enable gobject specific stuff in the docs
2041 * docs/random/ensonic/embedded.txt:
2042 more ideas about isolating platform specific things
2044 2006-11-20 Wim Taymans <wim@fluendo.com>
2046 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2048 * libs/gst/check/gstcheck.h:
2049 Fix compilation and running against 0.9.4. Fixes #377332.
2051 2006-11-20 Wim Taymans <wim@fluendo.com>
2053 * gst/gstsegment.c: (gst_segment_set_seek),
2054 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2055 (gst_segment_to_running_time):
2056 Fix boundary checking in to_running_time() and to_stream_time().
2059 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2060 stream and running time can now be calculated for the complete
2063 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
2065 * gst/gstpad.c: (gst_pad_push_event):
2066 Can't access event structure after giving away ownership of
2069 2006-11-15 Stefan Kost <ensonic@users.sf.net>
2071 * docs/random/ensonic/embedded.txt:
2072 * docs/random/ensonic/profiling.txt:
2073 * docs/random/ensonic/receipies.txt:
2076 2006-11-13 Wim Taymans <wim@fluendo.com>
2078 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2081 Fix documentation for gst_pad_dispatcher. Fixes #374475.
2083 2006-11-13 Wim Taymans <wim@fluendo.com>
2085 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2087 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2088 Store new length in segment duration so we don't keep on calling the
2089 potentially expensize get_size() call. Fixes #370865.
2091 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
2093 Patch by: Sergey Scobich <sergey.scobich at gmail com>
2095 * win32/common/libgstreamer.def:
2096 Add two missing symbols (#366492).
2098 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
2100 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2101 (gst_adapter_take_buffer):
2102 Fix format string to use all its arguments.
2103 Remove useless >= check on a guint
2105 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2107 * tests/examples/adapter/.cvsignore:
2108 Ignore build file as commanded by the build-bot
2110 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2112 * tests/examples/adapter/Makefile.am:
2113 * tests/examples/adapter/adapter_test.c: (run_test_take),
2114 (run_test_take_buffer), (run_tests), (main):
2116 Add new files from the previous commit
2118 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2122 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2123 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2124 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2125 * libs/gst/base/gstadapter.h:
2126 * tests/check/libs/adapter.c: (create_and_fill_adapter),
2127 (GST_START_TEST), (gst_adapter_suite):
2128 * tests/examples/Makefile.am:
2129 Do some optimisation work in GstAdapter to avoid copies in more cases.
2130 It could still do slightly better by merging buffers when
2131 gst_buffer_is_span_fast is true, but is already faster.
2133 Also, avoid traversing a single-linked list to append each incoming
2134 buffer inside the adapter.
2136 Add simple test app that times the adapter behaviour in different
2137 situations, and extend the unit test to check that bytes enter and
2138 exit the adapter in their original order.
2140 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
2142 * docs/random/draft-missing-plugins.txt:
2143 Update: use element message instead of adding a new message
2144 type to the core; don't provide GStreamer API to initiate the
2145 plugin download, just provide API to compose the strings needed
2146 and let an external libgimmestuff handle the rest.
2148 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
2150 * tools/gst-inspect.c: (print_element_properties_info):
2151 Print a string instead of 'unknown type' for GValueArray properties
2153 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
2155 * docs/random/draft-missing-plugins.txt:
2158 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2160 * tests/examples/typefind/typefind.c: (type_found), (main):
2161 Make typefind element example work again (#371894); add a
2164 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2166 * docs/random/draft-missing-plugins.txt:
2167 Commit initial draft about how to deal with missing plugins,
2168 needs work (API too).
2170 2006-11-07 Stefan Kost <ensonic@users.sf.net>
2172 * docs/pwg/advanced-types.xml:
2173 documents the new caps elements (see #363118)
2175 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2177 * gst/gstplugin.c: (gst_plugin_load_file):
2178 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2179 (gst_file_src_map_region), (gst_file_src_start):
2180 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2181 (gst_file_index_commit):
2182 Use g_strerror() instead of strerror() - we want UTF-8.
2184 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2186 Patch by: Peter Kjellerstedt <pkj at axis com>
2188 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2189 Another printf fix (#371493).
2191 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2193 * tests/check/gst/gsttag.c:
2194 relicence (okay with author=company)
2196 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2198 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2199 (gst_pad_push_event):
2200 Enhance debug and improve docs
2205 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2207 * docs/random/ensonic/distributed.txt:
2208 * docs/random/ensonic/profiling.txt:
2211 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2213 * docs/gst/gstreamer-sections.txt:
2214 add new API and fix the build
2216 * gst/gstbin.c: (gst_bin_recalc_state):
2217 * gst/gstelement.c: (gst_element_message_full),
2218 (gst_element_get_state_func), (gst_element_set_state_func):
2219 use new API and improve logging
2221 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2223 API: add function to get StateChangereturn names to improve logs
2225 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
2227 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2228 I'm considering shooting the next person to put strerror stuff
2229 in the translateable part of the message.
2231 2006-11-03 Wim Taymans <wim@fluendo.com>
2233 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2234 Get the type and printf conversion specifiers right.
2236 2006-11-03 Wim Taymans <wim@fluendo.com>
2238 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2240 * gst/gstpad.c: (gst_pad_init), (pre_activate),
2241 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2242 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2243 Some small cleanups. Improve debugging.
2245 Signal all waiting threads with a broadcast instead of just one.
2248 2006-11-03 Wim Taymans <wim@fluendo.com>
2250 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2251 (gst_fd_src_create):
2253 Only update fd when it's different from the old.
2255 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2257 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2258 Printf fixes for PPC/OSX, take two (#369366).
2260 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2262 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
2264 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2265 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2266 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2267 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2268 don't cast to long long for portability reasons, but use
2269 GLib's types instead.
2271 2006-10-30 Michael Smith <msmith@fluendo.com>
2273 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2274 Get the arguments to lseek() the right way around.
2277 2006-10-30 Wim Taymans <wim@fluendo.com>
2279 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2282 _declspec should be __declspec (two underscores, not one). Fixes 366572.
2284 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2286 Patch by: Kjartan Maraas <kmaraas at gnome org>
2288 * docs/design/part-MT-refcounting.txt:
2289 * docs/random/wtay/capsnego2-docs:
2292 Typo fixes (#366212).
2294 2006-10-28 Wim Taymans <wim@fluendo.com>
2296 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2299 * win32/common/libgstbase.def:
2300 * win32/common/libgstreamer.def:
2301 * win32/vs8/libgstbase.vcproj:
2302 * win32/vs8/libgstcontroller.vcproj:
2303 Add needed entries in .def files.
2305 Rearrange def files in vs8 solutions. Fixes #366286.
2307 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2309 * win32/common/gstconfig.h:
2310 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2311 hand-made win32 gstconfig.h. Fixes #366321.
2313 2006-10-27 Wim Taymans <wim@fluendo.com>
2315 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2316 (gst_ghost_pad_new_full):
2317 Make acceptcaps return TRUE when we don't have a target, just like
2320 2006-10-27 Wim Taymans <wim@fluendo.com>
2322 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2323 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2325 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
2327 * gst/gststructure.c: (gst_structure_id_set_value):
2328 If someone tries to set a non-UTF8 string field on a structure,
2329 don't just print a warning, but also ignore the request and do
2330 not change/add that field to the structure.
2332 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2335 2006-10-25 David Schleef <ds@schleef.org>
2338 g_hash_table_insert() needs a cast to a non-const pointer duh.
2340 2006-10-25 David Schleef <ds@schleef.org>
2344 Change name parameter of _gst_debug_register_funcptr to const
2345 to reflect the constness of its use in the function as well
2346 as to quiet a gcc warning.
2348 2006-10-25 Edward Hervey <edward@fluendo.com>
2350 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2351 Don't push the buffer if it's empty.
2354 2006-10-24 Wim Taymans <wim@fluendo.com>
2359 * libs/gst/base/gstbasetransform.c:
2360 (gst_base_transform_sink_eventfunc):
2361 Debug segment values *after* updating them as this is more
2364 2006-10-23 Wim Taymans <wim@fluendo.com>
2366 * docs/design/part-events.txt:
2369 * docs/design/part-block.txt:
2370 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2371 (gst_pad_push_event):
2372 Revert BLOCKING patch, it tries to be smart without really having a
2373 clear idea what or how. So, now we discard all FLUSHING events again on
2374 a blocking pad. Should fix gnonlin again.
2376 2006-10-23 Wim Taymans <wim@fluendo.com>
2378 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2380 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2381 (gst_base_src_start), (gst_base_src_activate_push):
2382 Make sure size is always initialized. Fixes #364388.
2384 2006-10-20 Stefan Kost <ensonic@users.sf.net>
2386 * docs/random/ensonic/distributed.txt:
2387 add some ideas about doing distributed processing
2389 * docs/random/ensonic/profiling.txt:
2390 get_rusage look promising
2392 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2394 * docs/manual/basics-helloworld.xml:
2395 Add a cast in example to fix compile warning
2397 2006-10-18 Wim Taymans <wim@fluendo.com>
2399 * gst/gstsegment.c: (gst_segment_set_last_stop),
2400 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2401 Relax arg checking again, -1 is allowed.
2403 2006-10-18 Wim Taymans <wim@fluendo.com>
2405 * gst/gstsegment.c: (gst_segment_set_last_stop),
2406 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2407 _set_last_stop() must be with a value != -1
2408 A _TYPE_SET to -1 means seek to 0.
2409 Calc last_stop correctly for negative rates.
2410 Make sure we work with positive durations when updating a segment.
2412 2006-10-18 Wim Taymans <wim@fluendo.com>
2414 * docs/design/part-live-source.txt:
2418 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
2421 Add an explicit cast to GstBuffer** to keep old code that added an
2422 explicit cast to GstMiniObject** for gst_mini_object_replace()
2423 compiling without warning.
2425 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2427 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2428 check for validity of dates
2430 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2432 * docs/gst/gstreamer-sections.txt:
2433 Forgot this one, makes gtk-doc shut up.
2435 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2437 Patch by: Peter Kjellerstedt <pkj at axis com>
2440 Don't define xmlNodePtr to gpointer if the core was built with
2441 --disable-loadsave and --disable-registry, this will break
2442 applications that want to use libxml2 but are buildling against a
2443 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2444 instead so we don't have to mess with the libxml2 namespace
2447 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2450 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2451 type-punned pointer warnings.
2453 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
2456 Add casts to the correct return type to state <=> state transition
2459 2006-10-16 Stefan Kost <ensonic@users.sf.net>
2461 * docs/design/part-live-source.txt:
2462 describe howto handle latency
2464 * docs/random/ensonic/profiling.txt:
2467 * tools/gst-plot-timeline.py:
2468 fix log parsing for solaris, remove unused function
2470 2006-10-16 Wim Taymans <wim@fluendo.com>
2472 * docs/design/part-trickmodes.txt:
2474 Update some docs regarding reverse playback.
2476 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
2478 Patch by: Marcus Granado <mrc dot gran at gmail com>
2480 * win32/vs8/grammar.vcproj:
2481 Error out with a warning if glib-genmarshal.exe is not in path,
2482 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2484 2006-10-13 Wim Taymans <wim@fluendo.com>
2486 * gst/gstsegment.c: (gst_segment_set_seek):
2487 When seeking to stop -1, set last_stop (current position) to the
2488 duration of the segment.
2490 2006-10-13 Wim Taymans <wim@fluendo.com>
2493 Clarify _NO_PREROLL a bit more.
2498 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2499 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2500 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2501 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2502 due to wrong locking order. Fixes #361769.
2503 Remove some redundant/misplaced checks in pad_block.
2505 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2506 For negative rates, count backwards from the duration.
2508 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
2510 * gst/gsterror.c: (_gst_library_errors_init):
2511 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2512 up with something better).
2514 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2516 * win32/vs6/libgstreamer.dsp:
2517 * win32/vs7/libgstreamer.vcproj:
2518 * win32/vs8/libgstreamer.vcproj:
2519 Don't reference glib-compat.c which is currently not used and not
2520 disted; add gstquark.c which was recently added. Fixes #361730.
2522 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2524 * win32/common/libgstbase.def:
2525 * win32/common/libgstcontroller.def:
2526 * win32/common/libgstreamer.def:
2527 Add gst_caps_merge() and a bunch of other recently-added functions.
2530 2006-10-11 Wim Taymans <wim@fluendo.com>
2532 * docs/plugins/gstreamer-plugins.args:
2533 * docs/plugins/inspect/plugin-coreelements.xml:
2534 * docs/plugins/inspect/plugin-coreindexers.xml:
2535 Update element args.
2537 * gst/gstsystemclock.c:
2538 Small comment update.
2540 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2541 (gst_tee_request_new_pad), (gst_tee_release_pad),
2542 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2543 (gst_tee_sink_activate_pull):
2544 * plugins/elements/gsttee.h:
2546 Add default property defines.
2547 Implement release pad function.
2548 Give properties better blubs etc.
2549 Activate pads before adding them to a running tee.
2550 Do simple buffer_alloc on the first requested pad.
2551 Post error when activation fails.
2553 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2555 * gst/gst.c: (ensure_current_registry_forking):
2556 Check return value of write() to make compiler happy.
2558 2006-10-11 Wim Taymans <wim@fluendo.com>
2560 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2562 * plugins/elements/gstqueue.c: (gst_queue_chain):
2563 Recheck queue filledness after signalling the overrun when we're about
2564 to leak downstream because we released the lock when emitting the signal
2565 and the queue could be empty again. Fixes #352345.
2567 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2569 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2570 Fix refcounting here too, just like we did for _new_valist() a few
2571 days ago (#357180) (thanks to René Stadler). Also remove all those
2572 'Since: 0.9' from the gtk-doc blobs.
2574 * tests/check/libs/controller.c: (controller_refcount_new_list),
2575 (gst_controller_suite):
2576 Unit test for the above.
2578 2006-10-10 Wim Taymans <wim@fluendo.com>
2580 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2582 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2583 (gst_pad_save_thyself):
2585 Write pad direction in XML output. Fixes #345496.
2587 2006-10-10 Wim Taymans <wim@fluendo.com>
2589 Patch by: René Stadler <mail at renestadler dot de>
2591 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2592 (gst_controller_new_list), (_gst_controller_dispose),
2593 (_gst_controller_finalize), (_gst_controller_class_init):
2594 Take ref to controlled object so that it cannot disappear.
2597 2006-10-10 Wim Taymans <wim@fluendo.com>
2599 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2600 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2601 (gst_check_teardown_sink_pad):
2602 Activate/deactivate pads in setup/teardown respectively.
2604 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2606 Patch by: Josep Torre Valles <josep@fluendo.com>
2609 Cast values when making gstenumtypes.h. This pacifies Forte
2610 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2613 2006-10-09 Wim Taymans <wim@fluendo.com>
2615 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2616 Rename some more @cur to @start to fix docs.
2618 * gst/gstsegment.c: (gst_segment_set_seek):
2620 time and start must always stay in sync as defined in design doc.
2622 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2623 Rename param to fix docs.
2625 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2626 Check that start and time are in sync.
2628 * tests/check/pipelines/parse-launch.c:
2629 (gst_parse_test_element_change_state):
2630 Activate pad before adding to the element.
2632 2006-10-09 Wim Taymans <wim@fluendo.com>
2634 * docs/design/part-qos.txt:
2639 Update seek event docs regarding negative rates.
2640 Rename @cur to @start.
2642 * gst/gstsegment.c: (gst_segment_set_seek):
2644 Update set_seek docs regarding negative rates.
2645 Correctly update last_stop to @stop when dealing with negative
2647 Rename @cur to @start.
2649 * tests/check/gst/gstpad.c: (GST_START_TEST):
2650 Activate pads before trying to use them.
2652 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2653 (gst_segment_suite):
2654 Add simple check for segments and negative rates.
2656 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
2658 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2660 * docs/gst/gstreamer-sections.txt:
2661 API: add gst_tag_list_is_empty() (#360467).
2663 * tests/check/gst/gsttag.c: (GST_START_TEST):
2666 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2669 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2670 a value that doesn't fit on enumeration.
2672 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2674 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2675 Remove local debugging system and use Gstreamer's instead.
2677 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2679 Patch by: Josep Torre Valles <josep@fluendo.com>
2681 * common/m4/gst-error.m4:
2682 Disable warning of statement not reached on Forte.
2684 Fix warning on Forte (value doesn't fit on enumeration).
2685 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2686 Fix warning on Forte (value doesn't fit on enumeration).
2687 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2688 DEBUG macro says it takes minimum of 2 args and so Forte
2689 complains about the use with just 1 arg.
2690 * plugins/elements/gstfdsink.c:
2691 * plugins/elements/gstfdsrc.c:
2692 * plugins/elements/gstfilesink.c:
2693 * plugins/elements/gstfilesrc.c:
2694 Use correct return type for the uri handler implementations.
2696 All these fix warnings in Forte. Fixes bug #360860.
2698 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
2701 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2702 format string, so don't use G_GNUC_PRINTF for those versions.
2704 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2706 * gst/gsttaglist.c: (gst_is_tag_list):
2708 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2710 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2711 Small test for the above.
2713 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2716 Less tabs, more spaces.
2718 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
2721 Those two function declarations do actually belong there, revert
2722 commit from yesterday that turned them intro macros.
2724 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2726 Patch by: Josep Torre Valles <josep@fluendo.com>
2728 * gst/gst.c: (gst_init_get_option_group):
2729 Fix empty declaration and type mismatch.
2730 * gst/gstbin.c: (gst_bin_change_state_func):
2732 * gst/gstelement.c: (gst_element_continue_state),
2733 (gst_element_set_state_func), (gst_element_change_state),
2734 (gst_element_change_state_func):
2735 Fix type mismatches.
2736 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2737 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2738 Cast as appropriate.
2739 * gst/gstobject.c: (gst_class_signal_connect):
2740 Cast as appropriate. The function pointer parameter really
2741 has the wrong type but would break API if we change it.
2743 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2744 order of including string.h.
2745 * gst/gstutils.c: (gst_element_state_get_name):
2746 Remove unreachable line.
2747 * gst/gstxml.c: (gst_xml_parse_doc):
2749 All these caught by Forte.
2751 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2753 Patch by: Josep Torre Valles <josep@fluendo.com>
2755 * common/m4/gst-error.m4:
2757 We need to disable warnings on Forte for empty declarations
2758 due to gst-indent adding ;s to lines that just use macros
2759 where the macro actually doesn't need a ; at end to end
2762 2006-10-06 Wim Taymans <wim@fluendo.com>
2764 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2765 (gst_file_sink_close_file), (gst_file_sink_event),
2766 (gst_file_sink_render):
2767 Add some FIXME for the NEWSEGMENT handling.
2769 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2771 * gst/parse/grammar.y:
2772 Remove static function gst_parse_element_lock as all it does
2773 is return. Looks like cruft from 0.8.
2775 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2777 Patch by: Josep Torre Valles <josep@fluendo.com>
2779 * common/m4/gst-error.m4:
2781 * libs/gst/net/Makefile.am:
2782 Fix a compilation issue with Forte on Solaris. inet_aton is in
2785 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2787 * gst/gstpad.c: (pre_activate):
2788 * gst/gstregistry.c: (gst_registry_scan_path_level):
2789 * gst/gstregistryxml.c: (load_plugin):
2790 * libs/gst/controller/gstcontroller.c:
2791 (gst_controlled_property_set_interpolation_mode):
2792 * libs/gst/dataprotocol/dataprotocol.c:
2793 (gst_dp_packet_from_event_1_0):
2794 * libs/gst/net/gstnetclientclock.c:
2795 (gst_net_client_clock_observe_times):
2796 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2799 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2802 * docs/gst/gstreamer-sections.txt:
2803 * gst/gstconfig.h.in:
2806 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
2807 whether we can use G_GNUC_PRINTF in other header files and at
2808 least check the printf format/arguments of debug messages and
2809 GST_ELEMENT_ERROR messages when the printf extension is not
2811 Replace more tabs with spaces in gstinfo.h and remove two spurious
2812 function declarations in GST_DISABLE_DEBUG part with macros.
2814 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
2816 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
2817 More docs for the sync-message signal (mention that it is not
2818 emitted by default); log message structures of messages posted on
2821 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
2823 * gst/gst.c: (ensure_current_registry_forking):
2824 Use a pipe pair to receive status results from the forked child, and
2825 ignore the result from waitpid. Fixes #355499
2827 2006-10-02 Wim Taymans <wim@fluendo.com>
2829 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2830 (gst_ghost_pad_suite):
2833 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
2836 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
2838 2006-10-02 Edward Hervey <edward@fluendo.com>
2840 * docs/design/part-block.txt:
2841 Further explain the use of flushing on blocked pads.
2842 * docs/gst/gstreamer-sections.txt:
2843 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2844 (gst_pad_push_event):
2846 Added new GstPadFlag : GST_PAD_BLOCKING.
2847 Adds the notion of pads really blocking, which enables to properly
2848 handle FLUSH_START/FLUSH_STOP events on blocked pads.
2850 API: gst_pad_is_blocking()
2851 API: GST_PAD_IS_BLOCKING() macro
2852 API: GST_PAD_BLOCKING GstPadFlag
2854 2006-10-02 Wim Taymans <wim@fluendo.com>
2856 Patch by: mrcgran <mrc.gran at gmail dot com>
2858 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
2859 Filter the proxied caps against the padtemplate if we have one.
2861 * gst/gstquery.c: (gst_query_new_segment):
2862 Add include for gstinfo.h so that compilation with
2863 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
2865 2006-10-02 Wim Taymans <wim@fluendo.com>
2867 Patch by: Alessandro Decina <alessandro at nnva org>
2869 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
2870 (gst_file_sink_set_location), (gst_file_sink_open_file),
2871 (gst_file_sink_close_file), (gst_file_sink_event),
2872 (gst_file_sink_render):
2873 Set file to NULL when closing filesink so that we can set a new filename
2874 in READY. Fixes #358613.
2876 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
2878 Patch by: Alessandro Decina <alessandro at nnva org>
2880 * gst/gstevent.c: (_gst_event_copy):
2881 Fix gst_mini_object_make_writable() and gst_event_copy() for events
2882 with event structures by setting the parent refcount address of the
2883 copied structure to the address of the refcount member of the newly
2884 copied event rather than the address of the refcount member of the
2885 original event. Fixes #358737.
2887 * tests/check/gst/gstevent.c: (GST_START_TEST):
2888 Unit test for the above.
2890 2006-09-29 Stefan Kost <ensonic@users.sf.net>
2892 * docs/design/Makefile.am:
2893 Dist some more files.
2895 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
2897 * tests/check/libs/controller.c: (GST_START_TEST),
2898 (gst_controller_suite):
2899 Add test for the previous fix; add some more tests
2900 for correct refcounting behaviour; fix a few leaks
2901 in test cases; call gst_controller_init() at start
2904 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
2906 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2907 (gst_controller_set_from_list):
2908 Don't g_return_val_if_fail() on timed values with invalid timestamps
2909 inside a critical section without unlocking the mutex. Spotted by
2910 René Stadler. (#357617)
2911 Also, fix up refcounting properly: when returning an existing
2912 controller, we should increase the reference only once and not
2913 once per property and when trying to control a property again
2914 we should also increase the refcount.
2916 2006-09-29 Wim Taymans <wim@fluendo.com>
2918 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2919 * libs/gst/net/gstnettimeprovider.c:
2920 (gst_net_time_provider_thread):
2921 Stop reading commands when EOF as well.
2923 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2924 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2925 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2926 Unify description of the dump property.
2928 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2930 * tests/examples/manual/.cvsignore:
2931 OK, so it's actually cvsignore that needs changing. Stop laughing.
2933 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2935 * tests/examples/manual/Makefile.am:
2936 Gah, declare vars *before* using them
2938 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2940 * gst/gst.c: (init_pre), (scan_and_update_registry),
2941 (ensure_current_registry_nonforking),
2942 (ensure_current_registry_forking), (ensure_current_registry),
2943 (init_post), (gst_debug_help), (gst_deinit):
2944 * gst/gst_private.h:
2945 * gst/gstregistry.c: (gst_registry_finalize),
2946 (gst_registry_remove_features_for_plugin_unlocked),
2947 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2948 (gst_registry_scan_path),
2949 (_priv_gst_registry_remove_cache_plugins),
2950 (_priv_gst_registry_cleanup):
2951 * gst/gstregistry.h:
2952 Re-commit the registry changes, along with an extra fix:
2953 When a cached plugin is encountered at a different file path,
2954 update the stored path in the registry cache so that the parent
2955 process knows where it actually is now when it re-reads the registry
2956 cache. Fixes the thing that broke distcheck with the previous commit.
2958 * tests/check/Makefile.am:
2959 Clean up files named 'core' too when running make clean.
2961 * tests/examples/manual/Makefile.am:
2962 Set up a registry path for running these tests, and clean it properly
2965 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2968 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
2969 want gmodule-no-export-2.0.pc instead so that we don't drag in
2970 --export-dynamic on every project that links to GStreamer.
2972 Also, make our export regex only match the start of symbols, rather
2973 than any symbol that contains '_gst' somewhere.
2975 * libs/gst/check/Makefile.am:
2976 The libgstcheck we build does however need export-dynamic, as it
2977 produces some symbols that don't match our _gst... style regex.
2980 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
2982 * gst/gst.c: (init_pre), (scan_and_update_registry),
2983 (ensure_current_registry_nonforking),
2984 (ensure_current_registry_forking), (ensure_current_registry),
2985 (init_post), (gst_debug_help), (gst_deinit):
2986 * gst/gst_private.h:
2987 * gst/gstregistry.c: (gst_registry_finalize),
2988 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2989 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
2990 (_gst_registry_cleanup):
2991 * gst/gstregistry.h:
2992 Revert previous change until I figure out why it breaks distcheck.
2994 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
2996 * gst/gst.c: (init_pre), (scan_and_update_registry),
2997 (ensure_current_registry_nonforking),
2998 (ensure_current_registry_forking), (ensure_current_registry),
2999 (init_post), (gst_debug_help), (gst_deinit):
3001 Make init_pre and init_post take the full complement of GOptionFunc
3002 args so they can return useful GErrors. Make the registry updating
3005 Call _priv_gst_registry_remove_cache_plugins after scanning files to
3006 ensure that the registry we're about to write out doesn't contain
3007 stale information about old-deleted plugin files.
3009 Make _priv_gst_registry_remove_cache_plugins return a boolean so
3010 that deletion of plugin files is considered a registry change.
3012 * gst/gst_private.h:
3013 * gst/gstregistry.c: (gst_registry_finalize),
3014 (gst_registry_remove_features_for_plugin_unlocked),
3015 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3016 (gst_registry_scan_path),
3017 (_priv_gst_registry_remove_cache_plugins),
3018 (_priv_gst_registry_cleanup):
3019 * gst/gstregistry.h:
3020 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3021 by adding _priv prefix, so that they won't appear in the global
3022 symbol table. They still do atm though because of #318031. Move the
3023 prototypes to gst_private.h
3025 When removing a plugin, remove all features for that plugin too.
3028 2006-09-27 Wim Taymans <wim@fluendo.com>
3030 * docs/random/moving-plugins:
3031 Make it clear that the "compiled-in descriptions" really mean
3032 the element details.
3034 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3035 (gst_base_sink_wait_preroll):
3038 * docs/libs/gstreamer-libs-sections.txt:
3039 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3040 (gst_base_src_get_range), (gst_base_src_activate_push):
3041 * libs/gst/base/gstbasesrc.h:
3042 Added function to block while waiting for PLAYING, this function
3043 is used by live sources that block on the clock.
3044 API: gst_base_src_wait_playing()
3046 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3048 Patch by: Peter Kjellerstedt <pkj at axis com>
3051 gst-element-check.m4 is generated and should therefore be
3052 copied from the build dir rather than the source dir (#357593).
3053 'make distcheck' hasn't noticed this because we were disting
3054 the file as well, so stop doing that.
3056 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3058 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3059 Add some tests for gst_caps_intersect().
3061 * tools/gst-launch.c: (event_loop):
3062 Print all buffering percentages we get, even the 100% one.
3064 2006-09-26 Wim Taymans <wim@fluendo.com>
3066 * tools/gst-inspect.c: (print_element_properties_info),
3067 (print_signal_info):
3068 Fix printing of flags to match the look of enums.
3070 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3072 * gst/gstelementfactory.c:
3073 Fix typo in docs blurb.
3075 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3077 * gst/gsturi.c: (search_by_entry):
3078 Don't assert/crash here if a uri handler doesn't return any
3079 supported protocols. The list of protocols could be generated
3080 dynamically at runtime or at plugin registration, and an error
3081 in the underlying library shouldn't be fatal (#353301).
3083 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3086 Fix warning if HAVE_PRINTF_EXTENSION is undefined
3087 (spotted by Peter Kjellerstedt).
3089 2006-09-23 Wim Taymans <wim@fluendo.com>
3091 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3093 * libs/gst/base/gstbasesrc.c:
3094 (gst_base_src_default_check_get_range), (gst_base_src_start),
3095 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3096 (gst_base_src_change_state):
3097 Match _start/_stop calls in the activate functions. Remove redundant
3098 _stop call from the state change function. Fixes #356910.
3099 Turn failure DEBUG into ERROR.
3101 2006-09-22 Wim Taymans <wim@fluendo.com>
3103 * docs/design/part-buffering.txt:
3104 * gst/gstmessage.c: (gst_message_new_buffering),
3105 (gst_message_parse_buffering):
3106 Update docs about buffering.
3108 * docs/design/part-trickmodes.txt:
3111 2006-09-22 Stefan Kost <ensonic@users.sf.net>
3113 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3114 (gst_controller_new_list):
3115 Ref instances when returning them again (fixes #357180)
3117 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
3119 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3120 Don't forget to release proxy lock when there's an error.
3122 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
3125 Add extra initialisers for Caps things, to fix some plugin warnings
3128 2006-09-18 Wim Taymans <wim@fluendo.com>
3130 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3131 Also set template on the internal pad so that a getcaps from the
3132 target pad returns the template caps.
3134 2006-09-18 Wim Taymans <wim@fluendo.com>
3136 * gst/gstelement.c: (gst_element_post_message),
3137 (gst_element_dispose):
3138 Use _DEBUG_OBJECT some more.
3140 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3143 * tools/gst-launch.c: (main):
3144 If the toplevel element is not a GstPipeline, it must be put in a
3145 pipeline so that a bus and clock is selected.
3147 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3149 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3150 JITTER, RATE, and LATENCY query should be handled by the
3151 default case and not by the CONVERT query code.
3153 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3155 * gst/gstformat.c: (gst_format_register):
3156 Fix locking order (must take lock before using n_values).
3158 * gst/gstvalue.c: (gst_value_serialize_enum),
3159 (gst_value_deserialize_enum_iter_cmp),
3160 (gst_value_deserialize_enum):
3161 Fix serialisation/deserialisation of custom registered GstFormats.
3163 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3164 Unit test for custom format serialisation/deserialisation.
3166 2006-09-17 Stefan Kost <ensonic@users.sf.net>
3168 * docs/pwg/building-boiler.xml:
3169 * plugins/elements/gstcapsfilter.c:
3170 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3173 2006-09-16 Edward Hervey <edward@fluendo.com>
3175 * libs/gst/base/gstbasetransform.c:
3176 (gst_base_transform_buffer_alloc):
3177 Check if requested caps are the same as the sinks caps IF
3178 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3180 This fixes the renegotiation issues stated in #352827.
3182 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3185 * docs/manual/advanced-autoplugging.xml:
3186 * tests/examples/Makefile.am:
3187 * tests/examples/manual/.cvsignore:
3188 * tests/examples/manual/Makefile.am:
3189 * tests/examples/manual/extract.pl:
3190 Extract the manual examples again like we used to do.
3193 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3195 * win32/common/config.h:
3198 2006-09-16 Stefan Kost <ensonic@users.sf.net>
3201 Documents how to receive errors.
3203 2006-09-15 Wim Taymans <wim@fluendo.com>
3205 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3206 (event_loop), (main):
3207 Added some comments here and there.
3208 Post an application message when an interrupt is caught instead of doing
3209 an uncontrolled state change.
3210 Clean up the event loop.
3211 Handle buffering messages, pause/resume the pipeline.
3212 Make shutdown because of an interrupt more reliable.
3214 2006-09-15 Wim Taymans <wim@fluendo.com>
3216 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3217 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3218 (gst_base_sink_preroll_object):
3219 Make sure that our internal state is correct when we commit our state
3220 asynchronously. This solves a race where a state change to PLAYING
3221 could cause the sink to remain blocked in preroll in some situations.
3223 2006-09-15 Wim Taymans <wim@fluendo.com>
3225 * tools/gst-inspect.c: (print_element_properties_info),
3226 (print_signal_info):
3227 List flags as hex so it's easier to deal with.
3229 2006-09-15 Wim Taymans <wim@fluendo.com>
3231 * docs/libs/gstreamer-libs-sections.txt:
3232 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3233 (gst_base_sink_do_sync):
3234 * libs/gst/base/gstbasesink.h:
3235 Expose logic to wait for preroll so that subclasses such as audiosink
3236 can also use this method.
3237 API: gst_base_sink_wait_preroll()
3239 2006-09-15 Wim Taymans <wim@fluendo.com>
3241 * gst/gstobject.c: (gst_object_set_parent):
3242 * gst/gstpipeline.c: (do_pipeline_seek):
3243 Small cleanups in docs and code.
3245 * gst/gstsegment.c: (gst_segment_clip):
3246 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3247 if stop == start and start is in the segment, no clipping should be
3248 done. Also add a test for this.
3250 2006-09-15 Wim Taymans <wim@fluendo.com>
3252 * docs/design/part-buffering.txt:
3253 * docs/gst/gstreamer-sections.txt:
3254 * gst/gstmessage.c: (gst_message_new_buffering),
3255 (gst_message_parse_buffering):
3257 Added methods to create and parse BUFFERING messages.
3258 Added preliminary docs about buffering.
3259 API: gst_message_new_buffering
3260 API: gst_message_parse_buffering
3262 2006-09-06 Wim Taymans <wim@fluendo.com>
3265 Update documentation.
3267 * gst/gstelement.c: (gst_element_class_init),
3268 (gst_element_release_request_pad), (gst_element_set_clock),
3269 (gst_element_get_index), (gst_element_add_pad),
3270 (gst_element_remove_pad), (gst_element_get_random_pad),
3271 (gst_element_send_event), (gst_element_get_query_types),
3272 (gst_element_query), (gst_element_post_message),
3273 (gst_element_message_full), (gst_element_continue_state),
3274 (gst_element_lost_state), (gst_element_save_thyself),
3275 (gst_element_restore_thyself):
3276 Documentation updates.
3277 Rename last bit of the new-pad -> pad-added signal rename.
3278 Fix the case where an element query would only work if the source
3280 Avoid some useless type checking in message handling.
3285 Documentation updates.
3287 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3289 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3290 add an INFO line for when we actually update the fd
3292 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3297 === release 0.10.10 ===
3299 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3302 releasing 0.10.10, "Pais"
3304 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
3306 * docs/manual/advanced-position.xml:
3307 Fix typo in sample code.
3309 2006-09-05 Wim Taymans <wim@fluendo.com>
3311 * libs/gst/net/gstnetclientclock.c: (inet_aton),
3312 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3313 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3314 * libs/gst/net/gstnetclientclock.h:
3315 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3316 * libs/gst/net/gstnettimepacket.h:
3317 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3318 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3319 (gst_net_time_provider_thread), (gst_net_time_provider_new):
3320 * libs/gst/net/gstnettimeprovider.h:
3321 Make stuff compile on windows. Fixes #345295.
3323 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3325 * gst/gst.c: (ensure_current_registry_forking):
3326 Print better details when child was terminated by signal.
3328 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3330 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3331 Print a warning rather than g_assert() if a plugin feature
3332 is a URI handler but returns no protocols (#353976).
3334 2006-09-02 Stefan Kost <ensonic@users.sf.net>
3336 * docs/random/moving-plugins:
3339 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
3341 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3342 Fix locking order, handle NULL function values properly.
3347 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3348 Initialise variable before using it and fix debug statement to
3349 print the address of the function rather than the address of the
3350 variable on the stack holding the address of the function.
3352 2006-09-01 Wim Taymans <wim@fluendo.com>
3354 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3355 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3356 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3357 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3358 (gst_ghost_pad_parent_unset),
3359 (gst_ghost_pad_internal_do_activate_push),
3360 (gst_ghost_pad_internal_do_activate_pull),
3361 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3362 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3363 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3364 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3365 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3366 (gst_ghost_pad_new_no_target_from_template),
3367 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3369 Avoid needless typechecking in macros.
3370 Since the internal pad is always present and never changes, there is
3371 no need to locking or ref when retrieving it.
3372 Improve debugging a bit.
3373 Handle link errors when setting the target. Fixes #341029.
3375 2006-09-01 Wim Taymans <wim@fluendo.com>
3377 * docs/libs/gstreamer-libs-sections.txt:
3378 * docs/plugins/gstreamer-plugins-sections.txt:
3381 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3382 (gst_collect_pads_event):
3383 * libs/gst/base/gstcollectpads.h:
3384 Documentation updates.
3385 Free queued buffer when removing a pad.
3387 2006-08-31 Michael Smith <msmith@fluendo.com>
3389 * gst/gstutils.c: (gst_element_link_pads),
3390 (gst_element_link_pads_filtered):
3391 Ensure that we set a capsfilter to NULL if we failed to link it
3392 when doing filtered linking, to avoid criticals.
3394 No need to check for unreffing srcpad, which is explicly NULLed
3395 above (a trivial code cleanup).
3397 2006-08-31 Wim Taymans <wim@fluendo.com>
3399 * docs/design/part-gstghostpad.txt:
3400 Update ascii art in documentation.
3402 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3403 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3404 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3405 (gst_ghost_pad_internal_do_activate_push),
3406 (gst_ghost_pad_internal_do_activate_pull),
3407 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3408 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3409 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3410 (gst_ghost_pad_set_target):
3411 Small cleanups and leak fixes.
3412 Remove some checks now that the internal pad is never NULL.
3413 Fix the case where linking pads without a target would create nasty
3414 criticals. Fixes #341029.
3415 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3416 value of _set_target().
3418 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3419 (gst_ghost_pad_suite):
3420 Some more tests for creating and linking untargeted ghostpads.
3422 2006-08-31 Edward Hervey <edward@fluendo.com>
3424 * docs/gst/gstreamer-sections.txt:
3425 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3426 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3427 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3428 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3429 (gst_ghost_pad_new_from_template),
3430 (gst_ghost_pad_new_no_target_from_template):
3431 * gst/gstghostpad.h:
3432 Refactored *_new() functions.
3433 Templates are now used as a g_object_new() parameter.
3434 Use template in _do_getcaps() if we don't have a target.
3435 Small documentation cleanups.
3436 Added two new constructors:
3437 gst_ghost_pad_new_from_template()
3438 gst_ghost_pad_new_no_target_from_template()
3439 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3440 (gst_ghost_pad_suite):
3441 Added tests for new ghostpad instanciation functions.
3443 API additions: gst_ghost_pad_new_from_template,
3444 gst_ghost_pad_new_no_target_from_template
3446 2006-08-30 Stefan Kost <ensonic@users.sf.net>
3448 * docs/random/ensonic/profiling.txt:
3449 Ideas about qos profiling.
3451 2006-08-29 Wim Taymans <wim@fluendo.com>
3453 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3457 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
3460 Improve and detypofy docs.
3462 * tests/check/Makefile.am:
3463 * tests/check/gst/.cvsignore:
3464 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3465 Add a basic test suite for GstXML.
3467 2006-08-29 Wim Taymans <wim@fluendo.com>
3469 * gst/gstelement.c: (activate_pads), (clear_caps),
3470 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3471 Clear the pad caps when the element shut down all of the pads and
3472 is not streaming data that could modify the caps.
3475 2006-08-28 Michael Smith <msmith@fluendo.com>
3477 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3478 Revert previous change; I misunderstood single-segment mode.
3480 2006-08-28 Michael Smith <msmith@fluendo.com>
3482 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3483 Unset DISCONT on buffers when using single-segment mode.
3485 2006-08-28 Wim Taymans <wim@fluendo.com>
3487 * gst/gstcaps.c: (gst_caps_merge_structure):
3489 Fix docs and indentation again.
3491 * tests/check/gst/gstquery.c: (GST_START_TEST):
3492 Fix leak in tests and add some more tests.
3494 2006-08-28 Edward Hervey <edward@fluendo.com>
3496 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3497 Inform GstSegment of the last stop position in order for the current
3498 segment to have a proper duration if it doesn't have a specific stop
3499 position from which a duration could be calculated.
3500 This bug was noticeable when a non-flushing, non-update new segment was
3501 followed by another segment (all buffers from the new segment were being
3504 2006-08-28 Wim Taymans <wim@fluendo.com>
3506 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3507 Small comment update.
3509 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3510 (gst_identity_transform_ip):
3511 Drop-probability is broken, mention this in the code with a
3512 FIXME and also in the property description.
3513 Make silent also be silent about the drop messages.
3515 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
3517 * docs/manual/appendix-win32.xml:
3518 Remove mention of popt, we don't depend on that any
3519 longer (#353136). Add some comments pointing out that
3520 this section is slightly outdated.
3522 2006-08-28 Wim Taymans <wim@fluendo.com>
3524 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3526 * gst/gstquery.c: (gst_query_new_segment):
3527 * tests/check/gst/gstquery.c: (GST_START_TEST):
3528 Initialize variables when creating a new segment query.
3531 2006-08-28 Wim Taymans <wim@fluendo.com>
3533 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3535 * gst/gstelement.c: (gst_element_get_bus):
3536 * tests/check/gst/gstelement.c: (GST_START_TEST):
3537 Check for NULL before _reffing the bus. Fixes #353122.
3539 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
3541 * docs/manual/basics-bus.xml:
3542 Docs update: fix wrong callback return value explanation; add
3543 some lines about the implicit relationship between main loop
3544 and main context; remove duplicate main loop variable declaration.
3546 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
3548 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3549 Don't leak caps in unit test; add a few more simple
3552 2006-08-24 Stefan Kost <ensonic@users.sf.net>
3554 * docs/gst/gstreamer-sections.txt:
3555 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3556 (gst_caps_structure_is_subset), (gst_caps_merge),
3557 (gst_caps_merge_structure):
3559 * libs/gst/base/gstbasetransform.c:
3560 (gst_base_transform_transform_caps):
3561 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3562 implement caps merging (fixes #352580)
3564 2006-08-23 Stefan Kost <ensonic@users.sf.net>
3566 * tools/Makefile.am:
3567 * tools/gst-plot-timeline.py:
3568 add debug-log plotting developer tool (#340674)
3570 2006-08-23 Wim Taymans <wim@fluendo.com>
3572 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3573 (gst_pad_stop_task):
3574 Improve debugging for task functions.
3576 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3577 (gst_task_start), (gst_task_pause), (gst_task_join):
3578 Make sure that the task function started and finished after a
3580 Don't try to push the task function on the threadpool multiple
3582 Improve the g_warning message with some useful suggestions
3583 about how to fix the problem.
3585 2006-08-23 Wim Taymans <wim@fluendo.com>
3587 * gst/gstutils.c: (gst_pad_proxy_getcaps):
3588 Handle RESYNC correctly in _proxy_getcaps.
3590 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
3592 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3593 (gst_xml_parse_memory), (gst_xml_get_element):
3594 Chain up to parent class in dispose function and also
3595 unref the elements in the toplevel_elements GList.
3596 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3597 Always return a reference in gst_xml_get_element() rather
3598 than only sometimes.
3600 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3601 Don't leak GstXml object.
3603 2006-08-21 Stefan Kost <ensonic@users.sf.net>
3605 * docs/gst/gstreamer-sections.txt:
3606 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3609 * libs/gst/base/gstbasetransform.c:
3610 (gst_base_transform_transform_caps):
3611 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3614 2006-08-21 Edward Hervey <edward@fluendo.com>
3616 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3617 Implement GObject::dispose virtual method in GstXML so we can free the
3620 2006-08-21 Wim Taymans <wim@fluendo.com>
3622 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3623 (gst_buffer_create_sub):
3624 Copy duration/offset_end/caps when creating a subbuffer of the
3626 Make the subbuffer read-only when we make the metadata writable for
3629 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3630 Added check for metadata copy when creating subbuffers.
3632 2006-08-21 Edward Hervey <edward@fluendo.com>
3634 * libs/gst/base/gstbasetransform.c:
3635 (gst_base_transform_buffer_alloc):
3636 Only call downstream buffer_alloc if transform element is passthrough
3637 or always_in_place. Closes #350449.
3639 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3642 ChangeLog surgery to add comments to previous changes
3644 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3649 * gst/gstpad.c: (gst_pad_set_active):
3650 Be more verbose in the log
3652 * libs/gst/base/gstbasetransform.c:
3653 (gst_base_transform_transform_caps):
3654 Simplify caps to get rid of duplicates, fixes #345444
3656 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3660 Use these optimizations only internally.
3662 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3664 * gst/gstvalue.c: (gst_value_compare_list),
3665 (gst_value_compare_fraction_range),
3666 (gst_value_intersect_fraction_fraction_range),
3667 (gst_value_intersect_fraction_range_fraction_range),
3668 (gst_value_subtract_fraction_fraction_range),
3669 (gst_value_subtract_fraction_range_fraction_range),
3670 (gst_value_get_compare_func), (gst_value_compare),
3671 (gst_value_compare_with_func):
3673 Saves the expensive lookup of the compare function in many cases
3676 2006-08-18 Edward Hervey <edward@fluendo.com>
3678 * tests/check/gst/gstinfo.c: (gst_info_suite):
3679 Disable test that require gstdebug if it wasn't built in core.
3681 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3683 * docs/random/ensonic/logging.txt:
3686 * gst/gstinfo.c: (gst_debug_log_default):
3687 reorder fields, save some columns, add optional color codes for log
3690 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3692 * docs/random/ensonic/logging.txt:
3693 add ideas about making the logs a bit more useful
3695 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3697 * docs/pwg/advanced-events.xml:
3698 * docs/pwg/titlepage.xml:
3699 Update for 0.10 API (#340627). Add myself
3702 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3704 * docs/libs/gstreamer-libs-docs.sgml:
3705 * docs/libs/gstreamer-libs-sections.txt:
3706 * libs/gst/check/gstbufferstraw.c:
3707 Make gstcheck stuff show up in docs (still needs to
3708 be documented properly though).
3710 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
3712 * docs/gst/gstreamer-sections.txt:
3714 * gst/gst.c: (init_post):
3715 * gst/gst_private.h:
3716 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3718 * gst/gstquery.c: (gst_query_new_position),
3719 (gst_query_set_position), (gst_query_parse_position),
3720 (gst_query_new_duration), (gst_query_set_duration),
3721 (gst_query_parse_duration), (gst_query_new_convert),
3722 (gst_query_set_convert), (gst_query_parse_convert),
3723 (gst_query_new_segment), (gst_query_set_segment),
3724 (gst_query_parse_segment), (gst_query_new_seeking),
3725 (gst_query_set_seeking), (gst_query_parse_seeking):
3726 Add internal helpers for pre-registering quarks from static strings
3727 and using the quark values directly instead of looking them up when
3728 creating and parsing queries. Can be used for event construction too.
3731 2006-08-16 Wim Taymans <wim@fluendo.com>
3736 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3738 * gst/gstutils.c: (gst_util_set_value_from_string):
3739 Fix memleak (#351502).
3741 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3742 Add unit test for most of gst_util_set_value_from_string()
3743 (not that one would want to encourage use of this function).
3745 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3747 * libs/gst/check/gstcheck.h:
3748 Use const gchar * variables in fail_unless_equals_string
3749 macro to avoid compiler warnings (and don't use tabs for
3752 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3754 * tools/gst-launch.c: (print_tag):
3755 More space on the left for the tag names, to cater
3756 for the 'extended comment' tag (not touching the
3757 string for the first line since it's translated).
3759 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3761 * libs/gst/check/gstcheck.h:
3762 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
3763 print something when they fail.
3765 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3767 * docs/gst/gstreamer-sections.txt:
3768 * gst/gsttaglist.c: (_gst_tag_initialize):
3770 API: add GST_TAG_EXTENDED_COMMENT (#350935).
3771 Also change merge function for GST_TAG_COMMENT to
3774 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3776 * gst/gstinfo.c: (gst_debug_print_object):
3777 Make GST_PTR_FORMAT print messages as well.
3779 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
3780 (GST_START_TEST), (gst_info_suite):
3783 2006-08-14 Edward Hervey <edward@fluendo.com>
3785 * gst/gstelementfactory.c: (gst_element_register):
3786 If the GstElementClass doesn't have a GstElementDetails with all fields
3787 filled up correctly (longname, description AND author), then error out
3788 nicely instead of crashing.
3790 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3792 * gst/gststructure.c:
3793 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
3796 Expand on the difference between arrays and lists as we use them.
3798 2006-08-14 Wim Taymans <wim@fluendo.com>
3800 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3801 If the parent state change function failed, don't assume we can safely
3802 stop the source, this will be done when the pads are deactivated.
3804 2006-08-14 Wim Taymans <wim@fluendo.com>
3807 * gst/gsttask.c: (gst_task_join):
3810 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3811 (gst_pad_stop_task):
3812 When pad (de)activation failed for some reason, restore the old
3813 activation mode and set the pad to flushing instead of assuming the
3815 If the _task_join() failed, reinstall the task on the pad so that it can
3816 be stopped later and return an error.
3818 2006-08-11 Andy Wingo <wingo@pobox.com>
3821 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3822 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
3823 is only for users of API that don't want to see deprecated
3824 functions in the headers; people that want to compile out
3825 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
3826 CFLAGS. Fixes the build of multifdsink, or will soon..
3828 2006-08-11 Wim Taymans <wim@fluendo.com>
3830 * docs/gst/gstreamer-sections.txt:
3831 Add GstClockClass vmethod docs.
3834 Mark #endif with comment for associated #if
3836 * gst/gstclock.c: (gst_clock_id_wait):
3838 Add vmethod wait_jitter to avoid an unneeded _get_time() for
3839 most clock implementations.
3841 Flesh out docs about resolution methods.
3842 API: GstClockClass::wait_jitter
3844 * gst/gstsystemclock.c: (gst_system_clock_class_init),
3845 (gst_system_clock_async_thread),
3846 (gst_system_clock_id_wait_jitter_unlocked),
3847 (gst_system_clock_id_wait_jitter):
3848 Use base class wait_jitter variant for improved performance
3849 due to less clock polling.
3851 2006-08-11 Edward Hervey <edward@fluendo.com>
3853 * gst/gst.c: (gst_init_check), (init_post):
3854 Set gst as being initialized before scanning/updating the registry,
3855 since there might be my python plugin loader that calls gst_init() and
3856 we don't want to loop back in.
3859 2006-08-11 Wim Taymans <wim@fluendo.com>
3861 * docs/design/part-qos.txt:
3862 Bring docs in line with the code. Mostly the sign of the jitter was
3863 wrong in the docs. Fixes #349943.
3866 Fix the docs for the jitter.
3868 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
3869 (gst_event_parse_tag), (gst_event_new_buffer_size),
3870 (gst_event_parse_buffer_size), (gst_event_parse_qos),
3871 (gst_event_new_seek), (gst_event_parse_seek),
3872 (gst_event_new_navigation):
3873 Make sure the GstStructure has no parent when creating custom
3875 Add some more argument checking so that we avoid 0.0 rates.
3876 Flesh out the docs for the QoS event some more.
3878 2006-08-11 Wim Taymans <wim@fluendo.com>
3880 * docs/gst/gstreamer-sections.txt:
3881 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3882 (ensure_current_registry_forking), (ensure_current_registry),
3883 (parse_one_option), (parse_goption_arg), (gst_deinit),
3884 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
3887 Added API and command line option to disable registry forking in
3888 addition to the environment variable.
3889 Constify some static arrays.
3890 Added some more debug.
3892 API: gst_registry_fork_is_enabled()
3893 API: gst_registry_fork_set_enabled()
3894 API: --gst-disable-registry-fork command line option
3897 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
3899 * gst/gst.c: (gst_init):
3900 Fix typo in error message.
3902 2006-08-10 Stefan Kost <ensonic@users.sf.net>
3904 * libs/gst/controller/gstcontroller.h:
3905 fix ABI size-correction
3907 * tests/check/libs/gdp.c: (gst_dp_suite):
3908 make tests that use deprecated API conditional
3910 2006-08-10 Stefan Kost <ensonic@users.sf.net>
3912 * docs/libs/gstreamer-libs-sections.txt:
3913 * libs/gst/controller/gstcontroller.c:
3914 (_gst_controller_get_property), (_gst_controller_set_property),
3915 (_gst_controller_init), (_gst_controller_class_init):
3916 * libs/gst/controller/gstcontroller.h:
3917 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
3918 (gst_object_set_control_rate):
3919 API: add gst_object_{s,g}et_control_rate(), add private data section,
3922 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3923 * libs/gst/dataprotocol/dataprotocol.h:
3924 add deprecation guards to make gtk-doc happy and allow disabling cruft
3926 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
3928 * tests/check/Makefile.am:
3929 * tests/check/gst/.cvsignore:
3930 Let's enable the new unit test as well.
3932 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
3935 * docs/gst/gstreamer-sections.txt:
3936 * gst/gstconfig.h.in:
3937 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
3938 (_gst_info_printf_extension_ptr),
3939 (_gst_info_printf_extension_segment):
3940 API: add GST_SEGMENT_FORMAT, which is a printf extension we
3941 register that lets us easily dump GstSegments into debug
3944 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
3945 (info_segment_format_printf_extension), (gst_info_suite):
3946 Add simple unit test that logs a bunch of different segments (not
3947 valgrinded at the moment because of leaks in
3948 gst_debug_add_log_function).
3950 2006-08-09 Edward Hervey <edward@fluendo.com>
3952 * libs/gst/base/gstbasetransform.c:
3953 (gst_base_transform_buffer_alloc):
3954 Even if we can't figure out the proper format to request downstream,
3955 call buffer_alloc() downstream with the input parameters without setting
3956 the caps on the srcpad. This will force negotiation in the chain
3960 2006-08-08 Edward Hervey <edward@fluendo.com>
3962 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3963 Unlinking from a pad without a target is now a perfectly valid case
3964 which should NOT raise an assertion.
3965 This case would happen if a linked ghostpad its target set to NULL after
3966 it was previously linked.
3968 2006-08-08 Edward Hervey <edward@fluendo.com>
3970 * tests/check/libs/gdp.c:
3971 Also comment out the test (see below).
3973 2006-08-08 Edward Hervey <edward@fluendo.com>
3975 * tests/check/libs/gdp.c: (gst_dp_suite):
3976 Use the architecture information from config.h and not gcc macros
3977 in order to properly disable a test that fails on PPC64.
3979 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
3981 * gst/gstelement.c: (gst_element_remove_pad):
3982 Don't crash printing the warning if the pad has no parent.
3984 2006-08-02 Wim Taymans <wim@fluendo.com>
3986 * libs/gst/dataprotocol/dataprotocol.c:
3987 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
3988 (gst_dp_crc), (gst_dp_header_payload_length),
3989 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
3990 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
3991 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
3992 (gst_dp_event_from_packet), (gst_dp_validate_header),
3993 (gst_dp_validate_payload):
3994 Make debug category static
3995 Constify the crc table.
3996 Do some more arg checking in public functions.
3997 Fix some docs and do some small cleanups.
3999 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4000 Add some more checks to see if GDP deals with bogus input.
4002 2006-07-31 Wim Taymans <wim@fluendo.com>
4004 * gst/gstvalue.c: (gst_value_compare_list):
4005 Fix GstValueList comparison code. Fixes #347293.
4007 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4008 Check to test GstValueList comparison.
4010 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4012 * gst/gstelementfactory.c: (gst_element_factory_create):
4013 Remove unnecessary ref/unref pair
4015 * gst/parse/grammar.y:
4016 Make sure to free the parse buffer on all code paths.
4017 Move a g_free up to the error handler where it's easier to see.
4019 * tests/check/gst/gstevent.c: (test_event):
4020 Extending timeout for downstream travelling events to 10 seconds to
4021 hopefully avoid intermittent failure on the buildbots.
4023 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4024 Don't manually set the state of the src element - it will happen as a
4025 natural consequence of the pipeline changing state, and that way it
4026 will do it in the right order too.
4028 2006-07-31 Wim Taymans <wim@fluendo.com>
4030 * libs/gst/base/gstbasetransform.c:
4031 (gst_base_transform_buffer_alloc):
4032 Use OBJECT_LOCK and refcounting to get the pad caps in the
4033 buffer_alloc function because the caps could change while we are
4034 busy with them. Fixes #349105
4036 2006-07-31 Wim Taymans <wim@fluendo.com>
4038 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4039 Protect _PAD_CAPS with OBJECT_LOCK.
4041 2006-07-31 Wim Taymans <wim@fluendo.com>
4043 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4044 (gst_pad_get_property), (gst_pad_activate_pull),
4045 (gst_pad_activate_push), (gst_pad_set_blocked_async),
4046 (gst_pad_set_activate_function),
4047 (gst_pad_set_activatepull_function),
4048 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4049 (gst_pad_set_getrange_function),
4050 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4051 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4052 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4053 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4054 (gst_pad_set_acceptcaps_function),
4055 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4056 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4057 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4058 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4059 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4060 (gst_pad_configure_sink), (gst_pad_configure_src),
4061 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4062 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4063 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4064 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4065 (gst_pad_send_event):
4066 Use _DEBUG_OBJECT when it makes sense.
4067 Protect GST_PAD_CAPS with the OBJECT_LOCK.
4068 Small cleanups and code reflows.
4069 Avoid caps refcounting in _accept_caps.
4070 Refactor alloc_buffer so that the code performed on the peer is in a
4071 separate function. Also if the pad does not implement a buffer alloc
4072 function, we should still check if the pad is flushing before falling
4073 back to the default allocator.
4075 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4077 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4078 Make all uses of identity and fakesink have silent=true to avoid
4079 serialising every passing data structure, which is breaking tests
4080 on FC4 for some unknown reason.
4082 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4084 * gst/parse/Makefile.am:
4085 * gst/parse/grammar.y:
4086 * gst/parse/parse.l:
4087 Reverted previous patch as it required to bump the flex dependency to
4088 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4090 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4092 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4094 * gst/parse/Makefile.am:
4095 * gst/parse/grammar.y:
4096 * gst/parse/parse.l:
4097 push & pop the state of the lexer for reentrant use case
4100 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
4102 * libs/gst/base/gstbasesrc.h:
4103 Note in the docs that the ::newsegment vfunc is not actually used by
4106 2006-07-28 Wim Taymans <wim@fluendo.com>
4108 * libs/gst/base/gstcollectpads.c:
4109 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4110 (gst_collect_pads_clear), (gst_collect_pads_flush),
4111 (gst_collect_pads_event), (gst_collect_pads_chain):
4112 When flushing a pad, also clear the queued buffer so that we don't
4113 accidentally use it when we shouldn't.
4114 Fix leaks by inreffing incomming buffer.
4115 Flush out queued buffers in case of errors.
4118 2006-07-28 Wim Taymans <wim@fluendo.com>
4120 * docs/random/phonon-gst:
4121 Random notes about a Phonon backend.
4123 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4125 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4127 * tests/check/libs/gdp.c: (gst_dp_suite):
4128 Take a whack at fixing the ppc compile using a different define to
4129 disable the broken test.
4131 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4132 Remove excess g_print()
4134 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4136 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4137 Oops, meant to uncomment this line too to dampen the noise a bit.
4139 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4141 * gst/parse/grammar.y:
4142 * gst/parse/parse.l:
4143 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4144 (GST_START_TEST), (parse_suite):
4145 Fix some of the leaks exposed by extending the parse-launch testsuite,
4146 and move the 3 I can't figure out into a separate test that won't run
4147 the pipelines unless the appropriate line is uncommented.
4149 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4151 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4152 Requesting 0 bytes before the end of the file should result in
4153 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4156 2006-07-27 Wim Taymans <wim@fluendo.com>
4158 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4159 Fix useless assert, a uint is always positive.
4161 * gst/gststructure.c: (gst_structure_nth_field_name),
4162 (gst_structure_foreach), (gst_structure_map_in_place):
4163 Check input arguments for public functions to avoid obvious crashes.
4165 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4166 * plugins/elements/gstfakesink.h:
4167 Do less useless typechecking.
4169 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4171 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4172 Do not use mmap() by default since there are a number of error
4173 conditions that we would like to handle in a non-fatal way that
4174 will result in a SIGBUS if we use mmap(). Examples: external
4175 devices (USB harddrive, portable music player) being unplugged
4176 while in use; file on mounted CD/DVD that can't be read because
4177 the medium is partly damaged. Fixes #348455 and #348475.
4179 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4182 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4185 2006-07-26 Stefan Kost <ensonic@users.sf.net>
4187 * gst/gstregistry.c:
4188 Move big documentation comment into class section header, so that it
4189 appears in the API docs.
4191 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4193 * docs/gst/gstreamer-sections.txt:
4194 Oops. Commit the docs additions too for new API.
4195 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4197 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4199 * gst/gststructure.c: (gst_structure_id_set),
4200 (gst_structure_id_set_valist):
4201 * gst/gststructure.h:
4202 Add API for setting values into structures without performing
4203 a quark lookup, if the appropriate quark is already known.
4205 API: gst_structure_id_set
4206 API: gst_structure_id_set_valist
4208 * gst/parse/grammar.y:
4209 * gst/parse/parse.l:
4210 Remove some dead code shown by the coverage information.
4211 Don't throw a critical g_warning when encountering a syntax error,
4212 just warn and let the normal error path handle it.
4214 * plugins/elements/gstelements.c:
4215 Bump the rank of filesink up to PRIMARY so that it is preferred over
4216 gnomevfssink for file:// sink uri's
4218 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4219 (GST_START_TEST), (run_delayed_test),
4220 (gst_parse_test_element_base_init),
4221 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4222 (gst_parse_test_element_change_state),
4223 (gst_register_parse_element), (parse_suite):
4224 Beef up the tests for parse syntax to check that more error cases
4225 fail as they are supposed to. Increases the test coverage a bit.
4227 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
4229 * docs/manual/basics-elements.xml:
4230 Fix gst_element_link() example.
4233 Mention in API docs that one should usually gst_bin_add()
4234 elements to a bin or pipeline before doing the linking.
4236 2006-07-26 Wim Taymans <wim@fluendo.com>
4238 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4239 (gst_subbuffer_get_type), (gst_buffer_create_sub):
4240 Avoid function call for known types by keeping the buffer and
4241 subbuffer GType global.
4243 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4244 Random silly optimisations in read() path.
4246 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4248 * tools/gst-launch.c: (main):
4249 If the top-level of the parse is a normal bin, it doesn't do the
4250 right logic to run as a top-level element, so place it inside a
4253 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
4255 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4256 Remove superfluous g_object_notify() calls, GObject does
4257 that for us automatically.
4259 2006-07-25 Stefan Kost <ensonic@users.sf.net>
4262 on Win32, use dllspec to export the debug category symbols
4264 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
4266 * gst/gsttaglist.c: (_gst_tag_initialize):
4267 Allow more than one GST_TAG_IMAGE per taglist.
4269 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
4271 * gst/gstminiobject.c:
4273 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4274 (gst_fd_src_create):
4275 log recurring events at LOG level
4276 add more debug for when the fd gets set
4278 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4280 * gst/gstparse.c: (gst_parse_launch):
4281 Also remove reentrance checks if flex is MT safe (#348179)
4282 Fix my empty ChangeLog entry below
4284 2006-07-21 Andy Wingo <wingo@pobox.com>
4286 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4288 * libs/gst/check/Makefile.am
4289 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4290 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
4291 * libs/gst/check/gstbufferstraw.h:
4292 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4293 functions, thus proving I am still a GStreamer haxor. OK I wrote
4294 them a long time ago, but anyways.
4296 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4299 * gst/gstparse.c: (gst_parse_launch):
4300 Check for flex version and omit mutex if we have a MT save flex
4303 2006-07-21 Wim Taymans <wim@fluendo.com>
4305 * gst/gstparse.c: (gst_parse_launch):
4306 Protect recursive calls to _parse with a recursive mutex
4309 2006-07-21 Wim Taymans <wim@fluendo.com>
4311 * tests/check/gst/gstpad.c: (GST_START_TEST):
4314 2006-07-20 Stefan Kost <ensonic@users.sf.net>
4316 * gst/gstparse.c: (gst_parse_launch):
4317 Do not hang on recursive usage of gst_parse_launch()
4319 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4322 Add some more docs, comments and FIXME 0.11s here and there
4323 and also fix some typos.
4325 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4328 Convert tabs to spaces for better readability.
4330 2006-07-20 Edward Hervey <edward@fluendo.com>
4332 * tests/check/libs/gdp.c: (gst_dp_suite):
4333 the test_buffer test fails at line 140 on ppc64 at the following
4335 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4336 GST_BUFFER_FLAG_IN_CAPS),
4337 "GST_BUFFER_IN_CAPS flag should have been copied !");
4338 See bug #348114 for more details.
4340 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
4342 * docs/pwg/advanced-scheduling.xml:
4344 Fix typos (#348000).
4346 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
4348 * docs/pwg/intro-basics.xml:
4349 Fix wrong links (#347927).
4351 2006-07-18 Stefan Kost <ensonic@users.sf.net>
4353 * gst/gstregistry.h:
4354 * gst/gstregistryxml.c: (load_feature),
4355 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4356 * win32/common/config.h:
4357 make --disable-index work (#342564)
4359 2006-07-18 Wim Taymans <wim@fluendo.com>
4361 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4365 The attached patch adds two missing defines to gsttrace.h when tracing
4366 is disabled. It also corrects one existing define.
4369 2006-07-17 Wim Taymans <wim@fluendo.com>
4371 * docs/gst/gstreamer-sections.txt:
4372 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4374 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4375 Add two functions to check and change the SIGSEGV behaviour
4376 when loading plugins.
4377 Don't mess with the SIGSEGV handler when we were told not to.
4379 API: gst_segtrap_is_enabled
4380 API: gst_segtrap_set_enabled
4382 2006-07-14 Wim Taymans <wim@fluendo.com>
4384 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4385 * tests/check/elements/filesrc.c: (GST_START_TEST):
4386 Revert fix for regression in #347408 after release.
4388 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
4390 Patch by: Antoine Tremblay <hexa00 at gmail com>
4392 * gst/gstutils.c: (gst_element_unlink):
4393 Free iterator when done (#347311).
4395 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4396 And add a test case for this.
4398 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
4401 Bump nano back to CVS
4403 === release 0.10.9 ===
4405 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
4408 releasing 0.10.9, "On the road again"
4410 2006-07-13 Wim Taymans <wim@fluendo.com>
4412 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4413 * tests/check/elements/filesrc.c: (GST_START_TEST):
4414 Revert pull-0 fix for release. Disable check. Fixes #347408.
4416 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4418 * libs/gst/dataprotocol/dataprotocol.c:
4419 (gst_dp_event_from_packet_1_0):
4420 Fixes #347337: failure to deserialize event packets with
4421 empty payload (only event type)
4423 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4426 do not install a .c file in the header directory
4428 2006-07-13 Edward Hervey <edward@fluendo.com>
4430 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4431 GhostPad no longer implicitely use the padtemplates of the targets.
4434 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
4436 * gst/gstvalue.c: (gst_value_compare_list),
4437 (gst_value_compare_array), (_gst_value_initialize):
4438 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4439 Make GstValueArray comparison be order dependent as designed.
4440 Add checks for value lists and value array comparisons.
4443 2006-07-11 Edward Hervey <edward@fluendo.com>
4445 * gst/gstbin.c: (activate_pads),
4446 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4447 (gst_bin_change_state_func):
4448 (de)activate src pads before calling state_change on the childs.
4449 This is to avoid the case where a src ghostpad is blocked (holding the
4450 stream lock), which would block the deactivation of the ghostpad's
4452 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4453 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4454 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4455 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4456 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4457 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4458 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4459 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4460 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4461 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4462 (gst_ghost_pad_class_init),
4463 (gst_ghost_pad_internal_do_activate_push),
4464 (gst_ghost_pad_internal_do_activate_pull),
4465 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4466 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4467 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4468 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4469 GhostPads now create their internal GstProxyPad at creation (and not
4470 when they're linked, as it was being done previously).
4471 The internal and target pads are linked straight away.
4472 The data will also travel through the other pad in order to make
4473 pad blocking and probes non-hackish (the probe/block now really happens
4474 on the GhostPad and not on the target).
4475 * gst/gstpad.c: (gst_pad_set_blocked_async),
4476 (gst_pad_link_prepare), (gst_pad_push_event):
4477 Remove previous ghostpad cruft.
4478 * gst/gstutils.c: (gst_pad_add_data_probe),
4479 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4480 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4481 (gst_pad_remove_buffer_probe):
4482 Remove previous ghost pad cruft.
4483 Added more detailed debug statements.
4484 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4485 Fix the testsuite for refcounting changes.
4486 The comments about who has references were correct, but the refcount
4487 being checked wasn't the same (!?!).
4491 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4493 * docs/gst/gstreamer-sections.txt:
4494 * gst/gstconfig.h.in:
4495 More docs for configuration options, add docs to gtk-doc.
4497 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4500 * gst/gstconfig.h.in:
4501 * win32/common/config.h:
4502 Fix build when disabling tracing (fixes #344016). Also start to document
4503 the defines that disable the sub-systems.
4505 2006-07-10 Edward Hervey <edward@fluendo.com>
4507 * gst/gst.c: (ensure_current_registry_forking):
4508 let's make valgrind happy...
4510 2006-07-09 Wim Taymans <wim@fluendo.com>
4512 * gst/gstelement.c: (activate_pads),
4513 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4514 Better pad activation code: Reset the collect value too on resync.
4517 2006-07-09 Wim Taymans <wim@fluendo.com>
4519 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4520 (gst_pad_activate_push):
4521 Use some more macros where it makes sense.
4522 Allow pad mode switching instead of asserting. When a pad
4523 is activated in one mode and we activate it in another,
4524 deactivate it first before activating it in a different mode.
4527 2006-07-08 Andy Wingo <wingo@pobox.com>
4529 * tools/gst-launch.c (main): Handle err == NULL.
4531 * gst/gst.c (init_post, ensure_current_registry)
4532 (ensure_current_registry_forking)
4533 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4534 factoring out the registry scanning into separate functions. Don't
4535 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4536 Better environment var name/interface suggestions accepted.
4538 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4540 * gst/gstobject.c: (gst_object_set_name_default),
4541 (gst_object_set_name):
4542 Random micro-optimisation: don't use a hash table
4543 with strings as keys and the usual strdup/strcmp
4544 involved, but rather just use the GQuark of the
4545 type name as key, since it needs to be looked up
4546 anyway to get the type name string.
4548 * tests/check/gst/gstobject.c: (GST_START_TEST):
4551 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4553 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4554 (gst_bin_iterate_all_by_interface):
4555 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4556 GTypes are gulongs and thus the top 4 bytes might be cut
4557 off on some platforms when doing GPOINTER_TO_INT, leading
4558 to invalid GTypes and bad things happening (see RH bug #179654).
4559 Also add a check to make sure the type passed in is really
4562 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4567 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4571 * gst-element-check.m4:
4572 * gst-element-check.m4.in:
4573 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4574 instead of the unversioned gst-inspect (#324176, #168659).
4576 2006-07-06 Wim Taymans <wim@fluendo.com>
4579 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4582 2006-07-06 Wim Taymans <wim@fluendo.com>
4584 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4585 (gst_base_src_wait), (gst_base_src_update_length),
4586 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4587 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4588 (gst_base_src_loop), (gst_base_src_start),
4589 (gst_base_src_activate_pull):
4591 blocksize == 0 now means the default blocksize when working in push
4593 Remove some pointless asserts in _wait function.
4594 Fix offset/length calculations and EOS handling. We can now pull 0
4595 bytes as well, which is allowed.
4596 use _check_get_range() to decide if we can operate in _pull based
4598 Fix refcounting leak when check_get_range function was not
4600 API GstBaseSrc::blocksize range can be 0 too now (default)
4602 * tests/check/elements/filesrc.c: (GST_START_TEST),
4604 Added check to test _get_range() behaviour.
4606 2006-07-06 Wim Taymans <wim@fluendo.com>
4608 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4609 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4610 (gst_pad_pull_range):
4612 Lots of comments and docs added to the pad functions.
4613 Flesh out the expected behaviour of the get_range() functions.
4615 2006-07-06 Wim Taymans <wim@fluendo.com>
4620 * gst/gstiterator.h:
4624 Remove comma at end of enumerator list.
4626 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
4628 * win32/common/libgstbase.def:
4629 * win32/common/libgstdataprotocol.def:
4630 * win32/common/libsgtreamer.def:
4631 Add new exported functions.
4633 2006-07-05 Wim Taymans <wim@fluendo.com>
4635 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4636 Add some more docs here and there.
4638 2006-07-05 Wim Taymans <wim@fluendo.com>
4640 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4641 (gst_base_sink_loop), (gst_base_sink_get_position):
4642 When operating in pull mode update the offset so that we
4645 2006-07-05 Wim Taymans <wim@fluendo.com>
4647 * gst/gstregistryxml.c: (read_string):
4648 Avoid strdup. (will happen in libxml, but hey!)
4653 2006-07-05 Wim Taymans <wim@fluendo.com>
4655 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4656 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4658 No point in checking if the size of the subbuffer > 0, the
4659 code handles it correclty as demonstrated by unit test.
4660 Also add a unit test for the zero sized _new_and_alloc and
4661 _copy. Fixes #346663.
4663 2006-07-05 Wim Taymans <wim@fluendo.com>
4665 * libs/gst/base/gstbasetransform.c:
4666 (gst_base_transform_prepare_output_buffer),
4667 (gst_base_transform_buffer_alloc),
4668 (gst_base_transform_handle_buffer):
4669 Make sure the buffer we pass to transform_ip has a refcount of
4670 1 and thus is writable. Fixes #343196
4672 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
4674 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4675 (gst_file_src_init), (gst_file_src_set_property),
4676 (gst_file_src_get_property), (gst_file_src_map_region):
4677 * plugins/elements/gstfilesrc.h:
4678 Add "sequential" property, off by default, to use madvise and hint
4679 to the kernel that sequential access is desired.
4680 Touch all retrieved pages by default to ensure they are pulled
4681 into memory. (Closes #345720)
4683 2006-07-03 Wim Taymans <wim@fluendo.com>
4685 * docs/design/part-block.txt:
4686 * docs/design/part-dynamic.txt:
4689 2006-07-03 Wim Taymans <wim@fluendo.com>
4691 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4692 (gst_caps_unref), (gst_static_caps_get),
4693 (gst_caps_append_structure):
4694 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4695 Use GSlice when the glib we build against is >= 2.10
4697 2006-07-03 Wim Taymans <wim@fluendo.com>
4699 * gst/gstelement.c: (gst_element_pads_activate):
4700 Small cleanup in pad activation code.
4702 2006-07-03 Wim Taymans <wim@fluendo.com>
4704 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4706 * gst/gst-i18n-app.h:
4707 * gst/gst-i18n-lib.h:
4708 * tools/gst-inspect.c: (print_signal_info):
4709 The attached patch will make the inclusion of gettext.h unconditional in
4710 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4711 libintl.h in tools/gst-inspect.c.
4712 This allows use of --disable-nls again and fixes #344642.
4714 2006-07-03 Edward Hervey <edward@fluendo.com>
4716 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4717 Implement pad blocking on events according to part-block.txt.
4718 More comments on behaviour.
4719 * tests/check/gst/gstevent.c: (test_event):
4720 Send event to peer pad of blocked pad (else it will block).
4722 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4724 * libs/gst/check/gstcheck.c: (gst_check_message_error),
4725 (gst_check_run_suite):
4726 if we get the wrong message, give us the types as string
4727 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4729 * tests/check/elements/filesrc.c: (GST_START_TEST):
4730 add a test for trying to open a non-existing file
4732 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4734 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4735 add a test for adding self
4737 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4739 * libs/gst/check/gstcheck.h:
4740 add some assert_ as alias for fail_unless_*
4741 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4742 increase test coverage
4744 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4747 include lcov.mak for lcov coverage generation
4748 * tools/Makefile.am:
4751 2006-07-02 Edward Hervey <edward@fluendo.com>
4753 * tests/check/elements/.cvsignore:
4756 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4759 don't set CFLAGS and friends for gcov, done from GST_GCOV now
4760 * tests/check/Makefile.am:
4763 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4765 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
4766 remove gst_caps_simplify; it was not declared and not used
4767 and deprecated in 0.8
4769 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4771 * docs/faq/gst-uninstalled:
4772 don't put empty paths on PYTHONPATH
4773 * docs/gst/gstreamer-sections.txt:
4774 remove some symbols that are not there
4776 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4778 * gst/gstcaps.c: (gst_caps_compare_structures):
4780 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4781 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4784 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4786 * libs/gst/dataprotocol/Makefile.am:
4787 build dataprotocol test by linking to the lib, instead of
4788 compiling the source, so we get coverage
4789 * tests/check/Makefile.am:
4790 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
4791 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
4792 add a test for filesrc
4794 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4796 * tests/check/gst/gststructure.c: (GST_START_TEST),
4797 (gst_structure_suite):
4798 Push coverage from 59.04% to 70.00%
4800 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4802 * tests/check/Makefile.am:
4803 gst-inspect every element; this makes sure that we also get
4804 coverage on element's get/set functions
4806 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4809 set CFLAGS and friends to -O0 if gcov is being used
4812 * libs/gst/base/Makefile.am:
4813 * libs/gst/check/Makefile.am:
4814 * libs/gst/controller/Makefile.am:
4815 * libs/gst/dataprotocol/Makefile.am:
4816 * libs/gst/net/Makefile.am:
4817 * plugins/elements/Makefile.am:
4818 * plugins/indexers/Makefile.am:
4819 add makefile rules to generate gcov data and clean up
4820 * tests/check/Makefile.am:
4821 add a coverage target that generates an html overview
4824 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4826 * tests/check/elements/fakesink.c:
4827 * tests/check/elements/fakesrc.c:
4828 * tests/check/elements/fdsrc.c:
4829 * tests/check/elements/identity.c:
4830 * tests/check/generic/sinks.c: (gst_sinks_suite):
4831 * tests/check/generic/states.c:
4832 * tests/check/gst/gst.c:
4833 * tests/check/gst/gstabi.c:
4834 * tests/check/gst/gstbin.c:
4835 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
4836 * tests/check/gst/gstbus.c: (gst_bus_suite):
4837 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4838 * tests/check/gst/gstelement.c:
4839 * tests/check/gst/gstevent.c: (gst_event_suite):
4840 * tests/check/gst/gstghostpad.c:
4841 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
4842 * tests/check/gst/gstmessage.c: (gst_message_suite):
4843 * tests/check/gst/gstminiobject.c:
4844 * tests/check/gst/gstobject.c:
4845 * tests/check/gst/gstpad.c:
4846 * tests/check/gst/gstpipeline.c:
4847 * tests/check/gst/gstplugin.c:
4848 * tests/check/gst/gstquery.c: (gst_query_suite):
4849 * tests/check/gst/gstsegment.c: (gst_segment_suite):
4850 * tests/check/gst/gststructure.c:
4851 * tests/check/gst/gstsystemclock.c:
4852 * tests/check/gst/gsttag.c:
4853 * tests/check/gst/gsttask.c: (gst_task_suite):
4854 * tests/check/gst/gstutils.c:
4855 * tests/check/gst/gstvalue.c:
4856 * tests/check/libs/adapter.c:
4857 * tests/check/libs/basesrc.c:
4858 * tests/check/libs/collectpads.c:
4859 * tests/check/libs/controller.c:
4860 * tests/check/libs/gdp.c: (gst_dp_suite):
4861 * tests/check/libs/gstnetclientclock.c:
4862 * tests/check/libs/gstnettimeprovider.c:
4863 * tests/check/libs/libsabi.c: (libsabi_suite):
4864 * tests/check/libs/typefindhelper.c:
4865 * tests/check/pipelines/cleanup.c:
4866 * tests/check/pipelines/parse-launch.c:
4867 * tests/check/pipelines/simple-launch-lines.c:
4868 * tests/check/pipelines/stress.c: (stress_suite):
4871 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4873 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
4874 * libs/gst/check/gstcheck.h:
4875 create a macro and function so that the simple unit test
4876 case can be just one macro to create main()
4878 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
4880 * gst/gstbin.c: (gst_bin_restore_thyself):
4881 * gst/gstxml.c: (gst_xml_make_element):
4882 Fix deserialisation from XML. Set parent manually
4883 instead of using gst_bin_add(), since gst_bin_add()
4884 will unlink all pads of the element being added.
4887 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
4889 Patch by: Peter Kjellerstedt <pkj at axis com>
4891 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
4892 Fix missing g_strdup() and double free when using the
4893 --gst-plugin-load command line option (#346097).
4895 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
4898 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
4900 * libs/gst/net/gstnetclientclock.c:
4901 * libs/gst/net/gstnettimeprovider.c:
4902 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
4904 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
4906 * docs/manual/advanced-dataaccess.xml:
4907 Fix buffer probe example compilation in
4910 2006-06-22 Edward Hervey <edward@fluendo.com>
4912 * gst/gstelement.c: (gst_element_pads_activate):
4913 We need to deactivate src pads first and then sink pads.
4914 The reason is the src pads might be blocking while holding the streaming
4915 lock, so we need to deactivate them first so that deactivating the sink
4916 pads doesn't block (since it will require the streaming lock).
4918 2006-06-22 Wim Taymans <wim@fluendo.com>
4920 * libs/gst/base/gstbasetransform.c:
4921 (gst_base_transform_buffer_alloc):
4922 Forgot to remove two unneeded unrefs.
4923 Simplify a check _is_equal allready checks the obvious case.
4925 2006-06-22 Wim Taymans <wim@fluendo.com>
4927 * docs/design/part-block.txt:
4928 Some docs about what pad_block should do.
4930 2006-06-22 Wim Taymans <wim@fluendo.com>
4932 * gst/gstcaps.c: (gst_caps_replace):
4933 Fix crasher when passed NULL. Doc clarification.
4934 Optimize for the trivial case.
4936 * gst/gstpipeline.c: (gst_pipeline_change_state):
4939 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4940 Small documentation cleanup.
4942 * libs/gst/base/gstbasetransform.c:
4943 (gst_base_transform_buffer_alloc):
4944 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
4945 is what we need and it avoids a whole lot of redundant
4946 refcount operations.
4948 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
4950 Patch by: Philip Jägenstedt <philip at lysator liu se>
4952 * docs/manual/advanced-dataaccess.xml:
4953 Fix 'Embedding static elements' section to use
4954 GST_PLUGIN_DEFINE_STATIC (#345607).
4956 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4958 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
4959 Attempt to 'fix' spuriously failing test case: it seems like the
4960 timeout of half a second is simply too small when the system is under
4961 load otherwise, and the timeout doesn't really seem to serve any
4962 particular purpose here. Give the pipeline a few seconds to preroll
4963 first, and then give it another half a second to go from PAUSED to
4964 PLAYING and marshal the message into the main thread.
4966 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4968 * tools/gst-feedback-m.m:
4969 Don't only use unversioned tools, try versioned tools as well
4972 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4974 * gst/gstbus.c: (gst_bus_class_init):
4975 Fix some typos, make docs more explicit.
4977 2006-06-20 Wim Taymans <wim@fluendo.com>
4979 * tests/check/gst/gstghostpad.c: (block_callback),
4980 (GST_START_TEST), (gst_ghost_pad_suite):
4981 Added some more ghostpad tests, mainly blocking
4984 2006-06-16 Wim Taymans <wim@fluendo.com>
4986 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4987 (gst_file_sink_close_file), (gst_file_sink_do_seek),
4988 (gst_file_sink_event), (gst_file_sink_render):
4989 * plugins/elements/gstfilesink.h:
4990 Check if we can seek in the file instead of assuming
4991 we always can. Post an error when we are asked to seek in a
4992 non-seekable file (like a fifo). Fixes #343312.
4995 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
4997 * tools/gst-launch.1.in:
4998 Un-garble (fourcc) bit in filtered caps section.
5000 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5002 * docs/manual/advanced-autoplugging.xml:
5003 * docs/manual/basics-helloworld.xml:
5004 * docs/manual/highlevel-components.xml:
5005 Don't leak bus reference in sample code.
5007 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
5010 Add default for new --enable-plugin-docs switch.
5013 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5017 Use new ENABLE_PLUGIN_DOCS conditional.
5019 2006-06-14 Wim Taymans <wim@fluendo.com>
5021 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5022 Make it clear with a FIXME and a real define what the #if 0
5023 previously disabled.
5025 2006-06-14 Wim Taymans <wim@fluendo.com>
5027 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5028 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5029 * libs/gst/base/gstbasetransform.c:
5030 (gst_base_transform_sink_eventfunc):
5031 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5032 Don't randomly and silently reset a segment when the format
5033 changes as this is a bug somewhere upstream. Fixes #330379.
5035 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
5037 Patch by: Wouter Paesen <wouter at kangaroot net>
5039 * libs/gst/controller/gstcontroller.c:
5040 (gst_controlled_property_new):
5041 Fix controlling of float properties (#344849).
5043 * tests/check/libs/controller.c:
5044 (gst_test_mono_source_get_property),
5045 (gst_test_mono_source_set_property),
5046 (gst_test_mono_source_class_init), (GST_START_TEST):
5047 While we're at it, add some float stuff to unit test.
5049 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5052 * docs/images/gdp-header.svg:
5054 * docs/libs/Makefile.am:
5055 * docs/libs/gdp-header.png:
5056 * libs/gst/dataprotocol/dataprotocol.c:
5057 add it to the API docs
5058 * docs/manual/intro-motivation.xml:
5061 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5063 * gst/gst.c: (scan_and_update_registry), (init_post):
5064 If the fork()'ed child process can't write the updated registry cache
5065 file to disk for some reason, make it exit with a failure exit code,
5066 so that the parent can then re-scan the plugins itself and update the
5067 registry structures in memory and work with that (rather than failing
5068 when creating elements because seemingly no plugins are available).
5069 Refactor registry scanning code into separate function for this and
5070 also separate fork() and non-fork() code paths. Fixes #344748.
5072 2006-06-13 Wim Taymans <wim@fluendo.com>
5074 * docs/manual/advanced-dataaccess.xml:
5075 Fix wrong PluginDesc. Fixes #344755.
5077 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5079 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5080 Fix silly bug that prevented us from creating
5081 ~/.gstreamer-0.10 and writing the registry in one
5082 go (the first call to g_mkstemp() would overwrite the
5083 placeholder in the template string, so the second call
5084 to g_mkstemp() after creating the missing directory
5085 would then error out with 'invalid argument').
5087 2006-06-13 Edward Hervey <edward@fluendo.com>
5089 * gst/gst.c: (init_post):
5092 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5094 * gst/glib-compat-private.h:
5095 * gst/glib-compat.c:
5096 * gst/glib-compat.h:
5097 * gst/gstvalue.c: (gst_value_serialize_flags):
5098 remove GLib 2.6 compatibility code
5100 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
5102 * gst/parse/Makefile.am:
5103 Fix build with 'make -j N' even more (#340016).
5105 2006-06-12 Wim Taymans <wim@fluendo.com>
5107 * docs/gst/gstreamer-sections.txt:
5110 2006-06-12 Wim Taymans <wim@fluendo.com>
5112 * gst/gstsegment.c: (gst_segment_set_duration),
5113 (gst_segment_set_last_stop), (gst_segment_set_seek),
5114 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5115 (gst_segment_to_running_time), (gst_segment_clip):
5116 Use G_UNLIKELY to help the compiler a bit.
5118 2006-06-12 Wim Taymans <wim@fluendo.com>
5120 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5122 * gst/gstevent.c: (gst_event_get_type):
5124 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5126 constify quark registration strings. Fixes #344115
5127 Avoid unneeded type checking is _pad_push() by internally
5128 calling gst_pad_chain_unchecked().
5130 2006-06-12 Wim Taymans <wim@fluendo.com>
5132 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5133 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5134 (gst_subbuffer_finalize), (gst_buffer_create_sub),
5135 (gst_buffer_is_span_fast), (gst_buffer_span):
5136 Init _type for consistency.
5137 Use _FLAGS macro to avoid type check.
5138 Avoid unneeded type checks in subbufer code.
5140 2006-06-12 Wim Taymans <wim@fluendo.com>
5142 * gst/gst.c: (gst_debug_help):
5143 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5144 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5145 (gst_plugin_feature_list_free):
5146 * gst/gstregistry.c: (gst_registry_add_plugin),
5147 (gst_registry_add_feature), (gst_registry_plugin_filter),
5148 (gst_registry_feature_filter), (gst_registry_find_plugin),
5149 (gst_registry_find_feature), (gst_registry_get_plugin_list),
5150 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5151 * gst/gstregistryxml.c: (load_feature),
5152 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5153 * gst/gstminiobject.c: (gst_mini_object_unref),
5154 (gst_mini_object_replace), (gst_value_mini_object_free),
5155 (gst_value_mini_object_copy):
5156 Use _CAST macros to avoid unneeded type checking.
5157 Added some more G_UNLIKELY.
5159 2006-06-12 Wim Taymans <wim@fluendo.com>
5162 Avoid unneeded type checking.
5163 API: GST_BUFFER_IS_DISCONT
5165 * gst/gstminiobject.h:
5166 Avoid type check in flag accessor.
5168 * gst/gstelementfactory.h:
5170 * gst/gstpluginfeature.h:
5172 API: GST_ELEMENT_FACTORY_CAST
5173 API: GST_PLUGIN_CAST
5174 API: GST_PLUGIN_FEATURE_CAST
5176 2006-06-12 Wim Taymans <wim@fluendo.com>
5178 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5180 Add G_UNLIKELY in type registration.
5181 Avoid type check in _ref/_unref since that is also
5184 2006-06-12 Wim Taymans <wim@fluendo.com>
5186 * gst/gsterror.c: (gst_g_error_get_type):
5187 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5188 (gst_static_pad_template_get_type):
5189 * gst/gsttaglist.c: (gst_tag_list_get_type):
5190 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5191 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5192 * gst/gsturi.c: (gst_uri_handler_get_type):
5193 * gst/gstvalue.c: (gst_date_get_type):
5194 * gst/gstxml.c: (gst_xml_get_type):
5195 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5196 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5197 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5198 Add G_UNLIKELY in type registration.
5200 2006-06-12 Wim Taymans <wim@fluendo.com>
5202 * tools/gst-inspect.c: (print_signal_info):
5203 Properly print enum values.
5205 2006-06-12 Wim Taymans <wim@fluendo.com>
5207 * gst/gstinfo.c: (gst_debug_set_active),
5208 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5210 Add some G_[UN]LIKELY.
5211 Maintain __gst_debug_min to avoid formatting the arguments of
5212 debug messages that will be dropped anyway to avoid a lot of
5213 overhead from the debugging system.
5215 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5219 add missing files containing translatable strings, tell intltool about
5222 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5224 * tests/check/libs/.cvsignore:
5225 add test-binary to ignore list
5227 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5229 * docs/libs/gstreamer-libs-docs.sgml:
5230 reorder (put dp into a chapter) and indent
5232 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5237 === release 0.10.8 ===
5239 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5242 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5244 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5246 * gst/gst.c: (init_post):
5247 move pid declaration to declaration block
5249 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5251 * gst/gst.c: (init_post):
5252 use _exit() instead of exit() in our forked child; this ensures
5253 that none of the registered exit handlers from whatever is using
5254 GStreamer get executed. This fixes gnome-mixer-applet failing
5255 to load, because ORBit would shut down.
5256 Spotted by: Edward Hervey <edward@fluendo.com>
5257 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
5260 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5265 === release 0.10.7 ===
5267 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5270 releasing 0.10.7, "Soepeke, ik zie ou"
5272 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
5295 * win32/common/config.h:
5298 2006-06-07 Wim Taymans <wim@fluendo.com>
5300 * gst/gstindex.c: (gst_index_gtype_resolver):
5301 * tools/gst-xmlinspect.c: (print_plugin_info):
5302 Fix leak spotted by coverity checker. Fixes #343827
5303 Fix another other leak found by paolo borelli.
5305 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5307 * libs/gst/dataprotocol/dataprotocol.c:
5308 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5309 (gst_dp_version_get_type), (gst_dp_init),
5310 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5311 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5312 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5313 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5314 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5315 (gst_dp_packetizer_free):
5316 * libs/gst/dataprotocol/dataprotocol.h:
5317 API: add a GstDPPacketizer object, and create/free functions
5318 API: add GstDPVersion enum
5319 Add 1.0 event function that uses the string serialization
5320 Serialize more useful buffer flags
5323 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5325 * tests/check/Makefile.am:
5326 * tests/check/gst/gstabi.c:
5327 * tests/check/gst/struct_ppc64.h:
5328 * tests/check/libs/libsabi.c:
5329 * tests/check/libs/struct_ppc64.h:
5330 add ppc64 structure sizes
5332 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5334 * tests/check/Makefile.am:
5335 * tests/check/gst/gstabi.c:
5336 * tests/check/gst/struct_x86_64.h:
5337 * tests/check/libs/libsabi.c:
5338 * tests/check/libs/struct_x86_64.h:
5339 generate and add structure size lists for x86_64
5341 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5343 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5344 * libs/gst/check/gstcheck.h:
5345 factor out the method from tests that checks size of structures,
5346 and add code to generate the header containing these sizes
5347 * tests/check/gst/gstabi.c: (GST_START_TEST):
5348 * tests/check/gst/struct_i386.h:
5349 * tests/check/libs/libsabi.c: (GST_START_TEST):
5350 * tests/check/libs/struct_i386.h:
5353 2006-06-06 Michael Smith <msmith@fluendo.com>
5356 Don't use c++-style comments, fixes #343929
5358 2006-06-05 Edward Hervey <edward@fluendo.com>
5361 plugin_paths is not used if we build without registry support.
5363 * gst/gstsegment.c: (gst_segment_copy):
5364 _copy() was always returning NULL...
5366 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5368 * libs/gst/dataprotocol/dataprotocol.c:
5369 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5370 (gst_dp_packet_from_event):
5373 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5375 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5376 make sure we unset caps
5378 2006-06-02 Michael Smith <msmith@fluendo.com>
5380 * libs/gst/check/gstcheck.c: (gst_check_init),
5381 (gst_check_chain_func):
5382 * libs/gst/check/gstcheck.h:
5383 Add a cond/mutex to the check support lib, signal this whenever we
5384 add to the buffers list. This will allow tests to not busy-wait on
5387 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5389 * libs/gst/dataprotocol/dataprotocol.c:
5390 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5391 (gst_dp_packet_from_event):
5392 factor out some common header init code
5394 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5396 * docs/libs/gstreamer-libs-sections.txt:
5397 * docs/libs/tmpl/gstdataprotocol.sgml:
5398 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5399 * libs/gst/dataprotocol/dataprotocol.h:
5400 API: make gst_dp_crc() public
5402 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5404 * plugins/indexers/gstindexers.c: (plugin_init):
5405 conditionally register fileindexer (fixes #343598)
5407 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5409 * gst/gsttagsetter.h:
5410 Can't cast ifaces to a class
5412 * libs/gst/net/gstnetclientclock.h:
5413 * libs/gst/net/gstnettimeprovider.h:
5414 * plugins/elements/gstfakesink.h:
5415 * plugins/elements/gstfakesrc.h:
5416 * plugins/elements/gstfdsink.h:
5417 * plugins/elements/gstfdsrc.h:
5418 * plugins/elements/gstfilesink.h:
5419 * plugins/elements/gstfilesrc.h:
5420 * plugins/elements/gstidentity.h:
5421 * plugins/elements/gstqueue.h:
5422 * plugins/elements/gsttee.h:
5423 * plugins/indexers/gstfileindex.c:
5424 * plugins/indexers/gstmemindex.c:
5425 * tests/old/examples/plugins/example.h:
5426 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5428 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
5430 * libs/gst/dataprotocol/dataprotocol.c:
5431 (gst_dp_header_from_buffer):
5432 make sure we zero the whole ABI-compatible area
5434 2006-06-01 Wim Taymans <wim@fluendo.com>
5436 Patch by: Alessandro Decina <alessandro at nnva dot org>
5438 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5439 Make sure the EOS flag is cleared from pads after a flush
5440 or stop. Fixes #343538.
5442 * tests/check/libs/collectpads.c: (GST_START_TEST),
5443 (gst_collect_pads_suite):
5444 Added test for collectpads reusage after EOS.
5446 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
5449 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5450 * win32/common/libgstbase.def:
5451 export gst_collect_pads_set_flushing
5452 * win32/common/libgstreamer.def:
5453 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5454 gst_value_fraction_multiply
5455 * win32/vs6/gst_inspect.dsp:
5456 add a link to intl.lib
5458 2006-05-30 Wim Taymans <wim@fluendo.com>
5460 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5461 (gst_collect_pads_chain):
5462 Handle the case where a pad is removed from the collection
5463 that could cause the other pads to become collectable.
5465 2006-05-30 Wim Taymans <wim@fluendo.com>
5468 Clarify the use of _release_request_pad() and
5469 _get_request_pad() a bit better.
5471 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5472 (gst_adapter_take_buffer):
5473 Fix some doc and comment typos.
5475 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5477 * docs/gst/gstreamer-sections.txt:
5478 * docs/libs/gstreamer-libs-sections.txt:
5479 add declared symbols
5481 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
5483 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5484 Add debug that can be enabled using a #define at the top of the file,
5485 for dumping stats about how late/early we were when waking up from
5486 waiting on the clock.
5488 2006-05-30 Wim Taymans <wim@fluendo.com>
5490 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5491 When rebuilding the pad list, don't leak the previous list.
5493 2006-05-30 Wim Taymans <wim@fluendo.com>
5495 Patch by: Lutz Mueller <lutz at topfrose dot de>
5497 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5498 (gst_base_src_get_query_types), (gst_base_src_update_length):
5499 Publish supported query types.
5500 Update last_stop field in get_range mode so the position
5501 query works. Fixes #342321.
5503 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
5505 * docs/gst/gstreamer-sections.txt:
5506 * gst/gsttaglist.c: (_gst_tag_initialize):
5508 API: add GST_TAG_PREVIEW_IMAGE (#343341).
5510 2006-05-30 Wim Taymans <wim@fluendo.com>
5512 Patch by: Alessandro Decina <alessandro at nnva dot org>
5514 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5515 Unlock mutex when removing an unknown pad.
5518 * tests/check/Makefile.am:
5519 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5520 (push_event), (setup), (teardown), (GST_START_TEST),
5521 (gst_collect_pads_suite), (main):
5522 Added collecpads check, disabled for now as check crashes for
5525 2006-05-29 Wim Taymans <wim@fluendo.com>
5527 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5528 Don't leak pads lists.
5530 2006-05-29 Wim Taymans <wim@fluendo.com>
5532 * docs/libs/gstreamer-libs-sections.txt:
5533 * libs/gst/base/gstcollectpads.c:
5534 (gst_collect_pads_set_flushing_unlocked),
5535 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5536 (gst_collect_pads_stop):
5537 * libs/gst/base/gstcollectpads.h:
5538 API: gst_collect_pads_set_flushing()
5539 Added api to set the pads to flushing, useful for seeking
5540 code in elements using collectpads.
5541 Clear segment when receiving a flush.
5543 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
5545 * gst/gst.c: (add_path_func), (init_post):
5546 Don't scan registry paths passed via --gst-plugin-path immediately
5547 (will crash, because absolutely nothing is set up and no types are
5548 registered etc.); do this later in init_post(). Fixes #343057.
5550 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
5552 * gst/gst.c: (init_post):
5553 if we have fork, fork while reading/rebuilding the registry
5554 so the parent doesn't take the hit of having all plugins loaded
5555 in memory. Fixes #342777.
5557 Check if we have fork()
5558 * win32/common/config.h.in:
5561 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5563 * plugins/elements/gstelements.c:
5564 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5565 (gst_file_src_init), (gst_file_src_set_property),
5566 (gst_file_src_get_property), (gst_file_src_start):
5567 * plugins/elements/gstfilesrc.h:
5568 API: GstFileSrc::use-mmap
5570 Add a use-mmap property to enable easier testing of all code paths.
5571 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5572 in the absence of gnomevfssrc. (Closes #340501)
5574 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5576 * tools/gst-inspect.c:
5577 Add missing include, removes warning of ngettext not being defined on
5580 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5582 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5583 Handle NULL input and output pointers silently as a failed conversion,
5584 rather than g_warnings.
5586 2006-05-25 Wim Taymans <wim@fluendo.com>
5588 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5589 Initialize variable before using. Fixes #342820.
5591 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
5593 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5594 Fix off-by-one bug that would only allow peeks of N-1 bytes
5595 from the start even if the buffer to typefind on contains
5596 in fact N bytes of data (makes vorbis typefinding from a
5597 vorbis identification header buffer work).
5599 * tests/check/Makefile.am:
5600 * tests/check/libs/.cvsignore:
5601 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5602 (gst_typefindhelper_suite), (main), (foobar_typefind),
5604 Add very basic unit test for gst_type_find_helper_for_buffer()
5605 that checks for the problem fixed above.
5607 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
5609 * tools/gst-inspect.c: (print_interfaces),
5610 (print_element_properties_info), (print_element_list), (main):
5611 add more translatable strings
5613 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
5615 Patch by: Julien Moutte <julien at moutte net>
5617 * docs/gst/gstreamer-sections.txt:
5618 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5620 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5621 (gst_fake_sink_preroll):
5622 * plugins/elements/gstfakesink.h:
5623 API: Add new GstFakeSink::preroll-handoff signal (#337100).
5625 2006-05-23 Wim Taymans <wim@fluendo.com>
5627 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5629 Added _CUSTOM error and success GstFlowReturn that can be
5630 used be elements internally.
5631 Added macro to check for SUCCESS flowreturns.
5632 API: GST_FLOW_CUSTOM_SUCCESS
5633 API: GST_FLOW_CUSTOM_ERROR
5634 API: GST_FLOW_IS_SUCCESS
5636 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5637 Added check for GstFlowReturn sanity.
5639 2006-05-23 Wim Taymans <wim@fluendo.com>
5641 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5643 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5644 (gst_collect_pads_event):
5645 clear/reset segment info in FLUSH_STOP.
5648 2006-05-22 Stefan Kost <ensonic@users.sf.net>
5650 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5651 (gst_collect_pads_check_collected):
5652 Flush queued buffer on _stop(), fixes playing again (#342454)
5654 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
5656 * tests/check/gst/gststructure.c: (GST_START_TEST),
5657 (gst_structure_suite):
5658 add a test for a complete structure
5660 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5662 * docs/faq/developing.xml:
5664 * docs/faq/troubleshooting.xml:
5665 * docs/faq/using.xml:
5666 Some minor FAQ updates that won't change the fact that
5667 our FAQ is badly structured, full of information hardly
5668 anyone new to GStreamer needs to know and lacking lots
5669 of information people constantly ask for.
5671 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
5673 * gst/gstpad.c: (gst_pad_set_caps):
5674 Short-circuit gst_pad_set_caps if setting the existing
5675 caps pointer again, and avoid printing debug and
5676 reffing/unreffing the caps.
5678 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5679 There's actually no need to set the caps before pushing -
5680 the acceptcaps method will handle it anyway.
5682 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5684 * docs/gst/gstreamer-sections.txt:
5685 * win32/common/libgstreamer.def:
5686 * gst/gstutils.c: (gst_element_seek_simple):
5688 API: add gst_element_seek_simple() (#342238).
5690 2006-05-18 Edward Hervey <edward@fluendo.com>
5692 * gst/gsttypefind.c: (gst_type_find_get_type):
5693 * gst/gsttypefind.h:
5694 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5695 registered for GstTypeFind pointers. This allows wrapping the structure
5696 in bindings (i.e. gst-python).
5698 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5700 * gst/gsttagsetter.c:
5701 Docs additions and fixes (see #339918).
5703 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
5705 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5706 The caps intersection algorithm can produce multiple copies of the
5707 caps. Until that is fixed, we need to simplify the result to be
5708 sure whether the allowed caps are fixed or not.
5710 * plugins/elements/gstqueue.c: (gst_queue_init),
5711 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5712 (gst_queue_push_one):
5713 Proxied buffer alloc should not set the caps on the source pad.
5714 When pushing buffers, we always accept the caps change that triggers.
5715 This prevents negotiation errors caused by caps changing mid-stream
5716 and then being refused on our source pad (because upstream is now
5717 refusing those caps).
5719 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5721 * tests/examples/helloworld/helloworld.c: (main):
5722 Must plug audioconvert and audioresample between decoder
5725 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
5727 * gst/gstregistryxml.c: (read_string), (load_pad_template),
5728 (load_feature), (load_plugin):
5729 Allow empty strings for some of the plugin fields so we don't
5730 drop valid plugin entries that were written out correctly
5733 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
5735 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5736 Use g_remove and g_rename instead of remove and rename that don't
5737 handle utf8 characters. rename was failing for users who had specific
5738 characters in their name then the registry was built at each
5740 * win32/vs6/gst_inspect.dsp:
5741 * win32/vs6/gst_launch.dsp:
5742 * win32/vs6/libgstbase.dsp:
5743 * win32/vs6/libgstcoreelements.dsp:
5744 * win32/vs6/libgstreamer.dsp:
5745 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
5746 build of libgstreamer and clean unused libraries in projects link
5749 2006-05-17 Edward Hervey <edward@fluendo.com>
5751 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5752 The queue is not responsible for pushing an EOS when receiving a fatal
5753 flow error. It's up to the real element driving the pipeline to do that.
5755 2006-05-16 Edward Hervey <edward@fluendo.com>
5757 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5758 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
5759 buffer returned a fatal error. It should just send an EOS and stop
5761 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
5762 when pushing buffers on the queue and will be able to handle the event.
5764 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
5766 * docs/manual/basics-bins.xml:
5767 * docs/manual/basics-init.xml:
5768 Fix typos and minor errors in sample code (#341856).
5770 2006-05-16 Wim Taymans <wim@fluendo.com>
5772 * docs/design/part-qos.txt:
5773 Fix indexes in formulas to make more sense.
5775 2006-05-15 Wim Taymans <wim@fluendo.com>
5777 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5778 Don't report POSITION based on clock time if sync is
5781 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
5784 Add cast to make compiler happy - refcount variable was a gint
5785 in GstObject but is a guint in GObject and g_atomic_int_get()
5788 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
5790 * gst/parse/Makefile.am:
5791 chain commands using &&, which also makes parallel make work
5793 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
5795 * docs/gst/gstreamer-sections.txt:
5801 === release 0.10.6 ===
5803 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
5806 releasing 0.10.6, "Take the cannoli"
5808 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
5810 * tools/gst-launch.c: (print_tag):
5811 Fix use of uninitialized variable in the hypothetical
5812 case that some broken plugin creates a GST_TAG_IMAGE
5813 tag containing a NULL buffer (#341667).
5815 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
5817 * tools/gst-launch.c: (print_tag):
5818 Print something more intelligible for image tags when
5819 using the -t switch (#341556).
5821 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
5826 define GST_MAJORMINOR so we have it available in win32/common/config.h
5827 Possibly remove it from our Makefile.am files later
5828 * win32/common/config.h:
5829 * win32/common/config.h.in:
5830 added GST_MAJORMINOR
5831 * win32/common/gstenumtypes.c: (register_gst_resource_error):
5832 * win32/common/gstversion.h:
5835 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
5838 Update win32 files listing.
5839 * win32/common/gstversion.h:
5840 Add GST_MAJORMINOR definition.
5841 * win32/common/libgstreamer.def:
5842 Add new exported functions.
5844 2006-05-12 Michael Smith <msmith@fluendo.com>
5846 * gst/gstplugin.c: (gst_plugin_load_file):
5847 If an so file has no plugin entry point, unload the module.
5849 2006-05-11 Wim Taymans <wim@fluendo.com>
5851 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
5852 (gst_queue_set_property):
5853 Don't forget to signal the _chain or _loop function
5854 when the queue size or thresholds change since that might
5855 cause them to make progres again.
5857 2006-05-11 Stefan Kost <ensonic@users.sf.net>
5859 * gst/gstclock.c: (gst_clock_class_init):
5860 * gst/gstindex.c: (gst_index_class_init):
5861 * gst/gstobject.c: (gst_object_class_init):
5862 * gst/gstpad.c: (gst_pad_class_init):
5863 * gst/gstpipeline.c: (gst_pipeline_class_init):
5864 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5865 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
5866 * libs/gst/base/gstbasetransform.c:
5867 (gst_base_transform_class_init):
5868 * libs/gst/net/gstnetclientclock.c:
5869 (gst_net_client_clock_class_init):
5870 * libs/gst/net/gstnettimeprovider.c:
5871 (gst_net_time_provider_class_init):
5872 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
5873 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5874 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5875 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
5876 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
5877 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5878 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5879 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5880 * plugins/elements/gsttee.c: (gst_tee_class_init):
5881 * tests/old/examples/plugins/example.c: (gst_example_class_init):
5882 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
5883 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
5885 2006-05-11 Wim Taymans <wim@fluendo.com>
5887 * gst/gstbuffer.c: (_gst_buffer_initialize):
5888 Register subbufer along with the buffer type so that
5889 it does not accidentally gets registered from N
5890 different streaming threads in a non threadsafe way.
5892 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
5897 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
5898 gst_event_ref() and gst_message_ref() functions again
5899 (ugly hack, please do fix if there's a better way besides
5900 overrides.txt, which doesn't seem to work).
5902 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5904 * libs/gst/check/gstcheck.h:
5905 add an assert for setting state to avoid lots of repetitive code
5908 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5910 * gst/gstvalue.c: (gst_value_serialize_flags):
5911 fix a leak if no flags are set
5912 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5915 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
5917 * docs/manual/basics-pads.xml:
5918 Expand a bit on caps and filtered links and update
5919 examples that were still using the no longer existing
5920 gst_pad_link_filtered() (#338206).
5922 2006-05-10 Wim Taymans <wim@fluendo.com>
5924 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5925 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5926 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5927 (gst_collect_pads_stop):
5928 * libs/gst/base/gstcollectpads.h:
5929 No need to call _stop in _finalize.
5930 Iterate the main pad list in _finalize.
5931 Added some more debug.
5932 Free lists and data in the right order.
5933 Also free data whem doing _remove_pad when stopped for
5934 backward compatibility protect ::started with PAD_LOCK as
5937 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5939 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
5940 (gst_structure_parse_value):
5942 rename a method so that it actually says what it does better
5944 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5946 * gst/gstevent.c: (_gst_event_initialize):
5947 * gst/gstformat.c: (_gst_format_initialize):
5948 make sure some essential types used by events are registered
5949 as part of gst_init()
5950 * gst/gstvalue.c: (gst_value_serialize_flags):
5951 if no flags are set, serialize them to a value that represents NONE
5952 so that deserializing them works
5953 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5954 add tests for serialization and deserialization of flags
5956 2006-05-10 Wim Taymans <wim@fluendo.com>
5958 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
5959 (gst_collect_pads_collect_range), (gst_collect_pads_available),
5960 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
5961 (gst_collect_pads_event), (gst_collect_pads_chain):
5964 Catch and return errors from the collect function
5965 Refuse data on eos pads.
5967 2006-05-10 Edward Hervey <edward@fluendo.com>
5969 * gst/gstinterface.h:
5970 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
5971 GInterface type checking.
5972 They were previously using non-defined macros.
5974 2006-05-09 Wim Taymans <wim@fluendo.com>
5976 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
5977 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
5978 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
5979 (gst_collect_pads_start), (gst_collect_pads_stop),
5980 (gst_collect_pads_peek), (gst_collect_pads_pop),
5981 (gst_collect_pads_available), (gst_collect_pads_read),
5982 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
5983 (gst_collect_pads_is_collected), (gst_collect_pads_event),
5984 (gst_collect_pads_chain):
5985 * libs/gst/base/gstcollectpads.h:
5986 Clean up the mess that is collectpads, add comments and
5987 FIXMEs where needed.
5988 Maintain a separate pad list so we can add pads while
5989 collecting the other ones. For this we need a new separate
5991 Fix memory leak in finalize.
5992 Refactor some weird code to set/unset pad flushing flags, mark
5994 Don't crash in _available, _read, _flush when we're EOS.
5996 * tests/check/libs/.cvsignore:
5997 Ignore adapter check binary.
5999 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6001 * gst/gstindex.c: (gst_index_resolver_get_type):
6002 * plugins/elements/gstfakesink.c:
6003 (gst_fake_sink_state_error_get_type):
6004 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6005 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6006 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6007 Const-ify GEnumValue arrays.
6009 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6011 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6012 Add test case for flags + gst_buffer_make_metadata_writable().
6014 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6016 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6017 gst_buffer_make_metadata_writable() should maintain the
6018 buffer flags (those that make sense at least) (see #340859).
6020 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6022 * tools/gst-inspect.c:
6023 * tools/gst-launch.c:
6024 * tools/gst-typefind.c:
6025 * tools/gst-xmlinspect.c:
6027 Fix up includes: need to include stdlib.h in tools.h for exit().
6029 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6031 * gst/gsttaglist.c: (_gst_tag_initialize):
6033 API: add GST_TAG_IMAGE tag (#340721).
6035 2006-05-08 Wim Taymans <wim@fluendo.com>
6038 Added some docs for the segment query.
6040 2006-05-08 Wim Taymans <wim@fluendo.com>
6042 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6043 (gst_base_src_loop), (gst_base_src_change_state):
6044 Always push non-flushing serialized events in the streaming
6047 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
6049 * gst/gsterror.c: (_gst_stream_errors_init):
6050 Add a missing error string.
6052 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
6054 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6055 Add applied_rate to the debug
6057 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6058 Copy applied_rate into the outgoing NEWSEGMENT event
6060 2006-05-08 Wim Taymans <wim@fluendo.com>
6062 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6064 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6065 (gst_base_sink_change_state):
6066 call ::unlock before taking the PREROLL_LOCK so we can safely
6067 handle elements that lock in ::render.
6070 2006-05-08 Edward Hervey <edward@fluendo.com>
6072 * autogen.sh: (CONFIGURE_DEF_OPT):
6073 Darwin's libtoolize is in fact called glibtoolize.
6074 Adding glibtoolize to the list of accepted names for libtoolize.
6076 2006-05-08 Wim Taymans <wim@fluendo.com>
6078 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6079 Unify error handling, don't post an error message
6080 when a push() returns EOS but perform our normal EOS
6081 handling code. Fixes #340772.
6083 2006-05-08 Wim Taymans <wim@fluendo.com>
6085 * docs/design/part-overview.txt:
6086 Make upsteam/downstream concepts more clear.
6087 Give an example of serialized/non-serialized events.
6089 * docs/design/part-events.txt:
6090 * docs/design/part-streams.txt:
6091 Mention applied_rate.
6093 * docs/design/part-trickmodes.txt:
6094 Mention applied rate, flesh out some more use cases.
6096 * gst/gstevent.c: (gst_event_new_new_segment),
6097 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6098 (gst_event_parse_new_segment_full), (gst_event_new_tag),
6099 (gst_event_parse_tag), (gst_event_new_buffer_size),
6100 (gst_event_parse_buffer_size), (gst_event_new_qos),
6101 (gst_event_parse_qos), (gst_event_parse_seek),
6102 (gst_event_new_navigation):
6104 Add applied_rate field to NEWSEGMENT event.
6105 API: gst_event_new_new_segment_full()
6106 API: gst_event_parse_new_segment_full()
6108 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6109 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6110 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6112 Add applied_rate to GstSegment structure.
6113 Make calculation of stream_time and running_time more correct
6114 wrt rate/applied_rate.
6116 API: GstSegment::applied_rate field
6117 API: gst_segment_set_newsegment_full();
6119 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6120 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6121 * libs/gst/base/gstbasetransform.c:
6122 (gst_base_transform_sink_eventfunc),
6123 (gst_base_transform_handle_buffer):
6124 Parse and use applied_rate in the GstSegment field.
6126 * tests/check/gst/gstevent.c: (GST_START_TEST):
6127 Add check for applied_rate field.
6129 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6130 (gstsegments_suite):
6131 Add more checks for various GstSegment operations.
6133 2006-05-08 Wim Taymans <wim@fluendo.com>
6135 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6136 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6137 (gst_base_sink_get_position), (gst_base_sink_change_state):
6138 Store the sync time of the buffer end position separatly in a
6139 new variable eos_rtime so we can properly sync the EOS event.
6141 Fix the docs for gst_base_sink_set_qos_enabled().
6142 Don't set segment start to invalid value when we receive a
6143 non TIME newsegment.
6144 get closer to handling position reporting for negative rates
6147 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6150 Docs about how to print caps for debug purposes.
6152 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6153 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6155 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6158 use full enum names and preprend a '%' in docs strings to make recent
6159 gtk-doc turn that into a link
6161 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6163 * docs/manual/basics-bins.xml:
6164 * docs/manual/basics-bus.xml:
6165 * docs/manual/basics-pads.xml:
6166 Some typo fixes, some additions, some clarifications.
6168 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6170 * tools/gst-inspect.c: (main):
6171 * tools/gst-launch.c: (main):
6172 * tools/gst-run.c: (main):
6173 * tools/gst-typefind.c: (main):
6174 * tools/gst-xmlinspect.c: (main):
6175 Use the string passed to g_option_context_new() for
6176 what it's intended for - the program name is already
6179 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6181 * tools/Makefile.am:
6182 * tools/gst-inspect.c: (main):
6183 * tools/gst-launch.c: (main):
6184 * tools/gst-xmlinspect.c: (main):
6186 Add back --version command line option (#340460).
6188 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6189 Add --version option and use GOption for argument parsing; refactor a
6190 bit; accept directories as arguments and recurse into them; lastly,
6191 print a decent error message when things go wrong.
6193 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6195 * docs/manual/basics-bins.xml:
6196 Don't mention GstThread (#340611)
6197 * docs/manual/basics-elements.xml:
6198 Update link to GObject tutorial (#340607)
6200 2006-05-05 Wim Taymans <wim@fluendo.com>
6203 * gst/gstminiobject.c:
6204 Add note about refcounting and miniobject/buffer writeability
6205 to docs. Fixes #340604
6207 * gst/gstelementfactory.h:
6208 Added some explanation about @klass.
6210 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6212 * docs/manual/intro-motivation.xml:
6213 * docs/manual/manual.xml:
6214 Avoid CORBA & Bonobo references (#340598)
6216 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6218 * docs/manual/basics-bus.xml:
6219 * docs/manual/basics-pads.xml:
6220 Fix up some inaccuracies and omissions (#340609)
6222 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6224 * gst/gstghostpad.c:
6225 Small typo in docs (#340625)
6227 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6229 * gst/parse/Makefile.am:
6230 Make 'make -j' proof (see #340698).
6232 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6235 Require GLib-2.8 here as well.
6237 2006-05-05 Wim Taymans <wim@fluendo.com>
6239 * gst/glib-compat.c:
6240 * gst/gst.c: (init_pre):
6241 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6242 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6243 (gst_object_dispatch_properties_changed):
6245 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6246 * gst/gststructure.c: (gst_structure_set_valist):
6247 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6248 Remove pre glib2.8 compatibility, fixes #340508
6250 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6253 Mention type of tags in doc blurbs.
6255 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
6257 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6258 (gst_pad_configure_src), (gst_pad_push):
6259 Restore acceptcaps checking behaviour now that good plugins have
6262 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6264 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6275 * gst/parse/Makefile.am:
6276 * libs/gst/base/gstadapter.c:
6277 * libs/gst/base/gstbasesrc.c:
6278 * libs/gst/base/gstpushsrc.c:
6279 * libs/gst/base/gsttypefindhelper.c:
6280 * plugins/elements/gstfakesrc.c:
6281 * plugins/elements/gstidentity.c:
6282 Make sure gstprivate.h and/or config.h are
6283 always included first, otherwise some of our
6284 defines (like _FILE_OFFSET_BITS) might be
6285 redefined in the system headers. Fixes build
6286 on opensolaris (#340016).
6288 2006-05-04 Wim Taymans <wim@fluendo.com>
6290 * docs/libs/gstreamer-libs-sections.txt:
6291 API: addition: gst_adapter_take_buffer()
6293 * libs/gst/base/gstadapter.c: (gst_adapter_push),
6294 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6295 (gst_adapter_available_fast):
6296 * libs/gst/base/gstadapter.h:
6297 Prepare for optimizing the hell out of this hugely inefficient
6299 Added gst_adapter_take_buffer() so we can at least start thinking
6300 about subbuffering and merging.
6301 Added some comments.
6303 * tests/check/Makefile.am:
6304 * tests/check/libs/adapter.c: (GST_START_TEST),
6305 (gst_adapter_suite), (main):
6306 Added GstAdapter check.
6308 2006-05-04 Wim Taymans <wim@fluendo.com>
6310 * docs/design/part-overview.txt:
6311 Fix some typos, add blurb about buffer flags.
6313 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6315 * docs/libs/gstreamer-libs-sections.txt:
6316 make sure GstBaseTransformClass shows up in the docs
6317 * libs/gst/base/gstbasetransform.c:
6318 * libs/gst/base/gstbasetransform.h:
6319 move docs so gtk-doc picks it up now
6321 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6323 * docs/libs/gstreamer-libs-sections.txt:
6324 add missing symbols to docs
6326 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6328 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6329 back out the newsegment handling change, see #340060 for ongoing
6332 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
6334 * tools/gst-run.c: (get_candidates), (main):
6335 Fix wrong g_file_test() usage (see glib docs for why it doesn't
6336 work); fix typo in error message. Fixes #340079.
6338 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6340 * common/Makefile.am:
6342 * docs/faq/Makefile.am:
6343 * docs/gst/Makefile.am:
6344 * docs/libs/Makefile.am:
6345 * docs/manual/Makefile.am:
6346 * docs/plugins/Makefile.am:
6347 * docs/pwg/Makefile.am:
6348 * docs/slides/Makefile.am:
6350 * common/upload.mak:
6351 move upload.mak to common
6353 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6355 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6356 add more asserts on refcounts
6357 do more cleanup at end of tests
6358 fix test leaks showing in FC5
6360 2006-04-29 Stefan Kost <ensonic@users.sf.net>
6362 * plugins/elements/gsttypefindelement.c:
6363 (gst_type_find_element_handle_event):
6364 reverted wrong change and reflowed code to avoid others falling into
6367 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6369 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6370 fix changelog entry about last collectpads change,
6371 add notes about proper fix
6373 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6376 * gst/gstregistry.c: (gst_registry_scan_path_level),
6377 (gst_registry_scan_path):
6378 * gst/gstregistry.h:
6379 only write out registry if it has changed, fixes #338339
6381 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6384 * gst/gstpipeline.c:
6385 * plugins/elements/gstcapsfilter.c:
6386 * plugins/elements/gstfakesink.c:
6387 * plugins/elements/gstfakesrc.c:
6388 * plugins/elements/gstfdsink.c:
6389 * plugins/elements/gstfdsrc.c:
6390 * plugins/elements/gstfilesink.c:
6391 * plugins/elements/gstfilesrc.c:
6392 * plugins/elements/gstidentity.c:
6393 * plugins/elements/gstqueue.c:
6394 * plugins/elements/gsttee.c:
6395 * plugins/elements/gsttypefindelement.c:
6396 (gst_type_find_element_handle_event):
6397 make GstElementDetails const
6399 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6401 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6402 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6403 (gst_collect_pads_is_collected), (gst_collect_pads_event):
6404 more detailed debug and formatting cleanup,
6405 forward newsegments to src-pad (so that e.g. adder not eats them)
6407 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6409 * gst/gstutils.c: (gst_element_link_pads):
6412 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6414 * libs/gst/controller/gstcontroller.c:
6415 (gst_controller_sync_values):
6417 * tests/check/libs/controller.c: (GST_START_TEST),
6418 (gst_controller_suite):
6419 a new test for live value handling
6421 2006-04-28 Wim Taymans <wim@fluendo.com>
6423 * gst/gstutils.c: (push_and_ref):
6424 Added some more docs.
6425 Fix refcount issue whith gst_element_found_tags() helper
6426 function. Fixes #338335
6428 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6429 Added testsuite for gst_element_found_tags().
6431 2006-04-28 Michael Smith <msmith@fluendo.com>
6433 * gst/gstvalue.c: (gst_value_serialize_flags):
6434 Avoid NULL dereference when trying to serialize flags containing
6437 2006-04-28 Michael Smith <msmith@fluendo.com>
6439 * plugins/elements/gsttypefindelement.c:
6440 (gst_type_find_element_handle_event):
6441 If we get EOS before any data is accumulated, don't use
6442 uninitialised local variables.
6444 2006-04-28 Michael Smith <msmith@fluendo.com>
6446 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6447 (gst_dp_event_from_packet):
6448 Fixes in reading/writing events over GDP (not currently used?) -
6449 dereferencing NULL events for unknown/invalid event types, memory
6450 leak, and change g_warning to GST_WARNING.
6452 2006-04-28 Wim Taymans <wim@fluendo.com>
6454 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6455 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6456 (gst_base_sink_get_position), (gst_base_sink_change_state):
6457 When frame dropping is enabled, we should not ignore frames
6459 Update some documentation.
6461 2006-04-28 Wim Taymans <wim@fluendo.com>
6463 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6464 (gst_base_src_send_event), (gst_base_src_change_state):
6465 Documentation updates.
6467 2006-04-28 Wim Taymans <wim@fluendo.com>
6469 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6470 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6471 handle EAGAIN, EINTR and short writes correctly. Also clean
6472 up some error cases, avoid a deadlock on bad file descriptors and
6473 use GST_DEBUG_OBJECT.
6476 2006-04-28 Wim Taymans <wim@fluendo.com>
6478 * gst/gstvalue.c: (gst_value_serialize_buffer),
6479 (gst_value_deserialize_buffer):
6480 Don't try to serialize a GValue with a NULL buffer.
6483 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6484 Added check for serialisation of NULL buffers.
6486 2006-04-28 Wim Taymans <wim@fluendo.com>
6488 * gst/gstminiobject.c: (gst_value_take_mini_object):
6489 Taking a NULL miniobject is valid, fix the case where
6490 we try to unref the NULL miniobject.
6492 2006-04-28 Wim Taymans <wim@fluendo.com>
6494 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6496 * gst/gstbin.c: (gst_bin_handle_message_func):
6498 Don't leak bin refcount when a state recalc is
6499 in progress and we delay another one #339808.
6501 2006-04-28 Wim Taymans <wim@fluendo.com>
6503 * docs/design/part-TODO.txt:
6504 Mention QoS as an ongoing work item.
6506 * docs/design/part-buffering.txt:
6507 New doc about buffering that needs to be fleshed out
6510 * docs/design/part-qos.txt:
6511 More QoS policy for decoders/demuxers/transforms
6513 * docs/design/part-trickmodes.txt:
6516 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6521 === release 0.10.5 ===
6523 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6526 releasing 0.10.5, "Fogo"
6528 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
6530 patch by: Wim Taymans
6532 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6533 (gst_pad_configure_src), (gst_pad_push):
6534 * gst/gstpipeline.c: (gst_pipeline_init):
6535 Fix internal data flow errors. Fixes #338711.
6537 2006-04-12 Wim Taymans <wim@fluendo.com>
6539 * tests/check/gst/gstelement.c: (GST_START_TEST):
6540 Don't leak the factory.
6542 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6545 * win32/common/config.h:
6548 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
6550 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6551 (gst_controller_unset_all):
6552 Free allocated GstTimedValues when freeing list nodes.
6553 Should fix leaks 'make check-valgrind' complains about.
6555 * win32/common/libgstcontroller.def:
6556 Add gst_controller_unset_all.
6558 2006-04-11 Stefan Kost <ensonic@users.sf.net>
6560 * docs/libs/gstreamer-libs-sections.txt:
6561 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6562 (gst_controller_unset_all):
6563 * libs/gst/controller/gstcontroller.h:
6564 API: Added new method gst_controller_unset_all()
6565 fixed gst_controller_unset()
6566 * tests/check/libs/controller.c: (GST_START_TEST),
6567 (gst_controller_suite):
6568 Added two testcases for new and fixed method
6570 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
6572 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6573 MSG_DONTWAIT is not defined on Cygwin, so work
6574 around that (fixes #317048).
6576 2006-04-11 Wim Taymans <wim@fluendo.com>
6578 * gst/gstelementfactory.c: (gst_element_register),
6579 (gst_element_factory_create), (gst_element_factory_make):
6582 Updated docs (Fixes #131079)
6584 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6587 * tests/check/gst/gstelement.c: (GST_START_TEST),
6588 (gst_element_suite):
6589 Added testcase for elementfactory class field.
6591 2006-04-10 Wim Taymans <wim@fluendo.com>
6594 Added some more docs.
6596 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6597 (gst_base_sink_reset_qos):
6598 Calculate more accurate rate values.
6600 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
6602 * gst/gst_private.h:
6603 add a new #ifdef to use __declspec(dllimport) only for
6604 other modules and not for gstreamer core
6605 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6606 use gst_guint64_to_gdouble for conversion
6607 * win32/common/libgstreamer.def:
6608 add new exported functions
6609 * win32/vs6/gst_inspect.dsp:
6610 * win32/vs6/gst_launch.dsp:
6611 * win32/vs6/libgstbase.dsp:
6612 * win32/vs6/libgstcontroller.dsp:
6613 * win32/vs6/libgstcoreelements.dsp:
6614 * win32/vs6/libgstdataprotocol.dsp:
6615 * win32/vs6/libgstnet.dsp:
6616 update project files
6618 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6620 * gst/gstbuffer.c: (gst_subbuffer_class_init):
6621 * gst/gstclock.c: (gst_clock_class_init):
6622 * gst/gstelement.c: (gst_element_class_init):
6623 * gst/gstindex.c: (gst_index_class_init):
6624 * gst/gstindexfactory.c: (gst_index_factory_class_init):
6625 * gst/gstobject.c: (gst_object_class_init),
6626 (gst_signal_object_class_init):
6627 * gst/gstpad.c: (gst_pad_class_init):
6628 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6629 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6630 * gst/gstregistry.c: (gst_registry_class_init):
6631 * gst/gstsystemclock.c: (gst_system_clock_class_init):
6632 * gst/gsttask.c: (gst_task_class_init):
6633 * gst/gstxml.c: (gst_xml_class_init):
6634 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6635 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6636 (gst_base_src_loop):
6637 * libs/gst/controller/gstcontroller.c:/
6638 (_gst_controller_class_init):
6639 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6640 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6641 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6642 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6643 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6644 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6646 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
6648 * gst/gstpad.c: (gst_pad_link):
6649 Must set peer pads before calling the link function, otherwise
6650 a task started from a link function might get a flow-not-linked
6651 result when trying to push because the other thread where the
6652 linking happens hasn't had a chance to set the peers yet. This
6653 might happen for example when a queue gets linked to a downstream
6654 element, as queue starts a streaming task when its source pad
6655 gets linked. Happens in real life when playing back flac/musepack
6656 files in playbin (#332390).
6658 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6662 * libs/gst/base/gstadapter.h:
6663 * libs/gst/base/gstbasesink.h:
6664 * libs/gst/base/gstbasesrc.h:
6665 * libs/gst/base/gstbasetransform.h:
6666 * libs/gst/base/gstcollectpads.h:
6667 * libs/gst/base/gstpushsrc.h:
6668 Fix broken GObject macros
6670 2006-04-07 Wim Taymans <wim@fluendo.com>
6672 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6673 Initialize start and stop times, thanks valgrind.
6675 2006-04-07 Wim Taymans <wim@fluendo.com>
6677 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6678 Be a bit nicer to badly behaving upstream elements that expect
6679 us to deal with non TIME segments and timestamps (such as fakesrc
6682 2006-04-07 Wim Taymans <wim@fluendo.com>
6685 Small documentation clarification about the signal watch.
6687 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6688 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6689 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6690 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6691 (gst_base_sink_get_position_last),
6692 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6693 Convert and store timestamps in stream time and running time, the
6694 raw timestamps are not useful, also document this better.
6695 Use different window sizes for good and bad QoS observations so
6696 we react to badness a little quicker.
6697 Keep track of the amount of rendered and dropped buffers.
6698 Send QoS timestamps in running time.
6700 * libs/gst/base/gstbasetransform.c:
6701 (gst_base_transform_sink_eventfunc),
6702 (gst_base_transform_handle_buffer):
6703 Compare QoS timestamps against running time.
6705 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6710 2006-04-06 Michael Smith <msmith@fluendo.com>
6712 * gst/gstpad.c: (gst_pad_set_property):
6713 Use g_value_get_object() instead of g_value_dup_gst_object(),
6714 to avoid double-reffing the pad template (which we then sink,
6715 so this worked previously if (and only if) the pad template
6718 * gst/gstpadtemplate.c: (gst_pad_template_init),
6719 (gst_pad_template_pad_created):
6720 Never return floating references to pad templates, create
6721 them as initially-sunken.
6723 Document an extra function (and make this stop sinking our
6724 pad template, since that is now guaranteed to do nothing,
6725 since we created it sunken).
6727 * gst/gstghostpad.c:
6730 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6732 * gst/gstinfo.c: (__gst_in_valgrind):
6735 * plugins/elements/gsttypefindelement.c:
6736 (gst_type_find_element_chain):
6737 Don't leak buffer caps.
6739 2006-04-06 Michael Smith <msmith@fluendo.com>
6741 * gst/parse/grammar.y:
6742 Fix a leak in parse-launch for any source-or-sink named element
6745 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6746 Unref the pipeline if it exists after we've failed parsing.
6748 2006-04-05 Michael Smith <msmith@fluendo.com>
6750 * gst/gstpipeline.c: (gst_pipeline_init):
6751 When we create a pipeline bus, initially create it in flushing mode.
6752 Fixes leaks in at least one test, and makes a new pipeline work the
6753 same as one that has gone to READY and then back to NULL.
6758 2006-04-05 Michael Smith <msmith@fluendo.com>
6760 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6761 Unref a pad we reffed.
6762 * tests/check/gst/gstutils.c: (GST_START_TEST):
6765 2006-04-05 Michael Smith <msmith@fluendo.com>
6767 * gst/gstquery.c: (gst_query_set_formats),
6768 (gst_query_set_formatsv):
6769 Fix leaking GValues in queries, as shown by valgrind/testsuite.
6771 2006-04-05 Michael Smith <msmith@fluendo.com>
6773 * tests/check/generic/sinks.c: (GST_START_TEST):
6774 Fix a variety of memleaks in sinks check, which are only sometimes
6775 shown by running the tests under valgrind (weird?).
6777 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
6779 * docs/version.entities.in:
6780 Fix the substituted entity name after thomas' changes on the
6783 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6785 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
6788 2006-04-05 Andy Wingo <wingo@pobox.com>
6790 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
6792 * libs/gst/base/gstbasetransform.c
6793 (gst_base_transform_sink_eventfunc): When resetting our segment on
6794 FLUSH_STOP, also update the flag saying we haven't seen a
6797 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6799 Patch by: Paolo Borelli <pborelli at katamail dot com>
6801 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6802 (gst_plugin_check_license):
6803 minor clean-ups: G_DEFINE_TYPE already takes care of the
6804 parent_class stuff, no need to do it twice. Mark array of
6805 license strings as constant. (#337103)
6807 2006-04-04 Michael Smith <msmith@fluendo.com>
6809 * tools/gst-inspect.c: (print_element_list):
6810 Free the right plugin list; fixes a memory leak.
6812 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6814 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6816 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6817 Don't error out on empty buffers (#336945).
6819 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
6821 * docs/libs/gstreamer-libs-sections.txt:
6823 * libs/gst/base/gstbasesink.c:
6824 * libs/gst/base/gstbasesink.h:
6825 * libs/gst/base/gstbasesrc.c:
6826 * libs/gst/base/gstbasesrc.h:
6827 Documentation updates. Make BaseSink and BaseSrc docs contain the
6828 class structure so that people can actually see the prototypes for
6829 virtual functions they're supposed to be overriding.
6831 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6833 * plugins/elements/gsttypefindelement.c:
6834 (gst_type_find_element_chain):
6835 More debug info; when skipping typefinding, send cached
6836 events in all cases.
6838 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
6841 use new AS_VERSION and AS_NANO macros
6842 * gst/gst-i18n-lib.h:
6845 * gst/gstversion.h.in:
6846 * win32/common/config.h:
6847 * win32/common/config.h.in:
6850 2006-03-31 Michael Smith <msmith@fluendo.com>
6852 * plugins/elements/gsttypefindelement.c:
6853 (gst_type_find_element_chain):
6854 Do not typefind content if the buffers already have caps.
6855 Neccesary for icydemux (#333657), and the right thing to do anyway.
6857 2006-03-30 Wim Taymans <wim@fluendo.com>
6859 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6860 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
6861 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
6862 (gst_base_sink_record_qos_observation),
6863 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6864 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6865 (gst_base_sink_change_state):
6866 More QoS measurements as described in the design doc.
6867 Get rid of ringbuffer with observations, running average is
6868 more simple and equally good.
6869 Calculates valid proportion now.
6870 Added beginning of flood measurement.
6872 2006-03-29 Wim Taymans <wim@fluendo.com>
6874 * docs/design/part-qos.txt:
6876 Small documentation updates and additions.
6878 2006-03-29 Wim Taymans <wim@fluendo.com>
6880 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6881 (gst_base_src_send_event), (gst_base_src_loop),
6882 (gst_base_src_change_state):
6883 Perform the EOS logic when we reach the segment stop position.
6884 Fix compilation on gcc4.1
6886 2006-03-29 Wim Taymans <wim@fluendo.com>
6888 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6890 * plugins/elements/gstqueue.c: (gst_queue_init),
6891 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6892 (gst_queue_set_property):
6893 * plugins/elements/gstqueue.h:
6894 In queue, when EOS is received, if minimum threshold > max_size -
6895 current_level, there is chance that queue blocks forever in conditional
6896 item del wait. This is because the queue is not emptied completely due
6897 to minimum threshold. Here is another approach. Instead of setting
6898 cur_levels to max in EOS, just zero all minimum threshold levels. This
6899 should make sure that queue gives out all data. When going to READY
6900 (stop) state, just reset the original minimum threshold levels.
6903 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
6905 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
6906 (gst_type_find_element_handle_event),
6907 (gst_type_find_element_send_cached_events),
6908 (gst_type_find_element_change_state):
6909 * plugins/elements/gsttypefindelement.h:
6910 When typefinding is done in push mode, we should cache
6911 events we receive during typefinding instead of just
6912 dropping them (e.g. newsegment, custom events from
6913 dvdreadsrc etc.) and then send them out once we've
6914 determined the type of the stream (and decodebin
6915 has had a chance to plug in a decoder/demuxer).
6917 2006-03-27 Wim Taymans <wim@fluendo.com>
6919 * docs/design/part-qos.txt:
6922 2006-03-27 Wim Taymans <wim@fluendo.com>
6924 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
6926 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6927 (gst_base_src_send_event), (gst_base_src_change_state):
6928 Handle element seek correctly when we are streaming.
6931 2006-03-24 Michael Smith <msmith@fluendo.com>
6933 * docs/faq/gst-uninstalled:
6934 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
6935 allow you to correctly run intalled applications built against old
6936 core, using plugins that require updated core (e.g. running
6937 installed totem against a full uninstalled gstreamer stack)
6939 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6941 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6944 2006-03-24 Wim Taymans <wim@fluendo.com>
6946 * docs/gst/gstreamer-sections.txt:
6947 Rearrange the order of the methods so that related methods
6948 are grouped together in sections.
6950 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6953 Little clarification in the docs
6955 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6959 * plugins/elements/gstidentity.c:
6960 * plugins/elements/gstqueue.c:
6961 * plugins/elements/gsttee.c:
6962 * plugins/elements/gsttypefindelement.c:
6963 GST_ELEMENT_DETAILS formatting
6965 2006-03-24 Wim Taymans <wim@fluendo.com>
6967 * libs/gst/base/gstbasesink.h:
6968 Only add fields, not insert or we break ABI.
6970 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
6972 * win32/common/libgstbase.def:
6973 * win32/common/libgstreamer.def:
6974 Update, add recently added functions.
6976 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
6978 * docs/gst/gstreamer-sections.txt:
6979 * gst/gstutils.c: (gst_pad_query_peer_position),
6980 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
6982 API: add some new utility functions:
6983 - gst_pad_query_peer_position()
6984 - gst_pad_query_peer_duration()
6985 - gst_pad_query_peer_convert()
6987 2006-03-23 Wim Taymans <wim@fluendo.com>
6989 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6990 (gst_base_sink_init), (gst_base_sink_finalize),
6991 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
6992 (gst_base_sink_set_property), (gst_base_sink_get_property),
6993 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
6994 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6995 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
6996 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6997 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6998 (gst_base_sink_preroll_object), (gst_base_sink_event),
6999 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7000 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7001 (gst_base_sink_query), (gst_base_sink_change_state):
7002 Decouple max-lateness and the fact that QoS messages are generated
7003 with a new property (qos).
7004 added API: GstBaseSink::async_play()
7005 Add vmethod so subclasses can be notified of ASYNC playing
7007 Collect timestamp start and stop to report better current
7008 position in EOS/PLAYING/PAUSED/READY/NULL.
7009 Refactor QoS/frame dropping and other measurements.
7010 API: GstBaseSrc::qos
7013 * libs/gst/base/gstbasesink.h:
7014 Added Private struct.
7015 API: gst_base_sink_set_qos_enabled()
7016 API: gst_base_sink_is_qos_enabled()
7018 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7020 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7021 If compiling against GLib-2.8 or newer, try to read the
7022 registry file using GMappedFile first before falling back
7023 to fopen() + fread() (#332151).
7025 2006-03-22 Wim Taymans <wim@fluendo.com>
7027 * gst/gstinfo.c: (gst_debug_set_active),
7028 (gst_debug_category_set_threshold):
7029 Disable debugging unless explicitly activated.
7032 2006-03-22 Wim Taymans <wim@fluendo.com>
7034 * gst/gstelement.c: (gst_element_set_locked_state),
7035 (gst_element_dispose):
7036 Cleanup the error case.
7038 * gst/gstobject.c: (gst_object_dispose):
7039 print a critical when some object was disposed with
7040 a parent, also revive the object since it might
7043 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
7045 * tools/gst-launch.1.in:
7048 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7051 * tests/check/Makefile.am:
7052 disable some tests when we don't have a registry
7053 * tests/check/gst/gstutils.c: (gst_utils_suite):
7054 don't build the part that needs parsing
7056 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7059 * tests/examples/Makefile.am:
7060 fix --disable-parse build
7062 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7064 * tools/gst-feedback.1.in:
7065 Fix typo: s/feeback/feedback/ (#133494).
7067 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7069 * tools/Makefile.am:
7070 * tools/gst-launch.1.in:
7071 Add FILES section and correct entry about GST_REGISTRY_PATH
7072 environment variable (#133495; #133494).
7074 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7076 * tools/Makefile.am:
7077 * tools/gst-md5sum.1.in:
7078 * tools/gst-md5sum.c:
7079 Remove gst-md5sum and man page (the md5sink element
7080 required was removed ages ago)
7082 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7084 * gst/gststructure.c: (gst_structure_id_set_value):
7085 Make sure that string fields in structures/taglists
7086 contain valid UTF-8 - we don't want to pass rubbish to
7087 applications because of a buggy plugin (cp. #334167).
7089 2006-03-21 Edward Hervey <edward@fluendo.com>
7091 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7092 (gst_bin_handle_message_func):
7093 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7094 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7095 (gst_element_set_bus_func):
7096 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7097 * gst/gstminiobject.c: (gst_value_set_mini_object),
7098 (gst_value_take_mini_object):
7099 * gst/gstpad.c: (gst_pad_set_pad_template):
7100 * gst/gstpipeline.c: (gst_pipeline_dispose),
7101 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7102 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7103 (gst_collect_pads_chain):
7104 * libs/gst/net/gstnettimeprovider.c:
7105 (gst_net_time_provider_set_property):
7106 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7107 It's in fact all issues with gst_*object_replace().
7109 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7111 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
7113 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7114 * pkgconfig/gstreamer-check.pc.in:
7115 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7117 2006-03-21 Edward Hervey <edward@fluendo.com>
7122 gst_[buffer|event|message]_ref() macros are replaced by a static
7123 inline functions because gcc-4.1 will about if the return value
7125 * tests/check/gst/gstevent.c: (event_probe):
7126 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7128 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
7131 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7132 the type' case. (Closes: #335195 for now). In the future, when we
7133 depend on GLib 2.10, we could also intern the type name using
7134 g_intern_static_string()
7136 2006-03-20 Wim Taymans <wim@fluendo.com>
7138 * gst/gstbin.c: (gst_bin_handle_message_func),
7139 (bin_query_max_init), (bin_query_position_fold),
7140 (bin_query_position_done), (gst_bin_query):
7141 Position query should also take max of all streams.
7143 2006-03-20 Wim Taymans <wim@fluendo.com>
7145 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7146 (gst_fake_src_finalize):
7147 Fix leaks in fakesrc.
7149 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7150 Fix leaks in the testcase.
7152 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
7154 * gst/gst_private.h:
7155 add win32 specific import decoration(__declspec(dllimport))
7156 for all extern GstDebugCategory * variables
7157 * win32/common/libgstbase.def:
7158 * win32/common/libgstcontroller.def:
7159 * win32/common/libgstreamer.def:
7160 Add some exports, remove empty lines
7161 * win32/common/libgstdataprotocol.def:
7162 * win32/common/libgstdataprotocol.dsp:
7163 * win32/common/libgstnet.def:
7164 * win32/common/libgstnet.dsp:
7165 new project files and exportation files added
7167 2006-03-19 Wim Taymans <wim@fluendo.com>
7169 * tests/check/libs/basesrc.c: (eos_event_counter):
7170 Use proper return value for probe.
7172 2006-03-17 Wim Taymans <wim@fluendo.com>
7174 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7176 Don't leak buffers, caps and pads on negotiation errors.
7178 2006-03-16 Stefan Kost <ensonic@users.sf.net>
7181 * docs/faq/dependencies.xml:
7182 * docs/faq/developing.xml:
7184 * docs/faq/general.xml:
7185 * docs/faq/getting.xml:
7186 * docs/faq/legal.xml:
7187 * docs/faq/troubleshooting.xml:
7188 * docs/faq/using.xml:
7189 Faq review and update.
7191 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
7193 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7195 Don't pound the cpu to pieces by checking get_caps when accept_caps
7196 is called with the same caps as the pad already has.
7197 Use GST_DEBUG_OBJECT when outputting caps change information.
7199 2006-03-15 Wim Taymans <wim@fluendo.com>
7201 * gst/gstclock.c: (gst_clock_class_init):
7204 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
7209 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7210 (gst_pad_accept_caps), (gst_pad_configure_sink),
7211 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7212 Make the default acceptcaps behaviour be to check the requested
7213 caps against the gst_pad_get_caps output.
7215 Ensure that gst_pad_accept_caps is used to check caps when a pad
7216 doesn't have a setcaps function, so that pads automatically refuse
7217 caps that they don't allow in their pad template. (Fixes #332986)
7219 When a buffer with attached caps is pushed, ensure that the source
7220 pad receives those caps even if the element didn't call
7221 gst_pad_set_caps first.
7223 2006-03-15 Wim Taymans <wim@fluendo.com>
7225 * libs/gst/base/gstadapter.c:
7228 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
7230 * win32/common/libgstbase.def:
7231 * win32/common/libgstcontroller.def:
7232 * win32/common/libgstreamer.def:
7233 Add a whole bunch of missing functions (#334434).
7235 2006-03-14 Wim Taymans <wim@fluendo.com>
7237 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7238 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7239 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7240 Better debug info when we receive a segment event.
7241 Reorganize a bit so we can pass the get_times() results around.
7242 Use the segment format when calculating the running time.
7243 Don't do QoS is sync is disabled or we have no clock or the
7244 element does not want us to sync to the clock.
7245 Don't drop buffers if QoS is disabled for now.
7247 2006-03-14 Wim Taymans <wim@fluendo.com>
7249 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7250 Marked the stats property as unimplemented so people don't get
7252 Add debug message when regression goes wrong.
7253 Added some more docs.
7255 2006-03-14 Wim Taymans <wim@fluendo.com>
7257 * gst/gstsegment.c: (gst_segment_to_stream_time):
7258 Return correct return type in case of errors.
7260 2006-03-14 Wim Taymans <wim@fluendo.com>
7262 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7263 Don't segfault on invalid formats.
7265 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7267 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7268 Can't use gst_segment_to_running_time() when the segment
7269 is not in GST_TIME_FORMAT (like with filesink, for example).
7270 Stops flac encoding pipelines from spewing critical warnings
7273 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7275 * gst/gstpipeline.c: (gst_pipeline_class_init):
7276 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7278 * plugins/elements/gsttypefindelement.c:
7279 (gst_type_find_element_handle_event):
7280 Don't try to typefind empty streams.
7282 2006-03-14 Wim Taymans <wim@fluendo.com>
7284 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7285 (gst_base_sink_do_qos):
7286 Separate QoS calculation.
7287 Only drop buffers when lateness is bigger than the
7288 duration of the buffer.
7290 2006-03-13 Wim Taymans <wim@fluendo.com>
7292 * gst/gstpipeline.c: (gst_pipeline_set_property),
7293 (gst_pipeline_get_property), (do_pipeline_seek),
7294 (gst_pipeline_change_state), (gst_pipeline_set_delay),
7295 (gst_pipeline_get_delay):
7296 Don't deadlock when reading properties.
7298 2006-03-13 Wim Taymans <wim@fluendo.com>
7300 * libs/gst/base/gstbasetransform.c:
7301 (gst_base_transform_class_init), (gst_base_transform_init),
7302 (gst_base_transform_sink_event),
7303 (gst_base_transform_sink_eventfunc),
7304 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7305 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7306 (gst_base_transform_set_property),
7307 (gst_base_transform_get_property),
7308 (gst_base_transform_change_state), (gst_base_transform_update_qos),
7309 (gst_base_transform_set_qos_enabled),
7310 (gst_base_transform_is_qos_enabled):
7311 * libs/gst/base/gstbasetransform.h:
7312 Make basetransform virtual method for src events too.
7313 Handle QOS in basetransform.
7314 API: gst_base_transform_update_qos()
7315 API: gst_base_transform_set_qos_enabled()
7316 API: gst_base_transform_is_qos_enabled()
7318 2006-03-13 Wim Taymans <wim@fluendo.com>
7320 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7321 (gst_base_sink_do_sync):
7323 Use QOS debug category.
7325 2006-03-13 Wim Taymans <wim@fluendo.com>
7327 * plugins/elements/gstqueue.c:
7328 Very small doc update.
7330 2006-03-13 Wim Taymans <wim@fluendo.com>
7332 * gst/gst_private.h:
7333 * gst/gstinfo.c: (_gst_debug_init):
7334 Added QOS debug category
7336 2006-03-13 Wim Taymans <wim@fluendo.com>
7338 * docs/gst/gstreamer-sections.txt:
7339 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7341 * gst/gstbus.c: (gst_bus_class_init):
7344 * gst/gstelement.c: (gst_element_set_locked_state):
7346 Documentation updates.
7348 * gst/gstpipeline.c: (gst_pipeline_get_type),
7349 (gst_pipeline_class_init), (gst_pipeline_init),
7350 (gst_pipeline_dispose), (gst_pipeline_set_property),
7351 (gst_pipeline_get_property), (do_pipeline_seek),
7352 (gst_pipeline_send_event), (gst_pipeline_change_state),
7353 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7354 (gst_pipeline_get_delay):
7355 * gst/gstpipeline.h:
7356 Added methods for setting the delay.
7357 API: gst_pipeline_set_delay()
7358 API: gst_pipeline_get_delay()
7359 Add pipeline debug category
7362 Don't reset stream time when seek failed.
7364 2006-03-13 Wim Taymans <wim@fluendo.com>
7366 * docs/design/draft-klass.txt:
7367 * docs/design/part-clocks.txt:
7368 * docs/design/part-events.txt:
7369 * docs/design/part-gstbin.txt:
7370 * docs/design/part-gstpipeline.txt:
7371 * docs/design/part-messages.txt:
7372 * docs/design/part-negotiation.txt:
7373 * docs/design/part-overview.txt:
7374 * docs/design/part-preroll.txt:
7375 * docs/design/part-seeking.txt:
7376 * docs/design/part-states.txt:
7377 * docs/design/part-streams.txt:
7378 Documentation updates.
7380 2006-03-12 Julien MOUTTE <julien@moutte.net>
7382 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7383 us to leak strings...
7385 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
7387 * libs/gst/net/gstnettimeprovider.c:
7389 * win32/common/config.h:
7392 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
7394 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7397 Don't check for libgnomeui (leftover from old examples
7398 that aren't built or disted any longer) (#334303).
7400 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
7402 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7403 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7404 Emit RESOURCE_NO_SPACE_LEFT error here as well when
7405 there's no space left on the device.
7407 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
7410 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7411 to cast the input to GstClockTime before comparing with
7412 another GstClockTime value.
7414 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7419 === release 0.10.4 ===
7421 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7424 releasing 0.10.4, "Light"
7426 2006-03-10 Michael Smith <msmith@fluendo.com>
7428 * libs/gst/dataprotocol/dataprotocol.c:
7429 Fix docs for dataprocotol to not get the return types completely
7430 wrong for a few functions.
7432 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7434 * docs/gst/gstreamer-sections.txt:
7435 * gst/gstpipeline.c: (gst_pipeline_class_init),
7436 (gst_pipeline_init), (gst_pipeline_set_property),
7437 (gst_pipeline_get_property), (gst_pipeline_change_state),
7438 (gst_pipeline_set_auto_flush_bus),
7439 (gst_pipeline_get_auto_flush_bus):
7440 * gst/gstpipeline.h:
7441 Add new API: gst_pipeline_set_auto_flush_bus() and
7442 gst_pipeline_get_auto_flush_bus() to disable automatic
7443 flushing of the pipeline's GstBus when going from READY
7444 to NULL state (#332045).
7446 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7448 * docs/gst/gstreamer-sections.txt:
7449 * gst/gsturi.c: (gst_uri_has_protocol):
7451 Add new API: gst_uri_has_protocol() (#333779).
7453 2006-03-09 Wim Taymans <wim@fluendo.com>
7455 * gst/gstclock.c: (gst_clock_entry_new),
7456 (gst_clock_id_compare_func), (gst_clock_id_wait),
7457 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7458 (gst_clock_init), (gst_clock_get_internal_time),
7459 (gst_clock_set_master), (do_linear_regression),
7460 (gst_clock_add_observation), (gst_clock_set_property):
7464 Fix a possible segfault when the window-size is made smaller.
7465 Calculate jitter before performing the clock wait. Ideally
7466 the clock implementation should calculate jitter but we need
7467 API breakage for that.
7469 * gst/gstsystemclock.c: (gst_system_clock_init):
7472 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7473 Remove leftover else
7475 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7476 (gst_systemclock_suite):
7477 Added check to test GST_CLOCK_DIFF.
7479 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7481 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7482 (gst_type_find_helper_get_range):
7483 If we are provided with the size, we should implement
7484 GstTypeFind::get_length, so that typefind functions who
7485 want to can actually peek at the middle of a file.
7487 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
7489 * docs/manual/advanced-dataaccess.xml:
7490 Add some very very basic error checking.
7492 * docs/pwg/appendix-checklist.xml:
7493 Some updates to the list of things to check when writing an element.
7495 2006-03-08 Wim Taymans <wim@fluendo.com>
7497 * docs/design/part-element-transform.txt:
7498 Added some docs about the design of tranform elements.
7500 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7501 (gst_base_src_loop), (gst_base_src_change_state):
7502 Mark buffers with the DISCONT flag.
7504 2006-03-08 Michael Smith <msmith@fluendo.com>
7506 * gst/gstregistry.h:
7507 * gst/gstregistryxml.c: (gst_registry_save),
7508 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7509 (gst_registry_xml_save_pad_template),
7510 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7511 (gst_registry_xml_write_cache):
7512 Rewrite registry-saving to avoid race conditions and check for
7515 2006-03-08 Wim Taymans <wim@fluendo.com>
7517 * libs/gst/base/gstbasetransform.c:
7518 (gst_base_transform_transform_caps),
7519 (gst_base_transform_transform_size),
7520 (gst_base_transform_prepare_output_buffer),
7521 (gst_base_transform_get_unit_size),
7522 (gst_base_transform_buffer_alloc),
7523 (gst_base_transform_handle_buffer),
7524 (gst_base_transform_change_state):
7525 Cleanups, separate normal flow from errors, add sensible
7527 Don't try to renegotiate when allocating an output buffer.
7528 Also copy DISCONT buffer flag when copying a buffer.
7529 Reset the transform after we finish streaming, not during.
7531 2006-03-08 Wim Taymans <wim@fluendo.com>
7533 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7534 Use last buffer timestamp in qos message.
7536 2006-03-07 Wim Taymans <wim@fluendo.com>
7538 Patch by: Christophe Fergeau
7540 * docs/pwg/advanced-tagging.xml:
7541 * docs/pwg/building-pads.xml:
7544 2006-03-07 Wim Taymans <wim@fluendo.com>
7546 * docs/libs/gstreamer-libs-sections.txt:
7547 Added basesink new methods.
7551 Docs updates. Flesh out the QoS docs.
7553 * libs/gst/base/gstadapter.c:
7554 Small doc clarification about ownership and flushing.
7556 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7557 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7558 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7559 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7560 * libs/gst/base/gstbasesink.h:
7562 Added new methods to allow subclass to control max-lateness
7564 Generate very basic QoS events based on last sync observation.
7565 Updated docs, fix typo, added some QoS blurb.
7567 * libs/gst/base/gstbasesrc.c:
7568 Remove obsolete _get_state() calls from docs.
7570 2006-03-07 Wim Taymans <wim@fluendo.com>
7572 * docs/libs/gstreamer-libs-sections.txt:
7573 * libs/gst/base/gstbasetransform.h:
7574 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7575 Fix docs for GstBaseSrc.
7577 2006-03-07 Wim Taymans <wim@fluendo.com>
7579 * docs/gst/gstreamer-sections.txt:
7582 * libs/gst/base/gstbasetransform.h:
7583 Small documentation fixes.
7585 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7588 Document thread-unsafety of gst_value_register_foo_func()
7589 when used at the same time as gst_value_foo() (#322628).
7591 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7593 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7594 (gst_push_src_check_get_range):
7595 Push sources don't support pull mode by default.
7597 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7599 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7600 (gst_base_src_init), (gst_base_src_pad_check_get_range),
7601 (gst_base_src_default_check_get_range):
7602 * libs/gst/base/gstbasesrc.h:
7603 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7604 provide default implementation, and rename
7605 gst_base_src_check_get_range() to
7606 gst_base_src_pad_check_get_range() for clarity.
7608 2006-03-06 Wim Taymans <wim@fluendo.com>
7610 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7611 Make property overridable.
7613 2006-03-06 Wim Taymans <wim@fluendo.com>
7615 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7616 (gst_base_sink_init), (gst_base_sink_set_property),
7617 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7618 * libs/gst/base/gstbasesink.h:
7619 API addition: Make max-lateness a property.
7621 2006-03-06 Wim Taymans <wim@fluendo.com>
7623 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7624 (gst_base_sink_do_sync), (gst_base_sink_render_object):
7625 Don't ever draw a frame that is >10ms late.
7627 2006-03-06 Michael Smith <msmith@fluendo.com>
7629 * gst/gstmessage.c: (_gst_message_copy):
7630 When copying a message, set the parent_refcount of the enclosed
7631 structure to point at the copy, not the original message.
7633 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7635 Patch by: Christophe Fergeau
7638 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7639 usable in c++ code (#333417)
7641 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
7644 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7646 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
7648 * libs/gst/base/gstbasetransform.c:
7649 (gst_base_transform_transform_caps):
7650 Make sure caps are writable before passing them to
7653 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7656 Fix some minor docs errors.
7658 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7660 Patch by: Ross Burton <ross at burtonini dot com>
7662 * gst/gsterror.c: (_gst_resource_errors_init):
7664 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7666 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7669 Add a check and output a g_warning when GStreamer is built
7670 against GLib 2.6 but running against 2.8 or higher, and vice
7671 versa. (Closes: #323542)
7673 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7675 * gst/parse/parse.l:
7676 Commit patch for parse_launch syntax from #331255. Removes
7677 support for quoted strings and mimetypes when writing filtered
7678 caps. See the bug report for more details - I'm pretty sure this
7679 obscure feature is not in use by _anyone_ anywhere.
7681 With this simple change, the size of the gstreamer.so here
7682 drops from 2193KB to 1565KB.
7684 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7686 * plugins/elements/gsttypefindelement.h:
7687 * plugins/elements/gsttypefindelement.c:
7688 (gst_type_find_element_src_event), (start_typefinding),
7689 (stop_typefinding), (gst_type_find_element_handle_event),
7690 (gst_type_find_element_chain),
7691 (gst_type_find_element_chain_do_typefinding):
7692 Use gst_type_find_helper_for_buffer() for chain-based
7695 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7697 * plugins/elements/gsttypefindelement.c:
7698 (gst_type_find_element_class_init),
7699 (gst_type_find_element_set_property),
7700 (gst_type_find_element_get_property):
7701 Deprecate "maximum" property (not only was it only taken into
7702 account for typefinding in push-mode anyway, it also was never
7703 actually possible to set it in the first place because the
7704 property was registered with the numeric property ID for the
7705 "minimum" property). Register "maximum" property correctly,
7706 for the sake of future copy'n'pasters. Remove some cruft
7707 from property get/set functions.
7709 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7711 * plugins/elements/gsttypefindelement.c:
7712 (gst_type_find_element_activate):
7713 Use gst_type_find_helper_get_range() here, so we
7714 can honour the "minimum" property and also emit
7715 the signal with the correct probability of the found caps.
7717 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
7719 * docs/libs/gstreamer-libs-sections.txt:
7720 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7721 (helper_find_suggest), (gst_type_find_helper_get_range),
7722 (gst_type_find_helper):
7723 * libs/gst/base/gsttypefindhelper.h:
7724 New API: gst_type_find_helper_get_range() (#333042).
7726 2006-03-02 Michael Smith <msmith@fluendo.com>
7728 * gst/gstregistryxml.c: (load_feature):
7729 Asserting on a failure to read part of the registry is Not Cool.
7730 Just log a warning and return NULL (which is already handled)
7732 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
7734 * win32/common/libgstbase.def:
7735 added export of gst_type_find_helper_for_buffer
7736 * win32/common/libgstbase.def:
7737 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7738 gst_ghost_pad_get_target
7740 2006-02-28 Wim Taymans <wim@fluendo.com>
7742 * docs/design/draft-klass.txt:
7744 Added Connector to mark elements that are only used to
7745 allow pipeline connections.
7746 Moved Debug to extra feature since most of them are
7747 functionally something else.
7749 2006-02-28 Wim Taymans <wim@fluendo.com>
7751 * docs/design/draft-klass.txt:
7752 Some updates and clarifications.
7754 2006-02-28 Wim Taymans <wim@fluendo.com>
7756 * docs/design/draft-klass.txt:
7757 Proposal for klass field values.
7759 * docs/design/part-streams.txt:
7760 Start of a doc describing stream anatomy.
7762 2006-02-28 Wim Taymans <wim@fluendo.com>
7764 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
7765 Help the compiler a bit with type registration.
7766 Use existing forward cod path instead of duplicating it when
7769 * gst/gstbus.c: (gst_bus_get_type):
7770 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
7771 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
7772 * gst/gstclock.c: (gst_clock_get_type):
7773 * gst/gstelement.c: (gst_element_get_type),
7774 * gst/gstelementfactory.c: (gst_element_factory_get_type):
7775 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7776 * gst/gstminiobject.c: (gst_mini_object_get_type):
7777 * gst/gstpad.c: (gst_pad_get_type):
7778 * gst/gstsegment.c: (gst_segment_get_type):
7779 * gst/gststructure.c: (gst_structure_get_type):
7780 * gst/gstsystemclock.c: (gst_system_clock_get_type):
7781 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
7783 Help compiler with type registration.
7785 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7788 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7790 * plugins/elements/gsttypefindelement.c:
7791 (gst_type_find_element_handle_event):
7792 When we get an EOS event and have not found a type yet
7793 (most likely because we had not yet accumulated
7794 TYPE_FIND_MIN_SIZE of data yet), try to determine the
7795 type given the data we have so far. Fixes typefinding
7796 for very short streams again, most notably quicktime
7797 redirections as used on Apple's trailer site (#331701).
7799 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7801 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
7802 (gst_type_find_helper):
7803 Try typefinding factories with the highest rank first.
7805 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7807 * docs/libs/gstreamer-libs-docs.sgml:
7808 * docs/libs/gstreamer-libs-sections.txt:
7809 * libs/gst/base/gsttypefindhelper.c:
7810 Add section for typefind helper and add documentation
7811 for the old and the new function.
7813 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7815 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
7816 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
7817 (gst_type_find_helper_for_buffer):
7818 * libs/gst/base/gsttypefindhelper.h:
7819 New API: gst_type_find_helper_for_buffer() (#332723).
7821 2006-02-27 Michael Smith <msmith@fluendo.com>
7823 Patch by: Loïc Minier
7827 * docs/slides/Makefile.am:
7828 prevent CVS directories getting disted.
7830 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7832 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
7833 Use the REFCOUNTING category for caps refcounting.
7835 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
7837 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
7838 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
7840 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
7842 * plugins/elements/gsttypefindelement.c:
7843 (gst_type_find_element_activate):
7844 Use gst_pad_check_pull_range() before _activate_pull()
7845 to avoid unnecessary open/close (see #331690).
7847 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
7850 Docs enhancement: make it crystal clear what the
7851 gst_pad_add_*_probe() callbacks should look like.
7853 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
7855 * libs/gst/base/gstbasesrc.c:
7856 Document how applications can stop recording from
7857 live sources (see #330996).
7859 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7861 * tests/check/Makefile.am:
7862 * tests/check/libs/basesrc.c: (eos_event_counter),
7863 (basesrc_eos_events_pull), (basesrc_eos_events_push),
7864 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
7865 (gst_basesrc_suite), (main):
7866 ... and add some tests for the base source EOS stuff.
7868 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7870 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
7871 Test case originally showed the problem fixed below,
7872 but was then amended. Add checks back at the place
7873 where they used to be.
7875 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7877 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7878 (gst_base_src_init), (gst_base_src_loop),
7879 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7880 (gst_base_src_change_state):
7881 * libs/gst/base/gstbasesrc.h:
7882 Don't unconditionally send EOS when going from PAUSED to
7883 READY state, esp. make sure we don't send two EOS events
7884 in some cases (e.g. one when reaching EOS and one when
7885 going from PAUSED to READY). Also, we don't want to send
7886 EOS events when operating in pull mode. However, we do
7887 want to send an EOS event when shutting down a live
7888 source explicitly, for example (fixes #330996).
7890 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7892 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7893 Update src->read_position after a seek when not using mmap.
7894 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
7896 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
7902 Make things work with --disable-parse as they do with
7903 --disable-load-save - the symbols involved disappear, but the
7904 header is still installed and GST_DISABLE_PARSE is included via
7907 2006-02-20 Julien MOUTTE <julien@moutte.net>
7909 * libs/gst/base/gstbasetransform.c:
7910 (gst_base_transform_change_state): Fix a stupid bug. I was
7911 sure I compiled that.
7913 2006-02-20 Julien MOUTTE <julien@moutte.net>
7915 * gst/gstpad.c: (gst_pad_set_blocked_async):
7916 * gst/gstutils.c: (gst_pad_add_data_probe),
7917 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7918 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7919 (gst_pad_remove_buffer_probe): Make those function act on the
7920 ghostpad target when it's a ghostpad. (Closes #331727)
7922 2006-02-20 Julien MOUTTE <julien@moutte.net>
7924 * libs/gst/base/gstbasetransform.c:
7925 (gst_base_transform_change_state): Make basetransform reusable.
7928 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
7930 * docs/random/release:
7931 Move the current documentation of how to do a release to the top
7934 * gst/gstbin.c: (gst_bin_class_init),
7935 (gst_bin_handle_message_func):
7936 Allow multiple state-recalculation threads. (Closes #328873)
7938 2006-02-19 Julien MOUTTE <julien@moutte.net>
7940 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
7941 * gst/gstpad.c: (gst_pad_set_event_function),
7942 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7943 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
7944 2 strings. You can't use the STR_NULL macro on that.
7946 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
7948 * gst/gstpad.c: (gst_pad_set_event_function),
7949 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7950 (gst_pad_set_getcaps_function)
7951 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
7952 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
7953 So now, we can use --gst-debug-level=5 on Windows
7954 * win32/common/libgstcontroller.def:
7955 Added export of gst_controller_init
7956 * win32/vs6/libgstcontroller.dsp:
7957 Fixed Release post build configuration
7959 2006-02-17 Wim Taymans <wim@fluendo.com>
7961 * tests/check/gst/gstquery.c: (GST_START_TEST):
7962 Added another check.
7964 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
7966 * plugins/elements/gsttypefindelement.c: (find_peek):
7967 We can do peeks at non-zero offsets, as long as they
7968 fall within the buffer we have.
7970 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
7972 * tests/check/Makefile.am:
7973 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
7974 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
7975 (parse_suite), (main):
7976 Add testsuite for parse launch syntax
7978 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
7980 * plugins/elements/gsttypefindelement.c:
7981 (gst_type_find_element_chain):
7982 When typefinding is unsuccessful in the chain function, don't
7983 error out immediately. Only error out with NO_CAPS_FOUND if
7984 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
7985 otherwise simply wait for more data so we can try typefinding
7986 again with more data later. Also, don't attempt to typefind
7987 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
7988 this should improve typefinding from network sources where the
7989 size of the first buffer can be somewhat random.
7991 2006-02-14 Wim Taymans <wim@fluendo.com>
7993 * docs/gst/gstreamer-sections.txt:
7994 * gst/gstpadtemplate.c:
7995 * gst/gstpadtemplate.h:
7996 Fix padtemplate docs, fixes #328805.
7998 2006-02-14 Wim Taymans <wim@fluendo.com>
8000 * tools/gst-launch.c: (main):
8001 NO_PREROLL is not an ERROR so don't send confusing messages
8004 2006-02-14 Wim Taymans <wim@fluendo.com>
8006 Patch by: Torsten Schoenfeld
8008 * gst/gstregistry.c: (gst_registry_get_default),
8009 (_gst_registry_cleanup):
8010 Protect default registry with lock and ref/sink it.
8013 2006-02-14 Wim Taymans <wim@fluendo.com>
8016 * gst/gstquery.c: (gst_query_list_add_format),
8017 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8018 (gst_query_parse_formats_nth):
8019 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8022 2006-02-14 Wim Taymans <wim@fluendo.com>
8024 * docs/gst/gstreamer-sections.txt:
8025 Reworked query docs.
8027 * gst/gstquery.c: (gst_query_new_formats),
8028 (gst_query_list_add_format), (gst_query_set_formats),
8029 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8030 (gst_query_parse_formats_nth):
8032 Flesh out formats query, added some new methods.
8033 Fix part of #324398.
8035 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8036 Added query creation tests.
8038 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
8040 * gst/gstpad.c: (fixate_value):
8041 Add a default fixation for fraction lists.
8043 2006-02-13 Wim Taymans <wim@fluendo.com>
8045 * gst/gsttask.c: (gst_task_init), (gst_task_func),
8046 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8049 Detect and warn for obvious deadlocks. fixes #320340
8050 Fix error case where lock was not released.
8052 * tests/check/Makefile.am:
8053 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8054 (task_func), (gst_element_suite), (main):
8057 2006-02-13 Wim Taymans <wim@fluendo.com>
8059 * docs/gst/gstreamer-sections.txt:
8061 Add new functions to docs.
8063 2006-02-13 Wim Taymans <wim@fluendo.com>
8065 * docs/design/part-TODO.txt:
8066 Updated TODO list, basesrc supports seeking to non-bytes
8069 * docs/design/part-element-sink.txt:
8072 * gst/gstbin.c: (bin_replace_message),
8073 (gst_bin_handle_message_func):
8074 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8075 * gst/gstevent.c: (gst_event_finalize):
8076 * gst/gstpad.c: (gst_pad_event_default_dispatch),
8077 (gst_pad_send_event):
8078 Use shiny new _TYPE_NAME macros.
8080 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8081 Move debug statement up.
8083 * gst/gstelement.c: (gst_element_set_locked_state):
8086 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
8088 * docs/gst/gstreamer-sections.txt:
8091 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8092 macros (#330906). Also, document the already existing
8093 GST_QUERY_TYPE macro.
8095 2006-02-13 Wim Taymans <wim@fluendo.com>
8097 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8098 (event_probe), (GST_START_TEST):
8099 Only events up to the pipeline EOS are counted, there are
8100 some more when going to NULL currently which we don't care
8103 2006-02-13 Wim Taymans <wim@fluendo.com>
8105 * gst/gstpad.c: (gst_pad_send_event):
8106 Correctly check flushing and emit probes. fixes #330125
8108 2006-02-10 Andy Wingo <wingo@pobox.com>
8110 * gst/gstbus.c (gst_bus_class_init): Declare our private data
8112 (gst_bus_init): Cache the location of the private data in the
8114 (gst_bus_enable_sync_message_emission)
8115 (gst_bus_disable_sync_message_emission): Implement new public
8117 (gst_bus_post): Emit the sync-message signal if the user asked for
8120 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8121 location of the bus-private structure.
8122 (gst_bus_enable_sync_message_emission)
8123 (gst_bus_disable_sync_message_emission): API addition
8125 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
8127 Patch by: Vincent Torri
8129 * docs/pwg/building-boiler.xml:
8130 PWG patch from #326800
8132 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
8136 * docs/design/Makefile.am:
8139 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8144 === release 0.10.3 ===
8146 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8149 releasing 0.10.3, "Like a virgin"
8151 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8154 2nd prerelease of 0.10.3
8155 Bump libtool versioning.
8157 2006-02-07 Andy Wingo <wingo@pobox.com>
8159 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8160 update last_stop if we're in TIME format and the timestamp is
8163 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
8164 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
8165 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8166 If we get a new newsegment with a different format, adapt
8169 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8170 of 0. Not a problem, really.
8172 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8175 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
8180 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
8183 project files updated to the default vs7 configuration
8184 * win32/common/libgstbase.def:
8185 * win32/common/libgstreamer.def:
8187 removed empty lines,
8188 sorted all exported symbols alphabetically
8189 * win32/common/dirent.c:
8190 * win32/common/dirent.h:
8191 * win32/common/gchar.h:
8192 use windows line end.
8194 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8196 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8197 Send EOS event when stopping.
8199 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8202 Tell folks what to do if the plugin-foobar.xml file
8203 hasn't been generated for a newly-added plugin.
8205 2006-02-05 Julien MOUTTE <julien@moutte.net>
8207 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8208 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8209 (gst_collect_pads_start), (gst_collect_pads_stop),
8210 (gst_collect_pads_event): Collectpads now holds a reference
8211 to the GstPad that was added. Indeed we don't want to look
8212 at pads that might just go away with no warning...
8214 2006-02-05 Julien MOUTTE <julien@moutte.net>
8216 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8217 (gst_collect_pads_start), (gst_collect_pads_stop),
8218 (gst_collect_pads_event), (gst_collect_pads_chain):
8219 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8220 Mark Nauwelaerts's patch on bug #328491.
8222 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8224 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8226 Add some simple tests for gst_parse_bin_from_description() and
8227 gst_bin_find_unconnected_pad() (#329069).
8229 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8231 * tools/gst-launch.c: (event_loop), (main):
8232 Catch errors during preroll (#320084).
8234 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
8236 * plugins/elements/gsttypefindelement.c:
8237 (gst_type_find_element_activate):
8238 Post TYPE_NOT_FOUND error message when typefinding
8239 is unsuccessful in the activate function as well.
8241 2006-02-02 Wim Taymans <wim@fluendo.com>
8243 * docs/design/part-element-sink.txt:
8246 2006-02-02 Wim Taymans <wim@fluendo.com>
8248 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8249 (gst_base_sink_render_object),
8250 (gst_base_sink_queue_object_unlocked):
8251 Only keep track of prerollable items when we are
8253 Before rendering after preroll, always check if we
8255 Added some more debugging.
8257 2006-02-02 Wim Taymans <wim@fluendo.com>
8259 * gst/gstelement.c: (gst_element_continue_state),
8260 (gst_element_set_state_func), (gst_element_change_state):
8261 Fixed #326576, been running this for quite some time with
8262 no regressions at all.
8264 2006-02-02 Wim Taymans <wim@fluendo.com>
8267 Added more suppressions
8269 2006-02-02 Wim Taymans <wim@fluendo.com>
8271 * docs/design/part-element-sink.txt:
8274 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8275 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8276 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8277 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8278 (gst_base_sink_do_sync), (gst_base_sink_render_object),
8279 (gst_base_sink_preroll_object),
8280 (gst_base_sink_queue_object_unlocked),
8281 (gst_base_sink_queue_object), (gst_base_sink_event),
8282 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8283 (gst_base_sink_loop), (gst_base_sink_activate_pull),
8284 (gst_base_sink_get_position), (gst_base_sink_change_state):
8285 * libs/gst/base/gstbasesink.h:
8286 Totally refactored matching the design doc.
8287 Use two segments, one to clip incomming buffers and another to
8289 Handle queueing correctly, bypass the queue when playing.
8290 Make EOS cancelable.
8291 Handle errors correctly when operating in pull based mode.
8293 * tests/check/elements/fakesink.c: (GST_START_TEST),
8295 Added new check for sinks.
8297 2006-02-02 Wim Taymans <wim@fluendo.com>
8299 * gst/gstsegment.c: (gst_segment_clip):
8300 No reason to refuse to clip when start == -1
8302 2006-02-02 Stefan Kost <ensonic@users.sf.net>
8305 * docs/manual/intro-basics.xml:
8306 * docs/manual/intro-preface.xml:
8307 * docs/manual/manual.xml:
8308 * docs/pwg/advanced-dparams.xml:
8309 * docs/pwg/intro-basics.xml:
8310 * docs/pwg/intro-preface.xml:
8312 describe dparams (controller) for plugins
8313 unify docs a little more
8315 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
8317 * docs/gst/gstreamer-sections.txt:
8318 * gst/gstutils.c: (element_find_unconnected_pad),
8319 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8321 Add new API: gst_parse_bin_from_description() and
8322 gst_bin_find_unconnected_pad() (#329069).
8324 2006-02-01 Stefan Kost <ensonic@users.sf.net>
8326 * docs/manual/README:
8327 uncover a nasty detail of the docs build
8329 2006-01-31 Wim Taymans <wim@fluendo.com>
8331 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8332 Don't cache duration messages if we're not going to use or
8335 2006-01-31 Stefan Kost <ensonic@users.sf.net>
8337 * docs/manual/advanced-dparams.xml:
8338 * docs/pwg/advanced-dparams.xml:
8342 * libs/gst/controller/lib.c: (gst_controller_init):
8345 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
8347 * gst/gstelement.c: (gst_element_message_full):
8348 also show file/line/func if no additional debug was given
8350 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
8352 * win32/vs7/grammar.vcproj:
8353 activate copy of autogenerated files for Release mode
8355 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8357 * win32/common/libgstreamer.def:
8358 export gst_value_compare
8360 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
8362 * plugins/elements/Makefile.am:
8363 * plugins/elements/gstelements.c:
8364 * plugins/elements/gstfdsink.c: (_do_init),
8365 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8366 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8367 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8368 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8369 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8370 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8371 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8372 * plugins/elements/gstfdsink.h:
8373 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8375 2006-01-30 Stefan Kost <ensonic@users.sf.net>
8377 * docs/manual/advanced-dparams.xml:
8379 * docs/manual/advanced-position.xml:
8380 * docs/manual/basics-init.xml:
8381 * docs/manual/manual.xml:
8382 * docs/manual/titlepage.xml:
8384 * docs/pwg/titlepage.xml:
8385 cleanup xml (more to come)
8386 * libs/gst/controller/gstcontroller.c:
8389 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8391 * win32/vs6/grammar.dsp:
8392 add autogen of gstmarshal.c,h for Release mode
8394 2006-01-30 Wim Taymans <wim@fluendo.com>
8396 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8397 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8398 (gst_base_sink_handle_object), (gst_base_sink_event),
8399 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8400 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8401 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8402 (gst_base_sink_deactivate), (gst_base_sink_activate),
8403 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8404 (gst_base_sink_query), (gst_base_sink_change_state):
8405 Basesink cleanups, remove some old code.
8406 Handle the case where a subclass can preroll in the render
8407 method (mostly audiosinks).
8409 Remove some locks around variables that are now protected
8410 with the PREROLL_LOCK (clock_id, flushing, ..).
8411 Optimize position query some more, do correct locking.
8412 Remove old code to push queue in state change, this is not
8413 needed anymore since preroll blocks on all prerollable items
8415 Almost implemented as described in design doc.
8417 2006-01-30 Wim Taymans <wim@fluendo.com>
8419 * tests/check/gst/gstbin.c: (GST_START_TEST):
8420 Wait for refcount to settle down before checking.
8422 2006-01-30 Wim Taymans <wim@fluendo.com>
8424 * docs/design/part-element-sink.txt:
8425 Pseudo code overview of desired sink behaviour regarding
8428 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8429 * win32/vs6/grammar.dsp:
8430 fix some bugs in Release mode for autogenerated files
8432 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8433 * win32/common/libgstbase.def:
8434 * win32/common/libgstreamer.def:
8435 export some new symbols: gst_base_src_set_format,
8436 gst_iterator_next, gst_structure_set_valist
8438 2006-01-29 Julien MOUTTE <julien@moutte.net>
8440 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8441 Set pad functions unconditionally. Fixes #329105.
8443 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8445 add vs8 project files created by Sergey Scobich
8447 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
8449 * gst/gstutils.c: (gst_element_unlink_pads):
8450 Don't leak pad references.
8452 * tests/check/elements/fakesink.c: (GST_START_TEST):
8453 * tests/check/generic/sinks.c: (GST_START_TEST):
8454 * tests/check/generic/states.c: (GST_START_TEST):
8455 * tests/check/gst/gstbin.c: (GST_START_TEST):
8456 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8457 * tests/check/gst/gstelement.c: (GST_START_TEST):
8458 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8459 * tests/check/gst/gstiterator.c: (GST_START_TEST):
8460 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8461 Fix a bunch of leaks. Make generic/sinks.c
8462 use a bit less cpu by slowing the buffer rate
8463 between fakesrc and fakesink.
8465 2006-01-27 Stefan Kost <ensonic@users.sf.net>
8467 * gst/gstelement.c: (gst_element_send_event):
8470 * gst/gstiterator.c:
8471 * gst/gstiterator.h:
8472 * gst/gstpad.c: (gst_pad_send_event):
8473 * gst/gststructure.c:
8477 * libs/gst/base/gstadapter.c:
8478 doc fixes, to link to function, just write gst_cool_function(), don't
8481 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8483 * plugins/elements/gsttee.c: (gst_tee_do_push),
8484 (gst_tee_handle_buffer):
8485 Always prefer an actual return value from a src
8486 pad in place of NOT_LINKED. This means we return
8487 WRONG_STATE when all src pads are WRONG_STATE
8488 instead of NOT_LINKED.
8490 Lock when replacing the last message to prevent
8491 racing with the get_property method.
8495 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8497 * tests/check/Makefile.am:
8498 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8500 Add a very simple check that should have caught the memleak I fixed
8501 last night (if not for the slice allocator hiding it)
8503 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8505 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8506 (gst_bin_remove_func), (gst_bin_handle_message_func),
8507 (bin_query_duration_fold), (bin_query_generic_fold):
8508 Clean up references to the clock provider when disposed or when
8509 handling a clock-lost message from it.
8511 Unref sinks when performing a query via gst_iterator_fold, as the
8512 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8514 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8515 (gst_clock_set_master):
8516 Drop our reference to the master clock, if any, when we are disposed.
8518 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8519 Chain up in dispose.
8521 2006-01-26 Wim Taymans <wim@fluendo.com>
8523 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8526 2006-01-26 Julien MOUTTE <julien@moutte.net>
8528 * plugins/elements/gsttee.c: (gst_tee_do_push),
8529 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8530 handles pad being NOT_LINKED or in WRONG_STATE.
8532 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8537 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8540 remove obsolete entry
8542 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8544 * docs/gst/gstreamer-sections.txt:
8545 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8546 (gst_bin_iterate_sources), (gst_bin_send_event):
8548 * gst/gstelement.c: (gst_element_send_event):
8550 * gst/gstpad.c: (gst_pad_send_event):
8551 added code for downstream events, reviewed docs in gstevent.c
8553 2006-01-25 Julien MOUTTE <julien@moutte.net>
8555 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8556 We only query position using the clock in the playing state.
8557 Query peer in the other cases.
8558 * win32/common/config.h: Updates.
8560 2006-01-24 Wim Taymans <wim@fluendo.com>
8562 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8563 A clock entry that is scheduled for the exact time of the
8564 clock is still in time.
8566 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8567 (gst_base_sink_do_sync):
8568 Add some more debug info.
8570 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8573 Add new vs7 project files and solution.
8575 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8578 all files removed as they were out-dated.
8580 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8582 * docs/random/release:
8584 * gst/gstbin.c: (gst_bin_init):
8585 * gst/gstbus.c: (gst_bus_new):
8587 * gst/gstpipeline.c: (gst_pipeline_init):
8588 use gst_bus_new(), improve logging, fix docs
8589 * win32/common/config.h:
8590 update for cvs build
8592 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8595 up required version of automake to 1.7
8597 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
8599 * win32/common/libgstreamer.def:
8600 export gst_buffer_is_metadata_writable
8602 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
8604 * docs/gst/gstreamer-sections.txt:
8606 Add gst_event_replace() (#327001)
8608 2006-01-20 Wim Taymans <wim@fluendo.com>
8610 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8611 Make it actually compile too..
8613 2006-01-20 Wim Taymans <wim@fluendo.com>
8616 Clarify behaviour of _is_equal() when passing NULL parameters.
8618 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8620 Cleanups. Don't unref NULL caps.
8621 When setting the same caps, protect caps of the pad with
8623 Use full functionality of _is_equal() when comparing caps.
8625 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8627 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8628 Don't loop infinitely if there are no buffers to present. Partially
8629 fixes #327197, but collectpads is just broken for reusing elements
8630 to do multiple encodes atm.
8632 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8634 * tools/gst-inspect.c: (print_element_features):
8635 * tools/gst-xmlinspect.c: (main):
8636 URL_HANDLER is not a plugin feature we can search for in
8639 2006-01-19 Edward Hervey <edward@fluendo.com>
8641 * gst/gstelement.c: (gst_element_pads_activate):
8642 When activating, do src pads first, then sink pads.
8643 When de-activating, do sink pads first, then src pads.
8645 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8647 * docs/gst/gstreamer-sections.txt:
8648 Add gst_index_add_associationv to the docs
8650 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8655 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8656 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8657 Do some refactoring. Doesn't actually change functionality,
8658 but makes landing the DRAIN event easier later.
8660 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
8662 * docs/pwg/advanced-scheduling.xml:
8663 Update from 0.9.x to 0.10 API and make example a bit
8666 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8668 * docs/gst/gstreamer-sections.txt:
8669 Add gst_buffer_(is|make)_metadata_writable methods.
8671 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8673 * docs/design/part-sparsestreams.txt:
8674 Update sparse streams doc, hopefully for greater clarity
8676 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
8678 * docs/design/part-events.txt:
8679 Remove mention of FILLER events.
8682 * docs/design/part-sparsestreams.txt:
8683 Write some things about using NEWSEGMENT to keep sparse streams
8686 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8688 * gst/gstbin.c: (gst_bin_dispose):
8689 Guard gst_object_unref call against a NULL object (dispose
8690 can theoretically be called multiple times).
8692 2006-01-18 Wim Taymans <wim@fluendo.com>
8694 * gst/gstbin.c: (gst_bin_element_set_state):
8695 * gst/gstclock.c: (gst_clock_id_wait):
8696 Added some more debug info.
8698 * libs/gst/base/gstadapter.c:
8701 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8702 (gst_base_sink_do_sync), (gst_base_sink_chain):
8703 Added some comments.
8705 2006-01-18 Wim Taymans <wim@fluendo.com>
8707 * tests/check/Makefile.am:
8708 * tests/check/elements/fakesink.c: (chain_async_buffer),
8709 (chain_async), (chain_async_return), (GST_START_TEST),
8710 (fakesink_suite), (main):
8711 Added fakesink test that checks prerolling and clipping
8714 * tests/check/gst/gstutils.c: (GST_START_TEST):
8715 Make check run faster so that buildbots don't timeout.
8717 2006-01-18 Wim Taymans <wim@fluendo.com>
8719 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8720 (gst_base_sink_do_sync):
8722 When the sink finishes blocking on the preroll buffer, it can
8723 immediatly render it instead of rendering when the next buffer
8726 2006-01-18 Wim Taymans <wim@fluendo.com>
8728 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8729 (gst_base_sink_get_property), (gst_base_sink_do_sync),
8730 (gst_base_sink_chain):
8732 GST_ELEMENT_CLOCK and sync are protected with LOCK.
8733 Don't store _last_stop if the buffer is dropped.
8735 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8737 * plugins/elements/gsttypefindelement.c:
8738 (gst_type_find_element_class_init):
8739 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8740 object method handler that sets the caps on the pad and we want
8741 that to happen before we emit the signal (fixes e.g. feeding a
8742 plain text file to decodebin).
8744 2006-01-18 Christian Schaller <Christian@fluendo.com>
8746 * gst/gstplugin.c: Add MPL and Proprietary as license options
8748 2006-01-18 Andy Wingo <wingo@pobox.com>
8750 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8751 symbol was exported before, it appears this was just an oversight.
8753 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
8755 * gst/gstindex.c (gst_index_add_associationv): Changed int in
8756 prototype to gint. OK since this prototype was not in the header.
8758 2006-01-17 Andy Wingo <wingo@pobox.com>
8760 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
8761 registry while we remove plugins.
8763 * tools/gst-inspect.c (print_element_info): Don't unref the
8764 factory arg, that should be the responsibility of whatever code
8765 received the ref. Fixes a double-free when called from
8766 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
8767 (main): Unref the factory if we have one.
8768 (print_element_list): No change -- relies on the
8769 plugin_feature_list_free to free the list of features.
8771 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
8773 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8774 (gst_buffer_make_metadata_writable):
8776 * libs/gst/base/gstbasetransform.c:
8777 (gst_base_transform_prepare_output_buf):
8778 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8779 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8780 Replace gst_buffer_(make|is)_metadata_writable patch now
8781 that the release is out.
8783 2006-01-17 Andy Wingo <wingo@pobox.com>
8785 * gst/gstregistry.c: Reflow design comment. Update so as to speak
8786 in the present tense without reference to versions.
8788 * gst/gstregistry.c (gst_registry_add_plugin)
8789 (gst_registry_remove_plugin, gst_registry_remove_feature)
8790 (gst_registry_find_feature, gst_registry_get_feature_list)
8791 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
8792 (gst_registry_lookup, gst_registry_scan_path)
8793 (_gst_registry_remove_cache_plugins)
8794 (gst_registry_get_feature_list_by_plugin): Add argument
8797 === release 0.10.2 ===
8799 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
8802 releasing 0.10.2, "If man is five"
8804 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8808 * libs/gst/base/gstbasetransform.c:
8809 (gst_base_transform_prepare_output_buf):
8810 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8811 * tests/check/gst/gstbuffer.c: (gst_test_suite):
8812 Back out patch until after the release.
8814 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8816 * gst/gstminiobject.c:
8817 Spelling fix in docs.
8818 * ChangeLog - remove conflict indicator
8820 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8822 Reviewed By: Andy Wingo
8824 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8825 (gst_buffer_make_metadata_writable):
8827 Add gst_buffer_(is|make)_metadata_writable as analogues of
8828 gst_buffer_(is|make)_writable.
8830 * libs/gst/base/gstbasetransform.c:
8831 (gst_base_transform_prepare_output_buf):
8832 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8833 Use name gst_buffer_(is|make)_metadata_writable functions.
8835 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8836 Test gst_buffer_(is|make)_metadata_writable
8840 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
8842 * docs/manual/Makefile.am:
8843 don't do parallel make
8846 * win32/common/config.h.in:
8847 add generations for HOST_CPU and GST_MAJORMINOR
8848 * win32/common/config.h:
8849 commit generated result
8851 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
8853 * docs/manual/appendix-integration.xml:
8854 Update GNOME integration section to use gst_init_get_option_group()
8855 instead of the old popt stuff (#322911). Also, GNOME applications
8856 should now use gconf*sink and gconf*src instead of the old gconf
8859 2006-01-13 Stefan Kost <ensonic@users.sf.net>
8862 * docs/gst/gstreamer-docs.sgml:
8863 * docs/gst/gstreamer-sections.txt:
8864 * docs/libs/gstreamer-libs-sections.txt:
8865 add new API entries to the docs
8866 * libs/gst/controller/Makefile.am:
8867 * libs/gst/controller/gstcontroller.c:
8868 * libs/gst/controller/gstcontroller.h:
8869 * libs/gst/controller/gstcontrollerprivate.h:
8870 * libs/gst/controller/gsthelper.c:
8871 * libs/gst/controller/gstinterpolation.c:
8872 move private structs to private header
8874 gstreamer-0.7 -> gstreamer-0.10
8875 * tests/check/libs/struct_i386.h:
8876 remove private structs
8878 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
8880 * plugins/indexers/Makefile.am:
8881 Fixes as part of #317048
8883 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
8885 * plugins/indexers/Makefile.am:
8886 fix #316086 - compilation when mmap is missing
8888 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
8890 * libs/gst/base/gstbasesink.c:
8891 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
8892 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
8893 * win32/common/config.h:
8894 added some defines GST_MAJORMINOR and HOST_CPU
8895 * win32/common/libgstbase.def:
8896 * win32/common/libgstreamer.def:
8897 added some exported functions.
8899 2006-01-12 Stefan Kost <ensonic@users.sf.net>
8901 * libs/gst/controller/gstcontroller.c:
8902 (gst_controlled_property_set_interpolation_mode),
8903 (gst_controlled_property_new):
8904 * libs/gst/controller/gstcontroller.h:
8905 * libs/gst/controller/gstinterpolation.c:
8906 (interpolate_none_get_string_value_array):
8907 make G_TYPE_STRING controlable
8909 2006-01-12 Stefan Kost <ensonic@users.sf.net>
8912 * tools/gst-feedback.1.in:
8913 * tools/gst-inspect.1.in:
8914 * tools/gst-launch.1.in:
8915 * tools/gst-md5sum.1.in:
8916 * tools/gst-typefind.1.in:
8917 * tools/gst-xmlinspect.1.in:
8918 * tools/gst-xmllaunch.1.in:
8919 cleanup man-pages, remove reference to gst-register, document env-vars
8921 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
8923 * gst/gstbuffer.c: (gst_buffer_span):
8924 gst_buffer_span should copy the timestamp of the first buffer
8925 if they were both originally overlapping subbuffers of the
8926 same parent, using the same logic as the 'slow copy' case.
8928 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
8930 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
8931 Need to awaken ALL the pads when we pop a buffer, otherwise
8932 collectpads only works when there is 2 input streams.
8934 2006-01-11 Stefan Kost <ensonic@users.sf.net>
8936 * docs/random/ensonic/media-device-daemon.txt:
8939 fix doc example, add clarification
8940 * tools/gst-launch.1.in:
8941 add initial info about GST_PLUGIN_PATH, needs more work
8943 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
8945 * docs/manual/basics-bins.xml:
8946 * docs/manual/basics-elements.xml:
8947 * docs/manual/intro-basics.xml:
8948 Some more minor docs additions and updates.
8950 2006-01-11 Wim Taymans <wim@fluendo.com>
8952 * docs/manual/basics-bins.xml:
8953 * docs/manual/basics-elements.xml:
8954 Some small fixes as pointed out by Ser-ver on IRC.
8956 2006-01-10 Edward Hervey <edward@fluendo.com>
8958 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8959 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
8960 the single-segment mode.
8962 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
8964 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8966 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
8967 (gst_base_src_perform_seek), (gst_base_src_send_event),
8968 (gst_base_src_set_property), (gst_base_src_get_property),
8969 (gst_base_src_loop), (gst_base_src_start),
8970 (gst_base_src_activate_push):
8971 * libs/gst/base/gstbasesrc.h:
8972 Name (private) union; makes Sun's Forte compiler happy (#324900).
8974 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
8977 gst-register is gone.
8979 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
8981 * gst/gstvalue.c: (_gst_value_initialize):
8982 make the G_TYPE_DATE instantiation work if debug is disabled
8984 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
8986 * gst/gstmessage.c: (gst_message_parse_tag),
8987 (gst_message_parse_error), (gst_message_parse_warning):
8988 Don't crash when return location for error/warning debug
8989 string is NULL; add fact that return locations can be
8990 NULL to docs where appropriate.
8992 2006-01-05 Wim Taymans <wim@fluendo.com>
8994 * gst/gstplugin.c: (gst_plugin_load_file):
8995 Replace strdup by g_strdup.
8997 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
8999 * docs/pwg/advanced-types.xml:
9002 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9004 submitted by: Abel Cheung
9008 Added Chinese (traditional) translation
9010 2006-01-04 Wim Taymans <wim@fluendo.com>
9012 * docs/manual/basics-pads.xml:
9013 * docs/plugins/Makefile.am:
9014 * docs/plugins/gstreamer-plugins-docs.sgml:
9015 * docs/plugins/gstreamer-plugins-sections.txt:
9016 * docs/pwg/advanced-clock.xml:
9017 * docs/pwg/advanced-scheduling.xml:
9018 * docs/pwg/advanced-types.xml:
9019 * plugins/elements/gstfdsink.c:
9020 * plugins/elements/gstfdsrc.c:
9021 * plugins/elements/gstfdsrc.h:
9022 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9023 * plugins/elements/gstidentity.h:
9024 * plugins/elements/gstqueue.h:
9025 * plugins/elements/gsttee.c:
9026 * plugins/elements/gsttee.h:
9027 * plugins/elements/gsttypefindelement.c:
9028 (gst_type_find_element_class_init):
9029 * plugins/elements/gsttypefindelement.h:
9030 Small updates to various docs.
9031 Added core plugins to docs.
9033 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9036 add a suppression for liboil's uninitialized variable
9038 2006-01-02 James Livingston <jrl at ids dot org dot au>
9040 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9043 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9044 macro, so that gcc doesn't complain if the -Wmissing-prototypes
9045 compiler switch is being used (#325429).
9047 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
9049 * gst/gstbin.c: (gst_bin_query):
9050 Disable duration query caching in bins until it gets
9051 fixed (see #324807).
9053 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9055 * tools/gst-inspect.c: (print_element_properties_info):
9056 Handle properties of POINTER and BOXED type.
9058 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9060 * gst/gst.c: (init_post):
9061 Init tags stuff and some other things before loading
9062 any static plugins (there may be other static plugins
9063 than just the GStreamer ones, and they may want to
9064 register their own tags or formats or whatever, and
9065 preferably without segfaulting).
9067 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9068 Print at least a warning in the debug logs if we drop a
9069 query just because we don't know how to adjust the value
9070 in the particular format.
9072 2005-12-24 David Schleef <ds@schleef.org>
9074 * tools/gstreamer-completion:
9075 Replacement for gst-complete written in sh and sed. Only
9076 completes names of features, but that's 90% of what I want
9077 it for. Properties are not available in registry.xml. (Maybe
9080 === release 0.10.1 ===
9082 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
9085 releasing 0.10.1, "Nollaig chridheil"
9087 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
9090 Add missing quote, should be make ERROR_CFLAGS="".
9092 2005-12-20 Wim Taymans <wim@fluendo.com>
9094 * docs/design/part-trickmodes.txt:
9095 More documentation on trickmodes.
9097 2005-12-20 Edward Hervey <edward@fluendo.com>
9099 * gst/gstcaps.c: (gst_static_caps_get_type):
9101 API addition: GST_TYPE_STATIC_CAPS
9102 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9103 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9104 * gst/gstpadtemplate.h:
9105 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9106 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9109 2005-12-18 Wim Taymans <wim@fluendo.com>
9111 * libs/gst/base/gstadapter.c:
9112 * libs/gst/base/gstadapter.h:
9113 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9114 (gst_base_sink_get_position):
9115 * libs/gst/base/gstbasesink.h:
9116 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9117 (gst_base_src_default_query), (gst_base_src_default_do_seek),
9118 (gst_base_src_do_seek), (gst_base_src_perform_seek),
9119 (gst_base_src_send_event), (gst_base_src_update_length),
9120 (gst_base_src_get_range), (gst_base_src_loop),
9121 (gst_base_src_start):
9122 * libs/gst/base/gstbasesrc.h:
9123 * libs/gst/base/gstbasetransform.h:
9124 * libs/gst/base/gstcollectpads.h:
9125 * libs/gst/base/gstpushsrc.c:
9126 * libs/gst/base/gstpushsrc.h:
9127 * libs/gst/dataprotocol/dataprotocol.c:
9128 * libs/gst/dataprotocol/dataprotocol.h:
9129 * libs/gst/net/gstnetclientclock.h:
9130 * libs/gst/net/gstnettimeprovider.h:
9131 Documentation updates.
9133 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
9135 * docs/manual/basics-helloworld.xml:
9136 Remove superfluous closing bracket in helloworld example.
9138 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
9140 * tools/gst-launch.1.in:
9141 Update gst-launch man page; add a section with useful
9142 environment variables. Fixes #323882.
9144 2005-12-16 Stefan Kost <ensonic@users.sf.net>
9147 * gst/gst_private.h:
9148 change some char* into char[]
9150 2005-12-16 Wim Taymans <wim@fluendo.com>
9152 * gst/gstregistryxml.c: (load_feature):
9154 Don't use g_object_unref on GstObjects so that we avoid
9155 leaks on unsafe glibs.
9157 2005-12-16 Wim Taymans <wim@fluendo.com>
9159 * gst/gstbin.c: (gst_bin_recalc_state):
9162 2005-12-16 Wim Taymans <wim@fluendo.com>
9165 Added make forever target for check.
9167 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
9169 * gst/gst.c: (init_post):
9170 make the registry cache file HOST_CPU-dependent
9172 2005-12-16 Andy Wingo <wingo@pobox.com>
9174 * plugins/elements/gstbufferstore.c
9175 (gst_buffer_store_cleared_func): Pay attention to g_list_append
9178 * tests/check/gst/gstobject.c
9179 (test_fake_object_name_threaded_unique): Pay attention to
9180 g_list_sort return value.
9182 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
9184 * tools/gst-feedback-m.m:
9185 Update for 0.9/0.10 (fixes #323870).
9187 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
9189 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9190 Fix lcopy for mini objects, the mini object needs to be ref'ed.
9192 * tests/check/gst/gstminiobject.c: (my_foo_init),
9193 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9194 (test_value_collection), (gst_mini_object_suite):
9195 Add test to ensure refcounts end up as expected when passing
9196 GstMiniObjects through g_object_get() and g_object_set().
9198 2005-12-14 Julien MOUTTE <julien@moutte.net>
9200 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9201 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9202 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9203 of collectpads. This version removes a lot of races without
9204 touching API/ABI. Yay !
9206 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
9208 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9209 Don't allow activation of a srcpad in pull_range if it has no
9211 Change some debug statements to be a little clearer
9213 * plugins/elements/gsttypefindelement.c:
9214 (gst_type_find_handle_src_query):
9215 Check that we have a peer before executing queries thereupon.
9217 * tests/examples/metadata/read-metadata.c: (message_loop):
9218 Use gst_bus_pop instead of gst_bus_poll when we just want it to
9219 immediately return us any available message with 0 timeout.
9221 2005-12-12 Michael Smith <msmith@fluendo.com>
9223 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9224 Don't unref factories after calling them.
9225 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9226 * plugins/elements/gsttypefindelement.c:
9227 (gst_type_find_element_chain):
9228 Free lists of factories after using them. Fixing typefinding memory
9231 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9233 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9234 (gst_plugin_feature_load):
9235 more meaningful debug output
9237 * tests/Makefile.am:
9238 * tests/old/examples/Makefile.am:
9239 make make distcheck happy again
9241 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9243 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9244 Catch the special case where we are operating chain-based,
9245 but the downstream peer pad has no chain function. Emit a
9246 custom error message in this case instead of letting the
9247 core generate one implying that this is some sort of core
9248 bug. It's not, it just means that whatever got plugged
9249 into the pipeline downstream when we announced the type
9250 can only operate pull-based, while our source can only
9251 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9252 Error string has not been marked for translation yet, as
9253 it probably needs some more work first.
9255 (gst_type_find_element_get_best_possibility):
9256 Add helper function to find the best of all available
9257 found possibilities that qualify given the min. threshold.
9259 (gst_type_find_element_handle_event):
9260 Fix the case where we get an EOS while still in TYPEFIND
9261 mode (we want to chose the best of all possible types,
9262 not just the first type that happens to be in our unsorted
9263 list of possible types).
9265 (gst_type_find_element_chain):
9266 Make sure we return GST_FLOW_ERROR when we errored out
9267 in stop_typefinding(); also, don't just find the best of
9268 all found type entries and then use the last examined
9269 type entry, but actually use the best entry.
9271 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9273 * tests/examples/typefind/typefind.c: (type_found):
9274 * tests/examples/xml/runxml.c: (xml_loaded):
9275 More gcc4 fixes and a mem leak fix.
9277 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9279 * tests/examples/xml/createxml.c: (object_saved):
9282 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9284 * tests/Makefile.am:
9285 enable the examples even more
9287 2005-12-12 Andy Wingo <wingo@pobox.com>
9289 * libs/gst/net/gstnettimeprovider.c
9290 (gst_net_time_provider_class_init, gst_net_time_provider_init)
9291 (gst_net_time_provider_set_property)
9292 (gst_net_time_provider_get_property):
9293 API addition: Export "active" as a GObject property.
9294 (gst_net_time_provider_thread): Only respond to time queries if
9295 the time provider is active.
9297 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9298 NetTimeProvider, preserving binary compat.
9300 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9302 * tests/examples/controller/audio-example.c: (main):
9303 * tests/examples/launch/Makefile.am:
9304 convert comments again
9306 2005-12-12 Wim Taymans <wim@fluendo.com>
9308 * libs/gst/base/gstpushsrc.c:
9311 2005-12-12 Wim Taymans <wim@fluendo.com>
9313 * docs/libs/gstreamer-libs-sections.txt:
9314 Added new symbol to docs.
9316 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9317 (gst_base_src_init), (gst_base_src_set_format),
9318 (gst_base_src_default_query), (gst_base_src_query),
9319 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9320 (gst_base_src_perform_seek), (gst_base_src_send_event),
9321 (gst_base_src_default_event), (gst_base_src_event_handler),
9322 (gst_base_src_set_property), (gst_base_src_get_property),
9323 (gst_base_src_wait), (gst_base_src_do_sync),
9324 (gst_base_src_update_length), (gst_base_src_get_range),
9325 (gst_base_src_check_get_range), (gst_base_src_loop),
9326 (gst_base_src_default_negotiate), (gst_base_src_start),
9327 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9328 (gst_base_src_change_state):
9329 * libs/gst/base/gstbasesrc.h:
9330 Implement seeking to other formats than _BYTES.
9331 Implement more seeking methods correctly.
9333 Added query vmethod.
9334 Added do_seek vmethod to make life easier for subclasses
9336 API addition: gst_base_src_set_format()
9338 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9340 * tests/examples/Makefile.am:
9343 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9346 * docs/random/ensonic/media-device-daemon.txt:
9347 * tests/examples/controller/.cvsignore:
9348 * tests/examples/controller/Makefile.am:
9349 * tests/examples/controller/audio-example.c: (main):
9350 * tests/examples/helloworld/.cvsignore:
9351 * tests/examples/helloworld/Makefile.am:
9352 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9353 * tests/examples/launch/.cvsignore:
9354 * tests/examples/launch/Makefile.am:
9355 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9356 * tests/examples/metadata/.cvsignore:
9357 * tests/examples/metadata/Makefile.am:
9358 * tests/examples/metadata/read-metadata.c: (message_loop),
9359 (make_pipeline), (print_tag), (main):
9360 * tests/examples/queue/.cvsignore:
9361 * tests/examples/queue/Makefile.am:
9362 * tests/examples/queue/queue.c: (event_loop), (main):
9363 * tests/examples/typefind/.cvsignore:
9364 * tests/examples/typefind/Makefile.am:
9365 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9367 * tests/examples/xml/.cvsignore:
9368 * tests/examples/xml/Makefile.am:
9369 * tests/examples/xml/createxml.c: (object_saved), (main):
9370 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9371 * tests/old/examples/Makefile.am:
9372 * tests/old/examples/TODO:
9373 * tests/old/examples/controller/.cvsignore:
9374 * tests/old/examples/controller/Makefile.am:
9375 * tests/old/examples/controller/audio-example.c:
9376 * tests/old/examples/helloworld/.cvsignore:
9377 * tests/old/examples/helloworld/Makefile.am:
9378 * tests/old/examples/helloworld/helloworld.c:
9379 * tests/old/examples/launch/.cvsignore:
9380 * tests/old/examples/launch/Makefile.am:
9381 * tests/old/examples/launch/mp3parselaunch.c:
9382 * tests/old/examples/launch/mp3play:
9383 * tests/old/examples/manual/Makefile.am:
9384 * tests/old/examples/metadata/Makefile.am:
9385 * tests/old/examples/metadata/read-metadata.c:
9386 * tests/old/examples/queue/.cvsignore:
9387 * tests/old/examples/queue/Makefile.am:
9388 * tests/old/examples/queue/queue.c:
9389 * tests/old/examples/typefind/.cvsignore:
9390 * tests/old/examples/typefind/Makefile.am:
9391 * tests/old/examples/typefind/typefind.c:
9392 * tests/old/examples/xml/.cvsignore:
9393 * tests/old/examples/xml/Makefile.am:
9394 * tests/old/examples/xml/createxml.c:
9395 * tests/old/examples/xml/runxml.c:
9396 applied some simple fixing to some examples
9397 re-enabled the working examples
9399 2005-12-12 Wim Taymans <wim@fluendo.com>
9401 * gst/gstsegment.c: (gst_segment_init),
9402 (gst_segment_set_last_stop), (gst_segment_set_seek),
9403 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9404 (gst_segment_to_running_time):
9405 Added more documentation.
9406 Make sure the last_pos value is updated properly.
9407 Make sure to_stream_time and to_running_time don't
9408 operate on wrong values.
9410 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9413 2005-12-12 Michael Smith <msmith@fluendo.com>
9415 * plugins/elements/gsttypefindelement.c: (free_entry),
9416 (gst_type_find_element_chain):
9417 Now that we're not leaking factories, make sure we keep references
9418 to them while we need them.
9420 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9422 * tests/check/gst/struct_i386.h:
9423 ifdef out the XML structs
9425 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9427 * gst/gstvalue.c: (gst_value_transform_double_fraction):
9428 floor is not needed, F is always positive; this obviates the
9429 need for adding -lm when building without libxml
9431 2005-12-12 Wim Taymans <wim@fluendo.com>
9433 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9434 Take current playback rate into account when reporting
9437 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9439 * docs/manual/mime-world.fig:
9440 Let's try this again, this time with a file that is
9441 actually in XFig format.
9443 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9445 * docs/manual/mime-world.fig:
9446 Add audioconvert element to diagram so that it
9447 matches the text and the code (fixes #319526).
9449 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9451 * docs/pwg/building-chainfn.xml:
9452 * docs/pwg/building-pads.xml:
9453 * docs/pwg/building-state.xml:
9454 * docs/pwg/other-source.xml:
9455 Update state change stuff for 0.10 (fixes #322969).
9457 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9459 * docs/manual/advanced-dataaccess.xml:
9460 * docs/manual/appendix-checklist.xml:
9461 * docs/manual/appendix-programs.xml:
9462 * docs/manual/basics-pads.xml:
9463 * docs/manual/highlevel-components.xml:
9464 * docs/manual/manual.xml:
9465 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9466 add converters in front of pipelines; remove curly
9467 brackets for threads stuff, they no longer exist; use
9468 GST_TYPE_FRACTION for framerates; update some pieces of
9469 code to 0.10, but there's plenty more to do.
9471 * docs/manual/appendix-porting.xml:
9472 Expand on asynchroneous state changes; s/0.9/0.10/;
9473 mention disappearance of gst_init_get_popt_table()
9476 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9478 * docs/faq/using.xml:
9479 Spider no longer exists, and neither does gst-launch-ext.
9480 Update examples to use decodebin and playbin and put
9481 converters in front of sinks (fixes #323726).
9483 2005-12-09 Michael Smith <msmith@fluendo.com>
9485 * plugins/elements/gsttypefindelement.c: (find_peek),
9486 (gst_type_find_element_chain):
9487 Fix leaking element factories in typefinding.
9488 Fix problem where we forgot about a probable type on non-seekable
9489 files, and thus later mis-typefound it.
9491 2005-12-09 Michael Smith <msmith@fluendo.com>
9493 * common/m4/gst-makecontext.m4:
9494 * common/m4/gst-mcsc.m4:
9496 * win32/common/config.h:
9497 * win32/common/config.h.in:
9498 Remove makecontext stuff; not used in 0.10 and causes problems on
9499 HPUX according to bug #322441
9501 2005-12-07 Wim Taymans <wim@fluendo.com>
9503 * tests/check/Makefile.am:
9504 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9506 * tests/check/libs/struct_i386.h:
9507 Added ABI check for libs
9509 2005-12-07 Wim Taymans <wim@fluendo.com>
9511 * tests/check/Makefile.am:
9512 And add the struct_i386.h to dist.
9514 2005-12-07 Wim Taymans <wim@fluendo.com>
9516 * tests/check/Makefile.am:
9517 * tests/check/gst/.cvsignore:
9518 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9520 * tests/check/gst/struct_i386.h:
9521 Added check for ABI compatibility.
9523 2005-12-07 Wim Taymans <wim@fluendo.com>
9525 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9526 (gst_fake_src_get_times), (gst_fake_src_create):
9527 Fix broken sync option, fixes #323259
9529 2005-12-07 Wim Taymans <wim@fluendo.com>
9534 * gst/gstcaps.c: (gst_caps_is_equal):
9535 Don't assert on NULL <--> X. Fixes #323260
9537 * gst/gstminiobject.c: (gst_mini_object_replace):
9538 If we're doing atomic operations, we might just as well use
9539 the proper way to get an atomic pointer.
9541 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9544 2005-12-07 Michael Smith <msmith@fluendo.com>
9546 * gst/parse/grammar.y:
9547 Remove handling of { } for threads.
9549 2005-12-06 David Schleef <ds@schleef.org>
9551 * libs/gst/base/gstbasetransform.c: speling fix.
9553 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
9555 * docs/libs/tmpl/gstdataprotocol.sgml:
9556 * docs/random/omega/testing/gstobject.c:
9560 * gst/gstelementfactory.c:
9563 * gst/gstghostpad.c:
9565 * gst/gstpadtemplate.c:
9566 * gst/gstregistryxml.c:
9568 * gst/gsttagsetter.c:
9569 * gst/gsttypefind.c:
9571 * libs/gst/base/gstbasesrc.c:
9572 * libs/gst/net/gstnetclientclock.c:
9573 * libs/gst/net/gstnettimeprovider.c:
9574 * plugins/elements/gstfakesrc.c:
9575 * plugins/elements/gstfdsrc.c:
9576 * plugins/elements/gstfilesrc.c:
9577 * plugins/elements/gstidentity.c:
9578 * plugins/elements/gstqueue.c:
9579 * plugins/elements/gsttypefindelement.c:
9580 * plugins/indexers/gstfileindex.c:
9581 * plugins/indexers/gstmemindex.c:
9582 * tests/check/gst/gsttag.c:
9583 * tests/old/examples/cutter/cutter.c:
9584 * tests/old/examples/mixer/mixer.c:
9585 * tests/old/examples/xml/runxml.c: (main):
9586 * tests/old/testsuite/caps/normalisation.c:
9587 * tests/old/testsuite/debug/global.c:
9588 * tests/old/testsuite/parse/parse1.c:
9589 * tools/gst-xmlinspect.c:
9590 * win32/common/dirent.c:
9593 === release 0.10.0 ===
9595 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9598 releasing 0.10.0, "Maroilles"
9600 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9602 submitted by: Funda Wang <fundawang@linux.net.cn>
9606 added Chinese (Traditional) translation
9608 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9610 * docs/gst/gstreamer-sections.txt:
9611 * docs/libs/tmpl/gstdataprotocol.sgml:
9612 * docs/random/thomasvs/TODO:
9617 2005-12-05 Andy Wingo <wingo@pobox.com>
9619 patch by: Wim Taymans <wim@fluendo.com>
9621 * libs/gst/base/gstbasetransform.c
9622 (gst_base_transform_prepare_output_buf)
9623 (gst_base_transform_buffer_alloc):
9624 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9625 alloc_buffer_and_set_caps.
9627 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9628 set_caps on the source pad.
9629 (gst_pad_alloc_buffer_and_set_caps): New function, does what
9630 alloc_buffer used to do. Fixes #322874.
9632 * docs/gst/gstreamer-sections.txt:
9633 * docs/design/part-negotiation.txt:
9634 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9637 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9639 patch by: Sebastien Moutte
9642 * win32/common/config.h.in:
9643 * win32/vs6/libgstcontroller.dsp:
9646 2005-12-05 Wim Taymans <wim@fluendo.com>
9648 * gst/gstcaps.c: (gst_caps_is_equal):
9649 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9650 (gst_fake_src_create):
9651 Back out previous code changes, leave doc updates, file bugs
9654 2005-12-05 Wim Taymans <wim@fluendo.com>
9656 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9657 (gst_fake_src_get_times), (gst_fake_src_create):
9658 * plugins/elements/gstfakesrc.h:
9659 Fix broken sync code.
9661 2005-12-05 Wim Taymans <wim@fluendo.com>
9663 * gst/gstcaps.c: (gst_caps_is_equal):
9664 Comparing NULL against !NULL yields different caps, not a
9667 2005-12-05 Wim Taymans <wim@fluendo.com>
9669 * gst/gstpipeline.c:
9670 Fix small typo in docs.
9672 2005-12-05 Andy Wingo <wingo@pobox.com>
9674 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
9676 * gst/gst.c (init_post): remove hard-coded 0.9 location for
9677 registries/plugins with a MAJORMINOR one.
9678 (plugin_desc): Rename library from gstcoreleements to
9679 staticelements. Fixes #323222.
9681 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
9683 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9684 Change debug category to 'collectpads' from 'collect_pads'
9687 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9689 patch by: Sebastien Moutte
9691 * libs/gst/controller/gstinterpolation.c:
9692 use convert function for uint64/double
9693 * win32/vs6/libgstcontroller.dsp:
9696 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9698 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9699 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9701 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9702 add tests that seem to show that the guint64/gdouble conversions
9705 2005-12-02 Wim Taymans <wim@fluendo.com>
9707 * gst/gstregistry.c: (gst_registry_add_path):
9708 * gst/gstregistry.h:
9709 * gst/gstregistryxml.c:
9712 2005-12-02 Wim Taymans <wim@fluendo.com>
9714 * gst/gstutils.c: (gst_util_uint64_scale_int64),
9715 (gst_util_uint64_scale_int):
9718 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9721 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9724 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9727 * win32/common/config.h:
9728 * win32/vs6/gstreamer.dsw:
9729 * win32/vs6/libgstcoreelements.dsp:
9730 * win32/vs6/libgstelements.dsp:
9731 renamed core elements plugin
9733 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9735 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9737 do piece-wise major/minor comparison so 0.9 < 0.10
9738 also allow .exe extensions for tools
9740 2005-12-02 Michael Smith <msmith@fluendo.com>
9743 Escape a % to make gtkdoc happier; bug 322958.
9745 === release 0.9.7 ===
9747 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9750 releasing 0.9.7, "My Dog Has No Nose"
9752 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9754 * common/gst-xmlinspect.py:
9756 * docs/libs/tmpl/gstdataprotocol.sgml:
9757 * docs/random/release:
9776 * win32/common/config.h:
9777 * win32/common/config.h.in:
9778 * win32/vs6/gst_inspect.dsp:
9779 * win32/vs6/gst_launch.dsp:
9780 * win32/vs6/libgstbase.dsp:
9781 * win32/vs6/libgstelements.dsp:
9782 * win32/vs6/libgstreamer.dsp:
9783 * win32/vs7/GStreamer.vcproj:
9784 * win32/vs7/gst-inspect.vcproj:
9785 * win32/vs7/gst-launch.vcproj:
9786 * win32/vs7/libgstbase.vcproj:
9787 bump GST_MAJORMINOR to 0.10
9788 reset libtool version
9790 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9794 Added Bulgarian translation by (Alexander Shopov)
9796 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9798 * tests/check/gst/gstplugin.c:
9801 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9803 * common/gst-xmlinspect.py:
9804 * common/gtk-doc-plugins.mak:
9807 * docs/gst/Makefile.am:
9808 * docs/gst/gstreamer-docs.sgml:
9809 * docs/gst/gstreamer-sections.txt:
9810 * docs/gst/gstreamer.types:
9811 * docs/gst/gstreamer.types.in:
9812 * docs/plugins/Makefile.am:
9813 * docs/plugins/gstreamer-plugins-docs.sgml:
9814 * docs/plugins/gstreamer-plugins-sections.txt:
9815 * docs/plugins/gstreamer-plugins.types:
9816 * docs/plugins/inspect.stamp:
9817 * docs/plugins/inspect/plugin-coreelements.xml:
9818 * docs/plugins/inspect/plugin-coreindexers.xml:
9819 * docs/plugins/scanobj-build.stamp:
9820 * gstreamer.spec.in:
9821 * plugins/elements/Makefile.am:
9822 * plugins/elements/gstelements.c:
9823 * plugins/elements/gstfakesink.c:
9824 * plugins/elements/gstfakesrc.c:
9825 * plugins/elements/gstfilesink.c:
9826 * plugins/elements/gstfilesrc.c:
9827 * plugins/elements/gstqueue.c:
9828 * plugins/indexers/Makefile.am:
9829 * plugins/indexers/gstindexers.c:
9830 document core plugins in a separate document just like all the
9832 rename these plugins to something starting with core
9834 2005-12-01 Andy Wingo <wingo@pobox.com>
9836 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
9837 padding here before, but it missed the commit.
9839 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9841 * libs/gst/controller/gstinterpolation.c:
9842 whitespace prices have crashed, we should feel free to use some now
9843 use gst_guint64_to_gdouble
9845 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9847 * libs/gst/controller/gstcontroller.c:
9848 * libs/gst/controller/gsthelper.c:
9849 * libs/gst/controller/gstinterpolation.c:
9850 * libs/gst/controller/lib.c:
9851 wrap config.h include
9853 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9855 * docs/gst/gstreamer-sections.txt:
9858 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9860 * plugins/elements/gstelements.c:
9861 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
9862 (gst_fd_sink__class_init), (gst_fd_sink__init),
9863 (gst_fd_sink__chain), (gst_fd_sink__set_property),
9864 (gst_fd_sink__get_property):
9865 * plugins/elements/gstfdsink.h:
9866 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
9867 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
9868 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
9869 (gst_fd_src_unlock), (gst_fd_src_set_property),
9870 (gst_fd_src_get_property), (gst_fd_src_create),
9871 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
9872 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
9873 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
9874 (gst_fd_src_uri_handler_init):
9875 * plugins/elements/gstfdsrc.h:
9876 * plugins/elements/gstqueue.c: (gst_queue_get_type):
9879 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9881 * docs/gst/Makefile.am:
9882 * docs/gst/gstreamer.types.in:
9886 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9892 * gst/gstregistry.h:
9893 * tests/benchmarks/complexity.c:
9894 * tests/benchmarks/mass-elements.c:
9895 * tests/check/Makefile.am:
9896 * tools/Makefile.am:
9897 * tools/gst-inspect.c:
9898 * tools/gst-xmlinspect.c:
9899 various fixes to make
9900 --disable-nls --disable-registry --disable-loadsave
9901 --disable-parse --disable-gst-debug
9902 work and get the core .so down to 360444 bytes after stripping
9904 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9909 * docs/random/thomasvs/TODO:
9910 * tests/Makefile.am:
9914 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9916 * win32/GStreamer.vcproj:
9919 * win32/Makefile.inspect:
9920 * win32/Makefile.launch:
9921 * win32/Makefile.register:
9923 * win32/gst-inspect.vcproj:
9924 * win32/gst-launch.vcproj:
9925 * win32/gst-register.vcproj:
9926 * win32/gstelements.vcproj:
9927 * win32/gstgetbits.def:
9928 * win32/gstgetbits.vcproj:
9929 * win32/gstreamer-dbg.def:
9930 * win32/gstreamer.def:
9931 * win32/libgstbase.def:
9932 * win32/libgstbase.vcproj:
9933 * win32/link_oldruntime.c:
9938 move even more stuff, win32/ is nice and clean now
9940 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9942 * libs/gst/control/.cvsignore:
9947 * win32/gstbytestream.def:
9948 * win32/gstbytestream.vcproj:
9949 * win32/gstconfig.h:
9950 * win32/gstenumtypes.c:
9951 * win32/gstenumtypes.h:
9952 * win32/gstoptimalscheduler.vcproj:
9953 * win32/gstversion.h:
9955 * win32/testsuite/bins.vcproj:
9956 * win32/testsuite/bytestream.vcproj:
9957 * win32/testsuite/caps.vcproj:
9958 * win32/testsuite/cleanup.vcproj:
9959 * win32/testsuite/clock.vcproj:
9960 * win32/testsuite/debug.vcproj:
9961 * win32/testsuite/dlopen.vcproj:
9962 * win32/testsuite/dynparams.vcproj:
9963 * win32/testsuite/elements.vcproj:
9964 * win32/testsuite/ghostpads.vcproj:
9965 * win32/testsuite/indexers.vcproj:
9966 * win32/testsuite/negotiation.vcproj:
9967 * win32/testsuite/parse.vcproj:
9968 * win32/testsuite/plugin.vcproj:
9969 * win32/testsuite/refcounting.vcproj:
9970 * win32/testsuite/schedulers.vcproj:
9971 * win32/testsuite/states.vcproj:
9972 * win32/testsuite/tags.vcproj:
9973 * win32/testsuite/threads.vcproj:
9974 remove old win32 stuff that isn't maintained and should be
9977 2005-11-30 Andy Wingo <wingo@pobox.com>
9979 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
9980 loading the gst.interfaces python module bork.
9982 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
9983 available since GLib 2.2. Fixes #318031.
9985 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9989 * check/Makefile.am:
9990 * check/elements/.cvsignore:
9991 * check/elements/fakesrc.c:
9992 * check/elements/fdsrc.c:
9993 * check/elements/identity.c:
9994 * check/generic/.cvsignore:
9995 * check/generic/states.c:
9996 * check/gst-libs/.cvsignore:
9997 * check/gst-libs/controller.c:
9998 * check/gst-libs/gdp.c:
9999 * check/gst/.cvsignore:
10000 * check/gst/capslist.h:
10002 * check/gst/gstbin.c:
10003 * check/gst/gstbuffer.c:
10004 * check/gst/gstbus.c:
10005 * check/gst/gstcaps.c:
10006 * check/gst/gstelement.c:
10007 * check/gst/gstevent.c:
10008 * check/gst/gstghostpad.c:
10009 * check/gst/gstiterator.c:
10010 * check/gst/gstmessage.c:
10011 * check/gst/gstminiobject.c:
10012 * check/gst/gstobject.c:
10013 * check/gst/gstpad.c:
10014 * check/gst/gstpipeline.c:
10015 * check/gst/gstplugin.c:
10016 * check/gst/gstsegment.c:
10017 * check/gst/gststructure.c:
10018 * check/gst/gstsystemclock.c:
10019 * check/gst/gsttag.c:
10020 * check/gst/gstutils.c:
10021 * check/gst/gstvalue.c:
10022 * check/net/.cvsignore:
10023 * check/net/gstnetclientclock.c:
10024 * check/net/gstnettimeprovider.c:
10025 * check/pipelines/.cvsignore:
10026 * check/pipelines/cleanup.c:
10027 * check/pipelines/simple_launch_lines.c:
10028 * check/pipelines/stress.c:
10029 * check/states/.cvsignore:
10030 * check/states/sinks.c:
10032 * examples/Makefile.am:
10033 * examples/appreader/.cvsignore:
10034 * examples/appreader/Makefile.am:
10035 * examples/appreader/appreader.c:
10036 * examples/controller/.cvsignore:
10037 * examples/controller/Makefile.am:
10038 * examples/controller/audio-example.c:
10039 * examples/cutter/.cvsignore:
10040 * examples/cutter/Makefile.am:
10041 * examples/cutter/cutter.c:
10042 * examples/cutter/cutter.h:
10043 * examples/events/Makefile.am:
10044 * examples/events/seek.c:
10045 * examples/helloworld/.cvsignore:
10046 * examples/helloworld/Makefile.am:
10047 * examples/helloworld/helloworld.c:
10048 * examples/helloworld2/.cvsignore:
10049 * examples/helloworld2/Makefile.am:
10050 * examples/helloworld2/helloworld2.c:
10051 * examples/launch/.cvsignore:
10052 * examples/launch/Makefile.am:
10053 * examples/launch/mp3parselaunch.c:
10054 * examples/launch/mp3play:
10055 * examples/manual/.cvsignore:
10056 * examples/manual/Makefile.am:
10057 * examples/manual/extract.pl:
10058 * examples/metadata/Makefile.am:
10059 * examples/metadata/read-metadata.c:
10060 * examples/mixer/.cvsignore:
10061 * examples/mixer/Makefile.am:
10062 * examples/mixer/mixer.c:
10063 * examples/mixer/mixer.h:
10064 * examples/pingpong/.cvsignore:
10065 * examples/pingpong/Makefile.am:
10066 * examples/pingpong/pingpong.c:
10067 * examples/plugins/.cvsignore:
10068 * examples/plugins/Makefile.am:
10069 * examples/plugins/example.c:
10070 * examples/plugins/example.h:
10071 * examples/pwg/.cvsignore:
10072 * examples/pwg/Makefile.am:
10073 * examples/pwg/extract.pl:
10074 * examples/queue/.cvsignore:
10075 * examples/queue/Makefile.am:
10076 * examples/queue/queue.c:
10077 * examples/queue2/.cvsignore:
10078 * examples/queue2/Makefile.am:
10079 * examples/queue2/queue2.c:
10080 * examples/queue3/.cvsignore:
10081 * examples/queue3/Makefile.am:
10082 * examples/queue3/queue3.c:
10083 * examples/queue4/.cvsignore:
10084 * examples/queue4/Makefile.am:
10085 * examples/queue4/queue4.c:
10086 * examples/retag/.cvsignore:
10087 * examples/retag/Makefile.am:
10088 * examples/retag/retag.c:
10089 * examples/retag/transcode.c:
10090 * examples/thread/.cvsignore:
10091 * examples/thread/Makefile.am:
10092 * examples/thread/thread.c:
10093 * examples/typefind/.cvsignore:
10094 * examples/typefind/Makefile.am:
10095 * examples/typefind/typefind.c:
10096 * examples/xml/.cvsignore:
10097 * examples/xml/Makefile.am:
10098 * examples/xml/createxml.c:
10099 * examples/xml/runxml.c:
10100 * tests/Makefile.am:
10101 * tests/check/Makefile.am:
10102 * testsuite/.cvsignore:
10103 * testsuite/Makefile.am:
10105 * testsuite/caps/.cvsignore:
10106 * testsuite/caps/Makefile.am:
10107 * testsuite/caps/app_fixate.c:
10108 * testsuite/caps/audioscale.c:
10109 * testsuite/caps/caps.c:
10110 * testsuite/caps/caps.h:
10111 * testsuite/caps/caps_strings:
10112 * testsuite/caps/compatibility.c:
10113 * testsuite/caps/deserialize.c:
10114 * testsuite/caps/enumcaps.c:
10115 * testsuite/caps/eratosthenes.c:
10116 * testsuite/caps/filtercaps.c:
10117 * testsuite/caps/fixed.c:
10118 * testsuite/caps/fraction-convert.c:
10119 * testsuite/caps/fraction-multiply-and-zero.c:
10120 * testsuite/caps/intersect2.c:
10121 * testsuite/caps/intersection.c:
10122 * testsuite/caps/normalisation.c:
10123 * testsuite/caps/random.c:
10124 * testsuite/caps/renegotiate.c:
10125 * testsuite/caps/sets.c:
10126 * testsuite/caps/simplify.c:
10127 * testsuite/caps/string-conversions.c:
10128 * testsuite/caps/structure.c:
10129 * testsuite/caps/subtract.c:
10130 * testsuite/caps/union.c:
10131 * testsuite/debug/.cvsignore:
10132 * testsuite/debug/Makefile.am:
10133 * testsuite/debug/category.c:
10134 * testsuite/debug/commandline.c:
10135 * testsuite/debug/global.c:
10136 * testsuite/debug/output.c:
10137 * testsuite/debug/printf_extension.c:
10138 * testsuite/dlopen/.cvsignore:
10139 * testsuite/dlopen/Makefile.am:
10140 * testsuite/dlopen/dlopen_gst.c:
10141 * testsuite/dlopen/loadgst.c:
10142 * testsuite/elements/.cvsignore:
10143 * testsuite/elements/Makefile.am:
10144 * testsuite/elements/gst-inspect-check.in:
10145 * testsuite/elements/struct_i386.h:
10146 * testsuite/elements/struct_size.c:
10147 * testsuite/indexers/.cvsignore:
10148 * testsuite/indexers/Makefile.am:
10149 * testsuite/indexers/cache1.c:
10150 * testsuite/indexers/indexdump.c:
10151 * testsuite/parse/.cvsignore:
10152 * testsuite/parse/Makefile.am:
10153 * testsuite/parse/parse1.c:
10154 * testsuite/parse/parse2.c:
10155 * testsuite/plugin/.cvsignore:
10156 * testsuite/plugin/Makefile.am:
10157 * testsuite/plugin/README:
10158 * testsuite/plugin/dynamic.c:
10159 * testsuite/plugin/linked.c:
10160 * testsuite/plugin/loading.c:
10161 * testsuite/plugin/registry.c:
10162 * testsuite/plugin/static.c:
10163 * testsuite/plugin/static2.c:
10164 * testsuite/plugin/testplugin.c:
10165 * testsuite/plugin/testplugin2.c:
10166 * testsuite/plugin/testplugin2_s.c:
10167 * testsuite/plugin/testplugin_s.c:
10168 * testsuite/refcounting/.cvsignore:
10169 * testsuite/refcounting/Makefile.am:
10170 * testsuite/refcounting/bin.c:
10171 * testsuite/refcounting/element.c:
10172 * testsuite/refcounting/element_pad.c:
10173 * testsuite/refcounting/mainloop.c:
10174 * testsuite/refcounting/mem.c:
10175 * testsuite/refcounting/mem.h:
10176 * testsuite/refcounting/object.c:
10177 * testsuite/refcounting/pad.c:
10178 * testsuite/refcounting/sched.c:
10179 * testsuite/refcounting/thread.c:
10180 * testsuite/states/.cvsignore:
10181 * testsuite/states/Makefile.am:
10182 * testsuite/states/bin.c:
10183 * testsuite/states/locked.c:
10184 * testsuite/states/parent.c:
10185 * testsuite/threads/.cvsignore:
10186 * testsuite/threads/159566.c:
10187 * testsuite/threads/159852.c:
10188 * testsuite/threads/Makefile.am:
10189 * testsuite/threads/queue.c:
10190 * testsuite/threads/signals.c:
10191 * testsuite/threads/staticrec.c:
10192 * testsuite/threads/thread.c:
10193 * testsuite/threads/threadb.c:
10194 * testsuite/threads/threadc.c:
10195 * testsuite/threads/threadd.c:
10196 * testsuite/threads/threade.c:
10197 * testsuite/threads/threadf.c:
10198 * testsuite/threads/threadg.c:
10199 * testsuite/threads/threadh.c:
10200 * testsuite/threads/threadi.c:
10201 move all of these under tests
10203 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10206 * tests/Makefile.am:
10209 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10211 * docs/gst/gstreamer-sections.txt:
10212 * tests/sched/.cvsignore:
10213 * tests/sched/Makefile.am:
10214 * tests/sched/cases/(fs-fs).xml:
10215 * tests/sched/cases/(fs-i-fs).xml:
10216 * tests/sched/cases/(fs-i-i-fs).xml:
10217 * tests/sched/cases/(fs-i-q[i-fs]).xml:
10218 * tests/sched/dynamic-pipeline.c:
10219 * tests/sched/interrupt1.c:
10220 * tests/sched/interrupt2.c:
10221 * tests/sched/interrupt3.c:
10222 * tests/sched/runtestcases:
10223 * tests/sched/runxml.c:
10224 * tests/sched/sched-stress.c:
10225 * tests/sched/sort.c:
10226 * tests/sched/testcases:
10227 * tests/sched/testcases1.tc:
10228 * tests/seeking/.cvsignore:
10229 * tests/seeking/Makefile.am:
10230 * tests/seeking/seeking1.c:
10231 * tests/threadstate/.cvsignore:
10232 * tests/threadstate/Makefile.am:
10233 * tests/threadstate/test1.c:
10234 * tests/threadstate/test2.c:
10235 * tests/threadstate/threadstate1.c:
10236 * tests/threadstate/threadstate2.c:
10237 * tests/threadstate/threadstate3.c:
10238 * tests/threadstate/threadstate4.c:
10239 * tests/threadstate/threadstate5.c:
10240 remove obsolete tests
10242 * tests/bench-complexity.scm:
10243 * tests/bench-mass_elements.scm:
10244 * tests/complexity.c:
10245 * tests/complexity.gnuplot:
10246 * tests/instantiate/.cvsignore:
10247 * tests/instantiate/Makefile.am:
10248 * tests/instantiate/caps.c:
10249 * tests/mass_elements.c:
10250 * tests/network-clock-utils.scm:
10251 * tests/network-clock.scm:
10253 First pass at cleaning up tests/ dir before moving the rest
10254 Combined with CVS surgery
10256 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10259 queue has moved, update
10261 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10263 * docs/gst/gstreamer-sections.txt:
10264 remove double entries from the docs
10265 * gst/gst_private.h:
10266 * gst/gstinfo.c: (_gst_debug_init):
10267 remove the THREAD debug category
10271 * docs/gst/gstreamer.types:
10272 * plugins/elements/gstqueue.c: (gst_queue_get_type),
10273 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10274 completely move queue and fix up debugging categories
10276 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10278 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10279 make initialization portable, using LL is not
10281 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10283 * win32/common/gstconfig.h:
10286 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10288 * win32/common/libgstreamer.def:
10289 rename symbols; sort base section
10291 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10293 * gst/gstclock.c: (do_linear_regression):
10294 remove crack non-portable handrolled DEBUG macro
10296 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10298 * docs/random/release:
10300 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10301 (gst_object_flags_get_type), (register_gst_bin_flags),
10302 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10303 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10304 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10305 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10306 (gst_caps_flags_get_type), (register_gst_clock_return),
10307 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10308 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10309 (gst_clock_flags_get_type), (register_gst_state),
10310 (gst_state_get_type), (register_gst_state_change_return),
10311 (gst_state_change_return_get_type), (register_gst_state_change),
10312 (gst_state_change_get_type), (register_gst_element_flags),
10313 (gst_element_flags_get_type), (register_gst_core_error),
10314 (gst_core_error_get_type), (register_gst_library_error),
10315 (gst_library_error_get_type), (register_gst_resource_error),
10316 (gst_resource_error_get_type), (register_gst_stream_error),
10317 (gst_stream_error_get_type), (register_gst_event_type_flags),
10318 (gst_event_type_flags_get_type), (register_gst_event_type),
10319 (gst_event_type_get_type), (register_gst_seek_type),
10320 (gst_seek_type_get_type), (register_gst_seek_flags),
10321 (gst_seek_flags_get_type), (register_gst_format),
10322 (gst_format_get_type), (register_gst_index_certainty),
10323 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10324 (gst_index_entry_type_get_type),
10325 (register_gst_index_lookup_method),
10326 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10327 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10328 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10329 (gst_index_flags_get_type), (register_gst_debug_level),
10330 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10331 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10332 (gst_iterator_result_get_type), (register_gst_iterator_item),
10333 (gst_iterator_item_get_type), (register_gst_message_type),
10334 (gst_message_type_get_type), (register_gst_mini_object_flags),
10335 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10336 (gst_pad_link_return_get_type), (register_gst_flow_return),
10337 (gst_flow_return_get_type), (register_gst_activate_mode),
10338 (gst_activate_mode_get_type), (register_gst_pad_direction),
10339 (gst_pad_direction_get_type), (register_gst_pad_flags),
10340 (gst_pad_flags_get_type), (register_gst_pad_presence),
10341 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10342 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10343 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10344 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10345 (gst_plugin_flags_get_type), (register_gst_rank),
10346 (gst_rank_get_type), (register_gst_query_type),
10347 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10348 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10349 (gst_tag_flag_get_type), (register_gst_task_state),
10350 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10351 (gst_alloc_trace_flags_get_type),
10352 (register_gst_type_find_probability),
10353 (gst_type_find_probability_get_type), (register_gst_uri_type),
10354 (gst_uri_type_get_type), (register_gst_parse_error),
10355 (gst_parse_error_get_type):
10356 * win32/common/gstenumtypes.h:
10357 * win32/common/gstversion.h:
10358 update visual studio generated files
10360 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10362 * win32/vs6/libgstbase.dsp:
10363 * win32/vs6/libgstelements.dsp:
10364 update project files for new locations
10366 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10371 reinstate and update
10376 * docs/random/LICENSE:
10379 2005-11-30 Edward Hervey <edward@fluendo.com>
10381 * gst/gsttypefind.c: (gst_type_find_register):
10382 * gst/gsttypefind.h:
10383 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10384 (gst_type_find_factory_dispose):
10385 * gst/gsttypefindfactory.h:
10386 Fix memory leak in GstTypeFindFactory.
10388 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10391 * plugins/elements/Makefile.am:
10392 * plugins/elements/gstelements.c:
10393 * plugins/elements/gstqueue.c:
10394 move queue from core to the elements plugin
10396 2005-11-29 Andy Wingo <wingo@pobox.com>
10398 * libs/gst/base/gstbasetransform.h:
10399 * libs/gst/base/gstbasesrc.h:
10400 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10402 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10403 of pointers by which to pad very extensible base classes (like the
10404 ones in libs/gst/base).
10406 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10408 * docs/gst/gstreamer-docs.sgml:
10409 * docs/gst/gstreamer-sections.txt:
10410 * docs/libs/gstreamer-libs-docs.sgml:
10411 * docs/libs/gstreamer-libs-sections.txt:
10412 moving documentation from core to lib
10414 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10416 * check/Makefile.am:
10418 * docs/gst/Makefile.am:
10420 * gst/base/.cvsignore:
10421 * gst/base/Makefile.am:
10423 * gst/base/gstadapter.c:
10424 * gst/base/gstadapter.h:
10425 * gst/base/gstbasesink.c:
10426 * gst/base/gstbasesink.h:
10427 * gst/base/gstbasesrc.c:
10428 * gst/base/gstbasesrc.h:
10429 * gst/base/gstbasetransform.c:
10430 * gst/base/gstbasetransform.h:
10431 * gst/base/gstcollectpads.c:
10432 * gst/base/gstcollectpads.h:
10433 * gst/base/gstpushsrc.c:
10434 * gst/base/gstpushsrc.h:
10435 * gst/base/gsttypefindhelper.c:
10436 * gst/base/gsttypefindhelper.h:
10437 * gst/check/Makefile.am:
10438 * gst/check/gstcheck.c:
10439 * gst/check/gstcheck.h:
10440 * gst/net/Makefile.am:
10441 * gst/net/gstnet.h:
10442 * gst/net/gstnetclientclock.c:
10443 * gst/net/gstnetclientclock.h:
10444 * gst/net/gstnettimepacket.c:
10445 * gst/net/gstnettimepacket.h:
10446 * gst/net/gstnettimeprovider.c:
10447 * gst/net/gstnettimeprovider.h:
10448 * libs/gst/Makefile.am:
10449 * libs/gst/base/Makefile.am:
10450 * libs/gst/base/gstbasetransform.c:
10451 * libs/gst/check/Makefile.am:
10452 * plugins/elements/Makefile.am:
10454 CVS surgery + support to move base, check, and net out of gst
10457 2005-11-29 Andy Wingo <wingo@pobox.com>
10459 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10461 * gst/gststructure.h (struct _GstStructure): Only one pointer of
10464 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10466 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10468 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10470 * gst/gstobject.h: (struct _GstObject): Only one pointer of
10471 padding; reduces object size by about 30%. We don't expect
10472 anything else to go into gstobject.
10474 * gst/gstminiobject.h (struct _GstMiniObject)
10475 (struct _GstMiniObjectClass): Only one pointer of padding; the
10476 payload is only a pointer and two ints anyway. For the class there
10477 are only two methods as well.
10479 * gst/gstelement.h (struct _GstElementClass): Removed
10480 the state_changed signal callback, it is not used.
10482 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10484 * docs/gst/gstreamer.types:
10485 fix includes, though they are a little dinky
10487 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10489 * check/Makefile.am:
10490 look in the right place for elements, a lot more chance of
10493 remove indexers and elements subdirs
10494 * plugins/Makefile.am:
10495 make indexers conditional
10497 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10501 * plugins/elements/Makefile.am:
10502 * plugins/elements/gstcapsfilter.c:
10503 * plugins/elements/gstfilesink.c:
10504 * plugins/elements/gstfilesrc.c:
10505 * plugins/elements/gstidentity.c:
10506 * plugins/indexers/Makefile.am:
10507 do CVS surgery and related build fixery to move elements
10508 and indexers in a new gstreamer/plugins directory, out of the
10511 2005-11-29 Andy Wingo <wingo@pobox.com>
10513 * check/Makefile.am:
10514 * pkgconfig/gstreamer-net-uninstalled.pc.in:
10515 * pkgconfig/gstreamer-net.pc.in:
10516 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10519 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10521 * tools/Makefile.am:
10522 * tools/gst-complete.1.in:
10523 * tools/gst-complete.c:
10524 * tools/gst-compprep.1.in:
10525 * tools/gst-compprep.c:
10526 removing -compprep and -complete
10528 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10530 * gst/gstevent.c: (gst_event_new_new_segment),
10531 (gst_event_parse_new_segment):
10533 fix #320529 - clean up new_segment API and structure.
10534 Let's hope everyone was using the methods, and not the structure.
10536 2005-11-29 Edward Hervey <edward@fluendo.com>
10538 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10539 (gst_base_sink_event), (gst_base_sink_do_sync),
10540 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10541 Properly handle non GST_FORMAT_TIME segment
10542 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10543 Properly handle non GST_FORMAT_TIME segment
10544 * gst/gstsegment.c:
10545 This function is valid if the accumulator is 0 and the format
10546 is different from the requested format.
10548 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10550 * docs/gst/gstreamer-sections.txt:
10551 Add gst_query_new_seeking and gst_query_parse_seeking to the
10554 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10556 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10557 Treat a pad alloc with new caps the same as if we were not
10558 negotiated, in order to allow a changing upstream output
10559 to produce a new format of data.
10561 2005-11-29 Edward Hervey <edward@fluendo.com>
10563 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10564 (gst_base_transform_event), (gst_base_transform_eventfunc):
10565 The event virtual method is now properly implemented, with a default
10567 Sub classes should call the parent_class event method. They should
10568 return FALSE if they had a problem handling the given event, or don't
10569 want GstBaseTransform to send that even downstream
10570 * gst/elements/gstidentity.c: (gst_identity_class_init),
10571 (gst_identity_init), (gst_identity_event),
10572 (gst_identity_transform_ip), (gst_identity_set_property),
10573 (gst_identity_get_property):
10574 * gst/elements/gstidentity.h:
10575 Added the single-segment boolean property.
10576 If set to TRUE, it will output a single segment of data, starting from
10577 0, will eat up all incoming newsegment, and modify the timestamp of the
10578 buffers accordingly
10580 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
10582 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10583 Don't ref NULL target pad (#322751). Improve docs.
10585 2005-11-29 Michael Smith <msmith@fluendo.com>
10587 * gst/gstregistryxml.c: (load_plugin):
10588 Don't crash if we failed to load a feature from a plugin.
10590 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10592 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10594 use more check API and less GLib API
10596 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10599 don't run checks if we don't have check
10600 * common/check.mak:
10601 remove the registry when running make torture
10602 * docs/gst/gstreamer-sections.txt:
10603 remove second multiply
10604 * gst/gstqueue.c: (gst_queue_loop):
10605 fix a compile warning when disabling debug
10607 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10610 Hey! Let's print the pad name if the pointer != NULL instead
10611 of when it == NULL :-)
10613 2005-11-28 Wim Taymans <wim@fluendo.com>
10615 * check/gst/gstutils.c: (GST_START_TEST):
10616 Updated check, add some scaling accuracy checking code.
10618 * gst/gstutils.c: (gst_util_div128_64),
10619 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10620 (gst_util_uint64_scale_int):
10621 Fix 6 times faster division code. Optimize for common
10622 1/1 and less common X/1 cases.
10624 2005-11-28 Wim Taymans <wim@fluendo.com>
10626 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10629 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10630 (do_linear_regression), (gst_clock_add_observation):
10632 Release lock when the clock cannot be slaved.
10633 Catch the case where the regression returned an invalid denominator.
10635 * gst/gstutils.c: (gst_util_div128_64_iterate),
10636 (gst_util_div128_64), (gst_util_uint64_scale_int64),
10637 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10638 Add protentially more performant non-iterative 128/64 divide function
10639 that unfortunatly does not work yet.
10640 Shortcut the trivial 0/X = 0 case.
10641 Remove the warnings on overflow.
10643 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10645 * gst/gstplugin.c: (gst_plugin_register_func):
10646 everything causing a plugin not to load should be at least a WARNING
10648 2005-11-28 Stefan Kost <ensonic@users.sf.net>
10650 * docs/random/ensonic/dparams.txt:
10651 some TODOs for the next dev cycle
10652 * libs/gst/controller/gstcontroller.c:
10653 (gst_controlled_property_set_interpolation_mode),
10654 (gst_controlled_property_new):
10655 * libs/gst/controller/gstcontroller.h:
10656 use base type to assign acccessor functions
10658 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10660 * check/Makefile.am:
10661 Oops, that should have been top_srcdir
10663 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10665 * check/Makefile.am:
10666 * check/elements/fdsrc.c: (GST_START_TEST):
10667 Use a cmdline define to specify the location of a file to use for
10668 testing, to avoid breaking distcheck.
10670 2005-11-28 Andy Wingo <wingo@pobox.com>
10672 * gst/gstpad.c (fixate_value): Use array functions for arrays.
10674 2005-11-28 Edward Hervey <edward@fluendo.com>
10676 * tools/gst-launch.c: (main):
10677 Clarify the output strings, makes it easier to translate.
10680 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10683 don't try and build net if we don't even have <sys/socket.h>
10685 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
10687 * check/Makefile.am:
10688 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10689 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10690 Add tests for fdsrc seekability
10692 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10693 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10694 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10695 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10696 * gst/elements/gstfdsrc.h:
10697 fdsrc should not be a 'live' source.
10698 Implement seeking on seekable fd's.
10700 * gst/gstquery.c: (gst_query_new_seeking),
10701 (gst_query_parse_seeking):
10703 Implement SEEKING query functions:
10704 *_new_seeking and *_parse_seeking
10706 2005-11-27 Stefan Kost <ensonic@users.sf.net>
10708 * gst/gstelement.c: (gst_element_dispose):
10711 * gst/gstiterator.c:
10712 * gst/gststructure.c:
10715 * libs/gst/controller/gstcontroller.c:
10716 (gst_controlled_property_set_interpolation_mode):
10717 * libs/gst/controller/gstcontroller.h:
10718 * libs/gst/controller/gstinterpolation.c:
10719 (interpolate_none_get_enum_value_array):
10720 support controlling enums
10722 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10725 Improve documentation for gst_value_union().
10728 Change return value for union, intersect and subtract functions
10729 from gint to gboolean.
10731 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10733 * gst/gstvalue.c: (gst_value_serialize_any_list),
10734 (gst_value_transform_any_list_string),
10735 (gst_value_deserialize_list), (gst_value_deserialize_array),
10736 (gst_value_set_int_range), (gst_value_deserialize_int_range),
10737 (gst_value_set_double_range), (gst_value_deserialize_double_range),
10738 (gst_value_set_fraction_range_full),
10739 (gst_value_deserialize_fraction_range),
10740 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10741 (gst_value_deserialize_boolean),
10742 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10743 (gst_value_serialize_float), (gst_value_deserialize_float),
10744 (gst_string_wrap), (gst_value_deserialize_string),
10745 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10746 (gst_value_union_int_range_int_range),
10747 (gst_value_intersect_int_range_int_range),
10748 (gst_value_intersect_double_range_double_range),
10749 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10750 (gst_value_subtract_int_range_int_range),
10751 (gst_value_subtract_double_double_range),
10752 (gst_value_subtract_double_range_double_range),
10753 (gst_value_deserialize_fraction):
10755 Use gint, gdouble and gchar in our API instead of int, double and
10756 char (and make usage in gstvalue.c more consistent).
10758 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10760 * check/Makefile.am:
10761 * libs/gst/controller/Makefile.am:
10762 * libs/gst/dataprotocol/Makefile.am:
10763 fix up Makefile.am and remove GST_ENABLE_NEW
10765 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10769 * gst/base/Makefile.am:
10770 * gst/check/Makefile.am:
10771 * gst/elements/Makefile.am:
10772 * gst/net/Makefile.am:
10773 update LDFLAGS use some more
10775 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10777 * common/m4/gst-doc.m4:
10780 2005-11-26 Edward Hervey <edward@fluendo.com>
10782 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10783 This shouldn't issue a g_warning since it returns NULL if it
10784 couldn't find the plugin, and all functions using this behave
10785 properly on a NULL return. Switching to a GST_WARNING.
10787 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
10789 * gst/gstbin.c: (gst_bin_handle_message_func):
10790 Don't leak clock messages.
10792 2005-11-25 Wim Taymans <wim@fluendo.com>
10794 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10795 (gst_util_uint64_scale_int):
10796 Optimisations, remove unneeded vars.
10798 2005-11-25 Wim Taymans <wim@fluendo.com>
10800 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10801 Added more checks for the high precision uint64 cases.
10803 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10804 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10805 Implement high precision (guint64 * guint64) / guint64.
10807 2005-11-24 Wim Taymans <wim@fluendo.com>
10809 * gst/base/gstbasesrc.c: (gst_base_src_query):
10810 Fix wrong percentage query.
10812 * gst/gstutils.c: (gst_util_uint64_scale),
10813 (gst_util_uint64_scale_int):
10814 Add some more common cases that can be handled
10815 efficiently to _scale.
10817 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10819 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
10820 (gst_mini_object_suite):
10821 don't use check calls from threads; check probably isn't
10822 threadsafe and using a lock to make it threadsafe would
10823 defeat the purpose of this check
10824 * gst/check/gstcheck.c:
10825 * gst/check/gstcheck.h:
10826 use GST_DEBUG some more
10828 2005-11-24 Wim Taymans <wim@fluendo.com>
10830 * gst/gstutils.c: (gst_util_uint64_scale),
10831 (gst_util_uint64_scale_int):
10832 Chain trivial case to _scale_int.
10834 2005-11-24 Wim Taymans <wim@fluendo.com>
10836 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10837 Added test for scaling.
10842 * gst/gstutils.c: (gst_util_uint64_scale_int):
10843 Implemented high precision scaling code.
10845 2005-11-24 Stefan Kost <ensonic@users.sf.net>
10848 do not crash on pad==NULL
10850 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10852 Patch by: Stefan Kost
10854 * common/gtk-doc.mak:
10855 * docs/gst/Makefile.am:
10856 * docs/libs/Makefile.am:
10857 Fix distcheck issues for the libraries docs build
10860 2005-11-24 Michael Smith <msmith@fluendo.com>
10862 * docs/manual/basics-helloworld.xml:
10863 Fix bug #315027: memory leak in example code in docs.
10865 2005-11-24 Michael Smith <msmith@fluendo.com>
10867 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10868 Unlock the PREROLL_LOCK in a failure case.
10870 2005-11-24 Wim Taymans <wim@fluendo.com>
10872 * docs/gst/gstreamer-sections.txt:
10873 * gst/base/gstadapter.h:
10874 * gst/base/gstbasesink.h:
10875 * gst/base/gstbasesrc.h:
10876 * gst/base/gstbasetransform.h:
10877 * gst/base/gstpushsrc.h:
10878 * gst/elements/gstfakesink.h:
10879 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
10880 * gst/elements/gstfakesrc.h:
10881 * gst/elements/gstfilesink.h:
10882 * gst/elements/gstfilesrc.h:
10885 * gst/gstbuffer.c: (_gst_buffer_copy):
10888 * gst/gstchildproxy.c:
10890 * gst/gstelement.c:
10891 * gst/gstelementfactory.c:
10892 * gst/gstelementfactory.h:
10894 * gst/gstghostpad.h:
10896 * gst/gstinterface.h:
10897 * gst/gstminiobject.c:
10898 * gst/gstminiobject.h:
10901 * gst/gstpadtemplate.h:
10902 * gst/gstpipeline.h:
10903 * gst/gstpluginfeature.h:
10906 * gst/gsttaglist.c:
10907 * gst/gsttaglist.h:
10908 * gst/gsttagsetter.c:
10909 * gst/gsttagsetter.h:
10912 * gst/gsttypefind.h:
10915 * gst/net/gstnetclientclock.c:
10916 * gst/net/gstnetclientclock.h:
10917 * gst/net/gstnettimepacket.c:
10918 * gst/net/gstnettimeprovider.c:
10919 * gst/net/gstnettimeprovider.h:
10922 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10924 * configure.ac: back to HEAD
10926 === release 0.9.6 ===
10928 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10931 releasing 0.9.6, "Always On Time"
10933 2005-11-23 Wim Taymans <wim@fluendo.com>
10935 * docs/gst/gstreamer-sections.txt:
10936 * gst/glib-compat.c:
10937 * gst/gsttagsetter.c:
10939 * gst/net/gstnetclientclock.c:
10940 * gst/net/gstnettimepacket.h:
10943 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10945 * docs/faq/using.xml:
10946 * docs/libs/tmpl/gstcontrol.sgml:
10947 * docs/manual/advanced-dparams.xml:
10948 * docs/manual/appendix-checklist.xml:
10949 * docs/manual/basics-elements.xml:
10950 * docs/pwg/other-source.xml:
10951 * docs/random/moving-plugins:
10953 * tools/gst-launch.1.in:
10954 remove mentions of sinesrc
10956 2005-11-23 Michael Smith <msmith@fluendo.com>
10958 * docs/gst/gstreamer-sections.txt:
10959 Update for new API and API changes.
10961 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
10963 Documentation typo fix.
10964 * gst/net/gstnettimepacket.c:
10965 Documentation fixes for arguments.
10967 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
10969 * gst/gststructure.c: (gst_structure_get_fraction),
10970 (gst_structure_parse_value),
10971 (gst_structure_fixate_field_nearest_fraction):
10972 * gst/gststructure.h:
10973 * gst/gstutils.c: (gst_util_uint64_scale_int):
10975 * scripts/update-funcnames:
10977 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
10978 Make gst_structure_fixate_field_nearest_fraction take a numerator
10979 and denominator argument instead of a GValue
10980 add gst_structure_get_fraction helper function.
10982 2005-11-23 Wim Taymans <wim@fluendo.com>
10984 * docs/design/part-TODO.txt:
10987 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10988 * gst/net/gstnetclientclock.h:
10989 Use parent fields for timeout and window_size.
10991 2005-11-23 Andy Wingo <wingo@pobox.com>
10993 * check/net/gstnetclientclock.c (test_functioning): Adjust to
10994 rate_num/rate_denom change.
10996 * gst/net/gstnetclientclock.c
10997 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
10998 OBJECT_LOCK. Don't call add_observation with the lock.
11000 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11002 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11004 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11005 deal with rate as a fraction whose numerator and denominator are
11006 GstClockTime values.
11007 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11008 master; the other fields are protected by the SLAVE_LOCK.
11009 (do_linear_regression): Note that this must be called with the
11011 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11012 OBJECT_LOCK. Call set_calibration instead of touching the
11013 variables directly.
11014 (gst_clock_set_property, gst_clock_get_property): Protect
11015 master/slave parameters with the SLAVE_LOCK.
11017 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11018 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11019 note that all of the instance variables that add_observation and
11020 the set_master functions use are protected by that lock and not
11022 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11024 * gst/gstclock.c (gst_clock_add_observation): No longer requires
11025 the caller to take the object lock.
11027 2005-11-23 Wim Taymans <wim@fluendo.com>
11029 * gst/gsterror.c: (_gst_core_errors_init):
11031 Add error for clock stuff.
11033 * gst/gstpipeline.c: (gst_pipeline_change_state),
11034 (gst_pipeline_set_clock):
11035 Post clock error when clock cannot be used in a pipeline.
11037 2005-11-23 Stefan Kost <ensonic@users.sf.net>
11039 * docs/gst/gstreamer-sections.txt:
11040 make two symbols from gstinfo private for the docs
11041 * gst/base/gstcollectpads.h:
11043 fix doc typos, update docs
11045 2005-11-22 Wim Taymans <wim@fluendo.com>
11047 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11048 (gst_base_sink_wait), (gst_base_sink_do_sync),
11049 (gst_base_sink_handle_event):
11050 * gst/base/gstbasesink.h:
11051 No need to store the clock, the parent element class already
11054 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11055 Updates for clock_set returning a gboolean
11057 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11058 (gst_clock_id_wait_async), (gst_clock_class_init),
11059 (gst_clock_init), (gst_clock_finalize),
11060 (gst_clock_get_internal_time), (gst_clock_get_time),
11061 (gst_clock_slave_callback), (gst_clock_set_master),
11062 (gst_clock_get_master), (do_linear_regression),
11063 (gst_clock_add_observation), (gst_clock_set_property),
11064 (gst_clock_get_property):
11066 Implement master/slave. When setting a clock as a slave, a
11067 periodic timeout is scheduled to sample master and slave times.
11068 Then the slave clock is recalibrated to match offset and rate
11069 of the master clock.
11070 Update logging a bit.
11071 Add flag so that a clock can state that is cannot be slaved to
11074 * gst/gstelement.c: (gst_element_set_clock):
11075 * gst/gstelement.h:
11076 The set clock returns a gboolean for when an element cannot
11077 deal with the selected clock in the pipeline.
11079 * gst/gstpipeline.c: (gst_pipeline_change_state),
11080 (gst_pipeline_set_clock):
11081 * gst/gstpipeline.h:
11082 Handle the case where the selected clock cannot be set on
11085 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11086 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11087 (gst_net_client_clock_set_property),
11088 (gst_net_client_clock_get_property),
11089 (gst_net_client_clock_observe_times):
11090 * gst/net/gstnetclientclock.h:
11091 Use regression code in GstClock parent, remove duplicated
11094 2005-11-22 Michael Smith <msmith@fluendo.com>
11096 * gst/gstutils.c: (gst_util_clock_time_scale):
11098 * docs/gst/gstreamer-sections.txt:
11099 Rename method to have extra underscore.
11101 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
11103 * gst/elements/Makefile.am:
11104 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11105 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11106 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11107 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11108 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11109 * gst/elements/gstfakesrc.h:
11110 * gst/gstqueue.c: (queue_leaky_get_type):
11111 correctly fix GEnumValues so that nick is the short lowercase
11113 * tools/gst-inspect.c: (print_element_properties_info):
11114 also show the nick, since it's useful to use from parse_launch
11118 2005-11-22 Michael Smith <msmith@fluendo.com>
11120 * gst/gstutils.c: (gst_util_clocktime_scale):
11122 * docs/gst/gstreamer-sections.txt:
11123 Add util method for scaling a clocktime by a fraction. Useful
11124 implementation is left as an exercise for the reader.
11126 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11128 * gst/gstvalue.c: (gst_value_collect_fraction_range):
11129 If needed, allocate storage in the destination value during
11132 2005-11-22 Edward Hervey <edward@fluendo.com>
11134 * docs/gst/gstreamer-sections.txt:
11137 * gst/gsturitype.c:
11138 * gst/gsturitype.h:
11139 * gst/gstutils.c: (gst_util_set_object_arg):
11140 * tools/gst-compprep.c: (main):
11141 * tools/gst-inspect.c: (print_element_properties_info):
11142 Removed GstURI, closes bug #321061
11144 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11146 * check/gst/gststructure.c: (GST_START_TEST):
11147 * gst/gststructure.c: (gst_structure_parse_value):
11148 Oops, broke automatic string type parsing.
11149 Add a test to catch it in future.
11151 2005-11-22 Andy Wingo <wingo@pobox.com>
11153 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
11154 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11155 Actually rename the function implementations. Grr.
11157 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11159 * check/gst/capslist.h:
11161 * check/gst/gststructure.c: (GST_START_TEST),
11162 (gst_structure_suite):
11163 Test automatic value type detection in gst_structure_from_string.
11164 * gst/gststructure.c: (gst_structure_parse_value):
11165 Add fraction as a type we try and guess automatically in
11166 caps/structure strings.
11168 2005-11-22 Andy Wingo <wingo@pobox.com>
11170 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11172 * gst/gsttagsetter.h:
11173 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11174 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11175 (gst_tag_setter_add_tag_valist)
11176 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11177 _add_values, _add_valist, and _add_valist_values. Since this is an
11178 interface the function suffixes should be more explicit so
11179 language binding don't end up with element.add_valist ->
11180 gst_tag_setter_add_valist, for example. Fixes #322069.
11182 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11184 * check/gst/gstcaps.c: (GST_START_TEST):
11185 Extend caps string tests to check that a caps to string
11186 conversion is reversible and produces the same caps.
11188 * gst/gststructure.c: (gst_structure_value_get_generic_type):
11189 Output "fraction" as the generic type fraction range, so caps
11190 serialisation and deserialisation works.
11191 * check/gst/capslist.h:
11192 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11193 Support 'MIN' and 'MAX' for deserialising fractions.
11195 2005-11-22 Andy Wingo <wingo@pobox.com>
11197 * gst/gstevent.h (gst_event_new_new_segment)
11198 (gst_event_parse_new_segment, gst_event_new_buffer_size)
11199 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11200 Renamed from *_newsegment, *_buffersize, *_notarget.
11202 * scripts/update-funcnames: New script, performs the changes
11205 2005-11-22 Wim Taymans <wim@fluendo.com>
11207 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11208 Make sure the GstFlowReturn is returned.
11210 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11211 (gst_bus_add_signal_watch):
11213 add gst_bus_add_signal_watch_full.
11215 * gst/gstplugin.c: (gst_plugin_load_file):
11216 Small style cleanup.
11218 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11220 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11221 Block the fakesrc srcpad when we send an event, to avoid
11222 contention on the stream_lock causing random test failures.
11224 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11226 * check/gst/gstvalue.c: (GST_START_TEST):
11227 * gst/gstvalue.c: (gst_value_fraction_subtract):
11230 2005-11-22 Stefan Kost <ensonic@users.sf.net>
11233 include "gstchildproxy.h"
11234 * gst/gstchildproxy.h:
11235 * libs/gst/controller/gstcontroller.h:
11236 use G_GNUC_NULL_TERMINATED
11238 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11240 * check/gst/capslist.h:
11241 * check/gst/gstcaps.c: (GST_START_TEST):
11242 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11243 * gst/gststructure.c: (gst_structure_parse_range),
11244 (gst_structure_fixate_field_nearest_fraction):
11245 * gst/gststructure.h:
11246 * gst/gstvalue.c: (gst_value_init_fraction_range),
11247 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11248 (gst_value_collect_fraction_range),
11249 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11250 (gst_value_set_fraction_range_full),
11251 (gst_value_get_fraction_range_min),
11252 (gst_value_get_fraction_range_max),
11253 (gst_value_serialize_fraction_range),
11254 (gst_value_transform_fraction_range_string),
11255 (gst_value_compare_fraction_range),
11256 (gst_value_deserialize_fraction_range),
11257 (gst_value_intersect_fraction_fraction_range),
11258 (gst_value_intersect_fraction_range_fraction_range),
11259 (gst_value_subtract_fraction_fraction_range),
11260 (gst_value_subtract_fraction_range_fraction),
11261 (gst_value_subtract_fraction_range_fraction_range),
11262 (gst_value_collect_fraction), (gst_value_fraction_multiply),
11263 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11264 (gst_value_transform_string_fraction), (_gst_value_initialize):
11266 Implement fraction ranges and extend GstFraction to support
11267 arithmetic subtraction, as well as deserialization from integer
11268 strings such as "100"
11269 Add a testsuite as for int and double range set operations
11271 2005-11-21 Andy Wingo <wingo@pobox.com>
11273 * gst/gsttaglist.h:
11275 * gst/gststructure.h: Add glib-compat.h.
11277 2005-11-21 Wim Taymans <wim@fluendo.com>
11279 * gst/gstbin.c: (gst_bin_change_state_func):
11282 2005-11-21 Wim Taymans <wim@fluendo.com>
11284 * gst/gstsegment.h:
11285 And add a nice define too.
11287 2005-11-21 Wim Taymans <wim@fluendo.com>
11289 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11290 (gst_segment_new), (gst_segment_free), (gst_segment_init),
11291 (gst_segment_set_duration), (gst_segment_set_last_stop),
11292 (gst_segment_set_seek), (gst_segment_set_newsegment),
11293 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11294 (gst_segment_clip):
11295 * gst/gstsegment.h:
11296 Make binding friendly.
11298 2005-11-21 Andy Wingo <wingo@pobox.com>
11300 * gst/gsttagsetter.h:
11301 * gst/gsttaglist.h:
11302 * gst/gststructure.h:
11304 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11307 * gst/gsterror.c (_gst_core_errors_init):
11308 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11311 * gst/Makefile.am (gst_headers): Add glib-compat.h.
11312 (noinst_HEADERS): noinst the -private.
11314 2005-11-21 Michael Smith <msmith@fluendo.com>
11317 * gst/gstregistry.h:
11318 Remove unimplemented declarations for which we can see no sensible
11321 2005-11-21 Andy Wingo <wingo@pobox.com>
11323 * gst/gst.h: Include glib-compat.h.
11325 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11327 * gst/glib-compat.c: Include the public and the private header.
11329 * gst/glib-compat-private.h: Copied here from glib-compat.h.
11333 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11335 * check/gst/gstevent.c (create_custom_events): Check that
11336 FLUSH_STOP is serialized.
11338 * check/elements/identity.c (event_func):
11339 * check/elements/fakesrc.c (event_func): No stream lock, the core
11342 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11343 stream lock taking, yay.
11345 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11346 ensure that core takes the stream lock.
11348 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11351 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11352 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11353 it already. For the flush start we do take it though so we get the
11354 right preroll state change messages.
11356 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11357 the stream lock here, the core does it for us.
11359 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11360 GST_STREAM_GET_LOCK.
11361 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
11362 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
11363 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11364 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11365 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
11366 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11368 * gst/gstpad.c: Update for stream lock name change.
11370 * gst/base/gstbasesink.c: Update for preroll lock name change.
11372 2005-11-21 Wim Taymans <wim@fluendo.com>
11374 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11375 (gst_clock_get_master):
11377 * gst/gstsystemclock.c: (gst_system_clock_init):
11378 Convert Clock flags to object flags.
11379 Added methods to manage master/slave clocks.
11381 2005-11-21 Wim Taymans <wim@fluendo.com>
11383 * check/gst/gstsegment.c: (GST_START_TEST):
11384 * docs/design/part-TODO.txt:
11385 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11386 (gst_base_sink_event), (gst_base_sink_do_sync),
11387 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11388 (gst_base_sink_query), (gst_base_sink_change_state):
11389 * gst/base/gstbasesink.h:
11390 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11391 (gst_base_src_default_newsegment),
11392 (gst_base_src_configure_segment), (gst_base_src_do_seek),
11393 (gst_base_src_get_range), (gst_base_src_loop),
11394 (gst_base_src_change_state):
11395 * gst/base/gstbasesrc.h:
11396 * gst/base/gstbasetransform.c:
11397 (gst_base_transform_prepare_output_buf),
11398 (gst_base_transform_event), (gst_base_transform_change_state):
11399 * gst/base/gstbasetransform.h:
11400 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11401 (gst_collect_pads_event):
11402 * gst/base/gstcollectpads.h:
11403 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11404 (gst_fake_src_create):
11405 * gst/elements/gstfakesrc.h:
11406 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11407 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11408 (gst_segment_set_last_stop), (gst_segment_set_seek),
11409 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11410 (gst_segment_to_running_time), (gst_segment_clip):
11411 * gst/gstsegment.h:
11412 More segment updates, replace code in plugins with segment
11415 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11417 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11418 Don't ignore sscanf results
11420 2005-11-21 Andy Wingo <wingo@pobox.com>
11422 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11425 * *.c: Ran scripts/update-macros. Oh yes.
11427 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11428 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11431 * scripts/update-macros: New script. Run it on your files to
11432 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11435 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11437 * docs/gst/Makefile.am:
11438 * docs/gst/gstreamer-docs.sgml:
11439 * docs/gst/gstreamer-sections.txt:
11440 * docs/gst/gstreamer.types:
11442 more docs fixes, add new api to the docs
11444 2005-11-21 Andy Wingo <wingo@pobox.com>
11446 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11447 state_broadcast call.
11449 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11451 2005-11-21 Julien MOUTTE <julien@moutte.net>
11453 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11454 function calls for arrays.
11456 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11458 * docs/random/ensonic/media-device-daemon.txt:
11459 wild idea, can this be done?
11460 * docs/gst/gstreamer-sections.txt:
11465 * gst/gstpluginfeature.c:
11469 doc fixes and additions
11471 2005-11-21 Andy Wingo <wingo@pobox.com>
11473 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
11474 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
11475 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
11476 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11477 private to the basesrc implementation.
11479 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11480 behalf of event function if necessary. It should no longer be
11481 necessary to take the stream lock in pad's event functions. Fixes
11484 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11485 * docs/gst/gstreamer-sections.txt:
11486 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11487 (gst_structure_fixate_field_nearest_double),
11488 (gst_structure_fixate_field_boolean):
11489 * gst/gststructure.h:
11490 * win32/common/libgstreamer.def:
11491 * win32/gstreamer.def:
11493 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11496 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11498 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11499 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11500 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11501 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11502 (gst_fdsrc_uri_handler_init):
11503 * gst/elements/gstfdsrc.h:
11504 Port fd:// URI handler from 0.8 to fdsrc
11506 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11508 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11509 (gst_value_serialize_fourcc):
11511 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11512 consistent with our other format defines (#320324).
11514 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11516 * gst/gstvalue.c: (gst_value_is_fixed):
11517 Revert previous commit. Value lists are by definition
11518 not fixed, as they are a list of possible values.
11520 2005-11-21 Andy Wingo <wingo@pobox.com>
11522 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11523 during the stable series if we need it. Fixes #319178.
11525 * gst/gstevent.c (gst_event_new_filler): Removed.
11527 * check/gst/gstevent.c: Update comment about filler events.
11529 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11531 * gst/gstvalue.c: (gst_value_is_fixed):
11532 Should handle both value arrays and value lists.
11534 2005-11-21 Andy Wingo <wingo@pobox.com>
11536 patch by: Alessandro Dessina <alessandro nnva org>
11538 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11539 functions to access arrays. Fixes #321962.
11541 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11543 * docs/gst/gstreamer.types:
11544 gst_collectpads_get_type => gst_collect_pads_get_type.
11546 * gst/base/gstbasetransform.c:
11547 Remove unused SIGNAL_HANDOFF enum.
11549 2005-11-21 Andy Wingo <wingo@pobox.com>
11551 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11552 the event type (upstream, downstream, serialized). Renamed
11553 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11554 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11555 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11557 * gst/gstevent.c: Update for new CUSTOM event names.
11559 * check/gst/gstevent.c: Update check for new CUSTOM event names.
11562 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11565 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11567 * docs/gst/gstreamer-sections.txt:
11568 * win32/common/libgstbase.def:
11569 * win32/libgstbase.def:
11570 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11571 (gst_collect_pads_class_init), (gst_collect_pads_init),
11572 (gst_collect_pads_finalize), (gst_collect_pads_new),
11573 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11574 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11575 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11576 (gst_collect_pads_start), (gst_collect_pads_stop),
11577 (gst_collect_pads_peek), (gst_collect_pads_pop),
11578 (gst_collect_pads_available), (gst_collect_pads_read),
11579 (gst_collect_pads_flush), (gst_collect_pads_event),
11580 (gst_collect_pads_chain):
11581 * gst/base/gstcollectpads.h:
11582 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11583 unimplemented functions as unimplemented. Add padding to
11584 GstCollectData. (#320766, #320423)
11586 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11588 * gst/gstmessage.c:
11589 Improve docs for DURATION message (usage of duration parameter)
11592 2005-11-20 Wim Taymans <wim@fluendo.com>
11594 * check/Makefile.am:
11595 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11599 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11600 (gst_segment_set_seek), (gst_segment_set_newsegment),
11601 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11602 (gst_segment_clip):
11603 * gst/gstsegment.h:
11604 Added segment helper structure and methods. Not fully implemented
11606 Added segment check.
11608 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
11610 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11611 Add a deserialisation test for fractions
11612 * examples/metadata/read-metadata.c: (message_loop),
11613 (make_pipeline), (main):
11614 Fix up metadata reading sample.
11615 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11617 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11618 Don't try and fixate empty caps
11619 * gst/gst_private.h:
11620 Wrap in G_BEGIN_DECLS/G_END_DECLS
11621 * gst/gstvalue.c: (gst_value_collect_fraction),
11622 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11623 (gst_value_transform_string_fraction),
11624 (gst_value_compare_fraction):
11625 Add some extra guards to ensure that we don't end up
11626 with an invalid denominator of 0 in a gstfraction and
11627 that fractions always get reduced.
11629 2005-11-20 Wim Taymans <wim@fluendo.com>
11631 * docs/gst/gstreamer-sections.txt:
11633 * gst/gstelement.c:
11642 2005-11-20 Wim Taymans <wim@fluendo.com>
11644 * docs/design/part-TODO.txt:
11646 Make a proper enum of the flag.
11648 2005-11-19 Wim Taymans <wim@fluendo.com>
11650 * docs/design/part-TODO.txt:
11651 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11652 (gst_format_to_quark), (gst_format_register):
11654 * gst/gstquery.c: (_gst_query_initialize),
11655 (gst_query_type_get_name), (gst_query_type_to_quark),
11656 (gst_query_type_register):
11658 Add type to quark and type to string conversions.
11660 2005-11-19 Andy Wingo <wingo@pobox.com>
11662 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11665 2005-11-19 Wim Taymans <wim@fluendo.com>
11667 * docs/design/part-TODO.txt:
11668 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11669 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11670 (gst_bin_handle_message_func):
11672 Make message handling overridable.
11674 2005-11-19 Andy Wingo <wingo@pobox.com>
11676 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11679 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11681 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11682 is a GstClockTime. Fixes #321710.
11684 * gst/gstclock.h (GstClock): Remove offset property. Add
11685 internal_calibration and external_calibration. Fix padding. Pad
11686 also by GstClockTime so we don't run into problems.
11688 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11689 (gst_clock_get_rate_offset): Remove.
11690 (gst_clock_set_time_adjust): Remove. Fixes #321712.
11693 * gst/gstutils.c (g_static_rec_cond_wait)
11694 (g_static_rec_cond_timed_wait): Removed, no longer needed.
11696 * gst/gstbin.c: Remove terrible continue_state prototype.
11698 * gst/gstelement.h (gst_element_continue_state): Make public.
11700 * gst/gstelement.h:
11701 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11702 by continue_state. Fixes #319389.
11704 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11705 Really fixes #168438. However I don't see anywhere where the
11706 filter function is called... stupid GStreamer...
11708 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11709 don't have a dispose function, so it won't get called when the
11710 object is unreffed, but oh well!
11712 * gst/gstindex.c (gst_index_set_filter_full): New API function,
11713 allows a destroy function to be set so user_data can be freed.
11715 (gst_index_set_filter): Call gst_index_set_filter_full.
11717 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11719 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11720 string should produce an error, given the lack of a way to
11721 represent NULL strings. Fixes #165650.
11724 * gst/gstvalue.c (gst_value_array_append_value)
11725 (gst_value_array_prepend_value, gst_value_array_get_size)
11726 (gst_value_array_get_value): New API, copied from
11727 gst_value_list_*, only operates on arrays.
11728 (gst_value_list_append_value, gst_value_list_prepend_value)
11729 (gst_value_list_concat, gst_value_list_get_size)
11730 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11732 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11733 init_list, because it works on both.
11734 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11735 (gst_value_copy_list_or_array): Renamed from copy_list.
11736 (gst_value_free_list_or_array): Renamed from free_list.
11737 (gst_value_collect_list_or_array): Renamed from collect_list.
11738 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11739 (gst_value_list_or_array_peek_pointer): Renamed from
11741 (_gst_value_array_value_table, _gst_value_list_value_table):
11742 Update value table functions.
11743 (gst_value_compare_list_or_array): Renamed from compare_list.
11745 * gsttaglist.h: Whoops, foreach function returns void. Also fix
11748 * gst/gsttaglist.c:
11749 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11750 GstTagList*. Fixes #143472.
11752 * gst/gststructure.h: Clarify what the foreach/map functions can
11753 or can't do to their arguments.
11755 2005-11-18 Wim Taymans <wim@fluendo.com>
11757 * gst/gstclock.c: (gst_clock_set_calibration),
11758 (gst_clock_get_calibration):
11760 Calibration can be set with internal time equal to current
11763 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
11769 2005-11-18 Andy Wingo <wingo@pobox.com>
11772 * pkgconfig/gstreamer-net.pc.in:
11773 * pkgconfig/gstreamer-net-uninstalled.pc.in:
11774 * pkgconfig/Makefile.am: Add net pkgconfig files.
11776 2005-11-18 Stefan Kost <ensonic@users.sf.net>
11779 * gst/gstghostpad.c:
11785 2005-11-18 Andy Wingo <wingo@pobox.com>
11787 * gst/net/gstnetclientclock.c: Turn off debugging.
11789 * check/net/gstnetclientclock.c (test_functioning): Assert that the
11790 times connverge somewhat. Can't make a real test.
11792 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
11793 integer arithmetic. Return the minimum of the domain, which can be
11794 set as "internal" for gst_clock_set_calibration.
11795 (gst_net_client_clock_observe_times): Call _set_calibration.
11796 (gst_net_client_clock_new): Call _set_calibration instead of
11799 * check/net/gstnetclientclock.c (test_functioning): Use the right
11803 * gst/gstclock.c (gst_clock_get_calibration)
11804 (gst_clock_set_calibration): New functions, obsolete the ones I
11805 added yesterday. Doh. Precision issues mean we have to extrapolate
11806 from a point in the more recent past than 1970.
11807 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
11809 (gst_clock_adjust_unlocked): Use the right calibration data.
11811 2005-11-18 Edward Hervey <edward@fluendo.com>
11813 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11814 Also reset the ->current_* values in READY->PAUSED
11816 2005-11-18 Andy Wingo <wingo@pobox.com>
11818 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
11819 Whoops, check the right fd. Also add some debugging.
11820 (gst_net_client_clock_observe_times): Adjust for int64 offset.
11821 (do_linear_regression): Add a crapload of debugging. Subtract off
11822 the minimum values from the input series to discard unneeded bits.
11823 Use only int arithmetic. There is still double arithmetic when
11824 calculating the intercept that needs fixing. Return boolean to
11825 indicate success; FALSE would mean the domain or range is too
11826 great. Still needs fixes.
11828 2005-11-18 Wim Taymans <wim@fluendo.com>
11830 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
11831 For the current position in stream time, we need to subtract
11834 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11835 Release lock before calling the callback function of async
11838 2005-11-18 Andy Wingo <wingo@pobox.com>
11840 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
11841 Port goes all the way to MAXUINT16.
11843 * gst/net/gstnettimeprovider.c: Make the port range the same as
11844 for the kernel: 0 assigns, otherwise ports are less than
11847 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
11850 * check/net/gstnetclientclock.c (test_functioning): Add the start
11853 2005-11-18 Wim Taymans <wim@fluendo.com>
11855 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11856 (gst_bin_remove_func), (bin_bus_handler):
11858 Removing a clock provider from a bin, triggers a clock lost message
11859 so that a new clock will be selected.
11860 Adding a clock to a bin triggers a clock provider message.
11861 Make sure we reselect a clock when we received a clock lost message.
11862 Keep a reference to the element that provided the clock.
11864 2005-11-18 Andy Wingo <wingo@pobox.com>
11866 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
11867 the clock initially so it produces values around the base time.
11868 (gst_net_client_clock_class_init): Typo fix.
11869 (gst_net_client_clock_thread): Add note on when the socket gets
11872 2005-11-17 Wim Taymans <wim@fluendo.com>
11874 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
11875 Free remote and local time arrays.
11877 2005-11-17 Wim Taymans <wim@fluendo.com>
11879 * gst/net/gstnetclientclock.c: (do_linear_regression),
11880 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
11881 Fix compilation, uninitialized vars and a forgotten continue.
11883 2005-11-17 Andy Wingo <wingo@pobox.com>
11885 * check/Makefile.am (check_PROGRAMS):
11886 * check/net/gstnetclientclock.c: Add a most minimal test for the
11887 net client clock. More to come later.
11889 * gst/net/gstnet.h:
11890 * gst/net/Makefile.am: Add netclientclock.
11892 * gst/net/gstnetclientclock.h:
11893 * gst/net/gstnetclientclock.c: New files, implement an untested
11894 GstClock that takes its time from a network time provider.
11895 Implements the algorithm in network-clock.scm.
11897 * tests/network-clock.scm (*window-size*): Rename from
11899 * tests/network-clock.scm (network-time):
11900 * tests/network-clock-utils.scm (q-push): Update callers.
11902 2005-11-17 Wim Taymans <wim@fluendo.com>
11904 * gst/gstbin.c: (gst_bin_provide_clock_func),
11905 (gst_bin_sort_iterator_new):
11906 And unref the child too..
11908 2005-11-17 Wim Taymans <wim@fluendo.com>
11910 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11911 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
11912 Refactor the sort iterator so it can be used while holding the
11914 Make clock selection select a clock closest to the source.
11916 2005-11-17 Michael Smith <msmith@fluendo.com>
11918 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
11919 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
11921 Anonymous structs are a gcc (and some other compilers) extension, so
11922 don't use them. Since this is only for ABI-compatibility, and our
11923 API/ABI freeze is over in a few days, this whole thing will only
11924 last a few days, so don't bother trying to think up a meaningful
11925 name for the struct.
11927 2005-11-17 Andy Wingo <wingo@pobox.com>
11929 * gst/gstclock.h (GstClock): Add rate and offset properties,
11930 preserving ABI stability. Add rate/offset accessors. Will file bug
11931 for the freeze break.
11933 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
11934 and offset, trying to keep precision and avoiding
11935 underflow/overflow.
11936 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
11937 functions. Make gst_clock_set_time_adjust obsolete.
11938 (gst_clock_set_time_adjust): Note that this function is obsolete.
11939 Will file bug soon.
11941 * gst/base/gstbasetransform.h: Make the ABI-stability hack
11942 greppable by using GST_PADDING-1+1.
11944 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
11946 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11948 * gst/gstmessage.c: (gst_message_parse_clock_lost):
11949 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
11951 * gst/gstpadtemplate.h:
11952 * gst/gstpluginfeature.h:
11953 Don't use c++ style comments in headers (#321638).
11955 2005-11-16 Andy Wingo <wingo@pobox.com>
11957 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
11960 * check/net/gstnettimeprovider.c: Check to see that the time
11961 provider actually provides times. Works, yo!
11963 2005-11-16 Wim Taymans <wim@fluendo.com>
11965 * check/Makefile.am:
11968 * check/elements/fakesrc.c: (GST_START_TEST):
11969 Set element to NULL before disposing it.
11971 2005-11-16 Andy Wingo <wingo@pobox.com>
11973 * gst/net/Makefile.am:
11974 * gst/net/gstnet.h:
11975 * gst/net/gstnettimeprovider.c:
11976 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
11977 provider, include it from gstnet.h, and add it to the build.
11979 * gst/net/gstnettimepacket.h:
11980 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
11981 sending and receiving.
11983 2005-11-16 Wim Taymans <wim@fluendo.com>
11985 * check/Makefile.am:
11986 Enable valgrind check.
11988 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
11989 (gst_fake_src_alloc_buffer):
11992 2005-11-16 Wim Taymans <wim@fluendo.com>
11994 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
11995 Call parent finalize too.
11997 2005-11-16 Wim Taymans <wim@fluendo.com>
11999 * check/Makefile.am:
12000 Enable valgrind check that should work fine now.
12002 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12003 * gst/gstqueue.c: (gst_queue_init):
12004 Fix memleaks in pad allocation.
12006 2005-11-16 Andy Wingo <wingo@pobox.com>
12008 * gst/net/Makefile.am:
12009 * gst/net/gstnet.h: New part of core to hold network elements and
12010 objects. Put in core because it exposes API that applications want
12011 to use. The library is named libgstnet-tempname right now because
12012 of the existing libgstnet in gst-plugins-base. Solution is
12013 probably to rename the one in plugins-base; will file a bug for
12016 * gst/net/gstnettimeprovider.c:
12017 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12018 get_time call over the network.
12021 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12023 * check/Makefile.am:
12024 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12025 get additions shortly.
12027 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12029 * gst/gstpad.c: (gst_pad_new_from_static_template):
12031 add gst_pad_new_from_static_template functions
12032 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12033 (gst_check_setup_sink_pad):
12034 * gst/elements/gsttee.c: (gst_tee_init):
12037 2005-11-16 Wim Taymans <wim@fluendo.com>
12039 * gst/gstpad.c: (gst_pad_pause_task):
12040 Removed warning, it's not really an error either.
12042 2005-11-16 Wim Taymans <wim@fluendo.com>
12044 * gst/base/gstbasetransform.c:
12045 (gst_base_transform_prepare_output_buf),
12046 (gst_base_transform_event):
12047 Check if the caps are NULL, this can happen if the element
12048 is shutting down and the pad caps are set to NULL.
12050 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12052 * gst/elements/gsttee.c: (gst_tee_init):
12053 fix pad template leak in tee
12055 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12057 * gst/glib-compat.c: (g_value_dup_gst_object):
12058 * gst/glib-compat.h:
12059 * gst/gstpad.c: (gst_pad_set_property):
12060 use gst_object_ref when setting the pad template; this will
12061 trigger the pad template leaks on GLib 2.6 and the slaves
12063 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12065 * gst/glib-compat.c: (gst_flags_get_first_value):
12066 * gst/glib-compat.h:
12067 * gst/gstregistryxml.c:
12068 remove functions copied from GLib 2.6
12070 2005-11-16 Michael Smith <msmith@fluendo.com>
12073 Don't link against VALGRIND_LIBS. That was always the wrong thing to
12074 do, but only breaks with newer valgrind versions. We're not a
12075 valgrind tool, we have no link-time dependencies on libcoregrind.
12077 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12079 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12081 * gst/gstmessage.h:
12084 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12086 * gst/base/gstbasesrc.c: (gst_base_src_init):
12087 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12088 * gst/gstqueue.c: (gst_queue_init):
12089 * gst/gstregistryxml.c: (load_feature):
12090 Revert all these unrefs, they don't even pass make check !
12092 2005-11-15 Johan Dahlin <johan@gnome.org>
12094 * gst/base/gstbasesrc.c: (gst_base_src_init):
12095 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12096 * gst/gstqueue.c: (gst_queue_init):
12097 Free pad templates, fixes a couple of leaks.
12099 2005-11-15 Daniel Fischer <dan at f3c dot com>
12101 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12103 * gst/gstpad.c: (gst_pad_get_property):
12104 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12105 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12108 2005-11-15 Wim Taymans <wim@fluendo.com>
12113 2005-11-15 Andy Wingo <wingo@pobox.com>
12115 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12117 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12118 using GST_CLOCK_TIME_NONE to disable base time management.
12119 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12120 time if it was NONE before.
12121 (gst_pipeline_change_state): Only munge the base time if
12122 stream_time != GST_CLOCK_TIME_NONE.
12124 * check/gst/gstpipeline.c (test_base_time): Punt around the
12125 problem of the probe not being called, because that's not the
12126 issue I'm looking at. Add a check that setting stream_time to NONE
12127 disables base time management.
12129 2005-11-15 Wim Taymans <wim@fluendo.com>
12131 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12132 segment_stop == -1 at startup.
12134 * gst/base/gstbasetransform.c: (gst_base_transform_event),
12135 (gst_base_transform_change_state):
12136 Init segment values at start.
12138 2005-11-15 Wim Taymans <wim@fluendo.com>
12140 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12141 0 segment values are 0 in any format.
12143 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12144 * gst/base/gstbasetransform.h:
12145 Parse newsegment correctly in basetransform
12147 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12148 Sync to clock using updated segment values.
12150 2005-11-15 Andy Wingo <wingo@pobox.com>
12152 * check/gst/gstpipeline.c (test_base_time): Add check that the
12153 base time and stream time are reset correctly.
12155 2005-11-15 Wim Taymans <wim@fluendo.com>
12157 * docs/design/part-TODO.txt:
12158 Some more TODO items.
12160 2005-11-15 Andy Wingo <wingo@pobox.com>
12162 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12163 error if the user selected "no clock" as the clocking method.
12165 * check/gst/gstpipeline.c (test_base_time): New test for buffer
12166 timestamps with live capture.
12168 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12169 is 0 but we are a live source, timestamp the buffers using the
12172 2005-11-14 Stefan Kost <ensonic@users.sf.net>
12174 * docs/gst/gstreamer-sections.txt:
12176 * gst/gstghostpad.c:
12181 2005-11-14 Wim Taymans <wim@fluendo.com>
12184 add suppressions from Wim's Debian machine
12186 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
12189 add suppressions from Andy's AMD64 Ubuntu machine
12191 2005-11-14 Andy Wingo <wingo@pobox.com>
12193 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12194 STATE_LOCK not necessary. Fixes #311489.
12196 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12199 * gst/gstindex.c (gst_index_add_object): Note in the docs that
12200 this function is not implemented.
12202 2005-11-14 Julien MOUTTE <julien@moutte.net>
12204 * gst/base/gstbasetransform.c:
12205 (gst_base_transform_prepare_output_buf):
12206 Ref the source pad caps while we need them.
12209 2005-11-11 Wim Taymans <wim@fluendo.com>
12211 * docs/gst/gstreamer-sections.txt:
12212 Added some docs for GstCollectData.
12214 * gst/base/gstadapter.c:
12215 Some small code example fix.
12217 * gst/base/gstcollectpads.c:
12218 * gst/base/gstcollectpads.h:
12219 Document some more.
12221 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12223 * configure.ac: back to HEAD
12225 === release 0.9.5 ===
12227 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12230 releasing 0.9.5, "Bike Lunch Day"
12232 2005-11-11 Wim Taymans <wim@fluendo.com>
12234 * gst/gstbuffer.c: (_gst_buffer_copy):
12237 * gst/gstcaps.c: (gst_caps_is_equal):
12239 Make _is_equal fast in the trivial cases.
12241 * gst/gstminiobject.c:
12242 * gst/gstminiobject.h:
12243 More docs. Spifify .h file.
12248 2005-11-11 Wim Taymans <wim@fluendo.com>
12250 * gst/base/gstbasetransform.c:
12251 (gst_base_transform_prepare_output_buf),
12252 (gst_base_transform_handle_buffer):
12254 If we're processing a buffer and need to allocate an output
12255 buffer, we cannot accept a format change. If we did get a
12256 format change, we have to alloc a buffer ourselves of the
12259 2005-11-11 Wim Taymans <wim@fluendo.com>
12261 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12262 While checking the flag for reentrancy in the gstcaps function
12263 is nice to detect recursive invocations, it also makes it
12264 impossible to call getcaps from multiple threads, which must be
12265 possible. So, checking for recursive calls has to go.
12267 2005-11-11 Michael Smith <msmith@fluendo.com>
12269 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12270 Don't sync on buffers that fall partially outside our current
12271 segment. Prevents an assertion failure/abort playing some files.
12273 2005-11-10 Andy Wingo <wingo@pobox.com>
12275 * check/gst/gstbin.c (test_message_state_changed_children): Style
12278 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12279 gst_bus_poll with the signal watch. Ensures that poll and a signal
12280 watch see the same messages.
12282 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12283 a poll and a watch at the same time get the same messages.
12285 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12287 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12288 * gst/gstcaps.c: (gst_caps_intersect):
12289 Don't call gst_caps_do_simplify - it doesn't respect order of caps
12290 and it's not needed.
12292 2005-11-10 Wim Taymans <wim@fluendo.com>
12294 * docs/design/part-TODO.txt:
12297 2005-11-10 Wim Taymans <wim@fluendo.com>
12299 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12300 * gst/base/gstbasesrc.c: (gst_base_src_wait),
12301 (gst_base_src_do_sync), (gst_base_src_get_range):
12302 Implement clock sync in base class.
12304 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12306 patch by: Tim-Philipp Müller <tim at centricular dot net>
12308 * gst/gststructure.c: (gst_structure_parse_field),
12309 (gst_structure_from_string):
12310 Forward-port a 0.8 patch to handle escaped spaces in structure string,
12311 so that gst_parse_launch() can deal with spaces in filtered link
12312 caps (fixes #164479)
12313 * check/gst/capslist.h:
12314 * check/gst/gststructure.c: (GST_START_TEST):
12315 add unit tests for this change
12317 2005-11-10 Wim Taymans <wim@fluendo.com>
12319 * docs/gst/gstreamer-sections.txt:
12320 * gst/gstelement.c:
12321 * gst/gstelement.h:
12322 Fix docs, move some STATE macros to private.
12324 2005-11-10 Wim Taymans <wim@fluendo.com>
12326 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12327 Added check for bug #317341
12331 Some more spiffifying.
12333 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12334 Call peer linkfunction if we are a source pad. Totally fixes
12338 Update docs, source pads should call the peer linkfunction
12339 so they can atomically perform the pad link.
12341 2005-11-09 Wim Taymans <wim@fluendo.com>
12345 Uber-spiffy-spiffify some more.
12347 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
12349 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12350 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12351 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12352 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12353 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12354 * gst/gstpad.c: (gst_pad_init):
12355 Use GST_DEBUG_FUNCPTR() more extensively.
12357 2005-11-09 Wim Taymans <wim@fluendo.com>
12359 * gst/gstobject.c: (gst_object_class_init):
12361 Documentation fixes.
12363 2005-11-09 Edward Hervey <edward@fluendo.com>
12365 * gst/gsttypefindfactory.c:
12368 2005-11-09 Edward Hervey <edward@fluendo.com>
12370 * gst/base/gsttypefindhelper.c:
12371 * gst/gsttypefind.c:
12372 * gst/gsttypefind.h:
12375 2005-11-09 Wim Taymans <wim@fluendo.com>
12377 * gst/gstiterator.c:
12384 2005-11-09 Wim Taymans <wim@fluendo.com>
12390 2005-11-09 Wim Taymans <wim@fluendo.com>
12392 * docs/gst/gstreamer-sections.txt:
12393 Moved the message async delivery private lock and cond
12394 to the private section.
12396 * gst/gstmessage.c:
12397 * gst/gstmessage.h:
12400 2005-11-09 Edward Hervey <edward@fluendo.com>
12402 * docs/gst/gstreamer-sections.txt:
12405 Document GstURIHandler
12407 2005-11-09 Wim Taymans <wim@fluendo.com>
12409 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12410 (gst_iterator_find_custom):
12411 * gst/gstiterator.h:
12414 2005-11-09 Wim Taymans <wim@fluendo.com>
12417 Document another field.
12419 * gst/gststructure.c:
12420 * gst/gststructure.h:
12423 2005-11-09 Wim Taymans <wim@fluendo.com>
12426 Documented structs.
12428 2005-11-09 Wim Taymans <wim@fluendo.com>
12430 * docs/gst/gstreamer-sections.txt:
12431 Added some new macros.
12438 2005-11-09 Wim Taymans <wim@fluendo.com>
12440 * docs/design/part-TODO.txt:
12441 Some more items for the TODO
12447 2005-11-09 Andy Wingo <wingo@pobox.com>
12449 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12450 to work on something else now tho...
12452 * gst/base/gstadapter.c: More adapter docs.
12454 * gst/elements/gstfilesink.c (gst_file_sink_start)
12455 (gst_file_sink_stop): New functions, replace the state change
12457 (gst_file_sink_class_init): Hook up the start and stop functions.
12458 (gst_file_sink_base_init): Don't set the state change handler any
12459 more. It was a bit ugly too, being set from here...
12460 (gst_file_sink_get_property, gst_file_sink_set_property):
12462 (gst_file_sink_set_location): More robust check that doesn't call
12463 GST_STATE. Ugggggg.
12465 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
12467 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12468 Hold STREAM_LOCK while pushing newsegment or tag events as well.
12470 2005-11-08 Wim Taymans <wim@fluendo.com>
12472 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12473 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12474 (gst_base_sink_chain), (gst_base_sink_change_state):
12475 * gst/base/gstbasesink.h:
12476 * gst/base/gstbasesrc.h:
12477 * gst/gstelement.h:
12479 Avoid excessive typechecking in macros.
12481 * gst/gstminiobject.c: (gst_mini_object_get_type),
12482 (gst_mini_object_init), (gst_mini_object_new),
12483 (gst_mini_object_free):
12484 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12485 (gst_object_finalize):
12486 Remove cruft code, optimize alloc_trace.
12488 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
12490 * docs/faq/gst-uninstalled:
12491 fix up PS1 for systems that try to reset it
12493 2005-11-07 Wim Taymans <wim@fluendo.com>
12495 * gst/base/gstbasesrc.c: (gst_base_src_init),
12496 (gst_base_src_get_range):
12497 Set the segment_end to -1 initially. Fixed typefind.
12499 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
12501 * gst/base/gstadapter.c:
12502 Debug category should be 'adapter', not 'GstAdapter'.
12504 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12505 (gst_collectpads_class_init), (gst_collectpads_init),
12506 (gst_collectpads_peek), (gst_collectpads_pop),
12507 (gst_collectpads_event), (gst_collectpads_chain):
12508 Add debug category and some debugging output. Use boilerplate
12509 macros. Remove some extraneous words from docs.
12511 2005-11-05 Andy Wingo <wingo@pobox.com>
12513 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12516 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12518 * docs/gst/gstreamer-sections.txt:
12521 * gst/gstminiobject.h:
12526 2005-11-04 Wim Taymans <wim@fluendo.com>
12528 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12529 Small update to stop at the configured segment_end
12532 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12534 * gst/gstregistry.c:
12535 * gst/gstregistry.h:
12538 2005-11-04 Edward Hervey <edward@fluendo.com>
12540 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12541 Check if we are doing a segment seek and have arrived at the
12542 end of that segment.
12544 2005-11-04 Wim Taymans <wim@fluendo.com>
12546 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12547 Don't leak a mutex unlock in case of an error.
12552 2005-11-04 Wim Taymans <wim@fluendo.com>
12554 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12556 Get the context to wake up only once.
12558 2005-11-03 Wim Taymans <wim@fluendo.com>
12560 * check/states/sinks.c: (GST_START_TEST):
12561 Uncomment fixed check.
12563 * docs/design/part-TODO.txt:
12566 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12567 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12568 (gst_base_sink_get_position):
12569 If we are going to PLAYING, post the right pending state
12570 when we post the intermediate paused message.
12572 * gst/gstelement.c: (gst_element_continue_state),
12573 (gst_element_set_state_func), (gst_element_change_state):
12574 Don't post state changes that were between the same state
12575 and were not ASYNC.
12577 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12579 * docs/gst/gstreamer-sections.txt:
12582 * gst/gstminiobject.h:
12585 more docs and doc style fixes
12587 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12589 * docs/gst/gstreamer-sections.txt:
12590 * gst/gstelement.c:
12591 * gst/gstminiobject.c:
12594 2005-11-03 Andy Wingo <wingo@pobox.com>
12596 * check/states/sinks.c (test_livesrc_sink): Add checks that the
12597 state-changed messages actually have the right order and the right
12600 2005-11-03 Wim Taymans <wim@fluendo.com>
12602 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12603 Added some more checks. Specifically the case where NO_PREROLL
12604 elements are in the pipeline.
12606 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12607 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12608 (gst_base_sink_get_position):
12609 Post READY->PAUSED state change messages too.
12610 Fix bug where VOID was posted as pending state...
12612 * gst/gstbin.c: (gst_bin_recalc_state):
12613 use _element_continue_state() to continue the state change.
12615 * gst/gstelement.c: (gst_element_continue_state),
12616 (gst_element_commit_state), (gst_element_set_state_func),
12617 (gst_element_change_state), (gst_element_change_state_func):
12618 Lots of state change cleanups, assign the STATE_RETURN in
12619 a new continue_state() function that also propagates the
12620 last return value from a state change to the app.
12621 Update some debug statements with proper category.
12623 2005-11-03 Wim Taymans <wim@fluendo.com>
12625 * docs/design/part-events.txt:
12626 * docs/design/part-gstpipeline.txt:
12627 * docs/design/part-messages.txt:
12628 * docs/design/part-overview.txt:
12629 * docs/design/part-seeking.txt:
12630 * docs/design/part-states.txt:
12631 * docs/design/part-trickmodes.txt:
12632 * docs/manual/advanced-position.xml:
12633 Small docs updates.
12636 People think !! is ugly, this looks better.
12638 * gst/gstpad.c: (gst_pad_set_blocked_async):
12639 Remove !! since it's fixed elsewhere now.
12641 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12643 * gst/gstminiobject.h:
12645 Add !! to _FLAG_IS_SET macros to make the result boolean.
12647 2005-11-03 Edward Hervey <edward@fluendo.com>
12649 * gst/gstpad.c: (gst_pad_set_blocked_async):
12650 comparing a flag and a gboolean rarely returns coherent results...
12651 Added two characters (!!) to make that work correctly.
12653 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12655 * gst/gstbus.c: (gst_bus_class_init):
12658 * gst/gstqueue.c: (gst_queue_loop):
12659 Don't assume a miniobject that isn't a buffer is an
12660 event (it could be that there is a refcounting
12661 problem somewhere and the pointer is stale and
12662 refers to an already destroyed miniobject).
12664 2005-11-03 Julien MOUTTE <julien@moutte.net>
12666 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12668 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12670 * docs/manual/advanced-position.xml:
12671 Update seek example and explanations to current 0.9 API.
12673 * gst/elements/gsttypefindelement.c:
12674 (gst_type_find_element_activate):
12675 Remove FIXME comment now that the found caps
12678 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
12680 * gst/gstregistryxml.c: (load_feature):
12681 Add another GST_STR_NULL instance
12683 2005-11-02 Edward Hervey <edward@fluendo.com>
12685 * gst/gstpad.c: (handle_pad_block):
12686 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12688 2005-11-02 Wim Taymans <wim@fluendo.com>
12693 * gst/gstelement.c: (gst_element_commit_state):
12694 Remove unused value.
12696 * gst/gstiterator.c:
12697 Mention that the returned element is reffed in the docs.
12699 2005-11-02 Wim Taymans <wim@fluendo.com>
12701 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12702 (gst_pad_push), (gst_pad_push_event):
12703 Unlock blocked pads when they are flushed.
12705 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12708 * docs/gst/gstreamer-sections.txt:
12711 * gst/gstregistry.c: (gst_registry_scan_path_level):
12712 fix for a nasty little missed situation where an installed plug-in
12713 which was in the cache did not get overridden by an uninstalled one
12714 which was earlier in the plugin path because the newly created plugin
12715 for the uninstalled one (not in the registry) didn't get its
12716 ->registered set to TRUE
12718 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12720 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12721 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12722 (gst_collectpads_is_active), (gst_collectpads_collect),
12723 (gst_collectpads_collect_range), (gst_collectpads_start),
12724 (gst_collectpads_stop), (gst_collectpads_peek),
12725 (gst_collectpads_pop), (gst_collectpads_available),
12726 (gst_collectpads_read), (gst_collectpads_flush):
12727 Guard public API with assertions.
12730 Fix docs for gst_pad_set_link_function().
12732 2005-11-02 Johan Dahlin <johan@gnome.org>
12734 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
12735 Unref found_caps after we used it.
12737 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12739 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12740 Don't try to ref NULL.
12742 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12744 * win32/common/config.h.in:
12745 provide a GST_FUNCTION that just gives a string for now
12747 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12749 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12750 (gst_object_flags_get_type), (register_gst_bin_flags),
12751 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12752 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12753 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12754 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
12755 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12756 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12757 (gst_clock_flags_get_type), (register_gst_state),
12758 (gst_state_get_type), (register_gst_state_change_return),
12759 (gst_state_change_return_get_type), (register_gst_state_change),
12760 (gst_state_change_get_type), (register_gst_element_flags),
12761 (gst_element_flags_get_type), (register_gst_core_error),
12762 (gst_core_error_get_type), (register_gst_library_error),
12763 (gst_library_error_get_type), (register_gst_resource_error),
12764 (gst_resource_error_get_type), (register_gst_stream_error),
12765 (gst_stream_error_get_type), (register_gst_event_type),
12766 (gst_event_type_get_type), (register_gst_seek_type),
12767 (gst_seek_type_get_type), (register_gst_seek_flags),
12768 (gst_seek_flags_get_type), (register_gst_format),
12769 (gst_format_get_type), (register_gst_index_certainty),
12770 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12771 (gst_index_entry_type_get_type),
12772 (register_gst_index_lookup_method),
12773 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12774 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12775 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12776 (gst_index_flags_get_type), (register_gst_debug_level),
12777 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12778 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12779 (gst_iterator_result_get_type), (register_gst_iterator_item),
12780 (gst_iterator_item_get_type), (register_gst_message_type),
12781 (gst_message_type_get_type), (register_gst_mini_object_flags),
12782 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12783 (gst_pad_link_return_get_type), (register_gst_flow_return),
12784 (gst_flow_return_get_type), (register_gst_activate_mode),
12785 (gst_activate_mode_get_type), (register_gst_pad_direction),
12786 (gst_pad_direction_get_type), (register_gst_pad_flags),
12787 (gst_pad_flags_get_type), (register_gst_pad_presence),
12788 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12789 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12790 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12791 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12792 (gst_plugin_flags_get_type), (register_gst_rank),
12793 (gst_rank_get_type), (register_gst_query_type),
12794 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12795 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12796 (gst_tag_flag_get_type), (register_gst_task_state),
12797 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12798 (gst_alloc_trace_flags_get_type),
12799 (register_gst_type_find_probability),
12800 (gst_type_find_probability_get_type), (register_gst_uri_type),
12801 (gst_uri_type_get_type), (register_gst_parse_error),
12802 (gst_parse_error_get_type):
12803 * win32/common/gstversion.h:
12804 update win32 copies
12806 2005-11-01 Luca Ognibene <luogni@tin.it>
12809 fix docs. popt is dead, long live GOption.
12811 2005-10-31 Wim Taymans <wim@fluendo.com>
12816 2005-10-31 Andy Wingo <wingo@pobox.com>
12820 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
12822 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
12823 need to serialize property notifications on GLib 2.8. GLib 2.6 has
12824 the possibility of deadlocks here if code calling notify() or
12825 set() has a lock that can be taken in another notify handler (ABBA
12826 with class lock and e.g. python GIL state lock).
12828 2005-10-28 Julien MOUTTE <julien@moutte.net>
12830 * gst/gstbus.c: Doc updates.
12832 2005-10-28 Wim Taymans <wim@fluendo.com>
12834 * docs/design/part-TODO.txt:
12835 * gst/gstiterator.c:
12836 * gst/gstsystemclock.c:
12837 * gst/gstsystemclock.h:
12840 2005-10-28 Edward Hervey <edward@fluendo.com>
12842 * docs/gst/gstreamer-docs.sgml:
12843 * docs/gst/gstreamer-sections.txt:
12844 the GstURIType documentation page is private, it only defines GstURIType
12845 which should be defined in the GstURIHandler page
12847 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
12849 * gst/gstbin.c: (gst_bin_class_init):
12852 Documentation updates.
12854 2005-10-28 Wim Taymans <wim@fluendo.com>
12856 * docs/gst/gstreamer-sections.txt:
12859 Documented the clocks.
12861 2005-10-28 Stefan Kost <ensonic@users.sf.net>
12863 * docs/gst/gstreamer-sections.txt:
12864 move some macros to private sections
12865 * gst/gstminiobject.c:
12866 * gst/gstminiobject.h:
12867 add descriptions provided by ds and some more
12869 mark macro as to be removed
12871 2005-10-28 Wim Taymans <wim@fluendo.com>
12873 * docs/design/part-TODO.txt:
12874 Add an item to TODO.
12876 * gst/gstiterator.c: (gst_iterator_fold),
12877 (gst_iterator_find_custom):
12878 * gst/gstiterator.h:
12881 2005-10-28 Wim Taymans <wim@fluendo.com>
12883 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12884 (gst_base_transform_init):
12887 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
12888 An EOS event marks the queue as completely filled.
12890 2005-10-27 Wim Taymans <wim@fluendo.com>
12892 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12893 (gst_base_sink_do_sync), (gst_base_sink_get_position):
12894 Some more debugging.
12896 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
12897 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
12898 (gst_base_transform_event), (gst_base_transform_getrange),
12899 (gst_base_transform_chain):
12900 * gst/base/gstbasetransform.h:
12902 Protect transform and concurrent buffer alloc with a new lock.
12903 Try not to break ABI/API.
12905 2005-10-27 Wim Taymans <wim@fluendo.com>
12907 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12908 (gst_base_src_init), (gst_base_src_query),
12909 (gst_base_src_default_newsegment),
12910 (gst_base_src_configure_segment), (gst_base_src_do_seek),
12911 (gst_base_src_send_event), (gst_base_src_event_handler),
12912 (gst_base_src_pad_get_range), (gst_base_src_loop),
12913 (gst_base_src_unlock), (gst_base_src_default_negotiate),
12914 (gst_base_src_start), (gst_base_src_deactivate),
12915 (gst_base_src_activate_push), (gst_base_src_change_state):
12916 Move some stuff around and cleanup things.
12918 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
12920 * gst/base/gstbasesrc.c: (gst_base_src_query):
12921 Add missing break statements.
12923 2005-10-27 Wim Taymans <wim@fluendo.com>
12925 * check/gst/gstbin.c: (GST_START_TEST):
12926 An extra refcount is taken in basesrc.
12928 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12929 (gst_base_src_get_range), (gst_base_src_pad_get_range),
12930 (gst_base_src_loop):
12931 Small cleanups, check for flushing after being unlocked from the
12932 LIVE_LOCK. take refcounts correctly (not yet everywhere).
12933 Don't send out EOS when going to READY.
12935 2005-10-27 Wim Taymans <wim@fluendo.com>
12937 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12938 (gst_base_sink_get_position):
12941 * gst/gstbin.c: (message_check), (bin_replace_message),
12942 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12943 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12944 (bin_query_duration_init), (bin_query_duration_fold),
12945 (bin_query_duration_done), (bin_query_generic_fold),
12947 * tools/gst-launch.c: (main):
12950 2005-10-26 Stefan Kost <ensonic@users.sf.net>
12952 * examples/controller/audio-example.c: (main):
12953 * examples/queue/queue.c: (event_loop):
12954 * gst/base/gstbasetransform.h:
12955 * gst/gstelement.c: (gst_element_send_event):
12957 * gst/gstpad.c: (gst_pad_send_event):
12960 changing log priority in error situations
12962 2005-10-25 Wim Taymans <wim@fluendo.com>
12964 * gst/gstbin.c: (message_check), (bin_replace_message),
12965 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12966 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12967 (bin_query_duration_init), (bin_query_duration_fold),
12968 (bin_query_duration_done), (bin_query_generic_fold),
12970 Some doc and debug updates.
12971 Cache previously requested query DURATION for speed. invalidate
12972 cached duration if element posts a DURATION message.
12974 2005-10-25 Wim Taymans <wim@fluendo.com>
12976 * docs/design/part-TODO.txt:
12979 * gst/gstbin.c: (message_check), (bin_replace_message),
12980 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12981 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12982 (bin_query_duration_init), (bin_query_duration_fold),
12983 (bin_query_duration_done), (bin_query_generic_fold),
12985 Handle SEGMENT_START/DONE messages correctly.
12986 More evolved query algorithm that handles duration queries
12989 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
12990 (gst_element_get_state_func), (gst_element_abort_state),
12991 (gst_element_commit_state), (gst_element_lost_state):
12992 Some more debugging.
12994 * gst/gstmessage.h:
12997 2005-10-25 Wim Taymans <wim@fluendo.com>
12999 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13000 Don't use invalid stream_time.
13002 * gst/gstevent.c: (gst_event_new_newsegment):
13003 stream_time in newsegment cannot be undefined.
13005 2005-10-24 Wim Taymans <wim@fluendo.com>
13010 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13012 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13014 2005-10-24 Stefan Kost <ensonic@users.sf.net>
13016 * docs/libs/tmpl/gstdparam.sgml:
13017 * docs/libs/tmpl/gstdplinint.sgml:
13018 * docs/libs/tmpl/gstdpman.sgml:
13019 * docs/libs/tmpl/gstdpsmooth.sgml:
13020 * docs/libs/tmpl/gstunitconvert.sgml:
13023 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
13028 === release 0.9.4 ===
13030 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13033 releasing 0.9.4, "Tyrannosaurus Rex"
13035 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
13037 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13038 (gst_file_sink_get_current_offset):
13039 Use fseeko() and ftello() if available. When falling back on
13040 lseek() to get the current offset, fflush() first to make sure
13041 everything is up-to-date and we get the right offset.
13043 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13045 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13046 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13047 * gst/gsterror.c: (_gst_stream_errors_init):
13049 * gst/gstqueue.c: (gst_queue_loop):
13051 remove prematurely added error category and clean up the instances
13053 2005-10-21 Wim Taymans <wim@fluendo.com>
13055 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13056 (gst_base_sink_get_position), (gst_base_sink_query),
13057 (gst_base_sink_change_state):
13058 Simply set the right flag when going to playing, that's all
13059 we need to do instead of calling a function inside the object
13060 lock (that could take the lock as well and deadlock)
13062 2005-10-21 Wim Taymans <wim@fluendo.com>
13064 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13065 (gst_base_src_loop):
13066 Don't warn, the peer element knows what to do best when
13067 the seek failed, it might try something else.
13069 2005-10-21 Wim Taymans <wim@fluendo.com>
13071 * gst/base/gstbasesrc.c: (gst_base_src_init),
13072 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13075 2005-10-21 Wim Taymans <wim@fluendo.com>
13077 * docs/design/part-segments.txt:
13080 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13081 Correctly set caps, even on the subbufer.
13083 2005-10-21 Wim Taymans <wim@fluendo.com>
13085 * docs/gst/gstreamer-docs.sgml:
13086 * docs/gst/gstreamer-sections.txt:
13087 * gst/gstelement.h:
13090 * gst/gstmessage.h:
13093 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13097 And 2% more doc coverage.
13099 2005-10-21 Andy Wingo <wingo@pobox.com>
13101 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13102 position reporting.
13104 2005-10-20 Wim Taymans <wim@fluendo.com>
13106 * gst/gsterror.c: (gst_error_get_message):
13109 * gst/gststructure.c:
13114 2005-10-20 Wim Taymans <wim@fluendo.com>
13119 Another 1% more coverage.
13121 2005-10-20 Wim Taymans <wim@fluendo.com>
13123 * docs/gst/gstreamer-sections.txt:
13124 * gst/gstelement.c: (gst_element_get_state_func),
13125 (gst_element_abort_state), (gst_element_commit_state),
13126 (gst_element_lost_state):
13128 * gst/gstquery.c: (gst_query_set_position),
13129 (gst_query_parse_position), (gst_query_set_duration),
13130 (gst_query_parse_duration), (gst_query_new_convert):
13132 Yay! 1% more docs coverage.
13134 2005-10-20 Wim Taymans <wim@fluendo.com>
13137 * gst/gstquery.c: (gst_query_set_position),
13138 (gst_query_parse_position), (gst_query_set_duration),
13139 (gst_query_parse_duration), (gst_query_new_convert):
13141 * gst/gstutils.c: (gst_element_query_convert):
13143 Docs and consistency fixes.
13145 2005-10-20 Wim Taymans <wim@fluendo.com>
13151 2005-10-20 Wim Taymans <wim@fluendo.com>
13153 * gst/gstbin.c: (message_check), (bin_replace_message),
13154 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13155 (update_degree), (gst_bin_sort_iterator_next),
13156 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13157 Reworked the message handling a bit, cache the messages instead of
13158 only the senders. alows us to do more in the future.
13160 2005-10-20 Wim Taymans <wim@fluendo.com>
13162 * docs/design/part-TODO.txt:
13165 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13166 (gst_base_sink_query):
13167 Don't use clock time to report position when in EOS.
13169 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
13171 * tools/gst-inspect.c: (print_interfaces),
13172 (print_element_properties_info), (print_element_info):
13173 Fix interface output with gst-inspect -a; don't print
13174 newlines after double/float properties.
13176 2005-10-20 Wim Taymans <wim@fluendo.com>
13178 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13179 (gst_base_sink_query):
13180 Speed up current position calculation.
13182 * gst/base/gstbasesrc.c: (gst_base_src_query),
13183 (gst_base_src_default_newsegment):
13184 Correctly set stream position in newsegment.
13186 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13187 (update_degree), (gst_bin_sort_iterator_next),
13188 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13189 * gst/gstmessage.c: (gst_message_new_custom):
13190 Clean up debugging info
13192 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13193 (gst_queue_loop), (gst_queue_handle_src_query):
13196 2005-10-19 Wim Taymans <wim@fluendo.com>
13198 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13199 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13200 Fix query handling again.
13202 2005-10-19 Wim Taymans <wim@fluendo.com>
13204 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13205 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13206 * gst/base/gstbasesrc.c: (gst_base_src_query):
13207 * gst/elements/gstfilesink.c: (gst_file_sink_query):
13208 * gst/elements/gsttypefindelement.c:
13209 (gst_type_find_handle_src_query), (find_element_get_length),
13210 (gst_type_find_element_activate):
13213 * gst/gstquery.c: (gst_query_new_position),
13214 (gst_query_set_position), (gst_query_parse_position),
13215 (gst_query_new_duration), (gst_query_set_duration),
13216 (gst_query_parse_duration), (gst_query_set_segment),
13217 (gst_query_parse_segment):
13219 Bundling query position/duration is not a good idea since duration
13220 does not change much and we don't want to recalculate it for every
13221 position query, so they are separated again..
13222 Base value in segment query is not needed.
13224 * gst/gstqueue.c: (gst_queue_handle_src_query):
13225 * gst/gstutils.c: (gst_element_query_position),
13226 (gst_element_query_duration), (gst_pad_query_position),
13227 (gst_pad_query_duration):
13229 Updates for query API change.
13230 Added some docs here and there.
13232 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
13234 * check/gst/gstbin.c: (GST_START_TEST):
13235 * check/gst/gstghostpad.c: (GST_START_TEST):
13236 * check/pipelines/cleanup.c: (GST_START_TEST):
13237 wait on thread to die so we can check refcount correctly
13239 2005-10-18 Wim Taymans <wim@fluendo.com>
13241 * check/pipelines/stress.c: (GST_START_TEST):
13242 Make check a little more time consuming.
13244 2005-10-18 Wim Taymans <wim@fluendo.com>
13246 * check/Makefile.am:
13247 * check/pipelines/stress.c: (GST_START_TEST),
13248 (simple_launch_lines_suite), (main):
13249 Small state change torture test.
13251 * docs/design/part-states.txt:
13252 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13253 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13254 (gst_base_sink_change_state):
13255 Never take state lock from streaming thread, clean up ugly
13256 hacks. Unfortunatly core does not yet support nice ways to
13257 async commit state.
13259 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13261 Start state recalc if a STATE_DIRTY message is posted, but only
13262 on the toplevel bin.
13264 * gst/gstelement.c: (gst_element_sync_state_with_parent),
13265 (gst_element_get_state_func), (gst_element_abort_state),
13266 (gst_element_commit_state), (gst_element_lost_state),
13267 (gst_element_set_state_func), (gst_element_change_state):
13268 * gst/gstelement.h:
13269 State variables are now protected with the LOCK, the state
13270 lock is only used to serialize _set_state().
13272 2005-10-18 Wim Taymans <wim@fluendo.com>
13274 * check/gst/gstbin.c: (GST_START_TEST):
13275 * check/gst/gstmessage.c: (GST_START_TEST):
13276 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13277 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13279 * gst/gstelement.c: (gst_element_abort_state),
13280 (gst_element_commit_state), (gst_element_lost_state):
13281 * gst/gstmessage.c: (gst_message_new_state_changed),
13282 (gst_message_new_state_dirty), (gst_message_new_segment_start),
13283 (gst_message_new_segment_done), (gst_message_new_duration),
13284 (gst_message_parse_state_changed),
13285 (gst_message_parse_segment_start),
13286 (gst_message_parse_segment_done), (gst_message_parse_duration):
13287 * gst/gstmessage.h:
13288 * tools/gst-launch.c: (event_loop):
13289 Seriously, this is better than a previous commit as we only need
13290 to notify the fact that an element changed state in a streaming
13291 thread, marking the state of the parents dirty, hence the
13292 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13295 2005-10-18 Wim Taymans <wim@fluendo.com>
13297 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13298 (gst_bin_recalc_func):
13299 * gst/gstelement.c: (gst_element_set_clock),
13300 (gst_element_abort_state), (gst_element_lost_state):
13301 Cleanups, prepare for state change fixes.
13303 2005-10-18 Wim Taymans <wim@fluendo.com>
13306 * gst/gstelement.c: (gst_element_class_init),
13307 (gst_element_set_state), (gst_element_set_state_func):
13308 * gst/gstelement.h:
13309 Pending ABI changes.
13310 GThreadPool in GstBinClass to monitor async state changes.
13311 state_cookie in GstElement to detect concurrent gst/set state.
13312 set_state is now virtual too in case a very complicated element
13313 has to be constructed.
13315 2005-10-18 Wim Taymans <wim@fluendo.com>
13317 * check/gst/gstbin.c: (GST_START_TEST):
13318 * check/gst/gstmessage.c: (GST_START_TEST):
13319 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13320 * gst/gstbin.c: (bin_bus_handler):
13321 * gst/gstelement.c: (gst_element_commit_state),
13322 (gst_element_lost_state):
13323 * gst/gstmessage.c: (gst_message_new_state_changed),
13324 (gst_message_new_segment_start), (gst_message_new_segment_done),
13325 (gst_message_new_duration), (gst_message_parse_state_changed),
13326 (gst_message_parse_segment_start),
13327 (gst_message_parse_segment_done), (gst_message_parse_duration):
13328 * gst/gstmessage.h:
13329 * tools/gst-launch.c: (event_loop):
13330 Make messages future proof.
13331 state-change gets a flag if it was a message comming from the
13333 segment-start/stop can also be specified in other formats.
13334 A message to notify an app that a pipeline changed playback
13336 Also fix a GstMessage leak in -launch
13338 2005-10-18 Andy Wingo <wingo@pobox.com>
13340 * gst/gstelement.c (gst_element_dispose): More helpful message.
13342 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13344 reviewed by: <delete if not using a buddy>
13346 * common/gtk-doc.mak:
13348 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13350 * gst/gstregistry.c: (gst_registry_scan_path_level):
13351 unref a plug-in we get that was already initialized
13353 2005-10-18 Stefan Kost <ensonic@users.sf.net>
13355 * docs/gst/gstreamer-sections.txt:
13356 * docs/libs/gstreamer-libs-sections.txt:
13357 * gst/gstelement.h:
13358 add new api entries
13359 hide internal macro
13361 2005-10-17 Andy Wingo <wingo@pobox.com>
13363 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13366 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13368 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13370 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13371 (gst_element_get_state_func): Better debug message.
13372 (gst_element_commit_state): s/INFO/DEBUG/.
13373 (gst_element_lost_state, gst_element_change_state):
13375 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13376 (gst_message_new_custom): s/INFO/LOG/.
13378 2005-10-17 Michael Smith <msmith@fluendo.com>
13380 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13381 Check if end time is valid using end time, not start time.
13383 2005-10-17 Stefan Kost <ensonic@users.sf.net>
13385 * check/gst-libs/controller.c: (GST_START_TEST),
13386 (gst_controller_suite):
13387 * libs/gst/controller/gstcontroller.c:
13388 (gst_controlled_property_set_interpolation_mode):
13389 * libs/gst/controller/gstcontroller.h:
13390 * libs/gst/controller/gstinterpolation.c:
13391 * testsuite/controller/.cvsignore:
13392 * testsuite/controller/Makefile.am:
13393 * testsuite/controller/interpolator.c:
13394 merge controller testsuites
13396 remove mem-chunk from docs
13398 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13400 * gst/gstmemchunk.c:
13401 * gst/gstmemchunk.h:
13402 * gst/gsttrashstack.c:
13403 * gst/gsttrashstack.h:
13404 out. get out. you're fired. to the Attic !
13406 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13408 * gst/gstcaps.c: (gst_caps_intersect):
13409 fix signedness issues in a (hopefully) correct way
13410 * gst/gstelement.c: (gst_element_pads_activate):
13412 * gst/gstobject.c: (gst_object_set_parent):
13415 2005-10-17 Julien MOUTTE <julien@moutte.net>
13417 * gst/gstvalue.h: Fix prototypes.
13419 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13421 * docs/gst/gstreamer-sections.txt:
13422 * gst/gst.c: (gst_version_string):
13424 * gst/gstversion.h.in:
13425 * win32/common/libgstreamer.def:
13426 add gst_version_string ()
13428 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13432 * gst/gst.c: (init_post):
13433 * win32/common/config.h.in:
13435 * gst/gstcaps.c: (gst_caps_intersect):
13436 use gint64, the range could be bigger than a guint
13438 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13441 document potential problem in 2038
13443 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13445 * gst/gstcaps.c: (gst_caps_intersect):
13446 Fix guint j diving under 0
13448 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13451 * win32/common/config.h:
13452 * win32/common/config.h.in:
13453 check for process.h, declares getpid() on Windows
13455 include process.h if we have it
13456 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13457 * gst/gstmemchunk.h:
13458 fix signedness issues
13459 * win32/common/libgstreamer.def:
13462 2005-10-16 Julien MOUTTE <julien@moutte.net>
13464 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13465 fix. Because of unsigned ints, caps intersection was going nuts and
13466 trying to access structures with G_MAXUINT index. That fixes
13467 videotestsrc ! ffmpegcolorspace ! fakesink
13468 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13471 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13474 use the gettext macro
13475 * gst/elements/gstelements.c:
13477 * gst/indexers/gstindexers.c:
13478 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13479 * win32/common/config.h:
13481 * win32/common/config.h.in:
13482 add the template to generate config.h
13483 * win32/common/gstenumtypes.c:
13484 * win32/common/gstversion.h:
13487 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13489 * gst/gst.c: (gst_version):
13490 * gst/gstversion.h.in:
13493 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13496 Oops, add missing closing bracket.
13498 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13501 use common m4's for argument checking
13503 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13505 * docs/gst/gstreamer-sections.txt:
13507 Add GST_EVENT_TYPE_NAME() macro.
13509 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13512 * gst/gstpluginfeature.c:
13514 privatize more symbols
13516 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13519 add srcdir, builddir includes to GST_ALL_CFLAGS, since
13520 everything that uses GStreamer API should have the includes
13522 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13524 * docs/gst/gstreamer-sections.txt:
13525 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13527 give each value a _get_type, removes the DATA exports
13529 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13533 remove _gst_registry_auto_load, not used anymore
13534 * gst/gstbin.c: (gst_bin_get_type):
13536 * gst/gstelement.c: (gst_element_get_type):
13537 * gst/gstelement.h:
13538 * gst/gstobject.c: (gst_object_get_type):
13540 * gst/gstpad.c: (gst_pad_get_type):
13542 make _get_type functions similar, fixes data export from library
13544 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13547 correctly make conditionals
13548 * gst/elements/Makefile.am:
13549 * gst/elements/gstelements.c:
13550 fix typo causing fdsrc not to build
13552 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13554 * testsuite/Makefile.am:
13555 * testsuite/bytestream/.cvsignore:
13556 * testsuite/bytestream/Makefile.am:
13557 * testsuite/bytestream/filepadsink.c:
13558 * testsuite/bytestream/gstbstest.c:
13559 * testsuite/bytestream/test1.c:
13560 * testsuite/bytestream/testfile1:
13561 * testsuite/caps/normalisation.c:
13562 * testsuite/caps/random.c: (main):
13563 * testsuite/cleanup/.cvsignore:
13564 * testsuite/cleanup/Makefile.am:
13565 * testsuite/cleanup/cleanup1.c:
13566 * testsuite/cleanup/cleanup2.c:
13567 * testsuite/cleanup/cleanup3.c:
13568 * testsuite/cleanup/cleanup4.c:
13569 * testsuite/cleanup/cleanup5.c:
13570 * testsuite/controller/interpolator.c:
13571 * testsuite/debug/printf_extension.c: (main):
13572 * testsuite/elements/tee.c:
13573 * testsuite/negotiation/.cvsignore:
13574 * testsuite/negotiation/Makefile.am:
13575 * testsuite/negotiation/pad_link.c:
13576 * testsuite/pad/Makefile.am:
13577 * testsuite/pad/chainnopull.c:
13578 * testsuite/pad/getnopush.c:
13579 * testsuite/pad/link.c:
13580 * testsuite/refcounting/sched.c: (create_pipeline):
13581 * testsuite/registry/Makefile.am:
13582 * testsuite/registry/gst-print-formats.c:
13583 * testsuite/schedulers/.cvsignore:
13584 * testsuite/schedulers/142183-2.c:
13585 * testsuite/schedulers/142183.c:
13586 * testsuite/schedulers/143777-2.c:
13587 * testsuite/schedulers/143777.c:
13588 * testsuite/schedulers/147713.c:
13589 * testsuite/schedulers/147819.c:
13590 * testsuite/schedulers/147894-2.c:
13591 * testsuite/schedulers/147894.c:
13592 * testsuite/schedulers/Makefile.am:
13593 * testsuite/schedulers/group_link.c:
13594 * testsuite/schedulers/queue_link.c:
13595 * testsuite/schedulers/relink.c:
13596 * testsuite/schedulers/unlink.c:
13597 * testsuite/schedulers/unref.c:
13598 * testsuite/schedulers/useless_iteration.c:
13599 * testsuite/states/bin.c:
13600 clean out/remove some stuff from the testsuite directories
13602 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13605 check for some headers
13606 * gst/elements/Makefile.am:
13607 * gst/elements/gstelements.c:
13608 don't compile fdsrc without sys/socket.h
13609 * gst/indexers/Makefile.am:
13610 * gst/indexers/gstindexers.c: (plugin_init):
13611 don't compile fileindex without mmap
13613 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13620 * check/Makefile.am:
13621 * docs/gst/Makefile.am:
13622 * examples/helloworld/Makefile.am:
13624 * gst/base/Makefile.am:
13625 * gst/check/Makefile.am:
13626 * gst/elements/Makefile.am:
13627 * gst/indexers/Makefile.am:
13628 * gst/parse/Makefile.am:
13629 * libs/gst/controller/Makefile.am:
13630 * libs/gst/dataprotocol/Makefile.am:
13631 * examples/helloworld/helloworld.c: (event_loop):
13632 compile fixes, though it's not being compiled currently
13634 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13636 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13637 Add some simple tests for the new taglist date API.
13639 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13641 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13642 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13643 Beautify 'last-message' output: print 'none' for buffer timestamps
13644 and durations if none is set; improve alignment with next messages.
13646 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13648 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13649 * gst/gstpluginfeature.h:
13650 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13651 * gst/gstregistry.h:
13652 * docs/gst/gstreamer-sections.txt:
13653 Add new API to check plugin feature version requirements.
13655 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13656 Some basic tests for the above.
13658 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13660 * gst/gststructure.c: (gst_structure_to_string):
13661 guard against NULL printf - happens when for example
13662 a message structure with GstClock gets serialized
13664 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13666 * gst/base/gstcollectpads.c: (gst_collectpads_event):
13667 Fix presumable copy'n'pasto.
13669 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13671 * gst/elements/gstfakesrc.h:
13672 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13673 * gst/elements/gsttypefindelement.c:
13674 fix some signedness
13675 * gst/elements/gstfilesink.c: (gst_file_sink_render):
13676 I wonder if this could actually write +2GB files before
13678 2005-10-13 Andy Wingo <wingo@pobox.com>
13680 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13681 Fix Timmeke Waymans bug.
13682 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13683 string of the proper length to gst_caps_from_string. There's a
13684 potential for, before this fix, that this could cause someone
13685 connecting over the network to cause a segfault if the payload is
13686 not NUL-terminated.
13688 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13690 * docs/design/draft-push-pull.txt:
13691 * docs/design/part-overview.txt:
13692 * docs/random/TODO-pre-0.9:
13693 * docs/random/old/ChangeLog.gstreamer:
13694 * gst/base/gstpushsrc.c:
13698 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13700 * gst/glib-compat.c: (gst_flags_get_first_value):
13701 * gst/glib-compat.h:
13702 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13703 (gst_value_compare_double), (gst_value_serialize_flags):
13704 GLib 2.6 g_flags_get_first_value has a bug that triggers an
13707 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13709 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13710 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13712 * tools/gst-launch.c: (event_loop):
13713 print out clock nicely
13715 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13717 * docs/gst/gstreamer-sections.txt:
13718 * gst/gsttaglist.h:
13719 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13720 (gst_tag_list_get_date_index):
13721 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13722 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13724 2005-10-13 Julien MOUTTE <julien@moutte.net>
13726 * gst/base/gstcollectpads.c: (gst_collectpads_event),
13727 (gst_collectpads_chain):
13728 * gst/base/gstcollectpads.h: Handle newsegment and store informations
13731 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13733 * docs/gst/gstreamer-sections.txt:
13736 * tools/gst-inspect.c: (main):
13737 * tools/gst-launch.c: (main):
13738 * tools/gst-run.c: (main):
13739 * tools/gst-xmlinspect.c: (main):
13740 fix GOption context leaks
13743 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13747 * win32/common/config.h:
13749 * win32/vs6/grammar.dsp:
13750 * win32/vs6/libgstelements.dsp:
13751 * win32/vs6/libgstreamer.dsp:
13754 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13756 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13757 * gst/base/gstbasesrc.c: (gst_base_src_query):
13758 fix more guint64<->gdouble conversions
13760 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13763 add win32-update target
13764 * win32/common/gstconfig.h:
13765 * win32/common/gstenumtypes.c:
13766 * win32/common/gstenumtypes.h:
13767 * win32/common/gstversion.h:
13768 add files that visual studio can't generate
13770 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13773 add a win32-update target
13776 2005-10-12 Wim Taymans <wim@fluendo.com>
13778 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13779 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
13780 * gst/gstelement.c: (gst_element_commit_state),
13781 (gst_element_set_state):
13782 Protect flags with proper lock.
13783 unref provided cached clock in dispose.
13785 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13788 * gst/gstminiobject.h:
13790 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
13791 removed unused flags from miniobject
13794 2005-10-12 Wim Taymans <wim@fluendo.com>
13796 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13797 (gst_file_sink_event), (gst_file_sink_render):
13798 Flush before seeking.
13800 2005-10-12 Andy Wingo <wingo@pobox.com>
13802 * gst/gst.c (gst_init_check): Ignore unknown options, as has
13803 always been the case.
13805 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13807 * check/gst/gstbin.c: (GST_START_TEST):
13808 * docs/gst/gstreamer-sections.txt:
13809 * gst/base/gstbasesink.c: (gst_base_sink_init):
13810 * gst/base/gstbasesrc.c: (gst_base_src_init),
13811 (gst_base_src_get_range), (gst_base_src_check_get_range),
13812 (gst_base_src_start), (gst_base_src_stop):
13813 * gst/base/gstbasesrc.h:
13814 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
13815 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13816 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
13820 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
13822 * gst/gstelement.c: (gst_element_is_locked_state),
13823 (gst_element_set_locked_state), (gst_element_commit_state),
13824 (gst_element_set_state):
13825 * gst/gstelement.h:
13826 * gst/gstindex.c: (gst_index_init):
13828 * gst/gstminiobject.h:
13829 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
13830 (gst_object_set_parent):
13832 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
13833 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
13835 * gst/gstpadtemplate.h:
13836 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
13837 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13838 * gst/gstpipeline.h:
13839 * gst/indexers/gstfileindex.c: (gst_file_index_load),
13840 (gst_file_index_commit):
13841 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
13842 * testsuite/pad/link.c: (gst_test_src_init),
13843 (gst_test_filter_init), (gst_test_sink_init):
13844 * testsuite/states/locked.c: (main):
13845 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
13846 moved bitshift from macro to enum definition
13848 2005-10-12 Wim Taymans <wim@fluendo.com>
13850 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
13851 * gst/elements/gstfilesink.c: (gst_file_sink_event),
13852 (gst_file_sink_render):
13853 Some more debugging info.
13855 2005-10-12 Wim Taymans <wim@fluendo.com>
13857 * docs/design/part-states.txt:
13858 * tools/gst-launch.c: (main):
13860 Revert non-intentional change.
13862 2005-10-12 Wim Taymans <wim@fluendo.com>
13864 * check/gst/gstbin.c: (GST_START_TEST):
13865 * check/gst/gstelement.c: (GST_START_TEST):
13866 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
13867 * check/gst/gstghostpad.c: (GST_START_TEST):
13868 * check/gst/gstpipeline.c: (GST_START_TEST):
13869 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13870 * check/states/sinks.c: (GST_START_TEST):
13871 * gst/elements/gsttypefindelement.c: (stop_typefinding):
13872 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13873 (gst_bin_remove_func), (gst_bin_get_state_func),
13874 (gst_bin_recalc_state), (gst_bin_change_state_func),
13876 * gst/gstelement.c: (gst_element_get_state_func),
13877 (gst_element_get_state), (gst_element_abort_state),
13878 (gst_element_commit_state), (gst_element_set_state),
13879 (gst_element_change_state), (gst_element_change_state_func):
13880 * gst/gstelement.h:
13881 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
13882 (gst_pipeline_provide_clock_func):
13883 * gst/gstutils.c: (gst_element_link_pads_filtered):
13884 * tools/gst-launch.c: (main):
13885 * tools/gst-typefind.c: (main):
13886 Use GstClockTime in _get_state() instead of GTimeVal.
13887 Remove old code in gstutils.c
13889 2005-10-12 Andy Wingo <wingo@pobox.com>
13891 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
13894 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
13895 there is no task. Shouldn't affect any code, as nothing in our
13896 plugins checks this return value.
13897 (gst_pad_stop_task): Also take the stream lock if the pad has no
13898 task. Docs updated.
13900 2005-10-12 Wim Taymans <wim@fluendo.com>
13902 * gst/gstpad.c: (pre_activate), (post_activate),
13903 (gst_pad_activate_pull), (gst_pad_activate_push):
13904 Cleanup activation code. Reset old state if
13907 2005-10-12 Wim Taymans <wim@fluendo.com>
13909 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13910 (gst_base_sink_change_state):
13911 No need to prerol after receiving EOS.
13913 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13914 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
13915 * gst/elements/gstidentity.c: (gst_identity_event):
13916 Print events more verbosely.
13918 2005-10-12 Wim Taymans <wim@fluendo.com>
13920 * check/Makefile.am:
13921 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13922 * check/states/sinks2.c:
13923 Moved sinks2 testcode in sinks check.
13925 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13926 (gst_bin_remove_func), (gst_bin_recalc_state),
13927 (gst_bin_change_state_func), (bin_bus_handler):
13928 Fix potential race condition when _get_state() iterated over an
13929 ASYNC element right before it posted a state completion.
13932 Do proper cast here.
13934 * gst/gstevent.c: (gst_event_new_newsegment),
13935 (gst_event_parse_newsegment):
13936 A playback rate of 0.0 is not allowed.
13938 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13940 * win32/common/config.h:
13941 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
13942 (_trewinddir), (_ttelldir), (_tseekdir):
13943 * win32/common/dirent.h:
13944 * win32/common/gtchar.h:
13945 * win32/common/libgstbase.def:
13946 * win32/common/libgstreamer.def:
13947 * win32/vs6/grammar.dsp:
13948 * win32/vs6/gst_inspect.dsp:
13949 * win32/vs6/gst_launch.dsp:
13950 * win32/vs6/gstreamer.dsw:
13951 * win32/vs6/libgstbase.dsp:
13952 * win32/vs6/libgstelements.dsp:
13953 * win32/vs6/libgstreamer.dsp:
13954 Visual Studio 6 project files, and a new common directory.
13957 2005-10-11 Wim Taymans <wim@fluendo.com>
13959 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13960 (gst_base_sink_do_sync), (gst_base_sink_query),
13961 (gst_base_sink_change_state):
13962 * gst/base/gstbasesink.h:
13963 Correctly parse newsegment info.
13965 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13967 * gst/gst.c: (init_post):
13968 split plugin paths correctly
13970 2005-10-11 Wim Taymans <wim@fluendo.com>
13972 * check/gst/gstevent.c: (GST_START_TEST):
13973 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13974 (gst_base_sink_change_state):
13975 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
13976 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13977 * gst/elements/gstfilesink.c: (gst_file_sink_event):
13978 * gst/gstevent.c: (gst_event_new_newsegment),
13979 (gst_event_parse_newsegment):
13981 Added extra flag to newsegment for future API freeze.
13982 Updated check and base elements.
13984 2005-10-11 Julien MOUTTE <julien@moutte.net>
13986 * gst/base/gstcollectpads.c: (gst_collectpads_init),
13987 (gst_collectpads_add_pad), (gst_collectpads_pop),
13988 (gst_collectpads_event), (gst_collectpads_chain):
13989 * gst/base/gstcollectpads.h: Handle EOS correctly.
13991 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13993 * tools/gst-launch.c: (main):
13994 more null protecting
13996 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13998 * gst/gst-i18n-lib.h:
13999 check for ENABLE_NLS, not GETTEXT_PACKAGE
14000 * gst/gstregistry.c: (gst_registry_add_plugin),
14001 (gst_registry_scan_path_level),
14002 (_gst_registry_remove_cache_plugins):
14003 protect possibly NULL strings
14004 * gst/parse/types.h:
14005 config.h already included before
14006 * tools/gst-inspect.c: (main):
14007 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14008 check for ENABLE_NLS, not GETTEXT_PACKAGE
14009 * tools/gst-launch.c: (main):
14010 check for ENABLE_NLS, not GETTEXT_PACKAGE
14012 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14015 if we don't have glib, fail before testing 2.8
14016 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14017 fix a leak, should fix plugins-base testsuite
14019 2005-10-11 Andy Wingo <wingo@pobox.com>
14021 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14022 take the mode we're going to as an arg. Go head and set the mode
14023 and flushing flags now, so that if the activate function starts a
14024 thread all the flags will be in the right state.
14025 (post_activate): Renamed also. Just handle making sure streaming
14026 finishes for the deactivation case, and setting the deactivated
14028 (gst_pad_set_active): Complain loudly if deactivation fails.
14029 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14030 (gst_pad_activate_push): Adapt to pre/post_activate changes,
14031 remove the terrible hack.
14033 2005-10-11 Wim Taymans <wim@fluendo.com>
14035 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14036 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14037 (gst_bin_recalc_state), (gst_bin_change_state_func),
14038 (gst_bin_dispose), (bin_bus_handler):
14040 Prepare to make current EOS message queue more generic.
14043 * gst/gstevent.c: (gst_event_new_newsegment),
14044 (gst_event_parse_newsegment):
14046 Rename base to stream_time.
14048 * gst/gstmessage.h:
14051 2005-10-11 Wim Taymans <wim@fluendo.com>
14053 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14054 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14055 (gst_bin_change_state_func), (bin_bus_handler):
14057 Work on proper clock selection.
14059 2005-10-11 Edward Hervey <edward@fluendo.com>
14061 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
14062 * libs/gst/controller/gstcontroller.h:
14063 Added GList* version of _remove_properties() in order to be able to wrap
14066 2005-10-11 Wim Taymans <wim@fluendo.com>
14068 * docs/design/part-states.txt:
14071 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14072 (gst_bin_change_state_func), (bin_bus_handler):
14073 Doc updates. Don't distribute the same clock over and over again.
14079 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14080 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14081 (gst_pad_send_event):
14083 Make probe emission threadsafe again.
14084 Register quarks and move _get_name() from utils.
14087 * gst/gstpipeline.c: (gst_pipeline_class_init),
14088 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14089 Only redistribute the clock of it changed.
14091 * gst/gstsystemclock.h:
14096 Moved the _flow_get_name() to GstPad.
14098 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14100 * check/gst-libs/gdp.c: (GST_START_TEST):
14101 * check/gst/gstcaps.c: (GST_START_TEST):
14102 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14103 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14104 (gst_dp_packet_from_caps):
14105 fix more valgrind warnings before turning up the heat
14107 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14109 * gst/parse/grammar.y:
14110 some cleanup before the hacking
14112 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14114 * gst/base/gstbasesrc.c: (gst_base_src_query):
14116 * gst/gstutils.c: (gst_guint64_to_gdouble),
14117 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14119 externalize, basesrc uses it
14120 obviously the implementation needs testing
14122 2005-10-10 Wim Taymans <wim@fluendo.com>
14124 * tests/sched/Makefile.am:
14125 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14126 (make_pipeline3), (make_pipeline4), (print_elem), (main):
14128 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14130 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14131 apparently converting from guint64 to double is not implemented
14134 2005-10-10 Wim Taymans <wim@fluendo.com>
14136 * check/Makefile.am:
14137 * check/generic/states.c: (GST_START_TEST):
14138 * check/gst/gstbin.c: (GST_START_TEST):
14139 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14140 * check/states/sinks.c: (GST_START_TEST):
14141 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14143 Check fixes, use API as stated in design docs, remove hacks.
14145 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14146 (gst_base_sink_change_state):
14147 Catch stopping our task while we're shutting down.
14149 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14150 (gst_bin_remove_func), (gst_bin_get_state_func),
14151 (gst_bin_recalc_state), (gst_bin_change_state_func),
14154 * gst/gstelement.c: (gst_element_init),
14155 (gst_element_get_state_func), (gst_element_abort_state),
14156 (gst_element_commit_state), (gst_element_lost_state),
14157 (gst_element_set_state), (gst_element_change_state),
14158 (gst_element_change_state_func):
14159 * gst/gstelement.h:
14160 New state change algorithm (see #318116)
14162 * gst/gstpipeline.c: (gst_pipeline_class_init),
14163 (gst_pipeline_init), (gst_pipeline_set_property),
14164 (gst_pipeline_get_property), (do_pipeline_seek),
14165 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14166 * gst/gstpipeline.h:
14167 Remove crude state change hacks.
14170 Remove crude hacks.
14172 * tools/gst-launch.c: (main):
14173 Fixes for state change. Needs some more work to fully use the
14176 2005-10-10 Andy Wingo <wingo@pobox.com>
14178 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14180 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14181 this flag, but it's not even in GLib 2.6. Odd. Hack around the
14184 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14186 * gst/gstiterator.c: (gst_iterator_new):
14187 Fix my previous commit: GTypes passed to gst_iterator_new()
14188 can be fundamental types.
14190 2005-10-10 Wim Taymans <wim@fluendo.com>
14192 * gst/gstelement.c: (gst_element_iterate_pad_list),
14193 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14194 (gst_element_iterate_sink_pads):
14195 Use src/sink pads lists for the respective iterators instead
14198 2005-10-10 Andy Wingo <wingo@pobox.com>
14200 Merged in popt removal + GOption addition patch from Ronald, bug
14203 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14204 GstElement macros around, remove popt-related symbols, add goption
14207 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14209 * docs/gst/Makefile.am:
14210 * docs/libs/Makefile.am: No POPT_CFLAGS.
14212 * examples/manual/Makefile.am:
14213 * docs/manual/basics-init.xml: Doc updates with an example.
14215 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14216 (gst_init), (parse_one_option), (parse_goption_arg):
14217 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14218 bit of hand merging and debugging to get the GOption stuff working
14221 * tests/Makefile.am:
14222 * tools/Makefile.am:
14223 * tools/gst-inspect.c: (main):
14224 * tools/gst-launch.c: (main):
14225 * tools/gst-run.c: (main):
14226 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14228 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14230 * gst/gstiterator.c: (gst_iterator_new):
14231 Add assertions to make sure passed GType is likely to really
14232 be a GType (as the compiler won't catch it if the size and
14233 GType arguments get mixed up, see #318447).
14235 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
14237 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14239 * gst/gstbin.c: (gst_bin_iterate_sorted):
14240 Pass GType and size arguments to gst_iterator_new() in the right
14241 order (maybe we should make _new() take the GType as first argument
14242 just like _new_list()?) (#318447).
14245 2005-10-10 Wim Taymans <wim@fluendo.com>
14247 * gst/gstelement.c: (gst_element_finalize):
14248 And free the GStaticRecMutex too
14250 2005-10-10 Andy Wingo <wingo@pobox.com>
14252 * gst/gstelement.c (gst_element_init, gst_element_finalize):
14253 Allocate and free the mutex properly.
14255 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14257 (GstElement): The state_lock is now recursive. Rebuild your
14258 plugins, suckers. Old macros adapted.
14260 * docs/gst/gstreamer-sections.txt: Doc updates.
14263 * gst/gstutils.c (g_static_rec_cond_timed_wait)
14264 (g_static_rec_cond_wait): Ported from state changes patch, while
14265 we wait on bug #317802 to be solved in a well-distributed GLib.
14267 * gst/gstelement.c (gst_element_change_state_func): Renamed from
14268 gst_element_change_state, variable name changes.
14269 (gst_element_change_state): Split out of gst_element_set_state in
14270 preparation for the state change merge. Doesn't pay attention to
14271 the 'transition' argument.
14272 (gst_element_set_state): Updates, hopefully purely cosmetic.
14273 (gst_element_sync_state_with_parent): MT-safety. Ported from the
14274 state change patch.
14275 (gst_element_get_state_func): Renamed from get_state, cosmetic
14278 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14280 * gst/elements/gstelements.c:
14281 * win32/GStreamer.vcproj:
14283 * win32/dirent.c: (_tseekdir):
14284 * win32/gst-inspect.vcproj:
14285 * win32/gst-launch.vcproj:
14286 * win32/gstconfig.h:
14287 * win32/gstelements.vcproj:
14288 * win32/gstenumtypes.c: (gst_object_flags_get_type):
14289 * win32/gstreamer.def:
14290 * win32/msvc71.sln:
14291 updates for the win32 build (patch from Sebastien Moutte)
14293 2005-10-10 Andy Wingo <wingo@pobox.com>
14295 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14296 gst_bin_get_state, cleaned up (but no logic changes).
14297 (bin_element_is_sink): Comment updates.
14298 (sink_iterator_filter): Remove needless cast.
14299 (gst_bin_iterate_sinks): Doc update.
14300 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14301 cleaned up (but no logic changes).
14303 * check/states/sinks.c (test_src_sink): Cleanups from the state
14305 (test_livesrc_sink): Sync on the state.
14307 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14308 the state change patch.
14310 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14313 * check/gst/gstbin.c: Merge in some style fixes and additional
14314 checks from Wim's state change patch.
14316 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14318 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14319 (gst_type_find_helper):
14320 Check whether we have the requested data already in our list of
14321 cached buffers before pulling a new buffer; also make the buffer
14322 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14324 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14329 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14330 don't use long long, it's not portable. Replacing with
14331 gint64 seems to work; let's hope no skeletons fall out of the closet.
14333 2005-10-10 Andy Wingo <wingo@pobox.com>
14335 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14337 2005-10-09 Stefan Kost <ensonic@users.sf.net>
14339 * docs/gst/gstreamer-sections.txt:
14344 * gst/gstmessage.c: (gst_message_parse_state_changed):
14347 more docs, fix compilation
14349 2005-10-09 Philippe Khalaf <burger@speedy.org>
14350 * gst/gstmessage.c:
14351 Fixed a few forgotten variables on previous commit
14353 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
14355 * gst/base/gsttypefindhelper.c: (helper_find_peek):
14356 Fix evil typefind crasher: getrange() might return a short
14357 buffer at the end of a file, but gst_type_find_peek() must
14358 either return the full data as requested or NULL, but
14359 never a short buffer.
14361 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
14363 * gst/gstmessage.c: (gst_message_new_state_changed),
14364 (gst_message_parse_state_changed):
14365 * gst/gstmessage.h:
14366 don't use "new", it's a C++ keyword
14368 2005-10-08 Wim Taymans <wim@fluendo.com>
14370 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14371 * gst/gstelement.c: (gst_element_post_message):
14372 * gst/gstpipeline.c: (gst_pipeline_change_state):
14373 Small docs and debug updates.
14375 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14377 * docs/gst/gstreamer-sections.txt:
14378 * gst/gstelementfactory.c:
14380 * gst/gsttaglist.c:
14383 2005-10-08 Wim Taymans <wim@fluendo.com>
14385 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14386 (gst_bin_dispose), (bin_bus_handler):
14387 Fix typos, add comments.
14388 Clear EOS list when going to PAUSED from any direction and do it
14389 in a threadsafe way.
14390 Get base time in a threadsafe way too.
14391 Fix confusing debug in the change_state function.
14392 Various other small cleanups.
14394 * gst/gstelement.c: (gst_element_post_message):
14395 Fix very verbose bus posting code.
14397 * gst/gstpipeline.c: (gst_pipeline_class_init),
14398 (gst_pipeline_set_property), (gst_pipeline_get_property),
14399 (gst_pipeline_change_state):
14400 Small ARG_ -> PROP_ cleanup
14402 2005-10-08 Wim Taymans <wim@fluendo.com>
14404 * gst/gstbin.c: (is_eos), (bin_bus_handler):
14405 Do a less CPU demanding EOS check because we can.
14407 2005-10-08 Wim Taymans <wim@fluendo.com>
14409 * libs/gst/dataprotocol/dataprotocol.c:
14410 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14411 (gst_dp_packet_from_event):
14412 * libs/gst/dataprotocol/dataprotocol.h:
14413 * libs/gst/dataprotocol/dp-private.h:
14414 It's about time we bump the version number.
14415 Since event types don't fit in the guint8 anymore describing
14416 the payload type, make payload type 16 bits wide.
14418 2005-10-08 Wim Taymans <wim@fluendo.com>
14420 * docs/design/part-TODO.txt:
14421 * docs/design/part-clocks.txt:
14422 * docs/design/part-events.txt:
14423 * docs/design/part-gstbin.txt:
14424 * docs/design/part-gstelement.txt:
14425 * docs/design/part-gstpipeline.txt:
14426 * docs/design/part-live-source.txt:
14427 * docs/design/part-messages.txt:
14428 * docs/design/part-overview.txt:
14429 * docs/design/part-states.txt:
14432 2005-10-08 Wim Taymans <wim@fluendo.com>
14436 Fix event quark registration.
14437 Add some space between events so we can insert them in the
14440 2005-10-08 Wim Taymans <wim@fluendo.com>
14442 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14443 (gst_base_sink_handle_buffer):
14444 Better log message.
14447 * gst/gstelement.h:
14450 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14451 (gst_queue_set_property), (gst_queue_get_property):
14453 Remove old unused properties.
14455 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14456 * docs/gst/gstreamer-sections.txt:
14457 * gst/gstmessage.c:
14458 * gst/gstmessage.h:
14459 * gst/gstminiobject.c:
14460 * gst/gstminiobject.h:
14464 lots of new docs and doc fixes
14466 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14468 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14470 * gst/gstregistry.c: (gst_registry_lookup_locked),
14471 (gst_registry_scan_path_level):
14472 * gst/gstregistryxml.c: (load_plugin):
14473 Only ever load one plugin for a given plugin basename.
14474 This ensures correct overriding of GST_PLUGIN_PATH over
14475 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14476 system installed plugins.
14478 2005-10-08 Wim Taymans <wim@fluendo.com>
14480 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14481 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14482 Prepare for doing QOS.
14484 2005-10-08 Wim Taymans <wim@fluendo.com>
14486 * check/gst/gstbin.c: (GST_START_TEST):
14487 * check/pipelines/cleanup.c: (GST_START_TEST):
14488 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14489 Allow new clock message too.
14491 2005-10-08 Wim Taymans <wim@fluendo.com>
14493 * gst/gstmessage.c: (gst_message_new_error),
14494 (gst_message_new_warning), (gst_message_new_tag),
14495 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14496 (gst_message_new_clock_lost), (gst_message_new_new_clock),
14497 (gst_message_new_segment_start), (gst_message_new_segment_done),
14498 (gst_message_parse_state_changed),
14499 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14500 (gst_message_parse_new_clock):
14501 * gst/gstmessage.h:
14502 Also carry the clock in question.
14504 2005-10-08 Wim Taymans <wim@fluendo.com>
14506 * gst/gstmessage.c: (gst_message_new_custom),
14507 (gst_message_new_eos), (gst_message_new_error),
14508 (gst_message_new_warning), (gst_message_new_tag),
14509 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14510 (gst_message_new_new_clock), (gst_message_new_segment_start),
14511 (gst_message_new_segment_done), (gst_message_parse_state_changed),
14512 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14513 * gst/gstmessage.h:
14515 Added clock related messages.
14517 * gst/gstpipeline.c: (gst_pipeline_change_state):
14518 Post message when the clock changed.
14520 * tools/gst-launch.c: (event_loop):
14523 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
14525 * tools/gst-inspect.c: (print_element_properties_info):
14526 Can't pass NULL strings to g_print() on windows.
14528 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14530 * docs/Makefile.am:
14531 * docs/gst/Makefile.am:
14532 * docs/gst/gstreamer-docs.sgml:
14533 * docs/gst/running.xml:
14534 * docs/version.entities.in:
14535 add a chapter on running GStreamer.
14536 document GST_DEBUG and GST_PLUGIN* env vars
14538 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14543 remove PLUGINS_BUILDDIR stuff
14544 * gst/gst.c: (init_post):
14545 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14547 remove, it was condescending and not needed
14549 2005-10-08 Wim Taymans <wim@fluendo.com>
14551 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14552 (gst_base_sink_handle_object), (gst_base_sink_event),
14553 (gst_base_sink_wait), (gst_base_sink_handle_event),
14554 (gst_base_sink_change_state):
14555 * gst/base/gstbasesink.h:
14556 Repost EOS message while going to PLAYING if still EOS.
14557 Make sure that when receiving a FLUSH_START we don't attempt
14558 to sync on the clock anymore.
14560 2005-10-08 Wim Taymans <wim@fluendo.com>
14562 * tools/gst-launch.c: (event_loop):
14563 Better message printout.
14565 2005-10-08 Wim Taymans <wim@fluendo.com>
14567 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14568 (gst_bin_child_proxy_get_children_count):
14569 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14570 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14571 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14572 (gst_child_proxy_set_valist):
14573 * gst/parse/grammar.y:
14574 Make ChildProxy threadsafe and fix mem leaks.
14576 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14578 * gst/gst.c: (init_post):
14579 debug the GST_PLUGIN_ env vars
14581 2005-10-08 Wim Taymans <wim@fluendo.com>
14583 * check/gst/gstbin.c: (GST_START_TEST):
14584 * check/gst/gstmessage.c: (GST_START_TEST):
14585 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14586 * gst/gstelement.c: (gst_element_commit_state),
14587 (gst_element_lost_state):
14588 * gst/gstmessage.c: (gst_message_new_state_changed),
14589 (gst_message_parse_state_changed):
14590 * gst/gstmessage.h:
14591 * tools/gst-launch.c: (event_loop):
14592 Added extra field to STATE_CHANGE message with the pending
14593 state, which will be different from the new state soon.
14595 2005-10-08 Wim Taymans <wim@fluendo.com>
14597 * gst/gstbus.c: (gst_bus_pop):
14599 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14600 Small cleanups and doc updates.
14602 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14604 * gst/gst.c: (init_pre):
14605 * gst/gstbin.c: (gst_bin_add_func):
14606 log distributing clocks and base time
14607 * gst/gstregistry.c: (gst_registry_add_plugin),
14608 (gst_registry_scan_path_level), (gst_registry_scan_path):
14609 clean up the debugging output a little
14610 * gst/gstutils.c: (gst_element_state_get_name):
14611 warn about a memleak (I've actually seen this be used, though
14612 it was probably a bug)
14614 2005-10-07 Wim Taymans <wim@fluendo.com>
14616 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14617 (gst_base_src_init), (gst_base_src_default_newsegment),
14618 (gst_base_src_newsegment), (gst_base_src_do_seek),
14619 (gst_base_src_loop), (gst_base_src_start):
14620 * gst/base/gstbasesrc.h:
14621 Make the newsegment event customizable by subclasses.
14623 2005-10-07 Wim Taymans <wim@fluendo.com>
14625 * gst/gstevent.c: (gst_event_new_buffersize),
14626 (gst_event_parse_buffersize):
14628 New event for future idea.
14630 2005-10-07 Andy Wingo <wingo@pobox.com>
14632 * gst/gstelement.c (gst_element_post_message): Doc update.
14634 * docs/gst/gstreamer-sections.txt: Update.
14636 * gst/gstmessage.c (gst_message_new_application): Made into a
14637 function like honest API calls.
14638 (gst_message_new_element): New message type.
14640 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14642 * check/elements/fakesrc.c (test_no_preroll): New check, checks
14643 that setting a live fakesrc to PAUSED returns NO_PREROLL both
14646 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14647 NO_PREROLL from gst_element_change_state to fall through.
14649 2005-10-07 Wim Taymans <wim@fluendo.com>
14651 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14652 (gst_ghost_pad_do_activate_push):
14653 Activating a ghostpad with no internal pad in push mode
14656 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
14659 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14660 Fixes compilation on Windows.
14662 2005-10-07 Michael Smith <msmith@fluendo.com>
14664 * tools/gst-inspect.c:
14665 Print out feature and plugin count at the end when printing out
14668 2005-10-04 Michael Smith <msmith@fluendo.com>
14670 * gst/gsterror.c: (_gst_stream_errors_init):
14671 Add another error string used in a few existing plugins.
14674 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14675 * tools/gst-inspect.c: (print_element_info):
14676 When a feature disappears from a plugin (and the feature exists in
14677 the cached registry file), things went horribly wrong. This isn't a
14678 complete fix, we should actually be removing the 'missing' features
14679 from the features list when we load the actual plugin. That's not
14682 2005-10-04 Johan Dahlin <johan@gnome.org>
14684 * check/gst/gstiterator.c: (GST_START_TEST):
14685 * gst/gstbin.c: (gst_bin_iterate_elements),
14686 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14687 * gst/gstelement.c: (gst_element_iterate_pads):
14688 * gst/gstformat.c: (gst_format_iterate_definitions):
14689 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14690 (gst_iterator_new_list), (gst_iterator_filter):
14691 * gst/gstiterator.h:
14692 * gst/gstquery.c: (gst_query_type_iterate_definitions):
14693 Add a GType to GstIterator, update callsites and tests.
14695 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14697 * gst/gstpad.c: (gst_pad_event_default_dispatch):
14698 give events a chance to be handled by event probes when the pad
14701 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14703 * gst/gstevent.c: (gst_event_type_get_name),
14704 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14706 add string representations for event types
14708 2005-10-06 Wim Taymans <wim@fluendo.com>
14710 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14711 Don't use NULL pointers.
14713 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14715 * gst/gst_private.h:
14717 * gst/gstelement.c:
14719 * gst/gstpluginfeature.c:
14720 widen the debug category in output to fit the biggest one we have
14721 add a bus category and use it
14722 play with the colors
14723 fix up some categories
14725 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14727 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14728 add push activation of sink ghost pads.
14729 Andye, please verify
14731 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14733 * gst/gstutils.c: (gst_element_link_pads):
14734 fix a bug in the case where neither element has a pad
14735 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14736 add a test for that case
14738 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14740 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14741 emit have-data before checking for peers. This allows
14742 for probe handlers to connect elements. This helps autopluggers.
14743 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14745 add six checks, linked/unlinked with no/true/false probe
14747 2005-10-04 Wim Taymans <wim@fluendo.com>
14749 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14750 (gst_fake_sink_event), (gst_fake_sink_preroll),
14751 (gst_fake_sink_render), (gst_fake_sink_change_state):
14752 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14753 (gst_fake_src_get_property), (gst_fake_src_create),
14754 (gst_fake_src_stop):
14755 * gst/elements/gstidentity.c: (gst_identity_stop):
14756 Protect last_message with lock.
14758 2005-10-04 Edward Hervey <edward@fluendo.com>
14761 Added precision in the comments for GST_FORMAT_DEFAULT
14763 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
14765 * tools/gst-launch.c: (main):
14766 Don't try to run erroneous pipelines.
14768 2005-10-04 Julien MOUTTE <julien@moutte.net>
14770 * gst/gstbus.c: We don't need this header.
14772 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14775 back to development
14777 === release 0.9.3 ===
14779 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14783 Releasing 0.9.3, "Unregistered"
14785 2005-10-03 Andy Wingo <wingo@pobox.com>
14787 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
14788 whereby calling a pad's activatepush() function can start a thread
14789 that starts to push or pull before the pad gets the FLUSHING flag
14790 unset. Hack around it by holding the stream lock until the flag is
14791 set. Need to replace this with a proper solution. Together with
14792 the ghost pad fixes, this fixes mp3 playing/tagreading.
14794 * docs/design/part-gstghostpad.txt: Add a note about activation of
14795 proxy pads outside of ghost pads.
14797 * gst/gstghostpad.c: Implement the ghost pad activation design.
14799 2005-10-02 Andy Wingo <wingo@pobox.com>
14801 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
14802 It is volatile, after all.
14804 * docs/design/part-gstghostpad.txt: Flesh out activation with
14807 * gst/base/gstbasesrc.c (gst_base_src_init): Use
14810 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
14813 Fix (unused) AM_CONDITIONAL tests.
14815 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
14817 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14819 * gst/gstutils.c: (gst_pad_query_convert):
14820 Add assertion that makes sure src_val is >=0, just like
14821 gst_query_new_convert() has. (#315895)
14823 2005-09-30 Edward Hervey <edward@fluendo.com>
14825 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
14826 Let's not iterate pads we're not interested in, it avoids getting
14827 sky-high refcounts on sinkpad.
14829 2005-09-30 Wim Taymans <wim@fluendo.com>
14831 * gst/gstelement.c: (gst_element_set_state),
14832 (gst_element_change_state):
14833 Small tweak, element in ASYNC remains ASYNC.
14835 2005-09-30 Wim Taymans <wim@fluendo.com>
14837 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14838 Only error is an error.
14840 * gst/gstbin.c: (gst_bin_change_state):
14843 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
14844 Also call pad_block in pad alloc.
14846 * gst/gstutils.c: (gst_flow_get_name):
14849 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14851 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14852 (gst_base_src_get_range):
14853 Fix documentation typos. Add some more debug info.
14855 2005-09-29 David Schleef <ds@schleef.org>
14857 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
14858 more end-user friendly.
14859 * tools/gst-inspect.c: (main): Check if command-line argument is
14860 a file and attempt to load that file as a plugin.
14862 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14864 * check/gst/gstbin.c:
14865 * check/states/sinks.c:
14866 fix tests for the new warning
14867 * check/gst/gstpipeline.c:
14868 add a test for pipeline and bus interaction
14869 * gst/gstelement.c:
14870 elements should be NULL if they get disposed; add a warning if not
14872 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14875 for 2.6 refcounting, make debug log more correct by printing
14876 the actual refcounts at the time of swap (Wim)
14878 2005-09-29 Andy Wingo <wingo@pobox.com>
14880 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
14881 removes signal watches previously added via
14882 gst_bus_add_signal_watch.
14883 (gst_bus_add_signal_watch): Don't return the source id, just store
14884 it on the bus if there wasn't an id already.
14886 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
14887 add_signal_watch and remove_signal_watch.
14889 2005-09-29 Edward Hervey <edward@fluendo.com>
14891 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
14892 Better if we actually iterate the list :)
14894 2005-09-29 Wim Taymans <wim@fluendo.com>
14896 * check/gst/gstbin.c: (GST_START_TEST):
14897 Change for new bus API.
14899 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
14900 (send_messages), (GST_START_TEST), (gstbus_suite):
14901 Change for new bus signal API.
14903 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
14904 (gst_bus_source_prepare), (gst_bus_source_check),
14905 (gst_bus_create_watch), (gst_bus_add_watch_full),
14906 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
14907 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
14909 Remove support for multiple GSources operating on different
14910 message types as it is too complex and unneeded when using
14912 Added support for receiving signals from the bus.
14914 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14916 * docs/libs/tmpl/gstdataprotocol.sgml:
14917 * docs/manual/advanced-dataaccess.xml:
14918 * gst/elements/gstcapsfilter.c:
14920 rename filter-caps to caps property
14922 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14924 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14925 More robust fraction string parsing.
14927 * docs/pwg/appendix-porting.xml:
14928 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
14930 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14932 * gst/gstcaps.c: (gst_caps_do_simplify):
14933 Thou shalt not free a structure and then continue using it
14934 in the next loop iteration.
14936 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
14938 Add test case for caps simplification.
14940 2005-09-29 Wim Taymans <wim@fluendo.com>
14942 * check/gst/gstbin.c: (GST_START_TEST):
14945 2005-09-29 Wim Taymans <wim@fluendo.com>
14947 * check/gst/gstbin.c: (GST_START_TEST):
14950 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
14951 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
14952 (find_element), (gst_bin_sort_iterator_next),
14953 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14954 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14955 (gst_bin_change_state), (gst_bin_dispose):
14956 A bin does not have a bus, it gets the bus from the parent.
14958 * gst/gstelement.c: (gst_element_requires_clock),
14959 (gst_element_provides_clock), (gst_element_is_indexable),
14960 (gst_element_is_locked_state), (gst_element_change_state),
14961 (gst_element_set_bus_func):
14964 * gst/gstpipeline.c: (gst_pipeline_class_init),
14965 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
14966 The pipeline provides a bus.
14968 2005-09-28 Johan Dahlin <johan@gnome.org>
14970 * gst/gstmessage.c (gst_message_parse_state_changed): Use
14971 gst_structure_get_enum instead of gst_structure_get_int
14973 * gst/gststructure.c (gst_structure_get_enum): Impl.
14975 * gst/gststructure.h (gst_structure_get_enum): Add
14977 * docs/gst/gstreamer-sections.txt: Ditto
14979 * gst/gstmessage.c (gst_message_new_state_changed): Use
14980 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
14981 which does introspection.
14982 Reviewed by Christian Schaller
14984 2005-09-28 Stefan Kost <ensonic@users.sf.net>
14986 * gst/gstinfo.c: (gst_debug_log_default):
14987 don't do dummy g_strdup()s
14988 * libs/gst/controller/gstcontroller.c:
14989 (on_object_controlled_property_changed),
14990 (gst_controlled_property_new), (gst_controller_new_valist),
14991 (gst_controller_new_list),
14992 (gst_controller_remove_properties_valist), (gst_controller_set),
14993 (gst_controller_get), (gst_controller_sync_values),
14994 (gst_controller_get_value_array), (_gst_controller_class_init),
14995 (gst_controller_get_type):
14996 * libs/gst/controller/gstcontroller.h:
14997 * libs/gst/controller/gstinterpolation.c:
14998 (gst_controlled_property_find_timed_value_node):
14999 convert // to /**/ comments
15001 2005-09-28 Wim Taymans <wim@fluendo.com>
15003 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15004 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15005 (gst_bus_sync_signal_handler):
15007 Added async-message and sync-message signals to the bus.
15008 Added helper BusFunc to emit signals for all posted messages.
15010 * gst/gstmessage.c: (gst_message_type_get_name),
15011 (gst_message_type_to_quark), (gst_message_get_type):
15012 * gst/gstmessage.h:
15013 Register quarks for message names.
15015 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15017 * docs/libs/gstreamer-libs-sections.txt:
15018 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15019 (gst_controller_new_list):
15020 * libs/gst/controller/gstcontroller.h:
15021 added another constructor for language bindings
15023 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
15025 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15029 * gst/gstinfo.c: (_gst_debug_init):
15030 slightly more readable color for refcount debugging
15032 2005-09-28 Wim Taymans <wim@fluendo.com>
15034 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15035 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15036 (find_element), (gst_bin_sort_iterator_next),
15037 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15038 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15039 (gst_bin_change_state), (gst_bin_dispose):
15040 Small doc fixes. get_clock -> provide_clock.
15042 * gst/gstelement.c: (gst_element_class_init),
15043 (gst_element_provides_clock), (gst_element_provide_clock),
15044 (gst_element_get_clock), (gst_element_commit_state),
15045 (gst_element_lost_state):
15046 * gst/gstelement.h:
15047 Make get/set_clock() symetric. Add provide_clock vmethod since
15048 that is actually what this function does.
15050 * gst/gstpipeline.c: (gst_pipeline_class_init),
15051 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15052 (gst_pipeline_get_clock):
15053 get_clock -> provide_clock.
15055 2005-09-28 Andy Wingo <wingo@pobox.com>
15057 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15058 lieu of real docs...
15060 * gst/elements/gstfdsrc.c: Cleaned up a bit.
15062 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
15064 * gst/elements/gstcapsfilter.c:
15065 * gst/elements/gstfakesink.c:
15066 * gst/elements/gstfakesrc.c:
15067 * gst/elements/gstfdsink.c:
15068 * gst/elements/gstfdsrc.c:
15069 * gst/elements/gstfilesink.c:
15070 * gst/elements/gstfilesrc.c:
15071 * gst/elements/gstidentity.c:
15072 * gst/elements/gsttee.c:
15073 * gst/elements/gsttypefindelement.c:
15074 Make element details static.
15076 2005-09-28 Wim Taymans <wim@fluendo.com>
15078 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15079 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15080 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15081 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15082 (gst_bin_change_state), (gst_bin_dispose):
15083 Some documentation updates.
15084 Clean up dispose handlers.
15086 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15087 * gst/gstpad.c: (gst_pad_dispose):
15088 Clean up dispose handler.
15090 * gst/gstpipeline.c: (gst_pipeline_change_state):
15091 Removed spurious UNLOCK.
15093 2005-09-27 Stefan Kost <ensonic@users.sf.net>
15095 * docs/gst/gstreamer-sections.txt:
15096 * gst/base/gstbasesrc.h:
15097 * gst/gstelement.h:
15101 * gst/gstpipeline.c:
15102 * gst/gstpipeline.h:
15105 added two new functions to the docs
15106 documents all undocumented GstXXXFlags
15107 completed some incomplete docs
15109 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
15111 * gst/gstbin.c: (gst_bin_dispose):
15112 * gst/gstelement.c: (gst_element_dispose):
15113 remove now useless and leaky resurrection code in dispose
15114 * gst/base/gstbasesrc.c: (gst_base_src_init):
15115 * gst/gstelementfactory.c: (gst_element_factory_create):
15116 * gst/gstobject.c: (gst_object_set_parent):
15119 2005-09-27 Wim Taymans <wim@fluendo.com>
15121 * docs/design/part-TODO.txt:
15124 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15125 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15126 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15127 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15128 (gst_bin_change_state):
15129 * gst/gstelement.h:
15130 Remove element variable, we keep element info in the iterator now.
15132 2005-09-27 Andy Wingo <wingo@pobox.com>
15134 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15137 2005-09-27 Wim Taymans <wim@fluendo.com>
15139 * check/gst/gstbin.c: (GST_START_TEST):
15140 Enable check that works now.
15142 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15143 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15144 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15145 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15146 (gst_bin_change_state):
15148 Redid the state change algorithm using a topological sort algo.
15149 Handles all cases correctly.
15150 Exposed iterator for state change order.
15152 * gst/gstelement.h:
15153 Temp storage for state changes. Need to get rid of this soon.
15155 2005-09-27 Wim Taymans <wim@fluendo.com>
15157 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15158 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15159 (link_fold_func), (gst_pad_proxy_setcaps):
15160 Leak fixes, the fold functions need to unref the passed object and
15161 _get_parent_*() returns ref to parent.
15163 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15165 * check/gst/gstbuffer.c: (test_make_writable):
15166 Plug leak in test case and fix 'make check-valgrind'
15168 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15170 * gst/gstbuffer.c: (gst_subbuffer_init):
15171 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15172 works correctly in all circumstances (we could have just copied
15173 the parent buffer's readonly flag, but conceptually it seems
15174 cleaner to mark all subbuffers as read-only). (based on patch
15175 by Alessandro Decina, #314710).
15177 * check/gst/gstbuffer.c: (create_read_only_buffer),
15178 (test_make_writable), (test_subbuffer_make_writable),
15180 Add some tests for gst_buffer_make_writable().
15182 2005-09-27 Wim Taymans <wim@fluendo.com>
15184 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15185 use gst_object_has_ancestor().
15187 * gst/gstobject.c: (gst_object_has_ancestor):
15189 gst_object_has_ancestor() copied from gstbin.c as it is a
15192 * tests/instantiate/create.c: (create_all_elements):
15193 * tests/lat.c: (handoff_src), (handoff_sink):
15194 * tests/sched/runxml.c: (main):
15195 * tests/seeking/seeking1.c: (main):
15196 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15198 Fix compilation of some tests.
15200 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15203 Remove comment. GST_TYPE_G_ERROR is here to stay,
15204 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15205 (#316961, #300610).
15207 2005-09-26 Wim Taymans <wim@fluendo.com>
15209 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15210 Added check that shows error in state change order.
15212 2005-09-26 Wim Taymans <wim@fluendo.com>
15214 * gst/gstbin.c: (gst_bin_change_state):
15215 Make state change function use 3 queues again, we were
15216 adding elements in the wrong order.
15218 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15221 * gst/gstpad.c: (gst_pad_dispose):
15222 Added some debug info first.
15224 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
15226 * docs/design/draft-push-pull.txt:
15227 * docs/design/part-events.txt:
15228 * docs/design/part-overview.txt:
15229 * docs/design/part-scheduling.txt:
15230 Replace all _pull_region() with _pull_range()
15232 2005-09-26 Andy Wingo <wingo@pobox.com>
15234 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15236 * check/gst-libs/controller.c: Update for controller api change.
15239 * tests/Makefile.am:
15240 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15241 over by GLib bug 118439.
15243 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15244 routines to a function.
15246 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15248 * libs/gst/controller/gsthelper.c:
15249 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15250 (gst_object_sync_values): Renamed from sink_values. Ugh.
15252 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15254 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15255 Renamed from controller_key, as it is exported.
15257 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15259 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
15264 * gst/gstpadtemplate.h:
15267 * gst/gstqueryutils.c:
15268 * gst/gstqueryutils.h:
15269 remove queryutils headers after moving the two used functions
15270 to gstquery. also fixes build problem for gstsiddec
15272 2005-09-26 Michael Smith <msmith@fluendo.com>
15274 * tools/gst-launch.1.in:
15275 Correct documentation in manpage of debug syntax
15277 2005-09-26 Wim Taymans <wim@fluendo.com>
15279 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15280 (gst_base_src_is_seekable), (gst_base_src_change_state):
15281 Some more debugging info.
15283 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15285 * docs/gst/gstreamer-sections.txt:
15286 * gst/base/gstbasetransform.h:
15290 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15292 * docs/gst/.cvsignore:
15293 * docs/gst/tmpl/.cvsignore:
15294 * docs/gst/tmpl/gstpipeline.sgml:
15295 * docs/gst/tmpl/gstplugin.sgml:
15296 * gst/gstpipeline.c:
15299 inlined the last two docs files
15300 removed the tmpl directory from cvs (no more conflicts here!)
15302 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15304 * docs/gst/gstreamer-sections.txt:
15305 * docs/gst/tmpl/.cvsignore:
15306 * docs/gst/tmpl/gstpad.sgml:
15307 * docs/gst/tmpl/gstpadtemplate.sgml:
15309 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15310 (gst_pad_finalize), (gst_pad_set_pad_template):
15312 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15313 (gst_pad_template_class_init), (gst_pad_template_init),
15314 (gst_pad_template_dispose), (name_is_valid),
15315 (gst_static_pad_template_get), (gst_pad_template_new),
15316 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15317 (gst_pad_template_pad_created):
15318 * gst/gstpadtemplate.h:
15319 inlined two more docs
15320 factored gstpadtemplate out of gstpad
15322 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
15324 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15325 (test_children_state_change_order_semi_sink):
15326 Fix test case: we can't rely on a fixed state change order when
15327 going from READY => PAUSED because the sink might commit its
15328 new state first when the first buffer created by the source
15329 reaches the sink before the source has finished its change state.
15330 (Test case still fails at times, see #316856, comment 5 onwards)
15332 2005-09-24 Wim Taymans <wim@fluendo.com>
15334 * docs/design/part-events.txt:
15335 * docs/design/part-gstbus.txt:
15336 * docs/design/part-gstpipeline.txt:
15337 * docs/design/part-messages.txt:
15338 * docs/design/part-overview.txt:
15339 * docs/design/part-segments.txt:
15343 * gst/gstelement.c:
15346 * gst/gstiterator.c:
15347 Various documentation updates.
15349 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
15352 Well, that's embarassing. Luckily we weren't using
15353 GST_CLOCK_DIFF anywhere.
15355 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15357 * common/gtk-doc.mak:
15358 don't fail on building XML, FC4 slave shows a bunch of doc
15359 missing bits that I don't get
15361 * gst/gstpipeline.c:
15362 * gst/gststructure.c:
15365 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15367 * docs/design/part-gstbin.txt:
15368 * docs/design/part-gstbus.txt:
15370 Add blurb about how the bus goes into flushing mode and
15371 drops all messages when its bin goes from READY into NULL
15374 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15376 * docs/gst/gstreamer-sections.txt:
15377 * gst/gststructure.c: (gst_structure_get_clock_time):
15378 * gst/gststructure.h:
15379 add a method to get a GstClockTime out of a structure
15381 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15383 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15384 (test_children_state_change_order_semi_sink), (gst_bin_suite):
15385 Added test to check state change order in bins (can still be made
15386 to fail here under heavy disk load; bails out with 'Push on pad
15387 fakesink:sink0, but it was not activated in push mode').
15389 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15390 Fix state change order when there is only a semi sink (#316856)
15392 * gst/gstbus.c: (gst_bus_class_init):
15393 Use _class_peek_parent(), not _class_ref(); fix docs to say
15394 'default main context' instead of 'mainloop' where that is
15397 * gst/gstelement.c: (gst_element_commit_state),
15398 (gst_element_set_state):
15399 Fix typos in debug messages
15401 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15404 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15405 * gst/gstpluginfeature.c:
15407 various doc updates
15408 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15409 change an assert into an error until it gets fixed properly
15411 2005-09-23 Stefan Kost <ensonic@users.sf.net>
15413 * docs/gst/gstreamer-sections.txt:
15414 * docs/gst/tmpl/.cvsignore:
15415 * docs/gst/tmpl/gstelement.sgml:
15416 * docs/gst/tmpl/gstinfo.sgml:
15417 * docs/gst/tmpl/gstobject.sgml:
15418 * gst/gstelement.c:
15419 * gst/gstelement.h:
15422 * gst/gstobject.c: (gst_object_class_init):
15424 inlined 3 more biiiig doc files and added some missing docs on the fly
15426 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15428 * check/gst/.cvsignore:
15429 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15430 * gst/gstregistryxml.c: (load_plugin),
15431 (gst_registry_xml_save_plugin):
15432 put back source in registry. add checks for find_plugin.
15433 * testsuite/states/bin.c: (assert_state), (empty_bin),
15434 (test_adding_one_element), (main):
15435 * testsuite/states/locked.c: (main):
15436 some compile/run fixes
15438 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
15440 * check/gst/gstvalue.c: (GST_START_TEST):
15441 fix leaks in the test itself
15443 2005-09-22 Wim Taymans <wim@fluendo.com>
15445 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15446 (gst_base_sink_send_event), (gst_base_sink_peer_query),
15447 (gst_base_sink_query):
15448 Prepare for more accurate position reporting and query
15451 * gst/gstelement.c: (gst_element_send_event),
15452 (gst_element_set_state):
15455 2005-09-22 Wim Taymans <wim@fluendo.com>
15457 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15458 (gst_query_parse_segment):
15460 More documentation.
15461 Add segment query for future use.
15463 2005-09-22 Wim Taymans <wim@fluendo.com>
15465 * gst/gstbin.c: (gst_bin_add_func):
15466 Some more debug info.
15468 * gst/gstelement.c: (gst_element_send_event):
15469 Simplify send_event
15471 * gst/gstelement.h:
15472 Don't know how flags got broken.
15477 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15479 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15480 Add simplistic test suite for GST_TYPE_DATE serialisation and
15483 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15485 * docs/gst/gstreamer-sections.txt:
15486 * gst/gststructure.c: (gst_structure_set_valist),
15487 (gst_structure_get_date):
15488 * gst/gststructure.h:
15489 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15490 (gst_date_copy), (gst_value_compare_date),
15491 (gst_value_serialize_date), (gst_value_deserialize_date),
15492 (gst_value_transform_date_string),
15493 (gst_value_transform_string_date), (_gst_value_initialize):
15495 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15496 bunch of utility functions along with a hack that checks that
15497 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15498 is required. Part of the grand scheme in #170777.
15500 2005-09-22 Andy Wingo <wingo@pobox.com>
15502 * gst/gstconfig.h.in: Psych out gtk-doc.
15504 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15506 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15508 * tools/gst-inspect.c (print_element_list): Plug some
15509 inconsequential leaks.
15511 * gst/gstregistry.c (gst_registry_get_default): Doc.
15513 * check/gst/gstplugin.c:
15514 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15515 * gst/gstelementfactory.c (gst_element_factory_create):
15516 * gst/gstindexfactory.c (gst_index_factory_create): Update for
15519 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15520 (gst_plugin_feature_load): Doc, don't eat refs.
15522 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15523 (gst_plugin_list_free): Doc.
15524 (gst_plugin_load_file): Doc updates.
15526 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15527 accessors returning refcounted objects, return a ref.
15529 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15530 accessor for caps. IDEMPOTENCE. Oh yes.
15532 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
15534 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15536 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15537 (_gst_debug_register_funcptr):
15538 Add mutex to serialise access to the hash table with
15539 the function pointer => function name string mapping;
15540 make that hash table static scope (#316809).
15542 * gst/registries/.cvsignore:
15543 Remove left-over file.
15545 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15547 * docs/pwg/appendix-porting.xml:
15548 And something about newsegment events and caps-on-buffers to
15549 the porting guide (feel free to improve).
15551 2005-09-21 Andy Wingo <wingo@pobox.com>
15553 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15554 data and event probes on the same pad.
15555 (test_buffer_probe_once): Test that removing probes from within
15556 the probe functions works.
15558 2005-09-21 Andy Wingo <wingo@pobox.com>
15560 * check/gst/gstutils.c: New file.
15561 (test_buffer_probe_n_times): A simple buffer probe test. More to
15564 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15565 have-data::buffer, not have-data.
15566 (gst_pad_add_event_probe): Likewise for have-data::event.
15567 (gst_pad_add_data_probe): More docs. The part about 'resolving the
15568 peer' isn't quite right yet though.
15569 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
15570 (gst_pad_remove_data_probe): Change to take the guint handler_id
15571 as their arg, not the function+data, which is more glib-like.
15573 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15574 the signal emission to indicate if the data is a buffer or an
15576 (gst_pad_get_type): Initialize buffer and event quarks.
15577 (gst_pad_class_init): have-data is now a detailed signal, yes it
15580 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15582 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15583 * gst/gstutils.c: (gst_util_set_value_from_string),
15584 (gst_util_set_object_arg):
15585 Don't put functional code in g_return_if_fail() or
15586 g_return_val_if_fail() statements, otherwise things will
15587 break when G_DISABLE_CHECKS is defined during compilation.
15589 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15591 * docs/gst/tmpl/.cvsignore:
15592 * docs/gst/tmpl/gstvalue.sgml:
15595 inlied another one and added some obvious docs
15597 2005-09-21 Wim Taymans <wim@fluendo.com>
15599 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15600 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15601 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15602 (gst_fdsrc_get_property), (gst_fdsrc_create):
15603 * gst/elements/gstfdsrc.h:
15604 Properly implement fdsrc. Removed signal and timeout,
15605 better implemented somewhere else.
15607 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15609 * docs/gst/tmpl/.cvsignore:
15610 * docs/gst/tmpl/gstimplementsinterface.sgml:
15611 * gst/gstinterface.c:
15614 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15616 * docs/gst/gstreamer-sections.txt:
15617 * docs/gst/tmpl/.cvsignore:
15618 * docs/gst/tmpl/gstenumtypes.sgml:
15619 remove obsolete doc file
15621 2005-09-21 David Schleef <ds@schleef.org>
15623 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15624 little beer, fix a little leak.
15626 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15628 * docs/gst/gstreamer-docs.sgml:
15629 * docs/gst/gstreamer-sections.txt:
15630 * docs/gst/tmpl/.cvsignore:
15634 * gst/gstelement.h:
15635 * gst/gstindex.c: (gst_index_class_init):
15637 * gst/gstindexfactory.c: (gst_index_factory_get_type),
15638 (gst_index_factory_class_init), (gst_index_factory_init),
15639 (gst_index_factory_finalize), (gst_index_factory_new),
15640 (gst_index_factory_destroy), (gst_index_factory_find),
15641 (gst_index_factory_create), (gst_index_factory_make):
15642 * gst/gstindexfactory.h:
15643 * gst/gstpluginfeature.c:
15644 * gst/gstpluginfeature.h:
15645 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15646 more docs inlined, splitted gstindex.{c,h}
15648 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15650 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15653 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15655 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15656 Set sync to FALSE by default.
15658 2005-09-20 Wim Taymans <wim@fluendo.com>
15660 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15661 (gst_base_sink_init):
15662 Make sync property settable from subclass.
15664 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15665 (gst_fake_sink_change_state):
15666 Set sync to FALSE by default.
15668 2005-09-20 Wim Taymans <wim@fluendo.com>
15670 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15671 * tools/gst-launch.c: (main):
15672 The timeout handler should have lower priority than the source
15673 so we don't timeout before popping a message with 0 timeout.
15674 Dump error messages after failed state change.
15676 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15678 * tools/gst-inspect.c: (print_element_properties_info):
15681 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15683 * check/gst/gstevent.c:
15684 * gst/elements/gstfakesink.c:
15685 * gst/elements/gstfakesink.h:
15686 remove the sync property from fakesink.
15687 has the side effect of setting sync TRUE
15688 for fakesink, which is a change. Anyone who knows how
15689 to fix this nicely in a GObject-y way, feel free.
15691 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15693 * docs/gst/gstreamer-docs.sgml:
15694 remove probe refsection
15696 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15698 * check/Makefile.am:
15699 disable valgrinding the controller test again
15700 * docs/gst/gstreamer-sections.txt:
15701 update for api-changes
15703 2005-09-20 Wim Taymans <wim@fluendo.com>
15705 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15706 (gst_base_sink_set_property), (gst_base_sink_get_property),
15707 (gst_base_sink_do_sync):
15708 * gst/base/gstbasesink.h:
15709 Added sync property to basesink to disable clock sync.
15711 2005-09-20 Andy Wingo <wingo@pobox.com>
15713 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15714 eating the caller's refcount.
15716 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
15717 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15720 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15721 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15722 of GLib 2.8 public, so we can know which refcount to check in
15725 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15726 (gst_object_init): Only set the gst refcount if we're going ahead
15727 with the refcount hack.
15729 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15731 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15732 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15733 more leaks plumbed, added more debug-logging
15737 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15739 * gst/gstmessage.c:
15740 remove include of gstmemchunk.h
15742 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15744 * gst/gstclock.c: (_gst_clock_id_free):
15745 Commit from the Political Party For More Atomic CVS Commits,
15746 so that people don't waste too much of their day fishing
15747 out obvious leaks out of massive commits.
15748 Oh, and fix a pretty damn obvious leak in the memchunk
15751 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15753 * check/Makefile.am:
15754 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15755 plug mem-leak, re-add to valgrindable tests
15757 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15760 unbreak the build for those who have chronic arthritis
15761 and typing "make check" is just too taxing on the hands
15763 2005-09-20 Andy Wingo <wingo@pobox.com>
15765 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
15766 really want it out, you should fix plugins at the same time.
15768 2005-09-19 Stefan Kost <ensonic@users.sf.net>
15771 * docs/gst/gstreamer-sections.txt:
15773 added missing symbols to api docs
15774 disable ref-count hack if we have glib >= 2.8
15776 2005-09-19 David Schleef <ds@schleef.org>
15778 * docs/gst/Makefile.am: Ignore a few more internal headers
15779 * docs/gst/gstreamer-docs.sgml: Remove old sections
15780 * docs/gst/gstreamer-sections.txt: Remove old sections
15781 * docs/gst/tmpl/gstobject.sgml: update
15782 * docs/gst/tmpl/gstplugin.sgml: update
15783 * docs/gst/tmpl/gstpluginfeature.sgml: update
15784 * docs/random/ds/0.9-suggested-changes: update.
15785 * gst/Makefile.am: remove memchunk and trashstack, since they're
15787 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
15788 * gst/gst.h: don't include some headers
15789 * gst/gstchildproxy.c: add gstmarshal.h
15790 * gst/gstclock.c: Don't use memchunks
15791 * gst/gstminiobject.c: Add some docs
15792 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
15793 * gst/gstobject.h: same
15794 * gst/gstplugin.c: include gstmacros.h
15795 * gst/gstplugin.h: don't include gstmacros.h, since it's private
15796 * gst/gstquery.c: don't use memchunks
15797 * gst/gstregistry.c: rename gst_registry_deinit()
15798 * gst/gstregistry.h: same
15800 2005-09-19 David Schleef <ds@schleef.org>
15802 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
15803 * docs/libs/gstreamer-libs-sections.txt:
15804 * docs/libs/tmpl/gstgetbits.sgml:
15805 * docs/libs/tmpl/gstputbits.sgml:
15807 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
15809 * win32/gstenumtypes.c:
15810 * win32/gstenumtypes.h:
15813 2005-09-19 Wim Taymans <wim@fluendo.com>
15815 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
15816 Automatically PAUSE and RESUME a pipeline when a flushing seek
15819 2005-09-19 Andy Wingo <wingo@pobox.com>
15821 * gst/gstregistry.h: Spacing fixen.
15823 2005-09-19 Wim Taymans <wim@fluendo.com>
15825 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
15826 Handle state change failure more correctly.
15828 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15830 * check/Makefile.am:
15831 * check/pipelines/cleanup.c: (run_pipeline):
15832 * check/pipelines/simple_launch_lines.c: (run_pipeline),
15834 enable cleanup again after fixing the leak
15836 some more info on docs
15838 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15840 * check/Makefile.am:
15841 re-enable tests now that leaks are plugged
15843 * check/gst/gstbin.c:
15844 * check/gst/gstpipeline.c:
15845 add some more tests while fixing leaks
15846 * common/check.mak:
15847 make sure binaries are uptodate when valgrinding/gdbing
15849 * gst/gstelementfactory.c:
15850 remove a ref too many, and add a FIXME for when we get
15851 round to disposing of classes
15853 fix the refcounting when loading a plugin from a file and
15854 the code pretends that the pointer is the same even though
15855 of course it can change
15856 * gst/gstpluginfeature.c:
15857 unref plugins marked cached (a bit confusing as a name)
15858 as the docs state should be done
15859 various doc additions to explain refcounting
15860 * gst/gstregistry.c:
15861 * gst/gstregistryxml.c:
15864 2005-09-19 Wim Taymans <wim@fluendo.com>
15866 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15867 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15868 (send_messages), (GST_START_TEST), (gstbus_suite):
15869 * check/gst/gstpipeline.c: (GST_START_TEST):
15870 * check/pipelines/cleanup.c: (run_pipeline):
15871 * check/pipelines/simple_launch_lines.c: (run_pipeline),
15873 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
15874 (gst_bus_source_check), (gst_bus_source_dispatch),
15875 (gst_bus_create_watch), (gst_bus_add_watch_full),
15876 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
15878 * tools/gst-launch.c: (event_loop):
15879 * tools/gst-md5sum.c: (event_loop):
15880 GstBusHandler -> GstBusFunc, return value has the same meaning as
15881 any other GSource (FALSE == remove source).
15882 _add_watch() and _add_watch_full() now take a MessageType mask to
15883 only handle specific types of messages.
15884 _poll() returns the GstMessage instead of the message type to avoid
15886 _have_pending() takes a MessageType mask now too.
15887 Added testsuite for multiple bus watches.
15888 Fix testsuites and applications for new bus API.
15890 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15892 * check/Makefile.am:
15893 mark a bunch of the tests as to fix until we fix them
15895 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15897 * common/check.mak:
15898 use GST_PLUGIN settings for valgrind tests as well, so we're
15899 valgrinding the correct thing
15900 * gst/gst.c: (init_post):
15903 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15905 * gst/gst.c: (init_post), (gst_deinit):
15906 * gst/gstelementfactory.c: (gst_element_factory_class_init),
15907 (gst_element_factory_finalize), (gst_element_factory_cleanup):
15908 * gst/gstindex.c: (gst_index_factory_class_init),
15909 (gst_index_factory_finalize):
15910 * gst/gstobject.c: (gst_object_dispose):
15911 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15912 (gst_plugin_load_file), (gst_plugin_desc_free):
15913 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
15914 (gst_plugin_feature_finalize):
15915 * gst/gstregistry.c: (gst_registry_class_init),
15916 (gst_registry_init), (gst_registry_finalize),
15917 (gst_registry_get_default), (gst_registry_deinit):
15918 * gst/gstregistry.h:
15919 * gst/gstregistryxml.c: (load_feature), (load_plugin):
15920 various cleanups and memleak plugging. make valgrind is happy now.
15922 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15924 * common/check.mak:
15925 add a check-valgrind target
15927 2005-09-18 David Schleef <ds@schleef.org>
15929 * tools/gst-inspect.c: Revert the GOption code.
15931 2005-09-17 David Schleef <ds@schleef.org>
15933 * check/Makefile.am: Fix environment variables.
15934 * check/gst/gstplugin.c: Fix for API changes.
15935 * tools/gst-inspect.c: Fix for API changes.
15936 * tools/gst-xmlinspect.c: Fix for API changes.
15937 * gst/gstelementfactory.c:
15940 * gst/gstpluginfeature.c:
15941 * gst/gstpluginfeature.h:
15942 * gst/gstregistry.c:
15943 * gst/gstregistry.h:
15944 * gst/gstregistryxml.c:
15945 * gst/gsttypefind.c:
15946 * gst/gsttypefindfactory.c:
15947 * gst/indexers/gstfileindex.c:
15948 * gst/indexers/gstmemindex.c:
15949 * gst/schedulers/Makefile.am:
15950 Change registry to keep track of both plugins and features,
15951 removing the feature tracking from plugins themselves.
15953 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
15955 * check/Makefile.am:
15956 * tools/gst-register.1.in:
15957 remove gst-register
15959 2005-09-15 David Schleef <ds@schleef.org>
15961 * check/gst/gstplugin.c:
15962 * gst/gstelementfactory.c:
15964 * gst/gstpluginfeature.c:
15965 * gst/gstregistry.c:
15966 Getting tired of debugging. Disabled all the unreffing of
15967 plugins and features, which fixes the segfaults, but of
15968 course leaks like crazy. At least playbin works.
15970 2005-09-15 David Schleef <ds@schleef.org>
15972 * check/gst/gstplugin.c: (register_check_elements),
15973 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
15975 * gst/elements/gsttypefindelement.c: Fix refcounting.
15976 * gst/gsttypefind.c:
15977 * gst/gsttypefindfactory.c:
15978 * gst/gsttypefindfactory.h:
15980 2005-09-15 David Schleef <ds@schleef.org>
15982 * gst/gstindex.c: get refcounting correct.
15983 * gst/gstregistry.c: Handle the case where a feature/plugin is
15986 2005-09-15 David Schleef <ds@schleef.org>
15988 * check/Makefile.am:
15989 * check/gst/gstplugin.c: Add test
15990 * gst/gstplugin.c: Fix problems noticed by testsuite
15992 * gst/gstregistry.c:
15993 * gst/gstregistry.h:
15995 2005-09-15 David Schleef <ds@schleef.org>
15997 * gst/gstplugin.c: Implement semi-decent recounting and locking
15998 in plugins and plugin features.
16000 * gst/gstpluginfeature.c:
16001 * gst/gstpluginfeature.h:
16002 * gst/gstregistry.c:
16004 2005-09-15 Michael Smith <msmith@fluendo.com>
16006 * gst/gstregistry.c: (gst_registry_get_feature_list):
16007 Implement this. Makes oggdemux work; decodebin still broken.
16009 2005-09-14 David Schleef <ds@schleef.org>
16011 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16013 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16014 * gst/check/Makefile.am:
16015 * libs/gst/controller/Makefile.am:
16016 * libs/gst/dataprotocol/Makefile.am:
16018 2005-09-14 David Schleef <ds@schleef.org>
16020 * configure.ac: Remove getbits library. Nothing uses it, and
16021 it should be in something like liboil if someone did want
16023 * libs/gst/Makefile.am:
16024 * libs/gst/getbits/Makefile.am:
16025 * libs/gst/getbits/gbtest.c:
16026 * libs/gst/getbits/getbits.c:
16027 * libs/gst/getbits/getbits.h:
16028 * libs/gst/getbits/gstgetbits_generic.c:
16029 * libs/gst/getbits/gstgetbits_i386.s:
16030 * libs/gst/getbits/gstgetbits_inl.h:
16032 2005-09-14 David Schleef <ds@schleef.org>
16034 * gst/Makefile.am: Dist glib-compat.h
16036 2005-09-14 David Schleef <ds@schleef.org>
16038 * configure.ac: Remove gst/registries, since it's no longer used.
16039 * gst/registries/Makefile.am:
16040 * gst/registries/gstlibxmlregistry.c:
16041 * gst/registries/gstlibxmlregistry.h:
16042 * gst/registries/gstxmlregistry.c:
16043 * gst/registries/gstxmlregistry.h:
16044 * gst/registries/registrytest.c:
16046 2005-09-14 David Schleef <ds@schleef.org>
16048 * gst/glib-compat.h:
16049 * gst/gstregistryxml.c:
16050 Convergence is near. Seriously.
16052 2005-09-14 David Schleef <ds@schleef.org>
16054 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16055 * gst/glib-compat.h:
16056 Attempt #4 to appease the buildbots.
16058 2005-09-14 David Schleef <ds@schleef.org>
16060 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16063 2005-09-14 David Schleef <ds@schleef.org>
16065 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16068 2005-09-14 David Schleef <ds@schleef.org>
16070 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16073 2005-09-14 David Schleef <ds@schleef.org>
16075 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16076 * gst/glib-compat.h: Add some functions that are in newer versions
16077 of glib than we care to require.
16078 * gst/gstregistryxml.c: Use them.
16080 2005-09-14 David Schleef <ds@schleef.org>
16082 * po/POTFILES.in: remove gst-register.c
16084 2005-09-14 David Schleef <ds@schleef.org>
16086 * docs/gst/gstreamer-docs.sgml:
16087 * docs/gst/gstreamer-sections.txt:
16088 * docs/gst/gstreamer.types:
16089 * docs/gst/tmpl/gstelement.sgml:
16090 * docs/gst/tmpl/gstplugin.sgml:
16091 * docs/gst/tmpl/gstpluginfeature.sgml:
16092 Documentation updates for registry changes.
16094 2005-09-14 David Schleef <ds@schleef.org>
16096 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16097 because we don't require glib-2.8.
16099 2005-09-14 David Schleef <ds@schleef.org>
16101 * gst/gstregistryxml.c: Added. Essentially moved out of the
16102 registries directory.
16104 2005-09-14 David Schleef <ds@schleef.org>
16106 * check/Makefile.am:
16107 * check/generic/states.c:
16111 * gst/gst_private.h:
16112 * gst/gstelementfactory.c:
16117 * gst/gstpluginfeature.c:
16118 * gst/gstpluginfeature.h:
16119 * gst/gstregistry.c:
16120 * gst/gstregistry.h:
16121 * gst/gstregistrypool.c: remove
16122 * gst/gstregistrypool.h: remove
16123 * gst/gsttypefind.c:
16124 * gst/gsttypefindfactory.c:
16126 * tools/Makefile.am:
16127 * tools/gst-compprep.c:
16128 * tools/gst-inspect.c:
16129 * tools/gst-register.c: remove
16130 * tools/gst-xmlinspect.c:
16131 Registry rewrite. Changes registry from being a file created
16132 by a tool into a simple cache file created automatically by
16133 libgstreamer. Removed gst-register (because it's no longer
16134 needed). Remove registry pools, because we only have one
16135 registry implementation (XML). Fix up other subsystems as
16138 2005-09-13 Michael Smith <msmith@fluendo.com>
16140 * gst/gstconfig.h.in:
16141 Don't Use windows linking attributes for MinGW. Fixes #316157
16143 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
16145 * gst/gstutils.c: (set_state_async_thread_func),
16146 (gst_element_set_state_async):
16147 Apparently people think it's better if this function doesn't
16148 try to set the state to whatever state was asked for on the first
16149 call to this function for any object. Seriously.
16151 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16153 * check/gst/gstpipeline.c: (GST_START_TEST):
16154 * docs/gst/gstreamer-sections.txt:
16155 * gst/gstutils.c: (set_state_async_thread_func),
16156 (gst_element_set_state_async):
16158 add a "gst_element_set_state_async" method that
16159 sets the state and starts a thread to make sure the state
16160 change completes as best as it can
16162 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16164 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16165 codify design+behaviour in testsuite after discussion
16167 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16169 * docs/gst/tmpl/gstelement.sgml:
16170 * docs/manual/appendix-quotes.xml:
16172 * gst/gstelement.c: (gst_element_set_state):
16175 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
16177 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16178 (gst_base_transform_prepare_output_buf),
16179 (gst_base_transform_handle_buffer):
16180 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16181 (gst_capsfilter_prepare_buf):
16182 Remove the requirement for sub-classes to call the parent
16183 implementation of prepare_output_buffer with a wrapper function.
16185 * gst/gsttaglist.h:
16186 * gst/gsttagsetter.h:
16187 Fix #define wrapper
16189 2005-09-11 Stefan Kost <ensonic@users.sf.net>
16191 * docs/gst/gstreamer-sections.txt:
16194 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16196 * docs/gst/gstreamer-sections.txt:
16197 * docs/gst/tmpl/gstelement.sgml:
16198 * docs/gst/tmpl/gstplugin.sgml:
16199 * gst/gstminiobject.c:
16201 docs now stop throwing warnings
16203 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16205 * docs/gst/gstreamer-sections.txt:
16206 * docs/gst/gstreamer.types:
16207 * docs/gst/tmpl/gstpad.sgml:
16208 * docs/gst/tmpl/gsttypes.sgml:
16209 * gst/base/gstadapter.h:
16210 * gst/base/gstbasesink.h:
16211 * gst/base/gstbasesrc.h:
16217 * gst/gstelement.h:
16219 * gst/gstmessage.h:
16221 * gst/gststructure.c:
16222 * gst/registries/gstlibxmlregistry.h:
16223 various documentation fixes
16225 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16227 * docs/gst/gstreamer-sections.txt:
16228 * docs/gst/tmpl/gstvalue.sgml:
16229 rearrange gstvalue section
16230 * gst/gstutils.c: (gst_element_state_get_name):
16232 * gst/gstvalue.c: (_gst_value_initialize):
16236 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
16238 * check/gst-libs/controller.c:
16239 Header include fix.
16240 * gst/base/gstbasetransform.c:
16241 (gst_base_transform_default_prepare_buf),
16242 (gst_base_transform_handle_buffer):
16243 * gst/base/gstbasetransform.h:
16244 Some more basetransform changes and fixes to enable sub-classes
16245 that modify buffer metadata only.
16246 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16247 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16248 (gst_capsfilter_prepare_buf):
16249 If the output pad has fixed allowed caps and input buffers
16250 don't have any, set the fixed caps on outgoing buffers.
16252 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
16253 * check/elements/identity.c: (GST_START_TEST):
16254 Make the error a little clearer when the test fails because
16255 identity made a copy of the buffer.
16256 * docs/gst/gstreamer-sections.txt:
16257 New symbols in gstbasetransform.h
16258 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16259 (gst_base_transform_init), (gst_base_transform_transform_size),
16260 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16261 (gst_base_transform_default_prepare_buf),
16262 (gst_base_transform_get_unit_size),
16263 (gst_base_transform_buffer_alloc),
16264 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16265 (gst_base_transform_change_state),
16266 (gst_base_transform_set_passthrough),
16267 (gst_base_transform_set_in_place),
16268 (gst_base_transform_is_in_place):
16269 * gst/base/gstbasetransform.h:
16270 Change BaseTransform to separate in_place operate from same_caps
16271 output. in_place implies that the element can perform the transform
16272 on incoming buffers in-place, even if the caps on the output are
16274 Sub-class elements can now implement special buffer allocation
16275 methods for outgoing buffers if they wish to.
16276 Big documentation addition.
16277 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16278 * gst/elements/gstelements.c:
16279 Changes for basetransform modifications.
16280 * gst/elements/Makefile.am:
16281 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16282 Compile fix. Extra debug output.
16284 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16286 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16288 add tests for valid pad naming
16289 * gst/check/gstcheck.c: (gst_check_log_message_func),
16290 (gst_check_log_critical_func):
16292 remove printing of code, it is fragile when the code contains
16293 % and the line number is enough info
16294 * gst/check/gstcheck.h:
16295 * gst/gstpad.c: (gst_pad_template_new):
16298 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16301 say what CHECK flags we use
16302 * docs/libs/gstreamer-libs.types:
16303 * libs/gst/controller/Makefile.am:
16304 * libs/gst/controller/gst-controller.c:
16305 * libs/gst/controller/gst-controller.h:
16306 * libs/gst/controller/gst-helper.c:
16307 * libs/gst/controller/gst-interpolation.c:
16308 * libs/gst/controller/gstcontroller.c:
16309 * libs/gst/controller/gsthelper.c:
16310 * libs/gst/controller/gstinterpolation.c:
16311 * tools/gst-inspect.c: (print_plugin_info):
16312 we don't use dashes in header names
16314 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16316 * check/Makefile.am:
16317 * check/gst/.cvsignore:
16318 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16319 (gst_pipeline_suite), (main):
16320 adding a test for pipelines and state changes
16321 * gst/gstutils.c: (get_state_func):
16323 * gstreamer.spec.in:
16326 2005-09-08 Michael Smith <msmith@fluendo.com>
16328 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16329 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16330 (gst_file_src_is_seekable), (gst_file_src_get_size),
16331 (gst_file_src_start):
16332 * gst/elements/gstfilesrc.h:
16333 Various fixes for unseekable, unmmapable, and non-normal files, so
16334 that fallback to read() rather than mmap() works.
16335 * gst/gstevent.c: (gst_event_new_newsegment):
16336 Allow newsegment events with segment_start == segment_end, as will
16337 correctly happen if you use filesrc on a zero-size file, for
16340 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16342 * gst/gstplugin.c: (gst_plugin_load_file):
16343 Call g_module_close when we don't load the module
16345 * gst/registries/gstlibxmlregistry.c:
16346 (gst_xml_registry_get_property):
16347 Port leak fix from 0.8
16349 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16351 * docs/gst/gstreamer-docs.sgml:
16352 * docs/gst/tmpl/.cvsignore:
16353 * docs/gst/tmpl/gsttrace.sgml:
16354 * docs/gst/tmpl/gsttrashstack.sgml:
16357 * gst/gstelement.h:
16359 * gst/gstmessage.c:
16360 * gst/gstmessage.h:
16363 * gst/gsttaginterface.c:
16364 * gst/gsttaginterface.h:
16365 * gst/gsttaglist.c:
16366 * gst/gsttaglist.h:
16367 * gst/gsttagsetter.c:
16368 * gst/gsttagsetter.h:
16371 * gst/gsttrashstack.c:
16372 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16373 inlined docs for gsttrace, gsttrashstack
16375 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16378 * gst/elements/gstbufferstore.h:
16379 * gst/elements/gsttypefindelement.c:
16380 * gst/elements/gsttypefindelement.h:
16382 * gst/gsttypefind.c:
16383 * gst/gsttypefind.h:
16384 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16385 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16386 (gst_type_find_factory_dispose),
16387 (gst_type_find_factory_unload_thyself),
16388 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16389 (gst_type_find_factory_get_caps),
16390 (gst_type_find_factory_get_extensions),
16391 (gst_type_find_factory_call_function):
16392 * gst/gsttypefindfactory.h:
16393 * gst/registries/gstlibxmlregistry.c:
16394 * gst/registries/gstxmlregistry.c:
16395 splitted gsttypefind into gsttypefind, gsttypefindfactory
16397 2005-09-07 Andy Wingo <wingo@pobox.com>
16399 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16400 condition whereby the pad's task function is entered before the
16401 pad_mode variable was set.
16403 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16405 * gst/gstpad.c: (gst_pad_alloc_buffer):
16406 Catch misbehaving pad_alloc functions that don't
16407 set up caps and do it for them.
16409 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16411 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16412 test for pipe!=NULL
16413 * docs/gst/tmpl/.cvsignore:
16414 * docs/gst/tmpl/gstmemchunk.sgml:
16415 * docs/gst/tmpl/gstparse.sgml:
16416 * docs/gst/tmpl/gsttaglist.sgml:
16417 * docs/gst/tmpl/gsttagsetter.sgml:
16418 * docs/gst/tmpl/gsttypefind.sgml:
16419 * docs/gst/tmpl/gsttypefindfactory.sgml:
16420 * gst/gstmemchunk.c:
16423 * gst/gsttaginterface.c:
16424 * gst/gsttypefind.c:
16425 * gst/gsttypefind.h:
16428 === release 0.9.2 ===
16430 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
16435 releasing 0.9.2, "South"
16437 2005-09-05 Andy Wingo <wingo@pobox.com>
16439 * gst/registries/gstxmlregistry.h:
16440 * gst/registries/gstxmlregistry.c: Um... resurrect...
16442 * gst/registries/gstxmlregistry.h:
16443 * gst/registries/gstxmlregistry.c: and update to newer API.
16444 Incidentally they should be a bit faster now that they don't have
16447 2005-09-05 Andy Wingo <wingo@pobox.com>
16449 * gst/registries/gstxmlregistry.h:
16450 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16451 replaced by the libxml registry a while back
16453 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16455 * docs/gst/tmpl/gstplugin.sgml:
16456 * gst/elements/gstelements.c:
16458 * gst/gstplugin.c: (gst_plugin_register_func),
16459 (gst_plugin_desc_copy), (gst_plugin_desc_free),
16460 (gst_plugin_get_source):
16462 * gst/registries/gstlibxmlregistry.c: (load_plugin),
16463 (gst_xml_registry_save_plugin):
16464 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16465 (gst_xml_registry_save_plugin):
16466 * tools/gst-inspect.c: (print_plugin_info):
16467 add a "source" plugin description field, to represent the source
16468 module this plugin is a part of. By default GST_PLUGIN_DEFINE
16469 will set it to PACKAGE, which is automake's idea of the name of
16470 the source project.
16472 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16477 * docs/Makefile.am:
16478 * docs/faq/Makefile.am:
16479 * docs/gst/tmpl/gstelement.sgml:
16480 * docs/gst/tmpl/gsttypes.sgml:
16481 * docs/htmlinstall.mak:
16482 * docs/manual/Makefile.am:
16483 * docs/pwg/Makefile.am:
16484 reorganize doc build a little
16485 split out docbook and gtk-doc stuff
16486 have two separate --enable's and enable them through autogen
16487 but disable by default in configure (to be similar to other
16489 * gstreamer.spec.in:
16490 clean up docs install
16508 translation updates
16510 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
16512 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16515 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16516 (gst_fake_sink_change_state):
16517 Make state change function thread-safe.
16519 * gst/gstpad.c: (gst_pad_alloc_buffer):
16520 Set offset on generic buffer allocated by fallback.
16522 2005-09-03 Stefan Kost <ensonic@users.sf.net>
16524 * docs/gst/gstreamer-sections.txt:
16525 * docs/gst/tmpl/gstelement.sgml:
16527 * libs/gst/controller/gst-controller.c:
16528 (gst_controlled_property_set_interpolation_mode),
16529 (gst_controlled_property_new),
16530 (gst_controller_find_controlled_property):
16531 run the wingo-magic script against the docs
16533 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16535 * docs/gst/gstreamer-docs.sgml:
16536 * docs/gst/gstreamer-sections.txt:
16537 * docs/gst/tmpl/.cvsignore:
16538 * docs/gst/tmpl/gstelementdetails.sgml:
16539 * docs/gst/tmpl/gstelementfactory.sgml:
16542 * gst/gstelementfactory.c:
16543 * gst/gstelementfactory.h:
16544 merged elementdetails docs into elementfactory docs
16547 2005-09-02 Andy Wingo <wingo@pobox.com>
16549 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16550 consider this enum an enum and not a flags.
16552 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16554 * docs/gst/gstreamer-docs.sgml:
16555 * docs/gst/tmpl/.cvsignore:
16556 * docs/gst/tmpl/gstghostpad.sgml:
16557 * docs/gst/tmpl/gstiterator.sgml:
16558 * docs/gst/tmpl/gstmacros.sgml:
16559 * docs/gst/tmpl/gstrealpad.sgml:
16560 * docs/gst/tmpl/gstregistry.sgml:
16561 * docs/gst/tmpl/gstregistrypool.sgml:
16562 * docs/gst/tmpl/gststructure.sgml:
16563 * docs/gst/tmpl/gstsystemclock.sgml:
16564 * docs/gst/tmpl/gsttrace.sgml:
16565 * gst/gstghostpad.c:
16567 * gst/gstmemchunk.c:
16568 * gst/gstmemchunk.h:
16570 * gst/gstregistry.c:
16571 * gst/gstregistrypool.c:
16572 * gst/gststructure.c:
16573 * gst/gstsystemclock.c:
16576 2005-09-02 Andy Wingo <wingo@pobox.com>
16578 * gst/gstelement.h (GstState): Renamed from GstElementState,
16579 changed to be a normal enum instead of flags.
16580 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16581 munged to be GST_STATE_CHANGE_*.
16582 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16583 work with the new state representation.
16584 (GstStateChange): New enumeration of possible state transitions.
16585 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16586 (GstElementClass::change_state): Pass the GstStateChange along as
16587 an argument. Helps language bindings, so they don't have to use
16588 tricky lock-needing macros like GST_STATE_CHANGE ().
16590 * scripts/update-states (file): New script. Run it on a file to
16591 update it for state naming and API changes. Updates files in
16594 * All files updated for the new API.
16596 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
16598 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16599 * gst/gstutils.c: (gst_util_set_value_from_string),
16600 (gst_util_set_object_arg):
16601 fix a bunch of unchecked return values
16602 * tools/gst-complete.c: (main):
16603 * gstreamer.spec.in:
16606 2005-09-01 Wim Taymans <wim@fluendo.com>
16608 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16609 (gst_base_sink_event), (gst_base_sink_do_sync),
16610 (gst_base_sink_handle_event):
16611 * gst/base/gstbasesink.h:
16612 Handle newsegments more correctly.
16617 * gst/gstevent.c: (gst_event_new_newsegment):
16618 A newsegment cannot have a start_time of -1
16620 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
16622 * win32/gstenumtypes.c:
16623 * win32/gstenumtypes.h:
16626 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16628 * libs/gst/controller/gst-controller.c:
16629 (gst_controlled_property_set_interpolation_mode),
16630 (gst_controlled_property_new):
16631 fixed boolean again
16633 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
16635 * docs/faq/gst-uninstalled:
16640 * gst/gstutils.c: (gst_element_link_filtered):
16642 add gst_element_link_filtered
16644 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16646 * docs/gst/gstreamer-docs.sgml:
16647 * docs/gst/gstreamer-sections.txt:
16648 * docs/gst/tmpl/.cvsignore:
16649 * docs/gst/tmpl/gsterror.sgml:
16650 * docs/gst/tmpl/gstfilter.sgml:
16651 * docs/gst/tmpl/gsturihandler.sgml:
16652 * docs/gst/tmpl/gsturitype.sgml:
16653 * docs/gst/tmpl/gstutils.sgml:
16654 * docs/gst/tmpl/gstxml.sgml:
16659 * gst/gsturitype.c:
16662 inlined more docs, fixed double id-ref
16664 2005-08-31 Wim Taymans <wim@fluendo.com>
16666 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16667 (gst_base_transform_handle_buffer):
16668 Passthrough elements don't need the caps as they don't care.
16670 2005-08-31 Wim Taymans <wim@fluendo.com>
16672 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16673 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16674 Don't leak refcounts on buffers.
16676 2005-08-31 Wim Taymans <wim@fluendo.com>
16678 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16679 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16680 (gst_base_transform_chain), (gst_base_transform_change_state):
16681 * gst/base/gstbasetransform.h:
16682 Handle the case where we are not negotiated more gracefully.
16684 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
16686 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16687 (gst_file_src_map_region):
16688 Set READONLY flag on mmap'ed buffers, otherwise
16689 gst_buffer_make_writable() won't work properly (#314708).
16691 2005-08-31 Wim Taymans <wim@fluendo.com>
16693 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16694 passthrough elements can even do inplace on non writable
16695 buffers (as they don't touch them).
16697 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16699 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16700 (gst_test_mono_source_set_property),
16701 (gst_test_mono_source_class_init), (GST_START_TEST),
16702 (gst_controller_suite):
16703 more tests (hehe I have the most)
16705 describe popping messages whenusing mulltiple sources
16706 * libs/gst/controller/gst-controller.c:
16707 (gst_controlled_property_set_interpolation_mode),
16708 (gst_controlled_property_new):
16709 * libs/gst/controller/gst-controller.h:
16710 * libs/gst/controller/gst-interpolation.c:
16711 implement boolean properties
16713 2005-08-31 Wim Taymans <wim@fluendo.com>
16715 * gst/gstminiobject.c: (gst_mini_object_ref):
16716 Cannot assert that the refcount has to be positive
16717 since a disposed object can be resurrected.
16719 2005-08-31 Wim Taymans <wim@fluendo.com>
16721 * gst/gstpad.c: (gst_pad_init):
16722 Revert change, need to first fix badly behaving
16725 2005-08-30 Wim Taymans <wim@fluendo.com>
16727 * check/elements/fakesrc.c: (setup_fakesrc):
16728 * check/elements/identity.c: (setup_identity):
16729 Activate pads before using them.
16731 2005-08-30 Wim Taymans <wim@fluendo.com>
16733 * gst/base/gstadapter.c: (gst_adapter_flush):
16734 Flushing out 0 bytes is ok for this function.
16736 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16737 no newsegment gives a warning and sets the start/stop to
16740 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16741 (gst_base_transform_set_passthrough):
16744 * gst/gstminiobject.c: (gst_mini_object_ref):
16745 Check refcount here too.
16747 * gst/gstpad.c: (gst_pad_init):
16748 Pads are initially flushing and refusing data.
16750 * gst/gstutils.c: (gst_element_link_pads_filtered):
16751 When adding a capsfilter element make sure it has the
16752 same state as the parent bin.
16754 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16756 * docs/gst/tmpl/.cvsignore:
16757 * docs/gst/tmpl/gstformat.sgml:
16758 * docs/gst/tmpl/gstversion.sgml:
16762 * gst/gstversion.h.in:
16763 more docs and two more inlined
16765 2005-08-30 Wim Taymans <wim@fluendo.com>
16767 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
16768 Don't sync to clock.
16770 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16772 * docs/gst/gstreamer-sections.txt:
16773 ultral33t func10ns deserve to appear in the docs actually
16774 * docs/gst/tmpl/.cvsignore:
16775 * docs/gst/tmpl/gstcompat.sgml:
16776 * docs/gst/tmpl/gstconfig.sgml:
16777 * gst/check/gstcheck.c:
16779 * gst/gstconfig.h.in:
16782 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16784 * docs/gst/tmpl/.cvsignore:
16785 * docs/gst/tmpl/gstquery.sgml:
16786 * docs/gst/tmpl/gstutils.sgml:
16789 inlined and extended docs
16791 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16793 * check/gst-libs/controller.c: (GST_START_TEST),
16794 (gst_controller_suite):
16796 * docs/gst/tmpl/gstutils.sgml:
16797 * docs/libs/gstreamer-libs-sections.txt:
16798 * docs/libs/tmpl/gstdataprotocol.sgml:
16800 * examples/controller/audio-example.c: (main):
16801 controller example works now
16804 * tools/gst-inspect.c: (print_element_properties_info):
16805 show param spec flags
16807 2005-08-29 Andy Wingo <wingo@pobox.com>
16809 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
16811 2005-08-28 Andy Wingo <wingo@pobox.com>
16813 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
16814 as having two arguments instead of just one. Allows superclasses
16815 to access information on subclasses -- see the terrible for() loop
16816 in gtype.c:g_type_create_instance for the reason why. All callers
16819 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16821 * docs/design/part-messages.txt:
16823 * docs/gst/tmpl/.cvsignore:
16824 * docs/gst/tmpl/gstcaps.sgml:
16825 * docs/gst/tmpl/gstclock.sgml:
16831 * gst/gstmessage.c:
16832 added descriptions for bus and message
16833 inline caps and clock docs
16835 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16837 * gst/gstmessage.c:
16838 * gst/gstmessage.h:
16841 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16843 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16846 2005-08-26 Andy Wingo <wingo@pobox.com>
16848 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
16849 element_set_state's return val.
16850 (test_2_elements): Add test that's been disabled for months.
16852 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
16853 can-activate-pull properties.
16855 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
16856 can-activate-pull properties. Implement is_seekable so fakesrc can
16857 operate in pull mode.
16859 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
16861 (gst_base_sink_activate, gst_base_sink_activate_pull)
16862 (gst_base_sink_activate_push): Make activation mode choosing work.
16864 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
16865 is right. Make pull mode work. Post an eos before pausing in pull
16867 (gst_base_sink_change_state): Pay attention to the core's
16868 change_state() return val.
16870 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
16871 has-getrange properties. Cleanups.
16873 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
16874 has_getrange and replace with can_activate_pull and
16877 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
16878 locking comments. Remove has_loop, has_chain and replace with
16879 can_activate_pull and can_activate_push.
16881 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
16884 * examples/Makefile.am:
16885 * examples/metadata/Makefile.am:
16886 * examples/metadata/read-metadata.c: (message_loop),
16887 (have_pad_handler), (make_pipeline), (print_tag), (main):
16888 Add metadata reading example that loops over a list of filenames,
16889 dumping any tags found.
16891 * gst/gstbus.c: (gst_bus_dispose):
16892 * gst/gstelement.c: (gst_element_dispose):
16893 Release a few potentially-held references in dispose.
16895 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16897 * docs/gst/tmpl/gstminiobject.sgml:
16898 do *not* add tmpl/*.sgml files to CVS!
16900 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16902 * libs/gst/bytestream/.cvsignore:
16903 * libs/gst/bytestream/Makefile.am:
16904 * libs/gst/bytestream/adapter.c:
16905 * libs/gst/bytestream/adapter.h:
16906 * libs/gst/bytestream/bytestream.c:
16907 * libs/gst/bytestream/bytestream.h:
16908 * libs/gst/bytestream/filepad.c:
16909 * libs/gst/bytestream/filepad.h:
16910 removing obsolete files
16912 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16914 * docs/gst/gstreamer-docs.sgml:
16915 * docs/libs/gstreamer-libs-docs.sgml:
16916 disabed additional index entries again, as this makes docs-gen just
16917 slow and they aren't useful yet
16918 * docs/libs/gstreamer-libs-sections.txt:
16919 little -section.txt cleanup for libs
16921 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
16923 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16924 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
16925 fix up some debugging
16926 (gst_base_transform_get_unit_size),
16927 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16928 (gst_base_transform_handle_buffer):
16929 * gst/base/gstbasetransform.h:
16930 handle and store timed NEWSEGMENT events so that subclasses that
16931 calculate time by counting samples have a segment_start time they
16932 need to add to their timestamps - see audioresample
16934 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16937 removed ';' from the end of macro defs
16938 * docs/gst/gstreamer-docs.sgml:
16939 * docs/gst/gstreamer-sections.txt:
16940 * docs/gst/tmpl/.cvsignore:
16942 * gst/gstelement.c: (gst_element_class_init),
16943 (gst_element_set_state), (activate_pads),
16944 (gst_element_save_thyself):
16945 * gst/gstevent.c: (gst_event_new_newsegment):
16947 * gst/gstiterator.c:
16948 * gst/gstiterator.h:
16951 * gst/gstutils.c: (gst_pad_query_convert):
16953 fixed parameter name mismatches between source, header and docs
16954 added some more docs, resolved the last batch of unused elements in
16955 docs (now someone needs to doc them)
16957 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16959 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
16960 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
16961 don't walk through the plugins backwards. Where is all this
16962 reversed logic coming from ?
16964 2005-08-25 Wim Taymans <wim@fluendo.com>
16966 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16967 (gst_base_transform_transform_size),
16968 (gst_base_transform_configure_caps),
16969 (gst_base_transform_get_unit_size),
16970 (gst_base_transform_buffer_alloc),
16971 (gst_base_transform_change_state):
16972 * gst/base/gstbasetransform.h:
16973 Cache caps unit_size.
16974 Make sure we cannot negotiate up and downstream at the
16977 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16979 * gst/gst.c: (init_pre), (init_post):
16980 register the installed plugin path after the env var
16981 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
16982 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
16983 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
16984 directories, so the tests can prefer uninstalled over installed
16986 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16988 * gst/base/gstbasetransform.h:
16993 2005-08-25 Wim Taymans <wim@fluendo.com>
16995 * gst/gstbin.c: (bin_bus_handler):
16996 Be a bit more conservative about the posted message.
16998 * gst/gstbus.c: (gst_bus_post):
16999 Some cleanups, warn wrong return values.
17001 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
17003 * check/gst/gstbin.c: (GST_START_TEST):
17004 * gst/gstbin.c: (bin_bus_handler):
17005 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17006 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17007 (gst_message_new_warning), (gst_message_new_tag),
17008 (gst_message_new_state_changed), (gst_message_new_segment_start),
17009 (gst_message_new_segment_done), (gst_message_new_custom):
17010 * gst/gstmessage.h:
17011 * tools/gst-launch.c: (event_loop):
17012 * tools/gst-md5sum.c: (event_loop):
17013 Revert unpopular change for GST_MESSAGE_SRC to GObject.
17015 2005-08-25 Wim Taymans <wim@fluendo.com>
17017 * check/generic/states.c: (GST_START_TEST):
17018 Cleanup can be done at the end.
17020 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17021 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17022 (gst_task_get_state), (gst_task_start), (gst_task_pause):
17023 Oh boy.. Thanks for finding this, Thomas.
17025 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17027 * docs/gst/gstreamer.types:
17028 added missing types
17030 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17032 * docs/gst/gstreamer-docs.sgml:
17033 * docs/gst/gstreamer-sections.txt:
17034 * docs/gst/tmpl/.cvsignore:
17036 * gst/gstiterator.c:
17038 * gst/registries/gstxmlregistry.h:
17039 added missing classes and symbols (123 more to go)
17040 removed removed symbols from section file
17041 fixed many doc-comments
17043 2005-08-24 Wim Taymans <wim@fluendo.com>
17045 * check/generic/states.c: (GST_START_TEST):
17046 Make sure all tasks are stopped.
17048 * check/gst/gstbin.c: (GST_START_TEST):
17049 Unref after usage for proper valgrinding.
17051 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17052 Really wait for the task to stop before destroying the
17055 * gst/gstqueue.c: (gst_queue_sink_activate_push),
17056 (gst_queue_src_activate_push):
17057 Small cleanups. Don't stop the task when we did not start
17060 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17061 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17062 (gst_task_get_state), (gst_task_start), (gst_task_pause),
17065 Protect the stream lock with the object lock.
17066 Disallow setting the stream lock when running.
17067 Add cleanup_all to wait for the threadpool to finish.
17068 Remove code to autoallocate a mutex if none was provided.
17069 Add _join() to wait for a task to stop.
17070 Protect the thread pool with a global lock.
17072 2005-08-24 Wim Taymans <wim@fluendo.com>
17074 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17075 (gst_base_sink_get_times), (gst_base_sink_do_sync),
17076 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17077 * gst/base/gstbasesink.h:
17078 Handle newsegment events correctly.
17079 Drop buffers out of the segment range.
17081 2005-08-22 Andy Wingo <wingo@pobox.com>
17083 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17084 macro, implements an interface and gstimplementsinterface for a
17087 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17089 * check/Makefile.am:
17090 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17091 add a test that does a bunch of state changes on elements
17092 needs some fixing for valgrind
17093 * check/states/sinks.c: (gst_object_suite):
17096 add prototype for gst_caps_is_equal_fixed
17098 * gst/gstregistrypool.c:
17101 2005-08-24 Andy Wingo <wingo@pobox.com>
17103 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17104 convert a negative value. Doesn't make much sense. Mostly this is
17105 here to force callers to ensure -1 maps to -1.
17107 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17109 * docs/pwg/advanced-types.xml:
17110 Well done to Michael for catching my deliberate introduction
17111 of this spelling mistake.
17112 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17113 * gst/gstelement.h:
17114 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17115 unlink pads before removing the element from the bin.
17117 2005-08-24 Andy Wingo <wingo@pobox.com>
17119 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17120 the same thing as GST_DEBUG=*:4.
17121 (parse_debug_level, parse_debug_category): New helper parsers.
17123 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17125 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17126 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17127 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17128 (gst_base_transform_buffer_alloc),
17129 (gst_base_transform_handle_buffer):
17130 use gboolean return values and pointers to size so we can use the
17131 full GST_BUFFER_SIZE range (guint) for buffer sizes
17132 use GstPadDirection for transform_caps
17133 * gst/base/gstbasetransform.h:
17134 rename get_size to get_unit_size since that's what it is
17135 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17136 use GstPadDirection for transform_caps
17137 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17139 cleanup and debugging
17141 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17143 * gst/gstelement.c: (gst_element_class_init),
17144 (gst_element_set_state), (activate_pads),
17145 (gst_element_save_thyself):
17146 * tools/gst-compprep.c: (main):
17147 * tools/gst-inspect.c: (print_element_properties_info):
17148 * tools/gst-xmlinspect.c: (print_element_properties):
17149 Fixed long standing mem-leak
17151 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17153 * check/gst/gstbin.c: (GST_START_TEST):
17154 * gst/gstbin.c: (bin_bus_handler):
17155 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17156 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17157 (gst_message_new_warning), (gst_message_new_tag),
17158 (gst_message_new_state_changed), (gst_message_new_segment_start),
17159 (gst_message_new_segment_done), (gst_message_new_custom):
17160 * gst/gstmessage.h:
17161 * tools/gst-launch.c: (event_loop):
17162 * tools/gst-md5sum.c: (event_loop):
17163 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17164 that applications can sensibly post custom messages with references
17165 to their own objects.
17167 2005-08-24 Andy Wingo <wingo@pobox.com>
17169 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17172 2005-08-24 Wim Taymans <wim@fluendo.com>
17174 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17175 (gst_base_transform_transform_caps),
17176 (gst_base_transform_transform_size),
17177 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17178 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17179 (gst_base_transform_handle_buffer):
17180 * gst/base/gstbasetransform.h:
17181 Many fixes and new features added by Thomas. Can now also do
17182 transforms with variable sizes and a custom fixate_caps function.
17184 2005-08-24 Wim Taymans <wim@fluendo.com>
17186 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17190 Cast to ClockTime before formatting to time.
17195 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17197 * check/gst-libs/controller.c: (GST_START_TEST),
17198 (gst_controller_suite):
17199 * docs/gst/tmpl/gstcaps.sgml:
17200 * docs/gst/tmpl/gstghostpad.sgml:
17201 * docs/gst/tmpl/gstquery.sgml:
17202 * docs/gst/tmpl/gstutils.sgml:
17203 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17204 (gst_object_sink_values), (gst_object_get_value_arrays),
17205 (gst_object_get_value_array):
17206 gracefully handle helper method calls to objects that are not beeing
17207 controlled, added test case for that
17209 2005-08-23 Wim Taymans <wim@fluendo.com>
17211 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17212 (gst_event_new_newsegment), (gst_event_parse_newsegment),
17213 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17214 (gst_event_parse_qos), (gst_event_new_seek),
17215 (gst_event_parse_seek):
17217 Some more debugging output and doc cleanups.
17219 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17220 Fix possible deadlock.
17222 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17224 * docs/gst/gstreamer-docs.sgml:
17225 * docs/gst/gstreamer-sections.txt:
17226 * docs/gst/gstreamer.types:
17227 * docs/gst/tmpl/.cvsignore:
17230 * gst/gstelement.c:
17232 added 100 symbols from gstreamer-unused.txt to the right sections
17233 fixed more broken comments
17234 added GstBus to docs
17236 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17238 * docs/gst/gstreamer-sections.txt:
17239 * docs/gst/tmpl/.cvsignore:
17240 * docs/gst/tmpl/gstbin.sgml:
17241 * docs/gst/tmpl/gstbuffer.sgml:
17242 * gst/base/gstbasesrc.c:
17243 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17246 * tools/gst-launch.1.in:
17247 inlined more doc comments, added missing comments and fixed comments
17250 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
17252 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17256 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17258 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17259 * gst/gststructure.h:
17260 add a fixate function for booleans; add a FIXME that these func
17261 names should probably be gst_structure_fixate_*
17263 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17265 * docs/gst/gstreamer-docs.sgml:
17266 * docs/gst/gstreamer-sections.txt:
17268 * gst/gstbin.c: (gst_bin_get_type),
17269 (gst_bin_child_proxy_get_child_by_index),
17270 (gst_bin_child_proxy_get_children_count),
17271 (gst_bin_child_proxy_init):
17272 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17273 (gst_child_proxy_get_child_by_index),
17274 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17275 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17276 (gst_child_proxy_get), (gst_child_proxy_set_property),
17277 (gst_child_proxy_set_valist), (gst_child_proxy_set),
17278 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17279 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17280 * gst/gstchildproxy.h:
17281 * gst/parse/grammar.y:
17282 * tools/gst-inspect.c: (print_interfaces),
17283 (print_element_properties_info), (print_element_info):
17284 ported gstchildproxy over from 0.8
17285 ported gst-inspect fixes and enhancements over from 0.8
17287 2005-08-22 Wim Taymans <wim@fluendo.com>
17289 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17290 (gst_base_transform_handle_buffer):
17291 Also call the transform function if we have ANY caps.
17293 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17296 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17298 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17299 Don't pretend to handle seek events if the source is not seekable
17301 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17303 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17304 Remove extra parameter to debug output
17306 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17307 (gst_base_src_do_seek), (gst_base_src_activate_push):
17308 Fix seek event handling.
17310 * gst/gstpipeline.c: (gst_pipeline_change_state):
17311 * gst/gstqueue.c: (gst_queue_handle_sink_event),
17312 (gst_queue_src_activate_push):
17313 Don't start the src pad task on FLUSH_STOP if the pad
17317 2005-08-22 Wim Taymans <wim@fluendo.com>
17319 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17320 Added check for gst_static_caps_get() refcounting.
17322 2005-08-22 Wim Taymans <wim@fluendo.com>
17324 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17325 Make _static_caps_get() refcounting sane.
17327 * gst/gstelement.c: (gst_element_set_state):
17328 Add g_return_val_if_fail() to protect against segfaults.
17330 2005-08-22 Stefan Kost <ensonic@users.sf.net>
17332 * docs/gst/tmpl/gstevent.sgml:
17335 inlined remaining docs, added missing doc comments
17337 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
17339 * check/gst/gstbin.c: (GST_START_TEST):
17340 since we don't know when preroll is done, use refcount range
17342 * gst/check/gstcheck.h:
17343 add macro for checking refcount range
17345 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17347 * check/Makefile.am:
17348 clean up environment for when registry gets built versus
17349 when actual tests are run; valgrind seems to not report
17350 leaks if GST_PLUGIN_PATH is set to some specific values
17351 * check/gst/gstbin.c: (GST_START_TEST):
17352 add more refcounting checks; maybe this exposes a
17354 * common/check.mak:
17355 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17356 * gst/check/gstcheck.h:
17357 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17358 (gst_bin_change_state):
17359 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17360 add/fix debugging/whitespace
17362 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17364 * check/gst/gstevent.c: (event_probe), (test_event),
17366 Er, don't call gst_bin_watch_for_state_change you idiot.
17368 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17370 * check/Makefile.am:
17371 Use CHECK_CFLAGS and CHECK_LIBS
17372 * check/gst/gstevent.c: (event_probe), (test_event),
17375 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17376 (gst_base_src_start), (gst_base_src_stop),
17377 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17378 (gst_base_src_change_state):
17379 Sprinkle gst_base_src_stop liberally around error paths to fix
17380 problems reusing a source after failed state changes.
17381 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17382 (helper_find_suggest), (gst_type_find_helper):
17383 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17385 * docs/gst/tmpl/gstevent.sgml:
17386 Migrate part of the docs from the SGML file. Wait for ensonic to
17387 tell me how I did it wrong ;)
17388 * tools/gst-typefind.c: (main):
17389 Extra robustness to state changes between files.
17391 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17393 * check/Makefile.am:
17394 don't valgrind the controller test - it's leaking - Stefan, HELP
17395 * gst/check/gstcheck.c: (gst_check_message_error),
17396 (gst_check_chain_func), (gst_check_setup_element),
17397 (gst_check_teardown_element), (gst_check_setup_src_pad),
17398 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17399 (gst_check_teardown_sink_pad):
17400 * gst/check/gstcheck.h:
17401 add a bunch of methods to set up elements, and src and sink pads
17402 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17403 * check/elements/identity.c: (setup_identity), (cleanup_identity),
17406 * gst/gstmessage.c:
17408 whitespace/doc fixes
17410 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17412 * gst/gstelement.h:
17413 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17414 be handled by the application and not always printed as well
17416 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17418 * check/Makefile.am:
17420 * gst/check/gstcheck.c: (gst_check_message_error):
17421 * gst/check/gstcheck.h:
17422 add a fail_unless_equals_int
17423 add fail_unless for error messages
17425 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17427 * check/Makefile.am:
17429 * common/Makefile.am:
17430 * common/check.mak:
17432 factor out some of the common stuff so we can use it
17434 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17436 * check/Makefile.am:
17437 * check/gst/gstiterator.c: (GST_START_TEST):
17438 * check/gst/gstsystemclock.c: (GST_START_TEST),
17439 (gst_systemclock_suite):
17440 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17442 valgrind more tests
17444 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17446 * check/elements/.cvsignore:
17447 * check/elements/gstfakesrc.c:
17448 rename to name of element
17449 * check/elements/identity.c: (chain_func), (event_func),
17450 (setup_identity), (cleanup_identity), (GST_START_TEST),
17451 (identity_suite), (main):
17452 add a test for identity
17453 * check/Makefile.am:
17454 * pkgconfig/Makefile.am:
17455 * pkgconfig/gstreamer-check.pc.in:
17456 * pkgconfig/gstreamer-check-uninstalled.pc.in:
17460 move the check stuff to a library that gets installed
17461 * check/gst-libs/controller.c: (GST_START_TEST):
17462 * check/gst-libs/gdp.c:
17463 * check/gst/gst.c: (GST_START_TEST):
17464 * check/gst/gstbin.c:
17465 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17466 * check/gst/gstbus.c:
17467 * check/gst/gstcaps.c: (GST_START_TEST):
17468 * check/gst/gstelement.c:
17469 * check/gst/gstghostpad.c:
17470 * check/gst/gstiterator.c:
17471 * check/gst/gstmessage.c:
17472 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17473 * check/gst/gstobject.c:
17474 * check/gst/gstpad.c: (GST_START_TEST):
17475 * check/gst/gststructure.c: (GST_START_TEST):
17476 * check/gst/gstsystemclock.c: (GST_START_TEST),
17477 (gst_systemclock_suite):
17478 * check/gst/gsttag.c: (gst_tag_suite):
17479 * check/gst/gstvalue.c:
17480 * check/pipelines/cleanup.c:
17481 * check/pipelines/simple_launch_lines.c:
17482 * check/states/sinks.c:
17483 change include statement
17485 * docs/gst/gstreamer-sections.txt:
17486 * docs/gst/tmpl/gstpad.sgml:
17487 document more pad stuff
17488 * gst/gstminiobject.c: (gst_mini_object_ref),
17489 (gst_mini_object_unref):
17492 2005-08-19 Stefan Kost <ensonic@users.sf.net>
17494 * docs/gst/tmpl/gst.sgml:
17496 eliminate another tmpl file, fix spelling in the long-description
17498 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17500 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17501 (test_event), (timediff), (gstevents_suite):
17502 Should fix build on 64-bit arch's
17504 2005-08-18 Andy Wingo <wingo@pobox.com>
17506 Make sure that when a pipeline goes to PLAYING, that data has
17507 actually hit the sink.
17509 * check/states/sinks.c (test_sink): A sink that doesn't get any
17510 data shouldn't return SUCCESS for going to either PLAYING or
17511 PAUSED. Test also the return values on the way back down.
17513 * gst/gstelement.c (gst_element_set_state): When changing the
17514 state of an element currently changing state asynchronously, go to
17515 lost-state after commiting the pending state. Makes future calls
17516 to get_state continue to return ASYNC.
17518 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17519 ASYNC when going to PLAYING if we still don't have preroll, as can
17520 happen with live sources.
17522 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17524 * docs/pwg/advanced-types.xml:
17525 Hack long paragraph into 2 chunks as a workaround for buggy
17526 jadetex version in sid and breezy that loops infinitely and
17529 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17531 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17532 (test_event), (timediff), (gstevents_suite):
17533 Provide more error margin in clock measurements to allow for
17534 g_get_current_time inaccuracies.
17536 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17538 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17539 (test_event), (timediff), (gstevents_suite):
17540 Fix error message output so I might be able to tell why the
17541 test works here but fails on the build farm.
17543 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17545 * check/Makefile.am:
17546 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17547 (test_event), (timediff), (gstevents_suite), (main):
17550 * docs/design/part-seeking.txt:
17551 Spelling correction
17553 * docs/gst/tmpl/gstevent.sgml:
17554 * docs/gst/tmpl/gstfakesrc.sgml:
17557 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17558 Treat a buffer-without-newsegment the same as a receiving
17559 a newsegment not in time format, and disable syncing to the clock
17562 * gst/gstbus.c: (gst_bus_set_sync_handler):
17563 Assert if anyone tries to replace the existing sync_handler for bus,
17564 as only the owner should be setting it.
17567 Have a fixed set of custom event enums with events identified by
17568 their structure name (as in 0.8), rather than a free-for-all
17569 allowing collisions between enum values from different plugins.
17571 * gst/gstpad.c: (gst_pad_class_init):
17574 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17575 Handle out-of-band downstream events from the sending thread.
17577 2005-08-17 Andy Wingo <wingo@pobox.com>
17579 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17580 play-timeout==0 to mean no timeout at all. In that case, don't
17581 bother with a get_state or a warning, just return directly, even
17584 * gst/base/gstbasetransform.c: Debug changes.
17587 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17588 ensure bins post state change messages. A bit of a hack but I can't
17589 think of a way to avoid it.
17591 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17593 2005-08-16 Andy Wingo <wingo@pobox.com>
17595 * gst/base/gstadapter.h:
17596 * gst/base/gstadapter.c (gst_adapter_take): New function, like
17597 peek() but you own the data. Not terribly efficient atm.
17599 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17601 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17602 (gst_element_found_tags):
17604 Add two utility functions for tag handling.
17606 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17608 * docs/manual/advanced-dataaccess.xml:
17609 * docs/manual/basics-helloworld.xml:
17610 Fix docs to use _bin_add() before _link(), which fixes the examples
17611 with recent core versions (reported by Madhan Raj M
17612 <raj_madan@rediffmail.com>, #313199).
17614 2005-08-16 Wim Taymans <wim@fluendo.com>
17616 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17617 Added subtract checks.
17619 * docs/design/part-events.txt:
17620 Some more docs about newsegment
17622 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17625 * gst/gstcaps.c: (gst_caps_to_string):
17626 Add comments, cleanups.
17628 * gst/gstelement.c: (gst_element_save_thyself):
17631 * gst/gstvalue.c: (gst_value_collect_int_range),
17632 (gst_string_unwrap), (gst_value_union_int_int_range),
17633 (gst_value_union_int_range_int_range),
17634 (gst_value_intersect_int_int_range),
17635 (gst_value_intersect_int_range_int_range),
17636 (gst_value_intersect_double_double_range),
17637 (gst_value_intersect_double_range_double_range),
17638 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17639 (gst_value_subtract_int_range_int),
17640 (gst_value_subtract_double_range_double),
17641 (gst_value_subtract_double_range_double_range),
17642 (gst_value_subtract_from_list), (gst_value_subtract_list),
17643 (gst_value_can_compare), (gst_value_compare_fraction):
17644 Cleanups, add comments, remove unneeded asserts.
17646 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17648 * tools/gst-launch.c: (event_loop):
17649 don't convert NULL structures to strings
17651 2005-08-15 Stefan Kost <ensonic@users.sf.net>
17653 * docs/gst/gstreamer-sections.txt:
17654 made some defines private
17655 * docs/gst/tmpl/gstconfig.sgml:
17656 * docs/gst/tmpl/gstqueue.sgml:
17657 * docs/gst/tmpl/gsttaglist.sgml:
17658 * docs/gst/tmpl/gsttypes.sgml:
17659 * docs/gst/tmpl/gstutils.sgml:
17660 * docs/pwg/appendix-porting.xml:
17661 * gst/base/gstbasesink.h:
17662 * gst/base/gstbasesrc.c:
17663 * gst/base/gstbasesrc.h:
17664 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17665 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17666 * gst/gstelement.c: (gst_element_class_init):
17667 * gst/gstpad.c: (gst_pad_class_init):
17668 * gst/gstqueue.c: (gst_queue_class_init):
17669 * gst/gstxml.c: (gst_xml_class_init):
17670 documented all undocumented signal inline
17671 * libs/gst/controller/gst-controller.h:
17674 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17676 * docs/pwg/appendix-porting.xml:
17677 Document _set_link_function -> _set_setcaps_function.
17679 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17681 * check/Makefile.am:
17682 add a .check target for running the check
17683 * check/gst-libs/controller.c: (GST_START_TEST):
17685 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17686 complete checks for gstbuffer; would be nice if I could get the
17687 gcov stuff to work so I can see if I actually completed gstbuffer.c
17688 * check/gstcheck.h:
17689 add ASSERT_BUFFER_REFCOUNT
17691 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
17693 * docs/gst/gstreamer-sections.txt:
17694 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17696 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17697 spew out a warning if a tag that is already registered
17698 is re-registered, unless it is re-registered with a
17699 different type (#308438).
17701 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
17703 * docs/pwg/appendix-porting.xml:
17704 * docs/pwg/building-state.xml:
17705 Add some paragraphs about state changes in 0.9 to the PWG
17706 and the porting guide, in particular about the new meaning
17707 of GST_STATE_PAUSED and how to write state change functions
17708 with concurrent access by multiple threads in mind.
17710 2005-08-11 Stefan Kost <ensonic@users.sf.net>
17712 * docs/gst/gstreamer-docs.sgml:
17713 * docs/libs/gstreamer-libs-docs.sgml:
17714 added deprecation and since indexes
17715 * libs/gst/controller/gst-controller.c:
17716 * libs/gst/controller/gst-helper.c:
17720 2005-08-11 Wim Taymans <wim@fluendo.com>
17722 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17723 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17724 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17725 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17726 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17727 (gst_ghost_pad_set_target):
17728 Actually implement (re)setting the target on a ghostpad
17729 as described in the docs.
17731 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17733 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17734 Check whether GST_DEBUG_NO_COLOR environment variable is
17735 set and disable coloured debug output if that is the case.
17737 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17739 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17740 (gst_type_find_helper):
17741 The memory returned by gst_type_find_peek() needs to
17742 stay valid until the end of a typefind function, and
17743 typefind functions may keep results from different
17744 offsets around, so we can't just unref the buffer from
17745 the previous _peek(), but have to save all buffers
17746 returned by _peek() until typefinding is done and only
17749 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
17751 * docs/gst/gstreamer-sections.txt:
17753 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
17755 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17757 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17758 Fix a pretty good memleak.
17760 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17762 * gst/gstiterator.h:
17763 Fix wrong include and 'make distcheck'.
17765 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17767 * gst/gstbin.c: (bin_bus_handler):
17768 Use gst_element_post_message() instead.
17770 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17772 * gst/base/gstadapter.h:
17773 * gst/base/gstbasesink.h:
17774 * gst/base/gstbasesrc.h:
17775 * gst/base/gstbasetransform.h:
17776 * gst/base/gstcollectpads.h:
17777 * gst/base/gstpushsrc.h:
17778 * gst/gstiterator.h:
17779 Add padding to our base elements' class and instance structs and
17780 to GstIterator (you will need to rebuild all plugins and apps!)
17782 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17784 * gst/gstbin.c: (bin_bus_handler):
17785 Make default message forwarding from child->bus to bin->bus
17786 threadsafe and make it not emit warnings if the parent has no bus.
17788 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17790 * gst/gstelement.c: (activate_pads):
17791 On paused->ready, set pad->caps to NULL, as is the documented
17792 behaviour in this state change. Fixes playback of series of
17793 media files when visualization is enabled in Totem.
17795 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17797 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17798 Allow NULL as filter-caps (which means "any").
17800 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17802 * docs/libs/gstreamer-libs-sections.txt:
17803 * libs/gst/controller/gst-controller.c:
17804 * libs/gst/controller/gst-controller.h:
17805 * libs/gst/controller/gst-helper.c:
17806 adding more entries to the docs and fix small doc-bugs
17808 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17810 * docs/gst/gstreamer-docs.sgml:
17811 * docs/gst/gstreamer-sections.txt:
17812 * docs/gst/gstreamer.types:
17813 * docs/gst/tmpl/gstbasesink.sgml:
17814 * docs/gst/tmpl/gstbasesrc.sgml:
17815 * docs/gst/tmpl/gstbasetransform.sgml:
17816 * docs/gst/tmpl/gstfakesrc.sgml:
17817 * gst/base/gstcollectpads.c:
17818 * gst/base/gstcollectpads.h:
17819 * libs/gst/controller/gst-controller.c:
17820 * libs/gst/controller/gst-controller.h:
17821 * libs/gst/controller/gst-helper.c:
17822 * libs/gst/controller/gst-interpolation.c:
17823 * libs/gst/controller/lib.c:
17824 added long/short desc for controller docs
17825 added collectpads base class docs
17826 added correct includes to base-class docs
17828 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17830 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17831 (gst_test_mono_source_set_property),
17832 (gst_test_mono_source_class_init), (GST_START_TEST),
17833 (gst_controller_suite):
17834 * docs/gst/gstreamer-docs.sgml:
17835 * docs/gst/gstreamer-sections.txt:
17836 * docs/gst/gstreamer.types:
17837 * docs/libs/gstreamer-libs-docs.sgml:
17838 * docs/libs/gstreamer-libs-sections.txt:
17839 * gst/base/gstadapter.c:
17840 * libs/gst/controller/gst-controller.c:
17841 (gst_controlled_property_new), (gst_controlled_property_free),
17842 (gst_controller_new_valist),
17843 (gst_controller_remove_properties_valist),
17844 (gst_controller_sink_values), (_gst_controller_finalize):
17845 * libs/gst/controller/gst-controller.h:
17846 * libs/gst/controller/gst-helper.c:
17847 (gst_object_control_properties), (gst_object_uncontrol_properties),
17848 (gst_object_get_controller), (gst_object_set_controller),
17849 (gst_object_sink_values), (gst_object_get_value_arrays),
17850 (gst_object_get_value_array):
17851 more tests (and fixes) for the controller
17852 more docs for the controller
17853 integrated companies docs for the adapter
17855 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
17857 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
17858 (GST_START_TEST), (fakesrc_suite):
17859 add tests for sizetype
17861 2005-08-04 Andy Wingo <wingo@pobox.com>
17863 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
17864 fixes buffer_alloc proxying among other things.
17866 * gst/base/gstbasetransform.c:
17867 * gst/base/gstbasetransform.h:
17868 Revert patch to gstbasetransform from 7-28 removing
17871 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
17872 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
17873 Semantics changed, should return not the size of the output buffer
17874 but the byte size of a buffer with a given caps.
17876 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
17878 (gst_base_transform_configure_caps): Don't set out_size here: (in,
17879 out) are not the pad caps until setcaps finishes.
17880 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
17881 not-in-place case as well. Deal with changing from in-place to
17882 not-in-place within calling pad_alloc_buffer. Still a bit
17883 concerned about the overhead here...
17885 2005-08-03 Andy Wingo <wingo@pobox.com>
17887 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
17888 fixating is an error.
17890 2005-08-04 Edward Hervey <edward@fluendo.com>
17892 * gst/base/gstadapter.h:
17893 Added gst_adapter_get_type() to the header
17895 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17897 * check/Makefile.am:
17898 * check/gst-libs/controller.c:
17899 * libs/gst/controller/gst-controller.c:
17900 (gst_controller_new_valist):
17901 added check test suite for the controller
17902 * gst/base/gstpushsrc.c:
17905 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17907 * docs/gst/Makefile.am:
17908 * docs/gst/gstreamer-docs.sgml:
17909 * docs/gst/gstreamer-sections.txt:
17910 * docs/gst/gstreamer.types:
17911 * docs/gst/tmpl/gstfakesrc.sgml:
17913 * gst/base/gstbasesink.c:
17914 * gst/base/gstbasesink.h:
17915 * gst/base/gstbasesrc.c:
17916 * gst/base/gstbasesrc.h:
17917 * gst/base/gstbasetransform.c:
17918 * gst/base/gstpushsrc.c:
17919 * gst/base/gstpushsrc.h:
17920 add short/long description docs to base classes
17921 add pushsrc to the docs
17922 remove consolidated doc fragments
17924 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17927 * docs/libs/Makefile.am:
17928 * docs/libs/gstreamer-libs-docs.sgml:
17929 * docs/libs/gstreamer-libs-sections.txt:
17930 * docs/libs/gstreamer-libs.types:
17931 * examples/Makefile.am:
17932 * examples/controller/.cvsignore:
17933 * examples/controller/Makefile.am:
17934 * examples/controller/audio-example.c: (main):
17935 * libs/gst/Makefile.am:
17936 * libs/gst/controller/.cvsignore:
17937 * libs/gst/controller/Makefile.am:
17938 * libs/gst/controller/gst-controller.c:
17939 (on_object_controlled_property_changed), (gst_timed_value_compare),
17940 (gst_timed_value_find),
17941 (gst_controlled_property_set_interpolation_mode),
17942 (gst_controlled_property_new), (gst_controlled_property_free),
17943 (gst_controller_find_controlled_property),
17944 (gst_controller_new_valist), (gst_controller_new),
17945 (gst_controller_remove_properties_valist),
17946 (gst_controller_remove_properties), (gst_controller_set),
17947 (gst_controller_set_from_list), (gst_controller_unset),
17948 (gst_controller_get), (gst_controller_get_all),
17949 (gst_controller_sink_values), (gst_controller_get_value_arrays),
17950 (gst_controller_get_value_array),
17951 (gst_controller_set_interpolation_mode),
17952 (_gst_controller_finalize), (_gst_controller_init),
17953 (_gst_controller_class_init), (gst_controller_get_type):
17954 * libs/gst/controller/gst-controller.h:
17955 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
17956 (g_object_uncontrol_properties), (g_object_get_controller),
17957 (g_object_set_controller), (g_object_sink_values),
17958 (g_object_get_value_arrays), (g_object_get_value_array):
17959 * libs/gst/controller/gst-interpolation.c:
17960 (gst_controlled_property_find_timed_value_node),
17961 (interpolate_none_get), (interpolate_trigger_get),
17962 (interpolate_trigger_get_value_array):
17963 * libs/gst/controller/lib.c: (gst_controller_init):
17964 * pkgconfig/Makefile.am:
17965 * pkgconfig/gstreamer-control-uninstalled.pc.in:
17966 * pkgconfig/gstreamer-control.pc.in:
17967 * testsuite/Makefile.am:
17968 * testsuite/controller/.cvsignore:
17969 * testsuite/controller/Makefile.am:
17970 * testsuite/controller/interpolator.c: (main):
17971 added controller code
17972 removed dparam pc files
17974 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
17975 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
17976 (gst_collectpads_stop):
17977 Broadcast the condition when shutting down, to make sure we wake all
17978 threads up. Shut down pads on finalize, for safety.
17980 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
17981 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17982 (gst_base_transform_handle_buffer),
17983 (gst_base_transform_change_state):
17984 Handle PAUSED->READY->PAUSED transition after negotiation
17986 * gst/gstmessage.c: (gst_message_init):
17987 Extra piece of debug for new messages.
17989 2005-08-01 Stefan Kost <ensonic@users.sf.net>
17992 * docs/gst/tmpl/gstbasesrc.sgml:
17993 * docs/gst/tmpl/gstelement.sgml:
17994 * docs/gst/tmpl/gstevent.sgml:
17995 * docs/gst/tmpl/gstfakesrc.sgml:
17996 * docs/gst/tmpl/gstformat.sgml:
17997 * docs/gst/tmpl/gstghostpad.sgml:
17998 * docs/gst/tmpl/gstpad.sgml:
17999 * docs/gst/tmpl/gstquery.sgml:
18000 * docs/gst/tmpl/gststructure.sgml:
18001 * docs/gst/tmpl/gsttaglist.sgml:
18002 * docs/gst/tmpl/gstvalue.sgml:
18003 * docs/libs/gstreamer-libs-docs.sgml:
18004 * docs/libs/gstreamer-libs-sections.txt:
18005 * docs/libs/gstreamer-libs.types:
18006 * libs/gst/Makefile.am:
18007 * libs/gst/control/.cvsignore:
18008 * libs/gst/control/Makefile.am:
18009 * libs/gst/control/control.c:
18010 * libs/gst/control/control.h:
18011 * libs/gst/control/dparam.c:
18012 * libs/gst/control/dparam.h:
18013 * libs/gst/control/dparam_smooth.c:
18014 * libs/gst/control/dparam_smooth.h:
18015 * libs/gst/control/dparamcommon.h:
18016 * libs/gst/control/dparammanager.c:
18017 * libs/gst/control/dparammanager.h:
18018 * libs/gst/control/dplinearinterp.c:
18019 * libs/gst/control/dplinearinterp.h:
18020 * libs/gst/control/unitconvert.c:
18021 * libs/gst/control/unitconvert.h:
18022 * testsuite/Makefile.am:
18023 * testsuite/dynparams/.cvsignore:
18024 * testsuite/dynparams/Makefile.am:
18025 * testsuite/dynparams/dparamstest.c:
18026 * tools/Makefile.am:
18027 * tools/gst-inspect.c: (print_element_info), (main):
18028 * tools/gst-xmlinspect.c: (print_element_info), (main):
18029 deactivate and remove dparams (libgstcontrol)
18031 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18033 * gst/elements/gsttypefindelement.c:
18034 (gst_type_find_element_have_type), (gst_type_find_element_init),
18035 (stop_typefinding), (gst_type_find_element_handle_event),
18036 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18037 * gst/elements/gsttypefindelement.h:
18038 Set caps on all outgoing buffers, not just the first one.
18040 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18042 * gst/elements/gsttypefindelement.c:
18043 (gst_type_find_element_have_type),
18044 (gst_type_find_element_check_set_buffer_caps),
18045 (gst_type_find_element_init), (stop_typefinding),
18046 (gst_type_find_element_handle_event),
18047 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18048 * gst/elements/gsttypefindelement.h:
18049 Set caps on first outgoing buffer when we've found the type.
18051 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18053 * docs/gst/gstreamer-docs.sgml:
18054 * docs/gst/gstreamer-sections.txt:
18055 * docs/gst/tmpl/gstscheduler.sgml:
18056 * docs/gst/tmpl/gstschedulerfactory.sgml:
18057 Remove some old cruft from docs.
18059 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
18062 Fix inline docs for GstPadLinkReturn.
18064 * gst/gststructure.c: (gst_structure_has_name):
18065 * gst/gststructure.h:
18066 * docs/gst/gstreamer-sections.txt:
18067 New API: gst_structure_has_name().
18069 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
18072 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18073 and _LARGEFILE_SOURCE in config.h as required. Do not
18074 export those flags in our .pc files any longer (#142209).
18076 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18078 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18079 (gst_file_sink_do_seek), (gst_file_sink_event),
18080 (gst_file_sink_get_current_offset), (gst_file_sink_render):
18081 Redo seek/tell calls with large file support in mind; add some
18082 debugging messages; add log message that tells us when large
18083 file support is unavailable or not enabled for some reason.
18085 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18086 Add log message that tells us when large file support
18087 is unavailable or not enabled for some reason.
18089 2005-07-29 Wim Taymans <wim@fluendo.com>
18091 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18092 Added test for removing an element with ghostpad from a bin.
18093 Fixed test as current implementation does the right thing.
18095 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18096 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18097 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18098 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18099 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18100 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18101 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18102 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18103 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18104 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18105 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18106 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18107 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18108 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18109 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18110 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18111 * gst/gstghostpad.h:
18112 Clean up ghostpads, remove properties for internal stuff.
18115 Prepare for switching targets, not all use cases work yet.
18117 2005-07-29 Wim Taymans <wim@fluendo.com>
18119 * docs/design/part-gstghostpad.txt:
18122 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18123 (gst_bin_remove_func):
18124 Unlinking pads while holding the bin LOCK is not a good
18127 * gst/gstpad.c: (gst_pad_class_init),
18128 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18129 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18130 No prob setting template after creating the pad.
18132 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
18134 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18135 (gst_bus_peek), (gst_bus_source_dispatch),
18136 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18137 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18138 gst_bus_poll may be called from other threads. Handle
18139 this nicely by not making poll_data disappear off the
18140 stack once gst_bus_poll returns.
18141 gst_bus_peek now increments the refcount on the returned
18144 2005-07-29 Wim Taymans <wim@fluendo.com>
18146 * docs/design/part-gstghostpad.txt:
18147 Overview of current GhostPad datastructures and use
18148 cases for changing the target.
18150 2005-07-28 Wim Taymans <wim@fluendo.com>
18152 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18153 Added checks for hierarchy consistency whan adding linked
18156 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18157 Added check to test element scheduling without bin/pipeline.
18159 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18160 First add elements to bin, then link.
18162 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18163 (gst_bin_remove_func):
18164 Unlink pads from elements added/removed from bin to maintain
18165 hierarchy consistency.
18167 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18169 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18170 (gst_base_transform_handle_buffer):
18171 * gst/base/gstbasetransform.h:
18172 Remove broken delay_configure (fixes renegotiation of software
18173 scaling pipelines); remove some leftover printf()s.
18175 2005-07-28 Wim Taymans <wim@fluendo.com>
18177 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18178 Added some more tests for wrong hierarchy
18180 * docs/design/part-overview.txt:
18183 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18186 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18187 (gst_element_dispose):
18188 Some more cleanups.
18190 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18191 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18192 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18193 (gst_pad_set_caps), (gst_pad_send_event):
18194 Check for correct hierarchy when linking pads. Moving to
18195 strict requirement for ghostpads when linking elements in
18199 Clean ups. Added WRONG_HIERARCHY return value.
18201 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18203 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18204 Better debug if no transform is possible.
18206 2005-07-27 Wim Taymans <wim@fluendo.com>
18208 * docs/random/wtay/network-transp:
18209 Some old doc I had.
18211 2005-07-27 Wim Taymans <wim@fluendo.com>
18213 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18214 (gst_dp_event_from_packet):
18215 Fix serialization of seek events.
18217 2005-07-27 Wim Taymans <wim@fluendo.com>
18219 * check/gst-libs/gdp.c: (GST_START_TEST):
18220 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18221 Fix compilation and fix event serialization.
18223 2005-07-27 Wim Taymans <wim@fluendo.com>
18226 * docs/design/part-TODO.txt:
18227 * docs/design/part-events.txt:
18230 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18231 (gst_base_sink_event), (gst_base_sink_do_sync),
18232 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18233 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18234 (gst_base_src_do_seek), (gst_base_src_event_handler),
18235 (gst_base_src_loop):
18236 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18237 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18238 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18239 (gst_base_transform_event), (gst_base_transform_handle_buffer),
18240 (gst_base_transform_set_passthrough),
18241 (gst_base_transform_is_passthrough):
18242 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18243 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18249 * gst/gstelement.c: (gst_element_seek):
18250 * gst/gstelement.h:
18251 Update gst_element_seek.
18253 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18254 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18255 (gst_event_new_flush_start), (gst_event_new_flush_stop),
18256 (gst_event_new_eos), (gst_event_new_newsegment),
18257 (gst_event_parse_newsegment), (gst_event_new_tag),
18258 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18259 (gst_event_parse_qos), (gst_event_new_seek),
18260 (gst_event_parse_seek), (gst_event_new_navigation):
18262 Make GstEvent use GstStructure. Add parsing code, make sure the
18263 API is sufficiently generic.
18264 Mark possible directions of events and serialization.
18266 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18267 (_gst_message_copy), (gst_message_new_segment_start),
18268 (gst_message_new_segment_done), (gst_message_new_custom),
18269 (gst_message_parse_segment_start),
18270 (gst_message_parse_segment_done):
18273 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18274 (gst_pad_set_caps), (gst_pad_send_event):
18275 Update for new events.
18276 Catch events sent in wrong directions.
18278 * gst/gstqueue.c: (gst_queue_link_src),
18279 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18280 (gst_queue_handle_src_query):
18285 Remove event code from this file.
18287 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18288 (gst_dp_event_from_packet):
18291 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18293 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18294 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18295 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18296 Make debugging actually useful.
18298 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18300 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18301 (gst_pad_fixate_caps):
18302 Implement default fixation once again, so that gst_pad_fixate()
18303 actually does anything at all. This probably needs to be some
18304 sort of a last resort, and use profile-based fixation first, but
18305 since that doesn't exist yet, this is the best we have. Fixes
18306 visualization in Totem.
18308 2005-07-22 Wim Taymans <wim@fluendo.com>
18310 * docs/design/part-events.txt:
18313 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18314 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18315 (gst_base_sink_activate_pull):
18316 Some more comments.
18318 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18319 (gst_fake_src_create):
18320 Fix handoff marshall.
18322 * gst/elements/gstidentity.c: (gst_identity_class_init),
18323 (gst_identity_transform_ip):
18324 We're a real inplace element.
18326 * gst/gstbus.c: (gst_bus_post):
18327 Added some comments.
18329 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18330 * tests/muxing/case1.c: (main):
18331 * tests/sched/dynamic-pipeline.c: (main):
18332 * tests/sched/interrupt1.c: (main):
18333 * tests/sched/interrupt2.c: (main):
18334 * tests/sched/interrupt3.c: (main):
18335 * tests/sched/runxml.c: (main):
18336 * tests/sched/sched-stress.c: (main):
18337 * tests/seeking/seeking1.c: (event_received), (main):
18338 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18340 * tests/threadstate/threadstate3.c: (main):
18341 * tests/threadstate/threadstate4.c: (main):
18342 * tests/threadstate/threadstate5.c: (main):
18345 2005-07-21 Wim Taymans <wim@fluendo.com>
18347 * docs/design/part-seeking.txt:
18348 Some small additions.
18350 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18351 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18352 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18353 * gst/base/gstbasesink.h:
18354 discont values are gint64, handle the math correctly.
18356 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18357 Make the basesrc report error if the source pad is not linked.
18359 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18360 (gst_queue_loop), (gst_queue_handle_src_query),
18361 (gst_queue_src_activate_push):
18362 Make queue collect data even if the srcpad is not linked.
18363 Start pushing out data as soon as it is linked.
18365 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18367 Added gst_flow_get_name() to ease error reporting.
18369 2005-07-20 Wim Taymans <wim@fluendo.com>
18371 * gst/gstmessage.c: (gst_message_new_segment_start),
18372 (gst_message_new_segment_done), (gst_message_parse_segment_start),
18373 (gst_message_parse_segment_done):
18374 * gst/gstmessage.h:
18375 Added a bunch of messages for advanced seeking.
18377 * gst/parse/grammar.y:
18378 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18379 (gst_dpman_state_changed):
18380 Fix some new-pad -> pad-added signals
18382 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18384 * docs/manual/appendix-porting.xml:
18385 * docs/pwg/appendix-porting.xml:
18386 Document new-pad/state-change signal renames and the FixedList
18389 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18391 * docs/manual/advanced-autoplugging.xml:
18392 * docs/manual/basics-helloworld.xml:
18393 * docs/manual/basics-pads.xml:
18394 * docs/random/ds/0.9-suggested-changes:
18395 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18396 * gst/gstelement.h:
18400 * gst/gststructure.c: (gst_structure_value_get_generic_type),
18401 (gst_structure_parse_array), (gst_structure_parse_value):
18402 * gst/gstvalue.c: (gst_type_is_fixed),
18403 (gst_value_list_prepend_value), (gst_value_list_append_value),
18404 (gst_value_list_get_size), (gst_value_list_get_value),
18405 (gst_value_transform_array_string), (gst_value_serialize_array),
18406 (gst_value_deserialize_array), (gst_value_intersect_array),
18407 (gst_value_is_fixed), (_gst_value_initialize):
18409 GstElement::new-pad -> pad-added, GstElement::state-change ->
18410 state-changed, GstValueFixedList -> GstValueArray, add format and
18411 flags as their own arguments in gst_element_seek() (should improve
18412 "bindeability"), remove function generators since they don't work
18413 under a whole bunch of compilers (they were deprecated already
18416 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18418 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18419 (_gst_debug_register_funcptr):
18421 Fix illegal cast on some platforms (#309253).
18423 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18425 * gst/gstmessage.c: (gst_message_new_custom):
18426 * gst/gstmessage.h:
18427 Add _new_custom, make _new_application a macro to _new_custom.
18429 2005-07-20 Wim Taymans <wim@fluendo.com>
18431 * gst/base/gstbasesrc.c: (gst_base_src_init),
18432 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18433 * gst/base/gstbasesrc.h:
18434 Add a gboolean to decide when to push out a discont.
18436 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18437 (gst_queue_loop), (gst_queue_handle_src_query),
18438 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18439 (gst_queue_set_property), (gst_queue_get_property):
18442 * tests/threadstate/threadstate1.c: (main):
18443 Make a thread test compile and run... very silly..
18446 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18448 * docs/manual/appendix-porting.xml:
18449 Mention removal of libgstgconf-0.9.la and existence of gconf
18452 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18454 * docs/pwg/advanced-clock.xml:
18455 * docs/pwg/appendix-porting.xml:
18456 * docs/pwg/intro-preface.xml:
18457 * docs/pwg/other-base.xml:
18458 * docs/pwg/other-manager.xml:
18459 * docs/pwg/other-nton.xml:
18460 * docs/pwg/other-ntoone.xml:
18461 * docs/pwg/other-oneton.xml:
18462 * docs/pwg/pwg.xml:
18463 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18464 demuxer), remove n-to-n (was never written), fix some code examples
18465 and links and update the porting section to include all this.
18467 2005-07-19 Wim Taymans <wim@fluendo.com>
18469 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18470 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18471 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18472 (gst_queue_src_activate_push), (gst_queue_change_state),
18473 (gst_queue_get_property):
18475 Propagate GstFlowReturn more intelligently upstream and output
18476 an ERROR/EOS when streaming stopped due to fatal error.
18478 2005-07-19 Wim Taymans <wim@fluendo.com>
18480 * tools/gst-launch.c: (check_intr), (event_loop), (main):
18481 Don't block forever for the state change to complete, the
18482 pipeline already did with a sensible timeout.
18484 2005-07-19 Wim Taymans <wim@fluendo.com>
18486 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18487 Make sure we never call the create function is we
18490 2005-07-19 Andy Wingo <wingo@pobox.com>
18492 * gst/parse/parse.l: Attempt to solve bug #172815.
18494 2005-07-19 Wim Taymans <wim@fluendo.com>
18496 * docs/design/part-clocks.txt:
18497 * docs/design/part-events.txt:
18498 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18499 Small docs updates.
18500 Only update the seeking values when we are not
18503 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18505 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18506 Oops, ignore the result of gst_pad_push_event here.
18508 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18510 * gst/base/gstbasesrc.c: (gst_base_src_loop),
18511 (gst_base_src_activate_push):
18512 Send discont event from the loop function, as pads
18513 aren't activated yet in the activate_push handler.
18515 * gst/gstbin.c: (bin_bus_handler):
18516 Don't leak element name.
18518 2005-07-18 Andy Wingo <wingo@pobox.com>
18520 * configure.ac: Use AS_LIBTOOL_TAGS.
18522 2005-07-18 Wim Taymans <wim@fluendo.com>
18524 * docs/gst/gstreamer.types:
18525 Remove deleted types.
18527 2005-07-18 Wim Taymans <wim@fluendo.com>
18529 * check/elements/gstfakesrc.c: (GST_START_TEST):
18532 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18533 (init_popt_callback):
18535 * gst/gst_private.h:
18536 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18537 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18540 * gst/gstconfig.h.in:
18541 * gst/gstelement.c: (gst_element_class_init),
18542 (gst_element_set_base_time), (gst_element_get_base_time),
18543 (iterator_fold_with_resync), (gst_element_change_state),
18544 (gst_element_dispose), (gst_element_get_bus):
18545 * gst/gstelement.h:
18546 * gst/gstelementfactory.h:
18547 * gst/gsterror.c: (_gst_core_errors_init):
18550 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18552 * gst/gstinfo.c: (_gst_debug_init):
18553 * gst/gstmessage.c: (_gst_message_copy):
18554 * gst/gstmessage.h:
18555 * gst/gstminiobject.h:
18558 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18559 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18562 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18563 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18564 (gst_pipeline_get_last_stream_time):
18565 * gst/gstpipeline.h:
18566 * gst/gstpluginfeature.h:
18568 * gst/gstscheduler.c:
18569 * gst/gstscheduler.h:
18570 * gst/gststructure.h:
18571 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18572 (gst_task_finalize), (gst_task_func), (gst_task_create),
18573 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18574 (gst_task_stop), (gst_task_pause):
18576 * gst/gsttypefind.h:
18578 * gst/registries/gstlibxmlregistry.c: (load_feature),
18579 (gst_xml_registry_load), (gst_xml_registry_save_feature):
18580 * gst/registries/gstxmlregistry.c:
18581 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18582 * gst/schedulers/threadscheduler.c:
18583 * libs/gst/control/dparammanager.h:
18584 * tools/gst-inspect.c: (print_element_list),
18585 (print_plugin_features), (print_element_features):
18586 * tools/gst-xmlinspect.c: (print_element_list),
18587 (print_plugin_info), (main):
18588 Removed plugable schedulers.
18589 Removed Scheduler/Manager from elements.
18590 Removed gsttypes.h, rearranged includes.
18591 Removed dependency pad<->element, element<>pipeline, and
18592 various others, fix includes.
18593 implement gst_pad_get_parent() with gst_object_get_parent()
18594 Make GstTask sefcontained.
18595 Fix _get_state() on GstBin, it did not return ASYNC with a 0
18597 Fix endless loop in iterator_fold_with_resync.
18600 2005-07-18 Wim Taymans <wim@fluendo.com>
18606 2005-07-18 Wim Taymans <wim@fluendo.com>
18609 No more cothreads.h
18611 2005-07-18 Wim Taymans <wim@fluendo.com>
18615 Let's remove these.
18617 2005-07-18 Wim Taymans <wim@fluendo.com>
18619 * docs/design/part-dynamic.txt:
18620 * docs/design/part-events.txt:
18621 * docs/design/part-seeking.txt:
18622 Some more docs in the works.
18624 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18625 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18626 (gst_base_transform_setcaps), (gst_base_transform_get_size),
18627 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18628 (gst_base_transform_handle_buffer),
18629 (gst_base_transform_sink_activate_push),
18630 (gst_base_transform_src_activate_pull),
18631 (gst_base_transform_set_passthrough),
18632 (gst_base_transform_is_passthrough):
18635 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18638 * gst/gstevent.c: (gst_event_finalize):
18641 * gst/gstutils.c: (gst_element_unlink),
18642 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18643 (gst_pad_proxy_setcaps):
18645 Add _get_parent_element() to get a pads parent as an element.
18647 2005-07-18 Wim Taymans <wim@fluendo.com>
18649 * check/gst/gstbin.c: (GST_START_TEST):
18652 2005-07-18 Wim Taymans <wim@fluendo.com>
18654 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18655 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18656 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18657 (gst_base_sink_event), (gst_base_sink_do_sync),
18658 (gst_base_sink_chain), (gst_base_sink_loop),
18659 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18660 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18662 Fix logic for returning ASYNC when not prerolled.
18664 2005-07-18 Wim Taymans <wim@fluendo.com>
18666 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18667 Fix nasty refcount bug.
18669 2005-07-16 Philippe Khalaf <burger@speedy.org>
18671 * gst/elements/gstfdsrc.c:
18672 * gst/elements/gstfdsrc.h:
18673 * gst/elements/gstelements.c:
18674 * gst/elements/Makefile.am:
18675 Ported fdsrc to 0.9.
18677 2005-07-16 Wim Taymans <wim@fluendo.com>
18679 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18680 (gst_base_sink_do_sync):
18683 2005-07-16 Wim Taymans <wim@fluendo.com>
18685 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18686 (gst_base_sink_event), (gst_base_sink_get_times),
18687 (gst_base_sink_do_sync), (gst_base_sink_change_state):
18688 * gst/base/gstbasesink.h:
18689 Store and use discont values when syncing buffers as described
18692 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18693 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18694 (gst_base_src_activate_push):
18695 Push discont event when starting.
18697 * gst/elements/gstidentity.c: (gst_identity_transform):
18700 * gst/gstbin.c: (gst_bin_change_state):
18701 Small cleanups in base_time distribution.
18703 * gst/gstelement.c: (gst_element_set_base_time),
18704 (gst_element_get_base_time), (gst_element_change_state):
18705 * gst/gstelement.h:
18706 Added methods for the base_time of the element.
18709 * gst/gstpipeline.c: (gst_pipeline_send_event),
18710 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18711 (gst_pipeline_get_last_stream_time):
18712 * gst/gstpipeline.h:
18714 Handle seeking as described in design doc, remove stream_time
18716 Cleanups clock and stream_time selection code. Added accessors
18717 for the stream_time.
18720 2005-07-16 Andy Wingo <wingo@pobox.com>
18722 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18725 2005-07-16 Wim Taymans <wim@fluendo.com>
18727 * check/gst/gstbin.c: (GST_START_TEST):
18728 Make elements silent as the deep_notify refs the
18729 parent, which might make the test fail.
18731 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18732 Don't hold the lock for too long.
18734 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
18736 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18737 Don't unref the caps we passed to gst_caps_make_writable() after
18738 passing them. gst_caps_make_writable() will do that for us.
18740 2005-07-15 Andy Wingo <wingo@pobox.com>
18742 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18745 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18746 own marshalling function for the handoff signal. Properly type the
18747 buffer as a buffer. Fixes some warnings. Should do a more general
18749 (gst_identity_class_init): Plug into the right marshaller.
18751 2005-07-15 Wim Taymans <wim@fluendo.com>
18753 * docs/design/part-TODO.txt:
18754 * docs/design/part-clocks.txt:
18755 * docs/design/part-element-sink.txt:
18756 * docs/design/part-events.txt:
18757 * docs/design/part-gstpipeline.txt:
18758 Updated docs, mostly DISCONT related.
18760 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
18762 * docs/pwg/building-pads.xml:
18763 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
18765 2005-07-15 Andy Wingo <wingo@pobox.com>
18767 * tools/gst-typefind.c: Update, add copyright block.
18769 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
18770 Normalize and truncate caps before fixation.
18773 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
18774 discards all but the first structure from its argument.
18776 2005-07-15 Wim Taymans <wim@fluendo.com>
18778 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18779 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
18780 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18781 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18782 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
18783 (gst_base_transform_chain), (gst_base_transform_change_state),
18784 (gst_base_transform_set_passthrough),
18785 (gst_base_transform_is_passthrough):
18786 * gst/base/gstbasetransform.h:
18787 Make passthrough work using the bufferpools.
18788 Changed API a bit, subclasses have to write into a buffer
18789 provided by the base class.
18790 More debug info in nego functions.
18792 * gst/elements/gstidentity.c: (gst_identity_init),
18793 (gst_identity_transform):
18794 Port to new base class.
18796 2005-07-15 Wim Taymans <wim@fluendo.com>
18798 * gst/gstmessage.c: (gst_message_new_state_changed):
18799 * tools/gst-launch.c: (event_loop), (main):
18800 Totally dump messages in -launch with the -m option.
18801 Fix message name for State messages,
18803 2005-07-14 Wim Taymans <wim@fluendo.com>
18805 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18806 Post error messages on errors.
18808 2005-07-14 Wim Taymans <wim@fluendo.com>
18810 * gst/gstcaps.c: (gst_caps_do_simplify):
18814 Define error for stream stopped.
18816 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18817 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
18818 Do proper return values.
18820 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18821 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
18822 (gst_pad_get_range):
18823 Better return values.
18826 Reorganise return values, add macro to check for fatal errors.
18828 * gst/gstqueue.c: (gst_queue_chain):
18829 Return proper GstFlowReturn values,
18831 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
18833 * docs/gst/gstreamer-sections.txt:
18834 * docs/gst/gstreamer.types:
18835 * docs/gst/tmpl/gst.sgml:
18836 * docs/gst/tmpl/gstbasesink.sgml:
18837 * docs/gst/tmpl/gstbasesrc.sgml:
18838 * docs/gst/tmpl/gstbasetransform.sgml:
18839 * docs/gst/tmpl/gstbin.sgml:
18840 * docs/gst/tmpl/gstbuffer.sgml:
18841 * docs/gst/tmpl/gstcaps.sgml:
18842 * docs/gst/tmpl/gstclock.sgml:
18843 * docs/gst/tmpl/gstcompat.sgml:
18844 * docs/gst/tmpl/gstconfig.sgml:
18845 * docs/gst/tmpl/gstelement.sgml:
18846 * docs/gst/tmpl/gstelementdetails.sgml:
18847 * docs/gst/tmpl/gstelementfactory.sgml:
18848 * docs/gst/tmpl/gstenumtypes.sgml:
18849 * docs/gst/tmpl/gsterror.sgml:
18850 * docs/gst/tmpl/gstevent.sgml:
18851 * docs/gst/tmpl/gstfakesink.sgml:
18852 * docs/gst/tmpl/gstfakesrc.sgml:
18853 * docs/gst/tmpl/gstfilesink.sgml:
18854 * docs/gst/tmpl/gstfilesrc.sgml:
18855 * docs/gst/tmpl/gstfilter.sgml:
18856 * docs/gst/tmpl/gstformat.sgml:
18857 * docs/gst/tmpl/gstghostpad.sgml:
18858 * docs/gst/tmpl/gstimplementsinterface.sgml:
18859 * docs/gst/tmpl/gstindex.sgml:
18860 * docs/gst/tmpl/gstindexfactory.sgml:
18861 * docs/gst/tmpl/gstinfo.sgml:
18862 * docs/gst/tmpl/gstiterator.sgml:
18863 * docs/gst/tmpl/gstmacros.sgml:
18864 * docs/gst/tmpl/gstmemchunk.sgml:
18865 * docs/gst/tmpl/gstminiobject.sgml:
18866 * docs/gst/tmpl/gstobject.sgml:
18867 * docs/gst/tmpl/gstpad.sgml:
18868 * docs/gst/tmpl/gstpadtemplate.sgml:
18869 * docs/gst/tmpl/gstparse.sgml:
18870 * docs/gst/tmpl/gstpipeline.sgml:
18871 * docs/gst/tmpl/gstplugin.sgml:
18872 * docs/gst/tmpl/gstpluginfeature.sgml:
18873 * docs/gst/tmpl/gstquery.sgml:
18874 * docs/gst/tmpl/gstqueue.sgml:
18875 * docs/gst/tmpl/gstregistry.sgml:
18876 * docs/gst/tmpl/gstregistrypool.sgml:
18877 * docs/gst/tmpl/gstscheduler.sgml:
18878 * docs/gst/tmpl/gstschedulerfactory.sgml:
18879 * docs/gst/tmpl/gststructure.sgml:
18880 * docs/gst/tmpl/gstsystemclock.sgml:
18881 * docs/gst/tmpl/gsttaglist.sgml:
18882 * docs/gst/tmpl/gsttagsetter.sgml:
18883 * docs/gst/tmpl/gsttrace.sgml:
18884 * docs/gst/tmpl/gsttrashstack.sgml:
18885 * docs/gst/tmpl/gsttypefind.sgml:
18886 * docs/gst/tmpl/gsttypefindfactory.sgml:
18887 * docs/gst/tmpl/gsttypes.sgml:
18888 * docs/gst/tmpl/gsturihandler.sgml:
18889 * docs/gst/tmpl/gsturitype.sgml:
18890 * docs/gst/tmpl/gstutils.sgml:
18891 * docs/gst/tmpl/gstvalue.sgml:
18892 * docs/gst/tmpl/gstversion.sgml:
18893 * docs/gst/tmpl/gstxml.sgml:
18894 * docs/libs/tmpl/gstcontrol.sgml:
18895 * docs/libs/tmpl/gstdataprotocol.sgml:
18896 * docs/libs/tmpl/gstdparam.sgml:
18897 * docs/libs/tmpl/gstdplinint.sgml:
18898 * docs/libs/tmpl/gstdpman.sgml:
18899 * docs/libs/tmpl/gstdpsmooth.sgml:
18900 * docs/libs/tmpl/gstgetbits.sgml:
18901 * docs/libs/tmpl/gstunitconvert.sgml:
18902 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
18903 (gst_push_src_base_init), (gst_push_src_class_init),
18904 (gst_push_src_init), (gst_push_src_create):
18905 * gst/base/gstpushsrc.h:
18906 * gst/elements/gstelements.c:
18907 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
18908 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
18909 (gst_fake_sink_init), (gst_fake_sink_set_property),
18910 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
18911 (gst_fake_sink_event), (gst_fake_sink_preroll),
18912 (gst_fake_sink_render), (gst_fake_sink_change_state):
18913 * gst/elements/gstfakesink.h:
18914 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18915 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18916 (gst_fake_src_base_init), (gst_fake_src_class_init),
18917 (gst_fake_src_init), (gst_fake_src_event_handler),
18918 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
18919 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
18920 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
18921 (gst_fake_src_create_buffer), (gst_fake_src_create),
18922 (gst_fake_src_start), (gst_fake_src_stop):
18923 * gst/elements/gstfakesrc.h:
18924 * gst/elements/gstfilesink.c: (_do_init),
18925 (gst_file_sink_base_init), (gst_file_sink_class_init),
18926 (gst_file_sink_init), (gst_file_sink_dispose),
18927 (gst_file_sink_set_location), (gst_file_sink_set_property),
18928 (gst_file_sink_get_property), (gst_file_sink_open_file),
18929 (gst_file_sink_close_file), (gst_file_sink_query),
18930 (gst_file_sink_event), (gst_file_sink_render),
18931 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
18932 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
18933 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
18934 * gst/elements/gstfilesink.h:
18935 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
18936 (gst_file_src_class_init), (gst_file_src_init),
18937 (gst_file_src_finalize), (gst_file_src_set_location),
18938 (gst_file_src_set_property), (gst_file_src_get_property),
18939 (gst_file_src_map_region), (gst_file_src_map_small_region),
18940 (gst_file_src_create_mmap), (gst_file_src_create_read),
18941 (gst_file_src_create), (gst_file_src_is_seekable),
18942 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
18943 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
18944 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
18945 (gst_file_src_uri_handler_init):
18946 * gst/elements/gstfilesrc.h:
18947 more autistic cleanliness in functions/names/defines
18949 2005-07-13 Andy Wingo <wingo@pobox.com>
18951 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
18952 source couldn't negotiate.
18954 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
18958 * gst/gstutils.c (gst_element_link_pads_filtered): New old
18959 function. I am channeling Hades. Put your boots on suckers!!!
18961 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
18963 * testsuite/caps/Makefile.am:
18964 * testsuite/caps/value_compare.c:
18965 * testsuite/caps/value_intersect.c:
18966 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18967 move two testsuite apps over to the check dir
18969 2005-07-12 Wim Taymans <wim@fluendo.com>
18971 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18972 Added more debug info in the negotiate process.
18974 * gst/gstmessage.h:
18975 Prepare for segment playback.
18977 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
18983 * tools/gst-launch.c: (main):
18984 NULL pipeline on errors.
18986 2005-07-12 Andy Wingo <wingo@pobox.com>
18988 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
18989 not it comes from a malloc region. Make sure our copy gets freed.
18991 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
18993 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18994 * check/gst/gstmessage.c: (GST_START_TEST):
18995 * check/gst/gststructure.c: (GST_START_TEST),
18996 (gst_structure_suite), (main):
18998 * gst/gstelement.c: (gst_element_message_full):
18999 clean up GError and debug string now that they get copied
19000 * gst/gstmessage.c: (gst_message_new_error),
19001 (gst_message_new_warning), (gst_message_parse_error),
19002 (gst_message_parse_warning):
19003 use GST_TYPE_G_ERROR for structure_new, and take copies of
19004 arguments, so that we don't mess up refcounting
19006 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19008 * check/Makefile.am:
19009 add per-test valgrind targets
19010 * check/gst-libs/gdp.c: (GST_START_TEST),
19011 (gst_data_protocol_suite), (main):
19014 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19016 * check/Makefile.am:
19017 instate more valgrindable tests
19018 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19019 (GST_START_TEST), (fakesrc_suite):
19020 * check/gst/gstpad.c: (GST_START_TEST):
19021 * check/gst/gststructure.c: (GST_START_TEST):
19023 * docs/gst/tmpl/gstminiobject.sgml:
19024 * gst/gstpad.c: (gst_pad_finalize):
19025 fix the static mutex leak
19027 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19029 * check/Makefile.am:
19030 add two more tests for valgrinding
19031 * check/gst/gstvalue.c: (GST_START_TEST):
19032 test refcount of deserialized buffer, found a leak
19033 * docs/gst/gstreamer-docs.sgml:
19034 * docs/gst/gstreamer-sections.txt:
19035 * docs/gst/gstreamer.types:
19036 * docs/gst/tmpl/gstminiobject.sgml:
19037 add miniobject to docs
19038 * gst/gstminiobject.c:
19040 * gst/gstvalue.c: (gst_value_deserialize_buffer),
19041 (gst_string_unwrap):
19042 fix a hard-to-find invalid write for one of the tests
19043 fix a leak for deserialized buffers
19045 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19047 * docs/pwg/advanced-events.xml:
19048 * docs/pwg/advanced-request.xml:
19049 * docs/pwg/advanced-scheduling.xml:
19050 * docs/pwg/appendix-porting.xml:
19051 * docs/pwg/building-boiler.xml:
19052 * docs/pwg/intro-preface.xml:
19053 * docs/pwg/other-ntoone.xml:
19054 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19055 of example code and explanation for pad activation, loop() and
19056 getrange() functions and a bit more. Remove old comments pointing
19058 * examples/pwg/Makefile.am:
19059 Add loop/getrange examples.
19061 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19064 check for valgrind binary + some fixes
19066 valgrind suppressions for the tests
19067 * check/Makefile.am:
19068 add a valgrind: target that valgrinds the unit tests
19069 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19070 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19071 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19072 * check/gst/gstghostpad.c:
19074 * check/gst/gstdata.c:
19076 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19077 (thread_unref), (gst_mini_object_suite), (main):
19079 * gst/gst.c: (gst_deinit):
19081 add a method to clean up.
19082 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19083 (gst_system_clock_obtain):
19084 allow for disposing the system clock.
19085 * tools/gst-launch.c: (main):
19088 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19090 * docs/gst/tmpl/gstbasesrc.sgml:
19091 * docs/gst/tmpl/gstfakesrc.sgml:
19092 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19093 (gst_base_src_init), (gst_base_src_set_property),
19094 (gst_base_src_get_property), (gst_base_src_get_range),
19095 (gst_base_src_start):
19096 * gst/base/gstbasesrc.h:
19097 add num-buffers property
19098 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19099 (gst_fakesrc_init), (gst_fakesrc_set_property),
19100 (gst_fakesrc_get_property), (gst_fakesrc_create),
19101 (gst_fakesrc_start):
19102 remove num-buffers property
19104 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19106 * docs/gst/gstreamer-sections.txt:
19107 * docs/gst/tmpl/gstbasesink.sgml:
19108 * docs/gst/tmpl/gstbasesrc.sgml:
19109 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19110 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19111 (gst_base_sink_finalize), (gst_base_sink_set_clock),
19112 (gst_base_sink_set_property), (gst_base_sink_get_property),
19113 (gst_base_sink_handle_object), (gst_base_sink_event),
19114 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19115 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19116 (gst_base_sink_loop), (gst_base_sink_deactivate),
19117 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19118 (gst_base_sink_change_state):
19119 * gst/base/gstbasesink.h:
19120 * gst/base/gstbasesrc.h:
19121 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19122 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19123 (gst_filesink_init):
19124 more macro splitting
19126 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19128 * gst/gstelement.c: (gst_element_get_bus):
19130 * tools/gst-launch.c: (check_intr), (event_loop):
19133 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19135 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19138 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19140 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19141 (gst_base_src_finalize):
19142 add finalize method and clean up properly
19143 * gst/gstpipeline.c: (gst_pipeline_dispose):
19146 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19148 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19150 add more things to check
19151 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19152 * gst/gstelement.c:
19155 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19157 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19158 (GST_START_TEST), (fakesrc_suite):
19159 * check/gst-libs/gdp.c: (GST_START_TEST):
19160 * check/gst/gst.c: (GST_START_TEST):
19161 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19162 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19163 * check/gst/gstbus.c: (GST_START_TEST):
19164 * check/gst/gstcaps.c: (GST_START_TEST):
19165 * check/gst/gstdata.c: (GST_START_TEST):
19166 * check/gst/gstelement.c: (GST_START_TEST):
19167 * check/gst/gstghostpad.c: (GST_START_TEST):
19168 * check/gst/gstiterator.c: (GST_START_TEST):
19169 * check/gst/gstmessage.c: (GST_START_TEST):
19170 * check/gst/gstobject.c: (GST_START_TEST):
19171 * check/gst/gstpad.c: (GST_START_TEST):
19172 * check/gst/gststructure.c: (GST_START_TEST):
19173 * check/gst/gstsystemclock.c: (GST_START_TEST),
19174 (gst_systemclock_suite):
19175 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19176 * check/gst/gstvalue.c: (GST_START_TEST):
19177 * check/pipelines/cleanup.c: (GST_START_TEST):
19178 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19179 * check/states/sinks.c: (GST_START_TEST):
19180 * check/gstcheck.c: (gst_check_init):
19181 * check/gstcheck.h:
19182 add debugging category
19183 use GST_START_TEST now, so we add a debug line
19185 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19187 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19188 add test for state change message on a bin
19189 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19191 * gst/gstbin.c: (gst_bin_init):
19192 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19193 * gst/gstelement.c: (gst_element_post_message),
19194 (gst_element_set_state):
19195 * gst/gstelementfactory.c: (gst_element_factory_create):
19196 * gst/gstmessage.c: (gst_message_new):
19197 * gst/gstscheduler.c:
19198 various debugging additions and cleanups
19200 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19202 * check/Makefile.am:
19203 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19205 adding tests for elements
19206 * gst/gstelement.c: (gst_element_dispose):
19208 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19210 * gst/registries/gstlibxmlregistry.c: (load_feature):
19211 plug more leaks. A simple gst_init() now is leakfree, yay.
19213 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19215 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19216 (gst_xml_registry_load):
19217 plug another memleak
19219 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19222 use GST_SET_ERROR_CFLAGS
19223 * docs/faq/cvs.xml:
19224 change to ERROR_CFLAGS
19226 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19229 make GST_ERROR_CFLAGS overridable and re-enable Werror
19230 * docs/faq/cvs.xml:
19231 add a note about error CFLAGS
19232 * docs/gst/tmpl/gstfakesrc.sgml:
19233 * gst/elements/gstfakesrc.c:
19234 comment out some unused code
19235 * gst/gst.c: (split_and_iterate):
19236 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19240 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19242 * common/Makefile.am:
19243 * common/gtk-doc.mak:
19244 * docs/gst/Makefile.am:
19245 factor out gtk-doc.mak
19247 2005-07-07 Wim Taymans <wim@fluendo.com>
19249 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19250 (gst_thread_scheduler_dispose):
19251 Unlock the STREAM_LOCK completely.
19253 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19255 * check/Makefile.am:
19256 * check/elements/.cvsignore:
19257 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19258 (START_TEST), (fakesrc_suite), (main):
19259 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19260 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19261 (gst_fakesrc_create), (gst_fakesrc_start):
19262 * gst/elements/gstfakesrc.h:
19263 adding a first element test
19265 2005-07-07 Andy Wingo <wingo@pobox.com>
19267 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19270 2005-07-07 Wim Taymans <wim@fluendo.com>
19276 2005-07-07 Wim Taymans <wim@fluendo.com>
19278 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19279 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19280 Allow subclasses to implement their own negotiation.
19282 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19284 * docs/design/part-gstbin.txt:
19285 * docs/design/part-gstpipeline.txt:
19286 Update design notes to reflect the movement of
19287 responsibility for bus handling from GstPipeline to
19290 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19293 Remove unnecessary queue2/3/4 examples.
19295 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19297 * examples/Makefile.am:
19298 * examples/helloworld/helloworld.c: (event_loop), (main):
19299 * examples/queue/queue.c: (event_loop), (main):
19300 * examples/queue2/queue2.c: (main):
19301 Update a couple of the examples to work again.
19303 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19304 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19305 Spelling corrections and extra debug.
19307 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19308 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19309 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19311 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19312 (gst_pipeline_change_state):
19313 * gst/gstpipeline.h:
19314 Move the bus handler for children to the GstBin, and create a
19315 separate bus for receiving messages from children to the one the
19316 bus sends 'upwards' on.
19318 2005-07-06 Wim Taymans <wim@fluendo.com>
19321 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19322 (gst_base_sink_handle_object), (gst_base_sink_loop),
19323 (gst_base_sink_change_state):
19324 * gst/base/gstbasesink.h:
19325 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19326 (gst_base_src_init), (gst_base_src_setcaps),
19327 (gst_base_src_getcaps), (gst_base_src_loop),
19328 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19329 (gst_base_src_start), (gst_base_src_change_state):
19330 * gst/base/gstbasesrc.h:
19331 Make basesrc negotiate.
19332 Handle the case where preroll fails in basesink.
19335 2005-07-06 Wim Taymans <wim@fluendo.com>
19337 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19338 Implement the fixate function.
19339 Clean up acceptcaps.
19341 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19343 * docs/pwg/building-filterfactory.xml:
19344 * docs/pwg/pwg.xml:
19345 Remove never-written filter-factory chapter; I'll add the various
19346 base classes to part 4 ("other element types") later on.
19348 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19350 * docs/pwg/advanced-negotiation.xml:
19351 * docs/pwg/building-boiler.xml:
19352 * docs/pwg/building-pads.xml:
19353 * docs/pwg/pwg.xml:
19354 * examples/pwg/Makefile.am:
19355 Add a chapter on caps negotiation, simplify the original code
19356 samples a bit w.r.t. caps negotiation, add link to the advanced
19357 section. Add a bunch of examples showing different use cases of
19358 different types of caps negotiation. Upstream renegotiation isn't
19359 fully documented yet since nobody knows how that works.
19361 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
19363 * check/gst/gstpad.c:
19364 * check/gstcheck.c:
19365 * gst/gstpad.c: (gst_pad_get_internal_links_default):
19366 if pad has no parent, return NULL as list of internal links
19368 2005-07-05 Andy Wingo <wingo@pobox.com>
19370 * gst/elements/gstfilesrc.c:
19371 * gst/elements/gstfakesrc.c:
19372 * gst/base/gstpushsrc.c:
19373 * gst/base/gstbasesrc.h:
19374 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19376 2005-07-05 Stefan Kost <ensonic@users.sf.net>
19379 better report generation target (lcov needs a patch)
19381 2005-07-05 Andy Wingo <wingo@pobox.com>
19383 * gst/elements, testsuite: Null if we got it...
19385 2005-07-05 Wim Taymans <wim@fluendo.com>
19388 * libs/gst/dataprotocol/Makefile.am:
19389 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19390 * libs/gst/dataprotocol/dataprotocol.h:
19391 * pkgconfig/Makefile.am:
19392 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19393 * pkgconfig/gstreamer-dataprotocol.pc.in:
19394 Ported dataprotol to 0.9.
19395 Added pkgconfig files.
19397 2005-07-05 Andy Wingo <wingo@pobox.com>
19399 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19400 Default to returning TRUE for the case when tranform_caps returns
19401 a fixed caps, like for identity or volume.
19403 * check/gst/gstbus.c (pound_bus_with_messages):
19404 * check/gst/gstmessage.c (START_TEST):
19405 * check/pipelines/simple_launch_lines.c (got_handoff): Application
19406 message API change.
19408 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19409 logic weaks here: always run transform_caps, trying passthrough
19410 operation only if the original caps intersects with the transform.
19412 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19413 source and sink caps.
19415 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19416 Intersect the peer caps with the pad template before going into
19418 (gst_base_transform_transform_caps): More debugging.
19420 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19423 2005-07-04 Edward Hervey <edward@fluendo.com>
19427 (gst_pad_add_*_probe): now returns the signal id for better wrapping
19430 2005-07-04 Andy Wingo <wingo@pobox.com>
19432 * check/gst/gstpad.c: Only set explicit caps on pads.
19434 2005-07-01 Andy Wingo <wingo@pobox.com>
19436 * tests/network-clock.scm: Commentary update.
19438 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19439 Didn't really make sense, not implementable with basetransform,
19441 (gst_identity_transform): Unref inbuf via make_writable. Feeble
19442 attempt at implementing the sync property, needs an unlock method.
19444 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19445 New func, by default returns the same caps (the identity
19447 (gst_base_transform_getcaps): Uses transform_caps to return
19448 something sensible.
19449 (gst_base_transform_setcaps): Complicated logic to get caps on
19450 both pads, even if they are different, and to call set_caps once
19451 for every time both pads get their caps set.
19452 (gst_base_transform_handle_buffer): Give the ref to the transform
19453 function. Allows in-place modification of the buffer.
19455 * gst/base/gstbasetransform.h (transform_caps): New class method.
19456 Given caps on one side, what can I do on the other.
19457 (set_caps): Take two caps, one for each side of the element.
19460 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19461 caps in place. This is safe because we can check the mutability of
19462 the caps, and a good idea because fixate functions are just called
19463 as a matter of last resort. (Not actually implemented.)
19464 (gst_pad_set_caps): If the caps we're setting is actually the same
19465 as the existing pad caps, just update the pointer without calling
19466 setcaps. Assert that caps is either NULL or fixed, as per the
19469 * gst/gstghostpad.c: Update for fixate changes.
19471 2005-07-02 Andy Wingo <wingo@pobox.com>
19474 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19475 two refcounts makes it immutable, which is enough. Doc more.
19477 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
19479 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19480 Put the mini_object into GValue as a mini_object,
19481 not a gpointer, since that's how we declared
19484 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19486 * examples/pwg/Makefile.am:
19487 Fix buildbot again.
19489 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19491 * docs/pwg/building-testapp.xml:
19493 * examples/pwg/Makefile.am:
19496 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19499 * examples/Makefile.am:
19500 * examples/pwg/Makefile.am:
19501 * examples/pwg/extract.pl:
19502 Enable building the PWG examples.
19503 * docs/pwg/advanced-interfaces.xml:
19504 Add URI interface stub.
19505 * docs/pwg/advanced-types.xml:
19506 * docs/pwg/other-autoplugger.xml:
19507 * docs/pwg/appendix-porting.xml:
19508 * docs/pwg/pwg.xml:
19509 Add porting guide (mostly stubs), remove autoplugging (see ADM).
19510 * docs/pwg/building-boiler.xml:
19511 * docs/pwg/building-chainfn.xml:
19512 * docs/pwg/building-pads.xml:
19513 * docs/pwg/building-props.xml:
19514 * docs/pwg/building-state.xml:
19515 * docs/pwg/building-testapp.xml:
19516 Update the building-*.xml parts for 0.9 changes. All examples
19517 code blocks compile in examples/pwg/*.
19519 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19521 * docs/manual/advanced-autoplugging.xml:
19522 * docs/manual/appendix-checklist.xml:
19523 * docs/manual/appendix-integration.xml:
19524 * docs/manual/highlevel-components.xml:
19525 Fix playbin/decodebin examples, update docs a bit, mention bus
19526 instead of signals in various places, mention kmplayer and
19527 kaffeine since they have a working GStreamer backend in the KDE
19530 2005-06-30 Wim Taymans <wim@fluendo.com>
19533 * docs/design/draft-ghostpads.txt:
19534 * docs/design/draft-push-pull.txt:
19535 * docs/design/draft-query.txt:
19536 * docs/design/part-TODO.txt:
19537 * docs/design/part-query.txt:
19538 Added CHANGES-0.9 doc, updated status of other docs.
19543 2005-06-30 Wim Taymans <wim@fluendo.com>
19545 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19546 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19547 (gst_base_sink_change_state):
19548 * gst/base/gstbasesink.h:
19549 Some tweaks, only EOS and a buffer complete a preroll.
19551 2005-06-30 Andy Wingo <wingo@pobox.com>
19553 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19554 activate_push down to the internal pad as well.
19556 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
19558 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19560 * gst/gsttaginterface.c:
19561 Some documentation fixes (#307394 and #307397).
19563 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
19565 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19567 * gst/gstvalue.c: (gst_value_intersect_list):
19568 Fix memleak (#309125).
19570 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19572 * docs/manual/advanced-dataaccess.xml:
19573 Fix fakesrc example to compile; doesn't work, bug somewhere...?
19574 * docs/manual/basics-pads.xml:
19575 Add reference for filtered caps to above chapter.
19577 2005-06-30 Wim Taymans <wim@fluendo.com>
19579 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19580 (gst_bin_change_state):
19582 Lame attempt at making the state change function a bit
19585 2005-06-30 Wim Taymans <wim@fluendo.com>
19587 * docs/design/part-clocks.txt:
19588 * docs/design/part-element-sink.txt:
19589 * docs/design/part-events.txt:
19590 * docs/design/part-preroll.txt:
19591 * docs/design/part-states.txt:
19592 Some more tweeks and additions to the docs.
19594 2005-06-30 Wim Taymans <wim@fluendo.com>
19596 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19597 (default_have_data), (gst_pad_class_init), (gst_pad_init),
19598 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19599 (gst_pad_check_pull_range), (gst_pad_get_range),
19600 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19602 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19603 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19604 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19605 (gst_pad_remove_buffer_probe):
19606 Removed atomic operations, use existing LOCK.
19607 Move exception handling out of main code path.
19609 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19611 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19612 (silly_return_true_function), (gst_pad_class_init),
19613 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19614 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19615 (gst_pad_send_event):
19616 Fix accumulator, add default value by using _emitv() instead
19617 of _emit() for signal emission.
19619 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19621 * docs/manual/advanced-dataaccess.xml:
19622 * examples/manual/Makefile.am:
19624 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19627 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
19629 * gst/elements/gstfilesink.c: (gst_filesink_render):
19630 Simplify code so that we don't have to handle short
19631 writes and return GST_FLOW_ERROR if an error occured.
19633 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19635 * docs/gst/gstreamer-docs.sgml:
19636 Remove probes more.
19638 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19640 * docs/gst/gstreamer-sections.txt:
19641 * docs/gst/tmpl/gstpad.sgml:
19642 * docs/gst/tmpl/gstprobe.sgml:
19644 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19645 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19646 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19647 (gst_pad_push_event), (gst_pad_send_event):
19649 * gst/gstutils.c: (gst_pad_add_data_probe),
19650 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19651 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19652 (gst_pad_remove_buffer_probe):
19654 Remove old probes, add new g-signal-based probes and some utility
19657 2005-06-29 Edward Hervey <edward@fluendo.com>
19659 * gst/gstelementfactory.c:
19662 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19663 the definition to the header file.
19665 2005-06-29 Andy Wingo <wingo@pobox.com>
19667 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19668 plugins from the source directory.
19670 2005-06-29 Wim Taymans <wim@fluendo.com>
19672 * docs/gst/tmpl/gstbuffer.sgml:
19673 * docs/gst/tmpl/gstclock.sgml:
19674 Some fixings for blantently wrong text.
19676 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19678 * check/Makefile.am:
19679 * gst/gst.c: (add_path_func), (init_pre):
19680 * gst/gstregistry.c: (gst_registry_add_path):
19681 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19682 only scan the GST_PLUGIN_PATH locations, and not add
19685 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19687 * docs/gst/gstreamer-sections.txt:
19688 * docs/gst/tmpl/gstbasesrc.sgml:
19689 * gst/gstelement.c:
19690 * gst/gstelement.h:
19695 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19697 * docs/manual/advanced-autoplugging.xml:
19698 Fix autoplugging example.
19700 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19702 * docs/manual/advanced-autoplugging.xml:
19703 * docs/manual/mime-world.fig:
19704 Try to get autoplugging working, fix type detection. Fix text
19705 in hello-world image.
19707 2005-06-29 Wim Taymans <wim@fluendo.com>
19709 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19710 (gst_base_sink_change_state):
19714 map SIGNAL and BROADCAST to the right function.
19717 Remove redundant braces.
19719 * gst/gstpad.c: (gst_pad_set_caps):
19720 Don't call setcaps function when reseting caps to NULL.
19722 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19723 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19724 (gst_system_clock_id_unschedule):
19725 Use BROADCAST as this is what we do.
19727 2005-06-29 Wim Taymans <wim@fluendo.com>
19729 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19730 We are actually prerolling before commiting the state
19733 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19735 * docs/manual/advanced-clocks.xml:
19736 * docs/manual/advanced-interfaces.xml:
19737 * docs/manual/advanced-metadata.xml:
19738 * docs/manual/advanced-position.xml:
19739 * docs/manual/advanced-schedulers.xml:
19740 * docs/manual/advanced-threads.xml:
19741 * docs/manual/appendix-porting.xml:
19742 * docs/manual/basics-bins.xml:
19743 * docs/manual/basics-bus.xml:
19744 * docs/manual/basics-elements.xml:
19745 * docs/manual/basics-helloworld.xml:
19746 * docs/manual/basics-pads.xml:
19747 * docs/manual/highlevel-components.xml:
19748 * docs/manual/manual.xml:
19749 * docs/manual/thread.fig:
19750 Update (until threads/scheduling) Application Development Manual;
19751 remove GstThread, add GstBus, add simple porting checklist, add
19752 documentation for tag writing, clocks, make all examples until this
19753 part compile and run.
19754 * examples/manual/Makefile.am:
19755 Update from changes to Application Development Manual; add bus
19756 example, remove thread example.
19758 2005-06-28 Wim Taymans <wim@fluendo.com>
19760 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
19761 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
19762 (gst_bus_source_dispatch):
19763 Add debugging messages.
19764 Make internal methods static.
19765 Handle the case where the bus is flushed in the handler.
19767 * gst/gstelement.c: (gst_element_get_bus):
19768 Fix refcount in _get_bus();
19770 * gst/gstpipeline.c: (gst_pipeline_change_state),
19771 (gst_pipeline_get_clock_func):
19772 Clock refcounting fixes.
19773 Handle the case where preroll timed out more gracefully.
19775 * gst/gstsystemclock.c: (gst_system_clock_dispose):
19776 Clean up the internal thread in dispose. This is needed
19777 for subclasses that actually get disposed.
19779 * gst/schedulers/threadscheduler.c:
19780 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19781 (gst_thread_scheduler_dispose):
19782 Free thread pool in dispose.
19784 2005-06-28 Andy Wingo <wingo@pobox.com>
19786 * tests/network-clock-utils.scm (debug, print-event): New utils.
19788 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
19789 (*packet-loss*): Unified loss probability.
19790 (network-time): Report out-of-band events.
19792 * tests/plot-data: Add support for out-of-band events. Hack it
19793 into this script instead of passing it down the pipe; should fix
19796 2005-06-28 Wim Taymans <wim@fluendo.com>
19798 * docs/gst/gstreamer.types:
19799 * docs/gst/tmpl/gstbasesrc.sgml:
19800 * docs/gst/tmpl/gstpad.sgml:
19803 2005-06-28 Wim Taymans <wim@fluendo.com>
19805 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19806 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
19807 (gst_proxy_pad_do_fixatecaps):
19808 Correctly proxy the check_pull_range function.
19810 2005-06-28 Andy Wingo <wingo@pobox.com>
19812 * tests/network-clock.scm: Removed need for slib.
19814 2005-06-28 Wim Taymans <wim@fluendo.com>
19816 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
19817 (gst_basesink_preroll_queue_flush):
19818 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
19819 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
19820 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19821 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19822 (gst_proxy_pad_set_property):
19825 * gst/gstqueue.c: (gst_queue_init):
19826 The deprecated pad loop function is removed now.
19828 2005-06-28 Andy Wingo <wingo@pobox.com>
19830 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
19831 New parameters, simulate network packet loss.
19833 * tests/network-clock-utils.scm: Initialize the RNG.
19835 2005-06-28 Wim Taymans <wim@fluendo.com>
19837 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
19838 (gst_basesink_event), (gst_basesink_deactivate):
19839 Flushing the preroll queue always needs to unlock the waiters.
19841 2005-06-28 Edward Hervey <edward@fluendo.com>
19843 * gst/gstpipeline.c: (gst_pipeline_send_event):
19844 Wheen a seek was successful on a pipeline, set the stream_time to the
19845 seek offset in order to have a synchronized stream_time.
19847 2005-06-28 Wim Taymans <wim@fluendo.com>
19849 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19850 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
19851 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
19852 (gst_proxy_pad_do_fixatecaps):
19853 Call wrapper function instead of just calling the function
19854 pointers. This takes care of any locking and whatmore.
19856 2005-06-28 Wim Taymans <wim@fluendo.com>
19858 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
19859 (gst_pad_pull_range):
19861 CONNECTED -> LINKED.
19863 2005-06-28 Andy Wingo <wingo@pobox.com>
19865 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
19866 source-munging commit!!!
19868 * gst/gstobject.c (gst_object_unref, gst_object_ref)
19869 (gst_object_sink): Take gpointer arguments, not GstObject --
19870 avoids casts. Like GLib.
19872 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
19875 2005-06-27 Andy Wingo <wingo@pobox.com>
19877 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
19880 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
19881 returns a sorted copy of the trace list.
19882 (gst_alloc_trace_print_live): New API, only prints traces with
19883 live objects. Sort the list.
19884 (gst_alloc_trace_print_all): Sort the list.
19885 (gst_alloc_trace_print): Align columns.
19887 * gst/elements/gstttypefindelement.c:
19888 * gst/elements/gsttee.c:
19889 * gst/base/gstbasesrc.c:
19890 * gst/base/gstbasesink.c:
19891 * gst/base/gstbasetransform.c:
19892 * gst/gstqueue.c: Adapt for pad activation changes.
19894 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
19896 (gst_pipeline_dispose): Drop ref on sched.
19898 * gst/gstpad.c (gst_pad_init): Set the default activate func.
19899 (gst_pad_activate_default): Push mode by default.
19900 (pre_activate_switch, post_activate_switch): New stubs, things to
19901 do before and after switching activation modes on pads.
19902 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
19903 the pad's activate function to choose which mode to activate.
19904 Shortcut on deactivation and call the right function directly.
19905 (gst_pad_activate_pull): New API, (de)activates a pad in pull
19907 (gst_pad_activate_push): New API, same for push mode.
19908 (gst_pad_set_activate_function)
19909 (gst_pad_set_activatepull_function)
19910 (gst_pad_set_activatepush_function): Setters for new API.
19912 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
19913 Trace all miniobjects.
19914 (gst_mini_object_make_writable): Unref the arg if we copy, like
19915 gst_caps_make_writable.
19917 * gst/gstmessage.c (_gst_message_initialize): No trace init.
19919 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
19920 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
19921 Adapt for new pad API.
19923 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
19925 * gst/gstelement.h:
19926 * gst/gstelement.c (gst_element_iterate_src_pads)
19927 (gst_element_iterate_sink_pads): New API functions.
19929 * gst/gstelement.c (iterator_fold_with_resync): New utility,
19930 should fold into gstiterator.c in some form.
19931 (gst_element_pads_activate): Simplified via use of fold and
19932 delegation of decisions to gstpad->activate.
19934 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
19937 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
19938 class once in init, like gstmessage. Didn't run into this issue
19939 but it seems correct. Don't initialize a trace, gstminiobject does
19942 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
19943 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
19945 (assert_live_count): New util function, uses alloc traces to check
19948 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
19949 To be modified when unlink drops the internal pad.
19951 2005-06-27 Wim Taymans <wim@fluendo.com>
19953 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
19954 (gst_bin_change_state):
19955 Cleanup the get_state() function a little, make sure it
19956 iterates the same set of elements.
19957 Added stub iterate_state_order().
19959 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
19961 * docs/gst/gstreamer-docs.sgml:
19962 * docs/gst/gstreamer-sections.txt:
19963 * docs/gst/gstreamer.types:
19964 * docs/gst/tmpl/gstbasesink.sgml:
19965 * docs/gst/tmpl/gstbasesrc.sgml:
19966 * docs/gst/tmpl/gstbasetransform.sgml:
19967 * docs/gst/tmpl/gstelement.sgml:
19968 * docs/gst/tmpl/gstiterator.sgml:
19969 * gst/base/gstbasesrc.c:
19970 * gst/base/gstbasesrc.h:
19971 * gst/base/gstbasetransform.h:
19972 * gst/gstelement.c:
19973 * gst/gstiterator.h:
19974 adding basetransform and iterator docs
19976 2005-06-27 Andy Wingo <wingo@pobox.com>
19978 * docs/design/part-activation.txt: Notes on how activation should
19979 work -- not quite implemented yet.
19981 2005-06-25 Wim Taymans <wim@fluendo.com>
19983 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
19984 At least get the chain function correct, needs more
19987 2005-06-25 Wim Taymans <wim@fluendo.com>
19989 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19990 (gst_basesink_handle_object), (gst_basesink_event),
19991 (gst_basesink_do_sync), (gst_basesink_handle_event),
19992 (gst_basesink_change_state):
19994 Right, two problems here: ghostpads don't take locks and
19995 glib _rec_mutex_lock_full() with depth==0 still locks.
19996 Catch illegal locking and g_warn them.
19998 2005-06-25 Wim Taymans <wim@fluendo.com>
20000 * check/states/sinks.c: (START_TEST), (gst_object_suite):
20001 Have to check for completion now...
20003 2005-06-25 Wim Taymans <wim@fluendo.com>
20005 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20006 (gst_basesink_handle_object), (gst_basesink_event),
20007 (gst_basesink_do_sync), (gst_basesink_handle_event),
20008 (gst_basesink_change_state):
20010 Unlock STREAM_LOCK whatever the recursion was.
20012 2005-06-25 Wim Taymans <wim@fluendo.com>
20014 * gst/base/gstbasesink.c: (gst_basesink_set_property),
20015 (gst_basesink_preroll_queue_empty),
20016 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20017 (gst_basesink_event), (gst_basesink_do_sync),
20018 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20019 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20020 (gst_basesink_change_state):
20021 Reworked the base sink, handle event and buffer serialisation
20022 correctly and removed possible deadlock.
20023 Handle EOS correctly.
20025 2005-06-25 Wim Taymans <wim@fluendo.com>
20027 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20028 (gst_pipeline_change_state):
20029 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20030 Allow elements to post EOS in the state change function.
20031 Fix up -launch, make it exit the poll loop when the
20032 pipeline actually changed state.
20033 Fix up warning parsing in -launch.
20035 2005-06-25 Wim Taymans <wim@fluendo.com>
20037 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20038 (gst_tee_sink_activate):
20039 Core takes STREAM_LOCK for us now.
20041 2005-06-25 Wim Taymans <wim@fluendo.com>
20043 * gst/gstelement.c: (gst_element_get_state_func),
20044 (gst_element_set_state):
20045 * gst/gstelement.h:
20046 * gst/gstmessage.c: (gst_message_parse_error),
20047 (gst_message_parse_warning):
20048 Keep track of current target state while performing a state
20049 change so that subclasses can do something interesting.
20050 Fix parsing of warning/error messages when GError is NULL.
20052 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
20054 * docs/gst/Makefile.am:
20055 * docs/gst/gstreamer-docs.sgml:
20056 * docs/gst/gstreamer-sections.txt:
20057 * docs/gst/gstreamer.types:
20058 * docs/gst/tmpl/gstbasesink.sgml:
20059 * docs/gst/tmpl/gstbasesrc.sgml:
20060 * docs/gst/tmpl/gstbin.sgml:
20061 * docs/gst/tmpl/gstcompat.sgml:
20062 * docs/gst/tmpl/gstfakesink.sgml:
20063 * docs/gst/tmpl/gstfakesrc.sgml:
20064 * docs/gst/tmpl/gstfilesink.sgml:
20065 * docs/gst/tmpl/gstfilesrc.sgml:
20066 * docs/gst/tmpl/gstindex.sgml:
20067 * docs/manual/appendix-quotes.xml:
20068 * gst/base/gstbasesrc.h:
20069 * gst/elements/gstfakesrc.h:
20070 * gst/gstmessage.h:
20071 start pulling in base classes and elements in our docs
20073 2005-06-24 Stefan Kost <ensonic@users.sf.net>
20075 * docs/gst/Makefile.am:
20076 * docs/libs/Makefile.am:
20077 fixed make distcheck with gtk-doc 1.3
20079 2005-06-23 Wim Taymans <wim@fluendo.com>
20081 * gst/gstelement.c: (gst_element_get_state_func),
20082 (gst_element_set_state), (gst_element_change_state):
20083 When the state did not change, also report NO_PREROLL
20086 2005-06-23 Wim Taymans <wim@fluendo.com>
20088 * gst/gstpad.c: (gst_pad_event_default):
20089 * gst/gstqueue.c: (gst_queue_loop):
20090 No unsafe task pausing please.
20092 2005-06-23 Wim Taymans <wim@fluendo.com>
20094 * gst/schedulers/threadscheduler.c:
20095 (gst_thread_scheduler_task_start),
20096 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20097 Ref the task before pushing it on the threadpool. This
20098 makes sure that we have a ref when the threadfunction is
20101 2005-06-23 Andy Wingo <wingo@pobox.com>
20103 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20104 offset is greater than the file's size.
20106 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
20107 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20108 * gst/gstobject.c (gst_object_class_init): Make the class lock
20109 recursive. Wim won't let me drop deep_notify. Decodebin works
20110 again, whoopdy doo.
20112 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20113 internal pad, and hacks accordingly. Doesn't do it on the target
20114 pad because we change its caps. Probably catches all cases of
20116 (gst_ghost_pad_set_property): Connect to notify::caps as
20119 * tests/network-clock.scm (plot-simulation): Pipe data to the
20120 elite python skript.
20122 * tests/network-clock-utils.scm (define-parameter): New macro,
20123 defines a parameter that can be set via the command line.
20124 (set-parameter!, parse-parameter-arguments): Command line args
20127 * tests/plot-data: Simple matplotlib-based plotter, takes input on
20130 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
20132 * gst/elements/gsttypefindelement.c:
20133 (gst_type_find_element_handle_event):
20134 Don't restart typefinding on a discont.
20135 * gst/gstelement.c: (gst_element_set_state):
20136 Debug spelling fix.
20137 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20138 Allow changing mode of an active pad.
20139 Debug output fixes.
20140 * gst/registries/gstlibxmlregistry.c: (load_feature):
20141 Don't cast a static pad template to a normal pad template.
20143 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
20145 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20146 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20147 remove gst_strtoll completely, since it didn't actually do
20148 anything more than what g_ascii_strtoull already does.
20149 check for range errors when deserializing
20150 do a cast for the unsigned cases; but further fixing needs
20151 a decision on what the interpretation of "(int)" and
20152 deserialization should be for values that fall outside the
20153 type's boundaries (ie, refuse, or interpret as casting)
20155 2005-06-23 Wim Taymans <wim@fluendo.com>
20157 * check/Makefile.am:
20158 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20159 * docs/design/part-live-source.txt:
20160 * docs/design/part-states.txt:
20161 * gst/base/gstbasesrc.c: (gst_basesrc_init),
20162 (gst_basesrc_set_live), (gst_basesrc_is_live),
20163 (gst_basesrc_get_range), (gst_basesrc_activate),
20164 (gst_basesrc_change_state):
20165 * gst/base/gstbasesrc.h:
20166 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20167 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20168 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20169 * gst/gstelement.c: (gst_element_get_state_func),
20170 (gst_element_set_state):
20171 * gst/gstelement.h:
20173 * tools/gst-launch.c: (event_loop), (main):
20174 Added support for live sources and other elements that
20176 Updated design docs, added live-source design doc.
20177 Implemented live source functionality in basesrc
20178 Fix error condition in _bin_get_state()
20179 Implement live source handling in -launch.
20180 Added check for live sources.
20181 Fixed case in GstBin where elements were changed state
20185 2005-06-23 Andy Wingo <wingo@pobox.com>
20187 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20188 borken refcounting.
20190 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20191 gst_caps_replace takes care of this for us.
20193 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20194 gst_pad_set_caps on the target, not just its setcaps() function.
20196 * tests/network-clock.scm:
20197 * tests/network-clock-utils.scm: A network clock simulator.
20198 Something of an algorithmic testbed before doing something in C.
20200 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20202 * check/Makefile.am:
20203 * check/gst/capslist.h:
20204 copy over from 0.8, and add two with bitmasks specified with
20206 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20207 add test to parse everything from capslist.h
20208 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20210 add test for structure deserialization
20211 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20212 add tests for deserialization of strings to int types
20213 * gst/gststructure.c: (gst_structure_nth_field_name):
20214 * gst/gststructure.h:
20215 add a way to get the name of a field referenced by index
20216 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20217 instead of checking if the resulting long long lies between
20218 min and max, we check if the long long would fit into
20219 a number of bytes for the final type.
20220 This fixes cases where a string represents 2^32 - 1, which
20221 when cast to int would be the (valid) -1, but is bigger than
20224 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20226 * gst/parse/grammar.y:
20227 add a log line for type deserialization
20229 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20231 * check/gst/gstvalue.c: (START_TEST):
20232 * gst/gstvalue.c: (gst_value_deserialize):
20233 return long long, not int, so gint64 deserialization actually
20234 works. Is there any flag that makes the compiler check this ?
20237 2005-06-22 Wim Taymans <wim@fluendo.com>
20240 Added convenience macros for setting buffers in GValue.
20242 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20244 * check/gst/.cvsignore:
20245 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20246 add a test deserializing int64, and comment part out because
20249 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20251 * check/Makefile.am:
20252 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20253 * testsuite/Makefile.am:
20254 * testsuite/caps/Makefile.am:
20255 * testsuite/caps/value_serialize.c:
20256 * testsuite/test_gst_init.c:
20257 move a value_serialize test over
20259 2005-06-20 Wim Taymans <wim@fluendo.com>
20264 * gst/gstvalue.c: (gst_value_compare_buffer),
20265 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20266 (gst_value_compare_flags), (gst_value_serialize_flags),
20267 (gst_value_deserialize_flags), (_gst_value_initialize):
20268 Fix serialisation of buffers, they are not boxed types anymore
20270 2005-06-20 Wim Taymans <wim@fluendo.com>
20272 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20273 Testcase to show error in buffer-on-caps serialisation.
20275 2005-06-20 Andy Wingo <wingo@pobox.com>
20277 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20278 will be adding to later.
20280 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20281 if its socks fill with rocks.
20282 (gst_system_clock_obtain): Set the name on object construction.
20283 Avoid double-checked locking.
20285 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
20287 * gst/gsturi.c: (gst_element_make_from_uri):
20288 Fix potential endless loop.
20290 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20292 * check/Makefile.am:
20294 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20296 move over from testsuite dir and clean up
20299 * testsuite/Makefile.am:
20300 * testsuite/tags/.cvsignore:
20301 * testsuite/tags/Makefile.am:
20302 * testsuite/tags/merge.c:
20303 remove testsuite/tags
20305 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20307 * docs/gst/gstreamer-sections.txt:
20308 * docs/gst/tmpl/gstenumtypes.sgml:
20309 * win32/gstenumtypes.c:
20310 clean up documentation build a little
20312 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20314 * check/gstcheck.h:
20315 add macros for checking refcounts on objects and caps
20316 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20317 add some more unit tests
20318 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20319 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20320 fix leaked refcounts (I hope :)) so unittest works
20324 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20326 * configure.ac: back to HEAD
20328 === release 0.9.1 ===
20330 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
20336 2005-06-17 Andy Wingo <wingo@pobox.com>
20338 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20339 assert; it's always possible that the pad gets deactivated in
20340 between the checks in gstpad.c and the implementation. Rely on
20341 finish_preroll() to return a FLUSHING or similar instead of on the
20344 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20345 clock and post an EOS message if we come out of finish_preroll in
20348 2005-06-16 David Schleef <ds@schleef.org>
20350 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20351 (gst_capsfilter_set_property): Allow NULL as possible value
20352 for filter_caps property, indicating GST_CAPS_ANY.
20354 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20356 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20358 * gst/schedulers/Makefile.am:
20360 * gstreamer.spec.in:
20363 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20365 * gstreamer.spec.in:
20368 2005-06-08 Andy Wingo <wingo@pobox.com>
20370 * gst/gstutils.c: RPAD fixes all around.
20371 (gst_element_link_pads): Refcounting fixes.
20373 * tools/gst-inspect.c:
20374 * tools/gst-xmlinspect.c:
20376 * gst/base/gsttypefindhelper.c:
20377 * gst/base/gstbasesink.c:
20378 * gst/gstqueue.c: RPAD fixes.
20380 * gst/gstghostpad.h:
20381 * gst/gstghostpad.c: New ghost pad implementation as full proxy
20382 pads. The tricky thing is they provide both source and sink
20383 interfaces, since they proxy the internal pad for the external
20384 pad, and vice versa. Implement with lower-level ProxyPad objects,
20385 with the interior proxy pad as a child of the exterior ghost pad.
20386 Should write a doc on this.
20388 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20389 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20392 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20393 pads are real pads. No ghost pads in this file. Not documenting
20394 the myriad s/RPAD/PAD/ and REALIZE fixes.
20395 (gst_pad_class_init): Add properties for "direction" and
20396 "template". Both are construct-only, so they can't change during
20397 the life of the pad. Fixes properly deriving from GstPad.
20398 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20399 derived objects, just set properties when creating the objects via
20401 (gst_pad_get_parent): Implement as a function, return NULL if the
20402 parent is not an element.
20403 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20404 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20406 * gst/gstobject.c (gst_object_class_init): Make name a construct
20407 property. Don't set it in the object init.
20409 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20410 with UNKNOWN direction.
20411 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20412 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20413 (gst_element_remove_pad): Remove ghost-pad special cases.
20414 (gst_element_pads_activate): Remove rpad cruft.
20416 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20417 catch the pad's-parent-not-an-element case.
20419 * gst/gst.h: Include gstghostpad.h.
20421 * gst/gst.c (init_post): No more real, ghost pads.
20423 * gst/Makefile.am: Add gstghostpad.[ch].
20425 * check/Makefile.am:
20426 * check/gst/gstbin.c:
20427 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20428 into a bin creates ghost pads, and that the refcounts are right.
20429 Partly moved from gstbin.c.
20431 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20433 * check/gst-libs/.cvsignore:
20434 * check/gst/.cvsignore:
20435 * check/pipelines/.cvsignore:
20437 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20438 (START_TEST), (cleanup_suite), (main):
20439 add some tests related to cleanup after running pipelines
20441 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20443 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20444 add a testsuite for GstBuffer
20446 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20448 * gst/gstminiobject.h:
20449 add defines for accessing the refcount
20451 2005-06-03 Stefan Kost <ensonic@users.sf.net>
20453 * Makefile.am: added support for html unit test coverage reports
20455 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
20457 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20458 Free existing caps if the capsfilter changes. Add a FIXME about
20459 setting those caps on the pads.
20461 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20462 Before adding a ghost pad to a parent bin, check that there isn't
20463 already one for the element on the bin. Prevents infinite recursion
20464 when using decodebin in parse pipelines. Andy says he'll rewrite the
20465 way this works anyway, so ignore the hack.
20467 2005-06-02 Andy Wingo <wingo@pobox.com>
20469 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20470 file size, pass it on to the type find helper.
20472 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20473 segment_start and segment_end properly according to the seek
20474 method. Segment_end is still a bit flaky because offset can be
20475 negative for CUR and END cases, but it takes -1 as an "unset"
20478 2005-06-02 Wim Taymans <wim@fluendo.com>
20480 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20481 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20482 (gst_basesink_activate):
20483 * gst/base/gstbasesink.h:
20484 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20485 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20486 (gst_pad_query), (gst_pad_start_task):
20488 * gst/gstqueue.c: (gst_queue_bufferalloc),
20489 (gst_queue_handle_sink_event), (gst_queue_chain):
20490 Bufferalloc: return GstFlowReturn to more accuratly report
20491 why allocation failed.
20493 2005-06-02 Wim Taymans <wim@fluendo.com>
20495 * gst/gstpipeline.c: (gst_pipeline_send_event):
20496 Take snapshot of state without blocking.
20498 2005-06-02 Wim Taymans <wim@fluendo.com>
20500 * docs/design/part-TODO.txt:
20501 * docs/design/part-caps.txt:
20502 * docs/design/part-clocks.txt:
20503 * docs/design/part-negotiation.txt:
20504 * docs/design/part-preroll.txt:
20507 2005-05-30 Wim Taymans <wim@fluendo.com>
20509 * gst/elements/gstidentity.c: (gst_identity_event),
20510 (gst_identity_transform), (gst_identity_get_property):
20511 Protect last_message property as it is accessed from
20514 2005-05-30 Wim Taymans <wim@fluendo.com>
20516 * gst/gstelement.c: (gst_element_init),
20517 (gst_element_pads_activate), (gst_element_change_state):
20518 Slicker pad activation code.
20520 2005-05-30 Wim Taymans <wim@fluendo.com>
20523 * gst/gstelement.h:
20524 * gst/gstelementfactory.h:
20526 Move elementfactory methods to separate .h file.
20528 2005-05-30 Wim Taymans <wim@fluendo.com>
20530 * docs/design/part-overview.txt:
20531 * gst/gstsystemclock.h:
20532 Small typo fixes, doc updates.
20534 2005-05-30 Wim Taymans <wim@fluendo.com>
20536 * gst/gst.c: (gst_init_get_popt_table), (init_post),
20537 (init_popt_callback):
20538 Remove cpu-opt flag.
20540 2005-05-30 Wim Taymans <wim@fluendo.com>
20542 * gst/gstbuffer.c: (gst_subbuffer_finalize),
20543 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20545 Avoid typechecking in places where not needed.
20546 Added accessor for malloc_data.
20548 2005-05-30 Wim Taymans <wim@fluendo.com>
20550 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20551 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20552 (gst_pad_configure_sink), (gst_pad_configure_src),
20553 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20554 (gst_pad_start_task):
20555 Propagate errors from _set_caps() in configure_src/sink
20556 functions instead of returning TRUE.
20557 FLUSH events can travel up and downstream
20560 2005-05-30 Wim Taymans <wim@fluendo.com>
20562 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20563 (gst_basesink_activate):
20564 Handle EOS in preroll.
20566 2005-05-30 Wim Taymans <wim@fluendo.com>
20568 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20569 (gst_queue_loop), (gst_queue_handle_src_event):
20570 Remove old pieces of code
20571 Flushing the queue in an upstream event is a very bad idea.
20573 2005-05-26 Andy Wingo <wingo@pobox.com>
20575 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20576 gst_value_set_mini_object so as to add a ref on the object (which
20577 will be removed when the value is unset).
20579 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20580 arg type in ::handoff.
20582 * gst/gstelement.c (gst_element_change_state): Also deactivate
20583 pads in READY->NULL, just in case the element didn't make it to
20584 PAUSED. Wingo tested, Wim approved.
20586 2005-05-26 Wim Taymans <wim@fluendo.com>
20588 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20589 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20590 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20591 A flushing pad cannot be used to alloc_buffer from.
20593 2005-05-26 Wim Taymans <wim@fluendo.com>
20595 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20596 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20597 (gst_bus_source_dispatch), (gst_bus_source_finalize),
20598 (gst_bus_create_watch), (gst_bus_add_watch_full):
20600 Implement a real GSource and use g_main_context_wakeup() to
20601 signal new messages instead of the socketpair.
20603 2005-05-25 Wim Taymans <wim@fluendo.com>
20605 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20606 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20607 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20608 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20609 (gst_pad_send_event), (gst_pad_start_task):
20610 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20611 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20612 (gst_queue_sink_activate), (gst_queue_src_activate),
20613 (gst_queue_change_state):
20615 Fix state changes for non sinks. We now change sinks, then elements
20616 with unconnected srcpads, then the rest.
20617 More efficient queue unlocking in flush and state changes.
20618 Set the pad activate mode even if it does not have an activate
20621 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20623 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20624 Don't go in pull mode for non-seekable sources.
20625 * gst/elements/gsttypefindelement.h:
20626 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20627 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20628 (free_entry), (stop_typefinding),
20629 (gst_type_find_element_handle_event), (find_peek),
20630 (gst_type_find_element_chain), (do_pull_typefind),
20631 (gst_type_find_element_change_state):
20632 Allow typefinding (w/o seeking) in push-mode, simplified version
20633 of what was in 0.8.
20634 * gst/gstutils.c: (gst_buffer_join):
20636 gst_buffer_join() from 0.8.
20638 2005-05-25 Wim Taymans <wim@fluendo.com>
20640 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20641 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20642 (gst_pad_send_event), (gst_pad_start_task):
20643 Disable attempt at mode switching until it is figured out.
20645 2005-05-25 Wim Taymans <wim@fluendo.com>
20647 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20648 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20649 (gst_basesink_finish_preroll), (gst_basesink_chain),
20650 (gst_basesink_loop), (gst_basesink_activate),
20651 (gst_basesink_change_state):
20652 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20653 (gst_basesrc_get_range), (gst_basesrc_loop),
20654 (gst_basesrc_activate):
20655 * gst/elements/gsttee.c: (gst_tee_sink_activate):
20656 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20657 (gst_real_pad_init), (gst_real_pad_set_property),
20658 (gst_real_pad_get_property), (gst_pad_set_active),
20659 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20660 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20661 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20662 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20663 (gst_pad_event_default_dispatch), (gst_pad_event_default),
20664 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20665 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20666 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20667 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20668 (gst_pad_stop_task):
20670 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20671 (gst_queue_loop), (gst_queue_src_activate):
20672 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20673 (gst_task_get_state):
20675 * gst/schedulers/threadscheduler.c:
20676 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20677 Implement gst_pad_pause/start/stop_task(), take STREAM lock
20679 Remove ACTIVE pad flag, use FLUSHING everywhere
20680 Added _pad_chain(), _pad_get_range() to call chain/getrange
20682 Add locks around IS_FLUSHING when reading.
20683 Take STREAM lock in chain(), get_range() functions so plugins
20684 don't need to take it anymore.
20688 2005-05-25 Wim Taymans <wim@fluendo.com>
20690 * tools/gst-launch.c: (event_loop):
20691 Unref message after using its contents instead of
20694 2005-05-24 Wim Taymans <wim@fluendo.com>
20696 * docs/design/draft-ghostpads.txt:
20697 * docs/design/draft-push-pull.txt:
20698 * docs/design/draft-query.txt:
20699 * docs/design/part-overview.txt:
20700 Docs updates, added general overview doc.
20702 2005-05-21 David Schleef <ds@schleef.org>
20704 * docs/gst/tmpl/old/GstBin.sgml:
20705 * docs/gst/tmpl/old/GstBuffer.sgml:
20706 * docs/gst/tmpl/old/GstCaps.sgml:
20707 * docs/gst/tmpl/old/GstClock.sgml:
20708 * docs/gst/tmpl/old/GstCompat.sgml:
20709 * docs/gst/tmpl/old/GstData.sgml:
20710 * docs/gst/tmpl/old/GstElement.sgml:
20711 * docs/gst/tmpl/old/GstEvent.sgml:
20712 * docs/gst/tmpl/old/GstIndex.sgml:
20713 * docs/gst/tmpl/old/GstStructure.sgml:
20714 * docs/gst/tmpl/old/GstTag.sgml:
20715 * docs/gst/tmpl/old/cothreads.sgml:
20716 * docs/gst/tmpl/old/cothreads_compat.sgml:
20717 * docs/gst/tmpl/old/gettext.sgml:
20718 * docs/gst/tmpl/old/gobject2gtk.sgml:
20719 * docs/gst/tmpl/old/grammar.tab.sgml:
20720 * docs/gst/tmpl/old/gst-i18n-app.sgml:
20721 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20722 * docs/gst/tmpl/old/gst_private.sgml:
20723 * docs/gst/tmpl/old/gstaggregator.sgml:
20724 * docs/gst/tmpl/old/gstarch.sgml:
20725 * docs/gst/tmpl/old/gstatomic_impl.sgml:
20726 * docs/gst/tmpl/old/gstbufferstore.sgml:
20727 * docs/gst/tmpl/old/gstdata_private.sgml:
20728 * docs/gst/tmpl/old/gstdisksink.sgml:
20729 * docs/gst/tmpl/old/gstdisksrc.sgml:
20730 * docs/gst/tmpl/old/gstelementfactory.sgml:
20731 * docs/gst/tmpl/old/gstextratypes.sgml:
20732 * docs/gst/tmpl/old/gstfakesink.sgml:
20733 * docs/gst/tmpl/old/gstfakesrc.sgml:
20734 * docs/gst/tmpl/old/gstfdsink.sgml:
20735 * docs/gst/tmpl/old/gstfdsrc.sgml:
20736 * docs/gst/tmpl/old/gstfilesink.sgml:
20737 * docs/gst/tmpl/old/gstfilesrc.sgml:
20738 * docs/gst/tmpl/old/gsthttpsrc.sgml:
20739 * docs/gst/tmpl/old/gstidentity.sgml:
20740 * docs/gst/tmpl/old/gstindexfactory.sgml:
20741 * docs/gst/tmpl/old/gstmarshal.sgml:
20742 * docs/gst/tmpl/old/gstmd5sink.sgml:
20743 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20744 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20745 * docs/gst/tmpl/old/gstpadtemplate.sgml:
20746 * docs/gst/tmpl/old/gstpipefilter.sgml:
20747 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20748 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20749 * docs/gst/tmpl/old/gstshaper.sgml:
20750 * docs/gst/tmpl/old/gstspider.sgml:
20751 * docs/gst/tmpl/old/gstspideridentity.sgml:
20752 * docs/gst/tmpl/old/gststatistics.sgml:
20753 * docs/gst/tmpl/old/gsttee.sgml:
20754 * docs/gst/tmpl/old/gsttimecache.sgml:
20755 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
20756 * docs/gst/tmpl/old/gstxmlregistry.sgml:
20757 * docs/gst/tmpl/old/gthread-cothreads.sgml:
20758 * docs/gst/tmpl/old/types.sgml:
20759 I didn't intend to add these or check them in.
20761 2005-05-19 David Schleef <ds@schleef.org>
20763 * configure.ac: Use -no-common everywhere. In a sane world, it
20764 would be the default in libtool, because without it, you can't
20765 build DLLs on Windows.
20766 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
20767 * docs/gst/gstreamer-sections.txt:
20768 * docs/gst/tmpl/gstcpu.sgml:
20769 * docs/gst/tmpl/gstdata.sgml:
20770 * docs/gst/tmpl/gstthread.sgml:
20772 2005-05-19 David Schleef <ds@schleef.org>
20774 * gst/gstminiobject.c: (gst_value_set_mini_object),
20775 (gst_value_take_mini_object), (gst_value_get_mini_object):
20776 * gst/gstminiobject.h: Add GValue set/get functions.
20778 2005-05-19 Wim Taymans <wim@fluendo.com>
20780 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
20781 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
20782 (gst_subbuffer_init), (gst_buffer_is_span_fast):
20784 * gst/gstbus.c: (gst_bus_post):
20785 * gst/gstelement.c: (gst_element_get_random_pad):
20786 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
20787 Make subbufer unref the parent in finalize.
20788 some more debugging info.
20791 2005-05-19 Wim Taymans <wim@fluendo.com>
20793 * gst/base/gstbasesink.c: (gst_basesink_class_init),
20794 (gst_basesink_init), (gst_basesink_finalize),
20795 (gst_basesink_activate), (gst_basesink_change_state):
20796 Don't free preroll queue too early.
20798 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20802 Hi, I'm outdated. Please shoot me.
20804 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20806 * gst/gstpipeline.c: (gst_pipeline_send_event):
20807 Do not access variables after they have been deleted.
20809 2005-05-19 Wim Taymans <wim@fluendo.com>
20811 * tools/gst-inspect.c: (print_plugin_features):
20812 A plugin feature does unfortunatly not use the
20815 2005-05-18 Wim Taymans <wim@fluendo.com>
20817 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
20818 Port _span() functions to new subbuffers.
20820 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20822 * gst/gstbin.c: (gst_bin_add_func):
20823 Fix clock settery in bins when adding kids after the clock has
20826 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20828 * gst/elements/gstidentity.c: (gst_identity_class_init):
20829 Workaround until signals support GstMiniObject.
20831 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
20834 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
20836 2005-05-18 Wim Taymans <wim@fluendo.com>
20838 * gst/base/Makefile.am:
20839 * gst/base/gstadapter.c: (gst_adapter_base_init),
20840 (gst_adapter_class_init), (gst_adapter_init),
20841 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
20842 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
20843 (gst_adapter_flush), (gst_adapter_available),
20844 (gst_adapter_available_fast):
20845 * gst/base/gstadapter.h:
20846 Ported and added adapter to the base classes.
20848 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20851 * gst/gstmessage.c:
20852 Make sure the class is reffed/unreffed once before threads can be
20853 used. Fixes #304551.
20855 2005-05-17 Wim Taymans <wim@fluendo.com>
20857 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
20858 (gst_basesink_chain_unlocked), (gst_basesink_activate):
20859 * gst/gstminiobject.c: (gst_mini_object_get_type),
20860 (gst_mini_object_free):
20861 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
20862 (gst_pad_push), (gst_pad_push_event):
20863 * gst/gstqueue.c: (gst_queue_change_state):
20864 Don't queue buffers in basesink when we are flushing.
20865 Unref buffer when flushing in basesink.
20866 Flush queue when going to READY
20867 Unref buffer when _push() returns an error.
20868 Don't free MiniObject instance when refcount is incremented
20869 in _finalize() so that we can recover objects.
20871 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
20873 * docs/manual/advanced-schedulers.xml:
20874 * docs/manual/appendix-checklist.xml:
20875 * docs/pwg/advanced-clock.xml:
20876 * docs/pwg/advanced-interfaces.xml:
20877 * docs/pwg/advanced-request.xml:
20878 * docs/pwg/advanced-types.xml:
20879 * docs/pwg/intro-preface.xml:
20880 * examples/plugins/example.c: (gst_example_get_type),
20881 (gst_example_class_init), (gst_example_chain),
20882 (gst_example_set_property), (gst_example_get_property),
20883 (gst_example_change_state), (plugin_init):
20884 * examples/plugins/example.h:
20887 2005-05-17 Wim Taymans <wim@fluendo.com>
20889 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
20890 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
20891 * gst/gstqueue.c: (gst_queue_change_state):
20892 Clear queue when going to READY.
20893 Remove IN_SETCAPS flag too.
20895 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
20897 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
20898 Remove implicit cast from gboolean to GstElementStateReturn;
20899 make sure we still return failure in paused => ready case if
20900 the parent class fails to change state and our own stop
20903 2005-05-17 Wim Taymans <wim@fluendo.com>
20905 * tools/gst-launch.c: (event_loop):
20906 Message was unreffed too soon.
20908 2005-05-16 Andy Wingo <wingo@pobox.com>
20910 * gst/gstbin.c (sink_iterator_filter): Err... um...
20912 * check/gst/gstbin.c (test_ghost_pads): New test for the
20913 ghosting-if-elements-not-in-same-bin behavior.
20915 2005-05-16 David Schleef <ds@schleef.org>
20917 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
20918 accessing refcount directly.
20920 2005-05-15 David Schleef <ds@schleef.org>
20922 * check/Makefile.am: remove GstData checks
20923 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
20924 * gst/Makefile.am: add miniobject, remove data
20925 * gst/gst.h: add miniobject, remove data
20926 * gst/gstdata.c: remove
20927 * gst/gstdata.h: remove
20928 * gst/gstdata_private.h: remove
20929 * gst/gsttypes.h: remove GstEvent and GstMessage
20930 * gst/gstelement.c: (gst_element_post_message): fix for API changes
20931 * gst/gstmarshal.list: change BOXED -> OBJECT
20933 Implement GstMiniObject.
20934 * gst/gstminiobject.c:
20935 * gst/gstminiobject.h:
20937 Modify to be subclasses of GstMiniObject.
20938 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
20939 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
20940 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
20941 (gst_subbuffer_get_type), (gst_subbuffer_init),
20942 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
20945 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
20946 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
20947 (_gst_event_copy), (gst_event_new):
20949 * gst/gstmessage.c: (_gst_message_initialize),
20950 (gst_message_get_type), (gst_message_class_init),
20951 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
20952 (gst_message_new), (gst_message_new_error),
20953 (gst_message_new_warning), (gst_message_new_tag),
20954 (gst_message_new_state_changed), (gst_message_new_application):
20955 * gst/gstmessage.h:
20956 * gst/gstprobe.c: (gst_probe_perform),
20957 (gst_probe_dispatcher_dispatch):
20959 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
20960 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
20961 (_gst_query_copy), (gst_query_new):
20963 Update elements for GstData -> GstMiniObject changes
20965 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
20966 (gst_queue_chain), (gst_queue_loop):
20967 * gst/elements/gstbufferstore.c:
20968 (gst_buffer_store_add_buffer_func),
20969 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
20970 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
20971 (gst_fakesink_render):
20972 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20973 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
20974 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
20975 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
20976 (gst_filesrc_create_read):
20977 * gst/elements/gstidentity.c: (gst_identity_class_init):
20978 * gst/elements/gsttypefindelement.c:
20979 (gst_type_find_element_src_event), (free_entry_buffers),
20980 (gst_type_find_element_handle_event):
20981 * libs/gst/dataprotocol/dataprotocol.c:
20982 (gst_dp_header_from_buffer):
20983 * libs/gst/dataprotocol/dataprotocol.h:
20984 * libs/gst/dataprotocol/dp-private.h:
20986 2005-05-15 David Schleef <ds@schleef.org>
20988 * gst/elements/gstelements.c: Don't include headers that were
20991 2005-05-15 David Schleef <ds@schleef.org>
20993 * gst/elements/Makefile.am: Remove some elements that don't
20994 need to be in the core (or even exist at all).
20995 * gst/elements/gstaggregator.c:
20996 * gst/elements/gstaggregator.h:
20997 * gst/elements/gstmd5sink.c:
20998 * gst/elements/gstmd5sink.h:
20999 * gst/elements/gstmultifilesrc.c:
21000 * gst/elements/gstmultifilesrc.h:
21001 * gst/elements/gstpipefilter.c:
21002 * gst/elements/gstpipefilter.h:
21003 * gst/elements/gstshaper.c:
21004 * gst/elements/gstshaper.h:
21005 * gst/elements/gststatistics.c:
21006 * gst/elements/gststatistics.h:
21007 * po/POTFILES.in: Remove above files.
21009 2005-05-14 Andy Wingo <wingo@pobox.com>
21011 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21012 so as to get the refs right.
21013 (sink_iterator_filter): New function, wraps bin_element_is_sink,
21014 unreffing objects that don't pass the filter.
21016 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21017 gst_element_set_bus.
21018 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21019 normal cases, this will destroy the bus.
21021 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21024 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21027 2005-05-13 Andy Wingo <wingo@pobox.com>
21029 * gst/gstutils.c (gst_element_link_pads): Instead of calling
21030 gst_pad_link, call pad_link_maybe_ghosting,
21031 (pad_link_maybe_ghosting): Links pads, making sure that the
21032 elements being linked are in the same bin.
21033 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21034 Helpers for pad_link_maybe_ghosting.
21036 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21039 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21041 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21043 * docs/design/part-element-source.txt:
21046 2005-05-12 Wim Taymans <wim@fluendo.com>
21048 * gst/base/gstbasesink.c: (gst_basesink_init),
21049 (gst_basesink_activate):
21050 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21051 (gst_basesrc_is_seekable):
21052 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21053 (bin_element_is_sink), (gst_bin_change_state):
21054 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21055 * gst/gstelement.h:
21056 Identify sinks by their flag to avoid overly complicated
21058 Do state changes even for elements not reachable from the
21060 BaseSink is a sink now :)
21061 Some more debugging info in the basesrc.
21064 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21066 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21067 Implement _query on a bin, similar to _send_event.
21069 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
21071 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21072 Discont event offset format should be GST_FORMAT_BYTES,
21073 not GST_FORMAT_TIME.
21075 2005-05-12 Wim Taymans <wim@fluendo.com>
21077 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21078 Same fix as Ronald's but without the signal.
21080 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21082 * gst/gstutils.c: (gst_element_query_position):
21083 No, an element is not a pad.
21085 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21087 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21088 (gst_bin_get_state):
21089 If a child is removed from a bin while we remove the child from
21090 the bin and while we're retrieving its state, signal this to the
21091 get_state function so we abort the wait (instead of waiting for
21092 a timeout) and can immediately re-iterate over all other elements.
21094 2005-05-12 Wim Taymans <wim@fluendo.com>
21096 * gst/base/Makefile.am:
21097 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21098 (gst_basesrc_start):
21099 * gst/base/gstbasesrc.h:
21100 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21101 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21102 (gst_pushsrc_init), (gst_pushsrc_create):
21103 * gst/base/gstpushsrc.h:
21104 Added is_seekable to BaseSrc
21105 Added simple PushSrc.
21107 2005-05-11 Wim Taymans <wim@fluendo.com>
21109 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21110 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21111 (gst_element_link_pads), (gst_element_query_position),
21112 (gst_element_query_convert), (intersect_caps_func),
21113 (gst_pad_query_position), (gst_pad_query_convert):
21114 Fix refcounting in utils function.
21115 No point in trying to activate a pad when it's added, it could
21116 be added from the state change function and then we deadlock, the
21117 element has to decide what to do.
21119 2005-05-10 Andy Wingo <wingo@pobox.com>
21121 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21122 *all* the arguments.
21124 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21125 stream lock if it's a FLUSH_DONE; normal flushes don't get the
21126 lock (according to the docs -- if this is wrong change the docs).
21128 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21129 flush messages in the NULL state.
21131 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21132 message immediately and return.
21133 (gst_bus_set_flushing): New function. If a bus is flushing, it
21134 flushes out any queued messages and immediately unrefs new
21135 messages. This is so when an element goes to NULL, all of the
21136 unhandled messages coming from it can be freed, and their
21137 references to the element dropped. In other words: message source
21138 ref considered harmful :P
21140 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21141 we're finished with it.
21143 * gst/gstmessage.c (gst_message_new_state_changed):
21145 2005-05-10 Wim Taymans <wim@fluendo.com>
21147 * gst/gstvalue.c: (gst_value_compare_flags),
21148 (gst_value_serialize_flags), (gst_value_deserialize_flags),
21149 (_gst_value_initialize):
21150 Added flags serialize/deserialize/compare code.
21152 2005-05-09 Andy Wingo <wingo@pobox.com>
21154 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21155 Intersect the peer's caps with our caps.
21157 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21159 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21160 * gst/elements/gsttypefindelement.c: (find_peek):
21161 Handle negative offsets better. Fixes decodebin.
21163 2005-05-09 Wim Taymans <wim@fluendo.com>
21165 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21166 (gst_base_transform_event):
21167 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21168 Implement accept_caps.
21169 Fix silly lock/unlock mismatch in base class.
21171 2005-05-09 Wim Taymans <wim@fluendo.com>
21173 * docs/design/draft-push-pull.txt:
21174 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21175 * gst/elements/gstfilesink.c: (gst_filesink_init),
21176 (gst_filesink_query):
21177 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21178 (gst_type_find_handle_src_query), (find_element_get_length):
21179 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21180 * gst/gstelement.h:
21181 * gst/gstmessage.c:
21182 * gst/gstmessage.h:
21183 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21184 (gst_real_pad_get_caps_unlocked),
21185 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21186 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21187 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21188 (gst_real_pad_dispose), (gst_real_pad_finalize),
21189 (gst_pad_load_and_link), (gst_pad_save_thyself),
21190 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21191 (gst_pad_check_pull_range), (gst_pad_pull_range),
21192 (gst_pad_template_get_type), (gst_pad_template_class_init),
21193 (gst_pad_template_init), (gst_pad_template_dispose),
21194 (name_is_valid), (gst_static_pad_template_get),
21195 (gst_pad_template_new), (gst_static_pad_template_get_caps),
21196 (gst_pad_template_get_caps), (gst_pad_set_element_private),
21197 (gst_pad_get_element_private), (gst_pad_start_task),
21198 (gst_pad_pause_task), (gst_pad_stop_task),
21199 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21200 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21201 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21202 (gst_ghost_pad_new):
21204 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21205 (gst_query_new_position), (gst_query_set_position),
21206 (gst_query_parse_position), (gst_query_new_convert),
21207 (gst_query_set_convert), (gst_query_parse_convert):
21209 * gst/gstqueryutils.c:
21210 * gst/gstqueryutils.h:
21211 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21212 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21213 (gst_queue_handle_src_query):
21214 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21215 (gst_element_query_position), (gst_element_query_convert),
21216 (intersect_caps_func), (gst_pad_query_position),
21217 (gst_pad_query_convert):
21219 * tools/gst-inspect.c: (print_pad_info):
21220 * tools/gst-xmlinspect.c: (print_element_info):
21221 Remove old query functions. Ported old code.
21222 Added position/convert helper functions to gstutils.
21223 Reordered gstpad.c code, grouping relevant things.
21224 Remove gst_message_new(), always need to speficy a specific
21228 2005-05-09 Andy Wingo <wingo@pobox.com>
21230 * gst/gstiterator.h: Add some includes.
21232 * gst/gstqueryutils.h: Include more headers.
21235 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21236 some uses of gst_pad_query.
21238 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21239 NULL out parameters.
21240 (gst_query_new_position): New proc, allocates a new position
21243 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21244 gstqueryutils.c to the build.
21246 * gst/gststructure.c (gst_structure_set_valist): Implement with
21247 the generic G_VALUE_COLLECT.
21249 2005-05-08 Edward Hervey <bilboed@bilboed.com>
21251 * gst/Makefile.am: (gst_headers):
21252 Added gstqueryutils.h to the list of headers to install, that was
21253 a 'nachty' move wingo :)
21255 2005-05-06 Andy Wingo <wingo@pobox.com>
21258 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21259 GstData, init a memchunk.
21260 (standard_definitions): Add a few query types, deprecate a few.
21261 (gst_query_get_type): New proc.
21262 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21264 (gst_query_new_application, gst_query_get_structure): New public
21267 * docs/design/draft-query.txt: Removed LINKS from the query types,
21268 because all the rest can be dispatched to other pads -- seemed
21269 ugly to have a query that couldn't be dispatched. internal_links
21270 is fine as a pad method.
21272 * gst/gstpad.h: Add query2 as a pad method, add the new functions
21273 in gstpad.c, but maintain binary compatibility for the moment.
21274 Will fix before 0.9 is out.
21276 * gst/gstqueryutils.c:
21277 * gst/gstqueryutils.h: New files, implement 3 methods for each
21278 query type: parse_query, parse_response, and set. Probably need an
21281 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21283 * gst/elements/gstfilesink.c (gst_filesink_query2):
21284 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21285 query_types, and formats methods.
21287 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21288 (gst_pad_set_query2_function): New functions.
21289 (gst_real_pad_init): Set query2_default as the default query2
21290 function. Basically just dispatches to internally linked pads.
21294 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21295 without using the atomic operations. Only one thread can possibly
21296 be accessing the data at this point. Changed so as to avoid
21297 gst_atomic operations.
21299 2005-05-06 Wim Taymans <wim@fluendo.com>
21301 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21302 Also set caps if we use the fallback buffer alloc.
21304 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
21306 * docs/gst/Makefile.am:
21307 * docs/gst/gstreamer-docs.sgml:
21308 * docs/gst/gstreamer-sections.txt:
21309 * docs/gst/tmpl/gstatomic.sgml:
21310 * docs/gst/tmpl/gstmemchunk.sgml:
21311 * testsuite/elements/struct_i386.h:
21312 * win32/GStreamer.vcproj:
21314 Purge GstAtomic stuff from docs and win32 makefiles as well
21316 2005-05-06 Wim Taymans <wim@fluendo.com>
21318 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21319 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21320 * gst/gstpad.c: (gst_pad_peer_get_caps):
21321 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21322 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21323 (gst_queue_src_activate), (gst_queue_change_state):
21325 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21326 (intersect_caps_func):
21327 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21328 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21329 Some fixes for the peer_get_caps() change.
21331 2005-05-06 Wim Taymans <wim@fluendo.com>
21333 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21334 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21335 (gst_basesink_activate):
21336 Actually do something with error codes returned from the push
21339 2005-05-06 Wim Taymans <wim@fluendo.com>
21341 * docs/design/part-element-sink.txt:
21342 * docs/design/part-element-source.txt:
21343 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21344 (gst_basesink_event), (gst_basesink_activate):
21345 * gst/base/gstbasesink.h:
21346 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21347 (gst_basesrc_activate):
21348 * gst/base/gstbasesrc.h:
21349 * gst/gstelement.c: (gst_element_pads_activate):
21350 Some more documentation.
21351 Fixed scheduling decision in _pads_activate().
21353 2005-05-05 Andy Wingo <wingo@pobox.com>
21355 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21358 2005-05-05 Wim Taymans <wim@fluendo.com>
21360 * gst/base/Makefile.am:
21361 * gst/base/gstbasesink.h:
21362 * gst/base/gstbasesrc.c: (gst_basesrc_init),
21363 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21364 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21365 (gst_collectpads_class_init), (gst_collectpads_init),
21366 (gst_collectpads_finalize), (gst_collectpads_new),
21367 (gst_collectpads_set_function), (gst_collectpads_add_pad),
21368 (find_pad), (gst_collectpads_remove_pad),
21369 (gst_collectpads_is_active), (gst_collectpads_collect),
21370 (gst_collectpads_collect_range), (gst_collectpads_start),
21371 (gst_collectpads_stop), (gst_collectpads_peek),
21372 (gst_collectpads_pop), (gst_collectpads_available),
21373 (gst_collectpads_read), (gst_collectpads_flush),
21374 (gst_collectpads_chain):
21375 * gst/base/gstcollectpads.h:
21376 * gst/elements/Makefile.am:
21377 * gst/elements/gstelements.c:
21378 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21379 (gst_fakesink_get_times), (gst_fakesink_event),
21380 (gst_fakesink_preroll), (gst_fakesink_render):
21381 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21382 (gst_filesink_init), (gst_filesink_set_location),
21383 (gst_filesink_open_file), (gst_filesink_close_file),
21384 (gst_filesink_pad_query), (gst_filesink_event),
21385 (gst_filesink_render), (gst_filesink_change_state):
21386 * gst/elements/gstfilesink.h:
21387 Added object to help in making collect pad based elements.
21389 Make event function in sink baseclass return gboolean.
21391 2005-05-05 Wim Taymans <wim@fluendo.com>
21393 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21394 (gst_bin_get_by_name):
21396 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21397 (gst_clock_finalize):
21398 * gst/gstdata.c: (gst_data_replace):
21400 * gst/gstelement.c: (gst_element_request_pad),
21401 (gst_element_pads_activate):
21402 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21403 (gst_object_unref):
21404 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21405 (gst_pad_set_checkgetrange_function),
21406 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21407 (gst_pad_check_pull_range), (gst_pad_pull_range),
21408 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21409 (gst_pad_pause_task), (gst_pad_stop_task):
21410 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21411 (gst_element_request_pad), (gst_pad_proxy_getcaps):
21412 Fix name lookup in GstBin.
21413 Added _data_replace() function and _buffer_replace()
21414 Use finalize method to clean up clock.
21415 Fix refcounting on request pads.
21416 Fix pad schedule mode error.
21417 Some more object refcounting debug info,
21420 2005-05-04 Andy Wingo <wingo@pobox.com>
21422 * check/Makefile.am:
21423 * docs/gst/tmpl/gstatomic.sgml:
21424 * docs/gst/tmpl/gstplugin.sgml:
21425 * gst/base/gstbasesink.c: (gst_basesink_activate):
21426 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21427 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21428 (gst_basesrc_query), (gst_basesrc_set_property),
21429 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21430 (gst_basesrc_activate):
21431 * gst/base/gstbasesrc.h:
21432 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21433 (gst_base_transform_src_activate):
21434 * gst/elements/gstelements.c:
21435 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21436 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21437 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21438 * gst/elements/gsttypefindelement.c: (find_element_get_length),
21439 (gst_type_find_element_checkgetrange),
21440 (gst_type_find_element_activate):
21441 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21442 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21443 (gst_caps_load_thyself):
21444 * gst/gstelement.c: (gst_element_pads_activate),
21445 (gst_element_save_thyself), (gst_element_restore_thyself):
21446 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21447 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21449 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21450 (gst_xml_parse_file), (gst_xml_parse_memory),
21451 (gst_xml_get_element), (gst_xml_make_element):
21452 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21453 (_file_index_id_save_xml), (gst_file_index_commit):
21454 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21455 (read_enum), (load_pad_template), (load_feature), (load_plugin),
21457 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21458 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21459 * tools/gst-complete.c: (main):
21460 * tools/gst-compprep.c: (main):
21461 * tools/gst-inspect.c: (print_element_properties_info):
21462 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21463 * tools/gst-xmlinspect.c: (print_element_properties):
21466 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
21468 * gst/gstplugin.c: (gst_plugin_check_module),
21469 (gst_plugin_check_file), (gst_plugin_load_file):
21470 apply patch from #172526 to make register work on MacOSX
21472 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21474 * docs/gst/tmpl/gstconfig.sgml:
21475 * gst/gstconfig.h.in:
21476 move documentation for some symbols. Add doc for GST_PTR_FORMAT
21477 * testsuite/debug/printf_extension.c: (main):
21478 Do not use GST_PTR_FORMAT on pointers to types with
21479 sizeof < sizeof(gpointer). Fixes test on 64-bit
21480 * testsuite/elements/property.h:
21481 use correct printf format
21483 2005-05-02 Wim Taymans <wim@fluendo.com>
21485 * docs/design/draft-push-pull.txt:
21486 * docs/design/draft-query.txt:
21487 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21488 (gst_basesrc_start):
21489 Added draft for new query API.
21490 Added draft for better selecting scheduling methods.
21491 Make basesrc ignore length if the subclass does not support
21494 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21497 possible fixes for automake-1.5 - _LIBADD is reserved
21499 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21501 * docs/faq/Makefile.am:
21502 * docs/manual/Makefile.am:
21503 * docs/manuals.mak:
21504 * docs/pwg/Makefile.am:
21506 possible fixes for automake-1.5
21508 2005-04-28 Wim Taymans <wim@fluendo.com>
21510 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21511 (gst_basesink_pad_getcaps), (gst_basesink_init),
21512 (gst_basesink_do_sync):
21513 * gst/gstclock.c: (gst_clock_entry_new):
21514 * gst/gstevent.c: (gst_event_discont_get_value):
21515 * gst/gstpipeline.c: (pipeline_bus_handler),
21516 (gst_pipeline_change_state):
21517 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21518 Better debugging of clocking info.
21519 Allow NULL values when getting discont values.
21521 2005-04-27 Wim Taymans <wim@fluendo.com>
21523 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21524 * check/gst/gstpad.c: (gst_pad_suite):
21525 Increase timeout for checks.
21527 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21529 * check/Makefile.am:
21530 fix the broken rule for cleanup. Apparently this rule is
21531 only needed on FC2, so maybe this warrants further autotool
21534 2005-04-26 Wim Taymans <wim@fluendo.com>
21536 * gst/gsttrashstack.h:
21537 Ooohh. a nasty one! After having a failed pop() from the stack,
21538 it's possible that the stack is empty. In that case, don't
21539 follow the NULL pointer.
21541 2005-04-25 Wim Taymans <wim@fluendo.com>
21543 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21544 (gst_pad_set_checkgetrange_function),
21545 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21546 (gst_pad_check_pull_range), (gst_pad_pull_range),
21547 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21548 (gst_pad_pause_task), (gst_pad_stop_task):
21549 * gst/gstplugin.c: (gst_plugin_load):
21551 Remove gst_library_load as it does more harm than good with
21552 the new g_module flags.
21553 Revert bogus caps template check in pad linking, pad caps
21554 are important when linking not the template, which is more
21555 general than the current caps.
21557 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21559 * gst/autoplug/.cvsignore:
21560 * gst/autoplug/Makefile.am:
21561 * gst/autoplug/gstsearchfuncs.c:
21562 * gst/autoplug/gstsearchfuncs.h:
21563 * gst/autoplug/gstspider.c:
21564 * gst/autoplug/gstspider.h:
21565 * gst/autoplug/gstspideridentity.c:
21566 * gst/autoplug/gstspideridentity.h:
21567 * gst/autoplug/spidertest.c:
21570 2005-04-25 Wim Taymans <wim@fluendo.com>
21572 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21573 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21574 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21575 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21577 Added stubs for unimplemented functions.
21579 2005-04-24 David Schleef <ds@schleef.org>
21581 * gst/gstpad.h: Disable some unimplemented functions. Wim,
21584 2005-04-24 David Schleef <ds@schleef.org>
21586 Convert everything from GstAtomicInt to g_atomic_int_*, and
21591 * gst/gstatomic_impl.h:
21599 * gst/gstdata_private.h:
21603 * gst/gstmessage.c:
21606 * gst/gststructure.c:
21607 * gst/gststructure.h:
21608 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21611 2005-04-24 David Schleef <ds@schleef.org>
21613 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21614 make the regressions tests work. Remove some code that is no
21616 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21617 Disable warning for pads without templates.
21619 2005-04-24 David Schleef <ds@schleef.org>
21621 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
21622 functions that handle filtered links.
21623 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21625 * gst/gstutils.c: Fix/remove utility functions that handle
21628 * gst/gstvalue.c: Add serialization/deserialization of caps
21629 * gst/parse/grammar.y: Ignore filtered caps when linking. This
21630 requires fixing so that the filter caps notation creates
21631 a capsfilter element and sets the filter_caps property. I
21632 think everyone probably wants to keep the shorthand notation.
21633 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21634 * docs/gst/tmpl/gstpad.sgml:
21636 * gst/elements/gstelements.c: Register capsfilter element.
21637 * gst/Makefile.am: fix spacing
21638 * docs/random/ds/0.9-suggested-changes: random
21640 2005-04-23 David Schleef <ds@schleef.org>
21642 * gst/elements/Makefile.am:
21643 * gst/elements/gstcapsfilter.c: New element that acts like an
21644 identity, but filters caps. Will eventually replace filtered
21645 caps in pad linking.
21646 * gst/gstutils.c: (gst_element_create_all_pads): New function
21647 to create all the ALWAYS pads that are registered with an
21648 element class. This functionality should eventually be
21649 merged in with GstElement initialization.
21651 * testsuite/trigger/README: part of trigger test code that should
21652 have been checked in a long time ago.
21654 2005-04-23 David Schleef <ds@schleef.org>
21656 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
21657 needed with new versions of libtool (nobody will confirm this),
21658 and hard to carry around.
21659 * gst/autoplug/Makefile.am:
21660 * gst/base/Makefile.am:
21661 * gst/elements/Makefile.am:
21662 * gst/indexers/Makefile.am:
21663 * gst/schedulers/Makefile.am:
21664 * libs/gst/bytestream/Makefile.am:
21665 * libs/gst/control/Makefile.am:
21666 * libs/gst/dataprotocol/Makefile.am:
21667 * libs/gst/getbits/Makefile.am:
21669 2005-04-21 Wim Taymans <wim@fluendo.com>
21671 * docs/design/draft-push-pull.txt:
21672 * docs/design/part-MT-refcounting.txt:
21673 * docs/design/part-TODO.txt:
21674 * docs/design/part-caps.txt:
21675 * docs/design/part-events.txt:
21676 * docs/design/part-gstbus.txt:
21677 * docs/design/part-gstpipeline.txt:
21678 * docs/design/part-messages.txt:
21679 * docs/design/part-push-pull.txt:
21680 * docs/design/part-query.txt:
21683 2005-04-21 Wim Taymans <wim@fluendo.com>
21685 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21686 (gst_message_new), (gst_message_new_error),
21687 (gst_message_new_warning), (gst_message_new_tag),
21688 (gst_message_new_state_changed), (gst_message_new_application),
21689 (gst_message_get_structure):
21690 * gst/gstmessage.h:
21691 * gst/gststructure.c: (gst_structure_set_parent_refcount),
21692 (gst_structure_copy_conditional):
21693 Use parent refcount in GstMessage to ensure GstStructure
21695 Cleaned up headers a bit.
21698 2005-04-20 Wim Taymans <wim@fluendo.com>
21700 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21701 (gst_basesink_pad_getcaps), (gst_basesink_init),
21702 (gst_basesink_chain_unlocked):
21703 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21704 (gst_type_find_helper):
21705 * gst/elements/gsttypefindelement.c:
21706 (gst_type_find_element_have_type), (gst_type_find_element_init),
21707 (stop_typefinding), (gst_type_find_element_handle_event),
21708 (find_suggest), (gst_type_find_element_chain),
21709 (gst_type_find_element_checkgetrange),
21710 (gst_type_find_element_getrange), (do_typefind),
21711 (gst_type_find_element_activate):
21712 * gst/gstbuffer.c: (_gst_buffer_sub_free),
21713 (gst_buffer_default_free), (gst_buffer_default_copy),
21714 (gst_buffer_set_caps):
21715 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21716 (gst_caps_replace):
21717 * gst/gstmessage.c: (gst_message_new),
21718 (gst_message_new_state_changed):
21719 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21720 (gst_pad_set_checkgetrange_function),
21721 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21722 (gst_pad_set_caps), (gst_pad_check_pull_range),
21723 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21725 * gst/gsttypefind.c: (gst_type_find_register):
21726 Make gst_caps_replace() work like other _replace() functions.
21727 Use _caps_replace() where possible.
21728 Make sure _message_new() initialises its field.
21729 Add gst_static_pad_template_get_caps()
21732 2005-04-18 Andy Wingo <wingo@pobox.com>
21734 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21735 on the peer, not the pad. I think that was a typo. Pass an extra
21736 arg to see if random access is possible. Activate the pads as
21737 PULL_RANGE if possible.
21739 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21741 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
21742 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21745 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21747 * docs/faq/using.xml:
21748 Add note on gstreamer-properties (#154996).
21750 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21752 * docs/random/bbb/optional-properties:
21753 Some analysis on optional properties.
21755 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21757 * docs/gst/tmpl/gstelementfactory.sgml:
21758 * gst/gstelement.h:
21759 * gst/gstelementfactory.c: (gst_element_factory_init),
21760 (gst_element_factory_cleanup), (gst_element_register),
21761 (__gst_element_factory_add_static_pad_template),
21762 (gst_element_factory_get_static_pad_templates),
21763 (gst_element_factory_can_src_caps),
21764 (gst_element_factory_can_sink_caps):
21765 * gst/registries/Makefile.am:
21766 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
21767 (gst_xml_registry_class_init), (gst_xml_registry_init),
21768 (gst_xml_registry_new), (gst_xml_registry_set_property),
21769 (gst_xml_registry_get_property), (get_time), (make_dir),
21770 (gst_xml_registry_get_perms_func),
21771 (plugin_times_older_than_recurse), (plugin_times_older_than),
21772 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
21773 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
21774 (add_to_char_array), (read_string), (read_uint), (read_enum),
21775 (load_pad_template), (load_feature), (load_plugin), (load_paths),
21776 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
21777 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
21778 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
21779 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
21780 (gst_xml_registry_rebuild):
21781 * gst/registries/gstlibxmlregistry.h:
21782 * tools/gst-compprep.c: (main):
21783 * tools/gst-inspect.c: (print_pad_templates_info):
21784 * tools/gst-xmlinspect.c: (print_element_info):
21785 Use libxml2 for registry parsing, use staticpadtemplates in
21786 elementfactories. Makes gst_init() +/- 10x faster.
21788 2005-04-12 Wim Taymans <wim@fluendo.com>
21790 * gst/base/Makefile.am:
21791 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21792 (gst_basesink_pad_getcaps), (gst_basesink_init),
21793 (gst_basesink_event), (gst_basesink_change_state):
21794 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21795 (gst_basesrc_init), (gst_basesrc_query),
21796 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21797 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21798 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21799 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21800 (gst_basesrc_stop), (gst_basesrc_activate),
21801 (gst_basesrc_change_state):
21802 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21803 (helper_find_suggest), (gst_type_find_helper):
21804 * gst/base/gsttypefindhelper.h:
21805 * gst/elements/Makefile.am:
21806 * gst/elements/gstelements.c:
21807 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21808 (gst_fakesink_get_times), (gst_fakesink_event),
21809 (gst_fakesink_preroll), (gst_fakesink_render):
21810 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21811 (gst_fakesrc_init), (gst_fakesrc_event_handler),
21812 (gst_fakesrc_get_property), (gst_fakesrc_create),
21813 (gst_fakesrc_start), (gst_fakesrc_stop):
21814 * gst/elements/gstfakesrc.h:
21815 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
21816 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21817 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21818 (gst_filesrc_create_read), (gst_filesrc_create),
21819 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
21820 (gst_filesrc_start):
21821 * gst/elements/gsttypefindelement.c:
21822 (gst_type_find_element_have_type), (gst_type_find_element_init),
21823 (start_typefinding), (stop_typefinding), (push_buffer_store),
21824 (gst_type_find_element_handle_event),
21825 (gst_type_find_element_chain),
21826 (gst_type_find_element_checkgetrange),
21827 (gst_type_find_element_getrange), (do_typefind),
21828 (gst_type_find_element_activate),
21829 (gst_type_find_element_change_state):
21830 * gst/elements/gsttypefindelement.h:
21831 * gst/gstpipeline.c: (pipeline_bus_handler):
21832 Added typefind helper.
21833 Small preroll fix in the base sink.
21834 Disable typefind code in basesrc.
21835 Crude port of typefindelement.
21839 2005-04-11 Wim Taymans <wim@fluendo.com>
21841 * check/gst/gstbus.c: (gstbus_suite):
21842 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
21843 * check/gstcheck.h:
21844 Fix up the timeout so that the test does not fail.
21846 2005-04-06 Wim Taymans <wim@fluendo.com>
21849 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21850 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
21851 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21852 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21853 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21854 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21855 (gst_basesrc_stop), (gst_basesrc_activate),
21856 (gst_basesrc_change_state), (basesrc_find_peek),
21857 (basesrc_find_suggest), (gst_basesrc_type_find):
21858 * gst/base/gstbasesrc.h:
21859 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
21860 (gst_filesrc_class_init), (gst_filesrc_init),
21861 (gst_filesrc_finalize), (gst_filesrc_set_location),
21862 (gst_filesrc_set_property), (gst_filesrc_get_property),
21863 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21864 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21865 (gst_filesrc_create_read), (gst_filesrc_create),
21866 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
21867 * gst/elements/gstfilesrc.h:
21868 * gst/gstelement.c: (gst_element_get_state_func),
21869 (gst_element_lost_state), (gst_element_pads_activate):
21870 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21871 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21872 (gst_pad_pull_range):
21874 More work on the generic source base class, implement seeking,
21876 Make filesrc extend the base source class.
21877 Added gst_pad_set_checkgetrange_function to GstPad.
21879 2005-04-06 Andy Wingo <wingo@pobox.com>
21881 * pkgconfig/gstreamer-base.pc.in:
21882 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
21884 * pkgconfig/Makefile.am:
21885 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
21887 2005-04-04 Wim Taymans <wim@fluendo.com>
21889 * gst/base/Makefile.am:
21891 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21892 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21893 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21894 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
21895 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21896 (gst_basesrc_base_init), (gst_basesrc_class_init),
21897 (gst_basesrc_init), (gst_basesrc_get_formats),
21898 (gst_basesrc_get_query_types), (gst_basesrc_query),
21899 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
21900 (gst_basesrc_set_property), (gst_basesrc_get_property),
21901 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
21902 (gst_basesrc_loop), (gst_basesrc_activate),
21903 (gst_basesrc_change_state):
21904 * gst/base/gstbasesrc.h:
21905 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
21906 (gst_fakesrc_class_init), (gst_fakesrc_init),
21907 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
21908 (gst_fakesrc_get_property), (gst_fakesrc_create):
21909 * gst/elements/gstfakesrc.h:
21910 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
21911 (gst_filesrc_open_file), (gst_filesrc_loop),
21912 (gst_filesrc_activate), (filesrc_find_peek),
21913 (gst_filesrc_type_find):
21914 Made base source class, make fakesrc extend it.
21915 Add comments to basesink class.
21916 Some filesrc cleanup.
21918 2005-03-31 David Schleef <ds@schleef.org>
21920 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
21921 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
21922 expected to link against libgstreamer.
21923 * gst/base/Makefile.am: link against libgstreamer
21924 * gst/elements/Makefile.am: same
21926 2005-03-31 Andy Wingo <wingo@pobox.com>
21928 * tests/instantiate/Makefile.am:
21929 * tests/instantiate/caps.c: Add test to test speed of caps copy
21932 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
21933 GMemChunk to be fair.
21935 * gst/gsttrashstack.h: Remove warning about using the fallback
21936 trash stack implementation, it's still faster than malloc.
21938 2005-03-30 Andy Wingo <wingo@pobox.com>
21940 * tests/complexity.c: Add a copyright.
21942 2005-03-31 Wim Taymans <wim@fluendo.com>
21944 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
21945 (gst_base_transform_class_init), (gst_base_transform_init),
21946 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21947 (gst_base_transform_get_property),
21948 (gst_base_transform_sink_activate),
21949 (gst_base_transform_src_activate),
21950 (gst_base_transform_change_state):
21951 * gst/base/gstbasetransform.h:
21952 * gst/elements/gstidentity.c: (gst_identity_class_init),
21953 (gst_identity_event), (gst_identity_check_perfect),
21954 (gst_identity_transform), (gst_identity_start),
21955 (gst_identity_stop):
21956 Added start/stop methods to transform base class so subclasses
21957 don't need to deal with state changes even.
21959 2005-03-31 Wim Taymans <wim@fluendo.com>
21961 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
21962 (gst_event_new_discontinuous), (gst_event_discont_get_value):
21964 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21965 (gst_pad_pull_range):
21966 Added rate to the discont event to prepare for variable speed
21967 and reverse playback.
21969 2005-03-29 David Schleef <ds@schleef.org>
21972 * testsuite/trigger/Makefile.am:
21973 * testsuite/trigger/trigger.c: A little example program to show
21974 how trigger-based elements can work.
21976 2005-03-29 Wim Taymans <wim@fluendo.com>
21978 * gst/base/Makefile.am:
21980 * gst/base/gstbasesink.c: (gst_basesink_get_type),
21981 (gst_basesink_base_init), (gst_basesink_class_init),
21982 (gst_basesink_pad_getcaps), (gst_basesink_init),
21983 (gst_basesink_activate), (gst_basesink_change_state):
21984 * gst/base/gstbasesink.h:
21985 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
21986 (gst_base_transform_base_init), (gst_base_transform_finalize),
21987 (gst_base_transform_class_init), (gst_base_transform_init),
21988 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
21989 (gst_base_transform_event), (gst_base_transform_getrange),
21990 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
21991 (gst_base_transform_set_property),
21992 (gst_base_transform_get_property),
21993 (gst_base_transform_sink_activate),
21994 (gst_base_transform_src_activate),
21995 (gst_base_transform_change_state):
21996 * gst/base/gstbasetransform.h:
21997 * gst/elements/gstidentity.c: (gst_identity_finalize),
21998 (gst_identity_class_init), (gst_identity_init),
21999 (gst_identity_event), (gst_identity_check_perfect),
22000 (gst_identity_transform), (gst_identity_set_property),
22001 (gst_identity_get_property), (gst_identity_change_state):
22002 * gst/elements/gstidentity.h:
22003 * gst/gstelement.c: (gst_element_get_state_func),
22004 (gst_element_lost_state), (gst_element_pads_activate):
22005 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22006 (gst_pad_check_pull_range), (gst_pad_pull_range):
22008 Simplify pad activation.
22009 Added function to check if pull_range can be performed.
22010 Error out when pulling inactive or flushing pads.
22011 Removed const from refcounted types as it does not make sense.
22012 Simplify pad templates in basesink
22013 Added base class for simple 1-to-1 transforms.
22014 Make identity subclass the base transform.
22016 2005-03-29 Andy Wingo <wingo@pobox.com>
22018 * docs/libs/gstreamer-libs-overrides.txt:
22019 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22020 really don't understand what's going on, but like whatever. I want
22023 * docs/gst/Makefile.am:
22024 * docs/libs/Makefile.am: Dist the overrides files.
22026 * check/Makefile.am (clean-local): Remove .libs directories.
22028 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22029 elements to EXTRA_DIST, so po/ files are happy.
22031 * po/POTFILES.in: Er, remove it here.
22033 * po/POTFILES: Remove gstspider.c.
22035 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22037 * docs/libs/gstreamer-libs-docs.sgml:
22038 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22041 * tests/complexity.c (main): Set the length of the preroll queue
22042 on the sinks to prevent a lockup.
22044 * libs/gst/dataprotocol/Makefile.am:
22045 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22046 the same as the one in check/gst-libs/gdp.c.
22048 * po/, docs/gst/: Commit automatic changes to docs and po files.
22050 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22051 the versioned libgstbase.
22053 * check/Makefile.am: Depend on an unversioned gst-register, seems
22054 to make autoconf happier.
22056 * gst/base/Makefile.am: Make libgstbase a versioned lib.
22058 2005-03-28 Wim Taymans <wim@fluendo.com>
22061 * docs/design/part-gstelement.txt:
22062 * docs/design/part-negotiation.txt:
22063 * docs/design/part-preroll.txt:
22064 * docs/design/part-scheduling.txt:
22065 * docs/design/part-states.txt:
22067 * gst/base/Makefile.am:
22069 * gst/base/gstbasesink.c: (gst_basesink_get_template),
22070 (gst_basesink_base_init), (gst_basesink_class_init),
22071 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22072 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22073 (gst_basesink_set_pad_functions),
22074 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22075 (gst_basesink_set_property), (gst_basesink_get_property),
22076 (gst_base_sink_get_template), (gst_base_sink_get_caps),
22077 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22078 (gst_basesink_preroll_queue_push),
22079 (gst_basesink_preroll_queue_empty),
22080 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22081 (gst_basesink_event), (gst_basesink_get_times),
22082 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22083 (gst_basesink_chain_unlocked), (gst_basesink_chain),
22084 (gst_basesink_loop), (gst_basesink_activate),
22085 (gst_basesink_change_state):
22086 * gst/base/gstbasesink.h:
22087 * gst/elements/Makefile.am:
22088 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22089 (gst_fakesink_class_init), (gst_fakesink_init),
22090 (gst_fakesink_set_property), (gst_fakesink_get_property),
22091 (gst_fakesink_get_times), (gst_fakesink_event),
22092 (gst_fakesink_preroll), (gst_fakesink_render),
22093 (gst_fakesink_change_state):
22094 * gst/elements/gstfakesink.h:
22095 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22096 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22097 * gst/gstelement.c: (gst_element_add_pad),
22098 (gst_element_get_state_func), (gst_element_abort_state),
22099 (gst_element_commit_state), (gst_element_lost_state),
22100 (gst_element_set_state), (gst_element_pads_activate):
22101 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22102 * gst/gstpipeline.c: (gst_pipeline_send_event),
22103 (gst_pipeline_change_state):
22104 Added state change code.
22105 Added/updated docs.
22106 Added sink base class, make fakesink extend the base class.
22107 Small cleanups in GstPipeline.
22109 2005-03-26 David Schleef <ds@schleef.org>
22111 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
22112 is broken and should be implemented in a different library.
22113 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22114 * gst/gst.h: remove gstcpu.h
22115 * gst/gstcpu.c: remove
22116 * gst/gstcpu.h: remove
22117 * gst/Makefile.am.future: Remove this file. It's ancient.
22119 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22121 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22122 (gst_bin_send_event):
22123 Add default event/set_manager handlers. The set_manager handler
22124 takes care that the manager is distributed over kids that were
22125 already in the bin before the manager was set. The event handler
22126 is a utility virtual function that sends the event over all sinks,
22127 so that gst_element_send_event (bin, event); has the expected
22129 * gst/gstpad.c: (gst_pad_event_default):
22130 Re-install default event handling for discontinuities, so that
22131 seeking works without requiring hacks in applications or extra
22133 * gst/gstpipeline.c: (gst_pipeline_class_init),
22134 (gst_pipeline_send_event):
22135 Half hack, half utility: set a pipeline to PAUSED for seek events,
22136 since that is the only way we can guarantee a/v sync. Means that
22137 you can do gst_element_seek (pipeline, method, pos); on a pipeline
22138 and it "just works".
22140 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22142 * gst/gstpipeline.c: (gst_pipeline_use_clock):
22143 Lock/unlock mismatch.
22145 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
22147 * docs/faq/gst-uninstalled:
22148 add gst-plugins-base
22149 * docs/gst/Makefile.am:
22150 don't error out until docs are fixed
22151 * docs/gst/gstreamer.types:
22154 2005-03-22 Wim Taymans <wim@fluendo.com>
22156 * check/Makefile.am:
22157 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22158 * gst/gststructure.c: (gst_structure_set_valist),
22159 (gst_structure_copy_conditional):
22160 Activated more tests.
22161 Added message test.
22162 Added G_TYPE_POINTER to GstStructure.
22165 2005-03-22 Wim Taymans <wim@fluendo.com>
22167 * docs/design/part-TODO.txt:
22168 * docs/design/part-events.txt:
22169 * docs/design/part-gstbin.txt:
22170 * docs/design/part-gstbus.txt:
22171 * docs/design/part-gstpipeline.txt:
22172 * docs/design/part-messages.txt:
22174 * gst/gstmessage.c:
22177 2005-03-21 Wim Taymans <wim@fluendo.com>
22179 * gst/gstbus.c: (gst_bus_post):
22180 Fix copy-and-paste error.
22182 2005-03-21 Wim Taymans <wim@fluendo.com>
22184 * check/Makefile.am:
22186 * gst/elements/Makefile.am:
22187 * gst/elements/gstelements.c:
22188 * gst/elements/gstfakesink.c: (gst_fakesink_init),
22189 (gst_fakesink_event), (gst_fakesink_chain):
22190 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22191 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22192 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22193 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22194 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22195 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22196 (gst_fakesrc_loop), (gst_fakesrc_activate),
22197 (gst_fakesrc_change_state):
22198 * gst/elements/gstfakesrc.h:
22199 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22200 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22201 (gst_filesrc_open_file), (gst_filesrc_loop),
22202 (gst_filesrc_activate), (gst_filesrc_change_state),
22203 (filesrc_find_peek), (filesrc_find_suggest),
22204 (gst_filesrc_type_find):
22205 * gst/elements/gstidentity.c: (gst_identity_finalize),
22206 (gst_identity_class_init), (gst_identity_init),
22207 (gst_identity_proxy_getcaps), (identity_queue_push),
22208 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22209 (gst_identity_getrange), (gst_identity_chain),
22210 (gst_identity_sink_loop), (gst_identity_src_loop),
22211 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22212 (gst_identity_set_property), (gst_identity_get_property),
22213 (gst_identity_change_state):
22214 * gst/elements/gstidentity.h:
22215 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22216 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22217 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22218 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22219 (gst_tee_sink_activate):
22220 * gst/elements/gsttee.h:
22221 * gst/gst.c: (gst_register_core_elements), (init_post):
22223 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22224 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22225 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22226 (gst_bin_change_state):
22228 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22229 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22230 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22231 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22232 (gst_bus_set_sync_handler), (gst_bus_create_watch),
22233 (bus_watch_callback), (bus_watch_destroy),
22234 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22235 (poll_timeout), (gst_bus_poll):
22239 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22240 (gst_element_post_message), (gst_element_message_full),
22241 (gst_element_get_state_func), (gst_element_get_state),
22242 (gst_element_abort_state), (gst_element_commit_state),
22243 (gst_element_lost_state), (gst_element_set_state),
22244 (gst_element_pads_activate), (gst_element_change_state),
22245 (gst_element_dispose), (gst_element_set_manager_func),
22246 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22247 (gst_element_set_manager), (gst_element_get_manager),
22248 (gst_element_set_bus), (gst_element_get_bus),
22249 (gst_element_set_scheduler), (gst_element_get_scheduler):
22250 * gst/gstelement.h:
22251 * gst/gstevent.c: (gst_event_new_segment_seek),
22252 (gst_event_new_flush):
22254 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22255 (_gst_message_free), (gst_message_get_type), (gst_message_new),
22256 (gst_message_new_eos), (gst_message_new_error),
22257 (gst_message_new_warning), (gst_message_new_tag),
22258 (gst_message_new_state_changed), (gst_message_new_application),
22259 (gst_message_get_structure), (gst_message_parse_tag),
22260 (gst_message_parse_state_changed), (gst_message_parse_error),
22261 (gst_message_parse_warning):
22262 * gst/gstmessage.h:
22263 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22264 (gst_real_pad_set_property), (gst_pad_set_active),
22265 (gst_pad_is_active), (gst_pad_set_blocked_async),
22266 (gst_pad_set_blocked), (gst_pad_is_blocked),
22267 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22268 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22269 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22270 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22271 (gst_pad_link_filtered), (gst_pad_relink_filtered),
22272 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22273 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22274 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22275 (gst_pad_set_caps), (gst_pad_configure_sink),
22276 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22277 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22278 (gst_real_pad_dispose), (gst_real_pad_finalize),
22279 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22280 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22281 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22283 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22284 (pipeline_bus_handler), (gst_pipeline_change_state),
22285 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22286 * gst/gstpipeline.h:
22288 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22289 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22290 (gst_queue_link_src), (gst_queue_bufferalloc),
22291 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22292 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22293 (gst_queue_loop), (gst_queue_handle_src_event),
22294 (gst_queue_handle_src_query), (gst_queue_src_activate),
22295 (gst_queue_change_state):
22297 * gst/gstscheduler.c: (gst_scheduler_init),
22298 (gst_scheduler_dispose), (gst_scheduler_create_task),
22299 (gst_scheduler_factory_create):
22300 * gst/gstscheduler.h:
22301 * gst/gststructure.c: (gst_structure_get_type),
22302 (gst_structure_copy_conditional):
22303 * gst/gststructure.h:
22304 * gst/gsttaginterface.h:
22305 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22306 (gst_task_init), (gst_task_dispose), (gst_task_create),
22307 (gst_task_get_state), (gst_task_start), (gst_task_stop),
22313 * gst/schedulers/Makefile.am:
22314 * gst/schedulers/cothreads_compat.h:
22315 * gst/schedulers/entryscheduler.c:
22316 * gst/schedulers/faircothreads.c:
22317 * gst/schedulers/faircothreads.h:
22318 * gst/schedulers/fairscheduler.c:
22319 * gst/schedulers/gstbasicscheduler.c:
22320 * gst/schedulers/gstoptimalscheduler.c:
22321 * gst/schedulers/gthread-cothreads.h:
22322 * gst/schedulers/threadscheduler.c:
22323 (gst_thread_scheduler_task_get_type),
22324 (gst_thread_scheduler_task_class_init),
22325 (gst_thread_scheduler_task_init),
22326 (gst_thread_scheduler_task_start),
22327 (gst_thread_scheduler_task_stop),
22328 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22329 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22330 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22331 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22333 * libs/gst/Makefile.am:
22334 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22335 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22336 (gst_file_pad_parent_set):
22337 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22338 (gst_dp_event_from_packet):
22339 * tests/complexity.c: (main):
22340 * tests/mass_elements.c: (main):
22341 * testsuite/states/locked.c: (message_received), (main):
22342 * testsuite/states/parent.c: (main):
22343 * tools/gst-inspect.c: (print_element_flag_info),
22344 (print_implementation_info), (print_pad_info):
22345 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22347 * tools/gst-md5sum.c: (event_loop), (main):
22348 * tools/gst-typefind.c: (main):
22349 * tools/gst-xmlinspect.c: (print_element_info):
22351 Added GstBus for mainloop integration.
22352 Added GstMessage for sending notifications on the bus.
22353 Added GstTask as an abstraction for pipeline entry points.
22355 Removed Schedulers.
22356 Simplified GstQueue for multithreaded core.
22357 Made _link threadsafe, removed old capsnego.
22358 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22359 Added pad blocking functions.
22360 Reworked scheduling functions in GstPad to prepare for
22361 scheduling updates soon.
22362 Moved events out of data stream.
22363 Simplified GstEvent types.
22364 Added return values to push/pull.
22365 Removed clocking from GstElement.
22366 Added prototypes for state change function for next merge.
22367 Removed iterate from bins and state change management.
22368 Fixed some elements, disabled others for now.
22369 Fixed -inspect and -launch.
22370 Added check for GstBus.
22372 2005-03-10 Wim Taymans <wim@fluendo.com>
22374 * docs/design/part-MT-refcounting.txt:
22375 * docs/design/part-clocks.txt:
22376 * docs/design/part-gstelement.txt:
22377 * docs/design/part-gstobject.txt:
22378 * docs/design/part-standards.txt:
22379 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22380 (gst_bin_remove_func), (gst_bin_remove):
22384 * testsuite/clock/clock1.c: (main):
22385 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22387 * testsuite/dlopen/loadgst.c: (do_test):
22388 * testsuite/refcounting/bin.c: (add_remove_test1),
22389 (add_remove_test2), (main):
22390 * testsuite/refcounting/element.c: (main):
22391 * testsuite/refcounting/element_pad.c: (main):
22392 * testsuite/refcounting/pad.c: (main):
22393 * tools/gst-launch.c: (sigint_handler_sighandler):
22394 * tools/gst-typefind.c: (main):
22396 Added doc about clock.
22397 removed gst_bin_iterate_recurse_up(), marked methods
22399 Fix more testsuites.
22401 2005-03-09 Wim Taymans <wim@fluendo.com>
22403 * gst/gstpad.c: (gst_pad_get_direction),
22404 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22405 (gst_pad_collect_valist):
22406 * testsuite/bins/interface.c: (main):
22407 * testsuite/caps/audioscale.c: (test_caps):
22408 * testsuite/caps/caps.c: (test1), (test2), (test3):
22409 * testsuite/caps/deserialize.c: (main):
22410 * testsuite/caps/enumcaps.c: (main):
22411 * testsuite/caps/filtercaps.c: (main):
22412 * testsuite/caps/intersect2.c: (main):
22413 * testsuite/caps/random.c: (main):
22414 * testsuite/caps/renegotiate.c: (my_fixate), (main):
22415 * testsuite/caps/sets.c: (check_caps):
22416 * testsuite/caps/simplify.c: (check_caps), (main):
22417 * testsuite/caps/subtract.c: (check_caps):
22418 Fix _pad_get_direction wrt ghostpads.
22419 Fix caps testsuite.
22421 2005-03-09 Wim Taymans <wim@fluendo.com>
22423 * check/Makefile.am:
22424 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22425 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22426 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22427 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22428 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22429 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22430 (gst_bin_remove), (gst_bin_iterate_recurse_up),
22431 (bin_element_is_sink), (gst_bin_iterate_sinks),
22432 (gst_bin_iterate_all_by_interface):
22434 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22435 (gst_element_change_state), (gst_element_dispose),
22436 (gst_element_finalize), (gst_element_set_loop_function):
22437 * gst/gstelement.h:
22438 * gst/gstiterator.c: (find_custom_fold_func):
22439 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22440 (gst_pad_collectv), (gst_pad_collect_valist),
22441 (gst_pad_template_new):
22442 * gst/gstpipeline.c: (gst_pipeline_class_init),
22443 (gst_pipeline_dispose), (gst_pipeline_set_property),
22444 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22445 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22446 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22448 * gst/schedulers/entryscheduler.c:
22449 * gst/schedulers/gstbasicscheduler.c:
22450 (gst_basic_scheduler_cothreaded_chain),
22451 (gst_basic_scheduler_chain_add_element):
22452 * testsuite/bins/interface.c: (main):
22454 Added GstSystemClock test.
22455 Implemented clock distribution code in GstBin.
22456 Implemented iterate sinks method for future use.
22457 Rearranged gstelement.h
22458 Fix GstIterator comparison bug.
22459 Moved some code to GstPipeline, mostly clocking related.
22461 2005-03-09 Wim Taymans <wim@fluendo.com>
22464 * gst/gst_private.h:
22465 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22466 (gst_bin_remove_func), (gst_bin_remove),
22467 (gst_bin_get_by_name_recurse_up):
22468 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22469 (gst_clock_id_compare_func), (gst_clock_id_wait),
22470 (gst_clock_id_wait_async), (gst_clock_init),
22471 (gst_clock_adjust_unlocked), (gst_clock_get_time):
22472 * gst/gstelement.h:
22473 * gst/gstinfo.c: (_gst_debug_init):
22475 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22476 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22478 Bump version number, we're now 0.9.0
22479 Add future debugging category.
22480 Fix NULL _unref() in _get_by_name_recurse_up
22481 Rearrange gstpad.h.
22484 2005-03-08 Wim Taymans <wim@fluendo.com>
22486 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22487 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22488 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22489 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22490 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22491 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22492 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22493 * gst/elements/gstidentity.c: (gst_identity_class_init):
22494 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22495 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22496 * gst/elements/gstshaper.c: (gst_shaper_class_init):
22497 * gst/elements/gststatistics.c: (gst_statistics_class_init):
22498 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22500 * gst/gstelement.c: (gst_element_class_init),
22501 (gst_element_base_class_init), (gst_element_init),
22502 (gst_element_get_random_pad), (gst_element_wait_state_change),
22503 (gst_element_change_state), (gst_element_dispose),
22504 (gst_element_finalize), (gst_element_set_loop_function):
22505 * gst/gstelement.h:
22506 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22507 * gst/gstthread.c: (gst_thread_class_init),
22508 (gst_thread_release_children_locks), (gst_thread_change_state):
22509 * gst/schedulers/gstbasicscheduler.c:
22510 (gst_basic_scheduler_loopfunc_wrapper),
22511 (gst_basic_scheduler_chain_wrapper),
22512 (gst_basic_scheduler_src_wrapper),
22513 (gst_basic_scheduler_remove_element):
22514 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22515 Remove threadsafe properties. Fix elements because GObject
22516 complains when installing a property before declaring a
22517 set/get_property handler.
22518 Rearrange gstelement.h file, use STATE macros for state locks.
22519 Free mutexes in the finalize method instead of dispose.
22521 2005-03-08 Wim Taymans <wim@fluendo.com>
22523 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22524 * gst/gstthread.c: (gst_thread_release_children_locks):
22525 Added parentage check.
22526 Fix build og GstThread again.
22528 2005-03-08 Wim Taymans <wim@fluendo.com>
22530 * docs/design/part-MT-refcounting.txt:
22531 * docs/design/part-conventions.txt:
22532 * docs/design/part-gstobject.txt:
22533 * docs/design/part-relations.txt:
22534 * docs/design/part-standards.txt:
22535 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22536 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22537 (gst_bin_get_by_name), (gst_bin_get_by_interface),
22538 (gst_bin_iterate_all_by_interface):
22541 * gst/gstelement.c: (gst_element_class_init),
22542 (gst_element_change_state), (gst_element_set_loop_function):
22543 * gst/gstelement.h:
22544 * gst/gstiterator.c:
22545 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22546 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22547 (gst_object_dispatch_properties_changed), (gst_object_set_name),
22548 (gst_object_set_parent), (gst_object_unparent),
22549 (gst_object_check_uniqueness):
22551 Docs updates, clean up some headers.
22553 2005-03-07 Wim Taymans <wim@fluendo.com>
22555 * check/.cvsignore:
22556 * check/Makefile.am:
22557 * check/gst-libs/.cvsignore:
22558 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22559 * check/gst/.cvsignore:
22560 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22561 (START_TEST), (gstbus_suite), (main):
22562 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22563 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22564 (gst_data_suite), (main):
22565 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22566 (add_fold_func), (gstiterator_suite), (main):
22567 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22568 (thread_name_object), (thread_name_object_default),
22569 (gst_object_name_compare), (gst_object_suite), (main):
22570 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22571 (gst_pad_suite), (main):
22572 * check/gstcheck.c: (gst_check_log_message_func),
22573 (gst_check_log_critical_func), (gst_check_init):
22574 * check/gstcheck.h:
22575 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22576 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22579 2005-03-07 Wim Taymans <wim@fluendo.com>
22581 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22582 (gst_list_iterator_next), (gst_list_iterator_resync),
22583 (gst_list_iterator_free), (gst_iterator_new_list),
22584 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22585 (gst_iterator_free), (gst_iterator_push), (filter_next),
22586 (filter_resync), (filter_uninit), (filter_free),
22587 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22588 (gst_iterator_foreach), (find_custom_fold_func),
22589 (gst_iterator_find_custom):
22590 * gst/gstiterator.h:
22591 Added missing files.
22593 2005-03-07 Wim Taymans <wim@fluendo.com>
22597 * docs/design/part-MT-refcounting.txt:
22598 * docs/design/part-conventions.txt:
22599 * docs/design/part-gstobject.txt:
22600 * docs/design/part-relations.txt:
22601 * examples/mixer/mixer.c: (main):
22602 * examples/thread/thread.c: (eos), (main):
22604 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22605 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22606 (gst_spider_plug_from_srcpad):
22607 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22608 (gst_spider_identity_change_state),
22609 (gst_spider_identity_sink_loop_type_finding):
22610 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22611 * gst/elements/gstidentity.c: (gst_identity_init):
22612 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22613 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22614 * gst/elements/gsttypefindelement.c: (free_entry):
22617 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22618 (gst_bin_set_clock_func), (gst_bin_auto_clock),
22619 (gst_bin_set_index), (gst_bin_set_element_sched),
22620 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22621 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22622 (gst_bin_iterate_elements), (iterate_child_recurse),
22623 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22624 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22625 (compare_interface), (gst_bin_get_by_interface),
22626 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22628 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22629 (gst_buffer_default_free), (gst_buffer_default_copy),
22630 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22631 (gst_buffer_create_sub):
22633 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22634 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22635 (gst_caps_unref), (gst_static_caps_get),
22636 (gst_caps_remove_and_get_structure), (gst_caps_append),
22637 (gst_caps_append_structure), (gst_caps_remove_structure),
22638 (gst_caps_copy_nth), (gst_caps_set_simple),
22639 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22640 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22641 (gst_caps_structure_intersect_field), (gst_caps_intersect),
22642 (gst_caps_structure_subtract_field), (gst_caps_subtract),
22643 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22644 (gst_caps_structure_figure_out_union),
22645 (gst_caps_switch_structures), (gst_caps_do_simplify),
22646 (gst_caps_replace), (gst_caps_from_string),
22647 (gst_caps_copy_conditional):
22649 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22650 (_gst_clock_id_free), (gst_clock_id_unref),
22651 (gst_clock_id_compare_func), (gst_clock_id_wait),
22652 (gst_clock_id_wait_async), (gst_clock_class_init),
22653 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22654 (gst_clock_get_time), (gst_clock_set_time_adjust),
22655 (gst_clock_set_property), (gst_clock_get_property):
22658 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22659 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22661 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22662 (gst_element_requires_clock), (gst_element_provides_clock),
22663 (gst_element_set_clock), (gst_element_clock_wait),
22664 (gst_element_wait), (gst_element_set_time_delay),
22665 (gst_element_is_indexable), (gst_element_add_pad),
22666 (gst_element_add_ghost_pad), (gst_element_remove_pad),
22667 (pad_compare_name), (gst_element_get_static_pad),
22668 (gst_element_request_pad), (gst_element_get_request_pad),
22669 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22670 (gst_element_class_get_pad_template_list),
22671 (gst_element_class_get_pad_template), (gst_element_error_func),
22672 (gst_element_get_random_pad), (gst_element_get_event_masks),
22673 (gst_element_send_event), (gst_element_seek),
22674 (gst_element_get_query_types), (gst_element_query),
22675 (gst_element_get_formats), (gst_element_convert),
22676 (gst_element_is_locked_state), (gst_element_set_locked_state),
22677 (gst_element_sync_state_with_parent), (gst_element_change_state),
22678 (gst_element_finalize), (gst_element_yield),
22679 (gst_element_interrupt), (gst_element_set_scheduler),
22680 (gst_element_get_scheduler), (gst_element_set_loop_function):
22681 * gst/gstelement.h:
22683 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22684 (gst_format_get_by_nick), (gst_format_get_details),
22685 (gst_format_iterate_definitions):
22687 * gst/gstindex.c: (gst_index_gtype_resolver):
22690 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22691 (gst_mem_chunk_free):
22692 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22693 (gst_object_ref), (gst_object_unref), (gst_object_sink),
22694 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22695 (gst_object_dispatch_properties_changed),
22696 (gst_object_set_name_default), (gst_object_set_name),
22697 (gst_object_get_name), (gst_object_set_name_prefix),
22698 (gst_object_get_name_prefix), (gst_object_set_parent),
22699 (gst_object_get_parent), (gst_object_unparent),
22700 (gst_object_check_uniqueness), (gst_object_save_thyself),
22701 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22702 (gst_object_set_property), (gst_object_get_property),
22703 (gst_object_get_path_string):
22705 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22706 (gst_real_pad_init), (gst_real_pad_get_property),
22707 (gst_pad_custom_new), (gst_pad_get_direction),
22708 (gst_pad_set_active), (gst_pad_is_active),
22709 (gst_pad_set_event_function), (gst_pad_is_linked),
22710 (gst_pad_link_free), (gst_pad_link_intersect),
22711 (gst_pad_link_fixate), (gst_pad_set_caps),
22712 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22713 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22714 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22715 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22716 (gst_pad_get_caps), (gst_pad_peer_get_caps),
22717 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22718 (gst_pad_realize), (gst_pad_get_allowed_caps),
22719 (gst_real_pad_dispose), (gst_real_pad_finalize),
22720 (gst_pad_collectv), (gst_pad_collect_valist),
22721 (gst_pad_template_dispose), (gst_pad_template_new),
22722 (gst_pad_get_internal_links):
22724 * gst/gstpipeline.c: (gst_pipeline_dispose),
22725 (gst_pipeline_change_state):
22726 * gst/gstpipeline.h:
22728 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22729 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22730 * gst/gstpluginfeature.h:
22731 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22732 * gst/gstquery.c: (_gst_query_type_initialize),
22733 (gst_query_type_register), (gst_query_type_get_by_nick),
22734 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22736 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22737 * gst/gstscheduler.c: (gst_scheduler_add_element),
22738 (gst_scheduler_factory_create):
22739 * gst/gststructure.c: (gst_structure_set_parent_refcount),
22740 (gst_structure_free), (gst_structure_set_name),
22741 (gst_structure_id_set_value), (gst_structure_set_value),
22742 (gst_structure_set_valist), (gst_structure_remove_field),
22743 (gst_structure_remove_fields),
22744 (gst_structure_remove_fields_valist),
22745 (gst_structure_remove_all_fields), (gst_structure_foreach),
22746 (gst_structure_map_in_place),
22747 (gst_caps_structure_fixate_field_nearest_int),
22748 (gst_caps_structure_fixate_field_nearest_double):
22749 * gst/gststructure.h:
22750 * gst/gstsystemclock.c: (gst_system_clock_class_init),
22751 (gst_system_clock_init), (gst_system_clock_dispose),
22752 (gst_system_clock_async_thread),
22753 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22754 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
22755 * gst/gstsystemclock.h:
22756 * gst/gsttag.c: (gst_tag_list_add_value_internal),
22757 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
22758 * gst/gsttaginterface.c:
22759 * gst/gstthread.c: (gst_thread_dispose),
22760 (gst_thread_release_children_locks), (gst_thread_change_state),
22761 (gst_thread_main_loop):
22762 * gst/gsttrashstack.h:
22763 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
22765 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22766 (gst_element_request_pad), (gst_element_get_pad_from_template),
22767 (gst_element_request_compatible_pad),
22768 (gst_element_get_compatible_pad_filtered),
22769 (gst_element_get_compatible_pad), (gst_element_state_get_name),
22770 (gst_element_link_pads_filtered), (gst_element_link_filtered),
22771 (gst_element_link_many), (gst_element_link),
22772 (gst_element_link_pads), (gst_element_unlink_pads),
22773 (gst_element_unlink_many), (gst_element_unlink),
22774 (gst_pad_can_link_filtered), (gst_pad_can_link),
22775 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
22776 (gst_object_default_error), (gst_bin_add_many),
22777 (gst_bin_remove_many), (gst_element_populate_std_props),
22778 (gst_element_class_install_std_props), (gst_buffer_merge),
22779 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
22780 (link_fold_func), (gst_pad_proxy_setcaps):
22782 * gst/gstvalue.c: (gst_value_deserialize_string):
22783 * gst/parse/grammar.y:
22784 * gst/schedulers/gstbasicscheduler.c:
22785 (gst_basic_scheduler_cothreaded_chain),
22786 (gst_basic_scheduler_chain_recursive_add),
22787 (gst_basic_scheduler_pad_link):
22788 * gst/schedulers/gstoptimalscheduler.c:
22789 (get_group_schedule_function),
22790 (gst_opt_scheduler_state_transition),
22791 (gst_opt_scheduler_add_element), (element_get_reachables_func):
22792 * libs/gst/bytestream/bytestream.c:
22793 * libs/gst/dataprotocol/dataprotocol.c:
22794 (gst_dp_header_from_buffer):
22797 * tests/threadstate/threadstate2.c: (eos):
22798 * tools/gst-compprep.c: (main):
22799 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
22800 (print_pad_info), (print_children_info):
22801 * tools/gst-launch.c: (idle_func), (main):
22802 * tools/gst-md5sum.c: (idle_func), (main):
22803 * tools/gst-xmlinspect.c: (print_element_info):
22804 First THREADED backport attempt, focusing on adding locks and
22805 making sure the API is threadsafe. Needs more work. More docs
22808 2005-02-24 Andy Wingo <wingo@pobox.com>
22810 * tests/bench-complexity.scm:
22811 * tests/complexity.gnuplot: New files, good for running complexity
22814 * tests/Makefile.am:
22815 * tests/complexity.c: New test, sets up N elements, at each level
22816 teeing into M streams per element. Eeeenteresting.
22818 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
22819 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
22820 running bench-mass_elements.scm.
22822 * tests/bench-mass_elements.scm: New script, runs mass_elements
22823 for various numbers of identities, outputting the results to a
22824 file. Requires guile 1.6. Just for testing.
22826 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
22828 * gst/schedulers/fairscheduler.c:
22829 compile with debug disabled
22831 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
22834 hunting season on 0.9 is now OPEN