1 2007-04-05 Wim Taymans <wim@fluendo.com>
3 * docs/gst/gstreamer-sections.txt:
4 * gst/gstclock.c: (gst_clock_adjust_unlocked),
5 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7 Improve _adjust_unlocked() so that it overflows less.
8 Add gst_clock_unadjust_unlocked to convert from external time to
9 internal time based on calibration.
11 API: GstClock::gst_clock_unadjust_unlocked()
13 2007-04-03 Wim Taymans <wim@fluendo.com>
15 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
17 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
18 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
19 when releasing sink pad. Fixes #425400.
21 2007-04-02 Stefan Kost <ensonic@users.sf.net>
23 * docs/random/ensonic/dynlink.txt:
24 More work on proposal for new core api.
26 * docs/libs/gstreamer-libs-sections.txt:
27 * libs/gst/base/gstbasetransform.h:
28 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
30 * libs/gst/controller/gstcontroller.c:
31 (on_object_controlled_property_changed),
32 (gst_controller_sync_values),
33 (gst_controller_set_interpolation_mode):
34 * libs/gst/controller/gstcontroller.h:
35 Less verbose logging add docs for unimplemented parts and correctly
36 return when using unavailable parts.
38 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
40 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
41 Move all the debug to the CLOCK category, and associate it with
44 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
46 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
47 Make take_buffer a bit quicker by removing redundant checks
48 caused by calling gst_adapter_take.
50 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
52 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
55 * tests/check/Makefile.am:
56 * tests/check/elements/.cvsignore:
57 * tests/check/elements/multiqueue.c: (setup_multiqueue),
58 (GST_START_TEST), (multiqueue_suite):
59 Add some dead simple unit tests for the 'multiqueue' element
60 (some bits don't work yet and are disabled for now).
62 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
64 * gst/gstelement.c: (gst_element_get_request_pad),
65 (gst_element_class_get_request_pad_template):
66 Make gst_element_get_request_pad() create request pads only for
67 request pad templates and not for, say, sometimes pad templates.
69 2007-03-28 Stefan Kost <ensonic@users.sf.net>
71 * docs/design/draft-klass.txt:
72 Add example that needs more thinking.
74 * docs/design/draft-missing-plugins.txt:
75 More thoughts about wrapper plugins.
77 * docs/random/ensonic/embedded.txt:
78 * docs/random/ensonic/profiling.txt:
81 2007-03-25 Wim Taymans <wim@fluendo.com>
83 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
85 Only push the segment events in the PLAYING state for live sources.
87 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
89 * gst/gstpipeline.c: (gst_pipeline_change_state):
90 Modify the clock distribution path in PAUSED->PLAYING so that we
91 never attempt to choose a new clock unless we're actually leaving
92 the PAUSED state for the first time. This prevents choosing a
93 different clock when the state_change gets called for a 2nd time due
94 to some element doing an async state change.
96 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
98 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
99 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
100 (gst_pad_chain_unchecked), (gst_pad_push):
101 Revert last commit. This needs some more thoughts.
103 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
105 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
106 (gst_pad_chain_unchecked), (gst_pad_push):
107 Check in set_caps if the caps are compatible with the pad and remove
108 two functions that are redundant now. Fixes #421543.
110 2007-03-22 Wim Taymans <wim@fluendo.com>
112 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
113 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
114 Unref some more to make valgrind happy.
116 2007-03-22 Wim Taymans <wim@fluendo.com>
118 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
119 (gst_system_clock_id_wait_jitter),
120 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
121 Fix anoying regression that survived a few releases. When adding an
122 async entry while blocking on a sync entry, the sync entry will unblock
123 but still be busy, so it should continue to wait instead of returning
125 Add some comments here and there.
127 * tests/check/gst/gstsystemclock.c: (mixed_thread),
128 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
129 Add testcase for this.
131 2007-03-22 Wim Taymans <wim@fluendo.com>
133 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
134 Handle errors from the clock sync better, only UNSCHEDULED indicates a
135 WRONG_STATE and can silently pause the task. All other cases should
138 2007-03-22 Wim Taymans <wim@fluendo.com>
140 Patch by: <syrjala at sci dot fi>
142 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
143 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
146 2007-03-21 Michael Smith <msmith@fluendo.com>
148 * docs/pwg/advanced-types.xml:
149 Fix some errors in the typefinding docs pointed out on irc.
151 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
153 * libs/gst/base/gstbasesrc.c:
154 Clarify FIXME comment in the face of having added unlock_stop()
156 2007-03-21 Wim Taymans <wim@fluendo.com>
158 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
159 Prepare for release where we warn against possible app breakage in the
160 case of live pipelines along with an env var to enable/disable live
161 preroll mode (GST_COMPAT=[no-]live-preroll).
163 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
165 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
166 So we should use correct constants for checking for None offset.
168 2007-03-20 Wim Taymans <wim@fluendo.com>
170 * docs/design/part-block.txt:
171 Mention the fact that the newly switched element should be set to at
174 2007-03-20 Wim Taymans <wim@fluendo.com>
177 Fix compilation with registry disabled as spotted by Saur.
179 2007-03-20 Wim Taymans <wim@fluendo.com>
181 Patch by: Olivier Crete <tester at tester dot ca>
183 * gst/gstelement.c: (gst_element_sync_state_with_parent):
184 Look at the pending state too when syncing the element state to the
185 parent. Fixes #420133.
187 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
189 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
190 (gst_base_sink_change_state):
191 * libs/gst/base/gstbasesink.h:
192 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
193 (gst_base_src_default_event), (gst_base_src_unlock_stop),
194 (gst_base_src_deactivate):
195 * libs/gst/base/gstbasesrc.h:
196 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
197 for sub-classes to correctly clear any state they set trying to
198 unlock, such as clearing out unlock commands from a command fd.
200 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
201 (gst_fd_sink_render), (gst_fd_sink_unlock),
202 (gst_fd_sink_unlock_stop):
203 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
204 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
205 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
207 Implement unlock_stop in fdsrc and fdsink.
208 Implement seeking in fdsrc when a seekable fd is passed, as in
209 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
211 2007-03-19 Wim Taymans <wim@fluendo.com>
213 Patch by: Evan Nemerson <evan at coeus dash group dot com>
215 * gst/gstelement.c: (gst_element_class_init):
216 Fix pad-added and pad-removed signal signatures so that the pad type is
217 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
219 2007-03-19 Wim Taymans <wim@fluendo.com>
221 * docs/gst/gstreamer-sections.txt:
222 Add new element field and method.
224 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
225 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
226 (gst_bin_recalc_state), (gst_bin_get_state_func),
227 (gst_bin_element_set_state), (gst_bin_change_state_func),
228 (gst_bin_continue_func), (bin_bus_handler),
229 (bin_push_state_continue), (bin_handle_async_start),
230 (bin_handle_async_done), (gst_bin_handle_message_func):
231 Make async state changes a bit smarter by using new ASYNC_START and
232 ASYNC_DONE messages. This reduces the number of times we run the state
233 recalculation thread.
234 Don't change state of element with a pending ASYNC_START message.
235 Deprecate STATE_DIRTY messages.
237 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
238 (gst_element_get_state_func), (gst_element_continue_state),
239 (gst_element_lost_state), (gst_element_set_state_func),
240 (gst_element_change_state):
242 Keep the state that was last set by the app in a new element field.
243 Don't allow state changes when handling an element event.
244 Post ASYNC_START and ASYNC_DONE messages.
245 Change lost_state so that we go to PAUSED and wait for the parent to set
246 us to PLAYING again (so latency calculation can be performed)
247 Export gst_element_change_state() method so that subclasses can use it.
248 API: gst_element_change_state()
249 API: GST_STATE_TARGET
251 * gst/gstpipeline.c: (gst_pipeline_class_init),
252 (reset_stream_time), (gst_pipeline_change_state),
253 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
254 Using the new ASYNC_START message we can reset the base_time when
255 needed. This can then be used to implement base_time redistribution in
256 flushing seeks so that we can remove the explicit seek handling.
257 Perform latency query and configuration when going to PLAYING.
259 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
260 (gst_base_sink_query), (gst_base_sink_change_state):
261 Post new ASYNC_START/ASYNC_DONE messages.
263 * tests/check/generic/sinks.c: (GST_START_TEST):
264 Fix test because the bin will not set the async element to PLAYING right
267 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
268 Make the message check a little stronger.
269 Handle ASYNC messages.
271 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
272 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
273 Expect ASYNC_DONE messages.
275 2007-03-19 Wim Taymans <wim@fluendo.com>
277 * docs/gst/gstreamer-sections.txt:
278 * gst/gstmessage.c: (gst_message_new_async_start),
279 (gst_message_new_async_done), (gst_message_parse_info),
280 (gst_message_parse_async_start):
282 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
285 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
287 * tools/gst-inspect.c:
288 (print_plugin_automatic_install_info_codecs):
289 Now that we don't check for the 'Codec' keyword any longer in the
290 klass, we shouldn't spew a warning if the klass isn't a decoder or
291 encoder (since it might be a Source/Network, for example).
293 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
295 * tools/gst-inspect.c:
296 (print_plugin_automatic_install_info_codecs):
297 Don't require decoder/demuxer/depayloader elements or
298 encoder/muxer/paylader elements to have 'Codec' as part of their
299 factory class string when introspecting a plugin's capabilities.
300 draft-klass.txt mentions that it might be removed in future, and
301 flump3dec doesn't have it as part of its class string, so chances
302 are others might also not have it.
304 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
326 Update translations from translation project
328 2007-03-14 Stefan Kost <ensonic@users.sf.net>
330 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
331 (gst_child_proxy_set_property):
332 Invert precondition check to be alike the ones in the mimiced gobject
335 2007-03-13 Stefan Kost <ensonic@users.sf.net>
337 * docs/design/draft-tagreading.txt:
338 * docs/random/ensonic/audiobaseclasses.txt:
339 Do some Architect work.
341 * gst/gstobject.c: (gst_object_set_name):
345 Add docs that point from gst_pad_get_range to gst_pad_pull_range
347 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
349 * gst/gstsystemclock.c: (gst_system_clock_init),
350 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
351 Defer starting the async system clock thread until the first async
352 wait is scheduled. Fixes #414986.
354 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
356 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
357 (gst_single_queue_free):
358 Fix small leak (free GstSingleQueue structure too, not only contents).
360 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
362 * gst/gstbin.c:(gst_bin_add):
363 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
364 * win32/common/libgstbase.def:
365 * win32/common/libgstreamer.def:
366 Add new exported functions.
368 2007-03-09 Wim Taymans <wim@fluendo.com>
370 * docs/plugins/gstreamer-plugins-sections.txt:
373 2007-03-09 Wim Taymans <wim@fluendo.com>
375 * docs/gst/gstreamer-sections.txt:
376 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
378 Add metadata copy functions. Fixes #393099.
380 * gst/gstutils.c: (gst_buffer_stamp):
381 * libs/gst/base/gstbasetransform.c:
382 (gst_base_transform_prepare_output_buffer):
383 Use new metadata copy functions.
385 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
387 * plugins/elements/gstidentity.c: (gst_identity_class_init),
388 (gst_identity_init), (gst_identity_check_perfect),
389 (gst_identity_check_imperfect_timestamp),
390 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
391 (gst_identity_set_property), (gst_identity_get_property):
392 * plugins/elements/gstidentity.h:
393 Separate out check-imperfect-timestamp and check-imperfect-offset.
394 Put back check-perfect as it was to keep compatibility.
396 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
398 * gst/gstelement.c: (gst_element_dispose):
399 There's no need to warn if VOID_PENDING is not NONE here, as
400 long as the state is NULL it's ok, and that's checked immediately
403 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
405 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
406 Fix check for perfect stream to ignore buffers with -1
407 offsets/offset ends when checking data contiguity.
409 2007-03-08 Wim Taymans <wim@fluendo.com>
411 * tools/gst-launch.c: (event_loop):
414 2007-03-08 Wim Taymans <wim@fluendo.com>
416 * libs/gst/base/gstbasetransform.c:
417 (gst_base_transform_sink_eventfunc),
418 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
419 (gst_base_transform_activate):
420 * libs/gst/base/gstbasetransform.h:
421 Add support for dropping buffers with custom GstFlowReturn.
422 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
423 buffers or dropped buffers.
425 * docs/libs/gstreamer-libs-sections.txt:
426 docs for new custom return code.
428 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
429 Use drop support in base class to implement drop-probability.
431 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
433 * gst/gst.c: (load_plugin_func):
434 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
435 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
436 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
437 Remove newlines at end of debug log strings.
439 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
441 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
442 Only post bus message at max, once per buffer received.
444 2007-03-07 Wim Taymans <wim@fluendo.com>
446 * docs/design/Makefile.am:
447 * docs/design/part-synchronisation.txt:
448 Add doc about synchronisation
450 * docs/design/draft-latency.txt:
451 * docs/design/part-TODO.txt:
452 * docs/design/part-clocks.txt:
453 * docs/design/part-events.txt:
454 * docs/design/part-gstbus.txt:
455 * docs/design/part-gstpipeline.txt:
456 * docs/design/part-live-source.txt:
457 * docs/design/part-messages.txt:
458 * docs/design/part-overview.txt:
459 * docs/design/part-streams.txt:
460 * docs/design/part-trickmodes.txt:
461 Documentation updates.
463 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
466 Update the doap file.
468 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
470 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
471 Rename non-perfect to imperfect for Mike and for the sanctity of the
473 Also make sure bus message gets emitted for data-incontiguities.
475 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
477 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
478 (gst_identity_start):
479 * plugins/elements/gstidentity.h:
480 Emit bus message if check-perfect is true and we encounter a
481 non-perfect stream between 2 consecutive buffers.
484 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
489 === release 0.10.12 ===
491 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
494 releasing 0.10.12, "Inevitable Demise"
496 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
499 Version 0.10.11.2 (0.10.12 pre-release)
500 Bump libtool versioning.
502 2007-03-01 Stefan Kost <ensonic@users.sf.net>
504 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
505 Log flow-names and not numbers.
507 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
510 Convert to new AG_GST style.
512 2007-02-28 Wim Taymans <wim@fluendo.com>
514 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
515 Don't unref query twice.
517 2007-02-28 Wim Taymans <wim@fluendo.com>
519 * gst/gstvalue.c: (gst_value_transform_object_string),
520 (_gst_value_initialize):
521 Implement GstObject -> string transform so we print object names
522 when serializing GValues containing GstObjects.
524 2007-02-28 Wim Taymans <wim@fluendo.com>
526 * docs/gst/gstreamer-sections.txt:
527 Add new stuff to docs.
529 2007-02-28 Wim Taymans <wim@fluendo.com>
531 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
532 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
533 (gst_base_sink_change_state):
534 Improve latency query code.
535 Don't leak latency events.
537 * tests/check/gst/gstbin.c: (GST_START_TEST):
540 2007-02-28 Wim Taymans <wim@fluendo.com>
542 * gst/gstelement.c: (gst_element_message_full),
543 (gst_element_get_state_func):
545 Improve docs a little. Added Since: for new macro.
547 * gst/gstobject.c: (gst_object_sink):
548 * gst/gstpipeline.c: (gst_pipeline_change_state),
549 (gst_pipeline_set_new_stream_time):
551 Improve debugging and docs.
553 * gst/gstutils.c: (gst_element_state_change_return_get_name):
556 2007-02-28 Wim Taymans <wim@fluendo.com>
558 * gst/gstelement.c: (gst_element_message_full),
559 (gst_element_set_locked_state), (gst_element_get_state_func),
560 (gst_element_change_state):
561 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
562 Documentation updates.
565 * gst/gstmessage.c: (gst_message_new_info),
566 (gst_message_parse_info):
568 API: gst_message_new_info()
569 API: gst_message_parse_info()
570 Add INFO message create and parse code.
572 2007-02-28 Wim Taymans <wim@fluendo.com>
574 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
575 (bin_query_latency_done):
576 Also report the live parameter of a latency query.
578 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
580 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
581 Copy the current generic/states example from -base and adapt so
582 we can use the exact same code everywhere.
583 Check a STATES_IGNORE_ELEMENTS env var which can be used
584 to ignore certain element factories for this test, which is
585 what is being done in -base
586 * tests/check/Makefile.am:
587 Mention this environment variable.
589 2007-02-27 Wim Taymans <wim@fluendo.com>
591 * docs/gst/gstreamer-sections.txt:
592 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
593 (gst_bus_timed_pop), (gst_bus_pop):
595 API: gst_bus_timed_pop()
596 Implement gst_bus_timed_pop() to do a blocking timed wait for a
597 message to arrive on the bus.
599 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
601 Two unit tests for new _timed_pop() function.
603 2007-02-23 Wim Taymans <wim@fluendo.com>
605 * gst/gstpipeline.c: (gst_pipeline_change_state),
606 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
607 Don't ref a NULL clock in _provide_clock_func().
608 Don't allow an INVALID delay.
609 Don't try to calculate base_time with an invalid start_time.
610 Also distribute and notify a NULL clock when it was selected.
612 * tools/gst-launch.c: (event_loop):
613 Don't crash when a NULL clock was selected in the pipeline.
615 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
617 * docs/design/Makefile.am:
618 * docs/design/draft-missing-plugins.txt:
619 * docs/random/draft-missing-plugins.txt:
620 Some small updates: update plugin system identifier prefix
621 ('gstreamer.net' to 'gstreamer'), mention our new install
622 API in libgstbaseutils rather than libgimme-codec, add
623 reference to the online docs.
625 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
627 * win32/common/config.h:
628 Pretty sure Bill never made a powerpc version. Powerpc hackers,
629 use moap cl ci to only check in what is mentioned in the ChangeLog.
631 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
633 * docs/gst/gstreamer-sections.txt:
635 Fix up documentation to link to the correct GstGError section.
636 Add GST_ELEMENT_INFO macro since someone else added a Info message.
638 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
640 * tools/gst-launch.c: (event_loop):
641 Make sure that we actually show the important message part of a
643 No need to check if the gerror is not NULL to free; first of all
644 g_free accepts NULL; and second the default error handler would
645 segfault if gerror was NULL.
647 2007-02-21 Wim Taymans <wim@fluendo.com>
649 * docs/gst/gstreamer-sections.txt:
650 Removed docs as well.
652 2007-02-21 Wim Taymans <wim@fluendo.com>
654 * gst/gstmessage.c: (gst_message_parse_duration):
656 Remove new messages for release.
658 2007-02-20 Wim Taymans <wim@fluendo.com>
660 * docs/design/part-gstghostpad.txt:
661 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
662 (gst_ghost_pad_new_full):
663 Make the ghostpad a parent of the internal pad again for better backward
664 compatibility. Don't write code that relies on this however.
666 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
667 (gst_pad_link_check_hierarchy):
668 Require that parents should be GstElements in the hierarchy check.
670 2007-02-20 Wim Taymans <wim@fluendo.com>
672 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
673 (gst_bin_change_state_func), (bin_query_min_max_init),
674 (bin_query_latency_fold), (bin_query_latency_done),
677 Implement latency query.
679 2007-02-20 Wim Taymans <wim@fluendo.com>
681 * docs/design/part-gstghostpad.txt:
682 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
683 (gst_ghost_pad_internal_do_activate_push),
684 (gst_ghost_pad_internal_do_activate_pull),
685 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
686 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
687 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
688 Do not set the internal pad as a parent anymore so we can avoid
689 hierarchy linking errors when the ghostpad has no parent yet. This also
690 fixes failed activation because of unlinked internal pads, which in
691 turn fixes the impossible case where you have to activate a pad before
692 you can add it to a running element.
695 * gst/gstpad.c: (pre_activate), (post_activate),
696 (gst_pad_set_active), (gst_pad_activate_pull),
697 (gst_pad_activate_push), (gst_pad_check_pull_range):
698 Add some more debug info.
699 Mark activation mode in pre_activate so that we don't try to activate in
700 endless loops. Fixes #385084.
702 2007-02-19 Wim Taymans <wim@fluendo.com>
704 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
705 (gst_base_transform_check_get_range):
706 Implement a checkgetrange function instead of relying on the default
707 core behaviour that assumes we can operate in pull mode if we have a
708 getrange function. First step at fixing #385084.
710 2007-02-15 Stefan Kost <ensonic@users.sf.net>
712 * gst/gstchildproxy.h:
713 * libs/gst/base/gstbasesink.h:
714 * libs/gst/base/gstbasesrc.h:
715 * libs/gst/base/gstbasetransform.h:
716 More docs coverage and some ChangeLog surgery (add missing names)
718 2007-02-15 Wim Taymans <wim@fluendo.com>
720 * docs/design/part-TODO.txt:
721 * docs/design/part-activation.txt:
722 * docs/design/part-block.txt:
723 * docs/design/part-buffering.txt:
724 * docs/design/part-clocks.txt:
725 * docs/design/part-element-source.txt:
726 * docs/design/part-events.txt:
727 * docs/design/part-gstbin.txt:
728 * docs/design/part-gstbus.txt:
729 * docs/design/part-gstpipeline.txt:
730 * docs/design/part-live-source.txt:
731 * docs/design/part-messages.txt:
732 * docs/design/part-overview.txt:
733 * docs/design/part-qos.txt:
734 * docs/design/part-query.txt:
735 * docs/design/part-states.txt:
736 * docs/design/part-trickmodes.txt:
737 Some doc updates. Start renaming from stream_time to running_time where
740 2007-02-15 Wim Taymans <wim@fluendo.com>
742 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
743 Answer LATENCY query.
745 2007-02-15 Wim Taymans <wim@fluendo.com>
747 * tests/check/gst/gstevent.c: (event_probe), (test_event),
751 2007-02-15 Wim Taymans <wim@fluendo.com>
753 * gst/gstpad.c: (gst_pad_get_internal_links_default),
754 (gst_pad_dispatcher):
755 Improve debugging of default pad dispatcher and query functions.
757 2007-02-15 Wim Taymans <wim@fluendo.com>
759 * docs/gst/gstreamer-sections.txt:
760 Remove old unused method.
762 2007-02-13 Wim Taymans <wim@fluendo.com>
764 * tests/check/gst/gstsegment.c: (GST_START_TEST):
767 2007-02-13 Wim Taymans <wim@fluendo.com>
769 * docs/design/part-seeking.txt:
772 * gst/gstsegment.c: (gst_segment_set_seek):
773 Revert old bogus change that should make seeking work again.
775 2007-02-13 Stefan Kost <ensonic@users.sf.net>
777 * docs/random/ensonic/dynlink.txt:
778 * docs/random/ensonic/interfaces.txt:
779 * docs/random/ensonic/receipies.txt:
780 Possible dynamic reconnection api, plus some type fixes the other two
783 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
785 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
786 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
787 Also check for an absolute path following file:// in the filesrc
788 element. Remove redundant check and call g_path_is_absolute() on the
791 2007-02-13 Stefan Kost <ensonic@users.sf.net>
793 * docs/design/draft-klass.txt:
794 Add existing category analysis.
797 Fix doc example, framerate is a fraction.
799 2007-02-12 Stefan Kost <ensonic@users.sf.net>
802 * docs/gst/Makefile.am:
803 * docs/libs/Makefile.am:
804 * docs/plugins/Makefile.am:
805 Add crossreferences to glib/gobject docs.
807 2007-02-12 Wim Taymans <wim@fluendo.com>
809 * docs/design/draft-latency.txt:
812 * docs/libs/gstreamer-libs-sections.txt:
813 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
814 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
815 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
816 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
817 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
818 (gst_base_sink_get_position), (gst_base_sink_query),
819 (gst_base_sink_change_state):
820 * libs/gst/base/gstbasesink.h:
821 API: gst_base_sink_query_latency() to let subclasses query the upstream
823 API: gst_base_sink_get_latency() to let subclasses query the configured
825 Implement query and set latency.
827 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
828 don't continue preroll when we are flushing. Fixes #405284.
830 * tests/check/pipelines/stress.c: (change_state_timeout),
831 (quit_timeout), (GST_START_TEST), (stress_suite):
834 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
836 Patch by: René Stadler <mail at renestadler de>
838 * docs/gst/gstreamer-sections.txt:
839 * gst/gsttaglist.c: (_gst_tag_initialize):
841 API: add GST_TAG_REFERENCE_LEVEL (#403597).
843 2007-02-11 Stefan Kost <ensonic@users.sf.net>
845 * docs/libs/Makefile.am:
846 Fix path to core docs.
848 * gst/gstbin.c: (gst_bin_get_by_interface),
849 (gst_bin_iterate_all_by_interface):
850 Refix docs by also renaming 'interface' to 'iface' in implementation.
852 * docs/gst/gstreamer-sections.txt:
854 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
855 * gst/gstchildproxy.h:
856 * gst/gstelementfactory.c:
857 * gst/gstpadtemplate.h:
858 * libs/gst/controller/gstcontroller.c:
859 (gst_controlled_property_new):
862 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
864 * gst/gstbin.h:(gst_bin_get_by_interface),
865 (gst_bin_iterate_all_by_interface):
866 Replace interface parameter name by iface as interface is
867 a reserved keyword in Visual Studio for C++ projects so it removes
868 a build error for application developpers using VS.
869 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
870 Fix a bug on Windows in uri format check. Now the prefix checked
871 is file:// and next we check if the path after file:// is absolute.
872 * win32/common/libgstbase.def:
873 * win32/common/libgstdataprotocol.def:
874 * win32/common/libgstgstreamer.def:
875 Add new exported functions.
877 2007-02-09 Andy Wingo <wingo@pobox.com>
879 * tests/check/pipelines/simple-launch-lines.c
880 (simple_launch_lines_suite, test_tee): Disable tee test until I
881 have time to fix it :-(
883 * tests/check/Makefile.am (noinst_HEADERS):
884 * tests/check/libs/libsabi.c:
885 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
886 * tests/check/gst/gstabi.c:
887 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
889 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
890 tests for push and pull tee behavior.
892 * plugins/elements/gsttee.h:
893 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
894 mark as deprecated as well as unimplemented. It was a crack idea.
895 Add support for tee operating in pull mode, off by default.
897 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
898 normal-case logs down to LOG, raise errors to WARNING.
899 (gst_registry_xml_read_cache): Don't log before calling a function
902 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
903 exit (registry finalize).
904 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
905 DEBUG log when we emit signals that people don't even have the
906 chance to connect to.
907 (gst_registry_scan_path_level): Less logging in the normal case.
909 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
911 Patch by: Michal Benes <michal dot benes at itonis dot tv>
913 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
914 Correctly generate EOS for non-seekable files. We don't have a total
915 length for them and would get an unexpected end of file if we only
916 special-cased for regular files. (Fixes: #404569)
918 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
920 * tests/check/elements/filesrc.c: (GST_START_TEST),
922 Add unit test for the GstURIHandler interface in filesrc. This also
923 tests the newly added file://localhost/foo/bar support.
925 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
927 * gst/gstelementfactory.h:
928 The klass string is not a hierarchy. Add reference to the design doc
929 for more information and common types.
931 2007-02-02 Wim Taymans <wim@fluendo.com>
933 * gst/gstquery.c: (gst_query_new_latency):
934 Remove old structure field.
936 2007-02-02 Stefan Kost <ensonic@users.sf.net>
938 * tools/gst-launch.1.in:
939 Give example for network streaming (#351998)
941 2007-02-02 Wim Taymans <wim@fluendo.com>
943 * docs/gst/gstreamer-sections.txt:
944 Add docs for new methods.
946 * gst/gstevent.c: (gst_event_new_latency),
947 (gst_event_parse_latency):
949 Add new LATENCY event to configure latency in a pipeline.
950 API: gst_event_new_latency
951 API: gst_event_parse_latency
953 * gst/gstmessage.c: (gst_message_new_buffering),
954 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
955 (gst_message_new_latency), (gst_message_parse_buffering),
956 (gst_message_parse_lost_preroll):
958 Added messages used in draft-latency.
959 API: gst_message_new_lost_preroll
960 API: gst_message_parse_lost_preroll
961 API: gst_message_new_prerolled
962 API: gst_message_new_latency
964 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
965 (gst_query_parse_latency):
967 Implemented new latency query as in design doc.
968 API: gst_query_new_latency
969 API: gst_query_set_latency
970 API: gst_query_parse_latency
972 2007-02-02 Wim Taymans <wim@fluendo.com>
974 * docs/design/draft-latency.txt:
975 Slight redesign to allow for dynamic latency adjustments.
977 * docs/design/part-negotiation.txt:
980 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
982 reviewed by: Wim Taymans <wim@fluendo.com>
984 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
985 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
986 Allow file://localhost/foo/bar URLs and correctly fail for every other
987 hostname that one sets. This was gnomevfssrc is linked for those if
988 installed as it can handle it (#403172)
990 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
992 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
994 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
995 (unref_data), (gst_collect_pads_add_pad_full):
996 * libs/gst/base/gstcollectpads.h:
997 Don't put the previously added destroy notify in the GstCollectData
998 struct as all it's padding is already used and we don't want to break
999 ABI. Instead put in the pad's GObject data for now. This should be
1000 cleaned up for 0.11 (#402393).
1002 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1004 reviewed by: Wim Taymans <wim@fluendo.com>
1006 * docs/libs/gstreamer-libs-sections.txt:
1007 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1008 (unref_data), (gst_collect_pads_add_pad),
1009 (gst_collect_pads_add_pad_full):
1010 * libs/gst/base/gstcollectpads.h:
1011 API: Add function to specify a destroy notification for custom
1012 GstCollectData when adding new pads in GstCollectPads (#402393).
1014 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
1017 Update Swedish translation (#378255).
1019 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1021 * docs/design/draft-klass.txt:
1022 Fix the previous change, this is a list of categories and not a hierarchy.
1024 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1026 * docs/design/draft-klass.txt:
1027 Add info about how to get a list of used classes.
1029 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
1031 * plugins/elements/gsttypefindelement.c:
1032 (gst_type_find_element_chain_do_typefinding),
1033 (gst_type_find_element_change_state):
1034 Don't leak found caps in chain function (no idea why that never
1035 showed up as a leak anywhere).
1037 2007-01-30 Stefan Kost <ensonic@users.sf.net>
1040 Fix and expand GstPluginDesc API docs.
1042 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1045 * gst/gstelementfactory.c:
1046 * gst/gstpadtemplate.h:
1049 * libs/gst/controller/gstcontroller.c:
1050 (gst_controlled_property_new):
1051 * tests/examples/controller/audio-example.c:
1054 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1057 comment about refining the xml deps
1060 comments about moving away from jade for docs
1063 recommit the ifdefs to use the binary registry
1065 * gst/gstbin.c: (gst_bin_change_state_func):
1066 this break is obsolete
1068 * gst/gstelementfactory.h:
1069 better GST_ELEMENT_DETAILS docs, add comment about translation
1074 * gst/gstobject.c: (gst_signal_object_get_type):
1075 add G_UNLIKELY as usual
1077 * gst/gstpad.c: (gst_pad_event_default):
1078 add fall trhu comment
1080 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1081 (gst_registry_binary_initialize_magic),
1082 (gst_registry_binary_save_string),
1083 (gst_registry_binary_save_pad_template),
1084 (gst_registry_binary_save_feature),
1085 (gst_registry_binary_save_plugin),
1086 (gst_registry_binary_write_cache),
1087 (gst_registry_binary_check_magic),
1088 (gst_registry_binary_load_pad_template),
1089 (gst_registry_binary_load_feature),
1090 (gst_registry_binary_load_plugin),
1091 (gst_registry_binary_read_cache):
1092 comment typo and formatting
1094 * gst/gstutils.c: (gst_element_state_get_name),
1095 (gst_element_state_change_return_get_name):
1096 remove obsolete breaks
1098 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1099 add FIXME 0.11 and remove cpp comment
1101 2007-01-29 Edward Hervey <edward@fluendo.com>
1103 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1104 Fix print statement in an even more portable way.
1106 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
1108 * docs/gst/gstreamer-sections.txt:
1110 API: add GST_ROUND_DOWN_* macros (#401781).
1112 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
1114 * docs/gst/gstreamer.types.in:
1115 * gst/gstregistry.c: (gst_registry_class_init):
1116 Document registry signals and make gtk-doc pick them up (#401381).
1118 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1120 * docs/pwg/building-testapp.xml:
1121 Add some audioconverts and audioresample to the pipeline, and some
1122 more comments and error handling.
1124 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1126 * docs/manual/manual.xml:
1130 2007-01-26 Wim Taymans <wim@fluendo.com>
1132 * gst/gstcaps.c: (gst_static_caps_get):
1133 Init caps flags too.
1135 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
1137 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1139 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1140 If not using mmap'ed files try to seek to the end instead of the
1141 start to determine whether we can seek at all. This fixes the case
1142 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1143 seeks for everything afterwards fail. Fixes #400656
1145 2007-01-25 Wim Taymans <wim@fluendo.com>
1147 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1148 Add some refcount debugging.
1149 Make gst_static_caps_get threadsafe, which is needed when autoplugging
1150 in multiple streaming threads.
1152 2007-01-25 Wim Taymans <wim@fluendo.com>
1154 Patch by: David Schleef <ds at schleef dot org>
1156 * docs/libs/gstreamer-libs-sections.txt:
1157 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1158 * libs/gst/base/gstadapter.h:
1159 API: gst_adapter_copy() that can reduce the amount of memcpy when
1160 getting data from the adapter. Fixes #388201.
1162 2007-01-25 Edward Hervey <edward@fluendo.com>
1164 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1165 In print statements, "%x" is for guint. Fixes build on macosx.
1167 2007-01-24 Edward Hervey <edward@fluendo.com>
1169 * plugins/elements/gstmultiqueue.c:
1170 (gst_multi_queue_loop):
1172 (single_queue_overrun_cb), (single_queue_underrun_cb),
1173 (single_queue_check_full), (gst_single_queue_new):
1174 Implement single queue growth system.
1175 This uses the extra-size properties, and will grow single queues by
1176 that much if one goes full whereas there are others empty. This is
1177 called extra-mode in the code.
1178 When a single queue's levels go back below the initial max-size
1179 limits, it is no longer in extra-mode. This is to ensure we don't
1180 consume too much memory.
1183 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
1185 * gst/gst.c: (gst_init_get_option_group):
1186 Make warning about late g_thread_init() calls a bit more explicit,
1187 so that it's more obvious to application developers what they need
1188 to do if a user files a bug against their application.
1190 2007-01-22 Edward Hervey <edward@fluendo.com>
1192 * plugins/elements/gstmultiqueue.c:
1193 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1194 Remove previous hack of unsetting the flushing flag for the source pad
1195 instead of activating it. Instead, fix the source pad activate function
1196 so that it no longer depends on having a parent set or not.
1198 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
1200 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1202 * docs/manual/basics-bus.xml:
1203 Fix example code, gst_element_unref() doesn't exist any longer.
1205 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
1207 Patch by: Mark Nauwelaerts <manauw at skynet be>
1210 Fix two docs typoes (#399094).
1212 2007-01-19 Edward Hervey <edward@fluendo.com>
1214 * docs/faq/gst-uninstalled:
1215 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1216 depending on libgstbaseutils can work in uninstalled environment.
1218 2007-01-18 Stefan Kost <ensonic@users.sf.net>
1221 * gst/gsttagsetter.c:
1222 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1223 statement for new tag.
1225 2007-01-17 Edward Hervey <edward@fluendo.com>
1227 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1228 When dynamically creating single queues, activate sinkpad before adding
1230 We should be doing the same thing for the source pad, but we can't
1231 since it would call a method which needs the parent to be set in order
1232 to work propertly. Instead of activating the source pad, we just unset
1233 the flushing flag, which is the minimal requirement for adding a pad
1234 to an element in a state greater than READY.
1236 2007-01-17 Edward Hervey <edward@fluendo.com>
1238 * docs/faq/gst-uninstalled:
1239 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1242 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
1244 * tests/check/gst/gstabi.c:
1245 * tests/check/gst/struct_hppa.h:
1246 * tests/check/libs/libsabi.c:
1247 * tests/check/libs/struct_hppa.h:
1248 Add ABI structs for HPPA (see #393796).
1250 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
1252 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1253 Actually write ABI structs to the file specified in the GST_ABI
1254 environment variable, as the message we print claims we would.
1256 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1258 * tests/check/gst/gsttask.c:
1261 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1263 * gst/gsttaglist.c: (_gst_tag_initialize):
1264 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1265 previous two entries.
1267 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1269 * docs/gst/gstreamer-sections.txt:
1270 * gst/gsttaglist.c: (_gst_tag_initialize):
1272 Add tag support for beat-per-minute.
1274 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1276 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1277 (gst_registry_binary_initialize_magic),
1278 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1279 (gst_registry_binary_save_pad_template),
1280 (gst_registry_binary_save_feature),
1281 (gst_registry_binary_save_plugin),
1282 (gst_registry_binary_write_cache),
1283 (gst_registry_binary_check_magic),
1284 (gst_registry_binary_load_pad_template),
1285 (gst_registry_binary_load_feature),
1286 (gst_registry_binary_load_plugin),
1287 (gst_registry_binary_read_cache):
1288 * gst/gstregistrybinary.h:
1289 Use glib types, cleanup comments, impement interfaces and uri-types.
1291 2007-01-13 Andy Wingo <wingo@pobox.com>
1293 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1294 getrange() to return buffers with other caps, while we fix
1295 demuxers and typefind, or otherwise change part-negotiation.txt.
1297 2007-01-12 Andy Wingo <wingo@pobox.com>
1299 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1300 Factor start/stop into this private function instead of partially
1301 in activate functions and partially in the change_state function.
1302 Fixes setup before the element has changed from READY->PAUSED, as
1303 is the case in pull-mode pipelines.
1304 (gst_base_transform_sink_activate_push)
1305 (gst_base_transform_src_activate_pull): Refactor to use
1306 gst_base_transform_activate().
1307 (gst_base_transform_change_state): Removed, not needed any more.
1309 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1310 Truncate before fixating.
1312 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1313 Don't set_caps() if the result of fixating is ANY, as it's not
1314 supported, and not necessary in the case of a link with no
1315 template caps on either side. Fixes tests/check/libs/basesrc in
1316 some pull-mode tests.
1318 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1319 (gst_base_transform_init, gst_base_transform_sink_activate_push)
1320 (gst_base_transform_src_activate_pull):
1321 Track the activation mode.
1322 (gst_base_transform_setcaps): In pull mode, when activating the
1323 src pad, after activating the sink pad, activate the sink pad's
1324 peer, as discussed in part-negotiation.txt.
1326 * libs/gst/base/gstbasesrc.h:
1327 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1328 vmethod, as in basesink.
1330 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1332 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1333 mode, first proxy the setcaps to the peer pad.
1334 (gst_base_sink_pad_fixate): Add a fixate function that calls the
1336 (gst_base_sink_default_activate_pull): Rename from
1337 gst_base_sink_activate_pull.
1338 (gst_base_sink_negotiate_pull): New function, performs negotiation
1339 in pull mode before calling ::activate_pull().
1340 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1341 vmethod instead of the default implementation. I have no idea how
1342 this worked before. Negotiate before calling activate_pull.
1344 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1345 sink pads in pull mode. In addition to being correct, fixes
1346 filesrc ! decodebin ! identity ! fakesink.
1347 (gst_pad_get_range, gst_pad_pull_range): Don't call
1348 gst_pad_set_caps() if the caps changes; instead error out with
1349 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1351 2007-01-12 Andy Wingo <wingo@pobox.com>
1353 * docs/design/part-negotiation.txt: Update with more policy.
1355 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1357 * libs/gst/check/gstbufferstraw.h:
1358 * libs/gst/check/gstcheck.h:
1359 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1362 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1364 * tests/check/Makefile.am:
1365 * tests/check/gst/.cvsignore:
1366 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1367 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1368 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1369 (GST_START_TEST), (gst_tag_setter_suite):
1370 Add minimal unit test for beforementioned GstTagSetter bug.
1372 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1374 Patch by: René Stadler <mail at renestadler dot de>
1376 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1377 gst_tag_list_merge() returns a new list, so it's not the best idea
1378 to ingore its return value. Effectively meant that tags could only
1379 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1380 Also add function guard to require a non-NULL taglist as input (has
1381 always been so due to gst_tag_list_copy(), just making it explicit).
1383 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1385 * docs/random/draft-missing-plugins.txt:
1386 Some additions: mention new API that is supposed to be used at the
1387 various stages; short blob about new gst-inspect introspection
1388 option; mention potential future problem with plugins that have
1389 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1391 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1393 * tools/gst-inspect.c:
1394 (print_plugin_automatic_install_info_codecs),
1395 (print_plugin_automatic_install_info_protocols),
1396 (print_plugin_automatic_install_info), (main):
1397 Add --print-plugin-auto-install-info option to gst-inspect, so we can
1398 introspect plugin files and get machine-parsable output that corresponds
1399 to the last bit of the missing-plugin installer string (small gotcha:
1400 doesn't take into account ranks).
1402 2007-01-11 Stefan Kost <ensonic@users.sf.net>
1405 * docs/gst/gstreamer-sections.txt:
1407 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1408 (gst_registry_lookup_locked):
1409 * gst/gstregistry.h:
1410 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1411 (gst_registry_binary_initialize_magic),
1412 (gst_registry_binary_save_string),
1413 (gst_registry_binary_save_pad_template),
1414 (gst_registry_binary_save_feature),
1415 (gst_registry_binary_save_plugin),
1416 (gst_registry_binary_write_cache),
1417 (gst_registry_binary_check_magic),
1418 (gst_registry_binary_load_pad_template),
1419 (gst_registry_binary_load_feature),
1420 (gst_registry_binary_load_plugin),
1421 (gst_registry_binary_read_cache):
1422 * gst/gstregistrybinary.h:
1423 * gst/gstregistryxml.c: (load_feature),
1424 (gst_registry_xml_read_cache):
1425 commit binary registry (disabled by default, see #359653)
1427 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1429 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1430 Fix 'make check' too.
1432 2007-01-10 Andy Wingo <wingo@pobox.com>
1434 * docs/design/part-negotiation.txt: Fix a typo, add a couple
1437 * docs/design/part-negotiation.txt: Update with, um, one way that
1438 pull-mode negotiation might work?
1441 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1442 that the pad must be a src pad; makes sense to call it the other
1443 way in pull mode, and the logic is symmetric anyway.
1445 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
1447 * plugins/elements/gstfilesink.c:
1448 Include <stdio.h> for fseeko().
1450 2007-01-10 Wim Taymans <wim@fluendo.com>
1454 Reserve LATENCY event.
1456 2007-01-09 Wim Taymans <wim@fluendo.com>
1458 * docs/design/draft-latency.txt:
1461 2007-01-09 Wim Taymans <wim@fluendo.com>
1463 * docs/design/draft-latency.txt:
1467 * gst/gststructure.c:
1471 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
1473 * tests/check/.cvsignore:
1474 Ignore test-registry.xml as well.
1476 2007-01-09 Wim Taymans <wim@fluendo.com>
1478 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1479 unref data at the end when we are done with the pad.
1481 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1483 * docs/gst/gstreamer-sections.txt:
1484 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1485 (init_post), (gst_deinit), (gst_update_registry):
1487 API: add gst_update_registry() (#391296).
1489 * tests/check/Makefile.am:
1490 * tests/check/gst/gstregistry.c:
1491 * tests/check/gst/.cvsignore:
1492 Simple unit test for the above.
1494 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1496 * gst/gstregistry.c: (gst_registry_scan_path_level):
1497 Plugin extension on HP-UX is .sl, add that to the list of approved
1498 plugin extensions (see #393796).
1500 * tests/check/gst/gstpad.c: (GST_START_TEST):
1501 ulong => gulong. Fixes compilation with HP-UX compiler.
1503 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1504 Fix compilation if valgrind headers are not available.
1506 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
1508 * win32/common/libgstreamer.def:
1509 Add new exported function.
1510 * win32/vs6/libgstbase.dsp:
1511 Add gstdataqueue.c to the build.
1512 * win32/vs6/libgstcoreelements.dsp:
1513 Add gstmultiqueue.c to the build.
1515 2007-01-06 Andy Wingo <wingo@pobox.com>
1517 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1518 activate_pull(), providing for a way to specialize the process of
1519 spawning a thread to pull on the sink pad. There is a default
1522 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1523 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1524 (gst_base_sink_init): Renamed pad activation functions (inserting
1525 "_pad" in their names). Refactor to use the new activate_pull
1526 vmethod, as appropriate.
1527 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1528 default activate_pull function to start a task pulling from the
1529 sink pad, as before.
1531 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1532 on the pads if necessary, as in push()/chain(). Update docs.
1533 Shouldn't affect existing pull() usage as it is currently only
1534 being used on buffers without caps.
1536 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1538 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1540 Call g_thread_init() first thing in gst_init() / gst_check_init().
1541 When initialisation is done via gst_init_get_option_group() and
1542 GOption parsing, issue a warning if the GLib thread system has not
1543 been initialised yet by the time gst_init_get_option_group() is
1544 called, as it's quite likely other GLib functions such as
1545 g_option_context_new() have been called already then, and
1546 g_thread_init() must be called before any other GLib function. The
1547 application in question must be fixed in that case, since memory
1548 corruption might happen otherwise.
1549 We issue the warning because even if the GLib folks decide to work
1550 around the problem on their end in future, this is still an issue
1551 with all GLib versions >= 2.10.0, so we should warn until we depend
1552 on a GLib version we know to be safe.
1553 Update documentation as well.
1556 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1558 * tools/gst-inspect.c: (main):
1559 * tools/gst-launch.c: (main):
1560 * tools/gst-typefind.c: (main):
1561 * tools/gst-xmlinspect.c: (main):
1562 Call g_thread_init() really really early, before any other GLib
1563 function (see #342564 and recent discussion on gtk-devel-list).
1565 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1567 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
1569 * gst/gst_private.h:
1570 * gst/gstconfig.h.in:
1572 On win32, all the __declspec stuff for symbol exporting is
1573 apparently only needed with MSVC, but doesn't work with MingW.
1574 Fixes compilation with MingW and #391909.
1576 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1578 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1579 Change some GST_ERROR_OBJECT that aren't really errors to
1580 GST_WARNING_OBJECT in order to reduce terminal spam.
1582 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1584 * tests/check/Makefile.am:
1585 disable test again, as there seem to be still race problems
1587 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1589 * tests/check/Makefile.am:
1590 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1591 (GST_START_TEST), (queue_suite):
1592 enable queue test again, add tests for the leaky behaviour
1594 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
1597 * tests/examples/Makefile.am:
1598 Compile adapter test/example only if the required headers are
1599 available (fixes #391915).
1601 2007-01-01 David Schleef <ds@schleef.org>
1604 Restore the previous signal handler for SIGSEGV instead of
1605 setting to default, since we may have stolen it away from
1606 someone. (i.e., Mono)
1608 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1610 * docs/random/draft-missing-plugins.txt:
1611 Some small additions and clarifications.
1613 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1615 * gst/gstregistryxml.c: (gst_registry_save_escaped):
1616 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1617 since that can lead to random memory corruptions and crashes
1618 (may or may not be related to #383244, #386711, and #386711).
1620 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1622 * tests/check/.cvsignore:
1623 * tests/check/Makefile.am:
1624 sync .cvsignome and CLEANFILES
1626 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1628 * tests/check/Makefile.am:
1631 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1633 * docs/design/part-states.txt:
1634 two tiny additional comments
1636 * gst/gststructure.c:
1639 * tests/check/Makefile.am:
1640 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1642 disable test for now, unless it gets fixed
1644 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1646 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1648 fix race in underrun test
1650 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1652 * tests/check/elements/.cvsignore:
1655 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1657 try to narrow test failure
1659 2006-12-21 David Schleef <ds@schleef.org>
1661 * plugins/elements/gstfakesrc.c:
1662 Use g_random_int_range(), since it produces better random
1663 numbers in a range than almost-correct floating point code.
1665 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1667 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1668 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1669 (gst_check_teardown_sink_pad):
1670 do not automatically (de)activate pads
1672 * tests/check/Makefile.am:
1673 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1674 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1675 add new, yet simple tests for queue
1677 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1678 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1679 * tests/check/elements/filesrc.c: (cleanup_filesrc),
1681 * tests/check/elements/identity.c: (cleanup_identity):
1682 consistent pad (de)activation
1684 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
1686 Patch by: Sebastian Dröge <slomo ubuntu com>
1688 * libs/gst/base/gstcollectpads.c:
1689 Fix two doc typos (#387866).
1691 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1693 * docs/manual/advanced-dparams.xml:
1694 Fix typo (g_object_control_properties() doesn't exist).
1696 2006-12-19 Edward Hervey <edward@fluendo.com>
1698 * gst/gstsegment.c: (gst_segment_set_seek):
1699 Fine tune the cases where the segment start/stop values are really
1701 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1702 Add tests for the return values of gst_segment_set_seek().
1704 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1709 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1711 Fix incorrect documentation and flesh it out a bit more.
1712 Set default values for the max properties on the GParamSpec as well,
1713 so it shows up correctly in gst-inspect.
1715 2006-12-18 Stefan Kost <ensonic@users.sf.net>
1717 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1718 Correct docs of queue, add more detail and crosslink it more.
1720 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1722 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1723 Print additional debug info when the stream isn't perfectly
1724 timestamped; don't try to use invalid durations.
1726 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1728 * docs/design/Makefile.am:
1729 Dist new design docs.
1731 2006-12-16 Wim Taymans <wim@fluendo.com>
1733 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1735 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
1736 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1737 (gst_collect_pads_stop), (gst_collect_pads_event),
1738 (gst_collect_pads_chain):
1739 * libs/gst/base/gstcollectpads.h:
1740 Add refcounting to the collectpads data so we can track when it's safe
1741 to free the data. Fixes #383382.
1743 2006-12-15 Wim Taymans <wim@fluendo.com>
1745 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1746 (gst_collect_pads_remove_pad):
1747 Automatically activate/deactivate pads when they are added to a
1748 started/stoped collectpads.
1750 2006-12-15 Wim Taymans <wim@fluendo.com>
1752 * gst/gstelement.c: (gst_element_add_pad):
1753 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1754 * gst/gstpad.c: (gst_pad_init):
1755 Set pads to FLUSHING when they are created. Check, warn and fix when a
1756 demuxer adds an inactive pad to itself when running. Fixes #339326.
1758 2006-12-15 Wim Taymans <wim@fluendo.com>
1760 * gst/gstelement.c: (gst_element_class_init),
1761 (gst_element_default_send_event), (gst_element_send_event),
1762 (gst_element_default_query), (gst_element_query):
1763 Expose default element send_event and query handling as vmethods that
1764 subclasses can chain up to.
1766 2006-12-15 Wim Taymans <wim@fluendo.com>
1768 * gst/gstelement.c: (gst_element_set_state_func):
1769 Small documentation fixes.
1771 2006-12-15 Wim Taymans <wim@fluendo.com>
1773 * docs/design/draft-latency.txt:
1774 Checked in draft for handling latency in pipelines.
1776 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
1780 * gstreamer.spec.in:
1783 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
1785 * gst/gst.c: (init_pre), (init_post):
1786 init_pre() and init_post() might be called via our GOptionGroup or
1787 from gst_init(), and we should skip both of them if we've already
1788 been initialised, otherwise we will init some things twice or add
1789 two default log functions.
1791 2006-12-13 Edward Hervey <edward@fluendo.com>
1793 * docs/manual/basics-bus.xml:
1794 No, gst_main_loop does not exist. Its g_main_loop.
1795 Discovered by somebody who abused the copy-paste technique of coding :)
1797 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
1799 * gst/gstghostpad.c:
1800 Log ghostpad debug stuff to the GST_PADS category as well rather
1801 than just to the default category.
1803 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
1806 * gst/gst.c: (init_pre):
1807 Add some basic system details such as OS and architecture
1808 to the debug output if possible, courtesy of uname().
1810 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
1812 * docs/gst/running.xml:
1813 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
1814 environment variables.
1816 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
1818 * tests/check/gst/gstbin.c: (GST_START_TEST):
1819 It is acceptable to have a refcount of 2 or 3 at this point in the
1820 test, because the pipeline might be just posting its state_change
1821 message. The next line then waits for that message to appear using
1822 bus_poll, so that should be fine too.
1824 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
1826 * gst/gst.c: (ensure_current_registry_forking):
1827 Ignore EINTR when reading from the child registry pipe.
1828 Explicitly ignore the return value from close, since it makes no
1831 * gst/gstminiobject.c: (gst_mini_object_ref),
1832 (gst_mini_object_unref):
1833 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
1835 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
1836 When removing cached plugins, remove their features too, so they're
1837 not visible after they've disappeared.
1839 * gst/gstutils.c: (prepare_link_maybe_ghosting):
1840 In the unlikely case that we are linking pads with no parents, don't
1841 crash trying to get the non-existent parent bin.
1843 * gst/parse/grammar.y:
1844 Output debug in the PIPELINE category
1846 2005-03-08 Wim Taymans <wim@fluendo.com>
1848 Patch by: René Stadler <mail at renestadler dot de>
1850 * gst/gstclock.c: (gst_clock_new_periodic_id):
1851 Reject invalid clock times for interval of periodic ids.
1854 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
1856 * gst/gstelementfactory.c: (gst_element_factory_create):
1857 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1858 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
1859 * tools/gst-inspect.c: (print_element_info):
1860 Fix refcounting of gst_plugin_feature_load to match the docs.
1863 2006-12-07 Wim Taymans <wim@fluendo.com>
1865 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1866 (gst_base_sink_get_position):
1867 Improve debugging of events.
1869 2006-12-07 Wim Taymans <wim@fluendo.com>
1871 Patch by: René Stadler <mail at renestadler dot de>
1873 * gst/gstclock.c: (gst_clock_id_wait):
1874 Make period ids add the interval to the origial requested time instead
1875 of the possibly updated time which can be wrong when there are multiple
1876 waiters for the same id. Fixes #382592.
1878 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
1879 (gst_system_clock_id_wait_jitter_unlocked),
1880 (gst_system_clock_id_wait_jitter):
1881 Fix restart in the async notify thread when an async entry is added to
1882 the front of the list. Fixes #381492.
1884 * tests/check/gst/gstsystemclock.c: (store_callback),
1885 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
1886 Added test for multiple async waits.
1887 Added test for async wait order.
1889 2006-12-07 Wim Taymans <wim@fluendo.com>
1891 * gst/gstbin.c: (gst_bin_query):
1892 Add some more docs about the POSITION query.
1894 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
1897 Bump version nano - back to CVS.
1899 === release 0.10.11 ===
1901 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
1904 releasing 0.10.11, "Love never runs on time"
1906 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
1908 * win32/common/libgstbase.def:
1909 * win32/common/libgstreamer.def:
1910 * win32/vs8/libgstbase.vcproj:
1911 * win32/vs8/libgstcoreelements.vcproj:
1912 * win32/vs8/libgstreamer.vcproj:
1913 Fix compilation on win32 under VS8
1914 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
1915 Partially fixes #381175
1917 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1919 * gst/gstvalue.c: (gst_value_compare_fraction):
1920 If someone is foolish enough to compare 2 fractions with denominator =
1921 0, return UNORDERED rather than aborting.
1923 2006-11-28 Edward Hervey <edward@fluendo.com>
1925 * libs/gst/base/Makefile.am:
1926 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
1927 (gst_data_queue_base_init), (gst_data_queue_class_init),
1928 (gst_data_queue_init), (gst_data_queue_new),
1929 (gst_data_queue_cleanup), (gst_data_queue_finalize),
1930 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
1931 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
1932 (gst_data_queue_is_empty), (gst_data_queue_is_full),
1933 (gst_data_queue_set_flushing), (gst_data_queue_push),
1934 (gst_data_queue_pop), (gst_data_queue_drop_head),
1935 (gst_data_queue_set_property), (gst_data_queue_get_property):
1936 * libs/gst/base/gstdataqueue.h:
1937 New GstDataQueue object for threadsafe queueing. Most useful for
1938 elements that need some queueing functionnality.
1939 * docs/libs/gstreamer-libs-docs.sgml:
1940 * docs/libs/gstreamer-libs-sections.txt:
1941 Insert documentation for GstDataQueue
1942 * plugins/elements/Makefile.am:
1943 * plugins/elements/gstelements.c:
1944 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1945 (gst_multi_queue_class_init), (gst_multi_queue_init),
1946 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1947 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
1948 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
1949 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1950 (gst_multi_queue_loop), (gst_multi_queue_chain),
1951 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1952 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
1953 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
1954 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
1955 (wake_up_next_non_linked), (compute_next_non_linked),
1956 (single_queue_overrun_cb), (single_queue_underrun_cb),
1957 (single_queue_check_full), (gst_single_queue_new):
1958 * plugins/elements/gstmultiqueue.h:
1959 New multiqueue element, using GstDataQueue. Used for queuing multiple
1961 Closes #344639 and #347785
1963 2006-11-22 Stefan Kost <ensonic@users.sf.net>
1965 * docs/pwg/advanced-types.xml:
1966 add more missing type details
1968 * tools/gst-run.c: (main):
1969 remove unused variable
1971 2006-11-21 Stefan Kost <ensonic@users.sf.net>
1973 * docs/libs/Makefile.am:
1974 * docs/libs/gstreamer-libs.types:
1975 add types of base classes to enable gobject specific stuff in the docs
1977 * docs/random/ensonic/embedded.txt:
1978 more ideas about isolating platform specific things
1980 2006-11-20 Wim Taymans <wim@fluendo.com>
1982 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
1984 * libs/gst/check/gstcheck.h:
1985 Fix compilation and running against 0.9.4. Fixes #377332.
1987 2006-11-20 Wim Taymans <wim@fluendo.com>
1989 * gst/gstsegment.c: (gst_segment_set_seek),
1990 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1991 (gst_segment_to_running_time):
1992 Fix boundary checking in to_running_time() and to_stream_time().
1995 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1996 stream and running time can now be calculated for the complete
1999 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
2001 * gst/gstpad.c: (gst_pad_push_event):
2002 Can't access event structure after giving away ownership of
2005 2006-11-15 Stefan Kost <ensonic@users.sf.net>
2007 * docs/random/ensonic/embedded.txt:
2008 * docs/random/ensonic/profiling.txt:
2009 * docs/random/ensonic/receipies.txt:
2012 2006-11-13 Wim Taymans <wim@fluendo.com>
2014 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2017 Fix documentation for gst_pad_dispatcher. Fixes #374475.
2019 2006-11-13 Wim Taymans <wim@fluendo.com>
2021 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2023 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2024 Store new length in segment duration so we don't keep on calling the
2025 potentially expensize get_size() call. Fixes #370865.
2027 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
2029 Patch by: Sergey Scobich <sergey.scobich at gmail com>
2031 * win32/common/libgstreamer.def:
2032 Add two missing symbols (#366492).
2034 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
2036 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2037 (gst_adapter_take_buffer):
2038 Fix format string to use all its arguments.
2039 Remove useless >= check on a guint
2041 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2043 * tests/examples/adapter/.cvsignore:
2044 Ignore build file as commanded by the build-bot
2046 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2048 * tests/examples/adapter/Makefile.am:
2049 * tests/examples/adapter/adapter_test.c: (run_test_take),
2050 (run_test_take_buffer), (run_tests), (main):
2052 Add new files from the previous commit
2054 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2058 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2059 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2060 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2061 * libs/gst/base/gstadapter.h:
2062 * tests/check/libs/adapter.c: (create_and_fill_adapter),
2063 (GST_START_TEST), (gst_adapter_suite):
2064 * tests/examples/Makefile.am:
2065 Do some optimisation work in GstAdapter to avoid copies in more cases.
2066 It could still do slightly better by merging buffers when
2067 gst_buffer_is_span_fast is true, but is already faster.
2069 Also, avoid traversing a single-linked list to append each incoming
2070 buffer inside the adapter.
2072 Add simple test app that times the adapter behaviour in different
2073 situations, and extend the unit test to check that bytes enter and
2074 exit the adapter in their original order.
2076 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
2078 * docs/random/draft-missing-plugins.txt:
2079 Update: use element message instead of adding a new message
2080 type to the core; don't provide GStreamer API to initiate the
2081 plugin download, just provide API to compose the strings needed
2082 and let an external libgimmestuff handle the rest.
2084 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
2086 * tools/gst-inspect.c: (print_element_properties_info):
2087 Print a string instead of 'unknown type' for GValueArray properties
2089 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
2091 * docs/random/draft-missing-plugins.txt:
2094 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2096 * tests/examples/typefind/typefind.c: (type_found), (main):
2097 Make typefind element example work again (#371894); add a
2100 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2102 * docs/random/draft-missing-plugins.txt:
2103 Commit initial draft about how to deal with missing plugins,
2104 needs work (API too).
2106 2006-11-07 Stefan Kost <ensonic@users.sf.net>
2108 * docs/pwg/advanced-types.xml:
2109 documents the new caps elements (see #363118)
2111 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2113 * gst/gstplugin.c: (gst_plugin_load_file):
2114 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2115 (gst_file_src_map_region), (gst_file_src_start):
2116 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2117 (gst_file_index_commit):
2118 Use g_strerror() instead of strerror() - we want UTF-8.
2120 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2122 Patch by: Peter Kjellerstedt <pkj at axis com>
2124 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2125 Another printf fix (#371493).
2127 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2129 * tests/check/gst/gsttag.c:
2130 relicence (okay with author=company)
2132 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2134 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2135 (gst_pad_push_event):
2136 Enhance debug and improve docs
2141 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2143 * docs/random/ensonic/distributed.txt:
2144 * docs/random/ensonic/profiling.txt:
2147 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2149 * docs/gst/gstreamer-sections.txt:
2150 add new API and fix the build
2152 * gst/gstbin.c: (gst_bin_recalc_state):
2153 * gst/gstelement.c: (gst_element_message_full),
2154 (gst_element_get_state_func), (gst_element_set_state_func):
2155 use new API and improve logging
2157 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2159 API: add function to get StateChangereturn names to improve logs
2161 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
2163 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2164 I'm considering shooting the next person to put strerror stuff
2165 in the translateable part of the message.
2167 2006-11-03 Wim Taymans <wim@fluendo.com>
2169 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2170 Get the type and printf conversion specifiers right.
2172 2006-11-03 Wim Taymans <wim@fluendo.com>
2174 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2176 * gst/gstpad.c: (gst_pad_init), (pre_activate),
2177 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2178 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2179 Some small cleanups. Improve debugging.
2181 Signal all waiting threads with a broadcast instead of just one.
2184 2006-11-03 Wim Taymans <wim@fluendo.com>
2186 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2187 (gst_fd_src_create):
2189 Only update fd when it's different from the old.
2191 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2193 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2194 Printf fixes for PPC/OSX, take two (#369366).
2196 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2198 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
2200 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2201 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2202 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2203 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2204 don't cast to long long for portability reasons, but use
2205 GLib's types instead.
2207 2006-10-30 Michael Smith <msmith@fluendo.com>
2209 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2210 Get the arguments to lseek() the right way around.
2213 2006-10-30 Wim Taymans <wim@fluendo.com>
2215 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2218 _declspec should be __declspec (two underscores, not one). Fixes 366572.
2220 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2222 Patch by: Kjartan Maraas <kmaraas at gnome org>
2224 * docs/design/part-MT-refcounting.txt:
2225 * docs/random/wtay/capsnego2-docs:
2228 Typo fixes (#366212).
2230 2006-10-28 Wim Taymans <wim@fluendo.com>
2232 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2235 * win32/common/libgstbase.def:
2236 * win32/common/libgstreamer.def:
2237 * win32/vs8/libgstbase.vcproj:
2238 * win32/vs8/libgstcontroller.vcproj:
2239 Add needed entries in .def files.
2241 Rearrange def files in vs8 solutions. Fixes #366286.
2243 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2245 * win32/common/gstconfig.h:
2246 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2247 hand-made win32 gstconfig.h. Fixes #366321.
2249 2006-10-27 Wim Taymans <wim@fluendo.com>
2251 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2252 (gst_ghost_pad_new_full):
2253 Make acceptcaps return TRUE when we don't have a target, just like
2256 2006-10-27 Wim Taymans <wim@fluendo.com>
2258 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2259 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2261 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
2263 * gst/gststructure.c: (gst_structure_id_set_value):
2264 If someone tries to set a non-UTF8 string field on a structure,
2265 don't just print a warning, but also ignore the request and do
2266 not change/add that field to the structure.
2268 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2271 2006-10-25 David Schleef <ds@schleef.org>
2274 g_hash_table_insert() needs a cast to a non-const pointer duh.
2276 2006-10-25 David Schleef <ds@schleef.org>
2280 Change name parameter of _gst_debug_register_funcptr to const
2281 to reflect the constness of its use in the function as well
2282 as to quiet a gcc warning.
2284 2006-10-25 Edward Hervey <edward@fluendo.com>
2286 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2287 Don't push the buffer if it's empty.
2290 2006-10-24 Wim Taymans <wim@fluendo.com>
2295 * libs/gst/base/gstbasetransform.c:
2296 (gst_base_transform_sink_eventfunc):
2297 Debug segment values *after* updating them as this is more
2300 2006-10-23 Wim Taymans <wim@fluendo.com>
2302 * docs/design/part-events.txt:
2305 * docs/design/part-block.txt:
2306 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2307 (gst_pad_push_event):
2308 Revert BLOCKING patch, it tries to be smart without really having a
2309 clear idea what or how. So, now we discard all FLUSHING events again on
2310 a blocking pad. Should fix gnonlin again.
2312 2006-10-23 Wim Taymans <wim@fluendo.com>
2314 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2316 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2317 (gst_base_src_start), (gst_base_src_activate_push):
2318 Make sure size is always initialized. Fixes #364388.
2320 2006-10-20 Stefan Kost <ensonic@users.sf.net>
2322 * docs/random/ensonic/distributed.txt:
2323 add some ideas about doing distributed processing
2325 * docs/random/ensonic/profiling.txt:
2326 get_rusage look promising
2328 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2330 * docs/manual/basics-helloworld.xml:
2331 Add a cast in example to fix compile warning
2333 2006-10-18 Wim Taymans <wim@fluendo.com>
2335 * gst/gstsegment.c: (gst_segment_set_last_stop),
2336 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2337 Relax arg checking again, -1 is allowed.
2339 2006-10-18 Wim Taymans <wim@fluendo.com>
2341 * gst/gstsegment.c: (gst_segment_set_last_stop),
2342 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2343 _set_last_stop() must be with a value != -1
2344 A _TYPE_SET to -1 means seek to 0.
2345 Calc last_stop correctly for negative rates.
2346 Make sure we work with positive durations when updating a segment.
2348 2006-10-18 Wim Taymans <wim@fluendo.com>
2350 * docs/design/part-live-source.txt:
2354 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
2357 Add an explicit cast to GstBuffer** to keep old code that added an
2358 explicit cast to GstMiniObject** for gst_mini_object_replace()
2359 compiling without warning.
2361 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2363 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2364 check for validity of dates
2366 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2368 * docs/gst/gstreamer-sections.txt:
2369 Forgot this one, makes gtk-doc shut up.
2371 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2373 Patch by: Peter Kjellerstedt <pkj at axis com>
2376 Don't define xmlNodePtr to gpointer if the core was built with
2377 --disable-loadsave and --disable-registry, this will break
2378 applications that want to use libxml2 but are buildling against a
2379 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2380 instead so we don't have to mess with the libxml2 namespace
2383 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2386 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2387 type-punned pointer warnings.
2389 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
2392 Add casts to the correct return type to state <=> state transition
2395 2006-10-16 Stefan Kost <ensonic@users.sf.net>
2397 * docs/design/part-live-source.txt:
2398 describe howto handle latency
2400 * docs/random/ensonic/profiling.txt:
2403 * tools/gst-plot-timeline.py:
2404 fix log parsing for solaris, remove unused function
2406 2006-10-16 Wim Taymans <wim@fluendo.com>
2408 * docs/design/part-trickmodes.txt:
2410 Update some docs regarding reverse playback.
2412 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
2414 Patch by: Marcus Granado <mrc dot gran at gmail com>
2416 * win32/vs8/grammar.vcproj:
2417 Error out with a warning if glib-genmarshal.exe is not in path,
2418 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2420 2006-10-13 Wim Taymans <wim@fluendo.com>
2422 * gst/gstsegment.c: (gst_segment_set_seek):
2423 When seeking to stop -1, set last_stop (current position) to the
2424 duration of the segment.
2426 2006-10-13 Wim Taymans <wim@fluendo.com>
2429 Clarify _NO_PREROLL a bit more.
2434 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2435 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2436 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2437 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2438 due to wrong locking order. Fixes #361769.
2439 Remove some redundant/misplaced checks in pad_block.
2441 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2442 For negative rates, count backwards from the duration.
2444 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
2446 * gst/gsterror.c: (_gst_library_errors_init):
2447 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2448 up with something better).
2450 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2452 * win32/vs6/libgstreamer.dsp:
2453 * win32/vs7/libgstreamer.vcproj:
2454 * win32/vs8/libgstreamer.vcproj:
2455 Don't reference glib-compat.c which is currently not used and not
2456 disted; add gstquark.c which was recently added. Fixes #361730.
2458 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2460 * win32/common/libgstbase.def:
2461 * win32/common/libgstcontroller.def:
2462 * win32/common/libgstreamer.def:
2463 Add gst_caps_merge() and a bunch of other recently-added functions.
2466 2006-10-11 Wim Taymans <wim@fluendo.com>
2468 * docs/plugins/gstreamer-plugins.args:
2469 * docs/plugins/inspect/plugin-coreelements.xml:
2470 * docs/plugins/inspect/plugin-coreindexers.xml:
2471 Update element args.
2473 * gst/gstsystemclock.c:
2474 Small comment update.
2476 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2477 (gst_tee_request_new_pad), (gst_tee_release_pad),
2478 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2479 (gst_tee_sink_activate_pull):
2480 * plugins/elements/gsttee.h:
2482 Add default property defines.
2483 Implement release pad function.
2484 Give properties better blubs etc.
2485 Activate pads before adding them to a running tee.
2486 Do simple buffer_alloc on the first requested pad.
2487 Post error when activation fails.
2489 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2491 * gst/gst.c: (ensure_current_registry_forking):
2492 Check return value of write() to make compiler happy.
2494 2006-10-11 Wim Taymans <wim@fluendo.com>
2496 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2498 * plugins/elements/gstqueue.c: (gst_queue_chain):
2499 Recheck queue filledness after signalling the overrun when we're about
2500 to leak downstream because we released the lock when emitting the signal
2501 and the queue could be empty again. Fixes #352345.
2503 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2505 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2506 Fix refcounting here too, just like we did for _new_valist() a few
2507 days ago (#357180) (thanks to René Stadler). Also remove all those
2508 'Since: 0.9' from the gtk-doc blobs.
2510 * tests/check/libs/controller.c: (controller_refcount_new_list),
2511 (gst_controller_suite):
2512 Unit test for the above.
2514 2006-10-10 Wim Taymans <wim@fluendo.com>
2516 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2518 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2519 (gst_pad_save_thyself):
2521 Write pad direction in XML output. Fixes #345496.
2523 2006-10-10 Wim Taymans <wim@fluendo.com>
2525 Patch by: René Stadler <mail at renestadler dot de>
2527 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2528 (gst_controller_new_list), (_gst_controller_dispose),
2529 (_gst_controller_finalize), (_gst_controller_class_init):
2530 Take ref to controlled object so that it cannot disappear.
2533 2006-10-10 Wim Taymans <wim@fluendo.com>
2535 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2536 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2537 (gst_check_teardown_sink_pad):
2538 Activate/deactivate pads in setup/teardown respectively.
2540 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2542 Patch by: Josep Torre Valles <josep@fluendo.com>
2545 Cast values when making gstenumtypes.h. This pacifies Forte
2546 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2549 2006-10-09 Wim Taymans <wim@fluendo.com>
2551 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2552 Rename some more @cur to @start to fix docs.
2554 * gst/gstsegment.c: (gst_segment_set_seek):
2556 time and start must always stay in sync as defined in design doc.
2558 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2559 Rename param to fix docs.
2561 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2562 Check that start and time are in sync.
2564 * tests/check/pipelines/parse-launch.c:
2565 (gst_parse_test_element_change_state):
2566 Activate pad before adding to the element.
2568 2006-10-09 Wim Taymans <wim@fluendo.com>
2570 * docs/design/part-qos.txt:
2575 Update seek event docs regarding negative rates.
2576 Rename @cur to @start.
2578 * gst/gstsegment.c: (gst_segment_set_seek):
2580 Update set_seek docs regarding negative rates.
2581 Correctly update last_stop to @stop when dealing with negative
2583 Rename @cur to @start.
2585 * tests/check/gst/gstpad.c: (GST_START_TEST):
2586 Activate pads before trying to use them.
2588 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2589 (gst_segment_suite):
2590 Add simple check for segments and negative rates.
2592 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
2594 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2596 * docs/gst/gstreamer-sections.txt:
2597 API: add gst_tag_list_is_empty() (#360467).
2599 * tests/check/gst/gsttag.c: (GST_START_TEST):
2602 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2605 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2606 a value that doesn't fit on enumeration.
2608 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2610 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2611 Remove local debugging system and use Gstreamer's instead.
2613 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2615 Patch by: Josep Torre Valles <josep@fluendo.com>
2617 * common/m4/gst-error.m4:
2618 Disable warning of statement not reached on Forte.
2620 Fix warning on Forte (value doesn't fit on enumeration).
2621 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2622 Fix warning on Forte (value doesn't fit on enumeration).
2623 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2624 DEBUG macro says it takes minimum of 2 args and so Forte
2625 complains about the use with just 1 arg.
2626 * plugins/elements/gstfdsink.c:
2627 * plugins/elements/gstfdsrc.c:
2628 * plugins/elements/gstfilesink.c:
2629 * plugins/elements/gstfilesrc.c:
2630 Use correct return type for the uri handler implementations.
2632 All these fix warnings in Forte. Fixes bug #360860.
2634 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
2637 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2638 format string, so don't use G_GNUC_PRINTF for those versions.
2640 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2642 * gst/gsttaglist.c: (gst_is_tag_list):
2644 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2646 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2647 Small test for the above.
2649 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2652 Less tabs, more spaces.
2654 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
2657 Those two function declarations do actually belong there, revert
2658 commit from yesterday that turned them intro macros.
2660 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2662 Patch by: Josep Torre Valles <josep@fluendo.com>
2664 * gst/gst.c: (gst_init_get_option_group):
2665 Fix empty declaration and type mismatch.
2666 * gst/gstbin.c: (gst_bin_change_state_func):
2668 * gst/gstelement.c: (gst_element_continue_state),
2669 (gst_element_set_state_func), (gst_element_change_state),
2670 (gst_element_change_state_func):
2671 Fix type mismatches.
2672 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2673 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2674 Cast as appropriate.
2675 * gst/gstobject.c: (gst_class_signal_connect):
2676 Cast as appropriate. The function pointer parameter really
2677 has the wrong type but would break API if we change it.
2679 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2680 order of including string.h.
2681 * gst/gstutils.c: (gst_element_state_get_name):
2682 Remove unreachable line.
2683 * gst/gstxml.c: (gst_xml_parse_doc):
2685 All these caught by Forte.
2687 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2689 Patch by: Josep Torre Valles <josep@fluendo.com>
2691 * common/m4/gst-error.m4:
2693 We need to disable warnings on Forte for empty declarations
2694 due to gst-indent adding ;s to lines that just use macros
2695 where the macro actually doesn't need a ; at end to end
2698 2006-10-06 Wim Taymans <wim@fluendo.com>
2700 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2701 (gst_file_sink_close_file), (gst_file_sink_event),
2702 (gst_file_sink_render):
2703 Add some FIXME for the NEWSEGMENT handling.
2705 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2707 * gst/parse/grammar.y:
2708 Remove static function gst_parse_element_lock as all it does
2709 is return. Looks like cruft from 0.8.
2711 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2713 Patch by: Josep Torre Valles <josep@fluendo.com>
2715 * common/m4/gst-error.m4:
2717 * libs/gst/net/Makefile.am:
2718 Fix a compilation issue with Forte on Solaris. inet_aton is in
2721 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2723 * gst/gstpad.c: (pre_activate):
2724 * gst/gstregistry.c: (gst_registry_scan_path_level):
2725 * gst/gstregistryxml.c: (load_plugin):
2726 * libs/gst/controller/gstcontroller.c:
2727 (gst_controlled_property_set_interpolation_mode):
2728 * libs/gst/dataprotocol/dataprotocol.c:
2729 (gst_dp_packet_from_event_1_0):
2730 * libs/gst/net/gstnetclientclock.c:
2731 (gst_net_client_clock_observe_times):
2732 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2735 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2738 * docs/gst/gstreamer-sections.txt:
2739 * gst/gstconfig.h.in:
2742 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
2743 whether we can use G_GNUC_PRINTF in other header files and at
2744 least check the printf format/arguments of debug messages and
2745 GST_ELEMENT_ERROR messages when the printf extension is not
2747 Replace more tabs with spaces in gstinfo.h and remove two spurious
2748 function declarations in GST_DISABLE_DEBUG part with macros.
2750 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
2752 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
2753 More docs for the sync-message signal (mention that it is not
2754 emitted by default); log message structures of messages posted on
2757 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
2759 * gst/gst.c: (ensure_current_registry_forking):
2760 Use a pipe pair to receive status results from the forked child, and
2761 ignore the result from waitpid. Fixes #355499
2763 2006-10-02 Wim Taymans <wim@fluendo.com>
2765 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2766 (gst_ghost_pad_suite):
2769 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
2772 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
2774 2006-10-02 Edward Hervey <edward@fluendo.com>
2776 * docs/design/part-block.txt:
2777 Further explain the use of flushing on blocked pads.
2778 * docs/gst/gstreamer-sections.txt:
2779 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2780 (gst_pad_push_event):
2782 Added new GstPadFlag : GST_PAD_BLOCKING.
2783 Adds the notion of pads really blocking, which enables to properly
2784 handle FLUSH_START/FLUSH_STOP events on blocked pads.
2786 API: gst_pad_is_blocking()
2787 API: GST_PAD_IS_BLOCKING() macro
2788 API: GST_PAD_BLOCKING GstPadFlag
2790 2006-10-02 Wim Taymans <wim@fluendo.com>
2792 Patch by: mrcgran <mrc.gran at gmail dot com>
2794 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
2795 Filter the proxied caps against the padtemplate if we have one.
2797 * gst/gstquery.c: (gst_query_new_segment):
2798 Add include for gstinfo.h so that compilation with
2799 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
2801 2006-10-02 Wim Taymans <wim@fluendo.com>
2803 Patch by: Alessandro Decina <alessandro at nnva org>
2805 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
2806 (gst_file_sink_set_location), (gst_file_sink_open_file),
2807 (gst_file_sink_close_file), (gst_file_sink_event),
2808 (gst_file_sink_render):
2809 Set file to NULL when closing filesink so that we can set a new filename
2810 in READY. Fixes #358613.
2812 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
2814 Patch by: Alessandro Decina <alessandro at nnva org>
2816 * gst/gstevent.c: (_gst_event_copy):
2817 Fix gst_mini_object_make_writable() and gst_event_copy() for events
2818 with event structures by setting the parent refcount address of the
2819 copied structure to the address of the refcount member of the newly
2820 copied event rather than the address of the refcount member of the
2821 original event. Fixes #358737.
2823 * tests/check/gst/gstevent.c: (GST_START_TEST):
2824 Unit test for the above.
2826 2006-09-29 Stefan Kost <ensonic@users.sf.net>
2828 * docs/design/Makefile.am:
2829 Dist some more files.
2831 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
2833 * tests/check/libs/controller.c: (GST_START_TEST),
2834 (gst_controller_suite):
2835 Add test for the previous fix; add some more tests
2836 for correct refcounting behaviour; fix a few leaks
2837 in test cases; call gst_controller_init() at start
2840 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
2842 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2843 (gst_controller_set_from_list):
2844 Don't g_return_val_if_fail() on timed values with invalid timestamps
2845 inside a critical section without unlocking the mutex. Spotted by
2846 René Stadler. (#357617)
2847 Also, fix up refcounting properly: when returning an existing
2848 controller, we should increase the reference only once and not
2849 once per property and when trying to control a property again
2850 we should also increase the refcount.
2852 2006-09-29 Wim Taymans <wim@fluendo.com>
2854 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2855 * libs/gst/net/gstnettimeprovider.c:
2856 (gst_net_time_provider_thread):
2857 Stop reading commands when EOF as well.
2859 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2860 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2861 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2862 Unify description of the dump property.
2864 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2866 * tests/examples/manual/.cvsignore:
2867 OK, so it's actually cvsignore that needs changing. Stop laughing.
2869 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2871 * tests/examples/manual/Makefile.am:
2872 Gah, declare vars *before* using them
2874 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2876 * gst/gst.c: (init_pre), (scan_and_update_registry),
2877 (ensure_current_registry_nonforking),
2878 (ensure_current_registry_forking), (ensure_current_registry),
2879 (init_post), (gst_debug_help), (gst_deinit):
2880 * gst/gst_private.h:
2881 * gst/gstregistry.c: (gst_registry_finalize),
2882 (gst_registry_remove_features_for_plugin_unlocked),
2883 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2884 (gst_registry_scan_path),
2885 (_priv_gst_registry_remove_cache_plugins),
2886 (_priv_gst_registry_cleanup):
2887 * gst/gstregistry.h:
2888 Re-commit the registry changes, along with an extra fix:
2889 When a cached plugin is encountered at a different file path,
2890 update the stored path in the registry cache so that the parent
2891 process knows where it actually is now when it re-reads the registry
2892 cache. Fixes the thing that broke distcheck with the previous commit.
2894 * tests/check/Makefile.am:
2895 Clean up files named 'core' too when running make clean.
2897 * tests/examples/manual/Makefile.am:
2898 Set up a registry path for running these tests, and clean it properly
2901 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2904 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
2905 want gmodule-no-export-2.0.pc instead so that we don't drag in
2906 --export-dynamic on every project that links to GStreamer.
2908 Also, make our export regex only match the start of symbols, rather
2909 than any symbol that contains '_gst' somewhere.
2911 * libs/gst/check/Makefile.am:
2912 The libgstcheck we build does however need export-dynamic, as it
2913 produces some symbols that don't match our _gst... style regex.
2916 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
2918 * gst/gst.c: (init_pre), (scan_and_update_registry),
2919 (ensure_current_registry_nonforking),
2920 (ensure_current_registry_forking), (ensure_current_registry),
2921 (init_post), (gst_debug_help), (gst_deinit):
2922 * gst/gst_private.h:
2923 * gst/gstregistry.c: (gst_registry_finalize),
2924 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2925 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
2926 (_gst_registry_cleanup):
2927 * gst/gstregistry.h:
2928 Revert previous change until I figure out why it breaks distcheck.
2930 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
2932 * gst/gst.c: (init_pre), (scan_and_update_registry),
2933 (ensure_current_registry_nonforking),
2934 (ensure_current_registry_forking), (ensure_current_registry),
2935 (init_post), (gst_debug_help), (gst_deinit):
2937 Make init_pre and init_post take the full complement of GOptionFunc
2938 args so they can return useful GErrors. Make the registry updating
2941 Call _priv_gst_registry_remove_cache_plugins after scanning files to
2942 ensure that the registry we're about to write out doesn't contain
2943 stale information about old-deleted plugin files.
2945 Make _priv_gst_registry_remove_cache_plugins return a boolean so
2946 that deletion of plugin files is considered a registry change.
2948 * gst/gst_private.h:
2949 * gst/gstregistry.c: (gst_registry_finalize),
2950 (gst_registry_remove_features_for_plugin_unlocked),
2951 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2952 (gst_registry_scan_path),
2953 (_priv_gst_registry_remove_cache_plugins),
2954 (_priv_gst_registry_cleanup):
2955 * gst/gstregistry.h:
2956 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
2957 by adding _priv prefix, so that they won't appear in the global
2958 symbol table. They still do atm though because of #318031. Move the
2959 prototypes to gst_private.h
2961 When removing a plugin, remove all features for that plugin too.
2964 2006-09-27 Wim Taymans <wim@fluendo.com>
2966 * docs/random/moving-plugins:
2967 Make it clear that the "compiled-in descriptions" really mean
2968 the element details.
2970 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2971 (gst_base_sink_wait_preroll):
2974 * docs/libs/gstreamer-libs-sections.txt:
2975 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2976 (gst_base_src_get_range), (gst_base_src_activate_push):
2977 * libs/gst/base/gstbasesrc.h:
2978 Added function to block while waiting for PLAYING, this function
2979 is used by live sources that block on the clock.
2980 API: gst_base_src_wait_playing()
2982 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
2984 Patch by: Peter Kjellerstedt <pkj at axis com>
2987 gst-element-check.m4 is generated and should therefore be
2988 copied from the build dir rather than the source dir (#357593).
2989 'make distcheck' hasn't noticed this because we were disting
2990 the file as well, so stop doing that.
2992 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
2994 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2995 Add some tests for gst_caps_intersect().
2997 * tools/gst-launch.c: (event_loop):
2998 Print all buffering percentages we get, even the 100% one.
3000 2006-09-26 Wim Taymans <wim@fluendo.com>
3002 * tools/gst-inspect.c: (print_element_properties_info),
3003 (print_signal_info):
3004 Fix printing of flags to match the look of enums.
3006 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3008 * gst/gstelementfactory.c:
3009 Fix typo in docs blurb.
3011 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3013 * gst/gsturi.c: (search_by_entry):
3014 Don't assert/crash here if a uri handler doesn't return any
3015 supported protocols. The list of protocols could be generated
3016 dynamically at runtime or at plugin registration, and an error
3017 in the underlying library shouldn't be fatal (#353301).
3019 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3022 Fix warning if HAVE_PRINTF_EXTENSION is undefined
3023 (spotted by Peter Kjellerstedt).
3025 2006-09-23 Wim Taymans <wim@fluendo.com>
3027 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3029 * libs/gst/base/gstbasesrc.c:
3030 (gst_base_src_default_check_get_range), (gst_base_src_start),
3031 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3032 (gst_base_src_change_state):
3033 Match _start/_stop calls in the activate functions. Remove redundant
3034 _stop call from the state change function. Fixes #356910.
3035 Turn failure DEBUG into ERROR.
3037 2006-09-22 Wim Taymans <wim@fluendo.com>
3039 * docs/design/part-buffering.txt:
3040 * gst/gstmessage.c: (gst_message_new_buffering),
3041 (gst_message_parse_buffering):
3042 Update docs about buffering.
3044 * docs/design/part-trickmodes.txt:
3047 2006-09-22 Stefan Kost <ensonic@users.sf.net>
3049 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3050 (gst_controller_new_list):
3051 Ref instances when returning them again (fixes #357180)
3053 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
3055 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3056 Don't forget to release proxy lock when there's an error.
3058 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
3061 Add extra initialisers for Caps things, to fix some plugin warnings
3064 2006-09-18 Wim Taymans <wim@fluendo.com>
3066 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3067 Also set template on the internal pad so that a getcaps from the
3068 target pad returns the template caps.
3070 2006-09-18 Wim Taymans <wim@fluendo.com>
3072 * gst/gstelement.c: (gst_element_post_message),
3073 (gst_element_dispose):
3074 Use _DEBUG_OBJECT some more.
3076 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3079 * tools/gst-launch.c: (main):
3080 If the toplevel element is not a GstPipeline, it must be put in a
3081 pipeline so that a bus and clock is selected.
3083 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3085 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3086 JITTER, RATE, and LATENCY query should be handled by the
3087 default case and not by the CONVERT query code.
3089 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3091 * gst/gstformat.c: (gst_format_register):
3092 Fix locking order (must take lock before using n_values).
3094 * gst/gstvalue.c: (gst_value_serialize_enum),
3095 (gst_value_deserialize_enum_iter_cmp),
3096 (gst_value_deserialize_enum):
3097 Fix serialisation/deserialisation of custom registered GstFormats.
3099 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3100 Unit test for custom format serialisation/deserialisation.
3102 2006-09-17 Stefan Kost <ensonic@users.sf.net>
3104 * docs/pwg/building-boiler.xml:
3105 * plugins/elements/gstcapsfilter.c:
3106 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3109 2006-09-16 Edward Hervey <edward@fluendo.com>
3111 * libs/gst/base/gstbasetransform.c:
3112 (gst_base_transform_buffer_alloc):
3113 Check if requested caps are the same as the sinks caps IF
3114 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3116 This fixes the renegotiation issues stated in #352827.
3118 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3121 * docs/manual/advanced-autoplugging.xml:
3122 * tests/examples/Makefile.am:
3123 * tests/examples/manual/.cvsignore:
3124 * tests/examples/manual/Makefile.am:
3125 * tests/examples/manual/extract.pl:
3126 Extract the manual examples again like we used to do.
3129 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3131 * win32/common/config.h:
3134 2006-09-16 Stefan Kost <ensonic@users.sf.net>
3137 Documents how to receive errors.
3139 2006-09-15 Wim Taymans <wim@fluendo.com>
3141 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3142 (event_loop), (main):
3143 Added some comments here and there.
3144 Post an application message when an interrupt is caught instead of doing
3145 an uncontrolled state change.
3146 Clean up the event loop.
3147 Handle buffering messages, pause/resume the pipeline.
3148 Make shutdown because of an interrupt more reliable.
3150 2006-09-15 Wim Taymans <wim@fluendo.com>
3152 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3153 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3154 (gst_base_sink_preroll_object):
3155 Make sure that our internal state is correct when we commit our state
3156 asynchronously. This solves a race where a state change to PLAYING
3157 could cause the sink to remain blocked in preroll in some situations.
3159 2006-09-15 Wim Taymans <wim@fluendo.com>
3161 * tools/gst-inspect.c: (print_element_properties_info),
3162 (print_signal_info):
3163 List flags as hex so it's easier to deal with.
3165 2006-09-15 Wim Taymans <wim@fluendo.com>
3167 * docs/libs/gstreamer-libs-sections.txt:
3168 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3169 (gst_base_sink_do_sync):
3170 * libs/gst/base/gstbasesink.h:
3171 Expose logic to wait for preroll so that subclasses such as audiosink
3172 can also use this method.
3173 API: gst_base_sink_wait_preroll()
3175 2006-09-15 Wim Taymans <wim@fluendo.com>
3177 * gst/gstobject.c: (gst_object_set_parent):
3178 * gst/gstpipeline.c: (do_pipeline_seek):
3179 Small cleanups in docs and code.
3181 * gst/gstsegment.c: (gst_segment_clip):
3182 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3183 if stop == start and start is in the segment, no clipping should be
3184 done. Also add a test for this.
3186 2006-09-15 Wim Taymans <wim@fluendo.com>
3188 * docs/design/part-buffering.txt:
3189 * docs/gst/gstreamer-sections.txt:
3190 * gst/gstmessage.c: (gst_message_new_buffering),
3191 (gst_message_parse_buffering):
3193 Added methods to create and parse BUFFERING messages.
3194 Added preliminary docs about buffering.
3195 API: gst_message_new_buffering
3196 API: gst_message_parse_buffering
3198 2006-09-06 Wim Taymans <wim@fluendo.com>
3201 Update documentation.
3203 * gst/gstelement.c: (gst_element_class_init),
3204 (gst_element_release_request_pad), (gst_element_set_clock),
3205 (gst_element_get_index), (gst_element_add_pad),
3206 (gst_element_remove_pad), (gst_element_get_random_pad),
3207 (gst_element_send_event), (gst_element_get_query_types),
3208 (gst_element_query), (gst_element_post_message),
3209 (gst_element_message_full), (gst_element_continue_state),
3210 (gst_element_lost_state), (gst_element_save_thyself),
3211 (gst_element_restore_thyself):
3212 Documentation updates.
3213 Rename last bit of the new-pad -> pad-added signal rename.
3214 Fix the case where an element query would only work if the source
3216 Avoid some useless type checking in message handling.
3221 Documentation updates.
3223 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3225 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3226 add an INFO line for when we actually update the fd
3228 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3233 === release 0.10.10 ===
3235 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3238 releasing 0.10.10, "Pais"
3240 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
3242 * docs/manual/advanced-position.xml:
3243 Fix typo in sample code.
3245 2006-09-05 Wim Taymans <wim@fluendo.com>
3247 * libs/gst/net/gstnetclientclock.c: (inet_aton),
3248 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3249 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3250 * libs/gst/net/gstnetclientclock.h:
3251 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3252 * libs/gst/net/gstnettimepacket.h:
3253 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3254 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3255 (gst_net_time_provider_thread), (gst_net_time_provider_new):
3256 * libs/gst/net/gstnettimeprovider.h:
3257 Make stuff compile on windows. Fixes #345295.
3259 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3261 * gst/gst.c: (ensure_current_registry_forking):
3262 Print better details when child was terminated by signal.
3264 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3266 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3267 Print a warning rather than g_assert() if a plugin feature
3268 is a URI handler but returns no protocols (#353976).
3270 2006-09-02 Stefan Kost <ensonic@users.sf.net>
3272 * docs/random/moving-plugins:
3275 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
3277 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3278 Fix locking order, handle NULL function values properly.
3283 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3284 Initialise variable before using it and fix debug statement to
3285 print the address of the function rather than the address of the
3286 variable on the stack holding the address of the function.
3288 2006-09-01 Wim Taymans <wim@fluendo.com>
3290 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3291 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3292 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3293 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3294 (gst_ghost_pad_parent_unset),
3295 (gst_ghost_pad_internal_do_activate_push),
3296 (gst_ghost_pad_internal_do_activate_pull),
3297 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3298 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3299 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3300 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3301 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3302 (gst_ghost_pad_new_no_target_from_template),
3303 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3305 Avoid needless typechecking in macros.
3306 Since the internal pad is always present and never changes, there is
3307 no need to locking or ref when retrieving it.
3308 Improve debugging a bit.
3309 Handle link errors when setting the target. Fixes #341029.
3311 2006-09-01 Wim Taymans <wim@fluendo.com>
3313 * docs/libs/gstreamer-libs-sections.txt:
3314 * docs/plugins/gstreamer-plugins-sections.txt:
3317 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3318 (gst_collect_pads_event):
3319 * libs/gst/base/gstcollectpads.h:
3320 Documentation updates.
3321 Free queued buffer when removing a pad.
3323 2006-08-31 Michael Smith <msmith@fluendo.com>
3325 * gst/gstutils.c: (gst_element_link_pads),
3326 (gst_element_link_pads_filtered):
3327 Ensure that we set a capsfilter to NULL if we failed to link it
3328 when doing filtered linking, to avoid criticals.
3330 No need to check for unreffing srcpad, which is explicly NULLed
3331 above (a trivial code cleanup).
3333 2006-08-31 Wim Taymans <wim@fluendo.com>
3335 * docs/design/part-gstghostpad.txt:
3336 Update ascii art in documentation.
3338 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3339 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3340 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3341 (gst_ghost_pad_internal_do_activate_push),
3342 (gst_ghost_pad_internal_do_activate_pull),
3343 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3344 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3345 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3346 (gst_ghost_pad_set_target):
3347 Small cleanups and leak fixes.
3348 Remove some checks now that the internal pad is never NULL.
3349 Fix the case where linking pads without a target would create nasty
3350 criticals. Fixes #341029.
3351 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3352 value of _set_target().
3354 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3355 (gst_ghost_pad_suite):
3356 Some more tests for creating and linking untargeted ghostpads.
3358 2006-08-31 Edward Hervey <edward@fluendo.com>
3360 * docs/gst/gstreamer-sections.txt:
3361 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3362 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3363 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3364 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3365 (gst_ghost_pad_new_from_template),
3366 (gst_ghost_pad_new_no_target_from_template):
3367 * gst/gstghostpad.h:
3368 Refactored *_new() functions.
3369 Templates are now used as a g_object_new() parameter.
3370 Use template in _do_getcaps() if we don't have a target.
3371 Small documentation cleanups.
3372 Added two new constructors:
3373 gst_ghost_pad_new_from_template()
3374 gst_ghost_pad_new_no_target_from_template()
3375 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3376 (gst_ghost_pad_suite):
3377 Added tests for new ghostpad instanciation functions.
3379 API additions: gst_ghost_pad_new_from_template,
3380 gst_ghost_pad_new_no_target_from_template
3382 2006-08-30 Stefan Kost <ensonic@users.sf.net>
3384 * docs/random/ensonic/profiling.txt:
3385 Ideas about qos profiling.
3387 2006-08-29 Wim Taymans <wim@fluendo.com>
3389 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3393 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
3396 Improve and detypofy docs.
3398 * tests/check/Makefile.am:
3399 * tests/check/gst/.cvsignore:
3400 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3401 Add a basic test suite for GstXML.
3403 2006-08-29 Wim Taymans <wim@fluendo.com>
3405 * gst/gstelement.c: (activate_pads), (clear_caps),
3406 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3407 Clear the pad caps when the element shut down all of the pads and
3408 is not streaming data that could modify the caps.
3411 2006-08-28 Michael Smith <msmith@fluendo.com>
3413 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3414 Revert previous change; I misunderstood single-segment mode.
3416 2006-08-28 Michael Smith <msmith@fluendo.com>
3418 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3419 Unset DISCONT on buffers when using single-segment mode.
3421 2006-08-28 Wim Taymans <wim@fluendo.com>
3423 * gst/gstcaps.c: (gst_caps_merge_structure):
3425 Fix docs and indentation again.
3427 * tests/check/gst/gstquery.c: (GST_START_TEST):
3428 Fix leak in tests and add some more tests.
3430 2006-08-28 Edward Hervey <edward@fluendo.com>
3432 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3433 Inform GstSegment of the last stop position in order for the current
3434 segment to have a proper duration if it doesn't have a specific stop
3435 position from which a duration could be calculated.
3436 This bug was noticeable when a non-flushing, non-update new segment was
3437 followed by another segment (all buffers from the new segment were being
3440 2006-08-28 Wim Taymans <wim@fluendo.com>
3442 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3443 Small comment update.
3445 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3446 (gst_identity_transform_ip):
3447 Drop-probability is broken, mention this in the code with a
3448 FIXME and also in the property description.
3449 Make silent also be silent about the drop messages.
3451 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
3453 * docs/manual/appendix-win32.xml:
3454 Remove mention of popt, we don't depend on that any
3455 longer (#353136). Add some comments pointing out that
3456 this section is slightly outdated.
3458 2006-08-28 Wim Taymans <wim@fluendo.com>
3460 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3462 * gst/gstquery.c: (gst_query_new_segment):
3463 * tests/check/gst/gstquery.c: (GST_START_TEST):
3464 Initialize variables when creating a new segment query.
3467 2006-08-28 Wim Taymans <wim@fluendo.com>
3469 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3471 * gst/gstelement.c: (gst_element_get_bus):
3472 * tests/check/gst/gstelement.c: (GST_START_TEST):
3473 Check for NULL before _reffing the bus. Fixes #353122.
3475 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
3477 * docs/manual/basics-bus.xml:
3478 Docs update: fix wrong callback return value explanation; add
3479 some lines about the implicit relationship between main loop
3480 and main context; remove duplicate main loop variable declaration.
3482 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
3484 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3485 Don't leak caps in unit test; add a few more simple
3488 2006-08-24 Stefan Kost <ensonic@users.sf.net>
3490 * docs/gst/gstreamer-sections.txt:
3491 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3492 (gst_caps_structure_is_subset), (gst_caps_merge),
3493 (gst_caps_merge_structure):
3495 * libs/gst/base/gstbasetransform.c:
3496 (gst_base_transform_transform_caps):
3497 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3498 implement caps merging (fixes #352580)
3500 2006-08-23 Stefan Kost <ensonic@users.sf.net>
3502 * tools/Makefile.am:
3503 * tools/gst-plot-timeline.py:
3504 add debug-log plotting developer tool (#340674)
3506 2006-08-23 Wim Taymans <wim@fluendo.com>
3508 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3509 (gst_pad_stop_task):
3510 Improve debugging for task functions.
3512 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3513 (gst_task_start), (gst_task_pause), (gst_task_join):
3514 Make sure that the task function started and finished after a
3516 Don't try to push the task function on the threadpool multiple
3518 Improve the g_warning message with some useful suggestions
3519 about how to fix the problem.
3521 2006-08-23 Wim Taymans <wim@fluendo.com>
3523 * gst/gstutils.c: (gst_pad_proxy_getcaps):
3524 Handle RESYNC correctly in _proxy_getcaps.
3526 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
3528 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3529 (gst_xml_parse_memory), (gst_xml_get_element):
3530 Chain up to parent class in dispose function and also
3531 unref the elements in the toplevel_elements GList.
3532 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3533 Always return a reference in gst_xml_get_element() rather
3534 than only sometimes.
3536 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3537 Don't leak GstXml object.
3539 2006-08-21 Stefan Kost <ensonic@users.sf.net>
3541 * docs/gst/gstreamer-sections.txt:
3542 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3545 * libs/gst/base/gstbasetransform.c:
3546 (gst_base_transform_transform_caps):
3547 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3550 2006-08-21 Edward Hervey <edward@fluendo.com>
3552 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3553 Implement GObject::dispose virtual method in GstXML so we can free the
3556 2006-08-21 Wim Taymans <wim@fluendo.com>
3558 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3559 (gst_buffer_create_sub):
3560 Copy duration/offset_end/caps when creating a subbuffer of the
3562 Make the subbuffer read-only when we make the metadata writable for
3565 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3566 Added check for metadata copy when creating subbuffers.
3568 2006-08-21 Edward Hervey <edward@fluendo.com>
3570 * libs/gst/base/gstbasetransform.c:
3571 (gst_base_transform_buffer_alloc):
3572 Only call downstream buffer_alloc if transform element is passthrough
3573 or always_in_place. Closes #350449.
3575 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3578 ChangeLog surgery to add comments to previous changes
3580 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3585 * gst/gstpad.c: (gst_pad_set_active):
3586 Be more verbose in the log
3588 * libs/gst/base/gstbasetransform.c:
3589 (gst_base_transform_transform_caps):
3590 Simplify caps to get rid of duplicates, fixes #345444
3592 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3596 Use these optimizations only internally.
3598 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3600 * gst/gstvalue.c: (gst_value_compare_list),
3601 (gst_value_compare_fraction_range),
3602 (gst_value_intersect_fraction_fraction_range),
3603 (gst_value_intersect_fraction_range_fraction_range),
3604 (gst_value_subtract_fraction_fraction_range),
3605 (gst_value_subtract_fraction_range_fraction_range),
3606 (gst_value_get_compare_func), (gst_value_compare),
3607 (gst_value_compare_with_func):
3609 Saves the expensive lookup of the compare function in many cases
3612 2006-08-18 Edward Hervey <edward@fluendo.com>
3614 * tests/check/gst/gstinfo.c: (gst_info_suite):
3615 Disable test that require gstdebug if it wasn't built in core.
3617 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3619 * docs/random/ensonic/logging.txt:
3622 * gst/gstinfo.c: (gst_debug_log_default):
3623 reorder fields, save some columns, add optional color codes for log
3626 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3628 * docs/random/ensonic/logging.txt:
3629 add ideas about making the logs a bit more useful
3631 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3633 * docs/pwg/advanced-events.xml:
3634 * docs/pwg/titlepage.xml:
3635 Update for 0.10 API (#340627). Add myself
3638 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3640 * docs/libs/gstreamer-libs-docs.sgml:
3641 * docs/libs/gstreamer-libs-sections.txt:
3642 * libs/gst/check/gstbufferstraw.c:
3643 Make gstcheck stuff show up in docs (still needs to
3644 be documented properly though).
3646 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
3648 * docs/gst/gstreamer-sections.txt:
3650 * gst/gst.c: (init_post):
3651 * gst/gst_private.h:
3652 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3654 * gst/gstquery.c: (gst_query_new_position),
3655 (gst_query_set_position), (gst_query_parse_position),
3656 (gst_query_new_duration), (gst_query_set_duration),
3657 (gst_query_parse_duration), (gst_query_new_convert),
3658 (gst_query_set_convert), (gst_query_parse_convert),
3659 (gst_query_new_segment), (gst_query_set_segment),
3660 (gst_query_parse_segment), (gst_query_new_seeking),
3661 (gst_query_set_seeking), (gst_query_parse_seeking):
3662 Add internal helpers for pre-registering quarks from static strings
3663 and using the quark values directly instead of looking them up when
3664 creating and parsing queries. Can be used for event construction too.
3667 2006-08-16 Wim Taymans <wim@fluendo.com>
3672 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3674 * gst/gstutils.c: (gst_util_set_value_from_string):
3675 Fix memleak (#351502).
3677 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3678 Add unit test for most of gst_util_set_value_from_string()
3679 (not that one would want to encourage use of this function).
3681 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3683 * libs/gst/check/gstcheck.h:
3684 Use const gchar * variables in fail_unless_equals_string
3685 macro to avoid compiler warnings (and don't use tabs for
3688 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3690 * tools/gst-launch.c: (print_tag):
3691 More space on the left for the tag names, to cater
3692 for the 'extended comment' tag (not touching the
3693 string for the first line since it's translated).
3695 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3697 * libs/gst/check/gstcheck.h:
3698 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
3699 print something when they fail.
3701 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3703 * docs/gst/gstreamer-sections.txt:
3704 * gst/gsttaglist.c: (_gst_tag_initialize):
3706 API: add GST_TAG_EXTENDED_COMMENT (#350935).
3707 Also change merge function for GST_TAG_COMMENT to
3710 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3712 * gst/gstinfo.c: (gst_debug_print_object):
3713 Make GST_PTR_FORMAT print messages as well.
3715 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
3716 (GST_START_TEST), (gst_info_suite):
3719 2006-08-14 Edward Hervey <edward@fluendo.com>
3721 * gst/gstelementfactory.c: (gst_element_register):
3722 If the GstElementClass doesn't have a GstElementDetails with all fields
3723 filled up correctly (longname, description AND author), then error out
3724 nicely instead of crashing.
3726 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3728 * gst/gststructure.c:
3729 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
3732 Expand on the difference between arrays and lists as we use them.
3734 2006-08-14 Wim Taymans <wim@fluendo.com>
3736 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3737 If the parent state change function failed, don't assume we can safely
3738 stop the source, this will be done when the pads are deactivated.
3740 2006-08-14 Wim Taymans <wim@fluendo.com>
3743 * gst/gsttask.c: (gst_task_join):
3746 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3747 (gst_pad_stop_task):
3748 When pad (de)activation failed for some reason, restore the old
3749 activation mode and set the pad to flushing instead of assuming the
3751 If the _task_join() failed, reinstall the task on the pad so that it can
3752 be stopped later and return an error.
3754 2006-08-11 Andy Wingo <wingo@pobox.com>
3757 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3758 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
3759 is only for users of API that don't want to see deprecated
3760 functions in the headers; people that want to compile out
3761 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
3762 CFLAGS. Fixes the build of multifdsink, or will soon..
3764 2006-08-11 Wim Taymans <wim@fluendo.com>
3766 * docs/gst/gstreamer-sections.txt:
3767 Add GstClockClass vmethod docs.
3770 Mark #endif with comment for associated #if
3772 * gst/gstclock.c: (gst_clock_id_wait):
3774 Add vmethod wait_jitter to avoid an unneeded _get_time() for
3775 most clock implementations.
3777 Flesh out docs about resolution methods.
3778 API: GstClockClass::wait_jitter
3780 * gst/gstsystemclock.c: (gst_system_clock_class_init),
3781 (gst_system_clock_async_thread),
3782 (gst_system_clock_id_wait_jitter_unlocked),
3783 (gst_system_clock_id_wait_jitter):
3784 Use base class wait_jitter variant for improved performance
3785 due to less clock polling.
3787 2006-08-11 Edward Hervey <edward@fluendo.com>
3789 * gst/gst.c: (gst_init_check), (init_post):
3790 Set gst as being initialized before scanning/updating the registry,
3791 since there might be my python plugin loader that calls gst_init() and
3792 we don't want to loop back in.
3795 2006-08-11 Wim Taymans <wim@fluendo.com>
3797 * docs/design/part-qos.txt:
3798 Bring docs in line with the code. Mostly the sign of the jitter was
3799 wrong in the docs. Fixes #349943.
3802 Fix the docs for the jitter.
3804 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
3805 (gst_event_parse_tag), (gst_event_new_buffer_size),
3806 (gst_event_parse_buffer_size), (gst_event_parse_qos),
3807 (gst_event_new_seek), (gst_event_parse_seek),
3808 (gst_event_new_navigation):
3809 Make sure the GstStructure has no parent when creating custom
3811 Add some more argument checking so that we avoid 0.0 rates.
3812 Flesh out the docs for the QoS event some more.
3814 2006-08-11 Wim Taymans <wim@fluendo.com>
3816 * docs/gst/gstreamer-sections.txt:
3817 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3818 (ensure_current_registry_forking), (ensure_current_registry),
3819 (parse_one_option), (parse_goption_arg), (gst_deinit),
3820 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
3823 Added API and command line option to disable registry forking in
3824 addition to the environment variable.
3825 Constify some static arrays.
3826 Added some more debug.
3828 API: gst_registry_fork_is_enabled()
3829 API: gst_registry_fork_set_enabled()
3830 API: --gst-disable-registry-fork command line option
3833 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
3835 * gst/gst.c: (gst_init):
3836 Fix typo in error message.
3838 2006-08-10 Stefan Kost <ensonic@users.sf.net>
3840 * libs/gst/controller/gstcontroller.h:
3841 fix ABI size-correction
3843 * tests/check/libs/gdp.c: (gst_dp_suite):
3844 make tests that use deprecated API conditional
3846 2006-08-10 Stefan Kost <ensonic@users.sf.net>
3848 * docs/libs/gstreamer-libs-sections.txt:
3849 * libs/gst/controller/gstcontroller.c:
3850 (_gst_controller_get_property), (_gst_controller_set_property),
3851 (_gst_controller_init), (_gst_controller_class_init):
3852 * libs/gst/controller/gstcontroller.h:
3853 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
3854 (gst_object_set_control_rate):
3855 API: add gst_object_{s,g}et_control_rate(), add private data section,
3858 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3859 * libs/gst/dataprotocol/dataprotocol.h:
3860 add deprecation guards to make gtk-doc happy and allow disabling cruft
3862 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
3864 * tests/check/Makefile.am:
3865 * tests/check/gst/.cvsignore:
3866 Let's enable the new unit test as well.
3868 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
3871 * docs/gst/gstreamer-sections.txt:
3872 * gst/gstconfig.h.in:
3873 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
3874 (_gst_info_printf_extension_ptr),
3875 (_gst_info_printf_extension_segment):
3876 API: add GST_SEGMENT_FORMAT, which is a printf extension we
3877 register that lets us easily dump GstSegments into debug
3880 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
3881 (info_segment_format_printf_extension), (gst_info_suite):
3882 Add simple unit test that logs a bunch of different segments (not
3883 valgrinded at the moment because of leaks in
3884 gst_debug_add_log_function).
3886 2006-08-09 Edward Hervey <edward@fluendo.com>
3888 * libs/gst/base/gstbasetransform.c:
3889 (gst_base_transform_buffer_alloc):
3890 Even if we can't figure out the proper format to request downstream,
3891 call buffer_alloc() downstream with the input parameters without setting
3892 the caps on the srcpad. This will force negotiation in the chain
3896 2006-08-08 Edward Hervey <edward@fluendo.com>
3898 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3899 Unlinking from a pad without a target is now a perfectly valid case
3900 which should NOT raise an assertion.
3901 This case would happen if a linked ghostpad its target set to NULL after
3902 it was previously linked.
3904 2006-08-08 Edward Hervey <edward@fluendo.com>
3906 * tests/check/libs/gdp.c:
3907 Also comment out the test (see below).
3909 2006-08-08 Edward Hervey <edward@fluendo.com>
3911 * tests/check/libs/gdp.c: (gst_dp_suite):
3912 Use the architecture information from config.h and not gcc macros
3913 in order to properly disable a test that fails on PPC64.
3915 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
3917 * gst/gstelement.c: (gst_element_remove_pad):
3918 Don't crash printing the warning if the pad has no parent.
3920 2006-08-02 Wim Taymans <wim@fluendo.com>
3922 * libs/gst/dataprotocol/dataprotocol.c:
3923 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
3924 (gst_dp_crc), (gst_dp_header_payload_length),
3925 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
3926 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
3927 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
3928 (gst_dp_event_from_packet), (gst_dp_validate_header),
3929 (gst_dp_validate_payload):
3930 Make debug category static
3931 Constify the crc table.
3932 Do some more arg checking in public functions.
3933 Fix some docs and do some small cleanups.
3935 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
3936 Add some more checks to see if GDP deals with bogus input.
3938 2006-07-31 Wim Taymans <wim@fluendo.com>
3940 * gst/gstvalue.c: (gst_value_compare_list):
3941 Fix GstValueList comparison code. Fixes #347293.
3943 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3944 Check to test GstValueList comparison.
3946 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3948 * gst/gstelementfactory.c: (gst_element_factory_create):
3949 Remove unnecessary ref/unref pair
3951 * gst/parse/grammar.y:
3952 Make sure to free the parse buffer on all code paths.
3953 Move a g_free up to the error handler where it's easier to see.
3955 * tests/check/gst/gstevent.c: (test_event):
3956 Extending timeout for downstream travelling events to 10 seconds to
3957 hopefully avoid intermittent failure on the buildbots.
3959 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
3960 Don't manually set the state of the src element - it will happen as a
3961 natural consequence of the pipeline changing state, and that way it
3962 will do it in the right order too.
3964 2006-07-31 Wim Taymans <wim@fluendo.com>
3966 * libs/gst/base/gstbasetransform.c:
3967 (gst_base_transform_buffer_alloc):
3968 Use OBJECT_LOCK and refcounting to get the pad caps in the
3969 buffer_alloc function because the caps could change while we are
3970 busy with them. Fixes #349105
3972 2006-07-31 Wim Taymans <wim@fluendo.com>
3974 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
3975 Protect _PAD_CAPS with OBJECT_LOCK.
3977 2006-07-31 Wim Taymans <wim@fluendo.com>
3979 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3980 (gst_pad_get_property), (gst_pad_activate_pull),
3981 (gst_pad_activate_push), (gst_pad_set_blocked_async),
3982 (gst_pad_set_activate_function),
3983 (gst_pad_set_activatepull_function),
3984 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
3985 (gst_pad_set_getrange_function),
3986 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
3987 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3988 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
3989 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
3990 (gst_pad_set_acceptcaps_function),
3991 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
3992 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
3993 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
3994 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
3995 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
3996 (gst_pad_configure_sink), (gst_pad_configure_src),
3997 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
3998 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
3999 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4000 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4001 (gst_pad_send_event):
4002 Use _DEBUG_OBJECT when it makes sense.
4003 Protect GST_PAD_CAPS with the OBJECT_LOCK.
4004 Small cleanups and code reflows.
4005 Avoid caps refcounting in _accept_caps.
4006 Refactor alloc_buffer so that the code performed on the peer is in a
4007 separate function. Also if the pad does not implement a buffer alloc
4008 function, we should still check if the pad is flushing before falling
4009 back to the default allocator.
4011 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4013 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4014 Make all uses of identity and fakesink have silent=true to avoid
4015 serialising every passing data structure, which is breaking tests
4016 on FC4 for some unknown reason.
4018 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4020 * gst/parse/Makefile.am:
4021 * gst/parse/grammar.y:
4022 * gst/parse/parse.l:
4023 Reverted previous patch as it required to bump the flex dependency to
4024 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4026 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4028 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4030 * gst/parse/Makefile.am:
4031 * gst/parse/grammar.y:
4032 * gst/parse/parse.l:
4033 push & pop the state of the lexer for reentrant use case
4036 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
4038 * libs/gst/base/gstbasesrc.h:
4039 Note in the docs that the ::newsegment vfunc is not actually used by
4042 2006-07-28 Wim Taymans <wim@fluendo.com>
4044 * libs/gst/base/gstcollectpads.c:
4045 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4046 (gst_collect_pads_clear), (gst_collect_pads_flush),
4047 (gst_collect_pads_event), (gst_collect_pads_chain):
4048 When flushing a pad, also clear the queued buffer so that we don't
4049 accidentally use it when we shouldn't.
4050 Fix leaks by inreffing incomming buffer.
4051 Flush out queued buffers in case of errors.
4054 2006-07-28 Wim Taymans <wim@fluendo.com>
4056 * docs/random/phonon-gst:
4057 Random notes about a Phonon backend.
4059 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4061 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4063 * tests/check/libs/gdp.c: (gst_dp_suite):
4064 Take a whack at fixing the ppc compile using a different define to
4065 disable the broken test.
4067 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4068 Remove excess g_print()
4070 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4072 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4073 Oops, meant to uncomment this line too to dampen the noise a bit.
4075 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4077 * gst/parse/grammar.y:
4078 * gst/parse/parse.l:
4079 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4080 (GST_START_TEST), (parse_suite):
4081 Fix some of the leaks exposed by extending the parse-launch testsuite,
4082 and move the 3 I can't figure out into a separate test that won't run
4083 the pipelines unless the appropriate line is uncommented.
4085 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4087 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4088 Requesting 0 bytes before the end of the file should result in
4089 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4092 2006-07-27 Wim Taymans <wim@fluendo.com>
4094 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4095 Fix useless assert, a uint is always positive.
4097 * gst/gststructure.c: (gst_structure_nth_field_name),
4098 (gst_structure_foreach), (gst_structure_map_in_place):
4099 Check input arguments for public functions to avoid obvious crashes.
4101 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4102 * plugins/elements/gstfakesink.h:
4103 Do less useless typechecking.
4105 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4107 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4108 Do not use mmap() by default since there are a number of error
4109 conditions that we would like to handle in a non-fatal way that
4110 will result in a SIGBUS if we use mmap(). Examples: external
4111 devices (USB harddrive, portable music player) being unplugged
4112 while in use; file on mounted CD/DVD that can't be read because
4113 the medium is partly damaged. Fixes #348455 and #348475.
4115 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4118 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4121 2006-07-26 Stefan Kost <ensonic@users.sf.net>
4123 * gst/gstregistry.c:
4124 Move big documentation comment into class section header, so that it
4125 appears in the API docs.
4127 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4129 * docs/gst/gstreamer-sections.txt:
4130 Oops. Commit the docs additions too for new API.
4131 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4133 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4135 * gst/gststructure.c: (gst_structure_id_set),
4136 (gst_structure_id_set_valist):
4137 * gst/gststructure.h:
4138 Add API for setting values into structures without performing
4139 a quark lookup, if the appropriate quark is already known.
4141 API: gst_structure_id_set
4142 API: gst_structure_id_set_valist
4144 * gst/parse/grammar.y:
4145 * gst/parse/parse.l:
4146 Remove some dead code shown by the coverage information.
4147 Don't throw a critical g_warning when encountering a syntax error,
4148 just warn and let the normal error path handle it.
4150 * plugins/elements/gstelements.c:
4151 Bump the rank of filesink up to PRIMARY so that it is preferred over
4152 gnomevfssink for file:// sink uri's
4154 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4155 (GST_START_TEST), (run_delayed_test),
4156 (gst_parse_test_element_base_init),
4157 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4158 (gst_parse_test_element_change_state),
4159 (gst_register_parse_element), (parse_suite):
4160 Beef up the tests for parse syntax to check that more error cases
4161 fail as they are supposed to. Increases the test coverage a bit.
4163 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
4165 * docs/manual/basics-elements.xml:
4166 Fix gst_element_link() example.
4169 Mention in API docs that one should usually gst_bin_add()
4170 elements to a bin or pipeline before doing the linking.
4172 2006-07-26 Wim Taymans <wim@fluendo.com>
4174 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4175 (gst_subbuffer_get_type), (gst_buffer_create_sub):
4176 Avoid function call for known types by keeping the buffer and
4177 subbuffer GType global.
4179 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4180 Random silly optimisations in read() path.
4182 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4184 * tools/gst-launch.c: (main):
4185 If the top-level of the parse is a normal bin, it doesn't do the
4186 right logic to run as a top-level element, so place it inside a
4189 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
4191 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4192 Remove superfluous g_object_notify() calls, GObject does
4193 that for us automatically.
4195 2006-07-25 Stefan Kost <ensonic@users.sf.net>
4198 on Win32, use dllspec to export the debug category symbols
4200 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
4202 * gst/gsttaglist.c: (_gst_tag_initialize):
4203 Allow more than one GST_TAG_IMAGE per taglist.
4205 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
4207 * gst/gstminiobject.c:
4209 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4210 (gst_fd_src_create):
4211 log recurring events at LOG level
4212 add more debug for when the fd gets set
4214 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4216 * gst/gstparse.c: (gst_parse_launch):
4217 Also remove reentrance checks if flex is MT safe (#348179)
4218 Fix my empty ChangeLog entry below
4220 2006-07-21 Andy Wingo <wingo@pobox.com>
4222 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4224 * libs/gst/check/Makefile.am
4225 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4226 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
4227 * libs/gst/check/gstbufferstraw.h:
4228 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4229 functions, thus proving I am still a GStreamer haxor. OK I wrote
4230 them a long time ago, but anyways.
4232 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4235 * gst/gstparse.c: (gst_parse_launch):
4236 Check for flex version and omit mutex if we have a MT save flex
4239 2006-07-21 Wim Taymans <wim@fluendo.com>
4241 * gst/gstparse.c: (gst_parse_launch):
4242 Protect recursive calls to _parse with a recursive mutex
4245 2006-07-21 Wim Taymans <wim@fluendo.com>
4247 * tests/check/gst/gstpad.c: (GST_START_TEST):
4250 2006-07-20 Stefan Kost <ensonic@users.sf.net>
4252 * gst/gstparse.c: (gst_parse_launch):
4253 Do not hang on recursive usage of gst_parse_launch()
4255 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4258 Add some more docs, comments and FIXME 0.11s here and there
4259 and also fix some typos.
4261 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4264 Convert tabs to spaces for better readability.
4266 2006-07-20 Edward Hervey <edward@fluendo.com>
4268 * tests/check/libs/gdp.c: (gst_dp_suite):
4269 the test_buffer test fails at line 140 on ppc64 at the following
4271 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4272 GST_BUFFER_FLAG_IN_CAPS),
4273 "GST_BUFFER_IN_CAPS flag should have been copied !");
4274 See bug #348114 for more details.
4276 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
4278 * docs/pwg/advanced-scheduling.xml:
4280 Fix typos (#348000).
4282 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
4284 * docs/pwg/intro-basics.xml:
4285 Fix wrong links (#347927).
4287 2006-07-18 Stefan Kost <ensonic@users.sf.net>
4289 * gst/gstregistry.h:
4290 * gst/gstregistryxml.c: (load_feature),
4291 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4292 * win32/common/config.h:
4293 make --disable-index work (#342564)
4295 2006-07-18 Wim Taymans <wim@fluendo.com>
4297 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4301 The attached patch adds two missing defines to gsttrace.h when tracing
4302 is disabled. It also corrects one existing define.
4305 2006-07-17 Wim Taymans <wim@fluendo.com>
4307 * docs/gst/gstreamer-sections.txt:
4308 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4310 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4311 Add two functions to check and change the SIGSEGV behaviour
4312 when loading plugins.
4313 Don't mess with the SIGSEGV handler when we were told not to.
4315 API: gst_segtrap_is_enabled
4316 API: gst_segtrap_set_enabled
4318 2006-07-14 Wim Taymans <wim@fluendo.com>
4320 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4321 * tests/check/elements/filesrc.c: (GST_START_TEST):
4322 Revert fix for regression in #347408 after release.
4324 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
4326 Patch by: Antoine Tremblay <hexa00 at gmail com>
4328 * gst/gstutils.c: (gst_element_unlink):
4329 Free iterator when done (#347311).
4331 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4332 And add a test case for this.
4334 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
4337 Bump nano back to CVS
4339 === release 0.10.9 ===
4341 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
4344 releasing 0.10.9, "On the road again"
4346 2006-07-13 Wim Taymans <wim@fluendo.com>
4348 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4349 * tests/check/elements/filesrc.c: (GST_START_TEST):
4350 Revert pull-0 fix for release. Disable check. Fixes #347408.
4352 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4354 * libs/gst/dataprotocol/dataprotocol.c:
4355 (gst_dp_event_from_packet_1_0):
4356 Fixes #347337: failure to deserialize event packets with
4357 empty payload (only event type)
4359 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4362 do not install a .c file in the header directory
4364 2006-07-13 Edward Hervey <edward@fluendo.com>
4366 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4367 GhostPad no longer implicitely use the padtemplates of the targets.
4370 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
4372 * gst/gstvalue.c: (gst_value_compare_list),
4373 (gst_value_compare_array), (_gst_value_initialize):
4374 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4375 Make GstValueArray comparison be order dependent as designed.
4376 Add checks for value lists and value array comparisons.
4379 2006-07-11 Edward Hervey <edward@fluendo.com>
4381 * gst/gstbin.c: (activate_pads),
4382 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4383 (gst_bin_change_state_func):
4384 (de)activate src pads before calling state_change on the childs.
4385 This is to avoid the case where a src ghostpad is blocked (holding the
4386 stream lock), which would block the deactivation of the ghostpad's
4388 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4389 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4390 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4391 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4392 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4393 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4394 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4395 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4396 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4397 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4398 (gst_ghost_pad_class_init),
4399 (gst_ghost_pad_internal_do_activate_push),
4400 (gst_ghost_pad_internal_do_activate_pull),
4401 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4402 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4403 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4404 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4405 GhostPads now create their internal GstProxyPad at creation (and not
4406 when they're linked, as it was being done previously).
4407 The internal and target pads are linked straight away.
4408 The data will also travel through the other pad in order to make
4409 pad blocking and probes non-hackish (the probe/block now really happens
4410 on the GhostPad and not on the target).
4411 * gst/gstpad.c: (gst_pad_set_blocked_async),
4412 (gst_pad_link_prepare), (gst_pad_push_event):
4413 Remove previous ghostpad cruft.
4414 * gst/gstutils.c: (gst_pad_add_data_probe),
4415 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4416 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4417 (gst_pad_remove_buffer_probe):
4418 Remove previous ghost pad cruft.
4419 Added more detailed debug statements.
4420 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4421 Fix the testsuite for refcounting changes.
4422 The comments about who has references were correct, but the refcount
4423 being checked wasn't the same (!?!).
4427 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4429 * docs/gst/gstreamer-sections.txt:
4430 * gst/gstconfig.h.in:
4431 More docs for configuration options, add docs to gtk-doc.
4433 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4436 * gst/gstconfig.h.in:
4437 * win32/common/config.h:
4438 Fix build when disabling tracing (fixes #344016). Also start to document
4439 the defines that disable the sub-systems.
4441 2006-07-10 Edward Hervey <edward@fluendo.com>
4443 * gst/gst.c: (ensure_current_registry_forking):
4444 let's make valgrind happy...
4446 2006-07-09 Wim Taymans <wim@fluendo.com>
4448 * gst/gstelement.c: (activate_pads),
4449 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4450 Better pad activation code: Reset the collect value too on resync.
4453 2006-07-09 Wim Taymans <wim@fluendo.com>
4455 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4456 (gst_pad_activate_push):
4457 Use some more macros where it makes sense.
4458 Allow pad mode switching instead of asserting. When a pad
4459 is activated in one mode and we activate it in another,
4460 deactivate it first before activating it in a different mode.
4463 2006-07-08 Andy Wingo <wingo@pobox.com>
4465 * tools/gst-launch.c (main): Handle err == NULL.
4467 * gst/gst.c (init_post, ensure_current_registry)
4468 (ensure_current_registry_forking)
4469 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4470 factoring out the registry scanning into separate functions. Don't
4471 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4472 Better environment var name/interface suggestions accepted.
4474 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4476 * gst/gstobject.c: (gst_object_set_name_default),
4477 (gst_object_set_name):
4478 Random micro-optimisation: don't use a hash table
4479 with strings as keys and the usual strdup/strcmp
4480 involved, but rather just use the GQuark of the
4481 type name as key, since it needs to be looked up
4482 anyway to get the type name string.
4484 * tests/check/gst/gstobject.c: (GST_START_TEST):
4487 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4489 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4490 (gst_bin_iterate_all_by_interface):
4491 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4492 GTypes are gulongs and thus the top 4 bytes might be cut
4493 off on some platforms when doing GPOINTER_TO_INT, leading
4494 to invalid GTypes and bad things happening (see RH bug #179654).
4495 Also add a check to make sure the type passed in is really
4498 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4503 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4507 * gst-element-check.m4:
4508 * gst-element-check.m4.in:
4509 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4510 instead of the unversioned gst-inspect (#324176, #168659).
4512 2006-07-06 Wim Taymans <wim@fluendo.com>
4515 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4518 2006-07-06 Wim Taymans <wim@fluendo.com>
4520 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4521 (gst_base_src_wait), (gst_base_src_update_length),
4522 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4523 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4524 (gst_base_src_loop), (gst_base_src_start),
4525 (gst_base_src_activate_pull):
4527 blocksize == 0 now means the default blocksize when working in push
4529 Remove some pointless asserts in _wait function.
4530 Fix offset/length calculations and EOS handling. We can now pull 0
4531 bytes as well, which is allowed.
4532 use _check_get_range() to decide if we can operate in _pull based
4534 Fix refcounting leak when check_get_range function was not
4536 API GstBaseSrc::blocksize range can be 0 too now (default)
4538 * tests/check/elements/filesrc.c: (GST_START_TEST),
4540 Added check to test _get_range() behaviour.
4542 2006-07-06 Wim Taymans <wim@fluendo.com>
4544 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4545 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4546 (gst_pad_pull_range):
4548 Lots of comments and docs added to the pad functions.
4549 Flesh out the expected behaviour of the get_range() functions.
4551 2006-07-06 Wim Taymans <wim@fluendo.com>
4556 * gst/gstiterator.h:
4560 Remove comma at end of enumerator list.
4562 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
4564 * win32/common/libgstbase.def:
4565 * win32/common/libgstdataprotocol.def:
4566 * win32/common/libsgtreamer.def:
4567 Add new exported functions.
4569 2006-07-05 Wim Taymans <wim@fluendo.com>
4571 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4572 Add some more docs here and there.
4574 2006-07-05 Wim Taymans <wim@fluendo.com>
4576 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4577 (gst_base_sink_loop), (gst_base_sink_get_position):
4578 When operating in pull mode update the offset so that we
4581 2006-07-05 Wim Taymans <wim@fluendo.com>
4583 * gst/gstregistryxml.c: (read_string):
4584 Avoid strdup. (will happen in libxml, but hey!)
4589 2006-07-05 Wim Taymans <wim@fluendo.com>
4591 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4592 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4594 No point in checking if the size of the subbuffer > 0, the
4595 code handles it correclty as demonstrated by unit test.
4596 Also add a unit test for the zero sized _new_and_alloc and
4597 _copy. Fixes #346663.
4599 2006-07-05 Wim Taymans <wim@fluendo.com>
4601 * libs/gst/base/gstbasetransform.c:
4602 (gst_base_transform_prepare_output_buffer),
4603 (gst_base_transform_buffer_alloc),
4604 (gst_base_transform_handle_buffer):
4605 Make sure the buffer we pass to transform_ip has a refcount of
4606 1 and thus is writable. Fixes #343196
4608 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
4610 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4611 (gst_file_src_init), (gst_file_src_set_property),
4612 (gst_file_src_get_property), (gst_file_src_map_region):
4613 * plugins/elements/gstfilesrc.h:
4614 Add "sequential" property, off by default, to use madvise and hint
4615 to the kernel that sequential access is desired.
4616 Touch all retrieved pages by default to ensure they are pulled
4617 into memory. (Closes #345720)
4619 2006-07-03 Wim Taymans <wim@fluendo.com>
4621 * docs/design/part-block.txt:
4622 * docs/design/part-dynamic.txt:
4625 2006-07-03 Wim Taymans <wim@fluendo.com>
4627 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4628 (gst_caps_unref), (gst_static_caps_get),
4629 (gst_caps_append_structure):
4630 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4631 Use GSlice when the glib we build against is >= 2.10
4633 2006-07-03 Wim Taymans <wim@fluendo.com>
4635 * gst/gstelement.c: (gst_element_pads_activate):
4636 Small cleanup in pad activation code.
4638 2006-07-03 Wim Taymans <wim@fluendo.com>
4640 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4642 * gst/gst-i18n-app.h:
4643 * gst/gst-i18n-lib.h:
4644 * tools/gst-inspect.c: (print_signal_info):
4645 The attached patch will make the inclusion of gettext.h unconditional in
4646 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4647 libintl.h in tools/gst-inspect.c.
4648 This allows use of --disable-nls again and fixes #344642.
4650 2006-07-03 Edward Hervey <edward@fluendo.com>
4652 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4653 Implement pad blocking on events according to part-block.txt.
4654 More comments on behaviour.
4655 * tests/check/gst/gstevent.c: (test_event):
4656 Send event to peer pad of blocked pad (else it will block).
4658 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4660 * libs/gst/check/gstcheck.c: (gst_check_message_error),
4661 (gst_check_run_suite):
4662 if we get the wrong message, give us the types as string
4663 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4665 * tests/check/elements/filesrc.c: (GST_START_TEST):
4666 add a test for trying to open a non-existing file
4668 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4670 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4671 add a test for adding self
4673 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4675 * libs/gst/check/gstcheck.h:
4676 add some assert_ as alias for fail_unless_*
4677 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4678 increase test coverage
4680 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4683 include lcov.mak for lcov coverage generation
4684 * tools/Makefile.am:
4687 2006-07-02 Edward Hervey <edward@fluendo.com>
4689 * tests/check/elements/.cvsignore:
4692 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4695 don't set CFLAGS and friends for gcov, done from GST_GCOV now
4696 * tests/check/Makefile.am:
4699 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4701 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
4702 remove gst_caps_simplify; it was not declared and not used
4703 and deprecated in 0.8
4705 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4707 * docs/faq/gst-uninstalled:
4708 don't put empty paths on PYTHONPATH
4709 * docs/gst/gstreamer-sections.txt:
4710 remove some symbols that are not there
4712 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4714 * gst/gstcaps.c: (gst_caps_compare_structures):
4716 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4717 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4720 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4722 * libs/gst/dataprotocol/Makefile.am:
4723 build dataprotocol test by linking to the lib, instead of
4724 compiling the source, so we get coverage
4725 * tests/check/Makefile.am:
4726 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
4727 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
4728 add a test for filesrc
4730 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4732 * tests/check/gst/gststructure.c: (GST_START_TEST),
4733 (gst_structure_suite):
4734 Push coverage from 59.04% to 70.00%
4736 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4738 * tests/check/Makefile.am:
4739 gst-inspect every element; this makes sure that we also get
4740 coverage on element's get/set functions
4742 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4745 set CFLAGS and friends to -O0 if gcov is being used
4748 * libs/gst/base/Makefile.am:
4749 * libs/gst/check/Makefile.am:
4750 * libs/gst/controller/Makefile.am:
4751 * libs/gst/dataprotocol/Makefile.am:
4752 * libs/gst/net/Makefile.am:
4753 * plugins/elements/Makefile.am:
4754 * plugins/indexers/Makefile.am:
4755 add makefile rules to generate gcov data and clean up
4756 * tests/check/Makefile.am:
4757 add a coverage target that generates an html overview
4760 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4762 * tests/check/elements/fakesink.c:
4763 * tests/check/elements/fakesrc.c:
4764 * tests/check/elements/fdsrc.c:
4765 * tests/check/elements/identity.c:
4766 * tests/check/generic/sinks.c: (gst_sinks_suite):
4767 * tests/check/generic/states.c:
4768 * tests/check/gst/gst.c:
4769 * tests/check/gst/gstabi.c:
4770 * tests/check/gst/gstbin.c:
4771 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
4772 * tests/check/gst/gstbus.c: (gst_bus_suite):
4773 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4774 * tests/check/gst/gstelement.c:
4775 * tests/check/gst/gstevent.c: (gst_event_suite):
4776 * tests/check/gst/gstghostpad.c:
4777 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
4778 * tests/check/gst/gstmessage.c: (gst_message_suite):
4779 * tests/check/gst/gstminiobject.c:
4780 * tests/check/gst/gstobject.c:
4781 * tests/check/gst/gstpad.c:
4782 * tests/check/gst/gstpipeline.c:
4783 * tests/check/gst/gstplugin.c:
4784 * tests/check/gst/gstquery.c: (gst_query_suite):
4785 * tests/check/gst/gstsegment.c: (gst_segment_suite):
4786 * tests/check/gst/gststructure.c:
4787 * tests/check/gst/gstsystemclock.c:
4788 * tests/check/gst/gsttag.c:
4789 * tests/check/gst/gsttask.c: (gst_task_suite):
4790 * tests/check/gst/gstutils.c:
4791 * tests/check/gst/gstvalue.c:
4792 * tests/check/libs/adapter.c:
4793 * tests/check/libs/basesrc.c:
4794 * tests/check/libs/collectpads.c:
4795 * tests/check/libs/controller.c:
4796 * tests/check/libs/gdp.c: (gst_dp_suite):
4797 * tests/check/libs/gstnetclientclock.c:
4798 * tests/check/libs/gstnettimeprovider.c:
4799 * tests/check/libs/libsabi.c: (libsabi_suite):
4800 * tests/check/libs/typefindhelper.c:
4801 * tests/check/pipelines/cleanup.c:
4802 * tests/check/pipelines/parse-launch.c:
4803 * tests/check/pipelines/simple-launch-lines.c:
4804 * tests/check/pipelines/stress.c: (stress_suite):
4807 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4809 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
4810 * libs/gst/check/gstcheck.h:
4811 create a macro and function so that the simple unit test
4812 case can be just one macro to create main()
4814 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
4816 * gst/gstbin.c: (gst_bin_restore_thyself):
4817 * gst/gstxml.c: (gst_xml_make_element):
4818 Fix deserialisation from XML. Set parent manually
4819 instead of using gst_bin_add(), since gst_bin_add()
4820 will unlink all pads of the element being added.
4823 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
4825 Patch by: Peter Kjellerstedt <pkj at axis com>
4827 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
4828 Fix missing g_strdup() and double free when using the
4829 --gst-plugin-load command line option (#346097).
4831 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
4834 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
4836 * libs/gst/net/gstnetclientclock.c:
4837 * libs/gst/net/gstnettimeprovider.c:
4838 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
4840 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
4842 * docs/manual/advanced-dataaccess.xml:
4843 Fix buffer probe example compilation in
4846 2006-06-22 Edward Hervey <edward@fluendo.com>
4848 * gst/gstelement.c: (gst_element_pads_activate):
4849 We need to deactivate src pads first and then sink pads.
4850 The reason is the src pads might be blocking while holding the streaming
4851 lock, so we need to deactivate them first so that deactivating the sink
4852 pads doesn't block (since it will require the streaming lock).
4854 2006-06-22 Wim Taymans <wim@fluendo.com>
4856 * libs/gst/base/gstbasetransform.c:
4857 (gst_base_transform_buffer_alloc):
4858 Forgot to remove two unneeded unrefs.
4859 Simplify a check _is_equal allready checks the obvious case.
4861 2006-06-22 Wim Taymans <wim@fluendo.com>
4863 * docs/design/part-block.txt:
4864 Some docs about what pad_block should do.
4866 2006-06-22 Wim Taymans <wim@fluendo.com>
4868 * gst/gstcaps.c: (gst_caps_replace):
4869 Fix crasher when passed NULL. Doc clarification.
4870 Optimize for the trivial case.
4872 * gst/gstpipeline.c: (gst_pipeline_change_state):
4875 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4876 Small documentation cleanup.
4878 * libs/gst/base/gstbasetransform.c:
4879 (gst_base_transform_buffer_alloc):
4880 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
4881 is what we need and it avoids a whole lot of redundant
4882 refcount operations.
4884 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
4886 Patch by: Philip Jägenstedt <philip at lysator liu se>
4888 * docs/manual/advanced-dataaccess.xml:
4889 Fix 'Embedding static elements' section to use
4890 GST_PLUGIN_DEFINE_STATIC (#345607).
4892 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4894 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
4895 Attempt to 'fix' spuriously failing test case: it seems like the
4896 timeout of half a second is simply too small when the system is under
4897 load otherwise, and the timeout doesn't really seem to serve any
4898 particular purpose here. Give the pipeline a few seconds to preroll
4899 first, and then give it another half a second to go from PAUSED to
4900 PLAYING and marshal the message into the main thread.
4902 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4904 * tools/gst-feedback-m.m:
4905 Don't only use unversioned tools, try versioned tools as well
4908 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4910 * gst/gstbus.c: (gst_bus_class_init):
4911 Fix some typos, make docs more explicit.
4913 2006-06-20 Wim Taymans <wim@fluendo.com>
4915 * tests/check/gst/gstghostpad.c: (block_callback),
4916 (GST_START_TEST), (gst_ghost_pad_suite):
4917 Added some more ghostpad tests, mainly blocking
4920 2006-06-16 Wim Taymans <wim@fluendo.com>
4922 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4923 (gst_file_sink_close_file), (gst_file_sink_do_seek),
4924 (gst_file_sink_event), (gst_file_sink_render):
4925 * plugins/elements/gstfilesink.h:
4926 Check if we can seek in the file instead of assuming
4927 we always can. Post an error when we are asked to seek in a
4928 non-seekable file (like a fifo). Fixes #343312.
4931 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
4933 * tools/gst-launch.1.in:
4934 Un-garble (fourcc) bit in filtered caps section.
4936 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
4938 * docs/manual/advanced-autoplugging.xml:
4939 * docs/manual/basics-helloworld.xml:
4940 * docs/manual/highlevel-components.xml:
4941 Don't leak bus reference in sample code.
4943 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
4946 Add default for new --enable-plugin-docs switch.
4949 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
4953 Use new ENABLE_PLUGIN_DOCS conditional.
4955 2006-06-14 Wim Taymans <wim@fluendo.com>
4957 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
4958 Make it clear with a FIXME and a real define what the #if 0
4959 previously disabled.
4961 2006-06-14 Wim Taymans <wim@fluendo.com>
4963 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4964 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
4965 * libs/gst/base/gstbasetransform.c:
4966 (gst_base_transform_sink_eventfunc):
4967 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
4968 Don't randomly and silently reset a segment when the format
4969 changes as this is a bug somewhere upstream. Fixes #330379.
4971 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
4973 Patch by: Wouter Paesen <wouter at kangaroot net>
4975 * libs/gst/controller/gstcontroller.c:
4976 (gst_controlled_property_new):
4977 Fix controlling of float properties (#344849).
4979 * tests/check/libs/controller.c:
4980 (gst_test_mono_source_get_property),
4981 (gst_test_mono_source_set_property),
4982 (gst_test_mono_source_class_init), (GST_START_TEST):
4983 While we're at it, add some float stuff to unit test.
4985 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
4988 * docs/images/gdp-header.svg:
4990 * docs/libs/Makefile.am:
4991 * docs/libs/gdp-header.png:
4992 * libs/gst/dataprotocol/dataprotocol.c:
4993 add it to the API docs
4994 * docs/manual/intro-motivation.xml:
4997 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
4999 * gst/gst.c: (scan_and_update_registry), (init_post):
5000 If the fork()'ed child process can't write the updated registry cache
5001 file to disk for some reason, make it exit with a failure exit code,
5002 so that the parent can then re-scan the plugins itself and update the
5003 registry structures in memory and work with that (rather than failing
5004 when creating elements because seemingly no plugins are available).
5005 Refactor registry scanning code into separate function for this and
5006 also separate fork() and non-fork() code paths. Fixes #344748.
5008 2006-06-13 Wim Taymans <wim@fluendo.com>
5010 * docs/manual/advanced-dataaccess.xml:
5011 Fix wrong PluginDesc. Fixes #344755.
5013 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5015 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5016 Fix silly bug that prevented us from creating
5017 ~/.gstreamer-0.10 and writing the registry in one
5018 go (the first call to g_mkstemp() would overwrite the
5019 placeholder in the template string, so the second call
5020 to g_mkstemp() after creating the missing directory
5021 would then error out with 'invalid argument').
5023 2006-06-13 Edward Hervey <edward@fluendo.com>
5025 * gst/gst.c: (init_post):
5028 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5030 * gst/glib-compat-private.h:
5031 * gst/glib-compat.c:
5032 * gst/glib-compat.h:
5033 * gst/gstvalue.c: (gst_value_serialize_flags):
5034 remove GLib 2.6 compatibility code
5036 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
5038 * gst/parse/Makefile.am:
5039 Fix build with 'make -j N' even more (#340016).
5041 2006-06-12 Wim Taymans <wim@fluendo.com>
5043 * docs/gst/gstreamer-sections.txt:
5046 2006-06-12 Wim Taymans <wim@fluendo.com>
5048 * gst/gstsegment.c: (gst_segment_set_duration),
5049 (gst_segment_set_last_stop), (gst_segment_set_seek),
5050 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5051 (gst_segment_to_running_time), (gst_segment_clip):
5052 Use G_UNLIKELY to help the compiler a bit.
5054 2006-06-12 Wim Taymans <wim@fluendo.com>
5056 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5058 * gst/gstevent.c: (gst_event_get_type):
5060 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5062 constify quark registration strings. Fixes #344115
5063 Avoid unneeded type checking is _pad_push() by internally
5064 calling gst_pad_chain_unchecked().
5066 2006-06-12 Wim Taymans <wim@fluendo.com>
5068 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5069 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5070 (gst_subbuffer_finalize), (gst_buffer_create_sub),
5071 (gst_buffer_is_span_fast), (gst_buffer_span):
5072 Init _type for consistency.
5073 Use _FLAGS macro to avoid type check.
5074 Avoid unneeded type checks in subbufer code.
5076 2006-06-12 Wim Taymans <wim@fluendo.com>
5078 * gst/gst.c: (gst_debug_help):
5079 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5080 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5081 (gst_plugin_feature_list_free):
5082 * gst/gstregistry.c: (gst_registry_add_plugin),
5083 (gst_registry_add_feature), (gst_registry_plugin_filter),
5084 (gst_registry_feature_filter), (gst_registry_find_plugin),
5085 (gst_registry_find_feature), (gst_registry_get_plugin_list),
5086 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5087 * gst/gstregistryxml.c: (load_feature),
5088 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5089 * gst/gstminiobject.c: (gst_mini_object_unref),
5090 (gst_mini_object_replace), (gst_value_mini_object_free),
5091 (gst_value_mini_object_copy):
5092 Use _CAST macros to avoid unneeded type checking.
5093 Added some more G_UNLIKELY.
5095 2006-06-12 Wim Taymans <wim@fluendo.com>
5098 Avoid unneeded type checking.
5099 API: GST_BUFFER_IS_DISCONT
5101 * gst/gstminiobject.h:
5102 Avoid type check in flag accessor.
5104 * gst/gstelementfactory.h:
5106 * gst/gstpluginfeature.h:
5108 API: GST_ELEMENT_FACTORY_CAST
5109 API: GST_PLUGIN_CAST
5110 API: GST_PLUGIN_FEATURE_CAST
5112 2006-06-12 Wim Taymans <wim@fluendo.com>
5114 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5116 Add G_UNLIKELY in type registration.
5117 Avoid type check in _ref/_unref since that is also
5120 2006-06-12 Wim Taymans <wim@fluendo.com>
5122 * gst/gsterror.c: (gst_g_error_get_type):
5123 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5124 (gst_static_pad_template_get_type):
5125 * gst/gsttaglist.c: (gst_tag_list_get_type):
5126 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5127 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5128 * gst/gsturi.c: (gst_uri_handler_get_type):
5129 * gst/gstvalue.c: (gst_date_get_type):
5130 * gst/gstxml.c: (gst_xml_get_type):
5131 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5132 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5133 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5134 Add G_UNLIKELY in type registration.
5136 2006-06-12 Wim Taymans <wim@fluendo.com>
5138 * tools/gst-inspect.c: (print_signal_info):
5139 Properly print enum values.
5141 2006-06-12 Wim Taymans <wim@fluendo.com>
5143 * gst/gstinfo.c: (gst_debug_set_active),
5144 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5146 Add some G_[UN]LIKELY.
5147 Maintain __gst_debug_min to avoid formatting the arguments of
5148 debug messages that will be dropped anyway to avoid a lot of
5149 overhead from the debugging system.
5151 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5155 add missing files containing translatable strings, tell intltool about
5158 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5160 * tests/check/libs/.cvsignore:
5161 add test-binary to ignore list
5163 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5165 * docs/libs/gstreamer-libs-docs.sgml:
5166 reorder (put dp into a chapter) and indent
5168 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5173 === release 0.10.8 ===
5175 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5178 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5180 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5182 * gst/gst.c: (init_post):
5183 move pid declaration to declaration block
5185 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5187 * gst/gst.c: (init_post):
5188 use _exit() instead of exit() in our forked child; this ensures
5189 that none of the registered exit handlers from whatever is using
5190 GStreamer get executed. This fixes gnome-mixer-applet failing
5191 to load, because ORBit would shut down.
5192 Spotted by: Edward Hervey <edward@fluendo.com>
5193 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
5196 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5201 === release 0.10.7 ===
5203 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5206 releasing 0.10.7, "Soepeke, ik zie ou"
5208 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
5231 * win32/common/config.h:
5234 2006-06-07 Wim Taymans <wim@fluendo.com>
5236 * gst/gstindex.c: (gst_index_gtype_resolver):
5237 * tools/gst-xmlinspect.c: (print_plugin_info):
5238 Fix leak spotted by coverity checker. Fixes #343827
5239 Fix another other leak found by paolo borelli.
5241 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5243 * libs/gst/dataprotocol/dataprotocol.c:
5244 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5245 (gst_dp_version_get_type), (gst_dp_init),
5246 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5247 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5248 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5249 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5250 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5251 (gst_dp_packetizer_free):
5252 * libs/gst/dataprotocol/dataprotocol.h:
5253 API: add a GstDPPacketizer object, and create/free functions
5254 API: add GstDPVersion enum
5255 Add 1.0 event function that uses the string serialization
5256 Serialize more useful buffer flags
5259 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5261 * tests/check/Makefile.am:
5262 * tests/check/gst/gstabi.c:
5263 * tests/check/gst/struct_ppc64.h:
5264 * tests/check/libs/libsabi.c:
5265 * tests/check/libs/struct_ppc64.h:
5266 add ppc64 structure sizes
5268 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5270 * tests/check/Makefile.am:
5271 * tests/check/gst/gstabi.c:
5272 * tests/check/gst/struct_x86_64.h:
5273 * tests/check/libs/libsabi.c:
5274 * tests/check/libs/struct_x86_64.h:
5275 generate and add structure size lists for x86_64
5277 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5279 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5280 * libs/gst/check/gstcheck.h:
5281 factor out the method from tests that checks size of structures,
5282 and add code to generate the header containing these sizes
5283 * tests/check/gst/gstabi.c: (GST_START_TEST):
5284 * tests/check/gst/struct_i386.h:
5285 * tests/check/libs/libsabi.c: (GST_START_TEST):
5286 * tests/check/libs/struct_i386.h:
5289 2006-06-06 Michael Smith <msmith@fluendo.com>
5292 Don't use c++-style comments, fixes #343929
5294 2006-06-05 Edward Hervey <edward@fluendo.com>
5297 plugin_paths is not used if we build without registry support.
5299 * gst/gstsegment.c: (gst_segment_copy):
5300 _copy() was always returning NULL...
5302 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5304 * libs/gst/dataprotocol/dataprotocol.c:
5305 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5306 (gst_dp_packet_from_event):
5309 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5311 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5312 make sure we unset caps
5314 2006-06-02 Michael Smith <msmith@fluendo.com>
5316 * libs/gst/check/gstcheck.c: (gst_check_init),
5317 (gst_check_chain_func):
5318 * libs/gst/check/gstcheck.h:
5319 Add a cond/mutex to the check support lib, signal this whenever we
5320 add to the buffers list. This will allow tests to not busy-wait on
5323 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5325 * libs/gst/dataprotocol/dataprotocol.c:
5326 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5327 (gst_dp_packet_from_event):
5328 factor out some common header init code
5330 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5332 * docs/libs/gstreamer-libs-sections.txt:
5333 * docs/libs/tmpl/gstdataprotocol.sgml:
5334 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5335 * libs/gst/dataprotocol/dataprotocol.h:
5336 API: make gst_dp_crc() public
5338 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5340 * plugins/indexers/gstindexers.c: (plugin_init):
5341 conditionally register fileindexer (fixes #343598)
5343 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5345 * gst/gsttagsetter.h:
5346 Can't cast ifaces to a class
5348 * libs/gst/net/gstnetclientclock.h:
5349 * libs/gst/net/gstnettimeprovider.h:
5350 * plugins/elements/gstfakesink.h:
5351 * plugins/elements/gstfakesrc.h:
5352 * plugins/elements/gstfdsink.h:
5353 * plugins/elements/gstfdsrc.h:
5354 * plugins/elements/gstfilesink.h:
5355 * plugins/elements/gstfilesrc.h:
5356 * plugins/elements/gstidentity.h:
5357 * plugins/elements/gstqueue.h:
5358 * plugins/elements/gsttee.h:
5359 * plugins/indexers/gstfileindex.c:
5360 * plugins/indexers/gstmemindex.c:
5361 * tests/old/examples/plugins/example.h:
5362 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5364 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
5366 * libs/gst/dataprotocol/dataprotocol.c:
5367 (gst_dp_header_from_buffer):
5368 make sure we zero the whole ABI-compatible area
5370 2006-06-01 Wim Taymans <wim@fluendo.com>
5372 Patch by: Alessandro Decina <alessandro at nnva dot org>
5374 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5375 Make sure the EOS flag is cleared from pads after a flush
5376 or stop. Fixes #343538.
5378 * tests/check/libs/collectpads.c: (GST_START_TEST),
5379 (gst_collect_pads_suite):
5380 Added test for collectpads reusage after EOS.
5382 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
5385 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5386 * win32/common/libgstbase.def:
5387 export gst_collect_pads_set_flushing
5388 * win32/common/libgstreamer.def:
5389 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5390 gst_value_fraction_multiply
5391 * win32/vs6/gst_inspect.dsp:
5392 add a link to intl.lib
5394 2006-05-30 Wim Taymans <wim@fluendo.com>
5396 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5397 (gst_collect_pads_chain):
5398 Handle the case where a pad is removed from the collection
5399 that could cause the other pads to become collectable.
5401 2006-05-30 Wim Taymans <wim@fluendo.com>
5404 Clarify the use of _release_request_pad() and
5405 _get_request_pad() a bit better.
5407 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5408 (gst_adapter_take_buffer):
5409 Fix some doc and comment typos.
5411 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5413 * docs/gst/gstreamer-sections.txt:
5414 * docs/libs/gstreamer-libs-sections.txt:
5415 add declared symbols
5417 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
5419 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5420 Add debug that can be enabled using a #define at the top of the file,
5421 for dumping stats about how late/early we were when waking up from
5422 waiting on the clock.
5424 2006-05-30 Wim Taymans <wim@fluendo.com>
5426 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5427 When rebuilding the pad list, don't leak the previous list.
5429 2006-05-30 Wim Taymans <wim@fluendo.com>
5431 Patch by: Lutz Mueller <lutz at topfrose dot de>
5433 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5434 (gst_base_src_get_query_types), (gst_base_src_update_length):
5435 Publish supported query types.
5436 Update last_stop field in get_range mode so the position
5437 query works. Fixes #342321.
5439 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
5441 * docs/gst/gstreamer-sections.txt:
5442 * gst/gsttaglist.c: (_gst_tag_initialize):
5444 API: add GST_TAG_PREVIEW_IMAGE (#343341).
5446 2006-05-30 Wim Taymans <wim@fluendo.com>
5448 Patch by: Alessandro Decina <alessandro at nnva dot org>
5450 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5451 Unlock mutex when removing an unknown pad.
5454 * tests/check/Makefile.am:
5455 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5456 (push_event), (setup), (teardown), (GST_START_TEST),
5457 (gst_collect_pads_suite), (main):
5458 Added collecpads check, disabled for now as check crashes for
5461 2006-05-29 Wim Taymans <wim@fluendo.com>
5463 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5464 Don't leak pads lists.
5466 2006-05-29 Wim Taymans <wim@fluendo.com>
5468 * docs/libs/gstreamer-libs-sections.txt:
5469 * libs/gst/base/gstcollectpads.c:
5470 (gst_collect_pads_set_flushing_unlocked),
5471 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5472 (gst_collect_pads_stop):
5473 * libs/gst/base/gstcollectpads.h:
5474 API: gst_collect_pads_set_flushing()
5475 Added api to set the pads to flushing, useful for seeking
5476 code in elements using collectpads.
5477 Clear segment when receiving a flush.
5479 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
5481 * gst/gst.c: (add_path_func), (init_post):
5482 Don't scan registry paths passed via --gst-plugin-path immediately
5483 (will crash, because absolutely nothing is set up and no types are
5484 registered etc.); do this later in init_post(). Fixes #343057.
5486 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
5488 * gst/gst.c: (init_post):
5489 if we have fork, fork while reading/rebuilding the registry
5490 so the parent doesn't take the hit of having all plugins loaded
5491 in memory. Fixes #342777.
5493 Check if we have fork()
5494 * win32/common/config.h.in:
5497 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5499 * plugins/elements/gstelements.c:
5500 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5501 (gst_file_src_init), (gst_file_src_set_property),
5502 (gst_file_src_get_property), (gst_file_src_start):
5503 * plugins/elements/gstfilesrc.h:
5504 API: GstFileSrc::use-mmap
5506 Add a use-mmap property to enable easier testing of all code paths.
5507 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5508 in the absence of gnomevfssrc. (Closes #340501)
5510 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5512 * tools/gst-inspect.c:
5513 Add missing include, removes warning of ngettext not being defined on
5516 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5518 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5519 Handle NULL input and output pointers silently as a failed conversion,
5520 rather than g_warnings.
5522 2006-05-25 Wim Taymans <wim@fluendo.com>
5524 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5525 Initialize variable before using. Fixes #342820.
5527 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
5529 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5530 Fix off-by-one bug that would only allow peeks of N-1 bytes
5531 from the start even if the buffer to typefind on contains
5532 in fact N bytes of data (makes vorbis typefinding from a
5533 vorbis identification header buffer work).
5535 * tests/check/Makefile.am:
5536 * tests/check/libs/.cvsignore:
5537 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5538 (gst_typefindhelper_suite), (main), (foobar_typefind),
5540 Add very basic unit test for gst_type_find_helper_for_buffer()
5541 that checks for the problem fixed above.
5543 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
5545 * tools/gst-inspect.c: (print_interfaces),
5546 (print_element_properties_info), (print_element_list), (main):
5547 add more translatable strings
5549 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
5551 Patch by: Julien Moutte <julien at moutte net>
5553 * docs/gst/gstreamer-sections.txt:
5554 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5556 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5557 (gst_fake_sink_preroll):
5558 * plugins/elements/gstfakesink.h:
5559 API: Add new GstFakeSink::preroll-handoff signal (#337100).
5561 2006-05-23 Wim Taymans <wim@fluendo.com>
5563 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5565 Added _CUSTOM error and success GstFlowReturn that can be
5566 used be elements internally.
5567 Added macro to check for SUCCESS flowreturns.
5568 API: GST_FLOW_CUSTOM_SUCCESS
5569 API: GST_FLOW_CUSTOM_ERROR
5570 API: GST_FLOW_IS_SUCCESS
5572 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5573 Added check for GstFlowReturn sanity.
5575 2006-05-23 Wim Taymans <wim@fluendo.com>
5577 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5579 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5580 (gst_collect_pads_event):
5581 clear/reset segment info in FLUSH_STOP.
5584 2006-05-22 Stefan Kost <ensonic@users.sf.net>
5586 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5587 (gst_collect_pads_check_collected):
5588 Flush queued buffer on _stop(), fixes playing again (#342454)
5590 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
5592 * tests/check/gst/gststructure.c: (GST_START_TEST),
5593 (gst_structure_suite):
5594 add a test for a complete structure
5596 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5598 * docs/faq/developing.xml:
5600 * docs/faq/troubleshooting.xml:
5601 * docs/faq/using.xml:
5602 Some minor FAQ updates that won't change the fact that
5603 our FAQ is badly structured, full of information hardly
5604 anyone new to GStreamer needs to know and lacking lots
5605 of information people constantly ask for.
5607 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
5609 * gst/gstpad.c: (gst_pad_set_caps):
5610 Short-circuit gst_pad_set_caps if setting the existing
5611 caps pointer again, and avoid printing debug and
5612 reffing/unreffing the caps.
5614 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5615 There's actually no need to set the caps before pushing -
5616 the acceptcaps method will handle it anyway.
5618 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5620 * docs/gst/gstreamer-sections.txt:
5621 * win32/common/libgstreamer.def:
5622 * gst/gstutils.c: (gst_element_seek_simple):
5624 API: add gst_element_seek_simple() (#342238).
5626 2006-05-18 Edward Hervey <edward@fluendo.com>
5628 * gst/gsttypefind.c: (gst_type_find_get_type):
5629 * gst/gsttypefind.h:
5630 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5631 registered for GstTypeFind pointers. This allows wrapping the structure
5632 in bindings (i.e. gst-python).
5634 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5636 * gst/gsttagsetter.c:
5637 Docs additions and fixes (see #339918).
5639 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
5641 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5642 The caps intersection algorithm can produce multiple copies of the
5643 caps. Until that is fixed, we need to simplify the result to be
5644 sure whether the allowed caps are fixed or not.
5646 * plugins/elements/gstqueue.c: (gst_queue_init),
5647 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5648 (gst_queue_push_one):
5649 Proxied buffer alloc should not set the caps on the source pad.
5650 When pushing buffers, we always accept the caps change that triggers.
5651 This prevents negotiation errors caused by caps changing mid-stream
5652 and then being refused on our source pad (because upstream is now
5653 refusing those caps).
5655 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5657 * tests/examples/helloworld/helloworld.c: (main):
5658 Must plug audioconvert and audioresample between decoder
5661 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
5663 * gst/gstregistryxml.c: (read_string), (load_pad_template),
5664 (load_feature), (load_plugin):
5665 Allow empty strings for some of the plugin fields so we don't
5666 drop valid plugin entries that were written out correctly
5669 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
5671 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5672 Use g_remove and g_rename instead of remove and rename that don't
5673 handle utf8 characters. rename was failing for users who had specific
5674 characters in their name then the registry was built at each
5676 * win32/vs6/gst_inspect.dsp:
5677 * win32/vs6/gst_launch.dsp:
5678 * win32/vs6/libgstbase.dsp:
5679 * win32/vs6/libgstcoreelements.dsp:
5680 * win32/vs6/libgstreamer.dsp:
5681 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
5682 build of libgstreamer and clean unused libraries in projects link
5685 2006-05-17 Edward Hervey <edward@fluendo.com>
5687 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5688 The queue is not responsible for pushing an EOS when receiving a fatal
5689 flow error. It's up to the real element driving the pipeline to do that.
5691 2006-05-16 Edward Hervey <edward@fluendo.com>
5693 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5694 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
5695 buffer returned a fatal error. It should just send an EOS and stop
5697 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
5698 when pushing buffers on the queue and will be able to handle the event.
5700 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
5702 * docs/manual/basics-bins.xml:
5703 * docs/manual/basics-init.xml:
5704 Fix typos and minor errors in sample code (#341856).
5706 2006-05-16 Wim Taymans <wim@fluendo.com>
5708 * docs/design/part-qos.txt:
5709 Fix indexes in formulas to make more sense.
5711 2006-05-15 Wim Taymans <wim@fluendo.com>
5713 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5714 Don't report POSITION based on clock time if sync is
5717 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
5720 Add cast to make compiler happy - refcount variable was a gint
5721 in GstObject but is a guint in GObject and g_atomic_int_get()
5724 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
5726 * gst/parse/Makefile.am:
5727 chain commands using &&, which also makes parallel make work
5729 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
5731 * docs/gst/gstreamer-sections.txt:
5737 === release 0.10.6 ===
5739 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
5742 releasing 0.10.6, "Take the cannoli"
5744 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
5746 * tools/gst-launch.c: (print_tag):
5747 Fix use of uninitialized variable in the hypothetical
5748 case that some broken plugin creates a GST_TAG_IMAGE
5749 tag containing a NULL buffer (#341667).
5751 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
5753 * tools/gst-launch.c: (print_tag):
5754 Print something more intelligible for image tags when
5755 using the -t switch (#341556).
5757 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
5762 define GST_MAJORMINOR so we have it available in win32/common/config.h
5763 Possibly remove it from our Makefile.am files later
5764 * win32/common/config.h:
5765 * win32/common/config.h.in:
5766 added GST_MAJORMINOR
5767 * win32/common/gstenumtypes.c: (register_gst_resource_error):
5768 * win32/common/gstversion.h:
5771 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
5774 Update win32 files listing.
5775 * win32/common/gstversion.h:
5776 Add GST_MAJORMINOR definition.
5777 * win32/common/libgstreamer.def:
5778 Add new exported functions.
5780 2006-05-12 Michael Smith <msmith@fluendo.com>
5782 * gst/gstplugin.c: (gst_plugin_load_file):
5783 If an so file has no plugin entry point, unload the module.
5785 2006-05-11 Wim Taymans <wim@fluendo.com>
5787 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
5788 (gst_queue_set_property):
5789 Don't forget to signal the _chain or _loop function
5790 when the queue size or thresholds change since that might
5791 cause them to make progres again.
5793 2006-05-11 Stefan Kost <ensonic@users.sf.net>
5795 * gst/gstclock.c: (gst_clock_class_init):
5796 * gst/gstindex.c: (gst_index_class_init):
5797 * gst/gstobject.c: (gst_object_class_init):
5798 * gst/gstpad.c: (gst_pad_class_init):
5799 * gst/gstpipeline.c: (gst_pipeline_class_init):
5800 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5801 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
5802 * libs/gst/base/gstbasetransform.c:
5803 (gst_base_transform_class_init):
5804 * libs/gst/net/gstnetclientclock.c:
5805 (gst_net_client_clock_class_init):
5806 * libs/gst/net/gstnettimeprovider.c:
5807 (gst_net_time_provider_class_init):
5808 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
5809 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5810 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5811 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
5812 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
5813 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5814 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5815 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5816 * plugins/elements/gsttee.c: (gst_tee_class_init):
5817 * tests/old/examples/plugins/example.c: (gst_example_class_init):
5818 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
5819 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
5821 2006-05-11 Wim Taymans <wim@fluendo.com>
5823 * gst/gstbuffer.c: (_gst_buffer_initialize):
5824 Register subbufer along with the buffer type so that
5825 it does not accidentally gets registered from N
5826 different streaming threads in a non threadsafe way.
5828 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
5833 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
5834 gst_event_ref() and gst_message_ref() functions again
5835 (ugly hack, please do fix if there's a better way besides
5836 overrides.txt, which doesn't seem to work).
5838 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5840 * libs/gst/check/gstcheck.h:
5841 add an assert for setting state to avoid lots of repetitive code
5844 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5846 * gst/gstvalue.c: (gst_value_serialize_flags):
5847 fix a leak if no flags are set
5848 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5851 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
5853 * docs/manual/basics-pads.xml:
5854 Expand a bit on caps and filtered links and update
5855 examples that were still using the no longer existing
5856 gst_pad_link_filtered() (#338206).
5858 2006-05-10 Wim Taymans <wim@fluendo.com>
5860 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5861 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5862 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5863 (gst_collect_pads_stop):
5864 * libs/gst/base/gstcollectpads.h:
5865 No need to call _stop in _finalize.
5866 Iterate the main pad list in _finalize.
5867 Added some more debug.
5868 Free lists and data in the right order.
5869 Also free data whem doing _remove_pad when stopped for
5870 backward compatibility protect ::started with PAD_LOCK as
5873 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5875 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
5876 (gst_structure_parse_value):
5878 rename a method so that it actually says what it does better
5880 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5882 * gst/gstevent.c: (_gst_event_initialize):
5883 * gst/gstformat.c: (_gst_format_initialize):
5884 make sure some essential types used by events are registered
5885 as part of gst_init()
5886 * gst/gstvalue.c: (gst_value_serialize_flags):
5887 if no flags are set, serialize them to a value that represents NONE
5888 so that deserializing them works
5889 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5890 add tests for serialization and deserialization of flags
5892 2006-05-10 Wim Taymans <wim@fluendo.com>
5894 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
5895 (gst_collect_pads_collect_range), (gst_collect_pads_available),
5896 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
5897 (gst_collect_pads_event), (gst_collect_pads_chain):
5900 Catch and return errors from the collect function
5901 Refuse data on eos pads.
5903 2006-05-10 Edward Hervey <edward@fluendo.com>
5905 * gst/gstinterface.h:
5906 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
5907 GInterface type checking.
5908 They were previously using non-defined macros.
5910 2006-05-09 Wim Taymans <wim@fluendo.com>
5912 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
5913 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
5914 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
5915 (gst_collect_pads_start), (gst_collect_pads_stop),
5916 (gst_collect_pads_peek), (gst_collect_pads_pop),
5917 (gst_collect_pads_available), (gst_collect_pads_read),
5918 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
5919 (gst_collect_pads_is_collected), (gst_collect_pads_event),
5920 (gst_collect_pads_chain):
5921 * libs/gst/base/gstcollectpads.h:
5922 Clean up the mess that is collectpads, add comments and
5923 FIXMEs where needed.
5924 Maintain a separate pad list so we can add pads while
5925 collecting the other ones. For this we need a new separate
5927 Fix memory leak in finalize.
5928 Refactor some weird code to set/unset pad flushing flags, mark
5930 Don't crash in _available, _read, _flush when we're EOS.
5932 * tests/check/libs/.cvsignore:
5933 Ignore adapter check binary.
5935 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5937 * gst/gstindex.c: (gst_index_resolver_get_type):
5938 * plugins/elements/gstfakesink.c:
5939 (gst_fake_sink_state_error_get_type):
5940 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5941 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
5942 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5943 Const-ify GEnumValue arrays.
5945 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5947 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5948 Add test case for flags + gst_buffer_make_metadata_writable().
5950 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5952 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
5953 gst_buffer_make_metadata_writable() should maintain the
5954 buffer flags (those that make sense at least) (see #340859).
5956 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5958 * tools/gst-inspect.c:
5959 * tools/gst-launch.c:
5960 * tools/gst-typefind.c:
5961 * tools/gst-xmlinspect.c:
5963 Fix up includes: need to include stdlib.h in tools.h for exit().
5965 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5967 * gst/gsttaglist.c: (_gst_tag_initialize):
5969 API: add GST_TAG_IMAGE tag (#340721).
5971 2006-05-08 Wim Taymans <wim@fluendo.com>
5974 Added some docs for the segment query.
5976 2006-05-08 Wim Taymans <wim@fluendo.com>
5978 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5979 (gst_base_src_loop), (gst_base_src_change_state):
5980 Always push non-flushing serialized events in the streaming
5983 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
5985 * gst/gsterror.c: (_gst_stream_errors_init):
5986 Add a missing error string.
5988 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
5990 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
5991 Add applied_rate to the debug
5993 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5994 Copy applied_rate into the outgoing NEWSEGMENT event
5996 2006-05-08 Wim Taymans <wim@fluendo.com>
5998 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6000 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6001 (gst_base_sink_change_state):
6002 call ::unlock before taking the PREROLL_LOCK so we can safely
6003 handle elements that lock in ::render.
6006 2006-05-08 Edward Hervey <edward@fluendo.com>
6008 * autogen.sh: (CONFIGURE_DEF_OPT):
6009 Darwin's libtoolize is in fact called glibtoolize.
6010 Adding glibtoolize to the list of accepted names for libtoolize.
6012 2006-05-08 Wim Taymans <wim@fluendo.com>
6014 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6015 Unify error handling, don't post an error message
6016 when a push() returns EOS but perform our normal EOS
6017 handling code. Fixes #340772.
6019 2006-05-08 Wim Taymans <wim@fluendo.com>
6021 * docs/design/part-overview.txt:
6022 Make upsteam/downstream concepts more clear.
6023 Give an example of serialized/non-serialized events.
6025 * docs/design/part-events.txt:
6026 * docs/design/part-streams.txt:
6027 Mention applied_rate.
6029 * docs/design/part-trickmodes.txt:
6030 Mention applied rate, flesh out some more use cases.
6032 * gst/gstevent.c: (gst_event_new_new_segment),
6033 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6034 (gst_event_parse_new_segment_full), (gst_event_new_tag),
6035 (gst_event_parse_tag), (gst_event_new_buffer_size),
6036 (gst_event_parse_buffer_size), (gst_event_new_qos),
6037 (gst_event_parse_qos), (gst_event_parse_seek),
6038 (gst_event_new_navigation):
6040 Add applied_rate field to NEWSEGMENT event.
6041 API: gst_event_new_new_segment_full()
6042 API: gst_event_parse_new_segment_full()
6044 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6045 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6046 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6048 Add applied_rate to GstSegment structure.
6049 Make calculation of stream_time and running_time more correct
6050 wrt rate/applied_rate.
6052 API: GstSegment::applied_rate field
6053 API: gst_segment_set_newsegment_full();
6055 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6056 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6057 * libs/gst/base/gstbasetransform.c:
6058 (gst_base_transform_sink_eventfunc),
6059 (gst_base_transform_handle_buffer):
6060 Parse and use applied_rate in the GstSegment field.
6062 * tests/check/gst/gstevent.c: (GST_START_TEST):
6063 Add check for applied_rate field.
6065 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6066 (gstsegments_suite):
6067 Add more checks for various GstSegment operations.
6069 2006-05-08 Wim Taymans <wim@fluendo.com>
6071 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6072 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6073 (gst_base_sink_get_position), (gst_base_sink_change_state):
6074 Store the sync time of the buffer end position separatly in a
6075 new variable eos_rtime so we can properly sync the EOS event.
6077 Fix the docs for gst_base_sink_set_qos_enabled().
6078 Don't set segment start to invalid value when we receive a
6079 non TIME newsegment.
6080 get closer to handling position reporting for negative rates
6083 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6086 Docs about how to print caps for debug purposes.
6088 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6089 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6091 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6094 use full enum names and preprend a '%' in docs strings to make recent
6095 gtk-doc turn that into a link
6097 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6099 * docs/manual/basics-bins.xml:
6100 * docs/manual/basics-bus.xml:
6101 * docs/manual/basics-pads.xml:
6102 Some typo fixes, some additions, some clarifications.
6104 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6106 * tools/gst-inspect.c: (main):
6107 * tools/gst-launch.c: (main):
6108 * tools/gst-run.c: (main):
6109 * tools/gst-typefind.c: (main):
6110 * tools/gst-xmlinspect.c: (main):
6111 Use the string passed to g_option_context_new() for
6112 what it's intended for - the program name is already
6115 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6117 * tools/Makefile.am:
6118 * tools/gst-inspect.c: (main):
6119 * tools/gst-launch.c: (main):
6120 * tools/gst-xmlinspect.c: (main):
6122 Add back --version command line option (#340460).
6124 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6125 Add --version option and use GOption for argument parsing; refactor a
6126 bit; accept directories as arguments and recurse into them; lastly,
6127 print a decent error message when things go wrong.
6129 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6131 * docs/manual/basics-bins.xml:
6132 Don't mention GstThread (#340611)
6133 * docs/manual/basics-elements.xml:
6134 Update link to GObject tutorial (#340607)
6136 2006-05-05 Wim Taymans <wim@fluendo.com>
6139 * gst/gstminiobject.c:
6140 Add note about refcounting and miniobject/buffer writeability
6141 to docs. Fixes #340604
6143 * gst/gstelementfactory.h:
6144 Added some explanation about @klass.
6146 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6148 * docs/manual/intro-motivation.xml:
6149 * docs/manual/manual.xml:
6150 Avoid CORBA & Bonobo references (#340598)
6152 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6154 * docs/manual/basics-bus.xml:
6155 * docs/manual/basics-pads.xml:
6156 Fix up some inaccuracies and omissions (#340609)
6158 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6160 * gst/gstghostpad.c:
6161 Small typo in docs (#340625)
6163 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6165 * gst/parse/Makefile.am:
6166 Make 'make -j' proof (see #340698).
6168 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6171 Require GLib-2.8 here as well.
6173 2006-05-05 Wim Taymans <wim@fluendo.com>
6175 * gst/glib-compat.c:
6176 * gst/gst.c: (init_pre):
6177 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6178 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6179 (gst_object_dispatch_properties_changed):
6181 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6182 * gst/gststructure.c: (gst_structure_set_valist):
6183 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6184 Remove pre glib2.8 compatibility, fixes #340508
6186 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6189 Mention type of tags in doc blurbs.
6191 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
6193 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6194 (gst_pad_configure_src), (gst_pad_push):
6195 Restore acceptcaps checking behaviour now that good plugins have
6198 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6200 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6211 * gst/parse/Makefile.am:
6212 * libs/gst/base/gstadapter.c:
6213 * libs/gst/base/gstbasesrc.c:
6214 * libs/gst/base/gstpushsrc.c:
6215 * libs/gst/base/gsttypefindhelper.c:
6216 * plugins/elements/gstfakesrc.c:
6217 * plugins/elements/gstidentity.c:
6218 Make sure gstprivate.h and/or config.h are
6219 always included first, otherwise some of our
6220 defines (like _FILE_OFFSET_BITS) might be
6221 redefined in the system headers. Fixes build
6222 on opensolaris (#340016).
6224 2006-05-04 Wim Taymans <wim@fluendo.com>
6226 * docs/libs/gstreamer-libs-sections.txt:
6227 API: addition: gst_adapter_take_buffer()
6229 * libs/gst/base/gstadapter.c: (gst_adapter_push),
6230 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6231 (gst_adapter_available_fast):
6232 * libs/gst/base/gstadapter.h:
6233 Prepare for optimizing the hell out of this hugely inefficient
6235 Added gst_adapter_take_buffer() so we can at least start thinking
6236 about subbuffering and merging.
6237 Added some comments.
6239 * tests/check/Makefile.am:
6240 * tests/check/libs/adapter.c: (GST_START_TEST),
6241 (gst_adapter_suite), (main):
6242 Added GstAdapter check.
6244 2006-05-04 Wim Taymans <wim@fluendo.com>
6246 * docs/design/part-overview.txt:
6247 Fix some typos, add blurb about buffer flags.
6249 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6251 * docs/libs/gstreamer-libs-sections.txt:
6252 make sure GstBaseTransformClass shows up in the docs
6253 * libs/gst/base/gstbasetransform.c:
6254 * libs/gst/base/gstbasetransform.h:
6255 move docs so gtk-doc picks it up now
6257 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6259 * docs/libs/gstreamer-libs-sections.txt:
6260 add missing symbols to docs
6262 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6264 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6265 back out the newsegment handling change, see #340060 for ongoing
6268 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
6270 * tools/gst-run.c: (get_candidates), (main):
6271 Fix wrong g_file_test() usage (see glib docs for why it doesn't
6272 work); fix typo in error message. Fixes #340079.
6274 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6276 * common/Makefile.am:
6278 * docs/faq/Makefile.am:
6279 * docs/gst/Makefile.am:
6280 * docs/libs/Makefile.am:
6281 * docs/manual/Makefile.am:
6282 * docs/plugins/Makefile.am:
6283 * docs/pwg/Makefile.am:
6284 * docs/slides/Makefile.am:
6286 * common/upload.mak:
6287 move upload.mak to common
6289 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6291 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6292 add more asserts on refcounts
6293 do more cleanup at end of tests
6294 fix test leaks showing in FC5
6296 2006-04-29 Stefan Kost <ensonic@users.sf.net>
6298 * plugins/elements/gsttypefindelement.c:
6299 (gst_type_find_element_handle_event):
6300 reverted wrong change and reflowed code to avoid others falling into
6303 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6305 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6306 fix changelog entry about last collectpads change,
6307 add notes about proper fix
6309 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6312 * gst/gstregistry.c: (gst_registry_scan_path_level),
6313 (gst_registry_scan_path):
6314 * gst/gstregistry.h:
6315 only write out registry if it has changed, fixes #338339
6317 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6320 * gst/gstpipeline.c:
6321 * plugins/elements/gstcapsfilter.c:
6322 * plugins/elements/gstfakesink.c:
6323 * plugins/elements/gstfakesrc.c:
6324 * plugins/elements/gstfdsink.c:
6325 * plugins/elements/gstfdsrc.c:
6326 * plugins/elements/gstfilesink.c:
6327 * plugins/elements/gstfilesrc.c:
6328 * plugins/elements/gstidentity.c:
6329 * plugins/elements/gstqueue.c:
6330 * plugins/elements/gsttee.c:
6331 * plugins/elements/gsttypefindelement.c:
6332 (gst_type_find_element_handle_event):
6333 make GstElementDetails const
6335 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6337 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6338 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6339 (gst_collect_pads_is_collected), (gst_collect_pads_event):
6340 more detailed debug and formatting cleanup,
6341 forward newsegments to src-pad (so that e.g. adder not eats them)
6343 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6345 * gst/gstutils.c: (gst_element_link_pads):
6348 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6350 * libs/gst/controller/gstcontroller.c:
6351 (gst_controller_sync_values):
6353 * tests/check/libs/controller.c: (GST_START_TEST),
6354 (gst_controller_suite):
6355 a new test for live value handling
6357 2006-04-28 Wim Taymans <wim@fluendo.com>
6359 * gst/gstutils.c: (push_and_ref):
6360 Added some more docs.
6361 Fix refcount issue whith gst_element_found_tags() helper
6362 function. Fixes #338335
6364 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6365 Added testsuite for gst_element_found_tags().
6367 2006-04-28 Michael Smith <msmith@fluendo.com>
6369 * gst/gstvalue.c: (gst_value_serialize_flags):
6370 Avoid NULL dereference when trying to serialize flags containing
6373 2006-04-28 Michael Smith <msmith@fluendo.com>
6375 * plugins/elements/gsttypefindelement.c:
6376 (gst_type_find_element_handle_event):
6377 If we get EOS before any data is accumulated, don't use
6378 uninitialised local variables.
6380 2006-04-28 Michael Smith <msmith@fluendo.com>
6382 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6383 (gst_dp_event_from_packet):
6384 Fixes in reading/writing events over GDP (not currently used?) -
6385 dereferencing NULL events for unknown/invalid event types, memory
6386 leak, and change g_warning to GST_WARNING.
6388 2006-04-28 Wim Taymans <wim@fluendo.com>
6390 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6391 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6392 (gst_base_sink_get_position), (gst_base_sink_change_state):
6393 When frame dropping is enabled, we should not ignore frames
6395 Update some documentation.
6397 2006-04-28 Wim Taymans <wim@fluendo.com>
6399 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6400 (gst_base_src_send_event), (gst_base_src_change_state):
6401 Documentation updates.
6403 2006-04-28 Wim Taymans <wim@fluendo.com>
6405 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6406 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6407 handle EAGAIN, EINTR and short writes correctly. Also clean
6408 up some error cases, avoid a deadlock on bad file descriptors and
6409 use GST_DEBUG_OBJECT.
6412 2006-04-28 Wim Taymans <wim@fluendo.com>
6414 * gst/gstvalue.c: (gst_value_serialize_buffer),
6415 (gst_value_deserialize_buffer):
6416 Don't try to serialize a GValue with a NULL buffer.
6419 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6420 Added check for serialisation of NULL buffers.
6422 2006-04-28 Wim Taymans <wim@fluendo.com>
6424 * gst/gstminiobject.c: (gst_value_take_mini_object):
6425 Taking a NULL miniobject is valid, fix the case where
6426 we try to unref the NULL miniobject.
6428 2006-04-28 Wim Taymans <wim@fluendo.com>
6430 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6432 * gst/gstbin.c: (gst_bin_handle_message_func):
6434 Don't leak bin refcount when a state recalc is
6435 in progress and we delay another one #339808.
6437 2006-04-28 Wim Taymans <wim@fluendo.com>
6439 * docs/design/part-TODO.txt:
6440 Mention QoS as an ongoing work item.
6442 * docs/design/part-buffering.txt:
6443 New doc about buffering that needs to be fleshed out
6446 * docs/design/part-qos.txt:
6447 More QoS policy for decoders/demuxers/transforms
6449 * docs/design/part-trickmodes.txt:
6452 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6457 === release 0.10.5 ===
6459 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6462 releasing 0.10.5, "Fogo"
6464 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
6466 patch by: Wim Taymans
6468 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6469 (gst_pad_configure_src), (gst_pad_push):
6470 * gst/gstpipeline.c: (gst_pipeline_init):
6471 Fix internal data flow errors. Fixes #338711.
6473 2006-04-12 Wim Taymans <wim@fluendo.com>
6475 * tests/check/gst/gstelement.c: (GST_START_TEST):
6476 Don't leak the factory.
6478 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6481 * win32/common/config.h:
6484 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
6486 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6487 (gst_controller_unset_all):
6488 Free allocated GstTimedValues when freeing list nodes.
6489 Should fix leaks 'make check-valgrind' complains about.
6491 * win32/common/libgstcontroller.def:
6492 Add gst_controller_unset_all.
6494 2006-04-11 Stefan Kost <ensonic@users.sf.net>
6496 * docs/libs/gstreamer-libs-sections.txt:
6497 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6498 (gst_controller_unset_all):
6499 * libs/gst/controller/gstcontroller.h:
6500 API: Added new method gst_controller_unset_all()
6501 fixed gst_controller_unset()
6502 * tests/check/libs/controller.c: (GST_START_TEST),
6503 (gst_controller_suite):
6504 Added two testcases for new and fixed method
6506 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
6508 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6509 MSG_DONTWAIT is not defined on Cygwin, so work
6510 around that (fixes #317048).
6512 2006-04-11 Wim Taymans <wim@fluendo.com>
6514 * gst/gstelementfactory.c: (gst_element_register),
6515 (gst_element_factory_create), (gst_element_factory_make):
6518 Updated docs (Fixes #131079)
6520 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6523 * tests/check/gst/gstelement.c: (GST_START_TEST),
6524 (gst_element_suite):
6525 Added testcase for elementfactory class field.
6527 2006-04-10 Wim Taymans <wim@fluendo.com>
6530 Added some more docs.
6532 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6533 (gst_base_sink_reset_qos):
6534 Calculate more accurate rate values.
6536 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
6538 * gst/gst_private.h:
6539 add a new #ifdef to use __declspec(dllimport) only for
6540 other modules and not for gstreamer core
6541 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6542 use gst_guint64_to_gdouble for conversion
6543 * win32/common/libgstreamer.def:
6544 add new exported functions
6545 * win32/vs6/gst_inspect.dsp:
6546 * win32/vs6/gst_launch.dsp:
6547 * win32/vs6/libgstbase.dsp:
6548 * win32/vs6/libgstcontroller.dsp:
6549 * win32/vs6/libgstcoreelements.dsp:
6550 * win32/vs6/libgstdataprotocol.dsp:
6551 * win32/vs6/libgstnet.dsp:
6552 update project files
6554 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6556 * gst/gstbuffer.c: (gst_subbuffer_class_init):
6557 * gst/gstclock.c: (gst_clock_class_init):
6558 * gst/gstelement.c: (gst_element_class_init):
6559 * gst/gstindex.c: (gst_index_class_init):
6560 * gst/gstindexfactory.c: (gst_index_factory_class_init):
6561 * gst/gstobject.c: (gst_object_class_init),
6562 (gst_signal_object_class_init):
6563 * gst/gstpad.c: (gst_pad_class_init):
6564 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6565 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6566 * gst/gstregistry.c: (gst_registry_class_init):
6567 * gst/gstsystemclock.c: (gst_system_clock_class_init):
6568 * gst/gsttask.c: (gst_task_class_init):
6569 * gst/gstxml.c: (gst_xml_class_init):
6570 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6571 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6572 (gst_base_src_loop):
6573 * libs/gst/controller/gstcontroller.c:/
6574 (_gst_controller_class_init):
6575 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6576 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6577 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6578 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6579 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6580 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6582 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
6584 * gst/gstpad.c: (gst_pad_link):
6585 Must set peer pads before calling the link function, otherwise
6586 a task started from a link function might get a flow-not-linked
6587 result when trying to push because the other thread where the
6588 linking happens hasn't had a chance to set the peers yet. This
6589 might happen for example when a queue gets linked to a downstream
6590 element, as queue starts a streaming task when its source pad
6591 gets linked. Happens in real life when playing back flac/musepack
6592 files in playbin (#332390).
6594 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6598 * libs/gst/base/gstadapter.h:
6599 * libs/gst/base/gstbasesink.h:
6600 * libs/gst/base/gstbasesrc.h:
6601 * libs/gst/base/gstbasetransform.h:
6602 * libs/gst/base/gstcollectpads.h:
6603 * libs/gst/base/gstpushsrc.h:
6604 Fix broken GObject macros
6606 2006-04-07 Wim Taymans <wim@fluendo.com>
6608 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6609 Initialize start and stop times, thanks valgrind.
6611 2006-04-07 Wim Taymans <wim@fluendo.com>
6613 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6614 Be a bit nicer to badly behaving upstream elements that expect
6615 us to deal with non TIME segments and timestamps (such as fakesrc
6618 2006-04-07 Wim Taymans <wim@fluendo.com>
6621 Small documentation clarification about the signal watch.
6623 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6624 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6625 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6626 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6627 (gst_base_sink_get_position_last),
6628 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6629 Convert and store timestamps in stream time and running time, the
6630 raw timestamps are not useful, also document this better.
6631 Use different window sizes for good and bad QoS observations so
6632 we react to badness a little quicker.
6633 Keep track of the amount of rendered and dropped buffers.
6634 Send QoS timestamps in running time.
6636 * libs/gst/base/gstbasetransform.c:
6637 (gst_base_transform_sink_eventfunc),
6638 (gst_base_transform_handle_buffer):
6639 Compare QoS timestamps against running time.
6641 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6646 2006-04-06 Michael Smith <msmith@fluendo.com>
6648 * gst/gstpad.c: (gst_pad_set_property):
6649 Use g_value_get_object() instead of g_value_dup_gst_object(),
6650 to avoid double-reffing the pad template (which we then sink,
6651 so this worked previously if (and only if) the pad template
6654 * gst/gstpadtemplate.c: (gst_pad_template_init),
6655 (gst_pad_template_pad_created):
6656 Never return floating references to pad templates, create
6657 them as initially-sunken.
6659 Document an extra function (and make this stop sinking our
6660 pad template, since that is now guaranteed to do nothing,
6661 since we created it sunken).
6663 * gst/gstghostpad.c:
6666 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6668 * gst/gstinfo.c: (__gst_in_valgrind):
6671 * plugins/elements/gsttypefindelement.c:
6672 (gst_type_find_element_chain):
6673 Don't leak buffer caps.
6675 2006-04-06 Michael Smith <msmith@fluendo.com>
6677 * gst/parse/grammar.y:
6678 Fix a leak in parse-launch for any source-or-sink named element
6681 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6682 Unref the pipeline if it exists after we've failed parsing.
6684 2006-04-05 Michael Smith <msmith@fluendo.com>
6686 * gst/gstpipeline.c: (gst_pipeline_init):
6687 When we create a pipeline bus, initially create it in flushing mode.
6688 Fixes leaks in at least one test, and makes a new pipeline work the
6689 same as one that has gone to READY and then back to NULL.
6694 2006-04-05 Michael Smith <msmith@fluendo.com>
6696 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6697 Unref a pad we reffed.
6698 * tests/check/gst/gstutils.c: (GST_START_TEST):
6701 2006-04-05 Michael Smith <msmith@fluendo.com>
6703 * gst/gstquery.c: (gst_query_set_formats),
6704 (gst_query_set_formatsv):
6705 Fix leaking GValues in queries, as shown by valgrind/testsuite.
6707 2006-04-05 Michael Smith <msmith@fluendo.com>
6709 * tests/check/generic/sinks.c: (GST_START_TEST):
6710 Fix a variety of memleaks in sinks check, which are only sometimes
6711 shown by running the tests under valgrind (weird?).
6713 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
6715 * docs/version.entities.in:
6716 Fix the substituted entity name after thomas' changes on the
6719 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6721 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
6724 2006-04-05 Andy Wingo <wingo@pobox.com>
6726 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
6728 * libs/gst/base/gstbasetransform.c
6729 (gst_base_transform_sink_eventfunc): When resetting our segment on
6730 FLUSH_STOP, also update the flag saying we haven't seen a
6733 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6735 Patch by: Paolo Borelli <pborelli at katamail dot com>
6737 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6738 (gst_plugin_check_license):
6739 minor clean-ups: G_DEFINE_TYPE already takes care of the
6740 parent_class stuff, no need to do it twice. Mark array of
6741 license strings as constant. (#337103)
6743 2006-04-04 Michael Smith <msmith@fluendo.com>
6745 * tools/gst-inspect.c: (print_element_list):
6746 Free the right plugin list; fixes a memory leak.
6748 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6750 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6752 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6753 Don't error out on empty buffers (#336945).
6755 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
6757 * docs/libs/gstreamer-libs-sections.txt:
6759 * libs/gst/base/gstbasesink.c:
6760 * libs/gst/base/gstbasesink.h:
6761 * libs/gst/base/gstbasesrc.c:
6762 * libs/gst/base/gstbasesrc.h:
6763 Documentation updates. Make BaseSink and BaseSrc docs contain the
6764 class structure so that people can actually see the prototypes for
6765 virtual functions they're supposed to be overriding.
6767 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6769 * plugins/elements/gsttypefindelement.c:
6770 (gst_type_find_element_chain):
6771 More debug info; when skipping typefinding, send cached
6772 events in all cases.
6774 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
6777 use new AS_VERSION and AS_NANO macros
6778 * gst/gst-i18n-lib.h:
6781 * gst/gstversion.h.in:
6782 * win32/common/config.h:
6783 * win32/common/config.h.in:
6786 2006-03-31 Michael Smith <msmith@fluendo.com>
6788 * plugins/elements/gsttypefindelement.c:
6789 (gst_type_find_element_chain):
6790 Do not typefind content if the buffers already have caps.
6791 Neccesary for icydemux (#333657), and the right thing to do anyway.
6793 2006-03-30 Wim Taymans <wim@fluendo.com>
6795 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6796 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
6797 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
6798 (gst_base_sink_record_qos_observation),
6799 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6800 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6801 (gst_base_sink_change_state):
6802 More QoS measurements as described in the design doc.
6803 Get rid of ringbuffer with observations, running average is
6804 more simple and equally good.
6805 Calculates valid proportion now.
6806 Added beginning of flood measurement.
6808 2006-03-29 Wim Taymans <wim@fluendo.com>
6810 * docs/design/part-qos.txt:
6812 Small documentation updates and additions.
6814 2006-03-29 Wim Taymans <wim@fluendo.com>
6816 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6817 (gst_base_src_send_event), (gst_base_src_loop),
6818 (gst_base_src_change_state):
6819 Perform the EOS logic when we reach the segment stop position.
6820 Fix compilation on gcc4.1
6822 2006-03-29 Wim Taymans <wim@fluendo.com>
6824 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6826 * plugins/elements/gstqueue.c: (gst_queue_init),
6827 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6828 (gst_queue_set_property):
6829 * plugins/elements/gstqueue.h:
6830 In queue, when EOS is received, if minimum threshold > max_size -
6831 current_level, there is chance that queue blocks forever in conditional
6832 item del wait. This is because the queue is not emptied completely due
6833 to minimum threshold. Here is another approach. Instead of setting
6834 cur_levels to max in EOS, just zero all minimum threshold levels. This
6835 should make sure that queue gives out all data. When going to READY
6836 (stop) state, just reset the original minimum threshold levels.
6839 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
6841 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
6842 (gst_type_find_element_handle_event),
6843 (gst_type_find_element_send_cached_events),
6844 (gst_type_find_element_change_state):
6845 * plugins/elements/gsttypefindelement.h:
6846 When typefinding is done in push mode, we should cache
6847 events we receive during typefinding instead of just
6848 dropping them (e.g. newsegment, custom events from
6849 dvdreadsrc etc.) and then send them out once we've
6850 determined the type of the stream (and decodebin
6851 has had a chance to plug in a decoder/demuxer).
6853 2006-03-27 Wim Taymans <wim@fluendo.com>
6855 * docs/design/part-qos.txt:
6858 2006-03-27 Wim Taymans <wim@fluendo.com>
6860 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
6862 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6863 (gst_base_src_send_event), (gst_base_src_change_state):
6864 Handle element seek correctly when we are streaming.
6867 2006-03-24 Michael Smith <msmith@fluendo.com>
6869 * docs/faq/gst-uninstalled:
6870 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
6871 allow you to correctly run intalled applications built against old
6872 core, using plugins that require updated core (e.g. running
6873 installed totem against a full uninstalled gstreamer stack)
6875 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6877 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6880 2006-03-24 Wim Taymans <wim@fluendo.com>
6882 * docs/gst/gstreamer-sections.txt:
6883 Rearrange the order of the methods so that related methods
6884 are grouped together in sections.
6886 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6889 Little clarification in the docs
6891 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6895 * plugins/elements/gstidentity.c:
6896 * plugins/elements/gstqueue.c:
6897 * plugins/elements/gsttee.c:
6898 * plugins/elements/gsttypefindelement.c:
6899 GST_ELEMENT_DETAILS formatting
6901 2006-03-24 Wim Taymans <wim@fluendo.com>
6903 * libs/gst/base/gstbasesink.h:
6904 Only add fields, not insert or we break ABI.
6906 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
6908 * win32/common/libgstbase.def:
6909 * win32/common/libgstreamer.def:
6910 Update, add recently added functions.
6912 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
6914 * docs/gst/gstreamer-sections.txt:
6915 * gst/gstutils.c: (gst_pad_query_peer_position),
6916 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
6918 API: add some new utility functions:
6919 - gst_pad_query_peer_position()
6920 - gst_pad_query_peer_duration()
6921 - gst_pad_query_peer_convert()
6923 2006-03-23 Wim Taymans <wim@fluendo.com>
6925 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6926 (gst_base_sink_init), (gst_base_sink_finalize),
6927 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
6928 (gst_base_sink_set_property), (gst_base_sink_get_property),
6929 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
6930 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6931 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
6932 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6933 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6934 (gst_base_sink_preroll_object), (gst_base_sink_event),
6935 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
6936 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6937 (gst_base_sink_query), (gst_base_sink_change_state):
6938 Decouple max-lateness and the fact that QoS messages are generated
6939 with a new property (qos).
6940 added API: GstBaseSink::async_play()
6941 Add vmethod so subclasses can be notified of ASYNC playing
6943 Collect timestamp start and stop to report better current
6944 position in EOS/PLAYING/PAUSED/READY/NULL.
6945 Refactor QoS/frame dropping and other measurements.
6946 API: GstBaseSrc::qos
6949 * libs/gst/base/gstbasesink.h:
6950 Added Private struct.
6951 API: gst_base_sink_set_qos_enabled()
6952 API: gst_base_sink_is_qos_enabled()
6954 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
6956 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6957 If compiling against GLib-2.8 or newer, try to read the
6958 registry file using GMappedFile first before falling back
6959 to fopen() + fread() (#332151).
6961 2006-03-22 Wim Taymans <wim@fluendo.com>
6963 * gst/gstinfo.c: (gst_debug_set_active),
6964 (gst_debug_category_set_threshold):
6965 Disable debugging unless explicitly activated.
6968 2006-03-22 Wim Taymans <wim@fluendo.com>
6970 * gst/gstelement.c: (gst_element_set_locked_state),
6971 (gst_element_dispose):
6972 Cleanup the error case.
6974 * gst/gstobject.c: (gst_object_dispose):
6975 print a critical when some object was disposed with
6976 a parent, also revive the object since it might
6979 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
6981 * tools/gst-launch.1.in:
6984 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
6987 * tests/check/Makefile.am:
6988 disable some tests when we don't have a registry
6989 * tests/check/gst/gstutils.c: (gst_utils_suite):
6990 don't build the part that needs parsing
6992 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
6995 * tests/examples/Makefile.am:
6996 fix --disable-parse build
6998 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7000 * tools/gst-feedback.1.in:
7001 Fix typo: s/feeback/feedback/ (#133494).
7003 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7005 * tools/Makefile.am:
7006 * tools/gst-launch.1.in:
7007 Add FILES section and correct entry about GST_REGISTRY_PATH
7008 environment variable (#133495; #133494).
7010 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7012 * tools/Makefile.am:
7013 * tools/gst-md5sum.1.in:
7014 * tools/gst-md5sum.c:
7015 Remove gst-md5sum and man page (the md5sink element
7016 required was removed ages ago)
7018 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7020 * gst/gststructure.c: (gst_structure_id_set_value):
7021 Make sure that string fields in structures/taglists
7022 contain valid UTF-8 - we don't want to pass rubbish to
7023 applications because of a buggy plugin (cp. #334167).
7025 2006-03-21 Edward Hervey <edward@fluendo.com>
7027 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7028 (gst_bin_handle_message_func):
7029 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7030 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7031 (gst_element_set_bus_func):
7032 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7033 * gst/gstminiobject.c: (gst_value_set_mini_object),
7034 (gst_value_take_mini_object):
7035 * gst/gstpad.c: (gst_pad_set_pad_template):
7036 * gst/gstpipeline.c: (gst_pipeline_dispose),
7037 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7038 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7039 (gst_collect_pads_chain):
7040 * libs/gst/net/gstnettimeprovider.c:
7041 (gst_net_time_provider_set_property):
7042 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7043 It's in fact all issues with gst_*object_replace().
7045 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7047 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
7049 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7050 * pkgconfig/gstreamer-check.pc.in:
7051 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7053 2006-03-21 Edward Hervey <edward@fluendo.com>
7058 gst_[buffer|event|message]_ref() macros are replaced by a static
7059 inline functions because gcc-4.1 will about if the return value
7061 * tests/check/gst/gstevent.c: (event_probe):
7062 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7064 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
7067 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7068 the type' case. (Closes: #335195 for now). In the future, when we
7069 depend on GLib 2.10, we could also intern the type name using
7070 g_intern_static_string()
7072 2006-03-20 Wim Taymans <wim@fluendo.com>
7074 * gst/gstbin.c: (gst_bin_handle_message_func),
7075 (bin_query_max_init), (bin_query_position_fold),
7076 (bin_query_position_done), (gst_bin_query):
7077 Position query should also take max of all streams.
7079 2006-03-20 Wim Taymans <wim@fluendo.com>
7081 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7082 (gst_fake_src_finalize):
7083 Fix leaks in fakesrc.
7085 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7086 Fix leaks in the testcase.
7088 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
7090 * gst/gst_private.h:
7091 add win32 specific import decoration(__declspec(dllimport))
7092 for all extern GstDebugCategory * variables
7093 * win32/common/libgstbase.def:
7094 * win32/common/libgstcontroller.def:
7095 * win32/common/libgstreamer.def:
7096 Add some exports, remove empty lines
7097 * win32/common/libgstdataprotocol.def:
7098 * win32/common/libgstdataprotocol.dsp:
7099 * win32/common/libgstnet.def:
7100 * win32/common/libgstnet.dsp:
7101 new project files and exportation files added
7103 2006-03-19 Wim Taymans <wim@fluendo.com>
7105 * tests/check/libs/basesrc.c: (eos_event_counter):
7106 Use proper return value for probe.
7108 2006-03-17 Wim Taymans <wim@fluendo.com>
7110 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7112 Don't leak buffers, caps and pads on negotiation errors.
7114 2006-03-16 Stefan Kost <ensonic@users.sf.net>
7117 * docs/faq/dependencies.xml:
7118 * docs/faq/developing.xml:
7120 * docs/faq/general.xml:
7121 * docs/faq/getting.xml:
7122 * docs/faq/legal.xml:
7123 * docs/faq/troubleshooting.xml:
7124 * docs/faq/using.xml:
7125 Faq review and update.
7127 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
7129 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7131 Don't pound the cpu to pieces by checking get_caps when accept_caps
7132 is called with the same caps as the pad already has.
7133 Use GST_DEBUG_OBJECT when outputting caps change information.
7135 2006-03-15 Wim Taymans <wim@fluendo.com>
7137 * gst/gstclock.c: (gst_clock_class_init):
7140 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
7145 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7146 (gst_pad_accept_caps), (gst_pad_configure_sink),
7147 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7148 Make the default acceptcaps behaviour be to check the requested
7149 caps against the gst_pad_get_caps output.
7151 Ensure that gst_pad_accept_caps is used to check caps when a pad
7152 doesn't have a setcaps function, so that pads automatically refuse
7153 caps that they don't allow in their pad template. (Fixes #332986)
7155 When a buffer with attached caps is pushed, ensure that the source
7156 pad receives those caps even if the element didn't call
7157 gst_pad_set_caps first.
7159 2006-03-15 Wim Taymans <wim@fluendo.com>
7161 * libs/gst/base/gstadapter.c:
7164 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
7166 * win32/common/libgstbase.def:
7167 * win32/common/libgstcontroller.def:
7168 * win32/common/libgstreamer.def:
7169 Add a whole bunch of missing functions (#334434).
7171 2006-03-14 Wim Taymans <wim@fluendo.com>
7173 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7174 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7175 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7176 Better debug info when we receive a segment event.
7177 Reorganize a bit so we can pass the get_times() results around.
7178 Use the segment format when calculating the running time.
7179 Don't do QoS is sync is disabled or we have no clock or the
7180 element does not want us to sync to the clock.
7181 Don't drop buffers if QoS is disabled for now.
7183 2006-03-14 Wim Taymans <wim@fluendo.com>
7185 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7186 Marked the stats property as unimplemented so people don't get
7188 Add debug message when regression goes wrong.
7189 Added some more docs.
7191 2006-03-14 Wim Taymans <wim@fluendo.com>
7193 * gst/gstsegment.c: (gst_segment_to_stream_time):
7194 Return correct return type in case of errors.
7196 2006-03-14 Wim Taymans <wim@fluendo.com>
7198 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7199 Don't segfault on invalid formats.
7201 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7203 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7204 Can't use gst_segment_to_running_time() when the segment
7205 is not in GST_TIME_FORMAT (like with filesink, for example).
7206 Stops flac encoding pipelines from spewing critical warnings
7209 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7211 * gst/gstpipeline.c: (gst_pipeline_class_init):
7212 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7214 * plugins/elements/gsttypefindelement.c:
7215 (gst_type_find_element_handle_event):
7216 Don't try to typefind empty streams.
7218 2006-03-14 Wim Taymans <wim@fluendo.com>
7220 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7221 (gst_base_sink_do_qos):
7222 Separate QoS calculation.
7223 Only drop buffers when lateness is bigger than the
7224 duration of the buffer.
7226 2006-03-13 Wim Taymans <wim@fluendo.com>
7228 * gst/gstpipeline.c: (gst_pipeline_set_property),
7229 (gst_pipeline_get_property), (do_pipeline_seek),
7230 (gst_pipeline_change_state), (gst_pipeline_set_delay),
7231 (gst_pipeline_get_delay):
7232 Don't deadlock when reading properties.
7234 2006-03-13 Wim Taymans <wim@fluendo.com>
7236 * libs/gst/base/gstbasetransform.c:
7237 (gst_base_transform_class_init), (gst_base_transform_init),
7238 (gst_base_transform_sink_event),
7239 (gst_base_transform_sink_eventfunc),
7240 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7241 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7242 (gst_base_transform_set_property),
7243 (gst_base_transform_get_property),
7244 (gst_base_transform_change_state), (gst_base_transform_update_qos),
7245 (gst_base_transform_set_qos_enabled),
7246 (gst_base_transform_is_qos_enabled):
7247 * libs/gst/base/gstbasetransform.h:
7248 Make basetransform virtual method for src events too.
7249 Handle QOS in basetransform.
7250 API: gst_base_transform_update_qos()
7251 API: gst_base_transform_set_qos_enabled()
7252 API: gst_base_transform_is_qos_enabled()
7254 2006-03-13 Wim Taymans <wim@fluendo.com>
7256 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7257 (gst_base_sink_do_sync):
7259 Use QOS debug category.
7261 2006-03-13 Wim Taymans <wim@fluendo.com>
7263 * plugins/elements/gstqueue.c:
7264 Very small doc update.
7266 2006-03-13 Wim Taymans <wim@fluendo.com>
7268 * gst/gst_private.h:
7269 * gst/gstinfo.c: (_gst_debug_init):
7270 Added QOS debug category
7272 2006-03-13 Wim Taymans <wim@fluendo.com>
7274 * docs/gst/gstreamer-sections.txt:
7275 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7277 * gst/gstbus.c: (gst_bus_class_init):
7280 * gst/gstelement.c: (gst_element_set_locked_state):
7282 Documentation updates.
7284 * gst/gstpipeline.c: (gst_pipeline_get_type),
7285 (gst_pipeline_class_init), (gst_pipeline_init),
7286 (gst_pipeline_dispose), (gst_pipeline_set_property),
7287 (gst_pipeline_get_property), (do_pipeline_seek),
7288 (gst_pipeline_send_event), (gst_pipeline_change_state),
7289 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7290 (gst_pipeline_get_delay):
7291 * gst/gstpipeline.h:
7292 Added methods for setting the delay.
7293 API: gst_pipeline_set_delay()
7294 API: gst_pipeline_get_delay()
7295 Add pipeline debug category
7298 Don't reset stream time when seek failed.
7300 2006-03-13 Wim Taymans <wim@fluendo.com>
7302 * docs/design/draft-klass.txt:
7303 * docs/design/part-clocks.txt:
7304 * docs/design/part-events.txt:
7305 * docs/design/part-gstbin.txt:
7306 * docs/design/part-gstpipeline.txt:
7307 * docs/design/part-messages.txt:
7308 * docs/design/part-negotiation.txt:
7309 * docs/design/part-overview.txt:
7310 * docs/design/part-preroll.txt:
7311 * docs/design/part-seeking.txt:
7312 * docs/design/part-states.txt:
7313 * docs/design/part-streams.txt:
7314 Documentation updates.
7316 2006-03-12 Julien MOUTTE <julien@moutte.net>
7318 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7319 us to leak strings...
7321 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
7323 * libs/gst/net/gstnettimeprovider.c:
7325 * win32/common/config.h:
7328 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
7330 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7333 Don't check for libgnomeui (leftover from old examples
7334 that aren't built or disted any longer) (#334303).
7336 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
7338 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7339 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7340 Emit RESOURCE_NO_SPACE_LEFT error here as well when
7341 there's no space left on the device.
7343 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
7346 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7347 to cast the input to GstClockTime before comparing with
7348 another GstClockTime value.
7350 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7355 === release 0.10.4 ===
7357 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7360 releasing 0.10.4, "Light"
7362 2006-03-10 Michael Smith <msmith@fluendo.com>
7364 * libs/gst/dataprotocol/dataprotocol.c:
7365 Fix docs for dataprocotol to not get the return types completely
7366 wrong for a few functions.
7368 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7370 * docs/gst/gstreamer-sections.txt:
7371 * gst/gstpipeline.c: (gst_pipeline_class_init),
7372 (gst_pipeline_init), (gst_pipeline_set_property),
7373 (gst_pipeline_get_property), (gst_pipeline_change_state),
7374 (gst_pipeline_set_auto_flush_bus),
7375 (gst_pipeline_get_auto_flush_bus):
7376 * gst/gstpipeline.h:
7377 Add new API: gst_pipeline_set_auto_flush_bus() and
7378 gst_pipeline_get_auto_flush_bus() to disable automatic
7379 flushing of the pipeline's GstBus when going from READY
7380 to NULL state (#332045).
7382 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7384 * docs/gst/gstreamer-sections.txt:
7385 * gst/gsturi.c: (gst_uri_has_protocol):
7387 Add new API: gst_uri_has_protocol() (#333779).
7389 2006-03-09 Wim Taymans <wim@fluendo.com>
7391 * gst/gstclock.c: (gst_clock_entry_new),
7392 (gst_clock_id_compare_func), (gst_clock_id_wait),
7393 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7394 (gst_clock_init), (gst_clock_get_internal_time),
7395 (gst_clock_set_master), (do_linear_regression),
7396 (gst_clock_add_observation), (gst_clock_set_property):
7400 Fix a possible segfault when the window-size is made smaller.
7401 Calculate jitter before performing the clock wait. Ideally
7402 the clock implementation should calculate jitter but we need
7403 API breakage for that.
7405 * gst/gstsystemclock.c: (gst_system_clock_init):
7408 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7409 Remove leftover else
7411 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7412 (gst_systemclock_suite):
7413 Added check to test GST_CLOCK_DIFF.
7415 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7417 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7418 (gst_type_find_helper_get_range):
7419 If we are provided with the size, we should implement
7420 GstTypeFind::get_length, so that typefind functions who
7421 want to can actually peek at the middle of a file.
7423 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
7425 * docs/manual/advanced-dataaccess.xml:
7426 Add some very very basic error checking.
7428 * docs/pwg/appendix-checklist.xml:
7429 Some updates to the list of things to check when writing an element.
7431 2006-03-08 Wim Taymans <wim@fluendo.com>
7433 * docs/design/part-element-transform.txt:
7434 Added some docs about the design of tranform elements.
7436 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7437 (gst_base_src_loop), (gst_base_src_change_state):
7438 Mark buffers with the DISCONT flag.
7440 2006-03-08 Michael Smith <msmith@fluendo.com>
7442 * gst/gstregistry.h:
7443 * gst/gstregistryxml.c: (gst_registry_save),
7444 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7445 (gst_registry_xml_save_pad_template),
7446 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7447 (gst_registry_xml_write_cache):
7448 Rewrite registry-saving to avoid race conditions and check for
7451 2006-03-08 Wim Taymans <wim@fluendo.com>
7453 * libs/gst/base/gstbasetransform.c:
7454 (gst_base_transform_transform_caps),
7455 (gst_base_transform_transform_size),
7456 (gst_base_transform_prepare_output_buffer),
7457 (gst_base_transform_get_unit_size),
7458 (gst_base_transform_buffer_alloc),
7459 (gst_base_transform_handle_buffer),
7460 (gst_base_transform_change_state):
7461 Cleanups, separate normal flow from errors, add sensible
7463 Don't try to renegotiate when allocating an output buffer.
7464 Also copy DISCONT buffer flag when copying a buffer.
7465 Reset the transform after we finish streaming, not during.
7467 2006-03-08 Wim Taymans <wim@fluendo.com>
7469 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7470 Use last buffer timestamp in qos message.
7472 2006-03-07 Wim Taymans <wim@fluendo.com>
7474 Patch by: Christophe Fergeau
7476 * docs/pwg/advanced-tagging.xml:
7477 * docs/pwg/building-pads.xml:
7480 2006-03-07 Wim Taymans <wim@fluendo.com>
7482 * docs/libs/gstreamer-libs-sections.txt:
7483 Added basesink new methods.
7487 Docs updates. Flesh out the QoS docs.
7489 * libs/gst/base/gstadapter.c:
7490 Small doc clarification about ownership and flushing.
7492 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7493 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7494 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7495 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7496 * libs/gst/base/gstbasesink.h:
7498 Added new methods to allow subclass to control max-lateness
7500 Generate very basic QoS events based on last sync observation.
7501 Updated docs, fix typo, added some QoS blurb.
7503 * libs/gst/base/gstbasesrc.c:
7504 Remove obsolete _get_state() calls from docs.
7506 2006-03-07 Wim Taymans <wim@fluendo.com>
7508 * docs/libs/gstreamer-libs-sections.txt:
7509 * libs/gst/base/gstbasetransform.h:
7510 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7511 Fix docs for GstBaseSrc.
7513 2006-03-07 Wim Taymans <wim@fluendo.com>
7515 * docs/gst/gstreamer-sections.txt:
7518 * libs/gst/base/gstbasetransform.h:
7519 Small documentation fixes.
7521 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7524 Document thread-unsafety of gst_value_register_foo_func()
7525 when used at the same time as gst_value_foo() (#322628).
7527 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7529 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7530 (gst_push_src_check_get_range):
7531 Push sources don't support pull mode by default.
7533 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7535 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7536 (gst_base_src_init), (gst_base_src_pad_check_get_range),
7537 (gst_base_src_default_check_get_range):
7538 * libs/gst/base/gstbasesrc.h:
7539 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7540 provide default implementation, and rename
7541 gst_base_src_check_get_range() to
7542 gst_base_src_pad_check_get_range() for clarity.
7544 2006-03-06 Wim Taymans <wim@fluendo.com>
7546 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7547 Make property overridable.
7549 2006-03-06 Wim Taymans <wim@fluendo.com>
7551 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7552 (gst_base_sink_init), (gst_base_sink_set_property),
7553 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7554 * libs/gst/base/gstbasesink.h:
7555 API addition: Make max-lateness a property.
7557 2006-03-06 Wim Taymans <wim@fluendo.com>
7559 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7560 (gst_base_sink_do_sync), (gst_base_sink_render_object):
7561 Don't ever draw a frame that is >10ms late.
7563 2006-03-06 Michael Smith <msmith@fluendo.com>
7565 * gst/gstmessage.c: (_gst_message_copy):
7566 When copying a message, set the parent_refcount of the enclosed
7567 structure to point at the copy, not the original message.
7569 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7571 Patch by: Christophe Fergeau
7574 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7575 usable in c++ code (#333417)
7577 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
7580 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7582 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
7584 * libs/gst/base/gstbasetransform.c:
7585 (gst_base_transform_transform_caps):
7586 Make sure caps are writable before passing them to
7589 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7592 Fix some minor docs errors.
7594 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7596 Patch by: Ross Burton <ross at burtonini dot com>
7598 * gst/gsterror.c: (_gst_resource_errors_init):
7600 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7602 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7605 Add a check and output a g_warning when GStreamer is built
7606 against GLib 2.6 but running against 2.8 or higher, and vice
7607 versa. (Closes: #323542)
7609 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7611 * gst/parse/parse.l:
7612 Commit patch for parse_launch syntax from #331255. Removes
7613 support for quoted strings and mimetypes when writing filtered
7614 caps. See the bug report for more details - I'm pretty sure this
7615 obscure feature is not in use by _anyone_ anywhere.
7617 With this simple change, the size of the gstreamer.so here
7618 drops from 2193KB to 1565KB.
7620 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7622 * plugins/elements/gsttypefindelement.h:
7623 * plugins/elements/gsttypefindelement.c:
7624 (gst_type_find_element_src_event), (start_typefinding),
7625 (stop_typefinding), (gst_type_find_element_handle_event),
7626 (gst_type_find_element_chain),
7627 (gst_type_find_element_chain_do_typefinding):
7628 Use gst_type_find_helper_for_buffer() for chain-based
7631 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7633 * plugins/elements/gsttypefindelement.c:
7634 (gst_type_find_element_class_init),
7635 (gst_type_find_element_set_property),
7636 (gst_type_find_element_get_property):
7637 Deprecate "maximum" property (not only was it only taken into
7638 account for typefinding in push-mode anyway, it also was never
7639 actually possible to set it in the first place because the
7640 property was registered with the numeric property ID for the
7641 "minimum" property). Register "maximum" property correctly,
7642 for the sake of future copy'n'pasters. Remove some cruft
7643 from property get/set functions.
7645 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7647 * plugins/elements/gsttypefindelement.c:
7648 (gst_type_find_element_activate):
7649 Use gst_type_find_helper_get_range() here, so we
7650 can honour the "minimum" property and also emit
7651 the signal with the correct probability of the found caps.
7653 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
7655 * docs/libs/gstreamer-libs-sections.txt:
7656 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7657 (helper_find_suggest), (gst_type_find_helper_get_range),
7658 (gst_type_find_helper):
7659 * libs/gst/base/gsttypefindhelper.h:
7660 New API: gst_type_find_helper_get_range() (#333042).
7662 2006-03-02 Michael Smith <msmith@fluendo.com>
7664 * gst/gstregistryxml.c: (load_feature):
7665 Asserting on a failure to read part of the registry is Not Cool.
7666 Just log a warning and return NULL (which is already handled)
7668 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
7670 * win32/common/libgstbase.def:
7671 added export of gst_type_find_helper_for_buffer
7672 * win32/common/libgstbase.def:
7673 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7674 gst_ghost_pad_get_target
7676 2006-02-28 Wim Taymans <wim@fluendo.com>
7678 * docs/design/draft-klass.txt:
7680 Added Connector to mark elements that are only used to
7681 allow pipeline connections.
7682 Moved Debug to extra feature since most of them are
7683 functionally something else.
7685 2006-02-28 Wim Taymans <wim@fluendo.com>
7687 * docs/design/draft-klass.txt:
7688 Some updates and clarifications.
7690 2006-02-28 Wim Taymans <wim@fluendo.com>
7692 * docs/design/draft-klass.txt:
7693 Proposal for klass field values.
7695 * docs/design/part-streams.txt:
7696 Start of a doc describing stream anatomy.
7698 2006-02-28 Wim Taymans <wim@fluendo.com>
7700 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
7701 Help the compiler a bit with type registration.
7702 Use existing forward cod path instead of duplicating it when
7705 * gst/gstbus.c: (gst_bus_get_type):
7706 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
7707 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
7708 * gst/gstclock.c: (gst_clock_get_type):
7709 * gst/gstelement.c: (gst_element_get_type),
7710 * gst/gstelementfactory.c: (gst_element_factory_get_type):
7711 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7712 * gst/gstminiobject.c: (gst_mini_object_get_type):
7713 * gst/gstpad.c: (gst_pad_get_type):
7714 * gst/gstsegment.c: (gst_segment_get_type):
7715 * gst/gststructure.c: (gst_structure_get_type):
7716 * gst/gstsystemclock.c: (gst_system_clock_get_type):
7717 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
7719 Help compiler with type registration.
7721 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7724 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7726 * plugins/elements/gsttypefindelement.c:
7727 (gst_type_find_element_handle_event):
7728 When we get an EOS event and have not found a type yet
7729 (most likely because we had not yet accumulated
7730 TYPE_FIND_MIN_SIZE of data yet), try to determine the
7731 type given the data we have so far. Fixes typefinding
7732 for very short streams again, most notably quicktime
7733 redirections as used on Apple's trailer site (#331701).
7735 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7737 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
7738 (gst_type_find_helper):
7739 Try typefinding factories with the highest rank first.
7741 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7743 * docs/libs/gstreamer-libs-docs.sgml:
7744 * docs/libs/gstreamer-libs-sections.txt:
7745 * libs/gst/base/gsttypefindhelper.c:
7746 Add section for typefind helper and add documentation
7747 for the old and the new function.
7749 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7751 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
7752 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
7753 (gst_type_find_helper_for_buffer):
7754 * libs/gst/base/gsttypefindhelper.h:
7755 New API: gst_type_find_helper_for_buffer() (#332723).
7757 2006-02-27 Michael Smith <msmith@fluendo.com>
7759 Patch by: Loïc Minier
7763 * docs/slides/Makefile.am:
7764 prevent CVS directories getting disted.
7766 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7768 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
7769 Use the REFCOUNTING category for caps refcounting.
7771 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
7773 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
7774 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
7776 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
7778 * plugins/elements/gsttypefindelement.c:
7779 (gst_type_find_element_activate):
7780 Use gst_pad_check_pull_range() before _activate_pull()
7781 to avoid unnecessary open/close (see #331690).
7783 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
7786 Docs enhancement: make it crystal clear what the
7787 gst_pad_add_*_probe() callbacks should look like.
7789 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
7791 * libs/gst/base/gstbasesrc.c:
7792 Document how applications can stop recording from
7793 live sources (see #330996).
7795 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7797 * tests/check/Makefile.am:
7798 * tests/check/libs/basesrc.c: (eos_event_counter),
7799 (basesrc_eos_events_pull), (basesrc_eos_events_push),
7800 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
7801 (gst_basesrc_suite), (main):
7802 ... and add some tests for the base source EOS stuff.
7804 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7806 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
7807 Test case originally showed the problem fixed below,
7808 but was then amended. Add checks back at the place
7809 where they used to be.
7811 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7813 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7814 (gst_base_src_init), (gst_base_src_loop),
7815 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7816 (gst_base_src_change_state):
7817 * libs/gst/base/gstbasesrc.h:
7818 Don't unconditionally send EOS when going from PAUSED to
7819 READY state, esp. make sure we don't send two EOS events
7820 in some cases (e.g. one when reaching EOS and one when
7821 going from PAUSED to READY). Also, we don't want to send
7822 EOS events when operating in pull mode. However, we do
7823 want to send an EOS event when shutting down a live
7824 source explicitly, for example (fixes #330996).
7826 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7828 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7829 Update src->read_position after a seek when not using mmap.
7830 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
7832 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
7838 Make things work with --disable-parse as they do with
7839 --disable-load-save - the symbols involved disappear, but the
7840 header is still installed and GST_DISABLE_PARSE is included via
7843 2006-02-20 Julien MOUTTE <julien@moutte.net>
7845 * libs/gst/base/gstbasetransform.c:
7846 (gst_base_transform_change_state): Fix a stupid bug. I was
7847 sure I compiled that.
7849 2006-02-20 Julien MOUTTE <julien@moutte.net>
7851 * gst/gstpad.c: (gst_pad_set_blocked_async):
7852 * gst/gstutils.c: (gst_pad_add_data_probe),
7853 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7854 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7855 (gst_pad_remove_buffer_probe): Make those function act on the
7856 ghostpad target when it's a ghostpad. (Closes #331727)
7858 2006-02-20 Julien MOUTTE <julien@moutte.net>
7860 * libs/gst/base/gstbasetransform.c:
7861 (gst_base_transform_change_state): Make basetransform reusable.
7864 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
7866 * docs/random/release:
7867 Move the current documentation of how to do a release to the top
7870 * gst/gstbin.c: (gst_bin_class_init),
7871 (gst_bin_handle_message_func):
7872 Allow multiple state-recalculation threads. (Closes #328873)
7874 2006-02-19 Julien MOUTTE <julien@moutte.net>
7876 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
7877 * gst/gstpad.c: (gst_pad_set_event_function),
7878 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7879 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
7880 2 strings. You can't use the STR_NULL macro on that.
7882 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
7884 * gst/gstpad.c: (gst_pad_set_event_function),
7885 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7886 (gst_pad_set_getcaps_function)
7887 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
7888 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
7889 So now, we can use --gst-debug-level=5 on Windows
7890 * win32/common/libgstcontroller.def:
7891 Added export of gst_controller_init
7892 * win32/vs6/libgstcontroller.dsp:
7893 Fixed Release post build configuration
7895 2006-02-17 Wim Taymans <wim@fluendo.com>
7897 * tests/check/gst/gstquery.c: (GST_START_TEST):
7898 Added another check.
7900 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
7902 * plugins/elements/gsttypefindelement.c: (find_peek):
7903 We can do peeks at non-zero offsets, as long as they
7904 fall within the buffer we have.
7906 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
7908 * tests/check/Makefile.am:
7909 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
7910 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
7911 (parse_suite), (main):
7912 Add testsuite for parse launch syntax
7914 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
7916 * plugins/elements/gsttypefindelement.c:
7917 (gst_type_find_element_chain):
7918 When typefinding is unsuccessful in the chain function, don't
7919 error out immediately. Only error out with NO_CAPS_FOUND if
7920 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
7921 otherwise simply wait for more data so we can try typefinding
7922 again with more data later. Also, don't attempt to typefind
7923 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
7924 this should improve typefinding from network sources where the
7925 size of the first buffer can be somewhat random.
7927 2006-02-14 Wim Taymans <wim@fluendo.com>
7929 * docs/gst/gstreamer-sections.txt:
7930 * gst/gstpadtemplate.c:
7931 * gst/gstpadtemplate.h:
7932 Fix padtemplate docs, fixes #328805.
7934 2006-02-14 Wim Taymans <wim@fluendo.com>
7936 * tools/gst-launch.c: (main):
7937 NO_PREROLL is not an ERROR so don't send confusing messages
7940 2006-02-14 Wim Taymans <wim@fluendo.com>
7942 Patch by: Torsten Schoenfeld
7944 * gst/gstregistry.c: (gst_registry_get_default),
7945 (_gst_registry_cleanup):
7946 Protect default registry with lock and ref/sink it.
7949 2006-02-14 Wim Taymans <wim@fluendo.com>
7952 * gst/gstquery.c: (gst_query_list_add_format),
7953 (gst_query_set_formatsv), (gst_query_parse_formats_length),
7954 (gst_query_parse_formats_nth):
7955 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7958 2006-02-14 Wim Taymans <wim@fluendo.com>
7960 * docs/gst/gstreamer-sections.txt:
7961 Reworked query docs.
7963 * gst/gstquery.c: (gst_query_new_formats),
7964 (gst_query_list_add_format), (gst_query_set_formats),
7965 (gst_query_set_formatsv), (gst_query_parse_formats_length),
7966 (gst_query_parse_formats_nth):
7968 Flesh out formats query, added some new methods.
7969 Fix part of #324398.
7971 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
7972 Added query creation tests.
7974 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
7976 * gst/gstpad.c: (fixate_value):
7977 Add a default fixation for fraction lists.
7979 2006-02-13 Wim Taymans <wim@fluendo.com>
7981 * gst/gsttask.c: (gst_task_init), (gst_task_func),
7982 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
7985 Detect and warn for obvious deadlocks. fixes #320340
7986 Fix error case where lock was not released.
7988 * tests/check/Makefile.am:
7989 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
7990 (task_func), (gst_element_suite), (main):
7993 2006-02-13 Wim Taymans <wim@fluendo.com>
7995 * docs/gst/gstreamer-sections.txt:
7997 Add new functions to docs.
7999 2006-02-13 Wim Taymans <wim@fluendo.com>
8001 * docs/design/part-TODO.txt:
8002 Updated TODO list, basesrc supports seeking to non-bytes
8005 * docs/design/part-element-sink.txt:
8008 * gst/gstbin.c: (bin_replace_message),
8009 (gst_bin_handle_message_func):
8010 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8011 * gst/gstevent.c: (gst_event_finalize):
8012 * gst/gstpad.c: (gst_pad_event_default_dispatch),
8013 (gst_pad_send_event):
8014 Use shiny new _TYPE_NAME macros.
8016 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8017 Move debug statement up.
8019 * gst/gstelement.c: (gst_element_set_locked_state):
8022 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
8024 * docs/gst/gstreamer-sections.txt:
8027 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8028 macros (#330906). Also, document the already existing
8029 GST_QUERY_TYPE macro.
8031 2006-02-13 Wim Taymans <wim@fluendo.com>
8033 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8034 (event_probe), (GST_START_TEST):
8035 Only events up to the pipeline EOS are counted, there are
8036 some more when going to NULL currently which we don't care
8039 2006-02-13 Wim Taymans <wim@fluendo.com>
8041 * gst/gstpad.c: (gst_pad_send_event):
8042 Correctly check flushing and emit probes. fixes #330125
8044 2006-02-10 Andy Wingo <wingo@pobox.com>
8046 * gst/gstbus.c (gst_bus_class_init): Declare our private data
8048 (gst_bus_init): Cache the location of the private data in the
8050 (gst_bus_enable_sync_message_emission)
8051 (gst_bus_disable_sync_message_emission): Implement new public
8053 (gst_bus_post): Emit the sync-message signal if the user asked for
8056 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8057 location of the bus-private structure.
8058 (gst_bus_enable_sync_message_emission)
8059 (gst_bus_disable_sync_message_emission): API addition
8061 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
8063 Patch by: Vincent Torri
8065 * docs/pwg/building-boiler.xml:
8066 PWG patch from #326800
8068 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
8072 * docs/design/Makefile.am:
8075 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8080 === release 0.10.3 ===
8082 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8085 releasing 0.10.3, "Like a virgin"
8087 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8090 2nd prerelease of 0.10.3
8091 Bump libtool versioning.
8093 2006-02-07 Andy Wingo <wingo@pobox.com>
8095 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8096 update last_stop if we're in TIME format and the timestamp is
8099 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
8100 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
8101 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8102 If we get a new newsegment with a different format, adapt
8105 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8106 of 0. Not a problem, really.
8108 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8111 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
8116 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
8119 project files updated to the default vs7 configuration
8120 * win32/common/libgstbase.def:
8121 * win32/common/libgstreamer.def:
8123 removed empty lines,
8124 sorted all exported symbols alphabetically
8125 * win32/common/dirent.c:
8126 * win32/common/dirent.h:
8127 * win32/common/gchar.h:
8128 use windows line end.
8130 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8132 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8133 Send EOS event when stopping.
8135 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8138 Tell folks what to do if the plugin-foobar.xml file
8139 hasn't been generated for a newly-added plugin.
8141 2006-02-05 Julien MOUTTE <julien@moutte.net>
8143 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8144 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8145 (gst_collect_pads_start), (gst_collect_pads_stop),
8146 (gst_collect_pads_event): Collectpads now holds a reference
8147 to the GstPad that was added. Indeed we don't want to look
8148 at pads that might just go away with no warning...
8150 2006-02-05 Julien MOUTTE <julien@moutte.net>
8152 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8153 (gst_collect_pads_start), (gst_collect_pads_stop),
8154 (gst_collect_pads_event), (gst_collect_pads_chain):
8155 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8156 Mark Nauwelaerts's patch on bug #328491.
8158 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8160 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8162 Add some simple tests for gst_parse_bin_from_description() and
8163 gst_bin_find_unconnected_pad() (#329069).
8165 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8167 * tools/gst-launch.c: (event_loop), (main):
8168 Catch errors during preroll (#320084).
8170 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
8172 * plugins/elements/gsttypefindelement.c:
8173 (gst_type_find_element_activate):
8174 Post TYPE_NOT_FOUND error message when typefinding
8175 is unsuccessful in the activate function as well.
8177 2006-02-02 Wim Taymans <wim@fluendo.com>
8179 * docs/design/part-element-sink.txt:
8182 2006-02-02 Wim Taymans <wim@fluendo.com>
8184 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8185 (gst_base_sink_render_object),
8186 (gst_base_sink_queue_object_unlocked):
8187 Only keep track of prerollable items when we are
8189 Before rendering after preroll, always check if we
8191 Added some more debugging.
8193 2006-02-02 Wim Taymans <wim@fluendo.com>
8195 * gst/gstelement.c: (gst_element_continue_state),
8196 (gst_element_set_state_func), (gst_element_change_state):
8197 Fixed #326576, been running this for quite some time with
8198 no regressions at all.
8200 2006-02-02 Wim Taymans <wim@fluendo.com>
8203 Added more suppressions
8205 2006-02-02 Wim Taymans <wim@fluendo.com>
8207 * docs/design/part-element-sink.txt:
8210 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8211 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8212 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8213 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8214 (gst_base_sink_do_sync), (gst_base_sink_render_object),
8215 (gst_base_sink_preroll_object),
8216 (gst_base_sink_queue_object_unlocked),
8217 (gst_base_sink_queue_object), (gst_base_sink_event),
8218 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8219 (gst_base_sink_loop), (gst_base_sink_activate_pull),
8220 (gst_base_sink_get_position), (gst_base_sink_change_state):
8221 * libs/gst/base/gstbasesink.h:
8222 Totally refactored matching the design doc.
8223 Use two segments, one to clip incomming buffers and another to
8225 Handle queueing correctly, bypass the queue when playing.
8226 Make EOS cancelable.
8227 Handle errors correctly when operating in pull based mode.
8229 * tests/check/elements/fakesink.c: (GST_START_TEST),
8231 Added new check for sinks.
8233 2006-02-02 Wim Taymans <wim@fluendo.com>
8235 * gst/gstsegment.c: (gst_segment_clip):
8236 No reason to refuse to clip when start == -1
8238 2006-02-02 Stefan Kost <ensonic@users.sf.net>
8241 * docs/manual/intro-basics.xml:
8242 * docs/manual/intro-preface.xml:
8243 * docs/manual/manual.xml:
8244 * docs/pwg/advanced-dparams.xml:
8245 * docs/pwg/intro-basics.xml:
8246 * docs/pwg/intro-preface.xml:
8248 describe dparams (controller) for plugins
8249 unify docs a little more
8251 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
8253 * docs/gst/gstreamer-sections.txt:
8254 * gst/gstutils.c: (element_find_unconnected_pad),
8255 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8257 Add new API: gst_parse_bin_from_description() and
8258 gst_bin_find_unconnected_pad() (#329069).
8260 2006-02-01 Stefan Kost <ensonic@users.sf.net>
8262 * docs/manual/README:
8263 uncover a nasty detail of the docs build
8265 2006-01-31 Wim Taymans <wim@fluendo.com>
8267 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8268 Don't cache duration messages if we're not going to use or
8271 2006-01-31 Stefan Kost <ensonic@users.sf.net>
8273 * docs/manual/advanced-dparams.xml:
8274 * docs/pwg/advanced-dparams.xml:
8278 * libs/gst/controller/lib.c: (gst_controller_init):
8281 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
8283 * gst/gstelement.c: (gst_element_message_full):
8284 also show file/line/func if no additional debug was given
8286 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
8288 * win32/vs7/grammar.vcproj:
8289 activate copy of autogenerated files for Release mode
8291 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8293 * win32/common/libgstreamer.def:
8294 export gst_value_compare
8296 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
8298 * plugins/elements/Makefile.am:
8299 * plugins/elements/gstelements.c:
8300 * plugins/elements/gstfdsink.c: (_do_init),
8301 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8302 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8303 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8304 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8305 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8306 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8307 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8308 * plugins/elements/gstfdsink.h:
8309 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8311 2006-01-30 Stefan Kost <ensonic@users.sf.net>
8313 * docs/manual/advanced-dparams.xml:
8315 * docs/manual/advanced-position.xml:
8316 * docs/manual/basics-init.xml:
8317 * docs/manual/manual.xml:
8318 * docs/manual/titlepage.xml:
8320 * docs/pwg/titlepage.xml:
8321 cleanup xml (more to come)
8322 * libs/gst/controller/gstcontroller.c:
8325 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8327 * win32/vs6/grammar.dsp:
8328 add autogen of gstmarshal.c,h for Release mode
8330 2006-01-30 Wim Taymans <wim@fluendo.com>
8332 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8333 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8334 (gst_base_sink_handle_object), (gst_base_sink_event),
8335 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8336 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8337 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8338 (gst_base_sink_deactivate), (gst_base_sink_activate),
8339 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8340 (gst_base_sink_query), (gst_base_sink_change_state):
8341 Basesink cleanups, remove some old code.
8342 Handle the case where a subclass can preroll in the render
8343 method (mostly audiosinks).
8345 Remove some locks around variables that are now protected
8346 with the PREROLL_LOCK (clock_id, flushing, ..).
8347 Optimize position query some more, do correct locking.
8348 Remove old code to push queue in state change, this is not
8349 needed anymore since preroll blocks on all prerollable items
8351 Almost implemented as described in design doc.
8353 2006-01-30 Wim Taymans <wim@fluendo.com>
8355 * tests/check/gst/gstbin.c: (GST_START_TEST):
8356 Wait for refcount to settle down before checking.
8358 2006-01-30 Wim Taymans <wim@fluendo.com>
8360 * docs/design/part-element-sink.txt:
8361 Pseudo code overview of desired sink behaviour regarding
8364 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8365 * win32/vs6/grammar.dsp:
8366 fix some bugs in Release mode for autogenerated files
8368 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8369 * win32/common/libgstbase.def:
8370 * win32/common/libgstreamer.def:
8371 export some new symbols: gst_base_src_set_format,
8372 gst_iterator_next, gst_structure_set_valist
8374 2006-01-29 Julien MOUTTE <julien@moutte.net>
8376 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8377 Set pad functions unconditionally. Fixes #329105.
8379 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8381 add vs8 project files created by Sergey Scobich
8383 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
8385 * gst/gstutils.c: (gst_element_unlink_pads):
8386 Don't leak pad references.
8388 * tests/check/elements/fakesink.c: (GST_START_TEST):
8389 * tests/check/generic/sinks.c: (GST_START_TEST):
8390 * tests/check/generic/states.c: (GST_START_TEST):
8391 * tests/check/gst/gstbin.c: (GST_START_TEST):
8392 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8393 * tests/check/gst/gstelement.c: (GST_START_TEST):
8394 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8395 * tests/check/gst/gstiterator.c: (GST_START_TEST):
8396 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8397 Fix a bunch of leaks. Make generic/sinks.c
8398 use a bit less cpu by slowing the buffer rate
8399 between fakesrc and fakesink.
8401 2006-01-27 Stefan Kost <ensonic@users.sf.net>
8403 * gst/gstelement.c: (gst_element_send_event):
8406 * gst/gstiterator.c:
8407 * gst/gstiterator.h:
8408 * gst/gstpad.c: (gst_pad_send_event):
8409 * gst/gststructure.c:
8413 * libs/gst/base/gstadapter.c:
8414 doc fixes, to link to function, just write gst_cool_function(), don't
8417 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8419 * plugins/elements/gsttee.c: (gst_tee_do_push),
8420 (gst_tee_handle_buffer):
8421 Always prefer an actual return value from a src
8422 pad in place of NOT_LINKED. This means we return
8423 WRONG_STATE when all src pads are WRONG_STATE
8424 instead of NOT_LINKED.
8426 Lock when replacing the last message to prevent
8427 racing with the get_property method.
8431 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8433 * tests/check/Makefile.am:
8434 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8436 Add a very simple check that should have caught the memleak I fixed
8437 last night (if not for the slice allocator hiding it)
8439 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8441 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8442 (gst_bin_remove_func), (gst_bin_handle_message_func),
8443 (bin_query_duration_fold), (bin_query_generic_fold):
8444 Clean up references to the clock provider when disposed or when
8445 handling a clock-lost message from it.
8447 Unref sinks when performing a query via gst_iterator_fold, as the
8448 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8450 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8451 (gst_clock_set_master):
8452 Drop our reference to the master clock, if any, when we are disposed.
8454 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8455 Chain up in dispose.
8457 2006-01-26 Wim Taymans <wim@fluendo.com>
8459 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8462 2006-01-26 Julien MOUTTE <julien@moutte.net>
8464 * plugins/elements/gsttee.c: (gst_tee_do_push),
8465 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8466 handles pad being NOT_LINKED or in WRONG_STATE.
8468 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8473 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8476 remove obsolete entry
8478 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8480 * docs/gst/gstreamer-sections.txt:
8481 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8482 (gst_bin_iterate_sources), (gst_bin_send_event):
8484 * gst/gstelement.c: (gst_element_send_event):
8486 * gst/gstpad.c: (gst_pad_send_event):
8487 added code for downstream events, reviewed docs in gstevent.c
8489 2006-01-25 Julien MOUTTE <julien@moutte.net>
8491 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8492 We only query position using the clock in the playing state.
8493 Query peer in the other cases.
8494 * win32/common/config.h: Updates.
8496 2006-01-24 Wim Taymans <wim@fluendo.com>
8498 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8499 A clock entry that is scheduled for the exact time of the
8500 clock is still in time.
8502 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8503 (gst_base_sink_do_sync):
8504 Add some more debug info.
8506 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8509 Add new vs7 project files and solution.
8511 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8514 all files removed as they were out-dated.
8516 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8518 * docs/random/release:
8520 * gst/gstbin.c: (gst_bin_init):
8521 * gst/gstbus.c: (gst_bus_new):
8523 * gst/gstpipeline.c: (gst_pipeline_init):
8524 use gst_bus_new(), improve logging, fix docs
8525 * win32/common/config.h:
8526 update for cvs build
8528 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8531 up required version of automake to 1.7
8533 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
8535 * win32/common/libgstreamer.def:
8536 export gst_buffer_is_metadata_writable
8538 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
8540 * docs/gst/gstreamer-sections.txt:
8542 Add gst_event_replace() (#327001)
8544 2006-01-20 Wim Taymans <wim@fluendo.com>
8546 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8547 Make it actually compile too..
8549 2006-01-20 Wim Taymans <wim@fluendo.com>
8552 Clarify behaviour of _is_equal() when passing NULL parameters.
8554 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8556 Cleanups. Don't unref NULL caps.
8557 When setting the same caps, protect caps of the pad with
8559 Use full functionality of _is_equal() when comparing caps.
8561 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8563 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8564 Don't loop infinitely if there are no buffers to present. Partially
8565 fixes #327197, but collectpads is just broken for reusing elements
8566 to do multiple encodes atm.
8568 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8570 * tools/gst-inspect.c: (print_element_features):
8571 * tools/gst-xmlinspect.c: (main):
8572 URL_HANDLER is not a plugin feature we can search for in
8575 2006-01-19 Edward Hervey <edward@fluendo.com>
8577 * gst/gstelement.c: (gst_element_pads_activate):
8578 When activating, do src pads first, then sink pads.
8579 When de-activating, do sink pads first, then src pads.
8581 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8583 * docs/gst/gstreamer-sections.txt:
8584 Add gst_index_add_associationv to the docs
8586 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8591 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8592 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8593 Do some refactoring. Doesn't actually change functionality,
8594 but makes landing the DRAIN event easier later.
8596 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
8598 * docs/pwg/advanced-scheduling.xml:
8599 Update from 0.9.x to 0.10 API and make example a bit
8602 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8604 * docs/gst/gstreamer-sections.txt:
8605 Add gst_buffer_(is|make)_metadata_writable methods.
8607 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8609 * docs/design/part-sparsestreams.txt:
8610 Update sparse streams doc, hopefully for greater clarity
8612 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
8614 * docs/design/part-events.txt:
8615 Remove mention of FILLER events.
8618 * docs/design/part-sparsestreams.txt:
8619 Write some things about using NEWSEGMENT to keep sparse streams
8622 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8624 * gst/gstbin.c: (gst_bin_dispose):
8625 Guard gst_object_unref call against a NULL object (dispose
8626 can theoretically be called multiple times).
8628 2006-01-18 Wim Taymans <wim@fluendo.com>
8630 * gst/gstbin.c: (gst_bin_element_set_state):
8631 * gst/gstclock.c: (gst_clock_id_wait):
8632 Added some more debug info.
8634 * libs/gst/base/gstadapter.c:
8637 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8638 (gst_base_sink_do_sync), (gst_base_sink_chain):
8639 Added some comments.
8641 2006-01-18 Wim Taymans <wim@fluendo.com>
8643 * tests/check/Makefile.am:
8644 * tests/check/elements/fakesink.c: (chain_async_buffer),
8645 (chain_async), (chain_async_return), (GST_START_TEST),
8646 (fakesink_suite), (main):
8647 Added fakesink test that checks prerolling and clipping
8650 * tests/check/gst/gstutils.c: (GST_START_TEST):
8651 Make check run faster so that buildbots don't timeout.
8653 2006-01-18 Wim Taymans <wim@fluendo.com>
8655 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8656 (gst_base_sink_do_sync):
8658 When the sink finishes blocking on the preroll buffer, it can
8659 immediatly render it instead of rendering when the next buffer
8662 2006-01-18 Wim Taymans <wim@fluendo.com>
8664 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8665 (gst_base_sink_get_property), (gst_base_sink_do_sync),
8666 (gst_base_sink_chain):
8668 GST_ELEMENT_CLOCK and sync are protected with LOCK.
8669 Don't store _last_stop if the buffer is dropped.
8671 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8673 * plugins/elements/gsttypefindelement.c:
8674 (gst_type_find_element_class_init):
8675 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8676 object method handler that sets the caps on the pad and we want
8677 that to happen before we emit the signal (fixes e.g. feeding a
8678 plain text file to decodebin).
8680 2006-01-18 Christian Schaller <Christian@fluendo.com>
8682 * gst/gstplugin.c: Add MPL and Proprietary as license options
8684 2006-01-18 Andy Wingo <wingo@pobox.com>
8686 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8687 symbol was exported before, it appears this was just an oversight.
8689 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
8691 * gst/gstindex.c (gst_index_add_associationv): Changed int in
8692 prototype to gint. OK since this prototype was not in the header.
8694 2006-01-17 Andy Wingo <wingo@pobox.com>
8696 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
8697 registry while we remove plugins.
8699 * tools/gst-inspect.c (print_element_info): Don't unref the
8700 factory arg, that should be the responsibility of whatever code
8701 received the ref. Fixes a double-free when called from
8702 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
8703 (main): Unref the factory if we have one.
8704 (print_element_list): No change -- relies on the
8705 plugin_feature_list_free to free the list of features.
8707 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
8709 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8710 (gst_buffer_make_metadata_writable):
8712 * libs/gst/base/gstbasetransform.c:
8713 (gst_base_transform_prepare_output_buf):
8714 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8715 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8716 Replace gst_buffer_(make|is)_metadata_writable patch now
8717 that the release is out.
8719 2006-01-17 Andy Wingo <wingo@pobox.com>
8721 * gst/gstregistry.c: Reflow design comment. Update so as to speak
8722 in the present tense without reference to versions.
8724 * gst/gstregistry.c (gst_registry_add_plugin)
8725 (gst_registry_remove_plugin, gst_registry_remove_feature)
8726 (gst_registry_find_feature, gst_registry_get_feature_list)
8727 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
8728 (gst_registry_lookup, gst_registry_scan_path)
8729 (_gst_registry_remove_cache_plugins)
8730 (gst_registry_get_feature_list_by_plugin): Add argument
8733 === release 0.10.2 ===
8735 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
8738 releasing 0.10.2, "If man is five"
8740 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8744 * libs/gst/base/gstbasetransform.c:
8745 (gst_base_transform_prepare_output_buf):
8746 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8747 * tests/check/gst/gstbuffer.c: (gst_test_suite):
8748 Back out patch until after the release.
8750 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8752 * gst/gstminiobject.c:
8753 Spelling fix in docs.
8754 * ChangeLog - remove conflict indicator
8756 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8758 Reviewed By: Andy Wingo
8760 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8761 (gst_buffer_make_metadata_writable):
8763 Add gst_buffer_(is|make)_metadata_writable as analogues of
8764 gst_buffer_(is|make)_writable.
8766 * libs/gst/base/gstbasetransform.c:
8767 (gst_base_transform_prepare_output_buf):
8768 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8769 Use name gst_buffer_(is|make)_metadata_writable functions.
8771 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8772 Test gst_buffer_(is|make)_metadata_writable
8776 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
8778 * docs/manual/Makefile.am:
8779 don't do parallel make
8782 * win32/common/config.h.in:
8783 add generations for HOST_CPU and GST_MAJORMINOR
8784 * win32/common/config.h:
8785 commit generated result
8787 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
8789 * docs/manual/appendix-integration.xml:
8790 Update GNOME integration section to use gst_init_get_option_group()
8791 instead of the old popt stuff (#322911). Also, GNOME applications
8792 should now use gconf*sink and gconf*src instead of the old gconf
8795 2006-01-13 Stefan Kost <ensonic@users.sf.net>
8798 * docs/gst/gstreamer-docs.sgml:
8799 * docs/gst/gstreamer-sections.txt:
8800 * docs/libs/gstreamer-libs-sections.txt:
8801 add new API entries to the docs
8802 * libs/gst/controller/Makefile.am:
8803 * libs/gst/controller/gstcontroller.c:
8804 * libs/gst/controller/gstcontroller.h:
8805 * libs/gst/controller/gstcontrollerprivate.h:
8806 * libs/gst/controller/gsthelper.c:
8807 * libs/gst/controller/gstinterpolation.c:
8808 move private structs to private header
8810 gstreamer-0.7 -> gstreamer-0.10
8811 * tests/check/libs/struct_i386.h:
8812 remove private structs
8814 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
8816 * plugins/indexers/Makefile.am:
8817 Fixes as part of #317048
8819 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
8821 * plugins/indexers/Makefile.am:
8822 fix #316086 - compilation when mmap is missing
8824 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
8826 * libs/gst/base/gstbasesink.c:
8827 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
8828 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
8829 * win32/common/config.h:
8830 added some defines GST_MAJORMINOR and HOST_CPU
8831 * win32/common/libgstbase.def:
8832 * win32/common/libgstreamer.def:
8833 added some exported functions.
8835 2006-01-12 Stefan Kost <ensonic@users.sf.net>
8837 * libs/gst/controller/gstcontroller.c:
8838 (gst_controlled_property_set_interpolation_mode),
8839 (gst_controlled_property_new):
8840 * libs/gst/controller/gstcontroller.h:
8841 * libs/gst/controller/gstinterpolation.c:
8842 (interpolate_none_get_string_value_array):
8843 make G_TYPE_STRING controlable
8845 2006-01-12 Stefan Kost <ensonic@users.sf.net>
8848 * tools/gst-feedback.1.in:
8849 * tools/gst-inspect.1.in:
8850 * tools/gst-launch.1.in:
8851 * tools/gst-md5sum.1.in:
8852 * tools/gst-typefind.1.in:
8853 * tools/gst-xmlinspect.1.in:
8854 * tools/gst-xmllaunch.1.in:
8855 cleanup man-pages, remove reference to gst-register, document env-vars
8857 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
8859 * gst/gstbuffer.c: (gst_buffer_span):
8860 gst_buffer_span should copy the timestamp of the first buffer
8861 if they were both originally overlapping subbuffers of the
8862 same parent, using the same logic as the 'slow copy' case.
8864 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
8866 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
8867 Need to awaken ALL the pads when we pop a buffer, otherwise
8868 collectpads only works when there is 2 input streams.
8870 2006-01-11 Stefan Kost <ensonic@users.sf.net>
8872 * docs/random/ensonic/media-device-daemon.txt:
8875 fix doc example, add clarification
8876 * tools/gst-launch.1.in:
8877 add initial info about GST_PLUGIN_PATH, needs more work
8879 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
8881 * docs/manual/basics-bins.xml:
8882 * docs/manual/basics-elements.xml:
8883 * docs/manual/intro-basics.xml:
8884 Some more minor docs additions and updates.
8886 2006-01-11 Wim Taymans <wim@fluendo.com>
8888 * docs/manual/basics-bins.xml:
8889 * docs/manual/basics-elements.xml:
8890 Some small fixes as pointed out by Ser-ver on IRC.
8892 2006-01-10 Edward Hervey <edward@fluendo.com>
8894 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8895 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
8896 the single-segment mode.
8898 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
8900 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8902 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
8903 (gst_base_src_perform_seek), (gst_base_src_send_event),
8904 (gst_base_src_set_property), (gst_base_src_get_property),
8905 (gst_base_src_loop), (gst_base_src_start),
8906 (gst_base_src_activate_push):
8907 * libs/gst/base/gstbasesrc.h:
8908 Name (private) union; makes Sun's Forte compiler happy (#324900).
8910 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
8913 gst-register is gone.
8915 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
8917 * gst/gstvalue.c: (_gst_value_initialize):
8918 make the G_TYPE_DATE instantiation work if debug is disabled
8920 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
8922 * gst/gstmessage.c: (gst_message_parse_tag),
8923 (gst_message_parse_error), (gst_message_parse_warning):
8924 Don't crash when return location for error/warning debug
8925 string is NULL; add fact that return locations can be
8926 NULL to docs where appropriate.
8928 2006-01-05 Wim Taymans <wim@fluendo.com>
8930 * gst/gstplugin.c: (gst_plugin_load_file):
8931 Replace strdup by g_strdup.
8933 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
8935 * docs/pwg/advanced-types.xml:
8938 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
8940 submitted by: Abel Cheung
8944 Added Chinese (traditional) translation
8946 2006-01-04 Wim Taymans <wim@fluendo.com>
8948 * docs/manual/basics-pads.xml:
8949 * docs/plugins/Makefile.am:
8950 * docs/plugins/gstreamer-plugins-docs.sgml:
8951 * docs/plugins/gstreamer-plugins-sections.txt:
8952 * docs/pwg/advanced-clock.xml:
8953 * docs/pwg/advanced-scheduling.xml:
8954 * docs/pwg/advanced-types.xml:
8955 * plugins/elements/gstfdsink.c:
8956 * plugins/elements/gstfdsrc.c:
8957 * plugins/elements/gstfdsrc.h:
8958 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8959 * plugins/elements/gstidentity.h:
8960 * plugins/elements/gstqueue.h:
8961 * plugins/elements/gsttee.c:
8962 * plugins/elements/gsttee.h:
8963 * plugins/elements/gsttypefindelement.c:
8964 (gst_type_find_element_class_init):
8965 * plugins/elements/gsttypefindelement.h:
8966 Small updates to various docs.
8967 Added core plugins to docs.
8969 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8972 add a suppression for liboil's uninitialized variable
8974 2006-01-02 James Livingston <jrl at ids dot org dot au>
8976 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8979 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
8980 macro, so that gcc doesn't complain if the -Wmissing-prototypes
8981 compiler switch is being used (#325429).
8983 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
8985 * gst/gstbin.c: (gst_bin_query):
8986 Disable duration query caching in bins until it gets
8987 fixed (see #324807).
8989 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
8991 * tools/gst-inspect.c: (print_element_properties_info):
8992 Handle properties of POINTER and BOXED type.
8994 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
8996 * gst/gst.c: (init_post):
8997 Init tags stuff and some other things before loading
8998 any static plugins (there may be other static plugins
8999 than just the GStreamer ones, and they may want to
9000 register their own tags or formats or whatever, and
9001 preferably without segfaulting).
9003 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9004 Print at least a warning in the debug logs if we drop a
9005 query just because we don't know how to adjust the value
9006 in the particular format.
9008 2005-12-24 David Schleef <ds@schleef.org>
9010 * tools/gstreamer-completion:
9011 Replacement for gst-complete written in sh and sed. Only
9012 completes names of features, but that's 90% of what I want
9013 it for. Properties are not available in registry.xml. (Maybe
9016 === release 0.10.1 ===
9018 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
9021 releasing 0.10.1, "Nollaig chridheil"
9023 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
9026 Add missing quote, should be make ERROR_CFLAGS="".
9028 2005-12-20 Wim Taymans <wim@fluendo.com>
9030 * docs/design/part-trickmodes.txt:
9031 More documentation on trickmodes.
9033 2005-12-20 Edward Hervey <edward@fluendo.com>
9035 * gst/gstcaps.c: (gst_static_caps_get_type):
9037 API addition: GST_TYPE_STATIC_CAPS
9038 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9039 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9040 * gst/gstpadtemplate.h:
9041 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9042 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9045 2005-12-18 Wim Taymans <wim@fluendo.com>
9047 * libs/gst/base/gstadapter.c:
9048 * libs/gst/base/gstadapter.h:
9049 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9050 (gst_base_sink_get_position):
9051 * libs/gst/base/gstbasesink.h:
9052 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9053 (gst_base_src_default_query), (gst_base_src_default_do_seek),
9054 (gst_base_src_do_seek), (gst_base_src_perform_seek),
9055 (gst_base_src_send_event), (gst_base_src_update_length),
9056 (gst_base_src_get_range), (gst_base_src_loop),
9057 (gst_base_src_start):
9058 * libs/gst/base/gstbasesrc.h:
9059 * libs/gst/base/gstbasetransform.h:
9060 * libs/gst/base/gstcollectpads.h:
9061 * libs/gst/base/gstpushsrc.c:
9062 * libs/gst/base/gstpushsrc.h:
9063 * libs/gst/dataprotocol/dataprotocol.c:
9064 * libs/gst/dataprotocol/dataprotocol.h:
9065 * libs/gst/net/gstnetclientclock.h:
9066 * libs/gst/net/gstnettimeprovider.h:
9067 Documentation updates.
9069 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
9071 * docs/manual/basics-helloworld.xml:
9072 Remove superfluous closing bracket in helloworld example.
9074 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
9076 * tools/gst-launch.1.in:
9077 Update gst-launch man page; add a section with useful
9078 environment variables. Fixes #323882.
9080 2005-12-16 Stefan Kost <ensonic@users.sf.net>
9083 * gst/gst_private.h:
9084 change some char* into char[]
9086 2005-12-16 Wim Taymans <wim@fluendo.com>
9088 * gst/gstregistryxml.c: (load_feature):
9090 Don't use g_object_unref on GstObjects so that we avoid
9091 leaks on unsafe glibs.
9093 2005-12-16 Wim Taymans <wim@fluendo.com>
9095 * gst/gstbin.c: (gst_bin_recalc_state):
9098 2005-12-16 Wim Taymans <wim@fluendo.com>
9101 Added make forever target for check.
9103 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
9105 * gst/gst.c: (init_post):
9106 make the registry cache file HOST_CPU-dependent
9108 2005-12-16 Andy Wingo <wingo@pobox.com>
9110 * plugins/elements/gstbufferstore.c
9111 (gst_buffer_store_cleared_func): Pay attention to g_list_append
9114 * tests/check/gst/gstobject.c
9115 (test_fake_object_name_threaded_unique): Pay attention to
9116 g_list_sort return value.
9118 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
9120 * tools/gst-feedback-m.m:
9121 Update for 0.9/0.10 (fixes #323870).
9123 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
9125 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9126 Fix lcopy for mini objects, the mini object needs to be ref'ed.
9128 * tests/check/gst/gstminiobject.c: (my_foo_init),
9129 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9130 (test_value_collection), (gst_mini_object_suite):
9131 Add test to ensure refcounts end up as expected when passing
9132 GstMiniObjects through g_object_get() and g_object_set().
9134 2005-12-14 Julien MOUTTE <julien@moutte.net>
9136 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9137 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9138 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9139 of collectpads. This version removes a lot of races without
9140 touching API/ABI. Yay !
9142 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
9144 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9145 Don't allow activation of a srcpad in pull_range if it has no
9147 Change some debug statements to be a little clearer
9149 * plugins/elements/gsttypefindelement.c:
9150 (gst_type_find_handle_src_query):
9151 Check that we have a peer before executing queries thereupon.
9153 * tests/examples/metadata/read-metadata.c: (message_loop):
9154 Use gst_bus_pop instead of gst_bus_poll when we just want it to
9155 immediately return us any available message with 0 timeout.
9157 2005-12-12 Michael Smith <msmith@fluendo.com>
9159 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9160 Don't unref factories after calling them.
9161 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9162 * plugins/elements/gsttypefindelement.c:
9163 (gst_type_find_element_chain):
9164 Free lists of factories after using them. Fixing typefinding memory
9167 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9169 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9170 (gst_plugin_feature_load):
9171 more meaningful debug output
9173 * tests/Makefile.am:
9174 * tests/old/examples/Makefile.am:
9175 make make distcheck happy again
9177 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9179 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9180 Catch the special case where we are operating chain-based,
9181 but the downstream peer pad has no chain function. Emit a
9182 custom error message in this case instead of letting the
9183 core generate one implying that this is some sort of core
9184 bug. It's not, it just means that whatever got plugged
9185 into the pipeline downstream when we announced the type
9186 can only operate pull-based, while our source can only
9187 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9188 Error string has not been marked for translation yet, as
9189 it probably needs some more work first.
9191 (gst_type_find_element_get_best_possibility):
9192 Add helper function to find the best of all available
9193 found possibilities that qualify given the min. threshold.
9195 (gst_type_find_element_handle_event):
9196 Fix the case where we get an EOS while still in TYPEFIND
9197 mode (we want to chose the best of all possible types,
9198 not just the first type that happens to be in our unsorted
9199 list of possible types).
9201 (gst_type_find_element_chain):
9202 Make sure we return GST_FLOW_ERROR when we errored out
9203 in stop_typefinding(); also, don't just find the best of
9204 all found type entries and then use the last examined
9205 type entry, but actually use the best entry.
9207 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9209 * tests/examples/typefind/typefind.c: (type_found):
9210 * tests/examples/xml/runxml.c: (xml_loaded):
9211 More gcc4 fixes and a mem leak fix.
9213 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9215 * tests/examples/xml/createxml.c: (object_saved):
9218 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9220 * tests/Makefile.am:
9221 enable the examples even more
9223 2005-12-12 Andy Wingo <wingo@pobox.com>
9225 * libs/gst/net/gstnettimeprovider.c
9226 (gst_net_time_provider_class_init, gst_net_time_provider_init)
9227 (gst_net_time_provider_set_property)
9228 (gst_net_time_provider_get_property):
9229 API addition: Export "active" as a GObject property.
9230 (gst_net_time_provider_thread): Only respond to time queries if
9231 the time provider is active.
9233 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9234 NetTimeProvider, preserving binary compat.
9236 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9238 * tests/examples/controller/audio-example.c: (main):
9239 * tests/examples/launch/Makefile.am:
9240 convert comments again
9242 2005-12-12 Wim Taymans <wim@fluendo.com>
9244 * libs/gst/base/gstpushsrc.c:
9247 2005-12-12 Wim Taymans <wim@fluendo.com>
9249 * docs/libs/gstreamer-libs-sections.txt:
9250 Added new symbol to docs.
9252 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9253 (gst_base_src_init), (gst_base_src_set_format),
9254 (gst_base_src_default_query), (gst_base_src_query),
9255 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9256 (gst_base_src_perform_seek), (gst_base_src_send_event),
9257 (gst_base_src_default_event), (gst_base_src_event_handler),
9258 (gst_base_src_set_property), (gst_base_src_get_property),
9259 (gst_base_src_wait), (gst_base_src_do_sync),
9260 (gst_base_src_update_length), (gst_base_src_get_range),
9261 (gst_base_src_check_get_range), (gst_base_src_loop),
9262 (gst_base_src_default_negotiate), (gst_base_src_start),
9263 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9264 (gst_base_src_change_state):
9265 * libs/gst/base/gstbasesrc.h:
9266 Implement seeking to other formats than _BYTES.
9267 Implement more seeking methods correctly.
9269 Added query vmethod.
9270 Added do_seek vmethod to make life easier for subclasses
9272 API addition: gst_base_src_set_format()
9274 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9276 * tests/examples/Makefile.am:
9279 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9282 * docs/random/ensonic/media-device-daemon.txt:
9283 * tests/examples/controller/.cvsignore:
9284 * tests/examples/controller/Makefile.am:
9285 * tests/examples/controller/audio-example.c: (main):
9286 * tests/examples/helloworld/.cvsignore:
9287 * tests/examples/helloworld/Makefile.am:
9288 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9289 * tests/examples/launch/.cvsignore:
9290 * tests/examples/launch/Makefile.am:
9291 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9292 * tests/examples/metadata/.cvsignore:
9293 * tests/examples/metadata/Makefile.am:
9294 * tests/examples/metadata/read-metadata.c: (message_loop),
9295 (make_pipeline), (print_tag), (main):
9296 * tests/examples/queue/.cvsignore:
9297 * tests/examples/queue/Makefile.am:
9298 * tests/examples/queue/queue.c: (event_loop), (main):
9299 * tests/examples/typefind/.cvsignore:
9300 * tests/examples/typefind/Makefile.am:
9301 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9303 * tests/examples/xml/.cvsignore:
9304 * tests/examples/xml/Makefile.am:
9305 * tests/examples/xml/createxml.c: (object_saved), (main):
9306 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9307 * tests/old/examples/Makefile.am:
9308 * tests/old/examples/TODO:
9309 * tests/old/examples/controller/.cvsignore:
9310 * tests/old/examples/controller/Makefile.am:
9311 * tests/old/examples/controller/audio-example.c:
9312 * tests/old/examples/helloworld/.cvsignore:
9313 * tests/old/examples/helloworld/Makefile.am:
9314 * tests/old/examples/helloworld/helloworld.c:
9315 * tests/old/examples/launch/.cvsignore:
9316 * tests/old/examples/launch/Makefile.am:
9317 * tests/old/examples/launch/mp3parselaunch.c:
9318 * tests/old/examples/launch/mp3play:
9319 * tests/old/examples/manual/Makefile.am:
9320 * tests/old/examples/metadata/Makefile.am:
9321 * tests/old/examples/metadata/read-metadata.c:
9322 * tests/old/examples/queue/.cvsignore:
9323 * tests/old/examples/queue/Makefile.am:
9324 * tests/old/examples/queue/queue.c:
9325 * tests/old/examples/typefind/.cvsignore:
9326 * tests/old/examples/typefind/Makefile.am:
9327 * tests/old/examples/typefind/typefind.c:
9328 * tests/old/examples/xml/.cvsignore:
9329 * tests/old/examples/xml/Makefile.am:
9330 * tests/old/examples/xml/createxml.c:
9331 * tests/old/examples/xml/runxml.c:
9332 applied some simple fixing to some examples
9333 re-enabled the working examples
9335 2005-12-12 Wim Taymans <wim@fluendo.com>
9337 * gst/gstsegment.c: (gst_segment_init),
9338 (gst_segment_set_last_stop), (gst_segment_set_seek),
9339 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9340 (gst_segment_to_running_time):
9341 Added more documentation.
9342 Make sure the last_pos value is updated properly.
9343 Make sure to_stream_time and to_running_time don't
9344 operate on wrong values.
9346 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9349 2005-12-12 Michael Smith <msmith@fluendo.com>
9351 * plugins/elements/gsttypefindelement.c: (free_entry),
9352 (gst_type_find_element_chain):
9353 Now that we're not leaking factories, make sure we keep references
9354 to them while we need them.
9356 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9358 * tests/check/gst/struct_i386.h:
9359 ifdef out the XML structs
9361 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9363 * gst/gstvalue.c: (gst_value_transform_double_fraction):
9364 floor is not needed, F is always positive; this obviates the
9365 need for adding -lm when building without libxml
9367 2005-12-12 Wim Taymans <wim@fluendo.com>
9369 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9370 Take current playback rate into account when reporting
9373 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9375 * docs/manual/mime-world.fig:
9376 Let's try this again, this time with a file that is
9377 actually in XFig format.
9379 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9381 * docs/manual/mime-world.fig:
9382 Add audioconvert element to diagram so that it
9383 matches the text and the code (fixes #319526).
9385 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9387 * docs/pwg/building-chainfn.xml:
9388 * docs/pwg/building-pads.xml:
9389 * docs/pwg/building-state.xml:
9390 * docs/pwg/other-source.xml:
9391 Update state change stuff for 0.10 (fixes #322969).
9393 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9395 * docs/manual/advanced-dataaccess.xml:
9396 * docs/manual/appendix-checklist.xml:
9397 * docs/manual/appendix-programs.xml:
9398 * docs/manual/basics-pads.xml:
9399 * docs/manual/highlevel-components.xml:
9400 * docs/manual/manual.xml:
9401 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9402 add converters in front of pipelines; remove curly
9403 brackets for threads stuff, they no longer exist; use
9404 GST_TYPE_FRACTION for framerates; update some pieces of
9405 code to 0.10, but there's plenty more to do.
9407 * docs/manual/appendix-porting.xml:
9408 Expand on asynchroneous state changes; s/0.9/0.10/;
9409 mention disappearance of gst_init_get_popt_table()
9412 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9414 * docs/faq/using.xml:
9415 Spider no longer exists, and neither does gst-launch-ext.
9416 Update examples to use decodebin and playbin and put
9417 converters in front of sinks (fixes #323726).
9419 2005-12-09 Michael Smith <msmith@fluendo.com>
9421 * plugins/elements/gsttypefindelement.c: (find_peek),
9422 (gst_type_find_element_chain):
9423 Fix leaking element factories in typefinding.
9424 Fix problem where we forgot about a probable type on non-seekable
9425 files, and thus later mis-typefound it.
9427 2005-12-09 Michael Smith <msmith@fluendo.com>
9429 * common/m4/gst-makecontext.m4:
9430 * common/m4/gst-mcsc.m4:
9432 * win32/common/config.h:
9433 * win32/common/config.h.in:
9434 Remove makecontext stuff; not used in 0.10 and causes problems on
9435 HPUX according to bug #322441
9437 2005-12-07 Wim Taymans <wim@fluendo.com>
9439 * tests/check/Makefile.am:
9440 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9442 * tests/check/libs/struct_i386.h:
9443 Added ABI check for libs
9445 2005-12-07 Wim Taymans <wim@fluendo.com>
9447 * tests/check/Makefile.am:
9448 And add the struct_i386.h to dist.
9450 2005-12-07 Wim Taymans <wim@fluendo.com>
9452 * tests/check/Makefile.am:
9453 * tests/check/gst/.cvsignore:
9454 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9456 * tests/check/gst/struct_i386.h:
9457 Added check for ABI compatibility.
9459 2005-12-07 Wim Taymans <wim@fluendo.com>
9461 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9462 (gst_fake_src_get_times), (gst_fake_src_create):
9463 Fix broken sync option, fixes #323259
9465 2005-12-07 Wim Taymans <wim@fluendo.com>
9470 * gst/gstcaps.c: (gst_caps_is_equal):
9471 Don't assert on NULL <--> X. Fixes #323260
9473 * gst/gstminiobject.c: (gst_mini_object_replace):
9474 If we're doing atomic operations, we might just as well use
9475 the proper way to get an atomic pointer.
9477 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9480 2005-12-07 Michael Smith <msmith@fluendo.com>
9482 * gst/parse/grammar.y:
9483 Remove handling of { } for threads.
9485 2005-12-06 David Schleef <ds@schleef.org>
9487 * libs/gst/base/gstbasetransform.c: speling fix.
9489 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
9491 * docs/libs/tmpl/gstdataprotocol.sgml:
9492 * docs/random/omega/testing/gstobject.c:
9496 * gst/gstelementfactory.c:
9499 * gst/gstghostpad.c:
9501 * gst/gstpadtemplate.c:
9502 * gst/gstregistryxml.c:
9504 * gst/gsttagsetter.c:
9505 * gst/gsttypefind.c:
9507 * libs/gst/base/gstbasesrc.c:
9508 * libs/gst/net/gstnetclientclock.c:
9509 * libs/gst/net/gstnettimeprovider.c:
9510 * plugins/elements/gstfakesrc.c:
9511 * plugins/elements/gstfdsrc.c:
9512 * plugins/elements/gstfilesrc.c:
9513 * plugins/elements/gstidentity.c:
9514 * plugins/elements/gstqueue.c:
9515 * plugins/elements/gsttypefindelement.c:
9516 * plugins/indexers/gstfileindex.c:
9517 * plugins/indexers/gstmemindex.c:
9518 * tests/check/gst/gsttag.c:
9519 * tests/old/examples/cutter/cutter.c:
9520 * tests/old/examples/mixer/mixer.c:
9521 * tests/old/examples/xml/runxml.c: (main):
9522 * tests/old/testsuite/caps/normalisation.c:
9523 * tests/old/testsuite/debug/global.c:
9524 * tests/old/testsuite/parse/parse1.c:
9525 * tools/gst-xmlinspect.c:
9526 * win32/common/dirent.c:
9529 === release 0.10.0 ===
9531 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9534 releasing 0.10.0, "Maroilles"
9536 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9538 submitted by: Funda Wang <fundawang@linux.net.cn>
9542 added Chinese (Traditional) translation
9544 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9546 * docs/gst/gstreamer-sections.txt:
9547 * docs/libs/tmpl/gstdataprotocol.sgml:
9548 * docs/random/thomasvs/TODO:
9553 2005-12-05 Andy Wingo <wingo@pobox.com>
9555 patch by: Wim Taymans <wim@fluendo.com>
9557 * libs/gst/base/gstbasetransform.c
9558 (gst_base_transform_prepare_output_buf)
9559 (gst_base_transform_buffer_alloc):
9560 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9561 alloc_buffer_and_set_caps.
9563 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9564 set_caps on the source pad.
9565 (gst_pad_alloc_buffer_and_set_caps): New function, does what
9566 alloc_buffer used to do. Fixes #322874.
9568 * docs/gst/gstreamer-sections.txt:
9569 * docs/design/part-negotiation.txt:
9570 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9573 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9575 patch by: Sebastien Moutte
9578 * win32/common/config.h.in:
9579 * win32/vs6/libgstcontroller.dsp:
9582 2005-12-05 Wim Taymans <wim@fluendo.com>
9584 * gst/gstcaps.c: (gst_caps_is_equal):
9585 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9586 (gst_fake_src_create):
9587 Back out previous code changes, leave doc updates, file bugs
9590 2005-12-05 Wim Taymans <wim@fluendo.com>
9592 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9593 (gst_fake_src_get_times), (gst_fake_src_create):
9594 * plugins/elements/gstfakesrc.h:
9595 Fix broken sync code.
9597 2005-12-05 Wim Taymans <wim@fluendo.com>
9599 * gst/gstcaps.c: (gst_caps_is_equal):
9600 Comparing NULL against !NULL yields different caps, not a
9603 2005-12-05 Wim Taymans <wim@fluendo.com>
9605 * gst/gstpipeline.c:
9606 Fix small typo in docs.
9608 2005-12-05 Andy Wingo <wingo@pobox.com>
9610 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
9612 * gst/gst.c (init_post): remove hard-coded 0.9 location for
9613 registries/plugins with a MAJORMINOR one.
9614 (plugin_desc): Rename library from gstcoreleements to
9615 staticelements. Fixes #323222.
9617 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
9619 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9620 Change debug category to 'collectpads' from 'collect_pads'
9623 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9625 patch by: Sebastien Moutte
9627 * libs/gst/controller/gstinterpolation.c:
9628 use convert function for uint64/double
9629 * win32/vs6/libgstcontroller.dsp:
9632 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9634 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9635 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9637 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9638 add tests that seem to show that the guint64/gdouble conversions
9641 2005-12-02 Wim Taymans <wim@fluendo.com>
9643 * gst/gstregistry.c: (gst_registry_add_path):
9644 * gst/gstregistry.h:
9645 * gst/gstregistryxml.c:
9648 2005-12-02 Wim Taymans <wim@fluendo.com>
9650 * gst/gstutils.c: (gst_util_uint64_scale_int64),
9651 (gst_util_uint64_scale_int):
9654 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9657 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9660 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9663 * win32/common/config.h:
9664 * win32/vs6/gstreamer.dsw:
9665 * win32/vs6/libgstcoreelements.dsp:
9666 * win32/vs6/libgstelements.dsp:
9667 renamed core elements plugin
9669 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9671 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9673 do piece-wise major/minor comparison so 0.9 < 0.10
9674 also allow .exe extensions for tools
9676 2005-12-02 Michael Smith <msmith@fluendo.com>
9679 Escape a % to make gtkdoc happier; bug 322958.
9681 === release 0.9.7 ===
9683 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9686 releasing 0.9.7, "My Dog Has No Nose"
9688 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9690 * common/gst-xmlinspect.py:
9692 * docs/libs/tmpl/gstdataprotocol.sgml:
9693 * docs/random/release:
9712 * win32/common/config.h:
9713 * win32/common/config.h.in:
9714 * win32/vs6/gst_inspect.dsp:
9715 * win32/vs6/gst_launch.dsp:
9716 * win32/vs6/libgstbase.dsp:
9717 * win32/vs6/libgstelements.dsp:
9718 * win32/vs6/libgstreamer.dsp:
9719 * win32/vs7/GStreamer.vcproj:
9720 * win32/vs7/gst-inspect.vcproj:
9721 * win32/vs7/gst-launch.vcproj:
9722 * win32/vs7/libgstbase.vcproj:
9723 bump GST_MAJORMINOR to 0.10
9724 reset libtool version
9726 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9730 Added Bulgarian translation by (Alexander Shopov)
9732 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9734 * tests/check/gst/gstplugin.c:
9737 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9739 * common/gst-xmlinspect.py:
9740 * common/gtk-doc-plugins.mak:
9743 * docs/gst/Makefile.am:
9744 * docs/gst/gstreamer-docs.sgml:
9745 * docs/gst/gstreamer-sections.txt:
9746 * docs/gst/gstreamer.types:
9747 * docs/gst/gstreamer.types.in:
9748 * docs/plugins/Makefile.am:
9749 * docs/plugins/gstreamer-plugins-docs.sgml:
9750 * docs/plugins/gstreamer-plugins-sections.txt:
9751 * docs/plugins/gstreamer-plugins.types:
9752 * docs/plugins/inspect.stamp:
9753 * docs/plugins/inspect/plugin-coreelements.xml:
9754 * docs/plugins/inspect/plugin-coreindexers.xml:
9755 * docs/plugins/scanobj-build.stamp:
9756 * gstreamer.spec.in:
9757 * plugins/elements/Makefile.am:
9758 * plugins/elements/gstelements.c:
9759 * plugins/elements/gstfakesink.c:
9760 * plugins/elements/gstfakesrc.c:
9761 * plugins/elements/gstfilesink.c:
9762 * plugins/elements/gstfilesrc.c:
9763 * plugins/elements/gstqueue.c:
9764 * plugins/indexers/Makefile.am:
9765 * plugins/indexers/gstindexers.c:
9766 document core plugins in a separate document just like all the
9768 rename these plugins to something starting with core
9770 2005-12-01 Andy Wingo <wingo@pobox.com>
9772 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
9773 padding here before, but it missed the commit.
9775 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9777 * libs/gst/controller/gstinterpolation.c:
9778 whitespace prices have crashed, we should feel free to use some now
9779 use gst_guint64_to_gdouble
9781 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9783 * libs/gst/controller/gstcontroller.c:
9784 * libs/gst/controller/gsthelper.c:
9785 * libs/gst/controller/gstinterpolation.c:
9786 * libs/gst/controller/lib.c:
9787 wrap config.h include
9789 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9791 * docs/gst/gstreamer-sections.txt:
9794 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9796 * plugins/elements/gstelements.c:
9797 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
9798 (gst_fd_sink__class_init), (gst_fd_sink__init),
9799 (gst_fd_sink__chain), (gst_fd_sink__set_property),
9800 (gst_fd_sink__get_property):
9801 * plugins/elements/gstfdsink.h:
9802 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
9803 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
9804 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
9805 (gst_fd_src_unlock), (gst_fd_src_set_property),
9806 (gst_fd_src_get_property), (gst_fd_src_create),
9807 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
9808 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
9809 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
9810 (gst_fd_src_uri_handler_init):
9811 * plugins/elements/gstfdsrc.h:
9812 * plugins/elements/gstqueue.c: (gst_queue_get_type):
9815 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9817 * docs/gst/Makefile.am:
9818 * docs/gst/gstreamer.types.in:
9822 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9828 * gst/gstregistry.h:
9829 * tests/benchmarks/complexity.c:
9830 * tests/benchmarks/mass-elements.c:
9831 * tests/check/Makefile.am:
9832 * tools/Makefile.am:
9833 * tools/gst-inspect.c:
9834 * tools/gst-xmlinspect.c:
9835 various fixes to make
9836 --disable-nls --disable-registry --disable-loadsave
9837 --disable-parse --disable-gst-debug
9838 work and get the core .so down to 360444 bytes after stripping
9840 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9845 * docs/random/thomasvs/TODO:
9846 * tests/Makefile.am:
9850 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9852 * win32/GStreamer.vcproj:
9855 * win32/Makefile.inspect:
9856 * win32/Makefile.launch:
9857 * win32/Makefile.register:
9859 * win32/gst-inspect.vcproj:
9860 * win32/gst-launch.vcproj:
9861 * win32/gst-register.vcproj:
9862 * win32/gstelements.vcproj:
9863 * win32/gstgetbits.def:
9864 * win32/gstgetbits.vcproj:
9865 * win32/gstreamer-dbg.def:
9866 * win32/gstreamer.def:
9867 * win32/libgstbase.def:
9868 * win32/libgstbase.vcproj:
9869 * win32/link_oldruntime.c:
9874 move even more stuff, win32/ is nice and clean now
9876 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9878 * libs/gst/control/.cvsignore:
9883 * win32/gstbytestream.def:
9884 * win32/gstbytestream.vcproj:
9885 * win32/gstconfig.h:
9886 * win32/gstenumtypes.c:
9887 * win32/gstenumtypes.h:
9888 * win32/gstoptimalscheduler.vcproj:
9889 * win32/gstversion.h:
9891 * win32/testsuite/bins.vcproj:
9892 * win32/testsuite/bytestream.vcproj:
9893 * win32/testsuite/caps.vcproj:
9894 * win32/testsuite/cleanup.vcproj:
9895 * win32/testsuite/clock.vcproj:
9896 * win32/testsuite/debug.vcproj:
9897 * win32/testsuite/dlopen.vcproj:
9898 * win32/testsuite/dynparams.vcproj:
9899 * win32/testsuite/elements.vcproj:
9900 * win32/testsuite/ghostpads.vcproj:
9901 * win32/testsuite/indexers.vcproj:
9902 * win32/testsuite/negotiation.vcproj:
9903 * win32/testsuite/parse.vcproj:
9904 * win32/testsuite/plugin.vcproj:
9905 * win32/testsuite/refcounting.vcproj:
9906 * win32/testsuite/schedulers.vcproj:
9907 * win32/testsuite/states.vcproj:
9908 * win32/testsuite/tags.vcproj:
9909 * win32/testsuite/threads.vcproj:
9910 remove old win32 stuff that isn't maintained and should be
9913 2005-11-30 Andy Wingo <wingo@pobox.com>
9915 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
9916 loading the gst.interfaces python module bork.
9918 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
9919 available since GLib 2.2. Fixes #318031.
9921 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9925 * check/Makefile.am:
9926 * check/elements/.cvsignore:
9927 * check/elements/fakesrc.c:
9928 * check/elements/fdsrc.c:
9929 * check/elements/identity.c:
9930 * check/generic/.cvsignore:
9931 * check/generic/states.c:
9932 * check/gst-libs/.cvsignore:
9933 * check/gst-libs/controller.c:
9934 * check/gst-libs/gdp.c:
9935 * check/gst/.cvsignore:
9936 * check/gst/capslist.h:
9938 * check/gst/gstbin.c:
9939 * check/gst/gstbuffer.c:
9940 * check/gst/gstbus.c:
9941 * check/gst/gstcaps.c:
9942 * check/gst/gstelement.c:
9943 * check/gst/gstevent.c:
9944 * check/gst/gstghostpad.c:
9945 * check/gst/gstiterator.c:
9946 * check/gst/gstmessage.c:
9947 * check/gst/gstminiobject.c:
9948 * check/gst/gstobject.c:
9949 * check/gst/gstpad.c:
9950 * check/gst/gstpipeline.c:
9951 * check/gst/gstplugin.c:
9952 * check/gst/gstsegment.c:
9953 * check/gst/gststructure.c:
9954 * check/gst/gstsystemclock.c:
9955 * check/gst/gsttag.c:
9956 * check/gst/gstutils.c:
9957 * check/gst/gstvalue.c:
9958 * check/net/.cvsignore:
9959 * check/net/gstnetclientclock.c:
9960 * check/net/gstnettimeprovider.c:
9961 * check/pipelines/.cvsignore:
9962 * check/pipelines/cleanup.c:
9963 * check/pipelines/simple_launch_lines.c:
9964 * check/pipelines/stress.c:
9965 * check/states/.cvsignore:
9966 * check/states/sinks.c:
9968 * examples/Makefile.am:
9969 * examples/appreader/.cvsignore:
9970 * examples/appreader/Makefile.am:
9971 * examples/appreader/appreader.c:
9972 * examples/controller/.cvsignore:
9973 * examples/controller/Makefile.am:
9974 * examples/controller/audio-example.c:
9975 * examples/cutter/.cvsignore:
9976 * examples/cutter/Makefile.am:
9977 * examples/cutter/cutter.c:
9978 * examples/cutter/cutter.h:
9979 * examples/events/Makefile.am:
9980 * examples/events/seek.c:
9981 * examples/helloworld/.cvsignore:
9982 * examples/helloworld/Makefile.am:
9983 * examples/helloworld/helloworld.c:
9984 * examples/helloworld2/.cvsignore:
9985 * examples/helloworld2/Makefile.am:
9986 * examples/helloworld2/helloworld2.c:
9987 * examples/launch/.cvsignore:
9988 * examples/launch/Makefile.am:
9989 * examples/launch/mp3parselaunch.c:
9990 * examples/launch/mp3play:
9991 * examples/manual/.cvsignore:
9992 * examples/manual/Makefile.am:
9993 * examples/manual/extract.pl:
9994 * examples/metadata/Makefile.am:
9995 * examples/metadata/read-metadata.c:
9996 * examples/mixer/.cvsignore:
9997 * examples/mixer/Makefile.am:
9998 * examples/mixer/mixer.c:
9999 * examples/mixer/mixer.h:
10000 * examples/pingpong/.cvsignore:
10001 * examples/pingpong/Makefile.am:
10002 * examples/pingpong/pingpong.c:
10003 * examples/plugins/.cvsignore:
10004 * examples/plugins/Makefile.am:
10005 * examples/plugins/example.c:
10006 * examples/plugins/example.h:
10007 * examples/pwg/.cvsignore:
10008 * examples/pwg/Makefile.am:
10009 * examples/pwg/extract.pl:
10010 * examples/queue/.cvsignore:
10011 * examples/queue/Makefile.am:
10012 * examples/queue/queue.c:
10013 * examples/queue2/.cvsignore:
10014 * examples/queue2/Makefile.am:
10015 * examples/queue2/queue2.c:
10016 * examples/queue3/.cvsignore:
10017 * examples/queue3/Makefile.am:
10018 * examples/queue3/queue3.c:
10019 * examples/queue4/.cvsignore:
10020 * examples/queue4/Makefile.am:
10021 * examples/queue4/queue4.c:
10022 * examples/retag/.cvsignore:
10023 * examples/retag/Makefile.am:
10024 * examples/retag/retag.c:
10025 * examples/retag/transcode.c:
10026 * examples/thread/.cvsignore:
10027 * examples/thread/Makefile.am:
10028 * examples/thread/thread.c:
10029 * examples/typefind/.cvsignore:
10030 * examples/typefind/Makefile.am:
10031 * examples/typefind/typefind.c:
10032 * examples/xml/.cvsignore:
10033 * examples/xml/Makefile.am:
10034 * examples/xml/createxml.c:
10035 * examples/xml/runxml.c:
10036 * tests/Makefile.am:
10037 * tests/check/Makefile.am:
10038 * testsuite/.cvsignore:
10039 * testsuite/Makefile.am:
10041 * testsuite/caps/.cvsignore:
10042 * testsuite/caps/Makefile.am:
10043 * testsuite/caps/app_fixate.c:
10044 * testsuite/caps/audioscale.c:
10045 * testsuite/caps/caps.c:
10046 * testsuite/caps/caps.h:
10047 * testsuite/caps/caps_strings:
10048 * testsuite/caps/compatibility.c:
10049 * testsuite/caps/deserialize.c:
10050 * testsuite/caps/enumcaps.c:
10051 * testsuite/caps/eratosthenes.c:
10052 * testsuite/caps/filtercaps.c:
10053 * testsuite/caps/fixed.c:
10054 * testsuite/caps/fraction-convert.c:
10055 * testsuite/caps/fraction-multiply-and-zero.c:
10056 * testsuite/caps/intersect2.c:
10057 * testsuite/caps/intersection.c:
10058 * testsuite/caps/normalisation.c:
10059 * testsuite/caps/random.c:
10060 * testsuite/caps/renegotiate.c:
10061 * testsuite/caps/sets.c:
10062 * testsuite/caps/simplify.c:
10063 * testsuite/caps/string-conversions.c:
10064 * testsuite/caps/structure.c:
10065 * testsuite/caps/subtract.c:
10066 * testsuite/caps/union.c:
10067 * testsuite/debug/.cvsignore:
10068 * testsuite/debug/Makefile.am:
10069 * testsuite/debug/category.c:
10070 * testsuite/debug/commandline.c:
10071 * testsuite/debug/global.c:
10072 * testsuite/debug/output.c:
10073 * testsuite/debug/printf_extension.c:
10074 * testsuite/dlopen/.cvsignore:
10075 * testsuite/dlopen/Makefile.am:
10076 * testsuite/dlopen/dlopen_gst.c:
10077 * testsuite/dlopen/loadgst.c:
10078 * testsuite/elements/.cvsignore:
10079 * testsuite/elements/Makefile.am:
10080 * testsuite/elements/gst-inspect-check.in:
10081 * testsuite/elements/struct_i386.h:
10082 * testsuite/elements/struct_size.c:
10083 * testsuite/indexers/.cvsignore:
10084 * testsuite/indexers/Makefile.am:
10085 * testsuite/indexers/cache1.c:
10086 * testsuite/indexers/indexdump.c:
10087 * testsuite/parse/.cvsignore:
10088 * testsuite/parse/Makefile.am:
10089 * testsuite/parse/parse1.c:
10090 * testsuite/parse/parse2.c:
10091 * testsuite/plugin/.cvsignore:
10092 * testsuite/plugin/Makefile.am:
10093 * testsuite/plugin/README:
10094 * testsuite/plugin/dynamic.c:
10095 * testsuite/plugin/linked.c:
10096 * testsuite/plugin/loading.c:
10097 * testsuite/plugin/registry.c:
10098 * testsuite/plugin/static.c:
10099 * testsuite/plugin/static2.c:
10100 * testsuite/plugin/testplugin.c:
10101 * testsuite/plugin/testplugin2.c:
10102 * testsuite/plugin/testplugin2_s.c:
10103 * testsuite/plugin/testplugin_s.c:
10104 * testsuite/refcounting/.cvsignore:
10105 * testsuite/refcounting/Makefile.am:
10106 * testsuite/refcounting/bin.c:
10107 * testsuite/refcounting/element.c:
10108 * testsuite/refcounting/element_pad.c:
10109 * testsuite/refcounting/mainloop.c:
10110 * testsuite/refcounting/mem.c:
10111 * testsuite/refcounting/mem.h:
10112 * testsuite/refcounting/object.c:
10113 * testsuite/refcounting/pad.c:
10114 * testsuite/refcounting/sched.c:
10115 * testsuite/refcounting/thread.c:
10116 * testsuite/states/.cvsignore:
10117 * testsuite/states/Makefile.am:
10118 * testsuite/states/bin.c:
10119 * testsuite/states/locked.c:
10120 * testsuite/states/parent.c:
10121 * testsuite/threads/.cvsignore:
10122 * testsuite/threads/159566.c:
10123 * testsuite/threads/159852.c:
10124 * testsuite/threads/Makefile.am:
10125 * testsuite/threads/queue.c:
10126 * testsuite/threads/signals.c:
10127 * testsuite/threads/staticrec.c:
10128 * testsuite/threads/thread.c:
10129 * testsuite/threads/threadb.c:
10130 * testsuite/threads/threadc.c:
10131 * testsuite/threads/threadd.c:
10132 * testsuite/threads/threade.c:
10133 * testsuite/threads/threadf.c:
10134 * testsuite/threads/threadg.c:
10135 * testsuite/threads/threadh.c:
10136 * testsuite/threads/threadi.c:
10137 move all of these under tests
10139 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10142 * tests/Makefile.am:
10145 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10147 * docs/gst/gstreamer-sections.txt:
10148 * tests/sched/.cvsignore:
10149 * tests/sched/Makefile.am:
10150 * tests/sched/cases/(fs-fs).xml:
10151 * tests/sched/cases/(fs-i-fs).xml:
10152 * tests/sched/cases/(fs-i-i-fs).xml:
10153 * tests/sched/cases/(fs-i-q[i-fs]).xml:
10154 * tests/sched/dynamic-pipeline.c:
10155 * tests/sched/interrupt1.c:
10156 * tests/sched/interrupt2.c:
10157 * tests/sched/interrupt3.c:
10158 * tests/sched/runtestcases:
10159 * tests/sched/runxml.c:
10160 * tests/sched/sched-stress.c:
10161 * tests/sched/sort.c:
10162 * tests/sched/testcases:
10163 * tests/sched/testcases1.tc:
10164 * tests/seeking/.cvsignore:
10165 * tests/seeking/Makefile.am:
10166 * tests/seeking/seeking1.c:
10167 * tests/threadstate/.cvsignore:
10168 * tests/threadstate/Makefile.am:
10169 * tests/threadstate/test1.c:
10170 * tests/threadstate/test2.c:
10171 * tests/threadstate/threadstate1.c:
10172 * tests/threadstate/threadstate2.c:
10173 * tests/threadstate/threadstate3.c:
10174 * tests/threadstate/threadstate4.c:
10175 * tests/threadstate/threadstate5.c:
10176 remove obsolete tests
10178 * tests/bench-complexity.scm:
10179 * tests/bench-mass_elements.scm:
10180 * tests/complexity.c:
10181 * tests/complexity.gnuplot:
10182 * tests/instantiate/.cvsignore:
10183 * tests/instantiate/Makefile.am:
10184 * tests/instantiate/caps.c:
10185 * tests/mass_elements.c:
10186 * tests/network-clock-utils.scm:
10187 * tests/network-clock.scm:
10189 First pass at cleaning up tests/ dir before moving the rest
10190 Combined with CVS surgery
10192 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10195 queue has moved, update
10197 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10199 * docs/gst/gstreamer-sections.txt:
10200 remove double entries from the docs
10201 * gst/gst_private.h:
10202 * gst/gstinfo.c: (_gst_debug_init):
10203 remove the THREAD debug category
10207 * docs/gst/gstreamer.types:
10208 * plugins/elements/gstqueue.c: (gst_queue_get_type),
10209 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10210 completely move queue and fix up debugging categories
10212 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10214 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10215 make initialization portable, using LL is not
10217 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10219 * win32/common/gstconfig.h:
10222 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10224 * win32/common/libgstreamer.def:
10225 rename symbols; sort base section
10227 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10229 * gst/gstclock.c: (do_linear_regression):
10230 remove crack non-portable handrolled DEBUG macro
10232 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10234 * docs/random/release:
10236 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10237 (gst_object_flags_get_type), (register_gst_bin_flags),
10238 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10239 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10240 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10241 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10242 (gst_caps_flags_get_type), (register_gst_clock_return),
10243 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10244 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10245 (gst_clock_flags_get_type), (register_gst_state),
10246 (gst_state_get_type), (register_gst_state_change_return),
10247 (gst_state_change_return_get_type), (register_gst_state_change),
10248 (gst_state_change_get_type), (register_gst_element_flags),
10249 (gst_element_flags_get_type), (register_gst_core_error),
10250 (gst_core_error_get_type), (register_gst_library_error),
10251 (gst_library_error_get_type), (register_gst_resource_error),
10252 (gst_resource_error_get_type), (register_gst_stream_error),
10253 (gst_stream_error_get_type), (register_gst_event_type_flags),
10254 (gst_event_type_flags_get_type), (register_gst_event_type),
10255 (gst_event_type_get_type), (register_gst_seek_type),
10256 (gst_seek_type_get_type), (register_gst_seek_flags),
10257 (gst_seek_flags_get_type), (register_gst_format),
10258 (gst_format_get_type), (register_gst_index_certainty),
10259 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10260 (gst_index_entry_type_get_type),
10261 (register_gst_index_lookup_method),
10262 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10263 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10264 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10265 (gst_index_flags_get_type), (register_gst_debug_level),
10266 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10267 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10268 (gst_iterator_result_get_type), (register_gst_iterator_item),
10269 (gst_iterator_item_get_type), (register_gst_message_type),
10270 (gst_message_type_get_type), (register_gst_mini_object_flags),
10271 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10272 (gst_pad_link_return_get_type), (register_gst_flow_return),
10273 (gst_flow_return_get_type), (register_gst_activate_mode),
10274 (gst_activate_mode_get_type), (register_gst_pad_direction),
10275 (gst_pad_direction_get_type), (register_gst_pad_flags),
10276 (gst_pad_flags_get_type), (register_gst_pad_presence),
10277 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10278 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10279 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10280 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10281 (gst_plugin_flags_get_type), (register_gst_rank),
10282 (gst_rank_get_type), (register_gst_query_type),
10283 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10284 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10285 (gst_tag_flag_get_type), (register_gst_task_state),
10286 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10287 (gst_alloc_trace_flags_get_type),
10288 (register_gst_type_find_probability),
10289 (gst_type_find_probability_get_type), (register_gst_uri_type),
10290 (gst_uri_type_get_type), (register_gst_parse_error),
10291 (gst_parse_error_get_type):
10292 * win32/common/gstenumtypes.h:
10293 * win32/common/gstversion.h:
10294 update visual studio generated files
10296 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10298 * win32/vs6/libgstbase.dsp:
10299 * win32/vs6/libgstelements.dsp:
10300 update project files for new locations
10302 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10307 reinstate and update
10312 * docs/random/LICENSE:
10315 2005-11-30 Edward Hervey <edward@fluendo.com>
10317 * gst/gsttypefind.c: (gst_type_find_register):
10318 * gst/gsttypefind.h:
10319 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10320 (gst_type_find_factory_dispose):
10321 * gst/gsttypefindfactory.h:
10322 Fix memory leak in GstTypeFindFactory.
10324 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10327 * plugins/elements/Makefile.am:
10328 * plugins/elements/gstelements.c:
10329 * plugins/elements/gstqueue.c:
10330 move queue from core to the elements plugin
10332 2005-11-29 Andy Wingo <wingo@pobox.com>
10334 * libs/gst/base/gstbasetransform.h:
10335 * libs/gst/base/gstbasesrc.h:
10336 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10338 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10339 of pointers by which to pad very extensible base classes (like the
10340 ones in libs/gst/base).
10342 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10344 * docs/gst/gstreamer-docs.sgml:
10345 * docs/gst/gstreamer-sections.txt:
10346 * docs/libs/gstreamer-libs-docs.sgml:
10347 * docs/libs/gstreamer-libs-sections.txt:
10348 moving documentation from core to lib
10350 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10352 * check/Makefile.am:
10354 * docs/gst/Makefile.am:
10356 * gst/base/.cvsignore:
10357 * gst/base/Makefile.am:
10359 * gst/base/gstadapter.c:
10360 * gst/base/gstadapter.h:
10361 * gst/base/gstbasesink.c:
10362 * gst/base/gstbasesink.h:
10363 * gst/base/gstbasesrc.c:
10364 * gst/base/gstbasesrc.h:
10365 * gst/base/gstbasetransform.c:
10366 * gst/base/gstbasetransform.h:
10367 * gst/base/gstcollectpads.c:
10368 * gst/base/gstcollectpads.h:
10369 * gst/base/gstpushsrc.c:
10370 * gst/base/gstpushsrc.h:
10371 * gst/base/gsttypefindhelper.c:
10372 * gst/base/gsttypefindhelper.h:
10373 * gst/check/Makefile.am:
10374 * gst/check/gstcheck.c:
10375 * gst/check/gstcheck.h:
10376 * gst/net/Makefile.am:
10377 * gst/net/gstnet.h:
10378 * gst/net/gstnetclientclock.c:
10379 * gst/net/gstnetclientclock.h:
10380 * gst/net/gstnettimepacket.c:
10381 * gst/net/gstnettimepacket.h:
10382 * gst/net/gstnettimeprovider.c:
10383 * gst/net/gstnettimeprovider.h:
10384 * libs/gst/Makefile.am:
10385 * libs/gst/base/Makefile.am:
10386 * libs/gst/base/gstbasetransform.c:
10387 * libs/gst/check/Makefile.am:
10388 * plugins/elements/Makefile.am:
10390 CVS surgery + support to move base, check, and net out of gst
10393 2005-11-29 Andy Wingo <wingo@pobox.com>
10395 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10397 * gst/gststructure.h (struct _GstStructure): Only one pointer of
10400 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10402 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10404 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10406 * gst/gstobject.h: (struct _GstObject): Only one pointer of
10407 padding; reduces object size by about 30%. We don't expect
10408 anything else to go into gstobject.
10410 * gst/gstminiobject.h (struct _GstMiniObject)
10411 (struct _GstMiniObjectClass): Only one pointer of padding; the
10412 payload is only a pointer and two ints anyway. For the class there
10413 are only two methods as well.
10415 * gst/gstelement.h (struct _GstElementClass): Removed
10416 the state_changed signal callback, it is not used.
10418 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10420 * docs/gst/gstreamer.types:
10421 fix includes, though they are a little dinky
10423 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10425 * check/Makefile.am:
10426 look in the right place for elements, a lot more chance of
10429 remove indexers and elements subdirs
10430 * plugins/Makefile.am:
10431 make indexers conditional
10433 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10437 * plugins/elements/Makefile.am:
10438 * plugins/elements/gstcapsfilter.c:
10439 * plugins/elements/gstfilesink.c:
10440 * plugins/elements/gstfilesrc.c:
10441 * plugins/elements/gstidentity.c:
10442 * plugins/indexers/Makefile.am:
10443 do CVS surgery and related build fixery to move elements
10444 and indexers in a new gstreamer/plugins directory, out of the
10447 2005-11-29 Andy Wingo <wingo@pobox.com>
10449 * check/Makefile.am:
10450 * pkgconfig/gstreamer-net-uninstalled.pc.in:
10451 * pkgconfig/gstreamer-net.pc.in:
10452 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10455 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10457 * tools/Makefile.am:
10458 * tools/gst-complete.1.in:
10459 * tools/gst-complete.c:
10460 * tools/gst-compprep.1.in:
10461 * tools/gst-compprep.c:
10462 removing -compprep and -complete
10464 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10466 * gst/gstevent.c: (gst_event_new_new_segment),
10467 (gst_event_parse_new_segment):
10469 fix #320529 - clean up new_segment API and structure.
10470 Let's hope everyone was using the methods, and not the structure.
10472 2005-11-29 Edward Hervey <edward@fluendo.com>
10474 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10475 (gst_base_sink_event), (gst_base_sink_do_sync),
10476 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10477 Properly handle non GST_FORMAT_TIME segment
10478 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10479 Properly handle non GST_FORMAT_TIME segment
10480 * gst/gstsegment.c:
10481 This function is valid if the accumulator is 0 and the format
10482 is different from the requested format.
10484 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10486 * docs/gst/gstreamer-sections.txt:
10487 Add gst_query_new_seeking and gst_query_parse_seeking to the
10490 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10492 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10493 Treat a pad alloc with new caps the same as if we were not
10494 negotiated, in order to allow a changing upstream output
10495 to produce a new format of data.
10497 2005-11-29 Edward Hervey <edward@fluendo.com>
10499 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10500 (gst_base_transform_event), (gst_base_transform_eventfunc):
10501 The event virtual method is now properly implemented, with a default
10503 Sub classes should call the parent_class event method. They should
10504 return FALSE if they had a problem handling the given event, or don't
10505 want GstBaseTransform to send that even downstream
10506 * gst/elements/gstidentity.c: (gst_identity_class_init),
10507 (gst_identity_init), (gst_identity_event),
10508 (gst_identity_transform_ip), (gst_identity_set_property),
10509 (gst_identity_get_property):
10510 * gst/elements/gstidentity.h:
10511 Added the single-segment boolean property.
10512 If set to TRUE, it will output a single segment of data, starting from
10513 0, will eat up all incoming newsegment, and modify the timestamp of the
10514 buffers accordingly
10516 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
10518 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10519 Don't ref NULL target pad (#322751). Improve docs.
10521 2005-11-29 Michael Smith <msmith@fluendo.com>
10523 * gst/gstregistryxml.c: (load_plugin):
10524 Don't crash if we failed to load a feature from a plugin.
10526 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10528 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10530 use more check API and less GLib API
10532 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10535 don't run checks if we don't have check
10536 * common/check.mak:
10537 remove the registry when running make torture
10538 * docs/gst/gstreamer-sections.txt:
10539 remove second multiply
10540 * gst/gstqueue.c: (gst_queue_loop):
10541 fix a compile warning when disabling debug
10543 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10546 Hey! Let's print the pad name if the pointer != NULL instead
10547 of when it == NULL :-)
10549 2005-11-28 Wim Taymans <wim@fluendo.com>
10551 * check/gst/gstutils.c: (GST_START_TEST):
10552 Updated check, add some scaling accuracy checking code.
10554 * gst/gstutils.c: (gst_util_div128_64),
10555 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10556 (gst_util_uint64_scale_int):
10557 Fix 6 times faster division code. Optimize for common
10558 1/1 and less common X/1 cases.
10560 2005-11-28 Wim Taymans <wim@fluendo.com>
10562 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10565 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10566 (do_linear_regression), (gst_clock_add_observation):
10568 Release lock when the clock cannot be slaved.
10569 Catch the case where the regression returned an invalid denominator.
10571 * gst/gstutils.c: (gst_util_div128_64_iterate),
10572 (gst_util_div128_64), (gst_util_uint64_scale_int64),
10573 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10574 Add protentially more performant non-iterative 128/64 divide function
10575 that unfortunatly does not work yet.
10576 Shortcut the trivial 0/X = 0 case.
10577 Remove the warnings on overflow.
10579 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10581 * gst/gstplugin.c: (gst_plugin_register_func):
10582 everything causing a plugin not to load should be at least a WARNING
10584 2005-11-28 Stefan Kost <ensonic@users.sf.net>
10586 * docs/random/ensonic/dparams.txt:
10587 some TODOs for the next dev cycle
10588 * libs/gst/controller/gstcontroller.c:
10589 (gst_controlled_property_set_interpolation_mode),
10590 (gst_controlled_property_new):
10591 * libs/gst/controller/gstcontroller.h:
10592 use base type to assign acccessor functions
10594 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10596 * check/Makefile.am:
10597 Oops, that should have been top_srcdir
10599 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10601 * check/Makefile.am:
10602 * check/elements/fdsrc.c: (GST_START_TEST):
10603 Use a cmdline define to specify the location of a file to use for
10604 testing, to avoid breaking distcheck.
10606 2005-11-28 Andy Wingo <wingo@pobox.com>
10608 * gst/gstpad.c (fixate_value): Use array functions for arrays.
10610 2005-11-28 Edward Hervey <edward@fluendo.com>
10612 * tools/gst-launch.c: (main):
10613 Clarify the output strings, makes it easier to translate.
10616 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10619 don't try and build net if we don't even have <sys/socket.h>
10621 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
10623 * check/Makefile.am:
10624 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10625 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10626 Add tests for fdsrc seekability
10628 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10629 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10630 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10631 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10632 * gst/elements/gstfdsrc.h:
10633 fdsrc should not be a 'live' source.
10634 Implement seeking on seekable fd's.
10636 * gst/gstquery.c: (gst_query_new_seeking),
10637 (gst_query_parse_seeking):
10639 Implement SEEKING query functions:
10640 *_new_seeking and *_parse_seeking
10642 2005-11-27 Stefan Kost <ensonic@users.sf.net>
10644 * gst/gstelement.c: (gst_element_dispose):
10647 * gst/gstiterator.c:
10648 * gst/gststructure.c:
10651 * libs/gst/controller/gstcontroller.c:
10652 (gst_controlled_property_set_interpolation_mode):
10653 * libs/gst/controller/gstcontroller.h:
10654 * libs/gst/controller/gstinterpolation.c:
10655 (interpolate_none_get_enum_value_array):
10656 support controlling enums
10658 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10661 Improve documentation for gst_value_union().
10664 Change return value for union, intersect and subtract functions
10665 from gint to gboolean.
10667 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10669 * gst/gstvalue.c: (gst_value_serialize_any_list),
10670 (gst_value_transform_any_list_string),
10671 (gst_value_deserialize_list), (gst_value_deserialize_array),
10672 (gst_value_set_int_range), (gst_value_deserialize_int_range),
10673 (gst_value_set_double_range), (gst_value_deserialize_double_range),
10674 (gst_value_set_fraction_range_full),
10675 (gst_value_deserialize_fraction_range),
10676 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10677 (gst_value_deserialize_boolean),
10678 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10679 (gst_value_serialize_float), (gst_value_deserialize_float),
10680 (gst_string_wrap), (gst_value_deserialize_string),
10681 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10682 (gst_value_union_int_range_int_range),
10683 (gst_value_intersect_int_range_int_range),
10684 (gst_value_intersect_double_range_double_range),
10685 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10686 (gst_value_subtract_int_range_int_range),
10687 (gst_value_subtract_double_double_range),
10688 (gst_value_subtract_double_range_double_range),
10689 (gst_value_deserialize_fraction):
10691 Use gint, gdouble and gchar in our API instead of int, double and
10692 char (and make usage in gstvalue.c more consistent).
10694 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10696 * check/Makefile.am:
10697 * libs/gst/controller/Makefile.am:
10698 * libs/gst/dataprotocol/Makefile.am:
10699 fix up Makefile.am and remove GST_ENABLE_NEW
10701 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10705 * gst/base/Makefile.am:
10706 * gst/check/Makefile.am:
10707 * gst/elements/Makefile.am:
10708 * gst/net/Makefile.am:
10709 update LDFLAGS use some more
10711 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10713 * common/m4/gst-doc.m4:
10716 2005-11-26 Edward Hervey <edward@fluendo.com>
10718 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10719 This shouldn't issue a g_warning since it returns NULL if it
10720 couldn't find the plugin, and all functions using this behave
10721 properly on a NULL return. Switching to a GST_WARNING.
10723 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
10725 * gst/gstbin.c: (gst_bin_handle_message_func):
10726 Don't leak clock messages.
10728 2005-11-25 Wim Taymans <wim@fluendo.com>
10730 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10731 (gst_util_uint64_scale_int):
10732 Optimisations, remove unneeded vars.
10734 2005-11-25 Wim Taymans <wim@fluendo.com>
10736 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10737 Added more checks for the high precision uint64 cases.
10739 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10740 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10741 Implement high precision (guint64 * guint64) / guint64.
10743 2005-11-24 Wim Taymans <wim@fluendo.com>
10745 * gst/base/gstbasesrc.c: (gst_base_src_query):
10746 Fix wrong percentage query.
10748 * gst/gstutils.c: (gst_util_uint64_scale),
10749 (gst_util_uint64_scale_int):
10750 Add some more common cases that can be handled
10751 efficiently to _scale.
10753 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10755 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
10756 (gst_mini_object_suite):
10757 don't use check calls from threads; check probably isn't
10758 threadsafe and using a lock to make it threadsafe would
10759 defeat the purpose of this check
10760 * gst/check/gstcheck.c:
10761 * gst/check/gstcheck.h:
10762 use GST_DEBUG some more
10764 2005-11-24 Wim Taymans <wim@fluendo.com>
10766 * gst/gstutils.c: (gst_util_uint64_scale),
10767 (gst_util_uint64_scale_int):
10768 Chain trivial case to _scale_int.
10770 2005-11-24 Wim Taymans <wim@fluendo.com>
10772 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10773 Added test for scaling.
10778 * gst/gstutils.c: (gst_util_uint64_scale_int):
10779 Implemented high precision scaling code.
10781 2005-11-24 Stefan Kost <ensonic@users.sf.net>
10784 do not crash on pad==NULL
10786 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10788 Patch by: Stefan Kost
10790 * common/gtk-doc.mak:
10791 * docs/gst/Makefile.am:
10792 * docs/libs/Makefile.am:
10793 Fix distcheck issues for the libraries docs build
10796 2005-11-24 Michael Smith <msmith@fluendo.com>
10798 * docs/manual/basics-helloworld.xml:
10799 Fix bug #315027: memory leak in example code in docs.
10801 2005-11-24 Michael Smith <msmith@fluendo.com>
10803 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10804 Unlock the PREROLL_LOCK in a failure case.
10806 2005-11-24 Wim Taymans <wim@fluendo.com>
10808 * docs/gst/gstreamer-sections.txt:
10809 * gst/base/gstadapter.h:
10810 * gst/base/gstbasesink.h:
10811 * gst/base/gstbasesrc.h:
10812 * gst/base/gstbasetransform.h:
10813 * gst/base/gstpushsrc.h:
10814 * gst/elements/gstfakesink.h:
10815 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
10816 * gst/elements/gstfakesrc.h:
10817 * gst/elements/gstfilesink.h:
10818 * gst/elements/gstfilesrc.h:
10821 * gst/gstbuffer.c: (_gst_buffer_copy):
10824 * gst/gstchildproxy.c:
10826 * gst/gstelement.c:
10827 * gst/gstelementfactory.c:
10828 * gst/gstelementfactory.h:
10830 * gst/gstghostpad.h:
10832 * gst/gstinterface.h:
10833 * gst/gstminiobject.c:
10834 * gst/gstminiobject.h:
10837 * gst/gstpadtemplate.h:
10838 * gst/gstpipeline.h:
10839 * gst/gstpluginfeature.h:
10842 * gst/gsttaglist.c:
10843 * gst/gsttaglist.h:
10844 * gst/gsttagsetter.c:
10845 * gst/gsttagsetter.h:
10848 * gst/gsttypefind.h:
10851 * gst/net/gstnetclientclock.c:
10852 * gst/net/gstnetclientclock.h:
10853 * gst/net/gstnettimepacket.c:
10854 * gst/net/gstnettimeprovider.c:
10855 * gst/net/gstnettimeprovider.h:
10858 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10860 * configure.ac: back to HEAD
10862 === release 0.9.6 ===
10864 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10867 releasing 0.9.6, "Always On Time"
10869 2005-11-23 Wim Taymans <wim@fluendo.com>
10871 * docs/gst/gstreamer-sections.txt:
10872 * gst/glib-compat.c:
10873 * gst/gsttagsetter.c:
10875 * gst/net/gstnetclientclock.c:
10876 * gst/net/gstnettimepacket.h:
10879 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10881 * docs/faq/using.xml:
10882 * docs/libs/tmpl/gstcontrol.sgml:
10883 * docs/manual/advanced-dparams.xml:
10884 * docs/manual/appendix-checklist.xml:
10885 * docs/manual/basics-elements.xml:
10886 * docs/pwg/other-source.xml:
10887 * docs/random/moving-plugins:
10889 * tools/gst-launch.1.in:
10890 remove mentions of sinesrc
10892 2005-11-23 Michael Smith <msmith@fluendo.com>
10894 * docs/gst/gstreamer-sections.txt:
10895 Update for new API and API changes.
10897 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
10899 Documentation typo fix.
10900 * gst/net/gstnettimepacket.c:
10901 Documentation fixes for arguments.
10903 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
10905 * gst/gststructure.c: (gst_structure_get_fraction),
10906 (gst_structure_parse_value),
10907 (gst_structure_fixate_field_nearest_fraction):
10908 * gst/gststructure.h:
10909 * gst/gstutils.c: (gst_util_uint64_scale_int):
10911 * scripts/update-funcnames:
10913 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
10914 Make gst_structure_fixate_field_nearest_fraction take a numerator
10915 and denominator argument instead of a GValue
10916 add gst_structure_get_fraction helper function.
10918 2005-11-23 Wim Taymans <wim@fluendo.com>
10920 * docs/design/part-TODO.txt:
10923 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10924 * gst/net/gstnetclientclock.h:
10925 Use parent fields for timeout and window_size.
10927 2005-11-23 Andy Wingo <wingo@pobox.com>
10929 * check/net/gstnetclientclock.c (test_functioning): Adjust to
10930 rate_num/rate_denom change.
10932 * gst/net/gstnetclientclock.c
10933 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
10934 OBJECT_LOCK. Don't call add_observation with the lock.
10936 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
10938 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
10940 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
10941 deal with rate as a fraction whose numerator and denominator are
10942 GstClockTime values.
10943 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
10944 master; the other fields are protected by the SLAVE_LOCK.
10945 (do_linear_regression): Note that this must be called with the
10947 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
10948 OBJECT_LOCK. Call set_calibration instead of touching the
10949 variables directly.
10950 (gst_clock_set_property, gst_clock_get_property): Protect
10951 master/slave parameters with the SLAVE_LOCK.
10953 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
10954 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
10955 note that all of the instance variables that add_observation and
10956 the set_master functions use are protected by that lock and not
10958 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
10960 * gst/gstclock.c (gst_clock_add_observation): No longer requires
10961 the caller to take the object lock.
10963 2005-11-23 Wim Taymans <wim@fluendo.com>
10965 * gst/gsterror.c: (_gst_core_errors_init):
10967 Add error for clock stuff.
10969 * gst/gstpipeline.c: (gst_pipeline_change_state),
10970 (gst_pipeline_set_clock):
10971 Post clock error when clock cannot be used in a pipeline.
10973 2005-11-23 Stefan Kost <ensonic@users.sf.net>
10975 * docs/gst/gstreamer-sections.txt:
10976 make two symbols from gstinfo private for the docs
10977 * gst/base/gstcollectpads.h:
10979 fix doc typos, update docs
10981 2005-11-22 Wim Taymans <wim@fluendo.com>
10983 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10984 (gst_base_sink_wait), (gst_base_sink_do_sync),
10985 (gst_base_sink_handle_event):
10986 * gst/base/gstbasesink.h:
10987 No need to store the clock, the parent element class already
10990 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
10991 Updates for clock_set returning a gboolean
10993 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
10994 (gst_clock_id_wait_async), (gst_clock_class_init),
10995 (gst_clock_init), (gst_clock_finalize),
10996 (gst_clock_get_internal_time), (gst_clock_get_time),
10997 (gst_clock_slave_callback), (gst_clock_set_master),
10998 (gst_clock_get_master), (do_linear_regression),
10999 (gst_clock_add_observation), (gst_clock_set_property),
11000 (gst_clock_get_property):
11002 Implement master/slave. When setting a clock as a slave, a
11003 periodic timeout is scheduled to sample master and slave times.
11004 Then the slave clock is recalibrated to match offset and rate
11005 of the master clock.
11006 Update logging a bit.
11007 Add flag so that a clock can state that is cannot be slaved to
11010 * gst/gstelement.c: (gst_element_set_clock):
11011 * gst/gstelement.h:
11012 The set clock returns a gboolean for when an element cannot
11013 deal with the selected clock in the pipeline.
11015 * gst/gstpipeline.c: (gst_pipeline_change_state),
11016 (gst_pipeline_set_clock):
11017 * gst/gstpipeline.h:
11018 Handle the case where the selected clock cannot be set on
11021 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11022 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11023 (gst_net_client_clock_set_property),
11024 (gst_net_client_clock_get_property),
11025 (gst_net_client_clock_observe_times):
11026 * gst/net/gstnetclientclock.h:
11027 Use regression code in GstClock parent, remove duplicated
11030 2005-11-22 Michael Smith <msmith@fluendo.com>
11032 * gst/gstutils.c: (gst_util_clock_time_scale):
11034 * docs/gst/gstreamer-sections.txt:
11035 Rename method to have extra underscore.
11037 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
11039 * gst/elements/Makefile.am:
11040 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11041 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11042 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11043 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11044 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11045 * gst/elements/gstfakesrc.h:
11046 * gst/gstqueue.c: (queue_leaky_get_type):
11047 correctly fix GEnumValues so that nick is the short lowercase
11049 * tools/gst-inspect.c: (print_element_properties_info):
11050 also show the nick, since it's useful to use from parse_launch
11054 2005-11-22 Michael Smith <msmith@fluendo.com>
11056 * gst/gstutils.c: (gst_util_clocktime_scale):
11058 * docs/gst/gstreamer-sections.txt:
11059 Add util method for scaling a clocktime by a fraction. Useful
11060 implementation is left as an exercise for the reader.
11062 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11064 * gst/gstvalue.c: (gst_value_collect_fraction_range):
11065 If needed, allocate storage in the destination value during
11068 2005-11-22 Edward Hervey <edward@fluendo.com>
11070 * docs/gst/gstreamer-sections.txt:
11073 * gst/gsturitype.c:
11074 * gst/gsturitype.h:
11075 * gst/gstutils.c: (gst_util_set_object_arg):
11076 * tools/gst-compprep.c: (main):
11077 * tools/gst-inspect.c: (print_element_properties_info):
11078 Removed GstURI, closes bug #321061
11080 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11082 * check/gst/gststructure.c: (GST_START_TEST):
11083 * gst/gststructure.c: (gst_structure_parse_value):
11084 Oops, broke automatic string type parsing.
11085 Add a test to catch it in future.
11087 2005-11-22 Andy Wingo <wingo@pobox.com>
11089 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
11090 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11091 Actually rename the function implementations. Grr.
11093 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11095 * check/gst/capslist.h:
11097 * check/gst/gststructure.c: (GST_START_TEST),
11098 (gst_structure_suite):
11099 Test automatic value type detection in gst_structure_from_string.
11100 * gst/gststructure.c: (gst_structure_parse_value):
11101 Add fraction as a type we try and guess automatically in
11102 caps/structure strings.
11104 2005-11-22 Andy Wingo <wingo@pobox.com>
11106 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11108 * gst/gsttagsetter.h:
11109 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11110 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11111 (gst_tag_setter_add_tag_valist)
11112 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11113 _add_values, _add_valist, and _add_valist_values. Since this is an
11114 interface the function suffixes should be more explicit so
11115 language binding don't end up with element.add_valist ->
11116 gst_tag_setter_add_valist, for example. Fixes #322069.
11118 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11120 * check/gst/gstcaps.c: (GST_START_TEST):
11121 Extend caps string tests to check that a caps to string
11122 conversion is reversible and produces the same caps.
11124 * gst/gststructure.c: (gst_structure_value_get_generic_type):
11125 Output "fraction" as the generic type fraction range, so caps
11126 serialisation and deserialisation works.
11127 * check/gst/capslist.h:
11128 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11129 Support 'MIN' and 'MAX' for deserialising fractions.
11131 2005-11-22 Andy Wingo <wingo@pobox.com>
11133 * gst/gstevent.h (gst_event_new_new_segment)
11134 (gst_event_parse_new_segment, gst_event_new_buffer_size)
11135 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11136 Renamed from *_newsegment, *_buffersize, *_notarget.
11138 * scripts/update-funcnames: New script, performs the changes
11141 2005-11-22 Wim Taymans <wim@fluendo.com>
11143 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11144 Make sure the GstFlowReturn is returned.
11146 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11147 (gst_bus_add_signal_watch):
11149 add gst_bus_add_signal_watch_full.
11151 * gst/gstplugin.c: (gst_plugin_load_file):
11152 Small style cleanup.
11154 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11156 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11157 Block the fakesrc srcpad when we send an event, to avoid
11158 contention on the stream_lock causing random test failures.
11160 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11162 * check/gst/gstvalue.c: (GST_START_TEST):
11163 * gst/gstvalue.c: (gst_value_fraction_subtract):
11166 2005-11-22 Stefan Kost <ensonic@users.sf.net>
11169 include "gstchildproxy.h"
11170 * gst/gstchildproxy.h:
11171 * libs/gst/controller/gstcontroller.h:
11172 use G_GNUC_NULL_TERMINATED
11174 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11176 * check/gst/capslist.h:
11177 * check/gst/gstcaps.c: (GST_START_TEST):
11178 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11179 * gst/gststructure.c: (gst_structure_parse_range),
11180 (gst_structure_fixate_field_nearest_fraction):
11181 * gst/gststructure.h:
11182 * gst/gstvalue.c: (gst_value_init_fraction_range),
11183 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11184 (gst_value_collect_fraction_range),
11185 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11186 (gst_value_set_fraction_range_full),
11187 (gst_value_get_fraction_range_min),
11188 (gst_value_get_fraction_range_max),
11189 (gst_value_serialize_fraction_range),
11190 (gst_value_transform_fraction_range_string),
11191 (gst_value_compare_fraction_range),
11192 (gst_value_deserialize_fraction_range),
11193 (gst_value_intersect_fraction_fraction_range),
11194 (gst_value_intersect_fraction_range_fraction_range),
11195 (gst_value_subtract_fraction_fraction_range),
11196 (gst_value_subtract_fraction_range_fraction),
11197 (gst_value_subtract_fraction_range_fraction_range),
11198 (gst_value_collect_fraction), (gst_value_fraction_multiply),
11199 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11200 (gst_value_transform_string_fraction), (_gst_value_initialize):
11202 Implement fraction ranges and extend GstFraction to support
11203 arithmetic subtraction, as well as deserialization from integer
11204 strings such as "100"
11205 Add a testsuite as for int and double range set operations
11207 2005-11-21 Andy Wingo <wingo@pobox.com>
11209 * gst/gsttaglist.h:
11211 * gst/gststructure.h: Add glib-compat.h.
11213 2005-11-21 Wim Taymans <wim@fluendo.com>
11215 * gst/gstbin.c: (gst_bin_change_state_func):
11218 2005-11-21 Wim Taymans <wim@fluendo.com>
11220 * gst/gstsegment.h:
11221 And add a nice define too.
11223 2005-11-21 Wim Taymans <wim@fluendo.com>
11225 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11226 (gst_segment_new), (gst_segment_free), (gst_segment_init),
11227 (gst_segment_set_duration), (gst_segment_set_last_stop),
11228 (gst_segment_set_seek), (gst_segment_set_newsegment),
11229 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11230 (gst_segment_clip):
11231 * gst/gstsegment.h:
11232 Make binding friendly.
11234 2005-11-21 Andy Wingo <wingo@pobox.com>
11236 * gst/gsttagsetter.h:
11237 * gst/gsttaglist.h:
11238 * gst/gststructure.h:
11240 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11243 * gst/gsterror.c (_gst_core_errors_init):
11244 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11247 * gst/Makefile.am (gst_headers): Add glib-compat.h.
11248 (noinst_HEADERS): noinst the -private.
11250 2005-11-21 Michael Smith <msmith@fluendo.com>
11253 * gst/gstregistry.h:
11254 Remove unimplemented declarations for which we can see no sensible
11257 2005-11-21 Andy Wingo <wingo@pobox.com>
11259 * gst/gst.h: Include glib-compat.h.
11261 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11263 * gst/glib-compat.c: Include the public and the private header.
11265 * gst/glib-compat-private.h: Copied here from glib-compat.h.
11269 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11271 * check/gst/gstevent.c (create_custom_events): Check that
11272 FLUSH_STOP is serialized.
11274 * check/elements/identity.c (event_func):
11275 * check/elements/fakesrc.c (event_func): No stream lock, the core
11278 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11279 stream lock taking, yay.
11281 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11282 ensure that core takes the stream lock.
11284 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11287 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11288 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11289 it already. For the flush start we do take it though so we get the
11290 right preroll state change messages.
11292 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11293 the stream lock here, the core does it for us.
11295 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11296 GST_STREAM_GET_LOCK.
11297 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
11298 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
11299 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11300 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11301 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
11302 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11304 * gst/gstpad.c: Update for stream lock name change.
11306 * gst/base/gstbasesink.c: Update for preroll lock name change.
11308 2005-11-21 Wim Taymans <wim@fluendo.com>
11310 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11311 (gst_clock_get_master):
11313 * gst/gstsystemclock.c: (gst_system_clock_init):
11314 Convert Clock flags to object flags.
11315 Added methods to manage master/slave clocks.
11317 2005-11-21 Wim Taymans <wim@fluendo.com>
11319 * check/gst/gstsegment.c: (GST_START_TEST):
11320 * docs/design/part-TODO.txt:
11321 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11322 (gst_base_sink_event), (gst_base_sink_do_sync),
11323 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11324 (gst_base_sink_query), (gst_base_sink_change_state):
11325 * gst/base/gstbasesink.h:
11326 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11327 (gst_base_src_default_newsegment),
11328 (gst_base_src_configure_segment), (gst_base_src_do_seek),
11329 (gst_base_src_get_range), (gst_base_src_loop),
11330 (gst_base_src_change_state):
11331 * gst/base/gstbasesrc.h:
11332 * gst/base/gstbasetransform.c:
11333 (gst_base_transform_prepare_output_buf),
11334 (gst_base_transform_event), (gst_base_transform_change_state):
11335 * gst/base/gstbasetransform.h:
11336 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11337 (gst_collect_pads_event):
11338 * gst/base/gstcollectpads.h:
11339 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11340 (gst_fake_src_create):
11341 * gst/elements/gstfakesrc.h:
11342 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11343 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11344 (gst_segment_set_last_stop), (gst_segment_set_seek),
11345 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11346 (gst_segment_to_running_time), (gst_segment_clip):
11347 * gst/gstsegment.h:
11348 More segment updates, replace code in plugins with segment
11351 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11353 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11354 Don't ignore sscanf results
11356 2005-11-21 Andy Wingo <wingo@pobox.com>
11358 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11361 * *.c: Ran scripts/update-macros. Oh yes.
11363 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11364 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11367 * scripts/update-macros: New script. Run it on your files to
11368 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11371 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11373 * docs/gst/Makefile.am:
11374 * docs/gst/gstreamer-docs.sgml:
11375 * docs/gst/gstreamer-sections.txt:
11376 * docs/gst/gstreamer.types:
11378 more docs fixes, add new api to the docs
11380 2005-11-21 Andy Wingo <wingo@pobox.com>
11382 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11383 state_broadcast call.
11385 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11387 2005-11-21 Julien MOUTTE <julien@moutte.net>
11389 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11390 function calls for arrays.
11392 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11394 * docs/random/ensonic/media-device-daemon.txt:
11395 wild idea, can this be done?
11396 * docs/gst/gstreamer-sections.txt:
11401 * gst/gstpluginfeature.c:
11405 doc fixes and additions
11407 2005-11-21 Andy Wingo <wingo@pobox.com>
11409 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
11410 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
11411 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
11412 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11413 private to the basesrc implementation.
11415 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11416 behalf of event function if necessary. It should no longer be
11417 necessary to take the stream lock in pad's event functions. Fixes
11420 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11421 * docs/gst/gstreamer-sections.txt:
11422 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11423 (gst_structure_fixate_field_nearest_double),
11424 (gst_structure_fixate_field_boolean):
11425 * gst/gststructure.h:
11426 * win32/common/libgstreamer.def:
11427 * win32/gstreamer.def:
11429 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11432 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11434 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11435 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11436 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11437 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11438 (gst_fdsrc_uri_handler_init):
11439 * gst/elements/gstfdsrc.h:
11440 Port fd:// URI handler from 0.8 to fdsrc
11442 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11444 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11445 (gst_value_serialize_fourcc):
11447 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11448 consistent with our other format defines (#320324).
11450 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11452 * gst/gstvalue.c: (gst_value_is_fixed):
11453 Revert previous commit. Value lists are by definition
11454 not fixed, as they are a list of possible values.
11456 2005-11-21 Andy Wingo <wingo@pobox.com>
11458 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11459 during the stable series if we need it. Fixes #319178.
11461 * gst/gstevent.c (gst_event_new_filler): Removed.
11463 * check/gst/gstevent.c: Update comment about filler events.
11465 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11467 * gst/gstvalue.c: (gst_value_is_fixed):
11468 Should handle both value arrays and value lists.
11470 2005-11-21 Andy Wingo <wingo@pobox.com>
11472 patch by: Alessandro Dessina <alessandro nnva org>
11474 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11475 functions to access arrays. Fixes #321962.
11477 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11479 * docs/gst/gstreamer.types:
11480 gst_collectpads_get_type => gst_collect_pads_get_type.
11482 * gst/base/gstbasetransform.c:
11483 Remove unused SIGNAL_HANDOFF enum.
11485 2005-11-21 Andy Wingo <wingo@pobox.com>
11487 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11488 the event type (upstream, downstream, serialized). Renamed
11489 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11490 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11491 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11493 * gst/gstevent.c: Update for new CUSTOM event names.
11495 * check/gst/gstevent.c: Update check for new CUSTOM event names.
11498 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11501 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11503 * docs/gst/gstreamer-sections.txt:
11504 * win32/common/libgstbase.def:
11505 * win32/libgstbase.def:
11506 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11507 (gst_collect_pads_class_init), (gst_collect_pads_init),
11508 (gst_collect_pads_finalize), (gst_collect_pads_new),
11509 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11510 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11511 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11512 (gst_collect_pads_start), (gst_collect_pads_stop),
11513 (gst_collect_pads_peek), (gst_collect_pads_pop),
11514 (gst_collect_pads_available), (gst_collect_pads_read),
11515 (gst_collect_pads_flush), (gst_collect_pads_event),
11516 (gst_collect_pads_chain):
11517 * gst/base/gstcollectpads.h:
11518 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11519 unimplemented functions as unimplemented. Add padding to
11520 GstCollectData. (#320766, #320423)
11522 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11524 * gst/gstmessage.c:
11525 Improve docs for DURATION message (usage of duration parameter)
11528 2005-11-20 Wim Taymans <wim@fluendo.com>
11530 * check/Makefile.am:
11531 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11535 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11536 (gst_segment_set_seek), (gst_segment_set_newsegment),
11537 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11538 (gst_segment_clip):
11539 * gst/gstsegment.h:
11540 Added segment helper structure and methods. Not fully implemented
11542 Added segment check.
11544 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
11546 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11547 Add a deserialisation test for fractions
11548 * examples/metadata/read-metadata.c: (message_loop),
11549 (make_pipeline), (main):
11550 Fix up metadata reading sample.
11551 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11553 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11554 Don't try and fixate empty caps
11555 * gst/gst_private.h:
11556 Wrap in G_BEGIN_DECLS/G_END_DECLS
11557 * gst/gstvalue.c: (gst_value_collect_fraction),
11558 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11559 (gst_value_transform_string_fraction),
11560 (gst_value_compare_fraction):
11561 Add some extra guards to ensure that we don't end up
11562 with an invalid denominator of 0 in a gstfraction and
11563 that fractions always get reduced.
11565 2005-11-20 Wim Taymans <wim@fluendo.com>
11567 * docs/gst/gstreamer-sections.txt:
11569 * gst/gstelement.c:
11578 2005-11-20 Wim Taymans <wim@fluendo.com>
11580 * docs/design/part-TODO.txt:
11582 Make a proper enum of the flag.
11584 2005-11-19 Wim Taymans <wim@fluendo.com>
11586 * docs/design/part-TODO.txt:
11587 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11588 (gst_format_to_quark), (gst_format_register):
11590 * gst/gstquery.c: (_gst_query_initialize),
11591 (gst_query_type_get_name), (gst_query_type_to_quark),
11592 (gst_query_type_register):
11594 Add type to quark and type to string conversions.
11596 2005-11-19 Andy Wingo <wingo@pobox.com>
11598 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11601 2005-11-19 Wim Taymans <wim@fluendo.com>
11603 * docs/design/part-TODO.txt:
11604 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11605 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11606 (gst_bin_handle_message_func):
11608 Make message handling overridable.
11610 2005-11-19 Andy Wingo <wingo@pobox.com>
11612 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11615 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11617 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11618 is a GstClockTime. Fixes #321710.
11620 * gst/gstclock.h (GstClock): Remove offset property. Add
11621 internal_calibration and external_calibration. Fix padding. Pad
11622 also by GstClockTime so we don't run into problems.
11624 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11625 (gst_clock_get_rate_offset): Remove.
11626 (gst_clock_set_time_adjust): Remove. Fixes #321712.
11629 * gst/gstutils.c (g_static_rec_cond_wait)
11630 (g_static_rec_cond_timed_wait): Removed, no longer needed.
11632 * gst/gstbin.c: Remove terrible continue_state prototype.
11634 * gst/gstelement.h (gst_element_continue_state): Make public.
11636 * gst/gstelement.h:
11637 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11638 by continue_state. Fixes #319389.
11640 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11641 Really fixes #168438. However I don't see anywhere where the
11642 filter function is called... stupid GStreamer...
11644 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11645 don't have a dispose function, so it won't get called when the
11646 object is unreffed, but oh well!
11648 * gst/gstindex.c (gst_index_set_filter_full): New API function,
11649 allows a destroy function to be set so user_data can be freed.
11651 (gst_index_set_filter): Call gst_index_set_filter_full.
11653 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11655 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11656 string should produce an error, given the lack of a way to
11657 represent NULL strings. Fixes #165650.
11660 * gst/gstvalue.c (gst_value_array_append_value)
11661 (gst_value_array_prepend_value, gst_value_array_get_size)
11662 (gst_value_array_get_value): New API, copied from
11663 gst_value_list_*, only operates on arrays.
11664 (gst_value_list_append_value, gst_value_list_prepend_value)
11665 (gst_value_list_concat, gst_value_list_get_size)
11666 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11668 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11669 init_list, because it works on both.
11670 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11671 (gst_value_copy_list_or_array): Renamed from copy_list.
11672 (gst_value_free_list_or_array): Renamed from free_list.
11673 (gst_value_collect_list_or_array): Renamed from collect_list.
11674 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11675 (gst_value_list_or_array_peek_pointer): Renamed from
11677 (_gst_value_array_value_table, _gst_value_list_value_table):
11678 Update value table functions.
11679 (gst_value_compare_list_or_array): Renamed from compare_list.
11681 * gsttaglist.h: Whoops, foreach function returns void. Also fix
11684 * gst/gsttaglist.c:
11685 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11686 GstTagList*. Fixes #143472.
11688 * gst/gststructure.h: Clarify what the foreach/map functions can
11689 or can't do to their arguments.
11691 2005-11-18 Wim Taymans <wim@fluendo.com>
11693 * gst/gstclock.c: (gst_clock_set_calibration),
11694 (gst_clock_get_calibration):
11696 Calibration can be set with internal time equal to current
11699 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
11705 2005-11-18 Andy Wingo <wingo@pobox.com>
11708 * pkgconfig/gstreamer-net.pc.in:
11709 * pkgconfig/gstreamer-net-uninstalled.pc.in:
11710 * pkgconfig/Makefile.am: Add net pkgconfig files.
11712 2005-11-18 Stefan Kost <ensonic@users.sf.net>
11715 * gst/gstghostpad.c:
11721 2005-11-18 Andy Wingo <wingo@pobox.com>
11723 * gst/net/gstnetclientclock.c: Turn off debugging.
11725 * check/net/gstnetclientclock.c (test_functioning): Assert that the
11726 times connverge somewhat. Can't make a real test.
11728 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
11729 integer arithmetic. Return the minimum of the domain, which can be
11730 set as "internal" for gst_clock_set_calibration.
11731 (gst_net_client_clock_observe_times): Call _set_calibration.
11732 (gst_net_client_clock_new): Call _set_calibration instead of
11735 * check/net/gstnetclientclock.c (test_functioning): Use the right
11739 * gst/gstclock.c (gst_clock_get_calibration)
11740 (gst_clock_set_calibration): New functions, obsolete the ones I
11741 added yesterday. Doh. Precision issues mean we have to extrapolate
11742 from a point in the more recent past than 1970.
11743 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
11745 (gst_clock_adjust_unlocked): Use the right calibration data.
11747 2005-11-18 Edward Hervey <edward@fluendo.com>
11749 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11750 Also reset the ->current_* values in READY->PAUSED
11752 2005-11-18 Andy Wingo <wingo@pobox.com>
11754 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
11755 Whoops, check the right fd. Also add some debugging.
11756 (gst_net_client_clock_observe_times): Adjust for int64 offset.
11757 (do_linear_regression): Add a crapload of debugging. Subtract off
11758 the minimum values from the input series to discard unneeded bits.
11759 Use only int arithmetic. There is still double arithmetic when
11760 calculating the intercept that needs fixing. Return boolean to
11761 indicate success; FALSE would mean the domain or range is too
11762 great. Still needs fixes.
11764 2005-11-18 Wim Taymans <wim@fluendo.com>
11766 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
11767 For the current position in stream time, we need to subtract
11770 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11771 Release lock before calling the callback function of async
11774 2005-11-18 Andy Wingo <wingo@pobox.com>
11776 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
11777 Port goes all the way to MAXUINT16.
11779 * gst/net/gstnettimeprovider.c: Make the port range the same as
11780 for the kernel: 0 assigns, otherwise ports are less than
11783 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
11786 * check/net/gstnetclientclock.c (test_functioning): Add the start
11789 2005-11-18 Wim Taymans <wim@fluendo.com>
11791 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11792 (gst_bin_remove_func), (bin_bus_handler):
11794 Removing a clock provider from a bin, triggers a clock lost message
11795 so that a new clock will be selected.
11796 Adding a clock to a bin triggers a clock provider message.
11797 Make sure we reselect a clock when we received a clock lost message.
11798 Keep a reference to the element that provided the clock.
11800 2005-11-18 Andy Wingo <wingo@pobox.com>
11802 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
11803 the clock initially so it produces values around the base time.
11804 (gst_net_client_clock_class_init): Typo fix.
11805 (gst_net_client_clock_thread): Add note on when the socket gets
11808 2005-11-17 Wim Taymans <wim@fluendo.com>
11810 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
11811 Free remote and local time arrays.
11813 2005-11-17 Wim Taymans <wim@fluendo.com>
11815 * gst/net/gstnetclientclock.c: (do_linear_regression),
11816 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
11817 Fix compilation, uninitialized vars and a forgotten continue.
11819 2005-11-17 Andy Wingo <wingo@pobox.com>
11821 * check/Makefile.am (check_PROGRAMS):
11822 * check/net/gstnetclientclock.c: Add a most minimal test for the
11823 net client clock. More to come later.
11825 * gst/net/gstnet.h:
11826 * gst/net/Makefile.am: Add netclientclock.
11828 * gst/net/gstnetclientclock.h:
11829 * gst/net/gstnetclientclock.c: New files, implement an untested
11830 GstClock that takes its time from a network time provider.
11831 Implements the algorithm in network-clock.scm.
11833 * tests/network-clock.scm (*window-size*): Rename from
11835 * tests/network-clock.scm (network-time):
11836 * tests/network-clock-utils.scm (q-push): Update callers.
11838 2005-11-17 Wim Taymans <wim@fluendo.com>
11840 * gst/gstbin.c: (gst_bin_provide_clock_func),
11841 (gst_bin_sort_iterator_new):
11842 And unref the child too..
11844 2005-11-17 Wim Taymans <wim@fluendo.com>
11846 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11847 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
11848 Refactor the sort iterator so it can be used while holding the
11850 Make clock selection select a clock closest to the source.
11852 2005-11-17 Michael Smith <msmith@fluendo.com>
11854 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
11855 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
11857 Anonymous structs are a gcc (and some other compilers) extension, so
11858 don't use them. Since this is only for ABI-compatibility, and our
11859 API/ABI freeze is over in a few days, this whole thing will only
11860 last a few days, so don't bother trying to think up a meaningful
11861 name for the struct.
11863 2005-11-17 Andy Wingo <wingo@pobox.com>
11865 * gst/gstclock.h (GstClock): Add rate and offset properties,
11866 preserving ABI stability. Add rate/offset accessors. Will file bug
11867 for the freeze break.
11869 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
11870 and offset, trying to keep precision and avoiding
11871 underflow/overflow.
11872 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
11873 functions. Make gst_clock_set_time_adjust obsolete.
11874 (gst_clock_set_time_adjust): Note that this function is obsolete.
11875 Will file bug soon.
11877 * gst/base/gstbasetransform.h: Make the ABI-stability hack
11878 greppable by using GST_PADDING-1+1.
11880 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
11882 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11884 * gst/gstmessage.c: (gst_message_parse_clock_lost):
11885 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
11887 * gst/gstpadtemplate.h:
11888 * gst/gstpluginfeature.h:
11889 Don't use c++ style comments in headers (#321638).
11891 2005-11-16 Andy Wingo <wingo@pobox.com>
11893 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
11896 * check/net/gstnettimeprovider.c: Check to see that the time
11897 provider actually provides times. Works, yo!
11899 2005-11-16 Wim Taymans <wim@fluendo.com>
11901 * check/Makefile.am:
11904 * check/elements/fakesrc.c: (GST_START_TEST):
11905 Set element to NULL before disposing it.
11907 2005-11-16 Andy Wingo <wingo@pobox.com>
11909 * gst/net/Makefile.am:
11910 * gst/net/gstnet.h:
11911 * gst/net/gstnettimeprovider.c:
11912 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
11913 provider, include it from gstnet.h, and add it to the build.
11915 * gst/net/gstnettimepacket.h:
11916 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
11917 sending and receiving.
11919 2005-11-16 Wim Taymans <wim@fluendo.com>
11921 * check/Makefile.am:
11922 Enable valgrind check.
11924 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
11925 (gst_fake_src_alloc_buffer):
11928 2005-11-16 Wim Taymans <wim@fluendo.com>
11930 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
11931 Call parent finalize too.
11933 2005-11-16 Wim Taymans <wim@fluendo.com>
11935 * check/Makefile.am:
11936 Enable valgrind check that should work fine now.
11938 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11939 * gst/gstqueue.c: (gst_queue_init):
11940 Fix memleaks in pad allocation.
11942 2005-11-16 Andy Wingo <wingo@pobox.com>
11944 * gst/net/Makefile.am:
11945 * gst/net/gstnet.h: New part of core to hold network elements and
11946 objects. Put in core because it exposes API that applications want
11947 to use. The library is named libgstnet-tempname right now because
11948 of the existing libgstnet in gst-plugins-base. Solution is
11949 probably to rename the one in plugins-base; will file a bug for
11952 * gst/net/gstnettimeprovider.c:
11953 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
11954 get_time call over the network.
11957 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
11959 * check/Makefile.am:
11960 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
11961 get additions shortly.
11963 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11965 * gst/gstpad.c: (gst_pad_new_from_static_template):
11967 add gst_pad_new_from_static_template functions
11968 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
11969 (gst_check_setup_sink_pad):
11970 * gst/elements/gsttee.c: (gst_tee_init):
11973 2005-11-16 Wim Taymans <wim@fluendo.com>
11975 * gst/gstpad.c: (gst_pad_pause_task):
11976 Removed warning, it's not really an error either.
11978 2005-11-16 Wim Taymans <wim@fluendo.com>
11980 * gst/base/gstbasetransform.c:
11981 (gst_base_transform_prepare_output_buf),
11982 (gst_base_transform_event):
11983 Check if the caps are NULL, this can happen if the element
11984 is shutting down and the pad caps are set to NULL.
11986 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11988 * gst/elements/gsttee.c: (gst_tee_init):
11989 fix pad template leak in tee
11991 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11993 * gst/glib-compat.c: (g_value_dup_gst_object):
11994 * gst/glib-compat.h:
11995 * gst/gstpad.c: (gst_pad_set_property):
11996 use gst_object_ref when setting the pad template; this will
11997 trigger the pad template leaks on GLib 2.6 and the slaves
11999 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12001 * gst/glib-compat.c: (gst_flags_get_first_value):
12002 * gst/glib-compat.h:
12003 * gst/gstregistryxml.c:
12004 remove functions copied from GLib 2.6
12006 2005-11-16 Michael Smith <msmith@fluendo.com>
12009 Don't link against VALGRIND_LIBS. That was always the wrong thing to
12010 do, but only breaks with newer valgrind versions. We're not a
12011 valgrind tool, we have no link-time dependencies on libcoregrind.
12013 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12015 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12017 * gst/gstmessage.h:
12020 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12022 * gst/base/gstbasesrc.c: (gst_base_src_init):
12023 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12024 * gst/gstqueue.c: (gst_queue_init):
12025 * gst/gstregistryxml.c: (load_feature):
12026 Revert all these unrefs, they don't even pass make check !
12028 2005-11-15 Johan Dahlin <johan@gnome.org>
12030 * gst/base/gstbasesrc.c: (gst_base_src_init):
12031 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12032 * gst/gstqueue.c: (gst_queue_init):
12033 Free pad templates, fixes a couple of leaks.
12035 2005-11-15 Daniel Fischer <dan at f3c dot com>
12037 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12039 * gst/gstpad.c: (gst_pad_get_property):
12040 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12041 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12044 2005-11-15 Wim Taymans <wim@fluendo.com>
12049 2005-11-15 Andy Wingo <wingo@pobox.com>
12051 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12053 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12054 using GST_CLOCK_TIME_NONE to disable base time management.
12055 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12056 time if it was NONE before.
12057 (gst_pipeline_change_state): Only munge the base time if
12058 stream_time != GST_CLOCK_TIME_NONE.
12060 * check/gst/gstpipeline.c (test_base_time): Punt around the
12061 problem of the probe not being called, because that's not the
12062 issue I'm looking at. Add a check that setting stream_time to NONE
12063 disables base time management.
12065 2005-11-15 Wim Taymans <wim@fluendo.com>
12067 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12068 segment_stop == -1 at startup.
12070 * gst/base/gstbasetransform.c: (gst_base_transform_event),
12071 (gst_base_transform_change_state):
12072 Init segment values at start.
12074 2005-11-15 Wim Taymans <wim@fluendo.com>
12076 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12077 0 segment values are 0 in any format.
12079 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12080 * gst/base/gstbasetransform.h:
12081 Parse newsegment correctly in basetransform
12083 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12084 Sync to clock using updated segment values.
12086 2005-11-15 Andy Wingo <wingo@pobox.com>
12088 * check/gst/gstpipeline.c (test_base_time): Add check that the
12089 base time and stream time are reset correctly.
12091 2005-11-15 Wim Taymans <wim@fluendo.com>
12093 * docs/design/part-TODO.txt:
12094 Some more TODO items.
12096 2005-11-15 Andy Wingo <wingo@pobox.com>
12098 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12099 error if the user selected "no clock" as the clocking method.
12101 * check/gst/gstpipeline.c (test_base_time): New test for buffer
12102 timestamps with live capture.
12104 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12105 is 0 but we are a live source, timestamp the buffers using the
12108 2005-11-14 Stefan Kost <ensonic@users.sf.net>
12110 * docs/gst/gstreamer-sections.txt:
12112 * gst/gstghostpad.c:
12117 2005-11-14 Wim Taymans <wim@fluendo.com>
12120 add suppressions from Wim's Debian machine
12122 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
12125 add suppressions from Andy's AMD64 Ubuntu machine
12127 2005-11-14 Andy Wingo <wingo@pobox.com>
12129 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12130 STATE_LOCK not necessary. Fixes #311489.
12132 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12135 * gst/gstindex.c (gst_index_add_object): Note in the docs that
12136 this function is not implemented.
12138 2005-11-14 Julien MOUTTE <julien@moutte.net>
12140 * gst/base/gstbasetransform.c:
12141 (gst_base_transform_prepare_output_buf):
12142 Ref the source pad caps while we need them.
12145 2005-11-11 Wim Taymans <wim@fluendo.com>
12147 * docs/gst/gstreamer-sections.txt:
12148 Added some docs for GstCollectData.
12150 * gst/base/gstadapter.c:
12151 Some small code example fix.
12153 * gst/base/gstcollectpads.c:
12154 * gst/base/gstcollectpads.h:
12155 Document some more.
12157 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12159 * configure.ac: back to HEAD
12161 === release 0.9.5 ===
12163 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12166 releasing 0.9.5, "Bike Lunch Day"
12168 2005-11-11 Wim Taymans <wim@fluendo.com>
12170 * gst/gstbuffer.c: (_gst_buffer_copy):
12173 * gst/gstcaps.c: (gst_caps_is_equal):
12175 Make _is_equal fast in the trivial cases.
12177 * gst/gstminiobject.c:
12178 * gst/gstminiobject.h:
12179 More docs. Spifify .h file.
12184 2005-11-11 Wim Taymans <wim@fluendo.com>
12186 * gst/base/gstbasetransform.c:
12187 (gst_base_transform_prepare_output_buf),
12188 (gst_base_transform_handle_buffer):
12190 If we're processing a buffer and need to allocate an output
12191 buffer, we cannot accept a format change. If we did get a
12192 format change, we have to alloc a buffer ourselves of the
12195 2005-11-11 Wim Taymans <wim@fluendo.com>
12197 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12198 While checking the flag for reentrancy in the gstcaps function
12199 is nice to detect recursive invocations, it also makes it
12200 impossible to call getcaps from multiple threads, which must be
12201 possible. So, checking for recursive calls has to go.
12203 2005-11-11 Michael Smith <msmith@fluendo.com>
12205 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12206 Don't sync on buffers that fall partially outside our current
12207 segment. Prevents an assertion failure/abort playing some files.
12209 2005-11-10 Andy Wingo <wingo@pobox.com>
12211 * check/gst/gstbin.c (test_message_state_changed_children): Style
12214 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12215 gst_bus_poll with the signal watch. Ensures that poll and a signal
12216 watch see the same messages.
12218 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12219 a poll and a watch at the same time get the same messages.
12221 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12223 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12224 * gst/gstcaps.c: (gst_caps_intersect):
12225 Don't call gst_caps_do_simplify - it doesn't respect order of caps
12226 and it's not needed.
12228 2005-11-10 Wim Taymans <wim@fluendo.com>
12230 * docs/design/part-TODO.txt:
12233 2005-11-10 Wim Taymans <wim@fluendo.com>
12235 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12236 * gst/base/gstbasesrc.c: (gst_base_src_wait),
12237 (gst_base_src_do_sync), (gst_base_src_get_range):
12238 Implement clock sync in base class.
12240 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12242 patch by: Tim-Philipp Müller <tim at centricular dot net>
12244 * gst/gststructure.c: (gst_structure_parse_field),
12245 (gst_structure_from_string):
12246 Forward-port a 0.8 patch to handle escaped spaces in structure string,
12247 so that gst_parse_launch() can deal with spaces in filtered link
12248 caps (fixes #164479)
12249 * check/gst/capslist.h:
12250 * check/gst/gststructure.c: (GST_START_TEST):
12251 add unit tests for this change
12253 2005-11-10 Wim Taymans <wim@fluendo.com>
12255 * docs/gst/gstreamer-sections.txt:
12256 * gst/gstelement.c:
12257 * gst/gstelement.h:
12258 Fix docs, move some STATE macros to private.
12260 2005-11-10 Wim Taymans <wim@fluendo.com>
12262 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12263 Added check for bug #317341
12267 Some more spiffifying.
12269 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12270 Call peer linkfunction if we are a source pad. Totally fixes
12274 Update docs, source pads should call the peer linkfunction
12275 so they can atomically perform the pad link.
12277 2005-11-09 Wim Taymans <wim@fluendo.com>
12281 Uber-spiffy-spiffify some more.
12283 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
12285 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12286 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12287 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12288 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12289 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12290 * gst/gstpad.c: (gst_pad_init):
12291 Use GST_DEBUG_FUNCPTR() more extensively.
12293 2005-11-09 Wim Taymans <wim@fluendo.com>
12295 * gst/gstobject.c: (gst_object_class_init):
12297 Documentation fixes.
12299 2005-11-09 Edward Hervey <edward@fluendo.com>
12301 * gst/gsttypefindfactory.c:
12304 2005-11-09 Edward Hervey <edward@fluendo.com>
12306 * gst/base/gsttypefindhelper.c:
12307 * gst/gsttypefind.c:
12308 * gst/gsttypefind.h:
12311 2005-11-09 Wim Taymans <wim@fluendo.com>
12313 * gst/gstiterator.c:
12320 2005-11-09 Wim Taymans <wim@fluendo.com>
12326 2005-11-09 Wim Taymans <wim@fluendo.com>
12328 * docs/gst/gstreamer-sections.txt:
12329 Moved the message async delivery private lock and cond
12330 to the private section.
12332 * gst/gstmessage.c:
12333 * gst/gstmessage.h:
12336 2005-11-09 Edward Hervey <edward@fluendo.com>
12338 * docs/gst/gstreamer-sections.txt:
12341 Document GstURIHandler
12343 2005-11-09 Wim Taymans <wim@fluendo.com>
12345 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12346 (gst_iterator_find_custom):
12347 * gst/gstiterator.h:
12350 2005-11-09 Wim Taymans <wim@fluendo.com>
12353 Document another field.
12355 * gst/gststructure.c:
12356 * gst/gststructure.h:
12359 2005-11-09 Wim Taymans <wim@fluendo.com>
12362 Documented structs.
12364 2005-11-09 Wim Taymans <wim@fluendo.com>
12366 * docs/gst/gstreamer-sections.txt:
12367 Added some new macros.
12374 2005-11-09 Wim Taymans <wim@fluendo.com>
12376 * docs/design/part-TODO.txt:
12377 Some more items for the TODO
12383 2005-11-09 Andy Wingo <wingo@pobox.com>
12385 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12386 to work on something else now tho...
12388 * gst/base/gstadapter.c: More adapter docs.
12390 * gst/elements/gstfilesink.c (gst_file_sink_start)
12391 (gst_file_sink_stop): New functions, replace the state change
12393 (gst_file_sink_class_init): Hook up the start and stop functions.
12394 (gst_file_sink_base_init): Don't set the state change handler any
12395 more. It was a bit ugly too, being set from here...
12396 (gst_file_sink_get_property, gst_file_sink_set_property):
12398 (gst_file_sink_set_location): More robust check that doesn't call
12399 GST_STATE. Ugggggg.
12401 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
12403 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12404 Hold STREAM_LOCK while pushing newsegment or tag events as well.
12406 2005-11-08 Wim Taymans <wim@fluendo.com>
12408 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12409 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12410 (gst_base_sink_chain), (gst_base_sink_change_state):
12411 * gst/base/gstbasesink.h:
12412 * gst/base/gstbasesrc.h:
12413 * gst/gstelement.h:
12415 Avoid excessive typechecking in macros.
12417 * gst/gstminiobject.c: (gst_mini_object_get_type),
12418 (gst_mini_object_init), (gst_mini_object_new),
12419 (gst_mini_object_free):
12420 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12421 (gst_object_finalize):
12422 Remove cruft code, optimize alloc_trace.
12424 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
12426 * docs/faq/gst-uninstalled:
12427 fix up PS1 for systems that try to reset it
12429 2005-11-07 Wim Taymans <wim@fluendo.com>
12431 * gst/base/gstbasesrc.c: (gst_base_src_init),
12432 (gst_base_src_get_range):
12433 Set the segment_end to -1 initially. Fixed typefind.
12435 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
12437 * gst/base/gstadapter.c:
12438 Debug category should be 'adapter', not 'GstAdapter'.
12440 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12441 (gst_collectpads_class_init), (gst_collectpads_init),
12442 (gst_collectpads_peek), (gst_collectpads_pop),
12443 (gst_collectpads_event), (gst_collectpads_chain):
12444 Add debug category and some debugging output. Use boilerplate
12445 macros. Remove some extraneous words from docs.
12447 2005-11-05 Andy Wingo <wingo@pobox.com>
12449 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12452 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12454 * docs/gst/gstreamer-sections.txt:
12457 * gst/gstminiobject.h:
12462 2005-11-04 Wim Taymans <wim@fluendo.com>
12464 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12465 Small update to stop at the configured segment_end
12468 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12470 * gst/gstregistry.c:
12471 * gst/gstregistry.h:
12474 2005-11-04 Edward Hervey <edward@fluendo.com>
12476 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12477 Check if we are doing a segment seek and have arrived at the
12478 end of that segment.
12480 2005-11-04 Wim Taymans <wim@fluendo.com>
12482 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12483 Don't leak a mutex unlock in case of an error.
12488 2005-11-04 Wim Taymans <wim@fluendo.com>
12490 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12492 Get the context to wake up only once.
12494 2005-11-03 Wim Taymans <wim@fluendo.com>
12496 * check/states/sinks.c: (GST_START_TEST):
12497 Uncomment fixed check.
12499 * docs/design/part-TODO.txt:
12502 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12503 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12504 (gst_base_sink_get_position):
12505 If we are going to PLAYING, post the right pending state
12506 when we post the intermediate paused message.
12508 * gst/gstelement.c: (gst_element_continue_state),
12509 (gst_element_set_state_func), (gst_element_change_state):
12510 Don't post state changes that were between the same state
12511 and were not ASYNC.
12513 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12515 * docs/gst/gstreamer-sections.txt:
12518 * gst/gstminiobject.h:
12521 more docs and doc style fixes
12523 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12525 * docs/gst/gstreamer-sections.txt:
12526 * gst/gstelement.c:
12527 * gst/gstminiobject.c:
12530 2005-11-03 Andy Wingo <wingo@pobox.com>
12532 * check/states/sinks.c (test_livesrc_sink): Add checks that the
12533 state-changed messages actually have the right order and the right
12536 2005-11-03 Wim Taymans <wim@fluendo.com>
12538 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12539 Added some more checks. Specifically the case where NO_PREROLL
12540 elements are in the pipeline.
12542 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12543 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12544 (gst_base_sink_get_position):
12545 Post READY->PAUSED state change messages too.
12546 Fix bug where VOID was posted as pending state...
12548 * gst/gstbin.c: (gst_bin_recalc_state):
12549 use _element_continue_state() to continue the state change.
12551 * gst/gstelement.c: (gst_element_continue_state),
12552 (gst_element_commit_state), (gst_element_set_state_func),
12553 (gst_element_change_state), (gst_element_change_state_func):
12554 Lots of state change cleanups, assign the STATE_RETURN in
12555 a new continue_state() function that also propagates the
12556 last return value from a state change to the app.
12557 Update some debug statements with proper category.
12559 2005-11-03 Wim Taymans <wim@fluendo.com>
12561 * docs/design/part-events.txt:
12562 * docs/design/part-gstpipeline.txt:
12563 * docs/design/part-messages.txt:
12564 * docs/design/part-overview.txt:
12565 * docs/design/part-seeking.txt:
12566 * docs/design/part-states.txt:
12567 * docs/design/part-trickmodes.txt:
12568 * docs/manual/advanced-position.xml:
12569 Small docs updates.
12572 People think !! is ugly, this looks better.
12574 * gst/gstpad.c: (gst_pad_set_blocked_async):
12575 Remove !! since it's fixed elsewhere now.
12577 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12579 * gst/gstminiobject.h:
12581 Add !! to _FLAG_IS_SET macros to make the result boolean.
12583 2005-11-03 Edward Hervey <edward@fluendo.com>
12585 * gst/gstpad.c: (gst_pad_set_blocked_async):
12586 comparing a flag and a gboolean rarely returns coherent results...
12587 Added two characters (!!) to make that work correctly.
12589 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12591 * gst/gstbus.c: (gst_bus_class_init):
12594 * gst/gstqueue.c: (gst_queue_loop):
12595 Don't assume a miniobject that isn't a buffer is an
12596 event (it could be that there is a refcounting
12597 problem somewhere and the pointer is stale and
12598 refers to an already destroyed miniobject).
12600 2005-11-03 Julien MOUTTE <julien@moutte.net>
12602 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12604 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12606 * docs/manual/advanced-position.xml:
12607 Update seek example and explanations to current 0.9 API.
12609 * gst/elements/gsttypefindelement.c:
12610 (gst_type_find_element_activate):
12611 Remove FIXME comment now that the found caps
12614 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
12616 * gst/gstregistryxml.c: (load_feature):
12617 Add another GST_STR_NULL instance
12619 2005-11-02 Edward Hervey <edward@fluendo.com>
12621 * gst/gstpad.c: (handle_pad_block):
12622 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12624 2005-11-02 Wim Taymans <wim@fluendo.com>
12629 * gst/gstelement.c: (gst_element_commit_state):
12630 Remove unused value.
12632 * gst/gstiterator.c:
12633 Mention that the returned element is reffed in the docs.
12635 2005-11-02 Wim Taymans <wim@fluendo.com>
12637 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12638 (gst_pad_push), (gst_pad_push_event):
12639 Unlock blocked pads when they are flushed.
12641 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12644 * docs/gst/gstreamer-sections.txt:
12647 * gst/gstregistry.c: (gst_registry_scan_path_level):
12648 fix for a nasty little missed situation where an installed plug-in
12649 which was in the cache did not get overridden by an uninstalled one
12650 which was earlier in the plugin path because the newly created plugin
12651 for the uninstalled one (not in the registry) didn't get its
12652 ->registered set to TRUE
12654 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12656 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12657 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12658 (gst_collectpads_is_active), (gst_collectpads_collect),
12659 (gst_collectpads_collect_range), (gst_collectpads_start),
12660 (gst_collectpads_stop), (gst_collectpads_peek),
12661 (gst_collectpads_pop), (gst_collectpads_available),
12662 (gst_collectpads_read), (gst_collectpads_flush):
12663 Guard public API with assertions.
12666 Fix docs for gst_pad_set_link_function().
12668 2005-11-02 Johan Dahlin <johan@gnome.org>
12670 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
12671 Unref found_caps after we used it.
12673 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12675 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12676 Don't try to ref NULL.
12678 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12680 * win32/common/config.h.in:
12681 provide a GST_FUNCTION that just gives a string for now
12683 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12685 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12686 (gst_object_flags_get_type), (register_gst_bin_flags),
12687 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12688 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12689 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12690 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
12691 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12692 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12693 (gst_clock_flags_get_type), (register_gst_state),
12694 (gst_state_get_type), (register_gst_state_change_return),
12695 (gst_state_change_return_get_type), (register_gst_state_change),
12696 (gst_state_change_get_type), (register_gst_element_flags),
12697 (gst_element_flags_get_type), (register_gst_core_error),
12698 (gst_core_error_get_type), (register_gst_library_error),
12699 (gst_library_error_get_type), (register_gst_resource_error),
12700 (gst_resource_error_get_type), (register_gst_stream_error),
12701 (gst_stream_error_get_type), (register_gst_event_type),
12702 (gst_event_type_get_type), (register_gst_seek_type),
12703 (gst_seek_type_get_type), (register_gst_seek_flags),
12704 (gst_seek_flags_get_type), (register_gst_format),
12705 (gst_format_get_type), (register_gst_index_certainty),
12706 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12707 (gst_index_entry_type_get_type),
12708 (register_gst_index_lookup_method),
12709 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12710 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12711 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12712 (gst_index_flags_get_type), (register_gst_debug_level),
12713 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12714 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12715 (gst_iterator_result_get_type), (register_gst_iterator_item),
12716 (gst_iterator_item_get_type), (register_gst_message_type),
12717 (gst_message_type_get_type), (register_gst_mini_object_flags),
12718 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12719 (gst_pad_link_return_get_type), (register_gst_flow_return),
12720 (gst_flow_return_get_type), (register_gst_activate_mode),
12721 (gst_activate_mode_get_type), (register_gst_pad_direction),
12722 (gst_pad_direction_get_type), (register_gst_pad_flags),
12723 (gst_pad_flags_get_type), (register_gst_pad_presence),
12724 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12725 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12726 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12727 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12728 (gst_plugin_flags_get_type), (register_gst_rank),
12729 (gst_rank_get_type), (register_gst_query_type),
12730 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12731 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12732 (gst_tag_flag_get_type), (register_gst_task_state),
12733 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12734 (gst_alloc_trace_flags_get_type),
12735 (register_gst_type_find_probability),
12736 (gst_type_find_probability_get_type), (register_gst_uri_type),
12737 (gst_uri_type_get_type), (register_gst_parse_error),
12738 (gst_parse_error_get_type):
12739 * win32/common/gstversion.h:
12740 update win32 copies
12742 2005-11-01 Luca Ognibene <luogni@tin.it>
12745 fix docs. popt is dead, long live GOption.
12747 2005-10-31 Wim Taymans <wim@fluendo.com>
12752 2005-10-31 Andy Wingo <wingo@pobox.com>
12756 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
12758 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
12759 need to serialize property notifications on GLib 2.8. GLib 2.6 has
12760 the possibility of deadlocks here if code calling notify() or
12761 set() has a lock that can be taken in another notify handler (ABBA
12762 with class lock and e.g. python GIL state lock).
12764 2005-10-28 Julien MOUTTE <julien@moutte.net>
12766 * gst/gstbus.c: Doc updates.
12768 2005-10-28 Wim Taymans <wim@fluendo.com>
12770 * docs/design/part-TODO.txt:
12771 * gst/gstiterator.c:
12772 * gst/gstsystemclock.c:
12773 * gst/gstsystemclock.h:
12776 2005-10-28 Edward Hervey <edward@fluendo.com>
12778 * docs/gst/gstreamer-docs.sgml:
12779 * docs/gst/gstreamer-sections.txt:
12780 the GstURIType documentation page is private, it only defines GstURIType
12781 which should be defined in the GstURIHandler page
12783 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
12785 * gst/gstbin.c: (gst_bin_class_init):
12788 Documentation updates.
12790 2005-10-28 Wim Taymans <wim@fluendo.com>
12792 * docs/gst/gstreamer-sections.txt:
12795 Documented the clocks.
12797 2005-10-28 Stefan Kost <ensonic@users.sf.net>
12799 * docs/gst/gstreamer-sections.txt:
12800 move some macros to private sections
12801 * gst/gstminiobject.c:
12802 * gst/gstminiobject.h:
12803 add descriptions provided by ds and some more
12805 mark macro as to be removed
12807 2005-10-28 Wim Taymans <wim@fluendo.com>
12809 * docs/design/part-TODO.txt:
12810 Add an item to TODO.
12812 * gst/gstiterator.c: (gst_iterator_fold),
12813 (gst_iterator_find_custom):
12814 * gst/gstiterator.h:
12817 2005-10-28 Wim Taymans <wim@fluendo.com>
12819 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12820 (gst_base_transform_init):
12823 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
12824 An EOS event marks the queue as completely filled.
12826 2005-10-27 Wim Taymans <wim@fluendo.com>
12828 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12829 (gst_base_sink_do_sync), (gst_base_sink_get_position):
12830 Some more debugging.
12832 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
12833 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
12834 (gst_base_transform_event), (gst_base_transform_getrange),
12835 (gst_base_transform_chain):
12836 * gst/base/gstbasetransform.h:
12838 Protect transform and concurrent buffer alloc with a new lock.
12839 Try not to break ABI/API.
12841 2005-10-27 Wim Taymans <wim@fluendo.com>
12843 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12844 (gst_base_src_init), (gst_base_src_query),
12845 (gst_base_src_default_newsegment),
12846 (gst_base_src_configure_segment), (gst_base_src_do_seek),
12847 (gst_base_src_send_event), (gst_base_src_event_handler),
12848 (gst_base_src_pad_get_range), (gst_base_src_loop),
12849 (gst_base_src_unlock), (gst_base_src_default_negotiate),
12850 (gst_base_src_start), (gst_base_src_deactivate),
12851 (gst_base_src_activate_push), (gst_base_src_change_state):
12852 Move some stuff around and cleanup things.
12854 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
12856 * gst/base/gstbasesrc.c: (gst_base_src_query):
12857 Add missing break statements.
12859 2005-10-27 Wim Taymans <wim@fluendo.com>
12861 * check/gst/gstbin.c: (GST_START_TEST):
12862 An extra refcount is taken in basesrc.
12864 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12865 (gst_base_src_get_range), (gst_base_src_pad_get_range),
12866 (gst_base_src_loop):
12867 Small cleanups, check for flushing after being unlocked from the
12868 LIVE_LOCK. take refcounts correctly (not yet everywhere).
12869 Don't send out EOS when going to READY.
12871 2005-10-27 Wim Taymans <wim@fluendo.com>
12873 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12874 (gst_base_sink_get_position):
12877 * gst/gstbin.c: (message_check), (bin_replace_message),
12878 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12879 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12880 (bin_query_duration_init), (bin_query_duration_fold),
12881 (bin_query_duration_done), (bin_query_generic_fold),
12883 * tools/gst-launch.c: (main):
12886 2005-10-26 Stefan Kost <ensonic@users.sf.net>
12888 * examples/controller/audio-example.c: (main):
12889 * examples/queue/queue.c: (event_loop):
12890 * gst/base/gstbasetransform.h:
12891 * gst/gstelement.c: (gst_element_send_event):
12893 * gst/gstpad.c: (gst_pad_send_event):
12896 changing log priority in error situations
12898 2005-10-25 Wim Taymans <wim@fluendo.com>
12900 * gst/gstbin.c: (message_check), (bin_replace_message),
12901 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12902 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12903 (bin_query_duration_init), (bin_query_duration_fold),
12904 (bin_query_duration_done), (bin_query_generic_fold),
12906 Some doc and debug updates.
12907 Cache previously requested query DURATION for speed. invalidate
12908 cached duration if element posts a DURATION message.
12910 2005-10-25 Wim Taymans <wim@fluendo.com>
12912 * docs/design/part-TODO.txt:
12915 * gst/gstbin.c: (message_check), (bin_replace_message),
12916 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12917 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12918 (bin_query_duration_init), (bin_query_duration_fold),
12919 (bin_query_duration_done), (bin_query_generic_fold),
12921 Handle SEGMENT_START/DONE messages correctly.
12922 More evolved query algorithm that handles duration queries
12925 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
12926 (gst_element_get_state_func), (gst_element_abort_state),
12927 (gst_element_commit_state), (gst_element_lost_state):
12928 Some more debugging.
12930 * gst/gstmessage.h:
12933 2005-10-25 Wim Taymans <wim@fluendo.com>
12935 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12936 Don't use invalid stream_time.
12938 * gst/gstevent.c: (gst_event_new_newsegment):
12939 stream_time in newsegment cannot be undefined.
12941 2005-10-24 Wim Taymans <wim@fluendo.com>
12946 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
12948 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
12950 2005-10-24 Stefan Kost <ensonic@users.sf.net>
12952 * docs/libs/tmpl/gstdparam.sgml:
12953 * docs/libs/tmpl/gstdplinint.sgml:
12954 * docs/libs/tmpl/gstdpman.sgml:
12955 * docs/libs/tmpl/gstdpsmooth.sgml:
12956 * docs/libs/tmpl/gstunitconvert.sgml:
12959 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
12964 === release 0.9.4 ===
12966 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
12969 releasing 0.9.4, "Tyrannosaurus Rex"
12971 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
12973 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
12974 (gst_file_sink_get_current_offset):
12975 Use fseeko() and ftello() if available. When falling back on
12976 lseek() to get the current offset, fflush() first to make sure
12977 everything is up-to-date and we get the right offset.
12979 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
12981 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12982 * gst/base/gstbasesrc.c: (gst_base_src_loop):
12983 * gst/gsterror.c: (_gst_stream_errors_init):
12985 * gst/gstqueue.c: (gst_queue_loop):
12987 remove prematurely added error category and clean up the instances
12989 2005-10-21 Wim Taymans <wim@fluendo.com>
12991 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12992 (gst_base_sink_get_position), (gst_base_sink_query),
12993 (gst_base_sink_change_state):
12994 Simply set the right flag when going to playing, that's all
12995 we need to do instead of calling a function inside the object
12996 lock (that could take the lock as well and deadlock)
12998 2005-10-21 Wim Taymans <wim@fluendo.com>
13000 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13001 (gst_base_src_loop):
13002 Don't warn, the peer element knows what to do best when
13003 the seek failed, it might try something else.
13005 2005-10-21 Wim Taymans <wim@fluendo.com>
13007 * gst/base/gstbasesrc.c: (gst_base_src_init),
13008 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13011 2005-10-21 Wim Taymans <wim@fluendo.com>
13013 * docs/design/part-segments.txt:
13016 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13017 Correctly set caps, even on the subbufer.
13019 2005-10-21 Wim Taymans <wim@fluendo.com>
13021 * docs/gst/gstreamer-docs.sgml:
13022 * docs/gst/gstreamer-sections.txt:
13023 * gst/gstelement.h:
13026 * gst/gstmessage.h:
13029 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13033 And 2% more doc coverage.
13035 2005-10-21 Andy Wingo <wingo@pobox.com>
13037 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13038 position reporting.
13040 2005-10-20 Wim Taymans <wim@fluendo.com>
13042 * gst/gsterror.c: (gst_error_get_message):
13045 * gst/gststructure.c:
13050 2005-10-20 Wim Taymans <wim@fluendo.com>
13055 Another 1% more coverage.
13057 2005-10-20 Wim Taymans <wim@fluendo.com>
13059 * docs/gst/gstreamer-sections.txt:
13060 * gst/gstelement.c: (gst_element_get_state_func),
13061 (gst_element_abort_state), (gst_element_commit_state),
13062 (gst_element_lost_state):
13064 * gst/gstquery.c: (gst_query_set_position),
13065 (gst_query_parse_position), (gst_query_set_duration),
13066 (gst_query_parse_duration), (gst_query_new_convert):
13068 Yay! 1% more docs coverage.
13070 2005-10-20 Wim Taymans <wim@fluendo.com>
13073 * gst/gstquery.c: (gst_query_set_position),
13074 (gst_query_parse_position), (gst_query_set_duration),
13075 (gst_query_parse_duration), (gst_query_new_convert):
13077 * gst/gstutils.c: (gst_element_query_convert):
13079 Docs and consistency fixes.
13081 2005-10-20 Wim Taymans <wim@fluendo.com>
13087 2005-10-20 Wim Taymans <wim@fluendo.com>
13089 * gst/gstbin.c: (message_check), (bin_replace_message),
13090 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13091 (update_degree), (gst_bin_sort_iterator_next),
13092 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13093 Reworked the message handling a bit, cache the messages instead of
13094 only the senders. alows us to do more in the future.
13096 2005-10-20 Wim Taymans <wim@fluendo.com>
13098 * docs/design/part-TODO.txt:
13101 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13102 (gst_base_sink_query):
13103 Don't use clock time to report position when in EOS.
13105 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
13107 * tools/gst-inspect.c: (print_interfaces),
13108 (print_element_properties_info), (print_element_info):
13109 Fix interface output with gst-inspect -a; don't print
13110 newlines after double/float properties.
13112 2005-10-20 Wim Taymans <wim@fluendo.com>
13114 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13115 (gst_base_sink_query):
13116 Speed up current position calculation.
13118 * gst/base/gstbasesrc.c: (gst_base_src_query),
13119 (gst_base_src_default_newsegment):
13120 Correctly set stream position in newsegment.
13122 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13123 (update_degree), (gst_bin_sort_iterator_next),
13124 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13125 * gst/gstmessage.c: (gst_message_new_custom):
13126 Clean up debugging info
13128 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13129 (gst_queue_loop), (gst_queue_handle_src_query):
13132 2005-10-19 Wim Taymans <wim@fluendo.com>
13134 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13135 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13136 Fix query handling again.
13138 2005-10-19 Wim Taymans <wim@fluendo.com>
13140 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13141 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13142 * gst/base/gstbasesrc.c: (gst_base_src_query):
13143 * gst/elements/gstfilesink.c: (gst_file_sink_query):
13144 * gst/elements/gsttypefindelement.c:
13145 (gst_type_find_handle_src_query), (find_element_get_length),
13146 (gst_type_find_element_activate):
13149 * gst/gstquery.c: (gst_query_new_position),
13150 (gst_query_set_position), (gst_query_parse_position),
13151 (gst_query_new_duration), (gst_query_set_duration),
13152 (gst_query_parse_duration), (gst_query_set_segment),
13153 (gst_query_parse_segment):
13155 Bundling query position/duration is not a good idea since duration
13156 does not change much and we don't want to recalculate it for every
13157 position query, so they are separated again..
13158 Base value in segment query is not needed.
13160 * gst/gstqueue.c: (gst_queue_handle_src_query):
13161 * gst/gstutils.c: (gst_element_query_position),
13162 (gst_element_query_duration), (gst_pad_query_position),
13163 (gst_pad_query_duration):
13165 Updates for query API change.
13166 Added some docs here and there.
13168 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
13170 * check/gst/gstbin.c: (GST_START_TEST):
13171 * check/gst/gstghostpad.c: (GST_START_TEST):
13172 * check/pipelines/cleanup.c: (GST_START_TEST):
13173 wait on thread to die so we can check refcount correctly
13175 2005-10-18 Wim Taymans <wim@fluendo.com>
13177 * check/pipelines/stress.c: (GST_START_TEST):
13178 Make check a little more time consuming.
13180 2005-10-18 Wim Taymans <wim@fluendo.com>
13182 * check/Makefile.am:
13183 * check/pipelines/stress.c: (GST_START_TEST),
13184 (simple_launch_lines_suite), (main):
13185 Small state change torture test.
13187 * docs/design/part-states.txt:
13188 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13189 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13190 (gst_base_sink_change_state):
13191 Never take state lock from streaming thread, clean up ugly
13192 hacks. Unfortunatly core does not yet support nice ways to
13193 async commit state.
13195 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13197 Start state recalc if a STATE_DIRTY message is posted, but only
13198 on the toplevel bin.
13200 * gst/gstelement.c: (gst_element_sync_state_with_parent),
13201 (gst_element_get_state_func), (gst_element_abort_state),
13202 (gst_element_commit_state), (gst_element_lost_state),
13203 (gst_element_set_state_func), (gst_element_change_state):
13204 * gst/gstelement.h:
13205 State variables are now protected with the LOCK, the state
13206 lock is only used to serialize _set_state().
13208 2005-10-18 Wim Taymans <wim@fluendo.com>
13210 * check/gst/gstbin.c: (GST_START_TEST):
13211 * check/gst/gstmessage.c: (GST_START_TEST):
13212 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13213 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13215 * gst/gstelement.c: (gst_element_abort_state),
13216 (gst_element_commit_state), (gst_element_lost_state):
13217 * gst/gstmessage.c: (gst_message_new_state_changed),
13218 (gst_message_new_state_dirty), (gst_message_new_segment_start),
13219 (gst_message_new_segment_done), (gst_message_new_duration),
13220 (gst_message_parse_state_changed),
13221 (gst_message_parse_segment_start),
13222 (gst_message_parse_segment_done), (gst_message_parse_duration):
13223 * gst/gstmessage.h:
13224 * tools/gst-launch.c: (event_loop):
13225 Seriously, this is better than a previous commit as we only need
13226 to notify the fact that an element changed state in a streaming
13227 thread, marking the state of the parents dirty, hence the
13228 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13231 2005-10-18 Wim Taymans <wim@fluendo.com>
13233 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13234 (gst_bin_recalc_func):
13235 * gst/gstelement.c: (gst_element_set_clock),
13236 (gst_element_abort_state), (gst_element_lost_state):
13237 Cleanups, prepare for state change fixes.
13239 2005-10-18 Wim Taymans <wim@fluendo.com>
13242 * gst/gstelement.c: (gst_element_class_init),
13243 (gst_element_set_state), (gst_element_set_state_func):
13244 * gst/gstelement.h:
13245 Pending ABI changes.
13246 GThreadPool in GstBinClass to monitor async state changes.
13247 state_cookie in GstElement to detect concurrent gst/set state.
13248 set_state is now virtual too in case a very complicated element
13249 has to be constructed.
13251 2005-10-18 Wim Taymans <wim@fluendo.com>
13253 * check/gst/gstbin.c: (GST_START_TEST):
13254 * check/gst/gstmessage.c: (GST_START_TEST):
13255 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13256 * gst/gstbin.c: (bin_bus_handler):
13257 * gst/gstelement.c: (gst_element_commit_state),
13258 (gst_element_lost_state):
13259 * gst/gstmessage.c: (gst_message_new_state_changed),
13260 (gst_message_new_segment_start), (gst_message_new_segment_done),
13261 (gst_message_new_duration), (gst_message_parse_state_changed),
13262 (gst_message_parse_segment_start),
13263 (gst_message_parse_segment_done), (gst_message_parse_duration):
13264 * gst/gstmessage.h:
13265 * tools/gst-launch.c: (event_loop):
13266 Make messages future proof.
13267 state-change gets a flag if it was a message comming from the
13269 segment-start/stop can also be specified in other formats.
13270 A message to notify an app that a pipeline changed playback
13272 Also fix a GstMessage leak in -launch
13274 2005-10-18 Andy Wingo <wingo@pobox.com>
13276 * gst/gstelement.c (gst_element_dispose): More helpful message.
13278 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13280 reviewed by: <delete if not using a buddy>
13282 * common/gtk-doc.mak:
13284 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13286 * gst/gstregistry.c: (gst_registry_scan_path_level):
13287 unref a plug-in we get that was already initialized
13289 2005-10-18 Stefan Kost <ensonic@users.sf.net>
13291 * docs/gst/gstreamer-sections.txt:
13292 * docs/libs/gstreamer-libs-sections.txt:
13293 * gst/gstelement.h:
13294 add new api entries
13295 hide internal macro
13297 2005-10-17 Andy Wingo <wingo@pobox.com>
13299 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13302 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13304 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13306 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13307 (gst_element_get_state_func): Better debug message.
13308 (gst_element_commit_state): s/INFO/DEBUG/.
13309 (gst_element_lost_state, gst_element_change_state):
13311 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13312 (gst_message_new_custom): s/INFO/LOG/.
13314 2005-10-17 Michael Smith <msmith@fluendo.com>
13316 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13317 Check if end time is valid using end time, not start time.
13319 2005-10-17 Stefan Kost <ensonic@users.sf.net>
13321 * check/gst-libs/controller.c: (GST_START_TEST),
13322 (gst_controller_suite):
13323 * libs/gst/controller/gstcontroller.c:
13324 (gst_controlled_property_set_interpolation_mode):
13325 * libs/gst/controller/gstcontroller.h:
13326 * libs/gst/controller/gstinterpolation.c:
13327 * testsuite/controller/.cvsignore:
13328 * testsuite/controller/Makefile.am:
13329 * testsuite/controller/interpolator.c:
13330 merge controller testsuites
13332 remove mem-chunk from docs
13334 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13336 * gst/gstmemchunk.c:
13337 * gst/gstmemchunk.h:
13338 * gst/gsttrashstack.c:
13339 * gst/gsttrashstack.h:
13340 out. get out. you're fired. to the Attic !
13342 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13344 * gst/gstcaps.c: (gst_caps_intersect):
13345 fix signedness issues in a (hopefully) correct way
13346 * gst/gstelement.c: (gst_element_pads_activate):
13348 * gst/gstobject.c: (gst_object_set_parent):
13351 2005-10-17 Julien MOUTTE <julien@moutte.net>
13353 * gst/gstvalue.h: Fix prototypes.
13355 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13357 * docs/gst/gstreamer-sections.txt:
13358 * gst/gst.c: (gst_version_string):
13360 * gst/gstversion.h.in:
13361 * win32/common/libgstreamer.def:
13362 add gst_version_string ()
13364 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13368 * gst/gst.c: (init_post):
13369 * win32/common/config.h.in:
13371 * gst/gstcaps.c: (gst_caps_intersect):
13372 use gint64, the range could be bigger than a guint
13374 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13377 document potential problem in 2038
13379 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13381 * gst/gstcaps.c: (gst_caps_intersect):
13382 Fix guint j diving under 0
13384 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13387 * win32/common/config.h:
13388 * win32/common/config.h.in:
13389 check for process.h, declares getpid() on Windows
13391 include process.h if we have it
13392 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13393 * gst/gstmemchunk.h:
13394 fix signedness issues
13395 * win32/common/libgstreamer.def:
13398 2005-10-16 Julien MOUTTE <julien@moutte.net>
13400 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13401 fix. Because of unsigned ints, caps intersection was going nuts and
13402 trying to access structures with G_MAXUINT index. That fixes
13403 videotestsrc ! ffmpegcolorspace ! fakesink
13404 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13407 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13410 use the gettext macro
13411 * gst/elements/gstelements.c:
13413 * gst/indexers/gstindexers.c:
13414 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13415 * win32/common/config.h:
13417 * win32/common/config.h.in:
13418 add the template to generate config.h
13419 * win32/common/gstenumtypes.c:
13420 * win32/common/gstversion.h:
13423 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13425 * gst/gst.c: (gst_version):
13426 * gst/gstversion.h.in:
13429 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13432 Oops, add missing closing bracket.
13434 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13437 use common m4's for argument checking
13439 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13441 * docs/gst/gstreamer-sections.txt:
13443 Add GST_EVENT_TYPE_NAME() macro.
13445 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13448 * gst/gstpluginfeature.c:
13450 privatize more symbols
13452 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13455 add srcdir, builddir includes to GST_ALL_CFLAGS, since
13456 everything that uses GStreamer API should have the includes
13458 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13460 * docs/gst/gstreamer-sections.txt:
13461 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13463 give each value a _get_type, removes the DATA exports
13465 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13469 remove _gst_registry_auto_load, not used anymore
13470 * gst/gstbin.c: (gst_bin_get_type):
13472 * gst/gstelement.c: (gst_element_get_type):
13473 * gst/gstelement.h:
13474 * gst/gstobject.c: (gst_object_get_type):
13476 * gst/gstpad.c: (gst_pad_get_type):
13478 make _get_type functions similar, fixes data export from library
13480 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13483 correctly make conditionals
13484 * gst/elements/Makefile.am:
13485 * gst/elements/gstelements.c:
13486 fix typo causing fdsrc not to build
13488 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13490 * testsuite/Makefile.am:
13491 * testsuite/bytestream/.cvsignore:
13492 * testsuite/bytestream/Makefile.am:
13493 * testsuite/bytestream/filepadsink.c:
13494 * testsuite/bytestream/gstbstest.c:
13495 * testsuite/bytestream/test1.c:
13496 * testsuite/bytestream/testfile1:
13497 * testsuite/caps/normalisation.c:
13498 * testsuite/caps/random.c: (main):
13499 * testsuite/cleanup/.cvsignore:
13500 * testsuite/cleanup/Makefile.am:
13501 * testsuite/cleanup/cleanup1.c:
13502 * testsuite/cleanup/cleanup2.c:
13503 * testsuite/cleanup/cleanup3.c:
13504 * testsuite/cleanup/cleanup4.c:
13505 * testsuite/cleanup/cleanup5.c:
13506 * testsuite/controller/interpolator.c:
13507 * testsuite/debug/printf_extension.c: (main):
13508 * testsuite/elements/tee.c:
13509 * testsuite/negotiation/.cvsignore:
13510 * testsuite/negotiation/Makefile.am:
13511 * testsuite/negotiation/pad_link.c:
13512 * testsuite/pad/Makefile.am:
13513 * testsuite/pad/chainnopull.c:
13514 * testsuite/pad/getnopush.c:
13515 * testsuite/pad/link.c:
13516 * testsuite/refcounting/sched.c: (create_pipeline):
13517 * testsuite/registry/Makefile.am:
13518 * testsuite/registry/gst-print-formats.c:
13519 * testsuite/schedulers/.cvsignore:
13520 * testsuite/schedulers/142183-2.c:
13521 * testsuite/schedulers/142183.c:
13522 * testsuite/schedulers/143777-2.c:
13523 * testsuite/schedulers/143777.c:
13524 * testsuite/schedulers/147713.c:
13525 * testsuite/schedulers/147819.c:
13526 * testsuite/schedulers/147894-2.c:
13527 * testsuite/schedulers/147894.c:
13528 * testsuite/schedulers/Makefile.am:
13529 * testsuite/schedulers/group_link.c:
13530 * testsuite/schedulers/queue_link.c:
13531 * testsuite/schedulers/relink.c:
13532 * testsuite/schedulers/unlink.c:
13533 * testsuite/schedulers/unref.c:
13534 * testsuite/schedulers/useless_iteration.c:
13535 * testsuite/states/bin.c:
13536 clean out/remove some stuff from the testsuite directories
13538 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13541 check for some headers
13542 * gst/elements/Makefile.am:
13543 * gst/elements/gstelements.c:
13544 don't compile fdsrc without sys/socket.h
13545 * gst/indexers/Makefile.am:
13546 * gst/indexers/gstindexers.c: (plugin_init):
13547 don't compile fileindex without mmap
13549 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13556 * check/Makefile.am:
13557 * docs/gst/Makefile.am:
13558 * examples/helloworld/Makefile.am:
13560 * gst/base/Makefile.am:
13561 * gst/check/Makefile.am:
13562 * gst/elements/Makefile.am:
13563 * gst/indexers/Makefile.am:
13564 * gst/parse/Makefile.am:
13565 * libs/gst/controller/Makefile.am:
13566 * libs/gst/dataprotocol/Makefile.am:
13567 * examples/helloworld/helloworld.c: (event_loop):
13568 compile fixes, though it's not being compiled currently
13570 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13572 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13573 Add some simple tests for the new taglist date API.
13575 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13577 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13578 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13579 Beautify 'last-message' output: print 'none' for buffer timestamps
13580 and durations if none is set; improve alignment with next messages.
13582 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13584 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13585 * gst/gstpluginfeature.h:
13586 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13587 * gst/gstregistry.h:
13588 * docs/gst/gstreamer-sections.txt:
13589 Add new API to check plugin feature version requirements.
13591 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13592 Some basic tests for the above.
13594 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13596 * gst/gststructure.c: (gst_structure_to_string):
13597 guard against NULL printf - happens when for example
13598 a message structure with GstClock gets serialized
13600 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13602 * gst/base/gstcollectpads.c: (gst_collectpads_event):
13603 Fix presumable copy'n'pasto.
13605 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13607 * gst/elements/gstfakesrc.h:
13608 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13609 * gst/elements/gsttypefindelement.c:
13610 fix some signedness
13611 * gst/elements/gstfilesink.c: (gst_file_sink_render):
13612 I wonder if this could actually write +2GB files before
13614 2005-10-13 Andy Wingo <wingo@pobox.com>
13616 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13617 Fix Timmeke Waymans bug.
13618 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13619 string of the proper length to gst_caps_from_string. There's a
13620 potential for, before this fix, that this could cause someone
13621 connecting over the network to cause a segfault if the payload is
13622 not NUL-terminated.
13624 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13626 * docs/design/draft-push-pull.txt:
13627 * docs/design/part-overview.txt:
13628 * docs/random/TODO-pre-0.9:
13629 * docs/random/old/ChangeLog.gstreamer:
13630 * gst/base/gstpushsrc.c:
13634 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13636 * gst/glib-compat.c: (gst_flags_get_first_value):
13637 * gst/glib-compat.h:
13638 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13639 (gst_value_compare_double), (gst_value_serialize_flags):
13640 GLib 2.6 g_flags_get_first_value has a bug that triggers an
13643 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13645 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13646 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13648 * tools/gst-launch.c: (event_loop):
13649 print out clock nicely
13651 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13653 * docs/gst/gstreamer-sections.txt:
13654 * gst/gsttaglist.h:
13655 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13656 (gst_tag_list_get_date_index):
13657 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13658 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13660 2005-10-13 Julien MOUTTE <julien@moutte.net>
13662 * gst/base/gstcollectpads.c: (gst_collectpads_event),
13663 (gst_collectpads_chain):
13664 * gst/base/gstcollectpads.h: Handle newsegment and store informations
13667 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13669 * docs/gst/gstreamer-sections.txt:
13672 * tools/gst-inspect.c: (main):
13673 * tools/gst-launch.c: (main):
13674 * tools/gst-run.c: (main):
13675 * tools/gst-xmlinspect.c: (main):
13676 fix GOption context leaks
13679 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13683 * win32/common/config.h:
13685 * win32/vs6/grammar.dsp:
13686 * win32/vs6/libgstelements.dsp:
13687 * win32/vs6/libgstreamer.dsp:
13690 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13692 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13693 * gst/base/gstbasesrc.c: (gst_base_src_query):
13694 fix more guint64<->gdouble conversions
13696 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13699 add win32-update target
13700 * win32/common/gstconfig.h:
13701 * win32/common/gstenumtypes.c:
13702 * win32/common/gstenumtypes.h:
13703 * win32/common/gstversion.h:
13704 add files that visual studio can't generate
13706 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13709 add a win32-update target
13712 2005-10-12 Wim Taymans <wim@fluendo.com>
13714 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13715 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
13716 * gst/gstelement.c: (gst_element_commit_state),
13717 (gst_element_set_state):
13718 Protect flags with proper lock.
13719 unref provided cached clock in dispose.
13721 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13724 * gst/gstminiobject.h:
13726 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
13727 removed unused flags from miniobject
13730 2005-10-12 Wim Taymans <wim@fluendo.com>
13732 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13733 (gst_file_sink_event), (gst_file_sink_render):
13734 Flush before seeking.
13736 2005-10-12 Andy Wingo <wingo@pobox.com>
13738 * gst/gst.c (gst_init_check): Ignore unknown options, as has
13739 always been the case.
13741 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13743 * check/gst/gstbin.c: (GST_START_TEST):
13744 * docs/gst/gstreamer-sections.txt:
13745 * gst/base/gstbasesink.c: (gst_base_sink_init):
13746 * gst/base/gstbasesrc.c: (gst_base_src_init),
13747 (gst_base_src_get_range), (gst_base_src_check_get_range),
13748 (gst_base_src_start), (gst_base_src_stop):
13749 * gst/base/gstbasesrc.h:
13750 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
13751 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13752 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
13756 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
13758 * gst/gstelement.c: (gst_element_is_locked_state),
13759 (gst_element_set_locked_state), (gst_element_commit_state),
13760 (gst_element_set_state):
13761 * gst/gstelement.h:
13762 * gst/gstindex.c: (gst_index_init):
13764 * gst/gstminiobject.h:
13765 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
13766 (gst_object_set_parent):
13768 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
13769 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
13771 * gst/gstpadtemplate.h:
13772 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
13773 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13774 * gst/gstpipeline.h:
13775 * gst/indexers/gstfileindex.c: (gst_file_index_load),
13776 (gst_file_index_commit):
13777 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
13778 * testsuite/pad/link.c: (gst_test_src_init),
13779 (gst_test_filter_init), (gst_test_sink_init):
13780 * testsuite/states/locked.c: (main):
13781 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
13782 moved bitshift from macro to enum definition
13784 2005-10-12 Wim Taymans <wim@fluendo.com>
13786 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
13787 * gst/elements/gstfilesink.c: (gst_file_sink_event),
13788 (gst_file_sink_render):
13789 Some more debugging info.
13791 2005-10-12 Wim Taymans <wim@fluendo.com>
13793 * docs/design/part-states.txt:
13794 * tools/gst-launch.c: (main):
13796 Revert non-intentional change.
13798 2005-10-12 Wim Taymans <wim@fluendo.com>
13800 * check/gst/gstbin.c: (GST_START_TEST):
13801 * check/gst/gstelement.c: (GST_START_TEST):
13802 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
13803 * check/gst/gstghostpad.c: (GST_START_TEST):
13804 * check/gst/gstpipeline.c: (GST_START_TEST):
13805 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13806 * check/states/sinks.c: (GST_START_TEST):
13807 * gst/elements/gsttypefindelement.c: (stop_typefinding):
13808 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13809 (gst_bin_remove_func), (gst_bin_get_state_func),
13810 (gst_bin_recalc_state), (gst_bin_change_state_func),
13812 * gst/gstelement.c: (gst_element_get_state_func),
13813 (gst_element_get_state), (gst_element_abort_state),
13814 (gst_element_commit_state), (gst_element_set_state),
13815 (gst_element_change_state), (gst_element_change_state_func):
13816 * gst/gstelement.h:
13817 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
13818 (gst_pipeline_provide_clock_func):
13819 * gst/gstutils.c: (gst_element_link_pads_filtered):
13820 * tools/gst-launch.c: (main):
13821 * tools/gst-typefind.c: (main):
13822 Use GstClockTime in _get_state() instead of GTimeVal.
13823 Remove old code in gstutils.c
13825 2005-10-12 Andy Wingo <wingo@pobox.com>
13827 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
13830 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
13831 there is no task. Shouldn't affect any code, as nothing in our
13832 plugins checks this return value.
13833 (gst_pad_stop_task): Also take the stream lock if the pad has no
13834 task. Docs updated.
13836 2005-10-12 Wim Taymans <wim@fluendo.com>
13838 * gst/gstpad.c: (pre_activate), (post_activate),
13839 (gst_pad_activate_pull), (gst_pad_activate_push):
13840 Cleanup activation code. Reset old state if
13843 2005-10-12 Wim Taymans <wim@fluendo.com>
13845 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13846 (gst_base_sink_change_state):
13847 No need to prerol after receiving EOS.
13849 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13850 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
13851 * gst/elements/gstidentity.c: (gst_identity_event):
13852 Print events more verbosely.
13854 2005-10-12 Wim Taymans <wim@fluendo.com>
13856 * check/Makefile.am:
13857 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13858 * check/states/sinks2.c:
13859 Moved sinks2 testcode in sinks check.
13861 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13862 (gst_bin_remove_func), (gst_bin_recalc_state),
13863 (gst_bin_change_state_func), (bin_bus_handler):
13864 Fix potential race condition when _get_state() iterated over an
13865 ASYNC element right before it posted a state completion.
13868 Do proper cast here.
13870 * gst/gstevent.c: (gst_event_new_newsegment),
13871 (gst_event_parse_newsegment):
13872 A playback rate of 0.0 is not allowed.
13874 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13876 * win32/common/config.h:
13877 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
13878 (_trewinddir), (_ttelldir), (_tseekdir):
13879 * win32/common/dirent.h:
13880 * win32/common/gtchar.h:
13881 * win32/common/libgstbase.def:
13882 * win32/common/libgstreamer.def:
13883 * win32/vs6/grammar.dsp:
13884 * win32/vs6/gst_inspect.dsp:
13885 * win32/vs6/gst_launch.dsp:
13886 * win32/vs6/gstreamer.dsw:
13887 * win32/vs6/libgstbase.dsp:
13888 * win32/vs6/libgstelements.dsp:
13889 * win32/vs6/libgstreamer.dsp:
13890 Visual Studio 6 project files, and a new common directory.
13893 2005-10-11 Wim Taymans <wim@fluendo.com>
13895 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13896 (gst_base_sink_do_sync), (gst_base_sink_query),
13897 (gst_base_sink_change_state):
13898 * gst/base/gstbasesink.h:
13899 Correctly parse newsegment info.
13901 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13903 * gst/gst.c: (init_post):
13904 split plugin paths correctly
13906 2005-10-11 Wim Taymans <wim@fluendo.com>
13908 * check/gst/gstevent.c: (GST_START_TEST):
13909 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13910 (gst_base_sink_change_state):
13911 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
13912 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13913 * gst/elements/gstfilesink.c: (gst_file_sink_event):
13914 * gst/gstevent.c: (gst_event_new_newsegment),
13915 (gst_event_parse_newsegment):
13917 Added extra flag to newsegment for future API freeze.
13918 Updated check and base elements.
13920 2005-10-11 Julien MOUTTE <julien@moutte.net>
13922 * gst/base/gstcollectpads.c: (gst_collectpads_init),
13923 (gst_collectpads_add_pad), (gst_collectpads_pop),
13924 (gst_collectpads_event), (gst_collectpads_chain):
13925 * gst/base/gstcollectpads.h: Handle EOS correctly.
13927 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13929 * tools/gst-launch.c: (main):
13930 more null protecting
13932 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13934 * gst/gst-i18n-lib.h:
13935 check for ENABLE_NLS, not GETTEXT_PACKAGE
13936 * gst/gstregistry.c: (gst_registry_add_plugin),
13937 (gst_registry_scan_path_level),
13938 (_gst_registry_remove_cache_plugins):
13939 protect possibly NULL strings
13940 * gst/parse/types.h:
13941 config.h already included before
13942 * tools/gst-inspect.c: (main):
13943 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
13944 check for ENABLE_NLS, not GETTEXT_PACKAGE
13945 * tools/gst-launch.c: (main):
13946 check for ENABLE_NLS, not GETTEXT_PACKAGE
13948 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13951 if we don't have glib, fail before testing 2.8
13952 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
13953 fix a leak, should fix plugins-base testsuite
13955 2005-10-11 Andy Wingo <wingo@pobox.com>
13957 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
13958 take the mode we're going to as an arg. Go head and set the mode
13959 and flushing flags now, so that if the activate function starts a
13960 thread all the flags will be in the right state.
13961 (post_activate): Renamed also. Just handle making sure streaming
13962 finishes for the deactivation case, and setting the deactivated
13964 (gst_pad_set_active): Complain loudly if deactivation fails.
13965 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
13966 (gst_pad_activate_push): Adapt to pre/post_activate changes,
13967 remove the terrible hack.
13969 2005-10-11 Wim Taymans <wim@fluendo.com>
13971 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
13972 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
13973 (gst_bin_recalc_state), (gst_bin_change_state_func),
13974 (gst_bin_dispose), (bin_bus_handler):
13976 Prepare to make current EOS message queue more generic.
13979 * gst/gstevent.c: (gst_event_new_newsegment),
13980 (gst_event_parse_newsegment):
13982 Rename base to stream_time.
13984 * gst/gstmessage.h:
13987 2005-10-11 Wim Taymans <wim@fluendo.com>
13989 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
13990 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
13991 (gst_bin_change_state_func), (bin_bus_handler):
13993 Work on proper clock selection.
13995 2005-10-11 Edward Hervey <edward@fluendo.com>
13997 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
13998 * libs/gst/controller/gstcontroller.h:
13999 Added GList* version of _remove_properties() in order to be able to wrap
14002 2005-10-11 Wim Taymans <wim@fluendo.com>
14004 * docs/design/part-states.txt:
14007 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14008 (gst_bin_change_state_func), (bin_bus_handler):
14009 Doc updates. Don't distribute the same clock over and over again.
14015 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14016 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14017 (gst_pad_send_event):
14019 Make probe emission threadsafe again.
14020 Register quarks and move _get_name() from utils.
14023 * gst/gstpipeline.c: (gst_pipeline_class_init),
14024 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14025 Only redistribute the clock of it changed.
14027 * gst/gstsystemclock.h:
14032 Moved the _flow_get_name() to GstPad.
14034 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14036 * check/gst-libs/gdp.c: (GST_START_TEST):
14037 * check/gst/gstcaps.c: (GST_START_TEST):
14038 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14039 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14040 (gst_dp_packet_from_caps):
14041 fix more valgrind warnings before turning up the heat
14043 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14045 * gst/parse/grammar.y:
14046 some cleanup before the hacking
14048 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14050 * gst/base/gstbasesrc.c: (gst_base_src_query):
14052 * gst/gstutils.c: (gst_guint64_to_gdouble),
14053 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14055 externalize, basesrc uses it
14056 obviously the implementation needs testing
14058 2005-10-10 Wim Taymans <wim@fluendo.com>
14060 * tests/sched/Makefile.am:
14061 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14062 (make_pipeline3), (make_pipeline4), (print_elem), (main):
14064 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14066 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14067 apparently converting from guint64 to double is not implemented
14070 2005-10-10 Wim Taymans <wim@fluendo.com>
14072 * check/Makefile.am:
14073 * check/generic/states.c: (GST_START_TEST):
14074 * check/gst/gstbin.c: (GST_START_TEST):
14075 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14076 * check/states/sinks.c: (GST_START_TEST):
14077 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14079 Check fixes, use API as stated in design docs, remove hacks.
14081 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14082 (gst_base_sink_change_state):
14083 Catch stopping our task while we're shutting down.
14085 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14086 (gst_bin_remove_func), (gst_bin_get_state_func),
14087 (gst_bin_recalc_state), (gst_bin_change_state_func),
14090 * gst/gstelement.c: (gst_element_init),
14091 (gst_element_get_state_func), (gst_element_abort_state),
14092 (gst_element_commit_state), (gst_element_lost_state),
14093 (gst_element_set_state), (gst_element_change_state),
14094 (gst_element_change_state_func):
14095 * gst/gstelement.h:
14096 New state change algorithm (see #318116)
14098 * gst/gstpipeline.c: (gst_pipeline_class_init),
14099 (gst_pipeline_init), (gst_pipeline_set_property),
14100 (gst_pipeline_get_property), (do_pipeline_seek),
14101 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14102 * gst/gstpipeline.h:
14103 Remove crude state change hacks.
14106 Remove crude hacks.
14108 * tools/gst-launch.c: (main):
14109 Fixes for state change. Needs some more work to fully use the
14112 2005-10-10 Andy Wingo <wingo@pobox.com>
14114 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14116 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14117 this flag, but it's not even in GLib 2.6. Odd. Hack around the
14120 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14122 * gst/gstiterator.c: (gst_iterator_new):
14123 Fix my previous commit: GTypes passed to gst_iterator_new()
14124 can be fundamental types.
14126 2005-10-10 Wim Taymans <wim@fluendo.com>
14128 * gst/gstelement.c: (gst_element_iterate_pad_list),
14129 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14130 (gst_element_iterate_sink_pads):
14131 Use src/sink pads lists for the respective iterators instead
14134 2005-10-10 Andy Wingo <wingo@pobox.com>
14136 Merged in popt removal + GOption addition patch from Ronald, bug
14139 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14140 GstElement macros around, remove popt-related symbols, add goption
14143 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14145 * docs/gst/Makefile.am:
14146 * docs/libs/Makefile.am: No POPT_CFLAGS.
14148 * examples/manual/Makefile.am:
14149 * docs/manual/basics-init.xml: Doc updates with an example.
14151 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14152 (gst_init), (parse_one_option), (parse_goption_arg):
14153 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14154 bit of hand merging and debugging to get the GOption stuff working
14157 * tests/Makefile.am:
14158 * tools/Makefile.am:
14159 * tools/gst-inspect.c: (main):
14160 * tools/gst-launch.c: (main):
14161 * tools/gst-run.c: (main):
14162 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14164 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14166 * gst/gstiterator.c: (gst_iterator_new):
14167 Add assertions to make sure passed GType is likely to really
14168 be a GType (as the compiler won't catch it if the size and
14169 GType arguments get mixed up, see #318447).
14171 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
14173 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14175 * gst/gstbin.c: (gst_bin_iterate_sorted):
14176 Pass GType and size arguments to gst_iterator_new() in the right
14177 order (maybe we should make _new() take the GType as first argument
14178 just like _new_list()?) (#318447).
14181 2005-10-10 Wim Taymans <wim@fluendo.com>
14183 * gst/gstelement.c: (gst_element_finalize):
14184 And free the GStaticRecMutex too
14186 2005-10-10 Andy Wingo <wingo@pobox.com>
14188 * gst/gstelement.c (gst_element_init, gst_element_finalize):
14189 Allocate and free the mutex properly.
14191 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14193 (GstElement): The state_lock is now recursive. Rebuild your
14194 plugins, suckers. Old macros adapted.
14196 * docs/gst/gstreamer-sections.txt: Doc updates.
14199 * gst/gstutils.c (g_static_rec_cond_timed_wait)
14200 (g_static_rec_cond_wait): Ported from state changes patch, while
14201 we wait on bug #317802 to be solved in a well-distributed GLib.
14203 * gst/gstelement.c (gst_element_change_state_func): Renamed from
14204 gst_element_change_state, variable name changes.
14205 (gst_element_change_state): Split out of gst_element_set_state in
14206 preparation for the state change merge. Doesn't pay attention to
14207 the 'transition' argument.
14208 (gst_element_set_state): Updates, hopefully purely cosmetic.
14209 (gst_element_sync_state_with_parent): MT-safety. Ported from the
14210 state change patch.
14211 (gst_element_get_state_func): Renamed from get_state, cosmetic
14214 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14216 * gst/elements/gstelements.c:
14217 * win32/GStreamer.vcproj:
14219 * win32/dirent.c: (_tseekdir):
14220 * win32/gst-inspect.vcproj:
14221 * win32/gst-launch.vcproj:
14222 * win32/gstconfig.h:
14223 * win32/gstelements.vcproj:
14224 * win32/gstenumtypes.c: (gst_object_flags_get_type):
14225 * win32/gstreamer.def:
14226 * win32/msvc71.sln:
14227 updates for the win32 build (patch from Sebastien Moutte)
14229 2005-10-10 Andy Wingo <wingo@pobox.com>
14231 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14232 gst_bin_get_state, cleaned up (but no logic changes).
14233 (bin_element_is_sink): Comment updates.
14234 (sink_iterator_filter): Remove needless cast.
14235 (gst_bin_iterate_sinks): Doc update.
14236 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14237 cleaned up (but no logic changes).
14239 * check/states/sinks.c (test_src_sink): Cleanups from the state
14241 (test_livesrc_sink): Sync on the state.
14243 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14244 the state change patch.
14246 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14249 * check/gst/gstbin.c: Merge in some style fixes and additional
14250 checks from Wim's state change patch.
14252 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14254 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14255 (gst_type_find_helper):
14256 Check whether we have the requested data already in our list of
14257 cached buffers before pulling a new buffer; also make the buffer
14258 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14260 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14265 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14266 don't use long long, it's not portable. Replacing with
14267 gint64 seems to work; let's hope no skeletons fall out of the closet.
14269 2005-10-10 Andy Wingo <wingo@pobox.com>
14271 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14273 2005-10-09 Stefan Kost <ensonic@users.sf.net>
14275 * docs/gst/gstreamer-sections.txt:
14280 * gst/gstmessage.c: (gst_message_parse_state_changed):
14283 more docs, fix compilation
14285 2005-10-09 Philippe Khalaf <burger@speedy.org>
14286 * gst/gstmessage.c:
14287 Fixed a few forgotten variables on previous commit
14289 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
14291 * gst/base/gsttypefindhelper.c: (helper_find_peek):
14292 Fix evil typefind crasher: getrange() might return a short
14293 buffer at the end of a file, but gst_type_find_peek() must
14294 either return the full data as requested or NULL, but
14295 never a short buffer.
14297 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
14299 * gst/gstmessage.c: (gst_message_new_state_changed),
14300 (gst_message_parse_state_changed):
14301 * gst/gstmessage.h:
14302 don't use "new", it's a C++ keyword
14304 2005-10-08 Wim Taymans <wim@fluendo.com>
14306 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14307 * gst/gstelement.c: (gst_element_post_message):
14308 * gst/gstpipeline.c: (gst_pipeline_change_state):
14309 Small docs and debug updates.
14311 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14313 * docs/gst/gstreamer-sections.txt:
14314 * gst/gstelementfactory.c:
14316 * gst/gsttaglist.c:
14319 2005-10-08 Wim Taymans <wim@fluendo.com>
14321 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14322 (gst_bin_dispose), (bin_bus_handler):
14323 Fix typos, add comments.
14324 Clear EOS list when going to PAUSED from any direction and do it
14325 in a threadsafe way.
14326 Get base time in a threadsafe way too.
14327 Fix confusing debug in the change_state function.
14328 Various other small cleanups.
14330 * gst/gstelement.c: (gst_element_post_message):
14331 Fix very verbose bus posting code.
14333 * gst/gstpipeline.c: (gst_pipeline_class_init),
14334 (gst_pipeline_set_property), (gst_pipeline_get_property),
14335 (gst_pipeline_change_state):
14336 Small ARG_ -> PROP_ cleanup
14338 2005-10-08 Wim Taymans <wim@fluendo.com>
14340 * gst/gstbin.c: (is_eos), (bin_bus_handler):
14341 Do a less CPU demanding EOS check because we can.
14343 2005-10-08 Wim Taymans <wim@fluendo.com>
14345 * libs/gst/dataprotocol/dataprotocol.c:
14346 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14347 (gst_dp_packet_from_event):
14348 * libs/gst/dataprotocol/dataprotocol.h:
14349 * libs/gst/dataprotocol/dp-private.h:
14350 It's about time we bump the version number.
14351 Since event types don't fit in the guint8 anymore describing
14352 the payload type, make payload type 16 bits wide.
14354 2005-10-08 Wim Taymans <wim@fluendo.com>
14356 * docs/design/part-TODO.txt:
14357 * docs/design/part-clocks.txt:
14358 * docs/design/part-events.txt:
14359 * docs/design/part-gstbin.txt:
14360 * docs/design/part-gstelement.txt:
14361 * docs/design/part-gstpipeline.txt:
14362 * docs/design/part-live-source.txt:
14363 * docs/design/part-messages.txt:
14364 * docs/design/part-overview.txt:
14365 * docs/design/part-states.txt:
14368 2005-10-08 Wim Taymans <wim@fluendo.com>
14372 Fix event quark registration.
14373 Add some space between events so we can insert them in the
14376 2005-10-08 Wim Taymans <wim@fluendo.com>
14378 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14379 (gst_base_sink_handle_buffer):
14380 Better log message.
14383 * gst/gstelement.h:
14386 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14387 (gst_queue_set_property), (gst_queue_get_property):
14389 Remove old unused properties.
14391 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14392 * docs/gst/gstreamer-sections.txt:
14393 * gst/gstmessage.c:
14394 * gst/gstmessage.h:
14395 * gst/gstminiobject.c:
14396 * gst/gstminiobject.h:
14400 lots of new docs and doc fixes
14402 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14404 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14406 * gst/gstregistry.c: (gst_registry_lookup_locked),
14407 (gst_registry_scan_path_level):
14408 * gst/gstregistryxml.c: (load_plugin):
14409 Only ever load one plugin for a given plugin basename.
14410 This ensures correct overriding of GST_PLUGIN_PATH over
14411 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14412 system installed plugins.
14414 2005-10-08 Wim Taymans <wim@fluendo.com>
14416 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14417 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14418 Prepare for doing QOS.
14420 2005-10-08 Wim Taymans <wim@fluendo.com>
14422 * check/gst/gstbin.c: (GST_START_TEST):
14423 * check/pipelines/cleanup.c: (GST_START_TEST):
14424 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14425 Allow new clock message too.
14427 2005-10-08 Wim Taymans <wim@fluendo.com>
14429 * gst/gstmessage.c: (gst_message_new_error),
14430 (gst_message_new_warning), (gst_message_new_tag),
14431 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14432 (gst_message_new_clock_lost), (gst_message_new_new_clock),
14433 (gst_message_new_segment_start), (gst_message_new_segment_done),
14434 (gst_message_parse_state_changed),
14435 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14436 (gst_message_parse_new_clock):
14437 * gst/gstmessage.h:
14438 Also carry the clock in question.
14440 2005-10-08 Wim Taymans <wim@fluendo.com>
14442 * gst/gstmessage.c: (gst_message_new_custom),
14443 (gst_message_new_eos), (gst_message_new_error),
14444 (gst_message_new_warning), (gst_message_new_tag),
14445 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14446 (gst_message_new_new_clock), (gst_message_new_segment_start),
14447 (gst_message_new_segment_done), (gst_message_parse_state_changed),
14448 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14449 * gst/gstmessage.h:
14451 Added clock related messages.
14453 * gst/gstpipeline.c: (gst_pipeline_change_state):
14454 Post message when the clock changed.
14456 * tools/gst-launch.c: (event_loop):
14459 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
14461 * tools/gst-inspect.c: (print_element_properties_info):
14462 Can't pass NULL strings to g_print() on windows.
14464 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14466 * docs/Makefile.am:
14467 * docs/gst/Makefile.am:
14468 * docs/gst/gstreamer-docs.sgml:
14469 * docs/gst/running.xml:
14470 * docs/version.entities.in:
14471 add a chapter on running GStreamer.
14472 document GST_DEBUG and GST_PLUGIN* env vars
14474 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14479 remove PLUGINS_BUILDDIR stuff
14480 * gst/gst.c: (init_post):
14481 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14483 remove, it was condescending and not needed
14485 2005-10-08 Wim Taymans <wim@fluendo.com>
14487 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14488 (gst_base_sink_handle_object), (gst_base_sink_event),
14489 (gst_base_sink_wait), (gst_base_sink_handle_event),
14490 (gst_base_sink_change_state):
14491 * gst/base/gstbasesink.h:
14492 Repost EOS message while going to PLAYING if still EOS.
14493 Make sure that when receiving a FLUSH_START we don't attempt
14494 to sync on the clock anymore.
14496 2005-10-08 Wim Taymans <wim@fluendo.com>
14498 * tools/gst-launch.c: (event_loop):
14499 Better message printout.
14501 2005-10-08 Wim Taymans <wim@fluendo.com>
14503 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14504 (gst_bin_child_proxy_get_children_count):
14505 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14506 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14507 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14508 (gst_child_proxy_set_valist):
14509 * gst/parse/grammar.y:
14510 Make ChildProxy threadsafe and fix mem leaks.
14512 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14514 * gst/gst.c: (init_post):
14515 debug the GST_PLUGIN_ env vars
14517 2005-10-08 Wim Taymans <wim@fluendo.com>
14519 * check/gst/gstbin.c: (GST_START_TEST):
14520 * check/gst/gstmessage.c: (GST_START_TEST):
14521 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14522 * gst/gstelement.c: (gst_element_commit_state),
14523 (gst_element_lost_state):
14524 * gst/gstmessage.c: (gst_message_new_state_changed),
14525 (gst_message_parse_state_changed):
14526 * gst/gstmessage.h:
14527 * tools/gst-launch.c: (event_loop):
14528 Added extra field to STATE_CHANGE message with the pending
14529 state, which will be different from the new state soon.
14531 2005-10-08 Wim Taymans <wim@fluendo.com>
14533 * gst/gstbus.c: (gst_bus_pop):
14535 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14536 Small cleanups and doc updates.
14538 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14540 * gst/gst.c: (init_pre):
14541 * gst/gstbin.c: (gst_bin_add_func):
14542 log distributing clocks and base time
14543 * gst/gstregistry.c: (gst_registry_add_plugin),
14544 (gst_registry_scan_path_level), (gst_registry_scan_path):
14545 clean up the debugging output a little
14546 * gst/gstutils.c: (gst_element_state_get_name):
14547 warn about a memleak (I've actually seen this be used, though
14548 it was probably a bug)
14550 2005-10-07 Wim Taymans <wim@fluendo.com>
14552 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14553 (gst_base_src_init), (gst_base_src_default_newsegment),
14554 (gst_base_src_newsegment), (gst_base_src_do_seek),
14555 (gst_base_src_loop), (gst_base_src_start):
14556 * gst/base/gstbasesrc.h:
14557 Make the newsegment event customizable by subclasses.
14559 2005-10-07 Wim Taymans <wim@fluendo.com>
14561 * gst/gstevent.c: (gst_event_new_buffersize),
14562 (gst_event_parse_buffersize):
14564 New event for future idea.
14566 2005-10-07 Andy Wingo <wingo@pobox.com>
14568 * gst/gstelement.c (gst_element_post_message): Doc update.
14570 * docs/gst/gstreamer-sections.txt: Update.
14572 * gst/gstmessage.c (gst_message_new_application): Made into a
14573 function like honest API calls.
14574 (gst_message_new_element): New message type.
14576 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14578 * check/elements/fakesrc.c (test_no_preroll): New check, checks
14579 that setting a live fakesrc to PAUSED returns NO_PREROLL both
14582 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14583 NO_PREROLL from gst_element_change_state to fall through.
14585 2005-10-07 Wim Taymans <wim@fluendo.com>
14587 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14588 (gst_ghost_pad_do_activate_push):
14589 Activating a ghostpad with no internal pad in push mode
14592 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
14595 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14596 Fixes compilation on Windows.
14598 2005-10-07 Michael Smith <msmith@fluendo.com>
14600 * tools/gst-inspect.c:
14601 Print out feature and plugin count at the end when printing out
14604 2005-10-04 Michael Smith <msmith@fluendo.com>
14606 * gst/gsterror.c: (_gst_stream_errors_init):
14607 Add another error string used in a few existing plugins.
14610 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14611 * tools/gst-inspect.c: (print_element_info):
14612 When a feature disappears from a plugin (and the feature exists in
14613 the cached registry file), things went horribly wrong. This isn't a
14614 complete fix, we should actually be removing the 'missing' features
14615 from the features list when we load the actual plugin. That's not
14618 2005-10-04 Johan Dahlin <johan@gnome.org>
14620 * check/gst/gstiterator.c: (GST_START_TEST):
14621 * gst/gstbin.c: (gst_bin_iterate_elements),
14622 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14623 * gst/gstelement.c: (gst_element_iterate_pads):
14624 * gst/gstformat.c: (gst_format_iterate_definitions):
14625 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14626 (gst_iterator_new_list), (gst_iterator_filter):
14627 * gst/gstiterator.h:
14628 * gst/gstquery.c: (gst_query_type_iterate_definitions):
14629 Add a GType to GstIterator, update callsites and tests.
14631 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14633 * gst/gstpad.c: (gst_pad_event_default_dispatch):
14634 give events a chance to be handled by event probes when the pad
14637 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14639 * gst/gstevent.c: (gst_event_type_get_name),
14640 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14642 add string representations for event types
14644 2005-10-06 Wim Taymans <wim@fluendo.com>
14646 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14647 Don't use NULL pointers.
14649 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14651 * gst/gst_private.h:
14653 * gst/gstelement.c:
14655 * gst/gstpluginfeature.c:
14656 widen the debug category in output to fit the biggest one we have
14657 add a bus category and use it
14658 play with the colors
14659 fix up some categories
14661 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14663 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14664 add push activation of sink ghost pads.
14665 Andye, please verify
14667 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14669 * gst/gstutils.c: (gst_element_link_pads):
14670 fix a bug in the case where neither element has a pad
14671 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14672 add a test for that case
14674 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14676 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14677 emit have-data before checking for peers. This allows
14678 for probe handlers to connect elements. This helps autopluggers.
14679 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14681 add six checks, linked/unlinked with no/true/false probe
14683 2005-10-04 Wim Taymans <wim@fluendo.com>
14685 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14686 (gst_fake_sink_event), (gst_fake_sink_preroll),
14687 (gst_fake_sink_render), (gst_fake_sink_change_state):
14688 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14689 (gst_fake_src_get_property), (gst_fake_src_create),
14690 (gst_fake_src_stop):
14691 * gst/elements/gstidentity.c: (gst_identity_stop):
14692 Protect last_message with lock.
14694 2005-10-04 Edward Hervey <edward@fluendo.com>
14697 Added precision in the comments for GST_FORMAT_DEFAULT
14699 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
14701 * tools/gst-launch.c: (main):
14702 Don't try to run erroneous pipelines.
14704 2005-10-04 Julien MOUTTE <julien@moutte.net>
14706 * gst/gstbus.c: We don't need this header.
14708 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14711 back to development
14713 === release 0.9.3 ===
14715 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14719 Releasing 0.9.3, "Unregistered"
14721 2005-10-03 Andy Wingo <wingo@pobox.com>
14723 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
14724 whereby calling a pad's activatepush() function can start a thread
14725 that starts to push or pull before the pad gets the FLUSHING flag
14726 unset. Hack around it by holding the stream lock until the flag is
14727 set. Need to replace this with a proper solution. Together with
14728 the ghost pad fixes, this fixes mp3 playing/tagreading.
14730 * docs/design/part-gstghostpad.txt: Add a note about activation of
14731 proxy pads outside of ghost pads.
14733 * gst/gstghostpad.c: Implement the ghost pad activation design.
14735 2005-10-02 Andy Wingo <wingo@pobox.com>
14737 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
14738 It is volatile, after all.
14740 * docs/design/part-gstghostpad.txt: Flesh out activation with
14743 * gst/base/gstbasesrc.c (gst_base_src_init): Use
14746 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
14749 Fix (unused) AM_CONDITIONAL tests.
14751 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
14753 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14755 * gst/gstutils.c: (gst_pad_query_convert):
14756 Add assertion that makes sure src_val is >=0, just like
14757 gst_query_new_convert() has. (#315895)
14759 2005-09-30 Edward Hervey <edward@fluendo.com>
14761 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
14762 Let's not iterate pads we're not interested in, it avoids getting
14763 sky-high refcounts on sinkpad.
14765 2005-09-30 Wim Taymans <wim@fluendo.com>
14767 * gst/gstelement.c: (gst_element_set_state),
14768 (gst_element_change_state):
14769 Small tweak, element in ASYNC remains ASYNC.
14771 2005-09-30 Wim Taymans <wim@fluendo.com>
14773 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14774 Only error is an error.
14776 * gst/gstbin.c: (gst_bin_change_state):
14779 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
14780 Also call pad_block in pad alloc.
14782 * gst/gstutils.c: (gst_flow_get_name):
14785 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14787 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14788 (gst_base_src_get_range):
14789 Fix documentation typos. Add some more debug info.
14791 2005-09-29 David Schleef <ds@schleef.org>
14793 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
14794 more end-user friendly.
14795 * tools/gst-inspect.c: (main): Check if command-line argument is
14796 a file and attempt to load that file as a plugin.
14798 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14800 * check/gst/gstbin.c:
14801 * check/states/sinks.c:
14802 fix tests for the new warning
14803 * check/gst/gstpipeline.c:
14804 add a test for pipeline and bus interaction
14805 * gst/gstelement.c:
14806 elements should be NULL if they get disposed; add a warning if not
14808 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14811 for 2.6 refcounting, make debug log more correct by printing
14812 the actual refcounts at the time of swap (Wim)
14814 2005-09-29 Andy Wingo <wingo@pobox.com>
14816 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
14817 removes signal watches previously added via
14818 gst_bus_add_signal_watch.
14819 (gst_bus_add_signal_watch): Don't return the source id, just store
14820 it on the bus if there wasn't an id already.
14822 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
14823 add_signal_watch and remove_signal_watch.
14825 2005-09-29 Edward Hervey <edward@fluendo.com>
14827 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
14828 Better if we actually iterate the list :)
14830 2005-09-29 Wim Taymans <wim@fluendo.com>
14832 * check/gst/gstbin.c: (GST_START_TEST):
14833 Change for new bus API.
14835 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
14836 (send_messages), (GST_START_TEST), (gstbus_suite):
14837 Change for new bus signal API.
14839 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
14840 (gst_bus_source_prepare), (gst_bus_source_check),
14841 (gst_bus_create_watch), (gst_bus_add_watch_full),
14842 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
14843 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
14845 Remove support for multiple GSources operating on different
14846 message types as it is too complex and unneeded when using
14848 Added support for receiving signals from the bus.
14850 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14852 * docs/libs/tmpl/gstdataprotocol.sgml:
14853 * docs/manual/advanced-dataaccess.xml:
14854 * gst/elements/gstcapsfilter.c:
14856 rename filter-caps to caps property
14858 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14860 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14861 More robust fraction string parsing.
14863 * docs/pwg/appendix-porting.xml:
14864 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
14866 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14868 * gst/gstcaps.c: (gst_caps_do_simplify):
14869 Thou shalt not free a structure and then continue using it
14870 in the next loop iteration.
14872 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
14874 Add test case for caps simplification.
14876 2005-09-29 Wim Taymans <wim@fluendo.com>
14878 * check/gst/gstbin.c: (GST_START_TEST):
14881 2005-09-29 Wim Taymans <wim@fluendo.com>
14883 * check/gst/gstbin.c: (GST_START_TEST):
14886 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
14887 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
14888 (find_element), (gst_bin_sort_iterator_next),
14889 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14890 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14891 (gst_bin_change_state), (gst_bin_dispose):
14892 A bin does not have a bus, it gets the bus from the parent.
14894 * gst/gstelement.c: (gst_element_requires_clock),
14895 (gst_element_provides_clock), (gst_element_is_indexable),
14896 (gst_element_is_locked_state), (gst_element_change_state),
14897 (gst_element_set_bus_func):
14900 * gst/gstpipeline.c: (gst_pipeline_class_init),
14901 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
14902 The pipeline provides a bus.
14904 2005-09-28 Johan Dahlin <johan@gnome.org>
14906 * gst/gstmessage.c (gst_message_parse_state_changed): Use
14907 gst_structure_get_enum instead of gst_structure_get_int
14909 * gst/gststructure.c (gst_structure_get_enum): Impl.
14911 * gst/gststructure.h (gst_structure_get_enum): Add
14913 * docs/gst/gstreamer-sections.txt: Ditto
14915 * gst/gstmessage.c (gst_message_new_state_changed): Use
14916 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
14917 which does introspection.
14918 Reviewed by Christian Schaller
14920 2005-09-28 Stefan Kost <ensonic@users.sf.net>
14922 * gst/gstinfo.c: (gst_debug_log_default):
14923 don't do dummy g_strdup()s
14924 * libs/gst/controller/gstcontroller.c:
14925 (on_object_controlled_property_changed),
14926 (gst_controlled_property_new), (gst_controller_new_valist),
14927 (gst_controller_new_list),
14928 (gst_controller_remove_properties_valist), (gst_controller_set),
14929 (gst_controller_get), (gst_controller_sync_values),
14930 (gst_controller_get_value_array), (_gst_controller_class_init),
14931 (gst_controller_get_type):
14932 * libs/gst/controller/gstcontroller.h:
14933 * libs/gst/controller/gstinterpolation.c:
14934 (gst_controlled_property_find_timed_value_node):
14935 convert // to /**/ comments
14937 2005-09-28 Wim Taymans <wim@fluendo.com>
14939 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
14940 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
14941 (gst_bus_sync_signal_handler):
14943 Added async-message and sync-message signals to the bus.
14944 Added helper BusFunc to emit signals for all posted messages.
14946 * gst/gstmessage.c: (gst_message_type_get_name),
14947 (gst_message_type_to_quark), (gst_message_get_type):
14948 * gst/gstmessage.h:
14949 Register quarks for message names.
14951 2005-09-28 Stefan Kost <ensonic@users.sf.net>
14953 * docs/libs/gstreamer-libs-sections.txt:
14954 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
14955 (gst_controller_new_list):
14956 * libs/gst/controller/gstcontroller.h:
14957 added another constructor for language bindings
14959 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
14961 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14965 * gst/gstinfo.c: (_gst_debug_init):
14966 slightly more readable color for refcount debugging
14968 2005-09-28 Wim Taymans <wim@fluendo.com>
14970 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14971 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
14972 (find_element), (gst_bin_sort_iterator_next),
14973 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14974 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14975 (gst_bin_change_state), (gst_bin_dispose):
14976 Small doc fixes. get_clock -> provide_clock.
14978 * gst/gstelement.c: (gst_element_class_init),
14979 (gst_element_provides_clock), (gst_element_provide_clock),
14980 (gst_element_get_clock), (gst_element_commit_state),
14981 (gst_element_lost_state):
14982 * gst/gstelement.h:
14983 Make get/set_clock() symetric. Add provide_clock vmethod since
14984 that is actually what this function does.
14986 * gst/gstpipeline.c: (gst_pipeline_class_init),
14987 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
14988 (gst_pipeline_get_clock):
14989 get_clock -> provide_clock.
14991 2005-09-28 Andy Wingo <wingo@pobox.com>
14993 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
14994 lieu of real docs...
14996 * gst/elements/gstfdsrc.c: Cleaned up a bit.
14998 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
15000 * gst/elements/gstcapsfilter.c:
15001 * gst/elements/gstfakesink.c:
15002 * gst/elements/gstfakesrc.c:
15003 * gst/elements/gstfdsink.c:
15004 * gst/elements/gstfdsrc.c:
15005 * gst/elements/gstfilesink.c:
15006 * gst/elements/gstfilesrc.c:
15007 * gst/elements/gstidentity.c:
15008 * gst/elements/gsttee.c:
15009 * gst/elements/gsttypefindelement.c:
15010 Make element details static.
15012 2005-09-28 Wim Taymans <wim@fluendo.com>
15014 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15015 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15016 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15017 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15018 (gst_bin_change_state), (gst_bin_dispose):
15019 Some documentation updates.
15020 Clean up dispose handlers.
15022 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15023 * gst/gstpad.c: (gst_pad_dispose):
15024 Clean up dispose handler.
15026 * gst/gstpipeline.c: (gst_pipeline_change_state):
15027 Removed spurious UNLOCK.
15029 2005-09-27 Stefan Kost <ensonic@users.sf.net>
15031 * docs/gst/gstreamer-sections.txt:
15032 * gst/base/gstbasesrc.h:
15033 * gst/gstelement.h:
15037 * gst/gstpipeline.c:
15038 * gst/gstpipeline.h:
15041 added two new functions to the docs
15042 documents all undocumented GstXXXFlags
15043 completed some incomplete docs
15045 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
15047 * gst/gstbin.c: (gst_bin_dispose):
15048 * gst/gstelement.c: (gst_element_dispose):
15049 remove now useless and leaky resurrection code in dispose
15050 * gst/base/gstbasesrc.c: (gst_base_src_init):
15051 * gst/gstelementfactory.c: (gst_element_factory_create):
15052 * gst/gstobject.c: (gst_object_set_parent):
15055 2005-09-27 Wim Taymans <wim@fluendo.com>
15057 * docs/design/part-TODO.txt:
15060 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15061 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15062 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15063 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15064 (gst_bin_change_state):
15065 * gst/gstelement.h:
15066 Remove element variable, we keep element info in the iterator now.
15068 2005-09-27 Andy Wingo <wingo@pobox.com>
15070 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15073 2005-09-27 Wim Taymans <wim@fluendo.com>
15075 * check/gst/gstbin.c: (GST_START_TEST):
15076 Enable check that works now.
15078 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15079 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15080 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15081 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15082 (gst_bin_change_state):
15084 Redid the state change algorithm using a topological sort algo.
15085 Handles all cases correctly.
15086 Exposed iterator for state change order.
15088 * gst/gstelement.h:
15089 Temp storage for state changes. Need to get rid of this soon.
15091 2005-09-27 Wim Taymans <wim@fluendo.com>
15093 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15094 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15095 (link_fold_func), (gst_pad_proxy_setcaps):
15096 Leak fixes, the fold functions need to unref the passed object and
15097 _get_parent_*() returns ref to parent.
15099 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15101 * check/gst/gstbuffer.c: (test_make_writable):
15102 Plug leak in test case and fix 'make check-valgrind'
15104 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15106 * gst/gstbuffer.c: (gst_subbuffer_init):
15107 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15108 works correctly in all circumstances (we could have just copied
15109 the parent buffer's readonly flag, but conceptually it seems
15110 cleaner to mark all subbuffers as read-only). (based on patch
15111 by Alessandro Decina, #314710).
15113 * check/gst/gstbuffer.c: (create_read_only_buffer),
15114 (test_make_writable), (test_subbuffer_make_writable),
15116 Add some tests for gst_buffer_make_writable().
15118 2005-09-27 Wim Taymans <wim@fluendo.com>
15120 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15121 use gst_object_has_ancestor().
15123 * gst/gstobject.c: (gst_object_has_ancestor):
15125 gst_object_has_ancestor() copied from gstbin.c as it is a
15128 * tests/instantiate/create.c: (create_all_elements):
15129 * tests/lat.c: (handoff_src), (handoff_sink):
15130 * tests/sched/runxml.c: (main):
15131 * tests/seeking/seeking1.c: (main):
15132 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15134 Fix compilation of some tests.
15136 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15139 Remove comment. GST_TYPE_G_ERROR is here to stay,
15140 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15141 (#316961, #300610).
15143 2005-09-26 Wim Taymans <wim@fluendo.com>
15145 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15146 Added check that shows error in state change order.
15148 2005-09-26 Wim Taymans <wim@fluendo.com>
15150 * gst/gstbin.c: (gst_bin_change_state):
15151 Make state change function use 3 queues again, we were
15152 adding elements in the wrong order.
15154 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15157 * gst/gstpad.c: (gst_pad_dispose):
15158 Added some debug info first.
15160 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
15162 * docs/design/draft-push-pull.txt:
15163 * docs/design/part-events.txt:
15164 * docs/design/part-overview.txt:
15165 * docs/design/part-scheduling.txt:
15166 Replace all _pull_region() with _pull_range()
15168 2005-09-26 Andy Wingo <wingo@pobox.com>
15170 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15172 * check/gst-libs/controller.c: Update for controller api change.
15175 * tests/Makefile.am:
15176 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15177 over by GLib bug 118439.
15179 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15180 routines to a function.
15182 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15184 * libs/gst/controller/gsthelper.c:
15185 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15186 (gst_object_sync_values): Renamed from sink_values. Ugh.
15188 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15190 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15191 Renamed from controller_key, as it is exported.
15193 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15195 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
15200 * gst/gstpadtemplate.h:
15203 * gst/gstqueryutils.c:
15204 * gst/gstqueryutils.h:
15205 remove queryutils headers after moving the two used functions
15206 to gstquery. also fixes build problem for gstsiddec
15208 2005-09-26 Michael Smith <msmith@fluendo.com>
15210 * tools/gst-launch.1.in:
15211 Correct documentation in manpage of debug syntax
15213 2005-09-26 Wim Taymans <wim@fluendo.com>
15215 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15216 (gst_base_src_is_seekable), (gst_base_src_change_state):
15217 Some more debugging info.
15219 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15221 * docs/gst/gstreamer-sections.txt:
15222 * gst/base/gstbasetransform.h:
15226 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15228 * docs/gst/.cvsignore:
15229 * docs/gst/tmpl/.cvsignore:
15230 * docs/gst/tmpl/gstpipeline.sgml:
15231 * docs/gst/tmpl/gstplugin.sgml:
15232 * gst/gstpipeline.c:
15235 inlined the last two docs files
15236 removed the tmpl directory from cvs (no more conflicts here!)
15238 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15240 * docs/gst/gstreamer-sections.txt:
15241 * docs/gst/tmpl/.cvsignore:
15242 * docs/gst/tmpl/gstpad.sgml:
15243 * docs/gst/tmpl/gstpadtemplate.sgml:
15245 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15246 (gst_pad_finalize), (gst_pad_set_pad_template):
15248 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15249 (gst_pad_template_class_init), (gst_pad_template_init),
15250 (gst_pad_template_dispose), (name_is_valid),
15251 (gst_static_pad_template_get), (gst_pad_template_new),
15252 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15253 (gst_pad_template_pad_created):
15254 * gst/gstpadtemplate.h:
15255 inlined two more docs
15256 factored gstpadtemplate out of gstpad
15258 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
15260 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15261 (test_children_state_change_order_semi_sink):
15262 Fix test case: we can't rely on a fixed state change order when
15263 going from READY => PAUSED because the sink might commit its
15264 new state first when the first buffer created by the source
15265 reaches the sink before the source has finished its change state.
15266 (Test case still fails at times, see #316856, comment 5 onwards)
15268 2005-09-24 Wim Taymans <wim@fluendo.com>
15270 * docs/design/part-events.txt:
15271 * docs/design/part-gstbus.txt:
15272 * docs/design/part-gstpipeline.txt:
15273 * docs/design/part-messages.txt:
15274 * docs/design/part-overview.txt:
15275 * docs/design/part-segments.txt:
15279 * gst/gstelement.c:
15282 * gst/gstiterator.c:
15283 Various documentation updates.
15285 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
15288 Well, that's embarassing. Luckily we weren't using
15289 GST_CLOCK_DIFF anywhere.
15291 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15293 * common/gtk-doc.mak:
15294 don't fail on building XML, FC4 slave shows a bunch of doc
15295 missing bits that I don't get
15297 * gst/gstpipeline.c:
15298 * gst/gststructure.c:
15301 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15303 * docs/design/part-gstbin.txt:
15304 * docs/design/part-gstbus.txt:
15306 Add blurb about how the bus goes into flushing mode and
15307 drops all messages when its bin goes from READY into NULL
15310 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15312 * docs/gst/gstreamer-sections.txt:
15313 * gst/gststructure.c: (gst_structure_get_clock_time):
15314 * gst/gststructure.h:
15315 add a method to get a GstClockTime out of a structure
15317 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15319 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15320 (test_children_state_change_order_semi_sink), (gst_bin_suite):
15321 Added test to check state change order in bins (can still be made
15322 to fail here under heavy disk load; bails out with 'Push on pad
15323 fakesink:sink0, but it was not activated in push mode').
15325 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15326 Fix state change order when there is only a semi sink (#316856)
15328 * gst/gstbus.c: (gst_bus_class_init):
15329 Use _class_peek_parent(), not _class_ref(); fix docs to say
15330 'default main context' instead of 'mainloop' where that is
15333 * gst/gstelement.c: (gst_element_commit_state),
15334 (gst_element_set_state):
15335 Fix typos in debug messages
15337 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15340 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15341 * gst/gstpluginfeature.c:
15343 various doc updates
15344 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15345 change an assert into an error until it gets fixed properly
15347 2005-09-23 Stefan Kost <ensonic@users.sf.net>
15349 * docs/gst/gstreamer-sections.txt:
15350 * docs/gst/tmpl/.cvsignore:
15351 * docs/gst/tmpl/gstelement.sgml:
15352 * docs/gst/tmpl/gstinfo.sgml:
15353 * docs/gst/tmpl/gstobject.sgml:
15354 * gst/gstelement.c:
15355 * gst/gstelement.h:
15358 * gst/gstobject.c: (gst_object_class_init):
15360 inlined 3 more biiiig doc files and added some missing docs on the fly
15362 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15364 * check/gst/.cvsignore:
15365 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15366 * gst/gstregistryxml.c: (load_plugin),
15367 (gst_registry_xml_save_plugin):
15368 put back source in registry. add checks for find_plugin.
15369 * testsuite/states/bin.c: (assert_state), (empty_bin),
15370 (test_adding_one_element), (main):
15371 * testsuite/states/locked.c: (main):
15372 some compile/run fixes
15374 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
15376 * check/gst/gstvalue.c: (GST_START_TEST):
15377 fix leaks in the test itself
15379 2005-09-22 Wim Taymans <wim@fluendo.com>
15381 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15382 (gst_base_sink_send_event), (gst_base_sink_peer_query),
15383 (gst_base_sink_query):
15384 Prepare for more accurate position reporting and query
15387 * gst/gstelement.c: (gst_element_send_event),
15388 (gst_element_set_state):
15391 2005-09-22 Wim Taymans <wim@fluendo.com>
15393 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15394 (gst_query_parse_segment):
15396 More documentation.
15397 Add segment query for future use.
15399 2005-09-22 Wim Taymans <wim@fluendo.com>
15401 * gst/gstbin.c: (gst_bin_add_func):
15402 Some more debug info.
15404 * gst/gstelement.c: (gst_element_send_event):
15405 Simplify send_event
15407 * gst/gstelement.h:
15408 Don't know how flags got broken.
15413 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15415 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15416 Add simplistic test suite for GST_TYPE_DATE serialisation and
15419 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15421 * docs/gst/gstreamer-sections.txt:
15422 * gst/gststructure.c: (gst_structure_set_valist),
15423 (gst_structure_get_date):
15424 * gst/gststructure.h:
15425 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15426 (gst_date_copy), (gst_value_compare_date),
15427 (gst_value_serialize_date), (gst_value_deserialize_date),
15428 (gst_value_transform_date_string),
15429 (gst_value_transform_string_date), (_gst_value_initialize):
15431 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15432 bunch of utility functions along with a hack that checks that
15433 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15434 is required. Part of the grand scheme in #170777.
15436 2005-09-22 Andy Wingo <wingo@pobox.com>
15438 * gst/gstconfig.h.in: Psych out gtk-doc.
15440 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15442 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15444 * tools/gst-inspect.c (print_element_list): Plug some
15445 inconsequential leaks.
15447 * gst/gstregistry.c (gst_registry_get_default): Doc.
15449 * check/gst/gstplugin.c:
15450 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15451 * gst/gstelementfactory.c (gst_element_factory_create):
15452 * gst/gstindexfactory.c (gst_index_factory_create): Update for
15455 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15456 (gst_plugin_feature_load): Doc, don't eat refs.
15458 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15459 (gst_plugin_list_free): Doc.
15460 (gst_plugin_load_file): Doc updates.
15462 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15463 accessors returning refcounted objects, return a ref.
15465 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15466 accessor for caps. IDEMPOTENCE. Oh yes.
15468 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
15470 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15472 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15473 (_gst_debug_register_funcptr):
15474 Add mutex to serialise access to the hash table with
15475 the function pointer => function name string mapping;
15476 make that hash table static scope (#316809).
15478 * gst/registries/.cvsignore:
15479 Remove left-over file.
15481 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15483 * docs/pwg/appendix-porting.xml:
15484 And something about newsegment events and caps-on-buffers to
15485 the porting guide (feel free to improve).
15487 2005-09-21 Andy Wingo <wingo@pobox.com>
15489 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15490 data and event probes on the same pad.
15491 (test_buffer_probe_once): Test that removing probes from within
15492 the probe functions works.
15494 2005-09-21 Andy Wingo <wingo@pobox.com>
15496 * check/gst/gstutils.c: New file.
15497 (test_buffer_probe_n_times): A simple buffer probe test. More to
15500 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15501 have-data::buffer, not have-data.
15502 (gst_pad_add_event_probe): Likewise for have-data::event.
15503 (gst_pad_add_data_probe): More docs. The part about 'resolving the
15504 peer' isn't quite right yet though.
15505 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
15506 (gst_pad_remove_data_probe): Change to take the guint handler_id
15507 as their arg, not the function+data, which is more glib-like.
15509 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15510 the signal emission to indicate if the data is a buffer or an
15512 (gst_pad_get_type): Initialize buffer and event quarks.
15513 (gst_pad_class_init): have-data is now a detailed signal, yes it
15516 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15518 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15519 * gst/gstutils.c: (gst_util_set_value_from_string),
15520 (gst_util_set_object_arg):
15521 Don't put functional code in g_return_if_fail() or
15522 g_return_val_if_fail() statements, otherwise things will
15523 break when G_DISABLE_CHECKS is defined during compilation.
15525 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15527 * docs/gst/tmpl/.cvsignore:
15528 * docs/gst/tmpl/gstvalue.sgml:
15531 inlied another one and added some obvious docs
15533 2005-09-21 Wim Taymans <wim@fluendo.com>
15535 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15536 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15537 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15538 (gst_fdsrc_get_property), (gst_fdsrc_create):
15539 * gst/elements/gstfdsrc.h:
15540 Properly implement fdsrc. Removed signal and timeout,
15541 better implemented somewhere else.
15543 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15545 * docs/gst/tmpl/.cvsignore:
15546 * docs/gst/tmpl/gstimplementsinterface.sgml:
15547 * gst/gstinterface.c:
15550 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15552 * docs/gst/gstreamer-sections.txt:
15553 * docs/gst/tmpl/.cvsignore:
15554 * docs/gst/tmpl/gstenumtypes.sgml:
15555 remove obsolete doc file
15557 2005-09-21 David Schleef <ds@schleef.org>
15559 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15560 little beer, fix a little leak.
15562 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15564 * docs/gst/gstreamer-docs.sgml:
15565 * docs/gst/gstreamer-sections.txt:
15566 * docs/gst/tmpl/.cvsignore:
15570 * gst/gstelement.h:
15571 * gst/gstindex.c: (gst_index_class_init):
15573 * gst/gstindexfactory.c: (gst_index_factory_get_type),
15574 (gst_index_factory_class_init), (gst_index_factory_init),
15575 (gst_index_factory_finalize), (gst_index_factory_new),
15576 (gst_index_factory_destroy), (gst_index_factory_find),
15577 (gst_index_factory_create), (gst_index_factory_make):
15578 * gst/gstindexfactory.h:
15579 * gst/gstpluginfeature.c:
15580 * gst/gstpluginfeature.h:
15581 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15582 more docs inlined, splitted gstindex.{c,h}
15584 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15586 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15589 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15591 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15592 Set sync to FALSE by default.
15594 2005-09-20 Wim Taymans <wim@fluendo.com>
15596 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15597 (gst_base_sink_init):
15598 Make sync property settable from subclass.
15600 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15601 (gst_fake_sink_change_state):
15602 Set sync to FALSE by default.
15604 2005-09-20 Wim Taymans <wim@fluendo.com>
15606 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15607 * tools/gst-launch.c: (main):
15608 The timeout handler should have lower priority than the source
15609 so we don't timeout before popping a message with 0 timeout.
15610 Dump error messages after failed state change.
15612 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15614 * tools/gst-inspect.c: (print_element_properties_info):
15617 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15619 * check/gst/gstevent.c:
15620 * gst/elements/gstfakesink.c:
15621 * gst/elements/gstfakesink.h:
15622 remove the sync property from fakesink.
15623 has the side effect of setting sync TRUE
15624 for fakesink, which is a change. Anyone who knows how
15625 to fix this nicely in a GObject-y way, feel free.
15627 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15629 * docs/gst/gstreamer-docs.sgml:
15630 remove probe refsection
15632 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15634 * check/Makefile.am:
15635 disable valgrinding the controller test again
15636 * docs/gst/gstreamer-sections.txt:
15637 update for api-changes
15639 2005-09-20 Wim Taymans <wim@fluendo.com>
15641 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15642 (gst_base_sink_set_property), (gst_base_sink_get_property),
15643 (gst_base_sink_do_sync):
15644 * gst/base/gstbasesink.h:
15645 Added sync property to basesink to disable clock sync.
15647 2005-09-20 Andy Wingo <wingo@pobox.com>
15649 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15650 eating the caller's refcount.
15652 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
15653 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15656 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15657 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15658 of GLib 2.8 public, so we can know which refcount to check in
15661 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15662 (gst_object_init): Only set the gst refcount if we're going ahead
15663 with the refcount hack.
15665 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15667 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15668 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15669 more leaks plumbed, added more debug-logging
15673 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15675 * gst/gstmessage.c:
15676 remove include of gstmemchunk.h
15678 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15680 * gst/gstclock.c: (_gst_clock_id_free):
15681 Commit from the Political Party For More Atomic CVS Commits,
15682 so that people don't waste too much of their day fishing
15683 out obvious leaks out of massive commits.
15684 Oh, and fix a pretty damn obvious leak in the memchunk
15687 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15689 * check/Makefile.am:
15690 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15691 plug mem-leak, re-add to valgrindable tests
15693 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15696 unbreak the build for those who have chronic arthritis
15697 and typing "make check" is just too taxing on the hands
15699 2005-09-20 Andy Wingo <wingo@pobox.com>
15701 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
15702 really want it out, you should fix plugins at the same time.
15704 2005-09-19 Stefan Kost <ensonic@users.sf.net>
15707 * docs/gst/gstreamer-sections.txt:
15709 added missing symbols to api docs
15710 disable ref-count hack if we have glib >= 2.8
15712 2005-09-19 David Schleef <ds@schleef.org>
15714 * docs/gst/Makefile.am: Ignore a few more internal headers
15715 * docs/gst/gstreamer-docs.sgml: Remove old sections
15716 * docs/gst/gstreamer-sections.txt: Remove old sections
15717 * docs/gst/tmpl/gstobject.sgml: update
15718 * docs/gst/tmpl/gstplugin.sgml: update
15719 * docs/gst/tmpl/gstpluginfeature.sgml: update
15720 * docs/random/ds/0.9-suggested-changes: update.
15721 * gst/Makefile.am: remove memchunk and trashstack, since they're
15723 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
15724 * gst/gst.h: don't include some headers
15725 * gst/gstchildproxy.c: add gstmarshal.h
15726 * gst/gstclock.c: Don't use memchunks
15727 * gst/gstminiobject.c: Add some docs
15728 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
15729 * gst/gstobject.h: same
15730 * gst/gstplugin.c: include gstmacros.h
15731 * gst/gstplugin.h: don't include gstmacros.h, since it's private
15732 * gst/gstquery.c: don't use memchunks
15733 * gst/gstregistry.c: rename gst_registry_deinit()
15734 * gst/gstregistry.h: same
15736 2005-09-19 David Schleef <ds@schleef.org>
15738 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
15739 * docs/libs/gstreamer-libs-sections.txt:
15740 * docs/libs/tmpl/gstgetbits.sgml:
15741 * docs/libs/tmpl/gstputbits.sgml:
15743 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
15745 * win32/gstenumtypes.c:
15746 * win32/gstenumtypes.h:
15749 2005-09-19 Wim Taymans <wim@fluendo.com>
15751 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
15752 Automatically PAUSE and RESUME a pipeline when a flushing seek
15755 2005-09-19 Andy Wingo <wingo@pobox.com>
15757 * gst/gstregistry.h: Spacing fixen.
15759 2005-09-19 Wim Taymans <wim@fluendo.com>
15761 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
15762 Handle state change failure more correctly.
15764 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15766 * check/Makefile.am:
15767 * check/pipelines/cleanup.c: (run_pipeline):
15768 * check/pipelines/simple_launch_lines.c: (run_pipeline),
15770 enable cleanup again after fixing the leak
15772 some more info on docs
15774 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15776 * check/Makefile.am:
15777 re-enable tests now that leaks are plugged
15779 * check/gst/gstbin.c:
15780 * check/gst/gstpipeline.c:
15781 add some more tests while fixing leaks
15782 * common/check.mak:
15783 make sure binaries are uptodate when valgrinding/gdbing
15785 * gst/gstelementfactory.c:
15786 remove a ref too many, and add a FIXME for when we get
15787 round to disposing of classes
15789 fix the refcounting when loading a plugin from a file and
15790 the code pretends that the pointer is the same even though
15791 of course it can change
15792 * gst/gstpluginfeature.c:
15793 unref plugins marked cached (a bit confusing as a name)
15794 as the docs state should be done
15795 various doc additions to explain refcounting
15796 * gst/gstregistry.c:
15797 * gst/gstregistryxml.c:
15800 2005-09-19 Wim Taymans <wim@fluendo.com>
15802 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15803 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15804 (send_messages), (GST_START_TEST), (gstbus_suite):
15805 * check/gst/gstpipeline.c: (GST_START_TEST):
15806 * check/pipelines/cleanup.c: (run_pipeline):
15807 * check/pipelines/simple_launch_lines.c: (run_pipeline),
15809 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
15810 (gst_bus_source_check), (gst_bus_source_dispatch),
15811 (gst_bus_create_watch), (gst_bus_add_watch_full),
15812 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
15814 * tools/gst-launch.c: (event_loop):
15815 * tools/gst-md5sum.c: (event_loop):
15816 GstBusHandler -> GstBusFunc, return value has the same meaning as
15817 any other GSource (FALSE == remove source).
15818 _add_watch() and _add_watch_full() now take a MessageType mask to
15819 only handle specific types of messages.
15820 _poll() returns the GstMessage instead of the message type to avoid
15822 _have_pending() takes a MessageType mask now too.
15823 Added testsuite for multiple bus watches.
15824 Fix testsuites and applications for new bus API.
15826 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15828 * check/Makefile.am:
15829 mark a bunch of the tests as to fix until we fix them
15831 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15833 * common/check.mak:
15834 use GST_PLUGIN settings for valgrind tests as well, so we're
15835 valgrinding the correct thing
15836 * gst/gst.c: (init_post):
15839 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15841 * gst/gst.c: (init_post), (gst_deinit):
15842 * gst/gstelementfactory.c: (gst_element_factory_class_init),
15843 (gst_element_factory_finalize), (gst_element_factory_cleanup):
15844 * gst/gstindex.c: (gst_index_factory_class_init),
15845 (gst_index_factory_finalize):
15846 * gst/gstobject.c: (gst_object_dispose):
15847 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15848 (gst_plugin_load_file), (gst_plugin_desc_free):
15849 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
15850 (gst_plugin_feature_finalize):
15851 * gst/gstregistry.c: (gst_registry_class_init),
15852 (gst_registry_init), (gst_registry_finalize),
15853 (gst_registry_get_default), (gst_registry_deinit):
15854 * gst/gstregistry.h:
15855 * gst/gstregistryxml.c: (load_feature), (load_plugin):
15856 various cleanups and memleak plugging. make valgrind is happy now.
15858 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15860 * common/check.mak:
15861 add a check-valgrind target
15863 2005-09-18 David Schleef <ds@schleef.org>
15865 * tools/gst-inspect.c: Revert the GOption code.
15867 2005-09-17 David Schleef <ds@schleef.org>
15869 * check/Makefile.am: Fix environment variables.
15870 * check/gst/gstplugin.c: Fix for API changes.
15871 * tools/gst-inspect.c: Fix for API changes.
15872 * tools/gst-xmlinspect.c: Fix for API changes.
15873 * gst/gstelementfactory.c:
15876 * gst/gstpluginfeature.c:
15877 * gst/gstpluginfeature.h:
15878 * gst/gstregistry.c:
15879 * gst/gstregistry.h:
15880 * gst/gstregistryxml.c:
15881 * gst/gsttypefind.c:
15882 * gst/gsttypefindfactory.c:
15883 * gst/indexers/gstfileindex.c:
15884 * gst/indexers/gstmemindex.c:
15885 * gst/schedulers/Makefile.am:
15886 Change registry to keep track of both plugins and features,
15887 removing the feature tracking from plugins themselves.
15889 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
15891 * check/Makefile.am:
15892 * tools/gst-register.1.in:
15893 remove gst-register
15895 2005-09-15 David Schleef <ds@schleef.org>
15897 * check/gst/gstplugin.c:
15898 * gst/gstelementfactory.c:
15900 * gst/gstpluginfeature.c:
15901 * gst/gstregistry.c:
15902 Getting tired of debugging. Disabled all the unreffing of
15903 plugins and features, which fixes the segfaults, but of
15904 course leaks like crazy. At least playbin works.
15906 2005-09-15 David Schleef <ds@schleef.org>
15908 * check/gst/gstplugin.c: (register_check_elements),
15909 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
15911 * gst/elements/gsttypefindelement.c: Fix refcounting.
15912 * gst/gsttypefind.c:
15913 * gst/gsttypefindfactory.c:
15914 * gst/gsttypefindfactory.h:
15916 2005-09-15 David Schleef <ds@schleef.org>
15918 * gst/gstindex.c: get refcounting correct.
15919 * gst/gstregistry.c: Handle the case where a feature/plugin is
15922 2005-09-15 David Schleef <ds@schleef.org>
15924 * check/Makefile.am:
15925 * check/gst/gstplugin.c: Add test
15926 * gst/gstplugin.c: Fix problems noticed by testsuite
15928 * gst/gstregistry.c:
15929 * gst/gstregistry.h:
15931 2005-09-15 David Schleef <ds@schleef.org>
15933 * gst/gstplugin.c: Implement semi-decent recounting and locking
15934 in plugins and plugin features.
15936 * gst/gstpluginfeature.c:
15937 * gst/gstpluginfeature.h:
15938 * gst/gstregistry.c:
15940 2005-09-15 Michael Smith <msmith@fluendo.com>
15942 * gst/gstregistry.c: (gst_registry_get_feature_list):
15943 Implement this. Makes oggdemux work; decodebin still broken.
15945 2005-09-14 David Schleef <ds@schleef.org>
15947 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
15949 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
15950 * gst/check/Makefile.am:
15951 * libs/gst/controller/Makefile.am:
15952 * libs/gst/dataprotocol/Makefile.am:
15954 2005-09-14 David Schleef <ds@schleef.org>
15956 * configure.ac: Remove getbits library. Nothing uses it, and
15957 it should be in something like liboil if someone did want
15959 * libs/gst/Makefile.am:
15960 * libs/gst/getbits/Makefile.am:
15961 * libs/gst/getbits/gbtest.c:
15962 * libs/gst/getbits/getbits.c:
15963 * libs/gst/getbits/getbits.h:
15964 * libs/gst/getbits/gstgetbits_generic.c:
15965 * libs/gst/getbits/gstgetbits_i386.s:
15966 * libs/gst/getbits/gstgetbits_inl.h:
15968 2005-09-14 David Schleef <ds@schleef.org>
15970 * gst/Makefile.am: Dist glib-compat.h
15972 2005-09-14 David Schleef <ds@schleef.org>
15974 * configure.ac: Remove gst/registries, since it's no longer used.
15975 * gst/registries/Makefile.am:
15976 * gst/registries/gstlibxmlregistry.c:
15977 * gst/registries/gstlibxmlregistry.h:
15978 * gst/registries/gstxmlregistry.c:
15979 * gst/registries/gstxmlregistry.h:
15980 * gst/registries/registrytest.c:
15982 2005-09-14 David Schleef <ds@schleef.org>
15984 * gst/glib-compat.h:
15985 * gst/gstregistryxml.c:
15986 Convergence is near. Seriously.
15988 2005-09-14 David Schleef <ds@schleef.org>
15990 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15991 * gst/glib-compat.h:
15992 Attempt #4 to appease the buildbots.
15994 2005-09-14 David Schleef <ds@schleef.org>
15996 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15999 2005-09-14 David Schleef <ds@schleef.org>
16001 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16004 2005-09-14 David Schleef <ds@schleef.org>
16006 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16009 2005-09-14 David Schleef <ds@schleef.org>
16011 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16012 * gst/glib-compat.h: Add some functions that are in newer versions
16013 of glib than we care to require.
16014 * gst/gstregistryxml.c: Use them.
16016 2005-09-14 David Schleef <ds@schleef.org>
16018 * po/POTFILES.in: remove gst-register.c
16020 2005-09-14 David Schleef <ds@schleef.org>
16022 * docs/gst/gstreamer-docs.sgml:
16023 * docs/gst/gstreamer-sections.txt:
16024 * docs/gst/gstreamer.types:
16025 * docs/gst/tmpl/gstelement.sgml:
16026 * docs/gst/tmpl/gstplugin.sgml:
16027 * docs/gst/tmpl/gstpluginfeature.sgml:
16028 Documentation updates for registry changes.
16030 2005-09-14 David Schleef <ds@schleef.org>
16032 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16033 because we don't require glib-2.8.
16035 2005-09-14 David Schleef <ds@schleef.org>
16037 * gst/gstregistryxml.c: Added. Essentially moved out of the
16038 registries directory.
16040 2005-09-14 David Schleef <ds@schleef.org>
16042 * check/Makefile.am:
16043 * check/generic/states.c:
16047 * gst/gst_private.h:
16048 * gst/gstelementfactory.c:
16053 * gst/gstpluginfeature.c:
16054 * gst/gstpluginfeature.h:
16055 * gst/gstregistry.c:
16056 * gst/gstregistry.h:
16057 * gst/gstregistrypool.c: remove
16058 * gst/gstregistrypool.h: remove
16059 * gst/gsttypefind.c:
16060 * gst/gsttypefindfactory.c:
16062 * tools/Makefile.am:
16063 * tools/gst-compprep.c:
16064 * tools/gst-inspect.c:
16065 * tools/gst-register.c: remove
16066 * tools/gst-xmlinspect.c:
16067 Registry rewrite. Changes registry from being a file created
16068 by a tool into a simple cache file created automatically by
16069 libgstreamer. Removed gst-register (because it's no longer
16070 needed). Remove registry pools, because we only have one
16071 registry implementation (XML). Fix up other subsystems as
16074 2005-09-13 Michael Smith <msmith@fluendo.com>
16076 * gst/gstconfig.h.in:
16077 Don't Use windows linking attributes for MinGW. Fixes #316157
16079 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
16081 * gst/gstutils.c: (set_state_async_thread_func),
16082 (gst_element_set_state_async):
16083 Apparently people think it's better if this function doesn't
16084 try to set the state to whatever state was asked for on the first
16085 call to this function for any object. Seriously.
16087 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16089 * check/gst/gstpipeline.c: (GST_START_TEST):
16090 * docs/gst/gstreamer-sections.txt:
16091 * gst/gstutils.c: (set_state_async_thread_func),
16092 (gst_element_set_state_async):
16094 add a "gst_element_set_state_async" method that
16095 sets the state and starts a thread to make sure the state
16096 change completes as best as it can
16098 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16100 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16101 codify design+behaviour in testsuite after discussion
16103 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16105 * docs/gst/tmpl/gstelement.sgml:
16106 * docs/manual/appendix-quotes.xml:
16108 * gst/gstelement.c: (gst_element_set_state):
16111 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
16113 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16114 (gst_base_transform_prepare_output_buf),
16115 (gst_base_transform_handle_buffer):
16116 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16117 (gst_capsfilter_prepare_buf):
16118 Remove the requirement for sub-classes to call the parent
16119 implementation of prepare_output_buffer with a wrapper function.
16121 * gst/gsttaglist.h:
16122 * gst/gsttagsetter.h:
16123 Fix #define wrapper
16125 2005-09-11 Stefan Kost <ensonic@users.sf.net>
16127 * docs/gst/gstreamer-sections.txt:
16130 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16132 * docs/gst/gstreamer-sections.txt:
16133 * docs/gst/tmpl/gstelement.sgml:
16134 * docs/gst/tmpl/gstplugin.sgml:
16135 * gst/gstminiobject.c:
16137 docs now stop throwing warnings
16139 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16141 * docs/gst/gstreamer-sections.txt:
16142 * docs/gst/gstreamer.types:
16143 * docs/gst/tmpl/gstpad.sgml:
16144 * docs/gst/tmpl/gsttypes.sgml:
16145 * gst/base/gstadapter.h:
16146 * gst/base/gstbasesink.h:
16147 * gst/base/gstbasesrc.h:
16153 * gst/gstelement.h:
16155 * gst/gstmessage.h:
16157 * gst/gststructure.c:
16158 * gst/registries/gstlibxmlregistry.h:
16159 various documentation fixes
16161 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16163 * docs/gst/gstreamer-sections.txt:
16164 * docs/gst/tmpl/gstvalue.sgml:
16165 rearrange gstvalue section
16166 * gst/gstutils.c: (gst_element_state_get_name):
16168 * gst/gstvalue.c: (_gst_value_initialize):
16172 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
16174 * check/gst-libs/controller.c:
16175 Header include fix.
16176 * gst/base/gstbasetransform.c:
16177 (gst_base_transform_default_prepare_buf),
16178 (gst_base_transform_handle_buffer):
16179 * gst/base/gstbasetransform.h:
16180 Some more basetransform changes and fixes to enable sub-classes
16181 that modify buffer metadata only.
16182 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16183 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16184 (gst_capsfilter_prepare_buf):
16185 If the output pad has fixed allowed caps and input buffers
16186 don't have any, set the fixed caps on outgoing buffers.
16188 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
16189 * check/elements/identity.c: (GST_START_TEST):
16190 Make the error a little clearer when the test fails because
16191 identity made a copy of the buffer.
16192 * docs/gst/gstreamer-sections.txt:
16193 New symbols in gstbasetransform.h
16194 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16195 (gst_base_transform_init), (gst_base_transform_transform_size),
16196 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16197 (gst_base_transform_default_prepare_buf),
16198 (gst_base_transform_get_unit_size),
16199 (gst_base_transform_buffer_alloc),
16200 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16201 (gst_base_transform_change_state),
16202 (gst_base_transform_set_passthrough),
16203 (gst_base_transform_set_in_place),
16204 (gst_base_transform_is_in_place):
16205 * gst/base/gstbasetransform.h:
16206 Change BaseTransform to separate in_place operate from same_caps
16207 output. in_place implies that the element can perform the transform
16208 on incoming buffers in-place, even if the caps on the output are
16210 Sub-class elements can now implement special buffer allocation
16211 methods for outgoing buffers if they wish to.
16212 Big documentation addition.
16213 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16214 * gst/elements/gstelements.c:
16215 Changes for basetransform modifications.
16216 * gst/elements/Makefile.am:
16217 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16218 Compile fix. Extra debug output.
16220 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16222 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16224 add tests for valid pad naming
16225 * gst/check/gstcheck.c: (gst_check_log_message_func),
16226 (gst_check_log_critical_func):
16228 remove printing of code, it is fragile when the code contains
16229 % and the line number is enough info
16230 * gst/check/gstcheck.h:
16231 * gst/gstpad.c: (gst_pad_template_new):
16234 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16237 say what CHECK flags we use
16238 * docs/libs/gstreamer-libs.types:
16239 * libs/gst/controller/Makefile.am:
16240 * libs/gst/controller/gst-controller.c:
16241 * libs/gst/controller/gst-controller.h:
16242 * libs/gst/controller/gst-helper.c:
16243 * libs/gst/controller/gst-interpolation.c:
16244 * libs/gst/controller/gstcontroller.c:
16245 * libs/gst/controller/gsthelper.c:
16246 * libs/gst/controller/gstinterpolation.c:
16247 * tools/gst-inspect.c: (print_plugin_info):
16248 we don't use dashes in header names
16250 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16252 * check/Makefile.am:
16253 * check/gst/.cvsignore:
16254 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16255 (gst_pipeline_suite), (main):
16256 adding a test for pipelines and state changes
16257 * gst/gstutils.c: (get_state_func):
16259 * gstreamer.spec.in:
16262 2005-09-08 Michael Smith <msmith@fluendo.com>
16264 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16265 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16266 (gst_file_src_is_seekable), (gst_file_src_get_size),
16267 (gst_file_src_start):
16268 * gst/elements/gstfilesrc.h:
16269 Various fixes for unseekable, unmmapable, and non-normal files, so
16270 that fallback to read() rather than mmap() works.
16271 * gst/gstevent.c: (gst_event_new_newsegment):
16272 Allow newsegment events with segment_start == segment_end, as will
16273 correctly happen if you use filesrc on a zero-size file, for
16276 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16278 * gst/gstplugin.c: (gst_plugin_load_file):
16279 Call g_module_close when we don't load the module
16281 * gst/registries/gstlibxmlregistry.c:
16282 (gst_xml_registry_get_property):
16283 Port leak fix from 0.8
16285 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16287 * docs/gst/gstreamer-docs.sgml:
16288 * docs/gst/tmpl/.cvsignore:
16289 * docs/gst/tmpl/gsttrace.sgml:
16290 * docs/gst/tmpl/gsttrashstack.sgml:
16293 * gst/gstelement.h:
16295 * gst/gstmessage.c:
16296 * gst/gstmessage.h:
16299 * gst/gsttaginterface.c:
16300 * gst/gsttaginterface.h:
16301 * gst/gsttaglist.c:
16302 * gst/gsttaglist.h:
16303 * gst/gsttagsetter.c:
16304 * gst/gsttagsetter.h:
16307 * gst/gsttrashstack.c:
16308 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16309 inlined docs for gsttrace, gsttrashstack
16311 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16314 * gst/elements/gstbufferstore.h:
16315 * gst/elements/gsttypefindelement.c:
16316 * gst/elements/gsttypefindelement.h:
16318 * gst/gsttypefind.c:
16319 * gst/gsttypefind.h:
16320 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16321 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16322 (gst_type_find_factory_dispose),
16323 (gst_type_find_factory_unload_thyself),
16324 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16325 (gst_type_find_factory_get_caps),
16326 (gst_type_find_factory_get_extensions),
16327 (gst_type_find_factory_call_function):
16328 * gst/gsttypefindfactory.h:
16329 * gst/registries/gstlibxmlregistry.c:
16330 * gst/registries/gstxmlregistry.c:
16331 splitted gsttypefind into gsttypefind, gsttypefindfactory
16333 2005-09-07 Andy Wingo <wingo@pobox.com>
16335 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16336 condition whereby the pad's task function is entered before the
16337 pad_mode variable was set.
16339 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16341 * gst/gstpad.c: (gst_pad_alloc_buffer):
16342 Catch misbehaving pad_alloc functions that don't
16343 set up caps and do it for them.
16345 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16347 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16348 test for pipe!=NULL
16349 * docs/gst/tmpl/.cvsignore:
16350 * docs/gst/tmpl/gstmemchunk.sgml:
16351 * docs/gst/tmpl/gstparse.sgml:
16352 * docs/gst/tmpl/gsttaglist.sgml:
16353 * docs/gst/tmpl/gsttagsetter.sgml:
16354 * docs/gst/tmpl/gsttypefind.sgml:
16355 * docs/gst/tmpl/gsttypefindfactory.sgml:
16356 * gst/gstmemchunk.c:
16359 * gst/gsttaginterface.c:
16360 * gst/gsttypefind.c:
16361 * gst/gsttypefind.h:
16364 === release 0.9.2 ===
16366 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
16371 releasing 0.9.2, "South"
16373 2005-09-05 Andy Wingo <wingo@pobox.com>
16375 * gst/registries/gstxmlregistry.h:
16376 * gst/registries/gstxmlregistry.c: Um... resurrect...
16378 * gst/registries/gstxmlregistry.h:
16379 * gst/registries/gstxmlregistry.c: and update to newer API.
16380 Incidentally they should be a bit faster now that they don't have
16383 2005-09-05 Andy Wingo <wingo@pobox.com>
16385 * gst/registries/gstxmlregistry.h:
16386 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16387 replaced by the libxml registry a while back
16389 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16391 * docs/gst/tmpl/gstplugin.sgml:
16392 * gst/elements/gstelements.c:
16394 * gst/gstplugin.c: (gst_plugin_register_func),
16395 (gst_plugin_desc_copy), (gst_plugin_desc_free),
16396 (gst_plugin_get_source):
16398 * gst/registries/gstlibxmlregistry.c: (load_plugin),
16399 (gst_xml_registry_save_plugin):
16400 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16401 (gst_xml_registry_save_plugin):
16402 * tools/gst-inspect.c: (print_plugin_info):
16403 add a "source" plugin description field, to represent the source
16404 module this plugin is a part of. By default GST_PLUGIN_DEFINE
16405 will set it to PACKAGE, which is automake's idea of the name of
16406 the source project.
16408 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16413 * docs/Makefile.am:
16414 * docs/faq/Makefile.am:
16415 * docs/gst/tmpl/gstelement.sgml:
16416 * docs/gst/tmpl/gsttypes.sgml:
16417 * docs/htmlinstall.mak:
16418 * docs/manual/Makefile.am:
16419 * docs/pwg/Makefile.am:
16420 reorganize doc build a little
16421 split out docbook and gtk-doc stuff
16422 have two separate --enable's and enable them through autogen
16423 but disable by default in configure (to be similar to other
16425 * gstreamer.spec.in:
16426 clean up docs install
16444 translation updates
16446 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
16448 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16451 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16452 (gst_fake_sink_change_state):
16453 Make state change function thread-safe.
16455 * gst/gstpad.c: (gst_pad_alloc_buffer):
16456 Set offset on generic buffer allocated by fallback.
16458 2005-09-03 Stefan Kost <ensonic@users.sf.net>
16460 * docs/gst/gstreamer-sections.txt:
16461 * docs/gst/tmpl/gstelement.sgml:
16463 * libs/gst/controller/gst-controller.c:
16464 (gst_controlled_property_set_interpolation_mode),
16465 (gst_controlled_property_new),
16466 (gst_controller_find_controlled_property):
16467 run the wingo-magic script against the docs
16469 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16471 * docs/gst/gstreamer-docs.sgml:
16472 * docs/gst/gstreamer-sections.txt:
16473 * docs/gst/tmpl/.cvsignore:
16474 * docs/gst/tmpl/gstelementdetails.sgml:
16475 * docs/gst/tmpl/gstelementfactory.sgml:
16478 * gst/gstelementfactory.c:
16479 * gst/gstelementfactory.h:
16480 merged elementdetails docs into elementfactory docs
16483 2005-09-02 Andy Wingo <wingo@pobox.com>
16485 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16486 consider this enum an enum and not a flags.
16488 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16490 * docs/gst/gstreamer-docs.sgml:
16491 * docs/gst/tmpl/.cvsignore:
16492 * docs/gst/tmpl/gstghostpad.sgml:
16493 * docs/gst/tmpl/gstiterator.sgml:
16494 * docs/gst/tmpl/gstmacros.sgml:
16495 * docs/gst/tmpl/gstrealpad.sgml:
16496 * docs/gst/tmpl/gstregistry.sgml:
16497 * docs/gst/tmpl/gstregistrypool.sgml:
16498 * docs/gst/tmpl/gststructure.sgml:
16499 * docs/gst/tmpl/gstsystemclock.sgml:
16500 * docs/gst/tmpl/gsttrace.sgml:
16501 * gst/gstghostpad.c:
16503 * gst/gstmemchunk.c:
16504 * gst/gstmemchunk.h:
16506 * gst/gstregistry.c:
16507 * gst/gstregistrypool.c:
16508 * gst/gststructure.c:
16509 * gst/gstsystemclock.c:
16512 2005-09-02 Andy Wingo <wingo@pobox.com>
16514 * gst/gstelement.h (GstState): Renamed from GstElementState,
16515 changed to be a normal enum instead of flags.
16516 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16517 munged to be GST_STATE_CHANGE_*.
16518 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16519 work with the new state representation.
16520 (GstStateChange): New enumeration of possible state transitions.
16521 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16522 (GstElementClass::change_state): Pass the GstStateChange along as
16523 an argument. Helps language bindings, so they don't have to use
16524 tricky lock-needing macros like GST_STATE_CHANGE ().
16526 * scripts/update-states (file): New script. Run it on a file to
16527 update it for state naming and API changes. Updates files in
16530 * All files updated for the new API.
16532 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
16534 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16535 * gst/gstutils.c: (gst_util_set_value_from_string),
16536 (gst_util_set_object_arg):
16537 fix a bunch of unchecked return values
16538 * tools/gst-complete.c: (main):
16539 * gstreamer.spec.in:
16542 2005-09-01 Wim Taymans <wim@fluendo.com>
16544 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16545 (gst_base_sink_event), (gst_base_sink_do_sync),
16546 (gst_base_sink_handle_event):
16547 * gst/base/gstbasesink.h:
16548 Handle newsegments more correctly.
16553 * gst/gstevent.c: (gst_event_new_newsegment):
16554 A newsegment cannot have a start_time of -1
16556 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
16558 * win32/gstenumtypes.c:
16559 * win32/gstenumtypes.h:
16562 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16564 * libs/gst/controller/gst-controller.c:
16565 (gst_controlled_property_set_interpolation_mode),
16566 (gst_controlled_property_new):
16567 fixed boolean again
16569 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
16571 * docs/faq/gst-uninstalled:
16576 * gst/gstutils.c: (gst_element_link_filtered):
16578 add gst_element_link_filtered
16580 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16582 * docs/gst/gstreamer-docs.sgml:
16583 * docs/gst/gstreamer-sections.txt:
16584 * docs/gst/tmpl/.cvsignore:
16585 * docs/gst/tmpl/gsterror.sgml:
16586 * docs/gst/tmpl/gstfilter.sgml:
16587 * docs/gst/tmpl/gsturihandler.sgml:
16588 * docs/gst/tmpl/gsturitype.sgml:
16589 * docs/gst/tmpl/gstutils.sgml:
16590 * docs/gst/tmpl/gstxml.sgml:
16595 * gst/gsturitype.c:
16598 inlined more docs, fixed double id-ref
16600 2005-08-31 Wim Taymans <wim@fluendo.com>
16602 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16603 (gst_base_transform_handle_buffer):
16604 Passthrough elements don't need the caps as they don't care.
16606 2005-08-31 Wim Taymans <wim@fluendo.com>
16608 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16609 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16610 Don't leak refcounts on buffers.
16612 2005-08-31 Wim Taymans <wim@fluendo.com>
16614 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16615 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16616 (gst_base_transform_chain), (gst_base_transform_change_state):
16617 * gst/base/gstbasetransform.h:
16618 Handle the case where we are not negotiated more gracefully.
16620 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
16622 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16623 (gst_file_src_map_region):
16624 Set READONLY flag on mmap'ed buffers, otherwise
16625 gst_buffer_make_writable() won't work properly (#314708).
16627 2005-08-31 Wim Taymans <wim@fluendo.com>
16629 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16630 passthrough elements can even do inplace on non writable
16631 buffers (as they don't touch them).
16633 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16635 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16636 (gst_test_mono_source_set_property),
16637 (gst_test_mono_source_class_init), (GST_START_TEST),
16638 (gst_controller_suite):
16639 more tests (hehe I have the most)
16641 describe popping messages whenusing mulltiple sources
16642 * libs/gst/controller/gst-controller.c:
16643 (gst_controlled_property_set_interpolation_mode),
16644 (gst_controlled_property_new):
16645 * libs/gst/controller/gst-controller.h:
16646 * libs/gst/controller/gst-interpolation.c:
16647 implement boolean properties
16649 2005-08-31 Wim Taymans <wim@fluendo.com>
16651 * gst/gstminiobject.c: (gst_mini_object_ref):
16652 Cannot assert that the refcount has to be positive
16653 since a disposed object can be resurrected.
16655 2005-08-31 Wim Taymans <wim@fluendo.com>
16657 * gst/gstpad.c: (gst_pad_init):
16658 Revert change, need to first fix badly behaving
16661 2005-08-30 Wim Taymans <wim@fluendo.com>
16663 * check/elements/fakesrc.c: (setup_fakesrc):
16664 * check/elements/identity.c: (setup_identity):
16665 Activate pads before using them.
16667 2005-08-30 Wim Taymans <wim@fluendo.com>
16669 * gst/base/gstadapter.c: (gst_adapter_flush):
16670 Flushing out 0 bytes is ok for this function.
16672 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16673 no newsegment gives a warning and sets the start/stop to
16676 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16677 (gst_base_transform_set_passthrough):
16680 * gst/gstminiobject.c: (gst_mini_object_ref):
16681 Check refcount here too.
16683 * gst/gstpad.c: (gst_pad_init):
16684 Pads are initially flushing and refusing data.
16686 * gst/gstutils.c: (gst_element_link_pads_filtered):
16687 When adding a capsfilter element make sure it has the
16688 same state as the parent bin.
16690 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16692 * docs/gst/tmpl/.cvsignore:
16693 * docs/gst/tmpl/gstformat.sgml:
16694 * docs/gst/tmpl/gstversion.sgml:
16698 * gst/gstversion.h.in:
16699 more docs and two more inlined
16701 2005-08-30 Wim Taymans <wim@fluendo.com>
16703 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
16704 Don't sync to clock.
16706 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16708 * docs/gst/gstreamer-sections.txt:
16709 ultral33t func10ns deserve to appear in the docs actually
16710 * docs/gst/tmpl/.cvsignore:
16711 * docs/gst/tmpl/gstcompat.sgml:
16712 * docs/gst/tmpl/gstconfig.sgml:
16713 * gst/check/gstcheck.c:
16715 * gst/gstconfig.h.in:
16718 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16720 * docs/gst/tmpl/.cvsignore:
16721 * docs/gst/tmpl/gstquery.sgml:
16722 * docs/gst/tmpl/gstutils.sgml:
16725 inlined and extended docs
16727 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16729 * check/gst-libs/controller.c: (GST_START_TEST),
16730 (gst_controller_suite):
16732 * docs/gst/tmpl/gstutils.sgml:
16733 * docs/libs/gstreamer-libs-sections.txt:
16734 * docs/libs/tmpl/gstdataprotocol.sgml:
16736 * examples/controller/audio-example.c: (main):
16737 controller example works now
16740 * tools/gst-inspect.c: (print_element_properties_info):
16741 show param spec flags
16743 2005-08-29 Andy Wingo <wingo@pobox.com>
16745 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
16747 2005-08-28 Andy Wingo <wingo@pobox.com>
16749 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
16750 as having two arguments instead of just one. Allows superclasses
16751 to access information on subclasses -- see the terrible for() loop
16752 in gtype.c:g_type_create_instance for the reason why. All callers
16755 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16757 * docs/design/part-messages.txt:
16759 * docs/gst/tmpl/.cvsignore:
16760 * docs/gst/tmpl/gstcaps.sgml:
16761 * docs/gst/tmpl/gstclock.sgml:
16767 * gst/gstmessage.c:
16768 added descriptions for bus and message
16769 inline caps and clock docs
16771 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16773 * gst/gstmessage.c:
16774 * gst/gstmessage.h:
16777 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16779 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16782 2005-08-26 Andy Wingo <wingo@pobox.com>
16784 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
16785 element_set_state's return val.
16786 (test_2_elements): Add test that's been disabled for months.
16788 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
16789 can-activate-pull properties.
16791 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
16792 can-activate-pull properties. Implement is_seekable so fakesrc can
16793 operate in pull mode.
16795 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
16797 (gst_base_sink_activate, gst_base_sink_activate_pull)
16798 (gst_base_sink_activate_push): Make activation mode choosing work.
16800 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
16801 is right. Make pull mode work. Post an eos before pausing in pull
16803 (gst_base_sink_change_state): Pay attention to the core's
16804 change_state() return val.
16806 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
16807 has-getrange properties. Cleanups.
16809 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
16810 has_getrange and replace with can_activate_pull and
16813 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
16814 locking comments. Remove has_loop, has_chain and replace with
16815 can_activate_pull and can_activate_push.
16817 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
16820 * examples/Makefile.am:
16821 * examples/metadata/Makefile.am:
16822 * examples/metadata/read-metadata.c: (message_loop),
16823 (have_pad_handler), (make_pipeline), (print_tag), (main):
16824 Add metadata reading example that loops over a list of filenames,
16825 dumping any tags found.
16827 * gst/gstbus.c: (gst_bus_dispose):
16828 * gst/gstelement.c: (gst_element_dispose):
16829 Release a few potentially-held references in dispose.
16831 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16833 * docs/gst/tmpl/gstminiobject.sgml:
16834 do *not* add tmpl/*.sgml files to CVS!
16836 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16838 * libs/gst/bytestream/.cvsignore:
16839 * libs/gst/bytestream/Makefile.am:
16840 * libs/gst/bytestream/adapter.c:
16841 * libs/gst/bytestream/adapter.h:
16842 * libs/gst/bytestream/bytestream.c:
16843 * libs/gst/bytestream/bytestream.h:
16844 * libs/gst/bytestream/filepad.c:
16845 * libs/gst/bytestream/filepad.h:
16846 removing obsolete files
16848 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16850 * docs/gst/gstreamer-docs.sgml:
16851 * docs/libs/gstreamer-libs-docs.sgml:
16852 disabed additional index entries again, as this makes docs-gen just
16853 slow and they aren't useful yet
16854 * docs/libs/gstreamer-libs-sections.txt:
16855 little -section.txt cleanup for libs
16857 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
16859 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16860 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
16861 fix up some debugging
16862 (gst_base_transform_get_unit_size),
16863 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16864 (gst_base_transform_handle_buffer):
16865 * gst/base/gstbasetransform.h:
16866 handle and store timed NEWSEGMENT events so that subclasses that
16867 calculate time by counting samples have a segment_start time they
16868 need to add to their timestamps - see audioresample
16870 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16873 removed ';' from the end of macro defs
16874 * docs/gst/gstreamer-docs.sgml:
16875 * docs/gst/gstreamer-sections.txt:
16876 * docs/gst/tmpl/.cvsignore:
16878 * gst/gstelement.c: (gst_element_class_init),
16879 (gst_element_set_state), (activate_pads),
16880 (gst_element_save_thyself):
16881 * gst/gstevent.c: (gst_event_new_newsegment):
16883 * gst/gstiterator.c:
16884 * gst/gstiterator.h:
16887 * gst/gstutils.c: (gst_pad_query_convert):
16889 fixed parameter name mismatches between source, header and docs
16890 added some more docs, resolved the last batch of unused elements in
16891 docs (now someone needs to doc them)
16893 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16895 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
16896 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
16897 don't walk through the plugins backwards. Where is all this
16898 reversed logic coming from ?
16900 2005-08-25 Wim Taymans <wim@fluendo.com>
16902 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16903 (gst_base_transform_transform_size),
16904 (gst_base_transform_configure_caps),
16905 (gst_base_transform_get_unit_size),
16906 (gst_base_transform_buffer_alloc),
16907 (gst_base_transform_change_state):
16908 * gst/base/gstbasetransform.h:
16909 Cache caps unit_size.
16910 Make sure we cannot negotiate up and downstream at the
16913 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16915 * gst/gst.c: (init_pre), (init_post):
16916 register the installed plugin path after the env var
16917 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
16918 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
16919 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
16920 directories, so the tests can prefer uninstalled over installed
16922 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16924 * gst/base/gstbasetransform.h:
16929 2005-08-25 Wim Taymans <wim@fluendo.com>
16931 * gst/gstbin.c: (bin_bus_handler):
16932 Be a bit more conservative about the posted message.
16934 * gst/gstbus.c: (gst_bus_post):
16935 Some cleanups, warn wrong return values.
16937 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
16939 * check/gst/gstbin.c: (GST_START_TEST):
16940 * gst/gstbin.c: (bin_bus_handler):
16941 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
16942 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
16943 (gst_message_new_warning), (gst_message_new_tag),
16944 (gst_message_new_state_changed), (gst_message_new_segment_start),
16945 (gst_message_new_segment_done), (gst_message_new_custom):
16946 * gst/gstmessage.h:
16947 * tools/gst-launch.c: (event_loop):
16948 * tools/gst-md5sum.c: (event_loop):
16949 Revert unpopular change for GST_MESSAGE_SRC to GObject.
16951 2005-08-25 Wim Taymans <wim@fluendo.com>
16953 * check/generic/states.c: (GST_START_TEST):
16954 Cleanup can be done at the end.
16956 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
16957 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
16958 (gst_task_get_state), (gst_task_start), (gst_task_pause):
16959 Oh boy.. Thanks for finding this, Thomas.
16961 2005-08-25 Stefan Kost <ensonic@users.sf.net>
16963 * docs/gst/gstreamer.types:
16964 added missing types
16966 2005-08-25 Stefan Kost <ensonic@users.sf.net>
16968 * docs/gst/gstreamer-docs.sgml:
16969 * docs/gst/gstreamer-sections.txt:
16970 * docs/gst/tmpl/.cvsignore:
16972 * gst/gstiterator.c:
16974 * gst/registries/gstxmlregistry.h:
16975 added missing classes and symbols (123 more to go)
16976 removed removed symbols from section file
16977 fixed many doc-comments
16979 2005-08-24 Wim Taymans <wim@fluendo.com>
16981 * check/generic/states.c: (GST_START_TEST):
16982 Make sure all tasks are stopped.
16984 * check/gst/gstbin.c: (GST_START_TEST):
16985 Unref after usage for proper valgrinding.
16987 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
16988 Really wait for the task to stop before destroying the
16991 * gst/gstqueue.c: (gst_queue_sink_activate_push),
16992 (gst_queue_src_activate_push):
16993 Small cleanups. Don't stop the task when we did not start
16996 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
16997 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
16998 (gst_task_get_state), (gst_task_start), (gst_task_pause),
17001 Protect the stream lock with the object lock.
17002 Disallow setting the stream lock when running.
17003 Add cleanup_all to wait for the threadpool to finish.
17004 Remove code to autoallocate a mutex if none was provided.
17005 Add _join() to wait for a task to stop.
17006 Protect the thread pool with a global lock.
17008 2005-08-24 Wim Taymans <wim@fluendo.com>
17010 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17011 (gst_base_sink_get_times), (gst_base_sink_do_sync),
17012 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17013 * gst/base/gstbasesink.h:
17014 Handle newsegment events correctly.
17015 Drop buffers out of the segment range.
17017 2005-08-22 Andy Wingo <wingo@pobox.com>
17019 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17020 macro, implements an interface and gstimplementsinterface for a
17023 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17025 * check/Makefile.am:
17026 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17027 add a test that does a bunch of state changes on elements
17028 needs some fixing for valgrind
17029 * check/states/sinks.c: (gst_object_suite):
17032 add prototype for gst_caps_is_equal_fixed
17034 * gst/gstregistrypool.c:
17037 2005-08-24 Andy Wingo <wingo@pobox.com>
17039 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17040 convert a negative value. Doesn't make much sense. Mostly this is
17041 here to force callers to ensure -1 maps to -1.
17043 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17045 * docs/pwg/advanced-types.xml:
17046 Well done to Michael for catching my deliberate introduction
17047 of this spelling mistake.
17048 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17049 * gst/gstelement.h:
17050 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17051 unlink pads before removing the element from the bin.
17053 2005-08-24 Andy Wingo <wingo@pobox.com>
17055 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17056 the same thing as GST_DEBUG=*:4.
17057 (parse_debug_level, parse_debug_category): New helper parsers.
17059 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17061 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17062 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17063 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17064 (gst_base_transform_buffer_alloc),
17065 (gst_base_transform_handle_buffer):
17066 use gboolean return values and pointers to size so we can use the
17067 full GST_BUFFER_SIZE range (guint) for buffer sizes
17068 use GstPadDirection for transform_caps
17069 * gst/base/gstbasetransform.h:
17070 rename get_size to get_unit_size since that's what it is
17071 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17072 use GstPadDirection for transform_caps
17073 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17075 cleanup and debugging
17077 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17079 * gst/gstelement.c: (gst_element_class_init),
17080 (gst_element_set_state), (activate_pads),
17081 (gst_element_save_thyself):
17082 * tools/gst-compprep.c: (main):
17083 * tools/gst-inspect.c: (print_element_properties_info):
17084 * tools/gst-xmlinspect.c: (print_element_properties):
17085 Fixed long standing mem-leak
17087 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17089 * check/gst/gstbin.c: (GST_START_TEST):
17090 * gst/gstbin.c: (bin_bus_handler):
17091 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17092 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17093 (gst_message_new_warning), (gst_message_new_tag),
17094 (gst_message_new_state_changed), (gst_message_new_segment_start),
17095 (gst_message_new_segment_done), (gst_message_new_custom):
17096 * gst/gstmessage.h:
17097 * tools/gst-launch.c: (event_loop):
17098 * tools/gst-md5sum.c: (event_loop):
17099 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17100 that applications can sensibly post custom messages with references
17101 to their own objects.
17103 2005-08-24 Andy Wingo <wingo@pobox.com>
17105 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17108 2005-08-24 Wim Taymans <wim@fluendo.com>
17110 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17111 (gst_base_transform_transform_caps),
17112 (gst_base_transform_transform_size),
17113 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17114 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17115 (gst_base_transform_handle_buffer):
17116 * gst/base/gstbasetransform.h:
17117 Many fixes and new features added by Thomas. Can now also do
17118 transforms with variable sizes and a custom fixate_caps function.
17120 2005-08-24 Wim Taymans <wim@fluendo.com>
17122 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17126 Cast to ClockTime before formatting to time.
17131 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17133 * check/gst-libs/controller.c: (GST_START_TEST),
17134 (gst_controller_suite):
17135 * docs/gst/tmpl/gstcaps.sgml:
17136 * docs/gst/tmpl/gstghostpad.sgml:
17137 * docs/gst/tmpl/gstquery.sgml:
17138 * docs/gst/tmpl/gstutils.sgml:
17139 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17140 (gst_object_sink_values), (gst_object_get_value_arrays),
17141 (gst_object_get_value_array):
17142 gracefully handle helper method calls to objects that are not beeing
17143 controlled, added test case for that
17145 2005-08-23 Wim Taymans <wim@fluendo.com>
17147 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17148 (gst_event_new_newsegment), (gst_event_parse_newsegment),
17149 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17150 (gst_event_parse_qos), (gst_event_new_seek),
17151 (gst_event_parse_seek):
17153 Some more debugging output and doc cleanups.
17155 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17156 Fix possible deadlock.
17158 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17160 * docs/gst/gstreamer-docs.sgml:
17161 * docs/gst/gstreamer-sections.txt:
17162 * docs/gst/gstreamer.types:
17163 * docs/gst/tmpl/.cvsignore:
17166 * gst/gstelement.c:
17168 added 100 symbols from gstreamer-unused.txt to the right sections
17169 fixed more broken comments
17170 added GstBus to docs
17172 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17174 * docs/gst/gstreamer-sections.txt:
17175 * docs/gst/tmpl/.cvsignore:
17176 * docs/gst/tmpl/gstbin.sgml:
17177 * docs/gst/tmpl/gstbuffer.sgml:
17178 * gst/base/gstbasesrc.c:
17179 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17182 * tools/gst-launch.1.in:
17183 inlined more doc comments, added missing comments and fixed comments
17186 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
17188 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17192 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17194 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17195 * gst/gststructure.h:
17196 add a fixate function for booleans; add a FIXME that these func
17197 names should probably be gst_structure_fixate_*
17199 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17201 * docs/gst/gstreamer-docs.sgml:
17202 * docs/gst/gstreamer-sections.txt:
17204 * gst/gstbin.c: (gst_bin_get_type),
17205 (gst_bin_child_proxy_get_child_by_index),
17206 (gst_bin_child_proxy_get_children_count),
17207 (gst_bin_child_proxy_init):
17208 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17209 (gst_child_proxy_get_child_by_index),
17210 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17211 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17212 (gst_child_proxy_get), (gst_child_proxy_set_property),
17213 (gst_child_proxy_set_valist), (gst_child_proxy_set),
17214 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17215 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17216 * gst/gstchildproxy.h:
17217 * gst/parse/grammar.y:
17218 * tools/gst-inspect.c: (print_interfaces),
17219 (print_element_properties_info), (print_element_info):
17220 ported gstchildproxy over from 0.8
17221 ported gst-inspect fixes and enhancements over from 0.8
17223 2005-08-22 Wim Taymans <wim@fluendo.com>
17225 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17226 (gst_base_transform_handle_buffer):
17227 Also call the transform function if we have ANY caps.
17229 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17232 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17234 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17235 Don't pretend to handle seek events if the source is not seekable
17237 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17239 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17240 Remove extra parameter to debug output
17242 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17243 (gst_base_src_do_seek), (gst_base_src_activate_push):
17244 Fix seek event handling.
17246 * gst/gstpipeline.c: (gst_pipeline_change_state):
17247 * gst/gstqueue.c: (gst_queue_handle_sink_event),
17248 (gst_queue_src_activate_push):
17249 Don't start the src pad task on FLUSH_STOP if the pad
17253 2005-08-22 Wim Taymans <wim@fluendo.com>
17255 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17256 Added check for gst_static_caps_get() refcounting.
17258 2005-08-22 Wim Taymans <wim@fluendo.com>
17260 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17261 Make _static_caps_get() refcounting sane.
17263 * gst/gstelement.c: (gst_element_set_state):
17264 Add g_return_val_if_fail() to protect against segfaults.
17266 2005-08-22 Stefan Kost <ensonic@users.sf.net>
17268 * docs/gst/tmpl/gstevent.sgml:
17271 inlined remaining docs, added missing doc comments
17273 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
17275 * check/gst/gstbin.c: (GST_START_TEST):
17276 since we don't know when preroll is done, use refcount range
17278 * gst/check/gstcheck.h:
17279 add macro for checking refcount range
17281 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17283 * check/Makefile.am:
17284 clean up environment for when registry gets built versus
17285 when actual tests are run; valgrind seems to not report
17286 leaks if GST_PLUGIN_PATH is set to some specific values
17287 * check/gst/gstbin.c: (GST_START_TEST):
17288 add more refcounting checks; maybe this exposes a
17290 * common/check.mak:
17291 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17292 * gst/check/gstcheck.h:
17293 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17294 (gst_bin_change_state):
17295 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17296 add/fix debugging/whitespace
17298 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17300 * check/gst/gstevent.c: (event_probe), (test_event),
17302 Er, don't call gst_bin_watch_for_state_change you idiot.
17304 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17306 * check/Makefile.am:
17307 Use CHECK_CFLAGS and CHECK_LIBS
17308 * check/gst/gstevent.c: (event_probe), (test_event),
17311 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17312 (gst_base_src_start), (gst_base_src_stop),
17313 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17314 (gst_base_src_change_state):
17315 Sprinkle gst_base_src_stop liberally around error paths to fix
17316 problems reusing a source after failed state changes.
17317 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17318 (helper_find_suggest), (gst_type_find_helper):
17319 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17321 * docs/gst/tmpl/gstevent.sgml:
17322 Migrate part of the docs from the SGML file. Wait for ensonic to
17323 tell me how I did it wrong ;)
17324 * tools/gst-typefind.c: (main):
17325 Extra robustness to state changes between files.
17327 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17329 * check/Makefile.am:
17330 don't valgrind the controller test - it's leaking - Stefan, HELP
17331 * gst/check/gstcheck.c: (gst_check_message_error),
17332 (gst_check_chain_func), (gst_check_setup_element),
17333 (gst_check_teardown_element), (gst_check_setup_src_pad),
17334 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17335 (gst_check_teardown_sink_pad):
17336 * gst/check/gstcheck.h:
17337 add a bunch of methods to set up elements, and src and sink pads
17338 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17339 * check/elements/identity.c: (setup_identity), (cleanup_identity),
17342 * gst/gstmessage.c:
17344 whitespace/doc fixes
17346 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17348 * gst/gstelement.h:
17349 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17350 be handled by the application and not always printed as well
17352 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17354 * check/Makefile.am:
17356 * gst/check/gstcheck.c: (gst_check_message_error):
17357 * gst/check/gstcheck.h:
17358 add a fail_unless_equals_int
17359 add fail_unless for error messages
17361 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17363 * check/Makefile.am:
17365 * common/Makefile.am:
17366 * common/check.mak:
17368 factor out some of the common stuff so we can use it
17370 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17372 * check/Makefile.am:
17373 * check/gst/gstiterator.c: (GST_START_TEST):
17374 * check/gst/gstsystemclock.c: (GST_START_TEST),
17375 (gst_systemclock_suite):
17376 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17378 valgrind more tests
17380 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17382 * check/elements/.cvsignore:
17383 * check/elements/gstfakesrc.c:
17384 rename to name of element
17385 * check/elements/identity.c: (chain_func), (event_func),
17386 (setup_identity), (cleanup_identity), (GST_START_TEST),
17387 (identity_suite), (main):
17388 add a test for identity
17389 * check/Makefile.am:
17390 * pkgconfig/Makefile.am:
17391 * pkgconfig/gstreamer-check.pc.in:
17392 * pkgconfig/gstreamer-check-uninstalled.pc.in:
17396 move the check stuff to a library that gets installed
17397 * check/gst-libs/controller.c: (GST_START_TEST):
17398 * check/gst-libs/gdp.c:
17399 * check/gst/gst.c: (GST_START_TEST):
17400 * check/gst/gstbin.c:
17401 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17402 * check/gst/gstbus.c:
17403 * check/gst/gstcaps.c: (GST_START_TEST):
17404 * check/gst/gstelement.c:
17405 * check/gst/gstghostpad.c:
17406 * check/gst/gstiterator.c:
17407 * check/gst/gstmessage.c:
17408 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17409 * check/gst/gstobject.c:
17410 * check/gst/gstpad.c: (GST_START_TEST):
17411 * check/gst/gststructure.c: (GST_START_TEST):
17412 * check/gst/gstsystemclock.c: (GST_START_TEST),
17413 (gst_systemclock_suite):
17414 * check/gst/gsttag.c: (gst_tag_suite):
17415 * check/gst/gstvalue.c:
17416 * check/pipelines/cleanup.c:
17417 * check/pipelines/simple_launch_lines.c:
17418 * check/states/sinks.c:
17419 change include statement
17421 * docs/gst/gstreamer-sections.txt:
17422 * docs/gst/tmpl/gstpad.sgml:
17423 document more pad stuff
17424 * gst/gstminiobject.c: (gst_mini_object_ref),
17425 (gst_mini_object_unref):
17428 2005-08-19 Stefan Kost <ensonic@users.sf.net>
17430 * docs/gst/tmpl/gst.sgml:
17432 eliminate another tmpl file, fix spelling in the long-description
17434 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17436 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17437 (test_event), (timediff), (gstevents_suite):
17438 Should fix build on 64-bit arch's
17440 2005-08-18 Andy Wingo <wingo@pobox.com>
17442 Make sure that when a pipeline goes to PLAYING, that data has
17443 actually hit the sink.
17445 * check/states/sinks.c (test_sink): A sink that doesn't get any
17446 data shouldn't return SUCCESS for going to either PLAYING or
17447 PAUSED. Test also the return values on the way back down.
17449 * gst/gstelement.c (gst_element_set_state): When changing the
17450 state of an element currently changing state asynchronously, go to
17451 lost-state after commiting the pending state. Makes future calls
17452 to get_state continue to return ASYNC.
17454 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17455 ASYNC when going to PLAYING if we still don't have preroll, as can
17456 happen with live sources.
17458 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17460 * docs/pwg/advanced-types.xml:
17461 Hack long paragraph into 2 chunks as a workaround for buggy
17462 jadetex version in sid and breezy that loops infinitely and
17465 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17467 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17468 (test_event), (timediff), (gstevents_suite):
17469 Provide more error margin in clock measurements to allow for
17470 g_get_current_time inaccuracies.
17472 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17474 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17475 (test_event), (timediff), (gstevents_suite):
17476 Fix error message output so I might be able to tell why the
17477 test works here but fails on the build farm.
17479 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17481 * check/Makefile.am:
17482 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17483 (test_event), (timediff), (gstevents_suite), (main):
17486 * docs/design/part-seeking.txt:
17487 Spelling correction
17489 * docs/gst/tmpl/gstevent.sgml:
17490 * docs/gst/tmpl/gstfakesrc.sgml:
17493 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17494 Treat a buffer-without-newsegment the same as a receiving
17495 a newsegment not in time format, and disable syncing to the clock
17498 * gst/gstbus.c: (gst_bus_set_sync_handler):
17499 Assert if anyone tries to replace the existing sync_handler for bus,
17500 as only the owner should be setting it.
17503 Have a fixed set of custom event enums with events identified by
17504 their structure name (as in 0.8), rather than a free-for-all
17505 allowing collisions between enum values from different plugins.
17507 * gst/gstpad.c: (gst_pad_class_init):
17510 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17511 Handle out-of-band downstream events from the sending thread.
17513 2005-08-17 Andy Wingo <wingo@pobox.com>
17515 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17516 play-timeout==0 to mean no timeout at all. In that case, don't
17517 bother with a get_state or a warning, just return directly, even
17520 * gst/base/gstbasetransform.c: Debug changes.
17523 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17524 ensure bins post state change messages. A bit of a hack but I can't
17525 think of a way to avoid it.
17527 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17529 2005-08-16 Andy Wingo <wingo@pobox.com>
17531 * gst/base/gstadapter.h:
17532 * gst/base/gstadapter.c (gst_adapter_take): New function, like
17533 peek() but you own the data. Not terribly efficient atm.
17535 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17537 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17538 (gst_element_found_tags):
17540 Add two utility functions for tag handling.
17542 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17544 * docs/manual/advanced-dataaccess.xml:
17545 * docs/manual/basics-helloworld.xml:
17546 Fix docs to use _bin_add() before _link(), which fixes the examples
17547 with recent core versions (reported by Madhan Raj M
17548 <raj_madan@rediffmail.com>, #313199).
17550 2005-08-16 Wim Taymans <wim@fluendo.com>
17552 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17553 Added subtract checks.
17555 * docs/design/part-events.txt:
17556 Some more docs about newsegment
17558 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17561 * gst/gstcaps.c: (gst_caps_to_string):
17562 Add comments, cleanups.
17564 * gst/gstelement.c: (gst_element_save_thyself):
17567 * gst/gstvalue.c: (gst_value_collect_int_range),
17568 (gst_string_unwrap), (gst_value_union_int_int_range),
17569 (gst_value_union_int_range_int_range),
17570 (gst_value_intersect_int_int_range),
17571 (gst_value_intersect_int_range_int_range),
17572 (gst_value_intersect_double_double_range),
17573 (gst_value_intersect_double_range_double_range),
17574 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17575 (gst_value_subtract_int_range_int),
17576 (gst_value_subtract_double_range_double),
17577 (gst_value_subtract_double_range_double_range),
17578 (gst_value_subtract_from_list), (gst_value_subtract_list),
17579 (gst_value_can_compare), (gst_value_compare_fraction):
17580 Cleanups, add comments, remove unneeded asserts.
17582 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17584 * tools/gst-launch.c: (event_loop):
17585 don't convert NULL structures to strings
17587 2005-08-15 Stefan Kost <ensonic@users.sf.net>
17589 * docs/gst/gstreamer-sections.txt:
17590 made some defines private
17591 * docs/gst/tmpl/gstconfig.sgml:
17592 * docs/gst/tmpl/gstqueue.sgml:
17593 * docs/gst/tmpl/gsttaglist.sgml:
17594 * docs/gst/tmpl/gsttypes.sgml:
17595 * docs/gst/tmpl/gstutils.sgml:
17596 * docs/pwg/appendix-porting.xml:
17597 * gst/base/gstbasesink.h:
17598 * gst/base/gstbasesrc.c:
17599 * gst/base/gstbasesrc.h:
17600 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17601 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17602 * gst/gstelement.c: (gst_element_class_init):
17603 * gst/gstpad.c: (gst_pad_class_init):
17604 * gst/gstqueue.c: (gst_queue_class_init):
17605 * gst/gstxml.c: (gst_xml_class_init):
17606 documented all undocumented signal inline
17607 * libs/gst/controller/gst-controller.h:
17610 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17612 * docs/pwg/appendix-porting.xml:
17613 Document _set_link_function -> _set_setcaps_function.
17615 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17617 * check/Makefile.am:
17618 add a .check target for running the check
17619 * check/gst-libs/controller.c: (GST_START_TEST):
17621 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17622 complete checks for gstbuffer; would be nice if I could get the
17623 gcov stuff to work so I can see if I actually completed gstbuffer.c
17624 * check/gstcheck.h:
17625 add ASSERT_BUFFER_REFCOUNT
17627 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
17629 * docs/gst/gstreamer-sections.txt:
17630 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17632 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17633 spew out a warning if a tag that is already registered
17634 is re-registered, unless it is re-registered with a
17635 different type (#308438).
17637 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
17639 * docs/pwg/appendix-porting.xml:
17640 * docs/pwg/building-state.xml:
17641 Add some paragraphs about state changes in 0.9 to the PWG
17642 and the porting guide, in particular about the new meaning
17643 of GST_STATE_PAUSED and how to write state change functions
17644 with concurrent access by multiple threads in mind.
17646 2005-08-11 Stefan Kost <ensonic@users.sf.net>
17648 * docs/gst/gstreamer-docs.sgml:
17649 * docs/libs/gstreamer-libs-docs.sgml:
17650 added deprecation and since indexes
17651 * libs/gst/controller/gst-controller.c:
17652 * libs/gst/controller/gst-helper.c:
17656 2005-08-11 Wim Taymans <wim@fluendo.com>
17658 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17659 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17660 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17661 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17662 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17663 (gst_ghost_pad_set_target):
17664 Actually implement (re)setting the target on a ghostpad
17665 as described in the docs.
17667 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17669 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17670 Check whether GST_DEBUG_NO_COLOR environment variable is
17671 set and disable coloured debug output if that is the case.
17673 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17675 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17676 (gst_type_find_helper):
17677 The memory returned by gst_type_find_peek() needs to
17678 stay valid until the end of a typefind function, and
17679 typefind functions may keep results from different
17680 offsets around, so we can't just unref the buffer from
17681 the previous _peek(), but have to save all buffers
17682 returned by _peek() until typefinding is done and only
17685 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
17687 * docs/gst/gstreamer-sections.txt:
17689 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
17691 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17693 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17694 Fix a pretty good memleak.
17696 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17698 * gst/gstiterator.h:
17699 Fix wrong include and 'make distcheck'.
17701 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17703 * gst/gstbin.c: (bin_bus_handler):
17704 Use gst_element_post_message() instead.
17706 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17708 * gst/base/gstadapter.h:
17709 * gst/base/gstbasesink.h:
17710 * gst/base/gstbasesrc.h:
17711 * gst/base/gstbasetransform.h:
17712 * gst/base/gstcollectpads.h:
17713 * gst/base/gstpushsrc.h:
17714 * gst/gstiterator.h:
17715 Add padding to our base elements' class and instance structs and
17716 to GstIterator (you will need to rebuild all plugins and apps!)
17718 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17720 * gst/gstbin.c: (bin_bus_handler):
17721 Make default message forwarding from child->bus to bin->bus
17722 threadsafe and make it not emit warnings if the parent has no bus.
17724 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17726 * gst/gstelement.c: (activate_pads):
17727 On paused->ready, set pad->caps to NULL, as is the documented
17728 behaviour in this state change. Fixes playback of series of
17729 media files when visualization is enabled in Totem.
17731 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17733 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17734 Allow NULL as filter-caps (which means "any").
17736 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17738 * docs/libs/gstreamer-libs-sections.txt:
17739 * libs/gst/controller/gst-controller.c:
17740 * libs/gst/controller/gst-controller.h:
17741 * libs/gst/controller/gst-helper.c:
17742 adding more entries to the docs and fix small doc-bugs
17744 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17746 * docs/gst/gstreamer-docs.sgml:
17747 * docs/gst/gstreamer-sections.txt:
17748 * docs/gst/gstreamer.types:
17749 * docs/gst/tmpl/gstbasesink.sgml:
17750 * docs/gst/tmpl/gstbasesrc.sgml:
17751 * docs/gst/tmpl/gstbasetransform.sgml:
17752 * docs/gst/tmpl/gstfakesrc.sgml:
17753 * gst/base/gstcollectpads.c:
17754 * gst/base/gstcollectpads.h:
17755 * libs/gst/controller/gst-controller.c:
17756 * libs/gst/controller/gst-controller.h:
17757 * libs/gst/controller/gst-helper.c:
17758 * libs/gst/controller/gst-interpolation.c:
17759 * libs/gst/controller/lib.c:
17760 added long/short desc for controller docs
17761 added collectpads base class docs
17762 added correct includes to base-class docs
17764 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17766 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17767 (gst_test_mono_source_set_property),
17768 (gst_test_mono_source_class_init), (GST_START_TEST),
17769 (gst_controller_suite):
17770 * docs/gst/gstreamer-docs.sgml:
17771 * docs/gst/gstreamer-sections.txt:
17772 * docs/gst/gstreamer.types:
17773 * docs/libs/gstreamer-libs-docs.sgml:
17774 * docs/libs/gstreamer-libs-sections.txt:
17775 * gst/base/gstadapter.c:
17776 * libs/gst/controller/gst-controller.c:
17777 (gst_controlled_property_new), (gst_controlled_property_free),
17778 (gst_controller_new_valist),
17779 (gst_controller_remove_properties_valist),
17780 (gst_controller_sink_values), (_gst_controller_finalize):
17781 * libs/gst/controller/gst-controller.h:
17782 * libs/gst/controller/gst-helper.c:
17783 (gst_object_control_properties), (gst_object_uncontrol_properties),
17784 (gst_object_get_controller), (gst_object_set_controller),
17785 (gst_object_sink_values), (gst_object_get_value_arrays),
17786 (gst_object_get_value_array):
17787 more tests (and fixes) for the controller
17788 more docs for the controller
17789 integrated companies docs for the adapter
17791 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
17793 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
17794 (GST_START_TEST), (fakesrc_suite):
17795 add tests for sizetype
17797 2005-08-04 Andy Wingo <wingo@pobox.com>
17799 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
17800 fixes buffer_alloc proxying among other things.
17802 * gst/base/gstbasetransform.c:
17803 * gst/base/gstbasetransform.h:
17804 Revert patch to gstbasetransform from 7-28 removing
17807 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
17808 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
17809 Semantics changed, should return not the size of the output buffer
17810 but the byte size of a buffer with a given caps.
17812 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
17814 (gst_base_transform_configure_caps): Don't set out_size here: (in,
17815 out) are not the pad caps until setcaps finishes.
17816 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
17817 not-in-place case as well. Deal with changing from in-place to
17818 not-in-place within calling pad_alloc_buffer. Still a bit
17819 concerned about the overhead here...
17821 2005-08-03 Andy Wingo <wingo@pobox.com>
17823 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
17824 fixating is an error.
17826 2005-08-04 Edward Hervey <edward@fluendo.com>
17828 * gst/base/gstadapter.h:
17829 Added gst_adapter_get_type() to the header
17831 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17833 * check/Makefile.am:
17834 * check/gst-libs/controller.c:
17835 * libs/gst/controller/gst-controller.c:
17836 (gst_controller_new_valist):
17837 added check test suite for the controller
17838 * gst/base/gstpushsrc.c:
17841 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17843 * docs/gst/Makefile.am:
17844 * docs/gst/gstreamer-docs.sgml:
17845 * docs/gst/gstreamer-sections.txt:
17846 * docs/gst/gstreamer.types:
17847 * docs/gst/tmpl/gstfakesrc.sgml:
17849 * gst/base/gstbasesink.c:
17850 * gst/base/gstbasesink.h:
17851 * gst/base/gstbasesrc.c:
17852 * gst/base/gstbasesrc.h:
17853 * gst/base/gstbasetransform.c:
17854 * gst/base/gstpushsrc.c:
17855 * gst/base/gstpushsrc.h:
17856 add short/long description docs to base classes
17857 add pushsrc to the docs
17858 remove consolidated doc fragments
17860 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17863 * docs/libs/Makefile.am:
17864 * docs/libs/gstreamer-libs-docs.sgml:
17865 * docs/libs/gstreamer-libs-sections.txt:
17866 * docs/libs/gstreamer-libs.types:
17867 * examples/Makefile.am:
17868 * examples/controller/.cvsignore:
17869 * examples/controller/Makefile.am:
17870 * examples/controller/audio-example.c: (main):
17871 * libs/gst/Makefile.am:
17872 * libs/gst/controller/.cvsignore:
17873 * libs/gst/controller/Makefile.am:
17874 * libs/gst/controller/gst-controller.c:
17875 (on_object_controlled_property_changed), (gst_timed_value_compare),
17876 (gst_timed_value_find),
17877 (gst_controlled_property_set_interpolation_mode),
17878 (gst_controlled_property_new), (gst_controlled_property_free),
17879 (gst_controller_find_controlled_property),
17880 (gst_controller_new_valist), (gst_controller_new),
17881 (gst_controller_remove_properties_valist),
17882 (gst_controller_remove_properties), (gst_controller_set),
17883 (gst_controller_set_from_list), (gst_controller_unset),
17884 (gst_controller_get), (gst_controller_get_all),
17885 (gst_controller_sink_values), (gst_controller_get_value_arrays),
17886 (gst_controller_get_value_array),
17887 (gst_controller_set_interpolation_mode),
17888 (_gst_controller_finalize), (_gst_controller_init),
17889 (_gst_controller_class_init), (gst_controller_get_type):
17890 * libs/gst/controller/gst-controller.h:
17891 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
17892 (g_object_uncontrol_properties), (g_object_get_controller),
17893 (g_object_set_controller), (g_object_sink_values),
17894 (g_object_get_value_arrays), (g_object_get_value_array):
17895 * libs/gst/controller/gst-interpolation.c:
17896 (gst_controlled_property_find_timed_value_node),
17897 (interpolate_none_get), (interpolate_trigger_get),
17898 (interpolate_trigger_get_value_array):
17899 * libs/gst/controller/lib.c: (gst_controller_init):
17900 * pkgconfig/Makefile.am:
17901 * pkgconfig/gstreamer-control-uninstalled.pc.in:
17902 * pkgconfig/gstreamer-control.pc.in:
17903 * testsuite/Makefile.am:
17904 * testsuite/controller/.cvsignore:
17905 * testsuite/controller/Makefile.am:
17906 * testsuite/controller/interpolator.c: (main):
17907 added controller code
17908 removed dparam pc files
17910 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
17911 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
17912 (gst_collectpads_stop):
17913 Broadcast the condition when shutting down, to make sure we wake all
17914 threads up. Shut down pads on finalize, for safety.
17916 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
17917 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17918 (gst_base_transform_handle_buffer),
17919 (gst_base_transform_change_state):
17920 Handle PAUSED->READY->PAUSED transition after negotiation
17922 * gst/gstmessage.c: (gst_message_init):
17923 Extra piece of debug for new messages.
17925 2005-08-01 Stefan Kost <ensonic@users.sf.net>
17928 * docs/gst/tmpl/gstbasesrc.sgml:
17929 * docs/gst/tmpl/gstelement.sgml:
17930 * docs/gst/tmpl/gstevent.sgml:
17931 * docs/gst/tmpl/gstfakesrc.sgml:
17932 * docs/gst/tmpl/gstformat.sgml:
17933 * docs/gst/tmpl/gstghostpad.sgml:
17934 * docs/gst/tmpl/gstpad.sgml:
17935 * docs/gst/tmpl/gstquery.sgml:
17936 * docs/gst/tmpl/gststructure.sgml:
17937 * docs/gst/tmpl/gsttaglist.sgml:
17938 * docs/gst/tmpl/gstvalue.sgml:
17939 * docs/libs/gstreamer-libs-docs.sgml:
17940 * docs/libs/gstreamer-libs-sections.txt:
17941 * docs/libs/gstreamer-libs.types:
17942 * libs/gst/Makefile.am:
17943 * libs/gst/control/.cvsignore:
17944 * libs/gst/control/Makefile.am:
17945 * libs/gst/control/control.c:
17946 * libs/gst/control/control.h:
17947 * libs/gst/control/dparam.c:
17948 * libs/gst/control/dparam.h:
17949 * libs/gst/control/dparam_smooth.c:
17950 * libs/gst/control/dparam_smooth.h:
17951 * libs/gst/control/dparamcommon.h:
17952 * libs/gst/control/dparammanager.c:
17953 * libs/gst/control/dparammanager.h:
17954 * libs/gst/control/dplinearinterp.c:
17955 * libs/gst/control/dplinearinterp.h:
17956 * libs/gst/control/unitconvert.c:
17957 * libs/gst/control/unitconvert.h:
17958 * testsuite/Makefile.am:
17959 * testsuite/dynparams/.cvsignore:
17960 * testsuite/dynparams/Makefile.am:
17961 * testsuite/dynparams/dparamstest.c:
17962 * tools/Makefile.am:
17963 * tools/gst-inspect.c: (print_element_info), (main):
17964 * tools/gst-xmlinspect.c: (print_element_info), (main):
17965 deactivate and remove dparams (libgstcontrol)
17967 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
17969 * gst/elements/gsttypefindelement.c:
17970 (gst_type_find_element_have_type), (gst_type_find_element_init),
17971 (stop_typefinding), (gst_type_find_element_handle_event),
17972 (gst_type_find_element_chain), (gst_type_find_element_getrange):
17973 * gst/elements/gsttypefindelement.h:
17974 Set caps on all outgoing buffers, not just the first one.
17976 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
17978 * gst/elements/gsttypefindelement.c:
17979 (gst_type_find_element_have_type),
17980 (gst_type_find_element_check_set_buffer_caps),
17981 (gst_type_find_element_init), (stop_typefinding),
17982 (gst_type_find_element_handle_event),
17983 (gst_type_find_element_chain), (gst_type_find_element_getrange):
17984 * gst/elements/gsttypefindelement.h:
17985 Set caps on first outgoing buffer when we've found the type.
17987 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
17989 * docs/gst/gstreamer-docs.sgml:
17990 * docs/gst/gstreamer-sections.txt:
17991 * docs/gst/tmpl/gstscheduler.sgml:
17992 * docs/gst/tmpl/gstschedulerfactory.sgml:
17993 Remove some old cruft from docs.
17995 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
17998 Fix inline docs for GstPadLinkReturn.
18000 * gst/gststructure.c: (gst_structure_has_name):
18001 * gst/gststructure.h:
18002 * docs/gst/gstreamer-sections.txt:
18003 New API: gst_structure_has_name().
18005 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
18008 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18009 and _LARGEFILE_SOURCE in config.h as required. Do not
18010 export those flags in our .pc files any longer (#142209).
18012 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18014 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18015 (gst_file_sink_do_seek), (gst_file_sink_event),
18016 (gst_file_sink_get_current_offset), (gst_file_sink_render):
18017 Redo seek/tell calls with large file support in mind; add some
18018 debugging messages; add log message that tells us when large
18019 file support is unavailable or not enabled for some reason.
18021 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18022 Add log message that tells us when large file support
18023 is unavailable or not enabled for some reason.
18025 2005-07-29 Wim Taymans <wim@fluendo.com>
18027 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18028 Added test for removing an element with ghostpad from a bin.
18029 Fixed test as current implementation does the right thing.
18031 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18032 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18033 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18034 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18035 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18036 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18037 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18038 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18039 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18040 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18041 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18042 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18043 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18044 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18045 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18046 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18047 * gst/gstghostpad.h:
18048 Clean up ghostpads, remove properties for internal stuff.
18051 Prepare for switching targets, not all use cases work yet.
18053 2005-07-29 Wim Taymans <wim@fluendo.com>
18055 * docs/design/part-gstghostpad.txt:
18058 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18059 (gst_bin_remove_func):
18060 Unlinking pads while holding the bin LOCK is not a good
18063 * gst/gstpad.c: (gst_pad_class_init),
18064 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18065 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18066 No prob setting template after creating the pad.
18068 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
18070 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18071 (gst_bus_peek), (gst_bus_source_dispatch),
18072 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18073 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18074 gst_bus_poll may be called from other threads. Handle
18075 this nicely by not making poll_data disappear off the
18076 stack once gst_bus_poll returns.
18077 gst_bus_peek now increments the refcount on the returned
18080 2005-07-29 Wim Taymans <wim@fluendo.com>
18082 * docs/design/part-gstghostpad.txt:
18083 Overview of current GhostPad datastructures and use
18084 cases for changing the target.
18086 2005-07-28 Wim Taymans <wim@fluendo.com>
18088 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18089 Added checks for hierarchy consistency whan adding linked
18092 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18093 Added check to test element scheduling without bin/pipeline.
18095 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18096 First add elements to bin, then link.
18098 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18099 (gst_bin_remove_func):
18100 Unlink pads from elements added/removed from bin to maintain
18101 hierarchy consistency.
18103 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18105 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18106 (gst_base_transform_handle_buffer):
18107 * gst/base/gstbasetransform.h:
18108 Remove broken delay_configure (fixes renegotiation of software
18109 scaling pipelines); remove some leftover printf()s.
18111 2005-07-28 Wim Taymans <wim@fluendo.com>
18113 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18114 Added some more tests for wrong hierarchy
18116 * docs/design/part-overview.txt:
18119 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18122 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18123 (gst_element_dispose):
18124 Some more cleanups.
18126 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18127 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18128 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18129 (gst_pad_set_caps), (gst_pad_send_event):
18130 Check for correct hierarchy when linking pads. Moving to
18131 strict requirement for ghostpads when linking elements in
18135 Clean ups. Added WRONG_HIERARCHY return value.
18137 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18139 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18140 Better debug if no transform is possible.
18142 2005-07-27 Wim Taymans <wim@fluendo.com>
18144 * docs/random/wtay/network-transp:
18145 Some old doc I had.
18147 2005-07-27 Wim Taymans <wim@fluendo.com>
18149 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18150 (gst_dp_event_from_packet):
18151 Fix serialization of seek events.
18153 2005-07-27 Wim Taymans <wim@fluendo.com>
18155 * check/gst-libs/gdp.c: (GST_START_TEST):
18156 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18157 Fix compilation and fix event serialization.
18159 2005-07-27 Wim Taymans <wim@fluendo.com>
18162 * docs/design/part-TODO.txt:
18163 * docs/design/part-events.txt:
18166 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18167 (gst_base_sink_event), (gst_base_sink_do_sync),
18168 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18169 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18170 (gst_base_src_do_seek), (gst_base_src_event_handler),
18171 (gst_base_src_loop):
18172 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18173 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18174 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18175 (gst_base_transform_event), (gst_base_transform_handle_buffer),
18176 (gst_base_transform_set_passthrough),
18177 (gst_base_transform_is_passthrough):
18178 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18179 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18185 * gst/gstelement.c: (gst_element_seek):
18186 * gst/gstelement.h:
18187 Update gst_element_seek.
18189 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18190 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18191 (gst_event_new_flush_start), (gst_event_new_flush_stop),
18192 (gst_event_new_eos), (gst_event_new_newsegment),
18193 (gst_event_parse_newsegment), (gst_event_new_tag),
18194 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18195 (gst_event_parse_qos), (gst_event_new_seek),
18196 (gst_event_parse_seek), (gst_event_new_navigation):
18198 Make GstEvent use GstStructure. Add parsing code, make sure the
18199 API is sufficiently generic.
18200 Mark possible directions of events and serialization.
18202 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18203 (_gst_message_copy), (gst_message_new_segment_start),
18204 (gst_message_new_segment_done), (gst_message_new_custom),
18205 (gst_message_parse_segment_start),
18206 (gst_message_parse_segment_done):
18209 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18210 (gst_pad_set_caps), (gst_pad_send_event):
18211 Update for new events.
18212 Catch events sent in wrong directions.
18214 * gst/gstqueue.c: (gst_queue_link_src),
18215 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18216 (gst_queue_handle_src_query):
18221 Remove event code from this file.
18223 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18224 (gst_dp_event_from_packet):
18227 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18229 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18230 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18231 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18232 Make debugging actually useful.
18234 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18236 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18237 (gst_pad_fixate_caps):
18238 Implement default fixation once again, so that gst_pad_fixate()
18239 actually does anything at all. This probably needs to be some
18240 sort of a last resort, and use profile-based fixation first, but
18241 since that doesn't exist yet, this is the best we have. Fixes
18242 visualization in Totem.
18244 2005-07-22 Wim Taymans <wim@fluendo.com>
18246 * docs/design/part-events.txt:
18249 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18250 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18251 (gst_base_sink_activate_pull):
18252 Some more comments.
18254 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18255 (gst_fake_src_create):
18256 Fix handoff marshall.
18258 * gst/elements/gstidentity.c: (gst_identity_class_init),
18259 (gst_identity_transform_ip):
18260 We're a real inplace element.
18262 * gst/gstbus.c: (gst_bus_post):
18263 Added some comments.
18265 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18266 * tests/muxing/case1.c: (main):
18267 * tests/sched/dynamic-pipeline.c: (main):
18268 * tests/sched/interrupt1.c: (main):
18269 * tests/sched/interrupt2.c: (main):
18270 * tests/sched/interrupt3.c: (main):
18271 * tests/sched/runxml.c: (main):
18272 * tests/sched/sched-stress.c: (main):
18273 * tests/seeking/seeking1.c: (event_received), (main):
18274 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18276 * tests/threadstate/threadstate3.c: (main):
18277 * tests/threadstate/threadstate4.c: (main):
18278 * tests/threadstate/threadstate5.c: (main):
18281 2005-07-21 Wim Taymans <wim@fluendo.com>
18283 * docs/design/part-seeking.txt:
18284 Some small additions.
18286 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18287 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18288 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18289 * gst/base/gstbasesink.h:
18290 discont values are gint64, handle the math correctly.
18292 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18293 Make the basesrc report error if the source pad is not linked.
18295 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18296 (gst_queue_loop), (gst_queue_handle_src_query),
18297 (gst_queue_src_activate_push):
18298 Make queue collect data even if the srcpad is not linked.
18299 Start pushing out data as soon as it is linked.
18301 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18303 Added gst_flow_get_name() to ease error reporting.
18305 2005-07-20 Wim Taymans <wim@fluendo.com>
18307 * gst/gstmessage.c: (gst_message_new_segment_start),
18308 (gst_message_new_segment_done), (gst_message_parse_segment_start),
18309 (gst_message_parse_segment_done):
18310 * gst/gstmessage.h:
18311 Added a bunch of messages for advanced seeking.
18313 * gst/parse/grammar.y:
18314 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18315 (gst_dpman_state_changed):
18316 Fix some new-pad -> pad-added signals
18318 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18320 * docs/manual/appendix-porting.xml:
18321 * docs/pwg/appendix-porting.xml:
18322 Document new-pad/state-change signal renames and the FixedList
18325 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18327 * docs/manual/advanced-autoplugging.xml:
18328 * docs/manual/basics-helloworld.xml:
18329 * docs/manual/basics-pads.xml:
18330 * docs/random/ds/0.9-suggested-changes:
18331 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18332 * gst/gstelement.h:
18336 * gst/gststructure.c: (gst_structure_value_get_generic_type),
18337 (gst_structure_parse_array), (gst_structure_parse_value):
18338 * gst/gstvalue.c: (gst_type_is_fixed),
18339 (gst_value_list_prepend_value), (gst_value_list_append_value),
18340 (gst_value_list_get_size), (gst_value_list_get_value),
18341 (gst_value_transform_array_string), (gst_value_serialize_array),
18342 (gst_value_deserialize_array), (gst_value_intersect_array),
18343 (gst_value_is_fixed), (_gst_value_initialize):
18345 GstElement::new-pad -> pad-added, GstElement::state-change ->
18346 state-changed, GstValueFixedList -> GstValueArray, add format and
18347 flags as their own arguments in gst_element_seek() (should improve
18348 "bindeability"), remove function generators since they don't work
18349 under a whole bunch of compilers (they were deprecated already
18352 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18354 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18355 (_gst_debug_register_funcptr):
18357 Fix illegal cast on some platforms (#309253).
18359 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18361 * gst/gstmessage.c: (gst_message_new_custom):
18362 * gst/gstmessage.h:
18363 Add _new_custom, make _new_application a macro to _new_custom.
18365 2005-07-20 Wim Taymans <wim@fluendo.com>
18367 * gst/base/gstbasesrc.c: (gst_base_src_init),
18368 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18369 * gst/base/gstbasesrc.h:
18370 Add a gboolean to decide when to push out a discont.
18372 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18373 (gst_queue_loop), (gst_queue_handle_src_query),
18374 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18375 (gst_queue_set_property), (gst_queue_get_property):
18378 * tests/threadstate/threadstate1.c: (main):
18379 Make a thread test compile and run... very silly..
18382 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18384 * docs/manual/appendix-porting.xml:
18385 Mention removal of libgstgconf-0.9.la and existence of gconf
18388 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18390 * docs/pwg/advanced-clock.xml:
18391 * docs/pwg/appendix-porting.xml:
18392 * docs/pwg/intro-preface.xml:
18393 * docs/pwg/other-base.xml:
18394 * docs/pwg/other-manager.xml:
18395 * docs/pwg/other-nton.xml:
18396 * docs/pwg/other-ntoone.xml:
18397 * docs/pwg/other-oneton.xml:
18398 * docs/pwg/pwg.xml:
18399 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18400 demuxer), remove n-to-n (was never written), fix some code examples
18401 and links and update the porting section to include all this.
18403 2005-07-19 Wim Taymans <wim@fluendo.com>
18405 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18406 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18407 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18408 (gst_queue_src_activate_push), (gst_queue_change_state),
18409 (gst_queue_get_property):
18411 Propagate GstFlowReturn more intelligently upstream and output
18412 an ERROR/EOS when streaming stopped due to fatal error.
18414 2005-07-19 Wim Taymans <wim@fluendo.com>
18416 * tools/gst-launch.c: (check_intr), (event_loop), (main):
18417 Don't block forever for the state change to complete, the
18418 pipeline already did with a sensible timeout.
18420 2005-07-19 Wim Taymans <wim@fluendo.com>
18422 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18423 Make sure we never call the create function is we
18426 2005-07-19 Andy Wingo <wingo@pobox.com>
18428 * gst/parse/parse.l: Attempt to solve bug #172815.
18430 2005-07-19 Wim Taymans <wim@fluendo.com>
18432 * docs/design/part-clocks.txt:
18433 * docs/design/part-events.txt:
18434 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18435 Small docs updates.
18436 Only update the seeking values when we are not
18439 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18441 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18442 Oops, ignore the result of gst_pad_push_event here.
18444 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18446 * gst/base/gstbasesrc.c: (gst_base_src_loop),
18447 (gst_base_src_activate_push):
18448 Send discont event from the loop function, as pads
18449 aren't activated yet in the activate_push handler.
18451 * gst/gstbin.c: (bin_bus_handler):
18452 Don't leak element name.
18454 2005-07-18 Andy Wingo <wingo@pobox.com>
18456 * configure.ac: Use AS_LIBTOOL_TAGS.
18458 2005-07-18 Wim Taymans <wim@fluendo.com>
18460 * docs/gst/gstreamer.types:
18461 Remove deleted types.
18463 2005-07-18 Wim Taymans <wim@fluendo.com>
18465 * check/elements/gstfakesrc.c: (GST_START_TEST):
18468 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18469 (init_popt_callback):
18471 * gst/gst_private.h:
18472 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18473 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18476 * gst/gstconfig.h.in:
18477 * gst/gstelement.c: (gst_element_class_init),
18478 (gst_element_set_base_time), (gst_element_get_base_time),
18479 (iterator_fold_with_resync), (gst_element_change_state),
18480 (gst_element_dispose), (gst_element_get_bus):
18481 * gst/gstelement.h:
18482 * gst/gstelementfactory.h:
18483 * gst/gsterror.c: (_gst_core_errors_init):
18486 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18488 * gst/gstinfo.c: (_gst_debug_init):
18489 * gst/gstmessage.c: (_gst_message_copy):
18490 * gst/gstmessage.h:
18491 * gst/gstminiobject.h:
18494 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18495 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18498 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18499 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18500 (gst_pipeline_get_last_stream_time):
18501 * gst/gstpipeline.h:
18502 * gst/gstpluginfeature.h:
18504 * gst/gstscheduler.c:
18505 * gst/gstscheduler.h:
18506 * gst/gststructure.h:
18507 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18508 (gst_task_finalize), (gst_task_func), (gst_task_create),
18509 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18510 (gst_task_stop), (gst_task_pause):
18512 * gst/gsttypefind.h:
18514 * gst/registries/gstlibxmlregistry.c: (load_feature),
18515 (gst_xml_registry_load), (gst_xml_registry_save_feature):
18516 * gst/registries/gstxmlregistry.c:
18517 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18518 * gst/schedulers/threadscheduler.c:
18519 * libs/gst/control/dparammanager.h:
18520 * tools/gst-inspect.c: (print_element_list),
18521 (print_plugin_features), (print_element_features):
18522 * tools/gst-xmlinspect.c: (print_element_list),
18523 (print_plugin_info), (main):
18524 Removed plugable schedulers.
18525 Removed Scheduler/Manager from elements.
18526 Removed gsttypes.h, rearranged includes.
18527 Removed dependency pad<->element, element<>pipeline, and
18528 various others, fix includes.
18529 implement gst_pad_get_parent() with gst_object_get_parent()
18530 Make GstTask sefcontained.
18531 Fix _get_state() on GstBin, it did not return ASYNC with a 0
18533 Fix endless loop in iterator_fold_with_resync.
18536 2005-07-18 Wim Taymans <wim@fluendo.com>
18542 2005-07-18 Wim Taymans <wim@fluendo.com>
18545 No more cothreads.h
18547 2005-07-18 Wim Taymans <wim@fluendo.com>
18551 Let's remove these.
18553 2005-07-18 Wim Taymans <wim@fluendo.com>
18555 * docs/design/part-dynamic.txt:
18556 * docs/design/part-events.txt:
18557 * docs/design/part-seeking.txt:
18558 Some more docs in the works.
18560 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18561 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18562 (gst_base_transform_setcaps), (gst_base_transform_get_size),
18563 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18564 (gst_base_transform_handle_buffer),
18565 (gst_base_transform_sink_activate_push),
18566 (gst_base_transform_src_activate_pull),
18567 (gst_base_transform_set_passthrough),
18568 (gst_base_transform_is_passthrough):
18571 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18574 * gst/gstevent.c: (gst_event_finalize):
18577 * gst/gstutils.c: (gst_element_unlink),
18578 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18579 (gst_pad_proxy_setcaps):
18581 Add _get_parent_element() to get a pads parent as an element.
18583 2005-07-18 Wim Taymans <wim@fluendo.com>
18585 * check/gst/gstbin.c: (GST_START_TEST):
18588 2005-07-18 Wim Taymans <wim@fluendo.com>
18590 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18591 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18592 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18593 (gst_base_sink_event), (gst_base_sink_do_sync),
18594 (gst_base_sink_chain), (gst_base_sink_loop),
18595 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18596 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18598 Fix logic for returning ASYNC when not prerolled.
18600 2005-07-18 Wim Taymans <wim@fluendo.com>
18602 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18603 Fix nasty refcount bug.
18605 2005-07-16 Philippe Khalaf <burger@speedy.org>
18607 * gst/elements/gstfdsrc.c:
18608 * gst/elements/gstfdsrc.h:
18609 * gst/elements/gstelements.c:
18610 * gst/elements/Makefile.am:
18611 Ported fdsrc to 0.9.
18613 2005-07-16 Wim Taymans <wim@fluendo.com>
18615 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18616 (gst_base_sink_do_sync):
18619 2005-07-16 Wim Taymans <wim@fluendo.com>
18621 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18622 (gst_base_sink_event), (gst_base_sink_get_times),
18623 (gst_base_sink_do_sync), (gst_base_sink_change_state):
18624 * gst/base/gstbasesink.h:
18625 Store and use discont values when syncing buffers as described
18628 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18629 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18630 (gst_base_src_activate_push):
18631 Push discont event when starting.
18633 * gst/elements/gstidentity.c: (gst_identity_transform):
18636 * gst/gstbin.c: (gst_bin_change_state):
18637 Small cleanups in base_time distribution.
18639 * gst/gstelement.c: (gst_element_set_base_time),
18640 (gst_element_get_base_time), (gst_element_change_state):
18641 * gst/gstelement.h:
18642 Added methods for the base_time of the element.
18645 * gst/gstpipeline.c: (gst_pipeline_send_event),
18646 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18647 (gst_pipeline_get_last_stream_time):
18648 * gst/gstpipeline.h:
18650 Handle seeking as described in design doc, remove stream_time
18652 Cleanups clock and stream_time selection code. Added accessors
18653 for the stream_time.
18656 2005-07-16 Andy Wingo <wingo@pobox.com>
18658 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18661 2005-07-16 Wim Taymans <wim@fluendo.com>
18663 * check/gst/gstbin.c: (GST_START_TEST):
18664 Make elements silent as the deep_notify refs the
18665 parent, which might make the test fail.
18667 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18668 Don't hold the lock for too long.
18670 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
18672 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18673 Don't unref the caps we passed to gst_caps_make_writable() after
18674 passing them. gst_caps_make_writable() will do that for us.
18676 2005-07-15 Andy Wingo <wingo@pobox.com>
18678 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18681 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18682 own marshalling function for the handoff signal. Properly type the
18683 buffer as a buffer. Fixes some warnings. Should do a more general
18685 (gst_identity_class_init): Plug into the right marshaller.
18687 2005-07-15 Wim Taymans <wim@fluendo.com>
18689 * docs/design/part-TODO.txt:
18690 * docs/design/part-clocks.txt:
18691 * docs/design/part-element-sink.txt:
18692 * docs/design/part-events.txt:
18693 * docs/design/part-gstpipeline.txt:
18694 Updated docs, mostly DISCONT related.
18696 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
18698 * docs/pwg/building-pads.xml:
18699 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
18701 2005-07-15 Andy Wingo <wingo@pobox.com>
18703 * tools/gst-typefind.c: Update, add copyright block.
18705 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
18706 Normalize and truncate caps before fixation.
18709 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
18710 discards all but the first structure from its argument.
18712 2005-07-15 Wim Taymans <wim@fluendo.com>
18714 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18715 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
18716 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18717 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18718 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
18719 (gst_base_transform_chain), (gst_base_transform_change_state),
18720 (gst_base_transform_set_passthrough),
18721 (gst_base_transform_is_passthrough):
18722 * gst/base/gstbasetransform.h:
18723 Make passthrough work using the bufferpools.
18724 Changed API a bit, subclasses have to write into a buffer
18725 provided by the base class.
18726 More debug info in nego functions.
18728 * gst/elements/gstidentity.c: (gst_identity_init),
18729 (gst_identity_transform):
18730 Port to new base class.
18732 2005-07-15 Wim Taymans <wim@fluendo.com>
18734 * gst/gstmessage.c: (gst_message_new_state_changed):
18735 * tools/gst-launch.c: (event_loop), (main):
18736 Totally dump messages in -launch with the -m option.
18737 Fix message name for State messages,
18739 2005-07-14 Wim Taymans <wim@fluendo.com>
18741 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18742 Post error messages on errors.
18744 2005-07-14 Wim Taymans <wim@fluendo.com>
18746 * gst/gstcaps.c: (gst_caps_do_simplify):
18750 Define error for stream stopped.
18752 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18753 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
18754 Do proper return values.
18756 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18757 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
18758 (gst_pad_get_range):
18759 Better return values.
18762 Reorganise return values, add macro to check for fatal errors.
18764 * gst/gstqueue.c: (gst_queue_chain):
18765 Return proper GstFlowReturn values,
18767 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
18769 * docs/gst/gstreamer-sections.txt:
18770 * docs/gst/gstreamer.types:
18771 * docs/gst/tmpl/gst.sgml:
18772 * docs/gst/tmpl/gstbasesink.sgml:
18773 * docs/gst/tmpl/gstbasesrc.sgml:
18774 * docs/gst/tmpl/gstbasetransform.sgml:
18775 * docs/gst/tmpl/gstbin.sgml:
18776 * docs/gst/tmpl/gstbuffer.sgml:
18777 * docs/gst/tmpl/gstcaps.sgml:
18778 * docs/gst/tmpl/gstclock.sgml:
18779 * docs/gst/tmpl/gstcompat.sgml:
18780 * docs/gst/tmpl/gstconfig.sgml:
18781 * docs/gst/tmpl/gstelement.sgml:
18782 * docs/gst/tmpl/gstelementdetails.sgml:
18783 * docs/gst/tmpl/gstelementfactory.sgml:
18784 * docs/gst/tmpl/gstenumtypes.sgml:
18785 * docs/gst/tmpl/gsterror.sgml:
18786 * docs/gst/tmpl/gstevent.sgml:
18787 * docs/gst/tmpl/gstfakesink.sgml:
18788 * docs/gst/tmpl/gstfakesrc.sgml:
18789 * docs/gst/tmpl/gstfilesink.sgml:
18790 * docs/gst/tmpl/gstfilesrc.sgml:
18791 * docs/gst/tmpl/gstfilter.sgml:
18792 * docs/gst/tmpl/gstformat.sgml:
18793 * docs/gst/tmpl/gstghostpad.sgml:
18794 * docs/gst/tmpl/gstimplementsinterface.sgml:
18795 * docs/gst/tmpl/gstindex.sgml:
18796 * docs/gst/tmpl/gstindexfactory.sgml:
18797 * docs/gst/tmpl/gstinfo.sgml:
18798 * docs/gst/tmpl/gstiterator.sgml:
18799 * docs/gst/tmpl/gstmacros.sgml:
18800 * docs/gst/tmpl/gstmemchunk.sgml:
18801 * docs/gst/tmpl/gstminiobject.sgml:
18802 * docs/gst/tmpl/gstobject.sgml:
18803 * docs/gst/tmpl/gstpad.sgml:
18804 * docs/gst/tmpl/gstpadtemplate.sgml:
18805 * docs/gst/tmpl/gstparse.sgml:
18806 * docs/gst/tmpl/gstpipeline.sgml:
18807 * docs/gst/tmpl/gstplugin.sgml:
18808 * docs/gst/tmpl/gstpluginfeature.sgml:
18809 * docs/gst/tmpl/gstquery.sgml:
18810 * docs/gst/tmpl/gstqueue.sgml:
18811 * docs/gst/tmpl/gstregistry.sgml:
18812 * docs/gst/tmpl/gstregistrypool.sgml:
18813 * docs/gst/tmpl/gstscheduler.sgml:
18814 * docs/gst/tmpl/gstschedulerfactory.sgml:
18815 * docs/gst/tmpl/gststructure.sgml:
18816 * docs/gst/tmpl/gstsystemclock.sgml:
18817 * docs/gst/tmpl/gsttaglist.sgml:
18818 * docs/gst/tmpl/gsttagsetter.sgml:
18819 * docs/gst/tmpl/gsttrace.sgml:
18820 * docs/gst/tmpl/gsttrashstack.sgml:
18821 * docs/gst/tmpl/gsttypefind.sgml:
18822 * docs/gst/tmpl/gsttypefindfactory.sgml:
18823 * docs/gst/tmpl/gsttypes.sgml:
18824 * docs/gst/tmpl/gsturihandler.sgml:
18825 * docs/gst/tmpl/gsturitype.sgml:
18826 * docs/gst/tmpl/gstutils.sgml:
18827 * docs/gst/tmpl/gstvalue.sgml:
18828 * docs/gst/tmpl/gstversion.sgml:
18829 * docs/gst/tmpl/gstxml.sgml:
18830 * docs/libs/tmpl/gstcontrol.sgml:
18831 * docs/libs/tmpl/gstdataprotocol.sgml:
18832 * docs/libs/tmpl/gstdparam.sgml:
18833 * docs/libs/tmpl/gstdplinint.sgml:
18834 * docs/libs/tmpl/gstdpman.sgml:
18835 * docs/libs/tmpl/gstdpsmooth.sgml:
18836 * docs/libs/tmpl/gstgetbits.sgml:
18837 * docs/libs/tmpl/gstunitconvert.sgml:
18838 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
18839 (gst_push_src_base_init), (gst_push_src_class_init),
18840 (gst_push_src_init), (gst_push_src_create):
18841 * gst/base/gstpushsrc.h:
18842 * gst/elements/gstelements.c:
18843 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
18844 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
18845 (gst_fake_sink_init), (gst_fake_sink_set_property),
18846 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
18847 (gst_fake_sink_event), (gst_fake_sink_preroll),
18848 (gst_fake_sink_render), (gst_fake_sink_change_state):
18849 * gst/elements/gstfakesink.h:
18850 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18851 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18852 (gst_fake_src_base_init), (gst_fake_src_class_init),
18853 (gst_fake_src_init), (gst_fake_src_event_handler),
18854 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
18855 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
18856 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
18857 (gst_fake_src_create_buffer), (gst_fake_src_create),
18858 (gst_fake_src_start), (gst_fake_src_stop):
18859 * gst/elements/gstfakesrc.h:
18860 * gst/elements/gstfilesink.c: (_do_init),
18861 (gst_file_sink_base_init), (gst_file_sink_class_init),
18862 (gst_file_sink_init), (gst_file_sink_dispose),
18863 (gst_file_sink_set_location), (gst_file_sink_set_property),
18864 (gst_file_sink_get_property), (gst_file_sink_open_file),
18865 (gst_file_sink_close_file), (gst_file_sink_query),
18866 (gst_file_sink_event), (gst_file_sink_render),
18867 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
18868 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
18869 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
18870 * gst/elements/gstfilesink.h:
18871 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
18872 (gst_file_src_class_init), (gst_file_src_init),
18873 (gst_file_src_finalize), (gst_file_src_set_location),
18874 (gst_file_src_set_property), (gst_file_src_get_property),
18875 (gst_file_src_map_region), (gst_file_src_map_small_region),
18876 (gst_file_src_create_mmap), (gst_file_src_create_read),
18877 (gst_file_src_create), (gst_file_src_is_seekable),
18878 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
18879 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
18880 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
18881 (gst_file_src_uri_handler_init):
18882 * gst/elements/gstfilesrc.h:
18883 more autistic cleanliness in functions/names/defines
18885 2005-07-13 Andy Wingo <wingo@pobox.com>
18887 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
18888 source couldn't negotiate.
18890 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
18894 * gst/gstutils.c (gst_element_link_pads_filtered): New old
18895 function. I am channeling Hades. Put your boots on suckers!!!
18897 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
18899 * testsuite/caps/Makefile.am:
18900 * testsuite/caps/value_compare.c:
18901 * testsuite/caps/value_intersect.c:
18902 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18903 move two testsuite apps over to the check dir
18905 2005-07-12 Wim Taymans <wim@fluendo.com>
18907 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18908 Added more debug info in the negotiate process.
18910 * gst/gstmessage.h:
18911 Prepare for segment playback.
18913 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
18919 * tools/gst-launch.c: (main):
18920 NULL pipeline on errors.
18922 2005-07-12 Andy Wingo <wingo@pobox.com>
18924 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
18925 not it comes from a malloc region. Make sure our copy gets freed.
18927 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
18929 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18930 * check/gst/gstmessage.c: (GST_START_TEST):
18931 * check/gst/gststructure.c: (GST_START_TEST),
18932 (gst_structure_suite), (main):
18934 * gst/gstelement.c: (gst_element_message_full):
18935 clean up GError and debug string now that they get copied
18936 * gst/gstmessage.c: (gst_message_new_error),
18937 (gst_message_new_warning), (gst_message_parse_error),
18938 (gst_message_parse_warning):
18939 use GST_TYPE_G_ERROR for structure_new, and take copies of
18940 arguments, so that we don't mess up refcounting
18942 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
18944 * check/Makefile.am:
18945 add per-test valgrind targets
18946 * check/gst-libs/gdp.c: (GST_START_TEST),
18947 (gst_data_protocol_suite), (main):
18950 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
18952 * check/Makefile.am:
18953 instate more valgrindable tests
18954 * check/elements/gstfakesrc.c: (chain_func), (event_func),
18955 (GST_START_TEST), (fakesrc_suite):
18956 * check/gst/gstpad.c: (GST_START_TEST):
18957 * check/gst/gststructure.c: (GST_START_TEST):
18959 * docs/gst/tmpl/gstminiobject.sgml:
18960 * gst/gstpad.c: (gst_pad_finalize):
18961 fix the static mutex leak
18963 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
18965 * check/Makefile.am:
18966 add two more tests for valgrinding
18967 * check/gst/gstvalue.c: (GST_START_TEST):
18968 test refcount of deserialized buffer, found a leak
18969 * docs/gst/gstreamer-docs.sgml:
18970 * docs/gst/gstreamer-sections.txt:
18971 * docs/gst/gstreamer.types:
18972 * docs/gst/tmpl/gstminiobject.sgml:
18973 add miniobject to docs
18974 * gst/gstminiobject.c:
18976 * gst/gstvalue.c: (gst_value_deserialize_buffer),
18977 (gst_string_unwrap):
18978 fix a hard-to-find invalid write for one of the tests
18979 fix a leak for deserialized buffers
18981 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18983 * docs/pwg/advanced-events.xml:
18984 * docs/pwg/advanced-request.xml:
18985 * docs/pwg/advanced-scheduling.xml:
18986 * docs/pwg/appendix-porting.xml:
18987 * docs/pwg/building-boiler.xml:
18988 * docs/pwg/intro-preface.xml:
18989 * docs/pwg/other-ntoone.xml:
18990 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
18991 of example code and explanation for pad activation, loop() and
18992 getrange() functions and a bit more. Remove old comments pointing
18994 * examples/pwg/Makefile.am:
18995 Add loop/getrange examples.
18997 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19000 check for valgrind binary + some fixes
19002 valgrind suppressions for the tests
19003 * check/Makefile.am:
19004 add a valgrind: target that valgrinds the unit tests
19005 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19006 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19007 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19008 * check/gst/gstghostpad.c:
19010 * check/gst/gstdata.c:
19012 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19013 (thread_unref), (gst_mini_object_suite), (main):
19015 * gst/gst.c: (gst_deinit):
19017 add a method to clean up.
19018 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19019 (gst_system_clock_obtain):
19020 allow for disposing the system clock.
19021 * tools/gst-launch.c: (main):
19024 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19026 * docs/gst/tmpl/gstbasesrc.sgml:
19027 * docs/gst/tmpl/gstfakesrc.sgml:
19028 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19029 (gst_base_src_init), (gst_base_src_set_property),
19030 (gst_base_src_get_property), (gst_base_src_get_range),
19031 (gst_base_src_start):
19032 * gst/base/gstbasesrc.h:
19033 add num-buffers property
19034 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19035 (gst_fakesrc_init), (gst_fakesrc_set_property),
19036 (gst_fakesrc_get_property), (gst_fakesrc_create),
19037 (gst_fakesrc_start):
19038 remove num-buffers property
19040 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19042 * docs/gst/gstreamer-sections.txt:
19043 * docs/gst/tmpl/gstbasesink.sgml:
19044 * docs/gst/tmpl/gstbasesrc.sgml:
19045 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19046 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19047 (gst_base_sink_finalize), (gst_base_sink_set_clock),
19048 (gst_base_sink_set_property), (gst_base_sink_get_property),
19049 (gst_base_sink_handle_object), (gst_base_sink_event),
19050 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19051 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19052 (gst_base_sink_loop), (gst_base_sink_deactivate),
19053 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19054 (gst_base_sink_change_state):
19055 * gst/base/gstbasesink.h:
19056 * gst/base/gstbasesrc.h:
19057 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19058 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19059 (gst_filesink_init):
19060 more macro splitting
19062 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19064 * gst/gstelement.c: (gst_element_get_bus):
19066 * tools/gst-launch.c: (check_intr), (event_loop):
19069 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19071 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19074 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19076 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19077 (gst_base_src_finalize):
19078 add finalize method and clean up properly
19079 * gst/gstpipeline.c: (gst_pipeline_dispose):
19082 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19084 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19086 add more things to check
19087 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19088 * gst/gstelement.c:
19091 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19093 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19094 (GST_START_TEST), (fakesrc_suite):
19095 * check/gst-libs/gdp.c: (GST_START_TEST):
19096 * check/gst/gst.c: (GST_START_TEST):
19097 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19098 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19099 * check/gst/gstbus.c: (GST_START_TEST):
19100 * check/gst/gstcaps.c: (GST_START_TEST):
19101 * check/gst/gstdata.c: (GST_START_TEST):
19102 * check/gst/gstelement.c: (GST_START_TEST):
19103 * check/gst/gstghostpad.c: (GST_START_TEST):
19104 * check/gst/gstiterator.c: (GST_START_TEST):
19105 * check/gst/gstmessage.c: (GST_START_TEST):
19106 * check/gst/gstobject.c: (GST_START_TEST):
19107 * check/gst/gstpad.c: (GST_START_TEST):
19108 * check/gst/gststructure.c: (GST_START_TEST):
19109 * check/gst/gstsystemclock.c: (GST_START_TEST),
19110 (gst_systemclock_suite):
19111 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19112 * check/gst/gstvalue.c: (GST_START_TEST):
19113 * check/pipelines/cleanup.c: (GST_START_TEST):
19114 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19115 * check/states/sinks.c: (GST_START_TEST):
19116 * check/gstcheck.c: (gst_check_init):
19117 * check/gstcheck.h:
19118 add debugging category
19119 use GST_START_TEST now, so we add a debug line
19121 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19123 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19124 add test for state change message on a bin
19125 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19127 * gst/gstbin.c: (gst_bin_init):
19128 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19129 * gst/gstelement.c: (gst_element_post_message),
19130 (gst_element_set_state):
19131 * gst/gstelementfactory.c: (gst_element_factory_create):
19132 * gst/gstmessage.c: (gst_message_new):
19133 * gst/gstscheduler.c:
19134 various debugging additions and cleanups
19136 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19138 * check/Makefile.am:
19139 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19141 adding tests for elements
19142 * gst/gstelement.c: (gst_element_dispose):
19144 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19146 * gst/registries/gstlibxmlregistry.c: (load_feature):
19147 plug more leaks. A simple gst_init() now is leakfree, yay.
19149 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19151 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19152 (gst_xml_registry_load):
19153 plug another memleak
19155 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19158 use GST_SET_ERROR_CFLAGS
19159 * docs/faq/cvs.xml:
19160 change to ERROR_CFLAGS
19162 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19165 make GST_ERROR_CFLAGS overridable and re-enable Werror
19166 * docs/faq/cvs.xml:
19167 add a note about error CFLAGS
19168 * docs/gst/tmpl/gstfakesrc.sgml:
19169 * gst/elements/gstfakesrc.c:
19170 comment out some unused code
19171 * gst/gst.c: (split_and_iterate):
19172 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19176 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19178 * common/Makefile.am:
19179 * common/gtk-doc.mak:
19180 * docs/gst/Makefile.am:
19181 factor out gtk-doc.mak
19183 2005-07-07 Wim Taymans <wim@fluendo.com>
19185 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19186 (gst_thread_scheduler_dispose):
19187 Unlock the STREAM_LOCK completely.
19189 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19191 * check/Makefile.am:
19192 * check/elements/.cvsignore:
19193 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19194 (START_TEST), (fakesrc_suite), (main):
19195 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19196 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19197 (gst_fakesrc_create), (gst_fakesrc_start):
19198 * gst/elements/gstfakesrc.h:
19199 adding a first element test
19201 2005-07-07 Andy Wingo <wingo@pobox.com>
19203 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19206 2005-07-07 Wim Taymans <wim@fluendo.com>
19212 2005-07-07 Wim Taymans <wim@fluendo.com>
19214 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19215 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19216 Allow subclasses to implement their own negotiation.
19218 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19220 * docs/design/part-gstbin.txt:
19221 * docs/design/part-gstpipeline.txt:
19222 Update design notes to reflect the movement of
19223 responsibility for bus handling from GstPipeline to
19226 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19229 Remove unnecessary queue2/3/4 examples.
19231 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19233 * examples/Makefile.am:
19234 * examples/helloworld/helloworld.c: (event_loop), (main):
19235 * examples/queue/queue.c: (event_loop), (main):
19236 * examples/queue2/queue2.c: (main):
19237 Update a couple of the examples to work again.
19239 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19240 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19241 Spelling corrections and extra debug.
19243 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19244 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19245 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19247 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19248 (gst_pipeline_change_state):
19249 * gst/gstpipeline.h:
19250 Move the bus handler for children to the GstBin, and create a
19251 separate bus for receiving messages from children to the one the
19252 bus sends 'upwards' on.
19254 2005-07-06 Wim Taymans <wim@fluendo.com>
19257 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19258 (gst_base_sink_handle_object), (gst_base_sink_loop),
19259 (gst_base_sink_change_state):
19260 * gst/base/gstbasesink.h:
19261 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19262 (gst_base_src_init), (gst_base_src_setcaps),
19263 (gst_base_src_getcaps), (gst_base_src_loop),
19264 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19265 (gst_base_src_start), (gst_base_src_change_state):
19266 * gst/base/gstbasesrc.h:
19267 Make basesrc negotiate.
19268 Handle the case where preroll fails in basesink.
19271 2005-07-06 Wim Taymans <wim@fluendo.com>
19273 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19274 Implement the fixate function.
19275 Clean up acceptcaps.
19277 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19279 * docs/pwg/building-filterfactory.xml:
19280 * docs/pwg/pwg.xml:
19281 Remove never-written filter-factory chapter; I'll add the various
19282 base classes to part 4 ("other element types") later on.
19284 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19286 * docs/pwg/advanced-negotiation.xml:
19287 * docs/pwg/building-boiler.xml:
19288 * docs/pwg/building-pads.xml:
19289 * docs/pwg/pwg.xml:
19290 * examples/pwg/Makefile.am:
19291 Add a chapter on caps negotiation, simplify the original code
19292 samples a bit w.r.t. caps negotiation, add link to the advanced
19293 section. Add a bunch of examples showing different use cases of
19294 different types of caps negotiation. Upstream renegotiation isn't
19295 fully documented yet since nobody knows how that works.
19297 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
19299 * check/gst/gstpad.c:
19300 * check/gstcheck.c:
19301 * gst/gstpad.c: (gst_pad_get_internal_links_default):
19302 if pad has no parent, return NULL as list of internal links
19304 2005-07-05 Andy Wingo <wingo@pobox.com>
19306 * gst/elements/gstfilesrc.c:
19307 * gst/elements/gstfakesrc.c:
19308 * gst/base/gstpushsrc.c:
19309 * gst/base/gstbasesrc.h:
19310 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19312 2005-07-05 Stefan Kost <ensonic@users.sf.net>
19315 better report generation target (lcov needs a patch)
19317 2005-07-05 Andy Wingo <wingo@pobox.com>
19319 * gst/elements, testsuite: Null if we got it...
19321 2005-07-05 Wim Taymans <wim@fluendo.com>
19324 * libs/gst/dataprotocol/Makefile.am:
19325 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19326 * libs/gst/dataprotocol/dataprotocol.h:
19327 * pkgconfig/Makefile.am:
19328 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19329 * pkgconfig/gstreamer-dataprotocol.pc.in:
19330 Ported dataprotol to 0.9.
19331 Added pkgconfig files.
19333 2005-07-05 Andy Wingo <wingo@pobox.com>
19335 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19336 Default to returning TRUE for the case when tranform_caps returns
19337 a fixed caps, like for identity or volume.
19339 * check/gst/gstbus.c (pound_bus_with_messages):
19340 * check/gst/gstmessage.c (START_TEST):
19341 * check/pipelines/simple_launch_lines.c (got_handoff): Application
19342 message API change.
19344 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19345 logic weaks here: always run transform_caps, trying passthrough
19346 operation only if the original caps intersects with the transform.
19348 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19349 source and sink caps.
19351 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19352 Intersect the peer caps with the pad template before going into
19354 (gst_base_transform_transform_caps): More debugging.
19356 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19359 2005-07-04 Edward Hervey <edward@fluendo.com>
19363 (gst_pad_add_*_probe): now returns the signal id for better wrapping
19366 2005-07-04 Andy Wingo <wingo@pobox.com>
19368 * check/gst/gstpad.c: Only set explicit caps on pads.
19370 2005-07-01 Andy Wingo <wingo@pobox.com>
19372 * tests/network-clock.scm: Commentary update.
19374 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19375 Didn't really make sense, not implementable with basetransform,
19377 (gst_identity_transform): Unref inbuf via make_writable. Feeble
19378 attempt at implementing the sync property, needs an unlock method.
19380 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19381 New func, by default returns the same caps (the identity
19383 (gst_base_transform_getcaps): Uses transform_caps to return
19384 something sensible.
19385 (gst_base_transform_setcaps): Complicated logic to get caps on
19386 both pads, even if they are different, and to call set_caps once
19387 for every time both pads get their caps set.
19388 (gst_base_transform_handle_buffer): Give the ref to the transform
19389 function. Allows in-place modification of the buffer.
19391 * gst/base/gstbasetransform.h (transform_caps): New class method.
19392 Given caps on one side, what can I do on the other.
19393 (set_caps): Take two caps, one for each side of the element.
19396 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19397 caps in place. This is safe because we can check the mutability of
19398 the caps, and a good idea because fixate functions are just called
19399 as a matter of last resort. (Not actually implemented.)
19400 (gst_pad_set_caps): If the caps we're setting is actually the same
19401 as the existing pad caps, just update the pointer without calling
19402 setcaps. Assert that caps is either NULL or fixed, as per the
19405 * gst/gstghostpad.c: Update for fixate changes.
19407 2005-07-02 Andy Wingo <wingo@pobox.com>
19410 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19411 two refcounts makes it immutable, which is enough. Doc more.
19413 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
19415 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19416 Put the mini_object into GValue as a mini_object,
19417 not a gpointer, since that's how we declared
19420 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19422 * examples/pwg/Makefile.am:
19423 Fix buildbot again.
19425 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19427 * docs/pwg/building-testapp.xml:
19429 * examples/pwg/Makefile.am:
19432 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19435 * examples/Makefile.am:
19436 * examples/pwg/Makefile.am:
19437 * examples/pwg/extract.pl:
19438 Enable building the PWG examples.
19439 * docs/pwg/advanced-interfaces.xml:
19440 Add URI interface stub.
19441 * docs/pwg/advanced-types.xml:
19442 * docs/pwg/other-autoplugger.xml:
19443 * docs/pwg/appendix-porting.xml:
19444 * docs/pwg/pwg.xml:
19445 Add porting guide (mostly stubs), remove autoplugging (see ADM).
19446 * docs/pwg/building-boiler.xml:
19447 * docs/pwg/building-chainfn.xml:
19448 * docs/pwg/building-pads.xml:
19449 * docs/pwg/building-props.xml:
19450 * docs/pwg/building-state.xml:
19451 * docs/pwg/building-testapp.xml:
19452 Update the building-*.xml parts for 0.9 changes. All examples
19453 code blocks compile in examples/pwg/*.
19455 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19457 * docs/manual/advanced-autoplugging.xml:
19458 * docs/manual/appendix-checklist.xml:
19459 * docs/manual/appendix-integration.xml:
19460 * docs/manual/highlevel-components.xml:
19461 Fix playbin/decodebin examples, update docs a bit, mention bus
19462 instead of signals in various places, mention kmplayer and
19463 kaffeine since they have a working GStreamer backend in the KDE
19466 2005-06-30 Wim Taymans <wim@fluendo.com>
19469 * docs/design/draft-ghostpads.txt:
19470 * docs/design/draft-push-pull.txt:
19471 * docs/design/draft-query.txt:
19472 * docs/design/part-TODO.txt:
19473 * docs/design/part-query.txt:
19474 Added CHANGES-0.9 doc, updated status of other docs.
19479 2005-06-30 Wim Taymans <wim@fluendo.com>
19481 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19482 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19483 (gst_base_sink_change_state):
19484 * gst/base/gstbasesink.h:
19485 Some tweaks, only EOS and a buffer complete a preroll.
19487 2005-06-30 Andy Wingo <wingo@pobox.com>
19489 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19490 activate_push down to the internal pad as well.
19492 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
19494 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19496 * gst/gsttaginterface.c:
19497 Some documentation fixes (#307394 and #307397).
19499 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
19501 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19503 * gst/gstvalue.c: (gst_value_intersect_list):
19504 Fix memleak (#309125).
19506 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19508 * docs/manual/advanced-dataaccess.xml:
19509 Fix fakesrc example to compile; doesn't work, bug somewhere...?
19510 * docs/manual/basics-pads.xml:
19511 Add reference for filtered caps to above chapter.
19513 2005-06-30 Wim Taymans <wim@fluendo.com>
19515 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19516 (gst_bin_change_state):
19518 Lame attempt at making the state change function a bit
19521 2005-06-30 Wim Taymans <wim@fluendo.com>
19523 * docs/design/part-clocks.txt:
19524 * docs/design/part-element-sink.txt:
19525 * docs/design/part-events.txt:
19526 * docs/design/part-preroll.txt:
19527 * docs/design/part-states.txt:
19528 Some more tweeks and additions to the docs.
19530 2005-06-30 Wim Taymans <wim@fluendo.com>
19532 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19533 (default_have_data), (gst_pad_class_init), (gst_pad_init),
19534 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19535 (gst_pad_check_pull_range), (gst_pad_get_range),
19536 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19538 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19539 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19540 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19541 (gst_pad_remove_buffer_probe):
19542 Removed atomic operations, use existing LOCK.
19543 Move exception handling out of main code path.
19545 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19547 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19548 (silly_return_true_function), (gst_pad_class_init),
19549 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19550 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19551 (gst_pad_send_event):
19552 Fix accumulator, add default value by using _emitv() instead
19553 of _emit() for signal emission.
19555 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19557 * docs/manual/advanced-dataaccess.xml:
19558 * examples/manual/Makefile.am:
19560 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19563 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
19565 * gst/elements/gstfilesink.c: (gst_filesink_render):
19566 Simplify code so that we don't have to handle short
19567 writes and return GST_FLOW_ERROR if an error occured.
19569 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19571 * docs/gst/gstreamer-docs.sgml:
19572 Remove probes more.
19574 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19576 * docs/gst/gstreamer-sections.txt:
19577 * docs/gst/tmpl/gstpad.sgml:
19578 * docs/gst/tmpl/gstprobe.sgml:
19580 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19581 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19582 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19583 (gst_pad_push_event), (gst_pad_send_event):
19585 * gst/gstutils.c: (gst_pad_add_data_probe),
19586 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19587 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19588 (gst_pad_remove_buffer_probe):
19590 Remove old probes, add new g-signal-based probes and some utility
19593 2005-06-29 Edward Hervey <edward@fluendo.com>
19595 * gst/gstelementfactory.c:
19598 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19599 the definition to the header file.
19601 2005-06-29 Andy Wingo <wingo@pobox.com>
19603 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19604 plugins from the source directory.
19606 2005-06-29 Wim Taymans <wim@fluendo.com>
19608 * docs/gst/tmpl/gstbuffer.sgml:
19609 * docs/gst/tmpl/gstclock.sgml:
19610 Some fixings for blantently wrong text.
19612 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19614 * check/Makefile.am:
19615 * gst/gst.c: (add_path_func), (init_pre):
19616 * gst/gstregistry.c: (gst_registry_add_path):
19617 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19618 only scan the GST_PLUGIN_PATH locations, and not add
19621 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19623 * docs/gst/gstreamer-sections.txt:
19624 * docs/gst/tmpl/gstbasesrc.sgml:
19625 * gst/gstelement.c:
19626 * gst/gstelement.h:
19631 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19633 * docs/manual/advanced-autoplugging.xml:
19634 Fix autoplugging example.
19636 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19638 * docs/manual/advanced-autoplugging.xml:
19639 * docs/manual/mime-world.fig:
19640 Try to get autoplugging working, fix type detection. Fix text
19641 in hello-world image.
19643 2005-06-29 Wim Taymans <wim@fluendo.com>
19645 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19646 (gst_base_sink_change_state):
19650 map SIGNAL and BROADCAST to the right function.
19653 Remove redundant braces.
19655 * gst/gstpad.c: (gst_pad_set_caps):
19656 Don't call setcaps function when reseting caps to NULL.
19658 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19659 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19660 (gst_system_clock_id_unschedule):
19661 Use BROADCAST as this is what we do.
19663 2005-06-29 Wim Taymans <wim@fluendo.com>
19665 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19666 We are actually prerolling before commiting the state
19669 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19671 * docs/manual/advanced-clocks.xml:
19672 * docs/manual/advanced-interfaces.xml:
19673 * docs/manual/advanced-metadata.xml:
19674 * docs/manual/advanced-position.xml:
19675 * docs/manual/advanced-schedulers.xml:
19676 * docs/manual/advanced-threads.xml:
19677 * docs/manual/appendix-porting.xml:
19678 * docs/manual/basics-bins.xml:
19679 * docs/manual/basics-bus.xml:
19680 * docs/manual/basics-elements.xml:
19681 * docs/manual/basics-helloworld.xml:
19682 * docs/manual/basics-pads.xml:
19683 * docs/manual/highlevel-components.xml:
19684 * docs/manual/manual.xml:
19685 * docs/manual/thread.fig:
19686 Update (until threads/scheduling) Application Development Manual;
19687 remove GstThread, add GstBus, add simple porting checklist, add
19688 documentation for tag writing, clocks, make all examples until this
19689 part compile and run.
19690 * examples/manual/Makefile.am:
19691 Update from changes to Application Development Manual; add bus
19692 example, remove thread example.
19694 2005-06-28 Wim Taymans <wim@fluendo.com>
19696 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
19697 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
19698 (gst_bus_source_dispatch):
19699 Add debugging messages.
19700 Make internal methods static.
19701 Handle the case where the bus is flushed in the handler.
19703 * gst/gstelement.c: (gst_element_get_bus):
19704 Fix refcount in _get_bus();
19706 * gst/gstpipeline.c: (gst_pipeline_change_state),
19707 (gst_pipeline_get_clock_func):
19708 Clock refcounting fixes.
19709 Handle the case where preroll timed out more gracefully.
19711 * gst/gstsystemclock.c: (gst_system_clock_dispose):
19712 Clean up the internal thread in dispose. This is needed
19713 for subclasses that actually get disposed.
19715 * gst/schedulers/threadscheduler.c:
19716 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19717 (gst_thread_scheduler_dispose):
19718 Free thread pool in dispose.
19720 2005-06-28 Andy Wingo <wingo@pobox.com>
19722 * tests/network-clock-utils.scm (debug, print-event): New utils.
19724 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
19725 (*packet-loss*): Unified loss probability.
19726 (network-time): Report out-of-band events.
19728 * tests/plot-data: Add support for out-of-band events. Hack it
19729 into this script instead of passing it down the pipe; should fix
19732 2005-06-28 Wim Taymans <wim@fluendo.com>
19734 * docs/gst/gstreamer.types:
19735 * docs/gst/tmpl/gstbasesrc.sgml:
19736 * docs/gst/tmpl/gstpad.sgml:
19739 2005-06-28 Wim Taymans <wim@fluendo.com>
19741 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19742 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
19743 (gst_proxy_pad_do_fixatecaps):
19744 Correctly proxy the check_pull_range function.
19746 2005-06-28 Andy Wingo <wingo@pobox.com>
19748 * tests/network-clock.scm: Removed need for slib.
19750 2005-06-28 Wim Taymans <wim@fluendo.com>
19752 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
19753 (gst_basesink_preroll_queue_flush):
19754 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
19755 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
19756 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19757 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19758 (gst_proxy_pad_set_property):
19761 * gst/gstqueue.c: (gst_queue_init):
19762 The deprecated pad loop function is removed now.
19764 2005-06-28 Andy Wingo <wingo@pobox.com>
19766 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
19767 New parameters, simulate network packet loss.
19769 * tests/network-clock-utils.scm: Initialize the RNG.
19771 2005-06-28 Wim Taymans <wim@fluendo.com>
19773 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
19774 (gst_basesink_event), (gst_basesink_deactivate):
19775 Flushing the preroll queue always needs to unlock the waiters.
19777 2005-06-28 Edward Hervey <edward@fluendo.com>
19779 * gst/gstpipeline.c: (gst_pipeline_send_event):
19780 Wheen a seek was successful on a pipeline, set the stream_time to the
19781 seek offset in order to have a synchronized stream_time.
19783 2005-06-28 Wim Taymans <wim@fluendo.com>
19785 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19786 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
19787 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
19788 (gst_proxy_pad_do_fixatecaps):
19789 Call wrapper function instead of just calling the function
19790 pointers. This takes care of any locking and whatmore.
19792 2005-06-28 Wim Taymans <wim@fluendo.com>
19794 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
19795 (gst_pad_pull_range):
19797 CONNECTED -> LINKED.
19799 2005-06-28 Andy Wingo <wingo@pobox.com>
19801 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
19802 source-munging commit!!!
19804 * gst/gstobject.c (gst_object_unref, gst_object_ref)
19805 (gst_object_sink): Take gpointer arguments, not GstObject --
19806 avoids casts. Like GLib.
19808 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
19811 2005-06-27 Andy Wingo <wingo@pobox.com>
19813 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
19816 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
19817 returns a sorted copy of the trace list.
19818 (gst_alloc_trace_print_live): New API, only prints traces with
19819 live objects. Sort the list.
19820 (gst_alloc_trace_print_all): Sort the list.
19821 (gst_alloc_trace_print): Align columns.
19823 * gst/elements/gstttypefindelement.c:
19824 * gst/elements/gsttee.c:
19825 * gst/base/gstbasesrc.c:
19826 * gst/base/gstbasesink.c:
19827 * gst/base/gstbasetransform.c:
19828 * gst/gstqueue.c: Adapt for pad activation changes.
19830 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
19832 (gst_pipeline_dispose): Drop ref on sched.
19834 * gst/gstpad.c (gst_pad_init): Set the default activate func.
19835 (gst_pad_activate_default): Push mode by default.
19836 (pre_activate_switch, post_activate_switch): New stubs, things to
19837 do before and after switching activation modes on pads.
19838 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
19839 the pad's activate function to choose which mode to activate.
19840 Shortcut on deactivation and call the right function directly.
19841 (gst_pad_activate_pull): New API, (de)activates a pad in pull
19843 (gst_pad_activate_push): New API, same for push mode.
19844 (gst_pad_set_activate_function)
19845 (gst_pad_set_activatepull_function)
19846 (gst_pad_set_activatepush_function): Setters for new API.
19848 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
19849 Trace all miniobjects.
19850 (gst_mini_object_make_writable): Unref the arg if we copy, like
19851 gst_caps_make_writable.
19853 * gst/gstmessage.c (_gst_message_initialize): No trace init.
19855 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
19856 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
19857 Adapt for new pad API.
19859 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
19861 * gst/gstelement.h:
19862 * gst/gstelement.c (gst_element_iterate_src_pads)
19863 (gst_element_iterate_sink_pads): New API functions.
19865 * gst/gstelement.c (iterator_fold_with_resync): New utility,
19866 should fold into gstiterator.c in some form.
19867 (gst_element_pads_activate): Simplified via use of fold and
19868 delegation of decisions to gstpad->activate.
19870 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
19873 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
19874 class once in init, like gstmessage. Didn't run into this issue
19875 but it seems correct. Don't initialize a trace, gstminiobject does
19878 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
19879 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
19881 (assert_live_count): New util function, uses alloc traces to check
19884 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
19885 To be modified when unlink drops the internal pad.
19887 2005-06-27 Wim Taymans <wim@fluendo.com>
19889 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
19890 (gst_bin_change_state):
19891 Cleanup the get_state() function a little, make sure it
19892 iterates the same set of elements.
19893 Added stub iterate_state_order().
19895 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
19897 * docs/gst/gstreamer-docs.sgml:
19898 * docs/gst/gstreamer-sections.txt:
19899 * docs/gst/gstreamer.types:
19900 * docs/gst/tmpl/gstbasesink.sgml:
19901 * docs/gst/tmpl/gstbasesrc.sgml:
19902 * docs/gst/tmpl/gstbasetransform.sgml:
19903 * docs/gst/tmpl/gstelement.sgml:
19904 * docs/gst/tmpl/gstiterator.sgml:
19905 * gst/base/gstbasesrc.c:
19906 * gst/base/gstbasesrc.h:
19907 * gst/base/gstbasetransform.h:
19908 * gst/gstelement.c:
19909 * gst/gstiterator.h:
19910 adding basetransform and iterator docs
19912 2005-06-27 Andy Wingo <wingo@pobox.com>
19914 * docs/design/part-activation.txt: Notes on how activation should
19915 work -- not quite implemented yet.
19917 2005-06-25 Wim Taymans <wim@fluendo.com>
19919 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
19920 At least get the chain function correct, needs more
19923 2005-06-25 Wim Taymans <wim@fluendo.com>
19925 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19926 (gst_basesink_handle_object), (gst_basesink_event),
19927 (gst_basesink_do_sync), (gst_basesink_handle_event),
19928 (gst_basesink_change_state):
19930 Right, two problems here: ghostpads don't take locks and
19931 glib _rec_mutex_lock_full() with depth==0 still locks.
19932 Catch illegal locking and g_warn them.
19934 2005-06-25 Wim Taymans <wim@fluendo.com>
19936 * check/states/sinks.c: (START_TEST), (gst_object_suite):
19937 Have to check for completion now...
19939 2005-06-25 Wim Taymans <wim@fluendo.com>
19941 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19942 (gst_basesink_handle_object), (gst_basesink_event),
19943 (gst_basesink_do_sync), (gst_basesink_handle_event),
19944 (gst_basesink_change_state):
19946 Unlock STREAM_LOCK whatever the recursion was.
19948 2005-06-25 Wim Taymans <wim@fluendo.com>
19950 * gst/base/gstbasesink.c: (gst_basesink_set_property),
19951 (gst_basesink_preroll_queue_empty),
19952 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
19953 (gst_basesink_event), (gst_basesink_do_sync),
19954 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
19955 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
19956 (gst_basesink_change_state):
19957 Reworked the base sink, handle event and buffer serialisation
19958 correctly and removed possible deadlock.
19959 Handle EOS correctly.
19961 2005-06-25 Wim Taymans <wim@fluendo.com>
19963 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
19964 (gst_pipeline_change_state):
19965 * tools/gst-launch.c: (check_intr), (event_loop), (main):
19966 Allow elements to post EOS in the state change function.
19967 Fix up -launch, make it exit the poll loop when the
19968 pipeline actually changed state.
19969 Fix up warning parsing in -launch.
19971 2005-06-25 Wim Taymans <wim@fluendo.com>
19973 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
19974 (gst_tee_sink_activate):
19975 Core takes STREAM_LOCK for us now.
19977 2005-06-25 Wim Taymans <wim@fluendo.com>
19979 * gst/gstelement.c: (gst_element_get_state_func),
19980 (gst_element_set_state):
19981 * gst/gstelement.h:
19982 * gst/gstmessage.c: (gst_message_parse_error),
19983 (gst_message_parse_warning):
19984 Keep track of current target state while performing a state
19985 change so that subclasses can do something interesting.
19986 Fix parsing of warning/error messages when GError is NULL.
19988 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
19990 * docs/gst/Makefile.am:
19991 * docs/gst/gstreamer-docs.sgml:
19992 * docs/gst/gstreamer-sections.txt:
19993 * docs/gst/gstreamer.types:
19994 * docs/gst/tmpl/gstbasesink.sgml:
19995 * docs/gst/tmpl/gstbasesrc.sgml:
19996 * docs/gst/tmpl/gstbin.sgml:
19997 * docs/gst/tmpl/gstcompat.sgml:
19998 * docs/gst/tmpl/gstfakesink.sgml:
19999 * docs/gst/tmpl/gstfakesrc.sgml:
20000 * docs/gst/tmpl/gstfilesink.sgml:
20001 * docs/gst/tmpl/gstfilesrc.sgml:
20002 * docs/gst/tmpl/gstindex.sgml:
20003 * docs/manual/appendix-quotes.xml:
20004 * gst/base/gstbasesrc.h:
20005 * gst/elements/gstfakesrc.h:
20006 * gst/gstmessage.h:
20007 start pulling in base classes and elements in our docs
20009 2005-06-24 Stefan Kost <ensonic@users.sf.net>
20011 * docs/gst/Makefile.am:
20012 * docs/libs/Makefile.am:
20013 fixed make distcheck with gtk-doc 1.3
20015 2005-06-23 Wim Taymans <wim@fluendo.com>
20017 * gst/gstelement.c: (gst_element_get_state_func),
20018 (gst_element_set_state), (gst_element_change_state):
20019 When the state did not change, also report NO_PREROLL
20022 2005-06-23 Wim Taymans <wim@fluendo.com>
20024 * gst/gstpad.c: (gst_pad_event_default):
20025 * gst/gstqueue.c: (gst_queue_loop):
20026 No unsafe task pausing please.
20028 2005-06-23 Wim Taymans <wim@fluendo.com>
20030 * gst/schedulers/threadscheduler.c:
20031 (gst_thread_scheduler_task_start),
20032 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20033 Ref the task before pushing it on the threadpool. This
20034 makes sure that we have a ref when the threadfunction is
20037 2005-06-23 Andy Wingo <wingo@pobox.com>
20039 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20040 offset is greater than the file's size.
20042 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
20043 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20044 * gst/gstobject.c (gst_object_class_init): Make the class lock
20045 recursive. Wim won't let me drop deep_notify. Decodebin works
20046 again, whoopdy doo.
20048 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20049 internal pad, and hacks accordingly. Doesn't do it on the target
20050 pad because we change its caps. Probably catches all cases of
20052 (gst_ghost_pad_set_property): Connect to notify::caps as
20055 * tests/network-clock.scm (plot-simulation): Pipe data to the
20056 elite python skript.
20058 * tests/network-clock-utils.scm (define-parameter): New macro,
20059 defines a parameter that can be set via the command line.
20060 (set-parameter!, parse-parameter-arguments): Command line args
20063 * tests/plot-data: Simple matplotlib-based plotter, takes input on
20066 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
20068 * gst/elements/gsttypefindelement.c:
20069 (gst_type_find_element_handle_event):
20070 Don't restart typefinding on a discont.
20071 * gst/gstelement.c: (gst_element_set_state):
20072 Debug spelling fix.
20073 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20074 Allow changing mode of an active pad.
20075 Debug output fixes.
20076 * gst/registries/gstlibxmlregistry.c: (load_feature):
20077 Don't cast a static pad template to a normal pad template.
20079 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
20081 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20082 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20083 remove gst_strtoll completely, since it didn't actually do
20084 anything more than what g_ascii_strtoull already does.
20085 check for range errors when deserializing
20086 do a cast for the unsigned cases; but further fixing needs
20087 a decision on what the interpretation of "(int)" and
20088 deserialization should be for values that fall outside the
20089 type's boundaries (ie, refuse, or interpret as casting)
20091 2005-06-23 Wim Taymans <wim@fluendo.com>
20093 * check/Makefile.am:
20094 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20095 * docs/design/part-live-source.txt:
20096 * docs/design/part-states.txt:
20097 * gst/base/gstbasesrc.c: (gst_basesrc_init),
20098 (gst_basesrc_set_live), (gst_basesrc_is_live),
20099 (gst_basesrc_get_range), (gst_basesrc_activate),
20100 (gst_basesrc_change_state):
20101 * gst/base/gstbasesrc.h:
20102 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20103 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20104 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20105 * gst/gstelement.c: (gst_element_get_state_func),
20106 (gst_element_set_state):
20107 * gst/gstelement.h:
20109 * tools/gst-launch.c: (event_loop), (main):
20110 Added support for live sources and other elements that
20112 Updated design docs, added live-source design doc.
20113 Implemented live source functionality in basesrc
20114 Fix error condition in _bin_get_state()
20115 Implement live source handling in -launch.
20116 Added check for live sources.
20117 Fixed case in GstBin where elements were changed state
20121 2005-06-23 Andy Wingo <wingo@pobox.com>
20123 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20124 borken refcounting.
20126 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20127 gst_caps_replace takes care of this for us.
20129 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20130 gst_pad_set_caps on the target, not just its setcaps() function.
20132 * tests/network-clock.scm:
20133 * tests/network-clock-utils.scm: A network clock simulator.
20134 Something of an algorithmic testbed before doing something in C.
20136 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20138 * check/Makefile.am:
20139 * check/gst/capslist.h:
20140 copy over from 0.8, and add two with bitmasks specified with
20142 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20143 add test to parse everything from capslist.h
20144 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20146 add test for structure deserialization
20147 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20148 add tests for deserialization of strings to int types
20149 * gst/gststructure.c: (gst_structure_nth_field_name):
20150 * gst/gststructure.h:
20151 add a way to get the name of a field referenced by index
20152 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20153 instead of checking if the resulting long long lies between
20154 min and max, we check if the long long would fit into
20155 a number of bytes for the final type.
20156 This fixes cases where a string represents 2^32 - 1, which
20157 when cast to int would be the (valid) -1, but is bigger than
20160 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20162 * gst/parse/grammar.y:
20163 add a log line for type deserialization
20165 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20167 * check/gst/gstvalue.c: (START_TEST):
20168 * gst/gstvalue.c: (gst_value_deserialize):
20169 return long long, not int, so gint64 deserialization actually
20170 works. Is there any flag that makes the compiler check this ?
20173 2005-06-22 Wim Taymans <wim@fluendo.com>
20176 Added convenience macros for setting buffers in GValue.
20178 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20180 * check/gst/.cvsignore:
20181 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20182 add a test deserializing int64, and comment part out because
20185 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20187 * check/Makefile.am:
20188 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20189 * testsuite/Makefile.am:
20190 * testsuite/caps/Makefile.am:
20191 * testsuite/caps/value_serialize.c:
20192 * testsuite/test_gst_init.c:
20193 move a value_serialize test over
20195 2005-06-20 Wim Taymans <wim@fluendo.com>
20200 * gst/gstvalue.c: (gst_value_compare_buffer),
20201 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20202 (gst_value_compare_flags), (gst_value_serialize_flags),
20203 (gst_value_deserialize_flags), (_gst_value_initialize):
20204 Fix serialisation of buffers, they are not boxed types anymore
20206 2005-06-20 Wim Taymans <wim@fluendo.com>
20208 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20209 Testcase to show error in buffer-on-caps serialisation.
20211 2005-06-20 Andy Wingo <wingo@pobox.com>
20213 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20214 will be adding to later.
20216 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20217 if its socks fill with rocks.
20218 (gst_system_clock_obtain): Set the name on object construction.
20219 Avoid double-checked locking.
20221 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
20223 * gst/gsturi.c: (gst_element_make_from_uri):
20224 Fix potential endless loop.
20226 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20228 * check/Makefile.am:
20230 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20232 move over from testsuite dir and clean up
20235 * testsuite/Makefile.am:
20236 * testsuite/tags/.cvsignore:
20237 * testsuite/tags/Makefile.am:
20238 * testsuite/tags/merge.c:
20239 remove testsuite/tags
20241 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20243 * docs/gst/gstreamer-sections.txt:
20244 * docs/gst/tmpl/gstenumtypes.sgml:
20245 * win32/gstenumtypes.c:
20246 clean up documentation build a little
20248 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20250 * check/gstcheck.h:
20251 add macros for checking refcounts on objects and caps
20252 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20253 add some more unit tests
20254 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20255 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20256 fix leaked refcounts (I hope :)) so unittest works
20260 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20262 * configure.ac: back to HEAD
20264 === release 0.9.1 ===
20266 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
20272 2005-06-17 Andy Wingo <wingo@pobox.com>
20274 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20275 assert; it's always possible that the pad gets deactivated in
20276 between the checks in gstpad.c and the implementation. Rely on
20277 finish_preroll() to return a FLUSHING or similar instead of on the
20280 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20281 clock and post an EOS message if we come out of finish_preroll in
20284 2005-06-16 David Schleef <ds@schleef.org>
20286 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20287 (gst_capsfilter_set_property): Allow NULL as possible value
20288 for filter_caps property, indicating GST_CAPS_ANY.
20290 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20292 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20294 * gst/schedulers/Makefile.am:
20296 * gstreamer.spec.in:
20299 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20301 * gstreamer.spec.in:
20304 2005-06-08 Andy Wingo <wingo@pobox.com>
20306 * gst/gstutils.c: RPAD fixes all around.
20307 (gst_element_link_pads): Refcounting fixes.
20309 * tools/gst-inspect.c:
20310 * tools/gst-xmlinspect.c:
20312 * gst/base/gsttypefindhelper.c:
20313 * gst/base/gstbasesink.c:
20314 * gst/gstqueue.c: RPAD fixes.
20316 * gst/gstghostpad.h:
20317 * gst/gstghostpad.c: New ghost pad implementation as full proxy
20318 pads. The tricky thing is they provide both source and sink
20319 interfaces, since they proxy the internal pad for the external
20320 pad, and vice versa. Implement with lower-level ProxyPad objects,
20321 with the interior proxy pad as a child of the exterior ghost pad.
20322 Should write a doc on this.
20324 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20325 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20328 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20329 pads are real pads. No ghost pads in this file. Not documenting
20330 the myriad s/RPAD/PAD/ and REALIZE fixes.
20331 (gst_pad_class_init): Add properties for "direction" and
20332 "template". Both are construct-only, so they can't change during
20333 the life of the pad. Fixes properly deriving from GstPad.
20334 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20335 derived objects, just set properties when creating the objects via
20337 (gst_pad_get_parent): Implement as a function, return NULL if the
20338 parent is not an element.
20339 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20340 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20342 * gst/gstobject.c (gst_object_class_init): Make name a construct
20343 property. Don't set it in the object init.
20345 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20346 with UNKNOWN direction.
20347 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20348 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20349 (gst_element_remove_pad): Remove ghost-pad special cases.
20350 (gst_element_pads_activate): Remove rpad cruft.
20352 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20353 catch the pad's-parent-not-an-element case.
20355 * gst/gst.h: Include gstghostpad.h.
20357 * gst/gst.c (init_post): No more real, ghost pads.
20359 * gst/Makefile.am: Add gstghostpad.[ch].
20361 * check/Makefile.am:
20362 * check/gst/gstbin.c:
20363 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20364 into a bin creates ghost pads, and that the refcounts are right.
20365 Partly moved from gstbin.c.
20367 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20369 * check/gst-libs/.cvsignore:
20370 * check/gst/.cvsignore:
20371 * check/pipelines/.cvsignore:
20373 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20374 (START_TEST), (cleanup_suite), (main):
20375 add some tests related to cleanup after running pipelines
20377 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20379 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20380 add a testsuite for GstBuffer
20382 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20384 * gst/gstminiobject.h:
20385 add defines for accessing the refcount
20387 2005-06-03 Stefan Kost <ensonic@users.sf.net>
20389 * Makefile.am: added support for html unit test coverage reports
20391 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
20393 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20394 Free existing caps if the capsfilter changes. Add a FIXME about
20395 setting those caps on the pads.
20397 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20398 Before adding a ghost pad to a parent bin, check that there isn't
20399 already one for the element on the bin. Prevents infinite recursion
20400 when using decodebin in parse pipelines. Andy says he'll rewrite the
20401 way this works anyway, so ignore the hack.
20403 2005-06-02 Andy Wingo <wingo@pobox.com>
20405 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20406 file size, pass it on to the type find helper.
20408 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20409 segment_start and segment_end properly according to the seek
20410 method. Segment_end is still a bit flaky because offset can be
20411 negative for CUR and END cases, but it takes -1 as an "unset"
20414 2005-06-02 Wim Taymans <wim@fluendo.com>
20416 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20417 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20418 (gst_basesink_activate):
20419 * gst/base/gstbasesink.h:
20420 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20421 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20422 (gst_pad_query), (gst_pad_start_task):
20424 * gst/gstqueue.c: (gst_queue_bufferalloc),
20425 (gst_queue_handle_sink_event), (gst_queue_chain):
20426 Bufferalloc: return GstFlowReturn to more accuratly report
20427 why allocation failed.
20429 2005-06-02 Wim Taymans <wim@fluendo.com>
20431 * gst/gstpipeline.c: (gst_pipeline_send_event):
20432 Take snapshot of state without blocking.
20434 2005-06-02 Wim Taymans <wim@fluendo.com>
20436 * docs/design/part-TODO.txt:
20437 * docs/design/part-caps.txt:
20438 * docs/design/part-clocks.txt:
20439 * docs/design/part-negotiation.txt:
20440 * docs/design/part-preroll.txt:
20443 2005-05-30 Wim Taymans <wim@fluendo.com>
20445 * gst/elements/gstidentity.c: (gst_identity_event),
20446 (gst_identity_transform), (gst_identity_get_property):
20447 Protect last_message property as it is accessed from
20450 2005-05-30 Wim Taymans <wim@fluendo.com>
20452 * gst/gstelement.c: (gst_element_init),
20453 (gst_element_pads_activate), (gst_element_change_state):
20454 Slicker pad activation code.
20456 2005-05-30 Wim Taymans <wim@fluendo.com>
20459 * gst/gstelement.h:
20460 * gst/gstelementfactory.h:
20462 Move elementfactory methods to separate .h file.
20464 2005-05-30 Wim Taymans <wim@fluendo.com>
20466 * docs/design/part-overview.txt:
20467 * gst/gstsystemclock.h:
20468 Small typo fixes, doc updates.
20470 2005-05-30 Wim Taymans <wim@fluendo.com>
20472 * gst/gst.c: (gst_init_get_popt_table), (init_post),
20473 (init_popt_callback):
20474 Remove cpu-opt flag.
20476 2005-05-30 Wim Taymans <wim@fluendo.com>
20478 * gst/gstbuffer.c: (gst_subbuffer_finalize),
20479 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20481 Avoid typechecking in places where not needed.
20482 Added accessor for malloc_data.
20484 2005-05-30 Wim Taymans <wim@fluendo.com>
20486 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20487 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20488 (gst_pad_configure_sink), (gst_pad_configure_src),
20489 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20490 (gst_pad_start_task):
20491 Propagate errors from _set_caps() in configure_src/sink
20492 functions instead of returning TRUE.
20493 FLUSH events can travel up and downstream
20496 2005-05-30 Wim Taymans <wim@fluendo.com>
20498 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20499 (gst_basesink_activate):
20500 Handle EOS in preroll.
20502 2005-05-30 Wim Taymans <wim@fluendo.com>
20504 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20505 (gst_queue_loop), (gst_queue_handle_src_event):
20506 Remove old pieces of code
20507 Flushing the queue in an upstream event is a very bad idea.
20509 2005-05-26 Andy Wingo <wingo@pobox.com>
20511 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20512 gst_value_set_mini_object so as to add a ref on the object (which
20513 will be removed when the value is unset).
20515 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20516 arg type in ::handoff.
20518 * gst/gstelement.c (gst_element_change_state): Also deactivate
20519 pads in READY->NULL, just in case the element didn't make it to
20520 PAUSED. Wingo tested, Wim approved.
20522 2005-05-26 Wim Taymans <wim@fluendo.com>
20524 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20525 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20526 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20527 A flushing pad cannot be used to alloc_buffer from.
20529 2005-05-26 Wim Taymans <wim@fluendo.com>
20531 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20532 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20533 (gst_bus_source_dispatch), (gst_bus_source_finalize),
20534 (gst_bus_create_watch), (gst_bus_add_watch_full):
20536 Implement a real GSource and use g_main_context_wakeup() to
20537 signal new messages instead of the socketpair.
20539 2005-05-25 Wim Taymans <wim@fluendo.com>
20541 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20542 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20543 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20544 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20545 (gst_pad_send_event), (gst_pad_start_task):
20546 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20547 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20548 (gst_queue_sink_activate), (gst_queue_src_activate),
20549 (gst_queue_change_state):
20551 Fix state changes for non sinks. We now change sinks, then elements
20552 with unconnected srcpads, then the rest.
20553 More efficient queue unlocking in flush and state changes.
20554 Set the pad activate mode even if it does not have an activate
20557 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20559 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20560 Don't go in pull mode for non-seekable sources.
20561 * gst/elements/gsttypefindelement.h:
20562 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20563 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20564 (free_entry), (stop_typefinding),
20565 (gst_type_find_element_handle_event), (find_peek),
20566 (gst_type_find_element_chain), (do_pull_typefind),
20567 (gst_type_find_element_change_state):
20568 Allow typefinding (w/o seeking) in push-mode, simplified version
20569 of what was in 0.8.
20570 * gst/gstutils.c: (gst_buffer_join):
20572 gst_buffer_join() from 0.8.
20574 2005-05-25 Wim Taymans <wim@fluendo.com>
20576 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20577 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20578 (gst_pad_send_event), (gst_pad_start_task):
20579 Disable attempt at mode switching until it is figured out.
20581 2005-05-25 Wim Taymans <wim@fluendo.com>
20583 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20584 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20585 (gst_basesink_finish_preroll), (gst_basesink_chain),
20586 (gst_basesink_loop), (gst_basesink_activate),
20587 (gst_basesink_change_state):
20588 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20589 (gst_basesrc_get_range), (gst_basesrc_loop),
20590 (gst_basesrc_activate):
20591 * gst/elements/gsttee.c: (gst_tee_sink_activate):
20592 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20593 (gst_real_pad_init), (gst_real_pad_set_property),
20594 (gst_real_pad_get_property), (gst_pad_set_active),
20595 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20596 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20597 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20598 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20599 (gst_pad_event_default_dispatch), (gst_pad_event_default),
20600 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20601 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20602 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20603 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20604 (gst_pad_stop_task):
20606 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20607 (gst_queue_loop), (gst_queue_src_activate):
20608 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20609 (gst_task_get_state):
20611 * gst/schedulers/threadscheduler.c:
20612 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20613 Implement gst_pad_pause/start/stop_task(), take STREAM lock
20615 Remove ACTIVE pad flag, use FLUSHING everywhere
20616 Added _pad_chain(), _pad_get_range() to call chain/getrange
20618 Add locks around IS_FLUSHING when reading.
20619 Take STREAM lock in chain(), get_range() functions so plugins
20620 don't need to take it anymore.
20624 2005-05-25 Wim Taymans <wim@fluendo.com>
20626 * tools/gst-launch.c: (event_loop):
20627 Unref message after using its contents instead of
20630 2005-05-24 Wim Taymans <wim@fluendo.com>
20632 * docs/design/draft-ghostpads.txt:
20633 * docs/design/draft-push-pull.txt:
20634 * docs/design/draft-query.txt:
20635 * docs/design/part-overview.txt:
20636 Docs updates, added general overview doc.
20638 2005-05-21 David Schleef <ds@schleef.org>
20640 * docs/gst/tmpl/old/GstBin.sgml:
20641 * docs/gst/tmpl/old/GstBuffer.sgml:
20642 * docs/gst/tmpl/old/GstCaps.sgml:
20643 * docs/gst/tmpl/old/GstClock.sgml:
20644 * docs/gst/tmpl/old/GstCompat.sgml:
20645 * docs/gst/tmpl/old/GstData.sgml:
20646 * docs/gst/tmpl/old/GstElement.sgml:
20647 * docs/gst/tmpl/old/GstEvent.sgml:
20648 * docs/gst/tmpl/old/GstIndex.sgml:
20649 * docs/gst/tmpl/old/GstStructure.sgml:
20650 * docs/gst/tmpl/old/GstTag.sgml:
20651 * docs/gst/tmpl/old/cothreads.sgml:
20652 * docs/gst/tmpl/old/cothreads_compat.sgml:
20653 * docs/gst/tmpl/old/gettext.sgml:
20654 * docs/gst/tmpl/old/gobject2gtk.sgml:
20655 * docs/gst/tmpl/old/grammar.tab.sgml:
20656 * docs/gst/tmpl/old/gst-i18n-app.sgml:
20657 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20658 * docs/gst/tmpl/old/gst_private.sgml:
20659 * docs/gst/tmpl/old/gstaggregator.sgml:
20660 * docs/gst/tmpl/old/gstarch.sgml:
20661 * docs/gst/tmpl/old/gstatomic_impl.sgml:
20662 * docs/gst/tmpl/old/gstbufferstore.sgml:
20663 * docs/gst/tmpl/old/gstdata_private.sgml:
20664 * docs/gst/tmpl/old/gstdisksink.sgml:
20665 * docs/gst/tmpl/old/gstdisksrc.sgml:
20666 * docs/gst/tmpl/old/gstelementfactory.sgml:
20667 * docs/gst/tmpl/old/gstextratypes.sgml:
20668 * docs/gst/tmpl/old/gstfakesink.sgml:
20669 * docs/gst/tmpl/old/gstfakesrc.sgml:
20670 * docs/gst/tmpl/old/gstfdsink.sgml:
20671 * docs/gst/tmpl/old/gstfdsrc.sgml:
20672 * docs/gst/tmpl/old/gstfilesink.sgml:
20673 * docs/gst/tmpl/old/gstfilesrc.sgml:
20674 * docs/gst/tmpl/old/gsthttpsrc.sgml:
20675 * docs/gst/tmpl/old/gstidentity.sgml:
20676 * docs/gst/tmpl/old/gstindexfactory.sgml:
20677 * docs/gst/tmpl/old/gstmarshal.sgml:
20678 * docs/gst/tmpl/old/gstmd5sink.sgml:
20679 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20680 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20681 * docs/gst/tmpl/old/gstpadtemplate.sgml:
20682 * docs/gst/tmpl/old/gstpipefilter.sgml:
20683 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20684 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20685 * docs/gst/tmpl/old/gstshaper.sgml:
20686 * docs/gst/tmpl/old/gstspider.sgml:
20687 * docs/gst/tmpl/old/gstspideridentity.sgml:
20688 * docs/gst/tmpl/old/gststatistics.sgml:
20689 * docs/gst/tmpl/old/gsttee.sgml:
20690 * docs/gst/tmpl/old/gsttimecache.sgml:
20691 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
20692 * docs/gst/tmpl/old/gstxmlregistry.sgml:
20693 * docs/gst/tmpl/old/gthread-cothreads.sgml:
20694 * docs/gst/tmpl/old/types.sgml:
20695 I didn't intend to add these or check them in.
20697 2005-05-19 David Schleef <ds@schleef.org>
20699 * configure.ac: Use -no-common everywhere. In a sane world, it
20700 would be the default in libtool, because without it, you can't
20701 build DLLs on Windows.
20702 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
20703 * docs/gst/gstreamer-sections.txt:
20704 * docs/gst/tmpl/gstcpu.sgml:
20705 * docs/gst/tmpl/gstdata.sgml:
20706 * docs/gst/tmpl/gstthread.sgml:
20708 2005-05-19 David Schleef <ds@schleef.org>
20710 * gst/gstminiobject.c: (gst_value_set_mini_object),
20711 (gst_value_take_mini_object), (gst_value_get_mini_object):
20712 * gst/gstminiobject.h: Add GValue set/get functions.
20714 2005-05-19 Wim Taymans <wim@fluendo.com>
20716 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
20717 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
20718 (gst_subbuffer_init), (gst_buffer_is_span_fast):
20720 * gst/gstbus.c: (gst_bus_post):
20721 * gst/gstelement.c: (gst_element_get_random_pad):
20722 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
20723 Make subbufer unref the parent in finalize.
20724 some more debugging info.
20727 2005-05-19 Wim Taymans <wim@fluendo.com>
20729 * gst/base/gstbasesink.c: (gst_basesink_class_init),
20730 (gst_basesink_init), (gst_basesink_finalize),
20731 (gst_basesink_activate), (gst_basesink_change_state):
20732 Don't free preroll queue too early.
20734 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20738 Hi, I'm outdated. Please shoot me.
20740 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20742 * gst/gstpipeline.c: (gst_pipeline_send_event):
20743 Do not access variables after they have been deleted.
20745 2005-05-19 Wim Taymans <wim@fluendo.com>
20747 * tools/gst-inspect.c: (print_plugin_features):
20748 A plugin feature does unfortunatly not use the
20751 2005-05-18 Wim Taymans <wim@fluendo.com>
20753 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
20754 Port _span() functions to new subbuffers.
20756 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20758 * gst/gstbin.c: (gst_bin_add_func):
20759 Fix clock settery in bins when adding kids after the clock has
20762 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20764 * gst/elements/gstidentity.c: (gst_identity_class_init):
20765 Workaround until signals support GstMiniObject.
20767 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
20770 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
20772 2005-05-18 Wim Taymans <wim@fluendo.com>
20774 * gst/base/Makefile.am:
20775 * gst/base/gstadapter.c: (gst_adapter_base_init),
20776 (gst_adapter_class_init), (gst_adapter_init),
20777 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
20778 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
20779 (gst_adapter_flush), (gst_adapter_available),
20780 (gst_adapter_available_fast):
20781 * gst/base/gstadapter.h:
20782 Ported and added adapter to the base classes.
20784 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20787 * gst/gstmessage.c:
20788 Make sure the class is reffed/unreffed once before threads can be
20789 used. Fixes #304551.
20791 2005-05-17 Wim Taymans <wim@fluendo.com>
20793 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
20794 (gst_basesink_chain_unlocked), (gst_basesink_activate):
20795 * gst/gstminiobject.c: (gst_mini_object_get_type),
20796 (gst_mini_object_free):
20797 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
20798 (gst_pad_push), (gst_pad_push_event):
20799 * gst/gstqueue.c: (gst_queue_change_state):
20800 Don't queue buffers in basesink when we are flushing.
20801 Unref buffer when flushing in basesink.
20802 Flush queue when going to READY
20803 Unref buffer when _push() returns an error.
20804 Don't free MiniObject instance when refcount is incremented
20805 in _finalize() so that we can recover objects.
20807 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
20809 * docs/manual/advanced-schedulers.xml:
20810 * docs/manual/appendix-checklist.xml:
20811 * docs/pwg/advanced-clock.xml:
20812 * docs/pwg/advanced-interfaces.xml:
20813 * docs/pwg/advanced-request.xml:
20814 * docs/pwg/advanced-types.xml:
20815 * docs/pwg/intro-preface.xml:
20816 * examples/plugins/example.c: (gst_example_get_type),
20817 (gst_example_class_init), (gst_example_chain),
20818 (gst_example_set_property), (gst_example_get_property),
20819 (gst_example_change_state), (plugin_init):
20820 * examples/plugins/example.h:
20823 2005-05-17 Wim Taymans <wim@fluendo.com>
20825 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
20826 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
20827 * gst/gstqueue.c: (gst_queue_change_state):
20828 Clear queue when going to READY.
20829 Remove IN_SETCAPS flag too.
20831 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
20833 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
20834 Remove implicit cast from gboolean to GstElementStateReturn;
20835 make sure we still return failure in paused => ready case if
20836 the parent class fails to change state and our own stop
20839 2005-05-17 Wim Taymans <wim@fluendo.com>
20841 * tools/gst-launch.c: (event_loop):
20842 Message was unreffed too soon.
20844 2005-05-16 Andy Wingo <wingo@pobox.com>
20846 * gst/gstbin.c (sink_iterator_filter): Err... um...
20848 * check/gst/gstbin.c (test_ghost_pads): New test for the
20849 ghosting-if-elements-not-in-same-bin behavior.
20851 2005-05-16 David Schleef <ds@schleef.org>
20853 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
20854 accessing refcount directly.
20856 2005-05-15 David Schleef <ds@schleef.org>
20858 * check/Makefile.am: remove GstData checks
20859 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
20860 * gst/Makefile.am: add miniobject, remove data
20861 * gst/gst.h: add miniobject, remove data
20862 * gst/gstdata.c: remove
20863 * gst/gstdata.h: remove
20864 * gst/gstdata_private.h: remove
20865 * gst/gsttypes.h: remove GstEvent and GstMessage
20866 * gst/gstelement.c: (gst_element_post_message): fix for API changes
20867 * gst/gstmarshal.list: change BOXED -> OBJECT
20869 Implement GstMiniObject.
20870 * gst/gstminiobject.c:
20871 * gst/gstminiobject.h:
20873 Modify to be subclasses of GstMiniObject.
20874 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
20875 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
20876 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
20877 (gst_subbuffer_get_type), (gst_subbuffer_init),
20878 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
20881 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
20882 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
20883 (_gst_event_copy), (gst_event_new):
20885 * gst/gstmessage.c: (_gst_message_initialize),
20886 (gst_message_get_type), (gst_message_class_init),
20887 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
20888 (gst_message_new), (gst_message_new_error),
20889 (gst_message_new_warning), (gst_message_new_tag),
20890 (gst_message_new_state_changed), (gst_message_new_application):
20891 * gst/gstmessage.h:
20892 * gst/gstprobe.c: (gst_probe_perform),
20893 (gst_probe_dispatcher_dispatch):
20895 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
20896 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
20897 (_gst_query_copy), (gst_query_new):
20899 Update elements for GstData -> GstMiniObject changes
20901 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
20902 (gst_queue_chain), (gst_queue_loop):
20903 * gst/elements/gstbufferstore.c:
20904 (gst_buffer_store_add_buffer_func),
20905 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
20906 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
20907 (gst_fakesink_render):
20908 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20909 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
20910 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
20911 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
20912 (gst_filesrc_create_read):
20913 * gst/elements/gstidentity.c: (gst_identity_class_init):
20914 * gst/elements/gsttypefindelement.c:
20915 (gst_type_find_element_src_event), (free_entry_buffers),
20916 (gst_type_find_element_handle_event):
20917 * libs/gst/dataprotocol/dataprotocol.c:
20918 (gst_dp_header_from_buffer):
20919 * libs/gst/dataprotocol/dataprotocol.h:
20920 * libs/gst/dataprotocol/dp-private.h:
20922 2005-05-15 David Schleef <ds@schleef.org>
20924 * gst/elements/gstelements.c: Don't include headers that were
20927 2005-05-15 David Schleef <ds@schleef.org>
20929 * gst/elements/Makefile.am: Remove some elements that don't
20930 need to be in the core (or even exist at all).
20931 * gst/elements/gstaggregator.c:
20932 * gst/elements/gstaggregator.h:
20933 * gst/elements/gstmd5sink.c:
20934 * gst/elements/gstmd5sink.h:
20935 * gst/elements/gstmultifilesrc.c:
20936 * gst/elements/gstmultifilesrc.h:
20937 * gst/elements/gstpipefilter.c:
20938 * gst/elements/gstpipefilter.h:
20939 * gst/elements/gstshaper.c:
20940 * gst/elements/gstshaper.h:
20941 * gst/elements/gststatistics.c:
20942 * gst/elements/gststatistics.h:
20943 * po/POTFILES.in: Remove above files.
20945 2005-05-14 Andy Wingo <wingo@pobox.com>
20947 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
20948 so as to get the refs right.
20949 (sink_iterator_filter): New function, wraps bin_element_is_sink,
20950 unreffing objects that don't pass the filter.
20952 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
20953 gst_element_set_bus.
20954 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
20955 normal cases, this will destroy the bus.
20957 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
20960 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
20963 2005-05-13 Andy Wingo <wingo@pobox.com>
20965 * gst/gstutils.c (gst_element_link_pads): Instead of calling
20966 gst_pad_link, call pad_link_maybe_ghosting,
20967 (pad_link_maybe_ghosting): Links pads, making sure that the
20968 elements being linked are in the same bin.
20969 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
20970 Helpers for pad_link_maybe_ghosting.
20972 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
20975 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
20977 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
20979 * docs/design/part-element-source.txt:
20982 2005-05-12 Wim Taymans <wim@fluendo.com>
20984 * gst/base/gstbasesink.c: (gst_basesink_init),
20985 (gst_basesink_activate):
20986 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
20987 (gst_basesrc_is_seekable):
20988 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20989 (bin_element_is_sink), (gst_bin_change_state):
20990 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
20991 * gst/gstelement.h:
20992 Identify sinks by their flag to avoid overly complicated
20994 Do state changes even for elements not reachable from the
20996 BaseSink is a sink now :)
20997 Some more debugging info in the basesrc.
21000 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21002 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21003 Implement _query on a bin, similar to _send_event.
21005 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
21007 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21008 Discont event offset format should be GST_FORMAT_BYTES,
21009 not GST_FORMAT_TIME.
21011 2005-05-12 Wim Taymans <wim@fluendo.com>
21013 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21014 Same fix as Ronald's but without the signal.
21016 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21018 * gst/gstutils.c: (gst_element_query_position):
21019 No, an element is not a pad.
21021 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21023 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21024 (gst_bin_get_state):
21025 If a child is removed from a bin while we remove the child from
21026 the bin and while we're retrieving its state, signal this to the
21027 get_state function so we abort the wait (instead of waiting for
21028 a timeout) and can immediately re-iterate over all other elements.
21030 2005-05-12 Wim Taymans <wim@fluendo.com>
21032 * gst/base/Makefile.am:
21033 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21034 (gst_basesrc_start):
21035 * gst/base/gstbasesrc.h:
21036 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21037 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21038 (gst_pushsrc_init), (gst_pushsrc_create):
21039 * gst/base/gstpushsrc.h:
21040 Added is_seekable to BaseSrc
21041 Added simple PushSrc.
21043 2005-05-11 Wim Taymans <wim@fluendo.com>
21045 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21046 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21047 (gst_element_link_pads), (gst_element_query_position),
21048 (gst_element_query_convert), (intersect_caps_func),
21049 (gst_pad_query_position), (gst_pad_query_convert):
21050 Fix refcounting in utils function.
21051 No point in trying to activate a pad when it's added, it could
21052 be added from the state change function and then we deadlock, the
21053 element has to decide what to do.
21055 2005-05-10 Andy Wingo <wingo@pobox.com>
21057 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21058 *all* the arguments.
21060 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21061 stream lock if it's a FLUSH_DONE; normal flushes don't get the
21062 lock (according to the docs -- if this is wrong change the docs).
21064 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21065 flush messages in the NULL state.
21067 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21068 message immediately and return.
21069 (gst_bus_set_flushing): New function. If a bus is flushing, it
21070 flushes out any queued messages and immediately unrefs new
21071 messages. This is so when an element goes to NULL, all of the
21072 unhandled messages coming from it can be freed, and their
21073 references to the element dropped. In other words: message source
21074 ref considered harmful :P
21076 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21077 we're finished with it.
21079 * gst/gstmessage.c (gst_message_new_state_changed):
21081 2005-05-10 Wim Taymans <wim@fluendo.com>
21083 * gst/gstvalue.c: (gst_value_compare_flags),
21084 (gst_value_serialize_flags), (gst_value_deserialize_flags),
21085 (_gst_value_initialize):
21086 Added flags serialize/deserialize/compare code.
21088 2005-05-09 Andy Wingo <wingo@pobox.com>
21090 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21091 Intersect the peer's caps with our caps.
21093 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21095 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21096 * gst/elements/gsttypefindelement.c: (find_peek):
21097 Handle negative offsets better. Fixes decodebin.
21099 2005-05-09 Wim Taymans <wim@fluendo.com>
21101 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21102 (gst_base_transform_event):
21103 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21104 Implement accept_caps.
21105 Fix silly lock/unlock mismatch in base class.
21107 2005-05-09 Wim Taymans <wim@fluendo.com>
21109 * docs/design/draft-push-pull.txt:
21110 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21111 * gst/elements/gstfilesink.c: (gst_filesink_init),
21112 (gst_filesink_query):
21113 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21114 (gst_type_find_handle_src_query), (find_element_get_length):
21115 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21116 * gst/gstelement.h:
21117 * gst/gstmessage.c:
21118 * gst/gstmessage.h:
21119 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21120 (gst_real_pad_get_caps_unlocked),
21121 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21122 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21123 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21124 (gst_real_pad_dispose), (gst_real_pad_finalize),
21125 (gst_pad_load_and_link), (gst_pad_save_thyself),
21126 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21127 (gst_pad_check_pull_range), (gst_pad_pull_range),
21128 (gst_pad_template_get_type), (gst_pad_template_class_init),
21129 (gst_pad_template_init), (gst_pad_template_dispose),
21130 (name_is_valid), (gst_static_pad_template_get),
21131 (gst_pad_template_new), (gst_static_pad_template_get_caps),
21132 (gst_pad_template_get_caps), (gst_pad_set_element_private),
21133 (gst_pad_get_element_private), (gst_pad_start_task),
21134 (gst_pad_pause_task), (gst_pad_stop_task),
21135 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21136 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21137 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21138 (gst_ghost_pad_new):
21140 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21141 (gst_query_new_position), (gst_query_set_position),
21142 (gst_query_parse_position), (gst_query_new_convert),
21143 (gst_query_set_convert), (gst_query_parse_convert):
21145 * gst/gstqueryutils.c:
21146 * gst/gstqueryutils.h:
21147 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21148 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21149 (gst_queue_handle_src_query):
21150 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21151 (gst_element_query_position), (gst_element_query_convert),
21152 (intersect_caps_func), (gst_pad_query_position),
21153 (gst_pad_query_convert):
21155 * tools/gst-inspect.c: (print_pad_info):
21156 * tools/gst-xmlinspect.c: (print_element_info):
21157 Remove old query functions. Ported old code.
21158 Added position/convert helper functions to gstutils.
21159 Reordered gstpad.c code, grouping relevant things.
21160 Remove gst_message_new(), always need to speficy a specific
21164 2005-05-09 Andy Wingo <wingo@pobox.com>
21166 * gst/gstiterator.h: Add some includes.
21168 * gst/gstqueryutils.h: Include more headers.
21171 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21172 some uses of gst_pad_query.
21174 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21175 NULL out parameters.
21176 (gst_query_new_position): New proc, allocates a new position
21179 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21180 gstqueryutils.c to the build.
21182 * gst/gststructure.c (gst_structure_set_valist): Implement with
21183 the generic G_VALUE_COLLECT.
21185 2005-05-08 Edward Hervey <bilboed@bilboed.com>
21187 * gst/Makefile.am: (gst_headers):
21188 Added gstqueryutils.h to the list of headers to install, that was
21189 a 'nachty' move wingo :)
21191 2005-05-06 Andy Wingo <wingo@pobox.com>
21194 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21195 GstData, init a memchunk.
21196 (standard_definitions): Add a few query types, deprecate a few.
21197 (gst_query_get_type): New proc.
21198 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21200 (gst_query_new_application, gst_query_get_structure): New public
21203 * docs/design/draft-query.txt: Removed LINKS from the query types,
21204 because all the rest can be dispatched to other pads -- seemed
21205 ugly to have a query that couldn't be dispatched. internal_links
21206 is fine as a pad method.
21208 * gst/gstpad.h: Add query2 as a pad method, add the new functions
21209 in gstpad.c, but maintain binary compatibility for the moment.
21210 Will fix before 0.9 is out.
21212 * gst/gstqueryutils.c:
21213 * gst/gstqueryutils.h: New files, implement 3 methods for each
21214 query type: parse_query, parse_response, and set. Probably need an
21217 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21219 * gst/elements/gstfilesink.c (gst_filesink_query2):
21220 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21221 query_types, and formats methods.
21223 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21224 (gst_pad_set_query2_function): New functions.
21225 (gst_real_pad_init): Set query2_default as the default query2
21226 function. Basically just dispatches to internally linked pads.
21230 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21231 without using the atomic operations. Only one thread can possibly
21232 be accessing the data at this point. Changed so as to avoid
21233 gst_atomic operations.
21235 2005-05-06 Wim Taymans <wim@fluendo.com>
21237 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21238 Also set caps if we use the fallback buffer alloc.
21240 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
21242 * docs/gst/Makefile.am:
21243 * docs/gst/gstreamer-docs.sgml:
21244 * docs/gst/gstreamer-sections.txt:
21245 * docs/gst/tmpl/gstatomic.sgml:
21246 * docs/gst/tmpl/gstmemchunk.sgml:
21247 * testsuite/elements/struct_i386.h:
21248 * win32/GStreamer.vcproj:
21250 Purge GstAtomic stuff from docs and win32 makefiles as well
21252 2005-05-06 Wim Taymans <wim@fluendo.com>
21254 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21255 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21256 * gst/gstpad.c: (gst_pad_peer_get_caps):
21257 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21258 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21259 (gst_queue_src_activate), (gst_queue_change_state):
21261 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21262 (intersect_caps_func):
21263 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21264 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21265 Some fixes for the peer_get_caps() change.
21267 2005-05-06 Wim Taymans <wim@fluendo.com>
21269 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21270 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21271 (gst_basesink_activate):
21272 Actually do something with error codes returned from the push
21275 2005-05-06 Wim Taymans <wim@fluendo.com>
21277 * docs/design/part-element-sink.txt:
21278 * docs/design/part-element-source.txt:
21279 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21280 (gst_basesink_event), (gst_basesink_activate):
21281 * gst/base/gstbasesink.h:
21282 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21283 (gst_basesrc_activate):
21284 * gst/base/gstbasesrc.h:
21285 * gst/gstelement.c: (gst_element_pads_activate):
21286 Some more documentation.
21287 Fixed scheduling decision in _pads_activate().
21289 2005-05-05 Andy Wingo <wingo@pobox.com>
21291 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21294 2005-05-05 Wim Taymans <wim@fluendo.com>
21296 * gst/base/Makefile.am:
21297 * gst/base/gstbasesink.h:
21298 * gst/base/gstbasesrc.c: (gst_basesrc_init),
21299 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21300 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21301 (gst_collectpads_class_init), (gst_collectpads_init),
21302 (gst_collectpads_finalize), (gst_collectpads_new),
21303 (gst_collectpads_set_function), (gst_collectpads_add_pad),
21304 (find_pad), (gst_collectpads_remove_pad),
21305 (gst_collectpads_is_active), (gst_collectpads_collect),
21306 (gst_collectpads_collect_range), (gst_collectpads_start),
21307 (gst_collectpads_stop), (gst_collectpads_peek),
21308 (gst_collectpads_pop), (gst_collectpads_available),
21309 (gst_collectpads_read), (gst_collectpads_flush),
21310 (gst_collectpads_chain):
21311 * gst/base/gstcollectpads.h:
21312 * gst/elements/Makefile.am:
21313 * gst/elements/gstelements.c:
21314 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21315 (gst_fakesink_get_times), (gst_fakesink_event),
21316 (gst_fakesink_preroll), (gst_fakesink_render):
21317 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21318 (gst_filesink_init), (gst_filesink_set_location),
21319 (gst_filesink_open_file), (gst_filesink_close_file),
21320 (gst_filesink_pad_query), (gst_filesink_event),
21321 (gst_filesink_render), (gst_filesink_change_state):
21322 * gst/elements/gstfilesink.h:
21323 Added object to help in making collect pad based elements.
21325 Make event function in sink baseclass return gboolean.
21327 2005-05-05 Wim Taymans <wim@fluendo.com>
21329 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21330 (gst_bin_get_by_name):
21332 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21333 (gst_clock_finalize):
21334 * gst/gstdata.c: (gst_data_replace):
21336 * gst/gstelement.c: (gst_element_request_pad),
21337 (gst_element_pads_activate):
21338 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21339 (gst_object_unref):
21340 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21341 (gst_pad_set_checkgetrange_function),
21342 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21343 (gst_pad_check_pull_range), (gst_pad_pull_range),
21344 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21345 (gst_pad_pause_task), (gst_pad_stop_task):
21346 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21347 (gst_element_request_pad), (gst_pad_proxy_getcaps):
21348 Fix name lookup in GstBin.
21349 Added _data_replace() function and _buffer_replace()
21350 Use finalize method to clean up clock.
21351 Fix refcounting on request pads.
21352 Fix pad schedule mode error.
21353 Some more object refcounting debug info,
21356 2005-05-04 Andy Wingo <wingo@pobox.com>
21358 * check/Makefile.am:
21359 * docs/gst/tmpl/gstatomic.sgml:
21360 * docs/gst/tmpl/gstplugin.sgml:
21361 * gst/base/gstbasesink.c: (gst_basesink_activate):
21362 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21363 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21364 (gst_basesrc_query), (gst_basesrc_set_property),
21365 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21366 (gst_basesrc_activate):
21367 * gst/base/gstbasesrc.h:
21368 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21369 (gst_base_transform_src_activate):
21370 * gst/elements/gstelements.c:
21371 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21372 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21373 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21374 * gst/elements/gsttypefindelement.c: (find_element_get_length),
21375 (gst_type_find_element_checkgetrange),
21376 (gst_type_find_element_activate):
21377 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21378 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21379 (gst_caps_load_thyself):
21380 * gst/gstelement.c: (gst_element_pads_activate),
21381 (gst_element_save_thyself), (gst_element_restore_thyself):
21382 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21383 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21385 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21386 (gst_xml_parse_file), (gst_xml_parse_memory),
21387 (gst_xml_get_element), (gst_xml_make_element):
21388 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21389 (_file_index_id_save_xml), (gst_file_index_commit):
21390 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21391 (read_enum), (load_pad_template), (load_feature), (load_plugin),
21393 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21394 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21395 * tools/gst-complete.c: (main):
21396 * tools/gst-compprep.c: (main):
21397 * tools/gst-inspect.c: (print_element_properties_info):
21398 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21399 * tools/gst-xmlinspect.c: (print_element_properties):
21402 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
21404 * gst/gstplugin.c: (gst_plugin_check_module),
21405 (gst_plugin_check_file), (gst_plugin_load_file):
21406 apply patch from #172526 to make register work on MacOSX
21408 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21410 * docs/gst/tmpl/gstconfig.sgml:
21411 * gst/gstconfig.h.in:
21412 move documentation for some symbols. Add doc for GST_PTR_FORMAT
21413 * testsuite/debug/printf_extension.c: (main):
21414 Do not use GST_PTR_FORMAT on pointers to types with
21415 sizeof < sizeof(gpointer). Fixes test on 64-bit
21416 * testsuite/elements/property.h:
21417 use correct printf format
21419 2005-05-02 Wim Taymans <wim@fluendo.com>
21421 * docs/design/draft-push-pull.txt:
21422 * docs/design/draft-query.txt:
21423 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21424 (gst_basesrc_start):
21425 Added draft for new query API.
21426 Added draft for better selecting scheduling methods.
21427 Make basesrc ignore length if the subclass does not support
21430 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21433 possible fixes for automake-1.5 - _LIBADD is reserved
21435 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21437 * docs/faq/Makefile.am:
21438 * docs/manual/Makefile.am:
21439 * docs/manuals.mak:
21440 * docs/pwg/Makefile.am:
21442 possible fixes for automake-1.5
21444 2005-04-28 Wim Taymans <wim@fluendo.com>
21446 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21447 (gst_basesink_pad_getcaps), (gst_basesink_init),
21448 (gst_basesink_do_sync):
21449 * gst/gstclock.c: (gst_clock_entry_new):
21450 * gst/gstevent.c: (gst_event_discont_get_value):
21451 * gst/gstpipeline.c: (pipeline_bus_handler),
21452 (gst_pipeline_change_state):
21453 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21454 Better debugging of clocking info.
21455 Allow NULL values when getting discont values.
21457 2005-04-27 Wim Taymans <wim@fluendo.com>
21459 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21460 * check/gst/gstpad.c: (gst_pad_suite):
21461 Increase timeout for checks.
21463 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21465 * check/Makefile.am:
21466 fix the broken rule for cleanup. Apparently this rule is
21467 only needed on FC2, so maybe this warrants further autotool
21470 2005-04-26 Wim Taymans <wim@fluendo.com>
21472 * gst/gsttrashstack.h:
21473 Ooohh. a nasty one! After having a failed pop() from the stack,
21474 it's possible that the stack is empty. In that case, don't
21475 follow the NULL pointer.
21477 2005-04-25 Wim Taymans <wim@fluendo.com>
21479 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21480 (gst_pad_set_checkgetrange_function),
21481 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21482 (gst_pad_check_pull_range), (gst_pad_pull_range),
21483 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21484 (gst_pad_pause_task), (gst_pad_stop_task):
21485 * gst/gstplugin.c: (gst_plugin_load):
21487 Remove gst_library_load as it does more harm than good with
21488 the new g_module flags.
21489 Revert bogus caps template check in pad linking, pad caps
21490 are important when linking not the template, which is more
21491 general than the current caps.
21493 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21495 * gst/autoplug/.cvsignore:
21496 * gst/autoplug/Makefile.am:
21497 * gst/autoplug/gstsearchfuncs.c:
21498 * gst/autoplug/gstsearchfuncs.h:
21499 * gst/autoplug/gstspider.c:
21500 * gst/autoplug/gstspider.h:
21501 * gst/autoplug/gstspideridentity.c:
21502 * gst/autoplug/gstspideridentity.h:
21503 * gst/autoplug/spidertest.c:
21506 2005-04-25 Wim Taymans <wim@fluendo.com>
21508 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21509 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21510 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21511 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21513 Added stubs for unimplemented functions.
21515 2005-04-24 David Schleef <ds@schleef.org>
21517 * gst/gstpad.h: Disable some unimplemented functions. Wim,
21520 2005-04-24 David Schleef <ds@schleef.org>
21522 Convert everything from GstAtomicInt to g_atomic_int_*, and
21527 * gst/gstatomic_impl.h:
21535 * gst/gstdata_private.h:
21539 * gst/gstmessage.c:
21542 * gst/gststructure.c:
21543 * gst/gststructure.h:
21544 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21547 2005-04-24 David Schleef <ds@schleef.org>
21549 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21550 make the regressions tests work. Remove some code that is no
21552 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21553 Disable warning for pads without templates.
21555 2005-04-24 David Schleef <ds@schleef.org>
21557 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
21558 functions that handle filtered links.
21559 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21561 * gst/gstutils.c: Fix/remove utility functions that handle
21564 * gst/gstvalue.c: Add serialization/deserialization of caps
21565 * gst/parse/grammar.y: Ignore filtered caps when linking. This
21566 requires fixing so that the filter caps notation creates
21567 a capsfilter element and sets the filter_caps property. I
21568 think everyone probably wants to keep the shorthand notation.
21569 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21570 * docs/gst/tmpl/gstpad.sgml:
21572 * gst/elements/gstelements.c: Register capsfilter element.
21573 * gst/Makefile.am: fix spacing
21574 * docs/random/ds/0.9-suggested-changes: random
21576 2005-04-23 David Schleef <ds@schleef.org>
21578 * gst/elements/Makefile.am:
21579 * gst/elements/gstcapsfilter.c: New element that acts like an
21580 identity, but filters caps. Will eventually replace filtered
21581 caps in pad linking.
21582 * gst/gstutils.c: (gst_element_create_all_pads): New function
21583 to create all the ALWAYS pads that are registered with an
21584 element class. This functionality should eventually be
21585 merged in with GstElement initialization.
21587 * testsuite/trigger/README: part of trigger test code that should
21588 have been checked in a long time ago.
21590 2005-04-23 David Schleef <ds@schleef.org>
21592 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
21593 needed with new versions of libtool (nobody will confirm this),
21594 and hard to carry around.
21595 * gst/autoplug/Makefile.am:
21596 * gst/base/Makefile.am:
21597 * gst/elements/Makefile.am:
21598 * gst/indexers/Makefile.am:
21599 * gst/schedulers/Makefile.am:
21600 * libs/gst/bytestream/Makefile.am:
21601 * libs/gst/control/Makefile.am:
21602 * libs/gst/dataprotocol/Makefile.am:
21603 * libs/gst/getbits/Makefile.am:
21605 2005-04-21 Wim Taymans <wim@fluendo.com>
21607 * docs/design/draft-push-pull.txt:
21608 * docs/design/part-MT-refcounting.txt:
21609 * docs/design/part-TODO.txt:
21610 * docs/design/part-caps.txt:
21611 * docs/design/part-events.txt:
21612 * docs/design/part-gstbus.txt:
21613 * docs/design/part-gstpipeline.txt:
21614 * docs/design/part-messages.txt:
21615 * docs/design/part-push-pull.txt:
21616 * docs/design/part-query.txt:
21619 2005-04-21 Wim Taymans <wim@fluendo.com>
21621 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21622 (gst_message_new), (gst_message_new_error),
21623 (gst_message_new_warning), (gst_message_new_tag),
21624 (gst_message_new_state_changed), (gst_message_new_application),
21625 (gst_message_get_structure):
21626 * gst/gstmessage.h:
21627 * gst/gststructure.c: (gst_structure_set_parent_refcount),
21628 (gst_structure_copy_conditional):
21629 Use parent refcount in GstMessage to ensure GstStructure
21631 Cleaned up headers a bit.
21634 2005-04-20 Wim Taymans <wim@fluendo.com>
21636 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21637 (gst_basesink_pad_getcaps), (gst_basesink_init),
21638 (gst_basesink_chain_unlocked):
21639 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21640 (gst_type_find_helper):
21641 * gst/elements/gsttypefindelement.c:
21642 (gst_type_find_element_have_type), (gst_type_find_element_init),
21643 (stop_typefinding), (gst_type_find_element_handle_event),
21644 (find_suggest), (gst_type_find_element_chain),
21645 (gst_type_find_element_checkgetrange),
21646 (gst_type_find_element_getrange), (do_typefind),
21647 (gst_type_find_element_activate):
21648 * gst/gstbuffer.c: (_gst_buffer_sub_free),
21649 (gst_buffer_default_free), (gst_buffer_default_copy),
21650 (gst_buffer_set_caps):
21651 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21652 (gst_caps_replace):
21653 * gst/gstmessage.c: (gst_message_new),
21654 (gst_message_new_state_changed):
21655 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21656 (gst_pad_set_checkgetrange_function),
21657 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21658 (gst_pad_set_caps), (gst_pad_check_pull_range),
21659 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21661 * gst/gsttypefind.c: (gst_type_find_register):
21662 Make gst_caps_replace() work like other _replace() functions.
21663 Use _caps_replace() where possible.
21664 Make sure _message_new() initialises its field.
21665 Add gst_static_pad_template_get_caps()
21668 2005-04-18 Andy Wingo <wingo@pobox.com>
21670 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21671 on the peer, not the pad. I think that was a typo. Pass an extra
21672 arg to see if random access is possible. Activate the pads as
21673 PULL_RANGE if possible.
21675 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21677 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
21678 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21681 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21683 * docs/faq/using.xml:
21684 Add note on gstreamer-properties (#154996).
21686 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21688 * docs/random/bbb/optional-properties:
21689 Some analysis on optional properties.
21691 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21693 * docs/gst/tmpl/gstelementfactory.sgml:
21694 * gst/gstelement.h:
21695 * gst/gstelementfactory.c: (gst_element_factory_init),
21696 (gst_element_factory_cleanup), (gst_element_register),
21697 (__gst_element_factory_add_static_pad_template),
21698 (gst_element_factory_get_static_pad_templates),
21699 (gst_element_factory_can_src_caps),
21700 (gst_element_factory_can_sink_caps):
21701 * gst/registries/Makefile.am:
21702 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
21703 (gst_xml_registry_class_init), (gst_xml_registry_init),
21704 (gst_xml_registry_new), (gst_xml_registry_set_property),
21705 (gst_xml_registry_get_property), (get_time), (make_dir),
21706 (gst_xml_registry_get_perms_func),
21707 (plugin_times_older_than_recurse), (plugin_times_older_than),
21708 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
21709 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
21710 (add_to_char_array), (read_string), (read_uint), (read_enum),
21711 (load_pad_template), (load_feature), (load_plugin), (load_paths),
21712 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
21713 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
21714 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
21715 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
21716 (gst_xml_registry_rebuild):
21717 * gst/registries/gstlibxmlregistry.h:
21718 * tools/gst-compprep.c: (main):
21719 * tools/gst-inspect.c: (print_pad_templates_info):
21720 * tools/gst-xmlinspect.c: (print_element_info):
21721 Use libxml2 for registry parsing, use staticpadtemplates in
21722 elementfactories. Makes gst_init() +/- 10x faster.
21724 2005-04-12 Wim Taymans <wim@fluendo.com>
21726 * gst/base/Makefile.am:
21727 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21728 (gst_basesink_pad_getcaps), (gst_basesink_init),
21729 (gst_basesink_event), (gst_basesink_change_state):
21730 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21731 (gst_basesrc_init), (gst_basesrc_query),
21732 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21733 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21734 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21735 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21736 (gst_basesrc_stop), (gst_basesrc_activate),
21737 (gst_basesrc_change_state):
21738 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21739 (helper_find_suggest), (gst_type_find_helper):
21740 * gst/base/gsttypefindhelper.h:
21741 * gst/elements/Makefile.am:
21742 * gst/elements/gstelements.c:
21743 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21744 (gst_fakesink_get_times), (gst_fakesink_event),
21745 (gst_fakesink_preroll), (gst_fakesink_render):
21746 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21747 (gst_fakesrc_init), (gst_fakesrc_event_handler),
21748 (gst_fakesrc_get_property), (gst_fakesrc_create),
21749 (gst_fakesrc_start), (gst_fakesrc_stop):
21750 * gst/elements/gstfakesrc.h:
21751 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
21752 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21753 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21754 (gst_filesrc_create_read), (gst_filesrc_create),
21755 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
21756 (gst_filesrc_start):
21757 * gst/elements/gsttypefindelement.c:
21758 (gst_type_find_element_have_type), (gst_type_find_element_init),
21759 (start_typefinding), (stop_typefinding), (push_buffer_store),
21760 (gst_type_find_element_handle_event),
21761 (gst_type_find_element_chain),
21762 (gst_type_find_element_checkgetrange),
21763 (gst_type_find_element_getrange), (do_typefind),
21764 (gst_type_find_element_activate),
21765 (gst_type_find_element_change_state):
21766 * gst/elements/gsttypefindelement.h:
21767 * gst/gstpipeline.c: (pipeline_bus_handler):
21768 Added typefind helper.
21769 Small preroll fix in the base sink.
21770 Disable typefind code in basesrc.
21771 Crude port of typefindelement.
21775 2005-04-11 Wim Taymans <wim@fluendo.com>
21777 * check/gst/gstbus.c: (gstbus_suite):
21778 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
21779 * check/gstcheck.h:
21780 Fix up the timeout so that the test does not fail.
21782 2005-04-06 Wim Taymans <wim@fluendo.com>
21785 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21786 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
21787 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21788 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21789 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21790 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21791 (gst_basesrc_stop), (gst_basesrc_activate),
21792 (gst_basesrc_change_state), (basesrc_find_peek),
21793 (basesrc_find_suggest), (gst_basesrc_type_find):
21794 * gst/base/gstbasesrc.h:
21795 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
21796 (gst_filesrc_class_init), (gst_filesrc_init),
21797 (gst_filesrc_finalize), (gst_filesrc_set_location),
21798 (gst_filesrc_set_property), (gst_filesrc_get_property),
21799 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21800 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21801 (gst_filesrc_create_read), (gst_filesrc_create),
21802 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
21803 * gst/elements/gstfilesrc.h:
21804 * gst/gstelement.c: (gst_element_get_state_func),
21805 (gst_element_lost_state), (gst_element_pads_activate):
21806 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21807 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21808 (gst_pad_pull_range):
21810 More work on the generic source base class, implement seeking,
21812 Make filesrc extend the base source class.
21813 Added gst_pad_set_checkgetrange_function to GstPad.
21815 2005-04-06 Andy Wingo <wingo@pobox.com>
21817 * pkgconfig/gstreamer-base.pc.in:
21818 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
21820 * pkgconfig/Makefile.am:
21821 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
21823 2005-04-04 Wim Taymans <wim@fluendo.com>
21825 * gst/base/Makefile.am:
21827 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21828 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21829 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21830 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
21831 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21832 (gst_basesrc_base_init), (gst_basesrc_class_init),
21833 (gst_basesrc_init), (gst_basesrc_get_formats),
21834 (gst_basesrc_get_query_types), (gst_basesrc_query),
21835 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
21836 (gst_basesrc_set_property), (gst_basesrc_get_property),
21837 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
21838 (gst_basesrc_loop), (gst_basesrc_activate),
21839 (gst_basesrc_change_state):
21840 * gst/base/gstbasesrc.h:
21841 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
21842 (gst_fakesrc_class_init), (gst_fakesrc_init),
21843 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
21844 (gst_fakesrc_get_property), (gst_fakesrc_create):
21845 * gst/elements/gstfakesrc.h:
21846 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
21847 (gst_filesrc_open_file), (gst_filesrc_loop),
21848 (gst_filesrc_activate), (filesrc_find_peek),
21849 (gst_filesrc_type_find):
21850 Made base source class, make fakesrc extend it.
21851 Add comments to basesink class.
21852 Some filesrc cleanup.
21854 2005-03-31 David Schleef <ds@schleef.org>
21856 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
21857 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
21858 expected to link against libgstreamer.
21859 * gst/base/Makefile.am: link against libgstreamer
21860 * gst/elements/Makefile.am: same
21862 2005-03-31 Andy Wingo <wingo@pobox.com>
21864 * tests/instantiate/Makefile.am:
21865 * tests/instantiate/caps.c: Add test to test speed of caps copy
21868 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
21869 GMemChunk to be fair.
21871 * gst/gsttrashstack.h: Remove warning about using the fallback
21872 trash stack implementation, it's still faster than malloc.
21874 2005-03-30 Andy Wingo <wingo@pobox.com>
21876 * tests/complexity.c: Add a copyright.
21878 2005-03-31 Wim Taymans <wim@fluendo.com>
21880 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
21881 (gst_base_transform_class_init), (gst_base_transform_init),
21882 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21883 (gst_base_transform_get_property),
21884 (gst_base_transform_sink_activate),
21885 (gst_base_transform_src_activate),
21886 (gst_base_transform_change_state):
21887 * gst/base/gstbasetransform.h:
21888 * gst/elements/gstidentity.c: (gst_identity_class_init),
21889 (gst_identity_event), (gst_identity_check_perfect),
21890 (gst_identity_transform), (gst_identity_start),
21891 (gst_identity_stop):
21892 Added start/stop methods to transform base class so subclasses
21893 don't need to deal with state changes even.
21895 2005-03-31 Wim Taymans <wim@fluendo.com>
21897 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
21898 (gst_event_new_discontinuous), (gst_event_discont_get_value):
21900 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21901 (gst_pad_pull_range):
21902 Added rate to the discont event to prepare for variable speed
21903 and reverse playback.
21905 2005-03-29 David Schleef <ds@schleef.org>
21908 * testsuite/trigger/Makefile.am:
21909 * testsuite/trigger/trigger.c: A little example program to show
21910 how trigger-based elements can work.
21912 2005-03-29 Wim Taymans <wim@fluendo.com>
21914 * gst/base/Makefile.am:
21916 * gst/base/gstbasesink.c: (gst_basesink_get_type),
21917 (gst_basesink_base_init), (gst_basesink_class_init),
21918 (gst_basesink_pad_getcaps), (gst_basesink_init),
21919 (gst_basesink_activate), (gst_basesink_change_state):
21920 * gst/base/gstbasesink.h:
21921 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
21922 (gst_base_transform_base_init), (gst_base_transform_finalize),
21923 (gst_base_transform_class_init), (gst_base_transform_init),
21924 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
21925 (gst_base_transform_event), (gst_base_transform_getrange),
21926 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
21927 (gst_base_transform_set_property),
21928 (gst_base_transform_get_property),
21929 (gst_base_transform_sink_activate),
21930 (gst_base_transform_src_activate),
21931 (gst_base_transform_change_state):
21932 * gst/base/gstbasetransform.h:
21933 * gst/elements/gstidentity.c: (gst_identity_finalize),
21934 (gst_identity_class_init), (gst_identity_init),
21935 (gst_identity_event), (gst_identity_check_perfect),
21936 (gst_identity_transform), (gst_identity_set_property),
21937 (gst_identity_get_property), (gst_identity_change_state):
21938 * gst/elements/gstidentity.h:
21939 * gst/gstelement.c: (gst_element_get_state_func),
21940 (gst_element_lost_state), (gst_element_pads_activate):
21941 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21942 (gst_pad_check_pull_range), (gst_pad_pull_range):
21944 Simplify pad activation.
21945 Added function to check if pull_range can be performed.
21946 Error out when pulling inactive or flushing pads.
21947 Removed const from refcounted types as it does not make sense.
21948 Simplify pad templates in basesink
21949 Added base class for simple 1-to-1 transforms.
21950 Make identity subclass the base transform.
21952 2005-03-29 Andy Wingo <wingo@pobox.com>
21954 * docs/libs/gstreamer-libs-overrides.txt:
21955 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
21956 really don't understand what's going on, but like whatever. I want
21959 * docs/gst/Makefile.am:
21960 * docs/libs/Makefile.am: Dist the overrides files.
21962 * check/Makefile.am (clean-local): Remove .libs directories.
21964 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
21965 elements to EXTRA_DIST, so po/ files are happy.
21967 * po/POTFILES.in: Er, remove it here.
21969 * po/POTFILES: Remove gstspider.c.
21971 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
21973 * docs/libs/gstreamer-libs-docs.sgml:
21974 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
21977 * tests/complexity.c (main): Set the length of the preroll queue
21978 on the sinks to prevent a lockup.
21980 * libs/gst/dataprotocol/Makefile.am:
21981 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
21982 the same as the one in check/gst-libs/gdp.c.
21984 * po/, docs/gst/: Commit automatic changes to docs and po files.
21986 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
21987 the versioned libgstbase.
21989 * check/Makefile.am: Depend on an unversioned gst-register, seems
21990 to make autoconf happier.
21992 * gst/base/Makefile.am: Make libgstbase a versioned lib.
21994 2005-03-28 Wim Taymans <wim@fluendo.com>
21997 * docs/design/part-gstelement.txt:
21998 * docs/design/part-negotiation.txt:
21999 * docs/design/part-preroll.txt:
22000 * docs/design/part-scheduling.txt:
22001 * docs/design/part-states.txt:
22003 * gst/base/Makefile.am:
22005 * gst/base/gstbasesink.c: (gst_basesink_get_template),
22006 (gst_basesink_base_init), (gst_basesink_class_init),
22007 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22008 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22009 (gst_basesink_set_pad_functions),
22010 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22011 (gst_basesink_set_property), (gst_basesink_get_property),
22012 (gst_base_sink_get_template), (gst_base_sink_get_caps),
22013 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22014 (gst_basesink_preroll_queue_push),
22015 (gst_basesink_preroll_queue_empty),
22016 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22017 (gst_basesink_event), (gst_basesink_get_times),
22018 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22019 (gst_basesink_chain_unlocked), (gst_basesink_chain),
22020 (gst_basesink_loop), (gst_basesink_activate),
22021 (gst_basesink_change_state):
22022 * gst/base/gstbasesink.h:
22023 * gst/elements/Makefile.am:
22024 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22025 (gst_fakesink_class_init), (gst_fakesink_init),
22026 (gst_fakesink_set_property), (gst_fakesink_get_property),
22027 (gst_fakesink_get_times), (gst_fakesink_event),
22028 (gst_fakesink_preroll), (gst_fakesink_render),
22029 (gst_fakesink_change_state):
22030 * gst/elements/gstfakesink.h:
22031 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22032 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22033 * gst/gstelement.c: (gst_element_add_pad),
22034 (gst_element_get_state_func), (gst_element_abort_state),
22035 (gst_element_commit_state), (gst_element_lost_state),
22036 (gst_element_set_state), (gst_element_pads_activate):
22037 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22038 * gst/gstpipeline.c: (gst_pipeline_send_event),
22039 (gst_pipeline_change_state):
22040 Added state change code.
22041 Added/updated docs.
22042 Added sink base class, make fakesink extend the base class.
22043 Small cleanups in GstPipeline.
22045 2005-03-26 David Schleef <ds@schleef.org>
22047 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
22048 is broken and should be implemented in a different library.
22049 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22050 * gst/gst.h: remove gstcpu.h
22051 * gst/gstcpu.c: remove
22052 * gst/gstcpu.h: remove
22053 * gst/Makefile.am.future: Remove this file. It's ancient.
22055 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22057 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22058 (gst_bin_send_event):
22059 Add default event/set_manager handlers. The set_manager handler
22060 takes care that the manager is distributed over kids that were
22061 already in the bin before the manager was set. The event handler
22062 is a utility virtual function that sends the event over all sinks,
22063 so that gst_element_send_event (bin, event); has the expected
22065 * gst/gstpad.c: (gst_pad_event_default):
22066 Re-install default event handling for discontinuities, so that
22067 seeking works without requiring hacks in applications or extra
22069 * gst/gstpipeline.c: (gst_pipeline_class_init),
22070 (gst_pipeline_send_event):
22071 Half hack, half utility: set a pipeline to PAUSED for seek events,
22072 since that is the only way we can guarantee a/v sync. Means that
22073 you can do gst_element_seek (pipeline, method, pos); on a pipeline
22074 and it "just works".
22076 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22078 * gst/gstpipeline.c: (gst_pipeline_use_clock):
22079 Lock/unlock mismatch.
22081 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
22083 * docs/faq/gst-uninstalled:
22084 add gst-plugins-base
22085 * docs/gst/Makefile.am:
22086 don't error out until docs are fixed
22087 * docs/gst/gstreamer.types:
22090 2005-03-22 Wim Taymans <wim@fluendo.com>
22092 * check/Makefile.am:
22093 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22094 * gst/gststructure.c: (gst_structure_set_valist),
22095 (gst_structure_copy_conditional):
22096 Activated more tests.
22097 Added message test.
22098 Added G_TYPE_POINTER to GstStructure.
22101 2005-03-22 Wim Taymans <wim@fluendo.com>
22103 * docs/design/part-TODO.txt:
22104 * docs/design/part-events.txt:
22105 * docs/design/part-gstbin.txt:
22106 * docs/design/part-gstbus.txt:
22107 * docs/design/part-gstpipeline.txt:
22108 * docs/design/part-messages.txt:
22110 * gst/gstmessage.c:
22113 2005-03-21 Wim Taymans <wim@fluendo.com>
22115 * gst/gstbus.c: (gst_bus_post):
22116 Fix copy-and-paste error.
22118 2005-03-21 Wim Taymans <wim@fluendo.com>
22120 * check/Makefile.am:
22122 * gst/elements/Makefile.am:
22123 * gst/elements/gstelements.c:
22124 * gst/elements/gstfakesink.c: (gst_fakesink_init),
22125 (gst_fakesink_event), (gst_fakesink_chain):
22126 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22127 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22128 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22129 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22130 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22131 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22132 (gst_fakesrc_loop), (gst_fakesrc_activate),
22133 (gst_fakesrc_change_state):
22134 * gst/elements/gstfakesrc.h:
22135 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22136 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22137 (gst_filesrc_open_file), (gst_filesrc_loop),
22138 (gst_filesrc_activate), (gst_filesrc_change_state),
22139 (filesrc_find_peek), (filesrc_find_suggest),
22140 (gst_filesrc_type_find):
22141 * gst/elements/gstidentity.c: (gst_identity_finalize),
22142 (gst_identity_class_init), (gst_identity_init),
22143 (gst_identity_proxy_getcaps), (identity_queue_push),
22144 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22145 (gst_identity_getrange), (gst_identity_chain),
22146 (gst_identity_sink_loop), (gst_identity_src_loop),
22147 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22148 (gst_identity_set_property), (gst_identity_get_property),
22149 (gst_identity_change_state):
22150 * gst/elements/gstidentity.h:
22151 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22152 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22153 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22154 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22155 (gst_tee_sink_activate):
22156 * gst/elements/gsttee.h:
22157 * gst/gst.c: (gst_register_core_elements), (init_post):
22159 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22160 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22161 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22162 (gst_bin_change_state):
22164 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22165 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22166 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22167 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22168 (gst_bus_set_sync_handler), (gst_bus_create_watch),
22169 (bus_watch_callback), (bus_watch_destroy),
22170 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22171 (poll_timeout), (gst_bus_poll):
22175 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22176 (gst_element_post_message), (gst_element_message_full),
22177 (gst_element_get_state_func), (gst_element_get_state),
22178 (gst_element_abort_state), (gst_element_commit_state),
22179 (gst_element_lost_state), (gst_element_set_state),
22180 (gst_element_pads_activate), (gst_element_change_state),
22181 (gst_element_dispose), (gst_element_set_manager_func),
22182 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22183 (gst_element_set_manager), (gst_element_get_manager),
22184 (gst_element_set_bus), (gst_element_get_bus),
22185 (gst_element_set_scheduler), (gst_element_get_scheduler):
22186 * gst/gstelement.h:
22187 * gst/gstevent.c: (gst_event_new_segment_seek),
22188 (gst_event_new_flush):
22190 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22191 (_gst_message_free), (gst_message_get_type), (gst_message_new),
22192 (gst_message_new_eos), (gst_message_new_error),
22193 (gst_message_new_warning), (gst_message_new_tag),
22194 (gst_message_new_state_changed), (gst_message_new_application),
22195 (gst_message_get_structure), (gst_message_parse_tag),
22196 (gst_message_parse_state_changed), (gst_message_parse_error),
22197 (gst_message_parse_warning):
22198 * gst/gstmessage.h:
22199 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22200 (gst_real_pad_set_property), (gst_pad_set_active),
22201 (gst_pad_is_active), (gst_pad_set_blocked_async),
22202 (gst_pad_set_blocked), (gst_pad_is_blocked),
22203 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22204 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22205 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22206 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22207 (gst_pad_link_filtered), (gst_pad_relink_filtered),
22208 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22209 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22210 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22211 (gst_pad_set_caps), (gst_pad_configure_sink),
22212 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22213 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22214 (gst_real_pad_dispose), (gst_real_pad_finalize),
22215 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22216 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22217 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22219 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22220 (pipeline_bus_handler), (gst_pipeline_change_state),
22221 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22222 * gst/gstpipeline.h:
22224 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22225 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22226 (gst_queue_link_src), (gst_queue_bufferalloc),
22227 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22228 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22229 (gst_queue_loop), (gst_queue_handle_src_event),
22230 (gst_queue_handle_src_query), (gst_queue_src_activate),
22231 (gst_queue_change_state):
22233 * gst/gstscheduler.c: (gst_scheduler_init),
22234 (gst_scheduler_dispose), (gst_scheduler_create_task),
22235 (gst_scheduler_factory_create):
22236 * gst/gstscheduler.h:
22237 * gst/gststructure.c: (gst_structure_get_type),
22238 (gst_structure_copy_conditional):
22239 * gst/gststructure.h:
22240 * gst/gsttaginterface.h:
22241 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22242 (gst_task_init), (gst_task_dispose), (gst_task_create),
22243 (gst_task_get_state), (gst_task_start), (gst_task_stop),
22249 * gst/schedulers/Makefile.am:
22250 * gst/schedulers/cothreads_compat.h:
22251 * gst/schedulers/entryscheduler.c:
22252 * gst/schedulers/faircothreads.c:
22253 * gst/schedulers/faircothreads.h:
22254 * gst/schedulers/fairscheduler.c:
22255 * gst/schedulers/gstbasicscheduler.c:
22256 * gst/schedulers/gstoptimalscheduler.c:
22257 * gst/schedulers/gthread-cothreads.h:
22258 * gst/schedulers/threadscheduler.c:
22259 (gst_thread_scheduler_task_get_type),
22260 (gst_thread_scheduler_task_class_init),
22261 (gst_thread_scheduler_task_init),
22262 (gst_thread_scheduler_task_start),
22263 (gst_thread_scheduler_task_stop),
22264 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22265 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22266 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22267 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22269 * libs/gst/Makefile.am:
22270 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22271 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22272 (gst_file_pad_parent_set):
22273 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22274 (gst_dp_event_from_packet):
22275 * tests/complexity.c: (main):
22276 * tests/mass_elements.c: (main):
22277 * testsuite/states/locked.c: (message_received), (main):
22278 * testsuite/states/parent.c: (main):
22279 * tools/gst-inspect.c: (print_element_flag_info),
22280 (print_implementation_info), (print_pad_info):
22281 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22283 * tools/gst-md5sum.c: (event_loop), (main):
22284 * tools/gst-typefind.c: (main):
22285 * tools/gst-xmlinspect.c: (print_element_info):
22287 Added GstBus for mainloop integration.
22288 Added GstMessage for sending notifications on the bus.
22289 Added GstTask as an abstraction for pipeline entry points.
22291 Removed Schedulers.
22292 Simplified GstQueue for multithreaded core.
22293 Made _link threadsafe, removed old capsnego.
22294 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22295 Added pad blocking functions.
22296 Reworked scheduling functions in GstPad to prepare for
22297 scheduling updates soon.
22298 Moved events out of data stream.
22299 Simplified GstEvent types.
22300 Added return values to push/pull.
22301 Removed clocking from GstElement.
22302 Added prototypes for state change function for next merge.
22303 Removed iterate from bins and state change management.
22304 Fixed some elements, disabled others for now.
22305 Fixed -inspect and -launch.
22306 Added check for GstBus.
22308 2005-03-10 Wim Taymans <wim@fluendo.com>
22310 * docs/design/part-MT-refcounting.txt:
22311 * docs/design/part-clocks.txt:
22312 * docs/design/part-gstelement.txt:
22313 * docs/design/part-gstobject.txt:
22314 * docs/design/part-standards.txt:
22315 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22316 (gst_bin_remove_func), (gst_bin_remove):
22320 * testsuite/clock/clock1.c: (main):
22321 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22323 * testsuite/dlopen/loadgst.c: (do_test):
22324 * testsuite/refcounting/bin.c: (add_remove_test1),
22325 (add_remove_test2), (main):
22326 * testsuite/refcounting/element.c: (main):
22327 * testsuite/refcounting/element_pad.c: (main):
22328 * testsuite/refcounting/pad.c: (main):
22329 * tools/gst-launch.c: (sigint_handler_sighandler):
22330 * tools/gst-typefind.c: (main):
22332 Added doc about clock.
22333 removed gst_bin_iterate_recurse_up(), marked methods
22335 Fix more testsuites.
22337 2005-03-09 Wim Taymans <wim@fluendo.com>
22339 * gst/gstpad.c: (gst_pad_get_direction),
22340 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22341 (gst_pad_collect_valist):
22342 * testsuite/bins/interface.c: (main):
22343 * testsuite/caps/audioscale.c: (test_caps):
22344 * testsuite/caps/caps.c: (test1), (test2), (test3):
22345 * testsuite/caps/deserialize.c: (main):
22346 * testsuite/caps/enumcaps.c: (main):
22347 * testsuite/caps/filtercaps.c: (main):
22348 * testsuite/caps/intersect2.c: (main):
22349 * testsuite/caps/random.c: (main):
22350 * testsuite/caps/renegotiate.c: (my_fixate), (main):
22351 * testsuite/caps/sets.c: (check_caps):
22352 * testsuite/caps/simplify.c: (check_caps), (main):
22353 * testsuite/caps/subtract.c: (check_caps):
22354 Fix _pad_get_direction wrt ghostpads.
22355 Fix caps testsuite.
22357 2005-03-09 Wim Taymans <wim@fluendo.com>
22359 * check/Makefile.am:
22360 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22361 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22362 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22363 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22364 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22365 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22366 (gst_bin_remove), (gst_bin_iterate_recurse_up),
22367 (bin_element_is_sink), (gst_bin_iterate_sinks),
22368 (gst_bin_iterate_all_by_interface):
22370 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22371 (gst_element_change_state), (gst_element_dispose),
22372 (gst_element_finalize), (gst_element_set_loop_function):
22373 * gst/gstelement.h:
22374 * gst/gstiterator.c: (find_custom_fold_func):
22375 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22376 (gst_pad_collectv), (gst_pad_collect_valist),
22377 (gst_pad_template_new):
22378 * gst/gstpipeline.c: (gst_pipeline_class_init),
22379 (gst_pipeline_dispose), (gst_pipeline_set_property),
22380 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22381 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22382 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22384 * gst/schedulers/entryscheduler.c:
22385 * gst/schedulers/gstbasicscheduler.c:
22386 (gst_basic_scheduler_cothreaded_chain),
22387 (gst_basic_scheduler_chain_add_element):
22388 * testsuite/bins/interface.c: (main):
22390 Added GstSystemClock test.
22391 Implemented clock distribution code in GstBin.
22392 Implemented iterate sinks method for future use.
22393 Rearranged gstelement.h
22394 Fix GstIterator comparison bug.
22395 Moved some code to GstPipeline, mostly clocking related.
22397 2005-03-09 Wim Taymans <wim@fluendo.com>
22400 * gst/gst_private.h:
22401 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22402 (gst_bin_remove_func), (gst_bin_remove),
22403 (gst_bin_get_by_name_recurse_up):
22404 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22405 (gst_clock_id_compare_func), (gst_clock_id_wait),
22406 (gst_clock_id_wait_async), (gst_clock_init),
22407 (gst_clock_adjust_unlocked), (gst_clock_get_time):
22408 * gst/gstelement.h:
22409 * gst/gstinfo.c: (_gst_debug_init):
22411 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22412 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22414 Bump version number, we're now 0.9.0
22415 Add future debugging category.
22416 Fix NULL _unref() in _get_by_name_recurse_up
22417 Rearrange gstpad.h.
22420 2005-03-08 Wim Taymans <wim@fluendo.com>
22422 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22423 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22424 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22425 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22426 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22427 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22428 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22429 * gst/elements/gstidentity.c: (gst_identity_class_init):
22430 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22431 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22432 * gst/elements/gstshaper.c: (gst_shaper_class_init):
22433 * gst/elements/gststatistics.c: (gst_statistics_class_init):
22434 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22436 * gst/gstelement.c: (gst_element_class_init),
22437 (gst_element_base_class_init), (gst_element_init),
22438 (gst_element_get_random_pad), (gst_element_wait_state_change),
22439 (gst_element_change_state), (gst_element_dispose),
22440 (gst_element_finalize), (gst_element_set_loop_function):
22441 * gst/gstelement.h:
22442 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22443 * gst/gstthread.c: (gst_thread_class_init),
22444 (gst_thread_release_children_locks), (gst_thread_change_state):
22445 * gst/schedulers/gstbasicscheduler.c:
22446 (gst_basic_scheduler_loopfunc_wrapper),
22447 (gst_basic_scheduler_chain_wrapper),
22448 (gst_basic_scheduler_src_wrapper),
22449 (gst_basic_scheduler_remove_element):
22450 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22451 Remove threadsafe properties. Fix elements because GObject
22452 complains when installing a property before declaring a
22453 set/get_property handler.
22454 Rearrange gstelement.h file, use STATE macros for state locks.
22455 Free mutexes in the finalize method instead of dispose.
22457 2005-03-08 Wim Taymans <wim@fluendo.com>
22459 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22460 * gst/gstthread.c: (gst_thread_release_children_locks):
22461 Added parentage check.
22462 Fix build og GstThread again.
22464 2005-03-08 Wim Taymans <wim@fluendo.com>
22466 * docs/design/part-MT-refcounting.txt:
22467 * docs/design/part-conventions.txt:
22468 * docs/design/part-gstobject.txt:
22469 * docs/design/part-relations.txt:
22470 * docs/design/part-standards.txt:
22471 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22472 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22473 (gst_bin_get_by_name), (gst_bin_get_by_interface),
22474 (gst_bin_iterate_all_by_interface):
22477 * gst/gstelement.c: (gst_element_class_init),
22478 (gst_element_change_state), (gst_element_set_loop_function):
22479 * gst/gstelement.h:
22480 * gst/gstiterator.c:
22481 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22482 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22483 (gst_object_dispatch_properties_changed), (gst_object_set_name),
22484 (gst_object_set_parent), (gst_object_unparent),
22485 (gst_object_check_uniqueness):
22487 Docs updates, clean up some headers.
22489 2005-03-07 Wim Taymans <wim@fluendo.com>
22491 * check/.cvsignore:
22492 * check/Makefile.am:
22493 * check/gst-libs/.cvsignore:
22494 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22495 * check/gst/.cvsignore:
22496 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22497 (START_TEST), (gstbus_suite), (main):
22498 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22499 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22500 (gst_data_suite), (main):
22501 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22502 (add_fold_func), (gstiterator_suite), (main):
22503 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22504 (thread_name_object), (thread_name_object_default),
22505 (gst_object_name_compare), (gst_object_suite), (main):
22506 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22507 (gst_pad_suite), (main):
22508 * check/gstcheck.c: (gst_check_log_message_func),
22509 (gst_check_log_critical_func), (gst_check_init):
22510 * check/gstcheck.h:
22511 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22512 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22515 2005-03-07 Wim Taymans <wim@fluendo.com>
22517 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22518 (gst_list_iterator_next), (gst_list_iterator_resync),
22519 (gst_list_iterator_free), (gst_iterator_new_list),
22520 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22521 (gst_iterator_free), (gst_iterator_push), (filter_next),
22522 (filter_resync), (filter_uninit), (filter_free),
22523 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22524 (gst_iterator_foreach), (find_custom_fold_func),
22525 (gst_iterator_find_custom):
22526 * gst/gstiterator.h:
22527 Added missing files.
22529 2005-03-07 Wim Taymans <wim@fluendo.com>
22533 * docs/design/part-MT-refcounting.txt:
22534 * docs/design/part-conventions.txt:
22535 * docs/design/part-gstobject.txt:
22536 * docs/design/part-relations.txt:
22537 * examples/mixer/mixer.c: (main):
22538 * examples/thread/thread.c: (eos), (main):
22540 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22541 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22542 (gst_spider_plug_from_srcpad):
22543 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22544 (gst_spider_identity_change_state),
22545 (gst_spider_identity_sink_loop_type_finding):
22546 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22547 * gst/elements/gstidentity.c: (gst_identity_init):
22548 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22549 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22550 * gst/elements/gsttypefindelement.c: (free_entry):
22553 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22554 (gst_bin_set_clock_func), (gst_bin_auto_clock),
22555 (gst_bin_set_index), (gst_bin_set_element_sched),
22556 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22557 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22558 (gst_bin_iterate_elements), (iterate_child_recurse),
22559 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22560 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22561 (compare_interface), (gst_bin_get_by_interface),
22562 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22564 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22565 (gst_buffer_default_free), (gst_buffer_default_copy),
22566 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22567 (gst_buffer_create_sub):
22569 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22570 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22571 (gst_caps_unref), (gst_static_caps_get),
22572 (gst_caps_remove_and_get_structure), (gst_caps_append),
22573 (gst_caps_append_structure), (gst_caps_remove_structure),
22574 (gst_caps_copy_nth), (gst_caps_set_simple),
22575 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22576 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22577 (gst_caps_structure_intersect_field), (gst_caps_intersect),
22578 (gst_caps_structure_subtract_field), (gst_caps_subtract),
22579 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22580 (gst_caps_structure_figure_out_union),
22581 (gst_caps_switch_structures), (gst_caps_do_simplify),
22582 (gst_caps_replace), (gst_caps_from_string),
22583 (gst_caps_copy_conditional):
22585 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22586 (_gst_clock_id_free), (gst_clock_id_unref),
22587 (gst_clock_id_compare_func), (gst_clock_id_wait),
22588 (gst_clock_id_wait_async), (gst_clock_class_init),
22589 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22590 (gst_clock_get_time), (gst_clock_set_time_adjust),
22591 (gst_clock_set_property), (gst_clock_get_property):
22594 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22595 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22597 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22598 (gst_element_requires_clock), (gst_element_provides_clock),
22599 (gst_element_set_clock), (gst_element_clock_wait),
22600 (gst_element_wait), (gst_element_set_time_delay),
22601 (gst_element_is_indexable), (gst_element_add_pad),
22602 (gst_element_add_ghost_pad), (gst_element_remove_pad),
22603 (pad_compare_name), (gst_element_get_static_pad),
22604 (gst_element_request_pad), (gst_element_get_request_pad),
22605 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22606 (gst_element_class_get_pad_template_list),
22607 (gst_element_class_get_pad_template), (gst_element_error_func),
22608 (gst_element_get_random_pad), (gst_element_get_event_masks),
22609 (gst_element_send_event), (gst_element_seek),
22610 (gst_element_get_query_types), (gst_element_query),
22611 (gst_element_get_formats), (gst_element_convert),
22612 (gst_element_is_locked_state), (gst_element_set_locked_state),
22613 (gst_element_sync_state_with_parent), (gst_element_change_state),
22614 (gst_element_finalize), (gst_element_yield),
22615 (gst_element_interrupt), (gst_element_set_scheduler),
22616 (gst_element_get_scheduler), (gst_element_set_loop_function):
22617 * gst/gstelement.h:
22619 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22620 (gst_format_get_by_nick), (gst_format_get_details),
22621 (gst_format_iterate_definitions):
22623 * gst/gstindex.c: (gst_index_gtype_resolver):
22626 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22627 (gst_mem_chunk_free):
22628 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22629 (gst_object_ref), (gst_object_unref), (gst_object_sink),
22630 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22631 (gst_object_dispatch_properties_changed),
22632 (gst_object_set_name_default), (gst_object_set_name),
22633 (gst_object_get_name), (gst_object_set_name_prefix),
22634 (gst_object_get_name_prefix), (gst_object_set_parent),
22635 (gst_object_get_parent), (gst_object_unparent),
22636 (gst_object_check_uniqueness), (gst_object_save_thyself),
22637 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22638 (gst_object_set_property), (gst_object_get_property),
22639 (gst_object_get_path_string):
22641 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22642 (gst_real_pad_init), (gst_real_pad_get_property),
22643 (gst_pad_custom_new), (gst_pad_get_direction),
22644 (gst_pad_set_active), (gst_pad_is_active),
22645 (gst_pad_set_event_function), (gst_pad_is_linked),
22646 (gst_pad_link_free), (gst_pad_link_intersect),
22647 (gst_pad_link_fixate), (gst_pad_set_caps),
22648 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22649 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22650 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22651 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22652 (gst_pad_get_caps), (gst_pad_peer_get_caps),
22653 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22654 (gst_pad_realize), (gst_pad_get_allowed_caps),
22655 (gst_real_pad_dispose), (gst_real_pad_finalize),
22656 (gst_pad_collectv), (gst_pad_collect_valist),
22657 (gst_pad_template_dispose), (gst_pad_template_new),
22658 (gst_pad_get_internal_links):
22660 * gst/gstpipeline.c: (gst_pipeline_dispose),
22661 (gst_pipeline_change_state):
22662 * gst/gstpipeline.h:
22664 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22665 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22666 * gst/gstpluginfeature.h:
22667 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22668 * gst/gstquery.c: (_gst_query_type_initialize),
22669 (gst_query_type_register), (gst_query_type_get_by_nick),
22670 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22672 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22673 * gst/gstscheduler.c: (gst_scheduler_add_element),
22674 (gst_scheduler_factory_create):
22675 * gst/gststructure.c: (gst_structure_set_parent_refcount),
22676 (gst_structure_free), (gst_structure_set_name),
22677 (gst_structure_id_set_value), (gst_structure_set_value),
22678 (gst_structure_set_valist), (gst_structure_remove_field),
22679 (gst_structure_remove_fields),
22680 (gst_structure_remove_fields_valist),
22681 (gst_structure_remove_all_fields), (gst_structure_foreach),
22682 (gst_structure_map_in_place),
22683 (gst_caps_structure_fixate_field_nearest_int),
22684 (gst_caps_structure_fixate_field_nearest_double):
22685 * gst/gststructure.h:
22686 * gst/gstsystemclock.c: (gst_system_clock_class_init),
22687 (gst_system_clock_init), (gst_system_clock_dispose),
22688 (gst_system_clock_async_thread),
22689 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22690 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
22691 * gst/gstsystemclock.h:
22692 * gst/gsttag.c: (gst_tag_list_add_value_internal),
22693 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
22694 * gst/gsttaginterface.c:
22695 * gst/gstthread.c: (gst_thread_dispose),
22696 (gst_thread_release_children_locks), (gst_thread_change_state),
22697 (gst_thread_main_loop):
22698 * gst/gsttrashstack.h:
22699 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
22701 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22702 (gst_element_request_pad), (gst_element_get_pad_from_template),
22703 (gst_element_request_compatible_pad),
22704 (gst_element_get_compatible_pad_filtered),
22705 (gst_element_get_compatible_pad), (gst_element_state_get_name),
22706 (gst_element_link_pads_filtered), (gst_element_link_filtered),
22707 (gst_element_link_many), (gst_element_link),
22708 (gst_element_link_pads), (gst_element_unlink_pads),
22709 (gst_element_unlink_many), (gst_element_unlink),
22710 (gst_pad_can_link_filtered), (gst_pad_can_link),
22711 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
22712 (gst_object_default_error), (gst_bin_add_many),
22713 (gst_bin_remove_many), (gst_element_populate_std_props),
22714 (gst_element_class_install_std_props), (gst_buffer_merge),
22715 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
22716 (link_fold_func), (gst_pad_proxy_setcaps):
22718 * gst/gstvalue.c: (gst_value_deserialize_string):
22719 * gst/parse/grammar.y:
22720 * gst/schedulers/gstbasicscheduler.c:
22721 (gst_basic_scheduler_cothreaded_chain),
22722 (gst_basic_scheduler_chain_recursive_add),
22723 (gst_basic_scheduler_pad_link):
22724 * gst/schedulers/gstoptimalscheduler.c:
22725 (get_group_schedule_function),
22726 (gst_opt_scheduler_state_transition),
22727 (gst_opt_scheduler_add_element), (element_get_reachables_func):
22728 * libs/gst/bytestream/bytestream.c:
22729 * libs/gst/dataprotocol/dataprotocol.c:
22730 (gst_dp_header_from_buffer):
22733 * tests/threadstate/threadstate2.c: (eos):
22734 * tools/gst-compprep.c: (main):
22735 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
22736 (print_pad_info), (print_children_info):
22737 * tools/gst-launch.c: (idle_func), (main):
22738 * tools/gst-md5sum.c: (idle_func), (main):
22739 * tools/gst-xmlinspect.c: (print_element_info):
22740 First THREADED backport attempt, focusing on adding locks and
22741 making sure the API is threadsafe. Needs more work. More docs
22744 2005-02-24 Andy Wingo <wingo@pobox.com>
22746 * tests/bench-complexity.scm:
22747 * tests/complexity.gnuplot: New files, good for running complexity
22750 * tests/Makefile.am:
22751 * tests/complexity.c: New test, sets up N elements, at each level
22752 teeing into M streams per element. Eeeenteresting.
22754 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
22755 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
22756 running bench-mass_elements.scm.
22758 * tests/bench-mass_elements.scm: New script, runs mass_elements
22759 for various numbers of identities, outputting the results to a
22760 file. Requires guile 1.6. Just for testing.
22762 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
22764 * gst/schedulers/fairscheduler.c:
22765 compile with debug disabled
22767 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
22770 hunting season on 0.9 is now OPEN