1 2007-04-06 Wim Taymans <wim@fluendo.com>
3 * gst/gstpipeline.c: (reset_stream_time),
4 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
5 Only try to select a different pipeline clock when we went back to
6 PAUSED and not when we merely got flushed.
8 2007-04-05 Michael Smith <msmith@fluendo.com>
10 * tools/gst-launch.1.in:
11 fractions are better supported in gstreamer than ractions, so
14 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
16 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
20 Added Danish translation.
22 2007-04-05 Wim Taymans <wim@fluendo.com>
24 * libs/gst/base/gstbasesink.c:
25 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
26 Fix leak caused when refusing newsegment after EOS.
28 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
29 (gst_fake_sink_init), (gst_fake_sink_set_property),
30 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
31 (gst_fake_sink_render), (gst_fake_sink_change_state):
32 * plugins/elements/gstfakesink.h:
33 Add num-buffers property to make the element generate EOS after a
34 configurable amount of buffers.
35 API: fakesink::num-buffers property.
37 * tests/check/elements/fakesink.c: (GST_START_TEST),
39 Fix GstBus leak in test.
40 Test for fakesink num-buffers.
42 2007-04-05 Wim Taymans <wim@fluendo.com>
44 * libs/gst/base/gstbasesink.c:
45 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
46 (gst_base_sink_change_state):
47 Don't accept anything after an EOS, return UNEXPECTED instead.
49 * tests/check/elements/fakesink.c: (GST_START_TEST),
51 Unit test for new EOS behaviour.
53 2007-04-05 Wim Taymans <wim@fluendo.com>
55 * gst/gstelement.c: (gst_element_get_request_pad):
56 Make padtemplates also work when they don't contain %s or %d.
58 2007-04-05 Wim Taymans <wim@fluendo.com>
60 * docs/gst/gstreamer-sections.txt:
61 * gst/gstclock.c: (gst_clock_adjust_unlocked),
62 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
64 Improve _adjust_unlocked() so that it overflows less.
65 Add gst_clock_unadjust_unlocked to convert from external time to
66 internal time based on calibration.
68 API: GstClock::gst_clock_unadjust_unlocked()
70 2007-04-03 Wim Taymans <wim@fluendo.com>
72 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
74 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
75 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
76 when releasing sink pad. Fixes #425400.
78 2007-04-02 Stefan Kost <ensonic@users.sf.net>
80 * docs/random/ensonic/dynlink.txt:
81 More work on proposal for new core api.
83 * docs/libs/gstreamer-libs-sections.txt:
84 * libs/gst/base/gstbasetransform.h:
85 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
87 * libs/gst/controller/gstcontroller.c:
88 (on_object_controlled_property_changed),
89 (gst_controller_sync_values),
90 (gst_controller_set_interpolation_mode):
91 * libs/gst/controller/gstcontroller.h:
92 Less verbose logging add docs for unimplemented parts and correctly
93 return when using unavailable parts.
95 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
97 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
98 Move all the debug to the CLOCK category, and associate it with
101 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
103 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
104 Make take_buffer a bit quicker by removing redundant checks
105 caused by calling gst_adapter_take.
107 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
109 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
112 * tests/check/Makefile.am:
113 * tests/check/elements/.cvsignore:
114 * tests/check/elements/multiqueue.c: (setup_multiqueue),
115 (GST_START_TEST), (multiqueue_suite):
116 Add some dead simple unit tests for the 'multiqueue' element
117 (some bits don't work yet and are disabled for now).
119 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
121 * gst/gstelement.c: (gst_element_get_request_pad),
122 (gst_element_class_get_request_pad_template):
123 Make gst_element_get_request_pad() create request pads only for
124 request pad templates and not for, say, sometimes pad templates.
126 2007-03-28 Stefan Kost <ensonic@users.sf.net>
128 * docs/design/draft-klass.txt:
129 Add example that needs more thinking.
131 * docs/design/draft-missing-plugins.txt:
132 More thoughts about wrapper plugins.
134 * docs/random/ensonic/embedded.txt:
135 * docs/random/ensonic/profiling.txt:
138 2007-03-25 Wim Taymans <wim@fluendo.com>
140 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
142 Only push the segment events in the PLAYING state for live sources.
144 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
146 * gst/gstpipeline.c: (gst_pipeline_change_state):
147 Modify the clock distribution path in PAUSED->PLAYING so that we
148 never attempt to choose a new clock unless we're actually leaving
149 the PAUSED state for the first time. This prevents choosing a
150 different clock when the state_change gets called for a 2nd time due
151 to some element doing an async state change.
153 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
155 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
156 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
157 (gst_pad_chain_unchecked), (gst_pad_push):
158 Revert last commit. This needs some more thoughts.
160 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
162 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
163 (gst_pad_chain_unchecked), (gst_pad_push):
164 Check in set_caps if the caps are compatible with the pad and remove
165 two functions that are redundant now. Fixes #421543.
167 2007-03-22 Wim Taymans <wim@fluendo.com>
169 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
170 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
171 Unref some more to make valgrind happy.
173 2007-03-22 Wim Taymans <wim@fluendo.com>
175 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
176 (gst_system_clock_id_wait_jitter),
177 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
178 Fix anoying regression that survived a few releases. When adding an
179 async entry while blocking on a sync entry, the sync entry will unblock
180 but still be busy, so it should continue to wait instead of returning
182 Add some comments here and there.
184 * tests/check/gst/gstsystemclock.c: (mixed_thread),
185 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
186 Add testcase for this.
188 2007-03-22 Wim Taymans <wim@fluendo.com>
190 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
191 Handle errors from the clock sync better, only UNSCHEDULED indicates a
192 WRONG_STATE and can silently pause the task. All other cases should
195 2007-03-22 Wim Taymans <wim@fluendo.com>
197 Patch by: <syrjala at sci dot fi>
199 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
200 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
203 2007-03-21 Michael Smith <msmith@fluendo.com>
205 * docs/pwg/advanced-types.xml:
206 Fix some errors in the typefinding docs pointed out on irc.
208 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
210 * libs/gst/base/gstbasesrc.c:
211 Clarify FIXME comment in the face of having added unlock_stop()
213 2007-03-21 Wim Taymans <wim@fluendo.com>
215 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
216 Prepare for release where we warn against possible app breakage in the
217 case of live pipelines along with an env var to enable/disable live
218 preroll mode (GST_COMPAT=[no-]live-preroll).
220 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
222 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
223 So we should use correct constants for checking for None offset.
225 2007-03-20 Wim Taymans <wim@fluendo.com>
227 * docs/design/part-block.txt:
228 Mention the fact that the newly switched element should be set to at
231 2007-03-20 Wim Taymans <wim@fluendo.com>
234 Fix compilation with registry disabled as spotted by Saur.
236 2007-03-20 Wim Taymans <wim@fluendo.com>
238 Patch by: Olivier Crete <tester at tester dot ca>
240 * gst/gstelement.c: (gst_element_sync_state_with_parent):
241 Look at the pending state too when syncing the element state to the
242 parent. Fixes #420133.
244 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
246 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
247 (gst_base_sink_change_state):
248 * libs/gst/base/gstbasesink.h:
249 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
250 (gst_base_src_default_event), (gst_base_src_unlock_stop),
251 (gst_base_src_deactivate):
252 * libs/gst/base/gstbasesrc.h:
253 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
254 for sub-classes to correctly clear any state they set trying to
255 unlock, such as clearing out unlock commands from a command fd.
257 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
258 (gst_fd_sink_render), (gst_fd_sink_unlock),
259 (gst_fd_sink_unlock_stop):
260 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
261 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
262 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
264 Implement unlock_stop in fdsrc and fdsink.
265 Implement seeking in fdsrc when a seekable fd is passed, as in
266 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
268 2007-03-19 Wim Taymans <wim@fluendo.com>
270 Patch by: Evan Nemerson <evan at coeus dash group dot com>
272 * gst/gstelement.c: (gst_element_class_init):
273 Fix pad-added and pad-removed signal signatures so that the pad type is
274 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
276 2007-03-19 Wim Taymans <wim@fluendo.com>
278 * docs/gst/gstreamer-sections.txt:
279 Add new element field and method.
281 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
282 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
283 (gst_bin_recalc_state), (gst_bin_get_state_func),
284 (gst_bin_element_set_state), (gst_bin_change_state_func),
285 (gst_bin_continue_func), (bin_bus_handler),
286 (bin_push_state_continue), (bin_handle_async_start),
287 (bin_handle_async_done), (gst_bin_handle_message_func):
288 Make async state changes a bit smarter by using new ASYNC_START and
289 ASYNC_DONE messages. This reduces the number of times we run the state
290 recalculation thread.
291 Don't change state of element with a pending ASYNC_START message.
292 Deprecate STATE_DIRTY messages.
294 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
295 (gst_element_get_state_func), (gst_element_continue_state),
296 (gst_element_lost_state), (gst_element_set_state_func),
297 (gst_element_change_state):
299 Keep the state that was last set by the app in a new element field.
300 Don't allow state changes when handling an element event.
301 Post ASYNC_START and ASYNC_DONE messages.
302 Change lost_state so that we go to PAUSED and wait for the parent to set
303 us to PLAYING again (so latency calculation can be performed)
304 Export gst_element_change_state() method so that subclasses can use it.
305 API: gst_element_change_state()
306 API: GST_STATE_TARGET
308 * gst/gstpipeline.c: (gst_pipeline_class_init),
309 (reset_stream_time), (gst_pipeline_change_state),
310 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
311 Using the new ASYNC_START message we can reset the base_time when
312 needed. This can then be used to implement base_time redistribution in
313 flushing seeks so that we can remove the explicit seek handling.
314 Perform latency query and configuration when going to PLAYING.
316 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
317 (gst_base_sink_query), (gst_base_sink_change_state):
318 Post new ASYNC_START/ASYNC_DONE messages.
320 * tests/check/generic/sinks.c: (GST_START_TEST):
321 Fix test because the bin will not set the async element to PLAYING right
324 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
325 Make the message check a little stronger.
326 Handle ASYNC messages.
328 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
329 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
330 Expect ASYNC_DONE messages.
332 2007-03-19 Wim Taymans <wim@fluendo.com>
334 * docs/gst/gstreamer-sections.txt:
335 * gst/gstmessage.c: (gst_message_new_async_start),
336 (gst_message_new_async_done), (gst_message_parse_info),
337 (gst_message_parse_async_start):
339 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
342 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
344 * tools/gst-inspect.c:
345 (print_plugin_automatic_install_info_codecs):
346 Now that we don't check for the 'Codec' keyword any longer in the
347 klass, we shouldn't spew a warning if the klass isn't a decoder or
348 encoder (since it might be a Source/Network, for example).
350 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
352 * tools/gst-inspect.c:
353 (print_plugin_automatic_install_info_codecs):
354 Don't require decoder/demuxer/depayloader elements or
355 encoder/muxer/paylader elements to have 'Codec' as part of their
356 factory class string when introspecting a plugin's capabilities.
357 draft-klass.txt mentions that it might be removed in future, and
358 flump3dec doesn't have it as part of its class string, so chances
359 are others might also not have it.
361 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
383 Update translations from translation project
385 2007-03-14 Stefan Kost <ensonic@users.sf.net>
387 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
388 (gst_child_proxy_set_property):
389 Invert precondition check to be alike the ones in the mimiced gobject
392 2007-03-13 Stefan Kost <ensonic@users.sf.net>
394 * docs/design/draft-tagreading.txt:
395 * docs/random/ensonic/audiobaseclasses.txt:
396 Do some Architect work.
398 * gst/gstobject.c: (gst_object_set_name):
402 Add docs that point from gst_pad_get_range to gst_pad_pull_range
404 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
406 * gst/gstsystemclock.c: (gst_system_clock_init),
407 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
408 Defer starting the async system clock thread until the first async
409 wait is scheduled. Fixes #414986.
411 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
413 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
414 (gst_single_queue_free):
415 Fix small leak (free GstSingleQueue structure too, not only contents).
417 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
419 * gst/gstbin.c:(gst_bin_add):
420 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
421 * win32/common/libgstbase.def:
422 * win32/common/libgstreamer.def:
423 Add new exported functions.
425 2007-03-09 Wim Taymans <wim@fluendo.com>
427 * docs/plugins/gstreamer-plugins-sections.txt:
430 2007-03-09 Wim Taymans <wim@fluendo.com>
432 * docs/gst/gstreamer-sections.txt:
433 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
435 Add metadata copy functions. Fixes #393099.
437 * gst/gstutils.c: (gst_buffer_stamp):
438 * libs/gst/base/gstbasetransform.c:
439 (gst_base_transform_prepare_output_buffer):
440 Use new metadata copy functions.
442 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
444 * plugins/elements/gstidentity.c: (gst_identity_class_init),
445 (gst_identity_init), (gst_identity_check_perfect),
446 (gst_identity_check_imperfect_timestamp),
447 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
448 (gst_identity_set_property), (gst_identity_get_property):
449 * plugins/elements/gstidentity.h:
450 Separate out check-imperfect-timestamp and check-imperfect-offset.
451 Put back check-perfect as it was to keep compatibility.
453 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
455 * gst/gstelement.c: (gst_element_dispose):
456 There's no need to warn if VOID_PENDING is not NONE here, as
457 long as the state is NULL it's ok, and that's checked immediately
460 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
462 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
463 Fix check for perfect stream to ignore buffers with -1
464 offsets/offset ends when checking data contiguity.
466 2007-03-08 Wim Taymans <wim@fluendo.com>
468 * tools/gst-launch.c: (event_loop):
471 2007-03-08 Wim Taymans <wim@fluendo.com>
473 * libs/gst/base/gstbasetransform.c:
474 (gst_base_transform_sink_eventfunc),
475 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
476 (gst_base_transform_activate):
477 * libs/gst/base/gstbasetransform.h:
478 Add support for dropping buffers with custom GstFlowReturn.
479 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
480 buffers or dropped buffers.
482 * docs/libs/gstreamer-libs-sections.txt:
483 docs for new custom return code.
485 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
486 Use drop support in base class to implement drop-probability.
488 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
490 * gst/gst.c: (load_plugin_func):
491 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
492 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
493 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
494 Remove newlines at end of debug log strings.
496 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
498 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
499 Only post bus message at max, once per buffer received.
501 2007-03-07 Wim Taymans <wim@fluendo.com>
503 * docs/design/Makefile.am:
504 * docs/design/part-synchronisation.txt:
505 Add doc about synchronisation
507 * docs/design/draft-latency.txt:
508 * docs/design/part-TODO.txt:
509 * docs/design/part-clocks.txt:
510 * docs/design/part-events.txt:
511 * docs/design/part-gstbus.txt:
512 * docs/design/part-gstpipeline.txt:
513 * docs/design/part-live-source.txt:
514 * docs/design/part-messages.txt:
515 * docs/design/part-overview.txt:
516 * docs/design/part-streams.txt:
517 * docs/design/part-trickmodes.txt:
518 Documentation updates.
520 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
523 Update the doap file.
525 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
527 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
528 Rename non-perfect to imperfect for Mike and for the sanctity of the
530 Also make sure bus message gets emitted for data-incontiguities.
532 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
534 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
535 (gst_identity_start):
536 * plugins/elements/gstidentity.h:
537 Emit bus message if check-perfect is true and we encounter a
538 non-perfect stream between 2 consecutive buffers.
541 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
546 === release 0.10.12 ===
548 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
551 releasing 0.10.12, "Inevitable Demise"
553 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
556 Version 0.10.11.2 (0.10.12 pre-release)
557 Bump libtool versioning.
559 2007-03-01 Stefan Kost <ensonic@users.sf.net>
561 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
562 Log flow-names and not numbers.
564 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
567 Convert to new AG_GST style.
569 2007-02-28 Wim Taymans <wim@fluendo.com>
571 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
572 Don't unref query twice.
574 2007-02-28 Wim Taymans <wim@fluendo.com>
576 * gst/gstvalue.c: (gst_value_transform_object_string),
577 (_gst_value_initialize):
578 Implement GstObject -> string transform so we print object names
579 when serializing GValues containing GstObjects.
581 2007-02-28 Wim Taymans <wim@fluendo.com>
583 * docs/gst/gstreamer-sections.txt:
584 Add new stuff to docs.
586 2007-02-28 Wim Taymans <wim@fluendo.com>
588 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
589 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
590 (gst_base_sink_change_state):
591 Improve latency query code.
592 Don't leak latency events.
594 * tests/check/gst/gstbin.c: (GST_START_TEST):
597 2007-02-28 Wim Taymans <wim@fluendo.com>
599 * gst/gstelement.c: (gst_element_message_full),
600 (gst_element_get_state_func):
602 Improve docs a little. Added Since: for new macro.
604 * gst/gstobject.c: (gst_object_sink):
605 * gst/gstpipeline.c: (gst_pipeline_change_state),
606 (gst_pipeline_set_new_stream_time):
608 Improve debugging and docs.
610 * gst/gstutils.c: (gst_element_state_change_return_get_name):
613 2007-02-28 Wim Taymans <wim@fluendo.com>
615 * gst/gstelement.c: (gst_element_message_full),
616 (gst_element_set_locked_state), (gst_element_get_state_func),
617 (gst_element_change_state):
618 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
619 Documentation updates.
622 * gst/gstmessage.c: (gst_message_new_info),
623 (gst_message_parse_info):
625 API: gst_message_new_info()
626 API: gst_message_parse_info()
627 Add INFO message create and parse code.
629 2007-02-28 Wim Taymans <wim@fluendo.com>
631 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
632 (bin_query_latency_done):
633 Also report the live parameter of a latency query.
635 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
637 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
638 Copy the current generic/states example from -base and adapt so
639 we can use the exact same code everywhere.
640 Check a STATES_IGNORE_ELEMENTS env var which can be used
641 to ignore certain element factories for this test, which is
642 what is being done in -base
643 * tests/check/Makefile.am:
644 Mention this environment variable.
646 2007-02-27 Wim Taymans <wim@fluendo.com>
648 * docs/gst/gstreamer-sections.txt:
649 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
650 (gst_bus_timed_pop), (gst_bus_pop):
652 API: gst_bus_timed_pop()
653 Implement gst_bus_timed_pop() to do a blocking timed wait for a
654 message to arrive on the bus.
656 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
658 Two unit tests for new _timed_pop() function.
660 2007-02-23 Wim Taymans <wim@fluendo.com>
662 * gst/gstpipeline.c: (gst_pipeline_change_state),
663 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
664 Don't ref a NULL clock in _provide_clock_func().
665 Don't allow an INVALID delay.
666 Don't try to calculate base_time with an invalid start_time.
667 Also distribute and notify a NULL clock when it was selected.
669 * tools/gst-launch.c: (event_loop):
670 Don't crash when a NULL clock was selected in the pipeline.
672 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
674 * docs/design/Makefile.am:
675 * docs/design/draft-missing-plugins.txt:
676 * docs/random/draft-missing-plugins.txt:
677 Some small updates: update plugin system identifier prefix
678 ('gstreamer.net' to 'gstreamer'), mention our new install
679 API in libgstbaseutils rather than libgimme-codec, add
680 reference to the online docs.
682 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
684 * win32/common/config.h:
685 Pretty sure Bill never made a powerpc version. Powerpc hackers,
686 use moap cl ci to only check in what is mentioned in the ChangeLog.
688 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
690 * docs/gst/gstreamer-sections.txt:
692 Fix up documentation to link to the correct GstGError section.
693 Add GST_ELEMENT_INFO macro since someone else added a Info message.
695 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
697 * tools/gst-launch.c: (event_loop):
698 Make sure that we actually show the important message part of a
700 No need to check if the gerror is not NULL to free; first of all
701 g_free accepts NULL; and second the default error handler would
702 segfault if gerror was NULL.
704 2007-02-21 Wim Taymans <wim@fluendo.com>
706 * docs/gst/gstreamer-sections.txt:
707 Removed docs as well.
709 2007-02-21 Wim Taymans <wim@fluendo.com>
711 * gst/gstmessage.c: (gst_message_parse_duration):
713 Remove new messages for release.
715 2007-02-20 Wim Taymans <wim@fluendo.com>
717 * docs/design/part-gstghostpad.txt:
718 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
719 (gst_ghost_pad_new_full):
720 Make the ghostpad a parent of the internal pad again for better backward
721 compatibility. Don't write code that relies on this however.
723 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
724 (gst_pad_link_check_hierarchy):
725 Require that parents should be GstElements in the hierarchy check.
727 2007-02-20 Wim Taymans <wim@fluendo.com>
729 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
730 (gst_bin_change_state_func), (bin_query_min_max_init),
731 (bin_query_latency_fold), (bin_query_latency_done),
734 Implement latency query.
736 2007-02-20 Wim Taymans <wim@fluendo.com>
738 * docs/design/part-gstghostpad.txt:
739 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
740 (gst_ghost_pad_internal_do_activate_push),
741 (gst_ghost_pad_internal_do_activate_pull),
742 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
743 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
744 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
745 Do not set the internal pad as a parent anymore so we can avoid
746 hierarchy linking errors when the ghostpad has no parent yet. This also
747 fixes failed activation because of unlinked internal pads, which in
748 turn fixes the impossible case where you have to activate a pad before
749 you can add it to a running element.
752 * gst/gstpad.c: (pre_activate), (post_activate),
753 (gst_pad_set_active), (gst_pad_activate_pull),
754 (gst_pad_activate_push), (gst_pad_check_pull_range):
755 Add some more debug info.
756 Mark activation mode in pre_activate so that we don't try to activate in
757 endless loops. Fixes #385084.
759 2007-02-19 Wim Taymans <wim@fluendo.com>
761 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
762 (gst_base_transform_check_get_range):
763 Implement a checkgetrange function instead of relying on the default
764 core behaviour that assumes we can operate in pull mode if we have a
765 getrange function. First step at fixing #385084.
767 2007-02-15 Stefan Kost <ensonic@users.sf.net>
769 * gst/gstchildproxy.h:
770 * libs/gst/base/gstbasesink.h:
771 * libs/gst/base/gstbasesrc.h:
772 * libs/gst/base/gstbasetransform.h:
773 More docs coverage and some ChangeLog surgery (add missing names)
775 2007-02-15 Wim Taymans <wim@fluendo.com>
777 * docs/design/part-TODO.txt:
778 * docs/design/part-activation.txt:
779 * docs/design/part-block.txt:
780 * docs/design/part-buffering.txt:
781 * docs/design/part-clocks.txt:
782 * docs/design/part-element-source.txt:
783 * docs/design/part-events.txt:
784 * docs/design/part-gstbin.txt:
785 * docs/design/part-gstbus.txt:
786 * docs/design/part-gstpipeline.txt:
787 * docs/design/part-live-source.txt:
788 * docs/design/part-messages.txt:
789 * docs/design/part-overview.txt:
790 * docs/design/part-qos.txt:
791 * docs/design/part-query.txt:
792 * docs/design/part-states.txt:
793 * docs/design/part-trickmodes.txt:
794 Some doc updates. Start renaming from stream_time to running_time where
797 2007-02-15 Wim Taymans <wim@fluendo.com>
799 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
800 Answer LATENCY query.
802 2007-02-15 Wim Taymans <wim@fluendo.com>
804 * tests/check/gst/gstevent.c: (event_probe), (test_event),
808 2007-02-15 Wim Taymans <wim@fluendo.com>
810 * gst/gstpad.c: (gst_pad_get_internal_links_default),
811 (gst_pad_dispatcher):
812 Improve debugging of default pad dispatcher and query functions.
814 2007-02-15 Wim Taymans <wim@fluendo.com>
816 * docs/gst/gstreamer-sections.txt:
817 Remove old unused method.
819 2007-02-13 Wim Taymans <wim@fluendo.com>
821 * tests/check/gst/gstsegment.c: (GST_START_TEST):
824 2007-02-13 Wim Taymans <wim@fluendo.com>
826 * docs/design/part-seeking.txt:
829 * gst/gstsegment.c: (gst_segment_set_seek):
830 Revert old bogus change that should make seeking work again.
832 2007-02-13 Stefan Kost <ensonic@users.sf.net>
834 * docs/random/ensonic/dynlink.txt:
835 * docs/random/ensonic/interfaces.txt:
836 * docs/random/ensonic/receipies.txt:
837 Possible dynamic reconnection api, plus some type fixes the other two
840 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
842 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
843 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
844 Also check for an absolute path following file:// in the filesrc
845 element. Remove redundant check and call g_path_is_absolute() on the
848 2007-02-13 Stefan Kost <ensonic@users.sf.net>
850 * docs/design/draft-klass.txt:
851 Add existing category analysis.
854 Fix doc example, framerate is a fraction.
856 2007-02-12 Stefan Kost <ensonic@users.sf.net>
859 * docs/gst/Makefile.am:
860 * docs/libs/Makefile.am:
861 * docs/plugins/Makefile.am:
862 Add crossreferences to glib/gobject docs.
864 2007-02-12 Wim Taymans <wim@fluendo.com>
866 * docs/design/draft-latency.txt:
869 * docs/libs/gstreamer-libs-sections.txt:
870 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
871 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
872 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
873 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
874 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
875 (gst_base_sink_get_position), (gst_base_sink_query),
876 (gst_base_sink_change_state):
877 * libs/gst/base/gstbasesink.h:
878 API: gst_base_sink_query_latency() to let subclasses query the upstream
880 API: gst_base_sink_get_latency() to let subclasses query the configured
882 Implement query and set latency.
884 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
885 don't continue preroll when we are flushing. Fixes #405284.
887 * tests/check/pipelines/stress.c: (change_state_timeout),
888 (quit_timeout), (GST_START_TEST), (stress_suite):
891 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
893 Patch by: René Stadler <mail at renestadler de>
895 * docs/gst/gstreamer-sections.txt:
896 * gst/gsttaglist.c: (_gst_tag_initialize):
898 API: add GST_TAG_REFERENCE_LEVEL (#403597).
900 2007-02-11 Stefan Kost <ensonic@users.sf.net>
902 * docs/libs/Makefile.am:
903 Fix path to core docs.
905 * gst/gstbin.c: (gst_bin_get_by_interface),
906 (gst_bin_iterate_all_by_interface):
907 Refix docs by also renaming 'interface' to 'iface' in implementation.
909 * docs/gst/gstreamer-sections.txt:
911 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
912 * gst/gstchildproxy.h:
913 * gst/gstelementfactory.c:
914 * gst/gstpadtemplate.h:
915 * libs/gst/controller/gstcontroller.c:
916 (gst_controlled_property_new):
919 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
921 * gst/gstbin.h:(gst_bin_get_by_interface),
922 (gst_bin_iterate_all_by_interface):
923 Replace interface parameter name by iface as interface is
924 a reserved keyword in Visual Studio for C++ projects so it removes
925 a build error for application developpers using VS.
926 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
927 Fix a bug on Windows in uri format check. Now the prefix checked
928 is file:// and next we check if the path after file:// is absolute.
929 * win32/common/libgstbase.def:
930 * win32/common/libgstdataprotocol.def:
931 * win32/common/libgstgstreamer.def:
932 Add new exported functions.
934 2007-02-09 Andy Wingo <wingo@pobox.com>
936 * tests/check/pipelines/simple-launch-lines.c
937 (simple_launch_lines_suite, test_tee): Disable tee test until I
938 have time to fix it :-(
940 * tests/check/Makefile.am (noinst_HEADERS):
941 * tests/check/libs/libsabi.c:
942 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
943 * tests/check/gst/gstabi.c:
944 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
946 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
947 tests for push and pull tee behavior.
949 * plugins/elements/gsttee.h:
950 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
951 mark as deprecated as well as unimplemented. It was a crack idea.
952 Add support for tee operating in pull mode, off by default.
954 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
955 normal-case logs down to LOG, raise errors to WARNING.
956 (gst_registry_xml_read_cache): Don't log before calling a function
959 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
960 exit (registry finalize).
961 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
962 DEBUG log when we emit signals that people don't even have the
963 chance to connect to.
964 (gst_registry_scan_path_level): Less logging in the normal case.
966 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
968 Patch by: Michal Benes <michal dot benes at itonis dot tv>
970 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
971 Correctly generate EOS for non-seekable files. We don't have a total
972 length for them and would get an unexpected end of file if we only
973 special-cased for regular files. (Fixes: #404569)
975 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
977 * tests/check/elements/filesrc.c: (GST_START_TEST),
979 Add unit test for the GstURIHandler interface in filesrc. This also
980 tests the newly added file://localhost/foo/bar support.
982 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
984 * gst/gstelementfactory.h:
985 The klass string is not a hierarchy. Add reference to the design doc
986 for more information and common types.
988 2007-02-02 Wim Taymans <wim@fluendo.com>
990 * gst/gstquery.c: (gst_query_new_latency):
991 Remove old structure field.
993 2007-02-02 Stefan Kost <ensonic@users.sf.net>
995 * tools/gst-launch.1.in:
996 Give example for network streaming (#351998)
998 2007-02-02 Wim Taymans <wim@fluendo.com>
1000 * docs/gst/gstreamer-sections.txt:
1001 Add docs for new methods.
1003 * gst/gstevent.c: (gst_event_new_latency),
1004 (gst_event_parse_latency):
1006 Add new LATENCY event to configure latency in a pipeline.
1007 API: gst_event_new_latency
1008 API: gst_event_parse_latency
1010 * gst/gstmessage.c: (gst_message_new_buffering),
1011 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1012 (gst_message_new_latency), (gst_message_parse_buffering),
1013 (gst_message_parse_lost_preroll):
1015 Added messages used in draft-latency.
1016 API: gst_message_new_lost_preroll
1017 API: gst_message_parse_lost_preroll
1018 API: gst_message_new_prerolled
1019 API: gst_message_new_latency
1021 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1022 (gst_query_parse_latency):
1024 Implemented new latency query as in design doc.
1025 API: gst_query_new_latency
1026 API: gst_query_set_latency
1027 API: gst_query_parse_latency
1029 2007-02-02 Wim Taymans <wim@fluendo.com>
1031 * docs/design/draft-latency.txt:
1032 Slight redesign to allow for dynamic latency adjustments.
1034 * docs/design/part-negotiation.txt:
1037 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
1039 reviewed by: Wim Taymans <wim@fluendo.com>
1041 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1042 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1043 Allow file://localhost/foo/bar URLs and correctly fail for every other
1044 hostname that one sets. This was gnomevfssrc is linked for those if
1045 installed as it can handle it (#403172)
1047 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1049 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1051 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1052 (unref_data), (gst_collect_pads_add_pad_full):
1053 * libs/gst/base/gstcollectpads.h:
1054 Don't put the previously added destroy notify in the GstCollectData
1055 struct as all it's padding is already used and we don't want to break
1056 ABI. Instead put in the pad's GObject data for now. This should be
1057 cleaned up for 0.11 (#402393).
1059 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1061 reviewed by: Wim Taymans <wim@fluendo.com>
1063 * docs/libs/gstreamer-libs-sections.txt:
1064 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1065 (unref_data), (gst_collect_pads_add_pad),
1066 (gst_collect_pads_add_pad_full):
1067 * libs/gst/base/gstcollectpads.h:
1068 API: Add function to specify a destroy notification for custom
1069 GstCollectData when adding new pads in GstCollectPads (#402393).
1071 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
1074 Update Swedish translation (#378255).
1076 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1078 * docs/design/draft-klass.txt:
1079 Fix the previous change, this is a list of categories and not a hierarchy.
1081 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1083 * docs/design/draft-klass.txt:
1084 Add info about how to get a list of used classes.
1086 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
1088 * plugins/elements/gsttypefindelement.c:
1089 (gst_type_find_element_chain_do_typefinding),
1090 (gst_type_find_element_change_state):
1091 Don't leak found caps in chain function (no idea why that never
1092 showed up as a leak anywhere).
1094 2007-01-30 Stefan Kost <ensonic@users.sf.net>
1097 Fix and expand GstPluginDesc API docs.
1099 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1102 * gst/gstelementfactory.c:
1103 * gst/gstpadtemplate.h:
1106 * libs/gst/controller/gstcontroller.c:
1107 (gst_controlled_property_new):
1108 * tests/examples/controller/audio-example.c:
1111 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1114 comment about refining the xml deps
1117 comments about moving away from jade for docs
1120 recommit the ifdefs to use the binary registry
1122 * gst/gstbin.c: (gst_bin_change_state_func):
1123 this break is obsolete
1125 * gst/gstelementfactory.h:
1126 better GST_ELEMENT_DETAILS docs, add comment about translation
1131 * gst/gstobject.c: (gst_signal_object_get_type):
1132 add G_UNLIKELY as usual
1134 * gst/gstpad.c: (gst_pad_event_default):
1135 add fall trhu comment
1137 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1138 (gst_registry_binary_initialize_magic),
1139 (gst_registry_binary_save_string),
1140 (gst_registry_binary_save_pad_template),
1141 (gst_registry_binary_save_feature),
1142 (gst_registry_binary_save_plugin),
1143 (gst_registry_binary_write_cache),
1144 (gst_registry_binary_check_magic),
1145 (gst_registry_binary_load_pad_template),
1146 (gst_registry_binary_load_feature),
1147 (gst_registry_binary_load_plugin),
1148 (gst_registry_binary_read_cache):
1149 comment typo and formatting
1151 * gst/gstutils.c: (gst_element_state_get_name),
1152 (gst_element_state_change_return_get_name):
1153 remove obsolete breaks
1155 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1156 add FIXME 0.11 and remove cpp comment
1158 2007-01-29 Edward Hervey <edward@fluendo.com>
1160 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1161 Fix print statement in an even more portable way.
1163 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
1165 * docs/gst/gstreamer-sections.txt:
1167 API: add GST_ROUND_DOWN_* macros (#401781).
1169 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
1171 * docs/gst/gstreamer.types.in:
1172 * gst/gstregistry.c: (gst_registry_class_init):
1173 Document registry signals and make gtk-doc pick them up (#401381).
1175 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1177 * docs/pwg/building-testapp.xml:
1178 Add some audioconverts and audioresample to the pipeline, and some
1179 more comments and error handling.
1181 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1183 * docs/manual/manual.xml:
1187 2007-01-26 Wim Taymans <wim@fluendo.com>
1189 * gst/gstcaps.c: (gst_static_caps_get):
1190 Init caps flags too.
1192 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
1194 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1196 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1197 If not using mmap'ed files try to seek to the end instead of the
1198 start to determine whether we can seek at all. This fixes the case
1199 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1200 seeks for everything afterwards fail. Fixes #400656
1202 2007-01-25 Wim Taymans <wim@fluendo.com>
1204 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1205 Add some refcount debugging.
1206 Make gst_static_caps_get threadsafe, which is needed when autoplugging
1207 in multiple streaming threads.
1209 2007-01-25 Wim Taymans <wim@fluendo.com>
1211 Patch by: David Schleef <ds at schleef dot org>
1213 * docs/libs/gstreamer-libs-sections.txt:
1214 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1215 * libs/gst/base/gstadapter.h:
1216 API: gst_adapter_copy() that can reduce the amount of memcpy when
1217 getting data from the adapter. Fixes #388201.
1219 2007-01-25 Edward Hervey <edward@fluendo.com>
1221 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1222 In print statements, "%x" is for guint. Fixes build on macosx.
1224 2007-01-24 Edward Hervey <edward@fluendo.com>
1226 * plugins/elements/gstmultiqueue.c:
1227 (gst_multi_queue_loop):
1229 (single_queue_overrun_cb), (single_queue_underrun_cb),
1230 (single_queue_check_full), (gst_single_queue_new):
1231 Implement single queue growth system.
1232 This uses the extra-size properties, and will grow single queues by
1233 that much if one goes full whereas there are others empty. This is
1234 called extra-mode in the code.
1235 When a single queue's levels go back below the initial max-size
1236 limits, it is no longer in extra-mode. This is to ensure we don't
1237 consume too much memory.
1240 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
1242 * gst/gst.c: (gst_init_get_option_group):
1243 Make warning about late g_thread_init() calls a bit more explicit,
1244 so that it's more obvious to application developers what they need
1245 to do if a user files a bug against their application.
1247 2007-01-22 Edward Hervey <edward@fluendo.com>
1249 * plugins/elements/gstmultiqueue.c:
1250 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1251 Remove previous hack of unsetting the flushing flag for the source pad
1252 instead of activating it. Instead, fix the source pad activate function
1253 so that it no longer depends on having a parent set or not.
1255 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
1257 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1259 * docs/manual/basics-bus.xml:
1260 Fix example code, gst_element_unref() doesn't exist any longer.
1262 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
1264 Patch by: Mark Nauwelaerts <manauw at skynet be>
1267 Fix two docs typoes (#399094).
1269 2007-01-19 Edward Hervey <edward@fluendo.com>
1271 * docs/faq/gst-uninstalled:
1272 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1273 depending on libgstbaseutils can work in uninstalled environment.
1275 2007-01-18 Stefan Kost <ensonic@users.sf.net>
1278 * gst/gsttagsetter.c:
1279 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1280 statement for new tag.
1282 2007-01-17 Edward Hervey <edward@fluendo.com>
1284 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1285 When dynamically creating single queues, activate sinkpad before adding
1287 We should be doing the same thing for the source pad, but we can't
1288 since it would call a method which needs the parent to be set in order
1289 to work propertly. Instead of activating the source pad, we just unset
1290 the flushing flag, which is the minimal requirement for adding a pad
1291 to an element in a state greater than READY.
1293 2007-01-17 Edward Hervey <edward@fluendo.com>
1295 * docs/faq/gst-uninstalled:
1296 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1299 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
1301 * tests/check/gst/gstabi.c:
1302 * tests/check/gst/struct_hppa.h:
1303 * tests/check/libs/libsabi.c:
1304 * tests/check/libs/struct_hppa.h:
1305 Add ABI structs for HPPA (see #393796).
1307 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
1309 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1310 Actually write ABI structs to the file specified in the GST_ABI
1311 environment variable, as the message we print claims we would.
1313 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1315 * tests/check/gst/gsttask.c:
1318 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1320 * gst/gsttaglist.c: (_gst_tag_initialize):
1321 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1322 previous two entries.
1324 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1326 * docs/gst/gstreamer-sections.txt:
1327 * gst/gsttaglist.c: (_gst_tag_initialize):
1329 Add tag support for beat-per-minute.
1331 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1333 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1334 (gst_registry_binary_initialize_magic),
1335 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1336 (gst_registry_binary_save_pad_template),
1337 (gst_registry_binary_save_feature),
1338 (gst_registry_binary_save_plugin),
1339 (gst_registry_binary_write_cache),
1340 (gst_registry_binary_check_magic),
1341 (gst_registry_binary_load_pad_template),
1342 (gst_registry_binary_load_feature),
1343 (gst_registry_binary_load_plugin),
1344 (gst_registry_binary_read_cache):
1345 * gst/gstregistrybinary.h:
1346 Use glib types, cleanup comments, impement interfaces and uri-types.
1348 2007-01-13 Andy Wingo <wingo@pobox.com>
1350 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1351 getrange() to return buffers with other caps, while we fix
1352 demuxers and typefind, or otherwise change part-negotiation.txt.
1354 2007-01-12 Andy Wingo <wingo@pobox.com>
1356 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1357 Factor start/stop into this private function instead of partially
1358 in activate functions and partially in the change_state function.
1359 Fixes setup before the element has changed from READY->PAUSED, as
1360 is the case in pull-mode pipelines.
1361 (gst_base_transform_sink_activate_push)
1362 (gst_base_transform_src_activate_pull): Refactor to use
1363 gst_base_transform_activate().
1364 (gst_base_transform_change_state): Removed, not needed any more.
1366 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1367 Truncate before fixating.
1369 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1370 Don't set_caps() if the result of fixating is ANY, as it's not
1371 supported, and not necessary in the case of a link with no
1372 template caps on either side. Fixes tests/check/libs/basesrc in
1373 some pull-mode tests.
1375 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1376 (gst_base_transform_init, gst_base_transform_sink_activate_push)
1377 (gst_base_transform_src_activate_pull):
1378 Track the activation mode.
1379 (gst_base_transform_setcaps): In pull mode, when activating the
1380 src pad, after activating the sink pad, activate the sink pad's
1381 peer, as discussed in part-negotiation.txt.
1383 * libs/gst/base/gstbasesrc.h:
1384 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1385 vmethod, as in basesink.
1387 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1389 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1390 mode, first proxy the setcaps to the peer pad.
1391 (gst_base_sink_pad_fixate): Add a fixate function that calls the
1393 (gst_base_sink_default_activate_pull): Rename from
1394 gst_base_sink_activate_pull.
1395 (gst_base_sink_negotiate_pull): New function, performs negotiation
1396 in pull mode before calling ::activate_pull().
1397 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1398 vmethod instead of the default implementation. I have no idea how
1399 this worked before. Negotiate before calling activate_pull.
1401 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1402 sink pads in pull mode. In addition to being correct, fixes
1403 filesrc ! decodebin ! identity ! fakesink.
1404 (gst_pad_get_range, gst_pad_pull_range): Don't call
1405 gst_pad_set_caps() if the caps changes; instead error out with
1406 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1408 2007-01-12 Andy Wingo <wingo@pobox.com>
1410 * docs/design/part-negotiation.txt: Update with more policy.
1412 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1414 * libs/gst/check/gstbufferstraw.h:
1415 * libs/gst/check/gstcheck.h:
1416 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1419 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1421 * tests/check/Makefile.am:
1422 * tests/check/gst/.cvsignore:
1423 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1424 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1425 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1426 (GST_START_TEST), (gst_tag_setter_suite):
1427 Add minimal unit test for beforementioned GstTagSetter bug.
1429 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1431 Patch by: René Stadler <mail at renestadler dot de>
1433 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1434 gst_tag_list_merge() returns a new list, so it's not the best idea
1435 to ingore its return value. Effectively meant that tags could only
1436 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1437 Also add function guard to require a non-NULL taglist as input (has
1438 always been so due to gst_tag_list_copy(), just making it explicit).
1440 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1442 * docs/random/draft-missing-plugins.txt:
1443 Some additions: mention new API that is supposed to be used at the
1444 various stages; short blob about new gst-inspect introspection
1445 option; mention potential future problem with plugins that have
1446 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1448 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1450 * tools/gst-inspect.c:
1451 (print_plugin_automatic_install_info_codecs),
1452 (print_plugin_automatic_install_info_protocols),
1453 (print_plugin_automatic_install_info), (main):
1454 Add --print-plugin-auto-install-info option to gst-inspect, so we can
1455 introspect plugin files and get machine-parsable output that corresponds
1456 to the last bit of the missing-plugin installer string (small gotcha:
1457 doesn't take into account ranks).
1459 2007-01-11 Stefan Kost <ensonic@users.sf.net>
1462 * docs/gst/gstreamer-sections.txt:
1464 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1465 (gst_registry_lookup_locked):
1466 * gst/gstregistry.h:
1467 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1468 (gst_registry_binary_initialize_magic),
1469 (gst_registry_binary_save_string),
1470 (gst_registry_binary_save_pad_template),
1471 (gst_registry_binary_save_feature),
1472 (gst_registry_binary_save_plugin),
1473 (gst_registry_binary_write_cache),
1474 (gst_registry_binary_check_magic),
1475 (gst_registry_binary_load_pad_template),
1476 (gst_registry_binary_load_feature),
1477 (gst_registry_binary_load_plugin),
1478 (gst_registry_binary_read_cache):
1479 * gst/gstregistrybinary.h:
1480 * gst/gstregistryxml.c: (load_feature),
1481 (gst_registry_xml_read_cache):
1482 commit binary registry (disabled by default, see #359653)
1484 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1486 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1487 Fix 'make check' too.
1489 2007-01-10 Andy Wingo <wingo@pobox.com>
1491 * docs/design/part-negotiation.txt: Fix a typo, add a couple
1494 * docs/design/part-negotiation.txt: Update with, um, one way that
1495 pull-mode negotiation might work?
1498 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1499 that the pad must be a src pad; makes sense to call it the other
1500 way in pull mode, and the logic is symmetric anyway.
1502 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
1504 * plugins/elements/gstfilesink.c:
1505 Include <stdio.h> for fseeko().
1507 2007-01-10 Wim Taymans <wim@fluendo.com>
1511 Reserve LATENCY event.
1513 2007-01-09 Wim Taymans <wim@fluendo.com>
1515 * docs/design/draft-latency.txt:
1518 2007-01-09 Wim Taymans <wim@fluendo.com>
1520 * docs/design/draft-latency.txt:
1524 * gst/gststructure.c:
1528 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
1530 * tests/check/.cvsignore:
1531 Ignore test-registry.xml as well.
1533 2007-01-09 Wim Taymans <wim@fluendo.com>
1535 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1536 unref data at the end when we are done with the pad.
1538 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1540 * docs/gst/gstreamer-sections.txt:
1541 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1542 (init_post), (gst_deinit), (gst_update_registry):
1544 API: add gst_update_registry() (#391296).
1546 * tests/check/Makefile.am:
1547 * tests/check/gst/gstregistry.c:
1548 * tests/check/gst/.cvsignore:
1549 Simple unit test for the above.
1551 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1553 * gst/gstregistry.c: (gst_registry_scan_path_level):
1554 Plugin extension on HP-UX is .sl, add that to the list of approved
1555 plugin extensions (see #393796).
1557 * tests/check/gst/gstpad.c: (GST_START_TEST):
1558 ulong => gulong. Fixes compilation with HP-UX compiler.
1560 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1561 Fix compilation if valgrind headers are not available.
1563 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
1565 * win32/common/libgstreamer.def:
1566 Add new exported function.
1567 * win32/vs6/libgstbase.dsp:
1568 Add gstdataqueue.c to the build.
1569 * win32/vs6/libgstcoreelements.dsp:
1570 Add gstmultiqueue.c to the build.
1572 2007-01-06 Andy Wingo <wingo@pobox.com>
1574 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1575 activate_pull(), providing for a way to specialize the process of
1576 spawning a thread to pull on the sink pad. There is a default
1579 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1580 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1581 (gst_base_sink_init): Renamed pad activation functions (inserting
1582 "_pad" in their names). Refactor to use the new activate_pull
1583 vmethod, as appropriate.
1584 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1585 default activate_pull function to start a task pulling from the
1586 sink pad, as before.
1588 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1589 on the pads if necessary, as in push()/chain(). Update docs.
1590 Shouldn't affect existing pull() usage as it is currently only
1591 being used on buffers without caps.
1593 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1595 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1597 Call g_thread_init() first thing in gst_init() / gst_check_init().
1598 When initialisation is done via gst_init_get_option_group() and
1599 GOption parsing, issue a warning if the GLib thread system has not
1600 been initialised yet by the time gst_init_get_option_group() is
1601 called, as it's quite likely other GLib functions such as
1602 g_option_context_new() have been called already then, and
1603 g_thread_init() must be called before any other GLib function. The
1604 application in question must be fixed in that case, since memory
1605 corruption might happen otherwise.
1606 We issue the warning because even if the GLib folks decide to work
1607 around the problem on their end in future, this is still an issue
1608 with all GLib versions >= 2.10.0, so we should warn until we depend
1609 on a GLib version we know to be safe.
1610 Update documentation as well.
1613 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1615 * tools/gst-inspect.c: (main):
1616 * tools/gst-launch.c: (main):
1617 * tools/gst-typefind.c: (main):
1618 * tools/gst-xmlinspect.c: (main):
1619 Call g_thread_init() really really early, before any other GLib
1620 function (see #342564 and recent discussion on gtk-devel-list).
1622 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1624 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
1626 * gst/gst_private.h:
1627 * gst/gstconfig.h.in:
1629 On win32, all the __declspec stuff for symbol exporting is
1630 apparently only needed with MSVC, but doesn't work with MingW.
1631 Fixes compilation with MingW and #391909.
1633 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1635 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1636 Change some GST_ERROR_OBJECT that aren't really errors to
1637 GST_WARNING_OBJECT in order to reduce terminal spam.
1639 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1641 * tests/check/Makefile.am:
1642 disable test again, as there seem to be still race problems
1644 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1646 * tests/check/Makefile.am:
1647 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1648 (GST_START_TEST), (queue_suite):
1649 enable queue test again, add tests for the leaky behaviour
1651 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
1654 * tests/examples/Makefile.am:
1655 Compile adapter test/example only if the required headers are
1656 available (fixes #391915).
1658 2007-01-01 David Schleef <ds@schleef.org>
1661 Restore the previous signal handler for SIGSEGV instead of
1662 setting to default, since we may have stolen it away from
1663 someone. (i.e., Mono)
1665 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1667 * docs/random/draft-missing-plugins.txt:
1668 Some small additions and clarifications.
1670 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1672 * gst/gstregistryxml.c: (gst_registry_save_escaped):
1673 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1674 since that can lead to random memory corruptions and crashes
1675 (may or may not be related to #383244, #386711, and #386711).
1677 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1679 * tests/check/.cvsignore:
1680 * tests/check/Makefile.am:
1681 sync .cvsignome and CLEANFILES
1683 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1685 * tests/check/Makefile.am:
1688 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1690 * docs/design/part-states.txt:
1691 two tiny additional comments
1693 * gst/gststructure.c:
1696 * tests/check/Makefile.am:
1697 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1699 disable test for now, unless it gets fixed
1701 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1703 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1705 fix race in underrun test
1707 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1709 * tests/check/elements/.cvsignore:
1712 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1714 try to narrow test failure
1716 2006-12-21 David Schleef <ds@schleef.org>
1718 * plugins/elements/gstfakesrc.c:
1719 Use g_random_int_range(), since it produces better random
1720 numbers in a range than almost-correct floating point code.
1722 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1724 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1725 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1726 (gst_check_teardown_sink_pad):
1727 do not automatically (de)activate pads
1729 * tests/check/Makefile.am:
1730 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1731 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1732 add new, yet simple tests for queue
1734 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1735 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1736 * tests/check/elements/filesrc.c: (cleanup_filesrc),
1738 * tests/check/elements/identity.c: (cleanup_identity):
1739 consistent pad (de)activation
1741 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
1743 Patch by: Sebastian Dröge <slomo ubuntu com>
1745 * libs/gst/base/gstcollectpads.c:
1746 Fix two doc typos (#387866).
1748 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1750 * docs/manual/advanced-dparams.xml:
1751 Fix typo (g_object_control_properties() doesn't exist).
1753 2006-12-19 Edward Hervey <edward@fluendo.com>
1755 * gst/gstsegment.c: (gst_segment_set_seek):
1756 Fine tune the cases where the segment start/stop values are really
1758 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1759 Add tests for the return values of gst_segment_set_seek().
1761 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1766 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1768 Fix incorrect documentation and flesh it out a bit more.
1769 Set default values for the max properties on the GParamSpec as well,
1770 so it shows up correctly in gst-inspect.
1772 2006-12-18 Stefan Kost <ensonic@users.sf.net>
1774 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1775 Correct docs of queue, add more detail and crosslink it more.
1777 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1779 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1780 Print additional debug info when the stream isn't perfectly
1781 timestamped; don't try to use invalid durations.
1783 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1785 * docs/design/Makefile.am:
1786 Dist new design docs.
1788 2006-12-16 Wim Taymans <wim@fluendo.com>
1790 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1792 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
1793 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1794 (gst_collect_pads_stop), (gst_collect_pads_event),
1795 (gst_collect_pads_chain):
1796 * libs/gst/base/gstcollectpads.h:
1797 Add refcounting to the collectpads data so we can track when it's safe
1798 to free the data. Fixes #383382.
1800 2006-12-15 Wim Taymans <wim@fluendo.com>
1802 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1803 (gst_collect_pads_remove_pad):
1804 Automatically activate/deactivate pads when they are added to a
1805 started/stoped collectpads.
1807 2006-12-15 Wim Taymans <wim@fluendo.com>
1809 * gst/gstelement.c: (gst_element_add_pad):
1810 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1811 * gst/gstpad.c: (gst_pad_init):
1812 Set pads to FLUSHING when they are created. Check, warn and fix when a
1813 demuxer adds an inactive pad to itself when running. Fixes #339326.
1815 2006-12-15 Wim Taymans <wim@fluendo.com>
1817 * gst/gstelement.c: (gst_element_class_init),
1818 (gst_element_default_send_event), (gst_element_send_event),
1819 (gst_element_default_query), (gst_element_query):
1820 Expose default element send_event and query handling as vmethods that
1821 subclasses can chain up to.
1823 2006-12-15 Wim Taymans <wim@fluendo.com>
1825 * gst/gstelement.c: (gst_element_set_state_func):
1826 Small documentation fixes.
1828 2006-12-15 Wim Taymans <wim@fluendo.com>
1830 * docs/design/draft-latency.txt:
1831 Checked in draft for handling latency in pipelines.
1833 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
1837 * gstreamer.spec.in:
1840 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
1842 * gst/gst.c: (init_pre), (init_post):
1843 init_pre() and init_post() might be called via our GOptionGroup or
1844 from gst_init(), and we should skip both of them if we've already
1845 been initialised, otherwise we will init some things twice or add
1846 two default log functions.
1848 2006-12-13 Edward Hervey <edward@fluendo.com>
1850 * docs/manual/basics-bus.xml:
1851 No, gst_main_loop does not exist. Its g_main_loop.
1852 Discovered by somebody who abused the copy-paste technique of coding :)
1854 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
1856 * gst/gstghostpad.c:
1857 Log ghostpad debug stuff to the GST_PADS category as well rather
1858 than just to the default category.
1860 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
1863 * gst/gst.c: (init_pre):
1864 Add some basic system details such as OS and architecture
1865 to the debug output if possible, courtesy of uname().
1867 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
1869 * docs/gst/running.xml:
1870 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
1871 environment variables.
1873 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
1875 * tests/check/gst/gstbin.c: (GST_START_TEST):
1876 It is acceptable to have a refcount of 2 or 3 at this point in the
1877 test, because the pipeline might be just posting its state_change
1878 message. The next line then waits for that message to appear using
1879 bus_poll, so that should be fine too.
1881 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
1883 * gst/gst.c: (ensure_current_registry_forking):
1884 Ignore EINTR when reading from the child registry pipe.
1885 Explicitly ignore the return value from close, since it makes no
1888 * gst/gstminiobject.c: (gst_mini_object_ref),
1889 (gst_mini_object_unref):
1890 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
1892 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
1893 When removing cached plugins, remove their features too, so they're
1894 not visible after they've disappeared.
1896 * gst/gstutils.c: (prepare_link_maybe_ghosting):
1897 In the unlikely case that we are linking pads with no parents, don't
1898 crash trying to get the non-existent parent bin.
1900 * gst/parse/grammar.y:
1901 Output debug in the PIPELINE category
1903 2005-03-08 Wim Taymans <wim@fluendo.com>
1905 Patch by: René Stadler <mail at renestadler dot de>
1907 * gst/gstclock.c: (gst_clock_new_periodic_id):
1908 Reject invalid clock times for interval of periodic ids.
1911 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
1913 * gst/gstelementfactory.c: (gst_element_factory_create):
1914 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1915 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
1916 * tools/gst-inspect.c: (print_element_info):
1917 Fix refcounting of gst_plugin_feature_load to match the docs.
1920 2006-12-07 Wim Taymans <wim@fluendo.com>
1922 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1923 (gst_base_sink_get_position):
1924 Improve debugging of events.
1926 2006-12-07 Wim Taymans <wim@fluendo.com>
1928 Patch by: René Stadler <mail at renestadler dot de>
1930 * gst/gstclock.c: (gst_clock_id_wait):
1931 Make period ids add the interval to the origial requested time instead
1932 of the possibly updated time which can be wrong when there are multiple
1933 waiters for the same id. Fixes #382592.
1935 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
1936 (gst_system_clock_id_wait_jitter_unlocked),
1937 (gst_system_clock_id_wait_jitter):
1938 Fix restart in the async notify thread when an async entry is added to
1939 the front of the list. Fixes #381492.
1941 * tests/check/gst/gstsystemclock.c: (store_callback),
1942 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
1943 Added test for multiple async waits.
1944 Added test for async wait order.
1946 2006-12-07 Wim Taymans <wim@fluendo.com>
1948 * gst/gstbin.c: (gst_bin_query):
1949 Add some more docs about the POSITION query.
1951 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
1954 Bump version nano - back to CVS.
1956 === release 0.10.11 ===
1958 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
1961 releasing 0.10.11, "Love never runs on time"
1963 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
1965 * win32/common/libgstbase.def:
1966 * win32/common/libgstreamer.def:
1967 * win32/vs8/libgstbase.vcproj:
1968 * win32/vs8/libgstcoreelements.vcproj:
1969 * win32/vs8/libgstreamer.vcproj:
1970 Fix compilation on win32 under VS8
1971 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
1972 Partially fixes #381175
1974 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1976 * gst/gstvalue.c: (gst_value_compare_fraction):
1977 If someone is foolish enough to compare 2 fractions with denominator =
1978 0, return UNORDERED rather than aborting.
1980 2006-11-28 Edward Hervey <edward@fluendo.com>
1982 * libs/gst/base/Makefile.am:
1983 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
1984 (gst_data_queue_base_init), (gst_data_queue_class_init),
1985 (gst_data_queue_init), (gst_data_queue_new),
1986 (gst_data_queue_cleanup), (gst_data_queue_finalize),
1987 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
1988 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
1989 (gst_data_queue_is_empty), (gst_data_queue_is_full),
1990 (gst_data_queue_set_flushing), (gst_data_queue_push),
1991 (gst_data_queue_pop), (gst_data_queue_drop_head),
1992 (gst_data_queue_set_property), (gst_data_queue_get_property):
1993 * libs/gst/base/gstdataqueue.h:
1994 New GstDataQueue object for threadsafe queueing. Most useful for
1995 elements that need some queueing functionnality.
1996 * docs/libs/gstreamer-libs-docs.sgml:
1997 * docs/libs/gstreamer-libs-sections.txt:
1998 Insert documentation for GstDataQueue
1999 * plugins/elements/Makefile.am:
2000 * plugins/elements/gstelements.c:
2001 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2002 (gst_multi_queue_class_init), (gst_multi_queue_init),
2003 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2004 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2005 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2006 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2007 (gst_multi_queue_loop), (gst_multi_queue_chain),
2008 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2009 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2010 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2011 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2012 (wake_up_next_non_linked), (compute_next_non_linked),
2013 (single_queue_overrun_cb), (single_queue_underrun_cb),
2014 (single_queue_check_full), (gst_single_queue_new):
2015 * plugins/elements/gstmultiqueue.h:
2016 New multiqueue element, using GstDataQueue. Used for queuing multiple
2018 Closes #344639 and #347785
2020 2006-11-22 Stefan Kost <ensonic@users.sf.net>
2022 * docs/pwg/advanced-types.xml:
2023 add more missing type details
2025 * tools/gst-run.c: (main):
2026 remove unused variable
2028 2006-11-21 Stefan Kost <ensonic@users.sf.net>
2030 * docs/libs/Makefile.am:
2031 * docs/libs/gstreamer-libs.types:
2032 add types of base classes to enable gobject specific stuff in the docs
2034 * docs/random/ensonic/embedded.txt:
2035 more ideas about isolating platform specific things
2037 2006-11-20 Wim Taymans <wim@fluendo.com>
2039 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2041 * libs/gst/check/gstcheck.h:
2042 Fix compilation and running against 0.9.4. Fixes #377332.
2044 2006-11-20 Wim Taymans <wim@fluendo.com>
2046 * gst/gstsegment.c: (gst_segment_set_seek),
2047 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2048 (gst_segment_to_running_time):
2049 Fix boundary checking in to_running_time() and to_stream_time().
2052 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2053 stream and running time can now be calculated for the complete
2056 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
2058 * gst/gstpad.c: (gst_pad_push_event):
2059 Can't access event structure after giving away ownership of
2062 2006-11-15 Stefan Kost <ensonic@users.sf.net>
2064 * docs/random/ensonic/embedded.txt:
2065 * docs/random/ensonic/profiling.txt:
2066 * docs/random/ensonic/receipies.txt:
2069 2006-11-13 Wim Taymans <wim@fluendo.com>
2071 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2074 Fix documentation for gst_pad_dispatcher. Fixes #374475.
2076 2006-11-13 Wim Taymans <wim@fluendo.com>
2078 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2080 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2081 Store new length in segment duration so we don't keep on calling the
2082 potentially expensize get_size() call. Fixes #370865.
2084 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
2086 Patch by: Sergey Scobich <sergey.scobich at gmail com>
2088 * win32/common/libgstreamer.def:
2089 Add two missing symbols (#366492).
2091 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
2093 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2094 (gst_adapter_take_buffer):
2095 Fix format string to use all its arguments.
2096 Remove useless >= check on a guint
2098 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2100 * tests/examples/adapter/.cvsignore:
2101 Ignore build file as commanded by the build-bot
2103 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2105 * tests/examples/adapter/Makefile.am:
2106 * tests/examples/adapter/adapter_test.c: (run_test_take),
2107 (run_test_take_buffer), (run_tests), (main):
2109 Add new files from the previous commit
2111 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2115 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2116 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2117 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2118 * libs/gst/base/gstadapter.h:
2119 * tests/check/libs/adapter.c: (create_and_fill_adapter),
2120 (GST_START_TEST), (gst_adapter_suite):
2121 * tests/examples/Makefile.am:
2122 Do some optimisation work in GstAdapter to avoid copies in more cases.
2123 It could still do slightly better by merging buffers when
2124 gst_buffer_is_span_fast is true, but is already faster.
2126 Also, avoid traversing a single-linked list to append each incoming
2127 buffer inside the adapter.
2129 Add simple test app that times the adapter behaviour in different
2130 situations, and extend the unit test to check that bytes enter and
2131 exit the adapter in their original order.
2133 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
2135 * docs/random/draft-missing-plugins.txt:
2136 Update: use element message instead of adding a new message
2137 type to the core; don't provide GStreamer API to initiate the
2138 plugin download, just provide API to compose the strings needed
2139 and let an external libgimmestuff handle the rest.
2141 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
2143 * tools/gst-inspect.c: (print_element_properties_info):
2144 Print a string instead of 'unknown type' for GValueArray properties
2146 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
2148 * docs/random/draft-missing-plugins.txt:
2151 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2153 * tests/examples/typefind/typefind.c: (type_found), (main):
2154 Make typefind element example work again (#371894); add a
2157 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2159 * docs/random/draft-missing-plugins.txt:
2160 Commit initial draft about how to deal with missing plugins,
2161 needs work (API too).
2163 2006-11-07 Stefan Kost <ensonic@users.sf.net>
2165 * docs/pwg/advanced-types.xml:
2166 documents the new caps elements (see #363118)
2168 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2170 * gst/gstplugin.c: (gst_plugin_load_file):
2171 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2172 (gst_file_src_map_region), (gst_file_src_start):
2173 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2174 (gst_file_index_commit):
2175 Use g_strerror() instead of strerror() - we want UTF-8.
2177 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2179 Patch by: Peter Kjellerstedt <pkj at axis com>
2181 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2182 Another printf fix (#371493).
2184 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2186 * tests/check/gst/gsttag.c:
2187 relicence (okay with author=company)
2189 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2191 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2192 (gst_pad_push_event):
2193 Enhance debug and improve docs
2198 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2200 * docs/random/ensonic/distributed.txt:
2201 * docs/random/ensonic/profiling.txt:
2204 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2206 * docs/gst/gstreamer-sections.txt:
2207 add new API and fix the build
2209 * gst/gstbin.c: (gst_bin_recalc_state):
2210 * gst/gstelement.c: (gst_element_message_full),
2211 (gst_element_get_state_func), (gst_element_set_state_func):
2212 use new API and improve logging
2214 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2216 API: add function to get StateChangereturn names to improve logs
2218 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
2220 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2221 I'm considering shooting the next person to put strerror stuff
2222 in the translateable part of the message.
2224 2006-11-03 Wim Taymans <wim@fluendo.com>
2226 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2227 Get the type and printf conversion specifiers right.
2229 2006-11-03 Wim Taymans <wim@fluendo.com>
2231 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2233 * gst/gstpad.c: (gst_pad_init), (pre_activate),
2234 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2235 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2236 Some small cleanups. Improve debugging.
2238 Signal all waiting threads with a broadcast instead of just one.
2241 2006-11-03 Wim Taymans <wim@fluendo.com>
2243 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2244 (gst_fd_src_create):
2246 Only update fd when it's different from the old.
2248 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2250 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2251 Printf fixes for PPC/OSX, take two (#369366).
2253 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2255 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
2257 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2258 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2259 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2260 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2261 don't cast to long long for portability reasons, but use
2262 GLib's types instead.
2264 2006-10-30 Michael Smith <msmith@fluendo.com>
2266 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2267 Get the arguments to lseek() the right way around.
2270 2006-10-30 Wim Taymans <wim@fluendo.com>
2272 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2275 _declspec should be __declspec (two underscores, not one). Fixes 366572.
2277 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2279 Patch by: Kjartan Maraas <kmaraas at gnome org>
2281 * docs/design/part-MT-refcounting.txt:
2282 * docs/random/wtay/capsnego2-docs:
2285 Typo fixes (#366212).
2287 2006-10-28 Wim Taymans <wim@fluendo.com>
2289 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2292 * win32/common/libgstbase.def:
2293 * win32/common/libgstreamer.def:
2294 * win32/vs8/libgstbase.vcproj:
2295 * win32/vs8/libgstcontroller.vcproj:
2296 Add needed entries in .def files.
2298 Rearrange def files in vs8 solutions. Fixes #366286.
2300 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2302 * win32/common/gstconfig.h:
2303 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2304 hand-made win32 gstconfig.h. Fixes #366321.
2306 2006-10-27 Wim Taymans <wim@fluendo.com>
2308 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2309 (gst_ghost_pad_new_full):
2310 Make acceptcaps return TRUE when we don't have a target, just like
2313 2006-10-27 Wim Taymans <wim@fluendo.com>
2315 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2316 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2318 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
2320 * gst/gststructure.c: (gst_structure_id_set_value):
2321 If someone tries to set a non-UTF8 string field on a structure,
2322 don't just print a warning, but also ignore the request and do
2323 not change/add that field to the structure.
2325 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2328 2006-10-25 David Schleef <ds@schleef.org>
2331 g_hash_table_insert() needs a cast to a non-const pointer duh.
2333 2006-10-25 David Schleef <ds@schleef.org>
2337 Change name parameter of _gst_debug_register_funcptr to const
2338 to reflect the constness of its use in the function as well
2339 as to quiet a gcc warning.
2341 2006-10-25 Edward Hervey <edward@fluendo.com>
2343 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2344 Don't push the buffer if it's empty.
2347 2006-10-24 Wim Taymans <wim@fluendo.com>
2352 * libs/gst/base/gstbasetransform.c:
2353 (gst_base_transform_sink_eventfunc):
2354 Debug segment values *after* updating them as this is more
2357 2006-10-23 Wim Taymans <wim@fluendo.com>
2359 * docs/design/part-events.txt:
2362 * docs/design/part-block.txt:
2363 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2364 (gst_pad_push_event):
2365 Revert BLOCKING patch, it tries to be smart without really having a
2366 clear idea what or how. So, now we discard all FLUSHING events again on
2367 a blocking pad. Should fix gnonlin again.
2369 2006-10-23 Wim Taymans <wim@fluendo.com>
2371 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2373 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2374 (gst_base_src_start), (gst_base_src_activate_push):
2375 Make sure size is always initialized. Fixes #364388.
2377 2006-10-20 Stefan Kost <ensonic@users.sf.net>
2379 * docs/random/ensonic/distributed.txt:
2380 add some ideas about doing distributed processing
2382 * docs/random/ensonic/profiling.txt:
2383 get_rusage look promising
2385 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2387 * docs/manual/basics-helloworld.xml:
2388 Add a cast in example to fix compile warning
2390 2006-10-18 Wim Taymans <wim@fluendo.com>
2392 * gst/gstsegment.c: (gst_segment_set_last_stop),
2393 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2394 Relax arg checking again, -1 is allowed.
2396 2006-10-18 Wim Taymans <wim@fluendo.com>
2398 * gst/gstsegment.c: (gst_segment_set_last_stop),
2399 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2400 _set_last_stop() must be with a value != -1
2401 A _TYPE_SET to -1 means seek to 0.
2402 Calc last_stop correctly for negative rates.
2403 Make sure we work with positive durations when updating a segment.
2405 2006-10-18 Wim Taymans <wim@fluendo.com>
2407 * docs/design/part-live-source.txt:
2411 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
2414 Add an explicit cast to GstBuffer** to keep old code that added an
2415 explicit cast to GstMiniObject** for gst_mini_object_replace()
2416 compiling without warning.
2418 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2420 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2421 check for validity of dates
2423 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2425 * docs/gst/gstreamer-sections.txt:
2426 Forgot this one, makes gtk-doc shut up.
2428 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2430 Patch by: Peter Kjellerstedt <pkj at axis com>
2433 Don't define xmlNodePtr to gpointer if the core was built with
2434 --disable-loadsave and --disable-registry, this will break
2435 applications that want to use libxml2 but are buildling against a
2436 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2437 instead so we don't have to mess with the libxml2 namespace
2440 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2443 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2444 type-punned pointer warnings.
2446 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
2449 Add casts to the correct return type to state <=> state transition
2452 2006-10-16 Stefan Kost <ensonic@users.sf.net>
2454 * docs/design/part-live-source.txt:
2455 describe howto handle latency
2457 * docs/random/ensonic/profiling.txt:
2460 * tools/gst-plot-timeline.py:
2461 fix log parsing for solaris, remove unused function
2463 2006-10-16 Wim Taymans <wim@fluendo.com>
2465 * docs/design/part-trickmodes.txt:
2467 Update some docs regarding reverse playback.
2469 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
2471 Patch by: Marcus Granado <mrc dot gran at gmail com>
2473 * win32/vs8/grammar.vcproj:
2474 Error out with a warning if glib-genmarshal.exe is not in path,
2475 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2477 2006-10-13 Wim Taymans <wim@fluendo.com>
2479 * gst/gstsegment.c: (gst_segment_set_seek):
2480 When seeking to stop -1, set last_stop (current position) to the
2481 duration of the segment.
2483 2006-10-13 Wim Taymans <wim@fluendo.com>
2486 Clarify _NO_PREROLL a bit more.
2491 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2492 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2493 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2494 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2495 due to wrong locking order. Fixes #361769.
2496 Remove some redundant/misplaced checks in pad_block.
2498 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2499 For negative rates, count backwards from the duration.
2501 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
2503 * gst/gsterror.c: (_gst_library_errors_init):
2504 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2505 up with something better).
2507 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2509 * win32/vs6/libgstreamer.dsp:
2510 * win32/vs7/libgstreamer.vcproj:
2511 * win32/vs8/libgstreamer.vcproj:
2512 Don't reference glib-compat.c which is currently not used and not
2513 disted; add gstquark.c which was recently added. Fixes #361730.
2515 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2517 * win32/common/libgstbase.def:
2518 * win32/common/libgstcontroller.def:
2519 * win32/common/libgstreamer.def:
2520 Add gst_caps_merge() and a bunch of other recently-added functions.
2523 2006-10-11 Wim Taymans <wim@fluendo.com>
2525 * docs/plugins/gstreamer-plugins.args:
2526 * docs/plugins/inspect/plugin-coreelements.xml:
2527 * docs/plugins/inspect/plugin-coreindexers.xml:
2528 Update element args.
2530 * gst/gstsystemclock.c:
2531 Small comment update.
2533 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2534 (gst_tee_request_new_pad), (gst_tee_release_pad),
2535 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2536 (gst_tee_sink_activate_pull):
2537 * plugins/elements/gsttee.h:
2539 Add default property defines.
2540 Implement release pad function.
2541 Give properties better blubs etc.
2542 Activate pads before adding them to a running tee.
2543 Do simple buffer_alloc on the first requested pad.
2544 Post error when activation fails.
2546 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2548 * gst/gst.c: (ensure_current_registry_forking):
2549 Check return value of write() to make compiler happy.
2551 2006-10-11 Wim Taymans <wim@fluendo.com>
2553 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2555 * plugins/elements/gstqueue.c: (gst_queue_chain):
2556 Recheck queue filledness after signalling the overrun when we're about
2557 to leak downstream because we released the lock when emitting the signal
2558 and the queue could be empty again. Fixes #352345.
2560 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2562 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2563 Fix refcounting here too, just like we did for _new_valist() a few
2564 days ago (#357180) (thanks to René Stadler). Also remove all those
2565 'Since: 0.9' from the gtk-doc blobs.
2567 * tests/check/libs/controller.c: (controller_refcount_new_list),
2568 (gst_controller_suite):
2569 Unit test for the above.
2571 2006-10-10 Wim Taymans <wim@fluendo.com>
2573 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2575 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2576 (gst_pad_save_thyself):
2578 Write pad direction in XML output. Fixes #345496.
2580 2006-10-10 Wim Taymans <wim@fluendo.com>
2582 Patch by: René Stadler <mail at renestadler dot de>
2584 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2585 (gst_controller_new_list), (_gst_controller_dispose),
2586 (_gst_controller_finalize), (_gst_controller_class_init):
2587 Take ref to controlled object so that it cannot disappear.
2590 2006-10-10 Wim Taymans <wim@fluendo.com>
2592 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2593 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2594 (gst_check_teardown_sink_pad):
2595 Activate/deactivate pads in setup/teardown respectively.
2597 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2599 Patch by: Josep Torre Valles <josep@fluendo.com>
2602 Cast values when making gstenumtypes.h. This pacifies Forte
2603 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2606 2006-10-09 Wim Taymans <wim@fluendo.com>
2608 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2609 Rename some more @cur to @start to fix docs.
2611 * gst/gstsegment.c: (gst_segment_set_seek):
2613 time and start must always stay in sync as defined in design doc.
2615 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2616 Rename param to fix docs.
2618 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2619 Check that start and time are in sync.
2621 * tests/check/pipelines/parse-launch.c:
2622 (gst_parse_test_element_change_state):
2623 Activate pad before adding to the element.
2625 2006-10-09 Wim Taymans <wim@fluendo.com>
2627 * docs/design/part-qos.txt:
2632 Update seek event docs regarding negative rates.
2633 Rename @cur to @start.
2635 * gst/gstsegment.c: (gst_segment_set_seek):
2637 Update set_seek docs regarding negative rates.
2638 Correctly update last_stop to @stop when dealing with negative
2640 Rename @cur to @start.
2642 * tests/check/gst/gstpad.c: (GST_START_TEST):
2643 Activate pads before trying to use them.
2645 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2646 (gst_segment_suite):
2647 Add simple check for segments and negative rates.
2649 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
2651 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2653 * docs/gst/gstreamer-sections.txt:
2654 API: add gst_tag_list_is_empty() (#360467).
2656 * tests/check/gst/gsttag.c: (GST_START_TEST):
2659 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2662 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2663 a value that doesn't fit on enumeration.
2665 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2667 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2668 Remove local debugging system and use Gstreamer's instead.
2670 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2672 Patch by: Josep Torre Valles <josep@fluendo.com>
2674 * common/m4/gst-error.m4:
2675 Disable warning of statement not reached on Forte.
2677 Fix warning on Forte (value doesn't fit on enumeration).
2678 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2679 Fix warning on Forte (value doesn't fit on enumeration).
2680 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2681 DEBUG macro says it takes minimum of 2 args and so Forte
2682 complains about the use with just 1 arg.
2683 * plugins/elements/gstfdsink.c:
2684 * plugins/elements/gstfdsrc.c:
2685 * plugins/elements/gstfilesink.c:
2686 * plugins/elements/gstfilesrc.c:
2687 Use correct return type for the uri handler implementations.
2689 All these fix warnings in Forte. Fixes bug #360860.
2691 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
2694 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2695 format string, so don't use G_GNUC_PRINTF for those versions.
2697 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2699 * gst/gsttaglist.c: (gst_is_tag_list):
2701 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2703 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2704 Small test for the above.
2706 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2709 Less tabs, more spaces.
2711 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
2714 Those two function declarations do actually belong there, revert
2715 commit from yesterday that turned them intro macros.
2717 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2719 Patch by: Josep Torre Valles <josep@fluendo.com>
2721 * gst/gst.c: (gst_init_get_option_group):
2722 Fix empty declaration and type mismatch.
2723 * gst/gstbin.c: (gst_bin_change_state_func):
2725 * gst/gstelement.c: (gst_element_continue_state),
2726 (gst_element_set_state_func), (gst_element_change_state),
2727 (gst_element_change_state_func):
2728 Fix type mismatches.
2729 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2730 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2731 Cast as appropriate.
2732 * gst/gstobject.c: (gst_class_signal_connect):
2733 Cast as appropriate. The function pointer parameter really
2734 has the wrong type but would break API if we change it.
2736 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2737 order of including string.h.
2738 * gst/gstutils.c: (gst_element_state_get_name):
2739 Remove unreachable line.
2740 * gst/gstxml.c: (gst_xml_parse_doc):
2742 All these caught by Forte.
2744 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2746 Patch by: Josep Torre Valles <josep@fluendo.com>
2748 * common/m4/gst-error.m4:
2750 We need to disable warnings on Forte for empty declarations
2751 due to gst-indent adding ;s to lines that just use macros
2752 where the macro actually doesn't need a ; at end to end
2755 2006-10-06 Wim Taymans <wim@fluendo.com>
2757 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2758 (gst_file_sink_close_file), (gst_file_sink_event),
2759 (gst_file_sink_render):
2760 Add some FIXME for the NEWSEGMENT handling.
2762 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2764 * gst/parse/grammar.y:
2765 Remove static function gst_parse_element_lock as all it does
2766 is return. Looks like cruft from 0.8.
2768 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2770 Patch by: Josep Torre Valles <josep@fluendo.com>
2772 * common/m4/gst-error.m4:
2774 * libs/gst/net/Makefile.am:
2775 Fix a compilation issue with Forte on Solaris. inet_aton is in
2778 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2780 * gst/gstpad.c: (pre_activate):
2781 * gst/gstregistry.c: (gst_registry_scan_path_level):
2782 * gst/gstregistryxml.c: (load_plugin):
2783 * libs/gst/controller/gstcontroller.c:
2784 (gst_controlled_property_set_interpolation_mode):
2785 * libs/gst/dataprotocol/dataprotocol.c:
2786 (gst_dp_packet_from_event_1_0):
2787 * libs/gst/net/gstnetclientclock.c:
2788 (gst_net_client_clock_observe_times):
2789 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2792 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2795 * docs/gst/gstreamer-sections.txt:
2796 * gst/gstconfig.h.in:
2799 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
2800 whether we can use G_GNUC_PRINTF in other header files and at
2801 least check the printf format/arguments of debug messages and
2802 GST_ELEMENT_ERROR messages when the printf extension is not
2804 Replace more tabs with spaces in gstinfo.h and remove two spurious
2805 function declarations in GST_DISABLE_DEBUG part with macros.
2807 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
2809 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
2810 More docs for the sync-message signal (mention that it is not
2811 emitted by default); log message structures of messages posted on
2814 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
2816 * gst/gst.c: (ensure_current_registry_forking):
2817 Use a pipe pair to receive status results from the forked child, and
2818 ignore the result from waitpid. Fixes #355499
2820 2006-10-02 Wim Taymans <wim@fluendo.com>
2822 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2823 (gst_ghost_pad_suite):
2826 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
2829 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
2831 2006-10-02 Edward Hervey <edward@fluendo.com>
2833 * docs/design/part-block.txt:
2834 Further explain the use of flushing on blocked pads.
2835 * docs/gst/gstreamer-sections.txt:
2836 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2837 (gst_pad_push_event):
2839 Added new GstPadFlag : GST_PAD_BLOCKING.
2840 Adds the notion of pads really blocking, which enables to properly
2841 handle FLUSH_START/FLUSH_STOP events on blocked pads.
2843 API: gst_pad_is_blocking()
2844 API: GST_PAD_IS_BLOCKING() macro
2845 API: GST_PAD_BLOCKING GstPadFlag
2847 2006-10-02 Wim Taymans <wim@fluendo.com>
2849 Patch by: mrcgran <mrc.gran at gmail dot com>
2851 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
2852 Filter the proxied caps against the padtemplate if we have one.
2854 * gst/gstquery.c: (gst_query_new_segment):
2855 Add include for gstinfo.h so that compilation with
2856 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
2858 2006-10-02 Wim Taymans <wim@fluendo.com>
2860 Patch by: Alessandro Decina <alessandro at nnva org>
2862 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
2863 (gst_file_sink_set_location), (gst_file_sink_open_file),
2864 (gst_file_sink_close_file), (gst_file_sink_event),
2865 (gst_file_sink_render):
2866 Set file to NULL when closing filesink so that we can set a new filename
2867 in READY. Fixes #358613.
2869 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
2871 Patch by: Alessandro Decina <alessandro at nnva org>
2873 * gst/gstevent.c: (_gst_event_copy):
2874 Fix gst_mini_object_make_writable() and gst_event_copy() for events
2875 with event structures by setting the parent refcount address of the
2876 copied structure to the address of the refcount member of the newly
2877 copied event rather than the address of the refcount member of the
2878 original event. Fixes #358737.
2880 * tests/check/gst/gstevent.c: (GST_START_TEST):
2881 Unit test for the above.
2883 2006-09-29 Stefan Kost <ensonic@users.sf.net>
2885 * docs/design/Makefile.am:
2886 Dist some more files.
2888 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
2890 * tests/check/libs/controller.c: (GST_START_TEST),
2891 (gst_controller_suite):
2892 Add test for the previous fix; add some more tests
2893 for correct refcounting behaviour; fix a few leaks
2894 in test cases; call gst_controller_init() at start
2897 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
2899 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2900 (gst_controller_set_from_list):
2901 Don't g_return_val_if_fail() on timed values with invalid timestamps
2902 inside a critical section without unlocking the mutex. Spotted by
2903 René Stadler. (#357617)
2904 Also, fix up refcounting properly: when returning an existing
2905 controller, we should increase the reference only once and not
2906 once per property and when trying to control a property again
2907 we should also increase the refcount.
2909 2006-09-29 Wim Taymans <wim@fluendo.com>
2911 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2912 * libs/gst/net/gstnettimeprovider.c:
2913 (gst_net_time_provider_thread):
2914 Stop reading commands when EOF as well.
2916 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2917 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2918 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2919 Unify description of the dump property.
2921 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2923 * tests/examples/manual/.cvsignore:
2924 OK, so it's actually cvsignore that needs changing. Stop laughing.
2926 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2928 * tests/examples/manual/Makefile.am:
2929 Gah, declare vars *before* using them
2931 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2933 * gst/gst.c: (init_pre), (scan_and_update_registry),
2934 (ensure_current_registry_nonforking),
2935 (ensure_current_registry_forking), (ensure_current_registry),
2936 (init_post), (gst_debug_help), (gst_deinit):
2937 * gst/gst_private.h:
2938 * gst/gstregistry.c: (gst_registry_finalize),
2939 (gst_registry_remove_features_for_plugin_unlocked),
2940 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2941 (gst_registry_scan_path),
2942 (_priv_gst_registry_remove_cache_plugins),
2943 (_priv_gst_registry_cleanup):
2944 * gst/gstregistry.h:
2945 Re-commit the registry changes, along with an extra fix:
2946 When a cached plugin is encountered at a different file path,
2947 update the stored path in the registry cache so that the parent
2948 process knows where it actually is now when it re-reads the registry
2949 cache. Fixes the thing that broke distcheck with the previous commit.
2951 * tests/check/Makefile.am:
2952 Clean up files named 'core' too when running make clean.
2954 * tests/examples/manual/Makefile.am:
2955 Set up a registry path for running these tests, and clean it properly
2958 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2961 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
2962 want gmodule-no-export-2.0.pc instead so that we don't drag in
2963 --export-dynamic on every project that links to GStreamer.
2965 Also, make our export regex only match the start of symbols, rather
2966 than any symbol that contains '_gst' somewhere.
2968 * libs/gst/check/Makefile.am:
2969 The libgstcheck we build does however need export-dynamic, as it
2970 produces some symbols that don't match our _gst... style regex.
2973 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
2975 * gst/gst.c: (init_pre), (scan_and_update_registry),
2976 (ensure_current_registry_nonforking),
2977 (ensure_current_registry_forking), (ensure_current_registry),
2978 (init_post), (gst_debug_help), (gst_deinit):
2979 * gst/gst_private.h:
2980 * gst/gstregistry.c: (gst_registry_finalize),
2981 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2982 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
2983 (_gst_registry_cleanup):
2984 * gst/gstregistry.h:
2985 Revert previous change until I figure out why it breaks distcheck.
2987 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
2989 * gst/gst.c: (init_pre), (scan_and_update_registry),
2990 (ensure_current_registry_nonforking),
2991 (ensure_current_registry_forking), (ensure_current_registry),
2992 (init_post), (gst_debug_help), (gst_deinit):
2994 Make init_pre and init_post take the full complement of GOptionFunc
2995 args so they can return useful GErrors. Make the registry updating
2998 Call _priv_gst_registry_remove_cache_plugins after scanning files to
2999 ensure that the registry we're about to write out doesn't contain
3000 stale information about old-deleted plugin files.
3002 Make _priv_gst_registry_remove_cache_plugins return a boolean so
3003 that deletion of plugin files is considered a registry change.
3005 * gst/gst_private.h:
3006 * gst/gstregistry.c: (gst_registry_finalize),
3007 (gst_registry_remove_features_for_plugin_unlocked),
3008 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3009 (gst_registry_scan_path),
3010 (_priv_gst_registry_remove_cache_plugins),
3011 (_priv_gst_registry_cleanup):
3012 * gst/gstregistry.h:
3013 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3014 by adding _priv prefix, so that they won't appear in the global
3015 symbol table. They still do atm though because of #318031. Move the
3016 prototypes to gst_private.h
3018 When removing a plugin, remove all features for that plugin too.
3021 2006-09-27 Wim Taymans <wim@fluendo.com>
3023 * docs/random/moving-plugins:
3024 Make it clear that the "compiled-in descriptions" really mean
3025 the element details.
3027 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3028 (gst_base_sink_wait_preroll):
3031 * docs/libs/gstreamer-libs-sections.txt:
3032 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3033 (gst_base_src_get_range), (gst_base_src_activate_push):
3034 * libs/gst/base/gstbasesrc.h:
3035 Added function to block while waiting for PLAYING, this function
3036 is used by live sources that block on the clock.
3037 API: gst_base_src_wait_playing()
3039 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3041 Patch by: Peter Kjellerstedt <pkj at axis com>
3044 gst-element-check.m4 is generated and should therefore be
3045 copied from the build dir rather than the source dir (#357593).
3046 'make distcheck' hasn't noticed this because we were disting
3047 the file as well, so stop doing that.
3049 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3051 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3052 Add some tests for gst_caps_intersect().
3054 * tools/gst-launch.c: (event_loop):
3055 Print all buffering percentages we get, even the 100% one.
3057 2006-09-26 Wim Taymans <wim@fluendo.com>
3059 * tools/gst-inspect.c: (print_element_properties_info),
3060 (print_signal_info):
3061 Fix printing of flags to match the look of enums.
3063 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3065 * gst/gstelementfactory.c:
3066 Fix typo in docs blurb.
3068 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3070 * gst/gsturi.c: (search_by_entry):
3071 Don't assert/crash here if a uri handler doesn't return any
3072 supported protocols. The list of protocols could be generated
3073 dynamically at runtime or at plugin registration, and an error
3074 in the underlying library shouldn't be fatal (#353301).
3076 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3079 Fix warning if HAVE_PRINTF_EXTENSION is undefined
3080 (spotted by Peter Kjellerstedt).
3082 2006-09-23 Wim Taymans <wim@fluendo.com>
3084 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3086 * libs/gst/base/gstbasesrc.c:
3087 (gst_base_src_default_check_get_range), (gst_base_src_start),
3088 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3089 (gst_base_src_change_state):
3090 Match _start/_stop calls in the activate functions. Remove redundant
3091 _stop call from the state change function. Fixes #356910.
3092 Turn failure DEBUG into ERROR.
3094 2006-09-22 Wim Taymans <wim@fluendo.com>
3096 * docs/design/part-buffering.txt:
3097 * gst/gstmessage.c: (gst_message_new_buffering),
3098 (gst_message_parse_buffering):
3099 Update docs about buffering.
3101 * docs/design/part-trickmodes.txt:
3104 2006-09-22 Stefan Kost <ensonic@users.sf.net>
3106 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3107 (gst_controller_new_list):
3108 Ref instances when returning them again (fixes #357180)
3110 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
3112 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3113 Don't forget to release proxy lock when there's an error.
3115 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
3118 Add extra initialisers for Caps things, to fix some plugin warnings
3121 2006-09-18 Wim Taymans <wim@fluendo.com>
3123 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3124 Also set template on the internal pad so that a getcaps from the
3125 target pad returns the template caps.
3127 2006-09-18 Wim Taymans <wim@fluendo.com>
3129 * gst/gstelement.c: (gst_element_post_message),
3130 (gst_element_dispose):
3131 Use _DEBUG_OBJECT some more.
3133 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3136 * tools/gst-launch.c: (main):
3137 If the toplevel element is not a GstPipeline, it must be put in a
3138 pipeline so that a bus and clock is selected.
3140 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3142 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3143 JITTER, RATE, and LATENCY query should be handled by the
3144 default case and not by the CONVERT query code.
3146 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3148 * gst/gstformat.c: (gst_format_register):
3149 Fix locking order (must take lock before using n_values).
3151 * gst/gstvalue.c: (gst_value_serialize_enum),
3152 (gst_value_deserialize_enum_iter_cmp),
3153 (gst_value_deserialize_enum):
3154 Fix serialisation/deserialisation of custom registered GstFormats.
3156 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3157 Unit test for custom format serialisation/deserialisation.
3159 2006-09-17 Stefan Kost <ensonic@users.sf.net>
3161 * docs/pwg/building-boiler.xml:
3162 * plugins/elements/gstcapsfilter.c:
3163 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3166 2006-09-16 Edward Hervey <edward@fluendo.com>
3168 * libs/gst/base/gstbasetransform.c:
3169 (gst_base_transform_buffer_alloc):
3170 Check if requested caps are the same as the sinks caps IF
3171 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3173 This fixes the renegotiation issues stated in #352827.
3175 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3178 * docs/manual/advanced-autoplugging.xml:
3179 * tests/examples/Makefile.am:
3180 * tests/examples/manual/.cvsignore:
3181 * tests/examples/manual/Makefile.am:
3182 * tests/examples/manual/extract.pl:
3183 Extract the manual examples again like we used to do.
3186 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3188 * win32/common/config.h:
3191 2006-09-16 Stefan Kost <ensonic@users.sf.net>
3194 Documents how to receive errors.
3196 2006-09-15 Wim Taymans <wim@fluendo.com>
3198 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3199 (event_loop), (main):
3200 Added some comments here and there.
3201 Post an application message when an interrupt is caught instead of doing
3202 an uncontrolled state change.
3203 Clean up the event loop.
3204 Handle buffering messages, pause/resume the pipeline.
3205 Make shutdown because of an interrupt more reliable.
3207 2006-09-15 Wim Taymans <wim@fluendo.com>
3209 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3210 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3211 (gst_base_sink_preroll_object):
3212 Make sure that our internal state is correct when we commit our state
3213 asynchronously. This solves a race where a state change to PLAYING
3214 could cause the sink to remain blocked in preroll in some situations.
3216 2006-09-15 Wim Taymans <wim@fluendo.com>
3218 * tools/gst-inspect.c: (print_element_properties_info),
3219 (print_signal_info):
3220 List flags as hex so it's easier to deal with.
3222 2006-09-15 Wim Taymans <wim@fluendo.com>
3224 * docs/libs/gstreamer-libs-sections.txt:
3225 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3226 (gst_base_sink_do_sync):
3227 * libs/gst/base/gstbasesink.h:
3228 Expose logic to wait for preroll so that subclasses such as audiosink
3229 can also use this method.
3230 API: gst_base_sink_wait_preroll()
3232 2006-09-15 Wim Taymans <wim@fluendo.com>
3234 * gst/gstobject.c: (gst_object_set_parent):
3235 * gst/gstpipeline.c: (do_pipeline_seek):
3236 Small cleanups in docs and code.
3238 * gst/gstsegment.c: (gst_segment_clip):
3239 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3240 if stop == start and start is in the segment, no clipping should be
3241 done. Also add a test for this.
3243 2006-09-15 Wim Taymans <wim@fluendo.com>
3245 * docs/design/part-buffering.txt:
3246 * docs/gst/gstreamer-sections.txt:
3247 * gst/gstmessage.c: (gst_message_new_buffering),
3248 (gst_message_parse_buffering):
3250 Added methods to create and parse BUFFERING messages.
3251 Added preliminary docs about buffering.
3252 API: gst_message_new_buffering
3253 API: gst_message_parse_buffering
3255 2006-09-06 Wim Taymans <wim@fluendo.com>
3258 Update documentation.
3260 * gst/gstelement.c: (gst_element_class_init),
3261 (gst_element_release_request_pad), (gst_element_set_clock),
3262 (gst_element_get_index), (gst_element_add_pad),
3263 (gst_element_remove_pad), (gst_element_get_random_pad),
3264 (gst_element_send_event), (gst_element_get_query_types),
3265 (gst_element_query), (gst_element_post_message),
3266 (gst_element_message_full), (gst_element_continue_state),
3267 (gst_element_lost_state), (gst_element_save_thyself),
3268 (gst_element_restore_thyself):
3269 Documentation updates.
3270 Rename last bit of the new-pad -> pad-added signal rename.
3271 Fix the case where an element query would only work if the source
3273 Avoid some useless type checking in message handling.
3278 Documentation updates.
3280 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3282 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3283 add an INFO line for when we actually update the fd
3285 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3290 === release 0.10.10 ===
3292 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3295 releasing 0.10.10, "Pais"
3297 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
3299 * docs/manual/advanced-position.xml:
3300 Fix typo in sample code.
3302 2006-09-05 Wim Taymans <wim@fluendo.com>
3304 * libs/gst/net/gstnetclientclock.c: (inet_aton),
3305 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3306 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3307 * libs/gst/net/gstnetclientclock.h:
3308 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3309 * libs/gst/net/gstnettimepacket.h:
3310 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3311 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3312 (gst_net_time_provider_thread), (gst_net_time_provider_new):
3313 * libs/gst/net/gstnettimeprovider.h:
3314 Make stuff compile on windows. Fixes #345295.
3316 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3318 * gst/gst.c: (ensure_current_registry_forking):
3319 Print better details when child was terminated by signal.
3321 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3323 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3324 Print a warning rather than g_assert() if a plugin feature
3325 is a URI handler but returns no protocols (#353976).
3327 2006-09-02 Stefan Kost <ensonic@users.sf.net>
3329 * docs/random/moving-plugins:
3332 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
3334 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3335 Fix locking order, handle NULL function values properly.
3340 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3341 Initialise variable before using it and fix debug statement to
3342 print the address of the function rather than the address of the
3343 variable on the stack holding the address of the function.
3345 2006-09-01 Wim Taymans <wim@fluendo.com>
3347 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3348 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3349 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3350 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3351 (gst_ghost_pad_parent_unset),
3352 (gst_ghost_pad_internal_do_activate_push),
3353 (gst_ghost_pad_internal_do_activate_pull),
3354 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3355 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3356 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3357 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3358 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3359 (gst_ghost_pad_new_no_target_from_template),
3360 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3362 Avoid needless typechecking in macros.
3363 Since the internal pad is always present and never changes, there is
3364 no need to locking or ref when retrieving it.
3365 Improve debugging a bit.
3366 Handle link errors when setting the target. Fixes #341029.
3368 2006-09-01 Wim Taymans <wim@fluendo.com>
3370 * docs/libs/gstreamer-libs-sections.txt:
3371 * docs/plugins/gstreamer-plugins-sections.txt:
3374 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3375 (gst_collect_pads_event):
3376 * libs/gst/base/gstcollectpads.h:
3377 Documentation updates.
3378 Free queued buffer when removing a pad.
3380 2006-08-31 Michael Smith <msmith@fluendo.com>
3382 * gst/gstutils.c: (gst_element_link_pads),
3383 (gst_element_link_pads_filtered):
3384 Ensure that we set a capsfilter to NULL if we failed to link it
3385 when doing filtered linking, to avoid criticals.
3387 No need to check for unreffing srcpad, which is explicly NULLed
3388 above (a trivial code cleanup).
3390 2006-08-31 Wim Taymans <wim@fluendo.com>
3392 * docs/design/part-gstghostpad.txt:
3393 Update ascii art in documentation.
3395 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3396 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3397 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3398 (gst_ghost_pad_internal_do_activate_push),
3399 (gst_ghost_pad_internal_do_activate_pull),
3400 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3401 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3402 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3403 (gst_ghost_pad_set_target):
3404 Small cleanups and leak fixes.
3405 Remove some checks now that the internal pad is never NULL.
3406 Fix the case where linking pads without a target would create nasty
3407 criticals. Fixes #341029.
3408 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3409 value of _set_target().
3411 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3412 (gst_ghost_pad_suite):
3413 Some more tests for creating and linking untargeted ghostpads.
3415 2006-08-31 Edward Hervey <edward@fluendo.com>
3417 * docs/gst/gstreamer-sections.txt:
3418 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3419 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3420 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3421 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3422 (gst_ghost_pad_new_from_template),
3423 (gst_ghost_pad_new_no_target_from_template):
3424 * gst/gstghostpad.h:
3425 Refactored *_new() functions.
3426 Templates are now used as a g_object_new() parameter.
3427 Use template in _do_getcaps() if we don't have a target.
3428 Small documentation cleanups.
3429 Added two new constructors:
3430 gst_ghost_pad_new_from_template()
3431 gst_ghost_pad_new_no_target_from_template()
3432 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3433 (gst_ghost_pad_suite):
3434 Added tests for new ghostpad instanciation functions.
3436 API additions: gst_ghost_pad_new_from_template,
3437 gst_ghost_pad_new_no_target_from_template
3439 2006-08-30 Stefan Kost <ensonic@users.sf.net>
3441 * docs/random/ensonic/profiling.txt:
3442 Ideas about qos profiling.
3444 2006-08-29 Wim Taymans <wim@fluendo.com>
3446 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3450 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
3453 Improve and detypofy docs.
3455 * tests/check/Makefile.am:
3456 * tests/check/gst/.cvsignore:
3457 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3458 Add a basic test suite for GstXML.
3460 2006-08-29 Wim Taymans <wim@fluendo.com>
3462 * gst/gstelement.c: (activate_pads), (clear_caps),
3463 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3464 Clear the pad caps when the element shut down all of the pads and
3465 is not streaming data that could modify the caps.
3468 2006-08-28 Michael Smith <msmith@fluendo.com>
3470 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3471 Revert previous change; I misunderstood single-segment mode.
3473 2006-08-28 Michael Smith <msmith@fluendo.com>
3475 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3476 Unset DISCONT on buffers when using single-segment mode.
3478 2006-08-28 Wim Taymans <wim@fluendo.com>
3480 * gst/gstcaps.c: (gst_caps_merge_structure):
3482 Fix docs and indentation again.
3484 * tests/check/gst/gstquery.c: (GST_START_TEST):
3485 Fix leak in tests and add some more tests.
3487 2006-08-28 Edward Hervey <edward@fluendo.com>
3489 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3490 Inform GstSegment of the last stop position in order for the current
3491 segment to have a proper duration if it doesn't have a specific stop
3492 position from which a duration could be calculated.
3493 This bug was noticeable when a non-flushing, non-update new segment was
3494 followed by another segment (all buffers from the new segment were being
3497 2006-08-28 Wim Taymans <wim@fluendo.com>
3499 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3500 Small comment update.
3502 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3503 (gst_identity_transform_ip):
3504 Drop-probability is broken, mention this in the code with a
3505 FIXME and also in the property description.
3506 Make silent also be silent about the drop messages.
3508 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
3510 * docs/manual/appendix-win32.xml:
3511 Remove mention of popt, we don't depend on that any
3512 longer (#353136). Add some comments pointing out that
3513 this section is slightly outdated.
3515 2006-08-28 Wim Taymans <wim@fluendo.com>
3517 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3519 * gst/gstquery.c: (gst_query_new_segment):
3520 * tests/check/gst/gstquery.c: (GST_START_TEST):
3521 Initialize variables when creating a new segment query.
3524 2006-08-28 Wim Taymans <wim@fluendo.com>
3526 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3528 * gst/gstelement.c: (gst_element_get_bus):
3529 * tests/check/gst/gstelement.c: (GST_START_TEST):
3530 Check for NULL before _reffing the bus. Fixes #353122.
3532 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
3534 * docs/manual/basics-bus.xml:
3535 Docs update: fix wrong callback return value explanation; add
3536 some lines about the implicit relationship between main loop
3537 and main context; remove duplicate main loop variable declaration.
3539 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
3541 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3542 Don't leak caps in unit test; add a few more simple
3545 2006-08-24 Stefan Kost <ensonic@users.sf.net>
3547 * docs/gst/gstreamer-sections.txt:
3548 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3549 (gst_caps_structure_is_subset), (gst_caps_merge),
3550 (gst_caps_merge_structure):
3552 * libs/gst/base/gstbasetransform.c:
3553 (gst_base_transform_transform_caps):
3554 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3555 implement caps merging (fixes #352580)
3557 2006-08-23 Stefan Kost <ensonic@users.sf.net>
3559 * tools/Makefile.am:
3560 * tools/gst-plot-timeline.py:
3561 add debug-log plotting developer tool (#340674)
3563 2006-08-23 Wim Taymans <wim@fluendo.com>
3565 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3566 (gst_pad_stop_task):
3567 Improve debugging for task functions.
3569 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3570 (gst_task_start), (gst_task_pause), (gst_task_join):
3571 Make sure that the task function started and finished after a
3573 Don't try to push the task function on the threadpool multiple
3575 Improve the g_warning message with some useful suggestions
3576 about how to fix the problem.
3578 2006-08-23 Wim Taymans <wim@fluendo.com>
3580 * gst/gstutils.c: (gst_pad_proxy_getcaps):
3581 Handle RESYNC correctly in _proxy_getcaps.
3583 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
3585 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3586 (gst_xml_parse_memory), (gst_xml_get_element):
3587 Chain up to parent class in dispose function and also
3588 unref the elements in the toplevel_elements GList.
3589 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3590 Always return a reference in gst_xml_get_element() rather
3591 than only sometimes.
3593 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3594 Don't leak GstXml object.
3596 2006-08-21 Stefan Kost <ensonic@users.sf.net>
3598 * docs/gst/gstreamer-sections.txt:
3599 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3602 * libs/gst/base/gstbasetransform.c:
3603 (gst_base_transform_transform_caps):
3604 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3607 2006-08-21 Edward Hervey <edward@fluendo.com>
3609 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3610 Implement GObject::dispose virtual method in GstXML so we can free the
3613 2006-08-21 Wim Taymans <wim@fluendo.com>
3615 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3616 (gst_buffer_create_sub):
3617 Copy duration/offset_end/caps when creating a subbuffer of the
3619 Make the subbuffer read-only when we make the metadata writable for
3622 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3623 Added check for metadata copy when creating subbuffers.
3625 2006-08-21 Edward Hervey <edward@fluendo.com>
3627 * libs/gst/base/gstbasetransform.c:
3628 (gst_base_transform_buffer_alloc):
3629 Only call downstream buffer_alloc if transform element is passthrough
3630 or always_in_place. Closes #350449.
3632 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3635 ChangeLog surgery to add comments to previous changes
3637 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3642 * gst/gstpad.c: (gst_pad_set_active):
3643 Be more verbose in the log
3645 * libs/gst/base/gstbasetransform.c:
3646 (gst_base_transform_transform_caps):
3647 Simplify caps to get rid of duplicates, fixes #345444
3649 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3653 Use these optimizations only internally.
3655 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3657 * gst/gstvalue.c: (gst_value_compare_list),
3658 (gst_value_compare_fraction_range),
3659 (gst_value_intersect_fraction_fraction_range),
3660 (gst_value_intersect_fraction_range_fraction_range),
3661 (gst_value_subtract_fraction_fraction_range),
3662 (gst_value_subtract_fraction_range_fraction_range),
3663 (gst_value_get_compare_func), (gst_value_compare),
3664 (gst_value_compare_with_func):
3666 Saves the expensive lookup of the compare function in many cases
3669 2006-08-18 Edward Hervey <edward@fluendo.com>
3671 * tests/check/gst/gstinfo.c: (gst_info_suite):
3672 Disable test that require gstdebug if it wasn't built in core.
3674 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3676 * docs/random/ensonic/logging.txt:
3679 * gst/gstinfo.c: (gst_debug_log_default):
3680 reorder fields, save some columns, add optional color codes for log
3683 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3685 * docs/random/ensonic/logging.txt:
3686 add ideas about making the logs a bit more useful
3688 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3690 * docs/pwg/advanced-events.xml:
3691 * docs/pwg/titlepage.xml:
3692 Update for 0.10 API (#340627). Add myself
3695 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3697 * docs/libs/gstreamer-libs-docs.sgml:
3698 * docs/libs/gstreamer-libs-sections.txt:
3699 * libs/gst/check/gstbufferstraw.c:
3700 Make gstcheck stuff show up in docs (still needs to
3701 be documented properly though).
3703 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
3705 * docs/gst/gstreamer-sections.txt:
3707 * gst/gst.c: (init_post):
3708 * gst/gst_private.h:
3709 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3711 * gst/gstquery.c: (gst_query_new_position),
3712 (gst_query_set_position), (gst_query_parse_position),
3713 (gst_query_new_duration), (gst_query_set_duration),
3714 (gst_query_parse_duration), (gst_query_new_convert),
3715 (gst_query_set_convert), (gst_query_parse_convert),
3716 (gst_query_new_segment), (gst_query_set_segment),
3717 (gst_query_parse_segment), (gst_query_new_seeking),
3718 (gst_query_set_seeking), (gst_query_parse_seeking):
3719 Add internal helpers for pre-registering quarks from static strings
3720 and using the quark values directly instead of looking them up when
3721 creating and parsing queries. Can be used for event construction too.
3724 2006-08-16 Wim Taymans <wim@fluendo.com>
3729 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3731 * gst/gstutils.c: (gst_util_set_value_from_string):
3732 Fix memleak (#351502).
3734 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3735 Add unit test for most of gst_util_set_value_from_string()
3736 (not that one would want to encourage use of this function).
3738 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3740 * libs/gst/check/gstcheck.h:
3741 Use const gchar * variables in fail_unless_equals_string
3742 macro to avoid compiler warnings (and don't use tabs for
3745 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3747 * tools/gst-launch.c: (print_tag):
3748 More space on the left for the tag names, to cater
3749 for the 'extended comment' tag (not touching the
3750 string for the first line since it's translated).
3752 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3754 * libs/gst/check/gstcheck.h:
3755 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
3756 print something when they fail.
3758 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3760 * docs/gst/gstreamer-sections.txt:
3761 * gst/gsttaglist.c: (_gst_tag_initialize):
3763 API: add GST_TAG_EXTENDED_COMMENT (#350935).
3764 Also change merge function for GST_TAG_COMMENT to
3767 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3769 * gst/gstinfo.c: (gst_debug_print_object):
3770 Make GST_PTR_FORMAT print messages as well.
3772 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
3773 (GST_START_TEST), (gst_info_suite):
3776 2006-08-14 Edward Hervey <edward@fluendo.com>
3778 * gst/gstelementfactory.c: (gst_element_register):
3779 If the GstElementClass doesn't have a GstElementDetails with all fields
3780 filled up correctly (longname, description AND author), then error out
3781 nicely instead of crashing.
3783 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3785 * gst/gststructure.c:
3786 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
3789 Expand on the difference between arrays and lists as we use them.
3791 2006-08-14 Wim Taymans <wim@fluendo.com>
3793 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3794 If the parent state change function failed, don't assume we can safely
3795 stop the source, this will be done when the pads are deactivated.
3797 2006-08-14 Wim Taymans <wim@fluendo.com>
3800 * gst/gsttask.c: (gst_task_join):
3803 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3804 (gst_pad_stop_task):
3805 When pad (de)activation failed for some reason, restore the old
3806 activation mode and set the pad to flushing instead of assuming the
3808 If the _task_join() failed, reinstall the task on the pad so that it can
3809 be stopped later and return an error.
3811 2006-08-11 Andy Wingo <wingo@pobox.com>
3814 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3815 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
3816 is only for users of API that don't want to see deprecated
3817 functions in the headers; people that want to compile out
3818 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
3819 CFLAGS. Fixes the build of multifdsink, or will soon..
3821 2006-08-11 Wim Taymans <wim@fluendo.com>
3823 * docs/gst/gstreamer-sections.txt:
3824 Add GstClockClass vmethod docs.
3827 Mark #endif with comment for associated #if
3829 * gst/gstclock.c: (gst_clock_id_wait):
3831 Add vmethod wait_jitter to avoid an unneeded _get_time() for
3832 most clock implementations.
3834 Flesh out docs about resolution methods.
3835 API: GstClockClass::wait_jitter
3837 * gst/gstsystemclock.c: (gst_system_clock_class_init),
3838 (gst_system_clock_async_thread),
3839 (gst_system_clock_id_wait_jitter_unlocked),
3840 (gst_system_clock_id_wait_jitter):
3841 Use base class wait_jitter variant for improved performance
3842 due to less clock polling.
3844 2006-08-11 Edward Hervey <edward@fluendo.com>
3846 * gst/gst.c: (gst_init_check), (init_post):
3847 Set gst as being initialized before scanning/updating the registry,
3848 since there might be my python plugin loader that calls gst_init() and
3849 we don't want to loop back in.
3852 2006-08-11 Wim Taymans <wim@fluendo.com>
3854 * docs/design/part-qos.txt:
3855 Bring docs in line with the code. Mostly the sign of the jitter was
3856 wrong in the docs. Fixes #349943.
3859 Fix the docs for the jitter.
3861 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
3862 (gst_event_parse_tag), (gst_event_new_buffer_size),
3863 (gst_event_parse_buffer_size), (gst_event_parse_qos),
3864 (gst_event_new_seek), (gst_event_parse_seek),
3865 (gst_event_new_navigation):
3866 Make sure the GstStructure has no parent when creating custom
3868 Add some more argument checking so that we avoid 0.0 rates.
3869 Flesh out the docs for the QoS event some more.
3871 2006-08-11 Wim Taymans <wim@fluendo.com>
3873 * docs/gst/gstreamer-sections.txt:
3874 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3875 (ensure_current_registry_forking), (ensure_current_registry),
3876 (parse_one_option), (parse_goption_arg), (gst_deinit),
3877 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
3880 Added API and command line option to disable registry forking in
3881 addition to the environment variable.
3882 Constify some static arrays.
3883 Added some more debug.
3885 API: gst_registry_fork_is_enabled()
3886 API: gst_registry_fork_set_enabled()
3887 API: --gst-disable-registry-fork command line option
3890 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
3892 * gst/gst.c: (gst_init):
3893 Fix typo in error message.
3895 2006-08-10 Stefan Kost <ensonic@users.sf.net>
3897 * libs/gst/controller/gstcontroller.h:
3898 fix ABI size-correction
3900 * tests/check/libs/gdp.c: (gst_dp_suite):
3901 make tests that use deprecated API conditional
3903 2006-08-10 Stefan Kost <ensonic@users.sf.net>
3905 * docs/libs/gstreamer-libs-sections.txt:
3906 * libs/gst/controller/gstcontroller.c:
3907 (_gst_controller_get_property), (_gst_controller_set_property),
3908 (_gst_controller_init), (_gst_controller_class_init):
3909 * libs/gst/controller/gstcontroller.h:
3910 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
3911 (gst_object_set_control_rate):
3912 API: add gst_object_{s,g}et_control_rate(), add private data section,
3915 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3916 * libs/gst/dataprotocol/dataprotocol.h:
3917 add deprecation guards to make gtk-doc happy and allow disabling cruft
3919 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
3921 * tests/check/Makefile.am:
3922 * tests/check/gst/.cvsignore:
3923 Let's enable the new unit test as well.
3925 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
3928 * docs/gst/gstreamer-sections.txt:
3929 * gst/gstconfig.h.in:
3930 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
3931 (_gst_info_printf_extension_ptr),
3932 (_gst_info_printf_extension_segment):
3933 API: add GST_SEGMENT_FORMAT, which is a printf extension we
3934 register that lets us easily dump GstSegments into debug
3937 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
3938 (info_segment_format_printf_extension), (gst_info_suite):
3939 Add simple unit test that logs a bunch of different segments (not
3940 valgrinded at the moment because of leaks in
3941 gst_debug_add_log_function).
3943 2006-08-09 Edward Hervey <edward@fluendo.com>
3945 * libs/gst/base/gstbasetransform.c:
3946 (gst_base_transform_buffer_alloc):
3947 Even if we can't figure out the proper format to request downstream,
3948 call buffer_alloc() downstream with the input parameters without setting
3949 the caps on the srcpad. This will force negotiation in the chain
3953 2006-08-08 Edward Hervey <edward@fluendo.com>
3955 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3956 Unlinking from a pad without a target is now a perfectly valid case
3957 which should NOT raise an assertion.
3958 This case would happen if a linked ghostpad its target set to NULL after
3959 it was previously linked.
3961 2006-08-08 Edward Hervey <edward@fluendo.com>
3963 * tests/check/libs/gdp.c:
3964 Also comment out the test (see below).
3966 2006-08-08 Edward Hervey <edward@fluendo.com>
3968 * tests/check/libs/gdp.c: (gst_dp_suite):
3969 Use the architecture information from config.h and not gcc macros
3970 in order to properly disable a test that fails on PPC64.
3972 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
3974 * gst/gstelement.c: (gst_element_remove_pad):
3975 Don't crash printing the warning if the pad has no parent.
3977 2006-08-02 Wim Taymans <wim@fluendo.com>
3979 * libs/gst/dataprotocol/dataprotocol.c:
3980 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
3981 (gst_dp_crc), (gst_dp_header_payload_length),
3982 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
3983 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
3984 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
3985 (gst_dp_event_from_packet), (gst_dp_validate_header),
3986 (gst_dp_validate_payload):
3987 Make debug category static
3988 Constify the crc table.
3989 Do some more arg checking in public functions.
3990 Fix some docs and do some small cleanups.
3992 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
3993 Add some more checks to see if GDP deals with bogus input.
3995 2006-07-31 Wim Taymans <wim@fluendo.com>
3997 * gst/gstvalue.c: (gst_value_compare_list):
3998 Fix GstValueList comparison code. Fixes #347293.
4000 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4001 Check to test GstValueList comparison.
4003 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4005 * gst/gstelementfactory.c: (gst_element_factory_create):
4006 Remove unnecessary ref/unref pair
4008 * gst/parse/grammar.y:
4009 Make sure to free the parse buffer on all code paths.
4010 Move a g_free up to the error handler where it's easier to see.
4012 * tests/check/gst/gstevent.c: (test_event):
4013 Extending timeout for downstream travelling events to 10 seconds to
4014 hopefully avoid intermittent failure on the buildbots.
4016 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4017 Don't manually set the state of the src element - it will happen as a
4018 natural consequence of the pipeline changing state, and that way it
4019 will do it in the right order too.
4021 2006-07-31 Wim Taymans <wim@fluendo.com>
4023 * libs/gst/base/gstbasetransform.c:
4024 (gst_base_transform_buffer_alloc):
4025 Use OBJECT_LOCK and refcounting to get the pad caps in the
4026 buffer_alloc function because the caps could change while we are
4027 busy with them. Fixes #349105
4029 2006-07-31 Wim Taymans <wim@fluendo.com>
4031 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4032 Protect _PAD_CAPS with OBJECT_LOCK.
4034 2006-07-31 Wim Taymans <wim@fluendo.com>
4036 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4037 (gst_pad_get_property), (gst_pad_activate_pull),
4038 (gst_pad_activate_push), (gst_pad_set_blocked_async),
4039 (gst_pad_set_activate_function),
4040 (gst_pad_set_activatepull_function),
4041 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4042 (gst_pad_set_getrange_function),
4043 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4044 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4045 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4046 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4047 (gst_pad_set_acceptcaps_function),
4048 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4049 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4050 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4051 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4052 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4053 (gst_pad_configure_sink), (gst_pad_configure_src),
4054 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4055 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4056 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4057 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4058 (gst_pad_send_event):
4059 Use _DEBUG_OBJECT when it makes sense.
4060 Protect GST_PAD_CAPS with the OBJECT_LOCK.
4061 Small cleanups and code reflows.
4062 Avoid caps refcounting in _accept_caps.
4063 Refactor alloc_buffer so that the code performed on the peer is in a
4064 separate function. Also if the pad does not implement a buffer alloc
4065 function, we should still check if the pad is flushing before falling
4066 back to the default allocator.
4068 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4070 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4071 Make all uses of identity and fakesink have silent=true to avoid
4072 serialising every passing data structure, which is breaking tests
4073 on FC4 for some unknown reason.
4075 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4077 * gst/parse/Makefile.am:
4078 * gst/parse/grammar.y:
4079 * gst/parse/parse.l:
4080 Reverted previous patch as it required to bump the flex dependency to
4081 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4083 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4085 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4087 * gst/parse/Makefile.am:
4088 * gst/parse/grammar.y:
4089 * gst/parse/parse.l:
4090 push & pop the state of the lexer for reentrant use case
4093 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
4095 * libs/gst/base/gstbasesrc.h:
4096 Note in the docs that the ::newsegment vfunc is not actually used by
4099 2006-07-28 Wim Taymans <wim@fluendo.com>
4101 * libs/gst/base/gstcollectpads.c:
4102 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4103 (gst_collect_pads_clear), (gst_collect_pads_flush),
4104 (gst_collect_pads_event), (gst_collect_pads_chain):
4105 When flushing a pad, also clear the queued buffer so that we don't
4106 accidentally use it when we shouldn't.
4107 Fix leaks by inreffing incomming buffer.
4108 Flush out queued buffers in case of errors.
4111 2006-07-28 Wim Taymans <wim@fluendo.com>
4113 * docs/random/phonon-gst:
4114 Random notes about a Phonon backend.
4116 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4118 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4120 * tests/check/libs/gdp.c: (gst_dp_suite):
4121 Take a whack at fixing the ppc compile using a different define to
4122 disable the broken test.
4124 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4125 Remove excess g_print()
4127 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4129 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4130 Oops, meant to uncomment this line too to dampen the noise a bit.
4132 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4134 * gst/parse/grammar.y:
4135 * gst/parse/parse.l:
4136 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4137 (GST_START_TEST), (parse_suite):
4138 Fix some of the leaks exposed by extending the parse-launch testsuite,
4139 and move the 3 I can't figure out into a separate test that won't run
4140 the pipelines unless the appropriate line is uncommented.
4142 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4144 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4145 Requesting 0 bytes before the end of the file should result in
4146 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4149 2006-07-27 Wim Taymans <wim@fluendo.com>
4151 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4152 Fix useless assert, a uint is always positive.
4154 * gst/gststructure.c: (gst_structure_nth_field_name),
4155 (gst_structure_foreach), (gst_structure_map_in_place):
4156 Check input arguments for public functions to avoid obvious crashes.
4158 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4159 * plugins/elements/gstfakesink.h:
4160 Do less useless typechecking.
4162 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4164 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4165 Do not use mmap() by default since there are a number of error
4166 conditions that we would like to handle in a non-fatal way that
4167 will result in a SIGBUS if we use mmap(). Examples: external
4168 devices (USB harddrive, portable music player) being unplugged
4169 while in use; file on mounted CD/DVD that can't be read because
4170 the medium is partly damaged. Fixes #348455 and #348475.
4172 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4175 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4178 2006-07-26 Stefan Kost <ensonic@users.sf.net>
4180 * gst/gstregistry.c:
4181 Move big documentation comment into class section header, so that it
4182 appears in the API docs.
4184 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4186 * docs/gst/gstreamer-sections.txt:
4187 Oops. Commit the docs additions too for new API.
4188 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4190 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4192 * gst/gststructure.c: (gst_structure_id_set),
4193 (gst_structure_id_set_valist):
4194 * gst/gststructure.h:
4195 Add API for setting values into structures without performing
4196 a quark lookup, if the appropriate quark is already known.
4198 API: gst_structure_id_set
4199 API: gst_structure_id_set_valist
4201 * gst/parse/grammar.y:
4202 * gst/parse/parse.l:
4203 Remove some dead code shown by the coverage information.
4204 Don't throw a critical g_warning when encountering a syntax error,
4205 just warn and let the normal error path handle it.
4207 * plugins/elements/gstelements.c:
4208 Bump the rank of filesink up to PRIMARY so that it is preferred over
4209 gnomevfssink for file:// sink uri's
4211 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4212 (GST_START_TEST), (run_delayed_test),
4213 (gst_parse_test_element_base_init),
4214 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4215 (gst_parse_test_element_change_state),
4216 (gst_register_parse_element), (parse_suite):
4217 Beef up the tests for parse syntax to check that more error cases
4218 fail as they are supposed to. Increases the test coverage a bit.
4220 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
4222 * docs/manual/basics-elements.xml:
4223 Fix gst_element_link() example.
4226 Mention in API docs that one should usually gst_bin_add()
4227 elements to a bin or pipeline before doing the linking.
4229 2006-07-26 Wim Taymans <wim@fluendo.com>
4231 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4232 (gst_subbuffer_get_type), (gst_buffer_create_sub):
4233 Avoid function call for known types by keeping the buffer and
4234 subbuffer GType global.
4236 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4237 Random silly optimisations in read() path.
4239 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4241 * tools/gst-launch.c: (main):
4242 If the top-level of the parse is a normal bin, it doesn't do the
4243 right logic to run as a top-level element, so place it inside a
4246 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
4248 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4249 Remove superfluous g_object_notify() calls, GObject does
4250 that for us automatically.
4252 2006-07-25 Stefan Kost <ensonic@users.sf.net>
4255 on Win32, use dllspec to export the debug category symbols
4257 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
4259 * gst/gsttaglist.c: (_gst_tag_initialize):
4260 Allow more than one GST_TAG_IMAGE per taglist.
4262 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
4264 * gst/gstminiobject.c:
4266 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4267 (gst_fd_src_create):
4268 log recurring events at LOG level
4269 add more debug for when the fd gets set
4271 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4273 * gst/gstparse.c: (gst_parse_launch):
4274 Also remove reentrance checks if flex is MT safe (#348179)
4275 Fix my empty ChangeLog entry below
4277 2006-07-21 Andy Wingo <wingo@pobox.com>
4279 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4281 * libs/gst/check/Makefile.am
4282 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4283 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
4284 * libs/gst/check/gstbufferstraw.h:
4285 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4286 functions, thus proving I am still a GStreamer haxor. OK I wrote
4287 them a long time ago, but anyways.
4289 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4292 * gst/gstparse.c: (gst_parse_launch):
4293 Check for flex version and omit mutex if we have a MT save flex
4296 2006-07-21 Wim Taymans <wim@fluendo.com>
4298 * gst/gstparse.c: (gst_parse_launch):
4299 Protect recursive calls to _parse with a recursive mutex
4302 2006-07-21 Wim Taymans <wim@fluendo.com>
4304 * tests/check/gst/gstpad.c: (GST_START_TEST):
4307 2006-07-20 Stefan Kost <ensonic@users.sf.net>
4309 * gst/gstparse.c: (gst_parse_launch):
4310 Do not hang on recursive usage of gst_parse_launch()
4312 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4315 Add some more docs, comments and FIXME 0.11s here and there
4316 and also fix some typos.
4318 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4321 Convert tabs to spaces for better readability.
4323 2006-07-20 Edward Hervey <edward@fluendo.com>
4325 * tests/check/libs/gdp.c: (gst_dp_suite):
4326 the test_buffer test fails at line 140 on ppc64 at the following
4328 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4329 GST_BUFFER_FLAG_IN_CAPS),
4330 "GST_BUFFER_IN_CAPS flag should have been copied !");
4331 See bug #348114 for more details.
4333 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
4335 * docs/pwg/advanced-scheduling.xml:
4337 Fix typos (#348000).
4339 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
4341 * docs/pwg/intro-basics.xml:
4342 Fix wrong links (#347927).
4344 2006-07-18 Stefan Kost <ensonic@users.sf.net>
4346 * gst/gstregistry.h:
4347 * gst/gstregistryxml.c: (load_feature),
4348 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4349 * win32/common/config.h:
4350 make --disable-index work (#342564)
4352 2006-07-18 Wim Taymans <wim@fluendo.com>
4354 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4358 The attached patch adds two missing defines to gsttrace.h when tracing
4359 is disabled. It also corrects one existing define.
4362 2006-07-17 Wim Taymans <wim@fluendo.com>
4364 * docs/gst/gstreamer-sections.txt:
4365 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4367 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4368 Add two functions to check and change the SIGSEGV behaviour
4369 when loading plugins.
4370 Don't mess with the SIGSEGV handler when we were told not to.
4372 API: gst_segtrap_is_enabled
4373 API: gst_segtrap_set_enabled
4375 2006-07-14 Wim Taymans <wim@fluendo.com>
4377 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4378 * tests/check/elements/filesrc.c: (GST_START_TEST):
4379 Revert fix for regression in #347408 after release.
4381 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
4383 Patch by: Antoine Tremblay <hexa00 at gmail com>
4385 * gst/gstutils.c: (gst_element_unlink):
4386 Free iterator when done (#347311).
4388 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4389 And add a test case for this.
4391 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
4394 Bump nano back to CVS
4396 === release 0.10.9 ===
4398 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
4401 releasing 0.10.9, "On the road again"
4403 2006-07-13 Wim Taymans <wim@fluendo.com>
4405 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4406 * tests/check/elements/filesrc.c: (GST_START_TEST):
4407 Revert pull-0 fix for release. Disable check. Fixes #347408.
4409 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4411 * libs/gst/dataprotocol/dataprotocol.c:
4412 (gst_dp_event_from_packet_1_0):
4413 Fixes #347337: failure to deserialize event packets with
4414 empty payload (only event type)
4416 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4419 do not install a .c file in the header directory
4421 2006-07-13 Edward Hervey <edward@fluendo.com>
4423 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4424 GhostPad no longer implicitely use the padtemplates of the targets.
4427 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
4429 * gst/gstvalue.c: (gst_value_compare_list),
4430 (gst_value_compare_array), (_gst_value_initialize):
4431 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4432 Make GstValueArray comparison be order dependent as designed.
4433 Add checks for value lists and value array comparisons.
4436 2006-07-11 Edward Hervey <edward@fluendo.com>
4438 * gst/gstbin.c: (activate_pads),
4439 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4440 (gst_bin_change_state_func):
4441 (de)activate src pads before calling state_change on the childs.
4442 This is to avoid the case where a src ghostpad is blocked (holding the
4443 stream lock), which would block the deactivation of the ghostpad's
4445 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4446 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4447 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4448 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4449 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4450 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4451 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4452 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4453 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4454 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4455 (gst_ghost_pad_class_init),
4456 (gst_ghost_pad_internal_do_activate_push),
4457 (gst_ghost_pad_internal_do_activate_pull),
4458 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4459 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4460 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4461 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4462 GhostPads now create their internal GstProxyPad at creation (and not
4463 when they're linked, as it was being done previously).
4464 The internal and target pads are linked straight away.
4465 The data will also travel through the other pad in order to make
4466 pad blocking and probes non-hackish (the probe/block now really happens
4467 on the GhostPad and not on the target).
4468 * gst/gstpad.c: (gst_pad_set_blocked_async),
4469 (gst_pad_link_prepare), (gst_pad_push_event):
4470 Remove previous ghostpad cruft.
4471 * gst/gstutils.c: (gst_pad_add_data_probe),
4472 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4473 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4474 (gst_pad_remove_buffer_probe):
4475 Remove previous ghost pad cruft.
4476 Added more detailed debug statements.
4477 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4478 Fix the testsuite for refcounting changes.
4479 The comments about who has references were correct, but the refcount
4480 being checked wasn't the same (!?!).
4484 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4486 * docs/gst/gstreamer-sections.txt:
4487 * gst/gstconfig.h.in:
4488 More docs for configuration options, add docs to gtk-doc.
4490 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4493 * gst/gstconfig.h.in:
4494 * win32/common/config.h:
4495 Fix build when disabling tracing (fixes #344016). Also start to document
4496 the defines that disable the sub-systems.
4498 2006-07-10 Edward Hervey <edward@fluendo.com>
4500 * gst/gst.c: (ensure_current_registry_forking):
4501 let's make valgrind happy...
4503 2006-07-09 Wim Taymans <wim@fluendo.com>
4505 * gst/gstelement.c: (activate_pads),
4506 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4507 Better pad activation code: Reset the collect value too on resync.
4510 2006-07-09 Wim Taymans <wim@fluendo.com>
4512 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4513 (gst_pad_activate_push):
4514 Use some more macros where it makes sense.
4515 Allow pad mode switching instead of asserting. When a pad
4516 is activated in one mode and we activate it in another,
4517 deactivate it first before activating it in a different mode.
4520 2006-07-08 Andy Wingo <wingo@pobox.com>
4522 * tools/gst-launch.c (main): Handle err == NULL.
4524 * gst/gst.c (init_post, ensure_current_registry)
4525 (ensure_current_registry_forking)
4526 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4527 factoring out the registry scanning into separate functions. Don't
4528 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4529 Better environment var name/interface suggestions accepted.
4531 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4533 * gst/gstobject.c: (gst_object_set_name_default),
4534 (gst_object_set_name):
4535 Random micro-optimisation: don't use a hash table
4536 with strings as keys and the usual strdup/strcmp
4537 involved, but rather just use the GQuark of the
4538 type name as key, since it needs to be looked up
4539 anyway to get the type name string.
4541 * tests/check/gst/gstobject.c: (GST_START_TEST):
4544 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4546 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4547 (gst_bin_iterate_all_by_interface):
4548 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4549 GTypes are gulongs and thus the top 4 bytes might be cut
4550 off on some platforms when doing GPOINTER_TO_INT, leading
4551 to invalid GTypes and bad things happening (see RH bug #179654).
4552 Also add a check to make sure the type passed in is really
4555 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4560 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4564 * gst-element-check.m4:
4565 * gst-element-check.m4.in:
4566 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4567 instead of the unversioned gst-inspect (#324176, #168659).
4569 2006-07-06 Wim Taymans <wim@fluendo.com>
4572 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4575 2006-07-06 Wim Taymans <wim@fluendo.com>
4577 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4578 (gst_base_src_wait), (gst_base_src_update_length),
4579 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4580 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4581 (gst_base_src_loop), (gst_base_src_start),
4582 (gst_base_src_activate_pull):
4584 blocksize == 0 now means the default blocksize when working in push
4586 Remove some pointless asserts in _wait function.
4587 Fix offset/length calculations and EOS handling. We can now pull 0
4588 bytes as well, which is allowed.
4589 use _check_get_range() to decide if we can operate in _pull based
4591 Fix refcounting leak when check_get_range function was not
4593 API GstBaseSrc::blocksize range can be 0 too now (default)
4595 * tests/check/elements/filesrc.c: (GST_START_TEST),
4597 Added check to test _get_range() behaviour.
4599 2006-07-06 Wim Taymans <wim@fluendo.com>
4601 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4602 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4603 (gst_pad_pull_range):
4605 Lots of comments and docs added to the pad functions.
4606 Flesh out the expected behaviour of the get_range() functions.
4608 2006-07-06 Wim Taymans <wim@fluendo.com>
4613 * gst/gstiterator.h:
4617 Remove comma at end of enumerator list.
4619 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
4621 * win32/common/libgstbase.def:
4622 * win32/common/libgstdataprotocol.def:
4623 * win32/common/libsgtreamer.def:
4624 Add new exported functions.
4626 2006-07-05 Wim Taymans <wim@fluendo.com>
4628 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4629 Add some more docs here and there.
4631 2006-07-05 Wim Taymans <wim@fluendo.com>
4633 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4634 (gst_base_sink_loop), (gst_base_sink_get_position):
4635 When operating in pull mode update the offset so that we
4638 2006-07-05 Wim Taymans <wim@fluendo.com>
4640 * gst/gstregistryxml.c: (read_string):
4641 Avoid strdup. (will happen in libxml, but hey!)
4646 2006-07-05 Wim Taymans <wim@fluendo.com>
4648 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4649 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4651 No point in checking if the size of the subbuffer > 0, the
4652 code handles it correclty as demonstrated by unit test.
4653 Also add a unit test for the zero sized _new_and_alloc and
4654 _copy. Fixes #346663.
4656 2006-07-05 Wim Taymans <wim@fluendo.com>
4658 * libs/gst/base/gstbasetransform.c:
4659 (gst_base_transform_prepare_output_buffer),
4660 (gst_base_transform_buffer_alloc),
4661 (gst_base_transform_handle_buffer):
4662 Make sure the buffer we pass to transform_ip has a refcount of
4663 1 and thus is writable. Fixes #343196
4665 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
4667 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4668 (gst_file_src_init), (gst_file_src_set_property),
4669 (gst_file_src_get_property), (gst_file_src_map_region):
4670 * plugins/elements/gstfilesrc.h:
4671 Add "sequential" property, off by default, to use madvise and hint
4672 to the kernel that sequential access is desired.
4673 Touch all retrieved pages by default to ensure they are pulled
4674 into memory. (Closes #345720)
4676 2006-07-03 Wim Taymans <wim@fluendo.com>
4678 * docs/design/part-block.txt:
4679 * docs/design/part-dynamic.txt:
4682 2006-07-03 Wim Taymans <wim@fluendo.com>
4684 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4685 (gst_caps_unref), (gst_static_caps_get),
4686 (gst_caps_append_structure):
4687 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4688 Use GSlice when the glib we build against is >= 2.10
4690 2006-07-03 Wim Taymans <wim@fluendo.com>
4692 * gst/gstelement.c: (gst_element_pads_activate):
4693 Small cleanup in pad activation code.
4695 2006-07-03 Wim Taymans <wim@fluendo.com>
4697 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4699 * gst/gst-i18n-app.h:
4700 * gst/gst-i18n-lib.h:
4701 * tools/gst-inspect.c: (print_signal_info):
4702 The attached patch will make the inclusion of gettext.h unconditional in
4703 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4704 libintl.h in tools/gst-inspect.c.
4705 This allows use of --disable-nls again and fixes #344642.
4707 2006-07-03 Edward Hervey <edward@fluendo.com>
4709 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4710 Implement pad blocking on events according to part-block.txt.
4711 More comments on behaviour.
4712 * tests/check/gst/gstevent.c: (test_event):
4713 Send event to peer pad of blocked pad (else it will block).
4715 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4717 * libs/gst/check/gstcheck.c: (gst_check_message_error),
4718 (gst_check_run_suite):
4719 if we get the wrong message, give us the types as string
4720 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4722 * tests/check/elements/filesrc.c: (GST_START_TEST):
4723 add a test for trying to open a non-existing file
4725 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4727 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4728 add a test for adding self
4730 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4732 * libs/gst/check/gstcheck.h:
4733 add some assert_ as alias for fail_unless_*
4734 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4735 increase test coverage
4737 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4740 include lcov.mak for lcov coverage generation
4741 * tools/Makefile.am:
4744 2006-07-02 Edward Hervey <edward@fluendo.com>
4746 * tests/check/elements/.cvsignore:
4749 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4752 don't set CFLAGS and friends for gcov, done from GST_GCOV now
4753 * tests/check/Makefile.am:
4756 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4758 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
4759 remove gst_caps_simplify; it was not declared and not used
4760 and deprecated in 0.8
4762 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4764 * docs/faq/gst-uninstalled:
4765 don't put empty paths on PYTHONPATH
4766 * docs/gst/gstreamer-sections.txt:
4767 remove some symbols that are not there
4769 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4771 * gst/gstcaps.c: (gst_caps_compare_structures):
4773 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4774 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4777 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4779 * libs/gst/dataprotocol/Makefile.am:
4780 build dataprotocol test by linking to the lib, instead of
4781 compiling the source, so we get coverage
4782 * tests/check/Makefile.am:
4783 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
4784 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
4785 add a test for filesrc
4787 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4789 * tests/check/gst/gststructure.c: (GST_START_TEST),
4790 (gst_structure_suite):
4791 Push coverage from 59.04% to 70.00%
4793 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4795 * tests/check/Makefile.am:
4796 gst-inspect every element; this makes sure that we also get
4797 coverage on element's get/set functions
4799 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4802 set CFLAGS and friends to -O0 if gcov is being used
4805 * libs/gst/base/Makefile.am:
4806 * libs/gst/check/Makefile.am:
4807 * libs/gst/controller/Makefile.am:
4808 * libs/gst/dataprotocol/Makefile.am:
4809 * libs/gst/net/Makefile.am:
4810 * plugins/elements/Makefile.am:
4811 * plugins/indexers/Makefile.am:
4812 add makefile rules to generate gcov data and clean up
4813 * tests/check/Makefile.am:
4814 add a coverage target that generates an html overview
4817 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4819 * tests/check/elements/fakesink.c:
4820 * tests/check/elements/fakesrc.c:
4821 * tests/check/elements/fdsrc.c:
4822 * tests/check/elements/identity.c:
4823 * tests/check/generic/sinks.c: (gst_sinks_suite):
4824 * tests/check/generic/states.c:
4825 * tests/check/gst/gst.c:
4826 * tests/check/gst/gstabi.c:
4827 * tests/check/gst/gstbin.c:
4828 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
4829 * tests/check/gst/gstbus.c: (gst_bus_suite):
4830 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4831 * tests/check/gst/gstelement.c:
4832 * tests/check/gst/gstevent.c: (gst_event_suite):
4833 * tests/check/gst/gstghostpad.c:
4834 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
4835 * tests/check/gst/gstmessage.c: (gst_message_suite):
4836 * tests/check/gst/gstminiobject.c:
4837 * tests/check/gst/gstobject.c:
4838 * tests/check/gst/gstpad.c:
4839 * tests/check/gst/gstpipeline.c:
4840 * tests/check/gst/gstplugin.c:
4841 * tests/check/gst/gstquery.c: (gst_query_suite):
4842 * tests/check/gst/gstsegment.c: (gst_segment_suite):
4843 * tests/check/gst/gststructure.c:
4844 * tests/check/gst/gstsystemclock.c:
4845 * tests/check/gst/gsttag.c:
4846 * tests/check/gst/gsttask.c: (gst_task_suite):
4847 * tests/check/gst/gstutils.c:
4848 * tests/check/gst/gstvalue.c:
4849 * tests/check/libs/adapter.c:
4850 * tests/check/libs/basesrc.c:
4851 * tests/check/libs/collectpads.c:
4852 * tests/check/libs/controller.c:
4853 * tests/check/libs/gdp.c: (gst_dp_suite):
4854 * tests/check/libs/gstnetclientclock.c:
4855 * tests/check/libs/gstnettimeprovider.c:
4856 * tests/check/libs/libsabi.c: (libsabi_suite):
4857 * tests/check/libs/typefindhelper.c:
4858 * tests/check/pipelines/cleanup.c:
4859 * tests/check/pipelines/parse-launch.c:
4860 * tests/check/pipelines/simple-launch-lines.c:
4861 * tests/check/pipelines/stress.c: (stress_suite):
4864 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4866 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
4867 * libs/gst/check/gstcheck.h:
4868 create a macro and function so that the simple unit test
4869 case can be just one macro to create main()
4871 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
4873 * gst/gstbin.c: (gst_bin_restore_thyself):
4874 * gst/gstxml.c: (gst_xml_make_element):
4875 Fix deserialisation from XML. Set parent manually
4876 instead of using gst_bin_add(), since gst_bin_add()
4877 will unlink all pads of the element being added.
4880 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
4882 Patch by: Peter Kjellerstedt <pkj at axis com>
4884 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
4885 Fix missing g_strdup() and double free when using the
4886 --gst-plugin-load command line option (#346097).
4888 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
4891 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
4893 * libs/gst/net/gstnetclientclock.c:
4894 * libs/gst/net/gstnettimeprovider.c:
4895 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
4897 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
4899 * docs/manual/advanced-dataaccess.xml:
4900 Fix buffer probe example compilation in
4903 2006-06-22 Edward Hervey <edward@fluendo.com>
4905 * gst/gstelement.c: (gst_element_pads_activate):
4906 We need to deactivate src pads first and then sink pads.
4907 The reason is the src pads might be blocking while holding the streaming
4908 lock, so we need to deactivate them first so that deactivating the sink
4909 pads doesn't block (since it will require the streaming lock).
4911 2006-06-22 Wim Taymans <wim@fluendo.com>
4913 * libs/gst/base/gstbasetransform.c:
4914 (gst_base_transform_buffer_alloc):
4915 Forgot to remove two unneeded unrefs.
4916 Simplify a check _is_equal allready checks the obvious case.
4918 2006-06-22 Wim Taymans <wim@fluendo.com>
4920 * docs/design/part-block.txt:
4921 Some docs about what pad_block should do.
4923 2006-06-22 Wim Taymans <wim@fluendo.com>
4925 * gst/gstcaps.c: (gst_caps_replace):
4926 Fix crasher when passed NULL. Doc clarification.
4927 Optimize for the trivial case.
4929 * gst/gstpipeline.c: (gst_pipeline_change_state):
4932 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4933 Small documentation cleanup.
4935 * libs/gst/base/gstbasetransform.c:
4936 (gst_base_transform_buffer_alloc):
4937 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
4938 is what we need and it avoids a whole lot of redundant
4939 refcount operations.
4941 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
4943 Patch by: Philip Jägenstedt <philip at lysator liu se>
4945 * docs/manual/advanced-dataaccess.xml:
4946 Fix 'Embedding static elements' section to use
4947 GST_PLUGIN_DEFINE_STATIC (#345607).
4949 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4951 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
4952 Attempt to 'fix' spuriously failing test case: it seems like the
4953 timeout of half a second is simply too small when the system is under
4954 load otherwise, and the timeout doesn't really seem to serve any
4955 particular purpose here. Give the pipeline a few seconds to preroll
4956 first, and then give it another half a second to go from PAUSED to
4957 PLAYING and marshal the message into the main thread.
4959 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4961 * tools/gst-feedback-m.m:
4962 Don't only use unversioned tools, try versioned tools as well
4965 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4967 * gst/gstbus.c: (gst_bus_class_init):
4968 Fix some typos, make docs more explicit.
4970 2006-06-20 Wim Taymans <wim@fluendo.com>
4972 * tests/check/gst/gstghostpad.c: (block_callback),
4973 (GST_START_TEST), (gst_ghost_pad_suite):
4974 Added some more ghostpad tests, mainly blocking
4977 2006-06-16 Wim Taymans <wim@fluendo.com>
4979 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4980 (gst_file_sink_close_file), (gst_file_sink_do_seek),
4981 (gst_file_sink_event), (gst_file_sink_render):
4982 * plugins/elements/gstfilesink.h:
4983 Check if we can seek in the file instead of assuming
4984 we always can. Post an error when we are asked to seek in a
4985 non-seekable file (like a fifo). Fixes #343312.
4988 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
4990 * tools/gst-launch.1.in:
4991 Un-garble (fourcc) bit in filtered caps section.
4993 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
4995 * docs/manual/advanced-autoplugging.xml:
4996 * docs/manual/basics-helloworld.xml:
4997 * docs/manual/highlevel-components.xml:
4998 Don't leak bus reference in sample code.
5000 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
5003 Add default for new --enable-plugin-docs switch.
5006 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5010 Use new ENABLE_PLUGIN_DOCS conditional.
5012 2006-06-14 Wim Taymans <wim@fluendo.com>
5014 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5015 Make it clear with a FIXME and a real define what the #if 0
5016 previously disabled.
5018 2006-06-14 Wim Taymans <wim@fluendo.com>
5020 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5021 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5022 * libs/gst/base/gstbasetransform.c:
5023 (gst_base_transform_sink_eventfunc):
5024 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5025 Don't randomly and silently reset a segment when the format
5026 changes as this is a bug somewhere upstream. Fixes #330379.
5028 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
5030 Patch by: Wouter Paesen <wouter at kangaroot net>
5032 * libs/gst/controller/gstcontroller.c:
5033 (gst_controlled_property_new):
5034 Fix controlling of float properties (#344849).
5036 * tests/check/libs/controller.c:
5037 (gst_test_mono_source_get_property),
5038 (gst_test_mono_source_set_property),
5039 (gst_test_mono_source_class_init), (GST_START_TEST):
5040 While we're at it, add some float stuff to unit test.
5042 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5045 * docs/images/gdp-header.svg:
5047 * docs/libs/Makefile.am:
5048 * docs/libs/gdp-header.png:
5049 * libs/gst/dataprotocol/dataprotocol.c:
5050 add it to the API docs
5051 * docs/manual/intro-motivation.xml:
5054 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5056 * gst/gst.c: (scan_and_update_registry), (init_post):
5057 If the fork()'ed child process can't write the updated registry cache
5058 file to disk for some reason, make it exit with a failure exit code,
5059 so that the parent can then re-scan the plugins itself and update the
5060 registry structures in memory and work with that (rather than failing
5061 when creating elements because seemingly no plugins are available).
5062 Refactor registry scanning code into separate function for this and
5063 also separate fork() and non-fork() code paths. Fixes #344748.
5065 2006-06-13 Wim Taymans <wim@fluendo.com>
5067 * docs/manual/advanced-dataaccess.xml:
5068 Fix wrong PluginDesc. Fixes #344755.
5070 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5072 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5073 Fix silly bug that prevented us from creating
5074 ~/.gstreamer-0.10 and writing the registry in one
5075 go (the first call to g_mkstemp() would overwrite the
5076 placeholder in the template string, so the second call
5077 to g_mkstemp() after creating the missing directory
5078 would then error out with 'invalid argument').
5080 2006-06-13 Edward Hervey <edward@fluendo.com>
5082 * gst/gst.c: (init_post):
5085 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5087 * gst/glib-compat-private.h:
5088 * gst/glib-compat.c:
5089 * gst/glib-compat.h:
5090 * gst/gstvalue.c: (gst_value_serialize_flags):
5091 remove GLib 2.6 compatibility code
5093 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
5095 * gst/parse/Makefile.am:
5096 Fix build with 'make -j N' even more (#340016).
5098 2006-06-12 Wim Taymans <wim@fluendo.com>
5100 * docs/gst/gstreamer-sections.txt:
5103 2006-06-12 Wim Taymans <wim@fluendo.com>
5105 * gst/gstsegment.c: (gst_segment_set_duration),
5106 (gst_segment_set_last_stop), (gst_segment_set_seek),
5107 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5108 (gst_segment_to_running_time), (gst_segment_clip):
5109 Use G_UNLIKELY to help the compiler a bit.
5111 2006-06-12 Wim Taymans <wim@fluendo.com>
5113 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5115 * gst/gstevent.c: (gst_event_get_type):
5117 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5119 constify quark registration strings. Fixes #344115
5120 Avoid unneeded type checking is _pad_push() by internally
5121 calling gst_pad_chain_unchecked().
5123 2006-06-12 Wim Taymans <wim@fluendo.com>
5125 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5126 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5127 (gst_subbuffer_finalize), (gst_buffer_create_sub),
5128 (gst_buffer_is_span_fast), (gst_buffer_span):
5129 Init _type for consistency.
5130 Use _FLAGS macro to avoid type check.
5131 Avoid unneeded type checks in subbufer code.
5133 2006-06-12 Wim Taymans <wim@fluendo.com>
5135 * gst/gst.c: (gst_debug_help):
5136 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5137 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5138 (gst_plugin_feature_list_free):
5139 * gst/gstregistry.c: (gst_registry_add_plugin),
5140 (gst_registry_add_feature), (gst_registry_plugin_filter),
5141 (gst_registry_feature_filter), (gst_registry_find_plugin),
5142 (gst_registry_find_feature), (gst_registry_get_plugin_list),
5143 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5144 * gst/gstregistryxml.c: (load_feature),
5145 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5146 * gst/gstminiobject.c: (gst_mini_object_unref),
5147 (gst_mini_object_replace), (gst_value_mini_object_free),
5148 (gst_value_mini_object_copy):
5149 Use _CAST macros to avoid unneeded type checking.
5150 Added some more G_UNLIKELY.
5152 2006-06-12 Wim Taymans <wim@fluendo.com>
5155 Avoid unneeded type checking.
5156 API: GST_BUFFER_IS_DISCONT
5158 * gst/gstminiobject.h:
5159 Avoid type check in flag accessor.
5161 * gst/gstelementfactory.h:
5163 * gst/gstpluginfeature.h:
5165 API: GST_ELEMENT_FACTORY_CAST
5166 API: GST_PLUGIN_CAST
5167 API: GST_PLUGIN_FEATURE_CAST
5169 2006-06-12 Wim Taymans <wim@fluendo.com>
5171 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5173 Add G_UNLIKELY in type registration.
5174 Avoid type check in _ref/_unref since that is also
5177 2006-06-12 Wim Taymans <wim@fluendo.com>
5179 * gst/gsterror.c: (gst_g_error_get_type):
5180 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5181 (gst_static_pad_template_get_type):
5182 * gst/gsttaglist.c: (gst_tag_list_get_type):
5183 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5184 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5185 * gst/gsturi.c: (gst_uri_handler_get_type):
5186 * gst/gstvalue.c: (gst_date_get_type):
5187 * gst/gstxml.c: (gst_xml_get_type):
5188 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5189 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5190 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5191 Add G_UNLIKELY in type registration.
5193 2006-06-12 Wim Taymans <wim@fluendo.com>
5195 * tools/gst-inspect.c: (print_signal_info):
5196 Properly print enum values.
5198 2006-06-12 Wim Taymans <wim@fluendo.com>
5200 * gst/gstinfo.c: (gst_debug_set_active),
5201 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5203 Add some G_[UN]LIKELY.
5204 Maintain __gst_debug_min to avoid formatting the arguments of
5205 debug messages that will be dropped anyway to avoid a lot of
5206 overhead from the debugging system.
5208 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5212 add missing files containing translatable strings, tell intltool about
5215 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5217 * tests/check/libs/.cvsignore:
5218 add test-binary to ignore list
5220 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5222 * docs/libs/gstreamer-libs-docs.sgml:
5223 reorder (put dp into a chapter) and indent
5225 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5230 === release 0.10.8 ===
5232 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5235 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5237 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5239 * gst/gst.c: (init_post):
5240 move pid declaration to declaration block
5242 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5244 * gst/gst.c: (init_post):
5245 use _exit() instead of exit() in our forked child; this ensures
5246 that none of the registered exit handlers from whatever is using
5247 GStreamer get executed. This fixes gnome-mixer-applet failing
5248 to load, because ORBit would shut down.
5249 Spotted by: Edward Hervey <edward@fluendo.com>
5250 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
5253 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5258 === release 0.10.7 ===
5260 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5263 releasing 0.10.7, "Soepeke, ik zie ou"
5265 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
5288 * win32/common/config.h:
5291 2006-06-07 Wim Taymans <wim@fluendo.com>
5293 * gst/gstindex.c: (gst_index_gtype_resolver):
5294 * tools/gst-xmlinspect.c: (print_plugin_info):
5295 Fix leak spotted by coverity checker. Fixes #343827
5296 Fix another other leak found by paolo borelli.
5298 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5300 * libs/gst/dataprotocol/dataprotocol.c:
5301 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5302 (gst_dp_version_get_type), (gst_dp_init),
5303 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5304 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5305 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5306 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5307 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5308 (gst_dp_packetizer_free):
5309 * libs/gst/dataprotocol/dataprotocol.h:
5310 API: add a GstDPPacketizer object, and create/free functions
5311 API: add GstDPVersion enum
5312 Add 1.0 event function that uses the string serialization
5313 Serialize more useful buffer flags
5316 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5318 * tests/check/Makefile.am:
5319 * tests/check/gst/gstabi.c:
5320 * tests/check/gst/struct_ppc64.h:
5321 * tests/check/libs/libsabi.c:
5322 * tests/check/libs/struct_ppc64.h:
5323 add ppc64 structure sizes
5325 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5327 * tests/check/Makefile.am:
5328 * tests/check/gst/gstabi.c:
5329 * tests/check/gst/struct_x86_64.h:
5330 * tests/check/libs/libsabi.c:
5331 * tests/check/libs/struct_x86_64.h:
5332 generate and add structure size lists for x86_64
5334 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5336 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5337 * libs/gst/check/gstcheck.h:
5338 factor out the method from tests that checks size of structures,
5339 and add code to generate the header containing these sizes
5340 * tests/check/gst/gstabi.c: (GST_START_TEST):
5341 * tests/check/gst/struct_i386.h:
5342 * tests/check/libs/libsabi.c: (GST_START_TEST):
5343 * tests/check/libs/struct_i386.h:
5346 2006-06-06 Michael Smith <msmith@fluendo.com>
5349 Don't use c++-style comments, fixes #343929
5351 2006-06-05 Edward Hervey <edward@fluendo.com>
5354 plugin_paths is not used if we build without registry support.
5356 * gst/gstsegment.c: (gst_segment_copy):
5357 _copy() was always returning NULL...
5359 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5361 * libs/gst/dataprotocol/dataprotocol.c:
5362 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5363 (gst_dp_packet_from_event):
5366 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5368 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5369 make sure we unset caps
5371 2006-06-02 Michael Smith <msmith@fluendo.com>
5373 * libs/gst/check/gstcheck.c: (gst_check_init),
5374 (gst_check_chain_func):
5375 * libs/gst/check/gstcheck.h:
5376 Add a cond/mutex to the check support lib, signal this whenever we
5377 add to the buffers list. This will allow tests to not busy-wait on
5380 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5382 * libs/gst/dataprotocol/dataprotocol.c:
5383 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5384 (gst_dp_packet_from_event):
5385 factor out some common header init code
5387 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5389 * docs/libs/gstreamer-libs-sections.txt:
5390 * docs/libs/tmpl/gstdataprotocol.sgml:
5391 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5392 * libs/gst/dataprotocol/dataprotocol.h:
5393 API: make gst_dp_crc() public
5395 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5397 * plugins/indexers/gstindexers.c: (plugin_init):
5398 conditionally register fileindexer (fixes #343598)
5400 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5402 * gst/gsttagsetter.h:
5403 Can't cast ifaces to a class
5405 * libs/gst/net/gstnetclientclock.h:
5406 * libs/gst/net/gstnettimeprovider.h:
5407 * plugins/elements/gstfakesink.h:
5408 * plugins/elements/gstfakesrc.h:
5409 * plugins/elements/gstfdsink.h:
5410 * plugins/elements/gstfdsrc.h:
5411 * plugins/elements/gstfilesink.h:
5412 * plugins/elements/gstfilesrc.h:
5413 * plugins/elements/gstidentity.h:
5414 * plugins/elements/gstqueue.h:
5415 * plugins/elements/gsttee.h:
5416 * plugins/indexers/gstfileindex.c:
5417 * plugins/indexers/gstmemindex.c:
5418 * tests/old/examples/plugins/example.h:
5419 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5421 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
5423 * libs/gst/dataprotocol/dataprotocol.c:
5424 (gst_dp_header_from_buffer):
5425 make sure we zero the whole ABI-compatible area
5427 2006-06-01 Wim Taymans <wim@fluendo.com>
5429 Patch by: Alessandro Decina <alessandro at nnva dot org>
5431 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5432 Make sure the EOS flag is cleared from pads after a flush
5433 or stop. Fixes #343538.
5435 * tests/check/libs/collectpads.c: (GST_START_TEST),
5436 (gst_collect_pads_suite):
5437 Added test for collectpads reusage after EOS.
5439 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
5442 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5443 * win32/common/libgstbase.def:
5444 export gst_collect_pads_set_flushing
5445 * win32/common/libgstreamer.def:
5446 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5447 gst_value_fraction_multiply
5448 * win32/vs6/gst_inspect.dsp:
5449 add a link to intl.lib
5451 2006-05-30 Wim Taymans <wim@fluendo.com>
5453 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5454 (gst_collect_pads_chain):
5455 Handle the case where a pad is removed from the collection
5456 that could cause the other pads to become collectable.
5458 2006-05-30 Wim Taymans <wim@fluendo.com>
5461 Clarify the use of _release_request_pad() and
5462 _get_request_pad() a bit better.
5464 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5465 (gst_adapter_take_buffer):
5466 Fix some doc and comment typos.
5468 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5470 * docs/gst/gstreamer-sections.txt:
5471 * docs/libs/gstreamer-libs-sections.txt:
5472 add declared symbols
5474 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
5476 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5477 Add debug that can be enabled using a #define at the top of the file,
5478 for dumping stats about how late/early we were when waking up from
5479 waiting on the clock.
5481 2006-05-30 Wim Taymans <wim@fluendo.com>
5483 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5484 When rebuilding the pad list, don't leak the previous list.
5486 2006-05-30 Wim Taymans <wim@fluendo.com>
5488 Patch by: Lutz Mueller <lutz at topfrose dot de>
5490 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5491 (gst_base_src_get_query_types), (gst_base_src_update_length):
5492 Publish supported query types.
5493 Update last_stop field in get_range mode so the position
5494 query works. Fixes #342321.
5496 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
5498 * docs/gst/gstreamer-sections.txt:
5499 * gst/gsttaglist.c: (_gst_tag_initialize):
5501 API: add GST_TAG_PREVIEW_IMAGE (#343341).
5503 2006-05-30 Wim Taymans <wim@fluendo.com>
5505 Patch by: Alessandro Decina <alessandro at nnva dot org>
5507 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5508 Unlock mutex when removing an unknown pad.
5511 * tests/check/Makefile.am:
5512 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5513 (push_event), (setup), (teardown), (GST_START_TEST),
5514 (gst_collect_pads_suite), (main):
5515 Added collecpads check, disabled for now as check crashes for
5518 2006-05-29 Wim Taymans <wim@fluendo.com>
5520 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5521 Don't leak pads lists.
5523 2006-05-29 Wim Taymans <wim@fluendo.com>
5525 * docs/libs/gstreamer-libs-sections.txt:
5526 * libs/gst/base/gstcollectpads.c:
5527 (gst_collect_pads_set_flushing_unlocked),
5528 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5529 (gst_collect_pads_stop):
5530 * libs/gst/base/gstcollectpads.h:
5531 API: gst_collect_pads_set_flushing()
5532 Added api to set the pads to flushing, useful for seeking
5533 code in elements using collectpads.
5534 Clear segment when receiving a flush.
5536 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
5538 * gst/gst.c: (add_path_func), (init_post):
5539 Don't scan registry paths passed via --gst-plugin-path immediately
5540 (will crash, because absolutely nothing is set up and no types are
5541 registered etc.); do this later in init_post(). Fixes #343057.
5543 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
5545 * gst/gst.c: (init_post):
5546 if we have fork, fork while reading/rebuilding the registry
5547 so the parent doesn't take the hit of having all plugins loaded
5548 in memory. Fixes #342777.
5550 Check if we have fork()
5551 * win32/common/config.h.in:
5554 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5556 * plugins/elements/gstelements.c:
5557 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5558 (gst_file_src_init), (gst_file_src_set_property),
5559 (gst_file_src_get_property), (gst_file_src_start):
5560 * plugins/elements/gstfilesrc.h:
5561 API: GstFileSrc::use-mmap
5563 Add a use-mmap property to enable easier testing of all code paths.
5564 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5565 in the absence of gnomevfssrc. (Closes #340501)
5567 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5569 * tools/gst-inspect.c:
5570 Add missing include, removes warning of ngettext not being defined on
5573 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5575 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5576 Handle NULL input and output pointers silently as a failed conversion,
5577 rather than g_warnings.
5579 2006-05-25 Wim Taymans <wim@fluendo.com>
5581 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5582 Initialize variable before using. Fixes #342820.
5584 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
5586 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5587 Fix off-by-one bug that would only allow peeks of N-1 bytes
5588 from the start even if the buffer to typefind on contains
5589 in fact N bytes of data (makes vorbis typefinding from a
5590 vorbis identification header buffer work).
5592 * tests/check/Makefile.am:
5593 * tests/check/libs/.cvsignore:
5594 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5595 (gst_typefindhelper_suite), (main), (foobar_typefind),
5597 Add very basic unit test for gst_type_find_helper_for_buffer()
5598 that checks for the problem fixed above.
5600 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
5602 * tools/gst-inspect.c: (print_interfaces),
5603 (print_element_properties_info), (print_element_list), (main):
5604 add more translatable strings
5606 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
5608 Patch by: Julien Moutte <julien at moutte net>
5610 * docs/gst/gstreamer-sections.txt:
5611 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5613 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5614 (gst_fake_sink_preroll):
5615 * plugins/elements/gstfakesink.h:
5616 API: Add new GstFakeSink::preroll-handoff signal (#337100).
5618 2006-05-23 Wim Taymans <wim@fluendo.com>
5620 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5622 Added _CUSTOM error and success GstFlowReturn that can be
5623 used be elements internally.
5624 Added macro to check for SUCCESS flowreturns.
5625 API: GST_FLOW_CUSTOM_SUCCESS
5626 API: GST_FLOW_CUSTOM_ERROR
5627 API: GST_FLOW_IS_SUCCESS
5629 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5630 Added check for GstFlowReturn sanity.
5632 2006-05-23 Wim Taymans <wim@fluendo.com>
5634 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5636 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5637 (gst_collect_pads_event):
5638 clear/reset segment info in FLUSH_STOP.
5641 2006-05-22 Stefan Kost <ensonic@users.sf.net>
5643 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5644 (gst_collect_pads_check_collected):
5645 Flush queued buffer on _stop(), fixes playing again (#342454)
5647 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
5649 * tests/check/gst/gststructure.c: (GST_START_TEST),
5650 (gst_structure_suite):
5651 add a test for a complete structure
5653 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5655 * docs/faq/developing.xml:
5657 * docs/faq/troubleshooting.xml:
5658 * docs/faq/using.xml:
5659 Some minor FAQ updates that won't change the fact that
5660 our FAQ is badly structured, full of information hardly
5661 anyone new to GStreamer needs to know and lacking lots
5662 of information people constantly ask for.
5664 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
5666 * gst/gstpad.c: (gst_pad_set_caps):
5667 Short-circuit gst_pad_set_caps if setting the existing
5668 caps pointer again, and avoid printing debug and
5669 reffing/unreffing the caps.
5671 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5672 There's actually no need to set the caps before pushing -
5673 the acceptcaps method will handle it anyway.
5675 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5677 * docs/gst/gstreamer-sections.txt:
5678 * win32/common/libgstreamer.def:
5679 * gst/gstutils.c: (gst_element_seek_simple):
5681 API: add gst_element_seek_simple() (#342238).
5683 2006-05-18 Edward Hervey <edward@fluendo.com>
5685 * gst/gsttypefind.c: (gst_type_find_get_type):
5686 * gst/gsttypefind.h:
5687 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5688 registered for GstTypeFind pointers. This allows wrapping the structure
5689 in bindings (i.e. gst-python).
5691 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5693 * gst/gsttagsetter.c:
5694 Docs additions and fixes (see #339918).
5696 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
5698 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5699 The caps intersection algorithm can produce multiple copies of the
5700 caps. Until that is fixed, we need to simplify the result to be
5701 sure whether the allowed caps are fixed or not.
5703 * plugins/elements/gstqueue.c: (gst_queue_init),
5704 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5705 (gst_queue_push_one):
5706 Proxied buffer alloc should not set the caps on the source pad.
5707 When pushing buffers, we always accept the caps change that triggers.
5708 This prevents negotiation errors caused by caps changing mid-stream
5709 and then being refused on our source pad (because upstream is now
5710 refusing those caps).
5712 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5714 * tests/examples/helloworld/helloworld.c: (main):
5715 Must plug audioconvert and audioresample between decoder
5718 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
5720 * gst/gstregistryxml.c: (read_string), (load_pad_template),
5721 (load_feature), (load_plugin):
5722 Allow empty strings for some of the plugin fields so we don't
5723 drop valid plugin entries that were written out correctly
5726 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
5728 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5729 Use g_remove and g_rename instead of remove and rename that don't
5730 handle utf8 characters. rename was failing for users who had specific
5731 characters in their name then the registry was built at each
5733 * win32/vs6/gst_inspect.dsp:
5734 * win32/vs6/gst_launch.dsp:
5735 * win32/vs6/libgstbase.dsp:
5736 * win32/vs6/libgstcoreelements.dsp:
5737 * win32/vs6/libgstreamer.dsp:
5738 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
5739 build of libgstreamer and clean unused libraries in projects link
5742 2006-05-17 Edward Hervey <edward@fluendo.com>
5744 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5745 The queue is not responsible for pushing an EOS when receiving a fatal
5746 flow error. It's up to the real element driving the pipeline to do that.
5748 2006-05-16 Edward Hervey <edward@fluendo.com>
5750 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5751 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
5752 buffer returned a fatal error. It should just send an EOS and stop
5754 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
5755 when pushing buffers on the queue and will be able to handle the event.
5757 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
5759 * docs/manual/basics-bins.xml:
5760 * docs/manual/basics-init.xml:
5761 Fix typos and minor errors in sample code (#341856).
5763 2006-05-16 Wim Taymans <wim@fluendo.com>
5765 * docs/design/part-qos.txt:
5766 Fix indexes in formulas to make more sense.
5768 2006-05-15 Wim Taymans <wim@fluendo.com>
5770 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5771 Don't report POSITION based on clock time if sync is
5774 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
5777 Add cast to make compiler happy - refcount variable was a gint
5778 in GstObject but is a guint in GObject and g_atomic_int_get()
5781 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
5783 * gst/parse/Makefile.am:
5784 chain commands using &&, which also makes parallel make work
5786 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
5788 * docs/gst/gstreamer-sections.txt:
5794 === release 0.10.6 ===
5796 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
5799 releasing 0.10.6, "Take the cannoli"
5801 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
5803 * tools/gst-launch.c: (print_tag):
5804 Fix use of uninitialized variable in the hypothetical
5805 case that some broken plugin creates a GST_TAG_IMAGE
5806 tag containing a NULL buffer (#341667).
5808 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
5810 * tools/gst-launch.c: (print_tag):
5811 Print something more intelligible for image tags when
5812 using the -t switch (#341556).
5814 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
5819 define GST_MAJORMINOR so we have it available in win32/common/config.h
5820 Possibly remove it from our Makefile.am files later
5821 * win32/common/config.h:
5822 * win32/common/config.h.in:
5823 added GST_MAJORMINOR
5824 * win32/common/gstenumtypes.c: (register_gst_resource_error):
5825 * win32/common/gstversion.h:
5828 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
5831 Update win32 files listing.
5832 * win32/common/gstversion.h:
5833 Add GST_MAJORMINOR definition.
5834 * win32/common/libgstreamer.def:
5835 Add new exported functions.
5837 2006-05-12 Michael Smith <msmith@fluendo.com>
5839 * gst/gstplugin.c: (gst_plugin_load_file):
5840 If an so file has no plugin entry point, unload the module.
5842 2006-05-11 Wim Taymans <wim@fluendo.com>
5844 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
5845 (gst_queue_set_property):
5846 Don't forget to signal the _chain or _loop function
5847 when the queue size or thresholds change since that might
5848 cause them to make progres again.
5850 2006-05-11 Stefan Kost <ensonic@users.sf.net>
5852 * gst/gstclock.c: (gst_clock_class_init):
5853 * gst/gstindex.c: (gst_index_class_init):
5854 * gst/gstobject.c: (gst_object_class_init):
5855 * gst/gstpad.c: (gst_pad_class_init):
5856 * gst/gstpipeline.c: (gst_pipeline_class_init):
5857 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5858 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
5859 * libs/gst/base/gstbasetransform.c:
5860 (gst_base_transform_class_init):
5861 * libs/gst/net/gstnetclientclock.c:
5862 (gst_net_client_clock_class_init):
5863 * libs/gst/net/gstnettimeprovider.c:
5864 (gst_net_time_provider_class_init):
5865 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
5866 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5867 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5868 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
5869 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
5870 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5871 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5872 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5873 * plugins/elements/gsttee.c: (gst_tee_class_init):
5874 * tests/old/examples/plugins/example.c: (gst_example_class_init):
5875 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
5876 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
5878 2006-05-11 Wim Taymans <wim@fluendo.com>
5880 * gst/gstbuffer.c: (_gst_buffer_initialize):
5881 Register subbufer along with the buffer type so that
5882 it does not accidentally gets registered from N
5883 different streaming threads in a non threadsafe way.
5885 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
5890 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
5891 gst_event_ref() and gst_message_ref() functions again
5892 (ugly hack, please do fix if there's a better way besides
5893 overrides.txt, which doesn't seem to work).
5895 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5897 * libs/gst/check/gstcheck.h:
5898 add an assert for setting state to avoid lots of repetitive code
5901 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5903 * gst/gstvalue.c: (gst_value_serialize_flags):
5904 fix a leak if no flags are set
5905 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5908 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
5910 * docs/manual/basics-pads.xml:
5911 Expand a bit on caps and filtered links and update
5912 examples that were still using the no longer existing
5913 gst_pad_link_filtered() (#338206).
5915 2006-05-10 Wim Taymans <wim@fluendo.com>
5917 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5918 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5919 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5920 (gst_collect_pads_stop):
5921 * libs/gst/base/gstcollectpads.h:
5922 No need to call _stop in _finalize.
5923 Iterate the main pad list in _finalize.
5924 Added some more debug.
5925 Free lists and data in the right order.
5926 Also free data whem doing _remove_pad when stopped for
5927 backward compatibility protect ::started with PAD_LOCK as
5930 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5932 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
5933 (gst_structure_parse_value):
5935 rename a method so that it actually says what it does better
5937 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5939 * gst/gstevent.c: (_gst_event_initialize):
5940 * gst/gstformat.c: (_gst_format_initialize):
5941 make sure some essential types used by events are registered
5942 as part of gst_init()
5943 * gst/gstvalue.c: (gst_value_serialize_flags):
5944 if no flags are set, serialize them to a value that represents NONE
5945 so that deserializing them works
5946 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5947 add tests for serialization and deserialization of flags
5949 2006-05-10 Wim Taymans <wim@fluendo.com>
5951 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
5952 (gst_collect_pads_collect_range), (gst_collect_pads_available),
5953 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
5954 (gst_collect_pads_event), (gst_collect_pads_chain):
5957 Catch and return errors from the collect function
5958 Refuse data on eos pads.
5960 2006-05-10 Edward Hervey <edward@fluendo.com>
5962 * gst/gstinterface.h:
5963 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
5964 GInterface type checking.
5965 They were previously using non-defined macros.
5967 2006-05-09 Wim Taymans <wim@fluendo.com>
5969 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
5970 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
5971 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
5972 (gst_collect_pads_start), (gst_collect_pads_stop),
5973 (gst_collect_pads_peek), (gst_collect_pads_pop),
5974 (gst_collect_pads_available), (gst_collect_pads_read),
5975 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
5976 (gst_collect_pads_is_collected), (gst_collect_pads_event),
5977 (gst_collect_pads_chain):
5978 * libs/gst/base/gstcollectpads.h:
5979 Clean up the mess that is collectpads, add comments and
5980 FIXMEs where needed.
5981 Maintain a separate pad list so we can add pads while
5982 collecting the other ones. For this we need a new separate
5984 Fix memory leak in finalize.
5985 Refactor some weird code to set/unset pad flushing flags, mark
5987 Don't crash in _available, _read, _flush when we're EOS.
5989 * tests/check/libs/.cvsignore:
5990 Ignore adapter check binary.
5992 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5994 * gst/gstindex.c: (gst_index_resolver_get_type):
5995 * plugins/elements/gstfakesink.c:
5996 (gst_fake_sink_state_error_get_type):
5997 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5998 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
5999 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6000 Const-ify GEnumValue arrays.
6002 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6004 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6005 Add test case for flags + gst_buffer_make_metadata_writable().
6007 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6009 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6010 gst_buffer_make_metadata_writable() should maintain the
6011 buffer flags (those that make sense at least) (see #340859).
6013 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6015 * tools/gst-inspect.c:
6016 * tools/gst-launch.c:
6017 * tools/gst-typefind.c:
6018 * tools/gst-xmlinspect.c:
6020 Fix up includes: need to include stdlib.h in tools.h for exit().
6022 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6024 * gst/gsttaglist.c: (_gst_tag_initialize):
6026 API: add GST_TAG_IMAGE tag (#340721).
6028 2006-05-08 Wim Taymans <wim@fluendo.com>
6031 Added some docs for the segment query.
6033 2006-05-08 Wim Taymans <wim@fluendo.com>
6035 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6036 (gst_base_src_loop), (gst_base_src_change_state):
6037 Always push non-flushing serialized events in the streaming
6040 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
6042 * gst/gsterror.c: (_gst_stream_errors_init):
6043 Add a missing error string.
6045 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
6047 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6048 Add applied_rate to the debug
6050 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6051 Copy applied_rate into the outgoing NEWSEGMENT event
6053 2006-05-08 Wim Taymans <wim@fluendo.com>
6055 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6057 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6058 (gst_base_sink_change_state):
6059 call ::unlock before taking the PREROLL_LOCK so we can safely
6060 handle elements that lock in ::render.
6063 2006-05-08 Edward Hervey <edward@fluendo.com>
6065 * autogen.sh: (CONFIGURE_DEF_OPT):
6066 Darwin's libtoolize is in fact called glibtoolize.
6067 Adding glibtoolize to the list of accepted names for libtoolize.
6069 2006-05-08 Wim Taymans <wim@fluendo.com>
6071 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6072 Unify error handling, don't post an error message
6073 when a push() returns EOS but perform our normal EOS
6074 handling code. Fixes #340772.
6076 2006-05-08 Wim Taymans <wim@fluendo.com>
6078 * docs/design/part-overview.txt:
6079 Make upsteam/downstream concepts more clear.
6080 Give an example of serialized/non-serialized events.
6082 * docs/design/part-events.txt:
6083 * docs/design/part-streams.txt:
6084 Mention applied_rate.
6086 * docs/design/part-trickmodes.txt:
6087 Mention applied rate, flesh out some more use cases.
6089 * gst/gstevent.c: (gst_event_new_new_segment),
6090 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6091 (gst_event_parse_new_segment_full), (gst_event_new_tag),
6092 (gst_event_parse_tag), (gst_event_new_buffer_size),
6093 (gst_event_parse_buffer_size), (gst_event_new_qos),
6094 (gst_event_parse_qos), (gst_event_parse_seek),
6095 (gst_event_new_navigation):
6097 Add applied_rate field to NEWSEGMENT event.
6098 API: gst_event_new_new_segment_full()
6099 API: gst_event_parse_new_segment_full()
6101 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6102 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6103 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6105 Add applied_rate to GstSegment structure.
6106 Make calculation of stream_time and running_time more correct
6107 wrt rate/applied_rate.
6109 API: GstSegment::applied_rate field
6110 API: gst_segment_set_newsegment_full();
6112 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6113 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6114 * libs/gst/base/gstbasetransform.c:
6115 (gst_base_transform_sink_eventfunc),
6116 (gst_base_transform_handle_buffer):
6117 Parse and use applied_rate in the GstSegment field.
6119 * tests/check/gst/gstevent.c: (GST_START_TEST):
6120 Add check for applied_rate field.
6122 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6123 (gstsegments_suite):
6124 Add more checks for various GstSegment operations.
6126 2006-05-08 Wim Taymans <wim@fluendo.com>
6128 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6129 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6130 (gst_base_sink_get_position), (gst_base_sink_change_state):
6131 Store the sync time of the buffer end position separatly in a
6132 new variable eos_rtime so we can properly sync the EOS event.
6134 Fix the docs for gst_base_sink_set_qos_enabled().
6135 Don't set segment start to invalid value when we receive a
6136 non TIME newsegment.
6137 get closer to handling position reporting for negative rates
6140 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6143 Docs about how to print caps for debug purposes.
6145 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6146 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6148 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6151 use full enum names and preprend a '%' in docs strings to make recent
6152 gtk-doc turn that into a link
6154 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6156 * docs/manual/basics-bins.xml:
6157 * docs/manual/basics-bus.xml:
6158 * docs/manual/basics-pads.xml:
6159 Some typo fixes, some additions, some clarifications.
6161 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6163 * tools/gst-inspect.c: (main):
6164 * tools/gst-launch.c: (main):
6165 * tools/gst-run.c: (main):
6166 * tools/gst-typefind.c: (main):
6167 * tools/gst-xmlinspect.c: (main):
6168 Use the string passed to g_option_context_new() for
6169 what it's intended for - the program name is already
6172 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6174 * tools/Makefile.am:
6175 * tools/gst-inspect.c: (main):
6176 * tools/gst-launch.c: (main):
6177 * tools/gst-xmlinspect.c: (main):
6179 Add back --version command line option (#340460).
6181 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6182 Add --version option and use GOption for argument parsing; refactor a
6183 bit; accept directories as arguments and recurse into them; lastly,
6184 print a decent error message when things go wrong.
6186 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6188 * docs/manual/basics-bins.xml:
6189 Don't mention GstThread (#340611)
6190 * docs/manual/basics-elements.xml:
6191 Update link to GObject tutorial (#340607)
6193 2006-05-05 Wim Taymans <wim@fluendo.com>
6196 * gst/gstminiobject.c:
6197 Add note about refcounting and miniobject/buffer writeability
6198 to docs. Fixes #340604
6200 * gst/gstelementfactory.h:
6201 Added some explanation about @klass.
6203 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6205 * docs/manual/intro-motivation.xml:
6206 * docs/manual/manual.xml:
6207 Avoid CORBA & Bonobo references (#340598)
6209 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6211 * docs/manual/basics-bus.xml:
6212 * docs/manual/basics-pads.xml:
6213 Fix up some inaccuracies and omissions (#340609)
6215 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6217 * gst/gstghostpad.c:
6218 Small typo in docs (#340625)
6220 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6222 * gst/parse/Makefile.am:
6223 Make 'make -j' proof (see #340698).
6225 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6228 Require GLib-2.8 here as well.
6230 2006-05-05 Wim Taymans <wim@fluendo.com>
6232 * gst/glib-compat.c:
6233 * gst/gst.c: (init_pre):
6234 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6235 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6236 (gst_object_dispatch_properties_changed):
6238 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6239 * gst/gststructure.c: (gst_structure_set_valist):
6240 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6241 Remove pre glib2.8 compatibility, fixes #340508
6243 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6246 Mention type of tags in doc blurbs.
6248 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
6250 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6251 (gst_pad_configure_src), (gst_pad_push):
6252 Restore acceptcaps checking behaviour now that good plugins have
6255 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6257 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6268 * gst/parse/Makefile.am:
6269 * libs/gst/base/gstadapter.c:
6270 * libs/gst/base/gstbasesrc.c:
6271 * libs/gst/base/gstpushsrc.c:
6272 * libs/gst/base/gsttypefindhelper.c:
6273 * plugins/elements/gstfakesrc.c:
6274 * plugins/elements/gstidentity.c:
6275 Make sure gstprivate.h and/or config.h are
6276 always included first, otherwise some of our
6277 defines (like _FILE_OFFSET_BITS) might be
6278 redefined in the system headers. Fixes build
6279 on opensolaris (#340016).
6281 2006-05-04 Wim Taymans <wim@fluendo.com>
6283 * docs/libs/gstreamer-libs-sections.txt:
6284 API: addition: gst_adapter_take_buffer()
6286 * libs/gst/base/gstadapter.c: (gst_adapter_push),
6287 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6288 (gst_adapter_available_fast):
6289 * libs/gst/base/gstadapter.h:
6290 Prepare for optimizing the hell out of this hugely inefficient
6292 Added gst_adapter_take_buffer() so we can at least start thinking
6293 about subbuffering and merging.
6294 Added some comments.
6296 * tests/check/Makefile.am:
6297 * tests/check/libs/adapter.c: (GST_START_TEST),
6298 (gst_adapter_suite), (main):
6299 Added GstAdapter check.
6301 2006-05-04 Wim Taymans <wim@fluendo.com>
6303 * docs/design/part-overview.txt:
6304 Fix some typos, add blurb about buffer flags.
6306 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6308 * docs/libs/gstreamer-libs-sections.txt:
6309 make sure GstBaseTransformClass shows up in the docs
6310 * libs/gst/base/gstbasetransform.c:
6311 * libs/gst/base/gstbasetransform.h:
6312 move docs so gtk-doc picks it up now
6314 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6316 * docs/libs/gstreamer-libs-sections.txt:
6317 add missing symbols to docs
6319 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6321 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6322 back out the newsegment handling change, see #340060 for ongoing
6325 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
6327 * tools/gst-run.c: (get_candidates), (main):
6328 Fix wrong g_file_test() usage (see glib docs for why it doesn't
6329 work); fix typo in error message. Fixes #340079.
6331 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6333 * common/Makefile.am:
6335 * docs/faq/Makefile.am:
6336 * docs/gst/Makefile.am:
6337 * docs/libs/Makefile.am:
6338 * docs/manual/Makefile.am:
6339 * docs/plugins/Makefile.am:
6340 * docs/pwg/Makefile.am:
6341 * docs/slides/Makefile.am:
6343 * common/upload.mak:
6344 move upload.mak to common
6346 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6348 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6349 add more asserts on refcounts
6350 do more cleanup at end of tests
6351 fix test leaks showing in FC5
6353 2006-04-29 Stefan Kost <ensonic@users.sf.net>
6355 * plugins/elements/gsttypefindelement.c:
6356 (gst_type_find_element_handle_event):
6357 reverted wrong change and reflowed code to avoid others falling into
6360 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6362 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6363 fix changelog entry about last collectpads change,
6364 add notes about proper fix
6366 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6369 * gst/gstregistry.c: (gst_registry_scan_path_level),
6370 (gst_registry_scan_path):
6371 * gst/gstregistry.h:
6372 only write out registry if it has changed, fixes #338339
6374 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6377 * gst/gstpipeline.c:
6378 * plugins/elements/gstcapsfilter.c:
6379 * plugins/elements/gstfakesink.c:
6380 * plugins/elements/gstfakesrc.c:
6381 * plugins/elements/gstfdsink.c:
6382 * plugins/elements/gstfdsrc.c:
6383 * plugins/elements/gstfilesink.c:
6384 * plugins/elements/gstfilesrc.c:
6385 * plugins/elements/gstidentity.c:
6386 * plugins/elements/gstqueue.c:
6387 * plugins/elements/gsttee.c:
6388 * plugins/elements/gsttypefindelement.c:
6389 (gst_type_find_element_handle_event):
6390 make GstElementDetails const
6392 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6394 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6395 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6396 (gst_collect_pads_is_collected), (gst_collect_pads_event):
6397 more detailed debug and formatting cleanup,
6398 forward newsegments to src-pad (so that e.g. adder not eats them)
6400 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6402 * gst/gstutils.c: (gst_element_link_pads):
6405 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6407 * libs/gst/controller/gstcontroller.c:
6408 (gst_controller_sync_values):
6410 * tests/check/libs/controller.c: (GST_START_TEST),
6411 (gst_controller_suite):
6412 a new test for live value handling
6414 2006-04-28 Wim Taymans <wim@fluendo.com>
6416 * gst/gstutils.c: (push_and_ref):
6417 Added some more docs.
6418 Fix refcount issue whith gst_element_found_tags() helper
6419 function. Fixes #338335
6421 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6422 Added testsuite for gst_element_found_tags().
6424 2006-04-28 Michael Smith <msmith@fluendo.com>
6426 * gst/gstvalue.c: (gst_value_serialize_flags):
6427 Avoid NULL dereference when trying to serialize flags containing
6430 2006-04-28 Michael Smith <msmith@fluendo.com>
6432 * plugins/elements/gsttypefindelement.c:
6433 (gst_type_find_element_handle_event):
6434 If we get EOS before any data is accumulated, don't use
6435 uninitialised local variables.
6437 2006-04-28 Michael Smith <msmith@fluendo.com>
6439 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6440 (gst_dp_event_from_packet):
6441 Fixes in reading/writing events over GDP (not currently used?) -
6442 dereferencing NULL events for unknown/invalid event types, memory
6443 leak, and change g_warning to GST_WARNING.
6445 2006-04-28 Wim Taymans <wim@fluendo.com>
6447 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6448 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6449 (gst_base_sink_get_position), (gst_base_sink_change_state):
6450 When frame dropping is enabled, we should not ignore frames
6452 Update some documentation.
6454 2006-04-28 Wim Taymans <wim@fluendo.com>
6456 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6457 (gst_base_src_send_event), (gst_base_src_change_state):
6458 Documentation updates.
6460 2006-04-28 Wim Taymans <wim@fluendo.com>
6462 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6463 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6464 handle EAGAIN, EINTR and short writes correctly. Also clean
6465 up some error cases, avoid a deadlock on bad file descriptors and
6466 use GST_DEBUG_OBJECT.
6469 2006-04-28 Wim Taymans <wim@fluendo.com>
6471 * gst/gstvalue.c: (gst_value_serialize_buffer),
6472 (gst_value_deserialize_buffer):
6473 Don't try to serialize a GValue with a NULL buffer.
6476 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6477 Added check for serialisation of NULL buffers.
6479 2006-04-28 Wim Taymans <wim@fluendo.com>
6481 * gst/gstminiobject.c: (gst_value_take_mini_object):
6482 Taking a NULL miniobject is valid, fix the case where
6483 we try to unref the NULL miniobject.
6485 2006-04-28 Wim Taymans <wim@fluendo.com>
6487 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6489 * gst/gstbin.c: (gst_bin_handle_message_func):
6491 Don't leak bin refcount when a state recalc is
6492 in progress and we delay another one #339808.
6494 2006-04-28 Wim Taymans <wim@fluendo.com>
6496 * docs/design/part-TODO.txt:
6497 Mention QoS as an ongoing work item.
6499 * docs/design/part-buffering.txt:
6500 New doc about buffering that needs to be fleshed out
6503 * docs/design/part-qos.txt:
6504 More QoS policy for decoders/demuxers/transforms
6506 * docs/design/part-trickmodes.txt:
6509 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6514 === release 0.10.5 ===
6516 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6519 releasing 0.10.5, "Fogo"
6521 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
6523 patch by: Wim Taymans
6525 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6526 (gst_pad_configure_src), (gst_pad_push):
6527 * gst/gstpipeline.c: (gst_pipeline_init):
6528 Fix internal data flow errors. Fixes #338711.
6530 2006-04-12 Wim Taymans <wim@fluendo.com>
6532 * tests/check/gst/gstelement.c: (GST_START_TEST):
6533 Don't leak the factory.
6535 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6538 * win32/common/config.h:
6541 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
6543 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6544 (gst_controller_unset_all):
6545 Free allocated GstTimedValues when freeing list nodes.
6546 Should fix leaks 'make check-valgrind' complains about.
6548 * win32/common/libgstcontroller.def:
6549 Add gst_controller_unset_all.
6551 2006-04-11 Stefan Kost <ensonic@users.sf.net>
6553 * docs/libs/gstreamer-libs-sections.txt:
6554 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6555 (gst_controller_unset_all):
6556 * libs/gst/controller/gstcontroller.h:
6557 API: Added new method gst_controller_unset_all()
6558 fixed gst_controller_unset()
6559 * tests/check/libs/controller.c: (GST_START_TEST),
6560 (gst_controller_suite):
6561 Added two testcases for new and fixed method
6563 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
6565 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6566 MSG_DONTWAIT is not defined on Cygwin, so work
6567 around that (fixes #317048).
6569 2006-04-11 Wim Taymans <wim@fluendo.com>
6571 * gst/gstelementfactory.c: (gst_element_register),
6572 (gst_element_factory_create), (gst_element_factory_make):
6575 Updated docs (Fixes #131079)
6577 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6580 * tests/check/gst/gstelement.c: (GST_START_TEST),
6581 (gst_element_suite):
6582 Added testcase for elementfactory class field.
6584 2006-04-10 Wim Taymans <wim@fluendo.com>
6587 Added some more docs.
6589 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6590 (gst_base_sink_reset_qos):
6591 Calculate more accurate rate values.
6593 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
6595 * gst/gst_private.h:
6596 add a new #ifdef to use __declspec(dllimport) only for
6597 other modules and not for gstreamer core
6598 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6599 use gst_guint64_to_gdouble for conversion
6600 * win32/common/libgstreamer.def:
6601 add new exported functions
6602 * win32/vs6/gst_inspect.dsp:
6603 * win32/vs6/gst_launch.dsp:
6604 * win32/vs6/libgstbase.dsp:
6605 * win32/vs6/libgstcontroller.dsp:
6606 * win32/vs6/libgstcoreelements.dsp:
6607 * win32/vs6/libgstdataprotocol.dsp:
6608 * win32/vs6/libgstnet.dsp:
6609 update project files
6611 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6613 * gst/gstbuffer.c: (gst_subbuffer_class_init):
6614 * gst/gstclock.c: (gst_clock_class_init):
6615 * gst/gstelement.c: (gst_element_class_init):
6616 * gst/gstindex.c: (gst_index_class_init):
6617 * gst/gstindexfactory.c: (gst_index_factory_class_init):
6618 * gst/gstobject.c: (gst_object_class_init),
6619 (gst_signal_object_class_init):
6620 * gst/gstpad.c: (gst_pad_class_init):
6621 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6622 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6623 * gst/gstregistry.c: (gst_registry_class_init):
6624 * gst/gstsystemclock.c: (gst_system_clock_class_init):
6625 * gst/gsttask.c: (gst_task_class_init):
6626 * gst/gstxml.c: (gst_xml_class_init):
6627 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6628 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6629 (gst_base_src_loop):
6630 * libs/gst/controller/gstcontroller.c:/
6631 (_gst_controller_class_init):
6632 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6633 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6634 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6635 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6636 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6637 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6639 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
6641 * gst/gstpad.c: (gst_pad_link):
6642 Must set peer pads before calling the link function, otherwise
6643 a task started from a link function might get a flow-not-linked
6644 result when trying to push because the other thread where the
6645 linking happens hasn't had a chance to set the peers yet. This
6646 might happen for example when a queue gets linked to a downstream
6647 element, as queue starts a streaming task when its source pad
6648 gets linked. Happens in real life when playing back flac/musepack
6649 files in playbin (#332390).
6651 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6655 * libs/gst/base/gstadapter.h:
6656 * libs/gst/base/gstbasesink.h:
6657 * libs/gst/base/gstbasesrc.h:
6658 * libs/gst/base/gstbasetransform.h:
6659 * libs/gst/base/gstcollectpads.h:
6660 * libs/gst/base/gstpushsrc.h:
6661 Fix broken GObject macros
6663 2006-04-07 Wim Taymans <wim@fluendo.com>
6665 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6666 Initialize start and stop times, thanks valgrind.
6668 2006-04-07 Wim Taymans <wim@fluendo.com>
6670 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6671 Be a bit nicer to badly behaving upstream elements that expect
6672 us to deal with non TIME segments and timestamps (such as fakesrc
6675 2006-04-07 Wim Taymans <wim@fluendo.com>
6678 Small documentation clarification about the signal watch.
6680 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6681 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6682 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6683 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6684 (gst_base_sink_get_position_last),
6685 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6686 Convert and store timestamps in stream time and running time, the
6687 raw timestamps are not useful, also document this better.
6688 Use different window sizes for good and bad QoS observations so
6689 we react to badness a little quicker.
6690 Keep track of the amount of rendered and dropped buffers.
6691 Send QoS timestamps in running time.
6693 * libs/gst/base/gstbasetransform.c:
6694 (gst_base_transform_sink_eventfunc),
6695 (gst_base_transform_handle_buffer):
6696 Compare QoS timestamps against running time.
6698 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6703 2006-04-06 Michael Smith <msmith@fluendo.com>
6705 * gst/gstpad.c: (gst_pad_set_property):
6706 Use g_value_get_object() instead of g_value_dup_gst_object(),
6707 to avoid double-reffing the pad template (which we then sink,
6708 so this worked previously if (and only if) the pad template
6711 * gst/gstpadtemplate.c: (gst_pad_template_init),
6712 (gst_pad_template_pad_created):
6713 Never return floating references to pad templates, create
6714 them as initially-sunken.
6716 Document an extra function (and make this stop sinking our
6717 pad template, since that is now guaranteed to do nothing,
6718 since we created it sunken).
6720 * gst/gstghostpad.c:
6723 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6725 * gst/gstinfo.c: (__gst_in_valgrind):
6728 * plugins/elements/gsttypefindelement.c:
6729 (gst_type_find_element_chain):
6730 Don't leak buffer caps.
6732 2006-04-06 Michael Smith <msmith@fluendo.com>
6734 * gst/parse/grammar.y:
6735 Fix a leak in parse-launch for any source-or-sink named element
6738 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6739 Unref the pipeline if it exists after we've failed parsing.
6741 2006-04-05 Michael Smith <msmith@fluendo.com>
6743 * gst/gstpipeline.c: (gst_pipeline_init):
6744 When we create a pipeline bus, initially create it in flushing mode.
6745 Fixes leaks in at least one test, and makes a new pipeline work the
6746 same as one that has gone to READY and then back to NULL.
6751 2006-04-05 Michael Smith <msmith@fluendo.com>
6753 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6754 Unref a pad we reffed.
6755 * tests/check/gst/gstutils.c: (GST_START_TEST):
6758 2006-04-05 Michael Smith <msmith@fluendo.com>
6760 * gst/gstquery.c: (gst_query_set_formats),
6761 (gst_query_set_formatsv):
6762 Fix leaking GValues in queries, as shown by valgrind/testsuite.
6764 2006-04-05 Michael Smith <msmith@fluendo.com>
6766 * tests/check/generic/sinks.c: (GST_START_TEST):
6767 Fix a variety of memleaks in sinks check, which are only sometimes
6768 shown by running the tests under valgrind (weird?).
6770 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
6772 * docs/version.entities.in:
6773 Fix the substituted entity name after thomas' changes on the
6776 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6778 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
6781 2006-04-05 Andy Wingo <wingo@pobox.com>
6783 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
6785 * libs/gst/base/gstbasetransform.c
6786 (gst_base_transform_sink_eventfunc): When resetting our segment on
6787 FLUSH_STOP, also update the flag saying we haven't seen a
6790 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6792 Patch by: Paolo Borelli <pborelli at katamail dot com>
6794 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6795 (gst_plugin_check_license):
6796 minor clean-ups: G_DEFINE_TYPE already takes care of the
6797 parent_class stuff, no need to do it twice. Mark array of
6798 license strings as constant. (#337103)
6800 2006-04-04 Michael Smith <msmith@fluendo.com>
6802 * tools/gst-inspect.c: (print_element_list):
6803 Free the right plugin list; fixes a memory leak.
6805 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6807 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6809 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6810 Don't error out on empty buffers (#336945).
6812 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
6814 * docs/libs/gstreamer-libs-sections.txt:
6816 * libs/gst/base/gstbasesink.c:
6817 * libs/gst/base/gstbasesink.h:
6818 * libs/gst/base/gstbasesrc.c:
6819 * libs/gst/base/gstbasesrc.h:
6820 Documentation updates. Make BaseSink and BaseSrc docs contain the
6821 class structure so that people can actually see the prototypes for
6822 virtual functions they're supposed to be overriding.
6824 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6826 * plugins/elements/gsttypefindelement.c:
6827 (gst_type_find_element_chain):
6828 More debug info; when skipping typefinding, send cached
6829 events in all cases.
6831 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
6834 use new AS_VERSION and AS_NANO macros
6835 * gst/gst-i18n-lib.h:
6838 * gst/gstversion.h.in:
6839 * win32/common/config.h:
6840 * win32/common/config.h.in:
6843 2006-03-31 Michael Smith <msmith@fluendo.com>
6845 * plugins/elements/gsttypefindelement.c:
6846 (gst_type_find_element_chain):
6847 Do not typefind content if the buffers already have caps.
6848 Neccesary for icydemux (#333657), and the right thing to do anyway.
6850 2006-03-30 Wim Taymans <wim@fluendo.com>
6852 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6853 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
6854 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
6855 (gst_base_sink_record_qos_observation),
6856 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6857 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6858 (gst_base_sink_change_state):
6859 More QoS measurements as described in the design doc.
6860 Get rid of ringbuffer with observations, running average is
6861 more simple and equally good.
6862 Calculates valid proportion now.
6863 Added beginning of flood measurement.
6865 2006-03-29 Wim Taymans <wim@fluendo.com>
6867 * docs/design/part-qos.txt:
6869 Small documentation updates and additions.
6871 2006-03-29 Wim Taymans <wim@fluendo.com>
6873 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6874 (gst_base_src_send_event), (gst_base_src_loop),
6875 (gst_base_src_change_state):
6876 Perform the EOS logic when we reach the segment stop position.
6877 Fix compilation on gcc4.1
6879 2006-03-29 Wim Taymans <wim@fluendo.com>
6881 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6883 * plugins/elements/gstqueue.c: (gst_queue_init),
6884 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6885 (gst_queue_set_property):
6886 * plugins/elements/gstqueue.h:
6887 In queue, when EOS is received, if minimum threshold > max_size -
6888 current_level, there is chance that queue blocks forever in conditional
6889 item del wait. This is because the queue is not emptied completely due
6890 to minimum threshold. Here is another approach. Instead of setting
6891 cur_levels to max in EOS, just zero all minimum threshold levels. This
6892 should make sure that queue gives out all data. When going to READY
6893 (stop) state, just reset the original minimum threshold levels.
6896 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
6898 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
6899 (gst_type_find_element_handle_event),
6900 (gst_type_find_element_send_cached_events),
6901 (gst_type_find_element_change_state):
6902 * plugins/elements/gsttypefindelement.h:
6903 When typefinding is done in push mode, we should cache
6904 events we receive during typefinding instead of just
6905 dropping them (e.g. newsegment, custom events from
6906 dvdreadsrc etc.) and then send them out once we've
6907 determined the type of the stream (and decodebin
6908 has had a chance to plug in a decoder/demuxer).
6910 2006-03-27 Wim Taymans <wim@fluendo.com>
6912 * docs/design/part-qos.txt:
6915 2006-03-27 Wim Taymans <wim@fluendo.com>
6917 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
6919 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6920 (gst_base_src_send_event), (gst_base_src_change_state):
6921 Handle element seek correctly when we are streaming.
6924 2006-03-24 Michael Smith <msmith@fluendo.com>
6926 * docs/faq/gst-uninstalled:
6927 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
6928 allow you to correctly run intalled applications built against old
6929 core, using plugins that require updated core (e.g. running
6930 installed totem against a full uninstalled gstreamer stack)
6932 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6934 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6937 2006-03-24 Wim Taymans <wim@fluendo.com>
6939 * docs/gst/gstreamer-sections.txt:
6940 Rearrange the order of the methods so that related methods
6941 are grouped together in sections.
6943 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6946 Little clarification in the docs
6948 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6952 * plugins/elements/gstidentity.c:
6953 * plugins/elements/gstqueue.c:
6954 * plugins/elements/gsttee.c:
6955 * plugins/elements/gsttypefindelement.c:
6956 GST_ELEMENT_DETAILS formatting
6958 2006-03-24 Wim Taymans <wim@fluendo.com>
6960 * libs/gst/base/gstbasesink.h:
6961 Only add fields, not insert or we break ABI.
6963 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
6965 * win32/common/libgstbase.def:
6966 * win32/common/libgstreamer.def:
6967 Update, add recently added functions.
6969 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
6971 * docs/gst/gstreamer-sections.txt:
6972 * gst/gstutils.c: (gst_pad_query_peer_position),
6973 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
6975 API: add some new utility functions:
6976 - gst_pad_query_peer_position()
6977 - gst_pad_query_peer_duration()
6978 - gst_pad_query_peer_convert()
6980 2006-03-23 Wim Taymans <wim@fluendo.com>
6982 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6983 (gst_base_sink_init), (gst_base_sink_finalize),
6984 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
6985 (gst_base_sink_set_property), (gst_base_sink_get_property),
6986 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
6987 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6988 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
6989 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6990 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6991 (gst_base_sink_preroll_object), (gst_base_sink_event),
6992 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
6993 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6994 (gst_base_sink_query), (gst_base_sink_change_state):
6995 Decouple max-lateness and the fact that QoS messages are generated
6996 with a new property (qos).
6997 added API: GstBaseSink::async_play()
6998 Add vmethod so subclasses can be notified of ASYNC playing
7000 Collect timestamp start and stop to report better current
7001 position in EOS/PLAYING/PAUSED/READY/NULL.
7002 Refactor QoS/frame dropping and other measurements.
7003 API: GstBaseSrc::qos
7006 * libs/gst/base/gstbasesink.h:
7007 Added Private struct.
7008 API: gst_base_sink_set_qos_enabled()
7009 API: gst_base_sink_is_qos_enabled()
7011 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7013 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7014 If compiling against GLib-2.8 or newer, try to read the
7015 registry file using GMappedFile first before falling back
7016 to fopen() + fread() (#332151).
7018 2006-03-22 Wim Taymans <wim@fluendo.com>
7020 * gst/gstinfo.c: (gst_debug_set_active),
7021 (gst_debug_category_set_threshold):
7022 Disable debugging unless explicitly activated.
7025 2006-03-22 Wim Taymans <wim@fluendo.com>
7027 * gst/gstelement.c: (gst_element_set_locked_state),
7028 (gst_element_dispose):
7029 Cleanup the error case.
7031 * gst/gstobject.c: (gst_object_dispose):
7032 print a critical when some object was disposed with
7033 a parent, also revive the object since it might
7036 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
7038 * tools/gst-launch.1.in:
7041 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7044 * tests/check/Makefile.am:
7045 disable some tests when we don't have a registry
7046 * tests/check/gst/gstutils.c: (gst_utils_suite):
7047 don't build the part that needs parsing
7049 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7052 * tests/examples/Makefile.am:
7053 fix --disable-parse build
7055 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7057 * tools/gst-feedback.1.in:
7058 Fix typo: s/feeback/feedback/ (#133494).
7060 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7062 * tools/Makefile.am:
7063 * tools/gst-launch.1.in:
7064 Add FILES section and correct entry about GST_REGISTRY_PATH
7065 environment variable (#133495; #133494).
7067 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7069 * tools/Makefile.am:
7070 * tools/gst-md5sum.1.in:
7071 * tools/gst-md5sum.c:
7072 Remove gst-md5sum and man page (the md5sink element
7073 required was removed ages ago)
7075 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7077 * gst/gststructure.c: (gst_structure_id_set_value):
7078 Make sure that string fields in structures/taglists
7079 contain valid UTF-8 - we don't want to pass rubbish to
7080 applications because of a buggy plugin (cp. #334167).
7082 2006-03-21 Edward Hervey <edward@fluendo.com>
7084 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7085 (gst_bin_handle_message_func):
7086 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7087 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7088 (gst_element_set_bus_func):
7089 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7090 * gst/gstminiobject.c: (gst_value_set_mini_object),
7091 (gst_value_take_mini_object):
7092 * gst/gstpad.c: (gst_pad_set_pad_template):
7093 * gst/gstpipeline.c: (gst_pipeline_dispose),
7094 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7095 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7096 (gst_collect_pads_chain):
7097 * libs/gst/net/gstnettimeprovider.c:
7098 (gst_net_time_provider_set_property):
7099 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7100 It's in fact all issues with gst_*object_replace().
7102 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7104 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
7106 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7107 * pkgconfig/gstreamer-check.pc.in:
7108 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7110 2006-03-21 Edward Hervey <edward@fluendo.com>
7115 gst_[buffer|event|message]_ref() macros are replaced by a static
7116 inline functions because gcc-4.1 will about if the return value
7118 * tests/check/gst/gstevent.c: (event_probe):
7119 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7121 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
7124 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7125 the type' case. (Closes: #335195 for now). In the future, when we
7126 depend on GLib 2.10, we could also intern the type name using
7127 g_intern_static_string()
7129 2006-03-20 Wim Taymans <wim@fluendo.com>
7131 * gst/gstbin.c: (gst_bin_handle_message_func),
7132 (bin_query_max_init), (bin_query_position_fold),
7133 (bin_query_position_done), (gst_bin_query):
7134 Position query should also take max of all streams.
7136 2006-03-20 Wim Taymans <wim@fluendo.com>
7138 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7139 (gst_fake_src_finalize):
7140 Fix leaks in fakesrc.
7142 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7143 Fix leaks in the testcase.
7145 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
7147 * gst/gst_private.h:
7148 add win32 specific import decoration(__declspec(dllimport))
7149 for all extern GstDebugCategory * variables
7150 * win32/common/libgstbase.def:
7151 * win32/common/libgstcontroller.def:
7152 * win32/common/libgstreamer.def:
7153 Add some exports, remove empty lines
7154 * win32/common/libgstdataprotocol.def:
7155 * win32/common/libgstdataprotocol.dsp:
7156 * win32/common/libgstnet.def:
7157 * win32/common/libgstnet.dsp:
7158 new project files and exportation files added
7160 2006-03-19 Wim Taymans <wim@fluendo.com>
7162 * tests/check/libs/basesrc.c: (eos_event_counter):
7163 Use proper return value for probe.
7165 2006-03-17 Wim Taymans <wim@fluendo.com>
7167 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7169 Don't leak buffers, caps and pads on negotiation errors.
7171 2006-03-16 Stefan Kost <ensonic@users.sf.net>
7174 * docs/faq/dependencies.xml:
7175 * docs/faq/developing.xml:
7177 * docs/faq/general.xml:
7178 * docs/faq/getting.xml:
7179 * docs/faq/legal.xml:
7180 * docs/faq/troubleshooting.xml:
7181 * docs/faq/using.xml:
7182 Faq review and update.
7184 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
7186 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7188 Don't pound the cpu to pieces by checking get_caps when accept_caps
7189 is called with the same caps as the pad already has.
7190 Use GST_DEBUG_OBJECT when outputting caps change information.
7192 2006-03-15 Wim Taymans <wim@fluendo.com>
7194 * gst/gstclock.c: (gst_clock_class_init):
7197 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
7202 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7203 (gst_pad_accept_caps), (gst_pad_configure_sink),
7204 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7205 Make the default acceptcaps behaviour be to check the requested
7206 caps against the gst_pad_get_caps output.
7208 Ensure that gst_pad_accept_caps is used to check caps when a pad
7209 doesn't have a setcaps function, so that pads automatically refuse
7210 caps that they don't allow in their pad template. (Fixes #332986)
7212 When a buffer with attached caps is pushed, ensure that the source
7213 pad receives those caps even if the element didn't call
7214 gst_pad_set_caps first.
7216 2006-03-15 Wim Taymans <wim@fluendo.com>
7218 * libs/gst/base/gstadapter.c:
7221 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
7223 * win32/common/libgstbase.def:
7224 * win32/common/libgstcontroller.def:
7225 * win32/common/libgstreamer.def:
7226 Add a whole bunch of missing functions (#334434).
7228 2006-03-14 Wim Taymans <wim@fluendo.com>
7230 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7231 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7232 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7233 Better debug info when we receive a segment event.
7234 Reorganize a bit so we can pass the get_times() results around.
7235 Use the segment format when calculating the running time.
7236 Don't do QoS is sync is disabled or we have no clock or the
7237 element does not want us to sync to the clock.
7238 Don't drop buffers if QoS is disabled for now.
7240 2006-03-14 Wim Taymans <wim@fluendo.com>
7242 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7243 Marked the stats property as unimplemented so people don't get
7245 Add debug message when regression goes wrong.
7246 Added some more docs.
7248 2006-03-14 Wim Taymans <wim@fluendo.com>
7250 * gst/gstsegment.c: (gst_segment_to_stream_time):
7251 Return correct return type in case of errors.
7253 2006-03-14 Wim Taymans <wim@fluendo.com>
7255 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7256 Don't segfault on invalid formats.
7258 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7260 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7261 Can't use gst_segment_to_running_time() when the segment
7262 is not in GST_TIME_FORMAT (like with filesink, for example).
7263 Stops flac encoding pipelines from spewing critical warnings
7266 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7268 * gst/gstpipeline.c: (gst_pipeline_class_init):
7269 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7271 * plugins/elements/gsttypefindelement.c:
7272 (gst_type_find_element_handle_event):
7273 Don't try to typefind empty streams.
7275 2006-03-14 Wim Taymans <wim@fluendo.com>
7277 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7278 (gst_base_sink_do_qos):
7279 Separate QoS calculation.
7280 Only drop buffers when lateness is bigger than the
7281 duration of the buffer.
7283 2006-03-13 Wim Taymans <wim@fluendo.com>
7285 * gst/gstpipeline.c: (gst_pipeline_set_property),
7286 (gst_pipeline_get_property), (do_pipeline_seek),
7287 (gst_pipeline_change_state), (gst_pipeline_set_delay),
7288 (gst_pipeline_get_delay):
7289 Don't deadlock when reading properties.
7291 2006-03-13 Wim Taymans <wim@fluendo.com>
7293 * libs/gst/base/gstbasetransform.c:
7294 (gst_base_transform_class_init), (gst_base_transform_init),
7295 (gst_base_transform_sink_event),
7296 (gst_base_transform_sink_eventfunc),
7297 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7298 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7299 (gst_base_transform_set_property),
7300 (gst_base_transform_get_property),
7301 (gst_base_transform_change_state), (gst_base_transform_update_qos),
7302 (gst_base_transform_set_qos_enabled),
7303 (gst_base_transform_is_qos_enabled):
7304 * libs/gst/base/gstbasetransform.h:
7305 Make basetransform virtual method for src events too.
7306 Handle QOS in basetransform.
7307 API: gst_base_transform_update_qos()
7308 API: gst_base_transform_set_qos_enabled()
7309 API: gst_base_transform_is_qos_enabled()
7311 2006-03-13 Wim Taymans <wim@fluendo.com>
7313 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7314 (gst_base_sink_do_sync):
7316 Use QOS debug category.
7318 2006-03-13 Wim Taymans <wim@fluendo.com>
7320 * plugins/elements/gstqueue.c:
7321 Very small doc update.
7323 2006-03-13 Wim Taymans <wim@fluendo.com>
7325 * gst/gst_private.h:
7326 * gst/gstinfo.c: (_gst_debug_init):
7327 Added QOS debug category
7329 2006-03-13 Wim Taymans <wim@fluendo.com>
7331 * docs/gst/gstreamer-sections.txt:
7332 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7334 * gst/gstbus.c: (gst_bus_class_init):
7337 * gst/gstelement.c: (gst_element_set_locked_state):
7339 Documentation updates.
7341 * gst/gstpipeline.c: (gst_pipeline_get_type),
7342 (gst_pipeline_class_init), (gst_pipeline_init),
7343 (gst_pipeline_dispose), (gst_pipeline_set_property),
7344 (gst_pipeline_get_property), (do_pipeline_seek),
7345 (gst_pipeline_send_event), (gst_pipeline_change_state),
7346 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7347 (gst_pipeline_get_delay):
7348 * gst/gstpipeline.h:
7349 Added methods for setting the delay.
7350 API: gst_pipeline_set_delay()
7351 API: gst_pipeline_get_delay()
7352 Add pipeline debug category
7355 Don't reset stream time when seek failed.
7357 2006-03-13 Wim Taymans <wim@fluendo.com>
7359 * docs/design/draft-klass.txt:
7360 * docs/design/part-clocks.txt:
7361 * docs/design/part-events.txt:
7362 * docs/design/part-gstbin.txt:
7363 * docs/design/part-gstpipeline.txt:
7364 * docs/design/part-messages.txt:
7365 * docs/design/part-negotiation.txt:
7366 * docs/design/part-overview.txt:
7367 * docs/design/part-preroll.txt:
7368 * docs/design/part-seeking.txt:
7369 * docs/design/part-states.txt:
7370 * docs/design/part-streams.txt:
7371 Documentation updates.
7373 2006-03-12 Julien MOUTTE <julien@moutte.net>
7375 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7376 us to leak strings...
7378 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
7380 * libs/gst/net/gstnettimeprovider.c:
7382 * win32/common/config.h:
7385 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
7387 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7390 Don't check for libgnomeui (leftover from old examples
7391 that aren't built or disted any longer) (#334303).
7393 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
7395 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7396 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7397 Emit RESOURCE_NO_SPACE_LEFT error here as well when
7398 there's no space left on the device.
7400 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
7403 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7404 to cast the input to GstClockTime before comparing with
7405 another GstClockTime value.
7407 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7412 === release 0.10.4 ===
7414 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7417 releasing 0.10.4, "Light"
7419 2006-03-10 Michael Smith <msmith@fluendo.com>
7421 * libs/gst/dataprotocol/dataprotocol.c:
7422 Fix docs for dataprocotol to not get the return types completely
7423 wrong for a few functions.
7425 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7427 * docs/gst/gstreamer-sections.txt:
7428 * gst/gstpipeline.c: (gst_pipeline_class_init),
7429 (gst_pipeline_init), (gst_pipeline_set_property),
7430 (gst_pipeline_get_property), (gst_pipeline_change_state),
7431 (gst_pipeline_set_auto_flush_bus),
7432 (gst_pipeline_get_auto_flush_bus):
7433 * gst/gstpipeline.h:
7434 Add new API: gst_pipeline_set_auto_flush_bus() and
7435 gst_pipeline_get_auto_flush_bus() to disable automatic
7436 flushing of the pipeline's GstBus when going from READY
7437 to NULL state (#332045).
7439 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7441 * docs/gst/gstreamer-sections.txt:
7442 * gst/gsturi.c: (gst_uri_has_protocol):
7444 Add new API: gst_uri_has_protocol() (#333779).
7446 2006-03-09 Wim Taymans <wim@fluendo.com>
7448 * gst/gstclock.c: (gst_clock_entry_new),
7449 (gst_clock_id_compare_func), (gst_clock_id_wait),
7450 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7451 (gst_clock_init), (gst_clock_get_internal_time),
7452 (gst_clock_set_master), (do_linear_regression),
7453 (gst_clock_add_observation), (gst_clock_set_property):
7457 Fix a possible segfault when the window-size is made smaller.
7458 Calculate jitter before performing the clock wait. Ideally
7459 the clock implementation should calculate jitter but we need
7460 API breakage for that.
7462 * gst/gstsystemclock.c: (gst_system_clock_init):
7465 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7466 Remove leftover else
7468 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7469 (gst_systemclock_suite):
7470 Added check to test GST_CLOCK_DIFF.
7472 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7474 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7475 (gst_type_find_helper_get_range):
7476 If we are provided with the size, we should implement
7477 GstTypeFind::get_length, so that typefind functions who
7478 want to can actually peek at the middle of a file.
7480 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
7482 * docs/manual/advanced-dataaccess.xml:
7483 Add some very very basic error checking.
7485 * docs/pwg/appendix-checklist.xml:
7486 Some updates to the list of things to check when writing an element.
7488 2006-03-08 Wim Taymans <wim@fluendo.com>
7490 * docs/design/part-element-transform.txt:
7491 Added some docs about the design of tranform elements.
7493 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7494 (gst_base_src_loop), (gst_base_src_change_state):
7495 Mark buffers with the DISCONT flag.
7497 2006-03-08 Michael Smith <msmith@fluendo.com>
7499 * gst/gstregistry.h:
7500 * gst/gstregistryxml.c: (gst_registry_save),
7501 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7502 (gst_registry_xml_save_pad_template),
7503 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7504 (gst_registry_xml_write_cache):
7505 Rewrite registry-saving to avoid race conditions and check for
7508 2006-03-08 Wim Taymans <wim@fluendo.com>
7510 * libs/gst/base/gstbasetransform.c:
7511 (gst_base_transform_transform_caps),
7512 (gst_base_transform_transform_size),
7513 (gst_base_transform_prepare_output_buffer),
7514 (gst_base_transform_get_unit_size),
7515 (gst_base_transform_buffer_alloc),
7516 (gst_base_transform_handle_buffer),
7517 (gst_base_transform_change_state):
7518 Cleanups, separate normal flow from errors, add sensible
7520 Don't try to renegotiate when allocating an output buffer.
7521 Also copy DISCONT buffer flag when copying a buffer.
7522 Reset the transform after we finish streaming, not during.
7524 2006-03-08 Wim Taymans <wim@fluendo.com>
7526 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7527 Use last buffer timestamp in qos message.
7529 2006-03-07 Wim Taymans <wim@fluendo.com>
7531 Patch by: Christophe Fergeau
7533 * docs/pwg/advanced-tagging.xml:
7534 * docs/pwg/building-pads.xml:
7537 2006-03-07 Wim Taymans <wim@fluendo.com>
7539 * docs/libs/gstreamer-libs-sections.txt:
7540 Added basesink new methods.
7544 Docs updates. Flesh out the QoS docs.
7546 * libs/gst/base/gstadapter.c:
7547 Small doc clarification about ownership and flushing.
7549 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7550 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7551 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7552 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7553 * libs/gst/base/gstbasesink.h:
7555 Added new methods to allow subclass to control max-lateness
7557 Generate very basic QoS events based on last sync observation.
7558 Updated docs, fix typo, added some QoS blurb.
7560 * libs/gst/base/gstbasesrc.c:
7561 Remove obsolete _get_state() calls from docs.
7563 2006-03-07 Wim Taymans <wim@fluendo.com>
7565 * docs/libs/gstreamer-libs-sections.txt:
7566 * libs/gst/base/gstbasetransform.h:
7567 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7568 Fix docs for GstBaseSrc.
7570 2006-03-07 Wim Taymans <wim@fluendo.com>
7572 * docs/gst/gstreamer-sections.txt:
7575 * libs/gst/base/gstbasetransform.h:
7576 Small documentation fixes.
7578 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7581 Document thread-unsafety of gst_value_register_foo_func()
7582 when used at the same time as gst_value_foo() (#322628).
7584 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7586 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7587 (gst_push_src_check_get_range):
7588 Push sources don't support pull mode by default.
7590 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7592 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7593 (gst_base_src_init), (gst_base_src_pad_check_get_range),
7594 (gst_base_src_default_check_get_range):
7595 * libs/gst/base/gstbasesrc.h:
7596 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7597 provide default implementation, and rename
7598 gst_base_src_check_get_range() to
7599 gst_base_src_pad_check_get_range() for clarity.
7601 2006-03-06 Wim Taymans <wim@fluendo.com>
7603 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7604 Make property overridable.
7606 2006-03-06 Wim Taymans <wim@fluendo.com>
7608 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7609 (gst_base_sink_init), (gst_base_sink_set_property),
7610 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7611 * libs/gst/base/gstbasesink.h:
7612 API addition: Make max-lateness a property.
7614 2006-03-06 Wim Taymans <wim@fluendo.com>
7616 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7617 (gst_base_sink_do_sync), (gst_base_sink_render_object):
7618 Don't ever draw a frame that is >10ms late.
7620 2006-03-06 Michael Smith <msmith@fluendo.com>
7622 * gst/gstmessage.c: (_gst_message_copy):
7623 When copying a message, set the parent_refcount of the enclosed
7624 structure to point at the copy, not the original message.
7626 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7628 Patch by: Christophe Fergeau
7631 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7632 usable in c++ code (#333417)
7634 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
7637 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7639 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
7641 * libs/gst/base/gstbasetransform.c:
7642 (gst_base_transform_transform_caps):
7643 Make sure caps are writable before passing them to
7646 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7649 Fix some minor docs errors.
7651 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7653 Patch by: Ross Burton <ross at burtonini dot com>
7655 * gst/gsterror.c: (_gst_resource_errors_init):
7657 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7659 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7662 Add a check and output a g_warning when GStreamer is built
7663 against GLib 2.6 but running against 2.8 or higher, and vice
7664 versa. (Closes: #323542)
7666 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7668 * gst/parse/parse.l:
7669 Commit patch for parse_launch syntax from #331255. Removes
7670 support for quoted strings and mimetypes when writing filtered
7671 caps. See the bug report for more details - I'm pretty sure this
7672 obscure feature is not in use by _anyone_ anywhere.
7674 With this simple change, the size of the gstreamer.so here
7675 drops from 2193KB to 1565KB.
7677 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7679 * plugins/elements/gsttypefindelement.h:
7680 * plugins/elements/gsttypefindelement.c:
7681 (gst_type_find_element_src_event), (start_typefinding),
7682 (stop_typefinding), (gst_type_find_element_handle_event),
7683 (gst_type_find_element_chain),
7684 (gst_type_find_element_chain_do_typefinding):
7685 Use gst_type_find_helper_for_buffer() for chain-based
7688 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7690 * plugins/elements/gsttypefindelement.c:
7691 (gst_type_find_element_class_init),
7692 (gst_type_find_element_set_property),
7693 (gst_type_find_element_get_property):
7694 Deprecate "maximum" property (not only was it only taken into
7695 account for typefinding in push-mode anyway, it also was never
7696 actually possible to set it in the first place because the
7697 property was registered with the numeric property ID for the
7698 "minimum" property). Register "maximum" property correctly,
7699 for the sake of future copy'n'pasters. Remove some cruft
7700 from property get/set functions.
7702 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7704 * plugins/elements/gsttypefindelement.c:
7705 (gst_type_find_element_activate):
7706 Use gst_type_find_helper_get_range() here, so we
7707 can honour the "minimum" property and also emit
7708 the signal with the correct probability of the found caps.
7710 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
7712 * docs/libs/gstreamer-libs-sections.txt:
7713 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7714 (helper_find_suggest), (gst_type_find_helper_get_range),
7715 (gst_type_find_helper):
7716 * libs/gst/base/gsttypefindhelper.h:
7717 New API: gst_type_find_helper_get_range() (#333042).
7719 2006-03-02 Michael Smith <msmith@fluendo.com>
7721 * gst/gstregistryxml.c: (load_feature):
7722 Asserting on a failure to read part of the registry is Not Cool.
7723 Just log a warning and return NULL (which is already handled)
7725 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
7727 * win32/common/libgstbase.def:
7728 added export of gst_type_find_helper_for_buffer
7729 * win32/common/libgstbase.def:
7730 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7731 gst_ghost_pad_get_target
7733 2006-02-28 Wim Taymans <wim@fluendo.com>
7735 * docs/design/draft-klass.txt:
7737 Added Connector to mark elements that are only used to
7738 allow pipeline connections.
7739 Moved Debug to extra feature since most of them are
7740 functionally something else.
7742 2006-02-28 Wim Taymans <wim@fluendo.com>
7744 * docs/design/draft-klass.txt:
7745 Some updates and clarifications.
7747 2006-02-28 Wim Taymans <wim@fluendo.com>
7749 * docs/design/draft-klass.txt:
7750 Proposal for klass field values.
7752 * docs/design/part-streams.txt:
7753 Start of a doc describing stream anatomy.
7755 2006-02-28 Wim Taymans <wim@fluendo.com>
7757 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
7758 Help the compiler a bit with type registration.
7759 Use existing forward cod path instead of duplicating it when
7762 * gst/gstbus.c: (gst_bus_get_type):
7763 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
7764 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
7765 * gst/gstclock.c: (gst_clock_get_type):
7766 * gst/gstelement.c: (gst_element_get_type),
7767 * gst/gstelementfactory.c: (gst_element_factory_get_type):
7768 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7769 * gst/gstminiobject.c: (gst_mini_object_get_type):
7770 * gst/gstpad.c: (gst_pad_get_type):
7771 * gst/gstsegment.c: (gst_segment_get_type):
7772 * gst/gststructure.c: (gst_structure_get_type):
7773 * gst/gstsystemclock.c: (gst_system_clock_get_type):
7774 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
7776 Help compiler with type registration.
7778 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7781 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7783 * plugins/elements/gsttypefindelement.c:
7784 (gst_type_find_element_handle_event):
7785 When we get an EOS event and have not found a type yet
7786 (most likely because we had not yet accumulated
7787 TYPE_FIND_MIN_SIZE of data yet), try to determine the
7788 type given the data we have so far. Fixes typefinding
7789 for very short streams again, most notably quicktime
7790 redirections as used on Apple's trailer site (#331701).
7792 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7794 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
7795 (gst_type_find_helper):
7796 Try typefinding factories with the highest rank first.
7798 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7800 * docs/libs/gstreamer-libs-docs.sgml:
7801 * docs/libs/gstreamer-libs-sections.txt:
7802 * libs/gst/base/gsttypefindhelper.c:
7803 Add section for typefind helper and add documentation
7804 for the old and the new function.
7806 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7808 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
7809 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
7810 (gst_type_find_helper_for_buffer):
7811 * libs/gst/base/gsttypefindhelper.h:
7812 New API: gst_type_find_helper_for_buffer() (#332723).
7814 2006-02-27 Michael Smith <msmith@fluendo.com>
7816 Patch by: Loïc Minier
7820 * docs/slides/Makefile.am:
7821 prevent CVS directories getting disted.
7823 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7825 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
7826 Use the REFCOUNTING category for caps refcounting.
7828 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
7830 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
7831 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
7833 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
7835 * plugins/elements/gsttypefindelement.c:
7836 (gst_type_find_element_activate):
7837 Use gst_pad_check_pull_range() before _activate_pull()
7838 to avoid unnecessary open/close (see #331690).
7840 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
7843 Docs enhancement: make it crystal clear what the
7844 gst_pad_add_*_probe() callbacks should look like.
7846 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
7848 * libs/gst/base/gstbasesrc.c:
7849 Document how applications can stop recording from
7850 live sources (see #330996).
7852 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7854 * tests/check/Makefile.am:
7855 * tests/check/libs/basesrc.c: (eos_event_counter),
7856 (basesrc_eos_events_pull), (basesrc_eos_events_push),
7857 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
7858 (gst_basesrc_suite), (main):
7859 ... and add some tests for the base source EOS stuff.
7861 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7863 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
7864 Test case originally showed the problem fixed below,
7865 but was then amended. Add checks back at the place
7866 where they used to be.
7868 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7870 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7871 (gst_base_src_init), (gst_base_src_loop),
7872 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7873 (gst_base_src_change_state):
7874 * libs/gst/base/gstbasesrc.h:
7875 Don't unconditionally send EOS when going from PAUSED to
7876 READY state, esp. make sure we don't send two EOS events
7877 in some cases (e.g. one when reaching EOS and one when
7878 going from PAUSED to READY). Also, we don't want to send
7879 EOS events when operating in pull mode. However, we do
7880 want to send an EOS event when shutting down a live
7881 source explicitly, for example (fixes #330996).
7883 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7885 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7886 Update src->read_position after a seek when not using mmap.
7887 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
7889 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
7895 Make things work with --disable-parse as they do with
7896 --disable-load-save - the symbols involved disappear, but the
7897 header is still installed and GST_DISABLE_PARSE is included via
7900 2006-02-20 Julien MOUTTE <julien@moutte.net>
7902 * libs/gst/base/gstbasetransform.c:
7903 (gst_base_transform_change_state): Fix a stupid bug. I was
7904 sure I compiled that.
7906 2006-02-20 Julien MOUTTE <julien@moutte.net>
7908 * gst/gstpad.c: (gst_pad_set_blocked_async):
7909 * gst/gstutils.c: (gst_pad_add_data_probe),
7910 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7911 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7912 (gst_pad_remove_buffer_probe): Make those function act on the
7913 ghostpad target when it's a ghostpad. (Closes #331727)
7915 2006-02-20 Julien MOUTTE <julien@moutte.net>
7917 * libs/gst/base/gstbasetransform.c:
7918 (gst_base_transform_change_state): Make basetransform reusable.
7921 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
7923 * docs/random/release:
7924 Move the current documentation of how to do a release to the top
7927 * gst/gstbin.c: (gst_bin_class_init),
7928 (gst_bin_handle_message_func):
7929 Allow multiple state-recalculation threads. (Closes #328873)
7931 2006-02-19 Julien MOUTTE <julien@moutte.net>
7933 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
7934 * gst/gstpad.c: (gst_pad_set_event_function),
7935 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7936 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
7937 2 strings. You can't use the STR_NULL macro on that.
7939 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
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)
7944 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
7945 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
7946 So now, we can use --gst-debug-level=5 on Windows
7947 * win32/common/libgstcontroller.def:
7948 Added export of gst_controller_init
7949 * win32/vs6/libgstcontroller.dsp:
7950 Fixed Release post build configuration
7952 2006-02-17 Wim Taymans <wim@fluendo.com>
7954 * tests/check/gst/gstquery.c: (GST_START_TEST):
7955 Added another check.
7957 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
7959 * plugins/elements/gsttypefindelement.c: (find_peek):
7960 We can do peeks at non-zero offsets, as long as they
7961 fall within the buffer we have.
7963 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
7965 * tests/check/Makefile.am:
7966 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
7967 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
7968 (parse_suite), (main):
7969 Add testsuite for parse launch syntax
7971 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
7973 * plugins/elements/gsttypefindelement.c:
7974 (gst_type_find_element_chain):
7975 When typefinding is unsuccessful in the chain function, don't
7976 error out immediately. Only error out with NO_CAPS_FOUND if
7977 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
7978 otherwise simply wait for more data so we can try typefinding
7979 again with more data later. Also, don't attempt to typefind
7980 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
7981 this should improve typefinding from network sources where the
7982 size of the first buffer can be somewhat random.
7984 2006-02-14 Wim Taymans <wim@fluendo.com>
7986 * docs/gst/gstreamer-sections.txt:
7987 * gst/gstpadtemplate.c:
7988 * gst/gstpadtemplate.h:
7989 Fix padtemplate docs, fixes #328805.
7991 2006-02-14 Wim Taymans <wim@fluendo.com>
7993 * tools/gst-launch.c: (main):
7994 NO_PREROLL is not an ERROR so don't send confusing messages
7997 2006-02-14 Wim Taymans <wim@fluendo.com>
7999 Patch by: Torsten Schoenfeld
8001 * gst/gstregistry.c: (gst_registry_get_default),
8002 (_gst_registry_cleanup):
8003 Protect default registry with lock and ref/sink it.
8006 2006-02-14 Wim Taymans <wim@fluendo.com>
8009 * gst/gstquery.c: (gst_query_list_add_format),
8010 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8011 (gst_query_parse_formats_nth):
8012 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8015 2006-02-14 Wim Taymans <wim@fluendo.com>
8017 * docs/gst/gstreamer-sections.txt:
8018 Reworked query docs.
8020 * gst/gstquery.c: (gst_query_new_formats),
8021 (gst_query_list_add_format), (gst_query_set_formats),
8022 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8023 (gst_query_parse_formats_nth):
8025 Flesh out formats query, added some new methods.
8026 Fix part of #324398.
8028 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8029 Added query creation tests.
8031 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
8033 * gst/gstpad.c: (fixate_value):
8034 Add a default fixation for fraction lists.
8036 2006-02-13 Wim Taymans <wim@fluendo.com>
8038 * gst/gsttask.c: (gst_task_init), (gst_task_func),
8039 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8042 Detect and warn for obvious deadlocks. fixes #320340
8043 Fix error case where lock was not released.
8045 * tests/check/Makefile.am:
8046 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8047 (task_func), (gst_element_suite), (main):
8050 2006-02-13 Wim Taymans <wim@fluendo.com>
8052 * docs/gst/gstreamer-sections.txt:
8054 Add new functions to docs.
8056 2006-02-13 Wim Taymans <wim@fluendo.com>
8058 * docs/design/part-TODO.txt:
8059 Updated TODO list, basesrc supports seeking to non-bytes
8062 * docs/design/part-element-sink.txt:
8065 * gst/gstbin.c: (bin_replace_message),
8066 (gst_bin_handle_message_func):
8067 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8068 * gst/gstevent.c: (gst_event_finalize):
8069 * gst/gstpad.c: (gst_pad_event_default_dispatch),
8070 (gst_pad_send_event):
8071 Use shiny new _TYPE_NAME macros.
8073 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8074 Move debug statement up.
8076 * gst/gstelement.c: (gst_element_set_locked_state):
8079 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
8081 * docs/gst/gstreamer-sections.txt:
8084 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8085 macros (#330906). Also, document the already existing
8086 GST_QUERY_TYPE macro.
8088 2006-02-13 Wim Taymans <wim@fluendo.com>
8090 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8091 (event_probe), (GST_START_TEST):
8092 Only events up to the pipeline EOS are counted, there are
8093 some more when going to NULL currently which we don't care
8096 2006-02-13 Wim Taymans <wim@fluendo.com>
8098 * gst/gstpad.c: (gst_pad_send_event):
8099 Correctly check flushing and emit probes. fixes #330125
8101 2006-02-10 Andy Wingo <wingo@pobox.com>
8103 * gst/gstbus.c (gst_bus_class_init): Declare our private data
8105 (gst_bus_init): Cache the location of the private data in the
8107 (gst_bus_enable_sync_message_emission)
8108 (gst_bus_disable_sync_message_emission): Implement new public
8110 (gst_bus_post): Emit the sync-message signal if the user asked for
8113 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8114 location of the bus-private structure.
8115 (gst_bus_enable_sync_message_emission)
8116 (gst_bus_disable_sync_message_emission): API addition
8118 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
8120 Patch by: Vincent Torri
8122 * docs/pwg/building-boiler.xml:
8123 PWG patch from #326800
8125 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
8129 * docs/design/Makefile.am:
8132 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8137 === release 0.10.3 ===
8139 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8142 releasing 0.10.3, "Like a virgin"
8144 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8147 2nd prerelease of 0.10.3
8148 Bump libtool versioning.
8150 2006-02-07 Andy Wingo <wingo@pobox.com>
8152 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8153 update last_stop if we're in TIME format and the timestamp is
8156 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
8157 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
8158 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8159 If we get a new newsegment with a different format, adapt
8162 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8163 of 0. Not a problem, really.
8165 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8168 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
8173 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
8176 project files updated to the default vs7 configuration
8177 * win32/common/libgstbase.def:
8178 * win32/common/libgstreamer.def:
8180 removed empty lines,
8181 sorted all exported symbols alphabetically
8182 * win32/common/dirent.c:
8183 * win32/common/dirent.h:
8184 * win32/common/gchar.h:
8185 use windows line end.
8187 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8189 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8190 Send EOS event when stopping.
8192 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8195 Tell folks what to do if the plugin-foobar.xml file
8196 hasn't been generated for a newly-added plugin.
8198 2006-02-05 Julien MOUTTE <julien@moutte.net>
8200 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8201 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8202 (gst_collect_pads_start), (gst_collect_pads_stop),
8203 (gst_collect_pads_event): Collectpads now holds a reference
8204 to the GstPad that was added. Indeed we don't want to look
8205 at pads that might just go away with no warning...
8207 2006-02-05 Julien MOUTTE <julien@moutte.net>
8209 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8210 (gst_collect_pads_start), (gst_collect_pads_stop),
8211 (gst_collect_pads_event), (gst_collect_pads_chain):
8212 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8213 Mark Nauwelaerts's patch on bug #328491.
8215 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8217 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8219 Add some simple tests for gst_parse_bin_from_description() and
8220 gst_bin_find_unconnected_pad() (#329069).
8222 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8224 * tools/gst-launch.c: (event_loop), (main):
8225 Catch errors during preroll (#320084).
8227 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
8229 * plugins/elements/gsttypefindelement.c:
8230 (gst_type_find_element_activate):
8231 Post TYPE_NOT_FOUND error message when typefinding
8232 is unsuccessful in the activate function as well.
8234 2006-02-02 Wim Taymans <wim@fluendo.com>
8236 * docs/design/part-element-sink.txt:
8239 2006-02-02 Wim Taymans <wim@fluendo.com>
8241 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8242 (gst_base_sink_render_object),
8243 (gst_base_sink_queue_object_unlocked):
8244 Only keep track of prerollable items when we are
8246 Before rendering after preroll, always check if we
8248 Added some more debugging.
8250 2006-02-02 Wim Taymans <wim@fluendo.com>
8252 * gst/gstelement.c: (gst_element_continue_state),
8253 (gst_element_set_state_func), (gst_element_change_state):
8254 Fixed #326576, been running this for quite some time with
8255 no regressions at all.
8257 2006-02-02 Wim Taymans <wim@fluendo.com>
8260 Added more suppressions
8262 2006-02-02 Wim Taymans <wim@fluendo.com>
8264 * docs/design/part-element-sink.txt:
8267 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8268 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8269 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8270 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8271 (gst_base_sink_do_sync), (gst_base_sink_render_object),
8272 (gst_base_sink_preroll_object),
8273 (gst_base_sink_queue_object_unlocked),
8274 (gst_base_sink_queue_object), (gst_base_sink_event),
8275 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8276 (gst_base_sink_loop), (gst_base_sink_activate_pull),
8277 (gst_base_sink_get_position), (gst_base_sink_change_state):
8278 * libs/gst/base/gstbasesink.h:
8279 Totally refactored matching the design doc.
8280 Use two segments, one to clip incomming buffers and another to
8282 Handle queueing correctly, bypass the queue when playing.
8283 Make EOS cancelable.
8284 Handle errors correctly when operating in pull based mode.
8286 * tests/check/elements/fakesink.c: (GST_START_TEST),
8288 Added new check for sinks.
8290 2006-02-02 Wim Taymans <wim@fluendo.com>
8292 * gst/gstsegment.c: (gst_segment_clip):
8293 No reason to refuse to clip when start == -1
8295 2006-02-02 Stefan Kost <ensonic@users.sf.net>
8298 * docs/manual/intro-basics.xml:
8299 * docs/manual/intro-preface.xml:
8300 * docs/manual/manual.xml:
8301 * docs/pwg/advanced-dparams.xml:
8302 * docs/pwg/intro-basics.xml:
8303 * docs/pwg/intro-preface.xml:
8305 describe dparams (controller) for plugins
8306 unify docs a little more
8308 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
8310 * docs/gst/gstreamer-sections.txt:
8311 * gst/gstutils.c: (element_find_unconnected_pad),
8312 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8314 Add new API: gst_parse_bin_from_description() and
8315 gst_bin_find_unconnected_pad() (#329069).
8317 2006-02-01 Stefan Kost <ensonic@users.sf.net>
8319 * docs/manual/README:
8320 uncover a nasty detail of the docs build
8322 2006-01-31 Wim Taymans <wim@fluendo.com>
8324 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8325 Don't cache duration messages if we're not going to use or
8328 2006-01-31 Stefan Kost <ensonic@users.sf.net>
8330 * docs/manual/advanced-dparams.xml:
8331 * docs/pwg/advanced-dparams.xml:
8335 * libs/gst/controller/lib.c: (gst_controller_init):
8338 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
8340 * gst/gstelement.c: (gst_element_message_full):
8341 also show file/line/func if no additional debug was given
8343 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
8345 * win32/vs7/grammar.vcproj:
8346 activate copy of autogenerated files for Release mode
8348 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8350 * win32/common/libgstreamer.def:
8351 export gst_value_compare
8353 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
8355 * plugins/elements/Makefile.am:
8356 * plugins/elements/gstelements.c:
8357 * plugins/elements/gstfdsink.c: (_do_init),
8358 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8359 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8360 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8361 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8362 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8363 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8364 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8365 * plugins/elements/gstfdsink.h:
8366 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8368 2006-01-30 Stefan Kost <ensonic@users.sf.net>
8370 * docs/manual/advanced-dparams.xml:
8372 * docs/manual/advanced-position.xml:
8373 * docs/manual/basics-init.xml:
8374 * docs/manual/manual.xml:
8375 * docs/manual/titlepage.xml:
8377 * docs/pwg/titlepage.xml:
8378 cleanup xml (more to come)
8379 * libs/gst/controller/gstcontroller.c:
8382 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8384 * win32/vs6/grammar.dsp:
8385 add autogen of gstmarshal.c,h for Release mode
8387 2006-01-30 Wim Taymans <wim@fluendo.com>
8389 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8390 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8391 (gst_base_sink_handle_object), (gst_base_sink_event),
8392 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8393 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8394 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8395 (gst_base_sink_deactivate), (gst_base_sink_activate),
8396 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8397 (gst_base_sink_query), (gst_base_sink_change_state):
8398 Basesink cleanups, remove some old code.
8399 Handle the case where a subclass can preroll in the render
8400 method (mostly audiosinks).
8402 Remove some locks around variables that are now protected
8403 with the PREROLL_LOCK (clock_id, flushing, ..).
8404 Optimize position query some more, do correct locking.
8405 Remove old code to push queue in state change, this is not
8406 needed anymore since preroll blocks on all prerollable items
8408 Almost implemented as described in design doc.
8410 2006-01-30 Wim Taymans <wim@fluendo.com>
8412 * tests/check/gst/gstbin.c: (GST_START_TEST):
8413 Wait for refcount to settle down before checking.
8415 2006-01-30 Wim Taymans <wim@fluendo.com>
8417 * docs/design/part-element-sink.txt:
8418 Pseudo code overview of desired sink behaviour regarding
8421 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8422 * win32/vs6/grammar.dsp:
8423 fix some bugs in Release mode for autogenerated files
8425 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8426 * win32/common/libgstbase.def:
8427 * win32/common/libgstreamer.def:
8428 export some new symbols: gst_base_src_set_format,
8429 gst_iterator_next, gst_structure_set_valist
8431 2006-01-29 Julien MOUTTE <julien@moutte.net>
8433 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8434 Set pad functions unconditionally. Fixes #329105.
8436 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8438 add vs8 project files created by Sergey Scobich
8440 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
8442 * gst/gstutils.c: (gst_element_unlink_pads):
8443 Don't leak pad references.
8445 * tests/check/elements/fakesink.c: (GST_START_TEST):
8446 * tests/check/generic/sinks.c: (GST_START_TEST):
8447 * tests/check/generic/states.c: (GST_START_TEST):
8448 * tests/check/gst/gstbin.c: (GST_START_TEST):
8449 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8450 * tests/check/gst/gstelement.c: (GST_START_TEST):
8451 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8452 * tests/check/gst/gstiterator.c: (GST_START_TEST):
8453 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8454 Fix a bunch of leaks. Make generic/sinks.c
8455 use a bit less cpu by slowing the buffer rate
8456 between fakesrc and fakesink.
8458 2006-01-27 Stefan Kost <ensonic@users.sf.net>
8460 * gst/gstelement.c: (gst_element_send_event):
8463 * gst/gstiterator.c:
8464 * gst/gstiterator.h:
8465 * gst/gstpad.c: (gst_pad_send_event):
8466 * gst/gststructure.c:
8470 * libs/gst/base/gstadapter.c:
8471 doc fixes, to link to function, just write gst_cool_function(), don't
8474 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8476 * plugins/elements/gsttee.c: (gst_tee_do_push),
8477 (gst_tee_handle_buffer):
8478 Always prefer an actual return value from a src
8479 pad in place of NOT_LINKED. This means we return
8480 WRONG_STATE when all src pads are WRONG_STATE
8481 instead of NOT_LINKED.
8483 Lock when replacing the last message to prevent
8484 racing with the get_property method.
8488 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8490 * tests/check/Makefile.am:
8491 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8493 Add a very simple check that should have caught the memleak I fixed
8494 last night (if not for the slice allocator hiding it)
8496 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8498 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8499 (gst_bin_remove_func), (gst_bin_handle_message_func),
8500 (bin_query_duration_fold), (bin_query_generic_fold):
8501 Clean up references to the clock provider when disposed or when
8502 handling a clock-lost message from it.
8504 Unref sinks when performing a query via gst_iterator_fold, as the
8505 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8507 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8508 (gst_clock_set_master):
8509 Drop our reference to the master clock, if any, when we are disposed.
8511 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8512 Chain up in dispose.
8514 2006-01-26 Wim Taymans <wim@fluendo.com>
8516 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8519 2006-01-26 Julien MOUTTE <julien@moutte.net>
8521 * plugins/elements/gsttee.c: (gst_tee_do_push),
8522 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8523 handles pad being NOT_LINKED or in WRONG_STATE.
8525 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8530 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8533 remove obsolete entry
8535 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8537 * docs/gst/gstreamer-sections.txt:
8538 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8539 (gst_bin_iterate_sources), (gst_bin_send_event):
8541 * gst/gstelement.c: (gst_element_send_event):
8543 * gst/gstpad.c: (gst_pad_send_event):
8544 added code for downstream events, reviewed docs in gstevent.c
8546 2006-01-25 Julien MOUTTE <julien@moutte.net>
8548 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8549 We only query position using the clock in the playing state.
8550 Query peer in the other cases.
8551 * win32/common/config.h: Updates.
8553 2006-01-24 Wim Taymans <wim@fluendo.com>
8555 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8556 A clock entry that is scheduled for the exact time of the
8557 clock is still in time.
8559 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8560 (gst_base_sink_do_sync):
8561 Add some more debug info.
8563 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8566 Add new vs7 project files and solution.
8568 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8571 all files removed as they were out-dated.
8573 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8575 * docs/random/release:
8577 * gst/gstbin.c: (gst_bin_init):
8578 * gst/gstbus.c: (gst_bus_new):
8580 * gst/gstpipeline.c: (gst_pipeline_init):
8581 use gst_bus_new(), improve logging, fix docs
8582 * win32/common/config.h:
8583 update for cvs build
8585 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8588 up required version of automake to 1.7
8590 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
8592 * win32/common/libgstreamer.def:
8593 export gst_buffer_is_metadata_writable
8595 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
8597 * docs/gst/gstreamer-sections.txt:
8599 Add gst_event_replace() (#327001)
8601 2006-01-20 Wim Taymans <wim@fluendo.com>
8603 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8604 Make it actually compile too..
8606 2006-01-20 Wim Taymans <wim@fluendo.com>
8609 Clarify behaviour of _is_equal() when passing NULL parameters.
8611 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8613 Cleanups. Don't unref NULL caps.
8614 When setting the same caps, protect caps of the pad with
8616 Use full functionality of _is_equal() when comparing caps.
8618 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8620 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8621 Don't loop infinitely if there are no buffers to present. Partially
8622 fixes #327197, but collectpads is just broken for reusing elements
8623 to do multiple encodes atm.
8625 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8627 * tools/gst-inspect.c: (print_element_features):
8628 * tools/gst-xmlinspect.c: (main):
8629 URL_HANDLER is not a plugin feature we can search for in
8632 2006-01-19 Edward Hervey <edward@fluendo.com>
8634 * gst/gstelement.c: (gst_element_pads_activate):
8635 When activating, do src pads first, then sink pads.
8636 When de-activating, do sink pads first, then src pads.
8638 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8640 * docs/gst/gstreamer-sections.txt:
8641 Add gst_index_add_associationv to the docs
8643 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8648 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8649 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8650 Do some refactoring. Doesn't actually change functionality,
8651 but makes landing the DRAIN event easier later.
8653 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
8655 * docs/pwg/advanced-scheduling.xml:
8656 Update from 0.9.x to 0.10 API and make example a bit
8659 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8661 * docs/gst/gstreamer-sections.txt:
8662 Add gst_buffer_(is|make)_metadata_writable methods.
8664 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8666 * docs/design/part-sparsestreams.txt:
8667 Update sparse streams doc, hopefully for greater clarity
8669 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
8671 * docs/design/part-events.txt:
8672 Remove mention of FILLER events.
8675 * docs/design/part-sparsestreams.txt:
8676 Write some things about using NEWSEGMENT to keep sparse streams
8679 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8681 * gst/gstbin.c: (gst_bin_dispose):
8682 Guard gst_object_unref call against a NULL object (dispose
8683 can theoretically be called multiple times).
8685 2006-01-18 Wim Taymans <wim@fluendo.com>
8687 * gst/gstbin.c: (gst_bin_element_set_state):
8688 * gst/gstclock.c: (gst_clock_id_wait):
8689 Added some more debug info.
8691 * libs/gst/base/gstadapter.c:
8694 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8695 (gst_base_sink_do_sync), (gst_base_sink_chain):
8696 Added some comments.
8698 2006-01-18 Wim Taymans <wim@fluendo.com>
8700 * tests/check/Makefile.am:
8701 * tests/check/elements/fakesink.c: (chain_async_buffer),
8702 (chain_async), (chain_async_return), (GST_START_TEST),
8703 (fakesink_suite), (main):
8704 Added fakesink test that checks prerolling and clipping
8707 * tests/check/gst/gstutils.c: (GST_START_TEST):
8708 Make check run faster so that buildbots don't timeout.
8710 2006-01-18 Wim Taymans <wim@fluendo.com>
8712 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8713 (gst_base_sink_do_sync):
8715 When the sink finishes blocking on the preroll buffer, it can
8716 immediatly render it instead of rendering when the next buffer
8719 2006-01-18 Wim Taymans <wim@fluendo.com>
8721 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8722 (gst_base_sink_get_property), (gst_base_sink_do_sync),
8723 (gst_base_sink_chain):
8725 GST_ELEMENT_CLOCK and sync are protected with LOCK.
8726 Don't store _last_stop if the buffer is dropped.
8728 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8730 * plugins/elements/gsttypefindelement.c:
8731 (gst_type_find_element_class_init):
8732 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8733 object method handler that sets the caps on the pad and we want
8734 that to happen before we emit the signal (fixes e.g. feeding a
8735 plain text file to decodebin).
8737 2006-01-18 Christian Schaller <Christian@fluendo.com>
8739 * gst/gstplugin.c: Add MPL and Proprietary as license options
8741 2006-01-18 Andy Wingo <wingo@pobox.com>
8743 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8744 symbol was exported before, it appears this was just an oversight.
8746 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
8748 * gst/gstindex.c (gst_index_add_associationv): Changed int in
8749 prototype to gint. OK since this prototype was not in the header.
8751 2006-01-17 Andy Wingo <wingo@pobox.com>
8753 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
8754 registry while we remove plugins.
8756 * tools/gst-inspect.c (print_element_info): Don't unref the
8757 factory arg, that should be the responsibility of whatever code
8758 received the ref. Fixes a double-free when called from
8759 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
8760 (main): Unref the factory if we have one.
8761 (print_element_list): No change -- relies on the
8762 plugin_feature_list_free to free the list of features.
8764 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
8766 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8767 (gst_buffer_make_metadata_writable):
8769 * libs/gst/base/gstbasetransform.c:
8770 (gst_base_transform_prepare_output_buf):
8771 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8772 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8773 Replace gst_buffer_(make|is)_metadata_writable patch now
8774 that the release is out.
8776 2006-01-17 Andy Wingo <wingo@pobox.com>
8778 * gst/gstregistry.c: Reflow design comment. Update so as to speak
8779 in the present tense without reference to versions.
8781 * gst/gstregistry.c (gst_registry_add_plugin)
8782 (gst_registry_remove_plugin, gst_registry_remove_feature)
8783 (gst_registry_find_feature, gst_registry_get_feature_list)
8784 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
8785 (gst_registry_lookup, gst_registry_scan_path)
8786 (_gst_registry_remove_cache_plugins)
8787 (gst_registry_get_feature_list_by_plugin): Add argument
8790 === release 0.10.2 ===
8792 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
8795 releasing 0.10.2, "If man is five"
8797 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8801 * libs/gst/base/gstbasetransform.c:
8802 (gst_base_transform_prepare_output_buf):
8803 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8804 * tests/check/gst/gstbuffer.c: (gst_test_suite):
8805 Back out patch until after the release.
8807 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8809 * gst/gstminiobject.c:
8810 Spelling fix in docs.
8811 * ChangeLog - remove conflict indicator
8813 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8815 Reviewed By: Andy Wingo
8817 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8818 (gst_buffer_make_metadata_writable):
8820 Add gst_buffer_(is|make)_metadata_writable as analogues of
8821 gst_buffer_(is|make)_writable.
8823 * libs/gst/base/gstbasetransform.c:
8824 (gst_base_transform_prepare_output_buf):
8825 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8826 Use name gst_buffer_(is|make)_metadata_writable functions.
8828 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8829 Test gst_buffer_(is|make)_metadata_writable
8833 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
8835 * docs/manual/Makefile.am:
8836 don't do parallel make
8839 * win32/common/config.h.in:
8840 add generations for HOST_CPU and GST_MAJORMINOR
8841 * win32/common/config.h:
8842 commit generated result
8844 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
8846 * docs/manual/appendix-integration.xml:
8847 Update GNOME integration section to use gst_init_get_option_group()
8848 instead of the old popt stuff (#322911). Also, GNOME applications
8849 should now use gconf*sink and gconf*src instead of the old gconf
8852 2006-01-13 Stefan Kost <ensonic@users.sf.net>
8855 * docs/gst/gstreamer-docs.sgml:
8856 * docs/gst/gstreamer-sections.txt:
8857 * docs/libs/gstreamer-libs-sections.txt:
8858 add new API entries to the docs
8859 * libs/gst/controller/Makefile.am:
8860 * libs/gst/controller/gstcontroller.c:
8861 * libs/gst/controller/gstcontroller.h:
8862 * libs/gst/controller/gstcontrollerprivate.h:
8863 * libs/gst/controller/gsthelper.c:
8864 * libs/gst/controller/gstinterpolation.c:
8865 move private structs to private header
8867 gstreamer-0.7 -> gstreamer-0.10
8868 * tests/check/libs/struct_i386.h:
8869 remove private structs
8871 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
8873 * plugins/indexers/Makefile.am:
8874 Fixes as part of #317048
8876 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
8878 * plugins/indexers/Makefile.am:
8879 fix #316086 - compilation when mmap is missing
8881 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
8883 * libs/gst/base/gstbasesink.c:
8884 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
8885 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
8886 * win32/common/config.h:
8887 added some defines GST_MAJORMINOR and HOST_CPU
8888 * win32/common/libgstbase.def:
8889 * win32/common/libgstreamer.def:
8890 added some exported functions.
8892 2006-01-12 Stefan Kost <ensonic@users.sf.net>
8894 * libs/gst/controller/gstcontroller.c:
8895 (gst_controlled_property_set_interpolation_mode),
8896 (gst_controlled_property_new):
8897 * libs/gst/controller/gstcontroller.h:
8898 * libs/gst/controller/gstinterpolation.c:
8899 (interpolate_none_get_string_value_array):
8900 make G_TYPE_STRING controlable
8902 2006-01-12 Stefan Kost <ensonic@users.sf.net>
8905 * tools/gst-feedback.1.in:
8906 * tools/gst-inspect.1.in:
8907 * tools/gst-launch.1.in:
8908 * tools/gst-md5sum.1.in:
8909 * tools/gst-typefind.1.in:
8910 * tools/gst-xmlinspect.1.in:
8911 * tools/gst-xmllaunch.1.in:
8912 cleanup man-pages, remove reference to gst-register, document env-vars
8914 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
8916 * gst/gstbuffer.c: (gst_buffer_span):
8917 gst_buffer_span should copy the timestamp of the first buffer
8918 if they were both originally overlapping subbuffers of the
8919 same parent, using the same logic as the 'slow copy' case.
8921 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
8923 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
8924 Need to awaken ALL the pads when we pop a buffer, otherwise
8925 collectpads only works when there is 2 input streams.
8927 2006-01-11 Stefan Kost <ensonic@users.sf.net>
8929 * docs/random/ensonic/media-device-daemon.txt:
8932 fix doc example, add clarification
8933 * tools/gst-launch.1.in:
8934 add initial info about GST_PLUGIN_PATH, needs more work
8936 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
8938 * docs/manual/basics-bins.xml:
8939 * docs/manual/basics-elements.xml:
8940 * docs/manual/intro-basics.xml:
8941 Some more minor docs additions and updates.
8943 2006-01-11 Wim Taymans <wim@fluendo.com>
8945 * docs/manual/basics-bins.xml:
8946 * docs/manual/basics-elements.xml:
8947 Some small fixes as pointed out by Ser-ver on IRC.
8949 2006-01-10 Edward Hervey <edward@fluendo.com>
8951 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8952 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
8953 the single-segment mode.
8955 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
8957 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8959 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
8960 (gst_base_src_perform_seek), (gst_base_src_send_event),
8961 (gst_base_src_set_property), (gst_base_src_get_property),
8962 (gst_base_src_loop), (gst_base_src_start),
8963 (gst_base_src_activate_push):
8964 * libs/gst/base/gstbasesrc.h:
8965 Name (private) union; makes Sun's Forte compiler happy (#324900).
8967 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
8970 gst-register is gone.
8972 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
8974 * gst/gstvalue.c: (_gst_value_initialize):
8975 make the G_TYPE_DATE instantiation work if debug is disabled
8977 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
8979 * gst/gstmessage.c: (gst_message_parse_tag),
8980 (gst_message_parse_error), (gst_message_parse_warning):
8981 Don't crash when return location for error/warning debug
8982 string is NULL; add fact that return locations can be
8983 NULL to docs where appropriate.
8985 2006-01-05 Wim Taymans <wim@fluendo.com>
8987 * gst/gstplugin.c: (gst_plugin_load_file):
8988 Replace strdup by g_strdup.
8990 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
8992 * docs/pwg/advanced-types.xml:
8995 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
8997 submitted by: Abel Cheung
9001 Added Chinese (traditional) translation
9003 2006-01-04 Wim Taymans <wim@fluendo.com>
9005 * docs/manual/basics-pads.xml:
9006 * docs/plugins/Makefile.am:
9007 * docs/plugins/gstreamer-plugins-docs.sgml:
9008 * docs/plugins/gstreamer-plugins-sections.txt:
9009 * docs/pwg/advanced-clock.xml:
9010 * docs/pwg/advanced-scheduling.xml:
9011 * docs/pwg/advanced-types.xml:
9012 * plugins/elements/gstfdsink.c:
9013 * plugins/elements/gstfdsrc.c:
9014 * plugins/elements/gstfdsrc.h:
9015 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9016 * plugins/elements/gstidentity.h:
9017 * plugins/elements/gstqueue.h:
9018 * plugins/elements/gsttee.c:
9019 * plugins/elements/gsttee.h:
9020 * plugins/elements/gsttypefindelement.c:
9021 (gst_type_find_element_class_init):
9022 * plugins/elements/gsttypefindelement.h:
9023 Small updates to various docs.
9024 Added core plugins to docs.
9026 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9029 add a suppression for liboil's uninitialized variable
9031 2006-01-02 James Livingston <jrl at ids dot org dot au>
9033 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9036 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9037 macro, so that gcc doesn't complain if the -Wmissing-prototypes
9038 compiler switch is being used (#325429).
9040 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
9042 * gst/gstbin.c: (gst_bin_query):
9043 Disable duration query caching in bins until it gets
9044 fixed (see #324807).
9046 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9048 * tools/gst-inspect.c: (print_element_properties_info):
9049 Handle properties of POINTER and BOXED type.
9051 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9053 * gst/gst.c: (init_post):
9054 Init tags stuff and some other things before loading
9055 any static plugins (there may be other static plugins
9056 than just the GStreamer ones, and they may want to
9057 register their own tags or formats or whatever, and
9058 preferably without segfaulting).
9060 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9061 Print at least a warning in the debug logs if we drop a
9062 query just because we don't know how to adjust the value
9063 in the particular format.
9065 2005-12-24 David Schleef <ds@schleef.org>
9067 * tools/gstreamer-completion:
9068 Replacement for gst-complete written in sh and sed. Only
9069 completes names of features, but that's 90% of what I want
9070 it for. Properties are not available in registry.xml. (Maybe
9073 === release 0.10.1 ===
9075 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
9078 releasing 0.10.1, "Nollaig chridheil"
9080 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
9083 Add missing quote, should be make ERROR_CFLAGS="".
9085 2005-12-20 Wim Taymans <wim@fluendo.com>
9087 * docs/design/part-trickmodes.txt:
9088 More documentation on trickmodes.
9090 2005-12-20 Edward Hervey <edward@fluendo.com>
9092 * gst/gstcaps.c: (gst_static_caps_get_type):
9094 API addition: GST_TYPE_STATIC_CAPS
9095 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9096 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9097 * gst/gstpadtemplate.h:
9098 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9099 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9102 2005-12-18 Wim Taymans <wim@fluendo.com>
9104 * libs/gst/base/gstadapter.c:
9105 * libs/gst/base/gstadapter.h:
9106 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9107 (gst_base_sink_get_position):
9108 * libs/gst/base/gstbasesink.h:
9109 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9110 (gst_base_src_default_query), (gst_base_src_default_do_seek),
9111 (gst_base_src_do_seek), (gst_base_src_perform_seek),
9112 (gst_base_src_send_event), (gst_base_src_update_length),
9113 (gst_base_src_get_range), (gst_base_src_loop),
9114 (gst_base_src_start):
9115 * libs/gst/base/gstbasesrc.h:
9116 * libs/gst/base/gstbasetransform.h:
9117 * libs/gst/base/gstcollectpads.h:
9118 * libs/gst/base/gstpushsrc.c:
9119 * libs/gst/base/gstpushsrc.h:
9120 * libs/gst/dataprotocol/dataprotocol.c:
9121 * libs/gst/dataprotocol/dataprotocol.h:
9122 * libs/gst/net/gstnetclientclock.h:
9123 * libs/gst/net/gstnettimeprovider.h:
9124 Documentation updates.
9126 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
9128 * docs/manual/basics-helloworld.xml:
9129 Remove superfluous closing bracket in helloworld example.
9131 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
9133 * tools/gst-launch.1.in:
9134 Update gst-launch man page; add a section with useful
9135 environment variables. Fixes #323882.
9137 2005-12-16 Stefan Kost <ensonic@users.sf.net>
9140 * gst/gst_private.h:
9141 change some char* into char[]
9143 2005-12-16 Wim Taymans <wim@fluendo.com>
9145 * gst/gstregistryxml.c: (load_feature):
9147 Don't use g_object_unref on GstObjects so that we avoid
9148 leaks on unsafe glibs.
9150 2005-12-16 Wim Taymans <wim@fluendo.com>
9152 * gst/gstbin.c: (gst_bin_recalc_state):
9155 2005-12-16 Wim Taymans <wim@fluendo.com>
9158 Added make forever target for check.
9160 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
9162 * gst/gst.c: (init_post):
9163 make the registry cache file HOST_CPU-dependent
9165 2005-12-16 Andy Wingo <wingo@pobox.com>
9167 * plugins/elements/gstbufferstore.c
9168 (gst_buffer_store_cleared_func): Pay attention to g_list_append
9171 * tests/check/gst/gstobject.c
9172 (test_fake_object_name_threaded_unique): Pay attention to
9173 g_list_sort return value.
9175 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
9177 * tools/gst-feedback-m.m:
9178 Update for 0.9/0.10 (fixes #323870).
9180 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
9182 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9183 Fix lcopy for mini objects, the mini object needs to be ref'ed.
9185 * tests/check/gst/gstminiobject.c: (my_foo_init),
9186 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9187 (test_value_collection), (gst_mini_object_suite):
9188 Add test to ensure refcounts end up as expected when passing
9189 GstMiniObjects through g_object_get() and g_object_set().
9191 2005-12-14 Julien MOUTTE <julien@moutte.net>
9193 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9194 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9195 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9196 of collectpads. This version removes a lot of races without
9197 touching API/ABI. Yay !
9199 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
9201 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9202 Don't allow activation of a srcpad in pull_range if it has no
9204 Change some debug statements to be a little clearer
9206 * plugins/elements/gsttypefindelement.c:
9207 (gst_type_find_handle_src_query):
9208 Check that we have a peer before executing queries thereupon.
9210 * tests/examples/metadata/read-metadata.c: (message_loop):
9211 Use gst_bus_pop instead of gst_bus_poll when we just want it to
9212 immediately return us any available message with 0 timeout.
9214 2005-12-12 Michael Smith <msmith@fluendo.com>
9216 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9217 Don't unref factories after calling them.
9218 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9219 * plugins/elements/gsttypefindelement.c:
9220 (gst_type_find_element_chain):
9221 Free lists of factories after using them. Fixing typefinding memory
9224 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9226 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9227 (gst_plugin_feature_load):
9228 more meaningful debug output
9230 * tests/Makefile.am:
9231 * tests/old/examples/Makefile.am:
9232 make make distcheck happy again
9234 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9236 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9237 Catch the special case where we are operating chain-based,
9238 but the downstream peer pad has no chain function. Emit a
9239 custom error message in this case instead of letting the
9240 core generate one implying that this is some sort of core
9241 bug. It's not, it just means that whatever got plugged
9242 into the pipeline downstream when we announced the type
9243 can only operate pull-based, while our source can only
9244 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9245 Error string has not been marked for translation yet, as
9246 it probably needs some more work first.
9248 (gst_type_find_element_get_best_possibility):
9249 Add helper function to find the best of all available
9250 found possibilities that qualify given the min. threshold.
9252 (gst_type_find_element_handle_event):
9253 Fix the case where we get an EOS while still in TYPEFIND
9254 mode (we want to chose the best of all possible types,
9255 not just the first type that happens to be in our unsorted
9256 list of possible types).
9258 (gst_type_find_element_chain):
9259 Make sure we return GST_FLOW_ERROR when we errored out
9260 in stop_typefinding(); also, don't just find the best of
9261 all found type entries and then use the last examined
9262 type entry, but actually use the best entry.
9264 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9266 * tests/examples/typefind/typefind.c: (type_found):
9267 * tests/examples/xml/runxml.c: (xml_loaded):
9268 More gcc4 fixes and a mem leak fix.
9270 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9272 * tests/examples/xml/createxml.c: (object_saved):
9275 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9277 * tests/Makefile.am:
9278 enable the examples even more
9280 2005-12-12 Andy Wingo <wingo@pobox.com>
9282 * libs/gst/net/gstnettimeprovider.c
9283 (gst_net_time_provider_class_init, gst_net_time_provider_init)
9284 (gst_net_time_provider_set_property)
9285 (gst_net_time_provider_get_property):
9286 API addition: Export "active" as a GObject property.
9287 (gst_net_time_provider_thread): Only respond to time queries if
9288 the time provider is active.
9290 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9291 NetTimeProvider, preserving binary compat.
9293 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9295 * tests/examples/controller/audio-example.c: (main):
9296 * tests/examples/launch/Makefile.am:
9297 convert comments again
9299 2005-12-12 Wim Taymans <wim@fluendo.com>
9301 * libs/gst/base/gstpushsrc.c:
9304 2005-12-12 Wim Taymans <wim@fluendo.com>
9306 * docs/libs/gstreamer-libs-sections.txt:
9307 Added new symbol to docs.
9309 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9310 (gst_base_src_init), (gst_base_src_set_format),
9311 (gst_base_src_default_query), (gst_base_src_query),
9312 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9313 (gst_base_src_perform_seek), (gst_base_src_send_event),
9314 (gst_base_src_default_event), (gst_base_src_event_handler),
9315 (gst_base_src_set_property), (gst_base_src_get_property),
9316 (gst_base_src_wait), (gst_base_src_do_sync),
9317 (gst_base_src_update_length), (gst_base_src_get_range),
9318 (gst_base_src_check_get_range), (gst_base_src_loop),
9319 (gst_base_src_default_negotiate), (gst_base_src_start),
9320 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9321 (gst_base_src_change_state):
9322 * libs/gst/base/gstbasesrc.h:
9323 Implement seeking to other formats than _BYTES.
9324 Implement more seeking methods correctly.
9326 Added query vmethod.
9327 Added do_seek vmethod to make life easier for subclasses
9329 API addition: gst_base_src_set_format()
9331 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9333 * tests/examples/Makefile.am:
9336 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9339 * docs/random/ensonic/media-device-daemon.txt:
9340 * tests/examples/controller/.cvsignore:
9341 * tests/examples/controller/Makefile.am:
9342 * tests/examples/controller/audio-example.c: (main):
9343 * tests/examples/helloworld/.cvsignore:
9344 * tests/examples/helloworld/Makefile.am:
9345 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9346 * tests/examples/launch/.cvsignore:
9347 * tests/examples/launch/Makefile.am:
9348 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9349 * tests/examples/metadata/.cvsignore:
9350 * tests/examples/metadata/Makefile.am:
9351 * tests/examples/metadata/read-metadata.c: (message_loop),
9352 (make_pipeline), (print_tag), (main):
9353 * tests/examples/queue/.cvsignore:
9354 * tests/examples/queue/Makefile.am:
9355 * tests/examples/queue/queue.c: (event_loop), (main):
9356 * tests/examples/typefind/.cvsignore:
9357 * tests/examples/typefind/Makefile.am:
9358 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9360 * tests/examples/xml/.cvsignore:
9361 * tests/examples/xml/Makefile.am:
9362 * tests/examples/xml/createxml.c: (object_saved), (main):
9363 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9364 * tests/old/examples/Makefile.am:
9365 * tests/old/examples/TODO:
9366 * tests/old/examples/controller/.cvsignore:
9367 * tests/old/examples/controller/Makefile.am:
9368 * tests/old/examples/controller/audio-example.c:
9369 * tests/old/examples/helloworld/.cvsignore:
9370 * tests/old/examples/helloworld/Makefile.am:
9371 * tests/old/examples/helloworld/helloworld.c:
9372 * tests/old/examples/launch/.cvsignore:
9373 * tests/old/examples/launch/Makefile.am:
9374 * tests/old/examples/launch/mp3parselaunch.c:
9375 * tests/old/examples/launch/mp3play:
9376 * tests/old/examples/manual/Makefile.am:
9377 * tests/old/examples/metadata/Makefile.am:
9378 * tests/old/examples/metadata/read-metadata.c:
9379 * tests/old/examples/queue/.cvsignore:
9380 * tests/old/examples/queue/Makefile.am:
9381 * tests/old/examples/queue/queue.c:
9382 * tests/old/examples/typefind/.cvsignore:
9383 * tests/old/examples/typefind/Makefile.am:
9384 * tests/old/examples/typefind/typefind.c:
9385 * tests/old/examples/xml/.cvsignore:
9386 * tests/old/examples/xml/Makefile.am:
9387 * tests/old/examples/xml/createxml.c:
9388 * tests/old/examples/xml/runxml.c:
9389 applied some simple fixing to some examples
9390 re-enabled the working examples
9392 2005-12-12 Wim Taymans <wim@fluendo.com>
9394 * gst/gstsegment.c: (gst_segment_init),
9395 (gst_segment_set_last_stop), (gst_segment_set_seek),
9396 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9397 (gst_segment_to_running_time):
9398 Added more documentation.
9399 Make sure the last_pos value is updated properly.
9400 Make sure to_stream_time and to_running_time don't
9401 operate on wrong values.
9403 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9406 2005-12-12 Michael Smith <msmith@fluendo.com>
9408 * plugins/elements/gsttypefindelement.c: (free_entry),
9409 (gst_type_find_element_chain):
9410 Now that we're not leaking factories, make sure we keep references
9411 to them while we need them.
9413 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9415 * tests/check/gst/struct_i386.h:
9416 ifdef out the XML structs
9418 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9420 * gst/gstvalue.c: (gst_value_transform_double_fraction):
9421 floor is not needed, F is always positive; this obviates the
9422 need for adding -lm when building without libxml
9424 2005-12-12 Wim Taymans <wim@fluendo.com>
9426 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9427 Take current playback rate into account when reporting
9430 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9432 * docs/manual/mime-world.fig:
9433 Let's try this again, this time with a file that is
9434 actually in XFig format.
9436 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9438 * docs/manual/mime-world.fig:
9439 Add audioconvert element to diagram so that it
9440 matches the text and the code (fixes #319526).
9442 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9444 * docs/pwg/building-chainfn.xml:
9445 * docs/pwg/building-pads.xml:
9446 * docs/pwg/building-state.xml:
9447 * docs/pwg/other-source.xml:
9448 Update state change stuff for 0.10 (fixes #322969).
9450 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9452 * docs/manual/advanced-dataaccess.xml:
9453 * docs/manual/appendix-checklist.xml:
9454 * docs/manual/appendix-programs.xml:
9455 * docs/manual/basics-pads.xml:
9456 * docs/manual/highlevel-components.xml:
9457 * docs/manual/manual.xml:
9458 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9459 add converters in front of pipelines; remove curly
9460 brackets for threads stuff, they no longer exist; use
9461 GST_TYPE_FRACTION for framerates; update some pieces of
9462 code to 0.10, but there's plenty more to do.
9464 * docs/manual/appendix-porting.xml:
9465 Expand on asynchroneous state changes; s/0.9/0.10/;
9466 mention disappearance of gst_init_get_popt_table()
9469 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9471 * docs/faq/using.xml:
9472 Spider no longer exists, and neither does gst-launch-ext.
9473 Update examples to use decodebin and playbin and put
9474 converters in front of sinks (fixes #323726).
9476 2005-12-09 Michael Smith <msmith@fluendo.com>
9478 * plugins/elements/gsttypefindelement.c: (find_peek),
9479 (gst_type_find_element_chain):
9480 Fix leaking element factories in typefinding.
9481 Fix problem where we forgot about a probable type on non-seekable
9482 files, and thus later mis-typefound it.
9484 2005-12-09 Michael Smith <msmith@fluendo.com>
9486 * common/m4/gst-makecontext.m4:
9487 * common/m4/gst-mcsc.m4:
9489 * win32/common/config.h:
9490 * win32/common/config.h.in:
9491 Remove makecontext stuff; not used in 0.10 and causes problems on
9492 HPUX according to bug #322441
9494 2005-12-07 Wim Taymans <wim@fluendo.com>
9496 * tests/check/Makefile.am:
9497 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9499 * tests/check/libs/struct_i386.h:
9500 Added ABI check for libs
9502 2005-12-07 Wim Taymans <wim@fluendo.com>
9504 * tests/check/Makefile.am:
9505 And add the struct_i386.h to dist.
9507 2005-12-07 Wim Taymans <wim@fluendo.com>
9509 * tests/check/Makefile.am:
9510 * tests/check/gst/.cvsignore:
9511 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9513 * tests/check/gst/struct_i386.h:
9514 Added check for ABI compatibility.
9516 2005-12-07 Wim Taymans <wim@fluendo.com>
9518 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9519 (gst_fake_src_get_times), (gst_fake_src_create):
9520 Fix broken sync option, fixes #323259
9522 2005-12-07 Wim Taymans <wim@fluendo.com>
9527 * gst/gstcaps.c: (gst_caps_is_equal):
9528 Don't assert on NULL <--> X. Fixes #323260
9530 * gst/gstminiobject.c: (gst_mini_object_replace):
9531 If we're doing atomic operations, we might just as well use
9532 the proper way to get an atomic pointer.
9534 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9537 2005-12-07 Michael Smith <msmith@fluendo.com>
9539 * gst/parse/grammar.y:
9540 Remove handling of { } for threads.
9542 2005-12-06 David Schleef <ds@schleef.org>
9544 * libs/gst/base/gstbasetransform.c: speling fix.
9546 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
9548 * docs/libs/tmpl/gstdataprotocol.sgml:
9549 * docs/random/omega/testing/gstobject.c:
9553 * gst/gstelementfactory.c:
9556 * gst/gstghostpad.c:
9558 * gst/gstpadtemplate.c:
9559 * gst/gstregistryxml.c:
9561 * gst/gsttagsetter.c:
9562 * gst/gsttypefind.c:
9564 * libs/gst/base/gstbasesrc.c:
9565 * libs/gst/net/gstnetclientclock.c:
9566 * libs/gst/net/gstnettimeprovider.c:
9567 * plugins/elements/gstfakesrc.c:
9568 * plugins/elements/gstfdsrc.c:
9569 * plugins/elements/gstfilesrc.c:
9570 * plugins/elements/gstidentity.c:
9571 * plugins/elements/gstqueue.c:
9572 * plugins/elements/gsttypefindelement.c:
9573 * plugins/indexers/gstfileindex.c:
9574 * plugins/indexers/gstmemindex.c:
9575 * tests/check/gst/gsttag.c:
9576 * tests/old/examples/cutter/cutter.c:
9577 * tests/old/examples/mixer/mixer.c:
9578 * tests/old/examples/xml/runxml.c: (main):
9579 * tests/old/testsuite/caps/normalisation.c:
9580 * tests/old/testsuite/debug/global.c:
9581 * tests/old/testsuite/parse/parse1.c:
9582 * tools/gst-xmlinspect.c:
9583 * win32/common/dirent.c:
9586 === release 0.10.0 ===
9588 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9591 releasing 0.10.0, "Maroilles"
9593 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9595 submitted by: Funda Wang <fundawang@linux.net.cn>
9599 added Chinese (Traditional) translation
9601 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9603 * docs/gst/gstreamer-sections.txt:
9604 * docs/libs/tmpl/gstdataprotocol.sgml:
9605 * docs/random/thomasvs/TODO:
9610 2005-12-05 Andy Wingo <wingo@pobox.com>
9612 patch by: Wim Taymans <wim@fluendo.com>
9614 * libs/gst/base/gstbasetransform.c
9615 (gst_base_transform_prepare_output_buf)
9616 (gst_base_transform_buffer_alloc):
9617 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9618 alloc_buffer_and_set_caps.
9620 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9621 set_caps on the source pad.
9622 (gst_pad_alloc_buffer_and_set_caps): New function, does what
9623 alloc_buffer used to do. Fixes #322874.
9625 * docs/gst/gstreamer-sections.txt:
9626 * docs/design/part-negotiation.txt:
9627 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9630 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9632 patch by: Sebastien Moutte
9635 * win32/common/config.h.in:
9636 * win32/vs6/libgstcontroller.dsp:
9639 2005-12-05 Wim Taymans <wim@fluendo.com>
9641 * gst/gstcaps.c: (gst_caps_is_equal):
9642 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9643 (gst_fake_src_create):
9644 Back out previous code changes, leave doc updates, file bugs
9647 2005-12-05 Wim Taymans <wim@fluendo.com>
9649 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9650 (gst_fake_src_get_times), (gst_fake_src_create):
9651 * plugins/elements/gstfakesrc.h:
9652 Fix broken sync code.
9654 2005-12-05 Wim Taymans <wim@fluendo.com>
9656 * gst/gstcaps.c: (gst_caps_is_equal):
9657 Comparing NULL against !NULL yields different caps, not a
9660 2005-12-05 Wim Taymans <wim@fluendo.com>
9662 * gst/gstpipeline.c:
9663 Fix small typo in docs.
9665 2005-12-05 Andy Wingo <wingo@pobox.com>
9667 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
9669 * gst/gst.c (init_post): remove hard-coded 0.9 location for
9670 registries/plugins with a MAJORMINOR one.
9671 (plugin_desc): Rename library from gstcoreleements to
9672 staticelements. Fixes #323222.
9674 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
9676 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9677 Change debug category to 'collectpads' from 'collect_pads'
9680 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9682 patch by: Sebastien Moutte
9684 * libs/gst/controller/gstinterpolation.c:
9685 use convert function for uint64/double
9686 * win32/vs6/libgstcontroller.dsp:
9689 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9691 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9692 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9694 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9695 add tests that seem to show that the guint64/gdouble conversions
9698 2005-12-02 Wim Taymans <wim@fluendo.com>
9700 * gst/gstregistry.c: (gst_registry_add_path):
9701 * gst/gstregistry.h:
9702 * gst/gstregistryxml.c:
9705 2005-12-02 Wim Taymans <wim@fluendo.com>
9707 * gst/gstutils.c: (gst_util_uint64_scale_int64),
9708 (gst_util_uint64_scale_int):
9711 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9714 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9717 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9720 * win32/common/config.h:
9721 * win32/vs6/gstreamer.dsw:
9722 * win32/vs6/libgstcoreelements.dsp:
9723 * win32/vs6/libgstelements.dsp:
9724 renamed core elements plugin
9726 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9728 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9730 do piece-wise major/minor comparison so 0.9 < 0.10
9731 also allow .exe extensions for tools
9733 2005-12-02 Michael Smith <msmith@fluendo.com>
9736 Escape a % to make gtkdoc happier; bug 322958.
9738 === release 0.9.7 ===
9740 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9743 releasing 0.9.7, "My Dog Has No Nose"
9745 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9747 * common/gst-xmlinspect.py:
9749 * docs/libs/tmpl/gstdataprotocol.sgml:
9750 * docs/random/release:
9769 * win32/common/config.h:
9770 * win32/common/config.h.in:
9771 * win32/vs6/gst_inspect.dsp:
9772 * win32/vs6/gst_launch.dsp:
9773 * win32/vs6/libgstbase.dsp:
9774 * win32/vs6/libgstelements.dsp:
9775 * win32/vs6/libgstreamer.dsp:
9776 * win32/vs7/GStreamer.vcproj:
9777 * win32/vs7/gst-inspect.vcproj:
9778 * win32/vs7/gst-launch.vcproj:
9779 * win32/vs7/libgstbase.vcproj:
9780 bump GST_MAJORMINOR to 0.10
9781 reset libtool version
9783 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9787 Added Bulgarian translation by (Alexander Shopov)
9789 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9791 * tests/check/gst/gstplugin.c:
9794 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9796 * common/gst-xmlinspect.py:
9797 * common/gtk-doc-plugins.mak:
9800 * docs/gst/Makefile.am:
9801 * docs/gst/gstreamer-docs.sgml:
9802 * docs/gst/gstreamer-sections.txt:
9803 * docs/gst/gstreamer.types:
9804 * docs/gst/gstreamer.types.in:
9805 * docs/plugins/Makefile.am:
9806 * docs/plugins/gstreamer-plugins-docs.sgml:
9807 * docs/plugins/gstreamer-plugins-sections.txt:
9808 * docs/plugins/gstreamer-plugins.types:
9809 * docs/plugins/inspect.stamp:
9810 * docs/plugins/inspect/plugin-coreelements.xml:
9811 * docs/plugins/inspect/plugin-coreindexers.xml:
9812 * docs/plugins/scanobj-build.stamp:
9813 * gstreamer.spec.in:
9814 * plugins/elements/Makefile.am:
9815 * plugins/elements/gstelements.c:
9816 * plugins/elements/gstfakesink.c:
9817 * plugins/elements/gstfakesrc.c:
9818 * plugins/elements/gstfilesink.c:
9819 * plugins/elements/gstfilesrc.c:
9820 * plugins/elements/gstqueue.c:
9821 * plugins/indexers/Makefile.am:
9822 * plugins/indexers/gstindexers.c:
9823 document core plugins in a separate document just like all the
9825 rename these plugins to something starting with core
9827 2005-12-01 Andy Wingo <wingo@pobox.com>
9829 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
9830 padding here before, but it missed the commit.
9832 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9834 * libs/gst/controller/gstinterpolation.c:
9835 whitespace prices have crashed, we should feel free to use some now
9836 use gst_guint64_to_gdouble
9838 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9840 * libs/gst/controller/gstcontroller.c:
9841 * libs/gst/controller/gsthelper.c:
9842 * libs/gst/controller/gstinterpolation.c:
9843 * libs/gst/controller/lib.c:
9844 wrap config.h include
9846 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9848 * docs/gst/gstreamer-sections.txt:
9851 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9853 * plugins/elements/gstelements.c:
9854 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
9855 (gst_fd_sink__class_init), (gst_fd_sink__init),
9856 (gst_fd_sink__chain), (gst_fd_sink__set_property),
9857 (gst_fd_sink__get_property):
9858 * plugins/elements/gstfdsink.h:
9859 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
9860 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
9861 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
9862 (gst_fd_src_unlock), (gst_fd_src_set_property),
9863 (gst_fd_src_get_property), (gst_fd_src_create),
9864 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
9865 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
9866 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
9867 (gst_fd_src_uri_handler_init):
9868 * plugins/elements/gstfdsrc.h:
9869 * plugins/elements/gstqueue.c: (gst_queue_get_type):
9872 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9874 * docs/gst/Makefile.am:
9875 * docs/gst/gstreamer.types.in:
9879 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9885 * gst/gstregistry.h:
9886 * tests/benchmarks/complexity.c:
9887 * tests/benchmarks/mass-elements.c:
9888 * tests/check/Makefile.am:
9889 * tools/Makefile.am:
9890 * tools/gst-inspect.c:
9891 * tools/gst-xmlinspect.c:
9892 various fixes to make
9893 --disable-nls --disable-registry --disable-loadsave
9894 --disable-parse --disable-gst-debug
9895 work and get the core .so down to 360444 bytes after stripping
9897 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9902 * docs/random/thomasvs/TODO:
9903 * tests/Makefile.am:
9907 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9909 * win32/GStreamer.vcproj:
9912 * win32/Makefile.inspect:
9913 * win32/Makefile.launch:
9914 * win32/Makefile.register:
9916 * win32/gst-inspect.vcproj:
9917 * win32/gst-launch.vcproj:
9918 * win32/gst-register.vcproj:
9919 * win32/gstelements.vcproj:
9920 * win32/gstgetbits.def:
9921 * win32/gstgetbits.vcproj:
9922 * win32/gstreamer-dbg.def:
9923 * win32/gstreamer.def:
9924 * win32/libgstbase.def:
9925 * win32/libgstbase.vcproj:
9926 * win32/link_oldruntime.c:
9931 move even more stuff, win32/ is nice and clean now
9933 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9935 * libs/gst/control/.cvsignore:
9940 * win32/gstbytestream.def:
9941 * win32/gstbytestream.vcproj:
9942 * win32/gstconfig.h:
9943 * win32/gstenumtypes.c:
9944 * win32/gstenumtypes.h:
9945 * win32/gstoptimalscheduler.vcproj:
9946 * win32/gstversion.h:
9948 * win32/testsuite/bins.vcproj:
9949 * win32/testsuite/bytestream.vcproj:
9950 * win32/testsuite/caps.vcproj:
9951 * win32/testsuite/cleanup.vcproj:
9952 * win32/testsuite/clock.vcproj:
9953 * win32/testsuite/debug.vcproj:
9954 * win32/testsuite/dlopen.vcproj:
9955 * win32/testsuite/dynparams.vcproj:
9956 * win32/testsuite/elements.vcproj:
9957 * win32/testsuite/ghostpads.vcproj:
9958 * win32/testsuite/indexers.vcproj:
9959 * win32/testsuite/negotiation.vcproj:
9960 * win32/testsuite/parse.vcproj:
9961 * win32/testsuite/plugin.vcproj:
9962 * win32/testsuite/refcounting.vcproj:
9963 * win32/testsuite/schedulers.vcproj:
9964 * win32/testsuite/states.vcproj:
9965 * win32/testsuite/tags.vcproj:
9966 * win32/testsuite/threads.vcproj:
9967 remove old win32 stuff that isn't maintained and should be
9970 2005-11-30 Andy Wingo <wingo@pobox.com>
9972 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
9973 loading the gst.interfaces python module bork.
9975 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
9976 available since GLib 2.2. Fixes #318031.
9978 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9982 * check/Makefile.am:
9983 * check/elements/.cvsignore:
9984 * check/elements/fakesrc.c:
9985 * check/elements/fdsrc.c:
9986 * check/elements/identity.c:
9987 * check/generic/.cvsignore:
9988 * check/generic/states.c:
9989 * check/gst-libs/.cvsignore:
9990 * check/gst-libs/controller.c:
9991 * check/gst-libs/gdp.c:
9992 * check/gst/.cvsignore:
9993 * check/gst/capslist.h:
9995 * check/gst/gstbin.c:
9996 * check/gst/gstbuffer.c:
9997 * check/gst/gstbus.c:
9998 * check/gst/gstcaps.c:
9999 * check/gst/gstelement.c:
10000 * check/gst/gstevent.c:
10001 * check/gst/gstghostpad.c:
10002 * check/gst/gstiterator.c:
10003 * check/gst/gstmessage.c:
10004 * check/gst/gstminiobject.c:
10005 * check/gst/gstobject.c:
10006 * check/gst/gstpad.c:
10007 * check/gst/gstpipeline.c:
10008 * check/gst/gstplugin.c:
10009 * check/gst/gstsegment.c:
10010 * check/gst/gststructure.c:
10011 * check/gst/gstsystemclock.c:
10012 * check/gst/gsttag.c:
10013 * check/gst/gstutils.c:
10014 * check/gst/gstvalue.c:
10015 * check/net/.cvsignore:
10016 * check/net/gstnetclientclock.c:
10017 * check/net/gstnettimeprovider.c:
10018 * check/pipelines/.cvsignore:
10019 * check/pipelines/cleanup.c:
10020 * check/pipelines/simple_launch_lines.c:
10021 * check/pipelines/stress.c:
10022 * check/states/.cvsignore:
10023 * check/states/sinks.c:
10025 * examples/Makefile.am:
10026 * examples/appreader/.cvsignore:
10027 * examples/appreader/Makefile.am:
10028 * examples/appreader/appreader.c:
10029 * examples/controller/.cvsignore:
10030 * examples/controller/Makefile.am:
10031 * examples/controller/audio-example.c:
10032 * examples/cutter/.cvsignore:
10033 * examples/cutter/Makefile.am:
10034 * examples/cutter/cutter.c:
10035 * examples/cutter/cutter.h:
10036 * examples/events/Makefile.am:
10037 * examples/events/seek.c:
10038 * examples/helloworld/.cvsignore:
10039 * examples/helloworld/Makefile.am:
10040 * examples/helloworld/helloworld.c:
10041 * examples/helloworld2/.cvsignore:
10042 * examples/helloworld2/Makefile.am:
10043 * examples/helloworld2/helloworld2.c:
10044 * examples/launch/.cvsignore:
10045 * examples/launch/Makefile.am:
10046 * examples/launch/mp3parselaunch.c:
10047 * examples/launch/mp3play:
10048 * examples/manual/.cvsignore:
10049 * examples/manual/Makefile.am:
10050 * examples/manual/extract.pl:
10051 * examples/metadata/Makefile.am:
10052 * examples/metadata/read-metadata.c:
10053 * examples/mixer/.cvsignore:
10054 * examples/mixer/Makefile.am:
10055 * examples/mixer/mixer.c:
10056 * examples/mixer/mixer.h:
10057 * examples/pingpong/.cvsignore:
10058 * examples/pingpong/Makefile.am:
10059 * examples/pingpong/pingpong.c:
10060 * examples/plugins/.cvsignore:
10061 * examples/plugins/Makefile.am:
10062 * examples/plugins/example.c:
10063 * examples/plugins/example.h:
10064 * examples/pwg/.cvsignore:
10065 * examples/pwg/Makefile.am:
10066 * examples/pwg/extract.pl:
10067 * examples/queue/.cvsignore:
10068 * examples/queue/Makefile.am:
10069 * examples/queue/queue.c:
10070 * examples/queue2/.cvsignore:
10071 * examples/queue2/Makefile.am:
10072 * examples/queue2/queue2.c:
10073 * examples/queue3/.cvsignore:
10074 * examples/queue3/Makefile.am:
10075 * examples/queue3/queue3.c:
10076 * examples/queue4/.cvsignore:
10077 * examples/queue4/Makefile.am:
10078 * examples/queue4/queue4.c:
10079 * examples/retag/.cvsignore:
10080 * examples/retag/Makefile.am:
10081 * examples/retag/retag.c:
10082 * examples/retag/transcode.c:
10083 * examples/thread/.cvsignore:
10084 * examples/thread/Makefile.am:
10085 * examples/thread/thread.c:
10086 * examples/typefind/.cvsignore:
10087 * examples/typefind/Makefile.am:
10088 * examples/typefind/typefind.c:
10089 * examples/xml/.cvsignore:
10090 * examples/xml/Makefile.am:
10091 * examples/xml/createxml.c:
10092 * examples/xml/runxml.c:
10093 * tests/Makefile.am:
10094 * tests/check/Makefile.am:
10095 * testsuite/.cvsignore:
10096 * testsuite/Makefile.am:
10098 * testsuite/caps/.cvsignore:
10099 * testsuite/caps/Makefile.am:
10100 * testsuite/caps/app_fixate.c:
10101 * testsuite/caps/audioscale.c:
10102 * testsuite/caps/caps.c:
10103 * testsuite/caps/caps.h:
10104 * testsuite/caps/caps_strings:
10105 * testsuite/caps/compatibility.c:
10106 * testsuite/caps/deserialize.c:
10107 * testsuite/caps/enumcaps.c:
10108 * testsuite/caps/eratosthenes.c:
10109 * testsuite/caps/filtercaps.c:
10110 * testsuite/caps/fixed.c:
10111 * testsuite/caps/fraction-convert.c:
10112 * testsuite/caps/fraction-multiply-and-zero.c:
10113 * testsuite/caps/intersect2.c:
10114 * testsuite/caps/intersection.c:
10115 * testsuite/caps/normalisation.c:
10116 * testsuite/caps/random.c:
10117 * testsuite/caps/renegotiate.c:
10118 * testsuite/caps/sets.c:
10119 * testsuite/caps/simplify.c:
10120 * testsuite/caps/string-conversions.c:
10121 * testsuite/caps/structure.c:
10122 * testsuite/caps/subtract.c:
10123 * testsuite/caps/union.c:
10124 * testsuite/debug/.cvsignore:
10125 * testsuite/debug/Makefile.am:
10126 * testsuite/debug/category.c:
10127 * testsuite/debug/commandline.c:
10128 * testsuite/debug/global.c:
10129 * testsuite/debug/output.c:
10130 * testsuite/debug/printf_extension.c:
10131 * testsuite/dlopen/.cvsignore:
10132 * testsuite/dlopen/Makefile.am:
10133 * testsuite/dlopen/dlopen_gst.c:
10134 * testsuite/dlopen/loadgst.c:
10135 * testsuite/elements/.cvsignore:
10136 * testsuite/elements/Makefile.am:
10137 * testsuite/elements/gst-inspect-check.in:
10138 * testsuite/elements/struct_i386.h:
10139 * testsuite/elements/struct_size.c:
10140 * testsuite/indexers/.cvsignore:
10141 * testsuite/indexers/Makefile.am:
10142 * testsuite/indexers/cache1.c:
10143 * testsuite/indexers/indexdump.c:
10144 * testsuite/parse/.cvsignore:
10145 * testsuite/parse/Makefile.am:
10146 * testsuite/parse/parse1.c:
10147 * testsuite/parse/parse2.c:
10148 * testsuite/plugin/.cvsignore:
10149 * testsuite/plugin/Makefile.am:
10150 * testsuite/plugin/README:
10151 * testsuite/plugin/dynamic.c:
10152 * testsuite/plugin/linked.c:
10153 * testsuite/plugin/loading.c:
10154 * testsuite/plugin/registry.c:
10155 * testsuite/plugin/static.c:
10156 * testsuite/plugin/static2.c:
10157 * testsuite/plugin/testplugin.c:
10158 * testsuite/plugin/testplugin2.c:
10159 * testsuite/plugin/testplugin2_s.c:
10160 * testsuite/plugin/testplugin_s.c:
10161 * testsuite/refcounting/.cvsignore:
10162 * testsuite/refcounting/Makefile.am:
10163 * testsuite/refcounting/bin.c:
10164 * testsuite/refcounting/element.c:
10165 * testsuite/refcounting/element_pad.c:
10166 * testsuite/refcounting/mainloop.c:
10167 * testsuite/refcounting/mem.c:
10168 * testsuite/refcounting/mem.h:
10169 * testsuite/refcounting/object.c:
10170 * testsuite/refcounting/pad.c:
10171 * testsuite/refcounting/sched.c:
10172 * testsuite/refcounting/thread.c:
10173 * testsuite/states/.cvsignore:
10174 * testsuite/states/Makefile.am:
10175 * testsuite/states/bin.c:
10176 * testsuite/states/locked.c:
10177 * testsuite/states/parent.c:
10178 * testsuite/threads/.cvsignore:
10179 * testsuite/threads/159566.c:
10180 * testsuite/threads/159852.c:
10181 * testsuite/threads/Makefile.am:
10182 * testsuite/threads/queue.c:
10183 * testsuite/threads/signals.c:
10184 * testsuite/threads/staticrec.c:
10185 * testsuite/threads/thread.c:
10186 * testsuite/threads/threadb.c:
10187 * testsuite/threads/threadc.c:
10188 * testsuite/threads/threadd.c:
10189 * testsuite/threads/threade.c:
10190 * testsuite/threads/threadf.c:
10191 * testsuite/threads/threadg.c:
10192 * testsuite/threads/threadh.c:
10193 * testsuite/threads/threadi.c:
10194 move all of these under tests
10196 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10199 * tests/Makefile.am:
10202 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10204 * docs/gst/gstreamer-sections.txt:
10205 * tests/sched/.cvsignore:
10206 * tests/sched/Makefile.am:
10207 * tests/sched/cases/(fs-fs).xml:
10208 * tests/sched/cases/(fs-i-fs).xml:
10209 * tests/sched/cases/(fs-i-i-fs).xml:
10210 * tests/sched/cases/(fs-i-q[i-fs]).xml:
10211 * tests/sched/dynamic-pipeline.c:
10212 * tests/sched/interrupt1.c:
10213 * tests/sched/interrupt2.c:
10214 * tests/sched/interrupt3.c:
10215 * tests/sched/runtestcases:
10216 * tests/sched/runxml.c:
10217 * tests/sched/sched-stress.c:
10218 * tests/sched/sort.c:
10219 * tests/sched/testcases:
10220 * tests/sched/testcases1.tc:
10221 * tests/seeking/.cvsignore:
10222 * tests/seeking/Makefile.am:
10223 * tests/seeking/seeking1.c:
10224 * tests/threadstate/.cvsignore:
10225 * tests/threadstate/Makefile.am:
10226 * tests/threadstate/test1.c:
10227 * tests/threadstate/test2.c:
10228 * tests/threadstate/threadstate1.c:
10229 * tests/threadstate/threadstate2.c:
10230 * tests/threadstate/threadstate3.c:
10231 * tests/threadstate/threadstate4.c:
10232 * tests/threadstate/threadstate5.c:
10233 remove obsolete tests
10235 * tests/bench-complexity.scm:
10236 * tests/bench-mass_elements.scm:
10237 * tests/complexity.c:
10238 * tests/complexity.gnuplot:
10239 * tests/instantiate/.cvsignore:
10240 * tests/instantiate/Makefile.am:
10241 * tests/instantiate/caps.c:
10242 * tests/mass_elements.c:
10243 * tests/network-clock-utils.scm:
10244 * tests/network-clock.scm:
10246 First pass at cleaning up tests/ dir before moving the rest
10247 Combined with CVS surgery
10249 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10252 queue has moved, update
10254 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10256 * docs/gst/gstreamer-sections.txt:
10257 remove double entries from the docs
10258 * gst/gst_private.h:
10259 * gst/gstinfo.c: (_gst_debug_init):
10260 remove the THREAD debug category
10264 * docs/gst/gstreamer.types:
10265 * plugins/elements/gstqueue.c: (gst_queue_get_type),
10266 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10267 completely move queue and fix up debugging categories
10269 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10271 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10272 make initialization portable, using LL is not
10274 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10276 * win32/common/gstconfig.h:
10279 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10281 * win32/common/libgstreamer.def:
10282 rename symbols; sort base section
10284 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10286 * gst/gstclock.c: (do_linear_regression):
10287 remove crack non-portable handrolled DEBUG macro
10289 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10291 * docs/random/release:
10293 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10294 (gst_object_flags_get_type), (register_gst_bin_flags),
10295 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10296 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10297 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10298 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10299 (gst_caps_flags_get_type), (register_gst_clock_return),
10300 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10301 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10302 (gst_clock_flags_get_type), (register_gst_state),
10303 (gst_state_get_type), (register_gst_state_change_return),
10304 (gst_state_change_return_get_type), (register_gst_state_change),
10305 (gst_state_change_get_type), (register_gst_element_flags),
10306 (gst_element_flags_get_type), (register_gst_core_error),
10307 (gst_core_error_get_type), (register_gst_library_error),
10308 (gst_library_error_get_type), (register_gst_resource_error),
10309 (gst_resource_error_get_type), (register_gst_stream_error),
10310 (gst_stream_error_get_type), (register_gst_event_type_flags),
10311 (gst_event_type_flags_get_type), (register_gst_event_type),
10312 (gst_event_type_get_type), (register_gst_seek_type),
10313 (gst_seek_type_get_type), (register_gst_seek_flags),
10314 (gst_seek_flags_get_type), (register_gst_format),
10315 (gst_format_get_type), (register_gst_index_certainty),
10316 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10317 (gst_index_entry_type_get_type),
10318 (register_gst_index_lookup_method),
10319 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10320 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10321 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10322 (gst_index_flags_get_type), (register_gst_debug_level),
10323 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10324 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10325 (gst_iterator_result_get_type), (register_gst_iterator_item),
10326 (gst_iterator_item_get_type), (register_gst_message_type),
10327 (gst_message_type_get_type), (register_gst_mini_object_flags),
10328 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10329 (gst_pad_link_return_get_type), (register_gst_flow_return),
10330 (gst_flow_return_get_type), (register_gst_activate_mode),
10331 (gst_activate_mode_get_type), (register_gst_pad_direction),
10332 (gst_pad_direction_get_type), (register_gst_pad_flags),
10333 (gst_pad_flags_get_type), (register_gst_pad_presence),
10334 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10335 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10336 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10337 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10338 (gst_plugin_flags_get_type), (register_gst_rank),
10339 (gst_rank_get_type), (register_gst_query_type),
10340 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10341 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10342 (gst_tag_flag_get_type), (register_gst_task_state),
10343 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10344 (gst_alloc_trace_flags_get_type),
10345 (register_gst_type_find_probability),
10346 (gst_type_find_probability_get_type), (register_gst_uri_type),
10347 (gst_uri_type_get_type), (register_gst_parse_error),
10348 (gst_parse_error_get_type):
10349 * win32/common/gstenumtypes.h:
10350 * win32/common/gstversion.h:
10351 update visual studio generated files
10353 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10355 * win32/vs6/libgstbase.dsp:
10356 * win32/vs6/libgstelements.dsp:
10357 update project files for new locations
10359 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10364 reinstate and update
10369 * docs/random/LICENSE:
10372 2005-11-30 Edward Hervey <edward@fluendo.com>
10374 * gst/gsttypefind.c: (gst_type_find_register):
10375 * gst/gsttypefind.h:
10376 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10377 (gst_type_find_factory_dispose):
10378 * gst/gsttypefindfactory.h:
10379 Fix memory leak in GstTypeFindFactory.
10381 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10384 * plugins/elements/Makefile.am:
10385 * plugins/elements/gstelements.c:
10386 * plugins/elements/gstqueue.c:
10387 move queue from core to the elements plugin
10389 2005-11-29 Andy Wingo <wingo@pobox.com>
10391 * libs/gst/base/gstbasetransform.h:
10392 * libs/gst/base/gstbasesrc.h:
10393 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10395 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10396 of pointers by which to pad very extensible base classes (like the
10397 ones in libs/gst/base).
10399 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10401 * docs/gst/gstreamer-docs.sgml:
10402 * docs/gst/gstreamer-sections.txt:
10403 * docs/libs/gstreamer-libs-docs.sgml:
10404 * docs/libs/gstreamer-libs-sections.txt:
10405 moving documentation from core to lib
10407 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10409 * check/Makefile.am:
10411 * docs/gst/Makefile.am:
10413 * gst/base/.cvsignore:
10414 * gst/base/Makefile.am:
10416 * gst/base/gstadapter.c:
10417 * gst/base/gstadapter.h:
10418 * gst/base/gstbasesink.c:
10419 * gst/base/gstbasesink.h:
10420 * gst/base/gstbasesrc.c:
10421 * gst/base/gstbasesrc.h:
10422 * gst/base/gstbasetransform.c:
10423 * gst/base/gstbasetransform.h:
10424 * gst/base/gstcollectpads.c:
10425 * gst/base/gstcollectpads.h:
10426 * gst/base/gstpushsrc.c:
10427 * gst/base/gstpushsrc.h:
10428 * gst/base/gsttypefindhelper.c:
10429 * gst/base/gsttypefindhelper.h:
10430 * gst/check/Makefile.am:
10431 * gst/check/gstcheck.c:
10432 * gst/check/gstcheck.h:
10433 * gst/net/Makefile.am:
10434 * gst/net/gstnet.h:
10435 * gst/net/gstnetclientclock.c:
10436 * gst/net/gstnetclientclock.h:
10437 * gst/net/gstnettimepacket.c:
10438 * gst/net/gstnettimepacket.h:
10439 * gst/net/gstnettimeprovider.c:
10440 * gst/net/gstnettimeprovider.h:
10441 * libs/gst/Makefile.am:
10442 * libs/gst/base/Makefile.am:
10443 * libs/gst/base/gstbasetransform.c:
10444 * libs/gst/check/Makefile.am:
10445 * plugins/elements/Makefile.am:
10447 CVS surgery + support to move base, check, and net out of gst
10450 2005-11-29 Andy Wingo <wingo@pobox.com>
10452 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10454 * gst/gststructure.h (struct _GstStructure): Only one pointer of
10457 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10459 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10461 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10463 * gst/gstobject.h: (struct _GstObject): Only one pointer of
10464 padding; reduces object size by about 30%. We don't expect
10465 anything else to go into gstobject.
10467 * gst/gstminiobject.h (struct _GstMiniObject)
10468 (struct _GstMiniObjectClass): Only one pointer of padding; the
10469 payload is only a pointer and two ints anyway. For the class there
10470 are only two methods as well.
10472 * gst/gstelement.h (struct _GstElementClass): Removed
10473 the state_changed signal callback, it is not used.
10475 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10477 * docs/gst/gstreamer.types:
10478 fix includes, though they are a little dinky
10480 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10482 * check/Makefile.am:
10483 look in the right place for elements, a lot more chance of
10486 remove indexers and elements subdirs
10487 * plugins/Makefile.am:
10488 make indexers conditional
10490 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10494 * plugins/elements/Makefile.am:
10495 * plugins/elements/gstcapsfilter.c:
10496 * plugins/elements/gstfilesink.c:
10497 * plugins/elements/gstfilesrc.c:
10498 * plugins/elements/gstidentity.c:
10499 * plugins/indexers/Makefile.am:
10500 do CVS surgery and related build fixery to move elements
10501 and indexers in a new gstreamer/plugins directory, out of the
10504 2005-11-29 Andy Wingo <wingo@pobox.com>
10506 * check/Makefile.am:
10507 * pkgconfig/gstreamer-net-uninstalled.pc.in:
10508 * pkgconfig/gstreamer-net.pc.in:
10509 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10512 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10514 * tools/Makefile.am:
10515 * tools/gst-complete.1.in:
10516 * tools/gst-complete.c:
10517 * tools/gst-compprep.1.in:
10518 * tools/gst-compprep.c:
10519 removing -compprep and -complete
10521 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10523 * gst/gstevent.c: (gst_event_new_new_segment),
10524 (gst_event_parse_new_segment):
10526 fix #320529 - clean up new_segment API and structure.
10527 Let's hope everyone was using the methods, and not the structure.
10529 2005-11-29 Edward Hervey <edward@fluendo.com>
10531 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10532 (gst_base_sink_event), (gst_base_sink_do_sync),
10533 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10534 Properly handle non GST_FORMAT_TIME segment
10535 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10536 Properly handle non GST_FORMAT_TIME segment
10537 * gst/gstsegment.c:
10538 This function is valid if the accumulator is 0 and the format
10539 is different from the requested format.
10541 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10543 * docs/gst/gstreamer-sections.txt:
10544 Add gst_query_new_seeking and gst_query_parse_seeking to the
10547 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10549 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10550 Treat a pad alloc with new caps the same as if we were not
10551 negotiated, in order to allow a changing upstream output
10552 to produce a new format of data.
10554 2005-11-29 Edward Hervey <edward@fluendo.com>
10556 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10557 (gst_base_transform_event), (gst_base_transform_eventfunc):
10558 The event virtual method is now properly implemented, with a default
10560 Sub classes should call the parent_class event method. They should
10561 return FALSE if they had a problem handling the given event, or don't
10562 want GstBaseTransform to send that even downstream
10563 * gst/elements/gstidentity.c: (gst_identity_class_init),
10564 (gst_identity_init), (gst_identity_event),
10565 (gst_identity_transform_ip), (gst_identity_set_property),
10566 (gst_identity_get_property):
10567 * gst/elements/gstidentity.h:
10568 Added the single-segment boolean property.
10569 If set to TRUE, it will output a single segment of data, starting from
10570 0, will eat up all incoming newsegment, and modify the timestamp of the
10571 buffers accordingly
10573 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
10575 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10576 Don't ref NULL target pad (#322751). Improve docs.
10578 2005-11-29 Michael Smith <msmith@fluendo.com>
10580 * gst/gstregistryxml.c: (load_plugin):
10581 Don't crash if we failed to load a feature from a plugin.
10583 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10585 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10587 use more check API and less GLib API
10589 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10592 don't run checks if we don't have check
10593 * common/check.mak:
10594 remove the registry when running make torture
10595 * docs/gst/gstreamer-sections.txt:
10596 remove second multiply
10597 * gst/gstqueue.c: (gst_queue_loop):
10598 fix a compile warning when disabling debug
10600 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10603 Hey! Let's print the pad name if the pointer != NULL instead
10604 of when it == NULL :-)
10606 2005-11-28 Wim Taymans <wim@fluendo.com>
10608 * check/gst/gstutils.c: (GST_START_TEST):
10609 Updated check, add some scaling accuracy checking code.
10611 * gst/gstutils.c: (gst_util_div128_64),
10612 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10613 (gst_util_uint64_scale_int):
10614 Fix 6 times faster division code. Optimize for common
10615 1/1 and less common X/1 cases.
10617 2005-11-28 Wim Taymans <wim@fluendo.com>
10619 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10622 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10623 (do_linear_regression), (gst_clock_add_observation):
10625 Release lock when the clock cannot be slaved.
10626 Catch the case where the regression returned an invalid denominator.
10628 * gst/gstutils.c: (gst_util_div128_64_iterate),
10629 (gst_util_div128_64), (gst_util_uint64_scale_int64),
10630 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10631 Add protentially more performant non-iterative 128/64 divide function
10632 that unfortunatly does not work yet.
10633 Shortcut the trivial 0/X = 0 case.
10634 Remove the warnings on overflow.
10636 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10638 * gst/gstplugin.c: (gst_plugin_register_func):
10639 everything causing a plugin not to load should be at least a WARNING
10641 2005-11-28 Stefan Kost <ensonic@users.sf.net>
10643 * docs/random/ensonic/dparams.txt:
10644 some TODOs for the next dev cycle
10645 * libs/gst/controller/gstcontroller.c:
10646 (gst_controlled_property_set_interpolation_mode),
10647 (gst_controlled_property_new):
10648 * libs/gst/controller/gstcontroller.h:
10649 use base type to assign acccessor functions
10651 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10653 * check/Makefile.am:
10654 Oops, that should have been top_srcdir
10656 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10658 * check/Makefile.am:
10659 * check/elements/fdsrc.c: (GST_START_TEST):
10660 Use a cmdline define to specify the location of a file to use for
10661 testing, to avoid breaking distcheck.
10663 2005-11-28 Andy Wingo <wingo@pobox.com>
10665 * gst/gstpad.c (fixate_value): Use array functions for arrays.
10667 2005-11-28 Edward Hervey <edward@fluendo.com>
10669 * tools/gst-launch.c: (main):
10670 Clarify the output strings, makes it easier to translate.
10673 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10676 don't try and build net if we don't even have <sys/socket.h>
10678 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
10680 * check/Makefile.am:
10681 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10682 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10683 Add tests for fdsrc seekability
10685 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10686 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10687 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10688 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10689 * gst/elements/gstfdsrc.h:
10690 fdsrc should not be a 'live' source.
10691 Implement seeking on seekable fd's.
10693 * gst/gstquery.c: (gst_query_new_seeking),
10694 (gst_query_parse_seeking):
10696 Implement SEEKING query functions:
10697 *_new_seeking and *_parse_seeking
10699 2005-11-27 Stefan Kost <ensonic@users.sf.net>
10701 * gst/gstelement.c: (gst_element_dispose):
10704 * gst/gstiterator.c:
10705 * gst/gststructure.c:
10708 * libs/gst/controller/gstcontroller.c:
10709 (gst_controlled_property_set_interpolation_mode):
10710 * libs/gst/controller/gstcontroller.h:
10711 * libs/gst/controller/gstinterpolation.c:
10712 (interpolate_none_get_enum_value_array):
10713 support controlling enums
10715 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10718 Improve documentation for gst_value_union().
10721 Change return value for union, intersect and subtract functions
10722 from gint to gboolean.
10724 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10726 * gst/gstvalue.c: (gst_value_serialize_any_list),
10727 (gst_value_transform_any_list_string),
10728 (gst_value_deserialize_list), (gst_value_deserialize_array),
10729 (gst_value_set_int_range), (gst_value_deserialize_int_range),
10730 (gst_value_set_double_range), (gst_value_deserialize_double_range),
10731 (gst_value_set_fraction_range_full),
10732 (gst_value_deserialize_fraction_range),
10733 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10734 (gst_value_deserialize_boolean),
10735 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10736 (gst_value_serialize_float), (gst_value_deserialize_float),
10737 (gst_string_wrap), (gst_value_deserialize_string),
10738 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10739 (gst_value_union_int_range_int_range),
10740 (gst_value_intersect_int_range_int_range),
10741 (gst_value_intersect_double_range_double_range),
10742 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10743 (gst_value_subtract_int_range_int_range),
10744 (gst_value_subtract_double_double_range),
10745 (gst_value_subtract_double_range_double_range),
10746 (gst_value_deserialize_fraction):
10748 Use gint, gdouble and gchar in our API instead of int, double and
10749 char (and make usage in gstvalue.c more consistent).
10751 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10753 * check/Makefile.am:
10754 * libs/gst/controller/Makefile.am:
10755 * libs/gst/dataprotocol/Makefile.am:
10756 fix up Makefile.am and remove GST_ENABLE_NEW
10758 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10762 * gst/base/Makefile.am:
10763 * gst/check/Makefile.am:
10764 * gst/elements/Makefile.am:
10765 * gst/net/Makefile.am:
10766 update LDFLAGS use some more
10768 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10770 * common/m4/gst-doc.m4:
10773 2005-11-26 Edward Hervey <edward@fluendo.com>
10775 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10776 This shouldn't issue a g_warning since it returns NULL if it
10777 couldn't find the plugin, and all functions using this behave
10778 properly on a NULL return. Switching to a GST_WARNING.
10780 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
10782 * gst/gstbin.c: (gst_bin_handle_message_func):
10783 Don't leak clock messages.
10785 2005-11-25 Wim Taymans <wim@fluendo.com>
10787 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10788 (gst_util_uint64_scale_int):
10789 Optimisations, remove unneeded vars.
10791 2005-11-25 Wim Taymans <wim@fluendo.com>
10793 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10794 Added more checks for the high precision uint64 cases.
10796 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10797 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10798 Implement high precision (guint64 * guint64) / guint64.
10800 2005-11-24 Wim Taymans <wim@fluendo.com>
10802 * gst/base/gstbasesrc.c: (gst_base_src_query):
10803 Fix wrong percentage query.
10805 * gst/gstutils.c: (gst_util_uint64_scale),
10806 (gst_util_uint64_scale_int):
10807 Add some more common cases that can be handled
10808 efficiently to _scale.
10810 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10812 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
10813 (gst_mini_object_suite):
10814 don't use check calls from threads; check probably isn't
10815 threadsafe and using a lock to make it threadsafe would
10816 defeat the purpose of this check
10817 * gst/check/gstcheck.c:
10818 * gst/check/gstcheck.h:
10819 use GST_DEBUG some more
10821 2005-11-24 Wim Taymans <wim@fluendo.com>
10823 * gst/gstutils.c: (gst_util_uint64_scale),
10824 (gst_util_uint64_scale_int):
10825 Chain trivial case to _scale_int.
10827 2005-11-24 Wim Taymans <wim@fluendo.com>
10829 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10830 Added test for scaling.
10835 * gst/gstutils.c: (gst_util_uint64_scale_int):
10836 Implemented high precision scaling code.
10838 2005-11-24 Stefan Kost <ensonic@users.sf.net>
10841 do not crash on pad==NULL
10843 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10845 Patch by: Stefan Kost
10847 * common/gtk-doc.mak:
10848 * docs/gst/Makefile.am:
10849 * docs/libs/Makefile.am:
10850 Fix distcheck issues for the libraries docs build
10853 2005-11-24 Michael Smith <msmith@fluendo.com>
10855 * docs/manual/basics-helloworld.xml:
10856 Fix bug #315027: memory leak in example code in docs.
10858 2005-11-24 Michael Smith <msmith@fluendo.com>
10860 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10861 Unlock the PREROLL_LOCK in a failure case.
10863 2005-11-24 Wim Taymans <wim@fluendo.com>
10865 * docs/gst/gstreamer-sections.txt:
10866 * gst/base/gstadapter.h:
10867 * gst/base/gstbasesink.h:
10868 * gst/base/gstbasesrc.h:
10869 * gst/base/gstbasetransform.h:
10870 * gst/base/gstpushsrc.h:
10871 * gst/elements/gstfakesink.h:
10872 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
10873 * gst/elements/gstfakesrc.h:
10874 * gst/elements/gstfilesink.h:
10875 * gst/elements/gstfilesrc.h:
10878 * gst/gstbuffer.c: (_gst_buffer_copy):
10881 * gst/gstchildproxy.c:
10883 * gst/gstelement.c:
10884 * gst/gstelementfactory.c:
10885 * gst/gstelementfactory.h:
10887 * gst/gstghostpad.h:
10889 * gst/gstinterface.h:
10890 * gst/gstminiobject.c:
10891 * gst/gstminiobject.h:
10894 * gst/gstpadtemplate.h:
10895 * gst/gstpipeline.h:
10896 * gst/gstpluginfeature.h:
10899 * gst/gsttaglist.c:
10900 * gst/gsttaglist.h:
10901 * gst/gsttagsetter.c:
10902 * gst/gsttagsetter.h:
10905 * gst/gsttypefind.h:
10908 * gst/net/gstnetclientclock.c:
10909 * gst/net/gstnetclientclock.h:
10910 * gst/net/gstnettimepacket.c:
10911 * gst/net/gstnettimeprovider.c:
10912 * gst/net/gstnettimeprovider.h:
10915 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10917 * configure.ac: back to HEAD
10919 === release 0.9.6 ===
10921 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10924 releasing 0.9.6, "Always On Time"
10926 2005-11-23 Wim Taymans <wim@fluendo.com>
10928 * docs/gst/gstreamer-sections.txt:
10929 * gst/glib-compat.c:
10930 * gst/gsttagsetter.c:
10932 * gst/net/gstnetclientclock.c:
10933 * gst/net/gstnettimepacket.h:
10936 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10938 * docs/faq/using.xml:
10939 * docs/libs/tmpl/gstcontrol.sgml:
10940 * docs/manual/advanced-dparams.xml:
10941 * docs/manual/appendix-checklist.xml:
10942 * docs/manual/basics-elements.xml:
10943 * docs/pwg/other-source.xml:
10944 * docs/random/moving-plugins:
10946 * tools/gst-launch.1.in:
10947 remove mentions of sinesrc
10949 2005-11-23 Michael Smith <msmith@fluendo.com>
10951 * docs/gst/gstreamer-sections.txt:
10952 Update for new API and API changes.
10954 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
10956 Documentation typo fix.
10957 * gst/net/gstnettimepacket.c:
10958 Documentation fixes for arguments.
10960 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
10962 * gst/gststructure.c: (gst_structure_get_fraction),
10963 (gst_structure_parse_value),
10964 (gst_structure_fixate_field_nearest_fraction):
10965 * gst/gststructure.h:
10966 * gst/gstutils.c: (gst_util_uint64_scale_int):
10968 * scripts/update-funcnames:
10970 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
10971 Make gst_structure_fixate_field_nearest_fraction take a numerator
10972 and denominator argument instead of a GValue
10973 add gst_structure_get_fraction helper function.
10975 2005-11-23 Wim Taymans <wim@fluendo.com>
10977 * docs/design/part-TODO.txt:
10980 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10981 * gst/net/gstnetclientclock.h:
10982 Use parent fields for timeout and window_size.
10984 2005-11-23 Andy Wingo <wingo@pobox.com>
10986 * check/net/gstnetclientclock.c (test_functioning): Adjust to
10987 rate_num/rate_denom change.
10989 * gst/net/gstnetclientclock.c
10990 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
10991 OBJECT_LOCK. Don't call add_observation with the lock.
10993 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
10995 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
10997 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
10998 deal with rate as a fraction whose numerator and denominator are
10999 GstClockTime values.
11000 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11001 master; the other fields are protected by the SLAVE_LOCK.
11002 (do_linear_regression): Note that this must be called with the
11004 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11005 OBJECT_LOCK. Call set_calibration instead of touching the
11006 variables directly.
11007 (gst_clock_set_property, gst_clock_get_property): Protect
11008 master/slave parameters with the SLAVE_LOCK.
11010 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11011 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11012 note that all of the instance variables that add_observation and
11013 the set_master functions use are protected by that lock and not
11015 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11017 * gst/gstclock.c (gst_clock_add_observation): No longer requires
11018 the caller to take the object lock.
11020 2005-11-23 Wim Taymans <wim@fluendo.com>
11022 * gst/gsterror.c: (_gst_core_errors_init):
11024 Add error for clock stuff.
11026 * gst/gstpipeline.c: (gst_pipeline_change_state),
11027 (gst_pipeline_set_clock):
11028 Post clock error when clock cannot be used in a pipeline.
11030 2005-11-23 Stefan Kost <ensonic@users.sf.net>
11032 * docs/gst/gstreamer-sections.txt:
11033 make two symbols from gstinfo private for the docs
11034 * gst/base/gstcollectpads.h:
11036 fix doc typos, update docs
11038 2005-11-22 Wim Taymans <wim@fluendo.com>
11040 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11041 (gst_base_sink_wait), (gst_base_sink_do_sync),
11042 (gst_base_sink_handle_event):
11043 * gst/base/gstbasesink.h:
11044 No need to store the clock, the parent element class already
11047 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11048 Updates for clock_set returning a gboolean
11050 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11051 (gst_clock_id_wait_async), (gst_clock_class_init),
11052 (gst_clock_init), (gst_clock_finalize),
11053 (gst_clock_get_internal_time), (gst_clock_get_time),
11054 (gst_clock_slave_callback), (gst_clock_set_master),
11055 (gst_clock_get_master), (do_linear_regression),
11056 (gst_clock_add_observation), (gst_clock_set_property),
11057 (gst_clock_get_property):
11059 Implement master/slave. When setting a clock as a slave, a
11060 periodic timeout is scheduled to sample master and slave times.
11061 Then the slave clock is recalibrated to match offset and rate
11062 of the master clock.
11063 Update logging a bit.
11064 Add flag so that a clock can state that is cannot be slaved to
11067 * gst/gstelement.c: (gst_element_set_clock):
11068 * gst/gstelement.h:
11069 The set clock returns a gboolean for when an element cannot
11070 deal with the selected clock in the pipeline.
11072 * gst/gstpipeline.c: (gst_pipeline_change_state),
11073 (gst_pipeline_set_clock):
11074 * gst/gstpipeline.h:
11075 Handle the case where the selected clock cannot be set on
11078 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11079 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11080 (gst_net_client_clock_set_property),
11081 (gst_net_client_clock_get_property),
11082 (gst_net_client_clock_observe_times):
11083 * gst/net/gstnetclientclock.h:
11084 Use regression code in GstClock parent, remove duplicated
11087 2005-11-22 Michael Smith <msmith@fluendo.com>
11089 * gst/gstutils.c: (gst_util_clock_time_scale):
11091 * docs/gst/gstreamer-sections.txt:
11092 Rename method to have extra underscore.
11094 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
11096 * gst/elements/Makefile.am:
11097 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11098 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11099 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11100 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11101 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11102 * gst/elements/gstfakesrc.h:
11103 * gst/gstqueue.c: (queue_leaky_get_type):
11104 correctly fix GEnumValues so that nick is the short lowercase
11106 * tools/gst-inspect.c: (print_element_properties_info):
11107 also show the nick, since it's useful to use from parse_launch
11111 2005-11-22 Michael Smith <msmith@fluendo.com>
11113 * gst/gstutils.c: (gst_util_clocktime_scale):
11115 * docs/gst/gstreamer-sections.txt:
11116 Add util method for scaling a clocktime by a fraction. Useful
11117 implementation is left as an exercise for the reader.
11119 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11121 * gst/gstvalue.c: (gst_value_collect_fraction_range):
11122 If needed, allocate storage in the destination value during
11125 2005-11-22 Edward Hervey <edward@fluendo.com>
11127 * docs/gst/gstreamer-sections.txt:
11130 * gst/gsturitype.c:
11131 * gst/gsturitype.h:
11132 * gst/gstutils.c: (gst_util_set_object_arg):
11133 * tools/gst-compprep.c: (main):
11134 * tools/gst-inspect.c: (print_element_properties_info):
11135 Removed GstURI, closes bug #321061
11137 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11139 * check/gst/gststructure.c: (GST_START_TEST):
11140 * gst/gststructure.c: (gst_structure_parse_value):
11141 Oops, broke automatic string type parsing.
11142 Add a test to catch it in future.
11144 2005-11-22 Andy Wingo <wingo@pobox.com>
11146 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
11147 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11148 Actually rename the function implementations. Grr.
11150 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11152 * check/gst/capslist.h:
11154 * check/gst/gststructure.c: (GST_START_TEST),
11155 (gst_structure_suite):
11156 Test automatic value type detection in gst_structure_from_string.
11157 * gst/gststructure.c: (gst_structure_parse_value):
11158 Add fraction as a type we try and guess automatically in
11159 caps/structure strings.
11161 2005-11-22 Andy Wingo <wingo@pobox.com>
11163 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11165 * gst/gsttagsetter.h:
11166 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11167 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11168 (gst_tag_setter_add_tag_valist)
11169 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11170 _add_values, _add_valist, and _add_valist_values. Since this is an
11171 interface the function suffixes should be more explicit so
11172 language binding don't end up with element.add_valist ->
11173 gst_tag_setter_add_valist, for example. Fixes #322069.
11175 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11177 * check/gst/gstcaps.c: (GST_START_TEST):
11178 Extend caps string tests to check that a caps to string
11179 conversion is reversible and produces the same caps.
11181 * gst/gststructure.c: (gst_structure_value_get_generic_type):
11182 Output "fraction" as the generic type fraction range, so caps
11183 serialisation and deserialisation works.
11184 * check/gst/capslist.h:
11185 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11186 Support 'MIN' and 'MAX' for deserialising fractions.
11188 2005-11-22 Andy Wingo <wingo@pobox.com>
11190 * gst/gstevent.h (gst_event_new_new_segment)
11191 (gst_event_parse_new_segment, gst_event_new_buffer_size)
11192 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11193 Renamed from *_newsegment, *_buffersize, *_notarget.
11195 * scripts/update-funcnames: New script, performs the changes
11198 2005-11-22 Wim Taymans <wim@fluendo.com>
11200 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11201 Make sure the GstFlowReturn is returned.
11203 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11204 (gst_bus_add_signal_watch):
11206 add gst_bus_add_signal_watch_full.
11208 * gst/gstplugin.c: (gst_plugin_load_file):
11209 Small style cleanup.
11211 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11213 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11214 Block the fakesrc srcpad when we send an event, to avoid
11215 contention on the stream_lock causing random test failures.
11217 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11219 * check/gst/gstvalue.c: (GST_START_TEST):
11220 * gst/gstvalue.c: (gst_value_fraction_subtract):
11223 2005-11-22 Stefan Kost <ensonic@users.sf.net>
11226 include "gstchildproxy.h"
11227 * gst/gstchildproxy.h:
11228 * libs/gst/controller/gstcontroller.h:
11229 use G_GNUC_NULL_TERMINATED
11231 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11233 * check/gst/capslist.h:
11234 * check/gst/gstcaps.c: (GST_START_TEST):
11235 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11236 * gst/gststructure.c: (gst_structure_parse_range),
11237 (gst_structure_fixate_field_nearest_fraction):
11238 * gst/gststructure.h:
11239 * gst/gstvalue.c: (gst_value_init_fraction_range),
11240 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11241 (gst_value_collect_fraction_range),
11242 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11243 (gst_value_set_fraction_range_full),
11244 (gst_value_get_fraction_range_min),
11245 (gst_value_get_fraction_range_max),
11246 (gst_value_serialize_fraction_range),
11247 (gst_value_transform_fraction_range_string),
11248 (gst_value_compare_fraction_range),
11249 (gst_value_deserialize_fraction_range),
11250 (gst_value_intersect_fraction_fraction_range),
11251 (gst_value_intersect_fraction_range_fraction_range),
11252 (gst_value_subtract_fraction_fraction_range),
11253 (gst_value_subtract_fraction_range_fraction),
11254 (gst_value_subtract_fraction_range_fraction_range),
11255 (gst_value_collect_fraction), (gst_value_fraction_multiply),
11256 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11257 (gst_value_transform_string_fraction), (_gst_value_initialize):
11259 Implement fraction ranges and extend GstFraction to support
11260 arithmetic subtraction, as well as deserialization from integer
11261 strings such as "100"
11262 Add a testsuite as for int and double range set operations
11264 2005-11-21 Andy Wingo <wingo@pobox.com>
11266 * gst/gsttaglist.h:
11268 * gst/gststructure.h: Add glib-compat.h.
11270 2005-11-21 Wim Taymans <wim@fluendo.com>
11272 * gst/gstbin.c: (gst_bin_change_state_func):
11275 2005-11-21 Wim Taymans <wim@fluendo.com>
11277 * gst/gstsegment.h:
11278 And add a nice define too.
11280 2005-11-21 Wim Taymans <wim@fluendo.com>
11282 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11283 (gst_segment_new), (gst_segment_free), (gst_segment_init),
11284 (gst_segment_set_duration), (gst_segment_set_last_stop),
11285 (gst_segment_set_seek), (gst_segment_set_newsegment),
11286 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11287 (gst_segment_clip):
11288 * gst/gstsegment.h:
11289 Make binding friendly.
11291 2005-11-21 Andy Wingo <wingo@pobox.com>
11293 * gst/gsttagsetter.h:
11294 * gst/gsttaglist.h:
11295 * gst/gststructure.h:
11297 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11300 * gst/gsterror.c (_gst_core_errors_init):
11301 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11304 * gst/Makefile.am (gst_headers): Add glib-compat.h.
11305 (noinst_HEADERS): noinst the -private.
11307 2005-11-21 Michael Smith <msmith@fluendo.com>
11310 * gst/gstregistry.h:
11311 Remove unimplemented declarations for which we can see no sensible
11314 2005-11-21 Andy Wingo <wingo@pobox.com>
11316 * gst/gst.h: Include glib-compat.h.
11318 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11320 * gst/glib-compat.c: Include the public and the private header.
11322 * gst/glib-compat-private.h: Copied here from glib-compat.h.
11326 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11328 * check/gst/gstevent.c (create_custom_events): Check that
11329 FLUSH_STOP is serialized.
11331 * check/elements/identity.c (event_func):
11332 * check/elements/fakesrc.c (event_func): No stream lock, the core
11335 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11336 stream lock taking, yay.
11338 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11339 ensure that core takes the stream lock.
11341 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11344 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11345 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11346 it already. For the flush start we do take it though so we get the
11347 right preroll state change messages.
11349 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11350 the stream lock here, the core does it for us.
11352 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11353 GST_STREAM_GET_LOCK.
11354 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
11355 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
11356 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11357 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11358 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
11359 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11361 * gst/gstpad.c: Update for stream lock name change.
11363 * gst/base/gstbasesink.c: Update for preroll lock name change.
11365 2005-11-21 Wim Taymans <wim@fluendo.com>
11367 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11368 (gst_clock_get_master):
11370 * gst/gstsystemclock.c: (gst_system_clock_init):
11371 Convert Clock flags to object flags.
11372 Added methods to manage master/slave clocks.
11374 2005-11-21 Wim Taymans <wim@fluendo.com>
11376 * check/gst/gstsegment.c: (GST_START_TEST):
11377 * docs/design/part-TODO.txt:
11378 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11379 (gst_base_sink_event), (gst_base_sink_do_sync),
11380 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11381 (gst_base_sink_query), (gst_base_sink_change_state):
11382 * gst/base/gstbasesink.h:
11383 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11384 (gst_base_src_default_newsegment),
11385 (gst_base_src_configure_segment), (gst_base_src_do_seek),
11386 (gst_base_src_get_range), (gst_base_src_loop),
11387 (gst_base_src_change_state):
11388 * gst/base/gstbasesrc.h:
11389 * gst/base/gstbasetransform.c:
11390 (gst_base_transform_prepare_output_buf),
11391 (gst_base_transform_event), (gst_base_transform_change_state):
11392 * gst/base/gstbasetransform.h:
11393 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11394 (gst_collect_pads_event):
11395 * gst/base/gstcollectpads.h:
11396 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11397 (gst_fake_src_create):
11398 * gst/elements/gstfakesrc.h:
11399 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11400 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11401 (gst_segment_set_last_stop), (gst_segment_set_seek),
11402 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11403 (gst_segment_to_running_time), (gst_segment_clip):
11404 * gst/gstsegment.h:
11405 More segment updates, replace code in plugins with segment
11408 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11410 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11411 Don't ignore sscanf results
11413 2005-11-21 Andy Wingo <wingo@pobox.com>
11415 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11418 * *.c: Ran scripts/update-macros. Oh yes.
11420 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11421 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11424 * scripts/update-macros: New script. Run it on your files to
11425 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11428 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11430 * docs/gst/Makefile.am:
11431 * docs/gst/gstreamer-docs.sgml:
11432 * docs/gst/gstreamer-sections.txt:
11433 * docs/gst/gstreamer.types:
11435 more docs fixes, add new api to the docs
11437 2005-11-21 Andy Wingo <wingo@pobox.com>
11439 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11440 state_broadcast call.
11442 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11444 2005-11-21 Julien MOUTTE <julien@moutte.net>
11446 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11447 function calls for arrays.
11449 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11451 * docs/random/ensonic/media-device-daemon.txt:
11452 wild idea, can this be done?
11453 * docs/gst/gstreamer-sections.txt:
11458 * gst/gstpluginfeature.c:
11462 doc fixes and additions
11464 2005-11-21 Andy Wingo <wingo@pobox.com>
11466 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
11467 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
11468 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
11469 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11470 private to the basesrc implementation.
11472 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11473 behalf of event function if necessary. It should no longer be
11474 necessary to take the stream lock in pad's event functions. Fixes
11477 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11478 * docs/gst/gstreamer-sections.txt:
11479 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11480 (gst_structure_fixate_field_nearest_double),
11481 (gst_structure_fixate_field_boolean):
11482 * gst/gststructure.h:
11483 * win32/common/libgstreamer.def:
11484 * win32/gstreamer.def:
11486 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11489 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11491 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11492 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11493 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11494 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11495 (gst_fdsrc_uri_handler_init):
11496 * gst/elements/gstfdsrc.h:
11497 Port fd:// URI handler from 0.8 to fdsrc
11499 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11501 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11502 (gst_value_serialize_fourcc):
11504 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11505 consistent with our other format defines (#320324).
11507 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11509 * gst/gstvalue.c: (gst_value_is_fixed):
11510 Revert previous commit. Value lists are by definition
11511 not fixed, as they are a list of possible values.
11513 2005-11-21 Andy Wingo <wingo@pobox.com>
11515 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11516 during the stable series if we need it. Fixes #319178.
11518 * gst/gstevent.c (gst_event_new_filler): Removed.
11520 * check/gst/gstevent.c: Update comment about filler events.
11522 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11524 * gst/gstvalue.c: (gst_value_is_fixed):
11525 Should handle both value arrays and value lists.
11527 2005-11-21 Andy Wingo <wingo@pobox.com>
11529 patch by: Alessandro Dessina <alessandro nnva org>
11531 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11532 functions to access arrays. Fixes #321962.
11534 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11536 * docs/gst/gstreamer.types:
11537 gst_collectpads_get_type => gst_collect_pads_get_type.
11539 * gst/base/gstbasetransform.c:
11540 Remove unused SIGNAL_HANDOFF enum.
11542 2005-11-21 Andy Wingo <wingo@pobox.com>
11544 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11545 the event type (upstream, downstream, serialized). Renamed
11546 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11547 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11548 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11550 * gst/gstevent.c: Update for new CUSTOM event names.
11552 * check/gst/gstevent.c: Update check for new CUSTOM event names.
11555 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11558 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11560 * docs/gst/gstreamer-sections.txt:
11561 * win32/common/libgstbase.def:
11562 * win32/libgstbase.def:
11563 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11564 (gst_collect_pads_class_init), (gst_collect_pads_init),
11565 (gst_collect_pads_finalize), (gst_collect_pads_new),
11566 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11567 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11568 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11569 (gst_collect_pads_start), (gst_collect_pads_stop),
11570 (gst_collect_pads_peek), (gst_collect_pads_pop),
11571 (gst_collect_pads_available), (gst_collect_pads_read),
11572 (gst_collect_pads_flush), (gst_collect_pads_event),
11573 (gst_collect_pads_chain):
11574 * gst/base/gstcollectpads.h:
11575 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11576 unimplemented functions as unimplemented. Add padding to
11577 GstCollectData. (#320766, #320423)
11579 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11581 * gst/gstmessage.c:
11582 Improve docs for DURATION message (usage of duration parameter)
11585 2005-11-20 Wim Taymans <wim@fluendo.com>
11587 * check/Makefile.am:
11588 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11592 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11593 (gst_segment_set_seek), (gst_segment_set_newsegment),
11594 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11595 (gst_segment_clip):
11596 * gst/gstsegment.h:
11597 Added segment helper structure and methods. Not fully implemented
11599 Added segment check.
11601 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
11603 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11604 Add a deserialisation test for fractions
11605 * examples/metadata/read-metadata.c: (message_loop),
11606 (make_pipeline), (main):
11607 Fix up metadata reading sample.
11608 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11610 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11611 Don't try and fixate empty caps
11612 * gst/gst_private.h:
11613 Wrap in G_BEGIN_DECLS/G_END_DECLS
11614 * gst/gstvalue.c: (gst_value_collect_fraction),
11615 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11616 (gst_value_transform_string_fraction),
11617 (gst_value_compare_fraction):
11618 Add some extra guards to ensure that we don't end up
11619 with an invalid denominator of 0 in a gstfraction and
11620 that fractions always get reduced.
11622 2005-11-20 Wim Taymans <wim@fluendo.com>
11624 * docs/gst/gstreamer-sections.txt:
11626 * gst/gstelement.c:
11635 2005-11-20 Wim Taymans <wim@fluendo.com>
11637 * docs/design/part-TODO.txt:
11639 Make a proper enum of the flag.
11641 2005-11-19 Wim Taymans <wim@fluendo.com>
11643 * docs/design/part-TODO.txt:
11644 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11645 (gst_format_to_quark), (gst_format_register):
11647 * gst/gstquery.c: (_gst_query_initialize),
11648 (gst_query_type_get_name), (gst_query_type_to_quark),
11649 (gst_query_type_register):
11651 Add type to quark and type to string conversions.
11653 2005-11-19 Andy Wingo <wingo@pobox.com>
11655 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11658 2005-11-19 Wim Taymans <wim@fluendo.com>
11660 * docs/design/part-TODO.txt:
11661 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11662 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11663 (gst_bin_handle_message_func):
11665 Make message handling overridable.
11667 2005-11-19 Andy Wingo <wingo@pobox.com>
11669 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11672 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11674 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11675 is a GstClockTime. Fixes #321710.
11677 * gst/gstclock.h (GstClock): Remove offset property. Add
11678 internal_calibration and external_calibration. Fix padding. Pad
11679 also by GstClockTime so we don't run into problems.
11681 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11682 (gst_clock_get_rate_offset): Remove.
11683 (gst_clock_set_time_adjust): Remove. Fixes #321712.
11686 * gst/gstutils.c (g_static_rec_cond_wait)
11687 (g_static_rec_cond_timed_wait): Removed, no longer needed.
11689 * gst/gstbin.c: Remove terrible continue_state prototype.
11691 * gst/gstelement.h (gst_element_continue_state): Make public.
11693 * gst/gstelement.h:
11694 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11695 by continue_state. Fixes #319389.
11697 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11698 Really fixes #168438. However I don't see anywhere where the
11699 filter function is called... stupid GStreamer...
11701 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11702 don't have a dispose function, so it won't get called when the
11703 object is unreffed, but oh well!
11705 * gst/gstindex.c (gst_index_set_filter_full): New API function,
11706 allows a destroy function to be set so user_data can be freed.
11708 (gst_index_set_filter): Call gst_index_set_filter_full.
11710 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11712 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11713 string should produce an error, given the lack of a way to
11714 represent NULL strings. Fixes #165650.
11717 * gst/gstvalue.c (gst_value_array_append_value)
11718 (gst_value_array_prepend_value, gst_value_array_get_size)
11719 (gst_value_array_get_value): New API, copied from
11720 gst_value_list_*, only operates on arrays.
11721 (gst_value_list_append_value, gst_value_list_prepend_value)
11722 (gst_value_list_concat, gst_value_list_get_size)
11723 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11725 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11726 init_list, because it works on both.
11727 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11728 (gst_value_copy_list_or_array): Renamed from copy_list.
11729 (gst_value_free_list_or_array): Renamed from free_list.
11730 (gst_value_collect_list_or_array): Renamed from collect_list.
11731 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11732 (gst_value_list_or_array_peek_pointer): Renamed from
11734 (_gst_value_array_value_table, _gst_value_list_value_table):
11735 Update value table functions.
11736 (gst_value_compare_list_or_array): Renamed from compare_list.
11738 * gsttaglist.h: Whoops, foreach function returns void. Also fix
11741 * gst/gsttaglist.c:
11742 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11743 GstTagList*. Fixes #143472.
11745 * gst/gststructure.h: Clarify what the foreach/map functions can
11746 or can't do to their arguments.
11748 2005-11-18 Wim Taymans <wim@fluendo.com>
11750 * gst/gstclock.c: (gst_clock_set_calibration),
11751 (gst_clock_get_calibration):
11753 Calibration can be set with internal time equal to current
11756 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
11762 2005-11-18 Andy Wingo <wingo@pobox.com>
11765 * pkgconfig/gstreamer-net.pc.in:
11766 * pkgconfig/gstreamer-net-uninstalled.pc.in:
11767 * pkgconfig/Makefile.am: Add net pkgconfig files.
11769 2005-11-18 Stefan Kost <ensonic@users.sf.net>
11772 * gst/gstghostpad.c:
11778 2005-11-18 Andy Wingo <wingo@pobox.com>
11780 * gst/net/gstnetclientclock.c: Turn off debugging.
11782 * check/net/gstnetclientclock.c (test_functioning): Assert that the
11783 times connverge somewhat. Can't make a real test.
11785 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
11786 integer arithmetic. Return the minimum of the domain, which can be
11787 set as "internal" for gst_clock_set_calibration.
11788 (gst_net_client_clock_observe_times): Call _set_calibration.
11789 (gst_net_client_clock_new): Call _set_calibration instead of
11792 * check/net/gstnetclientclock.c (test_functioning): Use the right
11796 * gst/gstclock.c (gst_clock_get_calibration)
11797 (gst_clock_set_calibration): New functions, obsolete the ones I
11798 added yesterday. Doh. Precision issues mean we have to extrapolate
11799 from a point in the more recent past than 1970.
11800 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
11802 (gst_clock_adjust_unlocked): Use the right calibration data.
11804 2005-11-18 Edward Hervey <edward@fluendo.com>
11806 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11807 Also reset the ->current_* values in READY->PAUSED
11809 2005-11-18 Andy Wingo <wingo@pobox.com>
11811 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
11812 Whoops, check the right fd. Also add some debugging.
11813 (gst_net_client_clock_observe_times): Adjust for int64 offset.
11814 (do_linear_regression): Add a crapload of debugging. Subtract off
11815 the minimum values from the input series to discard unneeded bits.
11816 Use only int arithmetic. There is still double arithmetic when
11817 calculating the intercept that needs fixing. Return boolean to
11818 indicate success; FALSE would mean the domain or range is too
11819 great. Still needs fixes.
11821 2005-11-18 Wim Taymans <wim@fluendo.com>
11823 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
11824 For the current position in stream time, we need to subtract
11827 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11828 Release lock before calling the callback function of async
11831 2005-11-18 Andy Wingo <wingo@pobox.com>
11833 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
11834 Port goes all the way to MAXUINT16.
11836 * gst/net/gstnettimeprovider.c: Make the port range the same as
11837 for the kernel: 0 assigns, otherwise ports are less than
11840 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
11843 * check/net/gstnetclientclock.c (test_functioning): Add the start
11846 2005-11-18 Wim Taymans <wim@fluendo.com>
11848 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11849 (gst_bin_remove_func), (bin_bus_handler):
11851 Removing a clock provider from a bin, triggers a clock lost message
11852 so that a new clock will be selected.
11853 Adding a clock to a bin triggers a clock provider message.
11854 Make sure we reselect a clock when we received a clock lost message.
11855 Keep a reference to the element that provided the clock.
11857 2005-11-18 Andy Wingo <wingo@pobox.com>
11859 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
11860 the clock initially so it produces values around the base time.
11861 (gst_net_client_clock_class_init): Typo fix.
11862 (gst_net_client_clock_thread): Add note on when the socket gets
11865 2005-11-17 Wim Taymans <wim@fluendo.com>
11867 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
11868 Free remote and local time arrays.
11870 2005-11-17 Wim Taymans <wim@fluendo.com>
11872 * gst/net/gstnetclientclock.c: (do_linear_regression),
11873 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
11874 Fix compilation, uninitialized vars and a forgotten continue.
11876 2005-11-17 Andy Wingo <wingo@pobox.com>
11878 * check/Makefile.am (check_PROGRAMS):
11879 * check/net/gstnetclientclock.c: Add a most minimal test for the
11880 net client clock. More to come later.
11882 * gst/net/gstnet.h:
11883 * gst/net/Makefile.am: Add netclientclock.
11885 * gst/net/gstnetclientclock.h:
11886 * gst/net/gstnetclientclock.c: New files, implement an untested
11887 GstClock that takes its time from a network time provider.
11888 Implements the algorithm in network-clock.scm.
11890 * tests/network-clock.scm (*window-size*): Rename from
11892 * tests/network-clock.scm (network-time):
11893 * tests/network-clock-utils.scm (q-push): Update callers.
11895 2005-11-17 Wim Taymans <wim@fluendo.com>
11897 * gst/gstbin.c: (gst_bin_provide_clock_func),
11898 (gst_bin_sort_iterator_new):
11899 And unref the child too..
11901 2005-11-17 Wim Taymans <wim@fluendo.com>
11903 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11904 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
11905 Refactor the sort iterator so it can be used while holding the
11907 Make clock selection select a clock closest to the source.
11909 2005-11-17 Michael Smith <msmith@fluendo.com>
11911 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
11912 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
11914 Anonymous structs are a gcc (and some other compilers) extension, so
11915 don't use them. Since this is only for ABI-compatibility, and our
11916 API/ABI freeze is over in a few days, this whole thing will only
11917 last a few days, so don't bother trying to think up a meaningful
11918 name for the struct.
11920 2005-11-17 Andy Wingo <wingo@pobox.com>
11922 * gst/gstclock.h (GstClock): Add rate and offset properties,
11923 preserving ABI stability. Add rate/offset accessors. Will file bug
11924 for the freeze break.
11926 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
11927 and offset, trying to keep precision and avoiding
11928 underflow/overflow.
11929 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
11930 functions. Make gst_clock_set_time_adjust obsolete.
11931 (gst_clock_set_time_adjust): Note that this function is obsolete.
11932 Will file bug soon.
11934 * gst/base/gstbasetransform.h: Make the ABI-stability hack
11935 greppable by using GST_PADDING-1+1.
11937 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
11939 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11941 * gst/gstmessage.c: (gst_message_parse_clock_lost):
11942 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
11944 * gst/gstpadtemplate.h:
11945 * gst/gstpluginfeature.h:
11946 Don't use c++ style comments in headers (#321638).
11948 2005-11-16 Andy Wingo <wingo@pobox.com>
11950 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
11953 * check/net/gstnettimeprovider.c: Check to see that the time
11954 provider actually provides times. Works, yo!
11956 2005-11-16 Wim Taymans <wim@fluendo.com>
11958 * check/Makefile.am:
11961 * check/elements/fakesrc.c: (GST_START_TEST):
11962 Set element to NULL before disposing it.
11964 2005-11-16 Andy Wingo <wingo@pobox.com>
11966 * gst/net/Makefile.am:
11967 * gst/net/gstnet.h:
11968 * gst/net/gstnettimeprovider.c:
11969 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
11970 provider, include it from gstnet.h, and add it to the build.
11972 * gst/net/gstnettimepacket.h:
11973 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
11974 sending and receiving.
11976 2005-11-16 Wim Taymans <wim@fluendo.com>
11978 * check/Makefile.am:
11979 Enable valgrind check.
11981 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
11982 (gst_fake_src_alloc_buffer):
11985 2005-11-16 Wim Taymans <wim@fluendo.com>
11987 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
11988 Call parent finalize too.
11990 2005-11-16 Wim Taymans <wim@fluendo.com>
11992 * check/Makefile.am:
11993 Enable valgrind check that should work fine now.
11995 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11996 * gst/gstqueue.c: (gst_queue_init):
11997 Fix memleaks in pad allocation.
11999 2005-11-16 Andy Wingo <wingo@pobox.com>
12001 * gst/net/Makefile.am:
12002 * gst/net/gstnet.h: New part of core to hold network elements and
12003 objects. Put in core because it exposes API that applications want
12004 to use. The library is named libgstnet-tempname right now because
12005 of the existing libgstnet in gst-plugins-base. Solution is
12006 probably to rename the one in plugins-base; will file a bug for
12009 * gst/net/gstnettimeprovider.c:
12010 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12011 get_time call over the network.
12014 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12016 * check/Makefile.am:
12017 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12018 get additions shortly.
12020 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12022 * gst/gstpad.c: (gst_pad_new_from_static_template):
12024 add gst_pad_new_from_static_template functions
12025 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12026 (gst_check_setup_sink_pad):
12027 * gst/elements/gsttee.c: (gst_tee_init):
12030 2005-11-16 Wim Taymans <wim@fluendo.com>
12032 * gst/gstpad.c: (gst_pad_pause_task):
12033 Removed warning, it's not really an error either.
12035 2005-11-16 Wim Taymans <wim@fluendo.com>
12037 * gst/base/gstbasetransform.c:
12038 (gst_base_transform_prepare_output_buf),
12039 (gst_base_transform_event):
12040 Check if the caps are NULL, this can happen if the element
12041 is shutting down and the pad caps are set to NULL.
12043 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12045 * gst/elements/gsttee.c: (gst_tee_init):
12046 fix pad template leak in tee
12048 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12050 * gst/glib-compat.c: (g_value_dup_gst_object):
12051 * gst/glib-compat.h:
12052 * gst/gstpad.c: (gst_pad_set_property):
12053 use gst_object_ref when setting the pad template; this will
12054 trigger the pad template leaks on GLib 2.6 and the slaves
12056 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12058 * gst/glib-compat.c: (gst_flags_get_first_value):
12059 * gst/glib-compat.h:
12060 * gst/gstregistryxml.c:
12061 remove functions copied from GLib 2.6
12063 2005-11-16 Michael Smith <msmith@fluendo.com>
12066 Don't link against VALGRIND_LIBS. That was always the wrong thing to
12067 do, but only breaks with newer valgrind versions. We're not a
12068 valgrind tool, we have no link-time dependencies on libcoregrind.
12070 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12072 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12074 * gst/gstmessage.h:
12077 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12079 * gst/base/gstbasesrc.c: (gst_base_src_init):
12080 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12081 * gst/gstqueue.c: (gst_queue_init):
12082 * gst/gstregistryxml.c: (load_feature):
12083 Revert all these unrefs, they don't even pass make check !
12085 2005-11-15 Johan Dahlin <johan@gnome.org>
12087 * gst/base/gstbasesrc.c: (gst_base_src_init):
12088 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12089 * gst/gstqueue.c: (gst_queue_init):
12090 Free pad templates, fixes a couple of leaks.
12092 2005-11-15 Daniel Fischer <dan at f3c dot com>
12094 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12096 * gst/gstpad.c: (gst_pad_get_property):
12097 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12098 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12101 2005-11-15 Wim Taymans <wim@fluendo.com>
12106 2005-11-15 Andy Wingo <wingo@pobox.com>
12108 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12110 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12111 using GST_CLOCK_TIME_NONE to disable base time management.
12112 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12113 time if it was NONE before.
12114 (gst_pipeline_change_state): Only munge the base time if
12115 stream_time != GST_CLOCK_TIME_NONE.
12117 * check/gst/gstpipeline.c (test_base_time): Punt around the
12118 problem of the probe not being called, because that's not the
12119 issue I'm looking at. Add a check that setting stream_time to NONE
12120 disables base time management.
12122 2005-11-15 Wim Taymans <wim@fluendo.com>
12124 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12125 segment_stop == -1 at startup.
12127 * gst/base/gstbasetransform.c: (gst_base_transform_event),
12128 (gst_base_transform_change_state):
12129 Init segment values at start.
12131 2005-11-15 Wim Taymans <wim@fluendo.com>
12133 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12134 0 segment values are 0 in any format.
12136 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12137 * gst/base/gstbasetransform.h:
12138 Parse newsegment correctly in basetransform
12140 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12141 Sync to clock using updated segment values.
12143 2005-11-15 Andy Wingo <wingo@pobox.com>
12145 * check/gst/gstpipeline.c (test_base_time): Add check that the
12146 base time and stream time are reset correctly.
12148 2005-11-15 Wim Taymans <wim@fluendo.com>
12150 * docs/design/part-TODO.txt:
12151 Some more TODO items.
12153 2005-11-15 Andy Wingo <wingo@pobox.com>
12155 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12156 error if the user selected "no clock" as the clocking method.
12158 * check/gst/gstpipeline.c (test_base_time): New test for buffer
12159 timestamps with live capture.
12161 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12162 is 0 but we are a live source, timestamp the buffers using the
12165 2005-11-14 Stefan Kost <ensonic@users.sf.net>
12167 * docs/gst/gstreamer-sections.txt:
12169 * gst/gstghostpad.c:
12174 2005-11-14 Wim Taymans <wim@fluendo.com>
12177 add suppressions from Wim's Debian machine
12179 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
12182 add suppressions from Andy's AMD64 Ubuntu machine
12184 2005-11-14 Andy Wingo <wingo@pobox.com>
12186 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12187 STATE_LOCK not necessary. Fixes #311489.
12189 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12192 * gst/gstindex.c (gst_index_add_object): Note in the docs that
12193 this function is not implemented.
12195 2005-11-14 Julien MOUTTE <julien@moutte.net>
12197 * gst/base/gstbasetransform.c:
12198 (gst_base_transform_prepare_output_buf):
12199 Ref the source pad caps while we need them.
12202 2005-11-11 Wim Taymans <wim@fluendo.com>
12204 * docs/gst/gstreamer-sections.txt:
12205 Added some docs for GstCollectData.
12207 * gst/base/gstadapter.c:
12208 Some small code example fix.
12210 * gst/base/gstcollectpads.c:
12211 * gst/base/gstcollectpads.h:
12212 Document some more.
12214 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12216 * configure.ac: back to HEAD
12218 === release 0.9.5 ===
12220 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12223 releasing 0.9.5, "Bike Lunch Day"
12225 2005-11-11 Wim Taymans <wim@fluendo.com>
12227 * gst/gstbuffer.c: (_gst_buffer_copy):
12230 * gst/gstcaps.c: (gst_caps_is_equal):
12232 Make _is_equal fast in the trivial cases.
12234 * gst/gstminiobject.c:
12235 * gst/gstminiobject.h:
12236 More docs. Spifify .h file.
12241 2005-11-11 Wim Taymans <wim@fluendo.com>
12243 * gst/base/gstbasetransform.c:
12244 (gst_base_transform_prepare_output_buf),
12245 (gst_base_transform_handle_buffer):
12247 If we're processing a buffer and need to allocate an output
12248 buffer, we cannot accept a format change. If we did get a
12249 format change, we have to alloc a buffer ourselves of the
12252 2005-11-11 Wim Taymans <wim@fluendo.com>
12254 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12255 While checking the flag for reentrancy in the gstcaps function
12256 is nice to detect recursive invocations, it also makes it
12257 impossible to call getcaps from multiple threads, which must be
12258 possible. So, checking for recursive calls has to go.
12260 2005-11-11 Michael Smith <msmith@fluendo.com>
12262 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12263 Don't sync on buffers that fall partially outside our current
12264 segment. Prevents an assertion failure/abort playing some files.
12266 2005-11-10 Andy Wingo <wingo@pobox.com>
12268 * check/gst/gstbin.c (test_message_state_changed_children): Style
12271 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12272 gst_bus_poll with the signal watch. Ensures that poll and a signal
12273 watch see the same messages.
12275 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12276 a poll and a watch at the same time get the same messages.
12278 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12280 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12281 * gst/gstcaps.c: (gst_caps_intersect):
12282 Don't call gst_caps_do_simplify - it doesn't respect order of caps
12283 and it's not needed.
12285 2005-11-10 Wim Taymans <wim@fluendo.com>
12287 * docs/design/part-TODO.txt:
12290 2005-11-10 Wim Taymans <wim@fluendo.com>
12292 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12293 * gst/base/gstbasesrc.c: (gst_base_src_wait),
12294 (gst_base_src_do_sync), (gst_base_src_get_range):
12295 Implement clock sync in base class.
12297 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12299 patch by: Tim-Philipp Müller <tim at centricular dot net>
12301 * gst/gststructure.c: (gst_structure_parse_field),
12302 (gst_structure_from_string):
12303 Forward-port a 0.8 patch to handle escaped spaces in structure string,
12304 so that gst_parse_launch() can deal with spaces in filtered link
12305 caps (fixes #164479)
12306 * check/gst/capslist.h:
12307 * check/gst/gststructure.c: (GST_START_TEST):
12308 add unit tests for this change
12310 2005-11-10 Wim Taymans <wim@fluendo.com>
12312 * docs/gst/gstreamer-sections.txt:
12313 * gst/gstelement.c:
12314 * gst/gstelement.h:
12315 Fix docs, move some STATE macros to private.
12317 2005-11-10 Wim Taymans <wim@fluendo.com>
12319 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12320 Added check for bug #317341
12324 Some more spiffifying.
12326 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12327 Call peer linkfunction if we are a source pad. Totally fixes
12331 Update docs, source pads should call the peer linkfunction
12332 so they can atomically perform the pad link.
12334 2005-11-09 Wim Taymans <wim@fluendo.com>
12338 Uber-spiffy-spiffify some more.
12340 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
12342 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12343 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12344 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12345 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12346 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12347 * gst/gstpad.c: (gst_pad_init):
12348 Use GST_DEBUG_FUNCPTR() more extensively.
12350 2005-11-09 Wim Taymans <wim@fluendo.com>
12352 * gst/gstobject.c: (gst_object_class_init):
12354 Documentation fixes.
12356 2005-11-09 Edward Hervey <edward@fluendo.com>
12358 * gst/gsttypefindfactory.c:
12361 2005-11-09 Edward Hervey <edward@fluendo.com>
12363 * gst/base/gsttypefindhelper.c:
12364 * gst/gsttypefind.c:
12365 * gst/gsttypefind.h:
12368 2005-11-09 Wim Taymans <wim@fluendo.com>
12370 * gst/gstiterator.c:
12377 2005-11-09 Wim Taymans <wim@fluendo.com>
12383 2005-11-09 Wim Taymans <wim@fluendo.com>
12385 * docs/gst/gstreamer-sections.txt:
12386 Moved the message async delivery private lock and cond
12387 to the private section.
12389 * gst/gstmessage.c:
12390 * gst/gstmessage.h:
12393 2005-11-09 Edward Hervey <edward@fluendo.com>
12395 * docs/gst/gstreamer-sections.txt:
12398 Document GstURIHandler
12400 2005-11-09 Wim Taymans <wim@fluendo.com>
12402 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12403 (gst_iterator_find_custom):
12404 * gst/gstiterator.h:
12407 2005-11-09 Wim Taymans <wim@fluendo.com>
12410 Document another field.
12412 * gst/gststructure.c:
12413 * gst/gststructure.h:
12416 2005-11-09 Wim Taymans <wim@fluendo.com>
12419 Documented structs.
12421 2005-11-09 Wim Taymans <wim@fluendo.com>
12423 * docs/gst/gstreamer-sections.txt:
12424 Added some new macros.
12431 2005-11-09 Wim Taymans <wim@fluendo.com>
12433 * docs/design/part-TODO.txt:
12434 Some more items for the TODO
12440 2005-11-09 Andy Wingo <wingo@pobox.com>
12442 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12443 to work on something else now tho...
12445 * gst/base/gstadapter.c: More adapter docs.
12447 * gst/elements/gstfilesink.c (gst_file_sink_start)
12448 (gst_file_sink_stop): New functions, replace the state change
12450 (gst_file_sink_class_init): Hook up the start and stop functions.
12451 (gst_file_sink_base_init): Don't set the state change handler any
12452 more. It was a bit ugly too, being set from here...
12453 (gst_file_sink_get_property, gst_file_sink_set_property):
12455 (gst_file_sink_set_location): More robust check that doesn't call
12456 GST_STATE. Ugggggg.
12458 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
12460 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12461 Hold STREAM_LOCK while pushing newsegment or tag events as well.
12463 2005-11-08 Wim Taymans <wim@fluendo.com>
12465 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12466 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12467 (gst_base_sink_chain), (gst_base_sink_change_state):
12468 * gst/base/gstbasesink.h:
12469 * gst/base/gstbasesrc.h:
12470 * gst/gstelement.h:
12472 Avoid excessive typechecking in macros.
12474 * gst/gstminiobject.c: (gst_mini_object_get_type),
12475 (gst_mini_object_init), (gst_mini_object_new),
12476 (gst_mini_object_free):
12477 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12478 (gst_object_finalize):
12479 Remove cruft code, optimize alloc_trace.
12481 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
12483 * docs/faq/gst-uninstalled:
12484 fix up PS1 for systems that try to reset it
12486 2005-11-07 Wim Taymans <wim@fluendo.com>
12488 * gst/base/gstbasesrc.c: (gst_base_src_init),
12489 (gst_base_src_get_range):
12490 Set the segment_end to -1 initially. Fixed typefind.
12492 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
12494 * gst/base/gstadapter.c:
12495 Debug category should be 'adapter', not 'GstAdapter'.
12497 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12498 (gst_collectpads_class_init), (gst_collectpads_init),
12499 (gst_collectpads_peek), (gst_collectpads_pop),
12500 (gst_collectpads_event), (gst_collectpads_chain):
12501 Add debug category and some debugging output. Use boilerplate
12502 macros. Remove some extraneous words from docs.
12504 2005-11-05 Andy Wingo <wingo@pobox.com>
12506 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12509 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12511 * docs/gst/gstreamer-sections.txt:
12514 * gst/gstminiobject.h:
12519 2005-11-04 Wim Taymans <wim@fluendo.com>
12521 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12522 Small update to stop at the configured segment_end
12525 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12527 * gst/gstregistry.c:
12528 * gst/gstregistry.h:
12531 2005-11-04 Edward Hervey <edward@fluendo.com>
12533 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12534 Check if we are doing a segment seek and have arrived at the
12535 end of that segment.
12537 2005-11-04 Wim Taymans <wim@fluendo.com>
12539 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12540 Don't leak a mutex unlock in case of an error.
12545 2005-11-04 Wim Taymans <wim@fluendo.com>
12547 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12549 Get the context to wake up only once.
12551 2005-11-03 Wim Taymans <wim@fluendo.com>
12553 * check/states/sinks.c: (GST_START_TEST):
12554 Uncomment fixed check.
12556 * docs/design/part-TODO.txt:
12559 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12560 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12561 (gst_base_sink_get_position):
12562 If we are going to PLAYING, post the right pending state
12563 when we post the intermediate paused message.
12565 * gst/gstelement.c: (gst_element_continue_state),
12566 (gst_element_set_state_func), (gst_element_change_state):
12567 Don't post state changes that were between the same state
12568 and were not ASYNC.
12570 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12572 * docs/gst/gstreamer-sections.txt:
12575 * gst/gstminiobject.h:
12578 more docs and doc style fixes
12580 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12582 * docs/gst/gstreamer-sections.txt:
12583 * gst/gstelement.c:
12584 * gst/gstminiobject.c:
12587 2005-11-03 Andy Wingo <wingo@pobox.com>
12589 * check/states/sinks.c (test_livesrc_sink): Add checks that the
12590 state-changed messages actually have the right order and the right
12593 2005-11-03 Wim Taymans <wim@fluendo.com>
12595 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12596 Added some more checks. Specifically the case where NO_PREROLL
12597 elements are in the pipeline.
12599 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12600 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12601 (gst_base_sink_get_position):
12602 Post READY->PAUSED state change messages too.
12603 Fix bug where VOID was posted as pending state...
12605 * gst/gstbin.c: (gst_bin_recalc_state):
12606 use _element_continue_state() to continue the state change.
12608 * gst/gstelement.c: (gst_element_continue_state),
12609 (gst_element_commit_state), (gst_element_set_state_func),
12610 (gst_element_change_state), (gst_element_change_state_func):
12611 Lots of state change cleanups, assign the STATE_RETURN in
12612 a new continue_state() function that also propagates the
12613 last return value from a state change to the app.
12614 Update some debug statements with proper category.
12616 2005-11-03 Wim Taymans <wim@fluendo.com>
12618 * docs/design/part-events.txt:
12619 * docs/design/part-gstpipeline.txt:
12620 * docs/design/part-messages.txt:
12621 * docs/design/part-overview.txt:
12622 * docs/design/part-seeking.txt:
12623 * docs/design/part-states.txt:
12624 * docs/design/part-trickmodes.txt:
12625 * docs/manual/advanced-position.xml:
12626 Small docs updates.
12629 People think !! is ugly, this looks better.
12631 * gst/gstpad.c: (gst_pad_set_blocked_async):
12632 Remove !! since it's fixed elsewhere now.
12634 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12636 * gst/gstminiobject.h:
12638 Add !! to _FLAG_IS_SET macros to make the result boolean.
12640 2005-11-03 Edward Hervey <edward@fluendo.com>
12642 * gst/gstpad.c: (gst_pad_set_blocked_async):
12643 comparing a flag and a gboolean rarely returns coherent results...
12644 Added two characters (!!) to make that work correctly.
12646 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12648 * gst/gstbus.c: (gst_bus_class_init):
12651 * gst/gstqueue.c: (gst_queue_loop):
12652 Don't assume a miniobject that isn't a buffer is an
12653 event (it could be that there is a refcounting
12654 problem somewhere and the pointer is stale and
12655 refers to an already destroyed miniobject).
12657 2005-11-03 Julien MOUTTE <julien@moutte.net>
12659 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12661 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12663 * docs/manual/advanced-position.xml:
12664 Update seek example and explanations to current 0.9 API.
12666 * gst/elements/gsttypefindelement.c:
12667 (gst_type_find_element_activate):
12668 Remove FIXME comment now that the found caps
12671 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
12673 * gst/gstregistryxml.c: (load_feature):
12674 Add another GST_STR_NULL instance
12676 2005-11-02 Edward Hervey <edward@fluendo.com>
12678 * gst/gstpad.c: (handle_pad_block):
12679 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12681 2005-11-02 Wim Taymans <wim@fluendo.com>
12686 * gst/gstelement.c: (gst_element_commit_state):
12687 Remove unused value.
12689 * gst/gstiterator.c:
12690 Mention that the returned element is reffed in the docs.
12692 2005-11-02 Wim Taymans <wim@fluendo.com>
12694 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12695 (gst_pad_push), (gst_pad_push_event):
12696 Unlock blocked pads when they are flushed.
12698 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12701 * docs/gst/gstreamer-sections.txt:
12704 * gst/gstregistry.c: (gst_registry_scan_path_level):
12705 fix for a nasty little missed situation where an installed plug-in
12706 which was in the cache did not get overridden by an uninstalled one
12707 which was earlier in the plugin path because the newly created plugin
12708 for the uninstalled one (not in the registry) didn't get its
12709 ->registered set to TRUE
12711 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12713 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12714 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12715 (gst_collectpads_is_active), (gst_collectpads_collect),
12716 (gst_collectpads_collect_range), (gst_collectpads_start),
12717 (gst_collectpads_stop), (gst_collectpads_peek),
12718 (gst_collectpads_pop), (gst_collectpads_available),
12719 (gst_collectpads_read), (gst_collectpads_flush):
12720 Guard public API with assertions.
12723 Fix docs for gst_pad_set_link_function().
12725 2005-11-02 Johan Dahlin <johan@gnome.org>
12727 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
12728 Unref found_caps after we used it.
12730 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12732 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12733 Don't try to ref NULL.
12735 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12737 * win32/common/config.h.in:
12738 provide a GST_FUNCTION that just gives a string for now
12740 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12742 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12743 (gst_object_flags_get_type), (register_gst_bin_flags),
12744 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12745 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12746 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12747 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
12748 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12749 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12750 (gst_clock_flags_get_type), (register_gst_state),
12751 (gst_state_get_type), (register_gst_state_change_return),
12752 (gst_state_change_return_get_type), (register_gst_state_change),
12753 (gst_state_change_get_type), (register_gst_element_flags),
12754 (gst_element_flags_get_type), (register_gst_core_error),
12755 (gst_core_error_get_type), (register_gst_library_error),
12756 (gst_library_error_get_type), (register_gst_resource_error),
12757 (gst_resource_error_get_type), (register_gst_stream_error),
12758 (gst_stream_error_get_type), (register_gst_event_type),
12759 (gst_event_type_get_type), (register_gst_seek_type),
12760 (gst_seek_type_get_type), (register_gst_seek_flags),
12761 (gst_seek_flags_get_type), (register_gst_format),
12762 (gst_format_get_type), (register_gst_index_certainty),
12763 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12764 (gst_index_entry_type_get_type),
12765 (register_gst_index_lookup_method),
12766 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12767 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12768 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12769 (gst_index_flags_get_type), (register_gst_debug_level),
12770 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12771 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12772 (gst_iterator_result_get_type), (register_gst_iterator_item),
12773 (gst_iterator_item_get_type), (register_gst_message_type),
12774 (gst_message_type_get_type), (register_gst_mini_object_flags),
12775 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12776 (gst_pad_link_return_get_type), (register_gst_flow_return),
12777 (gst_flow_return_get_type), (register_gst_activate_mode),
12778 (gst_activate_mode_get_type), (register_gst_pad_direction),
12779 (gst_pad_direction_get_type), (register_gst_pad_flags),
12780 (gst_pad_flags_get_type), (register_gst_pad_presence),
12781 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12782 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12783 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12784 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12785 (gst_plugin_flags_get_type), (register_gst_rank),
12786 (gst_rank_get_type), (register_gst_query_type),
12787 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12788 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12789 (gst_tag_flag_get_type), (register_gst_task_state),
12790 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12791 (gst_alloc_trace_flags_get_type),
12792 (register_gst_type_find_probability),
12793 (gst_type_find_probability_get_type), (register_gst_uri_type),
12794 (gst_uri_type_get_type), (register_gst_parse_error),
12795 (gst_parse_error_get_type):
12796 * win32/common/gstversion.h:
12797 update win32 copies
12799 2005-11-01 Luca Ognibene <luogni@tin.it>
12802 fix docs. popt is dead, long live GOption.
12804 2005-10-31 Wim Taymans <wim@fluendo.com>
12809 2005-10-31 Andy Wingo <wingo@pobox.com>
12813 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
12815 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
12816 need to serialize property notifications on GLib 2.8. GLib 2.6 has
12817 the possibility of deadlocks here if code calling notify() or
12818 set() has a lock that can be taken in another notify handler (ABBA
12819 with class lock and e.g. python GIL state lock).
12821 2005-10-28 Julien MOUTTE <julien@moutte.net>
12823 * gst/gstbus.c: Doc updates.
12825 2005-10-28 Wim Taymans <wim@fluendo.com>
12827 * docs/design/part-TODO.txt:
12828 * gst/gstiterator.c:
12829 * gst/gstsystemclock.c:
12830 * gst/gstsystemclock.h:
12833 2005-10-28 Edward Hervey <edward@fluendo.com>
12835 * docs/gst/gstreamer-docs.sgml:
12836 * docs/gst/gstreamer-sections.txt:
12837 the GstURIType documentation page is private, it only defines GstURIType
12838 which should be defined in the GstURIHandler page
12840 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
12842 * gst/gstbin.c: (gst_bin_class_init):
12845 Documentation updates.
12847 2005-10-28 Wim Taymans <wim@fluendo.com>
12849 * docs/gst/gstreamer-sections.txt:
12852 Documented the clocks.
12854 2005-10-28 Stefan Kost <ensonic@users.sf.net>
12856 * docs/gst/gstreamer-sections.txt:
12857 move some macros to private sections
12858 * gst/gstminiobject.c:
12859 * gst/gstminiobject.h:
12860 add descriptions provided by ds and some more
12862 mark macro as to be removed
12864 2005-10-28 Wim Taymans <wim@fluendo.com>
12866 * docs/design/part-TODO.txt:
12867 Add an item to TODO.
12869 * gst/gstiterator.c: (gst_iterator_fold),
12870 (gst_iterator_find_custom):
12871 * gst/gstiterator.h:
12874 2005-10-28 Wim Taymans <wim@fluendo.com>
12876 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12877 (gst_base_transform_init):
12880 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
12881 An EOS event marks the queue as completely filled.
12883 2005-10-27 Wim Taymans <wim@fluendo.com>
12885 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12886 (gst_base_sink_do_sync), (gst_base_sink_get_position):
12887 Some more debugging.
12889 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
12890 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
12891 (gst_base_transform_event), (gst_base_transform_getrange),
12892 (gst_base_transform_chain):
12893 * gst/base/gstbasetransform.h:
12895 Protect transform and concurrent buffer alloc with a new lock.
12896 Try not to break ABI/API.
12898 2005-10-27 Wim Taymans <wim@fluendo.com>
12900 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12901 (gst_base_src_init), (gst_base_src_query),
12902 (gst_base_src_default_newsegment),
12903 (gst_base_src_configure_segment), (gst_base_src_do_seek),
12904 (gst_base_src_send_event), (gst_base_src_event_handler),
12905 (gst_base_src_pad_get_range), (gst_base_src_loop),
12906 (gst_base_src_unlock), (gst_base_src_default_negotiate),
12907 (gst_base_src_start), (gst_base_src_deactivate),
12908 (gst_base_src_activate_push), (gst_base_src_change_state):
12909 Move some stuff around and cleanup things.
12911 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
12913 * gst/base/gstbasesrc.c: (gst_base_src_query):
12914 Add missing break statements.
12916 2005-10-27 Wim Taymans <wim@fluendo.com>
12918 * check/gst/gstbin.c: (GST_START_TEST):
12919 An extra refcount is taken in basesrc.
12921 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12922 (gst_base_src_get_range), (gst_base_src_pad_get_range),
12923 (gst_base_src_loop):
12924 Small cleanups, check for flushing after being unlocked from the
12925 LIVE_LOCK. take refcounts correctly (not yet everywhere).
12926 Don't send out EOS when going to READY.
12928 2005-10-27 Wim Taymans <wim@fluendo.com>
12930 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12931 (gst_base_sink_get_position):
12934 * gst/gstbin.c: (message_check), (bin_replace_message),
12935 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12936 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12937 (bin_query_duration_init), (bin_query_duration_fold),
12938 (bin_query_duration_done), (bin_query_generic_fold),
12940 * tools/gst-launch.c: (main):
12943 2005-10-26 Stefan Kost <ensonic@users.sf.net>
12945 * examples/controller/audio-example.c: (main):
12946 * examples/queue/queue.c: (event_loop):
12947 * gst/base/gstbasetransform.h:
12948 * gst/gstelement.c: (gst_element_send_event):
12950 * gst/gstpad.c: (gst_pad_send_event):
12953 changing log priority in error situations
12955 2005-10-25 Wim Taymans <wim@fluendo.com>
12957 * gst/gstbin.c: (message_check), (bin_replace_message),
12958 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12959 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12960 (bin_query_duration_init), (bin_query_duration_fold),
12961 (bin_query_duration_done), (bin_query_generic_fold),
12963 Some doc and debug updates.
12964 Cache previously requested query DURATION for speed. invalidate
12965 cached duration if element posts a DURATION message.
12967 2005-10-25 Wim Taymans <wim@fluendo.com>
12969 * docs/design/part-TODO.txt:
12972 * gst/gstbin.c: (message_check), (bin_replace_message),
12973 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12974 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12975 (bin_query_duration_init), (bin_query_duration_fold),
12976 (bin_query_duration_done), (bin_query_generic_fold),
12978 Handle SEGMENT_START/DONE messages correctly.
12979 More evolved query algorithm that handles duration queries
12982 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
12983 (gst_element_get_state_func), (gst_element_abort_state),
12984 (gst_element_commit_state), (gst_element_lost_state):
12985 Some more debugging.
12987 * gst/gstmessage.h:
12990 2005-10-25 Wim Taymans <wim@fluendo.com>
12992 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12993 Don't use invalid stream_time.
12995 * gst/gstevent.c: (gst_event_new_newsegment):
12996 stream_time in newsegment cannot be undefined.
12998 2005-10-24 Wim Taymans <wim@fluendo.com>
13003 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13005 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13007 2005-10-24 Stefan Kost <ensonic@users.sf.net>
13009 * docs/libs/tmpl/gstdparam.sgml:
13010 * docs/libs/tmpl/gstdplinint.sgml:
13011 * docs/libs/tmpl/gstdpman.sgml:
13012 * docs/libs/tmpl/gstdpsmooth.sgml:
13013 * docs/libs/tmpl/gstunitconvert.sgml:
13016 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
13021 === release 0.9.4 ===
13023 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13026 releasing 0.9.4, "Tyrannosaurus Rex"
13028 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
13030 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13031 (gst_file_sink_get_current_offset):
13032 Use fseeko() and ftello() if available. When falling back on
13033 lseek() to get the current offset, fflush() first to make sure
13034 everything is up-to-date and we get the right offset.
13036 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13038 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13039 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13040 * gst/gsterror.c: (_gst_stream_errors_init):
13042 * gst/gstqueue.c: (gst_queue_loop):
13044 remove prematurely added error category and clean up the instances
13046 2005-10-21 Wim Taymans <wim@fluendo.com>
13048 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13049 (gst_base_sink_get_position), (gst_base_sink_query),
13050 (gst_base_sink_change_state):
13051 Simply set the right flag when going to playing, that's all
13052 we need to do instead of calling a function inside the object
13053 lock (that could take the lock as well and deadlock)
13055 2005-10-21 Wim Taymans <wim@fluendo.com>
13057 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13058 (gst_base_src_loop):
13059 Don't warn, the peer element knows what to do best when
13060 the seek failed, it might try something else.
13062 2005-10-21 Wim Taymans <wim@fluendo.com>
13064 * gst/base/gstbasesrc.c: (gst_base_src_init),
13065 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13068 2005-10-21 Wim Taymans <wim@fluendo.com>
13070 * docs/design/part-segments.txt:
13073 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13074 Correctly set caps, even on the subbufer.
13076 2005-10-21 Wim Taymans <wim@fluendo.com>
13078 * docs/gst/gstreamer-docs.sgml:
13079 * docs/gst/gstreamer-sections.txt:
13080 * gst/gstelement.h:
13083 * gst/gstmessage.h:
13086 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13090 And 2% more doc coverage.
13092 2005-10-21 Andy Wingo <wingo@pobox.com>
13094 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13095 position reporting.
13097 2005-10-20 Wim Taymans <wim@fluendo.com>
13099 * gst/gsterror.c: (gst_error_get_message):
13102 * gst/gststructure.c:
13107 2005-10-20 Wim Taymans <wim@fluendo.com>
13112 Another 1% more coverage.
13114 2005-10-20 Wim Taymans <wim@fluendo.com>
13116 * docs/gst/gstreamer-sections.txt:
13117 * gst/gstelement.c: (gst_element_get_state_func),
13118 (gst_element_abort_state), (gst_element_commit_state),
13119 (gst_element_lost_state):
13121 * gst/gstquery.c: (gst_query_set_position),
13122 (gst_query_parse_position), (gst_query_set_duration),
13123 (gst_query_parse_duration), (gst_query_new_convert):
13125 Yay! 1% more docs coverage.
13127 2005-10-20 Wim Taymans <wim@fluendo.com>
13130 * gst/gstquery.c: (gst_query_set_position),
13131 (gst_query_parse_position), (gst_query_set_duration),
13132 (gst_query_parse_duration), (gst_query_new_convert):
13134 * gst/gstutils.c: (gst_element_query_convert):
13136 Docs and consistency fixes.
13138 2005-10-20 Wim Taymans <wim@fluendo.com>
13144 2005-10-20 Wim Taymans <wim@fluendo.com>
13146 * gst/gstbin.c: (message_check), (bin_replace_message),
13147 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13148 (update_degree), (gst_bin_sort_iterator_next),
13149 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13150 Reworked the message handling a bit, cache the messages instead of
13151 only the senders. alows us to do more in the future.
13153 2005-10-20 Wim Taymans <wim@fluendo.com>
13155 * docs/design/part-TODO.txt:
13158 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13159 (gst_base_sink_query):
13160 Don't use clock time to report position when in EOS.
13162 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
13164 * tools/gst-inspect.c: (print_interfaces),
13165 (print_element_properties_info), (print_element_info):
13166 Fix interface output with gst-inspect -a; don't print
13167 newlines after double/float properties.
13169 2005-10-20 Wim Taymans <wim@fluendo.com>
13171 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13172 (gst_base_sink_query):
13173 Speed up current position calculation.
13175 * gst/base/gstbasesrc.c: (gst_base_src_query),
13176 (gst_base_src_default_newsegment):
13177 Correctly set stream position in newsegment.
13179 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13180 (update_degree), (gst_bin_sort_iterator_next),
13181 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13182 * gst/gstmessage.c: (gst_message_new_custom):
13183 Clean up debugging info
13185 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13186 (gst_queue_loop), (gst_queue_handle_src_query):
13189 2005-10-19 Wim Taymans <wim@fluendo.com>
13191 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13192 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13193 Fix query handling again.
13195 2005-10-19 Wim Taymans <wim@fluendo.com>
13197 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13198 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13199 * gst/base/gstbasesrc.c: (gst_base_src_query):
13200 * gst/elements/gstfilesink.c: (gst_file_sink_query):
13201 * gst/elements/gsttypefindelement.c:
13202 (gst_type_find_handle_src_query), (find_element_get_length),
13203 (gst_type_find_element_activate):
13206 * gst/gstquery.c: (gst_query_new_position),
13207 (gst_query_set_position), (gst_query_parse_position),
13208 (gst_query_new_duration), (gst_query_set_duration),
13209 (gst_query_parse_duration), (gst_query_set_segment),
13210 (gst_query_parse_segment):
13212 Bundling query position/duration is not a good idea since duration
13213 does not change much and we don't want to recalculate it for every
13214 position query, so they are separated again..
13215 Base value in segment query is not needed.
13217 * gst/gstqueue.c: (gst_queue_handle_src_query):
13218 * gst/gstutils.c: (gst_element_query_position),
13219 (gst_element_query_duration), (gst_pad_query_position),
13220 (gst_pad_query_duration):
13222 Updates for query API change.
13223 Added some docs here and there.
13225 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
13227 * check/gst/gstbin.c: (GST_START_TEST):
13228 * check/gst/gstghostpad.c: (GST_START_TEST):
13229 * check/pipelines/cleanup.c: (GST_START_TEST):
13230 wait on thread to die so we can check refcount correctly
13232 2005-10-18 Wim Taymans <wim@fluendo.com>
13234 * check/pipelines/stress.c: (GST_START_TEST):
13235 Make check a little more time consuming.
13237 2005-10-18 Wim Taymans <wim@fluendo.com>
13239 * check/Makefile.am:
13240 * check/pipelines/stress.c: (GST_START_TEST),
13241 (simple_launch_lines_suite), (main):
13242 Small state change torture test.
13244 * docs/design/part-states.txt:
13245 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13246 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13247 (gst_base_sink_change_state):
13248 Never take state lock from streaming thread, clean up ugly
13249 hacks. Unfortunatly core does not yet support nice ways to
13250 async commit state.
13252 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13254 Start state recalc if a STATE_DIRTY message is posted, but only
13255 on the toplevel bin.
13257 * gst/gstelement.c: (gst_element_sync_state_with_parent),
13258 (gst_element_get_state_func), (gst_element_abort_state),
13259 (gst_element_commit_state), (gst_element_lost_state),
13260 (gst_element_set_state_func), (gst_element_change_state):
13261 * gst/gstelement.h:
13262 State variables are now protected with the LOCK, the state
13263 lock is only used to serialize _set_state().
13265 2005-10-18 Wim Taymans <wim@fluendo.com>
13267 * check/gst/gstbin.c: (GST_START_TEST):
13268 * check/gst/gstmessage.c: (GST_START_TEST):
13269 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13270 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13272 * gst/gstelement.c: (gst_element_abort_state),
13273 (gst_element_commit_state), (gst_element_lost_state):
13274 * gst/gstmessage.c: (gst_message_new_state_changed),
13275 (gst_message_new_state_dirty), (gst_message_new_segment_start),
13276 (gst_message_new_segment_done), (gst_message_new_duration),
13277 (gst_message_parse_state_changed),
13278 (gst_message_parse_segment_start),
13279 (gst_message_parse_segment_done), (gst_message_parse_duration):
13280 * gst/gstmessage.h:
13281 * tools/gst-launch.c: (event_loop):
13282 Seriously, this is better than a previous commit as we only need
13283 to notify the fact that an element changed state in a streaming
13284 thread, marking the state of the parents dirty, hence the
13285 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13288 2005-10-18 Wim Taymans <wim@fluendo.com>
13290 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13291 (gst_bin_recalc_func):
13292 * gst/gstelement.c: (gst_element_set_clock),
13293 (gst_element_abort_state), (gst_element_lost_state):
13294 Cleanups, prepare for state change fixes.
13296 2005-10-18 Wim Taymans <wim@fluendo.com>
13299 * gst/gstelement.c: (gst_element_class_init),
13300 (gst_element_set_state), (gst_element_set_state_func):
13301 * gst/gstelement.h:
13302 Pending ABI changes.
13303 GThreadPool in GstBinClass to monitor async state changes.
13304 state_cookie in GstElement to detect concurrent gst/set state.
13305 set_state is now virtual too in case a very complicated element
13306 has to be constructed.
13308 2005-10-18 Wim Taymans <wim@fluendo.com>
13310 * check/gst/gstbin.c: (GST_START_TEST):
13311 * check/gst/gstmessage.c: (GST_START_TEST):
13312 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13313 * gst/gstbin.c: (bin_bus_handler):
13314 * gst/gstelement.c: (gst_element_commit_state),
13315 (gst_element_lost_state):
13316 * gst/gstmessage.c: (gst_message_new_state_changed),
13317 (gst_message_new_segment_start), (gst_message_new_segment_done),
13318 (gst_message_new_duration), (gst_message_parse_state_changed),
13319 (gst_message_parse_segment_start),
13320 (gst_message_parse_segment_done), (gst_message_parse_duration):
13321 * gst/gstmessage.h:
13322 * tools/gst-launch.c: (event_loop):
13323 Make messages future proof.
13324 state-change gets a flag if it was a message comming from the
13326 segment-start/stop can also be specified in other formats.
13327 A message to notify an app that a pipeline changed playback
13329 Also fix a GstMessage leak in -launch
13331 2005-10-18 Andy Wingo <wingo@pobox.com>
13333 * gst/gstelement.c (gst_element_dispose): More helpful message.
13335 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13337 reviewed by: <delete if not using a buddy>
13339 * common/gtk-doc.mak:
13341 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13343 * gst/gstregistry.c: (gst_registry_scan_path_level):
13344 unref a plug-in we get that was already initialized
13346 2005-10-18 Stefan Kost <ensonic@users.sf.net>
13348 * docs/gst/gstreamer-sections.txt:
13349 * docs/libs/gstreamer-libs-sections.txt:
13350 * gst/gstelement.h:
13351 add new api entries
13352 hide internal macro
13354 2005-10-17 Andy Wingo <wingo@pobox.com>
13356 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13359 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13361 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13363 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13364 (gst_element_get_state_func): Better debug message.
13365 (gst_element_commit_state): s/INFO/DEBUG/.
13366 (gst_element_lost_state, gst_element_change_state):
13368 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13369 (gst_message_new_custom): s/INFO/LOG/.
13371 2005-10-17 Michael Smith <msmith@fluendo.com>
13373 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13374 Check if end time is valid using end time, not start time.
13376 2005-10-17 Stefan Kost <ensonic@users.sf.net>
13378 * check/gst-libs/controller.c: (GST_START_TEST),
13379 (gst_controller_suite):
13380 * libs/gst/controller/gstcontroller.c:
13381 (gst_controlled_property_set_interpolation_mode):
13382 * libs/gst/controller/gstcontroller.h:
13383 * libs/gst/controller/gstinterpolation.c:
13384 * testsuite/controller/.cvsignore:
13385 * testsuite/controller/Makefile.am:
13386 * testsuite/controller/interpolator.c:
13387 merge controller testsuites
13389 remove mem-chunk from docs
13391 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13393 * gst/gstmemchunk.c:
13394 * gst/gstmemchunk.h:
13395 * gst/gsttrashstack.c:
13396 * gst/gsttrashstack.h:
13397 out. get out. you're fired. to the Attic !
13399 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13401 * gst/gstcaps.c: (gst_caps_intersect):
13402 fix signedness issues in a (hopefully) correct way
13403 * gst/gstelement.c: (gst_element_pads_activate):
13405 * gst/gstobject.c: (gst_object_set_parent):
13408 2005-10-17 Julien MOUTTE <julien@moutte.net>
13410 * gst/gstvalue.h: Fix prototypes.
13412 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13414 * docs/gst/gstreamer-sections.txt:
13415 * gst/gst.c: (gst_version_string):
13417 * gst/gstversion.h.in:
13418 * win32/common/libgstreamer.def:
13419 add gst_version_string ()
13421 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13425 * gst/gst.c: (init_post):
13426 * win32/common/config.h.in:
13428 * gst/gstcaps.c: (gst_caps_intersect):
13429 use gint64, the range could be bigger than a guint
13431 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13434 document potential problem in 2038
13436 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13438 * gst/gstcaps.c: (gst_caps_intersect):
13439 Fix guint j diving under 0
13441 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13444 * win32/common/config.h:
13445 * win32/common/config.h.in:
13446 check for process.h, declares getpid() on Windows
13448 include process.h if we have it
13449 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13450 * gst/gstmemchunk.h:
13451 fix signedness issues
13452 * win32/common/libgstreamer.def:
13455 2005-10-16 Julien MOUTTE <julien@moutte.net>
13457 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13458 fix. Because of unsigned ints, caps intersection was going nuts and
13459 trying to access structures with G_MAXUINT index. That fixes
13460 videotestsrc ! ffmpegcolorspace ! fakesink
13461 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13464 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13467 use the gettext macro
13468 * gst/elements/gstelements.c:
13470 * gst/indexers/gstindexers.c:
13471 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13472 * win32/common/config.h:
13474 * win32/common/config.h.in:
13475 add the template to generate config.h
13476 * win32/common/gstenumtypes.c:
13477 * win32/common/gstversion.h:
13480 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13482 * gst/gst.c: (gst_version):
13483 * gst/gstversion.h.in:
13486 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13489 Oops, add missing closing bracket.
13491 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13494 use common m4's for argument checking
13496 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13498 * docs/gst/gstreamer-sections.txt:
13500 Add GST_EVENT_TYPE_NAME() macro.
13502 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13505 * gst/gstpluginfeature.c:
13507 privatize more symbols
13509 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13512 add srcdir, builddir includes to GST_ALL_CFLAGS, since
13513 everything that uses GStreamer API should have the includes
13515 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13517 * docs/gst/gstreamer-sections.txt:
13518 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13520 give each value a _get_type, removes the DATA exports
13522 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13526 remove _gst_registry_auto_load, not used anymore
13527 * gst/gstbin.c: (gst_bin_get_type):
13529 * gst/gstelement.c: (gst_element_get_type):
13530 * gst/gstelement.h:
13531 * gst/gstobject.c: (gst_object_get_type):
13533 * gst/gstpad.c: (gst_pad_get_type):
13535 make _get_type functions similar, fixes data export from library
13537 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13540 correctly make conditionals
13541 * gst/elements/Makefile.am:
13542 * gst/elements/gstelements.c:
13543 fix typo causing fdsrc not to build
13545 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13547 * testsuite/Makefile.am:
13548 * testsuite/bytestream/.cvsignore:
13549 * testsuite/bytestream/Makefile.am:
13550 * testsuite/bytestream/filepadsink.c:
13551 * testsuite/bytestream/gstbstest.c:
13552 * testsuite/bytestream/test1.c:
13553 * testsuite/bytestream/testfile1:
13554 * testsuite/caps/normalisation.c:
13555 * testsuite/caps/random.c: (main):
13556 * testsuite/cleanup/.cvsignore:
13557 * testsuite/cleanup/Makefile.am:
13558 * testsuite/cleanup/cleanup1.c:
13559 * testsuite/cleanup/cleanup2.c:
13560 * testsuite/cleanup/cleanup3.c:
13561 * testsuite/cleanup/cleanup4.c:
13562 * testsuite/cleanup/cleanup5.c:
13563 * testsuite/controller/interpolator.c:
13564 * testsuite/debug/printf_extension.c: (main):
13565 * testsuite/elements/tee.c:
13566 * testsuite/negotiation/.cvsignore:
13567 * testsuite/negotiation/Makefile.am:
13568 * testsuite/negotiation/pad_link.c:
13569 * testsuite/pad/Makefile.am:
13570 * testsuite/pad/chainnopull.c:
13571 * testsuite/pad/getnopush.c:
13572 * testsuite/pad/link.c:
13573 * testsuite/refcounting/sched.c: (create_pipeline):
13574 * testsuite/registry/Makefile.am:
13575 * testsuite/registry/gst-print-formats.c:
13576 * testsuite/schedulers/.cvsignore:
13577 * testsuite/schedulers/142183-2.c:
13578 * testsuite/schedulers/142183.c:
13579 * testsuite/schedulers/143777-2.c:
13580 * testsuite/schedulers/143777.c:
13581 * testsuite/schedulers/147713.c:
13582 * testsuite/schedulers/147819.c:
13583 * testsuite/schedulers/147894-2.c:
13584 * testsuite/schedulers/147894.c:
13585 * testsuite/schedulers/Makefile.am:
13586 * testsuite/schedulers/group_link.c:
13587 * testsuite/schedulers/queue_link.c:
13588 * testsuite/schedulers/relink.c:
13589 * testsuite/schedulers/unlink.c:
13590 * testsuite/schedulers/unref.c:
13591 * testsuite/schedulers/useless_iteration.c:
13592 * testsuite/states/bin.c:
13593 clean out/remove some stuff from the testsuite directories
13595 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13598 check for some headers
13599 * gst/elements/Makefile.am:
13600 * gst/elements/gstelements.c:
13601 don't compile fdsrc without sys/socket.h
13602 * gst/indexers/Makefile.am:
13603 * gst/indexers/gstindexers.c: (plugin_init):
13604 don't compile fileindex without mmap
13606 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13613 * check/Makefile.am:
13614 * docs/gst/Makefile.am:
13615 * examples/helloworld/Makefile.am:
13617 * gst/base/Makefile.am:
13618 * gst/check/Makefile.am:
13619 * gst/elements/Makefile.am:
13620 * gst/indexers/Makefile.am:
13621 * gst/parse/Makefile.am:
13622 * libs/gst/controller/Makefile.am:
13623 * libs/gst/dataprotocol/Makefile.am:
13624 * examples/helloworld/helloworld.c: (event_loop):
13625 compile fixes, though it's not being compiled currently
13627 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13629 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13630 Add some simple tests for the new taglist date API.
13632 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13634 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13635 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13636 Beautify 'last-message' output: print 'none' for buffer timestamps
13637 and durations if none is set; improve alignment with next messages.
13639 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13641 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13642 * gst/gstpluginfeature.h:
13643 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13644 * gst/gstregistry.h:
13645 * docs/gst/gstreamer-sections.txt:
13646 Add new API to check plugin feature version requirements.
13648 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13649 Some basic tests for the above.
13651 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13653 * gst/gststructure.c: (gst_structure_to_string):
13654 guard against NULL printf - happens when for example
13655 a message structure with GstClock gets serialized
13657 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13659 * gst/base/gstcollectpads.c: (gst_collectpads_event):
13660 Fix presumable copy'n'pasto.
13662 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13664 * gst/elements/gstfakesrc.h:
13665 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13666 * gst/elements/gsttypefindelement.c:
13667 fix some signedness
13668 * gst/elements/gstfilesink.c: (gst_file_sink_render):
13669 I wonder if this could actually write +2GB files before
13671 2005-10-13 Andy Wingo <wingo@pobox.com>
13673 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13674 Fix Timmeke Waymans bug.
13675 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13676 string of the proper length to gst_caps_from_string. There's a
13677 potential for, before this fix, that this could cause someone
13678 connecting over the network to cause a segfault if the payload is
13679 not NUL-terminated.
13681 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13683 * docs/design/draft-push-pull.txt:
13684 * docs/design/part-overview.txt:
13685 * docs/random/TODO-pre-0.9:
13686 * docs/random/old/ChangeLog.gstreamer:
13687 * gst/base/gstpushsrc.c:
13691 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13693 * gst/glib-compat.c: (gst_flags_get_first_value):
13694 * gst/glib-compat.h:
13695 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13696 (gst_value_compare_double), (gst_value_serialize_flags):
13697 GLib 2.6 g_flags_get_first_value has a bug that triggers an
13700 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13702 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13703 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13705 * tools/gst-launch.c: (event_loop):
13706 print out clock nicely
13708 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13710 * docs/gst/gstreamer-sections.txt:
13711 * gst/gsttaglist.h:
13712 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13713 (gst_tag_list_get_date_index):
13714 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13715 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13717 2005-10-13 Julien MOUTTE <julien@moutte.net>
13719 * gst/base/gstcollectpads.c: (gst_collectpads_event),
13720 (gst_collectpads_chain):
13721 * gst/base/gstcollectpads.h: Handle newsegment and store informations
13724 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13726 * docs/gst/gstreamer-sections.txt:
13729 * tools/gst-inspect.c: (main):
13730 * tools/gst-launch.c: (main):
13731 * tools/gst-run.c: (main):
13732 * tools/gst-xmlinspect.c: (main):
13733 fix GOption context leaks
13736 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13740 * win32/common/config.h:
13742 * win32/vs6/grammar.dsp:
13743 * win32/vs6/libgstelements.dsp:
13744 * win32/vs6/libgstreamer.dsp:
13747 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13749 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13750 * gst/base/gstbasesrc.c: (gst_base_src_query):
13751 fix more guint64<->gdouble conversions
13753 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13756 add win32-update target
13757 * win32/common/gstconfig.h:
13758 * win32/common/gstenumtypes.c:
13759 * win32/common/gstenumtypes.h:
13760 * win32/common/gstversion.h:
13761 add files that visual studio can't generate
13763 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13766 add a win32-update target
13769 2005-10-12 Wim Taymans <wim@fluendo.com>
13771 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13772 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
13773 * gst/gstelement.c: (gst_element_commit_state),
13774 (gst_element_set_state):
13775 Protect flags with proper lock.
13776 unref provided cached clock in dispose.
13778 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13781 * gst/gstminiobject.h:
13783 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
13784 removed unused flags from miniobject
13787 2005-10-12 Wim Taymans <wim@fluendo.com>
13789 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13790 (gst_file_sink_event), (gst_file_sink_render):
13791 Flush before seeking.
13793 2005-10-12 Andy Wingo <wingo@pobox.com>
13795 * gst/gst.c (gst_init_check): Ignore unknown options, as has
13796 always been the case.
13798 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13800 * check/gst/gstbin.c: (GST_START_TEST):
13801 * docs/gst/gstreamer-sections.txt:
13802 * gst/base/gstbasesink.c: (gst_base_sink_init):
13803 * gst/base/gstbasesrc.c: (gst_base_src_init),
13804 (gst_base_src_get_range), (gst_base_src_check_get_range),
13805 (gst_base_src_start), (gst_base_src_stop):
13806 * gst/base/gstbasesrc.h:
13807 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
13808 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13809 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
13813 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
13815 * gst/gstelement.c: (gst_element_is_locked_state),
13816 (gst_element_set_locked_state), (gst_element_commit_state),
13817 (gst_element_set_state):
13818 * gst/gstelement.h:
13819 * gst/gstindex.c: (gst_index_init):
13821 * gst/gstminiobject.h:
13822 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
13823 (gst_object_set_parent):
13825 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
13826 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
13828 * gst/gstpadtemplate.h:
13829 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
13830 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13831 * gst/gstpipeline.h:
13832 * gst/indexers/gstfileindex.c: (gst_file_index_load),
13833 (gst_file_index_commit):
13834 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
13835 * testsuite/pad/link.c: (gst_test_src_init),
13836 (gst_test_filter_init), (gst_test_sink_init):
13837 * testsuite/states/locked.c: (main):
13838 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
13839 moved bitshift from macro to enum definition
13841 2005-10-12 Wim Taymans <wim@fluendo.com>
13843 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
13844 * gst/elements/gstfilesink.c: (gst_file_sink_event),
13845 (gst_file_sink_render):
13846 Some more debugging info.
13848 2005-10-12 Wim Taymans <wim@fluendo.com>
13850 * docs/design/part-states.txt:
13851 * tools/gst-launch.c: (main):
13853 Revert non-intentional change.
13855 2005-10-12 Wim Taymans <wim@fluendo.com>
13857 * check/gst/gstbin.c: (GST_START_TEST):
13858 * check/gst/gstelement.c: (GST_START_TEST):
13859 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
13860 * check/gst/gstghostpad.c: (GST_START_TEST):
13861 * check/gst/gstpipeline.c: (GST_START_TEST):
13862 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13863 * check/states/sinks.c: (GST_START_TEST):
13864 * gst/elements/gsttypefindelement.c: (stop_typefinding):
13865 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13866 (gst_bin_remove_func), (gst_bin_get_state_func),
13867 (gst_bin_recalc_state), (gst_bin_change_state_func),
13869 * gst/gstelement.c: (gst_element_get_state_func),
13870 (gst_element_get_state), (gst_element_abort_state),
13871 (gst_element_commit_state), (gst_element_set_state),
13872 (gst_element_change_state), (gst_element_change_state_func):
13873 * gst/gstelement.h:
13874 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
13875 (gst_pipeline_provide_clock_func):
13876 * gst/gstutils.c: (gst_element_link_pads_filtered):
13877 * tools/gst-launch.c: (main):
13878 * tools/gst-typefind.c: (main):
13879 Use GstClockTime in _get_state() instead of GTimeVal.
13880 Remove old code in gstutils.c
13882 2005-10-12 Andy Wingo <wingo@pobox.com>
13884 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
13887 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
13888 there is no task. Shouldn't affect any code, as nothing in our
13889 plugins checks this return value.
13890 (gst_pad_stop_task): Also take the stream lock if the pad has no
13891 task. Docs updated.
13893 2005-10-12 Wim Taymans <wim@fluendo.com>
13895 * gst/gstpad.c: (pre_activate), (post_activate),
13896 (gst_pad_activate_pull), (gst_pad_activate_push):
13897 Cleanup activation code. Reset old state if
13900 2005-10-12 Wim Taymans <wim@fluendo.com>
13902 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13903 (gst_base_sink_change_state):
13904 No need to prerol after receiving EOS.
13906 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13907 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
13908 * gst/elements/gstidentity.c: (gst_identity_event):
13909 Print events more verbosely.
13911 2005-10-12 Wim Taymans <wim@fluendo.com>
13913 * check/Makefile.am:
13914 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13915 * check/states/sinks2.c:
13916 Moved sinks2 testcode in sinks check.
13918 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13919 (gst_bin_remove_func), (gst_bin_recalc_state),
13920 (gst_bin_change_state_func), (bin_bus_handler):
13921 Fix potential race condition when _get_state() iterated over an
13922 ASYNC element right before it posted a state completion.
13925 Do proper cast here.
13927 * gst/gstevent.c: (gst_event_new_newsegment),
13928 (gst_event_parse_newsegment):
13929 A playback rate of 0.0 is not allowed.
13931 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13933 * win32/common/config.h:
13934 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
13935 (_trewinddir), (_ttelldir), (_tseekdir):
13936 * win32/common/dirent.h:
13937 * win32/common/gtchar.h:
13938 * win32/common/libgstbase.def:
13939 * win32/common/libgstreamer.def:
13940 * win32/vs6/grammar.dsp:
13941 * win32/vs6/gst_inspect.dsp:
13942 * win32/vs6/gst_launch.dsp:
13943 * win32/vs6/gstreamer.dsw:
13944 * win32/vs6/libgstbase.dsp:
13945 * win32/vs6/libgstelements.dsp:
13946 * win32/vs6/libgstreamer.dsp:
13947 Visual Studio 6 project files, and a new common directory.
13950 2005-10-11 Wim Taymans <wim@fluendo.com>
13952 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13953 (gst_base_sink_do_sync), (gst_base_sink_query),
13954 (gst_base_sink_change_state):
13955 * gst/base/gstbasesink.h:
13956 Correctly parse newsegment info.
13958 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13960 * gst/gst.c: (init_post):
13961 split plugin paths correctly
13963 2005-10-11 Wim Taymans <wim@fluendo.com>
13965 * check/gst/gstevent.c: (GST_START_TEST):
13966 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13967 (gst_base_sink_change_state):
13968 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
13969 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13970 * gst/elements/gstfilesink.c: (gst_file_sink_event):
13971 * gst/gstevent.c: (gst_event_new_newsegment),
13972 (gst_event_parse_newsegment):
13974 Added extra flag to newsegment for future API freeze.
13975 Updated check and base elements.
13977 2005-10-11 Julien MOUTTE <julien@moutte.net>
13979 * gst/base/gstcollectpads.c: (gst_collectpads_init),
13980 (gst_collectpads_add_pad), (gst_collectpads_pop),
13981 (gst_collectpads_event), (gst_collectpads_chain):
13982 * gst/base/gstcollectpads.h: Handle EOS correctly.
13984 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13986 * tools/gst-launch.c: (main):
13987 more null protecting
13989 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13991 * gst/gst-i18n-lib.h:
13992 check for ENABLE_NLS, not GETTEXT_PACKAGE
13993 * gst/gstregistry.c: (gst_registry_add_plugin),
13994 (gst_registry_scan_path_level),
13995 (_gst_registry_remove_cache_plugins):
13996 protect possibly NULL strings
13997 * gst/parse/types.h:
13998 config.h already included before
13999 * tools/gst-inspect.c: (main):
14000 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14001 check for ENABLE_NLS, not GETTEXT_PACKAGE
14002 * tools/gst-launch.c: (main):
14003 check for ENABLE_NLS, not GETTEXT_PACKAGE
14005 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14008 if we don't have glib, fail before testing 2.8
14009 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14010 fix a leak, should fix plugins-base testsuite
14012 2005-10-11 Andy Wingo <wingo@pobox.com>
14014 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14015 take the mode we're going to as an arg. Go head and set the mode
14016 and flushing flags now, so that if the activate function starts a
14017 thread all the flags will be in the right state.
14018 (post_activate): Renamed also. Just handle making sure streaming
14019 finishes for the deactivation case, and setting the deactivated
14021 (gst_pad_set_active): Complain loudly if deactivation fails.
14022 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14023 (gst_pad_activate_push): Adapt to pre/post_activate changes,
14024 remove the terrible hack.
14026 2005-10-11 Wim Taymans <wim@fluendo.com>
14028 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14029 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14030 (gst_bin_recalc_state), (gst_bin_change_state_func),
14031 (gst_bin_dispose), (bin_bus_handler):
14033 Prepare to make current EOS message queue more generic.
14036 * gst/gstevent.c: (gst_event_new_newsegment),
14037 (gst_event_parse_newsegment):
14039 Rename base to stream_time.
14041 * gst/gstmessage.h:
14044 2005-10-11 Wim Taymans <wim@fluendo.com>
14046 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14047 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14048 (gst_bin_change_state_func), (bin_bus_handler):
14050 Work on proper clock selection.
14052 2005-10-11 Edward Hervey <edward@fluendo.com>
14054 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
14055 * libs/gst/controller/gstcontroller.h:
14056 Added GList* version of _remove_properties() in order to be able to wrap
14059 2005-10-11 Wim Taymans <wim@fluendo.com>
14061 * docs/design/part-states.txt:
14064 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14065 (gst_bin_change_state_func), (bin_bus_handler):
14066 Doc updates. Don't distribute the same clock over and over again.
14072 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14073 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14074 (gst_pad_send_event):
14076 Make probe emission threadsafe again.
14077 Register quarks and move _get_name() from utils.
14080 * gst/gstpipeline.c: (gst_pipeline_class_init),
14081 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14082 Only redistribute the clock of it changed.
14084 * gst/gstsystemclock.h:
14089 Moved the _flow_get_name() to GstPad.
14091 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14093 * check/gst-libs/gdp.c: (GST_START_TEST):
14094 * check/gst/gstcaps.c: (GST_START_TEST):
14095 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14096 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14097 (gst_dp_packet_from_caps):
14098 fix more valgrind warnings before turning up the heat
14100 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14102 * gst/parse/grammar.y:
14103 some cleanup before the hacking
14105 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14107 * gst/base/gstbasesrc.c: (gst_base_src_query):
14109 * gst/gstutils.c: (gst_guint64_to_gdouble),
14110 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14112 externalize, basesrc uses it
14113 obviously the implementation needs testing
14115 2005-10-10 Wim Taymans <wim@fluendo.com>
14117 * tests/sched/Makefile.am:
14118 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14119 (make_pipeline3), (make_pipeline4), (print_elem), (main):
14121 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14123 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14124 apparently converting from guint64 to double is not implemented
14127 2005-10-10 Wim Taymans <wim@fluendo.com>
14129 * check/Makefile.am:
14130 * check/generic/states.c: (GST_START_TEST):
14131 * check/gst/gstbin.c: (GST_START_TEST):
14132 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14133 * check/states/sinks.c: (GST_START_TEST):
14134 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14136 Check fixes, use API as stated in design docs, remove hacks.
14138 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14139 (gst_base_sink_change_state):
14140 Catch stopping our task while we're shutting down.
14142 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14143 (gst_bin_remove_func), (gst_bin_get_state_func),
14144 (gst_bin_recalc_state), (gst_bin_change_state_func),
14147 * gst/gstelement.c: (gst_element_init),
14148 (gst_element_get_state_func), (gst_element_abort_state),
14149 (gst_element_commit_state), (gst_element_lost_state),
14150 (gst_element_set_state), (gst_element_change_state),
14151 (gst_element_change_state_func):
14152 * gst/gstelement.h:
14153 New state change algorithm (see #318116)
14155 * gst/gstpipeline.c: (gst_pipeline_class_init),
14156 (gst_pipeline_init), (gst_pipeline_set_property),
14157 (gst_pipeline_get_property), (do_pipeline_seek),
14158 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14159 * gst/gstpipeline.h:
14160 Remove crude state change hacks.
14163 Remove crude hacks.
14165 * tools/gst-launch.c: (main):
14166 Fixes for state change. Needs some more work to fully use the
14169 2005-10-10 Andy Wingo <wingo@pobox.com>
14171 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14173 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14174 this flag, but it's not even in GLib 2.6. Odd. Hack around the
14177 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14179 * gst/gstiterator.c: (gst_iterator_new):
14180 Fix my previous commit: GTypes passed to gst_iterator_new()
14181 can be fundamental types.
14183 2005-10-10 Wim Taymans <wim@fluendo.com>
14185 * gst/gstelement.c: (gst_element_iterate_pad_list),
14186 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14187 (gst_element_iterate_sink_pads):
14188 Use src/sink pads lists for the respective iterators instead
14191 2005-10-10 Andy Wingo <wingo@pobox.com>
14193 Merged in popt removal + GOption addition patch from Ronald, bug
14196 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14197 GstElement macros around, remove popt-related symbols, add goption
14200 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14202 * docs/gst/Makefile.am:
14203 * docs/libs/Makefile.am: No POPT_CFLAGS.
14205 * examples/manual/Makefile.am:
14206 * docs/manual/basics-init.xml: Doc updates with an example.
14208 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14209 (gst_init), (parse_one_option), (parse_goption_arg):
14210 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14211 bit of hand merging and debugging to get the GOption stuff working
14214 * tests/Makefile.am:
14215 * tools/Makefile.am:
14216 * tools/gst-inspect.c: (main):
14217 * tools/gst-launch.c: (main):
14218 * tools/gst-run.c: (main):
14219 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14221 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14223 * gst/gstiterator.c: (gst_iterator_new):
14224 Add assertions to make sure passed GType is likely to really
14225 be a GType (as the compiler won't catch it if the size and
14226 GType arguments get mixed up, see #318447).
14228 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
14230 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14232 * gst/gstbin.c: (gst_bin_iterate_sorted):
14233 Pass GType and size arguments to gst_iterator_new() in the right
14234 order (maybe we should make _new() take the GType as first argument
14235 just like _new_list()?) (#318447).
14238 2005-10-10 Wim Taymans <wim@fluendo.com>
14240 * gst/gstelement.c: (gst_element_finalize):
14241 And free the GStaticRecMutex too
14243 2005-10-10 Andy Wingo <wingo@pobox.com>
14245 * gst/gstelement.c (gst_element_init, gst_element_finalize):
14246 Allocate and free the mutex properly.
14248 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14250 (GstElement): The state_lock is now recursive. Rebuild your
14251 plugins, suckers. Old macros adapted.
14253 * docs/gst/gstreamer-sections.txt: Doc updates.
14256 * gst/gstutils.c (g_static_rec_cond_timed_wait)
14257 (g_static_rec_cond_wait): Ported from state changes patch, while
14258 we wait on bug #317802 to be solved in a well-distributed GLib.
14260 * gst/gstelement.c (gst_element_change_state_func): Renamed from
14261 gst_element_change_state, variable name changes.
14262 (gst_element_change_state): Split out of gst_element_set_state in
14263 preparation for the state change merge. Doesn't pay attention to
14264 the 'transition' argument.
14265 (gst_element_set_state): Updates, hopefully purely cosmetic.
14266 (gst_element_sync_state_with_parent): MT-safety. Ported from the
14267 state change patch.
14268 (gst_element_get_state_func): Renamed from get_state, cosmetic
14271 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14273 * gst/elements/gstelements.c:
14274 * win32/GStreamer.vcproj:
14276 * win32/dirent.c: (_tseekdir):
14277 * win32/gst-inspect.vcproj:
14278 * win32/gst-launch.vcproj:
14279 * win32/gstconfig.h:
14280 * win32/gstelements.vcproj:
14281 * win32/gstenumtypes.c: (gst_object_flags_get_type):
14282 * win32/gstreamer.def:
14283 * win32/msvc71.sln:
14284 updates for the win32 build (patch from Sebastien Moutte)
14286 2005-10-10 Andy Wingo <wingo@pobox.com>
14288 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14289 gst_bin_get_state, cleaned up (but no logic changes).
14290 (bin_element_is_sink): Comment updates.
14291 (sink_iterator_filter): Remove needless cast.
14292 (gst_bin_iterate_sinks): Doc update.
14293 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14294 cleaned up (but no logic changes).
14296 * check/states/sinks.c (test_src_sink): Cleanups from the state
14298 (test_livesrc_sink): Sync on the state.
14300 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14301 the state change patch.
14303 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14306 * check/gst/gstbin.c: Merge in some style fixes and additional
14307 checks from Wim's state change patch.
14309 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14311 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14312 (gst_type_find_helper):
14313 Check whether we have the requested data already in our list of
14314 cached buffers before pulling a new buffer; also make the buffer
14315 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14317 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14322 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14323 don't use long long, it's not portable. Replacing with
14324 gint64 seems to work; let's hope no skeletons fall out of the closet.
14326 2005-10-10 Andy Wingo <wingo@pobox.com>
14328 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14330 2005-10-09 Stefan Kost <ensonic@users.sf.net>
14332 * docs/gst/gstreamer-sections.txt:
14337 * gst/gstmessage.c: (gst_message_parse_state_changed):
14340 more docs, fix compilation
14342 2005-10-09 Philippe Khalaf <burger@speedy.org>
14343 * gst/gstmessage.c:
14344 Fixed a few forgotten variables on previous commit
14346 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
14348 * gst/base/gsttypefindhelper.c: (helper_find_peek):
14349 Fix evil typefind crasher: getrange() might return a short
14350 buffer at the end of a file, but gst_type_find_peek() must
14351 either return the full data as requested or NULL, but
14352 never a short buffer.
14354 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
14356 * gst/gstmessage.c: (gst_message_new_state_changed),
14357 (gst_message_parse_state_changed):
14358 * gst/gstmessage.h:
14359 don't use "new", it's a C++ keyword
14361 2005-10-08 Wim Taymans <wim@fluendo.com>
14363 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14364 * gst/gstelement.c: (gst_element_post_message):
14365 * gst/gstpipeline.c: (gst_pipeline_change_state):
14366 Small docs and debug updates.
14368 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14370 * docs/gst/gstreamer-sections.txt:
14371 * gst/gstelementfactory.c:
14373 * gst/gsttaglist.c:
14376 2005-10-08 Wim Taymans <wim@fluendo.com>
14378 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14379 (gst_bin_dispose), (bin_bus_handler):
14380 Fix typos, add comments.
14381 Clear EOS list when going to PAUSED from any direction and do it
14382 in a threadsafe way.
14383 Get base time in a threadsafe way too.
14384 Fix confusing debug in the change_state function.
14385 Various other small cleanups.
14387 * gst/gstelement.c: (gst_element_post_message):
14388 Fix very verbose bus posting code.
14390 * gst/gstpipeline.c: (gst_pipeline_class_init),
14391 (gst_pipeline_set_property), (gst_pipeline_get_property),
14392 (gst_pipeline_change_state):
14393 Small ARG_ -> PROP_ cleanup
14395 2005-10-08 Wim Taymans <wim@fluendo.com>
14397 * gst/gstbin.c: (is_eos), (bin_bus_handler):
14398 Do a less CPU demanding EOS check because we can.
14400 2005-10-08 Wim Taymans <wim@fluendo.com>
14402 * libs/gst/dataprotocol/dataprotocol.c:
14403 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14404 (gst_dp_packet_from_event):
14405 * libs/gst/dataprotocol/dataprotocol.h:
14406 * libs/gst/dataprotocol/dp-private.h:
14407 It's about time we bump the version number.
14408 Since event types don't fit in the guint8 anymore describing
14409 the payload type, make payload type 16 bits wide.
14411 2005-10-08 Wim Taymans <wim@fluendo.com>
14413 * docs/design/part-TODO.txt:
14414 * docs/design/part-clocks.txt:
14415 * docs/design/part-events.txt:
14416 * docs/design/part-gstbin.txt:
14417 * docs/design/part-gstelement.txt:
14418 * docs/design/part-gstpipeline.txt:
14419 * docs/design/part-live-source.txt:
14420 * docs/design/part-messages.txt:
14421 * docs/design/part-overview.txt:
14422 * docs/design/part-states.txt:
14425 2005-10-08 Wim Taymans <wim@fluendo.com>
14429 Fix event quark registration.
14430 Add some space between events so we can insert them in the
14433 2005-10-08 Wim Taymans <wim@fluendo.com>
14435 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14436 (gst_base_sink_handle_buffer):
14437 Better log message.
14440 * gst/gstelement.h:
14443 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14444 (gst_queue_set_property), (gst_queue_get_property):
14446 Remove old unused properties.
14448 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14449 * docs/gst/gstreamer-sections.txt:
14450 * gst/gstmessage.c:
14451 * gst/gstmessage.h:
14452 * gst/gstminiobject.c:
14453 * gst/gstminiobject.h:
14457 lots of new docs and doc fixes
14459 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14461 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14463 * gst/gstregistry.c: (gst_registry_lookup_locked),
14464 (gst_registry_scan_path_level):
14465 * gst/gstregistryxml.c: (load_plugin):
14466 Only ever load one plugin for a given plugin basename.
14467 This ensures correct overriding of GST_PLUGIN_PATH over
14468 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14469 system installed plugins.
14471 2005-10-08 Wim Taymans <wim@fluendo.com>
14473 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14474 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14475 Prepare for doing QOS.
14477 2005-10-08 Wim Taymans <wim@fluendo.com>
14479 * check/gst/gstbin.c: (GST_START_TEST):
14480 * check/pipelines/cleanup.c: (GST_START_TEST):
14481 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14482 Allow new clock message too.
14484 2005-10-08 Wim Taymans <wim@fluendo.com>
14486 * gst/gstmessage.c: (gst_message_new_error),
14487 (gst_message_new_warning), (gst_message_new_tag),
14488 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14489 (gst_message_new_clock_lost), (gst_message_new_new_clock),
14490 (gst_message_new_segment_start), (gst_message_new_segment_done),
14491 (gst_message_parse_state_changed),
14492 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14493 (gst_message_parse_new_clock):
14494 * gst/gstmessage.h:
14495 Also carry the clock in question.
14497 2005-10-08 Wim Taymans <wim@fluendo.com>
14499 * gst/gstmessage.c: (gst_message_new_custom),
14500 (gst_message_new_eos), (gst_message_new_error),
14501 (gst_message_new_warning), (gst_message_new_tag),
14502 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14503 (gst_message_new_new_clock), (gst_message_new_segment_start),
14504 (gst_message_new_segment_done), (gst_message_parse_state_changed),
14505 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14506 * gst/gstmessage.h:
14508 Added clock related messages.
14510 * gst/gstpipeline.c: (gst_pipeline_change_state):
14511 Post message when the clock changed.
14513 * tools/gst-launch.c: (event_loop):
14516 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
14518 * tools/gst-inspect.c: (print_element_properties_info):
14519 Can't pass NULL strings to g_print() on windows.
14521 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14523 * docs/Makefile.am:
14524 * docs/gst/Makefile.am:
14525 * docs/gst/gstreamer-docs.sgml:
14526 * docs/gst/running.xml:
14527 * docs/version.entities.in:
14528 add a chapter on running GStreamer.
14529 document GST_DEBUG and GST_PLUGIN* env vars
14531 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14536 remove PLUGINS_BUILDDIR stuff
14537 * gst/gst.c: (init_post):
14538 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14540 remove, it was condescending and not needed
14542 2005-10-08 Wim Taymans <wim@fluendo.com>
14544 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14545 (gst_base_sink_handle_object), (gst_base_sink_event),
14546 (gst_base_sink_wait), (gst_base_sink_handle_event),
14547 (gst_base_sink_change_state):
14548 * gst/base/gstbasesink.h:
14549 Repost EOS message while going to PLAYING if still EOS.
14550 Make sure that when receiving a FLUSH_START we don't attempt
14551 to sync on the clock anymore.
14553 2005-10-08 Wim Taymans <wim@fluendo.com>
14555 * tools/gst-launch.c: (event_loop):
14556 Better message printout.
14558 2005-10-08 Wim Taymans <wim@fluendo.com>
14560 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14561 (gst_bin_child_proxy_get_children_count):
14562 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14563 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14564 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14565 (gst_child_proxy_set_valist):
14566 * gst/parse/grammar.y:
14567 Make ChildProxy threadsafe and fix mem leaks.
14569 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14571 * gst/gst.c: (init_post):
14572 debug the GST_PLUGIN_ env vars
14574 2005-10-08 Wim Taymans <wim@fluendo.com>
14576 * check/gst/gstbin.c: (GST_START_TEST):
14577 * check/gst/gstmessage.c: (GST_START_TEST):
14578 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14579 * gst/gstelement.c: (gst_element_commit_state),
14580 (gst_element_lost_state):
14581 * gst/gstmessage.c: (gst_message_new_state_changed),
14582 (gst_message_parse_state_changed):
14583 * gst/gstmessage.h:
14584 * tools/gst-launch.c: (event_loop):
14585 Added extra field to STATE_CHANGE message with the pending
14586 state, which will be different from the new state soon.
14588 2005-10-08 Wim Taymans <wim@fluendo.com>
14590 * gst/gstbus.c: (gst_bus_pop):
14592 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14593 Small cleanups and doc updates.
14595 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14597 * gst/gst.c: (init_pre):
14598 * gst/gstbin.c: (gst_bin_add_func):
14599 log distributing clocks and base time
14600 * gst/gstregistry.c: (gst_registry_add_plugin),
14601 (gst_registry_scan_path_level), (gst_registry_scan_path):
14602 clean up the debugging output a little
14603 * gst/gstutils.c: (gst_element_state_get_name):
14604 warn about a memleak (I've actually seen this be used, though
14605 it was probably a bug)
14607 2005-10-07 Wim Taymans <wim@fluendo.com>
14609 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14610 (gst_base_src_init), (gst_base_src_default_newsegment),
14611 (gst_base_src_newsegment), (gst_base_src_do_seek),
14612 (gst_base_src_loop), (gst_base_src_start):
14613 * gst/base/gstbasesrc.h:
14614 Make the newsegment event customizable by subclasses.
14616 2005-10-07 Wim Taymans <wim@fluendo.com>
14618 * gst/gstevent.c: (gst_event_new_buffersize),
14619 (gst_event_parse_buffersize):
14621 New event for future idea.
14623 2005-10-07 Andy Wingo <wingo@pobox.com>
14625 * gst/gstelement.c (gst_element_post_message): Doc update.
14627 * docs/gst/gstreamer-sections.txt: Update.
14629 * gst/gstmessage.c (gst_message_new_application): Made into a
14630 function like honest API calls.
14631 (gst_message_new_element): New message type.
14633 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14635 * check/elements/fakesrc.c (test_no_preroll): New check, checks
14636 that setting a live fakesrc to PAUSED returns NO_PREROLL both
14639 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14640 NO_PREROLL from gst_element_change_state to fall through.
14642 2005-10-07 Wim Taymans <wim@fluendo.com>
14644 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14645 (gst_ghost_pad_do_activate_push):
14646 Activating a ghostpad with no internal pad in push mode
14649 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
14652 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14653 Fixes compilation on Windows.
14655 2005-10-07 Michael Smith <msmith@fluendo.com>
14657 * tools/gst-inspect.c:
14658 Print out feature and plugin count at the end when printing out
14661 2005-10-04 Michael Smith <msmith@fluendo.com>
14663 * gst/gsterror.c: (_gst_stream_errors_init):
14664 Add another error string used in a few existing plugins.
14667 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14668 * tools/gst-inspect.c: (print_element_info):
14669 When a feature disappears from a plugin (and the feature exists in
14670 the cached registry file), things went horribly wrong. This isn't a
14671 complete fix, we should actually be removing the 'missing' features
14672 from the features list when we load the actual plugin. That's not
14675 2005-10-04 Johan Dahlin <johan@gnome.org>
14677 * check/gst/gstiterator.c: (GST_START_TEST):
14678 * gst/gstbin.c: (gst_bin_iterate_elements),
14679 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14680 * gst/gstelement.c: (gst_element_iterate_pads):
14681 * gst/gstformat.c: (gst_format_iterate_definitions):
14682 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14683 (gst_iterator_new_list), (gst_iterator_filter):
14684 * gst/gstiterator.h:
14685 * gst/gstquery.c: (gst_query_type_iterate_definitions):
14686 Add a GType to GstIterator, update callsites and tests.
14688 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14690 * gst/gstpad.c: (gst_pad_event_default_dispatch):
14691 give events a chance to be handled by event probes when the pad
14694 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14696 * gst/gstevent.c: (gst_event_type_get_name),
14697 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14699 add string representations for event types
14701 2005-10-06 Wim Taymans <wim@fluendo.com>
14703 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14704 Don't use NULL pointers.
14706 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14708 * gst/gst_private.h:
14710 * gst/gstelement.c:
14712 * gst/gstpluginfeature.c:
14713 widen the debug category in output to fit the biggest one we have
14714 add a bus category and use it
14715 play with the colors
14716 fix up some categories
14718 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14720 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14721 add push activation of sink ghost pads.
14722 Andye, please verify
14724 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14726 * gst/gstutils.c: (gst_element_link_pads):
14727 fix a bug in the case where neither element has a pad
14728 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14729 add a test for that case
14731 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14733 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14734 emit have-data before checking for peers. This allows
14735 for probe handlers to connect elements. This helps autopluggers.
14736 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14738 add six checks, linked/unlinked with no/true/false probe
14740 2005-10-04 Wim Taymans <wim@fluendo.com>
14742 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14743 (gst_fake_sink_event), (gst_fake_sink_preroll),
14744 (gst_fake_sink_render), (gst_fake_sink_change_state):
14745 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14746 (gst_fake_src_get_property), (gst_fake_src_create),
14747 (gst_fake_src_stop):
14748 * gst/elements/gstidentity.c: (gst_identity_stop):
14749 Protect last_message with lock.
14751 2005-10-04 Edward Hervey <edward@fluendo.com>
14754 Added precision in the comments for GST_FORMAT_DEFAULT
14756 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
14758 * tools/gst-launch.c: (main):
14759 Don't try to run erroneous pipelines.
14761 2005-10-04 Julien MOUTTE <julien@moutte.net>
14763 * gst/gstbus.c: We don't need this header.
14765 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14768 back to development
14770 === release 0.9.3 ===
14772 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14776 Releasing 0.9.3, "Unregistered"
14778 2005-10-03 Andy Wingo <wingo@pobox.com>
14780 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
14781 whereby calling a pad's activatepush() function can start a thread
14782 that starts to push or pull before the pad gets the FLUSHING flag
14783 unset. Hack around it by holding the stream lock until the flag is
14784 set. Need to replace this with a proper solution. Together with
14785 the ghost pad fixes, this fixes mp3 playing/tagreading.
14787 * docs/design/part-gstghostpad.txt: Add a note about activation of
14788 proxy pads outside of ghost pads.
14790 * gst/gstghostpad.c: Implement the ghost pad activation design.
14792 2005-10-02 Andy Wingo <wingo@pobox.com>
14794 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
14795 It is volatile, after all.
14797 * docs/design/part-gstghostpad.txt: Flesh out activation with
14800 * gst/base/gstbasesrc.c (gst_base_src_init): Use
14803 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
14806 Fix (unused) AM_CONDITIONAL tests.
14808 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
14810 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14812 * gst/gstutils.c: (gst_pad_query_convert):
14813 Add assertion that makes sure src_val is >=0, just like
14814 gst_query_new_convert() has. (#315895)
14816 2005-09-30 Edward Hervey <edward@fluendo.com>
14818 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
14819 Let's not iterate pads we're not interested in, it avoids getting
14820 sky-high refcounts on sinkpad.
14822 2005-09-30 Wim Taymans <wim@fluendo.com>
14824 * gst/gstelement.c: (gst_element_set_state),
14825 (gst_element_change_state):
14826 Small tweak, element in ASYNC remains ASYNC.
14828 2005-09-30 Wim Taymans <wim@fluendo.com>
14830 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14831 Only error is an error.
14833 * gst/gstbin.c: (gst_bin_change_state):
14836 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
14837 Also call pad_block in pad alloc.
14839 * gst/gstutils.c: (gst_flow_get_name):
14842 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14844 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14845 (gst_base_src_get_range):
14846 Fix documentation typos. Add some more debug info.
14848 2005-09-29 David Schleef <ds@schleef.org>
14850 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
14851 more end-user friendly.
14852 * tools/gst-inspect.c: (main): Check if command-line argument is
14853 a file and attempt to load that file as a plugin.
14855 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14857 * check/gst/gstbin.c:
14858 * check/states/sinks.c:
14859 fix tests for the new warning
14860 * check/gst/gstpipeline.c:
14861 add a test for pipeline and bus interaction
14862 * gst/gstelement.c:
14863 elements should be NULL if they get disposed; add a warning if not
14865 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14868 for 2.6 refcounting, make debug log more correct by printing
14869 the actual refcounts at the time of swap (Wim)
14871 2005-09-29 Andy Wingo <wingo@pobox.com>
14873 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
14874 removes signal watches previously added via
14875 gst_bus_add_signal_watch.
14876 (gst_bus_add_signal_watch): Don't return the source id, just store
14877 it on the bus if there wasn't an id already.
14879 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
14880 add_signal_watch and remove_signal_watch.
14882 2005-09-29 Edward Hervey <edward@fluendo.com>
14884 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
14885 Better if we actually iterate the list :)
14887 2005-09-29 Wim Taymans <wim@fluendo.com>
14889 * check/gst/gstbin.c: (GST_START_TEST):
14890 Change for new bus API.
14892 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
14893 (send_messages), (GST_START_TEST), (gstbus_suite):
14894 Change for new bus signal API.
14896 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
14897 (gst_bus_source_prepare), (gst_bus_source_check),
14898 (gst_bus_create_watch), (gst_bus_add_watch_full),
14899 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
14900 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
14902 Remove support for multiple GSources operating on different
14903 message types as it is too complex and unneeded when using
14905 Added support for receiving signals from the bus.
14907 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14909 * docs/libs/tmpl/gstdataprotocol.sgml:
14910 * docs/manual/advanced-dataaccess.xml:
14911 * gst/elements/gstcapsfilter.c:
14913 rename filter-caps to caps property
14915 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14917 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14918 More robust fraction string parsing.
14920 * docs/pwg/appendix-porting.xml:
14921 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
14923 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14925 * gst/gstcaps.c: (gst_caps_do_simplify):
14926 Thou shalt not free a structure and then continue using it
14927 in the next loop iteration.
14929 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
14931 Add test case for caps simplification.
14933 2005-09-29 Wim Taymans <wim@fluendo.com>
14935 * check/gst/gstbin.c: (GST_START_TEST):
14938 2005-09-29 Wim Taymans <wim@fluendo.com>
14940 * check/gst/gstbin.c: (GST_START_TEST):
14943 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
14944 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
14945 (find_element), (gst_bin_sort_iterator_next),
14946 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14947 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14948 (gst_bin_change_state), (gst_bin_dispose):
14949 A bin does not have a bus, it gets the bus from the parent.
14951 * gst/gstelement.c: (gst_element_requires_clock),
14952 (gst_element_provides_clock), (gst_element_is_indexable),
14953 (gst_element_is_locked_state), (gst_element_change_state),
14954 (gst_element_set_bus_func):
14957 * gst/gstpipeline.c: (gst_pipeline_class_init),
14958 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
14959 The pipeline provides a bus.
14961 2005-09-28 Johan Dahlin <johan@gnome.org>
14963 * gst/gstmessage.c (gst_message_parse_state_changed): Use
14964 gst_structure_get_enum instead of gst_structure_get_int
14966 * gst/gststructure.c (gst_structure_get_enum): Impl.
14968 * gst/gststructure.h (gst_structure_get_enum): Add
14970 * docs/gst/gstreamer-sections.txt: Ditto
14972 * gst/gstmessage.c (gst_message_new_state_changed): Use
14973 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
14974 which does introspection.
14975 Reviewed by Christian Schaller
14977 2005-09-28 Stefan Kost <ensonic@users.sf.net>
14979 * gst/gstinfo.c: (gst_debug_log_default):
14980 don't do dummy g_strdup()s
14981 * libs/gst/controller/gstcontroller.c:
14982 (on_object_controlled_property_changed),
14983 (gst_controlled_property_new), (gst_controller_new_valist),
14984 (gst_controller_new_list),
14985 (gst_controller_remove_properties_valist), (gst_controller_set),
14986 (gst_controller_get), (gst_controller_sync_values),
14987 (gst_controller_get_value_array), (_gst_controller_class_init),
14988 (gst_controller_get_type):
14989 * libs/gst/controller/gstcontroller.h:
14990 * libs/gst/controller/gstinterpolation.c:
14991 (gst_controlled_property_find_timed_value_node):
14992 convert // to /**/ comments
14994 2005-09-28 Wim Taymans <wim@fluendo.com>
14996 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
14997 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
14998 (gst_bus_sync_signal_handler):
15000 Added async-message and sync-message signals to the bus.
15001 Added helper BusFunc to emit signals for all posted messages.
15003 * gst/gstmessage.c: (gst_message_type_get_name),
15004 (gst_message_type_to_quark), (gst_message_get_type):
15005 * gst/gstmessage.h:
15006 Register quarks for message names.
15008 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15010 * docs/libs/gstreamer-libs-sections.txt:
15011 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15012 (gst_controller_new_list):
15013 * libs/gst/controller/gstcontroller.h:
15014 added another constructor for language bindings
15016 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
15018 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15022 * gst/gstinfo.c: (_gst_debug_init):
15023 slightly more readable color for refcount debugging
15025 2005-09-28 Wim Taymans <wim@fluendo.com>
15027 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15028 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15029 (find_element), (gst_bin_sort_iterator_next),
15030 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15031 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15032 (gst_bin_change_state), (gst_bin_dispose):
15033 Small doc fixes. get_clock -> provide_clock.
15035 * gst/gstelement.c: (gst_element_class_init),
15036 (gst_element_provides_clock), (gst_element_provide_clock),
15037 (gst_element_get_clock), (gst_element_commit_state),
15038 (gst_element_lost_state):
15039 * gst/gstelement.h:
15040 Make get/set_clock() symetric. Add provide_clock vmethod since
15041 that is actually what this function does.
15043 * gst/gstpipeline.c: (gst_pipeline_class_init),
15044 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15045 (gst_pipeline_get_clock):
15046 get_clock -> provide_clock.
15048 2005-09-28 Andy Wingo <wingo@pobox.com>
15050 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15051 lieu of real docs...
15053 * gst/elements/gstfdsrc.c: Cleaned up a bit.
15055 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
15057 * gst/elements/gstcapsfilter.c:
15058 * gst/elements/gstfakesink.c:
15059 * gst/elements/gstfakesrc.c:
15060 * gst/elements/gstfdsink.c:
15061 * gst/elements/gstfdsrc.c:
15062 * gst/elements/gstfilesink.c:
15063 * gst/elements/gstfilesrc.c:
15064 * gst/elements/gstidentity.c:
15065 * gst/elements/gsttee.c:
15066 * gst/elements/gsttypefindelement.c:
15067 Make element details static.
15069 2005-09-28 Wim Taymans <wim@fluendo.com>
15071 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15072 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15073 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15074 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15075 (gst_bin_change_state), (gst_bin_dispose):
15076 Some documentation updates.
15077 Clean up dispose handlers.
15079 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15080 * gst/gstpad.c: (gst_pad_dispose):
15081 Clean up dispose handler.
15083 * gst/gstpipeline.c: (gst_pipeline_change_state):
15084 Removed spurious UNLOCK.
15086 2005-09-27 Stefan Kost <ensonic@users.sf.net>
15088 * docs/gst/gstreamer-sections.txt:
15089 * gst/base/gstbasesrc.h:
15090 * gst/gstelement.h:
15094 * gst/gstpipeline.c:
15095 * gst/gstpipeline.h:
15098 added two new functions to the docs
15099 documents all undocumented GstXXXFlags
15100 completed some incomplete docs
15102 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
15104 * gst/gstbin.c: (gst_bin_dispose):
15105 * gst/gstelement.c: (gst_element_dispose):
15106 remove now useless and leaky resurrection code in dispose
15107 * gst/base/gstbasesrc.c: (gst_base_src_init):
15108 * gst/gstelementfactory.c: (gst_element_factory_create):
15109 * gst/gstobject.c: (gst_object_set_parent):
15112 2005-09-27 Wim Taymans <wim@fluendo.com>
15114 * docs/design/part-TODO.txt:
15117 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15118 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15119 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15120 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15121 (gst_bin_change_state):
15122 * gst/gstelement.h:
15123 Remove element variable, we keep element info in the iterator now.
15125 2005-09-27 Andy Wingo <wingo@pobox.com>
15127 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15130 2005-09-27 Wim Taymans <wim@fluendo.com>
15132 * check/gst/gstbin.c: (GST_START_TEST):
15133 Enable check that works now.
15135 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15136 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15137 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15138 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15139 (gst_bin_change_state):
15141 Redid the state change algorithm using a topological sort algo.
15142 Handles all cases correctly.
15143 Exposed iterator for state change order.
15145 * gst/gstelement.h:
15146 Temp storage for state changes. Need to get rid of this soon.
15148 2005-09-27 Wim Taymans <wim@fluendo.com>
15150 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15151 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15152 (link_fold_func), (gst_pad_proxy_setcaps):
15153 Leak fixes, the fold functions need to unref the passed object and
15154 _get_parent_*() returns ref to parent.
15156 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15158 * check/gst/gstbuffer.c: (test_make_writable):
15159 Plug leak in test case and fix 'make check-valgrind'
15161 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15163 * gst/gstbuffer.c: (gst_subbuffer_init):
15164 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15165 works correctly in all circumstances (we could have just copied
15166 the parent buffer's readonly flag, but conceptually it seems
15167 cleaner to mark all subbuffers as read-only). (based on patch
15168 by Alessandro Decina, #314710).
15170 * check/gst/gstbuffer.c: (create_read_only_buffer),
15171 (test_make_writable), (test_subbuffer_make_writable),
15173 Add some tests for gst_buffer_make_writable().
15175 2005-09-27 Wim Taymans <wim@fluendo.com>
15177 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15178 use gst_object_has_ancestor().
15180 * gst/gstobject.c: (gst_object_has_ancestor):
15182 gst_object_has_ancestor() copied from gstbin.c as it is a
15185 * tests/instantiate/create.c: (create_all_elements):
15186 * tests/lat.c: (handoff_src), (handoff_sink):
15187 * tests/sched/runxml.c: (main):
15188 * tests/seeking/seeking1.c: (main):
15189 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15191 Fix compilation of some tests.
15193 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15196 Remove comment. GST_TYPE_G_ERROR is here to stay,
15197 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15198 (#316961, #300610).
15200 2005-09-26 Wim Taymans <wim@fluendo.com>
15202 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15203 Added check that shows error in state change order.
15205 2005-09-26 Wim Taymans <wim@fluendo.com>
15207 * gst/gstbin.c: (gst_bin_change_state):
15208 Make state change function use 3 queues again, we were
15209 adding elements in the wrong order.
15211 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15214 * gst/gstpad.c: (gst_pad_dispose):
15215 Added some debug info first.
15217 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
15219 * docs/design/draft-push-pull.txt:
15220 * docs/design/part-events.txt:
15221 * docs/design/part-overview.txt:
15222 * docs/design/part-scheduling.txt:
15223 Replace all _pull_region() with _pull_range()
15225 2005-09-26 Andy Wingo <wingo@pobox.com>
15227 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15229 * check/gst-libs/controller.c: Update for controller api change.
15232 * tests/Makefile.am:
15233 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15234 over by GLib bug 118439.
15236 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15237 routines to a function.
15239 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15241 * libs/gst/controller/gsthelper.c:
15242 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15243 (gst_object_sync_values): Renamed from sink_values. Ugh.
15245 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15247 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15248 Renamed from controller_key, as it is exported.
15250 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15252 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
15257 * gst/gstpadtemplate.h:
15260 * gst/gstqueryutils.c:
15261 * gst/gstqueryutils.h:
15262 remove queryutils headers after moving the two used functions
15263 to gstquery. also fixes build problem for gstsiddec
15265 2005-09-26 Michael Smith <msmith@fluendo.com>
15267 * tools/gst-launch.1.in:
15268 Correct documentation in manpage of debug syntax
15270 2005-09-26 Wim Taymans <wim@fluendo.com>
15272 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15273 (gst_base_src_is_seekable), (gst_base_src_change_state):
15274 Some more debugging info.
15276 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15278 * docs/gst/gstreamer-sections.txt:
15279 * gst/base/gstbasetransform.h:
15283 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15285 * docs/gst/.cvsignore:
15286 * docs/gst/tmpl/.cvsignore:
15287 * docs/gst/tmpl/gstpipeline.sgml:
15288 * docs/gst/tmpl/gstplugin.sgml:
15289 * gst/gstpipeline.c:
15292 inlined the last two docs files
15293 removed the tmpl directory from cvs (no more conflicts here!)
15295 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15297 * docs/gst/gstreamer-sections.txt:
15298 * docs/gst/tmpl/.cvsignore:
15299 * docs/gst/tmpl/gstpad.sgml:
15300 * docs/gst/tmpl/gstpadtemplate.sgml:
15302 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15303 (gst_pad_finalize), (gst_pad_set_pad_template):
15305 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15306 (gst_pad_template_class_init), (gst_pad_template_init),
15307 (gst_pad_template_dispose), (name_is_valid),
15308 (gst_static_pad_template_get), (gst_pad_template_new),
15309 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15310 (gst_pad_template_pad_created):
15311 * gst/gstpadtemplate.h:
15312 inlined two more docs
15313 factored gstpadtemplate out of gstpad
15315 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
15317 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15318 (test_children_state_change_order_semi_sink):
15319 Fix test case: we can't rely on a fixed state change order when
15320 going from READY => PAUSED because the sink might commit its
15321 new state first when the first buffer created by the source
15322 reaches the sink before the source has finished its change state.
15323 (Test case still fails at times, see #316856, comment 5 onwards)
15325 2005-09-24 Wim Taymans <wim@fluendo.com>
15327 * docs/design/part-events.txt:
15328 * docs/design/part-gstbus.txt:
15329 * docs/design/part-gstpipeline.txt:
15330 * docs/design/part-messages.txt:
15331 * docs/design/part-overview.txt:
15332 * docs/design/part-segments.txt:
15336 * gst/gstelement.c:
15339 * gst/gstiterator.c:
15340 Various documentation updates.
15342 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
15345 Well, that's embarassing. Luckily we weren't using
15346 GST_CLOCK_DIFF anywhere.
15348 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15350 * common/gtk-doc.mak:
15351 don't fail on building XML, FC4 slave shows a bunch of doc
15352 missing bits that I don't get
15354 * gst/gstpipeline.c:
15355 * gst/gststructure.c:
15358 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15360 * docs/design/part-gstbin.txt:
15361 * docs/design/part-gstbus.txt:
15363 Add blurb about how the bus goes into flushing mode and
15364 drops all messages when its bin goes from READY into NULL
15367 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15369 * docs/gst/gstreamer-sections.txt:
15370 * gst/gststructure.c: (gst_structure_get_clock_time):
15371 * gst/gststructure.h:
15372 add a method to get a GstClockTime out of a structure
15374 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15376 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15377 (test_children_state_change_order_semi_sink), (gst_bin_suite):
15378 Added test to check state change order in bins (can still be made
15379 to fail here under heavy disk load; bails out with 'Push on pad
15380 fakesink:sink0, but it was not activated in push mode').
15382 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15383 Fix state change order when there is only a semi sink (#316856)
15385 * gst/gstbus.c: (gst_bus_class_init):
15386 Use _class_peek_parent(), not _class_ref(); fix docs to say
15387 'default main context' instead of 'mainloop' where that is
15390 * gst/gstelement.c: (gst_element_commit_state),
15391 (gst_element_set_state):
15392 Fix typos in debug messages
15394 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15397 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15398 * gst/gstpluginfeature.c:
15400 various doc updates
15401 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15402 change an assert into an error until it gets fixed properly
15404 2005-09-23 Stefan Kost <ensonic@users.sf.net>
15406 * docs/gst/gstreamer-sections.txt:
15407 * docs/gst/tmpl/.cvsignore:
15408 * docs/gst/tmpl/gstelement.sgml:
15409 * docs/gst/tmpl/gstinfo.sgml:
15410 * docs/gst/tmpl/gstobject.sgml:
15411 * gst/gstelement.c:
15412 * gst/gstelement.h:
15415 * gst/gstobject.c: (gst_object_class_init):
15417 inlined 3 more biiiig doc files and added some missing docs on the fly
15419 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15421 * check/gst/.cvsignore:
15422 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15423 * gst/gstregistryxml.c: (load_plugin),
15424 (gst_registry_xml_save_plugin):
15425 put back source in registry. add checks for find_plugin.
15426 * testsuite/states/bin.c: (assert_state), (empty_bin),
15427 (test_adding_one_element), (main):
15428 * testsuite/states/locked.c: (main):
15429 some compile/run fixes
15431 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
15433 * check/gst/gstvalue.c: (GST_START_TEST):
15434 fix leaks in the test itself
15436 2005-09-22 Wim Taymans <wim@fluendo.com>
15438 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15439 (gst_base_sink_send_event), (gst_base_sink_peer_query),
15440 (gst_base_sink_query):
15441 Prepare for more accurate position reporting and query
15444 * gst/gstelement.c: (gst_element_send_event),
15445 (gst_element_set_state):
15448 2005-09-22 Wim Taymans <wim@fluendo.com>
15450 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15451 (gst_query_parse_segment):
15453 More documentation.
15454 Add segment query for future use.
15456 2005-09-22 Wim Taymans <wim@fluendo.com>
15458 * gst/gstbin.c: (gst_bin_add_func):
15459 Some more debug info.
15461 * gst/gstelement.c: (gst_element_send_event):
15462 Simplify send_event
15464 * gst/gstelement.h:
15465 Don't know how flags got broken.
15470 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15472 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15473 Add simplistic test suite for GST_TYPE_DATE serialisation and
15476 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15478 * docs/gst/gstreamer-sections.txt:
15479 * gst/gststructure.c: (gst_structure_set_valist),
15480 (gst_structure_get_date):
15481 * gst/gststructure.h:
15482 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15483 (gst_date_copy), (gst_value_compare_date),
15484 (gst_value_serialize_date), (gst_value_deserialize_date),
15485 (gst_value_transform_date_string),
15486 (gst_value_transform_string_date), (_gst_value_initialize):
15488 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15489 bunch of utility functions along with a hack that checks that
15490 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15491 is required. Part of the grand scheme in #170777.
15493 2005-09-22 Andy Wingo <wingo@pobox.com>
15495 * gst/gstconfig.h.in: Psych out gtk-doc.
15497 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15499 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15501 * tools/gst-inspect.c (print_element_list): Plug some
15502 inconsequential leaks.
15504 * gst/gstregistry.c (gst_registry_get_default): Doc.
15506 * check/gst/gstplugin.c:
15507 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15508 * gst/gstelementfactory.c (gst_element_factory_create):
15509 * gst/gstindexfactory.c (gst_index_factory_create): Update for
15512 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15513 (gst_plugin_feature_load): Doc, don't eat refs.
15515 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15516 (gst_plugin_list_free): Doc.
15517 (gst_plugin_load_file): Doc updates.
15519 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15520 accessors returning refcounted objects, return a ref.
15522 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15523 accessor for caps. IDEMPOTENCE. Oh yes.
15525 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
15527 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15529 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15530 (_gst_debug_register_funcptr):
15531 Add mutex to serialise access to the hash table with
15532 the function pointer => function name string mapping;
15533 make that hash table static scope (#316809).
15535 * gst/registries/.cvsignore:
15536 Remove left-over file.
15538 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15540 * docs/pwg/appendix-porting.xml:
15541 And something about newsegment events and caps-on-buffers to
15542 the porting guide (feel free to improve).
15544 2005-09-21 Andy Wingo <wingo@pobox.com>
15546 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15547 data and event probes on the same pad.
15548 (test_buffer_probe_once): Test that removing probes from within
15549 the probe functions works.
15551 2005-09-21 Andy Wingo <wingo@pobox.com>
15553 * check/gst/gstutils.c: New file.
15554 (test_buffer_probe_n_times): A simple buffer probe test. More to
15557 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15558 have-data::buffer, not have-data.
15559 (gst_pad_add_event_probe): Likewise for have-data::event.
15560 (gst_pad_add_data_probe): More docs. The part about 'resolving the
15561 peer' isn't quite right yet though.
15562 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
15563 (gst_pad_remove_data_probe): Change to take the guint handler_id
15564 as their arg, not the function+data, which is more glib-like.
15566 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15567 the signal emission to indicate if the data is a buffer or an
15569 (gst_pad_get_type): Initialize buffer and event quarks.
15570 (gst_pad_class_init): have-data is now a detailed signal, yes it
15573 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15575 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15576 * gst/gstutils.c: (gst_util_set_value_from_string),
15577 (gst_util_set_object_arg):
15578 Don't put functional code in g_return_if_fail() or
15579 g_return_val_if_fail() statements, otherwise things will
15580 break when G_DISABLE_CHECKS is defined during compilation.
15582 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15584 * docs/gst/tmpl/.cvsignore:
15585 * docs/gst/tmpl/gstvalue.sgml:
15588 inlied another one and added some obvious docs
15590 2005-09-21 Wim Taymans <wim@fluendo.com>
15592 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15593 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15594 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15595 (gst_fdsrc_get_property), (gst_fdsrc_create):
15596 * gst/elements/gstfdsrc.h:
15597 Properly implement fdsrc. Removed signal and timeout,
15598 better implemented somewhere else.
15600 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15602 * docs/gst/tmpl/.cvsignore:
15603 * docs/gst/tmpl/gstimplementsinterface.sgml:
15604 * gst/gstinterface.c:
15607 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15609 * docs/gst/gstreamer-sections.txt:
15610 * docs/gst/tmpl/.cvsignore:
15611 * docs/gst/tmpl/gstenumtypes.sgml:
15612 remove obsolete doc file
15614 2005-09-21 David Schleef <ds@schleef.org>
15616 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15617 little beer, fix a little leak.
15619 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15621 * docs/gst/gstreamer-docs.sgml:
15622 * docs/gst/gstreamer-sections.txt:
15623 * docs/gst/tmpl/.cvsignore:
15627 * gst/gstelement.h:
15628 * gst/gstindex.c: (gst_index_class_init):
15630 * gst/gstindexfactory.c: (gst_index_factory_get_type),
15631 (gst_index_factory_class_init), (gst_index_factory_init),
15632 (gst_index_factory_finalize), (gst_index_factory_new),
15633 (gst_index_factory_destroy), (gst_index_factory_find),
15634 (gst_index_factory_create), (gst_index_factory_make):
15635 * gst/gstindexfactory.h:
15636 * gst/gstpluginfeature.c:
15637 * gst/gstpluginfeature.h:
15638 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15639 more docs inlined, splitted gstindex.{c,h}
15641 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15643 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15646 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15648 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15649 Set sync to FALSE by default.
15651 2005-09-20 Wim Taymans <wim@fluendo.com>
15653 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15654 (gst_base_sink_init):
15655 Make sync property settable from subclass.
15657 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15658 (gst_fake_sink_change_state):
15659 Set sync to FALSE by default.
15661 2005-09-20 Wim Taymans <wim@fluendo.com>
15663 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15664 * tools/gst-launch.c: (main):
15665 The timeout handler should have lower priority than the source
15666 so we don't timeout before popping a message with 0 timeout.
15667 Dump error messages after failed state change.
15669 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15671 * tools/gst-inspect.c: (print_element_properties_info):
15674 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15676 * check/gst/gstevent.c:
15677 * gst/elements/gstfakesink.c:
15678 * gst/elements/gstfakesink.h:
15679 remove the sync property from fakesink.
15680 has the side effect of setting sync TRUE
15681 for fakesink, which is a change. Anyone who knows how
15682 to fix this nicely in a GObject-y way, feel free.
15684 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15686 * docs/gst/gstreamer-docs.sgml:
15687 remove probe refsection
15689 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15691 * check/Makefile.am:
15692 disable valgrinding the controller test again
15693 * docs/gst/gstreamer-sections.txt:
15694 update for api-changes
15696 2005-09-20 Wim Taymans <wim@fluendo.com>
15698 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15699 (gst_base_sink_set_property), (gst_base_sink_get_property),
15700 (gst_base_sink_do_sync):
15701 * gst/base/gstbasesink.h:
15702 Added sync property to basesink to disable clock sync.
15704 2005-09-20 Andy Wingo <wingo@pobox.com>
15706 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15707 eating the caller's refcount.
15709 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
15710 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15713 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15714 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15715 of GLib 2.8 public, so we can know which refcount to check in
15718 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15719 (gst_object_init): Only set the gst refcount if we're going ahead
15720 with the refcount hack.
15722 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15724 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15725 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15726 more leaks plumbed, added more debug-logging
15730 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15732 * gst/gstmessage.c:
15733 remove include of gstmemchunk.h
15735 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15737 * gst/gstclock.c: (_gst_clock_id_free):
15738 Commit from the Political Party For More Atomic CVS Commits,
15739 so that people don't waste too much of their day fishing
15740 out obvious leaks out of massive commits.
15741 Oh, and fix a pretty damn obvious leak in the memchunk
15744 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15746 * check/Makefile.am:
15747 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15748 plug mem-leak, re-add to valgrindable tests
15750 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15753 unbreak the build for those who have chronic arthritis
15754 and typing "make check" is just too taxing on the hands
15756 2005-09-20 Andy Wingo <wingo@pobox.com>
15758 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
15759 really want it out, you should fix plugins at the same time.
15761 2005-09-19 Stefan Kost <ensonic@users.sf.net>
15764 * docs/gst/gstreamer-sections.txt:
15766 added missing symbols to api docs
15767 disable ref-count hack if we have glib >= 2.8
15769 2005-09-19 David Schleef <ds@schleef.org>
15771 * docs/gst/Makefile.am: Ignore a few more internal headers
15772 * docs/gst/gstreamer-docs.sgml: Remove old sections
15773 * docs/gst/gstreamer-sections.txt: Remove old sections
15774 * docs/gst/tmpl/gstobject.sgml: update
15775 * docs/gst/tmpl/gstplugin.sgml: update
15776 * docs/gst/tmpl/gstpluginfeature.sgml: update
15777 * docs/random/ds/0.9-suggested-changes: update.
15778 * gst/Makefile.am: remove memchunk and trashstack, since they're
15780 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
15781 * gst/gst.h: don't include some headers
15782 * gst/gstchildproxy.c: add gstmarshal.h
15783 * gst/gstclock.c: Don't use memchunks
15784 * gst/gstminiobject.c: Add some docs
15785 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
15786 * gst/gstobject.h: same
15787 * gst/gstplugin.c: include gstmacros.h
15788 * gst/gstplugin.h: don't include gstmacros.h, since it's private
15789 * gst/gstquery.c: don't use memchunks
15790 * gst/gstregistry.c: rename gst_registry_deinit()
15791 * gst/gstregistry.h: same
15793 2005-09-19 David Schleef <ds@schleef.org>
15795 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
15796 * docs/libs/gstreamer-libs-sections.txt:
15797 * docs/libs/tmpl/gstgetbits.sgml:
15798 * docs/libs/tmpl/gstputbits.sgml:
15800 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
15802 * win32/gstenumtypes.c:
15803 * win32/gstenumtypes.h:
15806 2005-09-19 Wim Taymans <wim@fluendo.com>
15808 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
15809 Automatically PAUSE and RESUME a pipeline when a flushing seek
15812 2005-09-19 Andy Wingo <wingo@pobox.com>
15814 * gst/gstregistry.h: Spacing fixen.
15816 2005-09-19 Wim Taymans <wim@fluendo.com>
15818 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
15819 Handle state change failure more correctly.
15821 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15823 * check/Makefile.am:
15824 * check/pipelines/cleanup.c: (run_pipeline):
15825 * check/pipelines/simple_launch_lines.c: (run_pipeline),
15827 enable cleanup again after fixing the leak
15829 some more info on docs
15831 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15833 * check/Makefile.am:
15834 re-enable tests now that leaks are plugged
15836 * check/gst/gstbin.c:
15837 * check/gst/gstpipeline.c:
15838 add some more tests while fixing leaks
15839 * common/check.mak:
15840 make sure binaries are uptodate when valgrinding/gdbing
15842 * gst/gstelementfactory.c:
15843 remove a ref too many, and add a FIXME for when we get
15844 round to disposing of classes
15846 fix the refcounting when loading a plugin from a file and
15847 the code pretends that the pointer is the same even though
15848 of course it can change
15849 * gst/gstpluginfeature.c:
15850 unref plugins marked cached (a bit confusing as a name)
15851 as the docs state should be done
15852 various doc additions to explain refcounting
15853 * gst/gstregistry.c:
15854 * gst/gstregistryxml.c:
15857 2005-09-19 Wim Taymans <wim@fluendo.com>
15859 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15860 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15861 (send_messages), (GST_START_TEST), (gstbus_suite):
15862 * check/gst/gstpipeline.c: (GST_START_TEST):
15863 * check/pipelines/cleanup.c: (run_pipeline):
15864 * check/pipelines/simple_launch_lines.c: (run_pipeline),
15866 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
15867 (gst_bus_source_check), (gst_bus_source_dispatch),
15868 (gst_bus_create_watch), (gst_bus_add_watch_full),
15869 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
15871 * tools/gst-launch.c: (event_loop):
15872 * tools/gst-md5sum.c: (event_loop):
15873 GstBusHandler -> GstBusFunc, return value has the same meaning as
15874 any other GSource (FALSE == remove source).
15875 _add_watch() and _add_watch_full() now take a MessageType mask to
15876 only handle specific types of messages.
15877 _poll() returns the GstMessage instead of the message type to avoid
15879 _have_pending() takes a MessageType mask now too.
15880 Added testsuite for multiple bus watches.
15881 Fix testsuites and applications for new bus API.
15883 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15885 * check/Makefile.am:
15886 mark a bunch of the tests as to fix until we fix them
15888 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15890 * common/check.mak:
15891 use GST_PLUGIN settings for valgrind tests as well, so we're
15892 valgrinding the correct thing
15893 * gst/gst.c: (init_post):
15896 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15898 * gst/gst.c: (init_post), (gst_deinit):
15899 * gst/gstelementfactory.c: (gst_element_factory_class_init),
15900 (gst_element_factory_finalize), (gst_element_factory_cleanup):
15901 * gst/gstindex.c: (gst_index_factory_class_init),
15902 (gst_index_factory_finalize):
15903 * gst/gstobject.c: (gst_object_dispose):
15904 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15905 (gst_plugin_load_file), (gst_plugin_desc_free):
15906 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
15907 (gst_plugin_feature_finalize):
15908 * gst/gstregistry.c: (gst_registry_class_init),
15909 (gst_registry_init), (gst_registry_finalize),
15910 (gst_registry_get_default), (gst_registry_deinit):
15911 * gst/gstregistry.h:
15912 * gst/gstregistryxml.c: (load_feature), (load_plugin):
15913 various cleanups and memleak plugging. make valgrind is happy now.
15915 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15917 * common/check.mak:
15918 add a check-valgrind target
15920 2005-09-18 David Schleef <ds@schleef.org>
15922 * tools/gst-inspect.c: Revert the GOption code.
15924 2005-09-17 David Schleef <ds@schleef.org>
15926 * check/Makefile.am: Fix environment variables.
15927 * check/gst/gstplugin.c: Fix for API changes.
15928 * tools/gst-inspect.c: Fix for API changes.
15929 * tools/gst-xmlinspect.c: Fix for API changes.
15930 * gst/gstelementfactory.c:
15933 * gst/gstpluginfeature.c:
15934 * gst/gstpluginfeature.h:
15935 * gst/gstregistry.c:
15936 * gst/gstregistry.h:
15937 * gst/gstregistryxml.c:
15938 * gst/gsttypefind.c:
15939 * gst/gsttypefindfactory.c:
15940 * gst/indexers/gstfileindex.c:
15941 * gst/indexers/gstmemindex.c:
15942 * gst/schedulers/Makefile.am:
15943 Change registry to keep track of both plugins and features,
15944 removing the feature tracking from plugins themselves.
15946 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
15948 * check/Makefile.am:
15949 * tools/gst-register.1.in:
15950 remove gst-register
15952 2005-09-15 David Schleef <ds@schleef.org>
15954 * check/gst/gstplugin.c:
15955 * gst/gstelementfactory.c:
15957 * gst/gstpluginfeature.c:
15958 * gst/gstregistry.c:
15959 Getting tired of debugging. Disabled all the unreffing of
15960 plugins and features, which fixes the segfaults, but of
15961 course leaks like crazy. At least playbin works.
15963 2005-09-15 David Schleef <ds@schleef.org>
15965 * check/gst/gstplugin.c: (register_check_elements),
15966 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
15968 * gst/elements/gsttypefindelement.c: Fix refcounting.
15969 * gst/gsttypefind.c:
15970 * gst/gsttypefindfactory.c:
15971 * gst/gsttypefindfactory.h:
15973 2005-09-15 David Schleef <ds@schleef.org>
15975 * gst/gstindex.c: get refcounting correct.
15976 * gst/gstregistry.c: Handle the case where a feature/plugin is
15979 2005-09-15 David Schleef <ds@schleef.org>
15981 * check/Makefile.am:
15982 * check/gst/gstplugin.c: Add test
15983 * gst/gstplugin.c: Fix problems noticed by testsuite
15985 * gst/gstregistry.c:
15986 * gst/gstregistry.h:
15988 2005-09-15 David Schleef <ds@schleef.org>
15990 * gst/gstplugin.c: Implement semi-decent recounting and locking
15991 in plugins and plugin features.
15993 * gst/gstpluginfeature.c:
15994 * gst/gstpluginfeature.h:
15995 * gst/gstregistry.c:
15997 2005-09-15 Michael Smith <msmith@fluendo.com>
15999 * gst/gstregistry.c: (gst_registry_get_feature_list):
16000 Implement this. Makes oggdemux work; decodebin still broken.
16002 2005-09-14 David Schleef <ds@schleef.org>
16004 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16006 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16007 * gst/check/Makefile.am:
16008 * libs/gst/controller/Makefile.am:
16009 * libs/gst/dataprotocol/Makefile.am:
16011 2005-09-14 David Schleef <ds@schleef.org>
16013 * configure.ac: Remove getbits library. Nothing uses it, and
16014 it should be in something like liboil if someone did want
16016 * libs/gst/Makefile.am:
16017 * libs/gst/getbits/Makefile.am:
16018 * libs/gst/getbits/gbtest.c:
16019 * libs/gst/getbits/getbits.c:
16020 * libs/gst/getbits/getbits.h:
16021 * libs/gst/getbits/gstgetbits_generic.c:
16022 * libs/gst/getbits/gstgetbits_i386.s:
16023 * libs/gst/getbits/gstgetbits_inl.h:
16025 2005-09-14 David Schleef <ds@schleef.org>
16027 * gst/Makefile.am: Dist glib-compat.h
16029 2005-09-14 David Schleef <ds@schleef.org>
16031 * configure.ac: Remove gst/registries, since it's no longer used.
16032 * gst/registries/Makefile.am:
16033 * gst/registries/gstlibxmlregistry.c:
16034 * gst/registries/gstlibxmlregistry.h:
16035 * gst/registries/gstxmlregistry.c:
16036 * gst/registries/gstxmlregistry.h:
16037 * gst/registries/registrytest.c:
16039 2005-09-14 David Schleef <ds@schleef.org>
16041 * gst/glib-compat.h:
16042 * gst/gstregistryxml.c:
16043 Convergence is near. Seriously.
16045 2005-09-14 David Schleef <ds@schleef.org>
16047 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16048 * gst/glib-compat.h:
16049 Attempt #4 to appease the buildbots.
16051 2005-09-14 David Schleef <ds@schleef.org>
16053 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16056 2005-09-14 David Schleef <ds@schleef.org>
16058 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16061 2005-09-14 David Schleef <ds@schleef.org>
16063 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16066 2005-09-14 David Schleef <ds@schleef.org>
16068 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16069 * gst/glib-compat.h: Add some functions that are in newer versions
16070 of glib than we care to require.
16071 * gst/gstregistryxml.c: Use them.
16073 2005-09-14 David Schleef <ds@schleef.org>
16075 * po/POTFILES.in: remove gst-register.c
16077 2005-09-14 David Schleef <ds@schleef.org>
16079 * docs/gst/gstreamer-docs.sgml:
16080 * docs/gst/gstreamer-sections.txt:
16081 * docs/gst/gstreamer.types:
16082 * docs/gst/tmpl/gstelement.sgml:
16083 * docs/gst/tmpl/gstplugin.sgml:
16084 * docs/gst/tmpl/gstpluginfeature.sgml:
16085 Documentation updates for registry changes.
16087 2005-09-14 David Schleef <ds@schleef.org>
16089 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16090 because we don't require glib-2.8.
16092 2005-09-14 David Schleef <ds@schleef.org>
16094 * gst/gstregistryxml.c: Added. Essentially moved out of the
16095 registries directory.
16097 2005-09-14 David Schleef <ds@schleef.org>
16099 * check/Makefile.am:
16100 * check/generic/states.c:
16104 * gst/gst_private.h:
16105 * gst/gstelementfactory.c:
16110 * gst/gstpluginfeature.c:
16111 * gst/gstpluginfeature.h:
16112 * gst/gstregistry.c:
16113 * gst/gstregistry.h:
16114 * gst/gstregistrypool.c: remove
16115 * gst/gstregistrypool.h: remove
16116 * gst/gsttypefind.c:
16117 * gst/gsttypefindfactory.c:
16119 * tools/Makefile.am:
16120 * tools/gst-compprep.c:
16121 * tools/gst-inspect.c:
16122 * tools/gst-register.c: remove
16123 * tools/gst-xmlinspect.c:
16124 Registry rewrite. Changes registry from being a file created
16125 by a tool into a simple cache file created automatically by
16126 libgstreamer. Removed gst-register (because it's no longer
16127 needed). Remove registry pools, because we only have one
16128 registry implementation (XML). Fix up other subsystems as
16131 2005-09-13 Michael Smith <msmith@fluendo.com>
16133 * gst/gstconfig.h.in:
16134 Don't Use windows linking attributes for MinGW. Fixes #316157
16136 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
16138 * gst/gstutils.c: (set_state_async_thread_func),
16139 (gst_element_set_state_async):
16140 Apparently people think it's better if this function doesn't
16141 try to set the state to whatever state was asked for on the first
16142 call to this function for any object. Seriously.
16144 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16146 * check/gst/gstpipeline.c: (GST_START_TEST):
16147 * docs/gst/gstreamer-sections.txt:
16148 * gst/gstutils.c: (set_state_async_thread_func),
16149 (gst_element_set_state_async):
16151 add a "gst_element_set_state_async" method that
16152 sets the state and starts a thread to make sure the state
16153 change completes as best as it can
16155 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16157 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16158 codify design+behaviour in testsuite after discussion
16160 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16162 * docs/gst/tmpl/gstelement.sgml:
16163 * docs/manual/appendix-quotes.xml:
16165 * gst/gstelement.c: (gst_element_set_state):
16168 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
16170 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16171 (gst_base_transform_prepare_output_buf),
16172 (gst_base_transform_handle_buffer):
16173 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16174 (gst_capsfilter_prepare_buf):
16175 Remove the requirement for sub-classes to call the parent
16176 implementation of prepare_output_buffer with a wrapper function.
16178 * gst/gsttaglist.h:
16179 * gst/gsttagsetter.h:
16180 Fix #define wrapper
16182 2005-09-11 Stefan Kost <ensonic@users.sf.net>
16184 * docs/gst/gstreamer-sections.txt:
16187 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16189 * docs/gst/gstreamer-sections.txt:
16190 * docs/gst/tmpl/gstelement.sgml:
16191 * docs/gst/tmpl/gstplugin.sgml:
16192 * gst/gstminiobject.c:
16194 docs now stop throwing warnings
16196 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16198 * docs/gst/gstreamer-sections.txt:
16199 * docs/gst/gstreamer.types:
16200 * docs/gst/tmpl/gstpad.sgml:
16201 * docs/gst/tmpl/gsttypes.sgml:
16202 * gst/base/gstadapter.h:
16203 * gst/base/gstbasesink.h:
16204 * gst/base/gstbasesrc.h:
16210 * gst/gstelement.h:
16212 * gst/gstmessage.h:
16214 * gst/gststructure.c:
16215 * gst/registries/gstlibxmlregistry.h:
16216 various documentation fixes
16218 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16220 * docs/gst/gstreamer-sections.txt:
16221 * docs/gst/tmpl/gstvalue.sgml:
16222 rearrange gstvalue section
16223 * gst/gstutils.c: (gst_element_state_get_name):
16225 * gst/gstvalue.c: (_gst_value_initialize):
16229 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
16231 * check/gst-libs/controller.c:
16232 Header include fix.
16233 * gst/base/gstbasetransform.c:
16234 (gst_base_transform_default_prepare_buf),
16235 (gst_base_transform_handle_buffer):
16236 * gst/base/gstbasetransform.h:
16237 Some more basetransform changes and fixes to enable sub-classes
16238 that modify buffer metadata only.
16239 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16240 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16241 (gst_capsfilter_prepare_buf):
16242 If the output pad has fixed allowed caps and input buffers
16243 don't have any, set the fixed caps on outgoing buffers.
16245 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
16246 * check/elements/identity.c: (GST_START_TEST):
16247 Make the error a little clearer when the test fails because
16248 identity made a copy of the buffer.
16249 * docs/gst/gstreamer-sections.txt:
16250 New symbols in gstbasetransform.h
16251 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16252 (gst_base_transform_init), (gst_base_transform_transform_size),
16253 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16254 (gst_base_transform_default_prepare_buf),
16255 (gst_base_transform_get_unit_size),
16256 (gst_base_transform_buffer_alloc),
16257 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16258 (gst_base_transform_change_state),
16259 (gst_base_transform_set_passthrough),
16260 (gst_base_transform_set_in_place),
16261 (gst_base_transform_is_in_place):
16262 * gst/base/gstbasetransform.h:
16263 Change BaseTransform to separate in_place operate from same_caps
16264 output. in_place implies that the element can perform the transform
16265 on incoming buffers in-place, even if the caps on the output are
16267 Sub-class elements can now implement special buffer allocation
16268 methods for outgoing buffers if they wish to.
16269 Big documentation addition.
16270 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16271 * gst/elements/gstelements.c:
16272 Changes for basetransform modifications.
16273 * gst/elements/Makefile.am:
16274 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16275 Compile fix. Extra debug output.
16277 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16279 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16281 add tests for valid pad naming
16282 * gst/check/gstcheck.c: (gst_check_log_message_func),
16283 (gst_check_log_critical_func):
16285 remove printing of code, it is fragile when the code contains
16286 % and the line number is enough info
16287 * gst/check/gstcheck.h:
16288 * gst/gstpad.c: (gst_pad_template_new):
16291 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16294 say what CHECK flags we use
16295 * docs/libs/gstreamer-libs.types:
16296 * libs/gst/controller/Makefile.am:
16297 * libs/gst/controller/gst-controller.c:
16298 * libs/gst/controller/gst-controller.h:
16299 * libs/gst/controller/gst-helper.c:
16300 * libs/gst/controller/gst-interpolation.c:
16301 * libs/gst/controller/gstcontroller.c:
16302 * libs/gst/controller/gsthelper.c:
16303 * libs/gst/controller/gstinterpolation.c:
16304 * tools/gst-inspect.c: (print_plugin_info):
16305 we don't use dashes in header names
16307 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16309 * check/Makefile.am:
16310 * check/gst/.cvsignore:
16311 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16312 (gst_pipeline_suite), (main):
16313 adding a test for pipelines and state changes
16314 * gst/gstutils.c: (get_state_func):
16316 * gstreamer.spec.in:
16319 2005-09-08 Michael Smith <msmith@fluendo.com>
16321 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16322 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16323 (gst_file_src_is_seekable), (gst_file_src_get_size),
16324 (gst_file_src_start):
16325 * gst/elements/gstfilesrc.h:
16326 Various fixes for unseekable, unmmapable, and non-normal files, so
16327 that fallback to read() rather than mmap() works.
16328 * gst/gstevent.c: (gst_event_new_newsegment):
16329 Allow newsegment events with segment_start == segment_end, as will
16330 correctly happen if you use filesrc on a zero-size file, for
16333 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16335 * gst/gstplugin.c: (gst_plugin_load_file):
16336 Call g_module_close when we don't load the module
16338 * gst/registries/gstlibxmlregistry.c:
16339 (gst_xml_registry_get_property):
16340 Port leak fix from 0.8
16342 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16344 * docs/gst/gstreamer-docs.sgml:
16345 * docs/gst/tmpl/.cvsignore:
16346 * docs/gst/tmpl/gsttrace.sgml:
16347 * docs/gst/tmpl/gsttrashstack.sgml:
16350 * gst/gstelement.h:
16352 * gst/gstmessage.c:
16353 * gst/gstmessage.h:
16356 * gst/gsttaginterface.c:
16357 * gst/gsttaginterface.h:
16358 * gst/gsttaglist.c:
16359 * gst/gsttaglist.h:
16360 * gst/gsttagsetter.c:
16361 * gst/gsttagsetter.h:
16364 * gst/gsttrashstack.c:
16365 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16366 inlined docs for gsttrace, gsttrashstack
16368 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16371 * gst/elements/gstbufferstore.h:
16372 * gst/elements/gsttypefindelement.c:
16373 * gst/elements/gsttypefindelement.h:
16375 * gst/gsttypefind.c:
16376 * gst/gsttypefind.h:
16377 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16378 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16379 (gst_type_find_factory_dispose),
16380 (gst_type_find_factory_unload_thyself),
16381 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16382 (gst_type_find_factory_get_caps),
16383 (gst_type_find_factory_get_extensions),
16384 (gst_type_find_factory_call_function):
16385 * gst/gsttypefindfactory.h:
16386 * gst/registries/gstlibxmlregistry.c:
16387 * gst/registries/gstxmlregistry.c:
16388 splitted gsttypefind into gsttypefind, gsttypefindfactory
16390 2005-09-07 Andy Wingo <wingo@pobox.com>
16392 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16393 condition whereby the pad's task function is entered before the
16394 pad_mode variable was set.
16396 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16398 * gst/gstpad.c: (gst_pad_alloc_buffer):
16399 Catch misbehaving pad_alloc functions that don't
16400 set up caps and do it for them.
16402 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16404 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16405 test for pipe!=NULL
16406 * docs/gst/tmpl/.cvsignore:
16407 * docs/gst/tmpl/gstmemchunk.sgml:
16408 * docs/gst/tmpl/gstparse.sgml:
16409 * docs/gst/tmpl/gsttaglist.sgml:
16410 * docs/gst/tmpl/gsttagsetter.sgml:
16411 * docs/gst/tmpl/gsttypefind.sgml:
16412 * docs/gst/tmpl/gsttypefindfactory.sgml:
16413 * gst/gstmemchunk.c:
16416 * gst/gsttaginterface.c:
16417 * gst/gsttypefind.c:
16418 * gst/gsttypefind.h:
16421 === release 0.9.2 ===
16423 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
16428 releasing 0.9.2, "South"
16430 2005-09-05 Andy Wingo <wingo@pobox.com>
16432 * gst/registries/gstxmlregistry.h:
16433 * gst/registries/gstxmlregistry.c: Um... resurrect...
16435 * gst/registries/gstxmlregistry.h:
16436 * gst/registries/gstxmlregistry.c: and update to newer API.
16437 Incidentally they should be a bit faster now that they don't have
16440 2005-09-05 Andy Wingo <wingo@pobox.com>
16442 * gst/registries/gstxmlregistry.h:
16443 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16444 replaced by the libxml registry a while back
16446 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16448 * docs/gst/tmpl/gstplugin.sgml:
16449 * gst/elements/gstelements.c:
16451 * gst/gstplugin.c: (gst_plugin_register_func),
16452 (gst_plugin_desc_copy), (gst_plugin_desc_free),
16453 (gst_plugin_get_source):
16455 * gst/registries/gstlibxmlregistry.c: (load_plugin),
16456 (gst_xml_registry_save_plugin):
16457 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16458 (gst_xml_registry_save_plugin):
16459 * tools/gst-inspect.c: (print_plugin_info):
16460 add a "source" plugin description field, to represent the source
16461 module this plugin is a part of. By default GST_PLUGIN_DEFINE
16462 will set it to PACKAGE, which is automake's idea of the name of
16463 the source project.
16465 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16470 * docs/Makefile.am:
16471 * docs/faq/Makefile.am:
16472 * docs/gst/tmpl/gstelement.sgml:
16473 * docs/gst/tmpl/gsttypes.sgml:
16474 * docs/htmlinstall.mak:
16475 * docs/manual/Makefile.am:
16476 * docs/pwg/Makefile.am:
16477 reorganize doc build a little
16478 split out docbook and gtk-doc stuff
16479 have two separate --enable's and enable them through autogen
16480 but disable by default in configure (to be similar to other
16482 * gstreamer.spec.in:
16483 clean up docs install
16501 translation updates
16503 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
16505 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16508 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16509 (gst_fake_sink_change_state):
16510 Make state change function thread-safe.
16512 * gst/gstpad.c: (gst_pad_alloc_buffer):
16513 Set offset on generic buffer allocated by fallback.
16515 2005-09-03 Stefan Kost <ensonic@users.sf.net>
16517 * docs/gst/gstreamer-sections.txt:
16518 * docs/gst/tmpl/gstelement.sgml:
16520 * libs/gst/controller/gst-controller.c:
16521 (gst_controlled_property_set_interpolation_mode),
16522 (gst_controlled_property_new),
16523 (gst_controller_find_controlled_property):
16524 run the wingo-magic script against the docs
16526 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16528 * docs/gst/gstreamer-docs.sgml:
16529 * docs/gst/gstreamer-sections.txt:
16530 * docs/gst/tmpl/.cvsignore:
16531 * docs/gst/tmpl/gstelementdetails.sgml:
16532 * docs/gst/tmpl/gstelementfactory.sgml:
16535 * gst/gstelementfactory.c:
16536 * gst/gstelementfactory.h:
16537 merged elementdetails docs into elementfactory docs
16540 2005-09-02 Andy Wingo <wingo@pobox.com>
16542 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16543 consider this enum an enum and not a flags.
16545 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16547 * docs/gst/gstreamer-docs.sgml:
16548 * docs/gst/tmpl/.cvsignore:
16549 * docs/gst/tmpl/gstghostpad.sgml:
16550 * docs/gst/tmpl/gstiterator.sgml:
16551 * docs/gst/tmpl/gstmacros.sgml:
16552 * docs/gst/tmpl/gstrealpad.sgml:
16553 * docs/gst/tmpl/gstregistry.sgml:
16554 * docs/gst/tmpl/gstregistrypool.sgml:
16555 * docs/gst/tmpl/gststructure.sgml:
16556 * docs/gst/tmpl/gstsystemclock.sgml:
16557 * docs/gst/tmpl/gsttrace.sgml:
16558 * gst/gstghostpad.c:
16560 * gst/gstmemchunk.c:
16561 * gst/gstmemchunk.h:
16563 * gst/gstregistry.c:
16564 * gst/gstregistrypool.c:
16565 * gst/gststructure.c:
16566 * gst/gstsystemclock.c:
16569 2005-09-02 Andy Wingo <wingo@pobox.com>
16571 * gst/gstelement.h (GstState): Renamed from GstElementState,
16572 changed to be a normal enum instead of flags.
16573 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16574 munged to be GST_STATE_CHANGE_*.
16575 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16576 work with the new state representation.
16577 (GstStateChange): New enumeration of possible state transitions.
16578 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16579 (GstElementClass::change_state): Pass the GstStateChange along as
16580 an argument. Helps language bindings, so they don't have to use
16581 tricky lock-needing macros like GST_STATE_CHANGE ().
16583 * scripts/update-states (file): New script. Run it on a file to
16584 update it for state naming and API changes. Updates files in
16587 * All files updated for the new API.
16589 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
16591 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16592 * gst/gstutils.c: (gst_util_set_value_from_string),
16593 (gst_util_set_object_arg):
16594 fix a bunch of unchecked return values
16595 * tools/gst-complete.c: (main):
16596 * gstreamer.spec.in:
16599 2005-09-01 Wim Taymans <wim@fluendo.com>
16601 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16602 (gst_base_sink_event), (gst_base_sink_do_sync),
16603 (gst_base_sink_handle_event):
16604 * gst/base/gstbasesink.h:
16605 Handle newsegments more correctly.
16610 * gst/gstevent.c: (gst_event_new_newsegment):
16611 A newsegment cannot have a start_time of -1
16613 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
16615 * win32/gstenumtypes.c:
16616 * win32/gstenumtypes.h:
16619 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16621 * libs/gst/controller/gst-controller.c:
16622 (gst_controlled_property_set_interpolation_mode),
16623 (gst_controlled_property_new):
16624 fixed boolean again
16626 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
16628 * docs/faq/gst-uninstalled:
16633 * gst/gstutils.c: (gst_element_link_filtered):
16635 add gst_element_link_filtered
16637 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16639 * docs/gst/gstreamer-docs.sgml:
16640 * docs/gst/gstreamer-sections.txt:
16641 * docs/gst/tmpl/.cvsignore:
16642 * docs/gst/tmpl/gsterror.sgml:
16643 * docs/gst/tmpl/gstfilter.sgml:
16644 * docs/gst/tmpl/gsturihandler.sgml:
16645 * docs/gst/tmpl/gsturitype.sgml:
16646 * docs/gst/tmpl/gstutils.sgml:
16647 * docs/gst/tmpl/gstxml.sgml:
16652 * gst/gsturitype.c:
16655 inlined more docs, fixed double id-ref
16657 2005-08-31 Wim Taymans <wim@fluendo.com>
16659 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16660 (gst_base_transform_handle_buffer):
16661 Passthrough elements don't need the caps as they don't care.
16663 2005-08-31 Wim Taymans <wim@fluendo.com>
16665 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16666 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16667 Don't leak refcounts on buffers.
16669 2005-08-31 Wim Taymans <wim@fluendo.com>
16671 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16672 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16673 (gst_base_transform_chain), (gst_base_transform_change_state):
16674 * gst/base/gstbasetransform.h:
16675 Handle the case where we are not negotiated more gracefully.
16677 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
16679 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16680 (gst_file_src_map_region):
16681 Set READONLY flag on mmap'ed buffers, otherwise
16682 gst_buffer_make_writable() won't work properly (#314708).
16684 2005-08-31 Wim Taymans <wim@fluendo.com>
16686 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16687 passthrough elements can even do inplace on non writable
16688 buffers (as they don't touch them).
16690 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16692 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16693 (gst_test_mono_source_set_property),
16694 (gst_test_mono_source_class_init), (GST_START_TEST),
16695 (gst_controller_suite):
16696 more tests (hehe I have the most)
16698 describe popping messages whenusing mulltiple sources
16699 * libs/gst/controller/gst-controller.c:
16700 (gst_controlled_property_set_interpolation_mode),
16701 (gst_controlled_property_new):
16702 * libs/gst/controller/gst-controller.h:
16703 * libs/gst/controller/gst-interpolation.c:
16704 implement boolean properties
16706 2005-08-31 Wim Taymans <wim@fluendo.com>
16708 * gst/gstminiobject.c: (gst_mini_object_ref):
16709 Cannot assert that the refcount has to be positive
16710 since a disposed object can be resurrected.
16712 2005-08-31 Wim Taymans <wim@fluendo.com>
16714 * gst/gstpad.c: (gst_pad_init):
16715 Revert change, need to first fix badly behaving
16718 2005-08-30 Wim Taymans <wim@fluendo.com>
16720 * check/elements/fakesrc.c: (setup_fakesrc):
16721 * check/elements/identity.c: (setup_identity):
16722 Activate pads before using them.
16724 2005-08-30 Wim Taymans <wim@fluendo.com>
16726 * gst/base/gstadapter.c: (gst_adapter_flush):
16727 Flushing out 0 bytes is ok for this function.
16729 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16730 no newsegment gives a warning and sets the start/stop to
16733 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16734 (gst_base_transform_set_passthrough):
16737 * gst/gstminiobject.c: (gst_mini_object_ref):
16738 Check refcount here too.
16740 * gst/gstpad.c: (gst_pad_init):
16741 Pads are initially flushing and refusing data.
16743 * gst/gstutils.c: (gst_element_link_pads_filtered):
16744 When adding a capsfilter element make sure it has the
16745 same state as the parent bin.
16747 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16749 * docs/gst/tmpl/.cvsignore:
16750 * docs/gst/tmpl/gstformat.sgml:
16751 * docs/gst/tmpl/gstversion.sgml:
16755 * gst/gstversion.h.in:
16756 more docs and two more inlined
16758 2005-08-30 Wim Taymans <wim@fluendo.com>
16760 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
16761 Don't sync to clock.
16763 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16765 * docs/gst/gstreamer-sections.txt:
16766 ultral33t func10ns deserve to appear in the docs actually
16767 * docs/gst/tmpl/.cvsignore:
16768 * docs/gst/tmpl/gstcompat.sgml:
16769 * docs/gst/tmpl/gstconfig.sgml:
16770 * gst/check/gstcheck.c:
16772 * gst/gstconfig.h.in:
16775 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16777 * docs/gst/tmpl/.cvsignore:
16778 * docs/gst/tmpl/gstquery.sgml:
16779 * docs/gst/tmpl/gstutils.sgml:
16782 inlined and extended docs
16784 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16786 * check/gst-libs/controller.c: (GST_START_TEST),
16787 (gst_controller_suite):
16789 * docs/gst/tmpl/gstutils.sgml:
16790 * docs/libs/gstreamer-libs-sections.txt:
16791 * docs/libs/tmpl/gstdataprotocol.sgml:
16793 * examples/controller/audio-example.c: (main):
16794 controller example works now
16797 * tools/gst-inspect.c: (print_element_properties_info):
16798 show param spec flags
16800 2005-08-29 Andy Wingo <wingo@pobox.com>
16802 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
16804 2005-08-28 Andy Wingo <wingo@pobox.com>
16806 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
16807 as having two arguments instead of just one. Allows superclasses
16808 to access information on subclasses -- see the terrible for() loop
16809 in gtype.c:g_type_create_instance for the reason why. All callers
16812 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16814 * docs/design/part-messages.txt:
16816 * docs/gst/tmpl/.cvsignore:
16817 * docs/gst/tmpl/gstcaps.sgml:
16818 * docs/gst/tmpl/gstclock.sgml:
16824 * gst/gstmessage.c:
16825 added descriptions for bus and message
16826 inline caps and clock docs
16828 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16830 * gst/gstmessage.c:
16831 * gst/gstmessage.h:
16834 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16836 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16839 2005-08-26 Andy Wingo <wingo@pobox.com>
16841 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
16842 element_set_state's return val.
16843 (test_2_elements): Add test that's been disabled for months.
16845 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
16846 can-activate-pull properties.
16848 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
16849 can-activate-pull properties. Implement is_seekable so fakesrc can
16850 operate in pull mode.
16852 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
16854 (gst_base_sink_activate, gst_base_sink_activate_pull)
16855 (gst_base_sink_activate_push): Make activation mode choosing work.
16857 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
16858 is right. Make pull mode work. Post an eos before pausing in pull
16860 (gst_base_sink_change_state): Pay attention to the core's
16861 change_state() return val.
16863 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
16864 has-getrange properties. Cleanups.
16866 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
16867 has_getrange and replace with can_activate_pull and
16870 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
16871 locking comments. Remove has_loop, has_chain and replace with
16872 can_activate_pull and can_activate_push.
16874 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
16877 * examples/Makefile.am:
16878 * examples/metadata/Makefile.am:
16879 * examples/metadata/read-metadata.c: (message_loop),
16880 (have_pad_handler), (make_pipeline), (print_tag), (main):
16881 Add metadata reading example that loops over a list of filenames,
16882 dumping any tags found.
16884 * gst/gstbus.c: (gst_bus_dispose):
16885 * gst/gstelement.c: (gst_element_dispose):
16886 Release a few potentially-held references in dispose.
16888 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16890 * docs/gst/tmpl/gstminiobject.sgml:
16891 do *not* add tmpl/*.sgml files to CVS!
16893 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16895 * libs/gst/bytestream/.cvsignore:
16896 * libs/gst/bytestream/Makefile.am:
16897 * libs/gst/bytestream/adapter.c:
16898 * libs/gst/bytestream/adapter.h:
16899 * libs/gst/bytestream/bytestream.c:
16900 * libs/gst/bytestream/bytestream.h:
16901 * libs/gst/bytestream/filepad.c:
16902 * libs/gst/bytestream/filepad.h:
16903 removing obsolete files
16905 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16907 * docs/gst/gstreamer-docs.sgml:
16908 * docs/libs/gstreamer-libs-docs.sgml:
16909 disabed additional index entries again, as this makes docs-gen just
16910 slow and they aren't useful yet
16911 * docs/libs/gstreamer-libs-sections.txt:
16912 little -section.txt cleanup for libs
16914 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
16916 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16917 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
16918 fix up some debugging
16919 (gst_base_transform_get_unit_size),
16920 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16921 (gst_base_transform_handle_buffer):
16922 * gst/base/gstbasetransform.h:
16923 handle and store timed NEWSEGMENT events so that subclasses that
16924 calculate time by counting samples have a segment_start time they
16925 need to add to their timestamps - see audioresample
16927 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16930 removed ';' from the end of macro defs
16931 * docs/gst/gstreamer-docs.sgml:
16932 * docs/gst/gstreamer-sections.txt:
16933 * docs/gst/tmpl/.cvsignore:
16935 * gst/gstelement.c: (gst_element_class_init),
16936 (gst_element_set_state), (activate_pads),
16937 (gst_element_save_thyself):
16938 * gst/gstevent.c: (gst_event_new_newsegment):
16940 * gst/gstiterator.c:
16941 * gst/gstiterator.h:
16944 * gst/gstutils.c: (gst_pad_query_convert):
16946 fixed parameter name mismatches between source, header and docs
16947 added some more docs, resolved the last batch of unused elements in
16948 docs (now someone needs to doc them)
16950 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16952 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
16953 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
16954 don't walk through the plugins backwards. Where is all this
16955 reversed logic coming from ?
16957 2005-08-25 Wim Taymans <wim@fluendo.com>
16959 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16960 (gst_base_transform_transform_size),
16961 (gst_base_transform_configure_caps),
16962 (gst_base_transform_get_unit_size),
16963 (gst_base_transform_buffer_alloc),
16964 (gst_base_transform_change_state):
16965 * gst/base/gstbasetransform.h:
16966 Cache caps unit_size.
16967 Make sure we cannot negotiate up and downstream at the
16970 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16972 * gst/gst.c: (init_pre), (init_post):
16973 register the installed plugin path after the env var
16974 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
16975 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
16976 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
16977 directories, so the tests can prefer uninstalled over installed
16979 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16981 * gst/base/gstbasetransform.h:
16986 2005-08-25 Wim Taymans <wim@fluendo.com>
16988 * gst/gstbin.c: (bin_bus_handler):
16989 Be a bit more conservative about the posted message.
16991 * gst/gstbus.c: (gst_bus_post):
16992 Some cleanups, warn wrong return values.
16994 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
16996 * check/gst/gstbin.c: (GST_START_TEST):
16997 * gst/gstbin.c: (bin_bus_handler):
16998 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
16999 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17000 (gst_message_new_warning), (gst_message_new_tag),
17001 (gst_message_new_state_changed), (gst_message_new_segment_start),
17002 (gst_message_new_segment_done), (gst_message_new_custom):
17003 * gst/gstmessage.h:
17004 * tools/gst-launch.c: (event_loop):
17005 * tools/gst-md5sum.c: (event_loop):
17006 Revert unpopular change for GST_MESSAGE_SRC to GObject.
17008 2005-08-25 Wim Taymans <wim@fluendo.com>
17010 * check/generic/states.c: (GST_START_TEST):
17011 Cleanup can be done at the end.
17013 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17014 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17015 (gst_task_get_state), (gst_task_start), (gst_task_pause):
17016 Oh boy.. Thanks for finding this, Thomas.
17018 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17020 * docs/gst/gstreamer.types:
17021 added missing types
17023 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17025 * docs/gst/gstreamer-docs.sgml:
17026 * docs/gst/gstreamer-sections.txt:
17027 * docs/gst/tmpl/.cvsignore:
17029 * gst/gstiterator.c:
17031 * gst/registries/gstxmlregistry.h:
17032 added missing classes and symbols (123 more to go)
17033 removed removed symbols from section file
17034 fixed many doc-comments
17036 2005-08-24 Wim Taymans <wim@fluendo.com>
17038 * check/generic/states.c: (GST_START_TEST):
17039 Make sure all tasks are stopped.
17041 * check/gst/gstbin.c: (GST_START_TEST):
17042 Unref after usage for proper valgrinding.
17044 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17045 Really wait for the task to stop before destroying the
17048 * gst/gstqueue.c: (gst_queue_sink_activate_push),
17049 (gst_queue_src_activate_push):
17050 Small cleanups. Don't stop the task when we did not start
17053 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17054 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17055 (gst_task_get_state), (gst_task_start), (gst_task_pause),
17058 Protect the stream lock with the object lock.
17059 Disallow setting the stream lock when running.
17060 Add cleanup_all to wait for the threadpool to finish.
17061 Remove code to autoallocate a mutex if none was provided.
17062 Add _join() to wait for a task to stop.
17063 Protect the thread pool with a global lock.
17065 2005-08-24 Wim Taymans <wim@fluendo.com>
17067 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17068 (gst_base_sink_get_times), (gst_base_sink_do_sync),
17069 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17070 * gst/base/gstbasesink.h:
17071 Handle newsegment events correctly.
17072 Drop buffers out of the segment range.
17074 2005-08-22 Andy Wingo <wingo@pobox.com>
17076 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17077 macro, implements an interface and gstimplementsinterface for a
17080 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17082 * check/Makefile.am:
17083 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17084 add a test that does a bunch of state changes on elements
17085 needs some fixing for valgrind
17086 * check/states/sinks.c: (gst_object_suite):
17089 add prototype for gst_caps_is_equal_fixed
17091 * gst/gstregistrypool.c:
17094 2005-08-24 Andy Wingo <wingo@pobox.com>
17096 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17097 convert a negative value. Doesn't make much sense. Mostly this is
17098 here to force callers to ensure -1 maps to -1.
17100 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17102 * docs/pwg/advanced-types.xml:
17103 Well done to Michael for catching my deliberate introduction
17104 of this spelling mistake.
17105 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17106 * gst/gstelement.h:
17107 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17108 unlink pads before removing the element from the bin.
17110 2005-08-24 Andy Wingo <wingo@pobox.com>
17112 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17113 the same thing as GST_DEBUG=*:4.
17114 (parse_debug_level, parse_debug_category): New helper parsers.
17116 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17118 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17119 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17120 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17121 (gst_base_transform_buffer_alloc),
17122 (gst_base_transform_handle_buffer):
17123 use gboolean return values and pointers to size so we can use the
17124 full GST_BUFFER_SIZE range (guint) for buffer sizes
17125 use GstPadDirection for transform_caps
17126 * gst/base/gstbasetransform.h:
17127 rename get_size to get_unit_size since that's what it is
17128 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17129 use GstPadDirection for transform_caps
17130 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17132 cleanup and debugging
17134 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17136 * gst/gstelement.c: (gst_element_class_init),
17137 (gst_element_set_state), (activate_pads),
17138 (gst_element_save_thyself):
17139 * tools/gst-compprep.c: (main):
17140 * tools/gst-inspect.c: (print_element_properties_info):
17141 * tools/gst-xmlinspect.c: (print_element_properties):
17142 Fixed long standing mem-leak
17144 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17146 * check/gst/gstbin.c: (GST_START_TEST):
17147 * gst/gstbin.c: (bin_bus_handler):
17148 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17149 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17150 (gst_message_new_warning), (gst_message_new_tag),
17151 (gst_message_new_state_changed), (gst_message_new_segment_start),
17152 (gst_message_new_segment_done), (gst_message_new_custom):
17153 * gst/gstmessage.h:
17154 * tools/gst-launch.c: (event_loop):
17155 * tools/gst-md5sum.c: (event_loop):
17156 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17157 that applications can sensibly post custom messages with references
17158 to their own objects.
17160 2005-08-24 Andy Wingo <wingo@pobox.com>
17162 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17165 2005-08-24 Wim Taymans <wim@fluendo.com>
17167 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17168 (gst_base_transform_transform_caps),
17169 (gst_base_transform_transform_size),
17170 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17171 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17172 (gst_base_transform_handle_buffer):
17173 * gst/base/gstbasetransform.h:
17174 Many fixes and new features added by Thomas. Can now also do
17175 transforms with variable sizes and a custom fixate_caps function.
17177 2005-08-24 Wim Taymans <wim@fluendo.com>
17179 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17183 Cast to ClockTime before formatting to time.
17188 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17190 * check/gst-libs/controller.c: (GST_START_TEST),
17191 (gst_controller_suite):
17192 * docs/gst/tmpl/gstcaps.sgml:
17193 * docs/gst/tmpl/gstghostpad.sgml:
17194 * docs/gst/tmpl/gstquery.sgml:
17195 * docs/gst/tmpl/gstutils.sgml:
17196 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17197 (gst_object_sink_values), (gst_object_get_value_arrays),
17198 (gst_object_get_value_array):
17199 gracefully handle helper method calls to objects that are not beeing
17200 controlled, added test case for that
17202 2005-08-23 Wim Taymans <wim@fluendo.com>
17204 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17205 (gst_event_new_newsegment), (gst_event_parse_newsegment),
17206 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17207 (gst_event_parse_qos), (gst_event_new_seek),
17208 (gst_event_parse_seek):
17210 Some more debugging output and doc cleanups.
17212 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17213 Fix possible deadlock.
17215 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17217 * docs/gst/gstreamer-docs.sgml:
17218 * docs/gst/gstreamer-sections.txt:
17219 * docs/gst/gstreamer.types:
17220 * docs/gst/tmpl/.cvsignore:
17223 * gst/gstelement.c:
17225 added 100 symbols from gstreamer-unused.txt to the right sections
17226 fixed more broken comments
17227 added GstBus to docs
17229 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17231 * docs/gst/gstreamer-sections.txt:
17232 * docs/gst/tmpl/.cvsignore:
17233 * docs/gst/tmpl/gstbin.sgml:
17234 * docs/gst/tmpl/gstbuffer.sgml:
17235 * gst/base/gstbasesrc.c:
17236 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17239 * tools/gst-launch.1.in:
17240 inlined more doc comments, added missing comments and fixed comments
17243 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
17245 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17249 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17251 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17252 * gst/gststructure.h:
17253 add a fixate function for booleans; add a FIXME that these func
17254 names should probably be gst_structure_fixate_*
17256 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17258 * docs/gst/gstreamer-docs.sgml:
17259 * docs/gst/gstreamer-sections.txt:
17261 * gst/gstbin.c: (gst_bin_get_type),
17262 (gst_bin_child_proxy_get_child_by_index),
17263 (gst_bin_child_proxy_get_children_count),
17264 (gst_bin_child_proxy_init):
17265 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17266 (gst_child_proxy_get_child_by_index),
17267 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17268 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17269 (gst_child_proxy_get), (gst_child_proxy_set_property),
17270 (gst_child_proxy_set_valist), (gst_child_proxy_set),
17271 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17272 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17273 * gst/gstchildproxy.h:
17274 * gst/parse/grammar.y:
17275 * tools/gst-inspect.c: (print_interfaces),
17276 (print_element_properties_info), (print_element_info):
17277 ported gstchildproxy over from 0.8
17278 ported gst-inspect fixes and enhancements over from 0.8
17280 2005-08-22 Wim Taymans <wim@fluendo.com>
17282 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17283 (gst_base_transform_handle_buffer):
17284 Also call the transform function if we have ANY caps.
17286 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17289 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17291 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17292 Don't pretend to handle seek events if the source is not seekable
17294 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17296 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17297 Remove extra parameter to debug output
17299 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17300 (gst_base_src_do_seek), (gst_base_src_activate_push):
17301 Fix seek event handling.
17303 * gst/gstpipeline.c: (gst_pipeline_change_state):
17304 * gst/gstqueue.c: (gst_queue_handle_sink_event),
17305 (gst_queue_src_activate_push):
17306 Don't start the src pad task on FLUSH_STOP if the pad
17310 2005-08-22 Wim Taymans <wim@fluendo.com>
17312 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17313 Added check for gst_static_caps_get() refcounting.
17315 2005-08-22 Wim Taymans <wim@fluendo.com>
17317 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17318 Make _static_caps_get() refcounting sane.
17320 * gst/gstelement.c: (gst_element_set_state):
17321 Add g_return_val_if_fail() to protect against segfaults.
17323 2005-08-22 Stefan Kost <ensonic@users.sf.net>
17325 * docs/gst/tmpl/gstevent.sgml:
17328 inlined remaining docs, added missing doc comments
17330 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
17332 * check/gst/gstbin.c: (GST_START_TEST):
17333 since we don't know when preroll is done, use refcount range
17335 * gst/check/gstcheck.h:
17336 add macro for checking refcount range
17338 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17340 * check/Makefile.am:
17341 clean up environment for when registry gets built versus
17342 when actual tests are run; valgrind seems to not report
17343 leaks if GST_PLUGIN_PATH is set to some specific values
17344 * check/gst/gstbin.c: (GST_START_TEST):
17345 add more refcounting checks; maybe this exposes a
17347 * common/check.mak:
17348 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17349 * gst/check/gstcheck.h:
17350 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17351 (gst_bin_change_state):
17352 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17353 add/fix debugging/whitespace
17355 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17357 * check/gst/gstevent.c: (event_probe), (test_event),
17359 Er, don't call gst_bin_watch_for_state_change you idiot.
17361 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17363 * check/Makefile.am:
17364 Use CHECK_CFLAGS and CHECK_LIBS
17365 * check/gst/gstevent.c: (event_probe), (test_event),
17368 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17369 (gst_base_src_start), (gst_base_src_stop),
17370 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17371 (gst_base_src_change_state):
17372 Sprinkle gst_base_src_stop liberally around error paths to fix
17373 problems reusing a source after failed state changes.
17374 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17375 (helper_find_suggest), (gst_type_find_helper):
17376 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17378 * docs/gst/tmpl/gstevent.sgml:
17379 Migrate part of the docs from the SGML file. Wait for ensonic to
17380 tell me how I did it wrong ;)
17381 * tools/gst-typefind.c: (main):
17382 Extra robustness to state changes between files.
17384 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17386 * check/Makefile.am:
17387 don't valgrind the controller test - it's leaking - Stefan, HELP
17388 * gst/check/gstcheck.c: (gst_check_message_error),
17389 (gst_check_chain_func), (gst_check_setup_element),
17390 (gst_check_teardown_element), (gst_check_setup_src_pad),
17391 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17392 (gst_check_teardown_sink_pad):
17393 * gst/check/gstcheck.h:
17394 add a bunch of methods to set up elements, and src and sink pads
17395 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17396 * check/elements/identity.c: (setup_identity), (cleanup_identity),
17399 * gst/gstmessage.c:
17401 whitespace/doc fixes
17403 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17405 * gst/gstelement.h:
17406 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17407 be handled by the application and not always printed as well
17409 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17411 * check/Makefile.am:
17413 * gst/check/gstcheck.c: (gst_check_message_error):
17414 * gst/check/gstcheck.h:
17415 add a fail_unless_equals_int
17416 add fail_unless for error messages
17418 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17420 * check/Makefile.am:
17422 * common/Makefile.am:
17423 * common/check.mak:
17425 factor out some of the common stuff so we can use it
17427 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17429 * check/Makefile.am:
17430 * check/gst/gstiterator.c: (GST_START_TEST):
17431 * check/gst/gstsystemclock.c: (GST_START_TEST),
17432 (gst_systemclock_suite):
17433 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17435 valgrind more tests
17437 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17439 * check/elements/.cvsignore:
17440 * check/elements/gstfakesrc.c:
17441 rename to name of element
17442 * check/elements/identity.c: (chain_func), (event_func),
17443 (setup_identity), (cleanup_identity), (GST_START_TEST),
17444 (identity_suite), (main):
17445 add a test for identity
17446 * check/Makefile.am:
17447 * pkgconfig/Makefile.am:
17448 * pkgconfig/gstreamer-check.pc.in:
17449 * pkgconfig/gstreamer-check-uninstalled.pc.in:
17453 move the check stuff to a library that gets installed
17454 * check/gst-libs/controller.c: (GST_START_TEST):
17455 * check/gst-libs/gdp.c:
17456 * check/gst/gst.c: (GST_START_TEST):
17457 * check/gst/gstbin.c:
17458 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17459 * check/gst/gstbus.c:
17460 * check/gst/gstcaps.c: (GST_START_TEST):
17461 * check/gst/gstelement.c:
17462 * check/gst/gstghostpad.c:
17463 * check/gst/gstiterator.c:
17464 * check/gst/gstmessage.c:
17465 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17466 * check/gst/gstobject.c:
17467 * check/gst/gstpad.c: (GST_START_TEST):
17468 * check/gst/gststructure.c: (GST_START_TEST):
17469 * check/gst/gstsystemclock.c: (GST_START_TEST),
17470 (gst_systemclock_suite):
17471 * check/gst/gsttag.c: (gst_tag_suite):
17472 * check/gst/gstvalue.c:
17473 * check/pipelines/cleanup.c:
17474 * check/pipelines/simple_launch_lines.c:
17475 * check/states/sinks.c:
17476 change include statement
17478 * docs/gst/gstreamer-sections.txt:
17479 * docs/gst/tmpl/gstpad.sgml:
17480 document more pad stuff
17481 * gst/gstminiobject.c: (gst_mini_object_ref),
17482 (gst_mini_object_unref):
17485 2005-08-19 Stefan Kost <ensonic@users.sf.net>
17487 * docs/gst/tmpl/gst.sgml:
17489 eliminate another tmpl file, fix spelling in the long-description
17491 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17493 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17494 (test_event), (timediff), (gstevents_suite):
17495 Should fix build on 64-bit arch's
17497 2005-08-18 Andy Wingo <wingo@pobox.com>
17499 Make sure that when a pipeline goes to PLAYING, that data has
17500 actually hit the sink.
17502 * check/states/sinks.c (test_sink): A sink that doesn't get any
17503 data shouldn't return SUCCESS for going to either PLAYING or
17504 PAUSED. Test also the return values on the way back down.
17506 * gst/gstelement.c (gst_element_set_state): When changing the
17507 state of an element currently changing state asynchronously, go to
17508 lost-state after commiting the pending state. Makes future calls
17509 to get_state continue to return ASYNC.
17511 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17512 ASYNC when going to PLAYING if we still don't have preroll, as can
17513 happen with live sources.
17515 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17517 * docs/pwg/advanced-types.xml:
17518 Hack long paragraph into 2 chunks as a workaround for buggy
17519 jadetex version in sid and breezy that loops infinitely and
17522 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17524 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17525 (test_event), (timediff), (gstevents_suite):
17526 Provide more error margin in clock measurements to allow for
17527 g_get_current_time inaccuracies.
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 Fix error message output so I might be able to tell why the
17534 test works here but fails on the build farm.
17536 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17538 * check/Makefile.am:
17539 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17540 (test_event), (timediff), (gstevents_suite), (main):
17543 * docs/design/part-seeking.txt:
17544 Spelling correction
17546 * docs/gst/tmpl/gstevent.sgml:
17547 * docs/gst/tmpl/gstfakesrc.sgml:
17550 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17551 Treat a buffer-without-newsegment the same as a receiving
17552 a newsegment not in time format, and disable syncing to the clock
17555 * gst/gstbus.c: (gst_bus_set_sync_handler):
17556 Assert if anyone tries to replace the existing sync_handler for bus,
17557 as only the owner should be setting it.
17560 Have a fixed set of custom event enums with events identified by
17561 their structure name (as in 0.8), rather than a free-for-all
17562 allowing collisions between enum values from different plugins.
17564 * gst/gstpad.c: (gst_pad_class_init):
17567 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17568 Handle out-of-band downstream events from the sending thread.
17570 2005-08-17 Andy Wingo <wingo@pobox.com>
17572 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17573 play-timeout==0 to mean no timeout at all. In that case, don't
17574 bother with a get_state or a warning, just return directly, even
17577 * gst/base/gstbasetransform.c: Debug changes.
17580 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17581 ensure bins post state change messages. A bit of a hack but I can't
17582 think of a way to avoid it.
17584 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17586 2005-08-16 Andy Wingo <wingo@pobox.com>
17588 * gst/base/gstadapter.h:
17589 * gst/base/gstadapter.c (gst_adapter_take): New function, like
17590 peek() but you own the data. Not terribly efficient atm.
17592 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17594 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17595 (gst_element_found_tags):
17597 Add two utility functions for tag handling.
17599 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17601 * docs/manual/advanced-dataaccess.xml:
17602 * docs/manual/basics-helloworld.xml:
17603 Fix docs to use _bin_add() before _link(), which fixes the examples
17604 with recent core versions (reported by Madhan Raj M
17605 <raj_madan@rediffmail.com>, #313199).
17607 2005-08-16 Wim Taymans <wim@fluendo.com>
17609 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17610 Added subtract checks.
17612 * docs/design/part-events.txt:
17613 Some more docs about newsegment
17615 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17618 * gst/gstcaps.c: (gst_caps_to_string):
17619 Add comments, cleanups.
17621 * gst/gstelement.c: (gst_element_save_thyself):
17624 * gst/gstvalue.c: (gst_value_collect_int_range),
17625 (gst_string_unwrap), (gst_value_union_int_int_range),
17626 (gst_value_union_int_range_int_range),
17627 (gst_value_intersect_int_int_range),
17628 (gst_value_intersect_int_range_int_range),
17629 (gst_value_intersect_double_double_range),
17630 (gst_value_intersect_double_range_double_range),
17631 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17632 (gst_value_subtract_int_range_int),
17633 (gst_value_subtract_double_range_double),
17634 (gst_value_subtract_double_range_double_range),
17635 (gst_value_subtract_from_list), (gst_value_subtract_list),
17636 (gst_value_can_compare), (gst_value_compare_fraction):
17637 Cleanups, add comments, remove unneeded asserts.
17639 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17641 * tools/gst-launch.c: (event_loop):
17642 don't convert NULL structures to strings
17644 2005-08-15 Stefan Kost <ensonic@users.sf.net>
17646 * docs/gst/gstreamer-sections.txt:
17647 made some defines private
17648 * docs/gst/tmpl/gstconfig.sgml:
17649 * docs/gst/tmpl/gstqueue.sgml:
17650 * docs/gst/tmpl/gsttaglist.sgml:
17651 * docs/gst/tmpl/gsttypes.sgml:
17652 * docs/gst/tmpl/gstutils.sgml:
17653 * docs/pwg/appendix-porting.xml:
17654 * gst/base/gstbasesink.h:
17655 * gst/base/gstbasesrc.c:
17656 * gst/base/gstbasesrc.h:
17657 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17658 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17659 * gst/gstelement.c: (gst_element_class_init):
17660 * gst/gstpad.c: (gst_pad_class_init):
17661 * gst/gstqueue.c: (gst_queue_class_init):
17662 * gst/gstxml.c: (gst_xml_class_init):
17663 documented all undocumented signal inline
17664 * libs/gst/controller/gst-controller.h:
17667 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17669 * docs/pwg/appendix-porting.xml:
17670 Document _set_link_function -> _set_setcaps_function.
17672 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17674 * check/Makefile.am:
17675 add a .check target for running the check
17676 * check/gst-libs/controller.c: (GST_START_TEST):
17678 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17679 complete checks for gstbuffer; would be nice if I could get the
17680 gcov stuff to work so I can see if I actually completed gstbuffer.c
17681 * check/gstcheck.h:
17682 add ASSERT_BUFFER_REFCOUNT
17684 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
17686 * docs/gst/gstreamer-sections.txt:
17687 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17689 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17690 spew out a warning if a tag that is already registered
17691 is re-registered, unless it is re-registered with a
17692 different type (#308438).
17694 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
17696 * docs/pwg/appendix-porting.xml:
17697 * docs/pwg/building-state.xml:
17698 Add some paragraphs about state changes in 0.9 to the PWG
17699 and the porting guide, in particular about the new meaning
17700 of GST_STATE_PAUSED and how to write state change functions
17701 with concurrent access by multiple threads in mind.
17703 2005-08-11 Stefan Kost <ensonic@users.sf.net>
17705 * docs/gst/gstreamer-docs.sgml:
17706 * docs/libs/gstreamer-libs-docs.sgml:
17707 added deprecation and since indexes
17708 * libs/gst/controller/gst-controller.c:
17709 * libs/gst/controller/gst-helper.c:
17713 2005-08-11 Wim Taymans <wim@fluendo.com>
17715 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17716 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17717 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17718 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17719 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17720 (gst_ghost_pad_set_target):
17721 Actually implement (re)setting the target on a ghostpad
17722 as described in the docs.
17724 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17726 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17727 Check whether GST_DEBUG_NO_COLOR environment variable is
17728 set and disable coloured debug output if that is the case.
17730 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17732 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17733 (gst_type_find_helper):
17734 The memory returned by gst_type_find_peek() needs to
17735 stay valid until the end of a typefind function, and
17736 typefind functions may keep results from different
17737 offsets around, so we can't just unref the buffer from
17738 the previous _peek(), but have to save all buffers
17739 returned by _peek() until typefinding is done and only
17742 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
17744 * docs/gst/gstreamer-sections.txt:
17746 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
17748 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17750 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17751 Fix a pretty good memleak.
17753 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17755 * gst/gstiterator.h:
17756 Fix wrong include and 'make distcheck'.
17758 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17760 * gst/gstbin.c: (bin_bus_handler):
17761 Use gst_element_post_message() instead.
17763 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17765 * gst/base/gstadapter.h:
17766 * gst/base/gstbasesink.h:
17767 * gst/base/gstbasesrc.h:
17768 * gst/base/gstbasetransform.h:
17769 * gst/base/gstcollectpads.h:
17770 * gst/base/gstpushsrc.h:
17771 * gst/gstiterator.h:
17772 Add padding to our base elements' class and instance structs and
17773 to GstIterator (you will need to rebuild all plugins and apps!)
17775 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17777 * gst/gstbin.c: (bin_bus_handler):
17778 Make default message forwarding from child->bus to bin->bus
17779 threadsafe and make it not emit warnings if the parent has no bus.
17781 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17783 * gst/gstelement.c: (activate_pads):
17784 On paused->ready, set pad->caps to NULL, as is the documented
17785 behaviour in this state change. Fixes playback of series of
17786 media files when visualization is enabled in Totem.
17788 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17790 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17791 Allow NULL as filter-caps (which means "any").
17793 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17795 * docs/libs/gstreamer-libs-sections.txt:
17796 * libs/gst/controller/gst-controller.c:
17797 * libs/gst/controller/gst-controller.h:
17798 * libs/gst/controller/gst-helper.c:
17799 adding more entries to the docs and fix small doc-bugs
17801 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17803 * docs/gst/gstreamer-docs.sgml:
17804 * docs/gst/gstreamer-sections.txt:
17805 * docs/gst/gstreamer.types:
17806 * docs/gst/tmpl/gstbasesink.sgml:
17807 * docs/gst/tmpl/gstbasesrc.sgml:
17808 * docs/gst/tmpl/gstbasetransform.sgml:
17809 * docs/gst/tmpl/gstfakesrc.sgml:
17810 * gst/base/gstcollectpads.c:
17811 * gst/base/gstcollectpads.h:
17812 * libs/gst/controller/gst-controller.c:
17813 * libs/gst/controller/gst-controller.h:
17814 * libs/gst/controller/gst-helper.c:
17815 * libs/gst/controller/gst-interpolation.c:
17816 * libs/gst/controller/lib.c:
17817 added long/short desc for controller docs
17818 added collectpads base class docs
17819 added correct includes to base-class docs
17821 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17823 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17824 (gst_test_mono_source_set_property),
17825 (gst_test_mono_source_class_init), (GST_START_TEST),
17826 (gst_controller_suite):
17827 * docs/gst/gstreamer-docs.sgml:
17828 * docs/gst/gstreamer-sections.txt:
17829 * docs/gst/gstreamer.types:
17830 * docs/libs/gstreamer-libs-docs.sgml:
17831 * docs/libs/gstreamer-libs-sections.txt:
17832 * gst/base/gstadapter.c:
17833 * libs/gst/controller/gst-controller.c:
17834 (gst_controlled_property_new), (gst_controlled_property_free),
17835 (gst_controller_new_valist),
17836 (gst_controller_remove_properties_valist),
17837 (gst_controller_sink_values), (_gst_controller_finalize):
17838 * libs/gst/controller/gst-controller.h:
17839 * libs/gst/controller/gst-helper.c:
17840 (gst_object_control_properties), (gst_object_uncontrol_properties),
17841 (gst_object_get_controller), (gst_object_set_controller),
17842 (gst_object_sink_values), (gst_object_get_value_arrays),
17843 (gst_object_get_value_array):
17844 more tests (and fixes) for the controller
17845 more docs for the controller
17846 integrated companies docs for the adapter
17848 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
17850 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
17851 (GST_START_TEST), (fakesrc_suite):
17852 add tests for sizetype
17854 2005-08-04 Andy Wingo <wingo@pobox.com>
17856 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
17857 fixes buffer_alloc proxying among other things.
17859 * gst/base/gstbasetransform.c:
17860 * gst/base/gstbasetransform.h:
17861 Revert patch to gstbasetransform from 7-28 removing
17864 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
17865 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
17866 Semantics changed, should return not the size of the output buffer
17867 but the byte size of a buffer with a given caps.
17869 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
17871 (gst_base_transform_configure_caps): Don't set out_size here: (in,
17872 out) are not the pad caps until setcaps finishes.
17873 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
17874 not-in-place case as well. Deal with changing from in-place to
17875 not-in-place within calling pad_alloc_buffer. Still a bit
17876 concerned about the overhead here...
17878 2005-08-03 Andy Wingo <wingo@pobox.com>
17880 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
17881 fixating is an error.
17883 2005-08-04 Edward Hervey <edward@fluendo.com>
17885 * gst/base/gstadapter.h:
17886 Added gst_adapter_get_type() to the header
17888 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17890 * check/Makefile.am:
17891 * check/gst-libs/controller.c:
17892 * libs/gst/controller/gst-controller.c:
17893 (gst_controller_new_valist):
17894 added check test suite for the controller
17895 * gst/base/gstpushsrc.c:
17898 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17900 * docs/gst/Makefile.am:
17901 * docs/gst/gstreamer-docs.sgml:
17902 * docs/gst/gstreamer-sections.txt:
17903 * docs/gst/gstreamer.types:
17904 * docs/gst/tmpl/gstfakesrc.sgml:
17906 * gst/base/gstbasesink.c:
17907 * gst/base/gstbasesink.h:
17908 * gst/base/gstbasesrc.c:
17909 * gst/base/gstbasesrc.h:
17910 * gst/base/gstbasetransform.c:
17911 * gst/base/gstpushsrc.c:
17912 * gst/base/gstpushsrc.h:
17913 add short/long description docs to base classes
17914 add pushsrc to the docs
17915 remove consolidated doc fragments
17917 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17920 * docs/libs/Makefile.am:
17921 * docs/libs/gstreamer-libs-docs.sgml:
17922 * docs/libs/gstreamer-libs-sections.txt:
17923 * docs/libs/gstreamer-libs.types:
17924 * examples/Makefile.am:
17925 * examples/controller/.cvsignore:
17926 * examples/controller/Makefile.am:
17927 * examples/controller/audio-example.c: (main):
17928 * libs/gst/Makefile.am:
17929 * libs/gst/controller/.cvsignore:
17930 * libs/gst/controller/Makefile.am:
17931 * libs/gst/controller/gst-controller.c:
17932 (on_object_controlled_property_changed), (gst_timed_value_compare),
17933 (gst_timed_value_find),
17934 (gst_controlled_property_set_interpolation_mode),
17935 (gst_controlled_property_new), (gst_controlled_property_free),
17936 (gst_controller_find_controlled_property),
17937 (gst_controller_new_valist), (gst_controller_new),
17938 (gst_controller_remove_properties_valist),
17939 (gst_controller_remove_properties), (gst_controller_set),
17940 (gst_controller_set_from_list), (gst_controller_unset),
17941 (gst_controller_get), (gst_controller_get_all),
17942 (gst_controller_sink_values), (gst_controller_get_value_arrays),
17943 (gst_controller_get_value_array),
17944 (gst_controller_set_interpolation_mode),
17945 (_gst_controller_finalize), (_gst_controller_init),
17946 (_gst_controller_class_init), (gst_controller_get_type):
17947 * libs/gst/controller/gst-controller.h:
17948 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
17949 (g_object_uncontrol_properties), (g_object_get_controller),
17950 (g_object_set_controller), (g_object_sink_values),
17951 (g_object_get_value_arrays), (g_object_get_value_array):
17952 * libs/gst/controller/gst-interpolation.c:
17953 (gst_controlled_property_find_timed_value_node),
17954 (interpolate_none_get), (interpolate_trigger_get),
17955 (interpolate_trigger_get_value_array):
17956 * libs/gst/controller/lib.c: (gst_controller_init):
17957 * pkgconfig/Makefile.am:
17958 * pkgconfig/gstreamer-control-uninstalled.pc.in:
17959 * pkgconfig/gstreamer-control.pc.in:
17960 * testsuite/Makefile.am:
17961 * testsuite/controller/.cvsignore:
17962 * testsuite/controller/Makefile.am:
17963 * testsuite/controller/interpolator.c: (main):
17964 added controller code
17965 removed dparam pc files
17967 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
17968 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
17969 (gst_collectpads_stop):
17970 Broadcast the condition when shutting down, to make sure we wake all
17971 threads up. Shut down pads on finalize, for safety.
17973 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
17974 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17975 (gst_base_transform_handle_buffer),
17976 (gst_base_transform_change_state):
17977 Handle PAUSED->READY->PAUSED transition after negotiation
17979 * gst/gstmessage.c: (gst_message_init):
17980 Extra piece of debug for new messages.
17982 2005-08-01 Stefan Kost <ensonic@users.sf.net>
17985 * docs/gst/tmpl/gstbasesrc.sgml:
17986 * docs/gst/tmpl/gstelement.sgml:
17987 * docs/gst/tmpl/gstevent.sgml:
17988 * docs/gst/tmpl/gstfakesrc.sgml:
17989 * docs/gst/tmpl/gstformat.sgml:
17990 * docs/gst/tmpl/gstghostpad.sgml:
17991 * docs/gst/tmpl/gstpad.sgml:
17992 * docs/gst/tmpl/gstquery.sgml:
17993 * docs/gst/tmpl/gststructure.sgml:
17994 * docs/gst/tmpl/gsttaglist.sgml:
17995 * docs/gst/tmpl/gstvalue.sgml:
17996 * docs/libs/gstreamer-libs-docs.sgml:
17997 * docs/libs/gstreamer-libs-sections.txt:
17998 * docs/libs/gstreamer-libs.types:
17999 * libs/gst/Makefile.am:
18000 * libs/gst/control/.cvsignore:
18001 * libs/gst/control/Makefile.am:
18002 * libs/gst/control/control.c:
18003 * libs/gst/control/control.h:
18004 * libs/gst/control/dparam.c:
18005 * libs/gst/control/dparam.h:
18006 * libs/gst/control/dparam_smooth.c:
18007 * libs/gst/control/dparam_smooth.h:
18008 * libs/gst/control/dparamcommon.h:
18009 * libs/gst/control/dparammanager.c:
18010 * libs/gst/control/dparammanager.h:
18011 * libs/gst/control/dplinearinterp.c:
18012 * libs/gst/control/dplinearinterp.h:
18013 * libs/gst/control/unitconvert.c:
18014 * libs/gst/control/unitconvert.h:
18015 * testsuite/Makefile.am:
18016 * testsuite/dynparams/.cvsignore:
18017 * testsuite/dynparams/Makefile.am:
18018 * testsuite/dynparams/dparamstest.c:
18019 * tools/Makefile.am:
18020 * tools/gst-inspect.c: (print_element_info), (main):
18021 * tools/gst-xmlinspect.c: (print_element_info), (main):
18022 deactivate and remove dparams (libgstcontrol)
18024 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18026 * gst/elements/gsttypefindelement.c:
18027 (gst_type_find_element_have_type), (gst_type_find_element_init),
18028 (stop_typefinding), (gst_type_find_element_handle_event),
18029 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18030 * gst/elements/gsttypefindelement.h:
18031 Set caps on all outgoing buffers, not just the first one.
18033 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18035 * gst/elements/gsttypefindelement.c:
18036 (gst_type_find_element_have_type),
18037 (gst_type_find_element_check_set_buffer_caps),
18038 (gst_type_find_element_init), (stop_typefinding),
18039 (gst_type_find_element_handle_event),
18040 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18041 * gst/elements/gsttypefindelement.h:
18042 Set caps on first outgoing buffer when we've found the type.
18044 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18046 * docs/gst/gstreamer-docs.sgml:
18047 * docs/gst/gstreamer-sections.txt:
18048 * docs/gst/tmpl/gstscheduler.sgml:
18049 * docs/gst/tmpl/gstschedulerfactory.sgml:
18050 Remove some old cruft from docs.
18052 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
18055 Fix inline docs for GstPadLinkReturn.
18057 * gst/gststructure.c: (gst_structure_has_name):
18058 * gst/gststructure.h:
18059 * docs/gst/gstreamer-sections.txt:
18060 New API: gst_structure_has_name().
18062 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
18065 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18066 and _LARGEFILE_SOURCE in config.h as required. Do not
18067 export those flags in our .pc files any longer (#142209).
18069 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18071 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18072 (gst_file_sink_do_seek), (gst_file_sink_event),
18073 (gst_file_sink_get_current_offset), (gst_file_sink_render):
18074 Redo seek/tell calls with large file support in mind; add some
18075 debugging messages; add log message that tells us when large
18076 file support is unavailable or not enabled for some reason.
18078 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18079 Add log message that tells us when large file support
18080 is unavailable or not enabled for some reason.
18082 2005-07-29 Wim Taymans <wim@fluendo.com>
18084 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18085 Added test for removing an element with ghostpad from a bin.
18086 Fixed test as current implementation does the right thing.
18088 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18089 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18090 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18091 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18092 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18093 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18094 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18095 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18096 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18097 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18098 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18099 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18100 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18101 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18102 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18103 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18104 * gst/gstghostpad.h:
18105 Clean up ghostpads, remove properties for internal stuff.
18108 Prepare for switching targets, not all use cases work yet.
18110 2005-07-29 Wim Taymans <wim@fluendo.com>
18112 * docs/design/part-gstghostpad.txt:
18115 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18116 (gst_bin_remove_func):
18117 Unlinking pads while holding the bin LOCK is not a good
18120 * gst/gstpad.c: (gst_pad_class_init),
18121 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18122 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18123 No prob setting template after creating the pad.
18125 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
18127 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18128 (gst_bus_peek), (gst_bus_source_dispatch),
18129 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18130 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18131 gst_bus_poll may be called from other threads. Handle
18132 this nicely by not making poll_data disappear off the
18133 stack once gst_bus_poll returns.
18134 gst_bus_peek now increments the refcount on the returned
18137 2005-07-29 Wim Taymans <wim@fluendo.com>
18139 * docs/design/part-gstghostpad.txt:
18140 Overview of current GhostPad datastructures and use
18141 cases for changing the target.
18143 2005-07-28 Wim Taymans <wim@fluendo.com>
18145 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18146 Added checks for hierarchy consistency whan adding linked
18149 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18150 Added check to test element scheduling without bin/pipeline.
18152 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18153 First add elements to bin, then link.
18155 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18156 (gst_bin_remove_func):
18157 Unlink pads from elements added/removed from bin to maintain
18158 hierarchy consistency.
18160 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18162 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18163 (gst_base_transform_handle_buffer):
18164 * gst/base/gstbasetransform.h:
18165 Remove broken delay_configure (fixes renegotiation of software
18166 scaling pipelines); remove some leftover printf()s.
18168 2005-07-28 Wim Taymans <wim@fluendo.com>
18170 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18171 Added some more tests for wrong hierarchy
18173 * docs/design/part-overview.txt:
18176 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18179 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18180 (gst_element_dispose):
18181 Some more cleanups.
18183 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18184 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18185 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18186 (gst_pad_set_caps), (gst_pad_send_event):
18187 Check for correct hierarchy when linking pads. Moving to
18188 strict requirement for ghostpads when linking elements in
18192 Clean ups. Added WRONG_HIERARCHY return value.
18194 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18196 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18197 Better debug if no transform is possible.
18199 2005-07-27 Wim Taymans <wim@fluendo.com>
18201 * docs/random/wtay/network-transp:
18202 Some old doc I had.
18204 2005-07-27 Wim Taymans <wim@fluendo.com>
18206 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18207 (gst_dp_event_from_packet):
18208 Fix serialization of seek events.
18210 2005-07-27 Wim Taymans <wim@fluendo.com>
18212 * check/gst-libs/gdp.c: (GST_START_TEST):
18213 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18214 Fix compilation and fix event serialization.
18216 2005-07-27 Wim Taymans <wim@fluendo.com>
18219 * docs/design/part-TODO.txt:
18220 * docs/design/part-events.txt:
18223 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18224 (gst_base_sink_event), (gst_base_sink_do_sync),
18225 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18226 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18227 (gst_base_src_do_seek), (gst_base_src_event_handler),
18228 (gst_base_src_loop):
18229 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18230 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18231 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18232 (gst_base_transform_event), (gst_base_transform_handle_buffer),
18233 (gst_base_transform_set_passthrough),
18234 (gst_base_transform_is_passthrough):
18235 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18236 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18242 * gst/gstelement.c: (gst_element_seek):
18243 * gst/gstelement.h:
18244 Update gst_element_seek.
18246 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18247 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18248 (gst_event_new_flush_start), (gst_event_new_flush_stop),
18249 (gst_event_new_eos), (gst_event_new_newsegment),
18250 (gst_event_parse_newsegment), (gst_event_new_tag),
18251 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18252 (gst_event_parse_qos), (gst_event_new_seek),
18253 (gst_event_parse_seek), (gst_event_new_navigation):
18255 Make GstEvent use GstStructure. Add parsing code, make sure the
18256 API is sufficiently generic.
18257 Mark possible directions of events and serialization.
18259 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18260 (_gst_message_copy), (gst_message_new_segment_start),
18261 (gst_message_new_segment_done), (gst_message_new_custom),
18262 (gst_message_parse_segment_start),
18263 (gst_message_parse_segment_done):
18266 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18267 (gst_pad_set_caps), (gst_pad_send_event):
18268 Update for new events.
18269 Catch events sent in wrong directions.
18271 * gst/gstqueue.c: (gst_queue_link_src),
18272 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18273 (gst_queue_handle_src_query):
18278 Remove event code from this file.
18280 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18281 (gst_dp_event_from_packet):
18284 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18286 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18287 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18288 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18289 Make debugging actually useful.
18291 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18293 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18294 (gst_pad_fixate_caps):
18295 Implement default fixation once again, so that gst_pad_fixate()
18296 actually does anything at all. This probably needs to be some
18297 sort of a last resort, and use profile-based fixation first, but
18298 since that doesn't exist yet, this is the best we have. Fixes
18299 visualization in Totem.
18301 2005-07-22 Wim Taymans <wim@fluendo.com>
18303 * docs/design/part-events.txt:
18306 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18307 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18308 (gst_base_sink_activate_pull):
18309 Some more comments.
18311 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18312 (gst_fake_src_create):
18313 Fix handoff marshall.
18315 * gst/elements/gstidentity.c: (gst_identity_class_init),
18316 (gst_identity_transform_ip):
18317 We're a real inplace element.
18319 * gst/gstbus.c: (gst_bus_post):
18320 Added some comments.
18322 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18323 * tests/muxing/case1.c: (main):
18324 * tests/sched/dynamic-pipeline.c: (main):
18325 * tests/sched/interrupt1.c: (main):
18326 * tests/sched/interrupt2.c: (main):
18327 * tests/sched/interrupt3.c: (main):
18328 * tests/sched/runxml.c: (main):
18329 * tests/sched/sched-stress.c: (main):
18330 * tests/seeking/seeking1.c: (event_received), (main):
18331 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18333 * tests/threadstate/threadstate3.c: (main):
18334 * tests/threadstate/threadstate4.c: (main):
18335 * tests/threadstate/threadstate5.c: (main):
18338 2005-07-21 Wim Taymans <wim@fluendo.com>
18340 * docs/design/part-seeking.txt:
18341 Some small additions.
18343 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18344 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18345 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18346 * gst/base/gstbasesink.h:
18347 discont values are gint64, handle the math correctly.
18349 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18350 Make the basesrc report error if the source pad is not linked.
18352 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18353 (gst_queue_loop), (gst_queue_handle_src_query),
18354 (gst_queue_src_activate_push):
18355 Make queue collect data even if the srcpad is not linked.
18356 Start pushing out data as soon as it is linked.
18358 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18360 Added gst_flow_get_name() to ease error reporting.
18362 2005-07-20 Wim Taymans <wim@fluendo.com>
18364 * gst/gstmessage.c: (gst_message_new_segment_start),
18365 (gst_message_new_segment_done), (gst_message_parse_segment_start),
18366 (gst_message_parse_segment_done):
18367 * gst/gstmessage.h:
18368 Added a bunch of messages for advanced seeking.
18370 * gst/parse/grammar.y:
18371 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18372 (gst_dpman_state_changed):
18373 Fix some new-pad -> pad-added signals
18375 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18377 * docs/manual/appendix-porting.xml:
18378 * docs/pwg/appendix-porting.xml:
18379 Document new-pad/state-change signal renames and the FixedList
18382 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18384 * docs/manual/advanced-autoplugging.xml:
18385 * docs/manual/basics-helloworld.xml:
18386 * docs/manual/basics-pads.xml:
18387 * docs/random/ds/0.9-suggested-changes:
18388 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18389 * gst/gstelement.h:
18393 * gst/gststructure.c: (gst_structure_value_get_generic_type),
18394 (gst_structure_parse_array), (gst_structure_parse_value):
18395 * gst/gstvalue.c: (gst_type_is_fixed),
18396 (gst_value_list_prepend_value), (gst_value_list_append_value),
18397 (gst_value_list_get_size), (gst_value_list_get_value),
18398 (gst_value_transform_array_string), (gst_value_serialize_array),
18399 (gst_value_deserialize_array), (gst_value_intersect_array),
18400 (gst_value_is_fixed), (_gst_value_initialize):
18402 GstElement::new-pad -> pad-added, GstElement::state-change ->
18403 state-changed, GstValueFixedList -> GstValueArray, add format and
18404 flags as their own arguments in gst_element_seek() (should improve
18405 "bindeability"), remove function generators since they don't work
18406 under a whole bunch of compilers (they were deprecated already
18409 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18411 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18412 (_gst_debug_register_funcptr):
18414 Fix illegal cast on some platforms (#309253).
18416 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18418 * gst/gstmessage.c: (gst_message_new_custom):
18419 * gst/gstmessage.h:
18420 Add _new_custom, make _new_application a macro to _new_custom.
18422 2005-07-20 Wim Taymans <wim@fluendo.com>
18424 * gst/base/gstbasesrc.c: (gst_base_src_init),
18425 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18426 * gst/base/gstbasesrc.h:
18427 Add a gboolean to decide when to push out a discont.
18429 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18430 (gst_queue_loop), (gst_queue_handle_src_query),
18431 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18432 (gst_queue_set_property), (gst_queue_get_property):
18435 * tests/threadstate/threadstate1.c: (main):
18436 Make a thread test compile and run... very silly..
18439 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18441 * docs/manual/appendix-porting.xml:
18442 Mention removal of libgstgconf-0.9.la and existence of gconf
18445 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18447 * docs/pwg/advanced-clock.xml:
18448 * docs/pwg/appendix-porting.xml:
18449 * docs/pwg/intro-preface.xml:
18450 * docs/pwg/other-base.xml:
18451 * docs/pwg/other-manager.xml:
18452 * docs/pwg/other-nton.xml:
18453 * docs/pwg/other-ntoone.xml:
18454 * docs/pwg/other-oneton.xml:
18455 * docs/pwg/pwg.xml:
18456 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18457 demuxer), remove n-to-n (was never written), fix some code examples
18458 and links and update the porting section to include all this.
18460 2005-07-19 Wim Taymans <wim@fluendo.com>
18462 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18463 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18464 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18465 (gst_queue_src_activate_push), (gst_queue_change_state),
18466 (gst_queue_get_property):
18468 Propagate GstFlowReturn more intelligently upstream and output
18469 an ERROR/EOS when streaming stopped due to fatal error.
18471 2005-07-19 Wim Taymans <wim@fluendo.com>
18473 * tools/gst-launch.c: (check_intr), (event_loop), (main):
18474 Don't block forever for the state change to complete, the
18475 pipeline already did with a sensible timeout.
18477 2005-07-19 Wim Taymans <wim@fluendo.com>
18479 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18480 Make sure we never call the create function is we
18483 2005-07-19 Andy Wingo <wingo@pobox.com>
18485 * gst/parse/parse.l: Attempt to solve bug #172815.
18487 2005-07-19 Wim Taymans <wim@fluendo.com>
18489 * docs/design/part-clocks.txt:
18490 * docs/design/part-events.txt:
18491 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18492 Small docs updates.
18493 Only update the seeking values when we are not
18496 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18498 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18499 Oops, ignore the result of gst_pad_push_event here.
18501 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18503 * gst/base/gstbasesrc.c: (gst_base_src_loop),
18504 (gst_base_src_activate_push):
18505 Send discont event from the loop function, as pads
18506 aren't activated yet in the activate_push handler.
18508 * gst/gstbin.c: (bin_bus_handler):
18509 Don't leak element name.
18511 2005-07-18 Andy Wingo <wingo@pobox.com>
18513 * configure.ac: Use AS_LIBTOOL_TAGS.
18515 2005-07-18 Wim Taymans <wim@fluendo.com>
18517 * docs/gst/gstreamer.types:
18518 Remove deleted types.
18520 2005-07-18 Wim Taymans <wim@fluendo.com>
18522 * check/elements/gstfakesrc.c: (GST_START_TEST):
18525 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18526 (init_popt_callback):
18528 * gst/gst_private.h:
18529 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18530 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18533 * gst/gstconfig.h.in:
18534 * gst/gstelement.c: (gst_element_class_init),
18535 (gst_element_set_base_time), (gst_element_get_base_time),
18536 (iterator_fold_with_resync), (gst_element_change_state),
18537 (gst_element_dispose), (gst_element_get_bus):
18538 * gst/gstelement.h:
18539 * gst/gstelementfactory.h:
18540 * gst/gsterror.c: (_gst_core_errors_init):
18543 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18545 * gst/gstinfo.c: (_gst_debug_init):
18546 * gst/gstmessage.c: (_gst_message_copy):
18547 * gst/gstmessage.h:
18548 * gst/gstminiobject.h:
18551 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18552 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18555 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18556 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18557 (gst_pipeline_get_last_stream_time):
18558 * gst/gstpipeline.h:
18559 * gst/gstpluginfeature.h:
18561 * gst/gstscheduler.c:
18562 * gst/gstscheduler.h:
18563 * gst/gststructure.h:
18564 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18565 (gst_task_finalize), (gst_task_func), (gst_task_create),
18566 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18567 (gst_task_stop), (gst_task_pause):
18569 * gst/gsttypefind.h:
18571 * gst/registries/gstlibxmlregistry.c: (load_feature),
18572 (gst_xml_registry_load), (gst_xml_registry_save_feature):
18573 * gst/registries/gstxmlregistry.c:
18574 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18575 * gst/schedulers/threadscheduler.c:
18576 * libs/gst/control/dparammanager.h:
18577 * tools/gst-inspect.c: (print_element_list),
18578 (print_plugin_features), (print_element_features):
18579 * tools/gst-xmlinspect.c: (print_element_list),
18580 (print_plugin_info), (main):
18581 Removed plugable schedulers.
18582 Removed Scheduler/Manager from elements.
18583 Removed gsttypes.h, rearranged includes.
18584 Removed dependency pad<->element, element<>pipeline, and
18585 various others, fix includes.
18586 implement gst_pad_get_parent() with gst_object_get_parent()
18587 Make GstTask sefcontained.
18588 Fix _get_state() on GstBin, it did not return ASYNC with a 0
18590 Fix endless loop in iterator_fold_with_resync.
18593 2005-07-18 Wim Taymans <wim@fluendo.com>
18599 2005-07-18 Wim Taymans <wim@fluendo.com>
18602 No more cothreads.h
18604 2005-07-18 Wim Taymans <wim@fluendo.com>
18608 Let's remove these.
18610 2005-07-18 Wim Taymans <wim@fluendo.com>
18612 * docs/design/part-dynamic.txt:
18613 * docs/design/part-events.txt:
18614 * docs/design/part-seeking.txt:
18615 Some more docs in the works.
18617 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18618 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18619 (gst_base_transform_setcaps), (gst_base_transform_get_size),
18620 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18621 (gst_base_transform_handle_buffer),
18622 (gst_base_transform_sink_activate_push),
18623 (gst_base_transform_src_activate_pull),
18624 (gst_base_transform_set_passthrough),
18625 (gst_base_transform_is_passthrough):
18628 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18631 * gst/gstevent.c: (gst_event_finalize):
18634 * gst/gstutils.c: (gst_element_unlink),
18635 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18636 (gst_pad_proxy_setcaps):
18638 Add _get_parent_element() to get a pads parent as an element.
18640 2005-07-18 Wim Taymans <wim@fluendo.com>
18642 * check/gst/gstbin.c: (GST_START_TEST):
18645 2005-07-18 Wim Taymans <wim@fluendo.com>
18647 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18648 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18649 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18650 (gst_base_sink_event), (gst_base_sink_do_sync),
18651 (gst_base_sink_chain), (gst_base_sink_loop),
18652 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18653 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18655 Fix logic for returning ASYNC when not prerolled.
18657 2005-07-18 Wim Taymans <wim@fluendo.com>
18659 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18660 Fix nasty refcount bug.
18662 2005-07-16 Philippe Khalaf <burger@speedy.org>
18664 * gst/elements/gstfdsrc.c:
18665 * gst/elements/gstfdsrc.h:
18666 * gst/elements/gstelements.c:
18667 * gst/elements/Makefile.am:
18668 Ported fdsrc to 0.9.
18670 2005-07-16 Wim Taymans <wim@fluendo.com>
18672 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18673 (gst_base_sink_do_sync):
18676 2005-07-16 Wim Taymans <wim@fluendo.com>
18678 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18679 (gst_base_sink_event), (gst_base_sink_get_times),
18680 (gst_base_sink_do_sync), (gst_base_sink_change_state):
18681 * gst/base/gstbasesink.h:
18682 Store and use discont values when syncing buffers as described
18685 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18686 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18687 (gst_base_src_activate_push):
18688 Push discont event when starting.
18690 * gst/elements/gstidentity.c: (gst_identity_transform):
18693 * gst/gstbin.c: (gst_bin_change_state):
18694 Small cleanups in base_time distribution.
18696 * gst/gstelement.c: (gst_element_set_base_time),
18697 (gst_element_get_base_time), (gst_element_change_state):
18698 * gst/gstelement.h:
18699 Added methods for the base_time of the element.
18702 * gst/gstpipeline.c: (gst_pipeline_send_event),
18703 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18704 (gst_pipeline_get_last_stream_time):
18705 * gst/gstpipeline.h:
18707 Handle seeking as described in design doc, remove stream_time
18709 Cleanups clock and stream_time selection code. Added accessors
18710 for the stream_time.
18713 2005-07-16 Andy Wingo <wingo@pobox.com>
18715 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18718 2005-07-16 Wim Taymans <wim@fluendo.com>
18720 * check/gst/gstbin.c: (GST_START_TEST):
18721 Make elements silent as the deep_notify refs the
18722 parent, which might make the test fail.
18724 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18725 Don't hold the lock for too long.
18727 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
18729 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18730 Don't unref the caps we passed to gst_caps_make_writable() after
18731 passing them. gst_caps_make_writable() will do that for us.
18733 2005-07-15 Andy Wingo <wingo@pobox.com>
18735 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18738 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18739 own marshalling function for the handoff signal. Properly type the
18740 buffer as a buffer. Fixes some warnings. Should do a more general
18742 (gst_identity_class_init): Plug into the right marshaller.
18744 2005-07-15 Wim Taymans <wim@fluendo.com>
18746 * docs/design/part-TODO.txt:
18747 * docs/design/part-clocks.txt:
18748 * docs/design/part-element-sink.txt:
18749 * docs/design/part-events.txt:
18750 * docs/design/part-gstpipeline.txt:
18751 Updated docs, mostly DISCONT related.
18753 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
18755 * docs/pwg/building-pads.xml:
18756 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
18758 2005-07-15 Andy Wingo <wingo@pobox.com>
18760 * tools/gst-typefind.c: Update, add copyright block.
18762 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
18763 Normalize and truncate caps before fixation.
18766 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
18767 discards all but the first structure from its argument.
18769 2005-07-15 Wim Taymans <wim@fluendo.com>
18771 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18772 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
18773 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18774 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18775 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
18776 (gst_base_transform_chain), (gst_base_transform_change_state),
18777 (gst_base_transform_set_passthrough),
18778 (gst_base_transform_is_passthrough):
18779 * gst/base/gstbasetransform.h:
18780 Make passthrough work using the bufferpools.
18781 Changed API a bit, subclasses have to write into a buffer
18782 provided by the base class.
18783 More debug info in nego functions.
18785 * gst/elements/gstidentity.c: (gst_identity_init),
18786 (gst_identity_transform):
18787 Port to new base class.
18789 2005-07-15 Wim Taymans <wim@fluendo.com>
18791 * gst/gstmessage.c: (gst_message_new_state_changed):
18792 * tools/gst-launch.c: (event_loop), (main):
18793 Totally dump messages in -launch with the -m option.
18794 Fix message name for State messages,
18796 2005-07-14 Wim Taymans <wim@fluendo.com>
18798 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18799 Post error messages on errors.
18801 2005-07-14 Wim Taymans <wim@fluendo.com>
18803 * gst/gstcaps.c: (gst_caps_do_simplify):
18807 Define error for stream stopped.
18809 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18810 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
18811 Do proper return values.
18813 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18814 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
18815 (gst_pad_get_range):
18816 Better return values.
18819 Reorganise return values, add macro to check for fatal errors.
18821 * gst/gstqueue.c: (gst_queue_chain):
18822 Return proper GstFlowReturn values,
18824 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
18826 * docs/gst/gstreamer-sections.txt:
18827 * docs/gst/gstreamer.types:
18828 * docs/gst/tmpl/gst.sgml:
18829 * docs/gst/tmpl/gstbasesink.sgml:
18830 * docs/gst/tmpl/gstbasesrc.sgml:
18831 * docs/gst/tmpl/gstbasetransform.sgml:
18832 * docs/gst/tmpl/gstbin.sgml:
18833 * docs/gst/tmpl/gstbuffer.sgml:
18834 * docs/gst/tmpl/gstcaps.sgml:
18835 * docs/gst/tmpl/gstclock.sgml:
18836 * docs/gst/tmpl/gstcompat.sgml:
18837 * docs/gst/tmpl/gstconfig.sgml:
18838 * docs/gst/tmpl/gstelement.sgml:
18839 * docs/gst/tmpl/gstelementdetails.sgml:
18840 * docs/gst/tmpl/gstelementfactory.sgml:
18841 * docs/gst/tmpl/gstenumtypes.sgml:
18842 * docs/gst/tmpl/gsterror.sgml:
18843 * docs/gst/tmpl/gstevent.sgml:
18844 * docs/gst/tmpl/gstfakesink.sgml:
18845 * docs/gst/tmpl/gstfakesrc.sgml:
18846 * docs/gst/tmpl/gstfilesink.sgml:
18847 * docs/gst/tmpl/gstfilesrc.sgml:
18848 * docs/gst/tmpl/gstfilter.sgml:
18849 * docs/gst/tmpl/gstformat.sgml:
18850 * docs/gst/tmpl/gstghostpad.sgml:
18851 * docs/gst/tmpl/gstimplementsinterface.sgml:
18852 * docs/gst/tmpl/gstindex.sgml:
18853 * docs/gst/tmpl/gstindexfactory.sgml:
18854 * docs/gst/tmpl/gstinfo.sgml:
18855 * docs/gst/tmpl/gstiterator.sgml:
18856 * docs/gst/tmpl/gstmacros.sgml:
18857 * docs/gst/tmpl/gstmemchunk.sgml:
18858 * docs/gst/tmpl/gstminiobject.sgml:
18859 * docs/gst/tmpl/gstobject.sgml:
18860 * docs/gst/tmpl/gstpad.sgml:
18861 * docs/gst/tmpl/gstpadtemplate.sgml:
18862 * docs/gst/tmpl/gstparse.sgml:
18863 * docs/gst/tmpl/gstpipeline.sgml:
18864 * docs/gst/tmpl/gstplugin.sgml:
18865 * docs/gst/tmpl/gstpluginfeature.sgml:
18866 * docs/gst/tmpl/gstquery.sgml:
18867 * docs/gst/tmpl/gstqueue.sgml:
18868 * docs/gst/tmpl/gstregistry.sgml:
18869 * docs/gst/tmpl/gstregistrypool.sgml:
18870 * docs/gst/tmpl/gstscheduler.sgml:
18871 * docs/gst/tmpl/gstschedulerfactory.sgml:
18872 * docs/gst/tmpl/gststructure.sgml:
18873 * docs/gst/tmpl/gstsystemclock.sgml:
18874 * docs/gst/tmpl/gsttaglist.sgml:
18875 * docs/gst/tmpl/gsttagsetter.sgml:
18876 * docs/gst/tmpl/gsttrace.sgml:
18877 * docs/gst/tmpl/gsttrashstack.sgml:
18878 * docs/gst/tmpl/gsttypefind.sgml:
18879 * docs/gst/tmpl/gsttypefindfactory.sgml:
18880 * docs/gst/tmpl/gsttypes.sgml:
18881 * docs/gst/tmpl/gsturihandler.sgml:
18882 * docs/gst/tmpl/gsturitype.sgml:
18883 * docs/gst/tmpl/gstutils.sgml:
18884 * docs/gst/tmpl/gstvalue.sgml:
18885 * docs/gst/tmpl/gstversion.sgml:
18886 * docs/gst/tmpl/gstxml.sgml:
18887 * docs/libs/tmpl/gstcontrol.sgml:
18888 * docs/libs/tmpl/gstdataprotocol.sgml:
18889 * docs/libs/tmpl/gstdparam.sgml:
18890 * docs/libs/tmpl/gstdplinint.sgml:
18891 * docs/libs/tmpl/gstdpman.sgml:
18892 * docs/libs/tmpl/gstdpsmooth.sgml:
18893 * docs/libs/tmpl/gstgetbits.sgml:
18894 * docs/libs/tmpl/gstunitconvert.sgml:
18895 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
18896 (gst_push_src_base_init), (gst_push_src_class_init),
18897 (gst_push_src_init), (gst_push_src_create):
18898 * gst/base/gstpushsrc.h:
18899 * gst/elements/gstelements.c:
18900 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
18901 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
18902 (gst_fake_sink_init), (gst_fake_sink_set_property),
18903 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
18904 (gst_fake_sink_event), (gst_fake_sink_preroll),
18905 (gst_fake_sink_render), (gst_fake_sink_change_state):
18906 * gst/elements/gstfakesink.h:
18907 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18908 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18909 (gst_fake_src_base_init), (gst_fake_src_class_init),
18910 (gst_fake_src_init), (gst_fake_src_event_handler),
18911 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
18912 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
18913 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
18914 (gst_fake_src_create_buffer), (gst_fake_src_create),
18915 (gst_fake_src_start), (gst_fake_src_stop):
18916 * gst/elements/gstfakesrc.h:
18917 * gst/elements/gstfilesink.c: (_do_init),
18918 (gst_file_sink_base_init), (gst_file_sink_class_init),
18919 (gst_file_sink_init), (gst_file_sink_dispose),
18920 (gst_file_sink_set_location), (gst_file_sink_set_property),
18921 (gst_file_sink_get_property), (gst_file_sink_open_file),
18922 (gst_file_sink_close_file), (gst_file_sink_query),
18923 (gst_file_sink_event), (gst_file_sink_render),
18924 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
18925 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
18926 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
18927 * gst/elements/gstfilesink.h:
18928 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
18929 (gst_file_src_class_init), (gst_file_src_init),
18930 (gst_file_src_finalize), (gst_file_src_set_location),
18931 (gst_file_src_set_property), (gst_file_src_get_property),
18932 (gst_file_src_map_region), (gst_file_src_map_small_region),
18933 (gst_file_src_create_mmap), (gst_file_src_create_read),
18934 (gst_file_src_create), (gst_file_src_is_seekable),
18935 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
18936 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
18937 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
18938 (gst_file_src_uri_handler_init):
18939 * gst/elements/gstfilesrc.h:
18940 more autistic cleanliness in functions/names/defines
18942 2005-07-13 Andy Wingo <wingo@pobox.com>
18944 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
18945 source couldn't negotiate.
18947 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
18951 * gst/gstutils.c (gst_element_link_pads_filtered): New old
18952 function. I am channeling Hades. Put your boots on suckers!!!
18954 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
18956 * testsuite/caps/Makefile.am:
18957 * testsuite/caps/value_compare.c:
18958 * testsuite/caps/value_intersect.c:
18959 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18960 move two testsuite apps over to the check dir
18962 2005-07-12 Wim Taymans <wim@fluendo.com>
18964 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18965 Added more debug info in the negotiate process.
18967 * gst/gstmessage.h:
18968 Prepare for segment playback.
18970 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
18976 * tools/gst-launch.c: (main):
18977 NULL pipeline on errors.
18979 2005-07-12 Andy Wingo <wingo@pobox.com>
18981 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
18982 not it comes from a malloc region. Make sure our copy gets freed.
18984 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
18986 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18987 * check/gst/gstmessage.c: (GST_START_TEST):
18988 * check/gst/gststructure.c: (GST_START_TEST),
18989 (gst_structure_suite), (main):
18991 * gst/gstelement.c: (gst_element_message_full):
18992 clean up GError and debug string now that they get copied
18993 * gst/gstmessage.c: (gst_message_new_error),
18994 (gst_message_new_warning), (gst_message_parse_error),
18995 (gst_message_parse_warning):
18996 use GST_TYPE_G_ERROR for structure_new, and take copies of
18997 arguments, so that we don't mess up refcounting
18999 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19001 * check/Makefile.am:
19002 add per-test valgrind targets
19003 * check/gst-libs/gdp.c: (GST_START_TEST),
19004 (gst_data_protocol_suite), (main):
19007 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19009 * check/Makefile.am:
19010 instate more valgrindable tests
19011 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19012 (GST_START_TEST), (fakesrc_suite):
19013 * check/gst/gstpad.c: (GST_START_TEST):
19014 * check/gst/gststructure.c: (GST_START_TEST):
19016 * docs/gst/tmpl/gstminiobject.sgml:
19017 * gst/gstpad.c: (gst_pad_finalize):
19018 fix the static mutex leak
19020 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19022 * check/Makefile.am:
19023 add two more tests for valgrinding
19024 * check/gst/gstvalue.c: (GST_START_TEST):
19025 test refcount of deserialized buffer, found a leak
19026 * docs/gst/gstreamer-docs.sgml:
19027 * docs/gst/gstreamer-sections.txt:
19028 * docs/gst/gstreamer.types:
19029 * docs/gst/tmpl/gstminiobject.sgml:
19030 add miniobject to docs
19031 * gst/gstminiobject.c:
19033 * gst/gstvalue.c: (gst_value_deserialize_buffer),
19034 (gst_string_unwrap):
19035 fix a hard-to-find invalid write for one of the tests
19036 fix a leak for deserialized buffers
19038 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19040 * docs/pwg/advanced-events.xml:
19041 * docs/pwg/advanced-request.xml:
19042 * docs/pwg/advanced-scheduling.xml:
19043 * docs/pwg/appendix-porting.xml:
19044 * docs/pwg/building-boiler.xml:
19045 * docs/pwg/intro-preface.xml:
19046 * docs/pwg/other-ntoone.xml:
19047 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19048 of example code and explanation for pad activation, loop() and
19049 getrange() functions and a bit more. Remove old comments pointing
19051 * examples/pwg/Makefile.am:
19052 Add loop/getrange examples.
19054 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19057 check for valgrind binary + some fixes
19059 valgrind suppressions for the tests
19060 * check/Makefile.am:
19061 add a valgrind: target that valgrinds the unit tests
19062 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19063 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19064 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19065 * check/gst/gstghostpad.c:
19067 * check/gst/gstdata.c:
19069 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19070 (thread_unref), (gst_mini_object_suite), (main):
19072 * gst/gst.c: (gst_deinit):
19074 add a method to clean up.
19075 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19076 (gst_system_clock_obtain):
19077 allow for disposing the system clock.
19078 * tools/gst-launch.c: (main):
19081 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19083 * docs/gst/tmpl/gstbasesrc.sgml:
19084 * docs/gst/tmpl/gstfakesrc.sgml:
19085 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19086 (gst_base_src_init), (gst_base_src_set_property),
19087 (gst_base_src_get_property), (gst_base_src_get_range),
19088 (gst_base_src_start):
19089 * gst/base/gstbasesrc.h:
19090 add num-buffers property
19091 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19092 (gst_fakesrc_init), (gst_fakesrc_set_property),
19093 (gst_fakesrc_get_property), (gst_fakesrc_create),
19094 (gst_fakesrc_start):
19095 remove num-buffers property
19097 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19099 * docs/gst/gstreamer-sections.txt:
19100 * docs/gst/tmpl/gstbasesink.sgml:
19101 * docs/gst/tmpl/gstbasesrc.sgml:
19102 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19103 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19104 (gst_base_sink_finalize), (gst_base_sink_set_clock),
19105 (gst_base_sink_set_property), (gst_base_sink_get_property),
19106 (gst_base_sink_handle_object), (gst_base_sink_event),
19107 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19108 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19109 (gst_base_sink_loop), (gst_base_sink_deactivate),
19110 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19111 (gst_base_sink_change_state):
19112 * gst/base/gstbasesink.h:
19113 * gst/base/gstbasesrc.h:
19114 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19115 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19116 (gst_filesink_init):
19117 more macro splitting
19119 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19121 * gst/gstelement.c: (gst_element_get_bus):
19123 * tools/gst-launch.c: (check_intr), (event_loop):
19126 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19128 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19131 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19133 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19134 (gst_base_src_finalize):
19135 add finalize method and clean up properly
19136 * gst/gstpipeline.c: (gst_pipeline_dispose):
19139 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19141 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19143 add more things to check
19144 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19145 * gst/gstelement.c:
19148 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19150 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19151 (GST_START_TEST), (fakesrc_suite):
19152 * check/gst-libs/gdp.c: (GST_START_TEST):
19153 * check/gst/gst.c: (GST_START_TEST):
19154 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19155 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19156 * check/gst/gstbus.c: (GST_START_TEST):
19157 * check/gst/gstcaps.c: (GST_START_TEST):
19158 * check/gst/gstdata.c: (GST_START_TEST):
19159 * check/gst/gstelement.c: (GST_START_TEST):
19160 * check/gst/gstghostpad.c: (GST_START_TEST):
19161 * check/gst/gstiterator.c: (GST_START_TEST):
19162 * check/gst/gstmessage.c: (GST_START_TEST):
19163 * check/gst/gstobject.c: (GST_START_TEST):
19164 * check/gst/gstpad.c: (GST_START_TEST):
19165 * check/gst/gststructure.c: (GST_START_TEST):
19166 * check/gst/gstsystemclock.c: (GST_START_TEST),
19167 (gst_systemclock_suite):
19168 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19169 * check/gst/gstvalue.c: (GST_START_TEST):
19170 * check/pipelines/cleanup.c: (GST_START_TEST):
19171 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19172 * check/states/sinks.c: (GST_START_TEST):
19173 * check/gstcheck.c: (gst_check_init):
19174 * check/gstcheck.h:
19175 add debugging category
19176 use GST_START_TEST now, so we add a debug line
19178 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19180 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19181 add test for state change message on a bin
19182 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19184 * gst/gstbin.c: (gst_bin_init):
19185 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19186 * gst/gstelement.c: (gst_element_post_message),
19187 (gst_element_set_state):
19188 * gst/gstelementfactory.c: (gst_element_factory_create):
19189 * gst/gstmessage.c: (gst_message_new):
19190 * gst/gstscheduler.c:
19191 various debugging additions and cleanups
19193 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19195 * check/Makefile.am:
19196 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19198 adding tests for elements
19199 * gst/gstelement.c: (gst_element_dispose):
19201 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19203 * gst/registries/gstlibxmlregistry.c: (load_feature):
19204 plug more leaks. A simple gst_init() now is leakfree, yay.
19206 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19208 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19209 (gst_xml_registry_load):
19210 plug another memleak
19212 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19215 use GST_SET_ERROR_CFLAGS
19216 * docs/faq/cvs.xml:
19217 change to ERROR_CFLAGS
19219 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19222 make GST_ERROR_CFLAGS overridable and re-enable Werror
19223 * docs/faq/cvs.xml:
19224 add a note about error CFLAGS
19225 * docs/gst/tmpl/gstfakesrc.sgml:
19226 * gst/elements/gstfakesrc.c:
19227 comment out some unused code
19228 * gst/gst.c: (split_and_iterate):
19229 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19233 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19235 * common/Makefile.am:
19236 * common/gtk-doc.mak:
19237 * docs/gst/Makefile.am:
19238 factor out gtk-doc.mak
19240 2005-07-07 Wim Taymans <wim@fluendo.com>
19242 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19243 (gst_thread_scheduler_dispose):
19244 Unlock the STREAM_LOCK completely.
19246 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19248 * check/Makefile.am:
19249 * check/elements/.cvsignore:
19250 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19251 (START_TEST), (fakesrc_suite), (main):
19252 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19253 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19254 (gst_fakesrc_create), (gst_fakesrc_start):
19255 * gst/elements/gstfakesrc.h:
19256 adding a first element test
19258 2005-07-07 Andy Wingo <wingo@pobox.com>
19260 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19263 2005-07-07 Wim Taymans <wim@fluendo.com>
19269 2005-07-07 Wim Taymans <wim@fluendo.com>
19271 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19272 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19273 Allow subclasses to implement their own negotiation.
19275 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19277 * docs/design/part-gstbin.txt:
19278 * docs/design/part-gstpipeline.txt:
19279 Update design notes to reflect the movement of
19280 responsibility for bus handling from GstPipeline to
19283 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19286 Remove unnecessary queue2/3/4 examples.
19288 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19290 * examples/Makefile.am:
19291 * examples/helloworld/helloworld.c: (event_loop), (main):
19292 * examples/queue/queue.c: (event_loop), (main):
19293 * examples/queue2/queue2.c: (main):
19294 Update a couple of the examples to work again.
19296 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19297 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19298 Spelling corrections and extra debug.
19300 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19301 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19302 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19304 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19305 (gst_pipeline_change_state):
19306 * gst/gstpipeline.h:
19307 Move the bus handler for children to the GstBin, and create a
19308 separate bus for receiving messages from children to the one the
19309 bus sends 'upwards' on.
19311 2005-07-06 Wim Taymans <wim@fluendo.com>
19314 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19315 (gst_base_sink_handle_object), (gst_base_sink_loop),
19316 (gst_base_sink_change_state):
19317 * gst/base/gstbasesink.h:
19318 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19319 (gst_base_src_init), (gst_base_src_setcaps),
19320 (gst_base_src_getcaps), (gst_base_src_loop),
19321 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19322 (gst_base_src_start), (gst_base_src_change_state):
19323 * gst/base/gstbasesrc.h:
19324 Make basesrc negotiate.
19325 Handle the case where preroll fails in basesink.
19328 2005-07-06 Wim Taymans <wim@fluendo.com>
19330 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19331 Implement the fixate function.
19332 Clean up acceptcaps.
19334 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19336 * docs/pwg/building-filterfactory.xml:
19337 * docs/pwg/pwg.xml:
19338 Remove never-written filter-factory chapter; I'll add the various
19339 base classes to part 4 ("other element types") later on.
19341 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19343 * docs/pwg/advanced-negotiation.xml:
19344 * docs/pwg/building-boiler.xml:
19345 * docs/pwg/building-pads.xml:
19346 * docs/pwg/pwg.xml:
19347 * examples/pwg/Makefile.am:
19348 Add a chapter on caps negotiation, simplify the original code
19349 samples a bit w.r.t. caps negotiation, add link to the advanced
19350 section. Add a bunch of examples showing different use cases of
19351 different types of caps negotiation. Upstream renegotiation isn't
19352 fully documented yet since nobody knows how that works.
19354 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
19356 * check/gst/gstpad.c:
19357 * check/gstcheck.c:
19358 * gst/gstpad.c: (gst_pad_get_internal_links_default):
19359 if pad has no parent, return NULL as list of internal links
19361 2005-07-05 Andy Wingo <wingo@pobox.com>
19363 * gst/elements/gstfilesrc.c:
19364 * gst/elements/gstfakesrc.c:
19365 * gst/base/gstpushsrc.c:
19366 * gst/base/gstbasesrc.h:
19367 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19369 2005-07-05 Stefan Kost <ensonic@users.sf.net>
19372 better report generation target (lcov needs a patch)
19374 2005-07-05 Andy Wingo <wingo@pobox.com>
19376 * gst/elements, testsuite: Null if we got it...
19378 2005-07-05 Wim Taymans <wim@fluendo.com>
19381 * libs/gst/dataprotocol/Makefile.am:
19382 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19383 * libs/gst/dataprotocol/dataprotocol.h:
19384 * pkgconfig/Makefile.am:
19385 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19386 * pkgconfig/gstreamer-dataprotocol.pc.in:
19387 Ported dataprotol to 0.9.
19388 Added pkgconfig files.
19390 2005-07-05 Andy Wingo <wingo@pobox.com>
19392 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19393 Default to returning TRUE for the case when tranform_caps returns
19394 a fixed caps, like for identity or volume.
19396 * check/gst/gstbus.c (pound_bus_with_messages):
19397 * check/gst/gstmessage.c (START_TEST):
19398 * check/pipelines/simple_launch_lines.c (got_handoff): Application
19399 message API change.
19401 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19402 logic weaks here: always run transform_caps, trying passthrough
19403 operation only if the original caps intersects with the transform.
19405 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19406 source and sink caps.
19408 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19409 Intersect the peer caps with the pad template before going into
19411 (gst_base_transform_transform_caps): More debugging.
19413 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19416 2005-07-04 Edward Hervey <edward@fluendo.com>
19420 (gst_pad_add_*_probe): now returns the signal id for better wrapping
19423 2005-07-04 Andy Wingo <wingo@pobox.com>
19425 * check/gst/gstpad.c: Only set explicit caps on pads.
19427 2005-07-01 Andy Wingo <wingo@pobox.com>
19429 * tests/network-clock.scm: Commentary update.
19431 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19432 Didn't really make sense, not implementable with basetransform,
19434 (gst_identity_transform): Unref inbuf via make_writable. Feeble
19435 attempt at implementing the sync property, needs an unlock method.
19437 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19438 New func, by default returns the same caps (the identity
19440 (gst_base_transform_getcaps): Uses transform_caps to return
19441 something sensible.
19442 (gst_base_transform_setcaps): Complicated logic to get caps on
19443 both pads, even if they are different, and to call set_caps once
19444 for every time both pads get their caps set.
19445 (gst_base_transform_handle_buffer): Give the ref to the transform
19446 function. Allows in-place modification of the buffer.
19448 * gst/base/gstbasetransform.h (transform_caps): New class method.
19449 Given caps on one side, what can I do on the other.
19450 (set_caps): Take two caps, one for each side of the element.
19453 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19454 caps in place. This is safe because we can check the mutability of
19455 the caps, and a good idea because fixate functions are just called
19456 as a matter of last resort. (Not actually implemented.)
19457 (gst_pad_set_caps): If the caps we're setting is actually the same
19458 as the existing pad caps, just update the pointer without calling
19459 setcaps. Assert that caps is either NULL or fixed, as per the
19462 * gst/gstghostpad.c: Update for fixate changes.
19464 2005-07-02 Andy Wingo <wingo@pobox.com>
19467 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19468 two refcounts makes it immutable, which is enough. Doc more.
19470 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
19472 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19473 Put the mini_object into GValue as a mini_object,
19474 not a gpointer, since that's how we declared
19477 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19479 * examples/pwg/Makefile.am:
19480 Fix buildbot again.
19482 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19484 * docs/pwg/building-testapp.xml:
19486 * examples/pwg/Makefile.am:
19489 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19492 * examples/Makefile.am:
19493 * examples/pwg/Makefile.am:
19494 * examples/pwg/extract.pl:
19495 Enable building the PWG examples.
19496 * docs/pwg/advanced-interfaces.xml:
19497 Add URI interface stub.
19498 * docs/pwg/advanced-types.xml:
19499 * docs/pwg/other-autoplugger.xml:
19500 * docs/pwg/appendix-porting.xml:
19501 * docs/pwg/pwg.xml:
19502 Add porting guide (mostly stubs), remove autoplugging (see ADM).
19503 * docs/pwg/building-boiler.xml:
19504 * docs/pwg/building-chainfn.xml:
19505 * docs/pwg/building-pads.xml:
19506 * docs/pwg/building-props.xml:
19507 * docs/pwg/building-state.xml:
19508 * docs/pwg/building-testapp.xml:
19509 Update the building-*.xml parts for 0.9 changes. All examples
19510 code blocks compile in examples/pwg/*.
19512 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19514 * docs/manual/advanced-autoplugging.xml:
19515 * docs/manual/appendix-checklist.xml:
19516 * docs/manual/appendix-integration.xml:
19517 * docs/manual/highlevel-components.xml:
19518 Fix playbin/decodebin examples, update docs a bit, mention bus
19519 instead of signals in various places, mention kmplayer and
19520 kaffeine since they have a working GStreamer backend in the KDE
19523 2005-06-30 Wim Taymans <wim@fluendo.com>
19526 * docs/design/draft-ghostpads.txt:
19527 * docs/design/draft-push-pull.txt:
19528 * docs/design/draft-query.txt:
19529 * docs/design/part-TODO.txt:
19530 * docs/design/part-query.txt:
19531 Added CHANGES-0.9 doc, updated status of other docs.
19536 2005-06-30 Wim Taymans <wim@fluendo.com>
19538 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19539 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19540 (gst_base_sink_change_state):
19541 * gst/base/gstbasesink.h:
19542 Some tweaks, only EOS and a buffer complete a preroll.
19544 2005-06-30 Andy Wingo <wingo@pobox.com>
19546 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19547 activate_push down to the internal pad as well.
19549 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
19551 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19553 * gst/gsttaginterface.c:
19554 Some documentation fixes (#307394 and #307397).
19556 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
19558 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19560 * gst/gstvalue.c: (gst_value_intersect_list):
19561 Fix memleak (#309125).
19563 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19565 * docs/manual/advanced-dataaccess.xml:
19566 Fix fakesrc example to compile; doesn't work, bug somewhere...?
19567 * docs/manual/basics-pads.xml:
19568 Add reference for filtered caps to above chapter.
19570 2005-06-30 Wim Taymans <wim@fluendo.com>
19572 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19573 (gst_bin_change_state):
19575 Lame attempt at making the state change function a bit
19578 2005-06-30 Wim Taymans <wim@fluendo.com>
19580 * docs/design/part-clocks.txt:
19581 * docs/design/part-element-sink.txt:
19582 * docs/design/part-events.txt:
19583 * docs/design/part-preroll.txt:
19584 * docs/design/part-states.txt:
19585 Some more tweeks and additions to the docs.
19587 2005-06-30 Wim Taymans <wim@fluendo.com>
19589 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19590 (default_have_data), (gst_pad_class_init), (gst_pad_init),
19591 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19592 (gst_pad_check_pull_range), (gst_pad_get_range),
19593 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19595 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19596 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19597 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19598 (gst_pad_remove_buffer_probe):
19599 Removed atomic operations, use existing LOCK.
19600 Move exception handling out of main code path.
19602 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19604 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19605 (silly_return_true_function), (gst_pad_class_init),
19606 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19607 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19608 (gst_pad_send_event):
19609 Fix accumulator, add default value by using _emitv() instead
19610 of _emit() for signal emission.
19612 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19614 * docs/manual/advanced-dataaccess.xml:
19615 * examples/manual/Makefile.am:
19617 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19620 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
19622 * gst/elements/gstfilesink.c: (gst_filesink_render):
19623 Simplify code so that we don't have to handle short
19624 writes and return GST_FLOW_ERROR if an error occured.
19626 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19628 * docs/gst/gstreamer-docs.sgml:
19629 Remove probes more.
19631 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19633 * docs/gst/gstreamer-sections.txt:
19634 * docs/gst/tmpl/gstpad.sgml:
19635 * docs/gst/tmpl/gstprobe.sgml:
19637 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19638 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19639 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19640 (gst_pad_push_event), (gst_pad_send_event):
19642 * gst/gstutils.c: (gst_pad_add_data_probe),
19643 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19644 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19645 (gst_pad_remove_buffer_probe):
19647 Remove old probes, add new g-signal-based probes and some utility
19650 2005-06-29 Edward Hervey <edward@fluendo.com>
19652 * gst/gstelementfactory.c:
19655 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19656 the definition to the header file.
19658 2005-06-29 Andy Wingo <wingo@pobox.com>
19660 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19661 plugins from the source directory.
19663 2005-06-29 Wim Taymans <wim@fluendo.com>
19665 * docs/gst/tmpl/gstbuffer.sgml:
19666 * docs/gst/tmpl/gstclock.sgml:
19667 Some fixings for blantently wrong text.
19669 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19671 * check/Makefile.am:
19672 * gst/gst.c: (add_path_func), (init_pre):
19673 * gst/gstregistry.c: (gst_registry_add_path):
19674 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19675 only scan the GST_PLUGIN_PATH locations, and not add
19678 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19680 * docs/gst/gstreamer-sections.txt:
19681 * docs/gst/tmpl/gstbasesrc.sgml:
19682 * gst/gstelement.c:
19683 * gst/gstelement.h:
19688 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19690 * docs/manual/advanced-autoplugging.xml:
19691 Fix autoplugging example.
19693 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19695 * docs/manual/advanced-autoplugging.xml:
19696 * docs/manual/mime-world.fig:
19697 Try to get autoplugging working, fix type detection. Fix text
19698 in hello-world image.
19700 2005-06-29 Wim Taymans <wim@fluendo.com>
19702 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19703 (gst_base_sink_change_state):
19707 map SIGNAL and BROADCAST to the right function.
19710 Remove redundant braces.
19712 * gst/gstpad.c: (gst_pad_set_caps):
19713 Don't call setcaps function when reseting caps to NULL.
19715 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19716 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19717 (gst_system_clock_id_unschedule):
19718 Use BROADCAST as this is what we do.
19720 2005-06-29 Wim Taymans <wim@fluendo.com>
19722 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19723 We are actually prerolling before commiting the state
19726 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19728 * docs/manual/advanced-clocks.xml:
19729 * docs/manual/advanced-interfaces.xml:
19730 * docs/manual/advanced-metadata.xml:
19731 * docs/manual/advanced-position.xml:
19732 * docs/manual/advanced-schedulers.xml:
19733 * docs/manual/advanced-threads.xml:
19734 * docs/manual/appendix-porting.xml:
19735 * docs/manual/basics-bins.xml:
19736 * docs/manual/basics-bus.xml:
19737 * docs/manual/basics-elements.xml:
19738 * docs/manual/basics-helloworld.xml:
19739 * docs/manual/basics-pads.xml:
19740 * docs/manual/highlevel-components.xml:
19741 * docs/manual/manual.xml:
19742 * docs/manual/thread.fig:
19743 Update (until threads/scheduling) Application Development Manual;
19744 remove GstThread, add GstBus, add simple porting checklist, add
19745 documentation for tag writing, clocks, make all examples until this
19746 part compile and run.
19747 * examples/manual/Makefile.am:
19748 Update from changes to Application Development Manual; add bus
19749 example, remove thread example.
19751 2005-06-28 Wim Taymans <wim@fluendo.com>
19753 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
19754 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
19755 (gst_bus_source_dispatch):
19756 Add debugging messages.
19757 Make internal methods static.
19758 Handle the case where the bus is flushed in the handler.
19760 * gst/gstelement.c: (gst_element_get_bus):
19761 Fix refcount in _get_bus();
19763 * gst/gstpipeline.c: (gst_pipeline_change_state),
19764 (gst_pipeline_get_clock_func):
19765 Clock refcounting fixes.
19766 Handle the case where preroll timed out more gracefully.
19768 * gst/gstsystemclock.c: (gst_system_clock_dispose):
19769 Clean up the internal thread in dispose. This is needed
19770 for subclasses that actually get disposed.
19772 * gst/schedulers/threadscheduler.c:
19773 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19774 (gst_thread_scheduler_dispose):
19775 Free thread pool in dispose.
19777 2005-06-28 Andy Wingo <wingo@pobox.com>
19779 * tests/network-clock-utils.scm (debug, print-event): New utils.
19781 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
19782 (*packet-loss*): Unified loss probability.
19783 (network-time): Report out-of-band events.
19785 * tests/plot-data: Add support for out-of-band events. Hack it
19786 into this script instead of passing it down the pipe; should fix
19789 2005-06-28 Wim Taymans <wim@fluendo.com>
19791 * docs/gst/gstreamer.types:
19792 * docs/gst/tmpl/gstbasesrc.sgml:
19793 * docs/gst/tmpl/gstpad.sgml:
19796 2005-06-28 Wim Taymans <wim@fluendo.com>
19798 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19799 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
19800 (gst_proxy_pad_do_fixatecaps):
19801 Correctly proxy the check_pull_range function.
19803 2005-06-28 Andy Wingo <wingo@pobox.com>
19805 * tests/network-clock.scm: Removed need for slib.
19807 2005-06-28 Wim Taymans <wim@fluendo.com>
19809 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
19810 (gst_basesink_preroll_queue_flush):
19811 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
19812 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
19813 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19814 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19815 (gst_proxy_pad_set_property):
19818 * gst/gstqueue.c: (gst_queue_init):
19819 The deprecated pad loop function is removed now.
19821 2005-06-28 Andy Wingo <wingo@pobox.com>
19823 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
19824 New parameters, simulate network packet loss.
19826 * tests/network-clock-utils.scm: Initialize the RNG.
19828 2005-06-28 Wim Taymans <wim@fluendo.com>
19830 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
19831 (gst_basesink_event), (gst_basesink_deactivate):
19832 Flushing the preroll queue always needs to unlock the waiters.
19834 2005-06-28 Edward Hervey <edward@fluendo.com>
19836 * gst/gstpipeline.c: (gst_pipeline_send_event):
19837 Wheen a seek was successful on a pipeline, set the stream_time to the
19838 seek offset in order to have a synchronized stream_time.
19840 2005-06-28 Wim Taymans <wim@fluendo.com>
19842 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19843 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
19844 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
19845 (gst_proxy_pad_do_fixatecaps):
19846 Call wrapper function instead of just calling the function
19847 pointers. This takes care of any locking and whatmore.
19849 2005-06-28 Wim Taymans <wim@fluendo.com>
19851 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
19852 (gst_pad_pull_range):
19854 CONNECTED -> LINKED.
19856 2005-06-28 Andy Wingo <wingo@pobox.com>
19858 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
19859 source-munging commit!!!
19861 * gst/gstobject.c (gst_object_unref, gst_object_ref)
19862 (gst_object_sink): Take gpointer arguments, not GstObject --
19863 avoids casts. Like GLib.
19865 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
19868 2005-06-27 Andy Wingo <wingo@pobox.com>
19870 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
19873 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
19874 returns a sorted copy of the trace list.
19875 (gst_alloc_trace_print_live): New API, only prints traces with
19876 live objects. Sort the list.
19877 (gst_alloc_trace_print_all): Sort the list.
19878 (gst_alloc_trace_print): Align columns.
19880 * gst/elements/gstttypefindelement.c:
19881 * gst/elements/gsttee.c:
19882 * gst/base/gstbasesrc.c:
19883 * gst/base/gstbasesink.c:
19884 * gst/base/gstbasetransform.c:
19885 * gst/gstqueue.c: Adapt for pad activation changes.
19887 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
19889 (gst_pipeline_dispose): Drop ref on sched.
19891 * gst/gstpad.c (gst_pad_init): Set the default activate func.
19892 (gst_pad_activate_default): Push mode by default.
19893 (pre_activate_switch, post_activate_switch): New stubs, things to
19894 do before and after switching activation modes on pads.
19895 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
19896 the pad's activate function to choose which mode to activate.
19897 Shortcut on deactivation and call the right function directly.
19898 (gst_pad_activate_pull): New API, (de)activates a pad in pull
19900 (gst_pad_activate_push): New API, same for push mode.
19901 (gst_pad_set_activate_function)
19902 (gst_pad_set_activatepull_function)
19903 (gst_pad_set_activatepush_function): Setters for new API.
19905 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
19906 Trace all miniobjects.
19907 (gst_mini_object_make_writable): Unref the arg if we copy, like
19908 gst_caps_make_writable.
19910 * gst/gstmessage.c (_gst_message_initialize): No trace init.
19912 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
19913 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
19914 Adapt for new pad API.
19916 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
19918 * gst/gstelement.h:
19919 * gst/gstelement.c (gst_element_iterate_src_pads)
19920 (gst_element_iterate_sink_pads): New API functions.
19922 * gst/gstelement.c (iterator_fold_with_resync): New utility,
19923 should fold into gstiterator.c in some form.
19924 (gst_element_pads_activate): Simplified via use of fold and
19925 delegation of decisions to gstpad->activate.
19927 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
19930 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
19931 class once in init, like gstmessage. Didn't run into this issue
19932 but it seems correct. Don't initialize a trace, gstminiobject does
19935 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
19936 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
19938 (assert_live_count): New util function, uses alloc traces to check
19941 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
19942 To be modified when unlink drops the internal pad.
19944 2005-06-27 Wim Taymans <wim@fluendo.com>
19946 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
19947 (gst_bin_change_state):
19948 Cleanup the get_state() function a little, make sure it
19949 iterates the same set of elements.
19950 Added stub iterate_state_order().
19952 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
19954 * docs/gst/gstreamer-docs.sgml:
19955 * docs/gst/gstreamer-sections.txt:
19956 * docs/gst/gstreamer.types:
19957 * docs/gst/tmpl/gstbasesink.sgml:
19958 * docs/gst/tmpl/gstbasesrc.sgml:
19959 * docs/gst/tmpl/gstbasetransform.sgml:
19960 * docs/gst/tmpl/gstelement.sgml:
19961 * docs/gst/tmpl/gstiterator.sgml:
19962 * gst/base/gstbasesrc.c:
19963 * gst/base/gstbasesrc.h:
19964 * gst/base/gstbasetransform.h:
19965 * gst/gstelement.c:
19966 * gst/gstiterator.h:
19967 adding basetransform and iterator docs
19969 2005-06-27 Andy Wingo <wingo@pobox.com>
19971 * docs/design/part-activation.txt: Notes on how activation should
19972 work -- not quite implemented yet.
19974 2005-06-25 Wim Taymans <wim@fluendo.com>
19976 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
19977 At least get the chain function correct, needs more
19980 2005-06-25 Wim Taymans <wim@fluendo.com>
19982 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19983 (gst_basesink_handle_object), (gst_basesink_event),
19984 (gst_basesink_do_sync), (gst_basesink_handle_event),
19985 (gst_basesink_change_state):
19987 Right, two problems here: ghostpads don't take locks and
19988 glib _rec_mutex_lock_full() with depth==0 still locks.
19989 Catch illegal locking and g_warn them.
19991 2005-06-25 Wim Taymans <wim@fluendo.com>
19993 * check/states/sinks.c: (START_TEST), (gst_object_suite):
19994 Have to check for completion now...
19996 2005-06-25 Wim Taymans <wim@fluendo.com>
19998 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19999 (gst_basesink_handle_object), (gst_basesink_event),
20000 (gst_basesink_do_sync), (gst_basesink_handle_event),
20001 (gst_basesink_change_state):
20003 Unlock STREAM_LOCK whatever the recursion was.
20005 2005-06-25 Wim Taymans <wim@fluendo.com>
20007 * gst/base/gstbasesink.c: (gst_basesink_set_property),
20008 (gst_basesink_preroll_queue_empty),
20009 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20010 (gst_basesink_event), (gst_basesink_do_sync),
20011 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20012 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20013 (gst_basesink_change_state):
20014 Reworked the base sink, handle event and buffer serialisation
20015 correctly and removed possible deadlock.
20016 Handle EOS correctly.
20018 2005-06-25 Wim Taymans <wim@fluendo.com>
20020 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20021 (gst_pipeline_change_state):
20022 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20023 Allow elements to post EOS in the state change function.
20024 Fix up -launch, make it exit the poll loop when the
20025 pipeline actually changed state.
20026 Fix up warning parsing in -launch.
20028 2005-06-25 Wim Taymans <wim@fluendo.com>
20030 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20031 (gst_tee_sink_activate):
20032 Core takes STREAM_LOCK for us now.
20034 2005-06-25 Wim Taymans <wim@fluendo.com>
20036 * gst/gstelement.c: (gst_element_get_state_func),
20037 (gst_element_set_state):
20038 * gst/gstelement.h:
20039 * gst/gstmessage.c: (gst_message_parse_error),
20040 (gst_message_parse_warning):
20041 Keep track of current target state while performing a state
20042 change so that subclasses can do something interesting.
20043 Fix parsing of warning/error messages when GError is NULL.
20045 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
20047 * docs/gst/Makefile.am:
20048 * docs/gst/gstreamer-docs.sgml:
20049 * docs/gst/gstreamer-sections.txt:
20050 * docs/gst/gstreamer.types:
20051 * docs/gst/tmpl/gstbasesink.sgml:
20052 * docs/gst/tmpl/gstbasesrc.sgml:
20053 * docs/gst/tmpl/gstbin.sgml:
20054 * docs/gst/tmpl/gstcompat.sgml:
20055 * docs/gst/tmpl/gstfakesink.sgml:
20056 * docs/gst/tmpl/gstfakesrc.sgml:
20057 * docs/gst/tmpl/gstfilesink.sgml:
20058 * docs/gst/tmpl/gstfilesrc.sgml:
20059 * docs/gst/tmpl/gstindex.sgml:
20060 * docs/manual/appendix-quotes.xml:
20061 * gst/base/gstbasesrc.h:
20062 * gst/elements/gstfakesrc.h:
20063 * gst/gstmessage.h:
20064 start pulling in base classes and elements in our docs
20066 2005-06-24 Stefan Kost <ensonic@users.sf.net>
20068 * docs/gst/Makefile.am:
20069 * docs/libs/Makefile.am:
20070 fixed make distcheck with gtk-doc 1.3
20072 2005-06-23 Wim Taymans <wim@fluendo.com>
20074 * gst/gstelement.c: (gst_element_get_state_func),
20075 (gst_element_set_state), (gst_element_change_state):
20076 When the state did not change, also report NO_PREROLL
20079 2005-06-23 Wim Taymans <wim@fluendo.com>
20081 * gst/gstpad.c: (gst_pad_event_default):
20082 * gst/gstqueue.c: (gst_queue_loop):
20083 No unsafe task pausing please.
20085 2005-06-23 Wim Taymans <wim@fluendo.com>
20087 * gst/schedulers/threadscheduler.c:
20088 (gst_thread_scheduler_task_start),
20089 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20090 Ref the task before pushing it on the threadpool. This
20091 makes sure that we have a ref when the threadfunction is
20094 2005-06-23 Andy Wingo <wingo@pobox.com>
20096 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20097 offset is greater than the file's size.
20099 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
20100 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20101 * gst/gstobject.c (gst_object_class_init): Make the class lock
20102 recursive. Wim won't let me drop deep_notify. Decodebin works
20103 again, whoopdy doo.
20105 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20106 internal pad, and hacks accordingly. Doesn't do it on the target
20107 pad because we change its caps. Probably catches all cases of
20109 (gst_ghost_pad_set_property): Connect to notify::caps as
20112 * tests/network-clock.scm (plot-simulation): Pipe data to the
20113 elite python skript.
20115 * tests/network-clock-utils.scm (define-parameter): New macro,
20116 defines a parameter that can be set via the command line.
20117 (set-parameter!, parse-parameter-arguments): Command line args
20120 * tests/plot-data: Simple matplotlib-based plotter, takes input on
20123 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
20125 * gst/elements/gsttypefindelement.c:
20126 (gst_type_find_element_handle_event):
20127 Don't restart typefinding on a discont.
20128 * gst/gstelement.c: (gst_element_set_state):
20129 Debug spelling fix.
20130 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20131 Allow changing mode of an active pad.
20132 Debug output fixes.
20133 * gst/registries/gstlibxmlregistry.c: (load_feature):
20134 Don't cast a static pad template to a normal pad template.
20136 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
20138 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20139 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20140 remove gst_strtoll completely, since it didn't actually do
20141 anything more than what g_ascii_strtoull already does.
20142 check for range errors when deserializing
20143 do a cast for the unsigned cases; but further fixing needs
20144 a decision on what the interpretation of "(int)" and
20145 deserialization should be for values that fall outside the
20146 type's boundaries (ie, refuse, or interpret as casting)
20148 2005-06-23 Wim Taymans <wim@fluendo.com>
20150 * check/Makefile.am:
20151 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20152 * docs/design/part-live-source.txt:
20153 * docs/design/part-states.txt:
20154 * gst/base/gstbasesrc.c: (gst_basesrc_init),
20155 (gst_basesrc_set_live), (gst_basesrc_is_live),
20156 (gst_basesrc_get_range), (gst_basesrc_activate),
20157 (gst_basesrc_change_state):
20158 * gst/base/gstbasesrc.h:
20159 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20160 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20161 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20162 * gst/gstelement.c: (gst_element_get_state_func),
20163 (gst_element_set_state):
20164 * gst/gstelement.h:
20166 * tools/gst-launch.c: (event_loop), (main):
20167 Added support for live sources and other elements that
20169 Updated design docs, added live-source design doc.
20170 Implemented live source functionality in basesrc
20171 Fix error condition in _bin_get_state()
20172 Implement live source handling in -launch.
20173 Added check for live sources.
20174 Fixed case in GstBin where elements were changed state
20178 2005-06-23 Andy Wingo <wingo@pobox.com>
20180 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20181 borken refcounting.
20183 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20184 gst_caps_replace takes care of this for us.
20186 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20187 gst_pad_set_caps on the target, not just its setcaps() function.
20189 * tests/network-clock.scm:
20190 * tests/network-clock-utils.scm: A network clock simulator.
20191 Something of an algorithmic testbed before doing something in C.
20193 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20195 * check/Makefile.am:
20196 * check/gst/capslist.h:
20197 copy over from 0.8, and add two with bitmasks specified with
20199 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20200 add test to parse everything from capslist.h
20201 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20203 add test for structure deserialization
20204 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20205 add tests for deserialization of strings to int types
20206 * gst/gststructure.c: (gst_structure_nth_field_name):
20207 * gst/gststructure.h:
20208 add a way to get the name of a field referenced by index
20209 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20210 instead of checking if the resulting long long lies between
20211 min and max, we check if the long long would fit into
20212 a number of bytes for the final type.
20213 This fixes cases where a string represents 2^32 - 1, which
20214 when cast to int would be the (valid) -1, but is bigger than
20217 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20219 * gst/parse/grammar.y:
20220 add a log line for type deserialization
20222 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20224 * check/gst/gstvalue.c: (START_TEST):
20225 * gst/gstvalue.c: (gst_value_deserialize):
20226 return long long, not int, so gint64 deserialization actually
20227 works. Is there any flag that makes the compiler check this ?
20230 2005-06-22 Wim Taymans <wim@fluendo.com>
20233 Added convenience macros for setting buffers in GValue.
20235 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20237 * check/gst/.cvsignore:
20238 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20239 add a test deserializing int64, and comment part out because
20242 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20244 * check/Makefile.am:
20245 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20246 * testsuite/Makefile.am:
20247 * testsuite/caps/Makefile.am:
20248 * testsuite/caps/value_serialize.c:
20249 * testsuite/test_gst_init.c:
20250 move a value_serialize test over
20252 2005-06-20 Wim Taymans <wim@fluendo.com>
20257 * gst/gstvalue.c: (gst_value_compare_buffer),
20258 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20259 (gst_value_compare_flags), (gst_value_serialize_flags),
20260 (gst_value_deserialize_flags), (_gst_value_initialize):
20261 Fix serialisation of buffers, they are not boxed types anymore
20263 2005-06-20 Wim Taymans <wim@fluendo.com>
20265 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20266 Testcase to show error in buffer-on-caps serialisation.
20268 2005-06-20 Andy Wingo <wingo@pobox.com>
20270 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20271 will be adding to later.
20273 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20274 if its socks fill with rocks.
20275 (gst_system_clock_obtain): Set the name on object construction.
20276 Avoid double-checked locking.
20278 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
20280 * gst/gsturi.c: (gst_element_make_from_uri):
20281 Fix potential endless loop.
20283 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20285 * check/Makefile.am:
20287 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20289 move over from testsuite dir and clean up
20292 * testsuite/Makefile.am:
20293 * testsuite/tags/.cvsignore:
20294 * testsuite/tags/Makefile.am:
20295 * testsuite/tags/merge.c:
20296 remove testsuite/tags
20298 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20300 * docs/gst/gstreamer-sections.txt:
20301 * docs/gst/tmpl/gstenumtypes.sgml:
20302 * win32/gstenumtypes.c:
20303 clean up documentation build a little
20305 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20307 * check/gstcheck.h:
20308 add macros for checking refcounts on objects and caps
20309 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20310 add some more unit tests
20311 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20312 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20313 fix leaked refcounts (I hope :)) so unittest works
20317 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20319 * configure.ac: back to HEAD
20321 === release 0.9.1 ===
20323 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
20329 2005-06-17 Andy Wingo <wingo@pobox.com>
20331 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20332 assert; it's always possible that the pad gets deactivated in
20333 between the checks in gstpad.c and the implementation. Rely on
20334 finish_preroll() to return a FLUSHING or similar instead of on the
20337 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20338 clock and post an EOS message if we come out of finish_preroll in
20341 2005-06-16 David Schleef <ds@schleef.org>
20343 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20344 (gst_capsfilter_set_property): Allow NULL as possible value
20345 for filter_caps property, indicating GST_CAPS_ANY.
20347 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20349 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20351 * gst/schedulers/Makefile.am:
20353 * gstreamer.spec.in:
20356 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20358 * gstreamer.spec.in:
20361 2005-06-08 Andy Wingo <wingo@pobox.com>
20363 * gst/gstutils.c: RPAD fixes all around.
20364 (gst_element_link_pads): Refcounting fixes.
20366 * tools/gst-inspect.c:
20367 * tools/gst-xmlinspect.c:
20369 * gst/base/gsttypefindhelper.c:
20370 * gst/base/gstbasesink.c:
20371 * gst/gstqueue.c: RPAD fixes.
20373 * gst/gstghostpad.h:
20374 * gst/gstghostpad.c: New ghost pad implementation as full proxy
20375 pads. The tricky thing is they provide both source and sink
20376 interfaces, since they proxy the internal pad for the external
20377 pad, and vice versa. Implement with lower-level ProxyPad objects,
20378 with the interior proxy pad as a child of the exterior ghost pad.
20379 Should write a doc on this.
20381 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20382 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20385 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20386 pads are real pads. No ghost pads in this file. Not documenting
20387 the myriad s/RPAD/PAD/ and REALIZE fixes.
20388 (gst_pad_class_init): Add properties for "direction" and
20389 "template". Both are construct-only, so they can't change during
20390 the life of the pad. Fixes properly deriving from GstPad.
20391 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20392 derived objects, just set properties when creating the objects via
20394 (gst_pad_get_parent): Implement as a function, return NULL if the
20395 parent is not an element.
20396 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20397 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20399 * gst/gstobject.c (gst_object_class_init): Make name a construct
20400 property. Don't set it in the object init.
20402 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20403 with UNKNOWN direction.
20404 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20405 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20406 (gst_element_remove_pad): Remove ghost-pad special cases.
20407 (gst_element_pads_activate): Remove rpad cruft.
20409 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20410 catch the pad's-parent-not-an-element case.
20412 * gst/gst.h: Include gstghostpad.h.
20414 * gst/gst.c (init_post): No more real, ghost pads.
20416 * gst/Makefile.am: Add gstghostpad.[ch].
20418 * check/Makefile.am:
20419 * check/gst/gstbin.c:
20420 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20421 into a bin creates ghost pads, and that the refcounts are right.
20422 Partly moved from gstbin.c.
20424 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20426 * check/gst-libs/.cvsignore:
20427 * check/gst/.cvsignore:
20428 * check/pipelines/.cvsignore:
20430 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20431 (START_TEST), (cleanup_suite), (main):
20432 add some tests related to cleanup after running pipelines
20434 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20436 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20437 add a testsuite for GstBuffer
20439 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20441 * gst/gstminiobject.h:
20442 add defines for accessing the refcount
20444 2005-06-03 Stefan Kost <ensonic@users.sf.net>
20446 * Makefile.am: added support for html unit test coverage reports
20448 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
20450 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20451 Free existing caps if the capsfilter changes. Add a FIXME about
20452 setting those caps on the pads.
20454 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20455 Before adding a ghost pad to a parent bin, check that there isn't
20456 already one for the element on the bin. Prevents infinite recursion
20457 when using decodebin in parse pipelines. Andy says he'll rewrite the
20458 way this works anyway, so ignore the hack.
20460 2005-06-02 Andy Wingo <wingo@pobox.com>
20462 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20463 file size, pass it on to the type find helper.
20465 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20466 segment_start and segment_end properly according to the seek
20467 method. Segment_end is still a bit flaky because offset can be
20468 negative for CUR and END cases, but it takes -1 as an "unset"
20471 2005-06-02 Wim Taymans <wim@fluendo.com>
20473 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20474 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20475 (gst_basesink_activate):
20476 * gst/base/gstbasesink.h:
20477 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20478 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20479 (gst_pad_query), (gst_pad_start_task):
20481 * gst/gstqueue.c: (gst_queue_bufferalloc),
20482 (gst_queue_handle_sink_event), (gst_queue_chain):
20483 Bufferalloc: return GstFlowReturn to more accuratly report
20484 why allocation failed.
20486 2005-06-02 Wim Taymans <wim@fluendo.com>
20488 * gst/gstpipeline.c: (gst_pipeline_send_event):
20489 Take snapshot of state without blocking.
20491 2005-06-02 Wim Taymans <wim@fluendo.com>
20493 * docs/design/part-TODO.txt:
20494 * docs/design/part-caps.txt:
20495 * docs/design/part-clocks.txt:
20496 * docs/design/part-negotiation.txt:
20497 * docs/design/part-preroll.txt:
20500 2005-05-30 Wim Taymans <wim@fluendo.com>
20502 * gst/elements/gstidentity.c: (gst_identity_event),
20503 (gst_identity_transform), (gst_identity_get_property):
20504 Protect last_message property as it is accessed from
20507 2005-05-30 Wim Taymans <wim@fluendo.com>
20509 * gst/gstelement.c: (gst_element_init),
20510 (gst_element_pads_activate), (gst_element_change_state):
20511 Slicker pad activation code.
20513 2005-05-30 Wim Taymans <wim@fluendo.com>
20516 * gst/gstelement.h:
20517 * gst/gstelementfactory.h:
20519 Move elementfactory methods to separate .h file.
20521 2005-05-30 Wim Taymans <wim@fluendo.com>
20523 * docs/design/part-overview.txt:
20524 * gst/gstsystemclock.h:
20525 Small typo fixes, doc updates.
20527 2005-05-30 Wim Taymans <wim@fluendo.com>
20529 * gst/gst.c: (gst_init_get_popt_table), (init_post),
20530 (init_popt_callback):
20531 Remove cpu-opt flag.
20533 2005-05-30 Wim Taymans <wim@fluendo.com>
20535 * gst/gstbuffer.c: (gst_subbuffer_finalize),
20536 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20538 Avoid typechecking in places where not needed.
20539 Added accessor for malloc_data.
20541 2005-05-30 Wim Taymans <wim@fluendo.com>
20543 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20544 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20545 (gst_pad_configure_sink), (gst_pad_configure_src),
20546 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20547 (gst_pad_start_task):
20548 Propagate errors from _set_caps() in configure_src/sink
20549 functions instead of returning TRUE.
20550 FLUSH events can travel up and downstream
20553 2005-05-30 Wim Taymans <wim@fluendo.com>
20555 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20556 (gst_basesink_activate):
20557 Handle EOS in preroll.
20559 2005-05-30 Wim Taymans <wim@fluendo.com>
20561 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20562 (gst_queue_loop), (gst_queue_handle_src_event):
20563 Remove old pieces of code
20564 Flushing the queue in an upstream event is a very bad idea.
20566 2005-05-26 Andy Wingo <wingo@pobox.com>
20568 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20569 gst_value_set_mini_object so as to add a ref on the object (which
20570 will be removed when the value is unset).
20572 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20573 arg type in ::handoff.
20575 * gst/gstelement.c (gst_element_change_state): Also deactivate
20576 pads in READY->NULL, just in case the element didn't make it to
20577 PAUSED. Wingo tested, Wim approved.
20579 2005-05-26 Wim Taymans <wim@fluendo.com>
20581 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20582 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20583 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20584 A flushing pad cannot be used to alloc_buffer from.
20586 2005-05-26 Wim Taymans <wim@fluendo.com>
20588 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20589 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20590 (gst_bus_source_dispatch), (gst_bus_source_finalize),
20591 (gst_bus_create_watch), (gst_bus_add_watch_full):
20593 Implement a real GSource and use g_main_context_wakeup() to
20594 signal new messages instead of the socketpair.
20596 2005-05-25 Wim Taymans <wim@fluendo.com>
20598 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20599 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20600 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20601 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20602 (gst_pad_send_event), (gst_pad_start_task):
20603 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20604 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20605 (gst_queue_sink_activate), (gst_queue_src_activate),
20606 (gst_queue_change_state):
20608 Fix state changes for non sinks. We now change sinks, then elements
20609 with unconnected srcpads, then the rest.
20610 More efficient queue unlocking in flush and state changes.
20611 Set the pad activate mode even if it does not have an activate
20614 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20616 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20617 Don't go in pull mode for non-seekable sources.
20618 * gst/elements/gsttypefindelement.h:
20619 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20620 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20621 (free_entry), (stop_typefinding),
20622 (gst_type_find_element_handle_event), (find_peek),
20623 (gst_type_find_element_chain), (do_pull_typefind),
20624 (gst_type_find_element_change_state):
20625 Allow typefinding (w/o seeking) in push-mode, simplified version
20626 of what was in 0.8.
20627 * gst/gstutils.c: (gst_buffer_join):
20629 gst_buffer_join() from 0.8.
20631 2005-05-25 Wim Taymans <wim@fluendo.com>
20633 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20634 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20635 (gst_pad_send_event), (gst_pad_start_task):
20636 Disable attempt at mode switching until it is figured out.
20638 2005-05-25 Wim Taymans <wim@fluendo.com>
20640 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20641 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20642 (gst_basesink_finish_preroll), (gst_basesink_chain),
20643 (gst_basesink_loop), (gst_basesink_activate),
20644 (gst_basesink_change_state):
20645 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20646 (gst_basesrc_get_range), (gst_basesrc_loop),
20647 (gst_basesrc_activate):
20648 * gst/elements/gsttee.c: (gst_tee_sink_activate):
20649 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20650 (gst_real_pad_init), (gst_real_pad_set_property),
20651 (gst_real_pad_get_property), (gst_pad_set_active),
20652 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20653 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20654 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20655 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20656 (gst_pad_event_default_dispatch), (gst_pad_event_default),
20657 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20658 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20659 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20660 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20661 (gst_pad_stop_task):
20663 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20664 (gst_queue_loop), (gst_queue_src_activate):
20665 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20666 (gst_task_get_state):
20668 * gst/schedulers/threadscheduler.c:
20669 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20670 Implement gst_pad_pause/start/stop_task(), take STREAM lock
20672 Remove ACTIVE pad flag, use FLUSHING everywhere
20673 Added _pad_chain(), _pad_get_range() to call chain/getrange
20675 Add locks around IS_FLUSHING when reading.
20676 Take STREAM lock in chain(), get_range() functions so plugins
20677 don't need to take it anymore.
20681 2005-05-25 Wim Taymans <wim@fluendo.com>
20683 * tools/gst-launch.c: (event_loop):
20684 Unref message after using its contents instead of
20687 2005-05-24 Wim Taymans <wim@fluendo.com>
20689 * docs/design/draft-ghostpads.txt:
20690 * docs/design/draft-push-pull.txt:
20691 * docs/design/draft-query.txt:
20692 * docs/design/part-overview.txt:
20693 Docs updates, added general overview doc.
20695 2005-05-21 David Schleef <ds@schleef.org>
20697 * docs/gst/tmpl/old/GstBin.sgml:
20698 * docs/gst/tmpl/old/GstBuffer.sgml:
20699 * docs/gst/tmpl/old/GstCaps.sgml:
20700 * docs/gst/tmpl/old/GstClock.sgml:
20701 * docs/gst/tmpl/old/GstCompat.sgml:
20702 * docs/gst/tmpl/old/GstData.sgml:
20703 * docs/gst/tmpl/old/GstElement.sgml:
20704 * docs/gst/tmpl/old/GstEvent.sgml:
20705 * docs/gst/tmpl/old/GstIndex.sgml:
20706 * docs/gst/tmpl/old/GstStructure.sgml:
20707 * docs/gst/tmpl/old/GstTag.sgml:
20708 * docs/gst/tmpl/old/cothreads.sgml:
20709 * docs/gst/tmpl/old/cothreads_compat.sgml:
20710 * docs/gst/tmpl/old/gettext.sgml:
20711 * docs/gst/tmpl/old/gobject2gtk.sgml:
20712 * docs/gst/tmpl/old/grammar.tab.sgml:
20713 * docs/gst/tmpl/old/gst-i18n-app.sgml:
20714 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20715 * docs/gst/tmpl/old/gst_private.sgml:
20716 * docs/gst/tmpl/old/gstaggregator.sgml:
20717 * docs/gst/tmpl/old/gstarch.sgml:
20718 * docs/gst/tmpl/old/gstatomic_impl.sgml:
20719 * docs/gst/tmpl/old/gstbufferstore.sgml:
20720 * docs/gst/tmpl/old/gstdata_private.sgml:
20721 * docs/gst/tmpl/old/gstdisksink.sgml:
20722 * docs/gst/tmpl/old/gstdisksrc.sgml:
20723 * docs/gst/tmpl/old/gstelementfactory.sgml:
20724 * docs/gst/tmpl/old/gstextratypes.sgml:
20725 * docs/gst/tmpl/old/gstfakesink.sgml:
20726 * docs/gst/tmpl/old/gstfakesrc.sgml:
20727 * docs/gst/tmpl/old/gstfdsink.sgml:
20728 * docs/gst/tmpl/old/gstfdsrc.sgml:
20729 * docs/gst/tmpl/old/gstfilesink.sgml:
20730 * docs/gst/tmpl/old/gstfilesrc.sgml:
20731 * docs/gst/tmpl/old/gsthttpsrc.sgml:
20732 * docs/gst/tmpl/old/gstidentity.sgml:
20733 * docs/gst/tmpl/old/gstindexfactory.sgml:
20734 * docs/gst/tmpl/old/gstmarshal.sgml:
20735 * docs/gst/tmpl/old/gstmd5sink.sgml:
20736 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20737 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20738 * docs/gst/tmpl/old/gstpadtemplate.sgml:
20739 * docs/gst/tmpl/old/gstpipefilter.sgml:
20740 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20741 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20742 * docs/gst/tmpl/old/gstshaper.sgml:
20743 * docs/gst/tmpl/old/gstspider.sgml:
20744 * docs/gst/tmpl/old/gstspideridentity.sgml:
20745 * docs/gst/tmpl/old/gststatistics.sgml:
20746 * docs/gst/tmpl/old/gsttee.sgml:
20747 * docs/gst/tmpl/old/gsttimecache.sgml:
20748 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
20749 * docs/gst/tmpl/old/gstxmlregistry.sgml:
20750 * docs/gst/tmpl/old/gthread-cothreads.sgml:
20751 * docs/gst/tmpl/old/types.sgml:
20752 I didn't intend to add these or check them in.
20754 2005-05-19 David Schleef <ds@schleef.org>
20756 * configure.ac: Use -no-common everywhere. In a sane world, it
20757 would be the default in libtool, because without it, you can't
20758 build DLLs on Windows.
20759 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
20760 * docs/gst/gstreamer-sections.txt:
20761 * docs/gst/tmpl/gstcpu.sgml:
20762 * docs/gst/tmpl/gstdata.sgml:
20763 * docs/gst/tmpl/gstthread.sgml:
20765 2005-05-19 David Schleef <ds@schleef.org>
20767 * gst/gstminiobject.c: (gst_value_set_mini_object),
20768 (gst_value_take_mini_object), (gst_value_get_mini_object):
20769 * gst/gstminiobject.h: Add GValue set/get functions.
20771 2005-05-19 Wim Taymans <wim@fluendo.com>
20773 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
20774 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
20775 (gst_subbuffer_init), (gst_buffer_is_span_fast):
20777 * gst/gstbus.c: (gst_bus_post):
20778 * gst/gstelement.c: (gst_element_get_random_pad):
20779 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
20780 Make subbufer unref the parent in finalize.
20781 some more debugging info.
20784 2005-05-19 Wim Taymans <wim@fluendo.com>
20786 * gst/base/gstbasesink.c: (gst_basesink_class_init),
20787 (gst_basesink_init), (gst_basesink_finalize),
20788 (gst_basesink_activate), (gst_basesink_change_state):
20789 Don't free preroll queue too early.
20791 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20795 Hi, I'm outdated. Please shoot me.
20797 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20799 * gst/gstpipeline.c: (gst_pipeline_send_event):
20800 Do not access variables after they have been deleted.
20802 2005-05-19 Wim Taymans <wim@fluendo.com>
20804 * tools/gst-inspect.c: (print_plugin_features):
20805 A plugin feature does unfortunatly not use the
20808 2005-05-18 Wim Taymans <wim@fluendo.com>
20810 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
20811 Port _span() functions to new subbuffers.
20813 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20815 * gst/gstbin.c: (gst_bin_add_func):
20816 Fix clock settery in bins when adding kids after the clock has
20819 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20821 * gst/elements/gstidentity.c: (gst_identity_class_init):
20822 Workaround until signals support GstMiniObject.
20824 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
20827 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
20829 2005-05-18 Wim Taymans <wim@fluendo.com>
20831 * gst/base/Makefile.am:
20832 * gst/base/gstadapter.c: (gst_adapter_base_init),
20833 (gst_adapter_class_init), (gst_adapter_init),
20834 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
20835 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
20836 (gst_adapter_flush), (gst_adapter_available),
20837 (gst_adapter_available_fast):
20838 * gst/base/gstadapter.h:
20839 Ported and added adapter to the base classes.
20841 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20844 * gst/gstmessage.c:
20845 Make sure the class is reffed/unreffed once before threads can be
20846 used. Fixes #304551.
20848 2005-05-17 Wim Taymans <wim@fluendo.com>
20850 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
20851 (gst_basesink_chain_unlocked), (gst_basesink_activate):
20852 * gst/gstminiobject.c: (gst_mini_object_get_type),
20853 (gst_mini_object_free):
20854 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
20855 (gst_pad_push), (gst_pad_push_event):
20856 * gst/gstqueue.c: (gst_queue_change_state):
20857 Don't queue buffers in basesink when we are flushing.
20858 Unref buffer when flushing in basesink.
20859 Flush queue when going to READY
20860 Unref buffer when _push() returns an error.
20861 Don't free MiniObject instance when refcount is incremented
20862 in _finalize() so that we can recover objects.
20864 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
20866 * docs/manual/advanced-schedulers.xml:
20867 * docs/manual/appendix-checklist.xml:
20868 * docs/pwg/advanced-clock.xml:
20869 * docs/pwg/advanced-interfaces.xml:
20870 * docs/pwg/advanced-request.xml:
20871 * docs/pwg/advanced-types.xml:
20872 * docs/pwg/intro-preface.xml:
20873 * examples/plugins/example.c: (gst_example_get_type),
20874 (gst_example_class_init), (gst_example_chain),
20875 (gst_example_set_property), (gst_example_get_property),
20876 (gst_example_change_state), (plugin_init):
20877 * examples/plugins/example.h:
20880 2005-05-17 Wim Taymans <wim@fluendo.com>
20882 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
20883 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
20884 * gst/gstqueue.c: (gst_queue_change_state):
20885 Clear queue when going to READY.
20886 Remove IN_SETCAPS flag too.
20888 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
20890 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
20891 Remove implicit cast from gboolean to GstElementStateReturn;
20892 make sure we still return failure in paused => ready case if
20893 the parent class fails to change state and our own stop
20896 2005-05-17 Wim Taymans <wim@fluendo.com>
20898 * tools/gst-launch.c: (event_loop):
20899 Message was unreffed too soon.
20901 2005-05-16 Andy Wingo <wingo@pobox.com>
20903 * gst/gstbin.c (sink_iterator_filter): Err... um...
20905 * check/gst/gstbin.c (test_ghost_pads): New test for the
20906 ghosting-if-elements-not-in-same-bin behavior.
20908 2005-05-16 David Schleef <ds@schleef.org>
20910 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
20911 accessing refcount directly.
20913 2005-05-15 David Schleef <ds@schleef.org>
20915 * check/Makefile.am: remove GstData checks
20916 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
20917 * gst/Makefile.am: add miniobject, remove data
20918 * gst/gst.h: add miniobject, remove data
20919 * gst/gstdata.c: remove
20920 * gst/gstdata.h: remove
20921 * gst/gstdata_private.h: remove
20922 * gst/gsttypes.h: remove GstEvent and GstMessage
20923 * gst/gstelement.c: (gst_element_post_message): fix for API changes
20924 * gst/gstmarshal.list: change BOXED -> OBJECT
20926 Implement GstMiniObject.
20927 * gst/gstminiobject.c:
20928 * gst/gstminiobject.h:
20930 Modify to be subclasses of GstMiniObject.
20931 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
20932 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
20933 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
20934 (gst_subbuffer_get_type), (gst_subbuffer_init),
20935 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
20938 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
20939 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
20940 (_gst_event_copy), (gst_event_new):
20942 * gst/gstmessage.c: (_gst_message_initialize),
20943 (gst_message_get_type), (gst_message_class_init),
20944 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
20945 (gst_message_new), (gst_message_new_error),
20946 (gst_message_new_warning), (gst_message_new_tag),
20947 (gst_message_new_state_changed), (gst_message_new_application):
20948 * gst/gstmessage.h:
20949 * gst/gstprobe.c: (gst_probe_perform),
20950 (gst_probe_dispatcher_dispatch):
20952 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
20953 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
20954 (_gst_query_copy), (gst_query_new):
20956 Update elements for GstData -> GstMiniObject changes
20958 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
20959 (gst_queue_chain), (gst_queue_loop):
20960 * gst/elements/gstbufferstore.c:
20961 (gst_buffer_store_add_buffer_func),
20962 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
20963 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
20964 (gst_fakesink_render):
20965 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20966 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
20967 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
20968 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
20969 (gst_filesrc_create_read):
20970 * gst/elements/gstidentity.c: (gst_identity_class_init):
20971 * gst/elements/gsttypefindelement.c:
20972 (gst_type_find_element_src_event), (free_entry_buffers),
20973 (gst_type_find_element_handle_event):
20974 * libs/gst/dataprotocol/dataprotocol.c:
20975 (gst_dp_header_from_buffer):
20976 * libs/gst/dataprotocol/dataprotocol.h:
20977 * libs/gst/dataprotocol/dp-private.h:
20979 2005-05-15 David Schleef <ds@schleef.org>
20981 * gst/elements/gstelements.c: Don't include headers that were
20984 2005-05-15 David Schleef <ds@schleef.org>
20986 * gst/elements/Makefile.am: Remove some elements that don't
20987 need to be in the core (or even exist at all).
20988 * gst/elements/gstaggregator.c:
20989 * gst/elements/gstaggregator.h:
20990 * gst/elements/gstmd5sink.c:
20991 * gst/elements/gstmd5sink.h:
20992 * gst/elements/gstmultifilesrc.c:
20993 * gst/elements/gstmultifilesrc.h:
20994 * gst/elements/gstpipefilter.c:
20995 * gst/elements/gstpipefilter.h:
20996 * gst/elements/gstshaper.c:
20997 * gst/elements/gstshaper.h:
20998 * gst/elements/gststatistics.c:
20999 * gst/elements/gststatistics.h:
21000 * po/POTFILES.in: Remove above files.
21002 2005-05-14 Andy Wingo <wingo@pobox.com>
21004 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21005 so as to get the refs right.
21006 (sink_iterator_filter): New function, wraps bin_element_is_sink,
21007 unreffing objects that don't pass the filter.
21009 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21010 gst_element_set_bus.
21011 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21012 normal cases, this will destroy the bus.
21014 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21017 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21020 2005-05-13 Andy Wingo <wingo@pobox.com>
21022 * gst/gstutils.c (gst_element_link_pads): Instead of calling
21023 gst_pad_link, call pad_link_maybe_ghosting,
21024 (pad_link_maybe_ghosting): Links pads, making sure that the
21025 elements being linked are in the same bin.
21026 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21027 Helpers for pad_link_maybe_ghosting.
21029 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21032 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21034 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21036 * docs/design/part-element-source.txt:
21039 2005-05-12 Wim Taymans <wim@fluendo.com>
21041 * gst/base/gstbasesink.c: (gst_basesink_init),
21042 (gst_basesink_activate):
21043 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21044 (gst_basesrc_is_seekable):
21045 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21046 (bin_element_is_sink), (gst_bin_change_state):
21047 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21048 * gst/gstelement.h:
21049 Identify sinks by their flag to avoid overly complicated
21051 Do state changes even for elements not reachable from the
21053 BaseSink is a sink now :)
21054 Some more debugging info in the basesrc.
21057 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21059 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21060 Implement _query on a bin, similar to _send_event.
21062 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
21064 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21065 Discont event offset format should be GST_FORMAT_BYTES,
21066 not GST_FORMAT_TIME.
21068 2005-05-12 Wim Taymans <wim@fluendo.com>
21070 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21071 Same fix as Ronald's but without the signal.
21073 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21075 * gst/gstutils.c: (gst_element_query_position):
21076 No, an element is not a pad.
21078 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21080 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21081 (gst_bin_get_state):
21082 If a child is removed from a bin while we remove the child from
21083 the bin and while we're retrieving its state, signal this to the
21084 get_state function so we abort the wait (instead of waiting for
21085 a timeout) and can immediately re-iterate over all other elements.
21087 2005-05-12 Wim Taymans <wim@fluendo.com>
21089 * gst/base/Makefile.am:
21090 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21091 (gst_basesrc_start):
21092 * gst/base/gstbasesrc.h:
21093 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21094 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21095 (gst_pushsrc_init), (gst_pushsrc_create):
21096 * gst/base/gstpushsrc.h:
21097 Added is_seekable to BaseSrc
21098 Added simple PushSrc.
21100 2005-05-11 Wim Taymans <wim@fluendo.com>
21102 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21103 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21104 (gst_element_link_pads), (gst_element_query_position),
21105 (gst_element_query_convert), (intersect_caps_func),
21106 (gst_pad_query_position), (gst_pad_query_convert):
21107 Fix refcounting in utils function.
21108 No point in trying to activate a pad when it's added, it could
21109 be added from the state change function and then we deadlock, the
21110 element has to decide what to do.
21112 2005-05-10 Andy Wingo <wingo@pobox.com>
21114 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21115 *all* the arguments.
21117 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21118 stream lock if it's a FLUSH_DONE; normal flushes don't get the
21119 lock (according to the docs -- if this is wrong change the docs).
21121 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21122 flush messages in the NULL state.
21124 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21125 message immediately and return.
21126 (gst_bus_set_flushing): New function. If a bus is flushing, it
21127 flushes out any queued messages and immediately unrefs new
21128 messages. This is so when an element goes to NULL, all of the
21129 unhandled messages coming from it can be freed, and their
21130 references to the element dropped. In other words: message source
21131 ref considered harmful :P
21133 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21134 we're finished with it.
21136 * gst/gstmessage.c (gst_message_new_state_changed):
21138 2005-05-10 Wim Taymans <wim@fluendo.com>
21140 * gst/gstvalue.c: (gst_value_compare_flags),
21141 (gst_value_serialize_flags), (gst_value_deserialize_flags),
21142 (_gst_value_initialize):
21143 Added flags serialize/deserialize/compare code.
21145 2005-05-09 Andy Wingo <wingo@pobox.com>
21147 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21148 Intersect the peer's caps with our caps.
21150 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21152 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21153 * gst/elements/gsttypefindelement.c: (find_peek):
21154 Handle negative offsets better. Fixes decodebin.
21156 2005-05-09 Wim Taymans <wim@fluendo.com>
21158 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21159 (gst_base_transform_event):
21160 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21161 Implement accept_caps.
21162 Fix silly lock/unlock mismatch in base class.
21164 2005-05-09 Wim Taymans <wim@fluendo.com>
21166 * docs/design/draft-push-pull.txt:
21167 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21168 * gst/elements/gstfilesink.c: (gst_filesink_init),
21169 (gst_filesink_query):
21170 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21171 (gst_type_find_handle_src_query), (find_element_get_length):
21172 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21173 * gst/gstelement.h:
21174 * gst/gstmessage.c:
21175 * gst/gstmessage.h:
21176 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21177 (gst_real_pad_get_caps_unlocked),
21178 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21179 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21180 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21181 (gst_real_pad_dispose), (gst_real_pad_finalize),
21182 (gst_pad_load_and_link), (gst_pad_save_thyself),
21183 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21184 (gst_pad_check_pull_range), (gst_pad_pull_range),
21185 (gst_pad_template_get_type), (gst_pad_template_class_init),
21186 (gst_pad_template_init), (gst_pad_template_dispose),
21187 (name_is_valid), (gst_static_pad_template_get),
21188 (gst_pad_template_new), (gst_static_pad_template_get_caps),
21189 (gst_pad_template_get_caps), (gst_pad_set_element_private),
21190 (gst_pad_get_element_private), (gst_pad_start_task),
21191 (gst_pad_pause_task), (gst_pad_stop_task),
21192 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21193 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21194 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21195 (gst_ghost_pad_new):
21197 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21198 (gst_query_new_position), (gst_query_set_position),
21199 (gst_query_parse_position), (gst_query_new_convert),
21200 (gst_query_set_convert), (gst_query_parse_convert):
21202 * gst/gstqueryutils.c:
21203 * gst/gstqueryutils.h:
21204 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21205 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21206 (gst_queue_handle_src_query):
21207 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21208 (gst_element_query_position), (gst_element_query_convert),
21209 (intersect_caps_func), (gst_pad_query_position),
21210 (gst_pad_query_convert):
21212 * tools/gst-inspect.c: (print_pad_info):
21213 * tools/gst-xmlinspect.c: (print_element_info):
21214 Remove old query functions. Ported old code.
21215 Added position/convert helper functions to gstutils.
21216 Reordered gstpad.c code, grouping relevant things.
21217 Remove gst_message_new(), always need to speficy a specific
21221 2005-05-09 Andy Wingo <wingo@pobox.com>
21223 * gst/gstiterator.h: Add some includes.
21225 * gst/gstqueryutils.h: Include more headers.
21228 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21229 some uses of gst_pad_query.
21231 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21232 NULL out parameters.
21233 (gst_query_new_position): New proc, allocates a new position
21236 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21237 gstqueryutils.c to the build.
21239 * gst/gststructure.c (gst_structure_set_valist): Implement with
21240 the generic G_VALUE_COLLECT.
21242 2005-05-08 Edward Hervey <bilboed@bilboed.com>
21244 * gst/Makefile.am: (gst_headers):
21245 Added gstqueryutils.h to the list of headers to install, that was
21246 a 'nachty' move wingo :)
21248 2005-05-06 Andy Wingo <wingo@pobox.com>
21251 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21252 GstData, init a memchunk.
21253 (standard_definitions): Add a few query types, deprecate a few.
21254 (gst_query_get_type): New proc.
21255 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21257 (gst_query_new_application, gst_query_get_structure): New public
21260 * docs/design/draft-query.txt: Removed LINKS from the query types,
21261 because all the rest can be dispatched to other pads -- seemed
21262 ugly to have a query that couldn't be dispatched. internal_links
21263 is fine as a pad method.
21265 * gst/gstpad.h: Add query2 as a pad method, add the new functions
21266 in gstpad.c, but maintain binary compatibility for the moment.
21267 Will fix before 0.9 is out.
21269 * gst/gstqueryutils.c:
21270 * gst/gstqueryutils.h: New files, implement 3 methods for each
21271 query type: parse_query, parse_response, and set. Probably need an
21274 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21276 * gst/elements/gstfilesink.c (gst_filesink_query2):
21277 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21278 query_types, and formats methods.
21280 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21281 (gst_pad_set_query2_function): New functions.
21282 (gst_real_pad_init): Set query2_default as the default query2
21283 function. Basically just dispatches to internally linked pads.
21287 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21288 without using the atomic operations. Only one thread can possibly
21289 be accessing the data at this point. Changed so as to avoid
21290 gst_atomic operations.
21292 2005-05-06 Wim Taymans <wim@fluendo.com>
21294 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21295 Also set caps if we use the fallback buffer alloc.
21297 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
21299 * docs/gst/Makefile.am:
21300 * docs/gst/gstreamer-docs.sgml:
21301 * docs/gst/gstreamer-sections.txt:
21302 * docs/gst/tmpl/gstatomic.sgml:
21303 * docs/gst/tmpl/gstmemchunk.sgml:
21304 * testsuite/elements/struct_i386.h:
21305 * win32/GStreamer.vcproj:
21307 Purge GstAtomic stuff from docs and win32 makefiles as well
21309 2005-05-06 Wim Taymans <wim@fluendo.com>
21311 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21312 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21313 * gst/gstpad.c: (gst_pad_peer_get_caps):
21314 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21315 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21316 (gst_queue_src_activate), (gst_queue_change_state):
21318 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21319 (intersect_caps_func):
21320 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21321 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21322 Some fixes for the peer_get_caps() change.
21324 2005-05-06 Wim Taymans <wim@fluendo.com>
21326 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21327 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21328 (gst_basesink_activate):
21329 Actually do something with error codes returned from the push
21332 2005-05-06 Wim Taymans <wim@fluendo.com>
21334 * docs/design/part-element-sink.txt:
21335 * docs/design/part-element-source.txt:
21336 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21337 (gst_basesink_event), (gst_basesink_activate):
21338 * gst/base/gstbasesink.h:
21339 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21340 (gst_basesrc_activate):
21341 * gst/base/gstbasesrc.h:
21342 * gst/gstelement.c: (gst_element_pads_activate):
21343 Some more documentation.
21344 Fixed scheduling decision in _pads_activate().
21346 2005-05-05 Andy Wingo <wingo@pobox.com>
21348 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21351 2005-05-05 Wim Taymans <wim@fluendo.com>
21353 * gst/base/Makefile.am:
21354 * gst/base/gstbasesink.h:
21355 * gst/base/gstbasesrc.c: (gst_basesrc_init),
21356 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21357 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21358 (gst_collectpads_class_init), (gst_collectpads_init),
21359 (gst_collectpads_finalize), (gst_collectpads_new),
21360 (gst_collectpads_set_function), (gst_collectpads_add_pad),
21361 (find_pad), (gst_collectpads_remove_pad),
21362 (gst_collectpads_is_active), (gst_collectpads_collect),
21363 (gst_collectpads_collect_range), (gst_collectpads_start),
21364 (gst_collectpads_stop), (gst_collectpads_peek),
21365 (gst_collectpads_pop), (gst_collectpads_available),
21366 (gst_collectpads_read), (gst_collectpads_flush),
21367 (gst_collectpads_chain):
21368 * gst/base/gstcollectpads.h:
21369 * gst/elements/Makefile.am:
21370 * gst/elements/gstelements.c:
21371 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21372 (gst_fakesink_get_times), (gst_fakesink_event),
21373 (gst_fakesink_preroll), (gst_fakesink_render):
21374 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21375 (gst_filesink_init), (gst_filesink_set_location),
21376 (gst_filesink_open_file), (gst_filesink_close_file),
21377 (gst_filesink_pad_query), (gst_filesink_event),
21378 (gst_filesink_render), (gst_filesink_change_state):
21379 * gst/elements/gstfilesink.h:
21380 Added object to help in making collect pad based elements.
21382 Make event function in sink baseclass return gboolean.
21384 2005-05-05 Wim Taymans <wim@fluendo.com>
21386 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21387 (gst_bin_get_by_name):
21389 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21390 (gst_clock_finalize):
21391 * gst/gstdata.c: (gst_data_replace):
21393 * gst/gstelement.c: (gst_element_request_pad),
21394 (gst_element_pads_activate):
21395 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21396 (gst_object_unref):
21397 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21398 (gst_pad_set_checkgetrange_function),
21399 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21400 (gst_pad_check_pull_range), (gst_pad_pull_range),
21401 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21402 (gst_pad_pause_task), (gst_pad_stop_task):
21403 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21404 (gst_element_request_pad), (gst_pad_proxy_getcaps):
21405 Fix name lookup in GstBin.
21406 Added _data_replace() function and _buffer_replace()
21407 Use finalize method to clean up clock.
21408 Fix refcounting on request pads.
21409 Fix pad schedule mode error.
21410 Some more object refcounting debug info,
21413 2005-05-04 Andy Wingo <wingo@pobox.com>
21415 * check/Makefile.am:
21416 * docs/gst/tmpl/gstatomic.sgml:
21417 * docs/gst/tmpl/gstplugin.sgml:
21418 * gst/base/gstbasesink.c: (gst_basesink_activate):
21419 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21420 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21421 (gst_basesrc_query), (gst_basesrc_set_property),
21422 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21423 (gst_basesrc_activate):
21424 * gst/base/gstbasesrc.h:
21425 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21426 (gst_base_transform_src_activate):
21427 * gst/elements/gstelements.c:
21428 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21429 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21430 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21431 * gst/elements/gsttypefindelement.c: (find_element_get_length),
21432 (gst_type_find_element_checkgetrange),
21433 (gst_type_find_element_activate):
21434 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21435 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21436 (gst_caps_load_thyself):
21437 * gst/gstelement.c: (gst_element_pads_activate),
21438 (gst_element_save_thyself), (gst_element_restore_thyself):
21439 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21440 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21442 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21443 (gst_xml_parse_file), (gst_xml_parse_memory),
21444 (gst_xml_get_element), (gst_xml_make_element):
21445 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21446 (_file_index_id_save_xml), (gst_file_index_commit):
21447 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21448 (read_enum), (load_pad_template), (load_feature), (load_plugin),
21450 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21451 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21452 * tools/gst-complete.c: (main):
21453 * tools/gst-compprep.c: (main):
21454 * tools/gst-inspect.c: (print_element_properties_info):
21455 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21456 * tools/gst-xmlinspect.c: (print_element_properties):
21459 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
21461 * gst/gstplugin.c: (gst_plugin_check_module),
21462 (gst_plugin_check_file), (gst_plugin_load_file):
21463 apply patch from #172526 to make register work on MacOSX
21465 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21467 * docs/gst/tmpl/gstconfig.sgml:
21468 * gst/gstconfig.h.in:
21469 move documentation for some symbols. Add doc for GST_PTR_FORMAT
21470 * testsuite/debug/printf_extension.c: (main):
21471 Do not use GST_PTR_FORMAT on pointers to types with
21472 sizeof < sizeof(gpointer). Fixes test on 64-bit
21473 * testsuite/elements/property.h:
21474 use correct printf format
21476 2005-05-02 Wim Taymans <wim@fluendo.com>
21478 * docs/design/draft-push-pull.txt:
21479 * docs/design/draft-query.txt:
21480 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21481 (gst_basesrc_start):
21482 Added draft for new query API.
21483 Added draft for better selecting scheduling methods.
21484 Make basesrc ignore length if the subclass does not support
21487 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21490 possible fixes for automake-1.5 - _LIBADD is reserved
21492 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21494 * docs/faq/Makefile.am:
21495 * docs/manual/Makefile.am:
21496 * docs/manuals.mak:
21497 * docs/pwg/Makefile.am:
21499 possible fixes for automake-1.5
21501 2005-04-28 Wim Taymans <wim@fluendo.com>
21503 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21504 (gst_basesink_pad_getcaps), (gst_basesink_init),
21505 (gst_basesink_do_sync):
21506 * gst/gstclock.c: (gst_clock_entry_new):
21507 * gst/gstevent.c: (gst_event_discont_get_value):
21508 * gst/gstpipeline.c: (pipeline_bus_handler),
21509 (gst_pipeline_change_state):
21510 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21511 Better debugging of clocking info.
21512 Allow NULL values when getting discont values.
21514 2005-04-27 Wim Taymans <wim@fluendo.com>
21516 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21517 * check/gst/gstpad.c: (gst_pad_suite):
21518 Increase timeout for checks.
21520 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21522 * check/Makefile.am:
21523 fix the broken rule for cleanup. Apparently this rule is
21524 only needed on FC2, so maybe this warrants further autotool
21527 2005-04-26 Wim Taymans <wim@fluendo.com>
21529 * gst/gsttrashstack.h:
21530 Ooohh. a nasty one! After having a failed pop() from the stack,
21531 it's possible that the stack is empty. In that case, don't
21532 follow the NULL pointer.
21534 2005-04-25 Wim Taymans <wim@fluendo.com>
21536 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21537 (gst_pad_set_checkgetrange_function),
21538 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21539 (gst_pad_check_pull_range), (gst_pad_pull_range),
21540 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21541 (gst_pad_pause_task), (gst_pad_stop_task):
21542 * gst/gstplugin.c: (gst_plugin_load):
21544 Remove gst_library_load as it does more harm than good with
21545 the new g_module flags.
21546 Revert bogus caps template check in pad linking, pad caps
21547 are important when linking not the template, which is more
21548 general than the current caps.
21550 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21552 * gst/autoplug/.cvsignore:
21553 * gst/autoplug/Makefile.am:
21554 * gst/autoplug/gstsearchfuncs.c:
21555 * gst/autoplug/gstsearchfuncs.h:
21556 * gst/autoplug/gstspider.c:
21557 * gst/autoplug/gstspider.h:
21558 * gst/autoplug/gstspideridentity.c:
21559 * gst/autoplug/gstspideridentity.h:
21560 * gst/autoplug/spidertest.c:
21563 2005-04-25 Wim Taymans <wim@fluendo.com>
21565 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21566 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21567 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21568 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21570 Added stubs for unimplemented functions.
21572 2005-04-24 David Schleef <ds@schleef.org>
21574 * gst/gstpad.h: Disable some unimplemented functions. Wim,
21577 2005-04-24 David Schleef <ds@schleef.org>
21579 Convert everything from GstAtomicInt to g_atomic_int_*, and
21584 * gst/gstatomic_impl.h:
21592 * gst/gstdata_private.h:
21596 * gst/gstmessage.c:
21599 * gst/gststructure.c:
21600 * gst/gststructure.h:
21601 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21604 2005-04-24 David Schleef <ds@schleef.org>
21606 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21607 make the regressions tests work. Remove some code that is no
21609 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21610 Disable warning for pads without templates.
21612 2005-04-24 David Schleef <ds@schleef.org>
21614 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
21615 functions that handle filtered links.
21616 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21618 * gst/gstutils.c: Fix/remove utility functions that handle
21621 * gst/gstvalue.c: Add serialization/deserialization of caps
21622 * gst/parse/grammar.y: Ignore filtered caps when linking. This
21623 requires fixing so that the filter caps notation creates
21624 a capsfilter element and sets the filter_caps property. I
21625 think everyone probably wants to keep the shorthand notation.
21626 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21627 * docs/gst/tmpl/gstpad.sgml:
21629 * gst/elements/gstelements.c: Register capsfilter element.
21630 * gst/Makefile.am: fix spacing
21631 * docs/random/ds/0.9-suggested-changes: random
21633 2005-04-23 David Schleef <ds@schleef.org>
21635 * gst/elements/Makefile.am:
21636 * gst/elements/gstcapsfilter.c: New element that acts like an
21637 identity, but filters caps. Will eventually replace filtered
21638 caps in pad linking.
21639 * gst/gstutils.c: (gst_element_create_all_pads): New function
21640 to create all the ALWAYS pads that are registered with an
21641 element class. This functionality should eventually be
21642 merged in with GstElement initialization.
21644 * testsuite/trigger/README: part of trigger test code that should
21645 have been checked in a long time ago.
21647 2005-04-23 David Schleef <ds@schleef.org>
21649 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
21650 needed with new versions of libtool (nobody will confirm this),
21651 and hard to carry around.
21652 * gst/autoplug/Makefile.am:
21653 * gst/base/Makefile.am:
21654 * gst/elements/Makefile.am:
21655 * gst/indexers/Makefile.am:
21656 * gst/schedulers/Makefile.am:
21657 * libs/gst/bytestream/Makefile.am:
21658 * libs/gst/control/Makefile.am:
21659 * libs/gst/dataprotocol/Makefile.am:
21660 * libs/gst/getbits/Makefile.am:
21662 2005-04-21 Wim Taymans <wim@fluendo.com>
21664 * docs/design/draft-push-pull.txt:
21665 * docs/design/part-MT-refcounting.txt:
21666 * docs/design/part-TODO.txt:
21667 * docs/design/part-caps.txt:
21668 * docs/design/part-events.txt:
21669 * docs/design/part-gstbus.txt:
21670 * docs/design/part-gstpipeline.txt:
21671 * docs/design/part-messages.txt:
21672 * docs/design/part-push-pull.txt:
21673 * docs/design/part-query.txt:
21676 2005-04-21 Wim Taymans <wim@fluendo.com>
21678 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21679 (gst_message_new), (gst_message_new_error),
21680 (gst_message_new_warning), (gst_message_new_tag),
21681 (gst_message_new_state_changed), (gst_message_new_application),
21682 (gst_message_get_structure):
21683 * gst/gstmessage.h:
21684 * gst/gststructure.c: (gst_structure_set_parent_refcount),
21685 (gst_structure_copy_conditional):
21686 Use parent refcount in GstMessage to ensure GstStructure
21688 Cleaned up headers a bit.
21691 2005-04-20 Wim Taymans <wim@fluendo.com>
21693 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21694 (gst_basesink_pad_getcaps), (gst_basesink_init),
21695 (gst_basesink_chain_unlocked):
21696 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21697 (gst_type_find_helper):
21698 * gst/elements/gsttypefindelement.c:
21699 (gst_type_find_element_have_type), (gst_type_find_element_init),
21700 (stop_typefinding), (gst_type_find_element_handle_event),
21701 (find_suggest), (gst_type_find_element_chain),
21702 (gst_type_find_element_checkgetrange),
21703 (gst_type_find_element_getrange), (do_typefind),
21704 (gst_type_find_element_activate):
21705 * gst/gstbuffer.c: (_gst_buffer_sub_free),
21706 (gst_buffer_default_free), (gst_buffer_default_copy),
21707 (gst_buffer_set_caps):
21708 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21709 (gst_caps_replace):
21710 * gst/gstmessage.c: (gst_message_new),
21711 (gst_message_new_state_changed):
21712 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21713 (gst_pad_set_checkgetrange_function),
21714 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21715 (gst_pad_set_caps), (gst_pad_check_pull_range),
21716 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21718 * gst/gsttypefind.c: (gst_type_find_register):
21719 Make gst_caps_replace() work like other _replace() functions.
21720 Use _caps_replace() where possible.
21721 Make sure _message_new() initialises its field.
21722 Add gst_static_pad_template_get_caps()
21725 2005-04-18 Andy Wingo <wingo@pobox.com>
21727 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21728 on the peer, not the pad. I think that was a typo. Pass an extra
21729 arg to see if random access is possible. Activate the pads as
21730 PULL_RANGE if possible.
21732 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21734 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
21735 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21738 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21740 * docs/faq/using.xml:
21741 Add note on gstreamer-properties (#154996).
21743 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21745 * docs/random/bbb/optional-properties:
21746 Some analysis on optional properties.
21748 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21750 * docs/gst/tmpl/gstelementfactory.sgml:
21751 * gst/gstelement.h:
21752 * gst/gstelementfactory.c: (gst_element_factory_init),
21753 (gst_element_factory_cleanup), (gst_element_register),
21754 (__gst_element_factory_add_static_pad_template),
21755 (gst_element_factory_get_static_pad_templates),
21756 (gst_element_factory_can_src_caps),
21757 (gst_element_factory_can_sink_caps):
21758 * gst/registries/Makefile.am:
21759 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
21760 (gst_xml_registry_class_init), (gst_xml_registry_init),
21761 (gst_xml_registry_new), (gst_xml_registry_set_property),
21762 (gst_xml_registry_get_property), (get_time), (make_dir),
21763 (gst_xml_registry_get_perms_func),
21764 (plugin_times_older_than_recurse), (plugin_times_older_than),
21765 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
21766 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
21767 (add_to_char_array), (read_string), (read_uint), (read_enum),
21768 (load_pad_template), (load_feature), (load_plugin), (load_paths),
21769 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
21770 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
21771 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
21772 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
21773 (gst_xml_registry_rebuild):
21774 * gst/registries/gstlibxmlregistry.h:
21775 * tools/gst-compprep.c: (main):
21776 * tools/gst-inspect.c: (print_pad_templates_info):
21777 * tools/gst-xmlinspect.c: (print_element_info):
21778 Use libxml2 for registry parsing, use staticpadtemplates in
21779 elementfactories. Makes gst_init() +/- 10x faster.
21781 2005-04-12 Wim Taymans <wim@fluendo.com>
21783 * gst/base/Makefile.am:
21784 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21785 (gst_basesink_pad_getcaps), (gst_basesink_init),
21786 (gst_basesink_event), (gst_basesink_change_state):
21787 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21788 (gst_basesrc_init), (gst_basesrc_query),
21789 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21790 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21791 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21792 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21793 (gst_basesrc_stop), (gst_basesrc_activate),
21794 (gst_basesrc_change_state):
21795 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21796 (helper_find_suggest), (gst_type_find_helper):
21797 * gst/base/gsttypefindhelper.h:
21798 * gst/elements/Makefile.am:
21799 * gst/elements/gstelements.c:
21800 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21801 (gst_fakesink_get_times), (gst_fakesink_event),
21802 (gst_fakesink_preroll), (gst_fakesink_render):
21803 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21804 (gst_fakesrc_init), (gst_fakesrc_event_handler),
21805 (gst_fakesrc_get_property), (gst_fakesrc_create),
21806 (gst_fakesrc_start), (gst_fakesrc_stop):
21807 * gst/elements/gstfakesrc.h:
21808 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
21809 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21810 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21811 (gst_filesrc_create_read), (gst_filesrc_create),
21812 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
21813 (gst_filesrc_start):
21814 * gst/elements/gsttypefindelement.c:
21815 (gst_type_find_element_have_type), (gst_type_find_element_init),
21816 (start_typefinding), (stop_typefinding), (push_buffer_store),
21817 (gst_type_find_element_handle_event),
21818 (gst_type_find_element_chain),
21819 (gst_type_find_element_checkgetrange),
21820 (gst_type_find_element_getrange), (do_typefind),
21821 (gst_type_find_element_activate),
21822 (gst_type_find_element_change_state):
21823 * gst/elements/gsttypefindelement.h:
21824 * gst/gstpipeline.c: (pipeline_bus_handler):
21825 Added typefind helper.
21826 Small preroll fix in the base sink.
21827 Disable typefind code in basesrc.
21828 Crude port of typefindelement.
21832 2005-04-11 Wim Taymans <wim@fluendo.com>
21834 * check/gst/gstbus.c: (gstbus_suite):
21835 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
21836 * check/gstcheck.h:
21837 Fix up the timeout so that the test does not fail.
21839 2005-04-06 Wim Taymans <wim@fluendo.com>
21842 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21843 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
21844 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21845 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21846 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21847 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21848 (gst_basesrc_stop), (gst_basesrc_activate),
21849 (gst_basesrc_change_state), (basesrc_find_peek),
21850 (basesrc_find_suggest), (gst_basesrc_type_find):
21851 * gst/base/gstbasesrc.h:
21852 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
21853 (gst_filesrc_class_init), (gst_filesrc_init),
21854 (gst_filesrc_finalize), (gst_filesrc_set_location),
21855 (gst_filesrc_set_property), (gst_filesrc_get_property),
21856 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21857 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21858 (gst_filesrc_create_read), (gst_filesrc_create),
21859 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
21860 * gst/elements/gstfilesrc.h:
21861 * gst/gstelement.c: (gst_element_get_state_func),
21862 (gst_element_lost_state), (gst_element_pads_activate):
21863 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21864 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21865 (gst_pad_pull_range):
21867 More work on the generic source base class, implement seeking,
21869 Make filesrc extend the base source class.
21870 Added gst_pad_set_checkgetrange_function to GstPad.
21872 2005-04-06 Andy Wingo <wingo@pobox.com>
21874 * pkgconfig/gstreamer-base.pc.in:
21875 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
21877 * pkgconfig/Makefile.am:
21878 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
21880 2005-04-04 Wim Taymans <wim@fluendo.com>
21882 * gst/base/Makefile.am:
21884 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21885 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21886 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21887 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
21888 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21889 (gst_basesrc_base_init), (gst_basesrc_class_init),
21890 (gst_basesrc_init), (gst_basesrc_get_formats),
21891 (gst_basesrc_get_query_types), (gst_basesrc_query),
21892 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
21893 (gst_basesrc_set_property), (gst_basesrc_get_property),
21894 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
21895 (gst_basesrc_loop), (gst_basesrc_activate),
21896 (gst_basesrc_change_state):
21897 * gst/base/gstbasesrc.h:
21898 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
21899 (gst_fakesrc_class_init), (gst_fakesrc_init),
21900 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
21901 (gst_fakesrc_get_property), (gst_fakesrc_create):
21902 * gst/elements/gstfakesrc.h:
21903 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
21904 (gst_filesrc_open_file), (gst_filesrc_loop),
21905 (gst_filesrc_activate), (filesrc_find_peek),
21906 (gst_filesrc_type_find):
21907 Made base source class, make fakesrc extend it.
21908 Add comments to basesink class.
21909 Some filesrc cleanup.
21911 2005-03-31 David Schleef <ds@schleef.org>
21913 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
21914 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
21915 expected to link against libgstreamer.
21916 * gst/base/Makefile.am: link against libgstreamer
21917 * gst/elements/Makefile.am: same
21919 2005-03-31 Andy Wingo <wingo@pobox.com>
21921 * tests/instantiate/Makefile.am:
21922 * tests/instantiate/caps.c: Add test to test speed of caps copy
21925 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
21926 GMemChunk to be fair.
21928 * gst/gsttrashstack.h: Remove warning about using the fallback
21929 trash stack implementation, it's still faster than malloc.
21931 2005-03-30 Andy Wingo <wingo@pobox.com>
21933 * tests/complexity.c: Add a copyright.
21935 2005-03-31 Wim Taymans <wim@fluendo.com>
21937 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
21938 (gst_base_transform_class_init), (gst_base_transform_init),
21939 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21940 (gst_base_transform_get_property),
21941 (gst_base_transform_sink_activate),
21942 (gst_base_transform_src_activate),
21943 (gst_base_transform_change_state):
21944 * gst/base/gstbasetransform.h:
21945 * gst/elements/gstidentity.c: (gst_identity_class_init),
21946 (gst_identity_event), (gst_identity_check_perfect),
21947 (gst_identity_transform), (gst_identity_start),
21948 (gst_identity_stop):
21949 Added start/stop methods to transform base class so subclasses
21950 don't need to deal with state changes even.
21952 2005-03-31 Wim Taymans <wim@fluendo.com>
21954 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
21955 (gst_event_new_discontinuous), (gst_event_discont_get_value):
21957 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21958 (gst_pad_pull_range):
21959 Added rate to the discont event to prepare for variable speed
21960 and reverse playback.
21962 2005-03-29 David Schleef <ds@schleef.org>
21965 * testsuite/trigger/Makefile.am:
21966 * testsuite/trigger/trigger.c: A little example program to show
21967 how trigger-based elements can work.
21969 2005-03-29 Wim Taymans <wim@fluendo.com>
21971 * gst/base/Makefile.am:
21973 * gst/base/gstbasesink.c: (gst_basesink_get_type),
21974 (gst_basesink_base_init), (gst_basesink_class_init),
21975 (gst_basesink_pad_getcaps), (gst_basesink_init),
21976 (gst_basesink_activate), (gst_basesink_change_state):
21977 * gst/base/gstbasesink.h:
21978 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
21979 (gst_base_transform_base_init), (gst_base_transform_finalize),
21980 (gst_base_transform_class_init), (gst_base_transform_init),
21981 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
21982 (gst_base_transform_event), (gst_base_transform_getrange),
21983 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
21984 (gst_base_transform_set_property),
21985 (gst_base_transform_get_property),
21986 (gst_base_transform_sink_activate),
21987 (gst_base_transform_src_activate),
21988 (gst_base_transform_change_state):
21989 * gst/base/gstbasetransform.h:
21990 * gst/elements/gstidentity.c: (gst_identity_finalize),
21991 (gst_identity_class_init), (gst_identity_init),
21992 (gst_identity_event), (gst_identity_check_perfect),
21993 (gst_identity_transform), (gst_identity_set_property),
21994 (gst_identity_get_property), (gst_identity_change_state):
21995 * gst/elements/gstidentity.h:
21996 * gst/gstelement.c: (gst_element_get_state_func),
21997 (gst_element_lost_state), (gst_element_pads_activate):
21998 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21999 (gst_pad_check_pull_range), (gst_pad_pull_range):
22001 Simplify pad activation.
22002 Added function to check if pull_range can be performed.
22003 Error out when pulling inactive or flushing pads.
22004 Removed const from refcounted types as it does not make sense.
22005 Simplify pad templates in basesink
22006 Added base class for simple 1-to-1 transforms.
22007 Make identity subclass the base transform.
22009 2005-03-29 Andy Wingo <wingo@pobox.com>
22011 * docs/libs/gstreamer-libs-overrides.txt:
22012 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22013 really don't understand what's going on, but like whatever. I want
22016 * docs/gst/Makefile.am:
22017 * docs/libs/Makefile.am: Dist the overrides files.
22019 * check/Makefile.am (clean-local): Remove .libs directories.
22021 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22022 elements to EXTRA_DIST, so po/ files are happy.
22024 * po/POTFILES.in: Er, remove it here.
22026 * po/POTFILES: Remove gstspider.c.
22028 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22030 * docs/libs/gstreamer-libs-docs.sgml:
22031 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22034 * tests/complexity.c (main): Set the length of the preroll queue
22035 on the sinks to prevent a lockup.
22037 * libs/gst/dataprotocol/Makefile.am:
22038 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22039 the same as the one in check/gst-libs/gdp.c.
22041 * po/, docs/gst/: Commit automatic changes to docs and po files.
22043 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22044 the versioned libgstbase.
22046 * check/Makefile.am: Depend on an unversioned gst-register, seems
22047 to make autoconf happier.
22049 * gst/base/Makefile.am: Make libgstbase a versioned lib.
22051 2005-03-28 Wim Taymans <wim@fluendo.com>
22054 * docs/design/part-gstelement.txt:
22055 * docs/design/part-negotiation.txt:
22056 * docs/design/part-preroll.txt:
22057 * docs/design/part-scheduling.txt:
22058 * docs/design/part-states.txt:
22060 * gst/base/Makefile.am:
22062 * gst/base/gstbasesink.c: (gst_basesink_get_template),
22063 (gst_basesink_base_init), (gst_basesink_class_init),
22064 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22065 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22066 (gst_basesink_set_pad_functions),
22067 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22068 (gst_basesink_set_property), (gst_basesink_get_property),
22069 (gst_base_sink_get_template), (gst_base_sink_get_caps),
22070 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22071 (gst_basesink_preroll_queue_push),
22072 (gst_basesink_preroll_queue_empty),
22073 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22074 (gst_basesink_event), (gst_basesink_get_times),
22075 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22076 (gst_basesink_chain_unlocked), (gst_basesink_chain),
22077 (gst_basesink_loop), (gst_basesink_activate),
22078 (gst_basesink_change_state):
22079 * gst/base/gstbasesink.h:
22080 * gst/elements/Makefile.am:
22081 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22082 (gst_fakesink_class_init), (gst_fakesink_init),
22083 (gst_fakesink_set_property), (gst_fakesink_get_property),
22084 (gst_fakesink_get_times), (gst_fakesink_event),
22085 (gst_fakesink_preroll), (gst_fakesink_render),
22086 (gst_fakesink_change_state):
22087 * gst/elements/gstfakesink.h:
22088 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22089 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22090 * gst/gstelement.c: (gst_element_add_pad),
22091 (gst_element_get_state_func), (gst_element_abort_state),
22092 (gst_element_commit_state), (gst_element_lost_state),
22093 (gst_element_set_state), (gst_element_pads_activate):
22094 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22095 * gst/gstpipeline.c: (gst_pipeline_send_event),
22096 (gst_pipeline_change_state):
22097 Added state change code.
22098 Added/updated docs.
22099 Added sink base class, make fakesink extend the base class.
22100 Small cleanups in GstPipeline.
22102 2005-03-26 David Schleef <ds@schleef.org>
22104 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
22105 is broken and should be implemented in a different library.
22106 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22107 * gst/gst.h: remove gstcpu.h
22108 * gst/gstcpu.c: remove
22109 * gst/gstcpu.h: remove
22110 * gst/Makefile.am.future: Remove this file. It's ancient.
22112 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22114 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22115 (gst_bin_send_event):
22116 Add default event/set_manager handlers. The set_manager handler
22117 takes care that the manager is distributed over kids that were
22118 already in the bin before the manager was set. The event handler
22119 is a utility virtual function that sends the event over all sinks,
22120 so that gst_element_send_event (bin, event); has the expected
22122 * gst/gstpad.c: (gst_pad_event_default):
22123 Re-install default event handling for discontinuities, so that
22124 seeking works without requiring hacks in applications or extra
22126 * gst/gstpipeline.c: (gst_pipeline_class_init),
22127 (gst_pipeline_send_event):
22128 Half hack, half utility: set a pipeline to PAUSED for seek events,
22129 since that is the only way we can guarantee a/v sync. Means that
22130 you can do gst_element_seek (pipeline, method, pos); on a pipeline
22131 and it "just works".
22133 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22135 * gst/gstpipeline.c: (gst_pipeline_use_clock):
22136 Lock/unlock mismatch.
22138 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
22140 * docs/faq/gst-uninstalled:
22141 add gst-plugins-base
22142 * docs/gst/Makefile.am:
22143 don't error out until docs are fixed
22144 * docs/gst/gstreamer.types:
22147 2005-03-22 Wim Taymans <wim@fluendo.com>
22149 * check/Makefile.am:
22150 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22151 * gst/gststructure.c: (gst_structure_set_valist),
22152 (gst_structure_copy_conditional):
22153 Activated more tests.
22154 Added message test.
22155 Added G_TYPE_POINTER to GstStructure.
22158 2005-03-22 Wim Taymans <wim@fluendo.com>
22160 * docs/design/part-TODO.txt:
22161 * docs/design/part-events.txt:
22162 * docs/design/part-gstbin.txt:
22163 * docs/design/part-gstbus.txt:
22164 * docs/design/part-gstpipeline.txt:
22165 * docs/design/part-messages.txt:
22167 * gst/gstmessage.c:
22170 2005-03-21 Wim Taymans <wim@fluendo.com>
22172 * gst/gstbus.c: (gst_bus_post):
22173 Fix copy-and-paste error.
22175 2005-03-21 Wim Taymans <wim@fluendo.com>
22177 * check/Makefile.am:
22179 * gst/elements/Makefile.am:
22180 * gst/elements/gstelements.c:
22181 * gst/elements/gstfakesink.c: (gst_fakesink_init),
22182 (gst_fakesink_event), (gst_fakesink_chain):
22183 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22184 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22185 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22186 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22187 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22188 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22189 (gst_fakesrc_loop), (gst_fakesrc_activate),
22190 (gst_fakesrc_change_state):
22191 * gst/elements/gstfakesrc.h:
22192 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22193 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22194 (gst_filesrc_open_file), (gst_filesrc_loop),
22195 (gst_filesrc_activate), (gst_filesrc_change_state),
22196 (filesrc_find_peek), (filesrc_find_suggest),
22197 (gst_filesrc_type_find):
22198 * gst/elements/gstidentity.c: (gst_identity_finalize),
22199 (gst_identity_class_init), (gst_identity_init),
22200 (gst_identity_proxy_getcaps), (identity_queue_push),
22201 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22202 (gst_identity_getrange), (gst_identity_chain),
22203 (gst_identity_sink_loop), (gst_identity_src_loop),
22204 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22205 (gst_identity_set_property), (gst_identity_get_property),
22206 (gst_identity_change_state):
22207 * gst/elements/gstidentity.h:
22208 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22209 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22210 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22211 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22212 (gst_tee_sink_activate):
22213 * gst/elements/gsttee.h:
22214 * gst/gst.c: (gst_register_core_elements), (init_post):
22216 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22217 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22218 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22219 (gst_bin_change_state):
22221 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22222 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22223 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22224 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22225 (gst_bus_set_sync_handler), (gst_bus_create_watch),
22226 (bus_watch_callback), (bus_watch_destroy),
22227 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22228 (poll_timeout), (gst_bus_poll):
22232 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22233 (gst_element_post_message), (gst_element_message_full),
22234 (gst_element_get_state_func), (gst_element_get_state),
22235 (gst_element_abort_state), (gst_element_commit_state),
22236 (gst_element_lost_state), (gst_element_set_state),
22237 (gst_element_pads_activate), (gst_element_change_state),
22238 (gst_element_dispose), (gst_element_set_manager_func),
22239 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22240 (gst_element_set_manager), (gst_element_get_manager),
22241 (gst_element_set_bus), (gst_element_get_bus),
22242 (gst_element_set_scheduler), (gst_element_get_scheduler):
22243 * gst/gstelement.h:
22244 * gst/gstevent.c: (gst_event_new_segment_seek),
22245 (gst_event_new_flush):
22247 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22248 (_gst_message_free), (gst_message_get_type), (gst_message_new),
22249 (gst_message_new_eos), (gst_message_new_error),
22250 (gst_message_new_warning), (gst_message_new_tag),
22251 (gst_message_new_state_changed), (gst_message_new_application),
22252 (gst_message_get_structure), (gst_message_parse_tag),
22253 (gst_message_parse_state_changed), (gst_message_parse_error),
22254 (gst_message_parse_warning):
22255 * gst/gstmessage.h:
22256 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22257 (gst_real_pad_set_property), (gst_pad_set_active),
22258 (gst_pad_is_active), (gst_pad_set_blocked_async),
22259 (gst_pad_set_blocked), (gst_pad_is_blocked),
22260 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22261 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22262 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22263 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22264 (gst_pad_link_filtered), (gst_pad_relink_filtered),
22265 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22266 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22267 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22268 (gst_pad_set_caps), (gst_pad_configure_sink),
22269 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22270 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22271 (gst_real_pad_dispose), (gst_real_pad_finalize),
22272 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22273 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22274 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22276 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22277 (pipeline_bus_handler), (gst_pipeline_change_state),
22278 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22279 * gst/gstpipeline.h:
22281 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22282 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22283 (gst_queue_link_src), (gst_queue_bufferalloc),
22284 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22285 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22286 (gst_queue_loop), (gst_queue_handle_src_event),
22287 (gst_queue_handle_src_query), (gst_queue_src_activate),
22288 (gst_queue_change_state):
22290 * gst/gstscheduler.c: (gst_scheduler_init),
22291 (gst_scheduler_dispose), (gst_scheduler_create_task),
22292 (gst_scheduler_factory_create):
22293 * gst/gstscheduler.h:
22294 * gst/gststructure.c: (gst_structure_get_type),
22295 (gst_structure_copy_conditional):
22296 * gst/gststructure.h:
22297 * gst/gsttaginterface.h:
22298 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22299 (gst_task_init), (gst_task_dispose), (gst_task_create),
22300 (gst_task_get_state), (gst_task_start), (gst_task_stop),
22306 * gst/schedulers/Makefile.am:
22307 * gst/schedulers/cothreads_compat.h:
22308 * gst/schedulers/entryscheduler.c:
22309 * gst/schedulers/faircothreads.c:
22310 * gst/schedulers/faircothreads.h:
22311 * gst/schedulers/fairscheduler.c:
22312 * gst/schedulers/gstbasicscheduler.c:
22313 * gst/schedulers/gstoptimalscheduler.c:
22314 * gst/schedulers/gthread-cothreads.h:
22315 * gst/schedulers/threadscheduler.c:
22316 (gst_thread_scheduler_task_get_type),
22317 (gst_thread_scheduler_task_class_init),
22318 (gst_thread_scheduler_task_init),
22319 (gst_thread_scheduler_task_start),
22320 (gst_thread_scheduler_task_stop),
22321 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22322 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22323 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22324 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22326 * libs/gst/Makefile.am:
22327 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22328 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22329 (gst_file_pad_parent_set):
22330 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22331 (gst_dp_event_from_packet):
22332 * tests/complexity.c: (main):
22333 * tests/mass_elements.c: (main):
22334 * testsuite/states/locked.c: (message_received), (main):
22335 * testsuite/states/parent.c: (main):
22336 * tools/gst-inspect.c: (print_element_flag_info),
22337 (print_implementation_info), (print_pad_info):
22338 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22340 * tools/gst-md5sum.c: (event_loop), (main):
22341 * tools/gst-typefind.c: (main):
22342 * tools/gst-xmlinspect.c: (print_element_info):
22344 Added GstBus for mainloop integration.
22345 Added GstMessage for sending notifications on the bus.
22346 Added GstTask as an abstraction for pipeline entry points.
22348 Removed Schedulers.
22349 Simplified GstQueue for multithreaded core.
22350 Made _link threadsafe, removed old capsnego.
22351 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22352 Added pad blocking functions.
22353 Reworked scheduling functions in GstPad to prepare for
22354 scheduling updates soon.
22355 Moved events out of data stream.
22356 Simplified GstEvent types.
22357 Added return values to push/pull.
22358 Removed clocking from GstElement.
22359 Added prototypes for state change function for next merge.
22360 Removed iterate from bins and state change management.
22361 Fixed some elements, disabled others for now.
22362 Fixed -inspect and -launch.
22363 Added check for GstBus.
22365 2005-03-10 Wim Taymans <wim@fluendo.com>
22367 * docs/design/part-MT-refcounting.txt:
22368 * docs/design/part-clocks.txt:
22369 * docs/design/part-gstelement.txt:
22370 * docs/design/part-gstobject.txt:
22371 * docs/design/part-standards.txt:
22372 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22373 (gst_bin_remove_func), (gst_bin_remove):
22377 * testsuite/clock/clock1.c: (main):
22378 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22380 * testsuite/dlopen/loadgst.c: (do_test):
22381 * testsuite/refcounting/bin.c: (add_remove_test1),
22382 (add_remove_test2), (main):
22383 * testsuite/refcounting/element.c: (main):
22384 * testsuite/refcounting/element_pad.c: (main):
22385 * testsuite/refcounting/pad.c: (main):
22386 * tools/gst-launch.c: (sigint_handler_sighandler):
22387 * tools/gst-typefind.c: (main):
22389 Added doc about clock.
22390 removed gst_bin_iterate_recurse_up(), marked methods
22392 Fix more testsuites.
22394 2005-03-09 Wim Taymans <wim@fluendo.com>
22396 * gst/gstpad.c: (gst_pad_get_direction),
22397 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22398 (gst_pad_collect_valist):
22399 * testsuite/bins/interface.c: (main):
22400 * testsuite/caps/audioscale.c: (test_caps):
22401 * testsuite/caps/caps.c: (test1), (test2), (test3):
22402 * testsuite/caps/deserialize.c: (main):
22403 * testsuite/caps/enumcaps.c: (main):
22404 * testsuite/caps/filtercaps.c: (main):
22405 * testsuite/caps/intersect2.c: (main):
22406 * testsuite/caps/random.c: (main):
22407 * testsuite/caps/renegotiate.c: (my_fixate), (main):
22408 * testsuite/caps/sets.c: (check_caps):
22409 * testsuite/caps/simplify.c: (check_caps), (main):
22410 * testsuite/caps/subtract.c: (check_caps):
22411 Fix _pad_get_direction wrt ghostpads.
22412 Fix caps testsuite.
22414 2005-03-09 Wim Taymans <wim@fluendo.com>
22416 * check/Makefile.am:
22417 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22418 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22419 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22420 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22421 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22422 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22423 (gst_bin_remove), (gst_bin_iterate_recurse_up),
22424 (bin_element_is_sink), (gst_bin_iterate_sinks),
22425 (gst_bin_iterate_all_by_interface):
22427 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22428 (gst_element_change_state), (gst_element_dispose),
22429 (gst_element_finalize), (gst_element_set_loop_function):
22430 * gst/gstelement.h:
22431 * gst/gstiterator.c: (find_custom_fold_func):
22432 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22433 (gst_pad_collectv), (gst_pad_collect_valist),
22434 (gst_pad_template_new):
22435 * gst/gstpipeline.c: (gst_pipeline_class_init),
22436 (gst_pipeline_dispose), (gst_pipeline_set_property),
22437 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22438 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22439 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22441 * gst/schedulers/entryscheduler.c:
22442 * gst/schedulers/gstbasicscheduler.c:
22443 (gst_basic_scheduler_cothreaded_chain),
22444 (gst_basic_scheduler_chain_add_element):
22445 * testsuite/bins/interface.c: (main):
22447 Added GstSystemClock test.
22448 Implemented clock distribution code in GstBin.
22449 Implemented iterate sinks method for future use.
22450 Rearranged gstelement.h
22451 Fix GstIterator comparison bug.
22452 Moved some code to GstPipeline, mostly clocking related.
22454 2005-03-09 Wim Taymans <wim@fluendo.com>
22457 * gst/gst_private.h:
22458 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22459 (gst_bin_remove_func), (gst_bin_remove),
22460 (gst_bin_get_by_name_recurse_up):
22461 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22462 (gst_clock_id_compare_func), (gst_clock_id_wait),
22463 (gst_clock_id_wait_async), (gst_clock_init),
22464 (gst_clock_adjust_unlocked), (gst_clock_get_time):
22465 * gst/gstelement.h:
22466 * gst/gstinfo.c: (_gst_debug_init):
22468 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22469 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22471 Bump version number, we're now 0.9.0
22472 Add future debugging category.
22473 Fix NULL _unref() in _get_by_name_recurse_up
22474 Rearrange gstpad.h.
22477 2005-03-08 Wim Taymans <wim@fluendo.com>
22479 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22480 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22481 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22482 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22483 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22484 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22485 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22486 * gst/elements/gstidentity.c: (gst_identity_class_init):
22487 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22488 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22489 * gst/elements/gstshaper.c: (gst_shaper_class_init):
22490 * gst/elements/gststatistics.c: (gst_statistics_class_init):
22491 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22493 * gst/gstelement.c: (gst_element_class_init),
22494 (gst_element_base_class_init), (gst_element_init),
22495 (gst_element_get_random_pad), (gst_element_wait_state_change),
22496 (gst_element_change_state), (gst_element_dispose),
22497 (gst_element_finalize), (gst_element_set_loop_function):
22498 * gst/gstelement.h:
22499 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22500 * gst/gstthread.c: (gst_thread_class_init),
22501 (gst_thread_release_children_locks), (gst_thread_change_state):
22502 * gst/schedulers/gstbasicscheduler.c:
22503 (gst_basic_scheduler_loopfunc_wrapper),
22504 (gst_basic_scheduler_chain_wrapper),
22505 (gst_basic_scheduler_src_wrapper),
22506 (gst_basic_scheduler_remove_element):
22507 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22508 Remove threadsafe properties. Fix elements because GObject
22509 complains when installing a property before declaring a
22510 set/get_property handler.
22511 Rearrange gstelement.h file, use STATE macros for state locks.
22512 Free mutexes in the finalize method instead of dispose.
22514 2005-03-08 Wim Taymans <wim@fluendo.com>
22516 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22517 * gst/gstthread.c: (gst_thread_release_children_locks):
22518 Added parentage check.
22519 Fix build og GstThread again.
22521 2005-03-08 Wim Taymans <wim@fluendo.com>
22523 * docs/design/part-MT-refcounting.txt:
22524 * docs/design/part-conventions.txt:
22525 * docs/design/part-gstobject.txt:
22526 * docs/design/part-relations.txt:
22527 * docs/design/part-standards.txt:
22528 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22529 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22530 (gst_bin_get_by_name), (gst_bin_get_by_interface),
22531 (gst_bin_iterate_all_by_interface):
22534 * gst/gstelement.c: (gst_element_class_init),
22535 (gst_element_change_state), (gst_element_set_loop_function):
22536 * gst/gstelement.h:
22537 * gst/gstiterator.c:
22538 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22539 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22540 (gst_object_dispatch_properties_changed), (gst_object_set_name),
22541 (gst_object_set_parent), (gst_object_unparent),
22542 (gst_object_check_uniqueness):
22544 Docs updates, clean up some headers.
22546 2005-03-07 Wim Taymans <wim@fluendo.com>
22548 * check/.cvsignore:
22549 * check/Makefile.am:
22550 * check/gst-libs/.cvsignore:
22551 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22552 * check/gst/.cvsignore:
22553 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22554 (START_TEST), (gstbus_suite), (main):
22555 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22556 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22557 (gst_data_suite), (main):
22558 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22559 (add_fold_func), (gstiterator_suite), (main):
22560 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22561 (thread_name_object), (thread_name_object_default),
22562 (gst_object_name_compare), (gst_object_suite), (main):
22563 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22564 (gst_pad_suite), (main):
22565 * check/gstcheck.c: (gst_check_log_message_func),
22566 (gst_check_log_critical_func), (gst_check_init):
22567 * check/gstcheck.h:
22568 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22569 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22572 2005-03-07 Wim Taymans <wim@fluendo.com>
22574 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22575 (gst_list_iterator_next), (gst_list_iterator_resync),
22576 (gst_list_iterator_free), (gst_iterator_new_list),
22577 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22578 (gst_iterator_free), (gst_iterator_push), (filter_next),
22579 (filter_resync), (filter_uninit), (filter_free),
22580 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22581 (gst_iterator_foreach), (find_custom_fold_func),
22582 (gst_iterator_find_custom):
22583 * gst/gstiterator.h:
22584 Added missing files.
22586 2005-03-07 Wim Taymans <wim@fluendo.com>
22590 * docs/design/part-MT-refcounting.txt:
22591 * docs/design/part-conventions.txt:
22592 * docs/design/part-gstobject.txt:
22593 * docs/design/part-relations.txt:
22594 * examples/mixer/mixer.c: (main):
22595 * examples/thread/thread.c: (eos), (main):
22597 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22598 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22599 (gst_spider_plug_from_srcpad):
22600 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22601 (gst_spider_identity_change_state),
22602 (gst_spider_identity_sink_loop_type_finding):
22603 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22604 * gst/elements/gstidentity.c: (gst_identity_init):
22605 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22606 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22607 * gst/elements/gsttypefindelement.c: (free_entry):
22610 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22611 (gst_bin_set_clock_func), (gst_bin_auto_clock),
22612 (gst_bin_set_index), (gst_bin_set_element_sched),
22613 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22614 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22615 (gst_bin_iterate_elements), (iterate_child_recurse),
22616 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22617 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22618 (compare_interface), (gst_bin_get_by_interface),
22619 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22621 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22622 (gst_buffer_default_free), (gst_buffer_default_copy),
22623 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22624 (gst_buffer_create_sub):
22626 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22627 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22628 (gst_caps_unref), (gst_static_caps_get),
22629 (gst_caps_remove_and_get_structure), (gst_caps_append),
22630 (gst_caps_append_structure), (gst_caps_remove_structure),
22631 (gst_caps_copy_nth), (gst_caps_set_simple),
22632 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22633 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22634 (gst_caps_structure_intersect_field), (gst_caps_intersect),
22635 (gst_caps_structure_subtract_field), (gst_caps_subtract),
22636 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22637 (gst_caps_structure_figure_out_union),
22638 (gst_caps_switch_structures), (gst_caps_do_simplify),
22639 (gst_caps_replace), (gst_caps_from_string),
22640 (gst_caps_copy_conditional):
22642 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22643 (_gst_clock_id_free), (gst_clock_id_unref),
22644 (gst_clock_id_compare_func), (gst_clock_id_wait),
22645 (gst_clock_id_wait_async), (gst_clock_class_init),
22646 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22647 (gst_clock_get_time), (gst_clock_set_time_adjust),
22648 (gst_clock_set_property), (gst_clock_get_property):
22651 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22652 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22654 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22655 (gst_element_requires_clock), (gst_element_provides_clock),
22656 (gst_element_set_clock), (gst_element_clock_wait),
22657 (gst_element_wait), (gst_element_set_time_delay),
22658 (gst_element_is_indexable), (gst_element_add_pad),
22659 (gst_element_add_ghost_pad), (gst_element_remove_pad),
22660 (pad_compare_name), (gst_element_get_static_pad),
22661 (gst_element_request_pad), (gst_element_get_request_pad),
22662 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22663 (gst_element_class_get_pad_template_list),
22664 (gst_element_class_get_pad_template), (gst_element_error_func),
22665 (gst_element_get_random_pad), (gst_element_get_event_masks),
22666 (gst_element_send_event), (gst_element_seek),
22667 (gst_element_get_query_types), (gst_element_query),
22668 (gst_element_get_formats), (gst_element_convert),
22669 (gst_element_is_locked_state), (gst_element_set_locked_state),
22670 (gst_element_sync_state_with_parent), (gst_element_change_state),
22671 (gst_element_finalize), (gst_element_yield),
22672 (gst_element_interrupt), (gst_element_set_scheduler),
22673 (gst_element_get_scheduler), (gst_element_set_loop_function):
22674 * gst/gstelement.h:
22676 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22677 (gst_format_get_by_nick), (gst_format_get_details),
22678 (gst_format_iterate_definitions):
22680 * gst/gstindex.c: (gst_index_gtype_resolver):
22683 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22684 (gst_mem_chunk_free):
22685 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22686 (gst_object_ref), (gst_object_unref), (gst_object_sink),
22687 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22688 (gst_object_dispatch_properties_changed),
22689 (gst_object_set_name_default), (gst_object_set_name),
22690 (gst_object_get_name), (gst_object_set_name_prefix),
22691 (gst_object_get_name_prefix), (gst_object_set_parent),
22692 (gst_object_get_parent), (gst_object_unparent),
22693 (gst_object_check_uniqueness), (gst_object_save_thyself),
22694 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22695 (gst_object_set_property), (gst_object_get_property),
22696 (gst_object_get_path_string):
22698 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22699 (gst_real_pad_init), (gst_real_pad_get_property),
22700 (gst_pad_custom_new), (gst_pad_get_direction),
22701 (gst_pad_set_active), (gst_pad_is_active),
22702 (gst_pad_set_event_function), (gst_pad_is_linked),
22703 (gst_pad_link_free), (gst_pad_link_intersect),
22704 (gst_pad_link_fixate), (gst_pad_set_caps),
22705 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22706 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22707 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22708 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22709 (gst_pad_get_caps), (gst_pad_peer_get_caps),
22710 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22711 (gst_pad_realize), (gst_pad_get_allowed_caps),
22712 (gst_real_pad_dispose), (gst_real_pad_finalize),
22713 (gst_pad_collectv), (gst_pad_collect_valist),
22714 (gst_pad_template_dispose), (gst_pad_template_new),
22715 (gst_pad_get_internal_links):
22717 * gst/gstpipeline.c: (gst_pipeline_dispose),
22718 (gst_pipeline_change_state):
22719 * gst/gstpipeline.h:
22721 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22722 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22723 * gst/gstpluginfeature.h:
22724 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22725 * gst/gstquery.c: (_gst_query_type_initialize),
22726 (gst_query_type_register), (gst_query_type_get_by_nick),
22727 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22729 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22730 * gst/gstscheduler.c: (gst_scheduler_add_element),
22731 (gst_scheduler_factory_create):
22732 * gst/gststructure.c: (gst_structure_set_parent_refcount),
22733 (gst_structure_free), (gst_structure_set_name),
22734 (gst_structure_id_set_value), (gst_structure_set_value),
22735 (gst_structure_set_valist), (gst_structure_remove_field),
22736 (gst_structure_remove_fields),
22737 (gst_structure_remove_fields_valist),
22738 (gst_structure_remove_all_fields), (gst_structure_foreach),
22739 (gst_structure_map_in_place),
22740 (gst_caps_structure_fixate_field_nearest_int),
22741 (gst_caps_structure_fixate_field_nearest_double):
22742 * gst/gststructure.h:
22743 * gst/gstsystemclock.c: (gst_system_clock_class_init),
22744 (gst_system_clock_init), (gst_system_clock_dispose),
22745 (gst_system_clock_async_thread),
22746 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22747 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
22748 * gst/gstsystemclock.h:
22749 * gst/gsttag.c: (gst_tag_list_add_value_internal),
22750 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
22751 * gst/gsttaginterface.c:
22752 * gst/gstthread.c: (gst_thread_dispose),
22753 (gst_thread_release_children_locks), (gst_thread_change_state),
22754 (gst_thread_main_loop):
22755 * gst/gsttrashstack.h:
22756 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
22758 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22759 (gst_element_request_pad), (gst_element_get_pad_from_template),
22760 (gst_element_request_compatible_pad),
22761 (gst_element_get_compatible_pad_filtered),
22762 (gst_element_get_compatible_pad), (gst_element_state_get_name),
22763 (gst_element_link_pads_filtered), (gst_element_link_filtered),
22764 (gst_element_link_many), (gst_element_link),
22765 (gst_element_link_pads), (gst_element_unlink_pads),
22766 (gst_element_unlink_many), (gst_element_unlink),
22767 (gst_pad_can_link_filtered), (gst_pad_can_link),
22768 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
22769 (gst_object_default_error), (gst_bin_add_many),
22770 (gst_bin_remove_many), (gst_element_populate_std_props),
22771 (gst_element_class_install_std_props), (gst_buffer_merge),
22772 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
22773 (link_fold_func), (gst_pad_proxy_setcaps):
22775 * gst/gstvalue.c: (gst_value_deserialize_string):
22776 * gst/parse/grammar.y:
22777 * gst/schedulers/gstbasicscheduler.c:
22778 (gst_basic_scheduler_cothreaded_chain),
22779 (gst_basic_scheduler_chain_recursive_add),
22780 (gst_basic_scheduler_pad_link):
22781 * gst/schedulers/gstoptimalscheduler.c:
22782 (get_group_schedule_function),
22783 (gst_opt_scheduler_state_transition),
22784 (gst_opt_scheduler_add_element), (element_get_reachables_func):
22785 * libs/gst/bytestream/bytestream.c:
22786 * libs/gst/dataprotocol/dataprotocol.c:
22787 (gst_dp_header_from_buffer):
22790 * tests/threadstate/threadstate2.c: (eos):
22791 * tools/gst-compprep.c: (main):
22792 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
22793 (print_pad_info), (print_children_info):
22794 * tools/gst-launch.c: (idle_func), (main):
22795 * tools/gst-md5sum.c: (idle_func), (main):
22796 * tools/gst-xmlinspect.c: (print_element_info):
22797 First THREADED backport attempt, focusing on adding locks and
22798 making sure the API is threadsafe. Needs more work. More docs
22801 2005-02-24 Andy Wingo <wingo@pobox.com>
22803 * tests/bench-complexity.scm:
22804 * tests/complexity.gnuplot: New files, good for running complexity
22807 * tests/Makefile.am:
22808 * tests/complexity.c: New test, sets up N elements, at each level
22809 teeing into M streams per element. Eeeenteresting.
22811 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
22812 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
22813 running bench-mass_elements.scm.
22815 * tests/bench-mass_elements.scm: New script, runs mass_elements
22816 for various numbers of identities, outputting the results to a
22817 file. Requires guile 1.6. Just for testing.
22819 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
22821 * gst/schedulers/fairscheduler.c:
22822 compile with debug disabled
22824 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
22827 hunting season on 0.9 is now OPEN