1 2007-03-22 Wim Taymans <wim@fluendo.com>
3 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
4 (gst_system_clock_id_wait_jitter),
5 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
6 Fix anoying regression that survived a few releases. When adding an
7 async entry while blocking on a sync entry, the sync entry will unblock
8 but still be busy, so it should continue to wait instead of returning
10 Add some comments here and there.
12 * tests/check/gst/gstsystemclock.c: (mixed_thread),
13 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
14 Add testcase for this.
16 2007-03-22 Wim Taymans <wim@fluendo.com>
18 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
19 Handle errors from the clock sync better, only UNSCHEDULED indicates a
20 WRONG_STATE and can silently pause the task. All other cases should
23 2007-03-22 Wim Taymans <wim@fluendo.com>
25 Patch by: <syrjala at sci dot fi>
27 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
28 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
31 2007-03-21 Michael Smith <msmith@fluendo.com>
33 * docs/pwg/advanced-types.xml:
34 Fix some errors in the typefinding docs pointed out on irc.
36 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
38 * libs/gst/base/gstbasesrc.c:
39 Clarify FIXME comment in the face of having added unlock_stop()
41 2007-03-21 Wim Taymans <wim@fluendo.com>
43 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
44 Prepare for release where we warn against possible app breakage in the
45 case of live pipelines along with an env var to enable/disable live
46 preroll mode (GST_COMPAT=[no-]live-preroll).
48 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
50 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
51 So we should use correct constants for checking for None offset.
53 2007-03-20 Wim Taymans <wim@fluendo.com>
55 * docs/design/part-block.txt:
56 Mention the fact that the newly switched element should be set to at
59 2007-03-20 Wim Taymans <wim@fluendo.com>
62 Fix compilation with registry disabled as spotted by Saur.
64 2007-03-20 Wim Taymans <wim@fluendo.com>
66 Patch by: Olivier Crete <tester at tester dot ca>
68 * gst/gstelement.c: (gst_element_sync_state_with_parent):
69 Look at the pending state too when syncing the element state to the
70 parent. Fixes #420133.
72 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
74 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
75 (gst_base_sink_change_state):
76 * libs/gst/base/gstbasesink.h:
77 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
78 (gst_base_src_default_event), (gst_base_src_unlock_stop),
79 (gst_base_src_deactivate):
80 * libs/gst/base/gstbasesrc.h:
81 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
82 for sub-classes to correctly clear any state they set trying to
83 unlock, such as clearing out unlock commands from a command fd.
85 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
86 (gst_fd_sink_render), (gst_fd_sink_unlock),
87 (gst_fd_sink_unlock_stop):
88 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
89 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
90 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
92 Implement unlock_stop in fdsrc and fdsink.
93 Implement seeking in fdsrc when a seekable fd is passed, as in
94 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
96 2007-03-19 Wim Taymans <wim@fluendo.com>
98 Patch by: Evan Nemerson <evan at coeus dash group dot com>
100 * gst/gstelement.c: (gst_element_class_init):
101 Fix pad-added and pad-removed signal signatures so that the pad type is
102 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
104 2007-03-19 Wim Taymans <wim@fluendo.com>
106 * docs/gst/gstreamer-sections.txt:
107 Add new element field and method.
109 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
110 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
111 (gst_bin_recalc_state), (gst_bin_get_state_func),
112 (gst_bin_element_set_state), (gst_bin_change_state_func),
113 (gst_bin_continue_func), (bin_bus_handler),
114 (bin_push_state_continue), (bin_handle_async_start),
115 (bin_handle_async_done), (gst_bin_handle_message_func):
116 Make async state changes a bit smarter by using new ASYNC_START and
117 ASYNC_DONE messages. This reduces the number of times we run the state
118 recalculation thread.
119 Don't change state of element with a pending ASYNC_START message.
120 Deprecate STATE_DIRTY messages.
122 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
123 (gst_element_get_state_func), (gst_element_continue_state),
124 (gst_element_lost_state), (gst_element_set_state_func),
125 (gst_element_change_state):
127 Keep the state that was last set by the app in a new element field.
128 Don't allow state changes when handling an element event.
129 Post ASYNC_START and ASYNC_DONE messages.
130 Change lost_state so that we go to PAUSED and wait for the parent to set
131 us to PLAYING again (so latency calculation can be performed)
132 Export gst_element_change_state() method so that subclasses can use it.
133 API: gst_element_change_state()
134 API: GST_STATE_TARGET
136 * gst/gstpipeline.c: (gst_pipeline_class_init),
137 (reset_stream_time), (gst_pipeline_change_state),
138 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
139 Using the new ASYNC_START message we can reset the base_time when
140 needed. This can then be used to implement base_time redistribution in
141 flushing seeks so that we can remove the explicit seek handling.
142 Perform latency query and configuration when going to PLAYING.
144 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
145 (gst_base_sink_query), (gst_base_sink_change_state):
146 Post new ASYNC_START/ASYNC_DONE messages.
148 * tests/check/generic/sinks.c: (GST_START_TEST):
149 Fix test because the bin will not set the async element to PLAYING right
152 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
153 Make the message check a little stronger.
154 Handle ASYNC messages.
156 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
157 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
158 Expect ASYNC_DONE messages.
160 2007-03-19 Wim Taymans <wim@fluendo.com>
162 * docs/gst/gstreamer-sections.txt:
163 * gst/gstmessage.c: (gst_message_new_async_start),
164 (gst_message_new_async_done), (gst_message_parse_info),
165 (gst_message_parse_async_start):
167 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
170 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
172 * tools/gst-inspect.c:
173 (print_plugin_automatic_install_info_codecs):
174 Now that we don't check for the 'Codec' keyword any longer in the
175 klass, we shouldn't spew a warning if the klass isn't a decoder or
176 encoder (since it might be a Source/Network, for example).
178 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
180 * tools/gst-inspect.c:
181 (print_plugin_automatic_install_info_codecs):
182 Don't require decoder/demuxer/depayloader elements or
183 encoder/muxer/paylader elements to have 'Codec' as part of their
184 factory class string when introspecting a plugin's capabilities.
185 draft-klass.txt mentions that it might be removed in future, and
186 flump3dec doesn't have it as part of its class string, so chances
187 are others might also not have it.
189 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
211 Update translations from translation project
213 2007-03-14 Stefan Kost <ensonic@users.sf.net>
215 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
216 (gst_child_proxy_set_property):
217 Invert precondition check to be alike the ones in the mimiced gobject
220 2007-03-13 Stefan Kost <ensonic@users.sf.net>
222 * docs/design/draft-tagreading.txt:
223 * docs/random/ensonic/audiobaseclasses.txt:
224 Do some Architect work.
226 * gst/gstobject.c: (gst_object_set_name):
230 Add docs that point from gst_pad_get_range to gst_pad_pull_range
232 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
234 * gst/gstsystemclock.c: (gst_system_clock_init),
235 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
236 Defer starting the async system clock thread until the first async
237 wait is scheduled. Fixes #414986.
239 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
241 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
242 (gst_single_queue_free):
243 Fix small leak (free GstSingleQueue structure too, not only contents).
245 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
247 * gst/gstbin.c:(gst_bin_add):
248 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
249 * win32/common/libgstbase.def:
250 * win32/common/libgstreamer.def:
251 Add new exported functions.
253 2007-03-09 Wim Taymans <wim@fluendo.com>
255 * docs/plugins/gstreamer-plugins-sections.txt:
258 2007-03-09 Wim Taymans <wim@fluendo.com>
260 * docs/gst/gstreamer-sections.txt:
261 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
263 Add metadata copy functions. Fixes #393099.
265 * gst/gstutils.c: (gst_buffer_stamp):
266 * libs/gst/base/gstbasetransform.c:
267 (gst_base_transform_prepare_output_buffer):
268 Use new metadata copy functions.
270 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
272 * plugins/elements/gstidentity.c: (gst_identity_class_init),
273 (gst_identity_init), (gst_identity_check_perfect),
274 (gst_identity_check_imperfect_timestamp),
275 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
276 (gst_identity_set_property), (gst_identity_get_property):
277 * plugins/elements/gstidentity.h:
278 Separate out check-imperfect-timestamp and check-imperfect-offset.
279 Put back check-perfect as it was to keep compatibility.
281 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
283 * gst/gstelement.c: (gst_element_dispose):
284 There's no need to warn if VOID_PENDING is not NONE here, as
285 long as the state is NULL it's ok, and that's checked immediately
288 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
290 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
291 Fix check for perfect stream to ignore buffers with -1
292 offsets/offset ends when checking data contiguity.
294 2007-03-08 Wim Taymans <wim@fluendo.com>
296 * tools/gst-launch.c: (event_loop):
299 2007-03-08 Wim Taymans <wim@fluendo.com>
301 * libs/gst/base/gstbasetransform.c:
302 (gst_base_transform_sink_eventfunc),
303 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
304 (gst_base_transform_activate):
305 * libs/gst/base/gstbasetransform.h:
306 Add support for dropping buffers with custom GstFlowReturn.
307 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
308 buffers or dropped buffers.
310 * docs/libs/gstreamer-libs-sections.txt:
311 docs for new custom return code.
313 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
314 Use drop support in base class to implement drop-probability.
316 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
318 * gst/gst.c: (load_plugin_func):
319 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
320 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
321 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
322 Remove newlines at end of debug log strings.
324 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
326 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
327 Only post bus message at max, once per buffer received.
329 2007-03-07 Wim Taymans <wim@fluendo.com>
331 * docs/design/Makefile.am:
332 * docs/design/part-synchronisation.txt:
333 Add doc about synchronisation
335 * docs/design/draft-latency.txt:
336 * docs/design/part-TODO.txt:
337 * docs/design/part-clocks.txt:
338 * docs/design/part-events.txt:
339 * docs/design/part-gstbus.txt:
340 * docs/design/part-gstpipeline.txt:
341 * docs/design/part-live-source.txt:
342 * docs/design/part-messages.txt:
343 * docs/design/part-overview.txt:
344 * docs/design/part-streams.txt:
345 * docs/design/part-trickmodes.txt:
346 Documentation updates.
348 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
351 Update the doap file.
353 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
355 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
356 Rename non-perfect to imperfect for Mike and for the sanctity of the
358 Also make sure bus message gets emitted for data-incontiguities.
360 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
362 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
363 (gst_identity_start):
364 * plugins/elements/gstidentity.h:
365 Emit bus message if check-perfect is true and we encounter a
366 non-perfect stream between 2 consecutive buffers.
369 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
374 === release 0.10.12 ===
376 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
379 releasing 0.10.12, "Inevitable Demise"
381 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
384 Version 0.10.11.2 (0.10.12 pre-release)
385 Bump libtool versioning.
387 2007-03-01 Stefan Kost <ensonic@users.sf.net>
389 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
390 Log flow-names and not numbers.
392 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
395 Convert to new AG_GST style.
397 2007-02-28 Wim Taymans <wim@fluendo.com>
399 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
400 Don't unref query twice.
402 2007-02-28 Wim Taymans <wim@fluendo.com>
404 * gst/gstvalue.c: (gst_value_transform_object_string),
405 (_gst_value_initialize):
406 Implement GstObject -> string transform so we print object names
407 when serializing GValues containing GstObjects.
409 2007-02-28 Wim Taymans <wim@fluendo.com>
411 * docs/gst/gstreamer-sections.txt:
412 Add new stuff to docs.
414 2007-02-28 Wim Taymans <wim@fluendo.com>
416 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
417 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
418 (gst_base_sink_change_state):
419 Improve latency query code.
420 Don't leak latency events.
422 * tests/check/gst/gstbin.c: (GST_START_TEST):
425 2007-02-28 Wim Taymans <wim@fluendo.com>
427 * gst/gstelement.c: (gst_element_message_full),
428 (gst_element_get_state_func):
430 Improve docs a little. Added Since: for new macro.
432 * gst/gstobject.c: (gst_object_sink):
433 * gst/gstpipeline.c: (gst_pipeline_change_state),
434 (gst_pipeline_set_new_stream_time):
436 Improve debugging and docs.
438 * gst/gstutils.c: (gst_element_state_change_return_get_name):
441 2007-02-28 Wim Taymans <wim@fluendo.com>
443 * gst/gstelement.c: (gst_element_message_full),
444 (gst_element_set_locked_state), (gst_element_get_state_func),
445 (gst_element_change_state):
446 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
447 Documentation updates.
450 * gst/gstmessage.c: (gst_message_new_info),
451 (gst_message_parse_info):
453 API: gst_message_new_info()
454 API: gst_message_parse_info()
455 Add INFO message create and parse code.
457 2007-02-28 Wim Taymans <wim@fluendo.com>
459 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
460 (bin_query_latency_done):
461 Also report the live parameter of a latency query.
463 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
465 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
466 Copy the current generic/states example from -base and adapt so
467 we can use the exact same code everywhere.
468 Check a STATES_IGNORE_ELEMENTS env var which can be used
469 to ignore certain element factories for this test, which is
470 what is being done in -base
471 * tests/check/Makefile.am:
472 Mention this environment variable.
474 2007-02-27 Wim Taymans <wim@fluendo.com>
476 * docs/gst/gstreamer-sections.txt:
477 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
478 (gst_bus_timed_pop), (gst_bus_pop):
480 API: gst_bus_timed_pop()
481 Implement gst_bus_timed_pop() to do a blocking timed wait for a
482 message to arrive on the bus.
484 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
486 Two unit tests for new _timed_pop() function.
488 2007-02-23 Wim Taymans <wim@fluendo.com>
490 * gst/gstpipeline.c: (gst_pipeline_change_state),
491 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
492 Don't ref a NULL clock in _provide_clock_func().
493 Don't allow an INVALID delay.
494 Don't try to calculate base_time with an invalid start_time.
495 Also distribute and notify a NULL clock when it was selected.
497 * tools/gst-launch.c: (event_loop):
498 Don't crash when a NULL clock was selected in the pipeline.
500 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
502 * docs/design/Makefile.am:
503 * docs/design/draft-missing-plugins.txt:
504 * docs/random/draft-missing-plugins.txt:
505 Some small updates: update plugin system identifier prefix
506 ('gstreamer.net' to 'gstreamer'), mention our new install
507 API in libgstbaseutils rather than libgimme-codec, add
508 reference to the online docs.
510 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
512 * win32/common/config.h:
513 Pretty sure Bill never made a powerpc version. Powerpc hackers,
514 use moap cl ci to only check in what is mentioned in the ChangeLog.
516 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
518 * docs/gst/gstreamer-sections.txt:
520 Fix up documentation to link to the correct GstGError section.
521 Add GST_ELEMENT_INFO macro since someone else added a Info message.
523 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
525 * tools/gst-launch.c: (event_loop):
526 Make sure that we actually show the important message part of a
528 No need to check if the gerror is not NULL to free; first of all
529 g_free accepts NULL; and second the default error handler would
530 segfault if gerror was NULL.
532 2007-02-21 Wim Taymans <wim@fluendo.com>
534 * docs/gst/gstreamer-sections.txt:
535 Removed docs as well.
537 2007-02-21 Wim Taymans <wim@fluendo.com>
539 * gst/gstmessage.c: (gst_message_parse_duration):
541 Remove new messages for release.
543 2007-02-20 Wim Taymans <wim@fluendo.com>
545 * docs/design/part-gstghostpad.txt:
546 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
547 (gst_ghost_pad_new_full):
548 Make the ghostpad a parent of the internal pad again for better backward
549 compatibility. Don't write code that relies on this however.
551 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
552 (gst_pad_link_check_hierarchy):
553 Require that parents should be GstElements in the hierarchy check.
555 2007-02-20 Wim Taymans <wim@fluendo.com>
557 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
558 (gst_bin_change_state_func), (bin_query_min_max_init),
559 (bin_query_latency_fold), (bin_query_latency_done),
562 Implement latency query.
564 2007-02-20 Wim Taymans <wim@fluendo.com>
566 * docs/design/part-gstghostpad.txt:
567 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
568 (gst_ghost_pad_internal_do_activate_push),
569 (gst_ghost_pad_internal_do_activate_pull),
570 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
571 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
572 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
573 Do not set the internal pad as a parent anymore so we can avoid
574 hierarchy linking errors when the ghostpad has no parent yet. This also
575 fixes failed activation because of unlinked internal pads, which in
576 turn fixes the impossible case where you have to activate a pad before
577 you can add it to a running element.
580 * gst/gstpad.c: (pre_activate), (post_activate),
581 (gst_pad_set_active), (gst_pad_activate_pull),
582 (gst_pad_activate_push), (gst_pad_check_pull_range):
583 Add some more debug info.
584 Mark activation mode in pre_activate so that we don't try to activate in
585 endless loops. Fixes #385084.
587 2007-02-19 Wim Taymans <wim@fluendo.com>
589 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
590 (gst_base_transform_check_get_range):
591 Implement a checkgetrange function instead of relying on the default
592 core behaviour that assumes we can operate in pull mode if we have a
593 getrange function. First step at fixing #385084.
595 2007-02-15 Stefan Kost <ensonic@users.sf.net>
597 * gst/gstchildproxy.h:
598 * libs/gst/base/gstbasesink.h:
599 * libs/gst/base/gstbasesrc.h:
600 * libs/gst/base/gstbasetransform.h:
601 More docs coverage and some ChangeLog surgery (add missing names)
603 2007-02-15 Wim Taymans <wim@fluendo.com>
605 * docs/design/part-TODO.txt:
606 * docs/design/part-activation.txt:
607 * docs/design/part-block.txt:
608 * docs/design/part-buffering.txt:
609 * docs/design/part-clocks.txt:
610 * docs/design/part-element-source.txt:
611 * docs/design/part-events.txt:
612 * docs/design/part-gstbin.txt:
613 * docs/design/part-gstbus.txt:
614 * docs/design/part-gstpipeline.txt:
615 * docs/design/part-live-source.txt:
616 * docs/design/part-messages.txt:
617 * docs/design/part-overview.txt:
618 * docs/design/part-qos.txt:
619 * docs/design/part-query.txt:
620 * docs/design/part-states.txt:
621 * docs/design/part-trickmodes.txt:
622 Some doc updates. Start renaming from stream_time to running_time where
625 2007-02-15 Wim Taymans <wim@fluendo.com>
627 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
628 Answer LATENCY query.
630 2007-02-15 Wim Taymans <wim@fluendo.com>
632 * tests/check/gst/gstevent.c: (event_probe), (test_event),
636 2007-02-15 Wim Taymans <wim@fluendo.com>
638 * gst/gstpad.c: (gst_pad_get_internal_links_default),
639 (gst_pad_dispatcher):
640 Improve debugging of default pad dispatcher and query functions.
642 2007-02-15 Wim Taymans <wim@fluendo.com>
644 * docs/gst/gstreamer-sections.txt:
645 Remove old unused method.
647 2007-02-13 Wim Taymans <wim@fluendo.com>
649 * tests/check/gst/gstsegment.c: (GST_START_TEST):
652 2007-02-13 Wim Taymans <wim@fluendo.com>
654 * docs/design/part-seeking.txt:
657 * gst/gstsegment.c: (gst_segment_set_seek):
658 Revert old bogus change that should make seeking work again.
660 2007-02-13 Stefan Kost <ensonic@users.sf.net>
662 * docs/random/ensonic/dynlink.txt:
663 * docs/random/ensonic/interfaces.txt:
664 * docs/random/ensonic/receipies.txt:
665 Possible dynamic reconnection api, plus some type fixes the other two
668 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
670 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
671 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
672 Also check for an absolute path following file:// in the filesrc
673 element. Remove redundant check and call g_path_is_absolute() on the
676 2007-02-13 Stefan Kost <ensonic@users.sf.net>
678 * docs/design/draft-klass.txt:
679 Add existing category analysis.
682 Fix doc example, framerate is a fraction.
684 2007-02-12 Stefan Kost <ensonic@users.sf.net>
687 * docs/gst/Makefile.am:
688 * docs/libs/Makefile.am:
689 * docs/plugins/Makefile.am:
690 Add crossreferences to glib/gobject docs.
692 2007-02-12 Wim Taymans <wim@fluendo.com>
694 * docs/design/draft-latency.txt:
697 * docs/libs/gstreamer-libs-sections.txt:
698 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
699 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
700 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
701 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
702 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
703 (gst_base_sink_get_position), (gst_base_sink_query),
704 (gst_base_sink_change_state):
705 * libs/gst/base/gstbasesink.h:
706 API: gst_base_sink_query_latency() to let subclasses query the upstream
708 API: gst_base_sink_get_latency() to let subclasses query the configured
710 Implement query and set latency.
712 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
713 don't continue preroll when we are flushing. Fixes #405284.
715 * tests/check/pipelines/stress.c: (change_state_timeout),
716 (quit_timeout), (GST_START_TEST), (stress_suite):
719 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
721 Patch by: René Stadler <mail at renestadler de>
723 * docs/gst/gstreamer-sections.txt:
724 * gst/gsttaglist.c: (_gst_tag_initialize):
726 API: add GST_TAG_REFERENCE_LEVEL (#403597).
728 2007-02-11 Stefan Kost <ensonic@users.sf.net>
730 * docs/libs/Makefile.am:
731 Fix path to core docs.
733 * gst/gstbin.c: (gst_bin_get_by_interface),
734 (gst_bin_iterate_all_by_interface):
735 Refix docs by also renaming 'interface' to 'iface' in implementation.
737 * docs/gst/gstreamer-sections.txt:
739 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
740 * gst/gstchildproxy.h:
741 * gst/gstelementfactory.c:
742 * gst/gstpadtemplate.h:
743 * libs/gst/controller/gstcontroller.c:
744 (gst_controlled_property_new):
747 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
749 * gst/gstbin.h:(gst_bin_get_by_interface),
750 (gst_bin_iterate_all_by_interface):
751 Replace interface parameter name by iface as interface is
752 a reserved keyword in Visual Studio for C++ projects so it removes
753 a build error for application developpers using VS.
754 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
755 Fix a bug on Windows in uri format check. Now the prefix checked
756 is file:// and next we check if the path after file:// is absolute.
757 * win32/common/libgstbase.def:
758 * win32/common/libgstdataprotocol.def:
759 * win32/common/libgstgstreamer.def:
760 Add new exported functions.
762 2007-02-09 Andy Wingo <wingo@pobox.com>
764 * tests/check/pipelines/simple-launch-lines.c
765 (simple_launch_lines_suite, test_tee): Disable tee test until I
766 have time to fix it :-(
768 * tests/check/Makefile.am (noinst_HEADERS):
769 * tests/check/libs/libsabi.c:
770 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
771 * tests/check/gst/gstabi.c:
772 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
774 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
775 tests for push and pull tee behavior.
777 * plugins/elements/gsttee.h:
778 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
779 mark as deprecated as well as unimplemented. It was a crack idea.
780 Add support for tee operating in pull mode, off by default.
782 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
783 normal-case logs down to LOG, raise errors to WARNING.
784 (gst_registry_xml_read_cache): Don't log before calling a function
787 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
788 exit (registry finalize).
789 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
790 DEBUG log when we emit signals that people don't even have the
791 chance to connect to.
792 (gst_registry_scan_path_level): Less logging in the normal case.
794 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
796 Patch by: Michal Benes <michal dot benes at itonis dot tv>
798 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
799 Correctly generate EOS for non-seekable files. We don't have a total
800 length for them and would get an unexpected end of file if we only
801 special-cased for regular files. (Fixes: #404569)
803 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
805 * tests/check/elements/filesrc.c: (GST_START_TEST),
807 Add unit test for the GstURIHandler interface in filesrc. This also
808 tests the newly added file://localhost/foo/bar support.
810 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
812 * gst/gstelementfactory.h:
813 The klass string is not a hierarchy. Add reference to the design doc
814 for more information and common types.
816 2007-02-02 Wim Taymans <wim@fluendo.com>
818 * gst/gstquery.c: (gst_query_new_latency):
819 Remove old structure field.
821 2007-02-02 Stefan Kost <ensonic@users.sf.net>
823 * tools/gst-launch.1.in:
824 Give example for network streaming (#351998)
826 2007-02-02 Wim Taymans <wim@fluendo.com>
828 * docs/gst/gstreamer-sections.txt:
829 Add docs for new methods.
831 * gst/gstevent.c: (gst_event_new_latency),
832 (gst_event_parse_latency):
834 Add new LATENCY event to configure latency in a pipeline.
835 API: gst_event_new_latency
836 API: gst_event_parse_latency
838 * gst/gstmessage.c: (gst_message_new_buffering),
839 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
840 (gst_message_new_latency), (gst_message_parse_buffering),
841 (gst_message_parse_lost_preroll):
843 Added messages used in draft-latency.
844 API: gst_message_new_lost_preroll
845 API: gst_message_parse_lost_preroll
846 API: gst_message_new_prerolled
847 API: gst_message_new_latency
849 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
850 (gst_query_parse_latency):
852 Implemented new latency query as in design doc.
853 API: gst_query_new_latency
854 API: gst_query_set_latency
855 API: gst_query_parse_latency
857 2007-02-02 Wim Taymans <wim@fluendo.com>
859 * docs/design/draft-latency.txt:
860 Slight redesign to allow for dynamic latency adjustments.
862 * docs/design/part-negotiation.txt:
865 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
867 reviewed by: Wim Taymans <wim@fluendo.com>
869 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
870 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
871 Allow file://localhost/foo/bar URLs and correctly fail for every other
872 hostname that one sets. This was gnomevfssrc is linked for those if
873 installed as it can handle it (#403172)
875 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
877 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
879 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
880 (unref_data), (gst_collect_pads_add_pad_full):
881 * libs/gst/base/gstcollectpads.h:
882 Don't put the previously added destroy notify in the GstCollectData
883 struct as all it's padding is already used and we don't want to break
884 ABI. Instead put in the pad's GObject data for now. This should be
885 cleaned up for 0.11 (#402393).
887 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
889 reviewed by: Wim Taymans <wim@fluendo.com>
891 * docs/libs/gstreamer-libs-sections.txt:
892 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
893 (unref_data), (gst_collect_pads_add_pad),
894 (gst_collect_pads_add_pad_full):
895 * libs/gst/base/gstcollectpads.h:
896 API: Add function to specify a destroy notification for custom
897 GstCollectData when adding new pads in GstCollectPads (#402393).
899 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
902 Update Swedish translation (#378255).
904 2007-01-31 Stefan Kost <ensonic@users.sf.net>
906 * docs/design/draft-klass.txt:
907 Fix the previous change, this is a list of categories and not a hierarchy.
909 2007-01-31 Stefan Kost <ensonic@users.sf.net>
911 * docs/design/draft-klass.txt:
912 Add info about how to get a list of used classes.
914 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
916 * plugins/elements/gsttypefindelement.c:
917 (gst_type_find_element_chain_do_typefinding),
918 (gst_type_find_element_change_state):
919 Don't leak found caps in chain function (no idea why that never
920 showed up as a leak anywhere).
922 2007-01-30 Stefan Kost <ensonic@users.sf.net>
925 Fix and expand GstPluginDesc API docs.
927 2007-01-29 Stefan Kost <ensonic@users.sf.net>
930 * gst/gstelementfactory.c:
931 * gst/gstpadtemplate.h:
934 * libs/gst/controller/gstcontroller.c:
935 (gst_controlled_property_new):
936 * tests/examples/controller/audio-example.c:
939 2007-01-29 Stefan Kost <ensonic@users.sf.net>
942 comment about refining the xml deps
945 comments about moving away from jade for docs
948 recommit the ifdefs to use the binary registry
950 * gst/gstbin.c: (gst_bin_change_state_func):
951 this break is obsolete
953 * gst/gstelementfactory.h:
954 better GST_ELEMENT_DETAILS docs, add comment about translation
959 * gst/gstobject.c: (gst_signal_object_get_type):
960 add G_UNLIKELY as usual
962 * gst/gstpad.c: (gst_pad_event_default):
963 add fall trhu comment
965 * gst/gstregistrybinary.c: (gst_registry_binary_write),
966 (gst_registry_binary_initialize_magic),
967 (gst_registry_binary_save_string),
968 (gst_registry_binary_save_pad_template),
969 (gst_registry_binary_save_feature),
970 (gst_registry_binary_save_plugin),
971 (gst_registry_binary_write_cache),
972 (gst_registry_binary_check_magic),
973 (gst_registry_binary_load_pad_template),
974 (gst_registry_binary_load_feature),
975 (gst_registry_binary_load_plugin),
976 (gst_registry_binary_read_cache):
977 comment typo and formatting
979 * gst/gstutils.c: (gst_element_state_get_name),
980 (gst_element_state_change_return_get_name):
981 remove obsolete breaks
983 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
984 add FIXME 0.11 and remove cpp comment
986 2007-01-29 Edward Hervey <edward@fluendo.com>
988 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
989 Fix print statement in an even more portable way.
991 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
993 * docs/gst/gstreamer-sections.txt:
995 API: add GST_ROUND_DOWN_* macros (#401781).
997 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
999 * docs/gst/gstreamer.types.in:
1000 * gst/gstregistry.c: (gst_registry_class_init):
1001 Document registry signals and make gtk-doc pick them up (#401381).
1003 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1005 * docs/pwg/building-testapp.xml:
1006 Add some audioconverts and audioresample to the pipeline, and some
1007 more comments and error handling.
1009 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1011 * docs/manual/manual.xml:
1015 2007-01-26 Wim Taymans <wim@fluendo.com>
1017 * gst/gstcaps.c: (gst_static_caps_get):
1018 Init caps flags too.
1020 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
1022 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1024 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1025 If not using mmap'ed files try to seek to the end instead of the
1026 start to determine whether we can seek at all. This fixes the case
1027 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1028 seeks for everything afterwards fail. Fixes #400656
1030 2007-01-25 Wim Taymans <wim@fluendo.com>
1032 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1033 Add some refcount debugging.
1034 Make gst_static_caps_get threadsafe, which is needed when autoplugging
1035 in multiple streaming threads.
1037 2007-01-25 Wim Taymans <wim@fluendo.com>
1039 Patch by: David Schleef <ds at schleef dot org>
1041 * docs/libs/gstreamer-libs-sections.txt:
1042 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1043 * libs/gst/base/gstadapter.h:
1044 API: gst_adapter_copy() that can reduce the amount of memcpy when
1045 getting data from the adapter. Fixes #388201.
1047 2007-01-25 Edward Hervey <edward@fluendo.com>
1049 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1050 In print statements, "%x" is for guint. Fixes build on macosx.
1052 2007-01-24 Edward Hervey <edward@fluendo.com>
1054 * plugins/elements/gstmultiqueue.c:
1055 (gst_multi_queue_loop):
1057 (single_queue_overrun_cb), (single_queue_underrun_cb),
1058 (single_queue_check_full), (gst_single_queue_new):
1059 Implement single queue growth system.
1060 This uses the extra-size properties, and will grow single queues by
1061 that much if one goes full whereas there are others empty. This is
1062 called extra-mode in the code.
1063 When a single queue's levels go back below the initial max-size
1064 limits, it is no longer in extra-mode. This is to ensure we don't
1065 consume too much memory.
1068 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
1070 * gst/gst.c: (gst_init_get_option_group):
1071 Make warning about late g_thread_init() calls a bit more explicit,
1072 so that it's more obvious to application developers what they need
1073 to do if a user files a bug against their application.
1075 2007-01-22 Edward Hervey <edward@fluendo.com>
1077 * plugins/elements/gstmultiqueue.c:
1078 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1079 Remove previous hack of unsetting the flushing flag for the source pad
1080 instead of activating it. Instead, fix the source pad activate function
1081 so that it no longer depends on having a parent set or not.
1083 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
1085 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1087 * docs/manual/basics-bus.xml:
1088 Fix example code, gst_element_unref() doesn't exist any longer.
1090 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
1092 Patch by: Mark Nauwelaerts <manauw at skynet be>
1095 Fix two docs typoes (#399094).
1097 2007-01-19 Edward Hervey <edward@fluendo.com>
1099 * docs/faq/gst-uninstalled:
1100 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1101 depending on libgstbaseutils can work in uninstalled environment.
1103 2007-01-18 Stefan Kost <ensonic@users.sf.net>
1106 * gst/gsttagsetter.c:
1107 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1108 statement for new tag.
1110 2007-01-17 Edward Hervey <edward@fluendo.com>
1112 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1113 When dynamically creating single queues, activate sinkpad before adding
1115 We should be doing the same thing for the source pad, but we can't
1116 since it would call a method which needs the parent to be set in order
1117 to work propertly. Instead of activating the source pad, we just unset
1118 the flushing flag, which is the minimal requirement for adding a pad
1119 to an element in a state greater than READY.
1121 2007-01-17 Edward Hervey <edward@fluendo.com>
1123 * docs/faq/gst-uninstalled:
1124 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1127 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
1129 * tests/check/gst/gstabi.c:
1130 * tests/check/gst/struct_hppa.h:
1131 * tests/check/libs/libsabi.c:
1132 * tests/check/libs/struct_hppa.h:
1133 Add ABI structs for HPPA (see #393796).
1135 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
1137 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1138 Actually write ABI structs to the file specified in the GST_ABI
1139 environment variable, as the message we print claims we would.
1141 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1143 * tests/check/gst/gsttask.c:
1146 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1148 * gst/gsttaglist.c: (_gst_tag_initialize):
1149 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1150 previous two entries.
1152 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1154 * docs/gst/gstreamer-sections.txt:
1155 * gst/gsttaglist.c: (_gst_tag_initialize):
1157 Add tag support for beat-per-minute.
1159 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1161 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1162 (gst_registry_binary_initialize_magic),
1163 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1164 (gst_registry_binary_save_pad_template),
1165 (gst_registry_binary_save_feature),
1166 (gst_registry_binary_save_plugin),
1167 (gst_registry_binary_write_cache),
1168 (gst_registry_binary_check_magic),
1169 (gst_registry_binary_load_pad_template),
1170 (gst_registry_binary_load_feature),
1171 (gst_registry_binary_load_plugin),
1172 (gst_registry_binary_read_cache):
1173 * gst/gstregistrybinary.h:
1174 Use glib types, cleanup comments, impement interfaces and uri-types.
1176 2007-01-13 Andy Wingo <wingo@pobox.com>
1178 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1179 getrange() to return buffers with other caps, while we fix
1180 demuxers and typefind, or otherwise change part-negotiation.txt.
1182 2007-01-12 Andy Wingo <wingo@pobox.com>
1184 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1185 Factor start/stop into this private function instead of partially
1186 in activate functions and partially in the change_state function.
1187 Fixes setup before the element has changed from READY->PAUSED, as
1188 is the case in pull-mode pipelines.
1189 (gst_base_transform_sink_activate_push)
1190 (gst_base_transform_src_activate_pull): Refactor to use
1191 gst_base_transform_activate().
1192 (gst_base_transform_change_state): Removed, not needed any more.
1194 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1195 Truncate before fixating.
1197 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1198 Don't set_caps() if the result of fixating is ANY, as it's not
1199 supported, and not necessary in the case of a link with no
1200 template caps on either side. Fixes tests/check/libs/basesrc in
1201 some pull-mode tests.
1203 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1204 (gst_base_transform_init, gst_base_transform_sink_activate_push)
1205 (gst_base_transform_src_activate_pull):
1206 Track the activation mode.
1207 (gst_base_transform_setcaps): In pull mode, when activating the
1208 src pad, after activating the sink pad, activate the sink pad's
1209 peer, as discussed in part-negotiation.txt.
1211 * libs/gst/base/gstbasesrc.h:
1212 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1213 vmethod, as in basesink.
1215 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1217 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1218 mode, first proxy the setcaps to the peer pad.
1219 (gst_base_sink_pad_fixate): Add a fixate function that calls the
1221 (gst_base_sink_default_activate_pull): Rename from
1222 gst_base_sink_activate_pull.
1223 (gst_base_sink_negotiate_pull): New function, performs negotiation
1224 in pull mode before calling ::activate_pull().
1225 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1226 vmethod instead of the default implementation. I have no idea how
1227 this worked before. Negotiate before calling activate_pull.
1229 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1230 sink pads in pull mode. In addition to being correct, fixes
1231 filesrc ! decodebin ! identity ! fakesink.
1232 (gst_pad_get_range, gst_pad_pull_range): Don't call
1233 gst_pad_set_caps() if the caps changes; instead error out with
1234 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1236 2007-01-12 Andy Wingo <wingo@pobox.com>
1238 * docs/design/part-negotiation.txt: Update with more policy.
1240 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1242 * libs/gst/check/gstbufferstraw.h:
1243 * libs/gst/check/gstcheck.h:
1244 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1247 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1249 * tests/check/Makefile.am:
1250 * tests/check/gst/.cvsignore:
1251 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1252 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1253 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1254 (GST_START_TEST), (gst_tag_setter_suite):
1255 Add minimal unit test for beforementioned GstTagSetter bug.
1257 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1259 Patch by: René Stadler <mail at renestadler dot de>
1261 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1262 gst_tag_list_merge() returns a new list, so it's not the best idea
1263 to ingore its return value. Effectively meant that tags could only
1264 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1265 Also add function guard to require a non-NULL taglist as input (has
1266 always been so due to gst_tag_list_copy(), just making it explicit).
1268 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1270 * docs/random/draft-missing-plugins.txt:
1271 Some additions: mention new API that is supposed to be used at the
1272 various stages; short blob about new gst-inspect introspection
1273 option; mention potential future problem with plugins that have
1274 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1276 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1278 * tools/gst-inspect.c:
1279 (print_plugin_automatic_install_info_codecs),
1280 (print_plugin_automatic_install_info_protocols),
1281 (print_plugin_automatic_install_info), (main):
1282 Add --print-plugin-auto-install-info option to gst-inspect, so we can
1283 introspect plugin files and get machine-parsable output that corresponds
1284 to the last bit of the missing-plugin installer string (small gotcha:
1285 doesn't take into account ranks).
1287 2007-01-11 Stefan Kost <ensonic@users.sf.net>
1290 * docs/gst/gstreamer-sections.txt:
1292 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1293 (gst_registry_lookup_locked):
1294 * gst/gstregistry.h:
1295 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1296 (gst_registry_binary_initialize_magic),
1297 (gst_registry_binary_save_string),
1298 (gst_registry_binary_save_pad_template),
1299 (gst_registry_binary_save_feature),
1300 (gst_registry_binary_save_plugin),
1301 (gst_registry_binary_write_cache),
1302 (gst_registry_binary_check_magic),
1303 (gst_registry_binary_load_pad_template),
1304 (gst_registry_binary_load_feature),
1305 (gst_registry_binary_load_plugin),
1306 (gst_registry_binary_read_cache):
1307 * gst/gstregistrybinary.h:
1308 * gst/gstregistryxml.c: (load_feature),
1309 (gst_registry_xml_read_cache):
1310 commit binary registry (disabled by default, see #359653)
1312 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1314 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1315 Fix 'make check' too.
1317 2007-01-10 Andy Wingo <wingo@pobox.com>
1319 * docs/design/part-negotiation.txt: Fix a typo, add a couple
1322 * docs/design/part-negotiation.txt: Update with, um, one way that
1323 pull-mode negotiation might work?
1326 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1327 that the pad must be a src pad; makes sense to call it the other
1328 way in pull mode, and the logic is symmetric anyway.
1330 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
1332 * plugins/elements/gstfilesink.c:
1333 Include <stdio.h> for fseeko().
1335 2007-01-10 Wim Taymans <wim@fluendo.com>
1339 Reserve LATENCY event.
1341 2007-01-09 Wim Taymans <wim@fluendo.com>
1343 * docs/design/draft-latency.txt:
1346 2007-01-09 Wim Taymans <wim@fluendo.com>
1348 * docs/design/draft-latency.txt:
1352 * gst/gststructure.c:
1356 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
1358 * tests/check/.cvsignore:
1359 Ignore test-registry.xml as well.
1361 2007-01-09 Wim Taymans <wim@fluendo.com>
1363 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1364 unref data at the end when we are done with the pad.
1366 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1368 * docs/gst/gstreamer-sections.txt:
1369 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1370 (init_post), (gst_deinit), (gst_update_registry):
1372 API: add gst_update_registry() (#391296).
1374 * tests/check/Makefile.am:
1375 * tests/check/gst/gstregistry.c:
1376 * tests/check/gst/.cvsignore:
1377 Simple unit test for the above.
1379 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1381 * gst/gstregistry.c: (gst_registry_scan_path_level):
1382 Plugin extension on HP-UX is .sl, add that to the list of approved
1383 plugin extensions (see #393796).
1385 * tests/check/gst/gstpad.c: (GST_START_TEST):
1386 ulong => gulong. Fixes compilation with HP-UX compiler.
1388 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1389 Fix compilation if valgrind headers are not available.
1391 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
1393 * win32/common/libgstreamer.def:
1394 Add new exported function.
1395 * win32/vs6/libgstbase.dsp:
1396 Add gstdataqueue.c to the build.
1397 * win32/vs6/libgstcoreelements.dsp:
1398 Add gstmultiqueue.c to the build.
1400 2007-01-06 Andy Wingo <wingo@pobox.com>
1402 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1403 activate_pull(), providing for a way to specialize the process of
1404 spawning a thread to pull on the sink pad. There is a default
1407 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1408 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1409 (gst_base_sink_init): Renamed pad activation functions (inserting
1410 "_pad" in their names). Refactor to use the new activate_pull
1411 vmethod, as appropriate.
1412 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1413 default activate_pull function to start a task pulling from the
1414 sink pad, as before.
1416 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1417 on the pads if necessary, as in push()/chain(). Update docs.
1418 Shouldn't affect existing pull() usage as it is currently only
1419 being used on buffers without caps.
1421 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1423 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1425 Call g_thread_init() first thing in gst_init() / gst_check_init().
1426 When initialisation is done via gst_init_get_option_group() and
1427 GOption parsing, issue a warning if the GLib thread system has not
1428 been initialised yet by the time gst_init_get_option_group() is
1429 called, as it's quite likely other GLib functions such as
1430 g_option_context_new() have been called already then, and
1431 g_thread_init() must be called before any other GLib function. The
1432 application in question must be fixed in that case, since memory
1433 corruption might happen otherwise.
1434 We issue the warning because even if the GLib folks decide to work
1435 around the problem on their end in future, this is still an issue
1436 with all GLib versions >= 2.10.0, so we should warn until we depend
1437 on a GLib version we know to be safe.
1438 Update documentation as well.
1441 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1443 * tools/gst-inspect.c: (main):
1444 * tools/gst-launch.c: (main):
1445 * tools/gst-typefind.c: (main):
1446 * tools/gst-xmlinspect.c: (main):
1447 Call g_thread_init() really really early, before any other GLib
1448 function (see #342564 and recent discussion on gtk-devel-list).
1450 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1452 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
1454 * gst/gst_private.h:
1455 * gst/gstconfig.h.in:
1457 On win32, all the __declspec stuff for symbol exporting is
1458 apparently only needed with MSVC, but doesn't work with MingW.
1459 Fixes compilation with MingW and #391909.
1461 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1463 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1464 Change some GST_ERROR_OBJECT that aren't really errors to
1465 GST_WARNING_OBJECT in order to reduce terminal spam.
1467 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1469 * tests/check/Makefile.am:
1470 disable test again, as there seem to be still race problems
1472 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1474 * tests/check/Makefile.am:
1475 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1476 (GST_START_TEST), (queue_suite):
1477 enable queue test again, add tests for the leaky behaviour
1479 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
1482 * tests/examples/Makefile.am:
1483 Compile adapter test/example only if the required headers are
1484 available (fixes #391915).
1486 2007-01-01 David Schleef <ds@schleef.org>
1489 Restore the previous signal handler for SIGSEGV instead of
1490 setting to default, since we may have stolen it away from
1491 someone. (i.e., Mono)
1493 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1495 * docs/random/draft-missing-plugins.txt:
1496 Some small additions and clarifications.
1498 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1500 * gst/gstregistryxml.c: (gst_registry_save_escaped):
1501 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1502 since that can lead to random memory corruptions and crashes
1503 (may or may not be related to #383244, #386711, and #386711).
1505 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1507 * tests/check/.cvsignore:
1508 * tests/check/Makefile.am:
1509 sync .cvsignome and CLEANFILES
1511 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1513 * tests/check/Makefile.am:
1516 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1518 * docs/design/part-states.txt:
1519 two tiny additional comments
1521 * gst/gststructure.c:
1524 * tests/check/Makefile.am:
1525 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1527 disable test for now, unless it gets fixed
1529 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1531 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1533 fix race in underrun test
1535 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1537 * tests/check/elements/.cvsignore:
1540 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1542 try to narrow test failure
1544 2006-12-21 David Schleef <ds@schleef.org>
1546 * plugins/elements/gstfakesrc.c:
1547 Use g_random_int_range(), since it produces better random
1548 numbers in a range than almost-correct floating point code.
1550 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1552 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1553 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1554 (gst_check_teardown_sink_pad):
1555 do not automatically (de)activate pads
1557 * tests/check/Makefile.am:
1558 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1559 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1560 add new, yet simple tests for queue
1562 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1563 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1564 * tests/check/elements/filesrc.c: (cleanup_filesrc),
1566 * tests/check/elements/identity.c: (cleanup_identity):
1567 consistent pad (de)activation
1569 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
1571 Patch by: Sebastian Dröge <slomo ubuntu com>
1573 * libs/gst/base/gstcollectpads.c:
1574 Fix two doc typos (#387866).
1576 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1578 * docs/manual/advanced-dparams.xml:
1579 Fix typo (g_object_control_properties() doesn't exist).
1581 2006-12-19 Edward Hervey <edward@fluendo.com>
1583 * gst/gstsegment.c: (gst_segment_set_seek):
1584 Fine tune the cases where the segment start/stop values are really
1586 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1587 Add tests for the return values of gst_segment_set_seek().
1589 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1594 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1596 Fix incorrect documentation and flesh it out a bit more.
1597 Set default values for the max properties on the GParamSpec as well,
1598 so it shows up correctly in gst-inspect.
1600 2006-12-18 Stefan Kost <ensonic@users.sf.net>
1602 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1603 Correct docs of queue, add more detail and crosslink it more.
1605 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1607 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1608 Print additional debug info when the stream isn't perfectly
1609 timestamped; don't try to use invalid durations.
1611 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1613 * docs/design/Makefile.am:
1614 Dist new design docs.
1616 2006-12-16 Wim Taymans <wim@fluendo.com>
1618 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1620 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
1621 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1622 (gst_collect_pads_stop), (gst_collect_pads_event),
1623 (gst_collect_pads_chain):
1624 * libs/gst/base/gstcollectpads.h:
1625 Add refcounting to the collectpads data so we can track when it's safe
1626 to free the data. Fixes #383382.
1628 2006-12-15 Wim Taymans <wim@fluendo.com>
1630 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1631 (gst_collect_pads_remove_pad):
1632 Automatically activate/deactivate pads when they are added to a
1633 started/stoped collectpads.
1635 2006-12-15 Wim Taymans <wim@fluendo.com>
1637 * gst/gstelement.c: (gst_element_add_pad):
1638 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1639 * gst/gstpad.c: (gst_pad_init):
1640 Set pads to FLUSHING when they are created. Check, warn and fix when a
1641 demuxer adds an inactive pad to itself when running. Fixes #339326.
1643 2006-12-15 Wim Taymans <wim@fluendo.com>
1645 * gst/gstelement.c: (gst_element_class_init),
1646 (gst_element_default_send_event), (gst_element_send_event),
1647 (gst_element_default_query), (gst_element_query):
1648 Expose default element send_event and query handling as vmethods that
1649 subclasses can chain up to.
1651 2006-12-15 Wim Taymans <wim@fluendo.com>
1653 * gst/gstelement.c: (gst_element_set_state_func):
1654 Small documentation fixes.
1656 2006-12-15 Wim Taymans <wim@fluendo.com>
1658 * docs/design/draft-latency.txt:
1659 Checked in draft for handling latency in pipelines.
1661 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
1665 * gstreamer.spec.in:
1668 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
1670 * gst/gst.c: (init_pre), (init_post):
1671 init_pre() and init_post() might be called via our GOptionGroup or
1672 from gst_init(), and we should skip both of them if we've already
1673 been initialised, otherwise we will init some things twice or add
1674 two default log functions.
1676 2006-12-13 Edward Hervey <edward@fluendo.com>
1678 * docs/manual/basics-bus.xml:
1679 No, gst_main_loop does not exist. Its g_main_loop.
1680 Discovered by somebody who abused the copy-paste technique of coding :)
1682 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
1684 * gst/gstghostpad.c:
1685 Log ghostpad debug stuff to the GST_PADS category as well rather
1686 than just to the default category.
1688 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
1691 * gst/gst.c: (init_pre):
1692 Add some basic system details such as OS and architecture
1693 to the debug output if possible, courtesy of uname().
1695 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
1697 * docs/gst/running.xml:
1698 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
1699 environment variables.
1701 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
1703 * tests/check/gst/gstbin.c: (GST_START_TEST):
1704 It is acceptable to have a refcount of 2 or 3 at this point in the
1705 test, because the pipeline might be just posting its state_change
1706 message. The next line then waits for that message to appear using
1707 bus_poll, so that should be fine too.
1709 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
1711 * gst/gst.c: (ensure_current_registry_forking):
1712 Ignore EINTR when reading from the child registry pipe.
1713 Explicitly ignore the return value from close, since it makes no
1716 * gst/gstminiobject.c: (gst_mini_object_ref),
1717 (gst_mini_object_unref):
1718 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
1720 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
1721 When removing cached plugins, remove their features too, so they're
1722 not visible after they've disappeared.
1724 * gst/gstutils.c: (prepare_link_maybe_ghosting):
1725 In the unlikely case that we are linking pads with no parents, don't
1726 crash trying to get the non-existent parent bin.
1728 * gst/parse/grammar.y:
1729 Output debug in the PIPELINE category
1731 2005-03-08 Wim Taymans <wim@fluendo.com>
1733 Patch by: René Stadler <mail at renestadler dot de>
1735 * gst/gstclock.c: (gst_clock_new_periodic_id):
1736 Reject invalid clock times for interval of periodic ids.
1739 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
1741 * gst/gstelementfactory.c: (gst_element_factory_create):
1742 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1743 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
1744 * tools/gst-inspect.c: (print_element_info):
1745 Fix refcounting of gst_plugin_feature_load to match the docs.
1748 2006-12-07 Wim Taymans <wim@fluendo.com>
1750 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1751 (gst_base_sink_get_position):
1752 Improve debugging of events.
1754 2006-12-07 Wim Taymans <wim@fluendo.com>
1756 Patch by: René Stadler <mail at renestadler dot de>
1758 * gst/gstclock.c: (gst_clock_id_wait):
1759 Make period ids add the interval to the origial requested time instead
1760 of the possibly updated time which can be wrong when there are multiple
1761 waiters for the same id. Fixes #382592.
1763 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
1764 (gst_system_clock_id_wait_jitter_unlocked),
1765 (gst_system_clock_id_wait_jitter):
1766 Fix restart in the async notify thread when an async entry is added to
1767 the front of the list. Fixes #381492.
1769 * tests/check/gst/gstsystemclock.c: (store_callback),
1770 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
1771 Added test for multiple async waits.
1772 Added test for async wait order.
1774 2006-12-07 Wim Taymans <wim@fluendo.com>
1776 * gst/gstbin.c: (gst_bin_query):
1777 Add some more docs about the POSITION query.
1779 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
1782 Bump version nano - back to CVS.
1784 === release 0.10.11 ===
1786 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
1789 releasing 0.10.11, "Love never runs on time"
1791 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
1793 * win32/common/libgstbase.def:
1794 * win32/common/libgstreamer.def:
1795 * win32/vs8/libgstbase.vcproj:
1796 * win32/vs8/libgstcoreelements.vcproj:
1797 * win32/vs8/libgstreamer.vcproj:
1798 Fix compilation on win32 under VS8
1799 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
1800 Partially fixes #381175
1802 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1804 * gst/gstvalue.c: (gst_value_compare_fraction):
1805 If someone is foolish enough to compare 2 fractions with denominator =
1806 0, return UNORDERED rather than aborting.
1808 2006-11-28 Edward Hervey <edward@fluendo.com>
1810 * libs/gst/base/Makefile.am:
1811 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
1812 (gst_data_queue_base_init), (gst_data_queue_class_init),
1813 (gst_data_queue_init), (gst_data_queue_new),
1814 (gst_data_queue_cleanup), (gst_data_queue_finalize),
1815 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
1816 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
1817 (gst_data_queue_is_empty), (gst_data_queue_is_full),
1818 (gst_data_queue_set_flushing), (gst_data_queue_push),
1819 (gst_data_queue_pop), (gst_data_queue_drop_head),
1820 (gst_data_queue_set_property), (gst_data_queue_get_property):
1821 * libs/gst/base/gstdataqueue.h:
1822 New GstDataQueue object for threadsafe queueing. Most useful for
1823 elements that need some queueing functionnality.
1824 * docs/libs/gstreamer-libs-docs.sgml:
1825 * docs/libs/gstreamer-libs-sections.txt:
1826 Insert documentation for GstDataQueue
1827 * plugins/elements/Makefile.am:
1828 * plugins/elements/gstelements.c:
1829 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1830 (gst_multi_queue_class_init), (gst_multi_queue_init),
1831 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1832 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
1833 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
1834 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1835 (gst_multi_queue_loop), (gst_multi_queue_chain),
1836 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1837 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
1838 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
1839 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
1840 (wake_up_next_non_linked), (compute_next_non_linked),
1841 (single_queue_overrun_cb), (single_queue_underrun_cb),
1842 (single_queue_check_full), (gst_single_queue_new):
1843 * plugins/elements/gstmultiqueue.h:
1844 New multiqueue element, using GstDataQueue. Used for queuing multiple
1846 Closes #344639 and #347785
1848 2006-11-22 Stefan Kost <ensonic@users.sf.net>
1850 * docs/pwg/advanced-types.xml:
1851 add more missing type details
1853 * tools/gst-run.c: (main):
1854 remove unused variable
1856 2006-11-21 Stefan Kost <ensonic@users.sf.net>
1858 * docs/libs/Makefile.am:
1859 * docs/libs/gstreamer-libs.types:
1860 add types of base classes to enable gobject specific stuff in the docs
1862 * docs/random/ensonic/embedded.txt:
1863 more ideas about isolating platform specific things
1865 2006-11-20 Wim Taymans <wim@fluendo.com>
1867 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
1869 * libs/gst/check/gstcheck.h:
1870 Fix compilation and running against 0.9.4. Fixes #377332.
1872 2006-11-20 Wim Taymans <wim@fluendo.com>
1874 * gst/gstsegment.c: (gst_segment_set_seek),
1875 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1876 (gst_segment_to_running_time):
1877 Fix boundary checking in to_running_time() and to_stream_time().
1880 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1881 stream and running time can now be calculated for the complete
1884 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
1886 * gst/gstpad.c: (gst_pad_push_event):
1887 Can't access event structure after giving away ownership of
1890 2006-11-15 Stefan Kost <ensonic@users.sf.net>
1892 * docs/random/ensonic/embedded.txt:
1893 * docs/random/ensonic/profiling.txt:
1894 * docs/random/ensonic/receipies.txt:
1897 2006-11-13 Wim Taymans <wim@fluendo.com>
1899 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1902 Fix documentation for gst_pad_dispatcher. Fixes #374475.
1904 2006-11-13 Wim Taymans <wim@fluendo.com>
1906 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
1908 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1909 Store new length in segment duration so we don't keep on calling the
1910 potentially expensize get_size() call. Fixes #370865.
1912 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
1914 Patch by: Sergey Scobich <sergey.scobich at gmail com>
1916 * win32/common/libgstreamer.def:
1917 Add two missing symbols (#366492).
1919 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
1921 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
1922 (gst_adapter_take_buffer):
1923 Fix format string to use all its arguments.
1924 Remove useless >= check on a guint
1926 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
1928 * tests/examples/adapter/.cvsignore:
1929 Ignore build file as commanded by the build-bot
1931 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
1933 * tests/examples/adapter/Makefile.am:
1934 * tests/examples/adapter/adapter_test.c: (run_test_take),
1935 (run_test_take_buffer), (run_tests), (main):
1937 Add new files from the previous commit
1939 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
1943 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
1944 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
1945 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
1946 * libs/gst/base/gstadapter.h:
1947 * tests/check/libs/adapter.c: (create_and_fill_adapter),
1948 (GST_START_TEST), (gst_adapter_suite):
1949 * tests/examples/Makefile.am:
1950 Do some optimisation work in GstAdapter to avoid copies in more cases.
1951 It could still do slightly better by merging buffers when
1952 gst_buffer_is_span_fast is true, but is already faster.
1954 Also, avoid traversing a single-linked list to append each incoming
1955 buffer inside the adapter.
1957 Add simple test app that times the adapter behaviour in different
1958 situations, and extend the unit test to check that bytes enter and
1959 exit the adapter in their original order.
1961 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
1963 * docs/random/draft-missing-plugins.txt:
1964 Update: use element message instead of adding a new message
1965 type to the core; don't provide GStreamer API to initiate the
1966 plugin download, just provide API to compose the strings needed
1967 and let an external libgimmestuff handle the rest.
1969 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
1971 * tools/gst-inspect.c: (print_element_properties_info):
1972 Print a string instead of 'unknown type' for GValueArray properties
1974 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
1976 * docs/random/draft-missing-plugins.txt:
1979 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
1981 * tests/examples/typefind/typefind.c: (type_found), (main):
1982 Make typefind element example work again (#371894); add a
1985 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
1987 * docs/random/draft-missing-plugins.txt:
1988 Commit initial draft about how to deal with missing plugins,
1989 needs work (API too).
1991 2006-11-07 Stefan Kost <ensonic@users.sf.net>
1993 * docs/pwg/advanced-types.xml:
1994 documents the new caps elements (see #363118)
1996 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
1998 * gst/gstplugin.c: (gst_plugin_load_file):
1999 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2000 (gst_file_src_map_region), (gst_file_src_start):
2001 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2002 (gst_file_index_commit):
2003 Use g_strerror() instead of strerror() - we want UTF-8.
2005 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2007 Patch by: Peter Kjellerstedt <pkj at axis com>
2009 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2010 Another printf fix (#371493).
2012 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2014 * tests/check/gst/gsttag.c:
2015 relicence (okay with author=company)
2017 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2019 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2020 (gst_pad_push_event):
2021 Enhance debug and improve docs
2026 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2028 * docs/random/ensonic/distributed.txt:
2029 * docs/random/ensonic/profiling.txt:
2032 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2034 * docs/gst/gstreamer-sections.txt:
2035 add new API and fix the build
2037 * gst/gstbin.c: (gst_bin_recalc_state):
2038 * gst/gstelement.c: (gst_element_message_full),
2039 (gst_element_get_state_func), (gst_element_set_state_func):
2040 use new API and improve logging
2042 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2044 API: add function to get StateChangereturn names to improve logs
2046 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
2048 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2049 I'm considering shooting the next person to put strerror stuff
2050 in the translateable part of the message.
2052 2006-11-03 Wim Taymans <wim@fluendo.com>
2054 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2055 Get the type and printf conversion specifiers right.
2057 2006-11-03 Wim Taymans <wim@fluendo.com>
2059 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2061 * gst/gstpad.c: (gst_pad_init), (pre_activate),
2062 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2063 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2064 Some small cleanups. Improve debugging.
2066 Signal all waiting threads with a broadcast instead of just one.
2069 2006-11-03 Wim Taymans <wim@fluendo.com>
2071 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2072 (gst_fd_src_create):
2074 Only update fd when it's different from the old.
2076 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2078 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2079 Printf fixes for PPC/OSX, take two (#369366).
2081 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2083 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
2085 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2086 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2087 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2088 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2089 don't cast to long long for portability reasons, but use
2090 GLib's types instead.
2092 2006-10-30 Michael Smith <msmith@fluendo.com>
2094 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2095 Get the arguments to lseek() the right way around.
2098 2006-10-30 Wim Taymans <wim@fluendo.com>
2100 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2103 _declspec should be __declspec (two underscores, not one). Fixes 366572.
2105 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2107 Patch by: Kjartan Maraas <kmaraas at gnome org>
2109 * docs/design/part-MT-refcounting.txt:
2110 * docs/random/wtay/capsnego2-docs:
2113 Typo fixes (#366212).
2115 2006-10-28 Wim Taymans <wim@fluendo.com>
2117 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2120 * win32/common/libgstbase.def:
2121 * win32/common/libgstreamer.def:
2122 * win32/vs8/libgstbase.vcproj:
2123 * win32/vs8/libgstcontroller.vcproj:
2124 Add needed entries in .def files.
2126 Rearrange def files in vs8 solutions. Fixes #366286.
2128 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2130 * win32/common/gstconfig.h:
2131 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2132 hand-made win32 gstconfig.h. Fixes #366321.
2134 2006-10-27 Wim Taymans <wim@fluendo.com>
2136 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2137 (gst_ghost_pad_new_full):
2138 Make acceptcaps return TRUE when we don't have a target, just like
2141 2006-10-27 Wim Taymans <wim@fluendo.com>
2143 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2144 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2146 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
2148 * gst/gststructure.c: (gst_structure_id_set_value):
2149 If someone tries to set a non-UTF8 string field on a structure,
2150 don't just print a warning, but also ignore the request and do
2151 not change/add that field to the structure.
2153 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2156 2006-10-25 David Schleef <ds@schleef.org>
2159 g_hash_table_insert() needs a cast to a non-const pointer duh.
2161 2006-10-25 David Schleef <ds@schleef.org>
2165 Change name parameter of _gst_debug_register_funcptr to const
2166 to reflect the constness of its use in the function as well
2167 as to quiet a gcc warning.
2169 2006-10-25 Edward Hervey <edward@fluendo.com>
2171 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2172 Don't push the buffer if it's empty.
2175 2006-10-24 Wim Taymans <wim@fluendo.com>
2180 * libs/gst/base/gstbasetransform.c:
2181 (gst_base_transform_sink_eventfunc):
2182 Debug segment values *after* updating them as this is more
2185 2006-10-23 Wim Taymans <wim@fluendo.com>
2187 * docs/design/part-events.txt:
2190 * docs/design/part-block.txt:
2191 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2192 (gst_pad_push_event):
2193 Revert BLOCKING patch, it tries to be smart without really having a
2194 clear idea what or how. So, now we discard all FLUSHING events again on
2195 a blocking pad. Should fix gnonlin again.
2197 2006-10-23 Wim Taymans <wim@fluendo.com>
2199 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2201 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2202 (gst_base_src_start), (gst_base_src_activate_push):
2203 Make sure size is always initialized. Fixes #364388.
2205 2006-10-20 Stefan Kost <ensonic@users.sf.net>
2207 * docs/random/ensonic/distributed.txt:
2208 add some ideas about doing distributed processing
2210 * docs/random/ensonic/profiling.txt:
2211 get_rusage look promising
2213 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2215 * docs/manual/basics-helloworld.xml:
2216 Add a cast in example to fix compile warning
2218 2006-10-18 Wim Taymans <wim@fluendo.com>
2220 * gst/gstsegment.c: (gst_segment_set_last_stop),
2221 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2222 Relax arg checking again, -1 is allowed.
2224 2006-10-18 Wim Taymans <wim@fluendo.com>
2226 * gst/gstsegment.c: (gst_segment_set_last_stop),
2227 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2228 _set_last_stop() must be with a value != -1
2229 A _TYPE_SET to -1 means seek to 0.
2230 Calc last_stop correctly for negative rates.
2231 Make sure we work with positive durations when updating a segment.
2233 2006-10-18 Wim Taymans <wim@fluendo.com>
2235 * docs/design/part-live-source.txt:
2239 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
2242 Add an explicit cast to GstBuffer** to keep old code that added an
2243 explicit cast to GstMiniObject** for gst_mini_object_replace()
2244 compiling without warning.
2246 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2248 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2249 check for validity of dates
2251 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2253 * docs/gst/gstreamer-sections.txt:
2254 Forgot this one, makes gtk-doc shut up.
2256 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2258 Patch by: Peter Kjellerstedt <pkj at axis com>
2261 Don't define xmlNodePtr to gpointer if the core was built with
2262 --disable-loadsave and --disable-registry, this will break
2263 applications that want to use libxml2 but are buildling against a
2264 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2265 instead so we don't have to mess with the libxml2 namespace
2268 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2271 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2272 type-punned pointer warnings.
2274 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
2277 Add casts to the correct return type to state <=> state transition
2280 2006-10-16 Stefan Kost <ensonic@users.sf.net>
2282 * docs/design/part-live-source.txt:
2283 describe howto handle latency
2285 * docs/random/ensonic/profiling.txt:
2288 * tools/gst-plot-timeline.py:
2289 fix log parsing for solaris, remove unused function
2291 2006-10-16 Wim Taymans <wim@fluendo.com>
2293 * docs/design/part-trickmodes.txt:
2295 Update some docs regarding reverse playback.
2297 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
2299 Patch by: Marcus Granado <mrc dot gran at gmail com>
2301 * win32/vs8/grammar.vcproj:
2302 Error out with a warning if glib-genmarshal.exe is not in path,
2303 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2305 2006-10-13 Wim Taymans <wim@fluendo.com>
2307 * gst/gstsegment.c: (gst_segment_set_seek):
2308 When seeking to stop -1, set last_stop (current position) to the
2309 duration of the segment.
2311 2006-10-13 Wim Taymans <wim@fluendo.com>
2314 Clarify _NO_PREROLL a bit more.
2319 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2320 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2321 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2322 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2323 due to wrong locking order. Fixes #361769.
2324 Remove some redundant/misplaced checks in pad_block.
2326 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2327 For negative rates, count backwards from the duration.
2329 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
2331 * gst/gsterror.c: (_gst_library_errors_init):
2332 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2333 up with something better).
2335 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2337 * win32/vs6/libgstreamer.dsp:
2338 * win32/vs7/libgstreamer.vcproj:
2339 * win32/vs8/libgstreamer.vcproj:
2340 Don't reference glib-compat.c which is currently not used and not
2341 disted; add gstquark.c which was recently added. Fixes #361730.
2343 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2345 * win32/common/libgstbase.def:
2346 * win32/common/libgstcontroller.def:
2347 * win32/common/libgstreamer.def:
2348 Add gst_caps_merge() and a bunch of other recently-added functions.
2351 2006-10-11 Wim Taymans <wim@fluendo.com>
2353 * docs/plugins/gstreamer-plugins.args:
2354 * docs/plugins/inspect/plugin-coreelements.xml:
2355 * docs/plugins/inspect/plugin-coreindexers.xml:
2356 Update element args.
2358 * gst/gstsystemclock.c:
2359 Small comment update.
2361 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2362 (gst_tee_request_new_pad), (gst_tee_release_pad),
2363 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2364 (gst_tee_sink_activate_pull):
2365 * plugins/elements/gsttee.h:
2367 Add default property defines.
2368 Implement release pad function.
2369 Give properties better blubs etc.
2370 Activate pads before adding them to a running tee.
2371 Do simple buffer_alloc on the first requested pad.
2372 Post error when activation fails.
2374 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2376 * gst/gst.c: (ensure_current_registry_forking):
2377 Check return value of write() to make compiler happy.
2379 2006-10-11 Wim Taymans <wim@fluendo.com>
2381 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2383 * plugins/elements/gstqueue.c: (gst_queue_chain):
2384 Recheck queue filledness after signalling the overrun when we're about
2385 to leak downstream because we released the lock when emitting the signal
2386 and the queue could be empty again. Fixes #352345.
2388 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2390 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2391 Fix refcounting here too, just like we did for _new_valist() a few
2392 days ago (#357180) (thanks to René Stadler). Also remove all those
2393 'Since: 0.9' from the gtk-doc blobs.
2395 * tests/check/libs/controller.c: (controller_refcount_new_list),
2396 (gst_controller_suite):
2397 Unit test for the above.
2399 2006-10-10 Wim Taymans <wim@fluendo.com>
2401 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2403 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2404 (gst_pad_save_thyself):
2406 Write pad direction in XML output. Fixes #345496.
2408 2006-10-10 Wim Taymans <wim@fluendo.com>
2410 Patch by: René Stadler <mail at renestadler dot de>
2412 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2413 (gst_controller_new_list), (_gst_controller_dispose),
2414 (_gst_controller_finalize), (_gst_controller_class_init):
2415 Take ref to controlled object so that it cannot disappear.
2418 2006-10-10 Wim Taymans <wim@fluendo.com>
2420 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2421 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2422 (gst_check_teardown_sink_pad):
2423 Activate/deactivate pads in setup/teardown respectively.
2425 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2427 Patch by: Josep Torre Valles <josep@fluendo.com>
2430 Cast values when making gstenumtypes.h. This pacifies Forte
2431 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2434 2006-10-09 Wim Taymans <wim@fluendo.com>
2436 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2437 Rename some more @cur to @start to fix docs.
2439 * gst/gstsegment.c: (gst_segment_set_seek):
2441 time and start must always stay in sync as defined in design doc.
2443 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2444 Rename param to fix docs.
2446 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2447 Check that start and time are in sync.
2449 * tests/check/pipelines/parse-launch.c:
2450 (gst_parse_test_element_change_state):
2451 Activate pad before adding to the element.
2453 2006-10-09 Wim Taymans <wim@fluendo.com>
2455 * docs/design/part-qos.txt:
2460 Update seek event docs regarding negative rates.
2461 Rename @cur to @start.
2463 * gst/gstsegment.c: (gst_segment_set_seek):
2465 Update set_seek docs regarding negative rates.
2466 Correctly update last_stop to @stop when dealing with negative
2468 Rename @cur to @start.
2470 * tests/check/gst/gstpad.c: (GST_START_TEST):
2471 Activate pads before trying to use them.
2473 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2474 (gst_segment_suite):
2475 Add simple check for segments and negative rates.
2477 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
2479 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2481 * docs/gst/gstreamer-sections.txt:
2482 API: add gst_tag_list_is_empty() (#360467).
2484 * tests/check/gst/gsttag.c: (GST_START_TEST):
2487 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2490 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2491 a value that doesn't fit on enumeration.
2493 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2495 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2496 Remove local debugging system and use Gstreamer's instead.
2498 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2500 Patch by: Josep Torre Valles <josep@fluendo.com>
2502 * common/m4/gst-error.m4:
2503 Disable warning of statement not reached on Forte.
2505 Fix warning on Forte (value doesn't fit on enumeration).
2506 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2507 Fix warning on Forte (value doesn't fit on enumeration).
2508 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2509 DEBUG macro says it takes minimum of 2 args and so Forte
2510 complains about the use with just 1 arg.
2511 * plugins/elements/gstfdsink.c:
2512 * plugins/elements/gstfdsrc.c:
2513 * plugins/elements/gstfilesink.c:
2514 * plugins/elements/gstfilesrc.c:
2515 Use correct return type for the uri handler implementations.
2517 All these fix warnings in Forte. Fixes bug #360860.
2519 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
2522 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2523 format string, so don't use G_GNUC_PRINTF for those versions.
2525 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2527 * gst/gsttaglist.c: (gst_is_tag_list):
2529 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2531 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2532 Small test for the above.
2534 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2537 Less tabs, more spaces.
2539 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
2542 Those two function declarations do actually belong there, revert
2543 commit from yesterday that turned them intro macros.
2545 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2547 Patch by: Josep Torre Valles <josep@fluendo.com>
2549 * gst/gst.c: (gst_init_get_option_group):
2550 Fix empty declaration and type mismatch.
2551 * gst/gstbin.c: (gst_bin_change_state_func):
2553 * gst/gstelement.c: (gst_element_continue_state),
2554 (gst_element_set_state_func), (gst_element_change_state),
2555 (gst_element_change_state_func):
2556 Fix type mismatches.
2557 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2558 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2559 Cast as appropriate.
2560 * gst/gstobject.c: (gst_class_signal_connect):
2561 Cast as appropriate. The function pointer parameter really
2562 has the wrong type but would break API if we change it.
2564 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2565 order of including string.h.
2566 * gst/gstutils.c: (gst_element_state_get_name):
2567 Remove unreachable line.
2568 * gst/gstxml.c: (gst_xml_parse_doc):
2570 All these caught by Forte.
2572 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2574 Patch by: Josep Torre Valles <josep@fluendo.com>
2576 * common/m4/gst-error.m4:
2578 We need to disable warnings on Forte for empty declarations
2579 due to gst-indent adding ;s to lines that just use macros
2580 where the macro actually doesn't need a ; at end to end
2583 2006-10-06 Wim Taymans <wim@fluendo.com>
2585 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2586 (gst_file_sink_close_file), (gst_file_sink_event),
2587 (gst_file_sink_render):
2588 Add some FIXME for the NEWSEGMENT handling.
2590 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2592 * gst/parse/grammar.y:
2593 Remove static function gst_parse_element_lock as all it does
2594 is return. Looks like cruft from 0.8.
2596 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2598 Patch by: Josep Torre Valles <josep@fluendo.com>
2600 * common/m4/gst-error.m4:
2602 * libs/gst/net/Makefile.am:
2603 Fix a compilation issue with Forte on Solaris. inet_aton is in
2606 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2608 * gst/gstpad.c: (pre_activate):
2609 * gst/gstregistry.c: (gst_registry_scan_path_level):
2610 * gst/gstregistryxml.c: (load_plugin):
2611 * libs/gst/controller/gstcontroller.c:
2612 (gst_controlled_property_set_interpolation_mode):
2613 * libs/gst/dataprotocol/dataprotocol.c:
2614 (gst_dp_packet_from_event_1_0):
2615 * libs/gst/net/gstnetclientclock.c:
2616 (gst_net_client_clock_observe_times):
2617 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2620 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2623 * docs/gst/gstreamer-sections.txt:
2624 * gst/gstconfig.h.in:
2627 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
2628 whether we can use G_GNUC_PRINTF in other header files and at
2629 least check the printf format/arguments of debug messages and
2630 GST_ELEMENT_ERROR messages when the printf extension is not
2632 Replace more tabs with spaces in gstinfo.h and remove two spurious
2633 function declarations in GST_DISABLE_DEBUG part with macros.
2635 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
2637 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
2638 More docs for the sync-message signal (mention that it is not
2639 emitted by default); log message structures of messages posted on
2642 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
2644 * gst/gst.c: (ensure_current_registry_forking):
2645 Use a pipe pair to receive status results from the forked child, and
2646 ignore the result from waitpid. Fixes #355499
2648 2006-10-02 Wim Taymans <wim@fluendo.com>
2650 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2651 (gst_ghost_pad_suite):
2654 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
2657 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
2659 2006-10-02 Edward Hervey <edward@fluendo.com>
2661 * docs/design/part-block.txt:
2662 Further explain the use of flushing on blocked pads.
2663 * docs/gst/gstreamer-sections.txt:
2664 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2665 (gst_pad_push_event):
2667 Added new GstPadFlag : GST_PAD_BLOCKING.
2668 Adds the notion of pads really blocking, which enables to properly
2669 handle FLUSH_START/FLUSH_STOP events on blocked pads.
2671 API: gst_pad_is_blocking()
2672 API: GST_PAD_IS_BLOCKING() macro
2673 API: GST_PAD_BLOCKING GstPadFlag
2675 2006-10-02 Wim Taymans <wim@fluendo.com>
2677 Patch by: mrcgran <mrc.gran at gmail dot com>
2679 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
2680 Filter the proxied caps against the padtemplate if we have one.
2682 * gst/gstquery.c: (gst_query_new_segment):
2683 Add include for gstinfo.h so that compilation with
2684 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
2686 2006-10-02 Wim Taymans <wim@fluendo.com>
2688 Patch by: Alessandro Decina <alessandro at nnva org>
2690 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
2691 (gst_file_sink_set_location), (gst_file_sink_open_file),
2692 (gst_file_sink_close_file), (gst_file_sink_event),
2693 (gst_file_sink_render):
2694 Set file to NULL when closing filesink so that we can set a new filename
2695 in READY. Fixes #358613.
2697 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
2699 Patch by: Alessandro Decina <alessandro at nnva org>
2701 * gst/gstevent.c: (_gst_event_copy):
2702 Fix gst_mini_object_make_writable() and gst_event_copy() for events
2703 with event structures by setting the parent refcount address of the
2704 copied structure to the address of the refcount member of the newly
2705 copied event rather than the address of the refcount member of the
2706 original event. Fixes #358737.
2708 * tests/check/gst/gstevent.c: (GST_START_TEST):
2709 Unit test for the above.
2711 2006-09-29 Stefan Kost <ensonic@users.sf.net>
2713 * docs/design/Makefile.am:
2714 Dist some more files.
2716 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
2718 * tests/check/libs/controller.c: (GST_START_TEST),
2719 (gst_controller_suite):
2720 Add test for the previous fix; add some more tests
2721 for correct refcounting behaviour; fix a few leaks
2722 in test cases; call gst_controller_init() at start
2725 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
2727 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2728 (gst_controller_set_from_list):
2729 Don't g_return_val_if_fail() on timed values with invalid timestamps
2730 inside a critical section without unlocking the mutex. Spotted by
2731 René Stadler. (#357617)
2732 Also, fix up refcounting properly: when returning an existing
2733 controller, we should increase the reference only once and not
2734 once per property and when trying to control a property again
2735 we should also increase the refcount.
2737 2006-09-29 Wim Taymans <wim@fluendo.com>
2739 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2740 * libs/gst/net/gstnettimeprovider.c:
2741 (gst_net_time_provider_thread):
2742 Stop reading commands when EOF as well.
2744 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2745 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2746 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2747 Unify description of the dump property.
2749 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2751 * tests/examples/manual/.cvsignore:
2752 OK, so it's actually cvsignore that needs changing. Stop laughing.
2754 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2756 * tests/examples/manual/Makefile.am:
2757 Gah, declare vars *before* using them
2759 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2761 * gst/gst.c: (init_pre), (scan_and_update_registry),
2762 (ensure_current_registry_nonforking),
2763 (ensure_current_registry_forking), (ensure_current_registry),
2764 (init_post), (gst_debug_help), (gst_deinit):
2765 * gst/gst_private.h:
2766 * gst/gstregistry.c: (gst_registry_finalize),
2767 (gst_registry_remove_features_for_plugin_unlocked),
2768 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2769 (gst_registry_scan_path),
2770 (_priv_gst_registry_remove_cache_plugins),
2771 (_priv_gst_registry_cleanup):
2772 * gst/gstregistry.h:
2773 Re-commit the registry changes, along with an extra fix:
2774 When a cached plugin is encountered at a different file path,
2775 update the stored path in the registry cache so that the parent
2776 process knows where it actually is now when it re-reads the registry
2777 cache. Fixes the thing that broke distcheck with the previous commit.
2779 * tests/check/Makefile.am:
2780 Clean up files named 'core' too when running make clean.
2782 * tests/examples/manual/Makefile.am:
2783 Set up a registry path for running these tests, and clean it properly
2786 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2789 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
2790 want gmodule-no-export-2.0.pc instead so that we don't drag in
2791 --export-dynamic on every project that links to GStreamer.
2793 Also, make our export regex only match the start of symbols, rather
2794 than any symbol that contains '_gst' somewhere.
2796 * libs/gst/check/Makefile.am:
2797 The libgstcheck we build does however need export-dynamic, as it
2798 produces some symbols that don't match our _gst... style regex.
2801 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
2803 * gst/gst.c: (init_pre), (scan_and_update_registry),
2804 (ensure_current_registry_nonforking),
2805 (ensure_current_registry_forking), (ensure_current_registry),
2806 (init_post), (gst_debug_help), (gst_deinit):
2807 * gst/gst_private.h:
2808 * gst/gstregistry.c: (gst_registry_finalize),
2809 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2810 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
2811 (_gst_registry_cleanup):
2812 * gst/gstregistry.h:
2813 Revert previous change until I figure out why it breaks distcheck.
2815 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
2817 * gst/gst.c: (init_pre), (scan_and_update_registry),
2818 (ensure_current_registry_nonforking),
2819 (ensure_current_registry_forking), (ensure_current_registry),
2820 (init_post), (gst_debug_help), (gst_deinit):
2822 Make init_pre and init_post take the full complement of GOptionFunc
2823 args so they can return useful GErrors. Make the registry updating
2826 Call _priv_gst_registry_remove_cache_plugins after scanning files to
2827 ensure that the registry we're about to write out doesn't contain
2828 stale information about old-deleted plugin files.
2830 Make _priv_gst_registry_remove_cache_plugins return a boolean so
2831 that deletion of plugin files is considered a registry change.
2833 * gst/gst_private.h:
2834 * gst/gstregistry.c: (gst_registry_finalize),
2835 (gst_registry_remove_features_for_plugin_unlocked),
2836 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2837 (gst_registry_scan_path),
2838 (_priv_gst_registry_remove_cache_plugins),
2839 (_priv_gst_registry_cleanup):
2840 * gst/gstregistry.h:
2841 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
2842 by adding _priv prefix, so that they won't appear in the global
2843 symbol table. They still do atm though because of #318031. Move the
2844 prototypes to gst_private.h
2846 When removing a plugin, remove all features for that plugin too.
2849 2006-09-27 Wim Taymans <wim@fluendo.com>
2851 * docs/random/moving-plugins:
2852 Make it clear that the "compiled-in descriptions" really mean
2853 the element details.
2855 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2856 (gst_base_sink_wait_preroll):
2859 * docs/libs/gstreamer-libs-sections.txt:
2860 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2861 (gst_base_src_get_range), (gst_base_src_activate_push):
2862 * libs/gst/base/gstbasesrc.h:
2863 Added function to block while waiting for PLAYING, this function
2864 is used by live sources that block on the clock.
2865 API: gst_base_src_wait_playing()
2867 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
2869 Patch by: Peter Kjellerstedt <pkj at axis com>
2872 gst-element-check.m4 is generated and should therefore be
2873 copied from the build dir rather than the source dir (#357593).
2874 'make distcheck' hasn't noticed this because we were disting
2875 the file as well, so stop doing that.
2877 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
2879 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2880 Add some tests for gst_caps_intersect().
2882 * tools/gst-launch.c: (event_loop):
2883 Print all buffering percentages we get, even the 100% one.
2885 2006-09-26 Wim Taymans <wim@fluendo.com>
2887 * tools/gst-inspect.c: (print_element_properties_info),
2888 (print_signal_info):
2889 Fix printing of flags to match the look of enums.
2891 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
2893 * gst/gstelementfactory.c:
2894 Fix typo in docs blurb.
2896 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
2898 * gst/gsturi.c: (search_by_entry):
2899 Don't assert/crash here if a uri handler doesn't return any
2900 supported protocols. The list of protocols could be generated
2901 dynamically at runtime or at plugin registration, and an error
2902 in the underlying library shouldn't be fatal (#353301).
2904 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
2907 Fix warning if HAVE_PRINTF_EXTENSION is undefined
2908 (spotted by Peter Kjellerstedt).
2910 2006-09-23 Wim Taymans <wim@fluendo.com>
2912 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
2914 * libs/gst/base/gstbasesrc.c:
2915 (gst_base_src_default_check_get_range), (gst_base_src_start),
2916 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2917 (gst_base_src_change_state):
2918 Match _start/_stop calls in the activate functions. Remove redundant
2919 _stop call from the state change function. Fixes #356910.
2920 Turn failure DEBUG into ERROR.
2922 2006-09-22 Wim Taymans <wim@fluendo.com>
2924 * docs/design/part-buffering.txt:
2925 * gst/gstmessage.c: (gst_message_new_buffering),
2926 (gst_message_parse_buffering):
2927 Update docs about buffering.
2929 * docs/design/part-trickmodes.txt:
2932 2006-09-22 Stefan Kost <ensonic@users.sf.net>
2934 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2935 (gst_controller_new_list):
2936 Ref instances when returning them again (fixes #357180)
2938 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
2940 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
2941 Don't forget to release proxy lock when there's an error.
2943 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
2946 Add extra initialisers for Caps things, to fix some plugin warnings
2949 2006-09-18 Wim Taymans <wim@fluendo.com>
2951 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2952 Also set template on the internal pad so that a getcaps from the
2953 target pad returns the template caps.
2955 2006-09-18 Wim Taymans <wim@fluendo.com>
2957 * gst/gstelement.c: (gst_element_post_message),
2958 (gst_element_dispose):
2959 Use _DEBUG_OBJECT some more.
2961 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2964 * tools/gst-launch.c: (main):
2965 If the toplevel element is not a GstPipeline, it must be put in a
2966 pipeline so that a bus and clock is selected.
2968 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
2970 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2971 JITTER, RATE, and LATENCY query should be handled by the
2972 default case and not by the CONVERT query code.
2974 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
2976 * gst/gstformat.c: (gst_format_register):
2977 Fix locking order (must take lock before using n_values).
2979 * gst/gstvalue.c: (gst_value_serialize_enum),
2980 (gst_value_deserialize_enum_iter_cmp),
2981 (gst_value_deserialize_enum):
2982 Fix serialisation/deserialisation of custom registered GstFormats.
2984 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2985 Unit test for custom format serialisation/deserialisation.
2987 2006-09-17 Stefan Kost <ensonic@users.sf.net>
2989 * docs/pwg/building-boiler.xml:
2990 * plugins/elements/gstcapsfilter.c:
2991 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
2994 2006-09-16 Edward Hervey <edward@fluendo.com>
2996 * libs/gst/base/gstbasetransform.c:
2997 (gst_base_transform_buffer_alloc):
2998 Check if requested caps are the same as the sinks caps IF
2999 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3001 This fixes the renegotiation issues stated in #352827.
3003 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3006 * docs/manual/advanced-autoplugging.xml:
3007 * tests/examples/Makefile.am:
3008 * tests/examples/manual/.cvsignore:
3009 * tests/examples/manual/Makefile.am:
3010 * tests/examples/manual/extract.pl:
3011 Extract the manual examples again like we used to do.
3014 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3016 * win32/common/config.h:
3019 2006-09-16 Stefan Kost <ensonic@users.sf.net>
3022 Documents how to receive errors.
3024 2006-09-15 Wim Taymans <wim@fluendo.com>
3026 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3027 (event_loop), (main):
3028 Added some comments here and there.
3029 Post an application message when an interrupt is caught instead of doing
3030 an uncontrolled state change.
3031 Clean up the event loop.
3032 Handle buffering messages, pause/resume the pipeline.
3033 Make shutdown because of an interrupt more reliable.
3035 2006-09-15 Wim Taymans <wim@fluendo.com>
3037 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3038 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3039 (gst_base_sink_preroll_object):
3040 Make sure that our internal state is correct when we commit our state
3041 asynchronously. This solves a race where a state change to PLAYING
3042 could cause the sink to remain blocked in preroll in some situations.
3044 2006-09-15 Wim Taymans <wim@fluendo.com>
3046 * tools/gst-inspect.c: (print_element_properties_info),
3047 (print_signal_info):
3048 List flags as hex so it's easier to deal with.
3050 2006-09-15 Wim Taymans <wim@fluendo.com>
3052 * docs/libs/gstreamer-libs-sections.txt:
3053 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3054 (gst_base_sink_do_sync):
3055 * libs/gst/base/gstbasesink.h:
3056 Expose logic to wait for preroll so that subclasses such as audiosink
3057 can also use this method.
3058 API: gst_base_sink_wait_preroll()
3060 2006-09-15 Wim Taymans <wim@fluendo.com>
3062 * gst/gstobject.c: (gst_object_set_parent):
3063 * gst/gstpipeline.c: (do_pipeline_seek):
3064 Small cleanups in docs and code.
3066 * gst/gstsegment.c: (gst_segment_clip):
3067 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3068 if stop == start and start is in the segment, no clipping should be
3069 done. Also add a test for this.
3071 2006-09-15 Wim Taymans <wim@fluendo.com>
3073 * docs/design/part-buffering.txt:
3074 * docs/gst/gstreamer-sections.txt:
3075 * gst/gstmessage.c: (gst_message_new_buffering),
3076 (gst_message_parse_buffering):
3078 Added methods to create and parse BUFFERING messages.
3079 Added preliminary docs about buffering.
3080 API: gst_message_new_buffering
3081 API: gst_message_parse_buffering
3083 2006-09-06 Wim Taymans <wim@fluendo.com>
3086 Update documentation.
3088 * gst/gstelement.c: (gst_element_class_init),
3089 (gst_element_release_request_pad), (gst_element_set_clock),
3090 (gst_element_get_index), (gst_element_add_pad),
3091 (gst_element_remove_pad), (gst_element_get_random_pad),
3092 (gst_element_send_event), (gst_element_get_query_types),
3093 (gst_element_query), (gst_element_post_message),
3094 (gst_element_message_full), (gst_element_continue_state),
3095 (gst_element_lost_state), (gst_element_save_thyself),
3096 (gst_element_restore_thyself):
3097 Documentation updates.
3098 Rename last bit of the new-pad -> pad-added signal rename.
3099 Fix the case where an element query would only work if the source
3101 Avoid some useless type checking in message handling.
3106 Documentation updates.
3108 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3110 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3111 add an INFO line for when we actually update the fd
3113 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3118 === release 0.10.10 ===
3120 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3123 releasing 0.10.10, "Pais"
3125 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
3127 * docs/manual/advanced-position.xml:
3128 Fix typo in sample code.
3130 2006-09-05 Wim Taymans <wim@fluendo.com>
3132 * libs/gst/net/gstnetclientclock.c: (inet_aton),
3133 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3134 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3135 * libs/gst/net/gstnetclientclock.h:
3136 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3137 * libs/gst/net/gstnettimepacket.h:
3138 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3139 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3140 (gst_net_time_provider_thread), (gst_net_time_provider_new):
3141 * libs/gst/net/gstnettimeprovider.h:
3142 Make stuff compile on windows. Fixes #345295.
3144 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3146 * gst/gst.c: (ensure_current_registry_forking):
3147 Print better details when child was terminated by signal.
3149 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3151 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3152 Print a warning rather than g_assert() if a plugin feature
3153 is a URI handler but returns no protocols (#353976).
3155 2006-09-02 Stefan Kost <ensonic@users.sf.net>
3157 * docs/random/moving-plugins:
3160 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
3162 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3163 Fix locking order, handle NULL function values properly.
3168 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3169 Initialise variable before using it and fix debug statement to
3170 print the address of the function rather than the address of the
3171 variable on the stack holding the address of the function.
3173 2006-09-01 Wim Taymans <wim@fluendo.com>
3175 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3176 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3177 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3178 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3179 (gst_ghost_pad_parent_unset),
3180 (gst_ghost_pad_internal_do_activate_push),
3181 (gst_ghost_pad_internal_do_activate_pull),
3182 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3183 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3184 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3185 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3186 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3187 (gst_ghost_pad_new_no_target_from_template),
3188 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3190 Avoid needless typechecking in macros.
3191 Since the internal pad is always present and never changes, there is
3192 no need to locking or ref when retrieving it.
3193 Improve debugging a bit.
3194 Handle link errors when setting the target. Fixes #341029.
3196 2006-09-01 Wim Taymans <wim@fluendo.com>
3198 * docs/libs/gstreamer-libs-sections.txt:
3199 * docs/plugins/gstreamer-plugins-sections.txt:
3202 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3203 (gst_collect_pads_event):
3204 * libs/gst/base/gstcollectpads.h:
3205 Documentation updates.
3206 Free queued buffer when removing a pad.
3208 2006-08-31 Michael Smith <msmith@fluendo.com>
3210 * gst/gstutils.c: (gst_element_link_pads),
3211 (gst_element_link_pads_filtered):
3212 Ensure that we set a capsfilter to NULL if we failed to link it
3213 when doing filtered linking, to avoid criticals.
3215 No need to check for unreffing srcpad, which is explicly NULLed
3216 above (a trivial code cleanup).
3218 2006-08-31 Wim Taymans <wim@fluendo.com>
3220 * docs/design/part-gstghostpad.txt:
3221 Update ascii art in documentation.
3223 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3224 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3225 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3226 (gst_ghost_pad_internal_do_activate_push),
3227 (gst_ghost_pad_internal_do_activate_pull),
3228 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3229 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3230 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3231 (gst_ghost_pad_set_target):
3232 Small cleanups and leak fixes.
3233 Remove some checks now that the internal pad is never NULL.
3234 Fix the case where linking pads without a target would create nasty
3235 criticals. Fixes #341029.
3236 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3237 value of _set_target().
3239 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3240 (gst_ghost_pad_suite):
3241 Some more tests for creating and linking untargeted ghostpads.
3243 2006-08-31 Edward Hervey <edward@fluendo.com>
3245 * docs/gst/gstreamer-sections.txt:
3246 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3247 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3248 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3249 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3250 (gst_ghost_pad_new_from_template),
3251 (gst_ghost_pad_new_no_target_from_template):
3252 * gst/gstghostpad.h:
3253 Refactored *_new() functions.
3254 Templates are now used as a g_object_new() parameter.
3255 Use template in _do_getcaps() if we don't have a target.
3256 Small documentation cleanups.
3257 Added two new constructors:
3258 gst_ghost_pad_new_from_template()
3259 gst_ghost_pad_new_no_target_from_template()
3260 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3261 (gst_ghost_pad_suite):
3262 Added tests for new ghostpad instanciation functions.
3264 API additions: gst_ghost_pad_new_from_template,
3265 gst_ghost_pad_new_no_target_from_template
3267 2006-08-30 Stefan Kost <ensonic@users.sf.net>
3269 * docs/random/ensonic/profiling.txt:
3270 Ideas about qos profiling.
3272 2006-08-29 Wim Taymans <wim@fluendo.com>
3274 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3278 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
3281 Improve and detypofy docs.
3283 * tests/check/Makefile.am:
3284 * tests/check/gst/.cvsignore:
3285 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3286 Add a basic test suite for GstXML.
3288 2006-08-29 Wim Taymans <wim@fluendo.com>
3290 * gst/gstelement.c: (activate_pads), (clear_caps),
3291 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3292 Clear the pad caps when the element shut down all of the pads and
3293 is not streaming data that could modify the caps.
3296 2006-08-28 Michael Smith <msmith@fluendo.com>
3298 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3299 Revert previous change; I misunderstood single-segment mode.
3301 2006-08-28 Michael Smith <msmith@fluendo.com>
3303 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3304 Unset DISCONT on buffers when using single-segment mode.
3306 2006-08-28 Wim Taymans <wim@fluendo.com>
3308 * gst/gstcaps.c: (gst_caps_merge_structure):
3310 Fix docs and indentation again.
3312 * tests/check/gst/gstquery.c: (GST_START_TEST):
3313 Fix leak in tests and add some more tests.
3315 2006-08-28 Edward Hervey <edward@fluendo.com>
3317 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3318 Inform GstSegment of the last stop position in order for the current
3319 segment to have a proper duration if it doesn't have a specific stop
3320 position from which a duration could be calculated.
3321 This bug was noticeable when a non-flushing, non-update new segment was
3322 followed by another segment (all buffers from the new segment were being
3325 2006-08-28 Wim Taymans <wim@fluendo.com>
3327 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3328 Small comment update.
3330 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3331 (gst_identity_transform_ip):
3332 Drop-probability is broken, mention this in the code with a
3333 FIXME and also in the property description.
3334 Make silent also be silent about the drop messages.
3336 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
3338 * docs/manual/appendix-win32.xml:
3339 Remove mention of popt, we don't depend on that any
3340 longer (#353136). Add some comments pointing out that
3341 this section is slightly outdated.
3343 2006-08-28 Wim Taymans <wim@fluendo.com>
3345 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3347 * gst/gstquery.c: (gst_query_new_segment):
3348 * tests/check/gst/gstquery.c: (GST_START_TEST):
3349 Initialize variables when creating a new segment query.
3352 2006-08-28 Wim Taymans <wim@fluendo.com>
3354 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3356 * gst/gstelement.c: (gst_element_get_bus):
3357 * tests/check/gst/gstelement.c: (GST_START_TEST):
3358 Check for NULL before _reffing the bus. Fixes #353122.
3360 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
3362 * docs/manual/basics-bus.xml:
3363 Docs update: fix wrong callback return value explanation; add
3364 some lines about the implicit relationship between main loop
3365 and main context; remove duplicate main loop variable declaration.
3367 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
3369 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3370 Don't leak caps in unit test; add a few more simple
3373 2006-08-24 Stefan Kost <ensonic@users.sf.net>
3375 * docs/gst/gstreamer-sections.txt:
3376 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3377 (gst_caps_structure_is_subset), (gst_caps_merge),
3378 (gst_caps_merge_structure):
3380 * libs/gst/base/gstbasetransform.c:
3381 (gst_base_transform_transform_caps):
3382 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3383 implement caps merging (fixes #352580)
3385 2006-08-23 Stefan Kost <ensonic@users.sf.net>
3387 * tools/Makefile.am:
3388 * tools/gst-plot-timeline.py:
3389 add debug-log plotting developer tool (#340674)
3391 2006-08-23 Wim Taymans <wim@fluendo.com>
3393 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3394 (gst_pad_stop_task):
3395 Improve debugging for task functions.
3397 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3398 (gst_task_start), (gst_task_pause), (gst_task_join):
3399 Make sure that the task function started and finished after a
3401 Don't try to push the task function on the threadpool multiple
3403 Improve the g_warning message with some useful suggestions
3404 about how to fix the problem.
3406 2006-08-23 Wim Taymans <wim@fluendo.com>
3408 * gst/gstutils.c: (gst_pad_proxy_getcaps):
3409 Handle RESYNC correctly in _proxy_getcaps.
3411 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
3413 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3414 (gst_xml_parse_memory), (gst_xml_get_element):
3415 Chain up to parent class in dispose function and also
3416 unref the elements in the toplevel_elements GList.
3417 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3418 Always return a reference in gst_xml_get_element() rather
3419 than only sometimes.
3421 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3422 Don't leak GstXml object.
3424 2006-08-21 Stefan Kost <ensonic@users.sf.net>
3426 * docs/gst/gstreamer-sections.txt:
3427 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3430 * libs/gst/base/gstbasetransform.c:
3431 (gst_base_transform_transform_caps):
3432 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3435 2006-08-21 Edward Hervey <edward@fluendo.com>
3437 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3438 Implement GObject::dispose virtual method in GstXML so we can free the
3441 2006-08-21 Wim Taymans <wim@fluendo.com>
3443 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3444 (gst_buffer_create_sub):
3445 Copy duration/offset_end/caps when creating a subbuffer of the
3447 Make the subbuffer read-only when we make the metadata writable for
3450 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3451 Added check for metadata copy when creating subbuffers.
3453 2006-08-21 Edward Hervey <edward@fluendo.com>
3455 * libs/gst/base/gstbasetransform.c:
3456 (gst_base_transform_buffer_alloc):
3457 Only call downstream buffer_alloc if transform element is passthrough
3458 or always_in_place. Closes #350449.
3460 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3463 ChangeLog surgery to add comments to previous changes
3465 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3470 * gst/gstpad.c: (gst_pad_set_active):
3471 Be more verbose in the log
3473 * libs/gst/base/gstbasetransform.c:
3474 (gst_base_transform_transform_caps):
3475 Simplify caps to get rid of duplicates, fixes #345444
3477 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3481 Use these optimizations only internally.
3483 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3485 * gst/gstvalue.c: (gst_value_compare_list),
3486 (gst_value_compare_fraction_range),
3487 (gst_value_intersect_fraction_fraction_range),
3488 (gst_value_intersect_fraction_range_fraction_range),
3489 (gst_value_subtract_fraction_fraction_range),
3490 (gst_value_subtract_fraction_range_fraction_range),
3491 (gst_value_get_compare_func), (gst_value_compare),
3492 (gst_value_compare_with_func):
3494 Saves the expensive lookup of the compare function in many cases
3497 2006-08-18 Edward Hervey <edward@fluendo.com>
3499 * tests/check/gst/gstinfo.c: (gst_info_suite):
3500 Disable test that require gstdebug if it wasn't built in core.
3502 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3504 * docs/random/ensonic/logging.txt:
3507 * gst/gstinfo.c: (gst_debug_log_default):
3508 reorder fields, save some columns, add optional color codes for log
3511 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3513 * docs/random/ensonic/logging.txt:
3514 add ideas about making the logs a bit more useful
3516 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3518 * docs/pwg/advanced-events.xml:
3519 * docs/pwg/titlepage.xml:
3520 Update for 0.10 API (#340627). Add myself
3523 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3525 * docs/libs/gstreamer-libs-docs.sgml:
3526 * docs/libs/gstreamer-libs-sections.txt:
3527 * libs/gst/check/gstbufferstraw.c:
3528 Make gstcheck stuff show up in docs (still needs to
3529 be documented properly though).
3531 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
3533 * docs/gst/gstreamer-sections.txt:
3535 * gst/gst.c: (init_post):
3536 * gst/gst_private.h:
3537 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3539 * gst/gstquery.c: (gst_query_new_position),
3540 (gst_query_set_position), (gst_query_parse_position),
3541 (gst_query_new_duration), (gst_query_set_duration),
3542 (gst_query_parse_duration), (gst_query_new_convert),
3543 (gst_query_set_convert), (gst_query_parse_convert),
3544 (gst_query_new_segment), (gst_query_set_segment),
3545 (gst_query_parse_segment), (gst_query_new_seeking),
3546 (gst_query_set_seeking), (gst_query_parse_seeking):
3547 Add internal helpers for pre-registering quarks from static strings
3548 and using the quark values directly instead of looking them up when
3549 creating and parsing queries. Can be used for event construction too.
3552 2006-08-16 Wim Taymans <wim@fluendo.com>
3557 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3559 * gst/gstutils.c: (gst_util_set_value_from_string):
3560 Fix memleak (#351502).
3562 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3563 Add unit test for most of gst_util_set_value_from_string()
3564 (not that one would want to encourage use of this function).
3566 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3568 * libs/gst/check/gstcheck.h:
3569 Use const gchar * variables in fail_unless_equals_string
3570 macro to avoid compiler warnings (and don't use tabs for
3573 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3575 * tools/gst-launch.c: (print_tag):
3576 More space on the left for the tag names, to cater
3577 for the 'extended comment' tag (not touching the
3578 string for the first line since it's translated).
3580 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3582 * libs/gst/check/gstcheck.h:
3583 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
3584 print something when they fail.
3586 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3588 * docs/gst/gstreamer-sections.txt:
3589 * gst/gsttaglist.c: (_gst_tag_initialize):
3591 API: add GST_TAG_EXTENDED_COMMENT (#350935).
3592 Also change merge function for GST_TAG_COMMENT to
3595 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3597 * gst/gstinfo.c: (gst_debug_print_object):
3598 Make GST_PTR_FORMAT print messages as well.
3600 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
3601 (GST_START_TEST), (gst_info_suite):
3604 2006-08-14 Edward Hervey <edward@fluendo.com>
3606 * gst/gstelementfactory.c: (gst_element_register):
3607 If the GstElementClass doesn't have a GstElementDetails with all fields
3608 filled up correctly (longname, description AND author), then error out
3609 nicely instead of crashing.
3611 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3613 * gst/gststructure.c:
3614 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
3617 Expand on the difference between arrays and lists as we use them.
3619 2006-08-14 Wim Taymans <wim@fluendo.com>
3621 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3622 If the parent state change function failed, don't assume we can safely
3623 stop the source, this will be done when the pads are deactivated.
3625 2006-08-14 Wim Taymans <wim@fluendo.com>
3628 * gst/gsttask.c: (gst_task_join):
3631 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3632 (gst_pad_stop_task):
3633 When pad (de)activation failed for some reason, restore the old
3634 activation mode and set the pad to flushing instead of assuming the
3636 If the _task_join() failed, reinstall the task on the pad so that it can
3637 be stopped later and return an error.
3639 2006-08-11 Andy Wingo <wingo@pobox.com>
3642 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3643 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
3644 is only for users of API that don't want to see deprecated
3645 functions in the headers; people that want to compile out
3646 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
3647 CFLAGS. Fixes the build of multifdsink, or will soon..
3649 2006-08-11 Wim Taymans <wim@fluendo.com>
3651 * docs/gst/gstreamer-sections.txt:
3652 Add GstClockClass vmethod docs.
3655 Mark #endif with comment for associated #if
3657 * gst/gstclock.c: (gst_clock_id_wait):
3659 Add vmethod wait_jitter to avoid an unneeded _get_time() for
3660 most clock implementations.
3662 Flesh out docs about resolution methods.
3663 API: GstClockClass::wait_jitter
3665 * gst/gstsystemclock.c: (gst_system_clock_class_init),
3666 (gst_system_clock_async_thread),
3667 (gst_system_clock_id_wait_jitter_unlocked),
3668 (gst_system_clock_id_wait_jitter):
3669 Use base class wait_jitter variant for improved performance
3670 due to less clock polling.
3672 2006-08-11 Edward Hervey <edward@fluendo.com>
3674 * gst/gst.c: (gst_init_check), (init_post):
3675 Set gst as being initialized before scanning/updating the registry,
3676 since there might be my python plugin loader that calls gst_init() and
3677 we don't want to loop back in.
3680 2006-08-11 Wim Taymans <wim@fluendo.com>
3682 * docs/design/part-qos.txt:
3683 Bring docs in line with the code. Mostly the sign of the jitter was
3684 wrong in the docs. Fixes #349943.
3687 Fix the docs for the jitter.
3689 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
3690 (gst_event_parse_tag), (gst_event_new_buffer_size),
3691 (gst_event_parse_buffer_size), (gst_event_parse_qos),
3692 (gst_event_new_seek), (gst_event_parse_seek),
3693 (gst_event_new_navigation):
3694 Make sure the GstStructure has no parent when creating custom
3696 Add some more argument checking so that we avoid 0.0 rates.
3697 Flesh out the docs for the QoS event some more.
3699 2006-08-11 Wim Taymans <wim@fluendo.com>
3701 * docs/gst/gstreamer-sections.txt:
3702 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3703 (ensure_current_registry_forking), (ensure_current_registry),
3704 (parse_one_option), (parse_goption_arg), (gst_deinit),
3705 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
3708 Added API and command line option to disable registry forking in
3709 addition to the environment variable.
3710 Constify some static arrays.
3711 Added some more debug.
3713 API: gst_registry_fork_is_enabled()
3714 API: gst_registry_fork_set_enabled()
3715 API: --gst-disable-registry-fork command line option
3718 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
3720 * gst/gst.c: (gst_init):
3721 Fix typo in error message.
3723 2006-08-10 Stefan Kost <ensonic@users.sf.net>
3725 * libs/gst/controller/gstcontroller.h:
3726 fix ABI size-correction
3728 * tests/check/libs/gdp.c: (gst_dp_suite):
3729 make tests that use deprecated API conditional
3731 2006-08-10 Stefan Kost <ensonic@users.sf.net>
3733 * docs/libs/gstreamer-libs-sections.txt:
3734 * libs/gst/controller/gstcontroller.c:
3735 (_gst_controller_get_property), (_gst_controller_set_property),
3736 (_gst_controller_init), (_gst_controller_class_init):
3737 * libs/gst/controller/gstcontroller.h:
3738 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
3739 (gst_object_set_control_rate):
3740 API: add gst_object_{s,g}et_control_rate(), add private data section,
3743 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3744 * libs/gst/dataprotocol/dataprotocol.h:
3745 add deprecation guards to make gtk-doc happy and allow disabling cruft
3747 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
3749 * tests/check/Makefile.am:
3750 * tests/check/gst/.cvsignore:
3751 Let's enable the new unit test as well.
3753 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
3756 * docs/gst/gstreamer-sections.txt:
3757 * gst/gstconfig.h.in:
3758 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
3759 (_gst_info_printf_extension_ptr),
3760 (_gst_info_printf_extension_segment):
3761 API: add GST_SEGMENT_FORMAT, which is a printf extension we
3762 register that lets us easily dump GstSegments into debug
3765 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
3766 (info_segment_format_printf_extension), (gst_info_suite):
3767 Add simple unit test that logs a bunch of different segments (not
3768 valgrinded at the moment because of leaks in
3769 gst_debug_add_log_function).
3771 2006-08-09 Edward Hervey <edward@fluendo.com>
3773 * libs/gst/base/gstbasetransform.c:
3774 (gst_base_transform_buffer_alloc):
3775 Even if we can't figure out the proper format to request downstream,
3776 call buffer_alloc() downstream with the input parameters without setting
3777 the caps on the srcpad. This will force negotiation in the chain
3781 2006-08-08 Edward Hervey <edward@fluendo.com>
3783 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3784 Unlinking from a pad without a target is now a perfectly valid case
3785 which should NOT raise an assertion.
3786 This case would happen if a linked ghostpad its target set to NULL after
3787 it was previously linked.
3789 2006-08-08 Edward Hervey <edward@fluendo.com>
3791 * tests/check/libs/gdp.c:
3792 Also comment out the test (see below).
3794 2006-08-08 Edward Hervey <edward@fluendo.com>
3796 * tests/check/libs/gdp.c: (gst_dp_suite):
3797 Use the architecture information from config.h and not gcc macros
3798 in order to properly disable a test that fails on PPC64.
3800 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
3802 * gst/gstelement.c: (gst_element_remove_pad):
3803 Don't crash printing the warning if the pad has no parent.
3805 2006-08-02 Wim Taymans <wim@fluendo.com>
3807 * libs/gst/dataprotocol/dataprotocol.c:
3808 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
3809 (gst_dp_crc), (gst_dp_header_payload_length),
3810 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
3811 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
3812 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
3813 (gst_dp_event_from_packet), (gst_dp_validate_header),
3814 (gst_dp_validate_payload):
3815 Make debug category static
3816 Constify the crc table.
3817 Do some more arg checking in public functions.
3818 Fix some docs and do some small cleanups.
3820 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
3821 Add some more checks to see if GDP deals with bogus input.
3823 2006-07-31 Wim Taymans <wim@fluendo.com>
3825 * gst/gstvalue.c: (gst_value_compare_list):
3826 Fix GstValueList comparison code. Fixes #347293.
3828 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3829 Check to test GstValueList comparison.
3831 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3833 * gst/gstelementfactory.c: (gst_element_factory_create):
3834 Remove unnecessary ref/unref pair
3836 * gst/parse/grammar.y:
3837 Make sure to free the parse buffer on all code paths.
3838 Move a g_free up to the error handler where it's easier to see.
3840 * tests/check/gst/gstevent.c: (test_event):
3841 Extending timeout for downstream travelling events to 10 seconds to
3842 hopefully avoid intermittent failure on the buildbots.
3844 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
3845 Don't manually set the state of the src element - it will happen as a
3846 natural consequence of the pipeline changing state, and that way it
3847 will do it in the right order too.
3849 2006-07-31 Wim Taymans <wim@fluendo.com>
3851 * libs/gst/base/gstbasetransform.c:
3852 (gst_base_transform_buffer_alloc):
3853 Use OBJECT_LOCK and refcounting to get the pad caps in the
3854 buffer_alloc function because the caps could change while we are
3855 busy with them. Fixes #349105
3857 2006-07-31 Wim Taymans <wim@fluendo.com>
3859 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
3860 Protect _PAD_CAPS with OBJECT_LOCK.
3862 2006-07-31 Wim Taymans <wim@fluendo.com>
3864 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3865 (gst_pad_get_property), (gst_pad_activate_pull),
3866 (gst_pad_activate_push), (gst_pad_set_blocked_async),
3867 (gst_pad_set_activate_function),
3868 (gst_pad_set_activatepull_function),
3869 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
3870 (gst_pad_set_getrange_function),
3871 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
3872 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3873 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
3874 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
3875 (gst_pad_set_acceptcaps_function),
3876 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
3877 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
3878 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
3879 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
3880 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
3881 (gst_pad_configure_sink), (gst_pad_configure_src),
3882 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
3883 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
3884 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
3885 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
3886 (gst_pad_send_event):
3887 Use _DEBUG_OBJECT when it makes sense.
3888 Protect GST_PAD_CAPS with the OBJECT_LOCK.
3889 Small cleanups and code reflows.
3890 Avoid caps refcounting in _accept_caps.
3891 Refactor alloc_buffer so that the code performed on the peer is in a
3892 separate function. Also if the pad does not implement a buffer alloc
3893 function, we should still check if the pad is flushing before falling
3894 back to the default allocator.
3896 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3898 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3899 Make all uses of identity and fakesink have silent=true to avoid
3900 serialising every passing data structure, which is breaking tests
3901 on FC4 for some unknown reason.
3903 2006-07-30 Stefan Kost <ensonic@users.sf.net>
3905 * gst/parse/Makefile.am:
3906 * gst/parse/grammar.y:
3907 * gst/parse/parse.l:
3908 Reverted previous patch as it required to bump the flex dependency to
3909 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
3911 2006-07-30 Stefan Kost <ensonic@users.sf.net>
3913 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
3915 * gst/parse/Makefile.am:
3916 * gst/parse/grammar.y:
3917 * gst/parse/parse.l:
3918 push & pop the state of the lexer for reentrant use case
3921 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
3923 * libs/gst/base/gstbasesrc.h:
3924 Note in the docs that the ::newsegment vfunc is not actually used by
3927 2006-07-28 Wim Taymans <wim@fluendo.com>
3929 * libs/gst/base/gstcollectpads.c:
3930 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
3931 (gst_collect_pads_clear), (gst_collect_pads_flush),
3932 (gst_collect_pads_event), (gst_collect_pads_chain):
3933 When flushing a pad, also clear the queued buffer so that we don't
3934 accidentally use it when we shouldn't.
3935 Fix leaks by inreffing incomming buffer.
3936 Flush out queued buffers in case of errors.
3939 2006-07-28 Wim Taymans <wim@fluendo.com>
3941 * docs/random/phonon-gst:
3942 Random notes about a Phonon backend.
3944 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
3946 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3948 * tests/check/libs/gdp.c: (gst_dp_suite):
3949 Take a whack at fixing the ppc compile using a different define to
3950 disable the broken test.
3952 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3953 Remove excess g_print()
3955 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
3957 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3958 Oops, meant to uncomment this line too to dampen the noise a bit.
3960 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
3962 * gst/parse/grammar.y:
3963 * gst/parse/parse.l:
3964 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
3965 (GST_START_TEST), (parse_suite):
3966 Fix some of the leaks exposed by extending the parse-launch testsuite,
3967 and move the 3 I can't figure out into a separate test that won't run
3968 the pipelines unless the appropriate line is uncommented.
3970 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
3972 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3973 Requesting 0 bytes before the end of the file should result in
3974 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
3977 2006-07-27 Wim Taymans <wim@fluendo.com>
3979 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
3980 Fix useless assert, a uint is always positive.
3982 * gst/gststructure.c: (gst_structure_nth_field_name),
3983 (gst_structure_foreach), (gst_structure_map_in_place):
3984 Check input arguments for public functions to avoid obvious crashes.
3986 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
3987 * plugins/elements/gstfakesink.h:
3988 Do less useless typechecking.
3990 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
3992 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3993 Do not use mmap() by default since there are a number of error
3994 conditions that we would like to handle in a non-fatal way that
3995 will result in a SIGBUS if we use mmap(). Examples: external
3996 devices (USB harddrive, portable music player) being unplugged
3997 while in use; file on mounted CD/DVD that can't be read because
3998 the medium is partly damaged. Fixes #348455 and #348475.
4000 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4003 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4006 2006-07-26 Stefan Kost <ensonic@users.sf.net>
4008 * gst/gstregistry.c:
4009 Move big documentation comment into class section header, so that it
4010 appears in the API docs.
4012 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4014 * docs/gst/gstreamer-sections.txt:
4015 Oops. Commit the docs additions too for new API.
4016 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4018 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4020 * gst/gststructure.c: (gst_structure_id_set),
4021 (gst_structure_id_set_valist):
4022 * gst/gststructure.h:
4023 Add API for setting values into structures without performing
4024 a quark lookup, if the appropriate quark is already known.
4026 API: gst_structure_id_set
4027 API: gst_structure_id_set_valist
4029 * gst/parse/grammar.y:
4030 * gst/parse/parse.l:
4031 Remove some dead code shown by the coverage information.
4032 Don't throw a critical g_warning when encountering a syntax error,
4033 just warn and let the normal error path handle it.
4035 * plugins/elements/gstelements.c:
4036 Bump the rank of filesink up to PRIMARY so that it is preferred over
4037 gnomevfssink for file:// sink uri's
4039 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4040 (GST_START_TEST), (run_delayed_test),
4041 (gst_parse_test_element_base_init),
4042 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4043 (gst_parse_test_element_change_state),
4044 (gst_register_parse_element), (parse_suite):
4045 Beef up the tests for parse syntax to check that more error cases
4046 fail as they are supposed to. Increases the test coverage a bit.
4048 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
4050 * docs/manual/basics-elements.xml:
4051 Fix gst_element_link() example.
4054 Mention in API docs that one should usually gst_bin_add()
4055 elements to a bin or pipeline before doing the linking.
4057 2006-07-26 Wim Taymans <wim@fluendo.com>
4059 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4060 (gst_subbuffer_get_type), (gst_buffer_create_sub):
4061 Avoid function call for known types by keeping the buffer and
4062 subbuffer GType global.
4064 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4065 Random silly optimisations in read() path.
4067 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4069 * tools/gst-launch.c: (main):
4070 If the top-level of the parse is a normal bin, it doesn't do the
4071 right logic to run as a top-level element, so place it inside a
4074 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
4076 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4077 Remove superfluous g_object_notify() calls, GObject does
4078 that for us automatically.
4080 2006-07-25 Stefan Kost <ensonic@users.sf.net>
4083 on Win32, use dllspec to export the debug category symbols
4085 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
4087 * gst/gsttaglist.c: (_gst_tag_initialize):
4088 Allow more than one GST_TAG_IMAGE per taglist.
4090 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
4092 * gst/gstminiobject.c:
4094 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4095 (gst_fd_src_create):
4096 log recurring events at LOG level
4097 add more debug for when the fd gets set
4099 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4101 * gst/gstparse.c: (gst_parse_launch):
4102 Also remove reentrance checks if flex is MT safe (#348179)
4103 Fix my empty ChangeLog entry below
4105 2006-07-21 Andy Wingo <wingo@pobox.com>
4107 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4109 * libs/gst/check/Makefile.am
4110 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4111 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
4112 * libs/gst/check/gstbufferstraw.h:
4113 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4114 functions, thus proving I am still a GStreamer haxor. OK I wrote
4115 them a long time ago, but anyways.
4117 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4120 * gst/gstparse.c: (gst_parse_launch):
4121 Check for flex version and omit mutex if we have a MT save flex
4124 2006-07-21 Wim Taymans <wim@fluendo.com>
4126 * gst/gstparse.c: (gst_parse_launch):
4127 Protect recursive calls to _parse with a recursive mutex
4130 2006-07-21 Wim Taymans <wim@fluendo.com>
4132 * tests/check/gst/gstpad.c: (GST_START_TEST):
4135 2006-07-20 Stefan Kost <ensonic@users.sf.net>
4137 * gst/gstparse.c: (gst_parse_launch):
4138 Do not hang on recursive usage of gst_parse_launch()
4140 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4143 Add some more docs, comments and FIXME 0.11s here and there
4144 and also fix some typos.
4146 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4149 Convert tabs to spaces for better readability.
4151 2006-07-20 Edward Hervey <edward@fluendo.com>
4153 * tests/check/libs/gdp.c: (gst_dp_suite):
4154 the test_buffer test fails at line 140 on ppc64 at the following
4156 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4157 GST_BUFFER_FLAG_IN_CAPS),
4158 "GST_BUFFER_IN_CAPS flag should have been copied !");
4159 See bug #348114 for more details.
4161 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
4163 * docs/pwg/advanced-scheduling.xml:
4165 Fix typos (#348000).
4167 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
4169 * docs/pwg/intro-basics.xml:
4170 Fix wrong links (#347927).
4172 2006-07-18 Stefan Kost <ensonic@users.sf.net>
4174 * gst/gstregistry.h:
4175 * gst/gstregistryxml.c: (load_feature),
4176 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4177 * win32/common/config.h:
4178 make --disable-index work (#342564)
4180 2006-07-18 Wim Taymans <wim@fluendo.com>
4182 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4186 The attached patch adds two missing defines to gsttrace.h when tracing
4187 is disabled. It also corrects one existing define.
4190 2006-07-17 Wim Taymans <wim@fluendo.com>
4192 * docs/gst/gstreamer-sections.txt:
4193 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4195 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4196 Add two functions to check and change the SIGSEGV behaviour
4197 when loading plugins.
4198 Don't mess with the SIGSEGV handler when we were told not to.
4200 API: gst_segtrap_is_enabled
4201 API: gst_segtrap_set_enabled
4203 2006-07-14 Wim Taymans <wim@fluendo.com>
4205 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4206 * tests/check/elements/filesrc.c: (GST_START_TEST):
4207 Revert fix for regression in #347408 after release.
4209 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
4211 Patch by: Antoine Tremblay <hexa00 at gmail com>
4213 * gst/gstutils.c: (gst_element_unlink):
4214 Free iterator when done (#347311).
4216 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4217 And add a test case for this.
4219 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
4222 Bump nano back to CVS
4224 === release 0.10.9 ===
4226 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
4229 releasing 0.10.9, "On the road again"
4231 2006-07-13 Wim Taymans <wim@fluendo.com>
4233 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4234 * tests/check/elements/filesrc.c: (GST_START_TEST):
4235 Revert pull-0 fix for release. Disable check. Fixes #347408.
4237 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4239 * libs/gst/dataprotocol/dataprotocol.c:
4240 (gst_dp_event_from_packet_1_0):
4241 Fixes #347337: failure to deserialize event packets with
4242 empty payload (only event type)
4244 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4247 do not install a .c file in the header directory
4249 2006-07-13 Edward Hervey <edward@fluendo.com>
4251 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4252 GhostPad no longer implicitely use the padtemplates of the targets.
4255 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
4257 * gst/gstvalue.c: (gst_value_compare_list),
4258 (gst_value_compare_array), (_gst_value_initialize):
4259 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4260 Make GstValueArray comparison be order dependent as designed.
4261 Add checks for value lists and value array comparisons.
4264 2006-07-11 Edward Hervey <edward@fluendo.com>
4266 * gst/gstbin.c: (activate_pads),
4267 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4268 (gst_bin_change_state_func):
4269 (de)activate src pads before calling state_change on the childs.
4270 This is to avoid the case where a src ghostpad is blocked (holding the
4271 stream lock), which would block the deactivation of the ghostpad's
4273 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4274 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4275 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4276 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4277 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4278 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4279 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4280 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4281 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4282 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4283 (gst_ghost_pad_class_init),
4284 (gst_ghost_pad_internal_do_activate_push),
4285 (gst_ghost_pad_internal_do_activate_pull),
4286 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4287 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4288 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4289 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4290 GhostPads now create their internal GstProxyPad at creation (and not
4291 when they're linked, as it was being done previously).
4292 The internal and target pads are linked straight away.
4293 The data will also travel through the other pad in order to make
4294 pad blocking and probes non-hackish (the probe/block now really happens
4295 on the GhostPad and not on the target).
4296 * gst/gstpad.c: (gst_pad_set_blocked_async),
4297 (gst_pad_link_prepare), (gst_pad_push_event):
4298 Remove previous ghostpad cruft.
4299 * gst/gstutils.c: (gst_pad_add_data_probe),
4300 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4301 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4302 (gst_pad_remove_buffer_probe):
4303 Remove previous ghost pad cruft.
4304 Added more detailed debug statements.
4305 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4306 Fix the testsuite for refcounting changes.
4307 The comments about who has references were correct, but the refcount
4308 being checked wasn't the same (!?!).
4312 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4314 * docs/gst/gstreamer-sections.txt:
4315 * gst/gstconfig.h.in:
4316 More docs for configuration options, add docs to gtk-doc.
4318 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4321 * gst/gstconfig.h.in:
4322 * win32/common/config.h:
4323 Fix build when disabling tracing (fixes #344016). Also start to document
4324 the defines that disable the sub-systems.
4326 2006-07-10 Edward Hervey <edward@fluendo.com>
4328 * gst/gst.c: (ensure_current_registry_forking):
4329 let's make valgrind happy...
4331 2006-07-09 Wim Taymans <wim@fluendo.com>
4333 * gst/gstelement.c: (activate_pads),
4334 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4335 Better pad activation code: Reset the collect value too on resync.
4338 2006-07-09 Wim Taymans <wim@fluendo.com>
4340 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4341 (gst_pad_activate_push):
4342 Use some more macros where it makes sense.
4343 Allow pad mode switching instead of asserting. When a pad
4344 is activated in one mode and we activate it in another,
4345 deactivate it first before activating it in a different mode.
4348 2006-07-08 Andy Wingo <wingo@pobox.com>
4350 * tools/gst-launch.c (main): Handle err == NULL.
4352 * gst/gst.c (init_post, ensure_current_registry)
4353 (ensure_current_registry_forking)
4354 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4355 factoring out the registry scanning into separate functions. Don't
4356 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4357 Better environment var name/interface suggestions accepted.
4359 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4361 * gst/gstobject.c: (gst_object_set_name_default),
4362 (gst_object_set_name):
4363 Random micro-optimisation: don't use a hash table
4364 with strings as keys and the usual strdup/strcmp
4365 involved, but rather just use the GQuark of the
4366 type name as key, since it needs to be looked up
4367 anyway to get the type name string.
4369 * tests/check/gst/gstobject.c: (GST_START_TEST):
4372 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4374 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4375 (gst_bin_iterate_all_by_interface):
4376 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4377 GTypes are gulongs and thus the top 4 bytes might be cut
4378 off on some platforms when doing GPOINTER_TO_INT, leading
4379 to invalid GTypes and bad things happening (see RH bug #179654).
4380 Also add a check to make sure the type passed in is really
4383 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4388 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4392 * gst-element-check.m4:
4393 * gst-element-check.m4.in:
4394 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4395 instead of the unversioned gst-inspect (#324176, #168659).
4397 2006-07-06 Wim Taymans <wim@fluendo.com>
4400 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4403 2006-07-06 Wim Taymans <wim@fluendo.com>
4405 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4406 (gst_base_src_wait), (gst_base_src_update_length),
4407 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4408 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4409 (gst_base_src_loop), (gst_base_src_start),
4410 (gst_base_src_activate_pull):
4412 blocksize == 0 now means the default blocksize when working in push
4414 Remove some pointless asserts in _wait function.
4415 Fix offset/length calculations and EOS handling. We can now pull 0
4416 bytes as well, which is allowed.
4417 use _check_get_range() to decide if we can operate in _pull based
4419 Fix refcounting leak when check_get_range function was not
4421 API GstBaseSrc::blocksize range can be 0 too now (default)
4423 * tests/check/elements/filesrc.c: (GST_START_TEST),
4425 Added check to test _get_range() behaviour.
4427 2006-07-06 Wim Taymans <wim@fluendo.com>
4429 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4430 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4431 (gst_pad_pull_range):
4433 Lots of comments and docs added to the pad functions.
4434 Flesh out the expected behaviour of the get_range() functions.
4436 2006-07-06 Wim Taymans <wim@fluendo.com>
4441 * gst/gstiterator.h:
4445 Remove comma at end of enumerator list.
4447 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
4449 * win32/common/libgstbase.def:
4450 * win32/common/libgstdataprotocol.def:
4451 * win32/common/libsgtreamer.def:
4452 Add new exported functions.
4454 2006-07-05 Wim Taymans <wim@fluendo.com>
4456 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4457 Add some more docs here and there.
4459 2006-07-05 Wim Taymans <wim@fluendo.com>
4461 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4462 (gst_base_sink_loop), (gst_base_sink_get_position):
4463 When operating in pull mode update the offset so that we
4466 2006-07-05 Wim Taymans <wim@fluendo.com>
4468 * gst/gstregistryxml.c: (read_string):
4469 Avoid strdup. (will happen in libxml, but hey!)
4474 2006-07-05 Wim Taymans <wim@fluendo.com>
4476 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4477 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4479 No point in checking if the size of the subbuffer > 0, the
4480 code handles it correclty as demonstrated by unit test.
4481 Also add a unit test for the zero sized _new_and_alloc and
4482 _copy. Fixes #346663.
4484 2006-07-05 Wim Taymans <wim@fluendo.com>
4486 * libs/gst/base/gstbasetransform.c:
4487 (gst_base_transform_prepare_output_buffer),
4488 (gst_base_transform_buffer_alloc),
4489 (gst_base_transform_handle_buffer):
4490 Make sure the buffer we pass to transform_ip has a refcount of
4491 1 and thus is writable. Fixes #343196
4493 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
4495 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4496 (gst_file_src_init), (gst_file_src_set_property),
4497 (gst_file_src_get_property), (gst_file_src_map_region):
4498 * plugins/elements/gstfilesrc.h:
4499 Add "sequential" property, off by default, to use madvise and hint
4500 to the kernel that sequential access is desired.
4501 Touch all retrieved pages by default to ensure they are pulled
4502 into memory. (Closes #345720)
4504 2006-07-03 Wim Taymans <wim@fluendo.com>
4506 * docs/design/part-block.txt:
4507 * docs/design/part-dynamic.txt:
4510 2006-07-03 Wim Taymans <wim@fluendo.com>
4512 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4513 (gst_caps_unref), (gst_static_caps_get),
4514 (gst_caps_append_structure):
4515 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4516 Use GSlice when the glib we build against is >= 2.10
4518 2006-07-03 Wim Taymans <wim@fluendo.com>
4520 * gst/gstelement.c: (gst_element_pads_activate):
4521 Small cleanup in pad activation code.
4523 2006-07-03 Wim Taymans <wim@fluendo.com>
4525 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4527 * gst/gst-i18n-app.h:
4528 * gst/gst-i18n-lib.h:
4529 * tools/gst-inspect.c: (print_signal_info):
4530 The attached patch will make the inclusion of gettext.h unconditional in
4531 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4532 libintl.h in tools/gst-inspect.c.
4533 This allows use of --disable-nls again and fixes #344642.
4535 2006-07-03 Edward Hervey <edward@fluendo.com>
4537 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4538 Implement pad blocking on events according to part-block.txt.
4539 More comments on behaviour.
4540 * tests/check/gst/gstevent.c: (test_event):
4541 Send event to peer pad of blocked pad (else it will block).
4543 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4545 * libs/gst/check/gstcheck.c: (gst_check_message_error),
4546 (gst_check_run_suite):
4547 if we get the wrong message, give us the types as string
4548 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4550 * tests/check/elements/filesrc.c: (GST_START_TEST):
4551 add a test for trying to open a non-existing file
4553 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4555 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4556 add a test for adding self
4558 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4560 * libs/gst/check/gstcheck.h:
4561 add some assert_ as alias for fail_unless_*
4562 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4563 increase test coverage
4565 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4568 include lcov.mak for lcov coverage generation
4569 * tools/Makefile.am:
4572 2006-07-02 Edward Hervey <edward@fluendo.com>
4574 * tests/check/elements/.cvsignore:
4577 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4580 don't set CFLAGS and friends for gcov, done from GST_GCOV now
4581 * tests/check/Makefile.am:
4584 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4586 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
4587 remove gst_caps_simplify; it was not declared and not used
4588 and deprecated in 0.8
4590 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4592 * docs/faq/gst-uninstalled:
4593 don't put empty paths on PYTHONPATH
4594 * docs/gst/gstreamer-sections.txt:
4595 remove some symbols that are not there
4597 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4599 * gst/gstcaps.c: (gst_caps_compare_structures):
4601 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4602 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4605 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4607 * libs/gst/dataprotocol/Makefile.am:
4608 build dataprotocol test by linking to the lib, instead of
4609 compiling the source, so we get coverage
4610 * tests/check/Makefile.am:
4611 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
4612 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
4613 add a test for filesrc
4615 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4617 * tests/check/gst/gststructure.c: (GST_START_TEST),
4618 (gst_structure_suite):
4619 Push coverage from 59.04% to 70.00%
4621 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4623 * tests/check/Makefile.am:
4624 gst-inspect every element; this makes sure that we also get
4625 coverage on element's get/set functions
4627 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4630 set CFLAGS and friends to -O0 if gcov is being used
4633 * libs/gst/base/Makefile.am:
4634 * libs/gst/check/Makefile.am:
4635 * libs/gst/controller/Makefile.am:
4636 * libs/gst/dataprotocol/Makefile.am:
4637 * libs/gst/net/Makefile.am:
4638 * plugins/elements/Makefile.am:
4639 * plugins/indexers/Makefile.am:
4640 add makefile rules to generate gcov data and clean up
4641 * tests/check/Makefile.am:
4642 add a coverage target that generates an html overview
4645 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4647 * tests/check/elements/fakesink.c:
4648 * tests/check/elements/fakesrc.c:
4649 * tests/check/elements/fdsrc.c:
4650 * tests/check/elements/identity.c:
4651 * tests/check/generic/sinks.c: (gst_sinks_suite):
4652 * tests/check/generic/states.c:
4653 * tests/check/gst/gst.c:
4654 * tests/check/gst/gstabi.c:
4655 * tests/check/gst/gstbin.c:
4656 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
4657 * tests/check/gst/gstbus.c: (gst_bus_suite):
4658 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4659 * tests/check/gst/gstelement.c:
4660 * tests/check/gst/gstevent.c: (gst_event_suite):
4661 * tests/check/gst/gstghostpad.c:
4662 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
4663 * tests/check/gst/gstmessage.c: (gst_message_suite):
4664 * tests/check/gst/gstminiobject.c:
4665 * tests/check/gst/gstobject.c:
4666 * tests/check/gst/gstpad.c:
4667 * tests/check/gst/gstpipeline.c:
4668 * tests/check/gst/gstplugin.c:
4669 * tests/check/gst/gstquery.c: (gst_query_suite):
4670 * tests/check/gst/gstsegment.c: (gst_segment_suite):
4671 * tests/check/gst/gststructure.c:
4672 * tests/check/gst/gstsystemclock.c:
4673 * tests/check/gst/gsttag.c:
4674 * tests/check/gst/gsttask.c: (gst_task_suite):
4675 * tests/check/gst/gstutils.c:
4676 * tests/check/gst/gstvalue.c:
4677 * tests/check/libs/adapter.c:
4678 * tests/check/libs/basesrc.c:
4679 * tests/check/libs/collectpads.c:
4680 * tests/check/libs/controller.c:
4681 * tests/check/libs/gdp.c: (gst_dp_suite):
4682 * tests/check/libs/gstnetclientclock.c:
4683 * tests/check/libs/gstnettimeprovider.c:
4684 * tests/check/libs/libsabi.c: (libsabi_suite):
4685 * tests/check/libs/typefindhelper.c:
4686 * tests/check/pipelines/cleanup.c:
4687 * tests/check/pipelines/parse-launch.c:
4688 * tests/check/pipelines/simple-launch-lines.c:
4689 * tests/check/pipelines/stress.c: (stress_suite):
4692 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4694 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
4695 * libs/gst/check/gstcheck.h:
4696 create a macro and function so that the simple unit test
4697 case can be just one macro to create main()
4699 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
4701 * gst/gstbin.c: (gst_bin_restore_thyself):
4702 * gst/gstxml.c: (gst_xml_make_element):
4703 Fix deserialisation from XML. Set parent manually
4704 instead of using gst_bin_add(), since gst_bin_add()
4705 will unlink all pads of the element being added.
4708 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
4710 Patch by: Peter Kjellerstedt <pkj at axis com>
4712 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
4713 Fix missing g_strdup() and double free when using the
4714 --gst-plugin-load command line option (#346097).
4716 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
4719 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
4721 * libs/gst/net/gstnetclientclock.c:
4722 * libs/gst/net/gstnettimeprovider.c:
4723 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
4725 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
4727 * docs/manual/advanced-dataaccess.xml:
4728 Fix buffer probe example compilation in
4731 2006-06-22 Edward Hervey <edward@fluendo.com>
4733 * gst/gstelement.c: (gst_element_pads_activate):
4734 We need to deactivate src pads first and then sink pads.
4735 The reason is the src pads might be blocking while holding the streaming
4736 lock, so we need to deactivate them first so that deactivating the sink
4737 pads doesn't block (since it will require the streaming lock).
4739 2006-06-22 Wim Taymans <wim@fluendo.com>
4741 * libs/gst/base/gstbasetransform.c:
4742 (gst_base_transform_buffer_alloc):
4743 Forgot to remove two unneeded unrefs.
4744 Simplify a check _is_equal allready checks the obvious case.
4746 2006-06-22 Wim Taymans <wim@fluendo.com>
4748 * docs/design/part-block.txt:
4749 Some docs about what pad_block should do.
4751 2006-06-22 Wim Taymans <wim@fluendo.com>
4753 * gst/gstcaps.c: (gst_caps_replace):
4754 Fix crasher when passed NULL. Doc clarification.
4755 Optimize for the trivial case.
4757 * gst/gstpipeline.c: (gst_pipeline_change_state):
4760 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4761 Small documentation cleanup.
4763 * libs/gst/base/gstbasetransform.c:
4764 (gst_base_transform_buffer_alloc):
4765 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
4766 is what we need and it avoids a whole lot of redundant
4767 refcount operations.
4769 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
4771 Patch by: Philip Jägenstedt <philip at lysator liu se>
4773 * docs/manual/advanced-dataaccess.xml:
4774 Fix 'Embedding static elements' section to use
4775 GST_PLUGIN_DEFINE_STATIC (#345607).
4777 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4779 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
4780 Attempt to 'fix' spuriously failing test case: it seems like the
4781 timeout of half a second is simply too small when the system is under
4782 load otherwise, and the timeout doesn't really seem to serve any
4783 particular purpose here. Give the pipeline a few seconds to preroll
4784 first, and then give it another half a second to go from PAUSED to
4785 PLAYING and marshal the message into the main thread.
4787 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4789 * tools/gst-feedback-m.m:
4790 Don't only use unversioned tools, try versioned tools as well
4793 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4795 * gst/gstbus.c: (gst_bus_class_init):
4796 Fix some typos, make docs more explicit.
4798 2006-06-20 Wim Taymans <wim@fluendo.com>
4800 * tests/check/gst/gstghostpad.c: (block_callback),
4801 (GST_START_TEST), (gst_ghost_pad_suite):
4802 Added some more ghostpad tests, mainly blocking
4805 2006-06-16 Wim Taymans <wim@fluendo.com>
4807 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4808 (gst_file_sink_close_file), (gst_file_sink_do_seek),
4809 (gst_file_sink_event), (gst_file_sink_render):
4810 * plugins/elements/gstfilesink.h:
4811 Check if we can seek in the file instead of assuming
4812 we always can. Post an error when we are asked to seek in a
4813 non-seekable file (like a fifo). Fixes #343312.
4816 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
4818 * tools/gst-launch.1.in:
4819 Un-garble (fourcc) bit in filtered caps section.
4821 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
4823 * docs/manual/advanced-autoplugging.xml:
4824 * docs/manual/basics-helloworld.xml:
4825 * docs/manual/highlevel-components.xml:
4826 Don't leak bus reference in sample code.
4828 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
4831 Add default for new --enable-plugin-docs switch.
4834 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
4838 Use new ENABLE_PLUGIN_DOCS conditional.
4840 2006-06-14 Wim Taymans <wim@fluendo.com>
4842 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
4843 Make it clear with a FIXME and a real define what the #if 0
4844 previously disabled.
4846 2006-06-14 Wim Taymans <wim@fluendo.com>
4848 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4849 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
4850 * libs/gst/base/gstbasetransform.c:
4851 (gst_base_transform_sink_eventfunc):
4852 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
4853 Don't randomly and silently reset a segment when the format
4854 changes as this is a bug somewhere upstream. Fixes #330379.
4856 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
4858 Patch by: Wouter Paesen <wouter at kangaroot net>
4860 * libs/gst/controller/gstcontroller.c:
4861 (gst_controlled_property_new):
4862 Fix controlling of float properties (#344849).
4864 * tests/check/libs/controller.c:
4865 (gst_test_mono_source_get_property),
4866 (gst_test_mono_source_set_property),
4867 (gst_test_mono_source_class_init), (GST_START_TEST):
4868 While we're at it, add some float stuff to unit test.
4870 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
4873 * docs/images/gdp-header.svg:
4875 * docs/libs/Makefile.am:
4876 * docs/libs/gdp-header.png:
4877 * libs/gst/dataprotocol/dataprotocol.c:
4878 add it to the API docs
4879 * docs/manual/intro-motivation.xml:
4882 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
4884 * gst/gst.c: (scan_and_update_registry), (init_post):
4885 If the fork()'ed child process can't write the updated registry cache
4886 file to disk for some reason, make it exit with a failure exit code,
4887 so that the parent can then re-scan the plugins itself and update the
4888 registry structures in memory and work with that (rather than failing
4889 when creating elements because seemingly no plugins are available).
4890 Refactor registry scanning code into separate function for this and
4891 also separate fork() and non-fork() code paths. Fixes #344748.
4893 2006-06-13 Wim Taymans <wim@fluendo.com>
4895 * docs/manual/advanced-dataaccess.xml:
4896 Fix wrong PluginDesc. Fixes #344755.
4898 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
4900 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
4901 Fix silly bug that prevented us from creating
4902 ~/.gstreamer-0.10 and writing the registry in one
4903 go (the first call to g_mkstemp() would overwrite the
4904 placeholder in the template string, so the second call
4905 to g_mkstemp() after creating the missing directory
4906 would then error out with 'invalid argument').
4908 2006-06-13 Edward Hervey <edward@fluendo.com>
4910 * gst/gst.c: (init_post):
4913 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
4915 * gst/glib-compat-private.h:
4916 * gst/glib-compat.c:
4917 * gst/glib-compat.h:
4918 * gst/gstvalue.c: (gst_value_serialize_flags):
4919 remove GLib 2.6 compatibility code
4921 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
4923 * gst/parse/Makefile.am:
4924 Fix build with 'make -j N' even more (#340016).
4926 2006-06-12 Wim Taymans <wim@fluendo.com>
4928 * docs/gst/gstreamer-sections.txt:
4931 2006-06-12 Wim Taymans <wim@fluendo.com>
4933 * gst/gstsegment.c: (gst_segment_set_duration),
4934 (gst_segment_set_last_stop), (gst_segment_set_seek),
4935 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4936 (gst_segment_to_running_time), (gst_segment_clip):
4937 Use G_UNLIKELY to help the compiler a bit.
4939 2006-06-12 Wim Taymans <wim@fluendo.com>
4941 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
4943 * gst/gstevent.c: (gst_event_get_type):
4945 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4947 constify quark registration strings. Fixes #344115
4948 Avoid unneeded type checking is _pad_push() by internally
4949 calling gst_pad_chain_unchecked().
4951 2006-06-12 Wim Taymans <wim@fluendo.com>
4953 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
4954 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
4955 (gst_subbuffer_finalize), (gst_buffer_create_sub),
4956 (gst_buffer_is_span_fast), (gst_buffer_span):
4957 Init _type for consistency.
4958 Use _FLAGS macro to avoid type check.
4959 Avoid unneeded type checks in subbufer code.
4961 2006-06-12 Wim Taymans <wim@fluendo.com>
4963 * gst/gst.c: (gst_debug_help):
4964 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
4965 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4966 (gst_plugin_feature_list_free):
4967 * gst/gstregistry.c: (gst_registry_add_plugin),
4968 (gst_registry_add_feature), (gst_registry_plugin_filter),
4969 (gst_registry_feature_filter), (gst_registry_find_plugin),
4970 (gst_registry_find_feature), (gst_registry_get_plugin_list),
4971 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
4972 * gst/gstregistryxml.c: (load_feature),
4973 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
4974 * gst/gstminiobject.c: (gst_mini_object_unref),
4975 (gst_mini_object_replace), (gst_value_mini_object_free),
4976 (gst_value_mini_object_copy):
4977 Use _CAST macros to avoid unneeded type checking.
4978 Added some more G_UNLIKELY.
4980 2006-06-12 Wim Taymans <wim@fluendo.com>
4983 Avoid unneeded type checking.
4984 API: GST_BUFFER_IS_DISCONT
4986 * gst/gstminiobject.h:
4987 Avoid type check in flag accessor.
4989 * gst/gstelementfactory.h:
4991 * gst/gstpluginfeature.h:
4993 API: GST_ELEMENT_FACTORY_CAST
4994 API: GST_PLUGIN_CAST
4995 API: GST_PLUGIN_FEATURE_CAST
4997 2006-06-12 Wim Taymans <wim@fluendo.com>
4999 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5001 Add G_UNLIKELY in type registration.
5002 Avoid type check in _ref/_unref since that is also
5005 2006-06-12 Wim Taymans <wim@fluendo.com>
5007 * gst/gsterror.c: (gst_g_error_get_type):
5008 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5009 (gst_static_pad_template_get_type):
5010 * gst/gsttaglist.c: (gst_tag_list_get_type):
5011 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5012 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5013 * gst/gsturi.c: (gst_uri_handler_get_type):
5014 * gst/gstvalue.c: (gst_date_get_type):
5015 * gst/gstxml.c: (gst_xml_get_type):
5016 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5017 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5018 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5019 Add G_UNLIKELY in type registration.
5021 2006-06-12 Wim Taymans <wim@fluendo.com>
5023 * tools/gst-inspect.c: (print_signal_info):
5024 Properly print enum values.
5026 2006-06-12 Wim Taymans <wim@fluendo.com>
5028 * gst/gstinfo.c: (gst_debug_set_active),
5029 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5031 Add some G_[UN]LIKELY.
5032 Maintain __gst_debug_min to avoid formatting the arguments of
5033 debug messages that will be dropped anyway to avoid a lot of
5034 overhead from the debugging system.
5036 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5040 add missing files containing translatable strings, tell intltool about
5043 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5045 * tests/check/libs/.cvsignore:
5046 add test-binary to ignore list
5048 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5050 * docs/libs/gstreamer-libs-docs.sgml:
5051 reorder (put dp into a chapter) and indent
5053 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5058 === release 0.10.8 ===
5060 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5063 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5065 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5067 * gst/gst.c: (init_post):
5068 move pid declaration to declaration block
5070 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5072 * gst/gst.c: (init_post):
5073 use _exit() instead of exit() in our forked child; this ensures
5074 that none of the registered exit handlers from whatever is using
5075 GStreamer get executed. This fixes gnome-mixer-applet failing
5076 to load, because ORBit would shut down.
5077 Spotted by: Edward Hervey <edward@fluendo.com>
5078 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
5081 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5086 === release 0.10.7 ===
5088 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5091 releasing 0.10.7, "Soepeke, ik zie ou"
5093 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
5116 * win32/common/config.h:
5119 2006-06-07 Wim Taymans <wim@fluendo.com>
5121 * gst/gstindex.c: (gst_index_gtype_resolver):
5122 * tools/gst-xmlinspect.c: (print_plugin_info):
5123 Fix leak spotted by coverity checker. Fixes #343827
5124 Fix another other leak found by paolo borelli.
5126 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5128 * libs/gst/dataprotocol/dataprotocol.c:
5129 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5130 (gst_dp_version_get_type), (gst_dp_init),
5131 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5132 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5133 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5134 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5135 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5136 (gst_dp_packetizer_free):
5137 * libs/gst/dataprotocol/dataprotocol.h:
5138 API: add a GstDPPacketizer object, and create/free functions
5139 API: add GstDPVersion enum
5140 Add 1.0 event function that uses the string serialization
5141 Serialize more useful buffer flags
5144 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5146 * tests/check/Makefile.am:
5147 * tests/check/gst/gstabi.c:
5148 * tests/check/gst/struct_ppc64.h:
5149 * tests/check/libs/libsabi.c:
5150 * tests/check/libs/struct_ppc64.h:
5151 add ppc64 structure sizes
5153 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5155 * tests/check/Makefile.am:
5156 * tests/check/gst/gstabi.c:
5157 * tests/check/gst/struct_x86_64.h:
5158 * tests/check/libs/libsabi.c:
5159 * tests/check/libs/struct_x86_64.h:
5160 generate and add structure size lists for x86_64
5162 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5164 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5165 * libs/gst/check/gstcheck.h:
5166 factor out the method from tests that checks size of structures,
5167 and add code to generate the header containing these sizes
5168 * tests/check/gst/gstabi.c: (GST_START_TEST):
5169 * tests/check/gst/struct_i386.h:
5170 * tests/check/libs/libsabi.c: (GST_START_TEST):
5171 * tests/check/libs/struct_i386.h:
5174 2006-06-06 Michael Smith <msmith@fluendo.com>
5177 Don't use c++-style comments, fixes #343929
5179 2006-06-05 Edward Hervey <edward@fluendo.com>
5182 plugin_paths is not used if we build without registry support.
5184 * gst/gstsegment.c: (gst_segment_copy):
5185 _copy() was always returning NULL...
5187 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5189 * libs/gst/dataprotocol/dataprotocol.c:
5190 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5191 (gst_dp_packet_from_event):
5194 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5196 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5197 make sure we unset caps
5199 2006-06-02 Michael Smith <msmith@fluendo.com>
5201 * libs/gst/check/gstcheck.c: (gst_check_init),
5202 (gst_check_chain_func):
5203 * libs/gst/check/gstcheck.h:
5204 Add a cond/mutex to the check support lib, signal this whenever we
5205 add to the buffers list. This will allow tests to not busy-wait on
5208 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5210 * libs/gst/dataprotocol/dataprotocol.c:
5211 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5212 (gst_dp_packet_from_event):
5213 factor out some common header init code
5215 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5217 * docs/libs/gstreamer-libs-sections.txt:
5218 * docs/libs/tmpl/gstdataprotocol.sgml:
5219 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5220 * libs/gst/dataprotocol/dataprotocol.h:
5221 API: make gst_dp_crc() public
5223 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5225 * plugins/indexers/gstindexers.c: (plugin_init):
5226 conditionally register fileindexer (fixes #343598)
5228 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5230 * gst/gsttagsetter.h:
5231 Can't cast ifaces to a class
5233 * libs/gst/net/gstnetclientclock.h:
5234 * libs/gst/net/gstnettimeprovider.h:
5235 * plugins/elements/gstfakesink.h:
5236 * plugins/elements/gstfakesrc.h:
5237 * plugins/elements/gstfdsink.h:
5238 * plugins/elements/gstfdsrc.h:
5239 * plugins/elements/gstfilesink.h:
5240 * plugins/elements/gstfilesrc.h:
5241 * plugins/elements/gstidentity.h:
5242 * plugins/elements/gstqueue.h:
5243 * plugins/elements/gsttee.h:
5244 * plugins/indexers/gstfileindex.c:
5245 * plugins/indexers/gstmemindex.c:
5246 * tests/old/examples/plugins/example.h:
5247 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5249 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
5251 * libs/gst/dataprotocol/dataprotocol.c:
5252 (gst_dp_header_from_buffer):
5253 make sure we zero the whole ABI-compatible area
5255 2006-06-01 Wim Taymans <wim@fluendo.com>
5257 Patch by: Alessandro Decina <alessandro at nnva dot org>
5259 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5260 Make sure the EOS flag is cleared from pads after a flush
5261 or stop. Fixes #343538.
5263 * tests/check/libs/collectpads.c: (GST_START_TEST),
5264 (gst_collect_pads_suite):
5265 Added test for collectpads reusage after EOS.
5267 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
5270 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5271 * win32/common/libgstbase.def:
5272 export gst_collect_pads_set_flushing
5273 * win32/common/libgstreamer.def:
5274 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5275 gst_value_fraction_multiply
5276 * win32/vs6/gst_inspect.dsp:
5277 add a link to intl.lib
5279 2006-05-30 Wim Taymans <wim@fluendo.com>
5281 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5282 (gst_collect_pads_chain):
5283 Handle the case where a pad is removed from the collection
5284 that could cause the other pads to become collectable.
5286 2006-05-30 Wim Taymans <wim@fluendo.com>
5289 Clarify the use of _release_request_pad() and
5290 _get_request_pad() a bit better.
5292 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5293 (gst_adapter_take_buffer):
5294 Fix some doc and comment typos.
5296 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5298 * docs/gst/gstreamer-sections.txt:
5299 * docs/libs/gstreamer-libs-sections.txt:
5300 add declared symbols
5302 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
5304 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5305 Add debug that can be enabled using a #define at the top of the file,
5306 for dumping stats about how late/early we were when waking up from
5307 waiting on the clock.
5309 2006-05-30 Wim Taymans <wim@fluendo.com>
5311 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5312 When rebuilding the pad list, don't leak the previous list.
5314 2006-05-30 Wim Taymans <wim@fluendo.com>
5316 Patch by: Lutz Mueller <lutz at topfrose dot de>
5318 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5319 (gst_base_src_get_query_types), (gst_base_src_update_length):
5320 Publish supported query types.
5321 Update last_stop field in get_range mode so the position
5322 query works. Fixes #342321.
5324 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
5326 * docs/gst/gstreamer-sections.txt:
5327 * gst/gsttaglist.c: (_gst_tag_initialize):
5329 API: add GST_TAG_PREVIEW_IMAGE (#343341).
5331 2006-05-30 Wim Taymans <wim@fluendo.com>
5333 Patch by: Alessandro Decina <alessandro at nnva dot org>
5335 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5336 Unlock mutex when removing an unknown pad.
5339 * tests/check/Makefile.am:
5340 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5341 (push_event), (setup), (teardown), (GST_START_TEST),
5342 (gst_collect_pads_suite), (main):
5343 Added collecpads check, disabled for now as check crashes for
5346 2006-05-29 Wim Taymans <wim@fluendo.com>
5348 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5349 Don't leak pads lists.
5351 2006-05-29 Wim Taymans <wim@fluendo.com>
5353 * docs/libs/gstreamer-libs-sections.txt:
5354 * libs/gst/base/gstcollectpads.c:
5355 (gst_collect_pads_set_flushing_unlocked),
5356 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5357 (gst_collect_pads_stop):
5358 * libs/gst/base/gstcollectpads.h:
5359 API: gst_collect_pads_set_flushing()
5360 Added api to set the pads to flushing, useful for seeking
5361 code in elements using collectpads.
5362 Clear segment when receiving a flush.
5364 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
5366 * gst/gst.c: (add_path_func), (init_post):
5367 Don't scan registry paths passed via --gst-plugin-path immediately
5368 (will crash, because absolutely nothing is set up and no types are
5369 registered etc.); do this later in init_post(). Fixes #343057.
5371 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
5373 * gst/gst.c: (init_post):
5374 if we have fork, fork while reading/rebuilding the registry
5375 so the parent doesn't take the hit of having all plugins loaded
5376 in memory. Fixes #342777.
5378 Check if we have fork()
5379 * win32/common/config.h.in:
5382 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5384 * plugins/elements/gstelements.c:
5385 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5386 (gst_file_src_init), (gst_file_src_set_property),
5387 (gst_file_src_get_property), (gst_file_src_start):
5388 * plugins/elements/gstfilesrc.h:
5389 API: GstFileSrc::use-mmap
5391 Add a use-mmap property to enable easier testing of all code paths.
5392 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5393 in the absence of gnomevfssrc. (Closes #340501)
5395 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5397 * tools/gst-inspect.c:
5398 Add missing include, removes warning of ngettext not being defined on
5401 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5403 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5404 Handle NULL input and output pointers silently as a failed conversion,
5405 rather than g_warnings.
5407 2006-05-25 Wim Taymans <wim@fluendo.com>
5409 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5410 Initialize variable before using. Fixes #342820.
5412 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
5414 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5415 Fix off-by-one bug that would only allow peeks of N-1 bytes
5416 from the start even if the buffer to typefind on contains
5417 in fact N bytes of data (makes vorbis typefinding from a
5418 vorbis identification header buffer work).
5420 * tests/check/Makefile.am:
5421 * tests/check/libs/.cvsignore:
5422 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5423 (gst_typefindhelper_suite), (main), (foobar_typefind),
5425 Add very basic unit test for gst_type_find_helper_for_buffer()
5426 that checks for the problem fixed above.
5428 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
5430 * tools/gst-inspect.c: (print_interfaces),
5431 (print_element_properties_info), (print_element_list), (main):
5432 add more translatable strings
5434 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
5436 Patch by: Julien Moutte <julien at moutte net>
5438 * docs/gst/gstreamer-sections.txt:
5439 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5441 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5442 (gst_fake_sink_preroll):
5443 * plugins/elements/gstfakesink.h:
5444 API: Add new GstFakeSink::preroll-handoff signal (#337100).
5446 2006-05-23 Wim Taymans <wim@fluendo.com>
5448 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5450 Added _CUSTOM error and success GstFlowReturn that can be
5451 used be elements internally.
5452 Added macro to check for SUCCESS flowreturns.
5453 API: GST_FLOW_CUSTOM_SUCCESS
5454 API: GST_FLOW_CUSTOM_ERROR
5455 API: GST_FLOW_IS_SUCCESS
5457 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5458 Added check for GstFlowReturn sanity.
5460 2006-05-23 Wim Taymans <wim@fluendo.com>
5462 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5464 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5465 (gst_collect_pads_event):
5466 clear/reset segment info in FLUSH_STOP.
5469 2006-05-22 Stefan Kost <ensonic@users.sf.net>
5471 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5472 (gst_collect_pads_check_collected):
5473 Flush queued buffer on _stop(), fixes playing again (#342454)
5475 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
5477 * tests/check/gst/gststructure.c: (GST_START_TEST),
5478 (gst_structure_suite):
5479 add a test for a complete structure
5481 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5483 * docs/faq/developing.xml:
5485 * docs/faq/troubleshooting.xml:
5486 * docs/faq/using.xml:
5487 Some minor FAQ updates that won't change the fact that
5488 our FAQ is badly structured, full of information hardly
5489 anyone new to GStreamer needs to know and lacking lots
5490 of information people constantly ask for.
5492 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
5494 * gst/gstpad.c: (gst_pad_set_caps):
5495 Short-circuit gst_pad_set_caps if setting the existing
5496 caps pointer again, and avoid printing debug and
5497 reffing/unreffing the caps.
5499 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5500 There's actually no need to set the caps before pushing -
5501 the acceptcaps method will handle it anyway.
5503 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5505 * docs/gst/gstreamer-sections.txt:
5506 * win32/common/libgstreamer.def:
5507 * gst/gstutils.c: (gst_element_seek_simple):
5509 API: add gst_element_seek_simple() (#342238).
5511 2006-05-18 Edward Hervey <edward@fluendo.com>
5513 * gst/gsttypefind.c: (gst_type_find_get_type):
5514 * gst/gsttypefind.h:
5515 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5516 registered for GstTypeFind pointers. This allows wrapping the structure
5517 in bindings (i.e. gst-python).
5519 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5521 * gst/gsttagsetter.c:
5522 Docs additions and fixes (see #339918).
5524 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
5526 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5527 The caps intersection algorithm can produce multiple copies of the
5528 caps. Until that is fixed, we need to simplify the result to be
5529 sure whether the allowed caps are fixed or not.
5531 * plugins/elements/gstqueue.c: (gst_queue_init),
5532 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5533 (gst_queue_push_one):
5534 Proxied buffer alloc should not set the caps on the source pad.
5535 When pushing buffers, we always accept the caps change that triggers.
5536 This prevents negotiation errors caused by caps changing mid-stream
5537 and then being refused on our source pad (because upstream is now
5538 refusing those caps).
5540 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5542 * tests/examples/helloworld/helloworld.c: (main):
5543 Must plug audioconvert and audioresample between decoder
5546 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
5548 * gst/gstregistryxml.c: (read_string), (load_pad_template),
5549 (load_feature), (load_plugin):
5550 Allow empty strings for some of the plugin fields so we don't
5551 drop valid plugin entries that were written out correctly
5554 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
5556 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5557 Use g_remove and g_rename instead of remove and rename that don't
5558 handle utf8 characters. rename was failing for users who had specific
5559 characters in their name then the registry was built at each
5561 * win32/vs6/gst_inspect.dsp:
5562 * win32/vs6/gst_launch.dsp:
5563 * win32/vs6/libgstbase.dsp:
5564 * win32/vs6/libgstcoreelements.dsp:
5565 * win32/vs6/libgstreamer.dsp:
5566 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
5567 build of libgstreamer and clean unused libraries in projects link
5570 2006-05-17 Edward Hervey <edward@fluendo.com>
5572 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5573 The queue is not responsible for pushing an EOS when receiving a fatal
5574 flow error. It's up to the real element driving the pipeline to do that.
5576 2006-05-16 Edward Hervey <edward@fluendo.com>
5578 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5579 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
5580 buffer returned a fatal error. It should just send an EOS and stop
5582 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
5583 when pushing buffers on the queue and will be able to handle the event.
5585 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
5587 * docs/manual/basics-bins.xml:
5588 * docs/manual/basics-init.xml:
5589 Fix typos and minor errors in sample code (#341856).
5591 2006-05-16 Wim Taymans <wim@fluendo.com>
5593 * docs/design/part-qos.txt:
5594 Fix indexes in formulas to make more sense.
5596 2006-05-15 Wim Taymans <wim@fluendo.com>
5598 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5599 Don't report POSITION based on clock time if sync is
5602 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
5605 Add cast to make compiler happy - refcount variable was a gint
5606 in GstObject but is a guint in GObject and g_atomic_int_get()
5609 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
5611 * gst/parse/Makefile.am:
5612 chain commands using &&, which also makes parallel make work
5614 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
5616 * docs/gst/gstreamer-sections.txt:
5622 === release 0.10.6 ===
5624 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
5627 releasing 0.10.6, "Take the cannoli"
5629 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
5631 * tools/gst-launch.c: (print_tag):
5632 Fix use of uninitialized variable in the hypothetical
5633 case that some broken plugin creates a GST_TAG_IMAGE
5634 tag containing a NULL buffer (#341667).
5636 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
5638 * tools/gst-launch.c: (print_tag):
5639 Print something more intelligible for image tags when
5640 using the -t switch (#341556).
5642 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
5647 define GST_MAJORMINOR so we have it available in win32/common/config.h
5648 Possibly remove it from our Makefile.am files later
5649 * win32/common/config.h:
5650 * win32/common/config.h.in:
5651 added GST_MAJORMINOR
5652 * win32/common/gstenumtypes.c: (register_gst_resource_error):
5653 * win32/common/gstversion.h:
5656 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
5659 Update win32 files listing.
5660 * win32/common/gstversion.h:
5661 Add GST_MAJORMINOR definition.
5662 * win32/common/libgstreamer.def:
5663 Add new exported functions.
5665 2006-05-12 Michael Smith <msmith@fluendo.com>
5667 * gst/gstplugin.c: (gst_plugin_load_file):
5668 If an so file has no plugin entry point, unload the module.
5670 2006-05-11 Wim Taymans <wim@fluendo.com>
5672 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
5673 (gst_queue_set_property):
5674 Don't forget to signal the _chain or _loop function
5675 when the queue size or thresholds change since that might
5676 cause them to make progres again.
5678 2006-05-11 Stefan Kost <ensonic@users.sf.net>
5680 * gst/gstclock.c: (gst_clock_class_init):
5681 * gst/gstindex.c: (gst_index_class_init):
5682 * gst/gstobject.c: (gst_object_class_init):
5683 * gst/gstpad.c: (gst_pad_class_init):
5684 * gst/gstpipeline.c: (gst_pipeline_class_init):
5685 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5686 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
5687 * libs/gst/base/gstbasetransform.c:
5688 (gst_base_transform_class_init):
5689 * libs/gst/net/gstnetclientclock.c:
5690 (gst_net_client_clock_class_init):
5691 * libs/gst/net/gstnettimeprovider.c:
5692 (gst_net_time_provider_class_init):
5693 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
5694 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5695 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5696 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
5697 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
5698 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5699 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5700 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5701 * plugins/elements/gsttee.c: (gst_tee_class_init):
5702 * tests/old/examples/plugins/example.c: (gst_example_class_init):
5703 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
5704 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
5706 2006-05-11 Wim Taymans <wim@fluendo.com>
5708 * gst/gstbuffer.c: (_gst_buffer_initialize):
5709 Register subbufer along with the buffer type so that
5710 it does not accidentally gets registered from N
5711 different streaming threads in a non threadsafe way.
5713 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
5718 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
5719 gst_event_ref() and gst_message_ref() functions again
5720 (ugly hack, please do fix if there's a better way besides
5721 overrides.txt, which doesn't seem to work).
5723 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5725 * libs/gst/check/gstcheck.h:
5726 add an assert for setting state to avoid lots of repetitive code
5729 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5731 * gst/gstvalue.c: (gst_value_serialize_flags):
5732 fix a leak if no flags are set
5733 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5736 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
5738 * docs/manual/basics-pads.xml:
5739 Expand a bit on caps and filtered links and update
5740 examples that were still using the no longer existing
5741 gst_pad_link_filtered() (#338206).
5743 2006-05-10 Wim Taymans <wim@fluendo.com>
5745 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5746 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5747 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5748 (gst_collect_pads_stop):
5749 * libs/gst/base/gstcollectpads.h:
5750 No need to call _stop in _finalize.
5751 Iterate the main pad list in _finalize.
5752 Added some more debug.
5753 Free lists and data in the right order.
5754 Also free data whem doing _remove_pad when stopped for
5755 backward compatibility protect ::started with PAD_LOCK as
5758 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5760 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
5761 (gst_structure_parse_value):
5763 rename a method so that it actually says what it does better
5765 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5767 * gst/gstevent.c: (_gst_event_initialize):
5768 * gst/gstformat.c: (_gst_format_initialize):
5769 make sure some essential types used by events are registered
5770 as part of gst_init()
5771 * gst/gstvalue.c: (gst_value_serialize_flags):
5772 if no flags are set, serialize them to a value that represents NONE
5773 so that deserializing them works
5774 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5775 add tests for serialization and deserialization of flags
5777 2006-05-10 Wim Taymans <wim@fluendo.com>
5779 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
5780 (gst_collect_pads_collect_range), (gst_collect_pads_available),
5781 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
5782 (gst_collect_pads_event), (gst_collect_pads_chain):
5785 Catch and return errors from the collect function
5786 Refuse data on eos pads.
5788 2006-05-10 Edward Hervey <edward@fluendo.com>
5790 * gst/gstinterface.h:
5791 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
5792 GInterface type checking.
5793 They were previously using non-defined macros.
5795 2006-05-09 Wim Taymans <wim@fluendo.com>
5797 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
5798 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
5799 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
5800 (gst_collect_pads_start), (gst_collect_pads_stop),
5801 (gst_collect_pads_peek), (gst_collect_pads_pop),
5802 (gst_collect_pads_available), (gst_collect_pads_read),
5803 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
5804 (gst_collect_pads_is_collected), (gst_collect_pads_event),
5805 (gst_collect_pads_chain):
5806 * libs/gst/base/gstcollectpads.h:
5807 Clean up the mess that is collectpads, add comments and
5808 FIXMEs where needed.
5809 Maintain a separate pad list so we can add pads while
5810 collecting the other ones. For this we need a new separate
5812 Fix memory leak in finalize.
5813 Refactor some weird code to set/unset pad flushing flags, mark
5815 Don't crash in _available, _read, _flush when we're EOS.
5817 * tests/check/libs/.cvsignore:
5818 Ignore adapter check binary.
5820 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5822 * gst/gstindex.c: (gst_index_resolver_get_type):
5823 * plugins/elements/gstfakesink.c:
5824 (gst_fake_sink_state_error_get_type):
5825 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5826 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
5827 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5828 Const-ify GEnumValue arrays.
5830 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5832 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5833 Add test case for flags + gst_buffer_make_metadata_writable().
5835 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5837 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
5838 gst_buffer_make_metadata_writable() should maintain the
5839 buffer flags (those that make sense at least) (see #340859).
5841 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5843 * tools/gst-inspect.c:
5844 * tools/gst-launch.c:
5845 * tools/gst-typefind.c:
5846 * tools/gst-xmlinspect.c:
5848 Fix up includes: need to include stdlib.h in tools.h for exit().
5850 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5852 * gst/gsttaglist.c: (_gst_tag_initialize):
5854 API: add GST_TAG_IMAGE tag (#340721).
5856 2006-05-08 Wim Taymans <wim@fluendo.com>
5859 Added some docs for the segment query.
5861 2006-05-08 Wim Taymans <wim@fluendo.com>
5863 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5864 (gst_base_src_loop), (gst_base_src_change_state):
5865 Always push non-flushing serialized events in the streaming
5868 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
5870 * gst/gsterror.c: (_gst_stream_errors_init):
5871 Add a missing error string.
5873 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
5875 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
5876 Add applied_rate to the debug
5878 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5879 Copy applied_rate into the outgoing NEWSEGMENT event
5881 2006-05-08 Wim Taymans <wim@fluendo.com>
5883 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
5885 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
5886 (gst_base_sink_change_state):
5887 call ::unlock before taking the PREROLL_LOCK so we can safely
5888 handle elements that lock in ::render.
5891 2006-05-08 Edward Hervey <edward@fluendo.com>
5893 * autogen.sh: (CONFIGURE_DEF_OPT):
5894 Darwin's libtoolize is in fact called glibtoolize.
5895 Adding glibtoolize to the list of accepted names for libtoolize.
5897 2006-05-08 Wim Taymans <wim@fluendo.com>
5899 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5900 Unify error handling, don't post an error message
5901 when a push() returns EOS but perform our normal EOS
5902 handling code. Fixes #340772.
5904 2006-05-08 Wim Taymans <wim@fluendo.com>
5906 * docs/design/part-overview.txt:
5907 Make upsteam/downstream concepts more clear.
5908 Give an example of serialized/non-serialized events.
5910 * docs/design/part-events.txt:
5911 * docs/design/part-streams.txt:
5912 Mention applied_rate.
5914 * docs/design/part-trickmodes.txt:
5915 Mention applied rate, flesh out some more use cases.
5917 * gst/gstevent.c: (gst_event_new_new_segment),
5918 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
5919 (gst_event_parse_new_segment_full), (gst_event_new_tag),
5920 (gst_event_parse_tag), (gst_event_new_buffer_size),
5921 (gst_event_parse_buffer_size), (gst_event_new_qos),
5922 (gst_event_parse_qos), (gst_event_parse_seek),
5923 (gst_event_new_navigation):
5925 Add applied_rate field to NEWSEGMENT event.
5926 API: gst_event_new_new_segment_full()
5927 API: gst_event_parse_new_segment_full()
5929 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
5930 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
5931 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5933 Add applied_rate to GstSegment structure.
5934 Make calculation of stream_time and running_time more correct
5935 wrt rate/applied_rate.
5937 API: GstSegment::applied_rate field
5938 API: gst_segment_set_newsegment_full();
5940 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5941 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
5942 * libs/gst/base/gstbasetransform.c:
5943 (gst_base_transform_sink_eventfunc),
5944 (gst_base_transform_handle_buffer):
5945 Parse and use applied_rate in the GstSegment field.
5947 * tests/check/gst/gstevent.c: (GST_START_TEST):
5948 Add check for applied_rate field.
5950 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5951 (gstsegments_suite):
5952 Add more checks for various GstSegment operations.
5954 2006-05-08 Wim Taymans <wim@fluendo.com>
5956 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5957 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
5958 (gst_base_sink_get_position), (gst_base_sink_change_state):
5959 Store the sync time of the buffer end position separatly in a
5960 new variable eos_rtime so we can properly sync the EOS event.
5962 Fix the docs for gst_base_sink_set_qos_enabled().
5963 Don't set segment start to invalid value when we receive a
5964 non TIME newsegment.
5965 get closer to handling position reporting for negative rates
5968 2006-05-07 Stefan Kost <ensonic@users.sf.net>
5971 Docs about how to print caps for debug purposes.
5973 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
5974 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
5976 2006-05-07 Stefan Kost <ensonic@users.sf.net>
5979 use full enum names and preprend a '%' in docs strings to make recent
5980 gtk-doc turn that into a link
5982 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
5984 * docs/manual/basics-bins.xml:
5985 * docs/manual/basics-bus.xml:
5986 * docs/manual/basics-pads.xml:
5987 Some typo fixes, some additions, some clarifications.
5989 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
5991 * tools/gst-inspect.c: (main):
5992 * tools/gst-launch.c: (main):
5993 * tools/gst-run.c: (main):
5994 * tools/gst-typefind.c: (main):
5995 * tools/gst-xmlinspect.c: (main):
5996 Use the string passed to g_option_context_new() for
5997 what it's intended for - the program name is already
6000 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6002 * tools/Makefile.am:
6003 * tools/gst-inspect.c: (main):
6004 * tools/gst-launch.c: (main):
6005 * tools/gst-xmlinspect.c: (main):
6007 Add back --version command line option (#340460).
6009 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6010 Add --version option and use GOption for argument parsing; refactor a
6011 bit; accept directories as arguments and recurse into them; lastly,
6012 print a decent error message when things go wrong.
6014 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6016 * docs/manual/basics-bins.xml:
6017 Don't mention GstThread (#340611)
6018 * docs/manual/basics-elements.xml:
6019 Update link to GObject tutorial (#340607)
6021 2006-05-05 Wim Taymans <wim@fluendo.com>
6024 * gst/gstminiobject.c:
6025 Add note about refcounting and miniobject/buffer writeability
6026 to docs. Fixes #340604
6028 * gst/gstelementfactory.h:
6029 Added some explanation about @klass.
6031 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6033 * docs/manual/intro-motivation.xml:
6034 * docs/manual/manual.xml:
6035 Avoid CORBA & Bonobo references (#340598)
6037 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6039 * docs/manual/basics-bus.xml:
6040 * docs/manual/basics-pads.xml:
6041 Fix up some inaccuracies and omissions (#340609)
6043 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6045 * gst/gstghostpad.c:
6046 Small typo in docs (#340625)
6048 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6050 * gst/parse/Makefile.am:
6051 Make 'make -j' proof (see #340698).
6053 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6056 Require GLib-2.8 here as well.
6058 2006-05-05 Wim Taymans <wim@fluendo.com>
6060 * gst/glib-compat.c:
6061 * gst/gst.c: (init_pre):
6062 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6063 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6064 (gst_object_dispatch_properties_changed):
6066 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6067 * gst/gststructure.c: (gst_structure_set_valist):
6068 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6069 Remove pre glib2.8 compatibility, fixes #340508
6071 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6074 Mention type of tags in doc blurbs.
6076 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
6078 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6079 (gst_pad_configure_src), (gst_pad_push):
6080 Restore acceptcaps checking behaviour now that good plugins have
6083 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6085 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6096 * gst/parse/Makefile.am:
6097 * libs/gst/base/gstadapter.c:
6098 * libs/gst/base/gstbasesrc.c:
6099 * libs/gst/base/gstpushsrc.c:
6100 * libs/gst/base/gsttypefindhelper.c:
6101 * plugins/elements/gstfakesrc.c:
6102 * plugins/elements/gstidentity.c:
6103 Make sure gstprivate.h and/or config.h are
6104 always included first, otherwise some of our
6105 defines (like _FILE_OFFSET_BITS) might be
6106 redefined in the system headers. Fixes build
6107 on opensolaris (#340016).
6109 2006-05-04 Wim Taymans <wim@fluendo.com>
6111 * docs/libs/gstreamer-libs-sections.txt:
6112 API: addition: gst_adapter_take_buffer()
6114 * libs/gst/base/gstadapter.c: (gst_adapter_push),
6115 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6116 (gst_adapter_available_fast):
6117 * libs/gst/base/gstadapter.h:
6118 Prepare for optimizing the hell out of this hugely inefficient
6120 Added gst_adapter_take_buffer() so we can at least start thinking
6121 about subbuffering and merging.
6122 Added some comments.
6124 * tests/check/Makefile.am:
6125 * tests/check/libs/adapter.c: (GST_START_TEST),
6126 (gst_adapter_suite), (main):
6127 Added GstAdapter check.
6129 2006-05-04 Wim Taymans <wim@fluendo.com>
6131 * docs/design/part-overview.txt:
6132 Fix some typos, add blurb about buffer flags.
6134 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6136 * docs/libs/gstreamer-libs-sections.txt:
6137 make sure GstBaseTransformClass shows up in the docs
6138 * libs/gst/base/gstbasetransform.c:
6139 * libs/gst/base/gstbasetransform.h:
6140 move docs so gtk-doc picks it up now
6142 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6144 * docs/libs/gstreamer-libs-sections.txt:
6145 add missing symbols to docs
6147 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6149 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6150 back out the newsegment handling change, see #340060 for ongoing
6153 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
6155 * tools/gst-run.c: (get_candidates), (main):
6156 Fix wrong g_file_test() usage (see glib docs for why it doesn't
6157 work); fix typo in error message. Fixes #340079.
6159 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6161 * common/Makefile.am:
6163 * docs/faq/Makefile.am:
6164 * docs/gst/Makefile.am:
6165 * docs/libs/Makefile.am:
6166 * docs/manual/Makefile.am:
6167 * docs/plugins/Makefile.am:
6168 * docs/pwg/Makefile.am:
6169 * docs/slides/Makefile.am:
6171 * common/upload.mak:
6172 move upload.mak to common
6174 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6176 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6177 add more asserts on refcounts
6178 do more cleanup at end of tests
6179 fix test leaks showing in FC5
6181 2006-04-29 Stefan Kost <ensonic@users.sf.net>
6183 * plugins/elements/gsttypefindelement.c:
6184 (gst_type_find_element_handle_event):
6185 reverted wrong change and reflowed code to avoid others falling into
6188 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6190 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6191 fix changelog entry about last collectpads change,
6192 add notes about proper fix
6194 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6197 * gst/gstregistry.c: (gst_registry_scan_path_level),
6198 (gst_registry_scan_path):
6199 * gst/gstregistry.h:
6200 only write out registry if it has changed, fixes #338339
6202 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6205 * gst/gstpipeline.c:
6206 * plugins/elements/gstcapsfilter.c:
6207 * plugins/elements/gstfakesink.c:
6208 * plugins/elements/gstfakesrc.c:
6209 * plugins/elements/gstfdsink.c:
6210 * plugins/elements/gstfdsrc.c:
6211 * plugins/elements/gstfilesink.c:
6212 * plugins/elements/gstfilesrc.c:
6213 * plugins/elements/gstidentity.c:
6214 * plugins/elements/gstqueue.c:
6215 * plugins/elements/gsttee.c:
6216 * plugins/elements/gsttypefindelement.c:
6217 (gst_type_find_element_handle_event):
6218 make GstElementDetails const
6220 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6222 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6223 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6224 (gst_collect_pads_is_collected), (gst_collect_pads_event):
6225 more detailed debug and formatting cleanup,
6226 forward newsegments to src-pad (so that e.g. adder not eats them)
6228 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6230 * gst/gstutils.c: (gst_element_link_pads):
6233 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6235 * libs/gst/controller/gstcontroller.c:
6236 (gst_controller_sync_values):
6238 * tests/check/libs/controller.c: (GST_START_TEST),
6239 (gst_controller_suite):
6240 a new test for live value handling
6242 2006-04-28 Wim Taymans <wim@fluendo.com>
6244 * gst/gstutils.c: (push_and_ref):
6245 Added some more docs.
6246 Fix refcount issue whith gst_element_found_tags() helper
6247 function. Fixes #338335
6249 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6250 Added testsuite for gst_element_found_tags().
6252 2006-04-28 Michael Smith <msmith@fluendo.com>
6254 * gst/gstvalue.c: (gst_value_serialize_flags):
6255 Avoid NULL dereference when trying to serialize flags containing
6258 2006-04-28 Michael Smith <msmith@fluendo.com>
6260 * plugins/elements/gsttypefindelement.c:
6261 (gst_type_find_element_handle_event):
6262 If we get EOS before any data is accumulated, don't use
6263 uninitialised local variables.
6265 2006-04-28 Michael Smith <msmith@fluendo.com>
6267 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6268 (gst_dp_event_from_packet):
6269 Fixes in reading/writing events over GDP (not currently used?) -
6270 dereferencing NULL events for unknown/invalid event types, memory
6271 leak, and change g_warning to GST_WARNING.
6273 2006-04-28 Wim Taymans <wim@fluendo.com>
6275 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6276 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6277 (gst_base_sink_get_position), (gst_base_sink_change_state):
6278 When frame dropping is enabled, we should not ignore frames
6280 Update some documentation.
6282 2006-04-28 Wim Taymans <wim@fluendo.com>
6284 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6285 (gst_base_src_send_event), (gst_base_src_change_state):
6286 Documentation updates.
6288 2006-04-28 Wim Taymans <wim@fluendo.com>
6290 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6291 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6292 handle EAGAIN, EINTR and short writes correctly. Also clean
6293 up some error cases, avoid a deadlock on bad file descriptors and
6294 use GST_DEBUG_OBJECT.
6297 2006-04-28 Wim Taymans <wim@fluendo.com>
6299 * gst/gstvalue.c: (gst_value_serialize_buffer),
6300 (gst_value_deserialize_buffer):
6301 Don't try to serialize a GValue with a NULL buffer.
6304 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6305 Added check for serialisation of NULL buffers.
6307 2006-04-28 Wim Taymans <wim@fluendo.com>
6309 * gst/gstminiobject.c: (gst_value_take_mini_object):
6310 Taking a NULL miniobject is valid, fix the case where
6311 we try to unref the NULL miniobject.
6313 2006-04-28 Wim Taymans <wim@fluendo.com>
6315 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6317 * gst/gstbin.c: (gst_bin_handle_message_func):
6319 Don't leak bin refcount when a state recalc is
6320 in progress and we delay another one #339808.
6322 2006-04-28 Wim Taymans <wim@fluendo.com>
6324 * docs/design/part-TODO.txt:
6325 Mention QoS as an ongoing work item.
6327 * docs/design/part-buffering.txt:
6328 New doc about buffering that needs to be fleshed out
6331 * docs/design/part-qos.txt:
6332 More QoS policy for decoders/demuxers/transforms
6334 * docs/design/part-trickmodes.txt:
6337 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6342 === release 0.10.5 ===
6344 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6347 releasing 0.10.5, "Fogo"
6349 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
6351 patch by: Wim Taymans
6353 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6354 (gst_pad_configure_src), (gst_pad_push):
6355 * gst/gstpipeline.c: (gst_pipeline_init):
6356 Fix internal data flow errors. Fixes #338711.
6358 2006-04-12 Wim Taymans <wim@fluendo.com>
6360 * tests/check/gst/gstelement.c: (GST_START_TEST):
6361 Don't leak the factory.
6363 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6366 * win32/common/config.h:
6369 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
6371 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6372 (gst_controller_unset_all):
6373 Free allocated GstTimedValues when freeing list nodes.
6374 Should fix leaks 'make check-valgrind' complains about.
6376 * win32/common/libgstcontroller.def:
6377 Add gst_controller_unset_all.
6379 2006-04-11 Stefan Kost <ensonic@users.sf.net>
6381 * docs/libs/gstreamer-libs-sections.txt:
6382 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6383 (gst_controller_unset_all):
6384 * libs/gst/controller/gstcontroller.h:
6385 API: Added new method gst_controller_unset_all()
6386 fixed gst_controller_unset()
6387 * tests/check/libs/controller.c: (GST_START_TEST),
6388 (gst_controller_suite):
6389 Added two testcases for new and fixed method
6391 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
6393 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6394 MSG_DONTWAIT is not defined on Cygwin, so work
6395 around that (fixes #317048).
6397 2006-04-11 Wim Taymans <wim@fluendo.com>
6399 * gst/gstelementfactory.c: (gst_element_register),
6400 (gst_element_factory_create), (gst_element_factory_make):
6403 Updated docs (Fixes #131079)
6405 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6408 * tests/check/gst/gstelement.c: (GST_START_TEST),
6409 (gst_element_suite):
6410 Added testcase for elementfactory class field.
6412 2006-04-10 Wim Taymans <wim@fluendo.com>
6415 Added some more docs.
6417 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6418 (gst_base_sink_reset_qos):
6419 Calculate more accurate rate values.
6421 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
6423 * gst/gst_private.h:
6424 add a new #ifdef to use __declspec(dllimport) only for
6425 other modules and not for gstreamer core
6426 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6427 use gst_guint64_to_gdouble for conversion
6428 * win32/common/libgstreamer.def:
6429 add new exported functions
6430 * win32/vs6/gst_inspect.dsp:
6431 * win32/vs6/gst_launch.dsp:
6432 * win32/vs6/libgstbase.dsp:
6433 * win32/vs6/libgstcontroller.dsp:
6434 * win32/vs6/libgstcoreelements.dsp:
6435 * win32/vs6/libgstdataprotocol.dsp:
6436 * win32/vs6/libgstnet.dsp:
6437 update project files
6439 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6441 * gst/gstbuffer.c: (gst_subbuffer_class_init):
6442 * gst/gstclock.c: (gst_clock_class_init):
6443 * gst/gstelement.c: (gst_element_class_init):
6444 * gst/gstindex.c: (gst_index_class_init):
6445 * gst/gstindexfactory.c: (gst_index_factory_class_init):
6446 * gst/gstobject.c: (gst_object_class_init),
6447 (gst_signal_object_class_init):
6448 * gst/gstpad.c: (gst_pad_class_init):
6449 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6450 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6451 * gst/gstregistry.c: (gst_registry_class_init):
6452 * gst/gstsystemclock.c: (gst_system_clock_class_init):
6453 * gst/gsttask.c: (gst_task_class_init):
6454 * gst/gstxml.c: (gst_xml_class_init):
6455 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6456 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6457 (gst_base_src_loop):
6458 * libs/gst/controller/gstcontroller.c:/
6459 (_gst_controller_class_init):
6460 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6461 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6462 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6463 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6464 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6465 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6467 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
6469 * gst/gstpad.c: (gst_pad_link):
6470 Must set peer pads before calling the link function, otherwise
6471 a task started from a link function might get a flow-not-linked
6472 result when trying to push because the other thread where the
6473 linking happens hasn't had a chance to set the peers yet. This
6474 might happen for example when a queue gets linked to a downstream
6475 element, as queue starts a streaming task when its source pad
6476 gets linked. Happens in real life when playing back flac/musepack
6477 files in playbin (#332390).
6479 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6483 * libs/gst/base/gstadapter.h:
6484 * libs/gst/base/gstbasesink.h:
6485 * libs/gst/base/gstbasesrc.h:
6486 * libs/gst/base/gstbasetransform.h:
6487 * libs/gst/base/gstcollectpads.h:
6488 * libs/gst/base/gstpushsrc.h:
6489 Fix broken GObject macros
6491 2006-04-07 Wim Taymans <wim@fluendo.com>
6493 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6494 Initialize start and stop times, thanks valgrind.
6496 2006-04-07 Wim Taymans <wim@fluendo.com>
6498 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6499 Be a bit nicer to badly behaving upstream elements that expect
6500 us to deal with non TIME segments and timestamps (such as fakesrc
6503 2006-04-07 Wim Taymans <wim@fluendo.com>
6506 Small documentation clarification about the signal watch.
6508 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6509 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6510 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6511 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6512 (gst_base_sink_get_position_last),
6513 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6514 Convert and store timestamps in stream time and running time, the
6515 raw timestamps are not useful, also document this better.
6516 Use different window sizes for good and bad QoS observations so
6517 we react to badness a little quicker.
6518 Keep track of the amount of rendered and dropped buffers.
6519 Send QoS timestamps in running time.
6521 * libs/gst/base/gstbasetransform.c:
6522 (gst_base_transform_sink_eventfunc),
6523 (gst_base_transform_handle_buffer):
6524 Compare QoS timestamps against running time.
6526 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6531 2006-04-06 Michael Smith <msmith@fluendo.com>
6533 * gst/gstpad.c: (gst_pad_set_property):
6534 Use g_value_get_object() instead of g_value_dup_gst_object(),
6535 to avoid double-reffing the pad template (which we then sink,
6536 so this worked previously if (and only if) the pad template
6539 * gst/gstpadtemplate.c: (gst_pad_template_init),
6540 (gst_pad_template_pad_created):
6541 Never return floating references to pad templates, create
6542 them as initially-sunken.
6544 Document an extra function (and make this stop sinking our
6545 pad template, since that is now guaranteed to do nothing,
6546 since we created it sunken).
6548 * gst/gstghostpad.c:
6551 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6553 * gst/gstinfo.c: (__gst_in_valgrind):
6556 * plugins/elements/gsttypefindelement.c:
6557 (gst_type_find_element_chain):
6558 Don't leak buffer caps.
6560 2006-04-06 Michael Smith <msmith@fluendo.com>
6562 * gst/parse/grammar.y:
6563 Fix a leak in parse-launch for any source-or-sink named element
6566 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6567 Unref the pipeline if it exists after we've failed parsing.
6569 2006-04-05 Michael Smith <msmith@fluendo.com>
6571 * gst/gstpipeline.c: (gst_pipeline_init):
6572 When we create a pipeline bus, initially create it in flushing mode.
6573 Fixes leaks in at least one test, and makes a new pipeline work the
6574 same as one that has gone to READY and then back to NULL.
6579 2006-04-05 Michael Smith <msmith@fluendo.com>
6581 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6582 Unref a pad we reffed.
6583 * tests/check/gst/gstutils.c: (GST_START_TEST):
6586 2006-04-05 Michael Smith <msmith@fluendo.com>
6588 * gst/gstquery.c: (gst_query_set_formats),
6589 (gst_query_set_formatsv):
6590 Fix leaking GValues in queries, as shown by valgrind/testsuite.
6592 2006-04-05 Michael Smith <msmith@fluendo.com>
6594 * tests/check/generic/sinks.c: (GST_START_TEST):
6595 Fix a variety of memleaks in sinks check, which are only sometimes
6596 shown by running the tests under valgrind (weird?).
6598 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
6600 * docs/version.entities.in:
6601 Fix the substituted entity name after thomas' changes on the
6604 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6606 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
6609 2006-04-05 Andy Wingo <wingo@pobox.com>
6611 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
6613 * libs/gst/base/gstbasetransform.c
6614 (gst_base_transform_sink_eventfunc): When resetting our segment on
6615 FLUSH_STOP, also update the flag saying we haven't seen a
6618 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6620 Patch by: Paolo Borelli <pborelli at katamail dot com>
6622 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6623 (gst_plugin_check_license):
6624 minor clean-ups: G_DEFINE_TYPE already takes care of the
6625 parent_class stuff, no need to do it twice. Mark array of
6626 license strings as constant. (#337103)
6628 2006-04-04 Michael Smith <msmith@fluendo.com>
6630 * tools/gst-inspect.c: (print_element_list):
6631 Free the right plugin list; fixes a memory leak.
6633 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6635 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6637 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6638 Don't error out on empty buffers (#336945).
6640 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
6642 * docs/libs/gstreamer-libs-sections.txt:
6644 * libs/gst/base/gstbasesink.c:
6645 * libs/gst/base/gstbasesink.h:
6646 * libs/gst/base/gstbasesrc.c:
6647 * libs/gst/base/gstbasesrc.h:
6648 Documentation updates. Make BaseSink and BaseSrc docs contain the
6649 class structure so that people can actually see the prototypes for
6650 virtual functions they're supposed to be overriding.
6652 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6654 * plugins/elements/gsttypefindelement.c:
6655 (gst_type_find_element_chain):
6656 More debug info; when skipping typefinding, send cached
6657 events in all cases.
6659 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
6662 use new AS_VERSION and AS_NANO macros
6663 * gst/gst-i18n-lib.h:
6666 * gst/gstversion.h.in:
6667 * win32/common/config.h:
6668 * win32/common/config.h.in:
6671 2006-03-31 Michael Smith <msmith@fluendo.com>
6673 * plugins/elements/gsttypefindelement.c:
6674 (gst_type_find_element_chain):
6675 Do not typefind content if the buffers already have caps.
6676 Neccesary for icydemux (#333657), and the right thing to do anyway.
6678 2006-03-30 Wim Taymans <wim@fluendo.com>
6680 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6681 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
6682 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
6683 (gst_base_sink_record_qos_observation),
6684 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6685 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6686 (gst_base_sink_change_state):
6687 More QoS measurements as described in the design doc.
6688 Get rid of ringbuffer with observations, running average is
6689 more simple and equally good.
6690 Calculates valid proportion now.
6691 Added beginning of flood measurement.
6693 2006-03-29 Wim Taymans <wim@fluendo.com>
6695 * docs/design/part-qos.txt:
6697 Small documentation updates and additions.
6699 2006-03-29 Wim Taymans <wim@fluendo.com>
6701 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6702 (gst_base_src_send_event), (gst_base_src_loop),
6703 (gst_base_src_change_state):
6704 Perform the EOS logic when we reach the segment stop position.
6705 Fix compilation on gcc4.1
6707 2006-03-29 Wim Taymans <wim@fluendo.com>
6709 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6711 * plugins/elements/gstqueue.c: (gst_queue_init),
6712 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6713 (gst_queue_set_property):
6714 * plugins/elements/gstqueue.h:
6715 In queue, when EOS is received, if minimum threshold > max_size -
6716 current_level, there is chance that queue blocks forever in conditional
6717 item del wait. This is because the queue is not emptied completely due
6718 to minimum threshold. Here is another approach. Instead of setting
6719 cur_levels to max in EOS, just zero all minimum threshold levels. This
6720 should make sure that queue gives out all data. When going to READY
6721 (stop) state, just reset the original minimum threshold levels.
6724 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
6726 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
6727 (gst_type_find_element_handle_event),
6728 (gst_type_find_element_send_cached_events),
6729 (gst_type_find_element_change_state):
6730 * plugins/elements/gsttypefindelement.h:
6731 When typefinding is done in push mode, we should cache
6732 events we receive during typefinding instead of just
6733 dropping them (e.g. newsegment, custom events from
6734 dvdreadsrc etc.) and then send them out once we've
6735 determined the type of the stream (and decodebin
6736 has had a chance to plug in a decoder/demuxer).
6738 2006-03-27 Wim Taymans <wim@fluendo.com>
6740 * docs/design/part-qos.txt:
6743 2006-03-27 Wim Taymans <wim@fluendo.com>
6745 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
6747 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6748 (gst_base_src_send_event), (gst_base_src_change_state):
6749 Handle element seek correctly when we are streaming.
6752 2006-03-24 Michael Smith <msmith@fluendo.com>
6754 * docs/faq/gst-uninstalled:
6755 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
6756 allow you to correctly run intalled applications built against old
6757 core, using plugins that require updated core (e.g. running
6758 installed totem against a full uninstalled gstreamer stack)
6760 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6762 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6765 2006-03-24 Wim Taymans <wim@fluendo.com>
6767 * docs/gst/gstreamer-sections.txt:
6768 Rearrange the order of the methods so that related methods
6769 are grouped together in sections.
6771 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6774 Little clarification in the docs
6776 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6780 * plugins/elements/gstidentity.c:
6781 * plugins/elements/gstqueue.c:
6782 * plugins/elements/gsttee.c:
6783 * plugins/elements/gsttypefindelement.c:
6784 GST_ELEMENT_DETAILS formatting
6786 2006-03-24 Wim Taymans <wim@fluendo.com>
6788 * libs/gst/base/gstbasesink.h:
6789 Only add fields, not insert or we break ABI.
6791 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
6793 * win32/common/libgstbase.def:
6794 * win32/common/libgstreamer.def:
6795 Update, add recently added functions.
6797 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
6799 * docs/gst/gstreamer-sections.txt:
6800 * gst/gstutils.c: (gst_pad_query_peer_position),
6801 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
6803 API: add some new utility functions:
6804 - gst_pad_query_peer_position()
6805 - gst_pad_query_peer_duration()
6806 - gst_pad_query_peer_convert()
6808 2006-03-23 Wim Taymans <wim@fluendo.com>
6810 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6811 (gst_base_sink_init), (gst_base_sink_finalize),
6812 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
6813 (gst_base_sink_set_property), (gst_base_sink_get_property),
6814 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
6815 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6816 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
6817 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6818 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6819 (gst_base_sink_preroll_object), (gst_base_sink_event),
6820 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
6821 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6822 (gst_base_sink_query), (gst_base_sink_change_state):
6823 Decouple max-lateness and the fact that QoS messages are generated
6824 with a new property (qos).
6825 added API: GstBaseSink::async_play()
6826 Add vmethod so subclasses can be notified of ASYNC playing
6828 Collect timestamp start and stop to report better current
6829 position in EOS/PLAYING/PAUSED/READY/NULL.
6830 Refactor QoS/frame dropping and other measurements.
6831 API: GstBaseSrc::qos
6834 * libs/gst/base/gstbasesink.h:
6835 Added Private struct.
6836 API: gst_base_sink_set_qos_enabled()
6837 API: gst_base_sink_is_qos_enabled()
6839 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
6841 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6842 If compiling against GLib-2.8 or newer, try to read the
6843 registry file using GMappedFile first before falling back
6844 to fopen() + fread() (#332151).
6846 2006-03-22 Wim Taymans <wim@fluendo.com>
6848 * gst/gstinfo.c: (gst_debug_set_active),
6849 (gst_debug_category_set_threshold):
6850 Disable debugging unless explicitly activated.
6853 2006-03-22 Wim Taymans <wim@fluendo.com>
6855 * gst/gstelement.c: (gst_element_set_locked_state),
6856 (gst_element_dispose):
6857 Cleanup the error case.
6859 * gst/gstobject.c: (gst_object_dispose):
6860 print a critical when some object was disposed with
6861 a parent, also revive the object since it might
6864 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
6866 * tools/gst-launch.1.in:
6869 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
6872 * tests/check/Makefile.am:
6873 disable some tests when we don't have a registry
6874 * tests/check/gst/gstutils.c: (gst_utils_suite):
6875 don't build the part that needs parsing
6877 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
6880 * tests/examples/Makefile.am:
6881 fix --disable-parse build
6883 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
6885 * tools/gst-feedback.1.in:
6886 Fix typo: s/feeback/feedback/ (#133494).
6888 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
6890 * tools/Makefile.am:
6891 * tools/gst-launch.1.in:
6892 Add FILES section and correct entry about GST_REGISTRY_PATH
6893 environment variable (#133495; #133494).
6895 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
6897 * tools/Makefile.am:
6898 * tools/gst-md5sum.1.in:
6899 * tools/gst-md5sum.c:
6900 Remove gst-md5sum and man page (the md5sink element
6901 required was removed ages ago)
6903 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
6905 * gst/gststructure.c: (gst_structure_id_set_value):
6906 Make sure that string fields in structures/taglists
6907 contain valid UTF-8 - we don't want to pass rubbish to
6908 applications because of a buggy plugin (cp. #334167).
6910 2006-03-21 Edward Hervey <edward@fluendo.com>
6912 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6913 (gst_bin_handle_message_func):
6914 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
6915 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
6916 (gst_element_set_bus_func):
6917 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
6918 * gst/gstminiobject.c: (gst_value_set_mini_object),
6919 (gst_value_take_mini_object):
6920 * gst/gstpad.c: (gst_pad_set_pad_template):
6921 * gst/gstpipeline.c: (gst_pipeline_dispose),
6922 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
6923 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
6924 (gst_collect_pads_chain):
6925 * libs/gst/net/gstnettimeprovider.c:
6926 (gst_net_time_provider_set_property):
6927 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
6928 It's in fact all issues with gst_*object_replace().
6930 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
6932 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
6934 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6935 * pkgconfig/gstreamer-check.pc.in:
6936 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
6938 2006-03-21 Edward Hervey <edward@fluendo.com>
6943 gst_[buffer|event|message]_ref() macros are replaced by a static
6944 inline functions because gcc-4.1 will about if the return value
6946 * tests/check/gst/gstevent.c: (event_probe):
6947 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
6949 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
6952 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
6953 the type' case. (Closes: #335195 for now). In the future, when we
6954 depend on GLib 2.10, we could also intern the type name using
6955 g_intern_static_string()
6957 2006-03-20 Wim Taymans <wim@fluendo.com>
6959 * gst/gstbin.c: (gst_bin_handle_message_func),
6960 (bin_query_max_init), (bin_query_position_fold),
6961 (bin_query_position_done), (gst_bin_query):
6962 Position query should also take max of all streams.
6964 2006-03-20 Wim Taymans <wim@fluendo.com>
6966 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6967 (gst_fake_src_finalize):
6968 Fix leaks in fakesrc.
6970 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6971 Fix leaks in the testcase.
6973 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
6975 * gst/gst_private.h:
6976 add win32 specific import decoration(__declspec(dllimport))
6977 for all extern GstDebugCategory * variables
6978 * win32/common/libgstbase.def:
6979 * win32/common/libgstcontroller.def:
6980 * win32/common/libgstreamer.def:
6981 Add some exports, remove empty lines
6982 * win32/common/libgstdataprotocol.def:
6983 * win32/common/libgstdataprotocol.dsp:
6984 * win32/common/libgstnet.def:
6985 * win32/common/libgstnet.dsp:
6986 new project files and exportation files added
6988 2006-03-19 Wim Taymans <wim@fluendo.com>
6990 * tests/check/libs/basesrc.c: (eos_event_counter):
6991 Use proper return value for probe.
6993 2006-03-17 Wim Taymans <wim@fluendo.com>
6995 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
6997 Don't leak buffers, caps and pads on negotiation errors.
6999 2006-03-16 Stefan Kost <ensonic@users.sf.net>
7002 * docs/faq/dependencies.xml:
7003 * docs/faq/developing.xml:
7005 * docs/faq/general.xml:
7006 * docs/faq/getting.xml:
7007 * docs/faq/legal.xml:
7008 * docs/faq/troubleshooting.xml:
7009 * docs/faq/using.xml:
7010 Faq review and update.
7012 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
7014 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7016 Don't pound the cpu to pieces by checking get_caps when accept_caps
7017 is called with the same caps as the pad already has.
7018 Use GST_DEBUG_OBJECT when outputting caps change information.
7020 2006-03-15 Wim Taymans <wim@fluendo.com>
7022 * gst/gstclock.c: (gst_clock_class_init):
7025 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
7030 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7031 (gst_pad_accept_caps), (gst_pad_configure_sink),
7032 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7033 Make the default acceptcaps behaviour be to check the requested
7034 caps against the gst_pad_get_caps output.
7036 Ensure that gst_pad_accept_caps is used to check caps when a pad
7037 doesn't have a setcaps function, so that pads automatically refuse
7038 caps that they don't allow in their pad template. (Fixes #332986)
7040 When a buffer with attached caps is pushed, ensure that the source
7041 pad receives those caps even if the element didn't call
7042 gst_pad_set_caps first.
7044 2006-03-15 Wim Taymans <wim@fluendo.com>
7046 * libs/gst/base/gstadapter.c:
7049 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
7051 * win32/common/libgstbase.def:
7052 * win32/common/libgstcontroller.def:
7053 * win32/common/libgstreamer.def:
7054 Add a whole bunch of missing functions (#334434).
7056 2006-03-14 Wim Taymans <wim@fluendo.com>
7058 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7059 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7060 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7061 Better debug info when we receive a segment event.
7062 Reorganize a bit so we can pass the get_times() results around.
7063 Use the segment format when calculating the running time.
7064 Don't do QoS is sync is disabled or we have no clock or the
7065 element does not want us to sync to the clock.
7066 Don't drop buffers if QoS is disabled for now.
7068 2006-03-14 Wim Taymans <wim@fluendo.com>
7070 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7071 Marked the stats property as unimplemented so people don't get
7073 Add debug message when regression goes wrong.
7074 Added some more docs.
7076 2006-03-14 Wim Taymans <wim@fluendo.com>
7078 * gst/gstsegment.c: (gst_segment_to_stream_time):
7079 Return correct return type in case of errors.
7081 2006-03-14 Wim Taymans <wim@fluendo.com>
7083 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7084 Don't segfault on invalid formats.
7086 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7088 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7089 Can't use gst_segment_to_running_time() when the segment
7090 is not in GST_TIME_FORMAT (like with filesink, for example).
7091 Stops flac encoding pipelines from spewing critical warnings
7094 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7096 * gst/gstpipeline.c: (gst_pipeline_class_init):
7097 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7099 * plugins/elements/gsttypefindelement.c:
7100 (gst_type_find_element_handle_event):
7101 Don't try to typefind empty streams.
7103 2006-03-14 Wim Taymans <wim@fluendo.com>
7105 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7106 (gst_base_sink_do_qos):
7107 Separate QoS calculation.
7108 Only drop buffers when lateness is bigger than the
7109 duration of the buffer.
7111 2006-03-13 Wim Taymans <wim@fluendo.com>
7113 * gst/gstpipeline.c: (gst_pipeline_set_property),
7114 (gst_pipeline_get_property), (do_pipeline_seek),
7115 (gst_pipeline_change_state), (gst_pipeline_set_delay),
7116 (gst_pipeline_get_delay):
7117 Don't deadlock when reading properties.
7119 2006-03-13 Wim Taymans <wim@fluendo.com>
7121 * libs/gst/base/gstbasetransform.c:
7122 (gst_base_transform_class_init), (gst_base_transform_init),
7123 (gst_base_transform_sink_event),
7124 (gst_base_transform_sink_eventfunc),
7125 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7126 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7127 (gst_base_transform_set_property),
7128 (gst_base_transform_get_property),
7129 (gst_base_transform_change_state), (gst_base_transform_update_qos),
7130 (gst_base_transform_set_qos_enabled),
7131 (gst_base_transform_is_qos_enabled):
7132 * libs/gst/base/gstbasetransform.h:
7133 Make basetransform virtual method for src events too.
7134 Handle QOS in basetransform.
7135 API: gst_base_transform_update_qos()
7136 API: gst_base_transform_set_qos_enabled()
7137 API: gst_base_transform_is_qos_enabled()
7139 2006-03-13 Wim Taymans <wim@fluendo.com>
7141 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7142 (gst_base_sink_do_sync):
7144 Use QOS debug category.
7146 2006-03-13 Wim Taymans <wim@fluendo.com>
7148 * plugins/elements/gstqueue.c:
7149 Very small doc update.
7151 2006-03-13 Wim Taymans <wim@fluendo.com>
7153 * gst/gst_private.h:
7154 * gst/gstinfo.c: (_gst_debug_init):
7155 Added QOS debug category
7157 2006-03-13 Wim Taymans <wim@fluendo.com>
7159 * docs/gst/gstreamer-sections.txt:
7160 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7162 * gst/gstbus.c: (gst_bus_class_init):
7165 * gst/gstelement.c: (gst_element_set_locked_state):
7167 Documentation updates.
7169 * gst/gstpipeline.c: (gst_pipeline_get_type),
7170 (gst_pipeline_class_init), (gst_pipeline_init),
7171 (gst_pipeline_dispose), (gst_pipeline_set_property),
7172 (gst_pipeline_get_property), (do_pipeline_seek),
7173 (gst_pipeline_send_event), (gst_pipeline_change_state),
7174 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7175 (gst_pipeline_get_delay):
7176 * gst/gstpipeline.h:
7177 Added methods for setting the delay.
7178 API: gst_pipeline_set_delay()
7179 API: gst_pipeline_get_delay()
7180 Add pipeline debug category
7183 Don't reset stream time when seek failed.
7185 2006-03-13 Wim Taymans <wim@fluendo.com>
7187 * docs/design/draft-klass.txt:
7188 * docs/design/part-clocks.txt:
7189 * docs/design/part-events.txt:
7190 * docs/design/part-gstbin.txt:
7191 * docs/design/part-gstpipeline.txt:
7192 * docs/design/part-messages.txt:
7193 * docs/design/part-negotiation.txt:
7194 * docs/design/part-overview.txt:
7195 * docs/design/part-preroll.txt:
7196 * docs/design/part-seeking.txt:
7197 * docs/design/part-states.txt:
7198 * docs/design/part-streams.txt:
7199 Documentation updates.
7201 2006-03-12 Julien MOUTTE <julien@moutte.net>
7203 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7204 us to leak strings...
7206 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
7208 * libs/gst/net/gstnettimeprovider.c:
7210 * win32/common/config.h:
7213 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
7215 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7218 Don't check for libgnomeui (leftover from old examples
7219 that aren't built or disted any longer) (#334303).
7221 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
7223 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7224 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7225 Emit RESOURCE_NO_SPACE_LEFT error here as well when
7226 there's no space left on the device.
7228 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
7231 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7232 to cast the input to GstClockTime before comparing with
7233 another GstClockTime value.
7235 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7240 === release 0.10.4 ===
7242 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7245 releasing 0.10.4, "Light"
7247 2006-03-10 Michael Smith <msmith@fluendo.com>
7249 * libs/gst/dataprotocol/dataprotocol.c:
7250 Fix docs for dataprocotol to not get the return types completely
7251 wrong for a few functions.
7253 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7255 * docs/gst/gstreamer-sections.txt:
7256 * gst/gstpipeline.c: (gst_pipeline_class_init),
7257 (gst_pipeline_init), (gst_pipeline_set_property),
7258 (gst_pipeline_get_property), (gst_pipeline_change_state),
7259 (gst_pipeline_set_auto_flush_bus),
7260 (gst_pipeline_get_auto_flush_bus):
7261 * gst/gstpipeline.h:
7262 Add new API: gst_pipeline_set_auto_flush_bus() and
7263 gst_pipeline_get_auto_flush_bus() to disable automatic
7264 flushing of the pipeline's GstBus when going from READY
7265 to NULL state (#332045).
7267 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7269 * docs/gst/gstreamer-sections.txt:
7270 * gst/gsturi.c: (gst_uri_has_protocol):
7272 Add new API: gst_uri_has_protocol() (#333779).
7274 2006-03-09 Wim Taymans <wim@fluendo.com>
7276 * gst/gstclock.c: (gst_clock_entry_new),
7277 (gst_clock_id_compare_func), (gst_clock_id_wait),
7278 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7279 (gst_clock_init), (gst_clock_get_internal_time),
7280 (gst_clock_set_master), (do_linear_regression),
7281 (gst_clock_add_observation), (gst_clock_set_property):
7285 Fix a possible segfault when the window-size is made smaller.
7286 Calculate jitter before performing the clock wait. Ideally
7287 the clock implementation should calculate jitter but we need
7288 API breakage for that.
7290 * gst/gstsystemclock.c: (gst_system_clock_init):
7293 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7294 Remove leftover else
7296 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7297 (gst_systemclock_suite):
7298 Added check to test GST_CLOCK_DIFF.
7300 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7302 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7303 (gst_type_find_helper_get_range):
7304 If we are provided with the size, we should implement
7305 GstTypeFind::get_length, so that typefind functions who
7306 want to can actually peek at the middle of a file.
7308 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
7310 * docs/manual/advanced-dataaccess.xml:
7311 Add some very very basic error checking.
7313 * docs/pwg/appendix-checklist.xml:
7314 Some updates to the list of things to check when writing an element.
7316 2006-03-08 Wim Taymans <wim@fluendo.com>
7318 * docs/design/part-element-transform.txt:
7319 Added some docs about the design of tranform elements.
7321 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7322 (gst_base_src_loop), (gst_base_src_change_state):
7323 Mark buffers with the DISCONT flag.
7325 2006-03-08 Michael Smith <msmith@fluendo.com>
7327 * gst/gstregistry.h:
7328 * gst/gstregistryxml.c: (gst_registry_save),
7329 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7330 (gst_registry_xml_save_pad_template),
7331 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7332 (gst_registry_xml_write_cache):
7333 Rewrite registry-saving to avoid race conditions and check for
7336 2006-03-08 Wim Taymans <wim@fluendo.com>
7338 * libs/gst/base/gstbasetransform.c:
7339 (gst_base_transform_transform_caps),
7340 (gst_base_transform_transform_size),
7341 (gst_base_transform_prepare_output_buffer),
7342 (gst_base_transform_get_unit_size),
7343 (gst_base_transform_buffer_alloc),
7344 (gst_base_transform_handle_buffer),
7345 (gst_base_transform_change_state):
7346 Cleanups, separate normal flow from errors, add sensible
7348 Don't try to renegotiate when allocating an output buffer.
7349 Also copy DISCONT buffer flag when copying a buffer.
7350 Reset the transform after we finish streaming, not during.
7352 2006-03-08 Wim Taymans <wim@fluendo.com>
7354 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7355 Use last buffer timestamp in qos message.
7357 2006-03-07 Wim Taymans <wim@fluendo.com>
7359 Patch by: Christophe Fergeau
7361 * docs/pwg/advanced-tagging.xml:
7362 * docs/pwg/building-pads.xml:
7365 2006-03-07 Wim Taymans <wim@fluendo.com>
7367 * docs/libs/gstreamer-libs-sections.txt:
7368 Added basesink new methods.
7372 Docs updates. Flesh out the QoS docs.
7374 * libs/gst/base/gstadapter.c:
7375 Small doc clarification about ownership and flushing.
7377 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7378 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7379 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7380 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7381 * libs/gst/base/gstbasesink.h:
7383 Added new methods to allow subclass to control max-lateness
7385 Generate very basic QoS events based on last sync observation.
7386 Updated docs, fix typo, added some QoS blurb.
7388 * libs/gst/base/gstbasesrc.c:
7389 Remove obsolete _get_state() calls from docs.
7391 2006-03-07 Wim Taymans <wim@fluendo.com>
7393 * docs/libs/gstreamer-libs-sections.txt:
7394 * libs/gst/base/gstbasetransform.h:
7395 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7396 Fix docs for GstBaseSrc.
7398 2006-03-07 Wim Taymans <wim@fluendo.com>
7400 * docs/gst/gstreamer-sections.txt:
7403 * libs/gst/base/gstbasetransform.h:
7404 Small documentation fixes.
7406 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7409 Document thread-unsafety of gst_value_register_foo_func()
7410 when used at the same time as gst_value_foo() (#322628).
7412 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7414 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7415 (gst_push_src_check_get_range):
7416 Push sources don't support pull mode by default.
7418 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7420 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7421 (gst_base_src_init), (gst_base_src_pad_check_get_range),
7422 (gst_base_src_default_check_get_range):
7423 * libs/gst/base/gstbasesrc.h:
7424 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7425 provide default implementation, and rename
7426 gst_base_src_check_get_range() to
7427 gst_base_src_pad_check_get_range() for clarity.
7429 2006-03-06 Wim Taymans <wim@fluendo.com>
7431 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7432 Make property overridable.
7434 2006-03-06 Wim Taymans <wim@fluendo.com>
7436 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7437 (gst_base_sink_init), (gst_base_sink_set_property),
7438 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7439 * libs/gst/base/gstbasesink.h:
7440 API addition: Make max-lateness a property.
7442 2006-03-06 Wim Taymans <wim@fluendo.com>
7444 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7445 (gst_base_sink_do_sync), (gst_base_sink_render_object):
7446 Don't ever draw a frame that is >10ms late.
7448 2006-03-06 Michael Smith <msmith@fluendo.com>
7450 * gst/gstmessage.c: (_gst_message_copy):
7451 When copying a message, set the parent_refcount of the enclosed
7452 structure to point at the copy, not the original message.
7454 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7456 Patch by: Christophe Fergeau
7459 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7460 usable in c++ code (#333417)
7462 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
7465 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7467 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
7469 * libs/gst/base/gstbasetransform.c:
7470 (gst_base_transform_transform_caps):
7471 Make sure caps are writable before passing them to
7474 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7477 Fix some minor docs errors.
7479 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7481 Patch by: Ross Burton <ross at burtonini dot com>
7483 * gst/gsterror.c: (_gst_resource_errors_init):
7485 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7487 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7490 Add a check and output a g_warning when GStreamer is built
7491 against GLib 2.6 but running against 2.8 or higher, and vice
7492 versa. (Closes: #323542)
7494 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7496 * gst/parse/parse.l:
7497 Commit patch for parse_launch syntax from #331255. Removes
7498 support for quoted strings and mimetypes when writing filtered
7499 caps. See the bug report for more details - I'm pretty sure this
7500 obscure feature is not in use by _anyone_ anywhere.
7502 With this simple change, the size of the gstreamer.so here
7503 drops from 2193KB to 1565KB.
7505 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7507 * plugins/elements/gsttypefindelement.h:
7508 * plugins/elements/gsttypefindelement.c:
7509 (gst_type_find_element_src_event), (start_typefinding),
7510 (stop_typefinding), (gst_type_find_element_handle_event),
7511 (gst_type_find_element_chain),
7512 (gst_type_find_element_chain_do_typefinding):
7513 Use gst_type_find_helper_for_buffer() for chain-based
7516 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7518 * plugins/elements/gsttypefindelement.c:
7519 (gst_type_find_element_class_init),
7520 (gst_type_find_element_set_property),
7521 (gst_type_find_element_get_property):
7522 Deprecate "maximum" property (not only was it only taken into
7523 account for typefinding in push-mode anyway, it also was never
7524 actually possible to set it in the first place because the
7525 property was registered with the numeric property ID for the
7526 "minimum" property). Register "maximum" property correctly,
7527 for the sake of future copy'n'pasters. Remove some cruft
7528 from property get/set functions.
7530 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7532 * plugins/elements/gsttypefindelement.c:
7533 (gst_type_find_element_activate):
7534 Use gst_type_find_helper_get_range() here, so we
7535 can honour the "minimum" property and also emit
7536 the signal with the correct probability of the found caps.
7538 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
7540 * docs/libs/gstreamer-libs-sections.txt:
7541 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7542 (helper_find_suggest), (gst_type_find_helper_get_range),
7543 (gst_type_find_helper):
7544 * libs/gst/base/gsttypefindhelper.h:
7545 New API: gst_type_find_helper_get_range() (#333042).
7547 2006-03-02 Michael Smith <msmith@fluendo.com>
7549 * gst/gstregistryxml.c: (load_feature):
7550 Asserting on a failure to read part of the registry is Not Cool.
7551 Just log a warning and return NULL (which is already handled)
7553 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
7555 * win32/common/libgstbase.def:
7556 added export of gst_type_find_helper_for_buffer
7557 * win32/common/libgstbase.def:
7558 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7559 gst_ghost_pad_get_target
7561 2006-02-28 Wim Taymans <wim@fluendo.com>
7563 * docs/design/draft-klass.txt:
7565 Added Connector to mark elements that are only used to
7566 allow pipeline connections.
7567 Moved Debug to extra feature since most of them are
7568 functionally something else.
7570 2006-02-28 Wim Taymans <wim@fluendo.com>
7572 * docs/design/draft-klass.txt:
7573 Some updates and clarifications.
7575 2006-02-28 Wim Taymans <wim@fluendo.com>
7577 * docs/design/draft-klass.txt:
7578 Proposal for klass field values.
7580 * docs/design/part-streams.txt:
7581 Start of a doc describing stream anatomy.
7583 2006-02-28 Wim Taymans <wim@fluendo.com>
7585 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
7586 Help the compiler a bit with type registration.
7587 Use existing forward cod path instead of duplicating it when
7590 * gst/gstbus.c: (gst_bus_get_type):
7591 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
7592 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
7593 * gst/gstclock.c: (gst_clock_get_type):
7594 * gst/gstelement.c: (gst_element_get_type),
7595 * gst/gstelementfactory.c: (gst_element_factory_get_type):
7596 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7597 * gst/gstminiobject.c: (gst_mini_object_get_type):
7598 * gst/gstpad.c: (gst_pad_get_type):
7599 * gst/gstsegment.c: (gst_segment_get_type):
7600 * gst/gststructure.c: (gst_structure_get_type):
7601 * gst/gstsystemclock.c: (gst_system_clock_get_type):
7602 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
7604 Help compiler with type registration.
7606 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7609 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7611 * plugins/elements/gsttypefindelement.c:
7612 (gst_type_find_element_handle_event):
7613 When we get an EOS event and have not found a type yet
7614 (most likely because we had not yet accumulated
7615 TYPE_FIND_MIN_SIZE of data yet), try to determine the
7616 type given the data we have so far. Fixes typefinding
7617 for very short streams again, most notably quicktime
7618 redirections as used on Apple's trailer site (#331701).
7620 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7622 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
7623 (gst_type_find_helper):
7624 Try typefinding factories with the highest rank first.
7626 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7628 * docs/libs/gstreamer-libs-docs.sgml:
7629 * docs/libs/gstreamer-libs-sections.txt:
7630 * libs/gst/base/gsttypefindhelper.c:
7631 Add section for typefind helper and add documentation
7632 for the old and the new function.
7634 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7636 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
7637 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
7638 (gst_type_find_helper_for_buffer):
7639 * libs/gst/base/gsttypefindhelper.h:
7640 New API: gst_type_find_helper_for_buffer() (#332723).
7642 2006-02-27 Michael Smith <msmith@fluendo.com>
7644 Patch by: Loïc Minier
7648 * docs/slides/Makefile.am:
7649 prevent CVS directories getting disted.
7651 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7653 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
7654 Use the REFCOUNTING category for caps refcounting.
7656 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
7658 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
7659 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
7661 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
7663 * plugins/elements/gsttypefindelement.c:
7664 (gst_type_find_element_activate):
7665 Use gst_pad_check_pull_range() before _activate_pull()
7666 to avoid unnecessary open/close (see #331690).
7668 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
7671 Docs enhancement: make it crystal clear what the
7672 gst_pad_add_*_probe() callbacks should look like.
7674 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
7676 * libs/gst/base/gstbasesrc.c:
7677 Document how applications can stop recording from
7678 live sources (see #330996).
7680 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7682 * tests/check/Makefile.am:
7683 * tests/check/libs/basesrc.c: (eos_event_counter),
7684 (basesrc_eos_events_pull), (basesrc_eos_events_push),
7685 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
7686 (gst_basesrc_suite), (main):
7687 ... and add some tests for the base source EOS stuff.
7689 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7691 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
7692 Test case originally showed the problem fixed below,
7693 but was then amended. Add checks back at the place
7694 where they used to be.
7696 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7698 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7699 (gst_base_src_init), (gst_base_src_loop),
7700 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7701 (gst_base_src_change_state):
7702 * libs/gst/base/gstbasesrc.h:
7703 Don't unconditionally send EOS when going from PAUSED to
7704 READY state, esp. make sure we don't send two EOS events
7705 in some cases (e.g. one when reaching EOS and one when
7706 going from PAUSED to READY). Also, we don't want to send
7707 EOS events when operating in pull mode. However, we do
7708 want to send an EOS event when shutting down a live
7709 source explicitly, for example (fixes #330996).
7711 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7713 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7714 Update src->read_position after a seek when not using mmap.
7715 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
7717 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
7723 Make things work with --disable-parse as they do with
7724 --disable-load-save - the symbols involved disappear, but the
7725 header is still installed and GST_DISABLE_PARSE is included via
7728 2006-02-20 Julien MOUTTE <julien@moutte.net>
7730 * libs/gst/base/gstbasetransform.c:
7731 (gst_base_transform_change_state): Fix a stupid bug. I was
7732 sure I compiled that.
7734 2006-02-20 Julien MOUTTE <julien@moutte.net>
7736 * gst/gstpad.c: (gst_pad_set_blocked_async):
7737 * gst/gstutils.c: (gst_pad_add_data_probe),
7738 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7739 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7740 (gst_pad_remove_buffer_probe): Make those function act on the
7741 ghostpad target when it's a ghostpad. (Closes #331727)
7743 2006-02-20 Julien MOUTTE <julien@moutte.net>
7745 * libs/gst/base/gstbasetransform.c:
7746 (gst_base_transform_change_state): Make basetransform reusable.
7749 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
7751 * docs/random/release:
7752 Move the current documentation of how to do a release to the top
7755 * gst/gstbin.c: (gst_bin_class_init),
7756 (gst_bin_handle_message_func):
7757 Allow multiple state-recalculation threads. (Closes #328873)
7759 2006-02-19 Julien MOUTTE <julien@moutte.net>
7761 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
7762 * gst/gstpad.c: (gst_pad_set_event_function),
7763 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7764 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
7765 2 strings. You can't use the STR_NULL macro on that.
7767 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
7769 * gst/gstpad.c: (gst_pad_set_event_function),
7770 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7771 (gst_pad_set_getcaps_function)
7772 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
7773 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
7774 So now, we can use --gst-debug-level=5 on Windows
7775 * win32/common/libgstcontroller.def:
7776 Added export of gst_controller_init
7777 * win32/vs6/libgstcontroller.dsp:
7778 Fixed Release post build configuration
7780 2006-02-17 Wim Taymans <wim@fluendo.com>
7782 * tests/check/gst/gstquery.c: (GST_START_TEST):
7783 Added another check.
7785 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
7787 * plugins/elements/gsttypefindelement.c: (find_peek):
7788 We can do peeks at non-zero offsets, as long as they
7789 fall within the buffer we have.
7791 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
7793 * tests/check/Makefile.am:
7794 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
7795 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
7796 (parse_suite), (main):
7797 Add testsuite for parse launch syntax
7799 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
7801 * plugins/elements/gsttypefindelement.c:
7802 (gst_type_find_element_chain):
7803 When typefinding is unsuccessful in the chain function, don't
7804 error out immediately. Only error out with NO_CAPS_FOUND if
7805 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
7806 otherwise simply wait for more data so we can try typefinding
7807 again with more data later. Also, don't attempt to typefind
7808 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
7809 this should improve typefinding from network sources where the
7810 size of the first buffer can be somewhat random.
7812 2006-02-14 Wim Taymans <wim@fluendo.com>
7814 * docs/gst/gstreamer-sections.txt:
7815 * gst/gstpadtemplate.c:
7816 * gst/gstpadtemplate.h:
7817 Fix padtemplate docs, fixes #328805.
7819 2006-02-14 Wim Taymans <wim@fluendo.com>
7821 * tools/gst-launch.c: (main):
7822 NO_PREROLL is not an ERROR so don't send confusing messages
7825 2006-02-14 Wim Taymans <wim@fluendo.com>
7827 Patch by: Torsten Schoenfeld
7829 * gst/gstregistry.c: (gst_registry_get_default),
7830 (_gst_registry_cleanup):
7831 Protect default registry with lock and ref/sink it.
7834 2006-02-14 Wim Taymans <wim@fluendo.com>
7837 * gst/gstquery.c: (gst_query_list_add_format),
7838 (gst_query_set_formatsv), (gst_query_parse_formats_length),
7839 (gst_query_parse_formats_nth):
7840 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7843 2006-02-14 Wim Taymans <wim@fluendo.com>
7845 * docs/gst/gstreamer-sections.txt:
7846 Reworked query docs.
7848 * gst/gstquery.c: (gst_query_new_formats),
7849 (gst_query_list_add_format), (gst_query_set_formats),
7850 (gst_query_set_formatsv), (gst_query_parse_formats_length),
7851 (gst_query_parse_formats_nth):
7853 Flesh out formats query, added some new methods.
7854 Fix part of #324398.
7856 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
7857 Added query creation tests.
7859 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
7861 * gst/gstpad.c: (fixate_value):
7862 Add a default fixation for fraction lists.
7864 2006-02-13 Wim Taymans <wim@fluendo.com>
7866 * gst/gsttask.c: (gst_task_init), (gst_task_func),
7867 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
7870 Detect and warn for obvious deadlocks. fixes #320340
7871 Fix error case where lock was not released.
7873 * tests/check/Makefile.am:
7874 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
7875 (task_func), (gst_element_suite), (main):
7878 2006-02-13 Wim Taymans <wim@fluendo.com>
7880 * docs/gst/gstreamer-sections.txt:
7882 Add new functions to docs.
7884 2006-02-13 Wim Taymans <wim@fluendo.com>
7886 * docs/design/part-TODO.txt:
7887 Updated TODO list, basesrc supports seeking to non-bytes
7890 * docs/design/part-element-sink.txt:
7893 * gst/gstbin.c: (bin_replace_message),
7894 (gst_bin_handle_message_func):
7895 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
7896 * gst/gstevent.c: (gst_event_finalize):
7897 * gst/gstpad.c: (gst_pad_event_default_dispatch),
7898 (gst_pad_send_event):
7899 Use shiny new _TYPE_NAME macros.
7901 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7902 Move debug statement up.
7904 * gst/gstelement.c: (gst_element_set_locked_state):
7907 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
7909 * docs/gst/gstreamer-sections.txt:
7912 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
7913 macros (#330906). Also, document the already existing
7914 GST_QUERY_TYPE macro.
7916 2006-02-13 Wim Taymans <wim@fluendo.com>
7918 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
7919 (event_probe), (GST_START_TEST):
7920 Only events up to the pipeline EOS are counted, there are
7921 some more when going to NULL currently which we don't care
7924 2006-02-13 Wim Taymans <wim@fluendo.com>
7926 * gst/gstpad.c: (gst_pad_send_event):
7927 Correctly check flushing and emit probes. fixes #330125
7929 2006-02-10 Andy Wingo <wingo@pobox.com>
7931 * gst/gstbus.c (gst_bus_class_init): Declare our private data
7933 (gst_bus_init): Cache the location of the private data in the
7935 (gst_bus_enable_sync_message_emission)
7936 (gst_bus_disable_sync_message_emission): Implement new public
7938 (gst_bus_post): Emit the sync-message signal if the user asked for
7941 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
7942 location of the bus-private structure.
7943 (gst_bus_enable_sync_message_emission)
7944 (gst_bus_disable_sync_message_emission): API addition
7946 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
7948 Patch by: Vincent Torri
7950 * docs/pwg/building-boiler.xml:
7951 PWG patch from #326800
7953 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
7957 * docs/design/Makefile.am:
7960 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
7965 === release 0.10.3 ===
7967 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
7970 releasing 0.10.3, "Like a virgin"
7972 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
7975 2nd prerelease of 0.10.3
7976 Bump libtool versioning.
7978 2006-02-07 Andy Wingo <wingo@pobox.com>
7980 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
7981 update last_stop if we're in TIME format and the timestamp is
7984 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
7985 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
7986 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
7987 If we get a new newsegment with a different format, adapt
7990 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
7991 of 0. Not a problem, really.
7993 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
7996 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
8001 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
8004 project files updated to the default vs7 configuration
8005 * win32/common/libgstbase.def:
8006 * win32/common/libgstreamer.def:
8008 removed empty lines,
8009 sorted all exported symbols alphabetically
8010 * win32/common/dirent.c:
8011 * win32/common/dirent.h:
8012 * win32/common/gchar.h:
8013 use windows line end.
8015 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8017 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8018 Send EOS event when stopping.
8020 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8023 Tell folks what to do if the plugin-foobar.xml file
8024 hasn't been generated for a newly-added plugin.
8026 2006-02-05 Julien MOUTTE <julien@moutte.net>
8028 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8029 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8030 (gst_collect_pads_start), (gst_collect_pads_stop),
8031 (gst_collect_pads_event): Collectpads now holds a reference
8032 to the GstPad that was added. Indeed we don't want to look
8033 at pads that might just go away with no warning...
8035 2006-02-05 Julien MOUTTE <julien@moutte.net>
8037 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8038 (gst_collect_pads_start), (gst_collect_pads_stop),
8039 (gst_collect_pads_event), (gst_collect_pads_chain):
8040 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8041 Mark Nauwelaerts's patch on bug #328491.
8043 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8045 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8047 Add some simple tests for gst_parse_bin_from_description() and
8048 gst_bin_find_unconnected_pad() (#329069).
8050 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8052 * tools/gst-launch.c: (event_loop), (main):
8053 Catch errors during preroll (#320084).
8055 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
8057 * plugins/elements/gsttypefindelement.c:
8058 (gst_type_find_element_activate):
8059 Post TYPE_NOT_FOUND error message when typefinding
8060 is unsuccessful in the activate function as well.
8062 2006-02-02 Wim Taymans <wim@fluendo.com>
8064 * docs/design/part-element-sink.txt:
8067 2006-02-02 Wim Taymans <wim@fluendo.com>
8069 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8070 (gst_base_sink_render_object),
8071 (gst_base_sink_queue_object_unlocked):
8072 Only keep track of prerollable items when we are
8074 Before rendering after preroll, always check if we
8076 Added some more debugging.
8078 2006-02-02 Wim Taymans <wim@fluendo.com>
8080 * gst/gstelement.c: (gst_element_continue_state),
8081 (gst_element_set_state_func), (gst_element_change_state):
8082 Fixed #326576, been running this for quite some time with
8083 no regressions at all.
8085 2006-02-02 Wim Taymans <wim@fluendo.com>
8088 Added more suppressions
8090 2006-02-02 Wim Taymans <wim@fluendo.com>
8092 * docs/design/part-element-sink.txt:
8095 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8096 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8097 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8098 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8099 (gst_base_sink_do_sync), (gst_base_sink_render_object),
8100 (gst_base_sink_preroll_object),
8101 (gst_base_sink_queue_object_unlocked),
8102 (gst_base_sink_queue_object), (gst_base_sink_event),
8103 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8104 (gst_base_sink_loop), (gst_base_sink_activate_pull),
8105 (gst_base_sink_get_position), (gst_base_sink_change_state):
8106 * libs/gst/base/gstbasesink.h:
8107 Totally refactored matching the design doc.
8108 Use two segments, one to clip incomming buffers and another to
8110 Handle queueing correctly, bypass the queue when playing.
8111 Make EOS cancelable.
8112 Handle errors correctly when operating in pull based mode.
8114 * tests/check/elements/fakesink.c: (GST_START_TEST),
8116 Added new check for sinks.
8118 2006-02-02 Wim Taymans <wim@fluendo.com>
8120 * gst/gstsegment.c: (gst_segment_clip):
8121 No reason to refuse to clip when start == -1
8123 2006-02-02 Stefan Kost <ensonic@users.sf.net>
8126 * docs/manual/intro-basics.xml:
8127 * docs/manual/intro-preface.xml:
8128 * docs/manual/manual.xml:
8129 * docs/pwg/advanced-dparams.xml:
8130 * docs/pwg/intro-basics.xml:
8131 * docs/pwg/intro-preface.xml:
8133 describe dparams (controller) for plugins
8134 unify docs a little more
8136 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
8138 * docs/gst/gstreamer-sections.txt:
8139 * gst/gstutils.c: (element_find_unconnected_pad),
8140 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8142 Add new API: gst_parse_bin_from_description() and
8143 gst_bin_find_unconnected_pad() (#329069).
8145 2006-02-01 Stefan Kost <ensonic@users.sf.net>
8147 * docs/manual/README:
8148 uncover a nasty detail of the docs build
8150 2006-01-31 Wim Taymans <wim@fluendo.com>
8152 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8153 Don't cache duration messages if we're not going to use or
8156 2006-01-31 Stefan Kost <ensonic@users.sf.net>
8158 * docs/manual/advanced-dparams.xml:
8159 * docs/pwg/advanced-dparams.xml:
8163 * libs/gst/controller/lib.c: (gst_controller_init):
8166 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
8168 * gst/gstelement.c: (gst_element_message_full):
8169 also show file/line/func if no additional debug was given
8171 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
8173 * win32/vs7/grammar.vcproj:
8174 activate copy of autogenerated files for Release mode
8176 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8178 * win32/common/libgstreamer.def:
8179 export gst_value_compare
8181 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
8183 * plugins/elements/Makefile.am:
8184 * plugins/elements/gstelements.c:
8185 * plugins/elements/gstfdsink.c: (_do_init),
8186 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8187 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8188 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8189 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8190 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8191 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8192 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8193 * plugins/elements/gstfdsink.h:
8194 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8196 2006-01-30 Stefan Kost <ensonic@users.sf.net>
8198 * docs/manual/advanced-dparams.xml:
8200 * docs/manual/advanced-position.xml:
8201 * docs/manual/basics-init.xml:
8202 * docs/manual/manual.xml:
8203 * docs/manual/titlepage.xml:
8205 * docs/pwg/titlepage.xml:
8206 cleanup xml (more to come)
8207 * libs/gst/controller/gstcontroller.c:
8210 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8212 * win32/vs6/grammar.dsp:
8213 add autogen of gstmarshal.c,h for Release mode
8215 2006-01-30 Wim Taymans <wim@fluendo.com>
8217 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8218 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8219 (gst_base_sink_handle_object), (gst_base_sink_event),
8220 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8221 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8222 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8223 (gst_base_sink_deactivate), (gst_base_sink_activate),
8224 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8225 (gst_base_sink_query), (gst_base_sink_change_state):
8226 Basesink cleanups, remove some old code.
8227 Handle the case where a subclass can preroll in the render
8228 method (mostly audiosinks).
8230 Remove some locks around variables that are now protected
8231 with the PREROLL_LOCK (clock_id, flushing, ..).
8232 Optimize position query some more, do correct locking.
8233 Remove old code to push queue in state change, this is not
8234 needed anymore since preroll blocks on all prerollable items
8236 Almost implemented as described in design doc.
8238 2006-01-30 Wim Taymans <wim@fluendo.com>
8240 * tests/check/gst/gstbin.c: (GST_START_TEST):
8241 Wait for refcount to settle down before checking.
8243 2006-01-30 Wim Taymans <wim@fluendo.com>
8245 * docs/design/part-element-sink.txt:
8246 Pseudo code overview of desired sink behaviour regarding
8249 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8250 * win32/vs6/grammar.dsp:
8251 fix some bugs in Release mode for autogenerated files
8253 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8254 * win32/common/libgstbase.def:
8255 * win32/common/libgstreamer.def:
8256 export some new symbols: gst_base_src_set_format,
8257 gst_iterator_next, gst_structure_set_valist
8259 2006-01-29 Julien MOUTTE <julien@moutte.net>
8261 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8262 Set pad functions unconditionally. Fixes #329105.
8264 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8266 add vs8 project files created by Sergey Scobich
8268 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
8270 * gst/gstutils.c: (gst_element_unlink_pads):
8271 Don't leak pad references.
8273 * tests/check/elements/fakesink.c: (GST_START_TEST):
8274 * tests/check/generic/sinks.c: (GST_START_TEST):
8275 * tests/check/generic/states.c: (GST_START_TEST):
8276 * tests/check/gst/gstbin.c: (GST_START_TEST):
8277 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8278 * tests/check/gst/gstelement.c: (GST_START_TEST):
8279 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8280 * tests/check/gst/gstiterator.c: (GST_START_TEST):
8281 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8282 Fix a bunch of leaks. Make generic/sinks.c
8283 use a bit less cpu by slowing the buffer rate
8284 between fakesrc and fakesink.
8286 2006-01-27 Stefan Kost <ensonic@users.sf.net>
8288 * gst/gstelement.c: (gst_element_send_event):
8291 * gst/gstiterator.c:
8292 * gst/gstiterator.h:
8293 * gst/gstpad.c: (gst_pad_send_event):
8294 * gst/gststructure.c:
8298 * libs/gst/base/gstadapter.c:
8299 doc fixes, to link to function, just write gst_cool_function(), don't
8302 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8304 * plugins/elements/gsttee.c: (gst_tee_do_push),
8305 (gst_tee_handle_buffer):
8306 Always prefer an actual return value from a src
8307 pad in place of NOT_LINKED. This means we return
8308 WRONG_STATE when all src pads are WRONG_STATE
8309 instead of NOT_LINKED.
8311 Lock when replacing the last message to prevent
8312 racing with the get_property method.
8316 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8318 * tests/check/Makefile.am:
8319 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8321 Add a very simple check that should have caught the memleak I fixed
8322 last night (if not for the slice allocator hiding it)
8324 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8326 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8327 (gst_bin_remove_func), (gst_bin_handle_message_func),
8328 (bin_query_duration_fold), (bin_query_generic_fold):
8329 Clean up references to the clock provider when disposed or when
8330 handling a clock-lost message from it.
8332 Unref sinks when performing a query via gst_iterator_fold, as the
8333 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8335 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8336 (gst_clock_set_master):
8337 Drop our reference to the master clock, if any, when we are disposed.
8339 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8340 Chain up in dispose.
8342 2006-01-26 Wim Taymans <wim@fluendo.com>
8344 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8347 2006-01-26 Julien MOUTTE <julien@moutte.net>
8349 * plugins/elements/gsttee.c: (gst_tee_do_push),
8350 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8351 handles pad being NOT_LINKED or in WRONG_STATE.
8353 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8358 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8361 remove obsolete entry
8363 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8365 * docs/gst/gstreamer-sections.txt:
8366 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8367 (gst_bin_iterate_sources), (gst_bin_send_event):
8369 * gst/gstelement.c: (gst_element_send_event):
8371 * gst/gstpad.c: (gst_pad_send_event):
8372 added code for downstream events, reviewed docs in gstevent.c
8374 2006-01-25 Julien MOUTTE <julien@moutte.net>
8376 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8377 We only query position using the clock in the playing state.
8378 Query peer in the other cases.
8379 * win32/common/config.h: Updates.
8381 2006-01-24 Wim Taymans <wim@fluendo.com>
8383 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8384 A clock entry that is scheduled for the exact time of the
8385 clock is still in time.
8387 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8388 (gst_base_sink_do_sync):
8389 Add some more debug info.
8391 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8394 Add new vs7 project files and solution.
8396 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8399 all files removed as they were out-dated.
8401 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8403 * docs/random/release:
8405 * gst/gstbin.c: (gst_bin_init):
8406 * gst/gstbus.c: (gst_bus_new):
8408 * gst/gstpipeline.c: (gst_pipeline_init):
8409 use gst_bus_new(), improve logging, fix docs
8410 * win32/common/config.h:
8411 update for cvs build
8413 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8416 up required version of automake to 1.7
8418 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
8420 * win32/common/libgstreamer.def:
8421 export gst_buffer_is_metadata_writable
8423 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
8425 * docs/gst/gstreamer-sections.txt:
8427 Add gst_event_replace() (#327001)
8429 2006-01-20 Wim Taymans <wim@fluendo.com>
8431 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8432 Make it actually compile too..
8434 2006-01-20 Wim Taymans <wim@fluendo.com>
8437 Clarify behaviour of _is_equal() when passing NULL parameters.
8439 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8441 Cleanups. Don't unref NULL caps.
8442 When setting the same caps, protect caps of the pad with
8444 Use full functionality of _is_equal() when comparing caps.
8446 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8448 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8449 Don't loop infinitely if there are no buffers to present. Partially
8450 fixes #327197, but collectpads is just broken for reusing elements
8451 to do multiple encodes atm.
8453 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8455 * tools/gst-inspect.c: (print_element_features):
8456 * tools/gst-xmlinspect.c: (main):
8457 URL_HANDLER is not a plugin feature we can search for in
8460 2006-01-19 Edward Hervey <edward@fluendo.com>
8462 * gst/gstelement.c: (gst_element_pads_activate):
8463 When activating, do src pads first, then sink pads.
8464 When de-activating, do sink pads first, then src pads.
8466 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8468 * docs/gst/gstreamer-sections.txt:
8469 Add gst_index_add_associationv to the docs
8471 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8476 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8477 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8478 Do some refactoring. Doesn't actually change functionality,
8479 but makes landing the DRAIN event easier later.
8481 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
8483 * docs/pwg/advanced-scheduling.xml:
8484 Update from 0.9.x to 0.10 API and make example a bit
8487 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8489 * docs/gst/gstreamer-sections.txt:
8490 Add gst_buffer_(is|make)_metadata_writable methods.
8492 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8494 * docs/design/part-sparsestreams.txt:
8495 Update sparse streams doc, hopefully for greater clarity
8497 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
8499 * docs/design/part-events.txt:
8500 Remove mention of FILLER events.
8503 * docs/design/part-sparsestreams.txt:
8504 Write some things about using NEWSEGMENT to keep sparse streams
8507 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8509 * gst/gstbin.c: (gst_bin_dispose):
8510 Guard gst_object_unref call against a NULL object (dispose
8511 can theoretically be called multiple times).
8513 2006-01-18 Wim Taymans <wim@fluendo.com>
8515 * gst/gstbin.c: (gst_bin_element_set_state):
8516 * gst/gstclock.c: (gst_clock_id_wait):
8517 Added some more debug info.
8519 * libs/gst/base/gstadapter.c:
8522 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8523 (gst_base_sink_do_sync), (gst_base_sink_chain):
8524 Added some comments.
8526 2006-01-18 Wim Taymans <wim@fluendo.com>
8528 * tests/check/Makefile.am:
8529 * tests/check/elements/fakesink.c: (chain_async_buffer),
8530 (chain_async), (chain_async_return), (GST_START_TEST),
8531 (fakesink_suite), (main):
8532 Added fakesink test that checks prerolling and clipping
8535 * tests/check/gst/gstutils.c: (GST_START_TEST):
8536 Make check run faster so that buildbots don't timeout.
8538 2006-01-18 Wim Taymans <wim@fluendo.com>
8540 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8541 (gst_base_sink_do_sync):
8543 When the sink finishes blocking on the preroll buffer, it can
8544 immediatly render it instead of rendering when the next buffer
8547 2006-01-18 Wim Taymans <wim@fluendo.com>
8549 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8550 (gst_base_sink_get_property), (gst_base_sink_do_sync),
8551 (gst_base_sink_chain):
8553 GST_ELEMENT_CLOCK and sync are protected with LOCK.
8554 Don't store _last_stop if the buffer is dropped.
8556 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8558 * plugins/elements/gsttypefindelement.c:
8559 (gst_type_find_element_class_init):
8560 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8561 object method handler that sets the caps on the pad and we want
8562 that to happen before we emit the signal (fixes e.g. feeding a
8563 plain text file to decodebin).
8565 2006-01-18 Christian Schaller <Christian@fluendo.com>
8567 * gst/gstplugin.c: Add MPL and Proprietary as license options
8569 2006-01-18 Andy Wingo <wingo@pobox.com>
8571 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8572 symbol was exported before, it appears this was just an oversight.
8574 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
8576 * gst/gstindex.c (gst_index_add_associationv): Changed int in
8577 prototype to gint. OK since this prototype was not in the header.
8579 2006-01-17 Andy Wingo <wingo@pobox.com>
8581 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
8582 registry while we remove plugins.
8584 * tools/gst-inspect.c (print_element_info): Don't unref the
8585 factory arg, that should be the responsibility of whatever code
8586 received the ref. Fixes a double-free when called from
8587 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
8588 (main): Unref the factory if we have one.
8589 (print_element_list): No change -- relies on the
8590 plugin_feature_list_free to free the list of features.
8592 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
8594 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8595 (gst_buffer_make_metadata_writable):
8597 * libs/gst/base/gstbasetransform.c:
8598 (gst_base_transform_prepare_output_buf):
8599 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8600 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8601 Replace gst_buffer_(make|is)_metadata_writable patch now
8602 that the release is out.
8604 2006-01-17 Andy Wingo <wingo@pobox.com>
8606 * gst/gstregistry.c: Reflow design comment. Update so as to speak
8607 in the present tense without reference to versions.
8609 * gst/gstregistry.c (gst_registry_add_plugin)
8610 (gst_registry_remove_plugin, gst_registry_remove_feature)
8611 (gst_registry_find_feature, gst_registry_get_feature_list)
8612 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
8613 (gst_registry_lookup, gst_registry_scan_path)
8614 (_gst_registry_remove_cache_plugins)
8615 (gst_registry_get_feature_list_by_plugin): Add argument
8618 === release 0.10.2 ===
8620 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
8623 releasing 0.10.2, "If man is five"
8625 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8629 * libs/gst/base/gstbasetransform.c:
8630 (gst_base_transform_prepare_output_buf):
8631 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8632 * tests/check/gst/gstbuffer.c: (gst_test_suite):
8633 Back out patch until after the release.
8635 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8637 * gst/gstminiobject.c:
8638 Spelling fix in docs.
8639 * ChangeLog - remove conflict indicator
8641 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8643 Reviewed By: Andy Wingo
8645 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8646 (gst_buffer_make_metadata_writable):
8648 Add gst_buffer_(is|make)_metadata_writable as analogues of
8649 gst_buffer_(is|make)_writable.
8651 * libs/gst/base/gstbasetransform.c:
8652 (gst_base_transform_prepare_output_buf):
8653 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8654 Use name gst_buffer_(is|make)_metadata_writable functions.
8656 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8657 Test gst_buffer_(is|make)_metadata_writable
8661 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
8663 * docs/manual/Makefile.am:
8664 don't do parallel make
8667 * win32/common/config.h.in:
8668 add generations for HOST_CPU and GST_MAJORMINOR
8669 * win32/common/config.h:
8670 commit generated result
8672 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
8674 * docs/manual/appendix-integration.xml:
8675 Update GNOME integration section to use gst_init_get_option_group()
8676 instead of the old popt stuff (#322911). Also, GNOME applications
8677 should now use gconf*sink and gconf*src instead of the old gconf
8680 2006-01-13 Stefan Kost <ensonic@users.sf.net>
8683 * docs/gst/gstreamer-docs.sgml:
8684 * docs/gst/gstreamer-sections.txt:
8685 * docs/libs/gstreamer-libs-sections.txt:
8686 add new API entries to the docs
8687 * libs/gst/controller/Makefile.am:
8688 * libs/gst/controller/gstcontroller.c:
8689 * libs/gst/controller/gstcontroller.h:
8690 * libs/gst/controller/gstcontrollerprivate.h:
8691 * libs/gst/controller/gsthelper.c:
8692 * libs/gst/controller/gstinterpolation.c:
8693 move private structs to private header
8695 gstreamer-0.7 -> gstreamer-0.10
8696 * tests/check/libs/struct_i386.h:
8697 remove private structs
8699 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
8701 * plugins/indexers/Makefile.am:
8702 Fixes as part of #317048
8704 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
8706 * plugins/indexers/Makefile.am:
8707 fix #316086 - compilation when mmap is missing
8709 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
8711 * libs/gst/base/gstbasesink.c:
8712 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
8713 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
8714 * win32/common/config.h:
8715 added some defines GST_MAJORMINOR and HOST_CPU
8716 * win32/common/libgstbase.def:
8717 * win32/common/libgstreamer.def:
8718 added some exported functions.
8720 2006-01-12 Stefan Kost <ensonic@users.sf.net>
8722 * libs/gst/controller/gstcontroller.c:
8723 (gst_controlled_property_set_interpolation_mode),
8724 (gst_controlled_property_new):
8725 * libs/gst/controller/gstcontroller.h:
8726 * libs/gst/controller/gstinterpolation.c:
8727 (interpolate_none_get_string_value_array):
8728 make G_TYPE_STRING controlable
8730 2006-01-12 Stefan Kost <ensonic@users.sf.net>
8733 * tools/gst-feedback.1.in:
8734 * tools/gst-inspect.1.in:
8735 * tools/gst-launch.1.in:
8736 * tools/gst-md5sum.1.in:
8737 * tools/gst-typefind.1.in:
8738 * tools/gst-xmlinspect.1.in:
8739 * tools/gst-xmllaunch.1.in:
8740 cleanup man-pages, remove reference to gst-register, document env-vars
8742 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
8744 * gst/gstbuffer.c: (gst_buffer_span):
8745 gst_buffer_span should copy the timestamp of the first buffer
8746 if they were both originally overlapping subbuffers of the
8747 same parent, using the same logic as the 'slow copy' case.
8749 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
8751 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
8752 Need to awaken ALL the pads when we pop a buffer, otherwise
8753 collectpads only works when there is 2 input streams.
8755 2006-01-11 Stefan Kost <ensonic@users.sf.net>
8757 * docs/random/ensonic/media-device-daemon.txt:
8760 fix doc example, add clarification
8761 * tools/gst-launch.1.in:
8762 add initial info about GST_PLUGIN_PATH, needs more work
8764 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
8766 * docs/manual/basics-bins.xml:
8767 * docs/manual/basics-elements.xml:
8768 * docs/manual/intro-basics.xml:
8769 Some more minor docs additions and updates.
8771 2006-01-11 Wim Taymans <wim@fluendo.com>
8773 * docs/manual/basics-bins.xml:
8774 * docs/manual/basics-elements.xml:
8775 Some small fixes as pointed out by Ser-ver on IRC.
8777 2006-01-10 Edward Hervey <edward@fluendo.com>
8779 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8780 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
8781 the single-segment mode.
8783 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
8785 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8787 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
8788 (gst_base_src_perform_seek), (gst_base_src_send_event),
8789 (gst_base_src_set_property), (gst_base_src_get_property),
8790 (gst_base_src_loop), (gst_base_src_start),
8791 (gst_base_src_activate_push):
8792 * libs/gst/base/gstbasesrc.h:
8793 Name (private) union; makes Sun's Forte compiler happy (#324900).
8795 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
8798 gst-register is gone.
8800 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
8802 * gst/gstvalue.c: (_gst_value_initialize):
8803 make the G_TYPE_DATE instantiation work if debug is disabled
8805 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
8807 * gst/gstmessage.c: (gst_message_parse_tag),
8808 (gst_message_parse_error), (gst_message_parse_warning):
8809 Don't crash when return location for error/warning debug
8810 string is NULL; add fact that return locations can be
8811 NULL to docs where appropriate.
8813 2006-01-05 Wim Taymans <wim@fluendo.com>
8815 * gst/gstplugin.c: (gst_plugin_load_file):
8816 Replace strdup by g_strdup.
8818 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
8820 * docs/pwg/advanced-types.xml:
8823 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
8825 submitted by: Abel Cheung
8829 Added Chinese (traditional) translation
8831 2006-01-04 Wim Taymans <wim@fluendo.com>
8833 * docs/manual/basics-pads.xml:
8834 * docs/plugins/Makefile.am:
8835 * docs/plugins/gstreamer-plugins-docs.sgml:
8836 * docs/plugins/gstreamer-plugins-sections.txt:
8837 * docs/pwg/advanced-clock.xml:
8838 * docs/pwg/advanced-scheduling.xml:
8839 * docs/pwg/advanced-types.xml:
8840 * plugins/elements/gstfdsink.c:
8841 * plugins/elements/gstfdsrc.c:
8842 * plugins/elements/gstfdsrc.h:
8843 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8844 * plugins/elements/gstidentity.h:
8845 * plugins/elements/gstqueue.h:
8846 * plugins/elements/gsttee.c:
8847 * plugins/elements/gsttee.h:
8848 * plugins/elements/gsttypefindelement.c:
8849 (gst_type_find_element_class_init):
8850 * plugins/elements/gsttypefindelement.h:
8851 Small updates to various docs.
8852 Added core plugins to docs.
8854 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8857 add a suppression for liboil's uninitialized variable
8859 2006-01-02 James Livingston <jrl at ids dot org dot au>
8861 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8864 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
8865 macro, so that gcc doesn't complain if the -Wmissing-prototypes
8866 compiler switch is being used (#325429).
8868 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
8870 * gst/gstbin.c: (gst_bin_query):
8871 Disable duration query caching in bins until it gets
8872 fixed (see #324807).
8874 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
8876 * tools/gst-inspect.c: (print_element_properties_info):
8877 Handle properties of POINTER and BOXED type.
8879 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
8881 * gst/gst.c: (init_post):
8882 Init tags stuff and some other things before loading
8883 any static plugins (there may be other static plugins
8884 than just the GStreamer ones, and they may want to
8885 register their own tags or formats or whatever, and
8886 preferably without segfaulting).
8888 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
8889 Print at least a warning in the debug logs if we drop a
8890 query just because we don't know how to adjust the value
8891 in the particular format.
8893 2005-12-24 David Schleef <ds@schleef.org>
8895 * tools/gstreamer-completion:
8896 Replacement for gst-complete written in sh and sed. Only
8897 completes names of features, but that's 90% of what I want
8898 it for. Properties are not available in registry.xml. (Maybe
8901 === release 0.10.1 ===
8903 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
8906 releasing 0.10.1, "Nollaig chridheil"
8908 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
8911 Add missing quote, should be make ERROR_CFLAGS="".
8913 2005-12-20 Wim Taymans <wim@fluendo.com>
8915 * docs/design/part-trickmodes.txt:
8916 More documentation on trickmodes.
8918 2005-12-20 Edward Hervey <edward@fluendo.com>
8920 * gst/gstcaps.c: (gst_static_caps_get_type):
8922 API addition: GST_TYPE_STATIC_CAPS
8923 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
8924 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
8925 * gst/gstpadtemplate.h:
8926 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
8927 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
8930 2005-12-18 Wim Taymans <wim@fluendo.com>
8932 * libs/gst/base/gstadapter.c:
8933 * libs/gst/base/gstadapter.h:
8934 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8935 (gst_base_sink_get_position):
8936 * libs/gst/base/gstbasesink.h:
8937 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8938 (gst_base_src_default_query), (gst_base_src_default_do_seek),
8939 (gst_base_src_do_seek), (gst_base_src_perform_seek),
8940 (gst_base_src_send_event), (gst_base_src_update_length),
8941 (gst_base_src_get_range), (gst_base_src_loop),
8942 (gst_base_src_start):
8943 * libs/gst/base/gstbasesrc.h:
8944 * libs/gst/base/gstbasetransform.h:
8945 * libs/gst/base/gstcollectpads.h:
8946 * libs/gst/base/gstpushsrc.c:
8947 * libs/gst/base/gstpushsrc.h:
8948 * libs/gst/dataprotocol/dataprotocol.c:
8949 * libs/gst/dataprotocol/dataprotocol.h:
8950 * libs/gst/net/gstnetclientclock.h:
8951 * libs/gst/net/gstnettimeprovider.h:
8952 Documentation updates.
8954 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
8956 * docs/manual/basics-helloworld.xml:
8957 Remove superfluous closing bracket in helloworld example.
8959 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
8961 * tools/gst-launch.1.in:
8962 Update gst-launch man page; add a section with useful
8963 environment variables. Fixes #323882.
8965 2005-12-16 Stefan Kost <ensonic@users.sf.net>
8968 * gst/gst_private.h:
8969 change some char* into char[]
8971 2005-12-16 Wim Taymans <wim@fluendo.com>
8973 * gst/gstregistryxml.c: (load_feature):
8975 Don't use g_object_unref on GstObjects so that we avoid
8976 leaks on unsafe glibs.
8978 2005-12-16 Wim Taymans <wim@fluendo.com>
8980 * gst/gstbin.c: (gst_bin_recalc_state):
8983 2005-12-16 Wim Taymans <wim@fluendo.com>
8986 Added make forever target for check.
8988 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
8990 * gst/gst.c: (init_post):
8991 make the registry cache file HOST_CPU-dependent
8993 2005-12-16 Andy Wingo <wingo@pobox.com>
8995 * plugins/elements/gstbufferstore.c
8996 (gst_buffer_store_cleared_func): Pay attention to g_list_append
8999 * tests/check/gst/gstobject.c
9000 (test_fake_object_name_threaded_unique): Pay attention to
9001 g_list_sort return value.
9003 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
9005 * tools/gst-feedback-m.m:
9006 Update for 0.9/0.10 (fixes #323870).
9008 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
9010 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9011 Fix lcopy for mini objects, the mini object needs to be ref'ed.
9013 * tests/check/gst/gstminiobject.c: (my_foo_init),
9014 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9015 (test_value_collection), (gst_mini_object_suite):
9016 Add test to ensure refcounts end up as expected when passing
9017 GstMiniObjects through g_object_get() and g_object_set().
9019 2005-12-14 Julien MOUTTE <julien@moutte.net>
9021 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9022 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9023 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9024 of collectpads. This version removes a lot of races without
9025 touching API/ABI. Yay !
9027 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
9029 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9030 Don't allow activation of a srcpad in pull_range if it has no
9032 Change some debug statements to be a little clearer
9034 * plugins/elements/gsttypefindelement.c:
9035 (gst_type_find_handle_src_query):
9036 Check that we have a peer before executing queries thereupon.
9038 * tests/examples/metadata/read-metadata.c: (message_loop):
9039 Use gst_bus_pop instead of gst_bus_poll when we just want it to
9040 immediately return us any available message with 0 timeout.
9042 2005-12-12 Michael Smith <msmith@fluendo.com>
9044 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9045 Don't unref factories after calling them.
9046 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9047 * plugins/elements/gsttypefindelement.c:
9048 (gst_type_find_element_chain):
9049 Free lists of factories after using them. Fixing typefinding memory
9052 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9054 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9055 (gst_plugin_feature_load):
9056 more meaningful debug output
9058 * tests/Makefile.am:
9059 * tests/old/examples/Makefile.am:
9060 make make distcheck happy again
9062 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9064 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9065 Catch the special case where we are operating chain-based,
9066 but the downstream peer pad has no chain function. Emit a
9067 custom error message in this case instead of letting the
9068 core generate one implying that this is some sort of core
9069 bug. It's not, it just means that whatever got plugged
9070 into the pipeline downstream when we announced the type
9071 can only operate pull-based, while our source can only
9072 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9073 Error string has not been marked for translation yet, as
9074 it probably needs some more work first.
9076 (gst_type_find_element_get_best_possibility):
9077 Add helper function to find the best of all available
9078 found possibilities that qualify given the min. threshold.
9080 (gst_type_find_element_handle_event):
9081 Fix the case where we get an EOS while still in TYPEFIND
9082 mode (we want to chose the best of all possible types,
9083 not just the first type that happens to be in our unsorted
9084 list of possible types).
9086 (gst_type_find_element_chain):
9087 Make sure we return GST_FLOW_ERROR when we errored out
9088 in stop_typefinding(); also, don't just find the best of
9089 all found type entries and then use the last examined
9090 type entry, but actually use the best entry.
9092 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9094 * tests/examples/typefind/typefind.c: (type_found):
9095 * tests/examples/xml/runxml.c: (xml_loaded):
9096 More gcc4 fixes and a mem leak fix.
9098 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9100 * tests/examples/xml/createxml.c: (object_saved):
9103 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9105 * tests/Makefile.am:
9106 enable the examples even more
9108 2005-12-12 Andy Wingo <wingo@pobox.com>
9110 * libs/gst/net/gstnettimeprovider.c
9111 (gst_net_time_provider_class_init, gst_net_time_provider_init)
9112 (gst_net_time_provider_set_property)
9113 (gst_net_time_provider_get_property):
9114 API addition: Export "active" as a GObject property.
9115 (gst_net_time_provider_thread): Only respond to time queries if
9116 the time provider is active.
9118 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9119 NetTimeProvider, preserving binary compat.
9121 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9123 * tests/examples/controller/audio-example.c: (main):
9124 * tests/examples/launch/Makefile.am:
9125 convert comments again
9127 2005-12-12 Wim Taymans <wim@fluendo.com>
9129 * libs/gst/base/gstpushsrc.c:
9132 2005-12-12 Wim Taymans <wim@fluendo.com>
9134 * docs/libs/gstreamer-libs-sections.txt:
9135 Added new symbol to docs.
9137 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9138 (gst_base_src_init), (gst_base_src_set_format),
9139 (gst_base_src_default_query), (gst_base_src_query),
9140 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9141 (gst_base_src_perform_seek), (gst_base_src_send_event),
9142 (gst_base_src_default_event), (gst_base_src_event_handler),
9143 (gst_base_src_set_property), (gst_base_src_get_property),
9144 (gst_base_src_wait), (gst_base_src_do_sync),
9145 (gst_base_src_update_length), (gst_base_src_get_range),
9146 (gst_base_src_check_get_range), (gst_base_src_loop),
9147 (gst_base_src_default_negotiate), (gst_base_src_start),
9148 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9149 (gst_base_src_change_state):
9150 * libs/gst/base/gstbasesrc.h:
9151 Implement seeking to other formats than _BYTES.
9152 Implement more seeking methods correctly.
9154 Added query vmethod.
9155 Added do_seek vmethod to make life easier for subclasses
9157 API addition: gst_base_src_set_format()
9159 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9161 * tests/examples/Makefile.am:
9164 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9167 * docs/random/ensonic/media-device-daemon.txt:
9168 * tests/examples/controller/.cvsignore:
9169 * tests/examples/controller/Makefile.am:
9170 * tests/examples/controller/audio-example.c: (main):
9171 * tests/examples/helloworld/.cvsignore:
9172 * tests/examples/helloworld/Makefile.am:
9173 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9174 * tests/examples/launch/.cvsignore:
9175 * tests/examples/launch/Makefile.am:
9176 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9177 * tests/examples/metadata/.cvsignore:
9178 * tests/examples/metadata/Makefile.am:
9179 * tests/examples/metadata/read-metadata.c: (message_loop),
9180 (make_pipeline), (print_tag), (main):
9181 * tests/examples/queue/.cvsignore:
9182 * tests/examples/queue/Makefile.am:
9183 * tests/examples/queue/queue.c: (event_loop), (main):
9184 * tests/examples/typefind/.cvsignore:
9185 * tests/examples/typefind/Makefile.am:
9186 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9188 * tests/examples/xml/.cvsignore:
9189 * tests/examples/xml/Makefile.am:
9190 * tests/examples/xml/createxml.c: (object_saved), (main):
9191 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9192 * tests/old/examples/Makefile.am:
9193 * tests/old/examples/TODO:
9194 * tests/old/examples/controller/.cvsignore:
9195 * tests/old/examples/controller/Makefile.am:
9196 * tests/old/examples/controller/audio-example.c:
9197 * tests/old/examples/helloworld/.cvsignore:
9198 * tests/old/examples/helloworld/Makefile.am:
9199 * tests/old/examples/helloworld/helloworld.c:
9200 * tests/old/examples/launch/.cvsignore:
9201 * tests/old/examples/launch/Makefile.am:
9202 * tests/old/examples/launch/mp3parselaunch.c:
9203 * tests/old/examples/launch/mp3play:
9204 * tests/old/examples/manual/Makefile.am:
9205 * tests/old/examples/metadata/Makefile.am:
9206 * tests/old/examples/metadata/read-metadata.c:
9207 * tests/old/examples/queue/.cvsignore:
9208 * tests/old/examples/queue/Makefile.am:
9209 * tests/old/examples/queue/queue.c:
9210 * tests/old/examples/typefind/.cvsignore:
9211 * tests/old/examples/typefind/Makefile.am:
9212 * tests/old/examples/typefind/typefind.c:
9213 * tests/old/examples/xml/.cvsignore:
9214 * tests/old/examples/xml/Makefile.am:
9215 * tests/old/examples/xml/createxml.c:
9216 * tests/old/examples/xml/runxml.c:
9217 applied some simple fixing to some examples
9218 re-enabled the working examples
9220 2005-12-12 Wim Taymans <wim@fluendo.com>
9222 * gst/gstsegment.c: (gst_segment_init),
9223 (gst_segment_set_last_stop), (gst_segment_set_seek),
9224 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9225 (gst_segment_to_running_time):
9226 Added more documentation.
9227 Make sure the last_pos value is updated properly.
9228 Make sure to_stream_time and to_running_time don't
9229 operate on wrong values.
9231 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9234 2005-12-12 Michael Smith <msmith@fluendo.com>
9236 * plugins/elements/gsttypefindelement.c: (free_entry),
9237 (gst_type_find_element_chain):
9238 Now that we're not leaking factories, make sure we keep references
9239 to them while we need them.
9241 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9243 * tests/check/gst/struct_i386.h:
9244 ifdef out the XML structs
9246 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9248 * gst/gstvalue.c: (gst_value_transform_double_fraction):
9249 floor is not needed, F is always positive; this obviates the
9250 need for adding -lm when building without libxml
9252 2005-12-12 Wim Taymans <wim@fluendo.com>
9254 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9255 Take current playback rate into account when reporting
9258 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9260 * docs/manual/mime-world.fig:
9261 Let's try this again, this time with a file that is
9262 actually in XFig format.
9264 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9266 * docs/manual/mime-world.fig:
9267 Add audioconvert element to diagram so that it
9268 matches the text and the code (fixes #319526).
9270 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9272 * docs/pwg/building-chainfn.xml:
9273 * docs/pwg/building-pads.xml:
9274 * docs/pwg/building-state.xml:
9275 * docs/pwg/other-source.xml:
9276 Update state change stuff for 0.10 (fixes #322969).
9278 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9280 * docs/manual/advanced-dataaccess.xml:
9281 * docs/manual/appendix-checklist.xml:
9282 * docs/manual/appendix-programs.xml:
9283 * docs/manual/basics-pads.xml:
9284 * docs/manual/highlevel-components.xml:
9285 * docs/manual/manual.xml:
9286 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9287 add converters in front of pipelines; remove curly
9288 brackets for threads stuff, they no longer exist; use
9289 GST_TYPE_FRACTION for framerates; update some pieces of
9290 code to 0.10, but there's plenty more to do.
9292 * docs/manual/appendix-porting.xml:
9293 Expand on asynchroneous state changes; s/0.9/0.10/;
9294 mention disappearance of gst_init_get_popt_table()
9297 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9299 * docs/faq/using.xml:
9300 Spider no longer exists, and neither does gst-launch-ext.
9301 Update examples to use decodebin and playbin and put
9302 converters in front of sinks (fixes #323726).
9304 2005-12-09 Michael Smith <msmith@fluendo.com>
9306 * plugins/elements/gsttypefindelement.c: (find_peek),
9307 (gst_type_find_element_chain):
9308 Fix leaking element factories in typefinding.
9309 Fix problem where we forgot about a probable type on non-seekable
9310 files, and thus later mis-typefound it.
9312 2005-12-09 Michael Smith <msmith@fluendo.com>
9314 * common/m4/gst-makecontext.m4:
9315 * common/m4/gst-mcsc.m4:
9317 * win32/common/config.h:
9318 * win32/common/config.h.in:
9319 Remove makecontext stuff; not used in 0.10 and causes problems on
9320 HPUX according to bug #322441
9322 2005-12-07 Wim Taymans <wim@fluendo.com>
9324 * tests/check/Makefile.am:
9325 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9327 * tests/check/libs/struct_i386.h:
9328 Added ABI check for libs
9330 2005-12-07 Wim Taymans <wim@fluendo.com>
9332 * tests/check/Makefile.am:
9333 And add the struct_i386.h to dist.
9335 2005-12-07 Wim Taymans <wim@fluendo.com>
9337 * tests/check/Makefile.am:
9338 * tests/check/gst/.cvsignore:
9339 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9341 * tests/check/gst/struct_i386.h:
9342 Added check for ABI compatibility.
9344 2005-12-07 Wim Taymans <wim@fluendo.com>
9346 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9347 (gst_fake_src_get_times), (gst_fake_src_create):
9348 Fix broken sync option, fixes #323259
9350 2005-12-07 Wim Taymans <wim@fluendo.com>
9355 * gst/gstcaps.c: (gst_caps_is_equal):
9356 Don't assert on NULL <--> X. Fixes #323260
9358 * gst/gstminiobject.c: (gst_mini_object_replace):
9359 If we're doing atomic operations, we might just as well use
9360 the proper way to get an atomic pointer.
9362 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9365 2005-12-07 Michael Smith <msmith@fluendo.com>
9367 * gst/parse/grammar.y:
9368 Remove handling of { } for threads.
9370 2005-12-06 David Schleef <ds@schleef.org>
9372 * libs/gst/base/gstbasetransform.c: speling fix.
9374 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
9376 * docs/libs/tmpl/gstdataprotocol.sgml:
9377 * docs/random/omega/testing/gstobject.c:
9381 * gst/gstelementfactory.c:
9384 * gst/gstghostpad.c:
9386 * gst/gstpadtemplate.c:
9387 * gst/gstregistryxml.c:
9389 * gst/gsttagsetter.c:
9390 * gst/gsttypefind.c:
9392 * libs/gst/base/gstbasesrc.c:
9393 * libs/gst/net/gstnetclientclock.c:
9394 * libs/gst/net/gstnettimeprovider.c:
9395 * plugins/elements/gstfakesrc.c:
9396 * plugins/elements/gstfdsrc.c:
9397 * plugins/elements/gstfilesrc.c:
9398 * plugins/elements/gstidentity.c:
9399 * plugins/elements/gstqueue.c:
9400 * plugins/elements/gsttypefindelement.c:
9401 * plugins/indexers/gstfileindex.c:
9402 * plugins/indexers/gstmemindex.c:
9403 * tests/check/gst/gsttag.c:
9404 * tests/old/examples/cutter/cutter.c:
9405 * tests/old/examples/mixer/mixer.c:
9406 * tests/old/examples/xml/runxml.c: (main):
9407 * tests/old/testsuite/caps/normalisation.c:
9408 * tests/old/testsuite/debug/global.c:
9409 * tests/old/testsuite/parse/parse1.c:
9410 * tools/gst-xmlinspect.c:
9411 * win32/common/dirent.c:
9414 === release 0.10.0 ===
9416 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9419 releasing 0.10.0, "Maroilles"
9421 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9423 submitted by: Funda Wang <fundawang@linux.net.cn>
9427 added Chinese (Traditional) translation
9429 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9431 * docs/gst/gstreamer-sections.txt:
9432 * docs/libs/tmpl/gstdataprotocol.sgml:
9433 * docs/random/thomasvs/TODO:
9438 2005-12-05 Andy Wingo <wingo@pobox.com>
9440 patch by: Wim Taymans <wim@fluendo.com>
9442 * libs/gst/base/gstbasetransform.c
9443 (gst_base_transform_prepare_output_buf)
9444 (gst_base_transform_buffer_alloc):
9445 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9446 alloc_buffer_and_set_caps.
9448 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9449 set_caps on the source pad.
9450 (gst_pad_alloc_buffer_and_set_caps): New function, does what
9451 alloc_buffer used to do. Fixes #322874.
9453 * docs/gst/gstreamer-sections.txt:
9454 * docs/design/part-negotiation.txt:
9455 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9458 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9460 patch by: Sebastien Moutte
9463 * win32/common/config.h.in:
9464 * win32/vs6/libgstcontroller.dsp:
9467 2005-12-05 Wim Taymans <wim@fluendo.com>
9469 * gst/gstcaps.c: (gst_caps_is_equal):
9470 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9471 (gst_fake_src_create):
9472 Back out previous code changes, leave doc updates, file bugs
9475 2005-12-05 Wim Taymans <wim@fluendo.com>
9477 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9478 (gst_fake_src_get_times), (gst_fake_src_create):
9479 * plugins/elements/gstfakesrc.h:
9480 Fix broken sync code.
9482 2005-12-05 Wim Taymans <wim@fluendo.com>
9484 * gst/gstcaps.c: (gst_caps_is_equal):
9485 Comparing NULL against !NULL yields different caps, not a
9488 2005-12-05 Wim Taymans <wim@fluendo.com>
9490 * gst/gstpipeline.c:
9491 Fix small typo in docs.
9493 2005-12-05 Andy Wingo <wingo@pobox.com>
9495 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
9497 * gst/gst.c (init_post): remove hard-coded 0.9 location for
9498 registries/plugins with a MAJORMINOR one.
9499 (plugin_desc): Rename library from gstcoreleements to
9500 staticelements. Fixes #323222.
9502 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
9504 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9505 Change debug category to 'collectpads' from 'collect_pads'
9508 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9510 patch by: Sebastien Moutte
9512 * libs/gst/controller/gstinterpolation.c:
9513 use convert function for uint64/double
9514 * win32/vs6/libgstcontroller.dsp:
9517 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9519 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9520 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9522 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9523 add tests that seem to show that the guint64/gdouble conversions
9526 2005-12-02 Wim Taymans <wim@fluendo.com>
9528 * gst/gstregistry.c: (gst_registry_add_path):
9529 * gst/gstregistry.h:
9530 * gst/gstregistryxml.c:
9533 2005-12-02 Wim Taymans <wim@fluendo.com>
9535 * gst/gstutils.c: (gst_util_uint64_scale_int64),
9536 (gst_util_uint64_scale_int):
9539 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9542 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9545 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9548 * win32/common/config.h:
9549 * win32/vs6/gstreamer.dsw:
9550 * win32/vs6/libgstcoreelements.dsp:
9551 * win32/vs6/libgstelements.dsp:
9552 renamed core elements plugin
9554 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9556 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9558 do piece-wise major/minor comparison so 0.9 < 0.10
9559 also allow .exe extensions for tools
9561 2005-12-02 Michael Smith <msmith@fluendo.com>
9564 Escape a % to make gtkdoc happier; bug 322958.
9566 === release 0.9.7 ===
9568 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9571 releasing 0.9.7, "My Dog Has No Nose"
9573 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9575 * common/gst-xmlinspect.py:
9577 * docs/libs/tmpl/gstdataprotocol.sgml:
9578 * docs/random/release:
9597 * win32/common/config.h:
9598 * win32/common/config.h.in:
9599 * win32/vs6/gst_inspect.dsp:
9600 * win32/vs6/gst_launch.dsp:
9601 * win32/vs6/libgstbase.dsp:
9602 * win32/vs6/libgstelements.dsp:
9603 * win32/vs6/libgstreamer.dsp:
9604 * win32/vs7/GStreamer.vcproj:
9605 * win32/vs7/gst-inspect.vcproj:
9606 * win32/vs7/gst-launch.vcproj:
9607 * win32/vs7/libgstbase.vcproj:
9608 bump GST_MAJORMINOR to 0.10
9609 reset libtool version
9611 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9615 Added Bulgarian translation by (Alexander Shopov)
9617 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9619 * tests/check/gst/gstplugin.c:
9622 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9624 * common/gst-xmlinspect.py:
9625 * common/gtk-doc-plugins.mak:
9628 * docs/gst/Makefile.am:
9629 * docs/gst/gstreamer-docs.sgml:
9630 * docs/gst/gstreamer-sections.txt:
9631 * docs/gst/gstreamer.types:
9632 * docs/gst/gstreamer.types.in:
9633 * docs/plugins/Makefile.am:
9634 * docs/plugins/gstreamer-plugins-docs.sgml:
9635 * docs/plugins/gstreamer-plugins-sections.txt:
9636 * docs/plugins/gstreamer-plugins.types:
9637 * docs/plugins/inspect.stamp:
9638 * docs/plugins/inspect/plugin-coreelements.xml:
9639 * docs/plugins/inspect/plugin-coreindexers.xml:
9640 * docs/plugins/scanobj-build.stamp:
9641 * gstreamer.spec.in:
9642 * plugins/elements/Makefile.am:
9643 * plugins/elements/gstelements.c:
9644 * plugins/elements/gstfakesink.c:
9645 * plugins/elements/gstfakesrc.c:
9646 * plugins/elements/gstfilesink.c:
9647 * plugins/elements/gstfilesrc.c:
9648 * plugins/elements/gstqueue.c:
9649 * plugins/indexers/Makefile.am:
9650 * plugins/indexers/gstindexers.c:
9651 document core plugins in a separate document just like all the
9653 rename these plugins to something starting with core
9655 2005-12-01 Andy Wingo <wingo@pobox.com>
9657 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
9658 padding here before, but it missed the commit.
9660 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9662 * libs/gst/controller/gstinterpolation.c:
9663 whitespace prices have crashed, we should feel free to use some now
9664 use gst_guint64_to_gdouble
9666 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9668 * libs/gst/controller/gstcontroller.c:
9669 * libs/gst/controller/gsthelper.c:
9670 * libs/gst/controller/gstinterpolation.c:
9671 * libs/gst/controller/lib.c:
9672 wrap config.h include
9674 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9676 * docs/gst/gstreamer-sections.txt:
9679 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9681 * plugins/elements/gstelements.c:
9682 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
9683 (gst_fd_sink__class_init), (gst_fd_sink__init),
9684 (gst_fd_sink__chain), (gst_fd_sink__set_property),
9685 (gst_fd_sink__get_property):
9686 * plugins/elements/gstfdsink.h:
9687 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
9688 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
9689 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
9690 (gst_fd_src_unlock), (gst_fd_src_set_property),
9691 (gst_fd_src_get_property), (gst_fd_src_create),
9692 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
9693 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
9694 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
9695 (gst_fd_src_uri_handler_init):
9696 * plugins/elements/gstfdsrc.h:
9697 * plugins/elements/gstqueue.c: (gst_queue_get_type):
9700 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9702 * docs/gst/Makefile.am:
9703 * docs/gst/gstreamer.types.in:
9707 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9713 * gst/gstregistry.h:
9714 * tests/benchmarks/complexity.c:
9715 * tests/benchmarks/mass-elements.c:
9716 * tests/check/Makefile.am:
9717 * tools/Makefile.am:
9718 * tools/gst-inspect.c:
9719 * tools/gst-xmlinspect.c:
9720 various fixes to make
9721 --disable-nls --disable-registry --disable-loadsave
9722 --disable-parse --disable-gst-debug
9723 work and get the core .so down to 360444 bytes after stripping
9725 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9730 * docs/random/thomasvs/TODO:
9731 * tests/Makefile.am:
9735 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9737 * win32/GStreamer.vcproj:
9740 * win32/Makefile.inspect:
9741 * win32/Makefile.launch:
9742 * win32/Makefile.register:
9744 * win32/gst-inspect.vcproj:
9745 * win32/gst-launch.vcproj:
9746 * win32/gst-register.vcproj:
9747 * win32/gstelements.vcproj:
9748 * win32/gstgetbits.def:
9749 * win32/gstgetbits.vcproj:
9750 * win32/gstreamer-dbg.def:
9751 * win32/gstreamer.def:
9752 * win32/libgstbase.def:
9753 * win32/libgstbase.vcproj:
9754 * win32/link_oldruntime.c:
9759 move even more stuff, win32/ is nice and clean now
9761 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9763 * libs/gst/control/.cvsignore:
9768 * win32/gstbytestream.def:
9769 * win32/gstbytestream.vcproj:
9770 * win32/gstconfig.h:
9771 * win32/gstenumtypes.c:
9772 * win32/gstenumtypes.h:
9773 * win32/gstoptimalscheduler.vcproj:
9774 * win32/gstversion.h:
9776 * win32/testsuite/bins.vcproj:
9777 * win32/testsuite/bytestream.vcproj:
9778 * win32/testsuite/caps.vcproj:
9779 * win32/testsuite/cleanup.vcproj:
9780 * win32/testsuite/clock.vcproj:
9781 * win32/testsuite/debug.vcproj:
9782 * win32/testsuite/dlopen.vcproj:
9783 * win32/testsuite/dynparams.vcproj:
9784 * win32/testsuite/elements.vcproj:
9785 * win32/testsuite/ghostpads.vcproj:
9786 * win32/testsuite/indexers.vcproj:
9787 * win32/testsuite/negotiation.vcproj:
9788 * win32/testsuite/parse.vcproj:
9789 * win32/testsuite/plugin.vcproj:
9790 * win32/testsuite/refcounting.vcproj:
9791 * win32/testsuite/schedulers.vcproj:
9792 * win32/testsuite/states.vcproj:
9793 * win32/testsuite/tags.vcproj:
9794 * win32/testsuite/threads.vcproj:
9795 remove old win32 stuff that isn't maintained and should be
9798 2005-11-30 Andy Wingo <wingo@pobox.com>
9800 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
9801 loading the gst.interfaces python module bork.
9803 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
9804 available since GLib 2.2. Fixes #318031.
9806 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9810 * check/Makefile.am:
9811 * check/elements/.cvsignore:
9812 * check/elements/fakesrc.c:
9813 * check/elements/fdsrc.c:
9814 * check/elements/identity.c:
9815 * check/generic/.cvsignore:
9816 * check/generic/states.c:
9817 * check/gst-libs/.cvsignore:
9818 * check/gst-libs/controller.c:
9819 * check/gst-libs/gdp.c:
9820 * check/gst/.cvsignore:
9821 * check/gst/capslist.h:
9823 * check/gst/gstbin.c:
9824 * check/gst/gstbuffer.c:
9825 * check/gst/gstbus.c:
9826 * check/gst/gstcaps.c:
9827 * check/gst/gstelement.c:
9828 * check/gst/gstevent.c:
9829 * check/gst/gstghostpad.c:
9830 * check/gst/gstiterator.c:
9831 * check/gst/gstmessage.c:
9832 * check/gst/gstminiobject.c:
9833 * check/gst/gstobject.c:
9834 * check/gst/gstpad.c:
9835 * check/gst/gstpipeline.c:
9836 * check/gst/gstplugin.c:
9837 * check/gst/gstsegment.c:
9838 * check/gst/gststructure.c:
9839 * check/gst/gstsystemclock.c:
9840 * check/gst/gsttag.c:
9841 * check/gst/gstutils.c:
9842 * check/gst/gstvalue.c:
9843 * check/net/.cvsignore:
9844 * check/net/gstnetclientclock.c:
9845 * check/net/gstnettimeprovider.c:
9846 * check/pipelines/.cvsignore:
9847 * check/pipelines/cleanup.c:
9848 * check/pipelines/simple_launch_lines.c:
9849 * check/pipelines/stress.c:
9850 * check/states/.cvsignore:
9851 * check/states/sinks.c:
9853 * examples/Makefile.am:
9854 * examples/appreader/.cvsignore:
9855 * examples/appreader/Makefile.am:
9856 * examples/appreader/appreader.c:
9857 * examples/controller/.cvsignore:
9858 * examples/controller/Makefile.am:
9859 * examples/controller/audio-example.c:
9860 * examples/cutter/.cvsignore:
9861 * examples/cutter/Makefile.am:
9862 * examples/cutter/cutter.c:
9863 * examples/cutter/cutter.h:
9864 * examples/events/Makefile.am:
9865 * examples/events/seek.c:
9866 * examples/helloworld/.cvsignore:
9867 * examples/helloworld/Makefile.am:
9868 * examples/helloworld/helloworld.c:
9869 * examples/helloworld2/.cvsignore:
9870 * examples/helloworld2/Makefile.am:
9871 * examples/helloworld2/helloworld2.c:
9872 * examples/launch/.cvsignore:
9873 * examples/launch/Makefile.am:
9874 * examples/launch/mp3parselaunch.c:
9875 * examples/launch/mp3play:
9876 * examples/manual/.cvsignore:
9877 * examples/manual/Makefile.am:
9878 * examples/manual/extract.pl:
9879 * examples/metadata/Makefile.am:
9880 * examples/metadata/read-metadata.c:
9881 * examples/mixer/.cvsignore:
9882 * examples/mixer/Makefile.am:
9883 * examples/mixer/mixer.c:
9884 * examples/mixer/mixer.h:
9885 * examples/pingpong/.cvsignore:
9886 * examples/pingpong/Makefile.am:
9887 * examples/pingpong/pingpong.c:
9888 * examples/plugins/.cvsignore:
9889 * examples/plugins/Makefile.am:
9890 * examples/plugins/example.c:
9891 * examples/plugins/example.h:
9892 * examples/pwg/.cvsignore:
9893 * examples/pwg/Makefile.am:
9894 * examples/pwg/extract.pl:
9895 * examples/queue/.cvsignore:
9896 * examples/queue/Makefile.am:
9897 * examples/queue/queue.c:
9898 * examples/queue2/.cvsignore:
9899 * examples/queue2/Makefile.am:
9900 * examples/queue2/queue2.c:
9901 * examples/queue3/.cvsignore:
9902 * examples/queue3/Makefile.am:
9903 * examples/queue3/queue3.c:
9904 * examples/queue4/.cvsignore:
9905 * examples/queue4/Makefile.am:
9906 * examples/queue4/queue4.c:
9907 * examples/retag/.cvsignore:
9908 * examples/retag/Makefile.am:
9909 * examples/retag/retag.c:
9910 * examples/retag/transcode.c:
9911 * examples/thread/.cvsignore:
9912 * examples/thread/Makefile.am:
9913 * examples/thread/thread.c:
9914 * examples/typefind/.cvsignore:
9915 * examples/typefind/Makefile.am:
9916 * examples/typefind/typefind.c:
9917 * examples/xml/.cvsignore:
9918 * examples/xml/Makefile.am:
9919 * examples/xml/createxml.c:
9920 * examples/xml/runxml.c:
9921 * tests/Makefile.am:
9922 * tests/check/Makefile.am:
9923 * testsuite/.cvsignore:
9924 * testsuite/Makefile.am:
9926 * testsuite/caps/.cvsignore:
9927 * testsuite/caps/Makefile.am:
9928 * testsuite/caps/app_fixate.c:
9929 * testsuite/caps/audioscale.c:
9930 * testsuite/caps/caps.c:
9931 * testsuite/caps/caps.h:
9932 * testsuite/caps/caps_strings:
9933 * testsuite/caps/compatibility.c:
9934 * testsuite/caps/deserialize.c:
9935 * testsuite/caps/enumcaps.c:
9936 * testsuite/caps/eratosthenes.c:
9937 * testsuite/caps/filtercaps.c:
9938 * testsuite/caps/fixed.c:
9939 * testsuite/caps/fraction-convert.c:
9940 * testsuite/caps/fraction-multiply-and-zero.c:
9941 * testsuite/caps/intersect2.c:
9942 * testsuite/caps/intersection.c:
9943 * testsuite/caps/normalisation.c:
9944 * testsuite/caps/random.c:
9945 * testsuite/caps/renegotiate.c:
9946 * testsuite/caps/sets.c:
9947 * testsuite/caps/simplify.c:
9948 * testsuite/caps/string-conversions.c:
9949 * testsuite/caps/structure.c:
9950 * testsuite/caps/subtract.c:
9951 * testsuite/caps/union.c:
9952 * testsuite/debug/.cvsignore:
9953 * testsuite/debug/Makefile.am:
9954 * testsuite/debug/category.c:
9955 * testsuite/debug/commandline.c:
9956 * testsuite/debug/global.c:
9957 * testsuite/debug/output.c:
9958 * testsuite/debug/printf_extension.c:
9959 * testsuite/dlopen/.cvsignore:
9960 * testsuite/dlopen/Makefile.am:
9961 * testsuite/dlopen/dlopen_gst.c:
9962 * testsuite/dlopen/loadgst.c:
9963 * testsuite/elements/.cvsignore:
9964 * testsuite/elements/Makefile.am:
9965 * testsuite/elements/gst-inspect-check.in:
9966 * testsuite/elements/struct_i386.h:
9967 * testsuite/elements/struct_size.c:
9968 * testsuite/indexers/.cvsignore:
9969 * testsuite/indexers/Makefile.am:
9970 * testsuite/indexers/cache1.c:
9971 * testsuite/indexers/indexdump.c:
9972 * testsuite/parse/.cvsignore:
9973 * testsuite/parse/Makefile.am:
9974 * testsuite/parse/parse1.c:
9975 * testsuite/parse/parse2.c:
9976 * testsuite/plugin/.cvsignore:
9977 * testsuite/plugin/Makefile.am:
9978 * testsuite/plugin/README:
9979 * testsuite/plugin/dynamic.c:
9980 * testsuite/plugin/linked.c:
9981 * testsuite/plugin/loading.c:
9982 * testsuite/plugin/registry.c:
9983 * testsuite/plugin/static.c:
9984 * testsuite/plugin/static2.c:
9985 * testsuite/plugin/testplugin.c:
9986 * testsuite/plugin/testplugin2.c:
9987 * testsuite/plugin/testplugin2_s.c:
9988 * testsuite/plugin/testplugin_s.c:
9989 * testsuite/refcounting/.cvsignore:
9990 * testsuite/refcounting/Makefile.am:
9991 * testsuite/refcounting/bin.c:
9992 * testsuite/refcounting/element.c:
9993 * testsuite/refcounting/element_pad.c:
9994 * testsuite/refcounting/mainloop.c:
9995 * testsuite/refcounting/mem.c:
9996 * testsuite/refcounting/mem.h:
9997 * testsuite/refcounting/object.c:
9998 * testsuite/refcounting/pad.c:
9999 * testsuite/refcounting/sched.c:
10000 * testsuite/refcounting/thread.c:
10001 * testsuite/states/.cvsignore:
10002 * testsuite/states/Makefile.am:
10003 * testsuite/states/bin.c:
10004 * testsuite/states/locked.c:
10005 * testsuite/states/parent.c:
10006 * testsuite/threads/.cvsignore:
10007 * testsuite/threads/159566.c:
10008 * testsuite/threads/159852.c:
10009 * testsuite/threads/Makefile.am:
10010 * testsuite/threads/queue.c:
10011 * testsuite/threads/signals.c:
10012 * testsuite/threads/staticrec.c:
10013 * testsuite/threads/thread.c:
10014 * testsuite/threads/threadb.c:
10015 * testsuite/threads/threadc.c:
10016 * testsuite/threads/threadd.c:
10017 * testsuite/threads/threade.c:
10018 * testsuite/threads/threadf.c:
10019 * testsuite/threads/threadg.c:
10020 * testsuite/threads/threadh.c:
10021 * testsuite/threads/threadi.c:
10022 move all of these under tests
10024 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10027 * tests/Makefile.am:
10030 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10032 * docs/gst/gstreamer-sections.txt:
10033 * tests/sched/.cvsignore:
10034 * tests/sched/Makefile.am:
10035 * tests/sched/cases/(fs-fs).xml:
10036 * tests/sched/cases/(fs-i-fs).xml:
10037 * tests/sched/cases/(fs-i-i-fs).xml:
10038 * tests/sched/cases/(fs-i-q[i-fs]).xml:
10039 * tests/sched/dynamic-pipeline.c:
10040 * tests/sched/interrupt1.c:
10041 * tests/sched/interrupt2.c:
10042 * tests/sched/interrupt3.c:
10043 * tests/sched/runtestcases:
10044 * tests/sched/runxml.c:
10045 * tests/sched/sched-stress.c:
10046 * tests/sched/sort.c:
10047 * tests/sched/testcases:
10048 * tests/sched/testcases1.tc:
10049 * tests/seeking/.cvsignore:
10050 * tests/seeking/Makefile.am:
10051 * tests/seeking/seeking1.c:
10052 * tests/threadstate/.cvsignore:
10053 * tests/threadstate/Makefile.am:
10054 * tests/threadstate/test1.c:
10055 * tests/threadstate/test2.c:
10056 * tests/threadstate/threadstate1.c:
10057 * tests/threadstate/threadstate2.c:
10058 * tests/threadstate/threadstate3.c:
10059 * tests/threadstate/threadstate4.c:
10060 * tests/threadstate/threadstate5.c:
10061 remove obsolete tests
10063 * tests/bench-complexity.scm:
10064 * tests/bench-mass_elements.scm:
10065 * tests/complexity.c:
10066 * tests/complexity.gnuplot:
10067 * tests/instantiate/.cvsignore:
10068 * tests/instantiate/Makefile.am:
10069 * tests/instantiate/caps.c:
10070 * tests/mass_elements.c:
10071 * tests/network-clock-utils.scm:
10072 * tests/network-clock.scm:
10074 First pass at cleaning up tests/ dir before moving the rest
10075 Combined with CVS surgery
10077 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10080 queue has moved, update
10082 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10084 * docs/gst/gstreamer-sections.txt:
10085 remove double entries from the docs
10086 * gst/gst_private.h:
10087 * gst/gstinfo.c: (_gst_debug_init):
10088 remove the THREAD debug category
10092 * docs/gst/gstreamer.types:
10093 * plugins/elements/gstqueue.c: (gst_queue_get_type),
10094 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10095 completely move queue and fix up debugging categories
10097 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10099 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10100 make initialization portable, using LL is not
10102 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10104 * win32/common/gstconfig.h:
10107 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10109 * win32/common/libgstreamer.def:
10110 rename symbols; sort base section
10112 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10114 * gst/gstclock.c: (do_linear_regression):
10115 remove crack non-portable handrolled DEBUG macro
10117 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10119 * docs/random/release:
10121 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10122 (gst_object_flags_get_type), (register_gst_bin_flags),
10123 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10124 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10125 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10126 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10127 (gst_caps_flags_get_type), (register_gst_clock_return),
10128 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10129 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10130 (gst_clock_flags_get_type), (register_gst_state),
10131 (gst_state_get_type), (register_gst_state_change_return),
10132 (gst_state_change_return_get_type), (register_gst_state_change),
10133 (gst_state_change_get_type), (register_gst_element_flags),
10134 (gst_element_flags_get_type), (register_gst_core_error),
10135 (gst_core_error_get_type), (register_gst_library_error),
10136 (gst_library_error_get_type), (register_gst_resource_error),
10137 (gst_resource_error_get_type), (register_gst_stream_error),
10138 (gst_stream_error_get_type), (register_gst_event_type_flags),
10139 (gst_event_type_flags_get_type), (register_gst_event_type),
10140 (gst_event_type_get_type), (register_gst_seek_type),
10141 (gst_seek_type_get_type), (register_gst_seek_flags),
10142 (gst_seek_flags_get_type), (register_gst_format),
10143 (gst_format_get_type), (register_gst_index_certainty),
10144 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10145 (gst_index_entry_type_get_type),
10146 (register_gst_index_lookup_method),
10147 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10148 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10149 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10150 (gst_index_flags_get_type), (register_gst_debug_level),
10151 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10152 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10153 (gst_iterator_result_get_type), (register_gst_iterator_item),
10154 (gst_iterator_item_get_type), (register_gst_message_type),
10155 (gst_message_type_get_type), (register_gst_mini_object_flags),
10156 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10157 (gst_pad_link_return_get_type), (register_gst_flow_return),
10158 (gst_flow_return_get_type), (register_gst_activate_mode),
10159 (gst_activate_mode_get_type), (register_gst_pad_direction),
10160 (gst_pad_direction_get_type), (register_gst_pad_flags),
10161 (gst_pad_flags_get_type), (register_gst_pad_presence),
10162 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10163 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10164 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10165 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10166 (gst_plugin_flags_get_type), (register_gst_rank),
10167 (gst_rank_get_type), (register_gst_query_type),
10168 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10169 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10170 (gst_tag_flag_get_type), (register_gst_task_state),
10171 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10172 (gst_alloc_trace_flags_get_type),
10173 (register_gst_type_find_probability),
10174 (gst_type_find_probability_get_type), (register_gst_uri_type),
10175 (gst_uri_type_get_type), (register_gst_parse_error),
10176 (gst_parse_error_get_type):
10177 * win32/common/gstenumtypes.h:
10178 * win32/common/gstversion.h:
10179 update visual studio generated files
10181 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10183 * win32/vs6/libgstbase.dsp:
10184 * win32/vs6/libgstelements.dsp:
10185 update project files for new locations
10187 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10192 reinstate and update
10197 * docs/random/LICENSE:
10200 2005-11-30 Edward Hervey <edward@fluendo.com>
10202 * gst/gsttypefind.c: (gst_type_find_register):
10203 * gst/gsttypefind.h:
10204 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10205 (gst_type_find_factory_dispose):
10206 * gst/gsttypefindfactory.h:
10207 Fix memory leak in GstTypeFindFactory.
10209 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10212 * plugins/elements/Makefile.am:
10213 * plugins/elements/gstelements.c:
10214 * plugins/elements/gstqueue.c:
10215 move queue from core to the elements plugin
10217 2005-11-29 Andy Wingo <wingo@pobox.com>
10219 * libs/gst/base/gstbasetransform.h:
10220 * libs/gst/base/gstbasesrc.h:
10221 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10223 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10224 of pointers by which to pad very extensible base classes (like the
10225 ones in libs/gst/base).
10227 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10229 * docs/gst/gstreamer-docs.sgml:
10230 * docs/gst/gstreamer-sections.txt:
10231 * docs/libs/gstreamer-libs-docs.sgml:
10232 * docs/libs/gstreamer-libs-sections.txt:
10233 moving documentation from core to lib
10235 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10237 * check/Makefile.am:
10239 * docs/gst/Makefile.am:
10241 * gst/base/.cvsignore:
10242 * gst/base/Makefile.am:
10244 * gst/base/gstadapter.c:
10245 * gst/base/gstadapter.h:
10246 * gst/base/gstbasesink.c:
10247 * gst/base/gstbasesink.h:
10248 * gst/base/gstbasesrc.c:
10249 * gst/base/gstbasesrc.h:
10250 * gst/base/gstbasetransform.c:
10251 * gst/base/gstbasetransform.h:
10252 * gst/base/gstcollectpads.c:
10253 * gst/base/gstcollectpads.h:
10254 * gst/base/gstpushsrc.c:
10255 * gst/base/gstpushsrc.h:
10256 * gst/base/gsttypefindhelper.c:
10257 * gst/base/gsttypefindhelper.h:
10258 * gst/check/Makefile.am:
10259 * gst/check/gstcheck.c:
10260 * gst/check/gstcheck.h:
10261 * gst/net/Makefile.am:
10262 * gst/net/gstnet.h:
10263 * gst/net/gstnetclientclock.c:
10264 * gst/net/gstnetclientclock.h:
10265 * gst/net/gstnettimepacket.c:
10266 * gst/net/gstnettimepacket.h:
10267 * gst/net/gstnettimeprovider.c:
10268 * gst/net/gstnettimeprovider.h:
10269 * libs/gst/Makefile.am:
10270 * libs/gst/base/Makefile.am:
10271 * libs/gst/base/gstbasetransform.c:
10272 * libs/gst/check/Makefile.am:
10273 * plugins/elements/Makefile.am:
10275 CVS surgery + support to move base, check, and net out of gst
10278 2005-11-29 Andy Wingo <wingo@pobox.com>
10280 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10282 * gst/gststructure.h (struct _GstStructure): Only one pointer of
10285 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10287 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10289 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10291 * gst/gstobject.h: (struct _GstObject): Only one pointer of
10292 padding; reduces object size by about 30%. We don't expect
10293 anything else to go into gstobject.
10295 * gst/gstminiobject.h (struct _GstMiniObject)
10296 (struct _GstMiniObjectClass): Only one pointer of padding; the
10297 payload is only a pointer and two ints anyway. For the class there
10298 are only two methods as well.
10300 * gst/gstelement.h (struct _GstElementClass): Removed
10301 the state_changed signal callback, it is not used.
10303 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10305 * docs/gst/gstreamer.types:
10306 fix includes, though they are a little dinky
10308 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10310 * check/Makefile.am:
10311 look in the right place for elements, a lot more chance of
10314 remove indexers and elements subdirs
10315 * plugins/Makefile.am:
10316 make indexers conditional
10318 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10322 * plugins/elements/Makefile.am:
10323 * plugins/elements/gstcapsfilter.c:
10324 * plugins/elements/gstfilesink.c:
10325 * plugins/elements/gstfilesrc.c:
10326 * plugins/elements/gstidentity.c:
10327 * plugins/indexers/Makefile.am:
10328 do CVS surgery and related build fixery to move elements
10329 and indexers in a new gstreamer/plugins directory, out of the
10332 2005-11-29 Andy Wingo <wingo@pobox.com>
10334 * check/Makefile.am:
10335 * pkgconfig/gstreamer-net-uninstalled.pc.in:
10336 * pkgconfig/gstreamer-net.pc.in:
10337 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10340 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10342 * tools/Makefile.am:
10343 * tools/gst-complete.1.in:
10344 * tools/gst-complete.c:
10345 * tools/gst-compprep.1.in:
10346 * tools/gst-compprep.c:
10347 removing -compprep and -complete
10349 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10351 * gst/gstevent.c: (gst_event_new_new_segment),
10352 (gst_event_parse_new_segment):
10354 fix #320529 - clean up new_segment API and structure.
10355 Let's hope everyone was using the methods, and not the structure.
10357 2005-11-29 Edward Hervey <edward@fluendo.com>
10359 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10360 (gst_base_sink_event), (gst_base_sink_do_sync),
10361 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10362 Properly handle non GST_FORMAT_TIME segment
10363 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10364 Properly handle non GST_FORMAT_TIME segment
10365 * gst/gstsegment.c:
10366 This function is valid if the accumulator is 0 and the format
10367 is different from the requested format.
10369 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10371 * docs/gst/gstreamer-sections.txt:
10372 Add gst_query_new_seeking and gst_query_parse_seeking to the
10375 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10377 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10378 Treat a pad alloc with new caps the same as if we were not
10379 negotiated, in order to allow a changing upstream output
10380 to produce a new format of data.
10382 2005-11-29 Edward Hervey <edward@fluendo.com>
10384 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10385 (gst_base_transform_event), (gst_base_transform_eventfunc):
10386 The event virtual method is now properly implemented, with a default
10388 Sub classes should call the parent_class event method. They should
10389 return FALSE if they had a problem handling the given event, or don't
10390 want GstBaseTransform to send that even downstream
10391 * gst/elements/gstidentity.c: (gst_identity_class_init),
10392 (gst_identity_init), (gst_identity_event),
10393 (gst_identity_transform_ip), (gst_identity_set_property),
10394 (gst_identity_get_property):
10395 * gst/elements/gstidentity.h:
10396 Added the single-segment boolean property.
10397 If set to TRUE, it will output a single segment of data, starting from
10398 0, will eat up all incoming newsegment, and modify the timestamp of the
10399 buffers accordingly
10401 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
10403 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10404 Don't ref NULL target pad (#322751). Improve docs.
10406 2005-11-29 Michael Smith <msmith@fluendo.com>
10408 * gst/gstregistryxml.c: (load_plugin):
10409 Don't crash if we failed to load a feature from a plugin.
10411 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10413 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10415 use more check API and less GLib API
10417 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10420 don't run checks if we don't have check
10421 * common/check.mak:
10422 remove the registry when running make torture
10423 * docs/gst/gstreamer-sections.txt:
10424 remove second multiply
10425 * gst/gstqueue.c: (gst_queue_loop):
10426 fix a compile warning when disabling debug
10428 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10431 Hey! Let's print the pad name if the pointer != NULL instead
10432 of when it == NULL :-)
10434 2005-11-28 Wim Taymans <wim@fluendo.com>
10436 * check/gst/gstutils.c: (GST_START_TEST):
10437 Updated check, add some scaling accuracy checking code.
10439 * gst/gstutils.c: (gst_util_div128_64),
10440 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10441 (gst_util_uint64_scale_int):
10442 Fix 6 times faster division code. Optimize for common
10443 1/1 and less common X/1 cases.
10445 2005-11-28 Wim Taymans <wim@fluendo.com>
10447 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10450 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10451 (do_linear_regression), (gst_clock_add_observation):
10453 Release lock when the clock cannot be slaved.
10454 Catch the case where the regression returned an invalid denominator.
10456 * gst/gstutils.c: (gst_util_div128_64_iterate),
10457 (gst_util_div128_64), (gst_util_uint64_scale_int64),
10458 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10459 Add protentially more performant non-iterative 128/64 divide function
10460 that unfortunatly does not work yet.
10461 Shortcut the trivial 0/X = 0 case.
10462 Remove the warnings on overflow.
10464 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10466 * gst/gstplugin.c: (gst_plugin_register_func):
10467 everything causing a plugin not to load should be at least a WARNING
10469 2005-11-28 Stefan Kost <ensonic@users.sf.net>
10471 * docs/random/ensonic/dparams.txt:
10472 some TODOs for the next dev cycle
10473 * libs/gst/controller/gstcontroller.c:
10474 (gst_controlled_property_set_interpolation_mode),
10475 (gst_controlled_property_new):
10476 * libs/gst/controller/gstcontroller.h:
10477 use base type to assign acccessor functions
10479 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10481 * check/Makefile.am:
10482 Oops, that should have been top_srcdir
10484 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10486 * check/Makefile.am:
10487 * check/elements/fdsrc.c: (GST_START_TEST):
10488 Use a cmdline define to specify the location of a file to use for
10489 testing, to avoid breaking distcheck.
10491 2005-11-28 Andy Wingo <wingo@pobox.com>
10493 * gst/gstpad.c (fixate_value): Use array functions for arrays.
10495 2005-11-28 Edward Hervey <edward@fluendo.com>
10497 * tools/gst-launch.c: (main):
10498 Clarify the output strings, makes it easier to translate.
10501 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10504 don't try and build net if we don't even have <sys/socket.h>
10506 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
10508 * check/Makefile.am:
10509 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10510 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10511 Add tests for fdsrc seekability
10513 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10514 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10515 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10516 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10517 * gst/elements/gstfdsrc.h:
10518 fdsrc should not be a 'live' source.
10519 Implement seeking on seekable fd's.
10521 * gst/gstquery.c: (gst_query_new_seeking),
10522 (gst_query_parse_seeking):
10524 Implement SEEKING query functions:
10525 *_new_seeking and *_parse_seeking
10527 2005-11-27 Stefan Kost <ensonic@users.sf.net>
10529 * gst/gstelement.c: (gst_element_dispose):
10532 * gst/gstiterator.c:
10533 * gst/gststructure.c:
10536 * libs/gst/controller/gstcontroller.c:
10537 (gst_controlled_property_set_interpolation_mode):
10538 * libs/gst/controller/gstcontroller.h:
10539 * libs/gst/controller/gstinterpolation.c:
10540 (interpolate_none_get_enum_value_array):
10541 support controlling enums
10543 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10546 Improve documentation for gst_value_union().
10549 Change return value for union, intersect and subtract functions
10550 from gint to gboolean.
10552 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10554 * gst/gstvalue.c: (gst_value_serialize_any_list),
10555 (gst_value_transform_any_list_string),
10556 (gst_value_deserialize_list), (gst_value_deserialize_array),
10557 (gst_value_set_int_range), (gst_value_deserialize_int_range),
10558 (gst_value_set_double_range), (gst_value_deserialize_double_range),
10559 (gst_value_set_fraction_range_full),
10560 (gst_value_deserialize_fraction_range),
10561 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10562 (gst_value_deserialize_boolean),
10563 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10564 (gst_value_serialize_float), (gst_value_deserialize_float),
10565 (gst_string_wrap), (gst_value_deserialize_string),
10566 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10567 (gst_value_union_int_range_int_range),
10568 (gst_value_intersect_int_range_int_range),
10569 (gst_value_intersect_double_range_double_range),
10570 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10571 (gst_value_subtract_int_range_int_range),
10572 (gst_value_subtract_double_double_range),
10573 (gst_value_subtract_double_range_double_range),
10574 (gst_value_deserialize_fraction):
10576 Use gint, gdouble and gchar in our API instead of int, double and
10577 char (and make usage in gstvalue.c more consistent).
10579 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10581 * check/Makefile.am:
10582 * libs/gst/controller/Makefile.am:
10583 * libs/gst/dataprotocol/Makefile.am:
10584 fix up Makefile.am and remove GST_ENABLE_NEW
10586 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10590 * gst/base/Makefile.am:
10591 * gst/check/Makefile.am:
10592 * gst/elements/Makefile.am:
10593 * gst/net/Makefile.am:
10594 update LDFLAGS use some more
10596 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10598 * common/m4/gst-doc.m4:
10601 2005-11-26 Edward Hervey <edward@fluendo.com>
10603 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10604 This shouldn't issue a g_warning since it returns NULL if it
10605 couldn't find the plugin, and all functions using this behave
10606 properly on a NULL return. Switching to a GST_WARNING.
10608 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
10610 * gst/gstbin.c: (gst_bin_handle_message_func):
10611 Don't leak clock messages.
10613 2005-11-25 Wim Taymans <wim@fluendo.com>
10615 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10616 (gst_util_uint64_scale_int):
10617 Optimisations, remove unneeded vars.
10619 2005-11-25 Wim Taymans <wim@fluendo.com>
10621 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10622 Added more checks for the high precision uint64 cases.
10624 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10625 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10626 Implement high precision (guint64 * guint64) / guint64.
10628 2005-11-24 Wim Taymans <wim@fluendo.com>
10630 * gst/base/gstbasesrc.c: (gst_base_src_query):
10631 Fix wrong percentage query.
10633 * gst/gstutils.c: (gst_util_uint64_scale),
10634 (gst_util_uint64_scale_int):
10635 Add some more common cases that can be handled
10636 efficiently to _scale.
10638 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10640 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
10641 (gst_mini_object_suite):
10642 don't use check calls from threads; check probably isn't
10643 threadsafe and using a lock to make it threadsafe would
10644 defeat the purpose of this check
10645 * gst/check/gstcheck.c:
10646 * gst/check/gstcheck.h:
10647 use GST_DEBUG some more
10649 2005-11-24 Wim Taymans <wim@fluendo.com>
10651 * gst/gstutils.c: (gst_util_uint64_scale),
10652 (gst_util_uint64_scale_int):
10653 Chain trivial case to _scale_int.
10655 2005-11-24 Wim Taymans <wim@fluendo.com>
10657 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10658 Added test for scaling.
10663 * gst/gstutils.c: (gst_util_uint64_scale_int):
10664 Implemented high precision scaling code.
10666 2005-11-24 Stefan Kost <ensonic@users.sf.net>
10669 do not crash on pad==NULL
10671 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10673 Patch by: Stefan Kost
10675 * common/gtk-doc.mak:
10676 * docs/gst/Makefile.am:
10677 * docs/libs/Makefile.am:
10678 Fix distcheck issues for the libraries docs build
10681 2005-11-24 Michael Smith <msmith@fluendo.com>
10683 * docs/manual/basics-helloworld.xml:
10684 Fix bug #315027: memory leak in example code in docs.
10686 2005-11-24 Michael Smith <msmith@fluendo.com>
10688 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10689 Unlock the PREROLL_LOCK in a failure case.
10691 2005-11-24 Wim Taymans <wim@fluendo.com>
10693 * docs/gst/gstreamer-sections.txt:
10694 * gst/base/gstadapter.h:
10695 * gst/base/gstbasesink.h:
10696 * gst/base/gstbasesrc.h:
10697 * gst/base/gstbasetransform.h:
10698 * gst/base/gstpushsrc.h:
10699 * gst/elements/gstfakesink.h:
10700 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
10701 * gst/elements/gstfakesrc.h:
10702 * gst/elements/gstfilesink.h:
10703 * gst/elements/gstfilesrc.h:
10706 * gst/gstbuffer.c: (_gst_buffer_copy):
10709 * gst/gstchildproxy.c:
10711 * gst/gstelement.c:
10712 * gst/gstelementfactory.c:
10713 * gst/gstelementfactory.h:
10715 * gst/gstghostpad.h:
10717 * gst/gstinterface.h:
10718 * gst/gstminiobject.c:
10719 * gst/gstminiobject.h:
10722 * gst/gstpadtemplate.h:
10723 * gst/gstpipeline.h:
10724 * gst/gstpluginfeature.h:
10727 * gst/gsttaglist.c:
10728 * gst/gsttaglist.h:
10729 * gst/gsttagsetter.c:
10730 * gst/gsttagsetter.h:
10733 * gst/gsttypefind.h:
10736 * gst/net/gstnetclientclock.c:
10737 * gst/net/gstnetclientclock.h:
10738 * gst/net/gstnettimepacket.c:
10739 * gst/net/gstnettimeprovider.c:
10740 * gst/net/gstnettimeprovider.h:
10743 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10745 * configure.ac: back to HEAD
10747 === release 0.9.6 ===
10749 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10752 releasing 0.9.6, "Always On Time"
10754 2005-11-23 Wim Taymans <wim@fluendo.com>
10756 * docs/gst/gstreamer-sections.txt:
10757 * gst/glib-compat.c:
10758 * gst/gsttagsetter.c:
10760 * gst/net/gstnetclientclock.c:
10761 * gst/net/gstnettimepacket.h:
10764 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10766 * docs/faq/using.xml:
10767 * docs/libs/tmpl/gstcontrol.sgml:
10768 * docs/manual/advanced-dparams.xml:
10769 * docs/manual/appendix-checklist.xml:
10770 * docs/manual/basics-elements.xml:
10771 * docs/pwg/other-source.xml:
10772 * docs/random/moving-plugins:
10774 * tools/gst-launch.1.in:
10775 remove mentions of sinesrc
10777 2005-11-23 Michael Smith <msmith@fluendo.com>
10779 * docs/gst/gstreamer-sections.txt:
10780 Update for new API and API changes.
10782 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
10784 Documentation typo fix.
10785 * gst/net/gstnettimepacket.c:
10786 Documentation fixes for arguments.
10788 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
10790 * gst/gststructure.c: (gst_structure_get_fraction),
10791 (gst_structure_parse_value),
10792 (gst_structure_fixate_field_nearest_fraction):
10793 * gst/gststructure.h:
10794 * gst/gstutils.c: (gst_util_uint64_scale_int):
10796 * scripts/update-funcnames:
10798 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
10799 Make gst_structure_fixate_field_nearest_fraction take a numerator
10800 and denominator argument instead of a GValue
10801 add gst_structure_get_fraction helper function.
10803 2005-11-23 Wim Taymans <wim@fluendo.com>
10805 * docs/design/part-TODO.txt:
10808 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10809 * gst/net/gstnetclientclock.h:
10810 Use parent fields for timeout and window_size.
10812 2005-11-23 Andy Wingo <wingo@pobox.com>
10814 * check/net/gstnetclientclock.c (test_functioning): Adjust to
10815 rate_num/rate_denom change.
10817 * gst/net/gstnetclientclock.c
10818 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
10819 OBJECT_LOCK. Don't call add_observation with the lock.
10821 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
10823 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
10825 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
10826 deal with rate as a fraction whose numerator and denominator are
10827 GstClockTime values.
10828 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
10829 master; the other fields are protected by the SLAVE_LOCK.
10830 (do_linear_regression): Note that this must be called with the
10832 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
10833 OBJECT_LOCK. Call set_calibration instead of touching the
10834 variables directly.
10835 (gst_clock_set_property, gst_clock_get_property): Protect
10836 master/slave parameters with the SLAVE_LOCK.
10838 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
10839 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
10840 note that all of the instance variables that add_observation and
10841 the set_master functions use are protected by that lock and not
10843 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
10845 * gst/gstclock.c (gst_clock_add_observation): No longer requires
10846 the caller to take the object lock.
10848 2005-11-23 Wim Taymans <wim@fluendo.com>
10850 * gst/gsterror.c: (_gst_core_errors_init):
10852 Add error for clock stuff.
10854 * gst/gstpipeline.c: (gst_pipeline_change_state),
10855 (gst_pipeline_set_clock):
10856 Post clock error when clock cannot be used in a pipeline.
10858 2005-11-23 Stefan Kost <ensonic@users.sf.net>
10860 * docs/gst/gstreamer-sections.txt:
10861 make two symbols from gstinfo private for the docs
10862 * gst/base/gstcollectpads.h:
10864 fix doc typos, update docs
10866 2005-11-22 Wim Taymans <wim@fluendo.com>
10868 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10869 (gst_base_sink_wait), (gst_base_sink_do_sync),
10870 (gst_base_sink_handle_event):
10871 * gst/base/gstbasesink.h:
10872 No need to store the clock, the parent element class already
10875 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
10876 Updates for clock_set returning a gboolean
10878 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
10879 (gst_clock_id_wait_async), (gst_clock_class_init),
10880 (gst_clock_init), (gst_clock_finalize),
10881 (gst_clock_get_internal_time), (gst_clock_get_time),
10882 (gst_clock_slave_callback), (gst_clock_set_master),
10883 (gst_clock_get_master), (do_linear_regression),
10884 (gst_clock_add_observation), (gst_clock_set_property),
10885 (gst_clock_get_property):
10887 Implement master/slave. When setting a clock as a slave, a
10888 periodic timeout is scheduled to sample master and slave times.
10889 Then the slave clock is recalibrated to match offset and rate
10890 of the master clock.
10891 Update logging a bit.
10892 Add flag so that a clock can state that is cannot be slaved to
10895 * gst/gstelement.c: (gst_element_set_clock):
10896 * gst/gstelement.h:
10897 The set clock returns a gboolean for when an element cannot
10898 deal with the selected clock in the pipeline.
10900 * gst/gstpipeline.c: (gst_pipeline_change_state),
10901 (gst_pipeline_set_clock):
10902 * gst/gstpipeline.h:
10903 Handle the case where the selected clock cannot be set on
10906 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
10907 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10908 (gst_net_client_clock_set_property),
10909 (gst_net_client_clock_get_property),
10910 (gst_net_client_clock_observe_times):
10911 * gst/net/gstnetclientclock.h:
10912 Use regression code in GstClock parent, remove duplicated
10915 2005-11-22 Michael Smith <msmith@fluendo.com>
10917 * gst/gstutils.c: (gst_util_clock_time_scale):
10919 * docs/gst/gstreamer-sections.txt:
10920 Rename method to have extra underscore.
10922 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
10924 * gst/elements/Makefile.am:
10925 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
10926 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
10927 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
10928 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
10929 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
10930 * gst/elements/gstfakesrc.h:
10931 * gst/gstqueue.c: (queue_leaky_get_type):
10932 correctly fix GEnumValues so that nick is the short lowercase
10934 * tools/gst-inspect.c: (print_element_properties_info):
10935 also show the nick, since it's useful to use from parse_launch
10939 2005-11-22 Michael Smith <msmith@fluendo.com>
10941 * gst/gstutils.c: (gst_util_clocktime_scale):
10943 * docs/gst/gstreamer-sections.txt:
10944 Add util method for scaling a clocktime by a fraction. Useful
10945 implementation is left as an exercise for the reader.
10947 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10949 * gst/gstvalue.c: (gst_value_collect_fraction_range):
10950 If needed, allocate storage in the destination value during
10953 2005-11-22 Edward Hervey <edward@fluendo.com>
10955 * docs/gst/gstreamer-sections.txt:
10958 * gst/gsturitype.c:
10959 * gst/gsturitype.h:
10960 * gst/gstutils.c: (gst_util_set_object_arg):
10961 * tools/gst-compprep.c: (main):
10962 * tools/gst-inspect.c: (print_element_properties_info):
10963 Removed GstURI, closes bug #321061
10965 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10967 * check/gst/gststructure.c: (GST_START_TEST):
10968 * gst/gststructure.c: (gst_structure_parse_value):
10969 Oops, broke automatic string type parsing.
10970 Add a test to catch it in future.
10972 2005-11-22 Andy Wingo <wingo@pobox.com>
10974 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
10975 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
10976 Actually rename the function implementations. Grr.
10978 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10980 * check/gst/capslist.h:
10982 * check/gst/gststructure.c: (GST_START_TEST),
10983 (gst_structure_suite):
10984 Test automatic value type detection in gst_structure_from_string.
10985 * gst/gststructure.c: (gst_structure_parse_value):
10986 Add fraction as a type we try and guess automatically in
10987 caps/structure strings.
10989 2005-11-22 Andy Wingo <wingo@pobox.com>
10991 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
10993 * gst/gsttagsetter.h:
10994 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
10995 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
10996 (gst_tag_setter_add_tag_valist)
10997 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
10998 _add_values, _add_valist, and _add_valist_values. Since this is an
10999 interface the function suffixes should be more explicit so
11000 language binding don't end up with element.add_valist ->
11001 gst_tag_setter_add_valist, for example. Fixes #322069.
11003 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11005 * check/gst/gstcaps.c: (GST_START_TEST):
11006 Extend caps string tests to check that a caps to string
11007 conversion is reversible and produces the same caps.
11009 * gst/gststructure.c: (gst_structure_value_get_generic_type):
11010 Output "fraction" as the generic type fraction range, so caps
11011 serialisation and deserialisation works.
11012 * check/gst/capslist.h:
11013 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11014 Support 'MIN' and 'MAX' for deserialising fractions.
11016 2005-11-22 Andy Wingo <wingo@pobox.com>
11018 * gst/gstevent.h (gst_event_new_new_segment)
11019 (gst_event_parse_new_segment, gst_event_new_buffer_size)
11020 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11021 Renamed from *_newsegment, *_buffersize, *_notarget.
11023 * scripts/update-funcnames: New script, performs the changes
11026 2005-11-22 Wim Taymans <wim@fluendo.com>
11028 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11029 Make sure the GstFlowReturn is returned.
11031 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11032 (gst_bus_add_signal_watch):
11034 add gst_bus_add_signal_watch_full.
11036 * gst/gstplugin.c: (gst_plugin_load_file):
11037 Small style cleanup.
11039 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11041 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11042 Block the fakesrc srcpad when we send an event, to avoid
11043 contention on the stream_lock causing random test failures.
11045 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11047 * check/gst/gstvalue.c: (GST_START_TEST):
11048 * gst/gstvalue.c: (gst_value_fraction_subtract):
11051 2005-11-22 Stefan Kost <ensonic@users.sf.net>
11054 include "gstchildproxy.h"
11055 * gst/gstchildproxy.h:
11056 * libs/gst/controller/gstcontroller.h:
11057 use G_GNUC_NULL_TERMINATED
11059 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11061 * check/gst/capslist.h:
11062 * check/gst/gstcaps.c: (GST_START_TEST):
11063 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11064 * gst/gststructure.c: (gst_structure_parse_range),
11065 (gst_structure_fixate_field_nearest_fraction):
11066 * gst/gststructure.h:
11067 * gst/gstvalue.c: (gst_value_init_fraction_range),
11068 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11069 (gst_value_collect_fraction_range),
11070 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11071 (gst_value_set_fraction_range_full),
11072 (gst_value_get_fraction_range_min),
11073 (gst_value_get_fraction_range_max),
11074 (gst_value_serialize_fraction_range),
11075 (gst_value_transform_fraction_range_string),
11076 (gst_value_compare_fraction_range),
11077 (gst_value_deserialize_fraction_range),
11078 (gst_value_intersect_fraction_fraction_range),
11079 (gst_value_intersect_fraction_range_fraction_range),
11080 (gst_value_subtract_fraction_fraction_range),
11081 (gst_value_subtract_fraction_range_fraction),
11082 (gst_value_subtract_fraction_range_fraction_range),
11083 (gst_value_collect_fraction), (gst_value_fraction_multiply),
11084 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11085 (gst_value_transform_string_fraction), (_gst_value_initialize):
11087 Implement fraction ranges and extend GstFraction to support
11088 arithmetic subtraction, as well as deserialization from integer
11089 strings such as "100"
11090 Add a testsuite as for int and double range set operations
11092 2005-11-21 Andy Wingo <wingo@pobox.com>
11094 * gst/gsttaglist.h:
11096 * gst/gststructure.h: Add glib-compat.h.
11098 2005-11-21 Wim Taymans <wim@fluendo.com>
11100 * gst/gstbin.c: (gst_bin_change_state_func):
11103 2005-11-21 Wim Taymans <wim@fluendo.com>
11105 * gst/gstsegment.h:
11106 And add a nice define too.
11108 2005-11-21 Wim Taymans <wim@fluendo.com>
11110 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11111 (gst_segment_new), (gst_segment_free), (gst_segment_init),
11112 (gst_segment_set_duration), (gst_segment_set_last_stop),
11113 (gst_segment_set_seek), (gst_segment_set_newsegment),
11114 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11115 (gst_segment_clip):
11116 * gst/gstsegment.h:
11117 Make binding friendly.
11119 2005-11-21 Andy Wingo <wingo@pobox.com>
11121 * gst/gsttagsetter.h:
11122 * gst/gsttaglist.h:
11123 * gst/gststructure.h:
11125 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11128 * gst/gsterror.c (_gst_core_errors_init):
11129 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11132 * gst/Makefile.am (gst_headers): Add glib-compat.h.
11133 (noinst_HEADERS): noinst the -private.
11135 2005-11-21 Michael Smith <msmith@fluendo.com>
11138 * gst/gstregistry.h:
11139 Remove unimplemented declarations for which we can see no sensible
11142 2005-11-21 Andy Wingo <wingo@pobox.com>
11144 * gst/gst.h: Include glib-compat.h.
11146 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11148 * gst/glib-compat.c: Include the public and the private header.
11150 * gst/glib-compat-private.h: Copied here from glib-compat.h.
11154 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11156 * check/gst/gstevent.c (create_custom_events): Check that
11157 FLUSH_STOP is serialized.
11159 * check/elements/identity.c (event_func):
11160 * check/elements/fakesrc.c (event_func): No stream lock, the core
11163 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11164 stream lock taking, yay.
11166 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11167 ensure that core takes the stream lock.
11169 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11172 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11173 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11174 it already. For the flush start we do take it though so we get the
11175 right preroll state change messages.
11177 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11178 the stream lock here, the core does it for us.
11180 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11181 GST_STREAM_GET_LOCK.
11182 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
11183 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
11184 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11185 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11186 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
11187 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11189 * gst/gstpad.c: Update for stream lock name change.
11191 * gst/base/gstbasesink.c: Update for preroll lock name change.
11193 2005-11-21 Wim Taymans <wim@fluendo.com>
11195 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11196 (gst_clock_get_master):
11198 * gst/gstsystemclock.c: (gst_system_clock_init):
11199 Convert Clock flags to object flags.
11200 Added methods to manage master/slave clocks.
11202 2005-11-21 Wim Taymans <wim@fluendo.com>
11204 * check/gst/gstsegment.c: (GST_START_TEST):
11205 * docs/design/part-TODO.txt:
11206 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11207 (gst_base_sink_event), (gst_base_sink_do_sync),
11208 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11209 (gst_base_sink_query), (gst_base_sink_change_state):
11210 * gst/base/gstbasesink.h:
11211 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11212 (gst_base_src_default_newsegment),
11213 (gst_base_src_configure_segment), (gst_base_src_do_seek),
11214 (gst_base_src_get_range), (gst_base_src_loop),
11215 (gst_base_src_change_state):
11216 * gst/base/gstbasesrc.h:
11217 * gst/base/gstbasetransform.c:
11218 (gst_base_transform_prepare_output_buf),
11219 (gst_base_transform_event), (gst_base_transform_change_state):
11220 * gst/base/gstbasetransform.h:
11221 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11222 (gst_collect_pads_event):
11223 * gst/base/gstcollectpads.h:
11224 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11225 (gst_fake_src_create):
11226 * gst/elements/gstfakesrc.h:
11227 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11228 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11229 (gst_segment_set_last_stop), (gst_segment_set_seek),
11230 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11231 (gst_segment_to_running_time), (gst_segment_clip):
11232 * gst/gstsegment.h:
11233 More segment updates, replace code in plugins with segment
11236 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11238 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11239 Don't ignore sscanf results
11241 2005-11-21 Andy Wingo <wingo@pobox.com>
11243 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11246 * *.c: Ran scripts/update-macros. Oh yes.
11248 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11249 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11252 * scripts/update-macros: New script. Run it on your files to
11253 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11256 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11258 * docs/gst/Makefile.am:
11259 * docs/gst/gstreamer-docs.sgml:
11260 * docs/gst/gstreamer-sections.txt:
11261 * docs/gst/gstreamer.types:
11263 more docs fixes, add new api to the docs
11265 2005-11-21 Andy Wingo <wingo@pobox.com>
11267 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11268 state_broadcast call.
11270 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11272 2005-11-21 Julien MOUTTE <julien@moutte.net>
11274 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11275 function calls for arrays.
11277 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11279 * docs/random/ensonic/media-device-daemon.txt:
11280 wild idea, can this be done?
11281 * docs/gst/gstreamer-sections.txt:
11286 * gst/gstpluginfeature.c:
11290 doc fixes and additions
11292 2005-11-21 Andy Wingo <wingo@pobox.com>
11294 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
11295 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
11296 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
11297 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11298 private to the basesrc implementation.
11300 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11301 behalf of event function if necessary. It should no longer be
11302 necessary to take the stream lock in pad's event functions. Fixes
11305 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11306 * docs/gst/gstreamer-sections.txt:
11307 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11308 (gst_structure_fixate_field_nearest_double),
11309 (gst_structure_fixate_field_boolean):
11310 * gst/gststructure.h:
11311 * win32/common/libgstreamer.def:
11312 * win32/gstreamer.def:
11314 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11317 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11319 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11320 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11321 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11322 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11323 (gst_fdsrc_uri_handler_init):
11324 * gst/elements/gstfdsrc.h:
11325 Port fd:// URI handler from 0.8 to fdsrc
11327 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11329 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11330 (gst_value_serialize_fourcc):
11332 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11333 consistent with our other format defines (#320324).
11335 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11337 * gst/gstvalue.c: (gst_value_is_fixed):
11338 Revert previous commit. Value lists are by definition
11339 not fixed, as they are a list of possible values.
11341 2005-11-21 Andy Wingo <wingo@pobox.com>
11343 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11344 during the stable series if we need it. Fixes #319178.
11346 * gst/gstevent.c (gst_event_new_filler): Removed.
11348 * check/gst/gstevent.c: Update comment about filler events.
11350 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11352 * gst/gstvalue.c: (gst_value_is_fixed):
11353 Should handle both value arrays and value lists.
11355 2005-11-21 Andy Wingo <wingo@pobox.com>
11357 patch by: Alessandro Dessina <alessandro nnva org>
11359 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11360 functions to access arrays. Fixes #321962.
11362 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11364 * docs/gst/gstreamer.types:
11365 gst_collectpads_get_type => gst_collect_pads_get_type.
11367 * gst/base/gstbasetransform.c:
11368 Remove unused SIGNAL_HANDOFF enum.
11370 2005-11-21 Andy Wingo <wingo@pobox.com>
11372 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11373 the event type (upstream, downstream, serialized). Renamed
11374 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11375 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11376 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11378 * gst/gstevent.c: Update for new CUSTOM event names.
11380 * check/gst/gstevent.c: Update check for new CUSTOM event names.
11383 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11386 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11388 * docs/gst/gstreamer-sections.txt:
11389 * win32/common/libgstbase.def:
11390 * win32/libgstbase.def:
11391 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11392 (gst_collect_pads_class_init), (gst_collect_pads_init),
11393 (gst_collect_pads_finalize), (gst_collect_pads_new),
11394 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11395 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11396 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11397 (gst_collect_pads_start), (gst_collect_pads_stop),
11398 (gst_collect_pads_peek), (gst_collect_pads_pop),
11399 (gst_collect_pads_available), (gst_collect_pads_read),
11400 (gst_collect_pads_flush), (gst_collect_pads_event),
11401 (gst_collect_pads_chain):
11402 * gst/base/gstcollectpads.h:
11403 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11404 unimplemented functions as unimplemented. Add padding to
11405 GstCollectData. (#320766, #320423)
11407 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11409 * gst/gstmessage.c:
11410 Improve docs for DURATION message (usage of duration parameter)
11413 2005-11-20 Wim Taymans <wim@fluendo.com>
11415 * check/Makefile.am:
11416 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11420 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11421 (gst_segment_set_seek), (gst_segment_set_newsegment),
11422 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11423 (gst_segment_clip):
11424 * gst/gstsegment.h:
11425 Added segment helper structure and methods. Not fully implemented
11427 Added segment check.
11429 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
11431 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11432 Add a deserialisation test for fractions
11433 * examples/metadata/read-metadata.c: (message_loop),
11434 (make_pipeline), (main):
11435 Fix up metadata reading sample.
11436 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11438 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11439 Don't try and fixate empty caps
11440 * gst/gst_private.h:
11441 Wrap in G_BEGIN_DECLS/G_END_DECLS
11442 * gst/gstvalue.c: (gst_value_collect_fraction),
11443 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11444 (gst_value_transform_string_fraction),
11445 (gst_value_compare_fraction):
11446 Add some extra guards to ensure that we don't end up
11447 with an invalid denominator of 0 in a gstfraction and
11448 that fractions always get reduced.
11450 2005-11-20 Wim Taymans <wim@fluendo.com>
11452 * docs/gst/gstreamer-sections.txt:
11454 * gst/gstelement.c:
11463 2005-11-20 Wim Taymans <wim@fluendo.com>
11465 * docs/design/part-TODO.txt:
11467 Make a proper enum of the flag.
11469 2005-11-19 Wim Taymans <wim@fluendo.com>
11471 * docs/design/part-TODO.txt:
11472 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11473 (gst_format_to_quark), (gst_format_register):
11475 * gst/gstquery.c: (_gst_query_initialize),
11476 (gst_query_type_get_name), (gst_query_type_to_quark),
11477 (gst_query_type_register):
11479 Add type to quark and type to string conversions.
11481 2005-11-19 Andy Wingo <wingo@pobox.com>
11483 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11486 2005-11-19 Wim Taymans <wim@fluendo.com>
11488 * docs/design/part-TODO.txt:
11489 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11490 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11491 (gst_bin_handle_message_func):
11493 Make message handling overridable.
11495 2005-11-19 Andy Wingo <wingo@pobox.com>
11497 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11500 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11502 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11503 is a GstClockTime. Fixes #321710.
11505 * gst/gstclock.h (GstClock): Remove offset property. Add
11506 internal_calibration and external_calibration. Fix padding. Pad
11507 also by GstClockTime so we don't run into problems.
11509 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11510 (gst_clock_get_rate_offset): Remove.
11511 (gst_clock_set_time_adjust): Remove. Fixes #321712.
11514 * gst/gstutils.c (g_static_rec_cond_wait)
11515 (g_static_rec_cond_timed_wait): Removed, no longer needed.
11517 * gst/gstbin.c: Remove terrible continue_state prototype.
11519 * gst/gstelement.h (gst_element_continue_state): Make public.
11521 * gst/gstelement.h:
11522 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11523 by continue_state. Fixes #319389.
11525 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11526 Really fixes #168438. However I don't see anywhere where the
11527 filter function is called... stupid GStreamer...
11529 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11530 don't have a dispose function, so it won't get called when the
11531 object is unreffed, but oh well!
11533 * gst/gstindex.c (gst_index_set_filter_full): New API function,
11534 allows a destroy function to be set so user_data can be freed.
11536 (gst_index_set_filter): Call gst_index_set_filter_full.
11538 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11540 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11541 string should produce an error, given the lack of a way to
11542 represent NULL strings. Fixes #165650.
11545 * gst/gstvalue.c (gst_value_array_append_value)
11546 (gst_value_array_prepend_value, gst_value_array_get_size)
11547 (gst_value_array_get_value): New API, copied from
11548 gst_value_list_*, only operates on arrays.
11549 (gst_value_list_append_value, gst_value_list_prepend_value)
11550 (gst_value_list_concat, gst_value_list_get_size)
11551 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11553 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11554 init_list, because it works on both.
11555 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11556 (gst_value_copy_list_or_array): Renamed from copy_list.
11557 (gst_value_free_list_or_array): Renamed from free_list.
11558 (gst_value_collect_list_or_array): Renamed from collect_list.
11559 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11560 (gst_value_list_or_array_peek_pointer): Renamed from
11562 (_gst_value_array_value_table, _gst_value_list_value_table):
11563 Update value table functions.
11564 (gst_value_compare_list_or_array): Renamed from compare_list.
11566 * gsttaglist.h: Whoops, foreach function returns void. Also fix
11569 * gst/gsttaglist.c:
11570 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11571 GstTagList*. Fixes #143472.
11573 * gst/gststructure.h: Clarify what the foreach/map functions can
11574 or can't do to their arguments.
11576 2005-11-18 Wim Taymans <wim@fluendo.com>
11578 * gst/gstclock.c: (gst_clock_set_calibration),
11579 (gst_clock_get_calibration):
11581 Calibration can be set with internal time equal to current
11584 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
11590 2005-11-18 Andy Wingo <wingo@pobox.com>
11593 * pkgconfig/gstreamer-net.pc.in:
11594 * pkgconfig/gstreamer-net-uninstalled.pc.in:
11595 * pkgconfig/Makefile.am: Add net pkgconfig files.
11597 2005-11-18 Stefan Kost <ensonic@users.sf.net>
11600 * gst/gstghostpad.c:
11606 2005-11-18 Andy Wingo <wingo@pobox.com>
11608 * gst/net/gstnetclientclock.c: Turn off debugging.
11610 * check/net/gstnetclientclock.c (test_functioning): Assert that the
11611 times connverge somewhat. Can't make a real test.
11613 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
11614 integer arithmetic. Return the minimum of the domain, which can be
11615 set as "internal" for gst_clock_set_calibration.
11616 (gst_net_client_clock_observe_times): Call _set_calibration.
11617 (gst_net_client_clock_new): Call _set_calibration instead of
11620 * check/net/gstnetclientclock.c (test_functioning): Use the right
11624 * gst/gstclock.c (gst_clock_get_calibration)
11625 (gst_clock_set_calibration): New functions, obsolete the ones I
11626 added yesterday. Doh. Precision issues mean we have to extrapolate
11627 from a point in the more recent past than 1970.
11628 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
11630 (gst_clock_adjust_unlocked): Use the right calibration data.
11632 2005-11-18 Edward Hervey <edward@fluendo.com>
11634 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11635 Also reset the ->current_* values in READY->PAUSED
11637 2005-11-18 Andy Wingo <wingo@pobox.com>
11639 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
11640 Whoops, check the right fd. Also add some debugging.
11641 (gst_net_client_clock_observe_times): Adjust for int64 offset.
11642 (do_linear_regression): Add a crapload of debugging. Subtract off
11643 the minimum values from the input series to discard unneeded bits.
11644 Use only int arithmetic. There is still double arithmetic when
11645 calculating the intercept that needs fixing. Return boolean to
11646 indicate success; FALSE would mean the domain or range is too
11647 great. Still needs fixes.
11649 2005-11-18 Wim Taymans <wim@fluendo.com>
11651 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
11652 For the current position in stream time, we need to subtract
11655 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11656 Release lock before calling the callback function of async
11659 2005-11-18 Andy Wingo <wingo@pobox.com>
11661 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
11662 Port goes all the way to MAXUINT16.
11664 * gst/net/gstnettimeprovider.c: Make the port range the same as
11665 for the kernel: 0 assigns, otherwise ports are less than
11668 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
11671 * check/net/gstnetclientclock.c (test_functioning): Add the start
11674 2005-11-18 Wim Taymans <wim@fluendo.com>
11676 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11677 (gst_bin_remove_func), (bin_bus_handler):
11679 Removing a clock provider from a bin, triggers a clock lost message
11680 so that a new clock will be selected.
11681 Adding a clock to a bin triggers a clock provider message.
11682 Make sure we reselect a clock when we received a clock lost message.
11683 Keep a reference to the element that provided the clock.
11685 2005-11-18 Andy Wingo <wingo@pobox.com>
11687 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
11688 the clock initially so it produces values around the base time.
11689 (gst_net_client_clock_class_init): Typo fix.
11690 (gst_net_client_clock_thread): Add note on when the socket gets
11693 2005-11-17 Wim Taymans <wim@fluendo.com>
11695 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
11696 Free remote and local time arrays.
11698 2005-11-17 Wim Taymans <wim@fluendo.com>
11700 * gst/net/gstnetclientclock.c: (do_linear_regression),
11701 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
11702 Fix compilation, uninitialized vars and a forgotten continue.
11704 2005-11-17 Andy Wingo <wingo@pobox.com>
11706 * check/Makefile.am (check_PROGRAMS):
11707 * check/net/gstnetclientclock.c: Add a most minimal test for the
11708 net client clock. More to come later.
11710 * gst/net/gstnet.h:
11711 * gst/net/Makefile.am: Add netclientclock.
11713 * gst/net/gstnetclientclock.h:
11714 * gst/net/gstnetclientclock.c: New files, implement an untested
11715 GstClock that takes its time from a network time provider.
11716 Implements the algorithm in network-clock.scm.
11718 * tests/network-clock.scm (*window-size*): Rename from
11720 * tests/network-clock.scm (network-time):
11721 * tests/network-clock-utils.scm (q-push): Update callers.
11723 2005-11-17 Wim Taymans <wim@fluendo.com>
11725 * gst/gstbin.c: (gst_bin_provide_clock_func),
11726 (gst_bin_sort_iterator_new):
11727 And unref the child too..
11729 2005-11-17 Wim Taymans <wim@fluendo.com>
11731 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11732 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
11733 Refactor the sort iterator so it can be used while holding the
11735 Make clock selection select a clock closest to the source.
11737 2005-11-17 Michael Smith <msmith@fluendo.com>
11739 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
11740 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
11742 Anonymous structs are a gcc (and some other compilers) extension, so
11743 don't use them. Since this is only for ABI-compatibility, and our
11744 API/ABI freeze is over in a few days, this whole thing will only
11745 last a few days, so don't bother trying to think up a meaningful
11746 name for the struct.
11748 2005-11-17 Andy Wingo <wingo@pobox.com>
11750 * gst/gstclock.h (GstClock): Add rate and offset properties,
11751 preserving ABI stability. Add rate/offset accessors. Will file bug
11752 for the freeze break.
11754 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
11755 and offset, trying to keep precision and avoiding
11756 underflow/overflow.
11757 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
11758 functions. Make gst_clock_set_time_adjust obsolete.
11759 (gst_clock_set_time_adjust): Note that this function is obsolete.
11760 Will file bug soon.
11762 * gst/base/gstbasetransform.h: Make the ABI-stability hack
11763 greppable by using GST_PADDING-1+1.
11765 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
11767 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11769 * gst/gstmessage.c: (gst_message_parse_clock_lost):
11770 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
11772 * gst/gstpadtemplate.h:
11773 * gst/gstpluginfeature.h:
11774 Don't use c++ style comments in headers (#321638).
11776 2005-11-16 Andy Wingo <wingo@pobox.com>
11778 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
11781 * check/net/gstnettimeprovider.c: Check to see that the time
11782 provider actually provides times. Works, yo!
11784 2005-11-16 Wim Taymans <wim@fluendo.com>
11786 * check/Makefile.am:
11789 * check/elements/fakesrc.c: (GST_START_TEST):
11790 Set element to NULL before disposing it.
11792 2005-11-16 Andy Wingo <wingo@pobox.com>
11794 * gst/net/Makefile.am:
11795 * gst/net/gstnet.h:
11796 * gst/net/gstnettimeprovider.c:
11797 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
11798 provider, include it from gstnet.h, and add it to the build.
11800 * gst/net/gstnettimepacket.h:
11801 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
11802 sending and receiving.
11804 2005-11-16 Wim Taymans <wim@fluendo.com>
11806 * check/Makefile.am:
11807 Enable valgrind check.
11809 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
11810 (gst_fake_src_alloc_buffer):
11813 2005-11-16 Wim Taymans <wim@fluendo.com>
11815 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
11816 Call parent finalize too.
11818 2005-11-16 Wim Taymans <wim@fluendo.com>
11820 * check/Makefile.am:
11821 Enable valgrind check that should work fine now.
11823 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11824 * gst/gstqueue.c: (gst_queue_init):
11825 Fix memleaks in pad allocation.
11827 2005-11-16 Andy Wingo <wingo@pobox.com>
11829 * gst/net/Makefile.am:
11830 * gst/net/gstnet.h: New part of core to hold network elements and
11831 objects. Put in core because it exposes API that applications want
11832 to use. The library is named libgstnet-tempname right now because
11833 of the existing libgstnet in gst-plugins-base. Solution is
11834 probably to rename the one in plugins-base; will file a bug for
11837 * gst/net/gstnettimeprovider.c:
11838 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
11839 get_time call over the network.
11842 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
11844 * check/Makefile.am:
11845 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
11846 get additions shortly.
11848 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11850 * gst/gstpad.c: (gst_pad_new_from_static_template):
11852 add gst_pad_new_from_static_template functions
11853 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
11854 (gst_check_setup_sink_pad):
11855 * gst/elements/gsttee.c: (gst_tee_init):
11858 2005-11-16 Wim Taymans <wim@fluendo.com>
11860 * gst/gstpad.c: (gst_pad_pause_task):
11861 Removed warning, it's not really an error either.
11863 2005-11-16 Wim Taymans <wim@fluendo.com>
11865 * gst/base/gstbasetransform.c:
11866 (gst_base_transform_prepare_output_buf),
11867 (gst_base_transform_event):
11868 Check if the caps are NULL, this can happen if the element
11869 is shutting down and the pad caps are set to NULL.
11871 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11873 * gst/elements/gsttee.c: (gst_tee_init):
11874 fix pad template leak in tee
11876 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11878 * gst/glib-compat.c: (g_value_dup_gst_object):
11879 * gst/glib-compat.h:
11880 * gst/gstpad.c: (gst_pad_set_property):
11881 use gst_object_ref when setting the pad template; this will
11882 trigger the pad template leaks on GLib 2.6 and the slaves
11884 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11886 * gst/glib-compat.c: (gst_flags_get_first_value):
11887 * gst/glib-compat.h:
11888 * gst/gstregistryxml.c:
11889 remove functions copied from GLib 2.6
11891 2005-11-16 Michael Smith <msmith@fluendo.com>
11894 Don't link against VALGRIND_LIBS. That was always the wrong thing to
11895 do, but only breaks with newer valgrind versions. We're not a
11896 valgrind tool, we have no link-time dependencies on libcoregrind.
11898 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11900 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11902 * gst/gstmessage.h:
11905 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11907 * gst/base/gstbasesrc.c: (gst_base_src_init):
11908 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11909 * gst/gstqueue.c: (gst_queue_init):
11910 * gst/gstregistryxml.c: (load_feature):
11911 Revert all these unrefs, they don't even pass make check !
11913 2005-11-15 Johan Dahlin <johan@gnome.org>
11915 * gst/base/gstbasesrc.c: (gst_base_src_init):
11916 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11917 * gst/gstqueue.c: (gst_queue_init):
11918 Free pad templates, fixes a couple of leaks.
11920 2005-11-15 Daniel Fischer <dan at f3c dot com>
11922 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11924 * gst/gstpad.c: (gst_pad_get_property):
11925 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
11926 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
11929 2005-11-15 Wim Taymans <wim@fluendo.com>
11934 2005-11-15 Andy Wingo <wingo@pobox.com>
11936 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
11938 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
11939 using GST_CLOCK_TIME_NONE to disable base time management.
11940 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
11941 time if it was NONE before.
11942 (gst_pipeline_change_state): Only munge the base time if
11943 stream_time != GST_CLOCK_TIME_NONE.
11945 * check/gst/gstpipeline.c (test_base_time): Punt around the
11946 problem of the probe not being called, because that's not the
11947 issue I'm looking at. Add a check that setting stream_time to NONE
11948 disables base time management.
11950 2005-11-15 Wim Taymans <wim@fluendo.com>
11952 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11953 segment_stop == -1 at startup.
11955 * gst/base/gstbasetransform.c: (gst_base_transform_event),
11956 (gst_base_transform_change_state):
11957 Init segment values at start.
11959 2005-11-15 Wim Taymans <wim@fluendo.com>
11961 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11962 0 segment values are 0 in any format.
11964 * gst/base/gstbasetransform.c: (gst_base_transform_event):
11965 * gst/base/gstbasetransform.h:
11966 Parse newsegment correctly in basetransform
11968 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11969 Sync to clock using updated segment values.
11971 2005-11-15 Andy Wingo <wingo@pobox.com>
11973 * check/gst/gstpipeline.c (test_base_time): Add check that the
11974 base time and stream time are reset correctly.
11976 2005-11-15 Wim Taymans <wim@fluendo.com>
11978 * docs/design/part-TODO.txt:
11979 Some more TODO items.
11981 2005-11-15 Andy Wingo <wingo@pobox.com>
11983 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
11984 error if the user selected "no clock" as the clocking method.
11986 * check/gst/gstpipeline.c (test_base_time): New test for buffer
11987 timestamps with live capture.
11989 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
11990 is 0 but we are a live source, timestamp the buffers using the
11993 2005-11-14 Stefan Kost <ensonic@users.sf.net>
11995 * docs/gst/gstreamer-sections.txt:
11997 * gst/gstghostpad.c:
12002 2005-11-14 Wim Taymans <wim@fluendo.com>
12005 add suppressions from Wim's Debian machine
12007 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
12010 add suppressions from Andy's AMD64 Ubuntu machine
12012 2005-11-14 Andy Wingo <wingo@pobox.com>
12014 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12015 STATE_LOCK not necessary. Fixes #311489.
12017 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12020 * gst/gstindex.c (gst_index_add_object): Note in the docs that
12021 this function is not implemented.
12023 2005-11-14 Julien MOUTTE <julien@moutte.net>
12025 * gst/base/gstbasetransform.c:
12026 (gst_base_transform_prepare_output_buf):
12027 Ref the source pad caps while we need them.
12030 2005-11-11 Wim Taymans <wim@fluendo.com>
12032 * docs/gst/gstreamer-sections.txt:
12033 Added some docs for GstCollectData.
12035 * gst/base/gstadapter.c:
12036 Some small code example fix.
12038 * gst/base/gstcollectpads.c:
12039 * gst/base/gstcollectpads.h:
12040 Document some more.
12042 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12044 * configure.ac: back to HEAD
12046 === release 0.9.5 ===
12048 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12051 releasing 0.9.5, "Bike Lunch Day"
12053 2005-11-11 Wim Taymans <wim@fluendo.com>
12055 * gst/gstbuffer.c: (_gst_buffer_copy):
12058 * gst/gstcaps.c: (gst_caps_is_equal):
12060 Make _is_equal fast in the trivial cases.
12062 * gst/gstminiobject.c:
12063 * gst/gstminiobject.h:
12064 More docs. Spifify .h file.
12069 2005-11-11 Wim Taymans <wim@fluendo.com>
12071 * gst/base/gstbasetransform.c:
12072 (gst_base_transform_prepare_output_buf),
12073 (gst_base_transform_handle_buffer):
12075 If we're processing a buffer and need to allocate an output
12076 buffer, we cannot accept a format change. If we did get a
12077 format change, we have to alloc a buffer ourselves of the
12080 2005-11-11 Wim Taymans <wim@fluendo.com>
12082 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12083 While checking the flag for reentrancy in the gstcaps function
12084 is nice to detect recursive invocations, it also makes it
12085 impossible to call getcaps from multiple threads, which must be
12086 possible. So, checking for recursive calls has to go.
12088 2005-11-11 Michael Smith <msmith@fluendo.com>
12090 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12091 Don't sync on buffers that fall partially outside our current
12092 segment. Prevents an assertion failure/abort playing some files.
12094 2005-11-10 Andy Wingo <wingo@pobox.com>
12096 * check/gst/gstbin.c (test_message_state_changed_children): Style
12099 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12100 gst_bus_poll with the signal watch. Ensures that poll and a signal
12101 watch see the same messages.
12103 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12104 a poll and a watch at the same time get the same messages.
12106 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12108 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12109 * gst/gstcaps.c: (gst_caps_intersect):
12110 Don't call gst_caps_do_simplify - it doesn't respect order of caps
12111 and it's not needed.
12113 2005-11-10 Wim Taymans <wim@fluendo.com>
12115 * docs/design/part-TODO.txt:
12118 2005-11-10 Wim Taymans <wim@fluendo.com>
12120 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12121 * gst/base/gstbasesrc.c: (gst_base_src_wait),
12122 (gst_base_src_do_sync), (gst_base_src_get_range):
12123 Implement clock sync in base class.
12125 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12127 patch by: Tim-Philipp Müller <tim at centricular dot net>
12129 * gst/gststructure.c: (gst_structure_parse_field),
12130 (gst_structure_from_string):
12131 Forward-port a 0.8 patch to handle escaped spaces in structure string,
12132 so that gst_parse_launch() can deal with spaces in filtered link
12133 caps (fixes #164479)
12134 * check/gst/capslist.h:
12135 * check/gst/gststructure.c: (GST_START_TEST):
12136 add unit tests for this change
12138 2005-11-10 Wim Taymans <wim@fluendo.com>
12140 * docs/gst/gstreamer-sections.txt:
12141 * gst/gstelement.c:
12142 * gst/gstelement.h:
12143 Fix docs, move some STATE macros to private.
12145 2005-11-10 Wim Taymans <wim@fluendo.com>
12147 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12148 Added check for bug #317341
12152 Some more spiffifying.
12154 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12155 Call peer linkfunction if we are a source pad. Totally fixes
12159 Update docs, source pads should call the peer linkfunction
12160 so they can atomically perform the pad link.
12162 2005-11-09 Wim Taymans <wim@fluendo.com>
12166 Uber-spiffy-spiffify some more.
12168 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
12170 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12171 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12172 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12173 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12174 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12175 * gst/gstpad.c: (gst_pad_init):
12176 Use GST_DEBUG_FUNCPTR() more extensively.
12178 2005-11-09 Wim Taymans <wim@fluendo.com>
12180 * gst/gstobject.c: (gst_object_class_init):
12182 Documentation fixes.
12184 2005-11-09 Edward Hervey <edward@fluendo.com>
12186 * gst/gsttypefindfactory.c:
12189 2005-11-09 Edward Hervey <edward@fluendo.com>
12191 * gst/base/gsttypefindhelper.c:
12192 * gst/gsttypefind.c:
12193 * gst/gsttypefind.h:
12196 2005-11-09 Wim Taymans <wim@fluendo.com>
12198 * gst/gstiterator.c:
12205 2005-11-09 Wim Taymans <wim@fluendo.com>
12211 2005-11-09 Wim Taymans <wim@fluendo.com>
12213 * docs/gst/gstreamer-sections.txt:
12214 Moved the message async delivery private lock and cond
12215 to the private section.
12217 * gst/gstmessage.c:
12218 * gst/gstmessage.h:
12221 2005-11-09 Edward Hervey <edward@fluendo.com>
12223 * docs/gst/gstreamer-sections.txt:
12226 Document GstURIHandler
12228 2005-11-09 Wim Taymans <wim@fluendo.com>
12230 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12231 (gst_iterator_find_custom):
12232 * gst/gstiterator.h:
12235 2005-11-09 Wim Taymans <wim@fluendo.com>
12238 Document another field.
12240 * gst/gststructure.c:
12241 * gst/gststructure.h:
12244 2005-11-09 Wim Taymans <wim@fluendo.com>
12247 Documented structs.
12249 2005-11-09 Wim Taymans <wim@fluendo.com>
12251 * docs/gst/gstreamer-sections.txt:
12252 Added some new macros.
12259 2005-11-09 Wim Taymans <wim@fluendo.com>
12261 * docs/design/part-TODO.txt:
12262 Some more items for the TODO
12268 2005-11-09 Andy Wingo <wingo@pobox.com>
12270 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12271 to work on something else now tho...
12273 * gst/base/gstadapter.c: More adapter docs.
12275 * gst/elements/gstfilesink.c (gst_file_sink_start)
12276 (gst_file_sink_stop): New functions, replace the state change
12278 (gst_file_sink_class_init): Hook up the start and stop functions.
12279 (gst_file_sink_base_init): Don't set the state change handler any
12280 more. It was a bit ugly too, being set from here...
12281 (gst_file_sink_get_property, gst_file_sink_set_property):
12283 (gst_file_sink_set_location): More robust check that doesn't call
12284 GST_STATE. Ugggggg.
12286 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
12288 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12289 Hold STREAM_LOCK while pushing newsegment or tag events as well.
12291 2005-11-08 Wim Taymans <wim@fluendo.com>
12293 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12294 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12295 (gst_base_sink_chain), (gst_base_sink_change_state):
12296 * gst/base/gstbasesink.h:
12297 * gst/base/gstbasesrc.h:
12298 * gst/gstelement.h:
12300 Avoid excessive typechecking in macros.
12302 * gst/gstminiobject.c: (gst_mini_object_get_type),
12303 (gst_mini_object_init), (gst_mini_object_new),
12304 (gst_mini_object_free):
12305 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12306 (gst_object_finalize):
12307 Remove cruft code, optimize alloc_trace.
12309 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
12311 * docs/faq/gst-uninstalled:
12312 fix up PS1 for systems that try to reset it
12314 2005-11-07 Wim Taymans <wim@fluendo.com>
12316 * gst/base/gstbasesrc.c: (gst_base_src_init),
12317 (gst_base_src_get_range):
12318 Set the segment_end to -1 initially. Fixed typefind.
12320 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
12322 * gst/base/gstadapter.c:
12323 Debug category should be 'adapter', not 'GstAdapter'.
12325 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12326 (gst_collectpads_class_init), (gst_collectpads_init),
12327 (gst_collectpads_peek), (gst_collectpads_pop),
12328 (gst_collectpads_event), (gst_collectpads_chain):
12329 Add debug category and some debugging output. Use boilerplate
12330 macros. Remove some extraneous words from docs.
12332 2005-11-05 Andy Wingo <wingo@pobox.com>
12334 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12337 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12339 * docs/gst/gstreamer-sections.txt:
12342 * gst/gstminiobject.h:
12347 2005-11-04 Wim Taymans <wim@fluendo.com>
12349 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12350 Small update to stop at the configured segment_end
12353 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12355 * gst/gstregistry.c:
12356 * gst/gstregistry.h:
12359 2005-11-04 Edward Hervey <edward@fluendo.com>
12361 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12362 Check if we are doing a segment seek and have arrived at the
12363 end of that segment.
12365 2005-11-04 Wim Taymans <wim@fluendo.com>
12367 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12368 Don't leak a mutex unlock in case of an error.
12373 2005-11-04 Wim Taymans <wim@fluendo.com>
12375 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12377 Get the context to wake up only once.
12379 2005-11-03 Wim Taymans <wim@fluendo.com>
12381 * check/states/sinks.c: (GST_START_TEST):
12382 Uncomment fixed check.
12384 * docs/design/part-TODO.txt:
12387 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12388 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12389 (gst_base_sink_get_position):
12390 If we are going to PLAYING, post the right pending state
12391 when we post the intermediate paused message.
12393 * gst/gstelement.c: (gst_element_continue_state),
12394 (gst_element_set_state_func), (gst_element_change_state):
12395 Don't post state changes that were between the same state
12396 and were not ASYNC.
12398 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12400 * docs/gst/gstreamer-sections.txt:
12403 * gst/gstminiobject.h:
12406 more docs and doc style fixes
12408 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12410 * docs/gst/gstreamer-sections.txt:
12411 * gst/gstelement.c:
12412 * gst/gstminiobject.c:
12415 2005-11-03 Andy Wingo <wingo@pobox.com>
12417 * check/states/sinks.c (test_livesrc_sink): Add checks that the
12418 state-changed messages actually have the right order and the right
12421 2005-11-03 Wim Taymans <wim@fluendo.com>
12423 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12424 Added some more checks. Specifically the case where NO_PREROLL
12425 elements are in the pipeline.
12427 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12428 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12429 (gst_base_sink_get_position):
12430 Post READY->PAUSED state change messages too.
12431 Fix bug where VOID was posted as pending state...
12433 * gst/gstbin.c: (gst_bin_recalc_state):
12434 use _element_continue_state() to continue the state change.
12436 * gst/gstelement.c: (gst_element_continue_state),
12437 (gst_element_commit_state), (gst_element_set_state_func),
12438 (gst_element_change_state), (gst_element_change_state_func):
12439 Lots of state change cleanups, assign the STATE_RETURN in
12440 a new continue_state() function that also propagates the
12441 last return value from a state change to the app.
12442 Update some debug statements with proper category.
12444 2005-11-03 Wim Taymans <wim@fluendo.com>
12446 * docs/design/part-events.txt:
12447 * docs/design/part-gstpipeline.txt:
12448 * docs/design/part-messages.txt:
12449 * docs/design/part-overview.txt:
12450 * docs/design/part-seeking.txt:
12451 * docs/design/part-states.txt:
12452 * docs/design/part-trickmodes.txt:
12453 * docs/manual/advanced-position.xml:
12454 Small docs updates.
12457 People think !! is ugly, this looks better.
12459 * gst/gstpad.c: (gst_pad_set_blocked_async):
12460 Remove !! since it's fixed elsewhere now.
12462 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12464 * gst/gstminiobject.h:
12466 Add !! to _FLAG_IS_SET macros to make the result boolean.
12468 2005-11-03 Edward Hervey <edward@fluendo.com>
12470 * gst/gstpad.c: (gst_pad_set_blocked_async):
12471 comparing a flag and a gboolean rarely returns coherent results...
12472 Added two characters (!!) to make that work correctly.
12474 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12476 * gst/gstbus.c: (gst_bus_class_init):
12479 * gst/gstqueue.c: (gst_queue_loop):
12480 Don't assume a miniobject that isn't a buffer is an
12481 event (it could be that there is a refcounting
12482 problem somewhere and the pointer is stale and
12483 refers to an already destroyed miniobject).
12485 2005-11-03 Julien MOUTTE <julien@moutte.net>
12487 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12489 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12491 * docs/manual/advanced-position.xml:
12492 Update seek example and explanations to current 0.9 API.
12494 * gst/elements/gsttypefindelement.c:
12495 (gst_type_find_element_activate):
12496 Remove FIXME comment now that the found caps
12499 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
12501 * gst/gstregistryxml.c: (load_feature):
12502 Add another GST_STR_NULL instance
12504 2005-11-02 Edward Hervey <edward@fluendo.com>
12506 * gst/gstpad.c: (handle_pad_block):
12507 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12509 2005-11-02 Wim Taymans <wim@fluendo.com>
12514 * gst/gstelement.c: (gst_element_commit_state):
12515 Remove unused value.
12517 * gst/gstiterator.c:
12518 Mention that the returned element is reffed in the docs.
12520 2005-11-02 Wim Taymans <wim@fluendo.com>
12522 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12523 (gst_pad_push), (gst_pad_push_event):
12524 Unlock blocked pads when they are flushed.
12526 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12529 * docs/gst/gstreamer-sections.txt:
12532 * gst/gstregistry.c: (gst_registry_scan_path_level):
12533 fix for a nasty little missed situation where an installed plug-in
12534 which was in the cache did not get overridden by an uninstalled one
12535 which was earlier in the plugin path because the newly created plugin
12536 for the uninstalled one (not in the registry) didn't get its
12537 ->registered set to TRUE
12539 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12541 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12542 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12543 (gst_collectpads_is_active), (gst_collectpads_collect),
12544 (gst_collectpads_collect_range), (gst_collectpads_start),
12545 (gst_collectpads_stop), (gst_collectpads_peek),
12546 (gst_collectpads_pop), (gst_collectpads_available),
12547 (gst_collectpads_read), (gst_collectpads_flush):
12548 Guard public API with assertions.
12551 Fix docs for gst_pad_set_link_function().
12553 2005-11-02 Johan Dahlin <johan@gnome.org>
12555 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
12556 Unref found_caps after we used it.
12558 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12560 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12561 Don't try to ref NULL.
12563 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12565 * win32/common/config.h.in:
12566 provide a GST_FUNCTION that just gives a string for now
12568 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12570 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12571 (gst_object_flags_get_type), (register_gst_bin_flags),
12572 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12573 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12574 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12575 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
12576 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12577 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12578 (gst_clock_flags_get_type), (register_gst_state),
12579 (gst_state_get_type), (register_gst_state_change_return),
12580 (gst_state_change_return_get_type), (register_gst_state_change),
12581 (gst_state_change_get_type), (register_gst_element_flags),
12582 (gst_element_flags_get_type), (register_gst_core_error),
12583 (gst_core_error_get_type), (register_gst_library_error),
12584 (gst_library_error_get_type), (register_gst_resource_error),
12585 (gst_resource_error_get_type), (register_gst_stream_error),
12586 (gst_stream_error_get_type), (register_gst_event_type),
12587 (gst_event_type_get_type), (register_gst_seek_type),
12588 (gst_seek_type_get_type), (register_gst_seek_flags),
12589 (gst_seek_flags_get_type), (register_gst_format),
12590 (gst_format_get_type), (register_gst_index_certainty),
12591 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12592 (gst_index_entry_type_get_type),
12593 (register_gst_index_lookup_method),
12594 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12595 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12596 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12597 (gst_index_flags_get_type), (register_gst_debug_level),
12598 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12599 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12600 (gst_iterator_result_get_type), (register_gst_iterator_item),
12601 (gst_iterator_item_get_type), (register_gst_message_type),
12602 (gst_message_type_get_type), (register_gst_mini_object_flags),
12603 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12604 (gst_pad_link_return_get_type), (register_gst_flow_return),
12605 (gst_flow_return_get_type), (register_gst_activate_mode),
12606 (gst_activate_mode_get_type), (register_gst_pad_direction),
12607 (gst_pad_direction_get_type), (register_gst_pad_flags),
12608 (gst_pad_flags_get_type), (register_gst_pad_presence),
12609 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12610 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12611 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12612 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12613 (gst_plugin_flags_get_type), (register_gst_rank),
12614 (gst_rank_get_type), (register_gst_query_type),
12615 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12616 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12617 (gst_tag_flag_get_type), (register_gst_task_state),
12618 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12619 (gst_alloc_trace_flags_get_type),
12620 (register_gst_type_find_probability),
12621 (gst_type_find_probability_get_type), (register_gst_uri_type),
12622 (gst_uri_type_get_type), (register_gst_parse_error),
12623 (gst_parse_error_get_type):
12624 * win32/common/gstversion.h:
12625 update win32 copies
12627 2005-11-01 Luca Ognibene <luogni@tin.it>
12630 fix docs. popt is dead, long live GOption.
12632 2005-10-31 Wim Taymans <wim@fluendo.com>
12637 2005-10-31 Andy Wingo <wingo@pobox.com>
12641 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
12643 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
12644 need to serialize property notifications on GLib 2.8. GLib 2.6 has
12645 the possibility of deadlocks here if code calling notify() or
12646 set() has a lock that can be taken in another notify handler (ABBA
12647 with class lock and e.g. python GIL state lock).
12649 2005-10-28 Julien MOUTTE <julien@moutte.net>
12651 * gst/gstbus.c: Doc updates.
12653 2005-10-28 Wim Taymans <wim@fluendo.com>
12655 * docs/design/part-TODO.txt:
12656 * gst/gstiterator.c:
12657 * gst/gstsystemclock.c:
12658 * gst/gstsystemclock.h:
12661 2005-10-28 Edward Hervey <edward@fluendo.com>
12663 * docs/gst/gstreamer-docs.sgml:
12664 * docs/gst/gstreamer-sections.txt:
12665 the GstURIType documentation page is private, it only defines GstURIType
12666 which should be defined in the GstURIHandler page
12668 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
12670 * gst/gstbin.c: (gst_bin_class_init):
12673 Documentation updates.
12675 2005-10-28 Wim Taymans <wim@fluendo.com>
12677 * docs/gst/gstreamer-sections.txt:
12680 Documented the clocks.
12682 2005-10-28 Stefan Kost <ensonic@users.sf.net>
12684 * docs/gst/gstreamer-sections.txt:
12685 move some macros to private sections
12686 * gst/gstminiobject.c:
12687 * gst/gstminiobject.h:
12688 add descriptions provided by ds and some more
12690 mark macro as to be removed
12692 2005-10-28 Wim Taymans <wim@fluendo.com>
12694 * docs/design/part-TODO.txt:
12695 Add an item to TODO.
12697 * gst/gstiterator.c: (gst_iterator_fold),
12698 (gst_iterator_find_custom):
12699 * gst/gstiterator.h:
12702 2005-10-28 Wim Taymans <wim@fluendo.com>
12704 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12705 (gst_base_transform_init):
12708 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
12709 An EOS event marks the queue as completely filled.
12711 2005-10-27 Wim Taymans <wim@fluendo.com>
12713 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12714 (gst_base_sink_do_sync), (gst_base_sink_get_position):
12715 Some more debugging.
12717 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
12718 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
12719 (gst_base_transform_event), (gst_base_transform_getrange),
12720 (gst_base_transform_chain):
12721 * gst/base/gstbasetransform.h:
12723 Protect transform and concurrent buffer alloc with a new lock.
12724 Try not to break ABI/API.
12726 2005-10-27 Wim Taymans <wim@fluendo.com>
12728 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12729 (gst_base_src_init), (gst_base_src_query),
12730 (gst_base_src_default_newsegment),
12731 (gst_base_src_configure_segment), (gst_base_src_do_seek),
12732 (gst_base_src_send_event), (gst_base_src_event_handler),
12733 (gst_base_src_pad_get_range), (gst_base_src_loop),
12734 (gst_base_src_unlock), (gst_base_src_default_negotiate),
12735 (gst_base_src_start), (gst_base_src_deactivate),
12736 (gst_base_src_activate_push), (gst_base_src_change_state):
12737 Move some stuff around and cleanup things.
12739 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
12741 * gst/base/gstbasesrc.c: (gst_base_src_query):
12742 Add missing break statements.
12744 2005-10-27 Wim Taymans <wim@fluendo.com>
12746 * check/gst/gstbin.c: (GST_START_TEST):
12747 An extra refcount is taken in basesrc.
12749 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12750 (gst_base_src_get_range), (gst_base_src_pad_get_range),
12751 (gst_base_src_loop):
12752 Small cleanups, check for flushing after being unlocked from the
12753 LIVE_LOCK. take refcounts correctly (not yet everywhere).
12754 Don't send out EOS when going to READY.
12756 2005-10-27 Wim Taymans <wim@fluendo.com>
12758 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12759 (gst_base_sink_get_position):
12762 * gst/gstbin.c: (message_check), (bin_replace_message),
12763 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12764 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12765 (bin_query_duration_init), (bin_query_duration_fold),
12766 (bin_query_duration_done), (bin_query_generic_fold),
12768 * tools/gst-launch.c: (main):
12771 2005-10-26 Stefan Kost <ensonic@users.sf.net>
12773 * examples/controller/audio-example.c: (main):
12774 * examples/queue/queue.c: (event_loop):
12775 * gst/base/gstbasetransform.h:
12776 * gst/gstelement.c: (gst_element_send_event):
12778 * gst/gstpad.c: (gst_pad_send_event):
12781 changing log priority in error situations
12783 2005-10-25 Wim Taymans <wim@fluendo.com>
12785 * gst/gstbin.c: (message_check), (bin_replace_message),
12786 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12787 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12788 (bin_query_duration_init), (bin_query_duration_fold),
12789 (bin_query_duration_done), (bin_query_generic_fold),
12791 Some doc and debug updates.
12792 Cache previously requested query DURATION for speed. invalidate
12793 cached duration if element posts a DURATION message.
12795 2005-10-25 Wim Taymans <wim@fluendo.com>
12797 * docs/design/part-TODO.txt:
12800 * gst/gstbin.c: (message_check), (bin_replace_message),
12801 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12802 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12803 (bin_query_duration_init), (bin_query_duration_fold),
12804 (bin_query_duration_done), (bin_query_generic_fold),
12806 Handle SEGMENT_START/DONE messages correctly.
12807 More evolved query algorithm that handles duration queries
12810 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
12811 (gst_element_get_state_func), (gst_element_abort_state),
12812 (gst_element_commit_state), (gst_element_lost_state):
12813 Some more debugging.
12815 * gst/gstmessage.h:
12818 2005-10-25 Wim Taymans <wim@fluendo.com>
12820 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12821 Don't use invalid stream_time.
12823 * gst/gstevent.c: (gst_event_new_newsegment):
12824 stream_time in newsegment cannot be undefined.
12826 2005-10-24 Wim Taymans <wim@fluendo.com>
12831 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
12833 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
12835 2005-10-24 Stefan Kost <ensonic@users.sf.net>
12837 * docs/libs/tmpl/gstdparam.sgml:
12838 * docs/libs/tmpl/gstdplinint.sgml:
12839 * docs/libs/tmpl/gstdpman.sgml:
12840 * docs/libs/tmpl/gstdpsmooth.sgml:
12841 * docs/libs/tmpl/gstunitconvert.sgml:
12844 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
12849 === release 0.9.4 ===
12851 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
12854 releasing 0.9.4, "Tyrannosaurus Rex"
12856 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
12858 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
12859 (gst_file_sink_get_current_offset):
12860 Use fseeko() and ftello() if available. When falling back on
12861 lseek() to get the current offset, fflush() first to make sure
12862 everything is up-to-date and we get the right offset.
12864 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
12866 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12867 * gst/base/gstbasesrc.c: (gst_base_src_loop):
12868 * gst/gsterror.c: (_gst_stream_errors_init):
12870 * gst/gstqueue.c: (gst_queue_loop):
12872 remove prematurely added error category and clean up the instances
12874 2005-10-21 Wim Taymans <wim@fluendo.com>
12876 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12877 (gst_base_sink_get_position), (gst_base_sink_query),
12878 (gst_base_sink_change_state):
12879 Simply set the right flag when going to playing, that's all
12880 we need to do instead of calling a function inside the object
12881 lock (that could take the lock as well and deadlock)
12883 2005-10-21 Wim Taymans <wim@fluendo.com>
12885 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
12886 (gst_base_src_loop):
12887 Don't warn, the peer element knows what to do best when
12888 the seek failed, it might try something else.
12890 2005-10-21 Wim Taymans <wim@fluendo.com>
12892 * gst/base/gstbasesrc.c: (gst_base_src_init),
12893 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
12896 2005-10-21 Wim Taymans <wim@fluendo.com>
12898 * docs/design/part-segments.txt:
12901 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12902 Correctly set caps, even on the subbufer.
12904 2005-10-21 Wim Taymans <wim@fluendo.com>
12906 * docs/gst/gstreamer-docs.sgml:
12907 * docs/gst/gstreamer-sections.txt:
12908 * gst/gstelement.h:
12911 * gst/gstmessage.h:
12914 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
12918 And 2% more doc coverage.
12920 2005-10-21 Andy Wingo <wingo@pobox.com>
12922 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
12923 position reporting.
12925 2005-10-20 Wim Taymans <wim@fluendo.com>
12927 * gst/gsterror.c: (gst_error_get_message):
12930 * gst/gststructure.c:
12935 2005-10-20 Wim Taymans <wim@fluendo.com>
12940 Another 1% more coverage.
12942 2005-10-20 Wim Taymans <wim@fluendo.com>
12944 * docs/gst/gstreamer-sections.txt:
12945 * gst/gstelement.c: (gst_element_get_state_func),
12946 (gst_element_abort_state), (gst_element_commit_state),
12947 (gst_element_lost_state):
12949 * gst/gstquery.c: (gst_query_set_position),
12950 (gst_query_parse_position), (gst_query_set_duration),
12951 (gst_query_parse_duration), (gst_query_new_convert):
12953 Yay! 1% more docs coverage.
12955 2005-10-20 Wim Taymans <wim@fluendo.com>
12958 * gst/gstquery.c: (gst_query_set_position),
12959 (gst_query_parse_position), (gst_query_set_duration),
12960 (gst_query_parse_duration), (gst_query_new_convert):
12962 * gst/gstutils.c: (gst_element_query_convert):
12964 Docs and consistency fixes.
12966 2005-10-20 Wim Taymans <wim@fluendo.com>
12972 2005-10-20 Wim Taymans <wim@fluendo.com>
12974 * gst/gstbin.c: (message_check), (bin_replace_message),
12975 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12976 (update_degree), (gst_bin_sort_iterator_next),
12977 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
12978 Reworked the message handling a bit, cache the messages instead of
12979 only the senders. alows us to do more in the future.
12981 2005-10-20 Wim Taymans <wim@fluendo.com>
12983 * docs/design/part-TODO.txt:
12986 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
12987 (gst_base_sink_query):
12988 Don't use clock time to report position when in EOS.
12990 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
12992 * tools/gst-inspect.c: (print_interfaces),
12993 (print_element_properties_info), (print_element_info):
12994 Fix interface output with gst-inspect -a; don't print
12995 newlines after double/float properties.
12997 2005-10-20 Wim Taymans <wim@fluendo.com>
12999 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13000 (gst_base_sink_query):
13001 Speed up current position calculation.
13003 * gst/base/gstbasesrc.c: (gst_base_src_query),
13004 (gst_base_src_default_newsegment):
13005 Correctly set stream position in newsegment.
13007 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13008 (update_degree), (gst_bin_sort_iterator_next),
13009 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13010 * gst/gstmessage.c: (gst_message_new_custom):
13011 Clean up debugging info
13013 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13014 (gst_queue_loop), (gst_queue_handle_src_query):
13017 2005-10-19 Wim Taymans <wim@fluendo.com>
13019 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13020 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13021 Fix query handling again.
13023 2005-10-19 Wim Taymans <wim@fluendo.com>
13025 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13026 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13027 * gst/base/gstbasesrc.c: (gst_base_src_query):
13028 * gst/elements/gstfilesink.c: (gst_file_sink_query):
13029 * gst/elements/gsttypefindelement.c:
13030 (gst_type_find_handle_src_query), (find_element_get_length),
13031 (gst_type_find_element_activate):
13034 * gst/gstquery.c: (gst_query_new_position),
13035 (gst_query_set_position), (gst_query_parse_position),
13036 (gst_query_new_duration), (gst_query_set_duration),
13037 (gst_query_parse_duration), (gst_query_set_segment),
13038 (gst_query_parse_segment):
13040 Bundling query position/duration is not a good idea since duration
13041 does not change much and we don't want to recalculate it for every
13042 position query, so they are separated again..
13043 Base value in segment query is not needed.
13045 * gst/gstqueue.c: (gst_queue_handle_src_query):
13046 * gst/gstutils.c: (gst_element_query_position),
13047 (gst_element_query_duration), (gst_pad_query_position),
13048 (gst_pad_query_duration):
13050 Updates for query API change.
13051 Added some docs here and there.
13053 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
13055 * check/gst/gstbin.c: (GST_START_TEST):
13056 * check/gst/gstghostpad.c: (GST_START_TEST):
13057 * check/pipelines/cleanup.c: (GST_START_TEST):
13058 wait on thread to die so we can check refcount correctly
13060 2005-10-18 Wim Taymans <wim@fluendo.com>
13062 * check/pipelines/stress.c: (GST_START_TEST):
13063 Make check a little more time consuming.
13065 2005-10-18 Wim Taymans <wim@fluendo.com>
13067 * check/Makefile.am:
13068 * check/pipelines/stress.c: (GST_START_TEST),
13069 (simple_launch_lines_suite), (main):
13070 Small state change torture test.
13072 * docs/design/part-states.txt:
13073 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13074 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13075 (gst_base_sink_change_state):
13076 Never take state lock from streaming thread, clean up ugly
13077 hacks. Unfortunatly core does not yet support nice ways to
13078 async commit state.
13080 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13082 Start state recalc if a STATE_DIRTY message is posted, but only
13083 on the toplevel bin.
13085 * gst/gstelement.c: (gst_element_sync_state_with_parent),
13086 (gst_element_get_state_func), (gst_element_abort_state),
13087 (gst_element_commit_state), (gst_element_lost_state),
13088 (gst_element_set_state_func), (gst_element_change_state):
13089 * gst/gstelement.h:
13090 State variables are now protected with the LOCK, the state
13091 lock is only used to serialize _set_state().
13093 2005-10-18 Wim Taymans <wim@fluendo.com>
13095 * check/gst/gstbin.c: (GST_START_TEST):
13096 * check/gst/gstmessage.c: (GST_START_TEST):
13097 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13098 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13100 * gst/gstelement.c: (gst_element_abort_state),
13101 (gst_element_commit_state), (gst_element_lost_state):
13102 * gst/gstmessage.c: (gst_message_new_state_changed),
13103 (gst_message_new_state_dirty), (gst_message_new_segment_start),
13104 (gst_message_new_segment_done), (gst_message_new_duration),
13105 (gst_message_parse_state_changed),
13106 (gst_message_parse_segment_start),
13107 (gst_message_parse_segment_done), (gst_message_parse_duration):
13108 * gst/gstmessage.h:
13109 * tools/gst-launch.c: (event_loop):
13110 Seriously, this is better than a previous commit as we only need
13111 to notify the fact that an element changed state in a streaming
13112 thread, marking the state of the parents dirty, hence the
13113 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13116 2005-10-18 Wim Taymans <wim@fluendo.com>
13118 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13119 (gst_bin_recalc_func):
13120 * gst/gstelement.c: (gst_element_set_clock),
13121 (gst_element_abort_state), (gst_element_lost_state):
13122 Cleanups, prepare for state change fixes.
13124 2005-10-18 Wim Taymans <wim@fluendo.com>
13127 * gst/gstelement.c: (gst_element_class_init),
13128 (gst_element_set_state), (gst_element_set_state_func):
13129 * gst/gstelement.h:
13130 Pending ABI changes.
13131 GThreadPool in GstBinClass to monitor async state changes.
13132 state_cookie in GstElement to detect concurrent gst/set state.
13133 set_state is now virtual too in case a very complicated element
13134 has to be constructed.
13136 2005-10-18 Wim Taymans <wim@fluendo.com>
13138 * check/gst/gstbin.c: (GST_START_TEST):
13139 * check/gst/gstmessage.c: (GST_START_TEST):
13140 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13141 * gst/gstbin.c: (bin_bus_handler):
13142 * gst/gstelement.c: (gst_element_commit_state),
13143 (gst_element_lost_state):
13144 * gst/gstmessage.c: (gst_message_new_state_changed),
13145 (gst_message_new_segment_start), (gst_message_new_segment_done),
13146 (gst_message_new_duration), (gst_message_parse_state_changed),
13147 (gst_message_parse_segment_start),
13148 (gst_message_parse_segment_done), (gst_message_parse_duration):
13149 * gst/gstmessage.h:
13150 * tools/gst-launch.c: (event_loop):
13151 Make messages future proof.
13152 state-change gets a flag if it was a message comming from the
13154 segment-start/stop can also be specified in other formats.
13155 A message to notify an app that a pipeline changed playback
13157 Also fix a GstMessage leak in -launch
13159 2005-10-18 Andy Wingo <wingo@pobox.com>
13161 * gst/gstelement.c (gst_element_dispose): More helpful message.
13163 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13165 reviewed by: <delete if not using a buddy>
13167 * common/gtk-doc.mak:
13169 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13171 * gst/gstregistry.c: (gst_registry_scan_path_level):
13172 unref a plug-in we get that was already initialized
13174 2005-10-18 Stefan Kost <ensonic@users.sf.net>
13176 * docs/gst/gstreamer-sections.txt:
13177 * docs/libs/gstreamer-libs-sections.txt:
13178 * gst/gstelement.h:
13179 add new api entries
13180 hide internal macro
13182 2005-10-17 Andy Wingo <wingo@pobox.com>
13184 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13187 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13189 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13191 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13192 (gst_element_get_state_func): Better debug message.
13193 (gst_element_commit_state): s/INFO/DEBUG/.
13194 (gst_element_lost_state, gst_element_change_state):
13196 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13197 (gst_message_new_custom): s/INFO/LOG/.
13199 2005-10-17 Michael Smith <msmith@fluendo.com>
13201 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13202 Check if end time is valid using end time, not start time.
13204 2005-10-17 Stefan Kost <ensonic@users.sf.net>
13206 * check/gst-libs/controller.c: (GST_START_TEST),
13207 (gst_controller_suite):
13208 * libs/gst/controller/gstcontroller.c:
13209 (gst_controlled_property_set_interpolation_mode):
13210 * libs/gst/controller/gstcontroller.h:
13211 * libs/gst/controller/gstinterpolation.c:
13212 * testsuite/controller/.cvsignore:
13213 * testsuite/controller/Makefile.am:
13214 * testsuite/controller/interpolator.c:
13215 merge controller testsuites
13217 remove mem-chunk from docs
13219 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13221 * gst/gstmemchunk.c:
13222 * gst/gstmemchunk.h:
13223 * gst/gsttrashstack.c:
13224 * gst/gsttrashstack.h:
13225 out. get out. you're fired. to the Attic !
13227 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13229 * gst/gstcaps.c: (gst_caps_intersect):
13230 fix signedness issues in a (hopefully) correct way
13231 * gst/gstelement.c: (gst_element_pads_activate):
13233 * gst/gstobject.c: (gst_object_set_parent):
13236 2005-10-17 Julien MOUTTE <julien@moutte.net>
13238 * gst/gstvalue.h: Fix prototypes.
13240 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13242 * docs/gst/gstreamer-sections.txt:
13243 * gst/gst.c: (gst_version_string):
13245 * gst/gstversion.h.in:
13246 * win32/common/libgstreamer.def:
13247 add gst_version_string ()
13249 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13253 * gst/gst.c: (init_post):
13254 * win32/common/config.h.in:
13256 * gst/gstcaps.c: (gst_caps_intersect):
13257 use gint64, the range could be bigger than a guint
13259 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13262 document potential problem in 2038
13264 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13266 * gst/gstcaps.c: (gst_caps_intersect):
13267 Fix guint j diving under 0
13269 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13272 * win32/common/config.h:
13273 * win32/common/config.h.in:
13274 check for process.h, declares getpid() on Windows
13276 include process.h if we have it
13277 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13278 * gst/gstmemchunk.h:
13279 fix signedness issues
13280 * win32/common/libgstreamer.def:
13283 2005-10-16 Julien MOUTTE <julien@moutte.net>
13285 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13286 fix. Because of unsigned ints, caps intersection was going nuts and
13287 trying to access structures with G_MAXUINT index. That fixes
13288 videotestsrc ! ffmpegcolorspace ! fakesink
13289 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13292 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13295 use the gettext macro
13296 * gst/elements/gstelements.c:
13298 * gst/indexers/gstindexers.c:
13299 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13300 * win32/common/config.h:
13302 * win32/common/config.h.in:
13303 add the template to generate config.h
13304 * win32/common/gstenumtypes.c:
13305 * win32/common/gstversion.h:
13308 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13310 * gst/gst.c: (gst_version):
13311 * gst/gstversion.h.in:
13314 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13317 Oops, add missing closing bracket.
13319 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13322 use common m4's for argument checking
13324 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13326 * docs/gst/gstreamer-sections.txt:
13328 Add GST_EVENT_TYPE_NAME() macro.
13330 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13333 * gst/gstpluginfeature.c:
13335 privatize more symbols
13337 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13340 add srcdir, builddir includes to GST_ALL_CFLAGS, since
13341 everything that uses GStreamer API should have the includes
13343 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13345 * docs/gst/gstreamer-sections.txt:
13346 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13348 give each value a _get_type, removes the DATA exports
13350 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13354 remove _gst_registry_auto_load, not used anymore
13355 * gst/gstbin.c: (gst_bin_get_type):
13357 * gst/gstelement.c: (gst_element_get_type):
13358 * gst/gstelement.h:
13359 * gst/gstobject.c: (gst_object_get_type):
13361 * gst/gstpad.c: (gst_pad_get_type):
13363 make _get_type functions similar, fixes data export from library
13365 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13368 correctly make conditionals
13369 * gst/elements/Makefile.am:
13370 * gst/elements/gstelements.c:
13371 fix typo causing fdsrc not to build
13373 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13375 * testsuite/Makefile.am:
13376 * testsuite/bytestream/.cvsignore:
13377 * testsuite/bytestream/Makefile.am:
13378 * testsuite/bytestream/filepadsink.c:
13379 * testsuite/bytestream/gstbstest.c:
13380 * testsuite/bytestream/test1.c:
13381 * testsuite/bytestream/testfile1:
13382 * testsuite/caps/normalisation.c:
13383 * testsuite/caps/random.c: (main):
13384 * testsuite/cleanup/.cvsignore:
13385 * testsuite/cleanup/Makefile.am:
13386 * testsuite/cleanup/cleanup1.c:
13387 * testsuite/cleanup/cleanup2.c:
13388 * testsuite/cleanup/cleanup3.c:
13389 * testsuite/cleanup/cleanup4.c:
13390 * testsuite/cleanup/cleanup5.c:
13391 * testsuite/controller/interpolator.c:
13392 * testsuite/debug/printf_extension.c: (main):
13393 * testsuite/elements/tee.c:
13394 * testsuite/negotiation/.cvsignore:
13395 * testsuite/negotiation/Makefile.am:
13396 * testsuite/negotiation/pad_link.c:
13397 * testsuite/pad/Makefile.am:
13398 * testsuite/pad/chainnopull.c:
13399 * testsuite/pad/getnopush.c:
13400 * testsuite/pad/link.c:
13401 * testsuite/refcounting/sched.c: (create_pipeline):
13402 * testsuite/registry/Makefile.am:
13403 * testsuite/registry/gst-print-formats.c:
13404 * testsuite/schedulers/.cvsignore:
13405 * testsuite/schedulers/142183-2.c:
13406 * testsuite/schedulers/142183.c:
13407 * testsuite/schedulers/143777-2.c:
13408 * testsuite/schedulers/143777.c:
13409 * testsuite/schedulers/147713.c:
13410 * testsuite/schedulers/147819.c:
13411 * testsuite/schedulers/147894-2.c:
13412 * testsuite/schedulers/147894.c:
13413 * testsuite/schedulers/Makefile.am:
13414 * testsuite/schedulers/group_link.c:
13415 * testsuite/schedulers/queue_link.c:
13416 * testsuite/schedulers/relink.c:
13417 * testsuite/schedulers/unlink.c:
13418 * testsuite/schedulers/unref.c:
13419 * testsuite/schedulers/useless_iteration.c:
13420 * testsuite/states/bin.c:
13421 clean out/remove some stuff from the testsuite directories
13423 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13426 check for some headers
13427 * gst/elements/Makefile.am:
13428 * gst/elements/gstelements.c:
13429 don't compile fdsrc without sys/socket.h
13430 * gst/indexers/Makefile.am:
13431 * gst/indexers/gstindexers.c: (plugin_init):
13432 don't compile fileindex without mmap
13434 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13441 * check/Makefile.am:
13442 * docs/gst/Makefile.am:
13443 * examples/helloworld/Makefile.am:
13445 * gst/base/Makefile.am:
13446 * gst/check/Makefile.am:
13447 * gst/elements/Makefile.am:
13448 * gst/indexers/Makefile.am:
13449 * gst/parse/Makefile.am:
13450 * libs/gst/controller/Makefile.am:
13451 * libs/gst/dataprotocol/Makefile.am:
13452 * examples/helloworld/helloworld.c: (event_loop):
13453 compile fixes, though it's not being compiled currently
13455 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13457 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13458 Add some simple tests for the new taglist date API.
13460 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13462 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13463 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13464 Beautify 'last-message' output: print 'none' for buffer timestamps
13465 and durations if none is set; improve alignment with next messages.
13467 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13469 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13470 * gst/gstpluginfeature.h:
13471 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13472 * gst/gstregistry.h:
13473 * docs/gst/gstreamer-sections.txt:
13474 Add new API to check plugin feature version requirements.
13476 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13477 Some basic tests for the above.
13479 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13481 * gst/gststructure.c: (gst_structure_to_string):
13482 guard against NULL printf - happens when for example
13483 a message structure with GstClock gets serialized
13485 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13487 * gst/base/gstcollectpads.c: (gst_collectpads_event):
13488 Fix presumable copy'n'pasto.
13490 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13492 * gst/elements/gstfakesrc.h:
13493 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13494 * gst/elements/gsttypefindelement.c:
13495 fix some signedness
13496 * gst/elements/gstfilesink.c: (gst_file_sink_render):
13497 I wonder if this could actually write +2GB files before
13499 2005-10-13 Andy Wingo <wingo@pobox.com>
13501 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13502 Fix Timmeke Waymans bug.
13503 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13504 string of the proper length to gst_caps_from_string. There's a
13505 potential for, before this fix, that this could cause someone
13506 connecting over the network to cause a segfault if the payload is
13507 not NUL-terminated.
13509 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13511 * docs/design/draft-push-pull.txt:
13512 * docs/design/part-overview.txt:
13513 * docs/random/TODO-pre-0.9:
13514 * docs/random/old/ChangeLog.gstreamer:
13515 * gst/base/gstpushsrc.c:
13519 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13521 * gst/glib-compat.c: (gst_flags_get_first_value):
13522 * gst/glib-compat.h:
13523 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13524 (gst_value_compare_double), (gst_value_serialize_flags):
13525 GLib 2.6 g_flags_get_first_value has a bug that triggers an
13528 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13530 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13531 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13533 * tools/gst-launch.c: (event_loop):
13534 print out clock nicely
13536 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13538 * docs/gst/gstreamer-sections.txt:
13539 * gst/gsttaglist.h:
13540 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13541 (gst_tag_list_get_date_index):
13542 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13543 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13545 2005-10-13 Julien MOUTTE <julien@moutte.net>
13547 * gst/base/gstcollectpads.c: (gst_collectpads_event),
13548 (gst_collectpads_chain):
13549 * gst/base/gstcollectpads.h: Handle newsegment and store informations
13552 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13554 * docs/gst/gstreamer-sections.txt:
13557 * tools/gst-inspect.c: (main):
13558 * tools/gst-launch.c: (main):
13559 * tools/gst-run.c: (main):
13560 * tools/gst-xmlinspect.c: (main):
13561 fix GOption context leaks
13564 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13568 * win32/common/config.h:
13570 * win32/vs6/grammar.dsp:
13571 * win32/vs6/libgstelements.dsp:
13572 * win32/vs6/libgstreamer.dsp:
13575 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13577 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13578 * gst/base/gstbasesrc.c: (gst_base_src_query):
13579 fix more guint64<->gdouble conversions
13581 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13584 add win32-update target
13585 * win32/common/gstconfig.h:
13586 * win32/common/gstenumtypes.c:
13587 * win32/common/gstenumtypes.h:
13588 * win32/common/gstversion.h:
13589 add files that visual studio can't generate
13591 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13594 add a win32-update target
13597 2005-10-12 Wim Taymans <wim@fluendo.com>
13599 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13600 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
13601 * gst/gstelement.c: (gst_element_commit_state),
13602 (gst_element_set_state):
13603 Protect flags with proper lock.
13604 unref provided cached clock in dispose.
13606 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13609 * gst/gstminiobject.h:
13611 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
13612 removed unused flags from miniobject
13615 2005-10-12 Wim Taymans <wim@fluendo.com>
13617 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13618 (gst_file_sink_event), (gst_file_sink_render):
13619 Flush before seeking.
13621 2005-10-12 Andy Wingo <wingo@pobox.com>
13623 * gst/gst.c (gst_init_check): Ignore unknown options, as has
13624 always been the case.
13626 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13628 * check/gst/gstbin.c: (GST_START_TEST):
13629 * docs/gst/gstreamer-sections.txt:
13630 * gst/base/gstbasesink.c: (gst_base_sink_init):
13631 * gst/base/gstbasesrc.c: (gst_base_src_init),
13632 (gst_base_src_get_range), (gst_base_src_check_get_range),
13633 (gst_base_src_start), (gst_base_src_stop):
13634 * gst/base/gstbasesrc.h:
13635 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
13636 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13637 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
13641 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
13643 * gst/gstelement.c: (gst_element_is_locked_state),
13644 (gst_element_set_locked_state), (gst_element_commit_state),
13645 (gst_element_set_state):
13646 * gst/gstelement.h:
13647 * gst/gstindex.c: (gst_index_init):
13649 * gst/gstminiobject.h:
13650 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
13651 (gst_object_set_parent):
13653 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
13654 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
13656 * gst/gstpadtemplate.h:
13657 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
13658 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13659 * gst/gstpipeline.h:
13660 * gst/indexers/gstfileindex.c: (gst_file_index_load),
13661 (gst_file_index_commit):
13662 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
13663 * testsuite/pad/link.c: (gst_test_src_init),
13664 (gst_test_filter_init), (gst_test_sink_init):
13665 * testsuite/states/locked.c: (main):
13666 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
13667 moved bitshift from macro to enum definition
13669 2005-10-12 Wim Taymans <wim@fluendo.com>
13671 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
13672 * gst/elements/gstfilesink.c: (gst_file_sink_event),
13673 (gst_file_sink_render):
13674 Some more debugging info.
13676 2005-10-12 Wim Taymans <wim@fluendo.com>
13678 * docs/design/part-states.txt:
13679 * tools/gst-launch.c: (main):
13681 Revert non-intentional change.
13683 2005-10-12 Wim Taymans <wim@fluendo.com>
13685 * check/gst/gstbin.c: (GST_START_TEST):
13686 * check/gst/gstelement.c: (GST_START_TEST):
13687 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
13688 * check/gst/gstghostpad.c: (GST_START_TEST):
13689 * check/gst/gstpipeline.c: (GST_START_TEST):
13690 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13691 * check/states/sinks.c: (GST_START_TEST):
13692 * gst/elements/gsttypefindelement.c: (stop_typefinding):
13693 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13694 (gst_bin_remove_func), (gst_bin_get_state_func),
13695 (gst_bin_recalc_state), (gst_bin_change_state_func),
13697 * gst/gstelement.c: (gst_element_get_state_func),
13698 (gst_element_get_state), (gst_element_abort_state),
13699 (gst_element_commit_state), (gst_element_set_state),
13700 (gst_element_change_state), (gst_element_change_state_func):
13701 * gst/gstelement.h:
13702 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
13703 (gst_pipeline_provide_clock_func):
13704 * gst/gstutils.c: (gst_element_link_pads_filtered):
13705 * tools/gst-launch.c: (main):
13706 * tools/gst-typefind.c: (main):
13707 Use GstClockTime in _get_state() instead of GTimeVal.
13708 Remove old code in gstutils.c
13710 2005-10-12 Andy Wingo <wingo@pobox.com>
13712 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
13715 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
13716 there is no task. Shouldn't affect any code, as nothing in our
13717 plugins checks this return value.
13718 (gst_pad_stop_task): Also take the stream lock if the pad has no
13719 task. Docs updated.
13721 2005-10-12 Wim Taymans <wim@fluendo.com>
13723 * gst/gstpad.c: (pre_activate), (post_activate),
13724 (gst_pad_activate_pull), (gst_pad_activate_push):
13725 Cleanup activation code. Reset old state if
13728 2005-10-12 Wim Taymans <wim@fluendo.com>
13730 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13731 (gst_base_sink_change_state):
13732 No need to prerol after receiving EOS.
13734 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13735 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
13736 * gst/elements/gstidentity.c: (gst_identity_event):
13737 Print events more verbosely.
13739 2005-10-12 Wim Taymans <wim@fluendo.com>
13741 * check/Makefile.am:
13742 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13743 * check/states/sinks2.c:
13744 Moved sinks2 testcode in sinks check.
13746 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13747 (gst_bin_remove_func), (gst_bin_recalc_state),
13748 (gst_bin_change_state_func), (bin_bus_handler):
13749 Fix potential race condition when _get_state() iterated over an
13750 ASYNC element right before it posted a state completion.
13753 Do proper cast here.
13755 * gst/gstevent.c: (gst_event_new_newsegment),
13756 (gst_event_parse_newsegment):
13757 A playback rate of 0.0 is not allowed.
13759 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13761 * win32/common/config.h:
13762 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
13763 (_trewinddir), (_ttelldir), (_tseekdir):
13764 * win32/common/dirent.h:
13765 * win32/common/gtchar.h:
13766 * win32/common/libgstbase.def:
13767 * win32/common/libgstreamer.def:
13768 * win32/vs6/grammar.dsp:
13769 * win32/vs6/gst_inspect.dsp:
13770 * win32/vs6/gst_launch.dsp:
13771 * win32/vs6/gstreamer.dsw:
13772 * win32/vs6/libgstbase.dsp:
13773 * win32/vs6/libgstelements.dsp:
13774 * win32/vs6/libgstreamer.dsp:
13775 Visual Studio 6 project files, and a new common directory.
13778 2005-10-11 Wim Taymans <wim@fluendo.com>
13780 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13781 (gst_base_sink_do_sync), (gst_base_sink_query),
13782 (gst_base_sink_change_state):
13783 * gst/base/gstbasesink.h:
13784 Correctly parse newsegment info.
13786 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13788 * gst/gst.c: (init_post):
13789 split plugin paths correctly
13791 2005-10-11 Wim Taymans <wim@fluendo.com>
13793 * check/gst/gstevent.c: (GST_START_TEST):
13794 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13795 (gst_base_sink_change_state):
13796 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
13797 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13798 * gst/elements/gstfilesink.c: (gst_file_sink_event):
13799 * gst/gstevent.c: (gst_event_new_newsegment),
13800 (gst_event_parse_newsegment):
13802 Added extra flag to newsegment for future API freeze.
13803 Updated check and base elements.
13805 2005-10-11 Julien MOUTTE <julien@moutte.net>
13807 * gst/base/gstcollectpads.c: (gst_collectpads_init),
13808 (gst_collectpads_add_pad), (gst_collectpads_pop),
13809 (gst_collectpads_event), (gst_collectpads_chain):
13810 * gst/base/gstcollectpads.h: Handle EOS correctly.
13812 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13814 * tools/gst-launch.c: (main):
13815 more null protecting
13817 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13819 * gst/gst-i18n-lib.h:
13820 check for ENABLE_NLS, not GETTEXT_PACKAGE
13821 * gst/gstregistry.c: (gst_registry_add_plugin),
13822 (gst_registry_scan_path_level),
13823 (_gst_registry_remove_cache_plugins):
13824 protect possibly NULL strings
13825 * gst/parse/types.h:
13826 config.h already included before
13827 * tools/gst-inspect.c: (main):
13828 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
13829 check for ENABLE_NLS, not GETTEXT_PACKAGE
13830 * tools/gst-launch.c: (main):
13831 check for ENABLE_NLS, not GETTEXT_PACKAGE
13833 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13836 if we don't have glib, fail before testing 2.8
13837 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
13838 fix a leak, should fix plugins-base testsuite
13840 2005-10-11 Andy Wingo <wingo@pobox.com>
13842 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
13843 take the mode we're going to as an arg. Go head and set the mode
13844 and flushing flags now, so that if the activate function starts a
13845 thread all the flags will be in the right state.
13846 (post_activate): Renamed also. Just handle making sure streaming
13847 finishes for the deactivation case, and setting the deactivated
13849 (gst_pad_set_active): Complain loudly if deactivation fails.
13850 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
13851 (gst_pad_activate_push): Adapt to pre/post_activate changes,
13852 remove the terrible hack.
13854 2005-10-11 Wim Taymans <wim@fluendo.com>
13856 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
13857 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
13858 (gst_bin_recalc_state), (gst_bin_change_state_func),
13859 (gst_bin_dispose), (bin_bus_handler):
13861 Prepare to make current EOS message queue more generic.
13864 * gst/gstevent.c: (gst_event_new_newsegment),
13865 (gst_event_parse_newsegment):
13867 Rename base to stream_time.
13869 * gst/gstmessage.h:
13872 2005-10-11 Wim Taymans <wim@fluendo.com>
13874 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
13875 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
13876 (gst_bin_change_state_func), (bin_bus_handler):
13878 Work on proper clock selection.
13880 2005-10-11 Edward Hervey <edward@fluendo.com>
13882 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
13883 * libs/gst/controller/gstcontroller.h:
13884 Added GList* version of _remove_properties() in order to be able to wrap
13887 2005-10-11 Wim Taymans <wim@fluendo.com>
13889 * docs/design/part-states.txt:
13892 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
13893 (gst_bin_change_state_func), (bin_bus_handler):
13894 Doc updates. Don't distribute the same clock over and over again.
13900 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
13901 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
13902 (gst_pad_send_event):
13904 Make probe emission threadsafe again.
13905 Register quarks and move _get_name() from utils.
13908 * gst/gstpipeline.c: (gst_pipeline_class_init),
13909 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
13910 Only redistribute the clock of it changed.
13912 * gst/gstsystemclock.h:
13917 Moved the _flow_get_name() to GstPad.
13919 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13921 * check/gst-libs/gdp.c: (GST_START_TEST):
13922 * check/gst/gstcaps.c: (GST_START_TEST):
13923 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
13924 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
13925 (gst_dp_packet_from_caps):
13926 fix more valgrind warnings before turning up the heat
13928 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13930 * gst/parse/grammar.y:
13931 some cleanup before the hacking
13933 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
13935 * gst/base/gstbasesrc.c: (gst_base_src_query):
13937 * gst/gstutils.c: (gst_guint64_to_gdouble),
13938 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
13940 externalize, basesrc uses it
13941 obviously the implementation needs testing
13943 2005-10-10 Wim Taymans <wim@fluendo.com>
13945 * tests/sched/Makefile.am:
13946 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
13947 (make_pipeline3), (make_pipeline4), (print_elem), (main):
13949 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
13951 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
13952 apparently converting from guint64 to double is not implemented
13955 2005-10-10 Wim Taymans <wim@fluendo.com>
13957 * check/Makefile.am:
13958 * check/generic/states.c: (GST_START_TEST):
13959 * check/gst/gstbin.c: (GST_START_TEST):
13960 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13961 * check/states/sinks.c: (GST_START_TEST):
13962 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
13964 Check fixes, use API as stated in design docs, remove hacks.
13966 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13967 (gst_base_sink_change_state):
13968 Catch stopping our task while we're shutting down.
13970 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
13971 (gst_bin_remove_func), (gst_bin_get_state_func),
13972 (gst_bin_recalc_state), (gst_bin_change_state_func),
13975 * gst/gstelement.c: (gst_element_init),
13976 (gst_element_get_state_func), (gst_element_abort_state),
13977 (gst_element_commit_state), (gst_element_lost_state),
13978 (gst_element_set_state), (gst_element_change_state),
13979 (gst_element_change_state_func):
13980 * gst/gstelement.h:
13981 New state change algorithm (see #318116)
13983 * gst/gstpipeline.c: (gst_pipeline_class_init),
13984 (gst_pipeline_init), (gst_pipeline_set_property),
13985 (gst_pipeline_get_property), (do_pipeline_seek),
13986 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
13987 * gst/gstpipeline.h:
13988 Remove crude state change hacks.
13991 Remove crude hacks.
13993 * tools/gst-launch.c: (main):
13994 Fixes for state change. Needs some more work to fully use the
13997 2005-10-10 Andy Wingo <wingo@pobox.com>
13999 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14001 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14002 this flag, but it's not even in GLib 2.6. Odd. Hack around the
14005 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14007 * gst/gstiterator.c: (gst_iterator_new):
14008 Fix my previous commit: GTypes passed to gst_iterator_new()
14009 can be fundamental types.
14011 2005-10-10 Wim Taymans <wim@fluendo.com>
14013 * gst/gstelement.c: (gst_element_iterate_pad_list),
14014 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14015 (gst_element_iterate_sink_pads):
14016 Use src/sink pads lists for the respective iterators instead
14019 2005-10-10 Andy Wingo <wingo@pobox.com>
14021 Merged in popt removal + GOption addition patch from Ronald, bug
14024 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14025 GstElement macros around, remove popt-related symbols, add goption
14028 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14030 * docs/gst/Makefile.am:
14031 * docs/libs/Makefile.am: No POPT_CFLAGS.
14033 * examples/manual/Makefile.am:
14034 * docs/manual/basics-init.xml: Doc updates with an example.
14036 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14037 (gst_init), (parse_one_option), (parse_goption_arg):
14038 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14039 bit of hand merging and debugging to get the GOption stuff working
14042 * tests/Makefile.am:
14043 * tools/Makefile.am:
14044 * tools/gst-inspect.c: (main):
14045 * tools/gst-launch.c: (main):
14046 * tools/gst-run.c: (main):
14047 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14049 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14051 * gst/gstiterator.c: (gst_iterator_new):
14052 Add assertions to make sure passed GType is likely to really
14053 be a GType (as the compiler won't catch it if the size and
14054 GType arguments get mixed up, see #318447).
14056 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
14058 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14060 * gst/gstbin.c: (gst_bin_iterate_sorted):
14061 Pass GType and size arguments to gst_iterator_new() in the right
14062 order (maybe we should make _new() take the GType as first argument
14063 just like _new_list()?) (#318447).
14066 2005-10-10 Wim Taymans <wim@fluendo.com>
14068 * gst/gstelement.c: (gst_element_finalize):
14069 And free the GStaticRecMutex too
14071 2005-10-10 Andy Wingo <wingo@pobox.com>
14073 * gst/gstelement.c (gst_element_init, gst_element_finalize):
14074 Allocate and free the mutex properly.
14076 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14078 (GstElement): The state_lock is now recursive. Rebuild your
14079 plugins, suckers. Old macros adapted.
14081 * docs/gst/gstreamer-sections.txt: Doc updates.
14084 * gst/gstutils.c (g_static_rec_cond_timed_wait)
14085 (g_static_rec_cond_wait): Ported from state changes patch, while
14086 we wait on bug #317802 to be solved in a well-distributed GLib.
14088 * gst/gstelement.c (gst_element_change_state_func): Renamed from
14089 gst_element_change_state, variable name changes.
14090 (gst_element_change_state): Split out of gst_element_set_state in
14091 preparation for the state change merge. Doesn't pay attention to
14092 the 'transition' argument.
14093 (gst_element_set_state): Updates, hopefully purely cosmetic.
14094 (gst_element_sync_state_with_parent): MT-safety. Ported from the
14095 state change patch.
14096 (gst_element_get_state_func): Renamed from get_state, cosmetic
14099 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14101 * gst/elements/gstelements.c:
14102 * win32/GStreamer.vcproj:
14104 * win32/dirent.c: (_tseekdir):
14105 * win32/gst-inspect.vcproj:
14106 * win32/gst-launch.vcproj:
14107 * win32/gstconfig.h:
14108 * win32/gstelements.vcproj:
14109 * win32/gstenumtypes.c: (gst_object_flags_get_type):
14110 * win32/gstreamer.def:
14111 * win32/msvc71.sln:
14112 updates for the win32 build (patch from Sebastien Moutte)
14114 2005-10-10 Andy Wingo <wingo@pobox.com>
14116 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14117 gst_bin_get_state, cleaned up (but no logic changes).
14118 (bin_element_is_sink): Comment updates.
14119 (sink_iterator_filter): Remove needless cast.
14120 (gst_bin_iterate_sinks): Doc update.
14121 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14122 cleaned up (but no logic changes).
14124 * check/states/sinks.c (test_src_sink): Cleanups from the state
14126 (test_livesrc_sink): Sync on the state.
14128 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14129 the state change patch.
14131 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14134 * check/gst/gstbin.c: Merge in some style fixes and additional
14135 checks from Wim's state change patch.
14137 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14139 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14140 (gst_type_find_helper):
14141 Check whether we have the requested data already in our list of
14142 cached buffers before pulling a new buffer; also make the buffer
14143 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14145 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14150 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14151 don't use long long, it's not portable. Replacing with
14152 gint64 seems to work; let's hope no skeletons fall out of the closet.
14154 2005-10-10 Andy Wingo <wingo@pobox.com>
14156 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14158 2005-10-09 Stefan Kost <ensonic@users.sf.net>
14160 * docs/gst/gstreamer-sections.txt:
14165 * gst/gstmessage.c: (gst_message_parse_state_changed):
14168 more docs, fix compilation
14170 2005-10-09 Philippe Khalaf <burger@speedy.org>
14171 * gst/gstmessage.c:
14172 Fixed a few forgotten variables on previous commit
14174 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
14176 * gst/base/gsttypefindhelper.c: (helper_find_peek):
14177 Fix evil typefind crasher: getrange() might return a short
14178 buffer at the end of a file, but gst_type_find_peek() must
14179 either return the full data as requested or NULL, but
14180 never a short buffer.
14182 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
14184 * gst/gstmessage.c: (gst_message_new_state_changed),
14185 (gst_message_parse_state_changed):
14186 * gst/gstmessage.h:
14187 don't use "new", it's a C++ keyword
14189 2005-10-08 Wim Taymans <wim@fluendo.com>
14191 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14192 * gst/gstelement.c: (gst_element_post_message):
14193 * gst/gstpipeline.c: (gst_pipeline_change_state):
14194 Small docs and debug updates.
14196 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14198 * docs/gst/gstreamer-sections.txt:
14199 * gst/gstelementfactory.c:
14201 * gst/gsttaglist.c:
14204 2005-10-08 Wim Taymans <wim@fluendo.com>
14206 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14207 (gst_bin_dispose), (bin_bus_handler):
14208 Fix typos, add comments.
14209 Clear EOS list when going to PAUSED from any direction and do it
14210 in a threadsafe way.
14211 Get base time in a threadsafe way too.
14212 Fix confusing debug in the change_state function.
14213 Various other small cleanups.
14215 * gst/gstelement.c: (gst_element_post_message):
14216 Fix very verbose bus posting code.
14218 * gst/gstpipeline.c: (gst_pipeline_class_init),
14219 (gst_pipeline_set_property), (gst_pipeline_get_property),
14220 (gst_pipeline_change_state):
14221 Small ARG_ -> PROP_ cleanup
14223 2005-10-08 Wim Taymans <wim@fluendo.com>
14225 * gst/gstbin.c: (is_eos), (bin_bus_handler):
14226 Do a less CPU demanding EOS check because we can.
14228 2005-10-08 Wim Taymans <wim@fluendo.com>
14230 * libs/gst/dataprotocol/dataprotocol.c:
14231 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14232 (gst_dp_packet_from_event):
14233 * libs/gst/dataprotocol/dataprotocol.h:
14234 * libs/gst/dataprotocol/dp-private.h:
14235 It's about time we bump the version number.
14236 Since event types don't fit in the guint8 anymore describing
14237 the payload type, make payload type 16 bits wide.
14239 2005-10-08 Wim Taymans <wim@fluendo.com>
14241 * docs/design/part-TODO.txt:
14242 * docs/design/part-clocks.txt:
14243 * docs/design/part-events.txt:
14244 * docs/design/part-gstbin.txt:
14245 * docs/design/part-gstelement.txt:
14246 * docs/design/part-gstpipeline.txt:
14247 * docs/design/part-live-source.txt:
14248 * docs/design/part-messages.txt:
14249 * docs/design/part-overview.txt:
14250 * docs/design/part-states.txt:
14253 2005-10-08 Wim Taymans <wim@fluendo.com>
14257 Fix event quark registration.
14258 Add some space between events so we can insert them in the
14261 2005-10-08 Wim Taymans <wim@fluendo.com>
14263 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14264 (gst_base_sink_handle_buffer):
14265 Better log message.
14268 * gst/gstelement.h:
14271 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14272 (gst_queue_set_property), (gst_queue_get_property):
14274 Remove old unused properties.
14276 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14277 * docs/gst/gstreamer-sections.txt:
14278 * gst/gstmessage.c:
14279 * gst/gstmessage.h:
14280 * gst/gstminiobject.c:
14281 * gst/gstminiobject.h:
14285 lots of new docs and doc fixes
14287 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14289 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14291 * gst/gstregistry.c: (gst_registry_lookup_locked),
14292 (gst_registry_scan_path_level):
14293 * gst/gstregistryxml.c: (load_plugin):
14294 Only ever load one plugin for a given plugin basename.
14295 This ensures correct overriding of GST_PLUGIN_PATH over
14296 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14297 system installed plugins.
14299 2005-10-08 Wim Taymans <wim@fluendo.com>
14301 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14302 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14303 Prepare for doing QOS.
14305 2005-10-08 Wim Taymans <wim@fluendo.com>
14307 * check/gst/gstbin.c: (GST_START_TEST):
14308 * check/pipelines/cleanup.c: (GST_START_TEST):
14309 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14310 Allow new clock message too.
14312 2005-10-08 Wim Taymans <wim@fluendo.com>
14314 * gst/gstmessage.c: (gst_message_new_error),
14315 (gst_message_new_warning), (gst_message_new_tag),
14316 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14317 (gst_message_new_clock_lost), (gst_message_new_new_clock),
14318 (gst_message_new_segment_start), (gst_message_new_segment_done),
14319 (gst_message_parse_state_changed),
14320 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14321 (gst_message_parse_new_clock):
14322 * gst/gstmessage.h:
14323 Also carry the clock in question.
14325 2005-10-08 Wim Taymans <wim@fluendo.com>
14327 * gst/gstmessage.c: (gst_message_new_custom),
14328 (gst_message_new_eos), (gst_message_new_error),
14329 (gst_message_new_warning), (gst_message_new_tag),
14330 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14331 (gst_message_new_new_clock), (gst_message_new_segment_start),
14332 (gst_message_new_segment_done), (gst_message_parse_state_changed),
14333 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14334 * gst/gstmessage.h:
14336 Added clock related messages.
14338 * gst/gstpipeline.c: (gst_pipeline_change_state):
14339 Post message when the clock changed.
14341 * tools/gst-launch.c: (event_loop):
14344 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
14346 * tools/gst-inspect.c: (print_element_properties_info):
14347 Can't pass NULL strings to g_print() on windows.
14349 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14351 * docs/Makefile.am:
14352 * docs/gst/Makefile.am:
14353 * docs/gst/gstreamer-docs.sgml:
14354 * docs/gst/running.xml:
14355 * docs/version.entities.in:
14356 add a chapter on running GStreamer.
14357 document GST_DEBUG and GST_PLUGIN* env vars
14359 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14364 remove PLUGINS_BUILDDIR stuff
14365 * gst/gst.c: (init_post):
14366 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14368 remove, it was condescending and not needed
14370 2005-10-08 Wim Taymans <wim@fluendo.com>
14372 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14373 (gst_base_sink_handle_object), (gst_base_sink_event),
14374 (gst_base_sink_wait), (gst_base_sink_handle_event),
14375 (gst_base_sink_change_state):
14376 * gst/base/gstbasesink.h:
14377 Repost EOS message while going to PLAYING if still EOS.
14378 Make sure that when receiving a FLUSH_START we don't attempt
14379 to sync on the clock anymore.
14381 2005-10-08 Wim Taymans <wim@fluendo.com>
14383 * tools/gst-launch.c: (event_loop):
14384 Better message printout.
14386 2005-10-08 Wim Taymans <wim@fluendo.com>
14388 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14389 (gst_bin_child_proxy_get_children_count):
14390 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14391 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14392 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14393 (gst_child_proxy_set_valist):
14394 * gst/parse/grammar.y:
14395 Make ChildProxy threadsafe and fix mem leaks.
14397 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14399 * gst/gst.c: (init_post):
14400 debug the GST_PLUGIN_ env vars
14402 2005-10-08 Wim Taymans <wim@fluendo.com>
14404 * check/gst/gstbin.c: (GST_START_TEST):
14405 * check/gst/gstmessage.c: (GST_START_TEST):
14406 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14407 * gst/gstelement.c: (gst_element_commit_state),
14408 (gst_element_lost_state):
14409 * gst/gstmessage.c: (gst_message_new_state_changed),
14410 (gst_message_parse_state_changed):
14411 * gst/gstmessage.h:
14412 * tools/gst-launch.c: (event_loop):
14413 Added extra field to STATE_CHANGE message with the pending
14414 state, which will be different from the new state soon.
14416 2005-10-08 Wim Taymans <wim@fluendo.com>
14418 * gst/gstbus.c: (gst_bus_pop):
14420 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14421 Small cleanups and doc updates.
14423 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14425 * gst/gst.c: (init_pre):
14426 * gst/gstbin.c: (gst_bin_add_func):
14427 log distributing clocks and base time
14428 * gst/gstregistry.c: (gst_registry_add_plugin),
14429 (gst_registry_scan_path_level), (gst_registry_scan_path):
14430 clean up the debugging output a little
14431 * gst/gstutils.c: (gst_element_state_get_name):
14432 warn about a memleak (I've actually seen this be used, though
14433 it was probably a bug)
14435 2005-10-07 Wim Taymans <wim@fluendo.com>
14437 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14438 (gst_base_src_init), (gst_base_src_default_newsegment),
14439 (gst_base_src_newsegment), (gst_base_src_do_seek),
14440 (gst_base_src_loop), (gst_base_src_start):
14441 * gst/base/gstbasesrc.h:
14442 Make the newsegment event customizable by subclasses.
14444 2005-10-07 Wim Taymans <wim@fluendo.com>
14446 * gst/gstevent.c: (gst_event_new_buffersize),
14447 (gst_event_parse_buffersize):
14449 New event for future idea.
14451 2005-10-07 Andy Wingo <wingo@pobox.com>
14453 * gst/gstelement.c (gst_element_post_message): Doc update.
14455 * docs/gst/gstreamer-sections.txt: Update.
14457 * gst/gstmessage.c (gst_message_new_application): Made into a
14458 function like honest API calls.
14459 (gst_message_new_element): New message type.
14461 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14463 * check/elements/fakesrc.c (test_no_preroll): New check, checks
14464 that setting a live fakesrc to PAUSED returns NO_PREROLL both
14467 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14468 NO_PREROLL from gst_element_change_state to fall through.
14470 2005-10-07 Wim Taymans <wim@fluendo.com>
14472 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14473 (gst_ghost_pad_do_activate_push):
14474 Activating a ghostpad with no internal pad in push mode
14477 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
14480 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14481 Fixes compilation on Windows.
14483 2005-10-07 Michael Smith <msmith@fluendo.com>
14485 * tools/gst-inspect.c:
14486 Print out feature and plugin count at the end when printing out
14489 2005-10-04 Michael Smith <msmith@fluendo.com>
14491 * gst/gsterror.c: (_gst_stream_errors_init):
14492 Add another error string used in a few existing plugins.
14495 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14496 * tools/gst-inspect.c: (print_element_info):
14497 When a feature disappears from a plugin (and the feature exists in
14498 the cached registry file), things went horribly wrong. This isn't a
14499 complete fix, we should actually be removing the 'missing' features
14500 from the features list when we load the actual plugin. That's not
14503 2005-10-04 Johan Dahlin <johan@gnome.org>
14505 * check/gst/gstiterator.c: (GST_START_TEST):
14506 * gst/gstbin.c: (gst_bin_iterate_elements),
14507 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14508 * gst/gstelement.c: (gst_element_iterate_pads):
14509 * gst/gstformat.c: (gst_format_iterate_definitions):
14510 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14511 (gst_iterator_new_list), (gst_iterator_filter):
14512 * gst/gstiterator.h:
14513 * gst/gstquery.c: (gst_query_type_iterate_definitions):
14514 Add a GType to GstIterator, update callsites and tests.
14516 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14518 * gst/gstpad.c: (gst_pad_event_default_dispatch):
14519 give events a chance to be handled by event probes when the pad
14522 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14524 * gst/gstevent.c: (gst_event_type_get_name),
14525 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14527 add string representations for event types
14529 2005-10-06 Wim Taymans <wim@fluendo.com>
14531 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14532 Don't use NULL pointers.
14534 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14536 * gst/gst_private.h:
14538 * gst/gstelement.c:
14540 * gst/gstpluginfeature.c:
14541 widen the debug category in output to fit the biggest one we have
14542 add a bus category and use it
14543 play with the colors
14544 fix up some categories
14546 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14548 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14549 add push activation of sink ghost pads.
14550 Andye, please verify
14552 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14554 * gst/gstutils.c: (gst_element_link_pads):
14555 fix a bug in the case where neither element has a pad
14556 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14557 add a test for that case
14559 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14561 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14562 emit have-data before checking for peers. This allows
14563 for probe handlers to connect elements. This helps autopluggers.
14564 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14566 add six checks, linked/unlinked with no/true/false probe
14568 2005-10-04 Wim Taymans <wim@fluendo.com>
14570 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14571 (gst_fake_sink_event), (gst_fake_sink_preroll),
14572 (gst_fake_sink_render), (gst_fake_sink_change_state):
14573 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14574 (gst_fake_src_get_property), (gst_fake_src_create),
14575 (gst_fake_src_stop):
14576 * gst/elements/gstidentity.c: (gst_identity_stop):
14577 Protect last_message with lock.
14579 2005-10-04 Edward Hervey <edward@fluendo.com>
14582 Added precision in the comments for GST_FORMAT_DEFAULT
14584 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
14586 * tools/gst-launch.c: (main):
14587 Don't try to run erroneous pipelines.
14589 2005-10-04 Julien MOUTTE <julien@moutte.net>
14591 * gst/gstbus.c: We don't need this header.
14593 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14596 back to development
14598 === release 0.9.3 ===
14600 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14604 Releasing 0.9.3, "Unregistered"
14606 2005-10-03 Andy Wingo <wingo@pobox.com>
14608 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
14609 whereby calling a pad's activatepush() function can start a thread
14610 that starts to push or pull before the pad gets the FLUSHING flag
14611 unset. Hack around it by holding the stream lock until the flag is
14612 set. Need to replace this with a proper solution. Together with
14613 the ghost pad fixes, this fixes mp3 playing/tagreading.
14615 * docs/design/part-gstghostpad.txt: Add a note about activation of
14616 proxy pads outside of ghost pads.
14618 * gst/gstghostpad.c: Implement the ghost pad activation design.
14620 2005-10-02 Andy Wingo <wingo@pobox.com>
14622 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
14623 It is volatile, after all.
14625 * docs/design/part-gstghostpad.txt: Flesh out activation with
14628 * gst/base/gstbasesrc.c (gst_base_src_init): Use
14631 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
14634 Fix (unused) AM_CONDITIONAL tests.
14636 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
14638 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14640 * gst/gstutils.c: (gst_pad_query_convert):
14641 Add assertion that makes sure src_val is >=0, just like
14642 gst_query_new_convert() has. (#315895)
14644 2005-09-30 Edward Hervey <edward@fluendo.com>
14646 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
14647 Let's not iterate pads we're not interested in, it avoids getting
14648 sky-high refcounts on sinkpad.
14650 2005-09-30 Wim Taymans <wim@fluendo.com>
14652 * gst/gstelement.c: (gst_element_set_state),
14653 (gst_element_change_state):
14654 Small tweak, element in ASYNC remains ASYNC.
14656 2005-09-30 Wim Taymans <wim@fluendo.com>
14658 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14659 Only error is an error.
14661 * gst/gstbin.c: (gst_bin_change_state):
14664 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
14665 Also call pad_block in pad alloc.
14667 * gst/gstutils.c: (gst_flow_get_name):
14670 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14672 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14673 (gst_base_src_get_range):
14674 Fix documentation typos. Add some more debug info.
14676 2005-09-29 David Schleef <ds@schleef.org>
14678 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
14679 more end-user friendly.
14680 * tools/gst-inspect.c: (main): Check if command-line argument is
14681 a file and attempt to load that file as a plugin.
14683 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14685 * check/gst/gstbin.c:
14686 * check/states/sinks.c:
14687 fix tests for the new warning
14688 * check/gst/gstpipeline.c:
14689 add a test for pipeline and bus interaction
14690 * gst/gstelement.c:
14691 elements should be NULL if they get disposed; add a warning if not
14693 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14696 for 2.6 refcounting, make debug log more correct by printing
14697 the actual refcounts at the time of swap (Wim)
14699 2005-09-29 Andy Wingo <wingo@pobox.com>
14701 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
14702 removes signal watches previously added via
14703 gst_bus_add_signal_watch.
14704 (gst_bus_add_signal_watch): Don't return the source id, just store
14705 it on the bus if there wasn't an id already.
14707 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
14708 add_signal_watch and remove_signal_watch.
14710 2005-09-29 Edward Hervey <edward@fluendo.com>
14712 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
14713 Better if we actually iterate the list :)
14715 2005-09-29 Wim Taymans <wim@fluendo.com>
14717 * check/gst/gstbin.c: (GST_START_TEST):
14718 Change for new bus API.
14720 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
14721 (send_messages), (GST_START_TEST), (gstbus_suite):
14722 Change for new bus signal API.
14724 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
14725 (gst_bus_source_prepare), (gst_bus_source_check),
14726 (gst_bus_create_watch), (gst_bus_add_watch_full),
14727 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
14728 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
14730 Remove support for multiple GSources operating on different
14731 message types as it is too complex and unneeded when using
14733 Added support for receiving signals from the bus.
14735 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14737 * docs/libs/tmpl/gstdataprotocol.sgml:
14738 * docs/manual/advanced-dataaccess.xml:
14739 * gst/elements/gstcapsfilter.c:
14741 rename filter-caps to caps property
14743 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14745 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14746 More robust fraction string parsing.
14748 * docs/pwg/appendix-porting.xml:
14749 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
14751 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14753 * gst/gstcaps.c: (gst_caps_do_simplify):
14754 Thou shalt not free a structure and then continue using it
14755 in the next loop iteration.
14757 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
14759 Add test case for caps simplification.
14761 2005-09-29 Wim Taymans <wim@fluendo.com>
14763 * check/gst/gstbin.c: (GST_START_TEST):
14766 2005-09-29 Wim Taymans <wim@fluendo.com>
14768 * check/gst/gstbin.c: (GST_START_TEST):
14771 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
14772 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
14773 (find_element), (gst_bin_sort_iterator_next),
14774 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14775 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14776 (gst_bin_change_state), (gst_bin_dispose):
14777 A bin does not have a bus, it gets the bus from the parent.
14779 * gst/gstelement.c: (gst_element_requires_clock),
14780 (gst_element_provides_clock), (gst_element_is_indexable),
14781 (gst_element_is_locked_state), (gst_element_change_state),
14782 (gst_element_set_bus_func):
14785 * gst/gstpipeline.c: (gst_pipeline_class_init),
14786 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
14787 The pipeline provides a bus.
14789 2005-09-28 Johan Dahlin <johan@gnome.org>
14791 * gst/gstmessage.c (gst_message_parse_state_changed): Use
14792 gst_structure_get_enum instead of gst_structure_get_int
14794 * gst/gststructure.c (gst_structure_get_enum): Impl.
14796 * gst/gststructure.h (gst_structure_get_enum): Add
14798 * docs/gst/gstreamer-sections.txt: Ditto
14800 * gst/gstmessage.c (gst_message_new_state_changed): Use
14801 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
14802 which does introspection.
14803 Reviewed by Christian Schaller
14805 2005-09-28 Stefan Kost <ensonic@users.sf.net>
14807 * gst/gstinfo.c: (gst_debug_log_default):
14808 don't do dummy g_strdup()s
14809 * libs/gst/controller/gstcontroller.c:
14810 (on_object_controlled_property_changed),
14811 (gst_controlled_property_new), (gst_controller_new_valist),
14812 (gst_controller_new_list),
14813 (gst_controller_remove_properties_valist), (gst_controller_set),
14814 (gst_controller_get), (gst_controller_sync_values),
14815 (gst_controller_get_value_array), (_gst_controller_class_init),
14816 (gst_controller_get_type):
14817 * libs/gst/controller/gstcontroller.h:
14818 * libs/gst/controller/gstinterpolation.c:
14819 (gst_controlled_property_find_timed_value_node):
14820 convert // to /**/ comments
14822 2005-09-28 Wim Taymans <wim@fluendo.com>
14824 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
14825 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
14826 (gst_bus_sync_signal_handler):
14828 Added async-message and sync-message signals to the bus.
14829 Added helper BusFunc to emit signals for all posted messages.
14831 * gst/gstmessage.c: (gst_message_type_get_name),
14832 (gst_message_type_to_quark), (gst_message_get_type):
14833 * gst/gstmessage.h:
14834 Register quarks for message names.
14836 2005-09-28 Stefan Kost <ensonic@users.sf.net>
14838 * docs/libs/gstreamer-libs-sections.txt:
14839 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
14840 (gst_controller_new_list):
14841 * libs/gst/controller/gstcontroller.h:
14842 added another constructor for language bindings
14844 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
14846 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14850 * gst/gstinfo.c: (_gst_debug_init):
14851 slightly more readable color for refcount debugging
14853 2005-09-28 Wim Taymans <wim@fluendo.com>
14855 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14856 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
14857 (find_element), (gst_bin_sort_iterator_next),
14858 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14859 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14860 (gst_bin_change_state), (gst_bin_dispose):
14861 Small doc fixes. get_clock -> provide_clock.
14863 * gst/gstelement.c: (gst_element_class_init),
14864 (gst_element_provides_clock), (gst_element_provide_clock),
14865 (gst_element_get_clock), (gst_element_commit_state),
14866 (gst_element_lost_state):
14867 * gst/gstelement.h:
14868 Make get/set_clock() symetric. Add provide_clock vmethod since
14869 that is actually what this function does.
14871 * gst/gstpipeline.c: (gst_pipeline_class_init),
14872 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
14873 (gst_pipeline_get_clock):
14874 get_clock -> provide_clock.
14876 2005-09-28 Andy Wingo <wingo@pobox.com>
14878 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
14879 lieu of real docs...
14881 * gst/elements/gstfdsrc.c: Cleaned up a bit.
14883 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
14885 * gst/elements/gstcapsfilter.c:
14886 * gst/elements/gstfakesink.c:
14887 * gst/elements/gstfakesrc.c:
14888 * gst/elements/gstfdsink.c:
14889 * gst/elements/gstfdsrc.c:
14890 * gst/elements/gstfilesink.c:
14891 * gst/elements/gstfilesrc.c:
14892 * gst/elements/gstidentity.c:
14893 * gst/elements/gsttee.c:
14894 * gst/elements/gsttypefindelement.c:
14895 Make element details static.
14897 2005-09-28 Wim Taymans <wim@fluendo.com>
14899 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
14900 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
14901 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14902 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14903 (gst_bin_change_state), (gst_bin_dispose):
14904 Some documentation updates.
14905 Clean up dispose handlers.
14907 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
14908 * gst/gstpad.c: (gst_pad_dispose):
14909 Clean up dispose handler.
14911 * gst/gstpipeline.c: (gst_pipeline_change_state):
14912 Removed spurious UNLOCK.
14914 2005-09-27 Stefan Kost <ensonic@users.sf.net>
14916 * docs/gst/gstreamer-sections.txt:
14917 * gst/base/gstbasesrc.h:
14918 * gst/gstelement.h:
14922 * gst/gstpipeline.c:
14923 * gst/gstpipeline.h:
14926 added two new functions to the docs
14927 documents all undocumented GstXXXFlags
14928 completed some incomplete docs
14930 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
14932 * gst/gstbin.c: (gst_bin_dispose):
14933 * gst/gstelement.c: (gst_element_dispose):
14934 remove now useless and leaky resurrection code in dispose
14935 * gst/base/gstbasesrc.c: (gst_base_src_init):
14936 * gst/gstelementfactory.c: (gst_element_factory_create):
14937 * gst/gstobject.c: (gst_object_set_parent):
14940 2005-09-27 Wim Taymans <wim@fluendo.com>
14942 * docs/design/part-TODO.txt:
14945 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
14946 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
14947 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14948 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14949 (gst_bin_change_state):
14950 * gst/gstelement.h:
14951 Remove element variable, we keep element info in the iterator now.
14953 2005-09-27 Andy Wingo <wingo@pobox.com>
14955 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
14958 2005-09-27 Wim Taymans <wim@fluendo.com>
14960 * check/gst/gstbin.c: (GST_START_TEST):
14961 Enable check that works now.
14963 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
14964 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
14965 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14966 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14967 (gst_bin_change_state):
14969 Redid the state change algorithm using a topological sort algo.
14970 Handles all cases correctly.
14971 Exposed iterator for state change order.
14973 * gst/gstelement.h:
14974 Temp storage for state changes. Need to get rid of this soon.
14976 2005-09-27 Wim Taymans <wim@fluendo.com>
14978 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
14979 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
14980 (link_fold_func), (gst_pad_proxy_setcaps):
14981 Leak fixes, the fold functions need to unref the passed object and
14982 _get_parent_*() returns ref to parent.
14984 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
14986 * check/gst/gstbuffer.c: (test_make_writable):
14987 Plug leak in test case and fix 'make check-valgrind'
14989 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
14991 * gst/gstbuffer.c: (gst_subbuffer_init):
14992 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
14993 works correctly in all circumstances (we could have just copied
14994 the parent buffer's readonly flag, but conceptually it seems
14995 cleaner to mark all subbuffers as read-only). (based on patch
14996 by Alessandro Decina, #314710).
14998 * check/gst/gstbuffer.c: (create_read_only_buffer),
14999 (test_make_writable), (test_subbuffer_make_writable),
15001 Add some tests for gst_buffer_make_writable().
15003 2005-09-27 Wim Taymans <wim@fluendo.com>
15005 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15006 use gst_object_has_ancestor().
15008 * gst/gstobject.c: (gst_object_has_ancestor):
15010 gst_object_has_ancestor() copied from gstbin.c as it is a
15013 * tests/instantiate/create.c: (create_all_elements):
15014 * tests/lat.c: (handoff_src), (handoff_sink):
15015 * tests/sched/runxml.c: (main):
15016 * tests/seeking/seeking1.c: (main):
15017 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15019 Fix compilation of some tests.
15021 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15024 Remove comment. GST_TYPE_G_ERROR is here to stay,
15025 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15026 (#316961, #300610).
15028 2005-09-26 Wim Taymans <wim@fluendo.com>
15030 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15031 Added check that shows error in state change order.
15033 2005-09-26 Wim Taymans <wim@fluendo.com>
15035 * gst/gstbin.c: (gst_bin_change_state):
15036 Make state change function use 3 queues again, we were
15037 adding elements in the wrong order.
15039 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15042 * gst/gstpad.c: (gst_pad_dispose):
15043 Added some debug info first.
15045 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
15047 * docs/design/draft-push-pull.txt:
15048 * docs/design/part-events.txt:
15049 * docs/design/part-overview.txt:
15050 * docs/design/part-scheduling.txt:
15051 Replace all _pull_region() with _pull_range()
15053 2005-09-26 Andy Wingo <wingo@pobox.com>
15055 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15057 * check/gst-libs/controller.c: Update for controller api change.
15060 * tests/Makefile.am:
15061 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15062 over by GLib bug 118439.
15064 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15065 routines to a function.
15067 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15069 * libs/gst/controller/gsthelper.c:
15070 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15071 (gst_object_sync_values): Renamed from sink_values. Ugh.
15073 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15075 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15076 Renamed from controller_key, as it is exported.
15078 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15080 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
15085 * gst/gstpadtemplate.h:
15088 * gst/gstqueryutils.c:
15089 * gst/gstqueryutils.h:
15090 remove queryutils headers after moving the two used functions
15091 to gstquery. also fixes build problem for gstsiddec
15093 2005-09-26 Michael Smith <msmith@fluendo.com>
15095 * tools/gst-launch.1.in:
15096 Correct documentation in manpage of debug syntax
15098 2005-09-26 Wim Taymans <wim@fluendo.com>
15100 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15101 (gst_base_src_is_seekable), (gst_base_src_change_state):
15102 Some more debugging info.
15104 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15106 * docs/gst/gstreamer-sections.txt:
15107 * gst/base/gstbasetransform.h:
15111 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15113 * docs/gst/.cvsignore:
15114 * docs/gst/tmpl/.cvsignore:
15115 * docs/gst/tmpl/gstpipeline.sgml:
15116 * docs/gst/tmpl/gstplugin.sgml:
15117 * gst/gstpipeline.c:
15120 inlined the last two docs files
15121 removed the tmpl directory from cvs (no more conflicts here!)
15123 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15125 * docs/gst/gstreamer-sections.txt:
15126 * docs/gst/tmpl/.cvsignore:
15127 * docs/gst/tmpl/gstpad.sgml:
15128 * docs/gst/tmpl/gstpadtemplate.sgml:
15130 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15131 (gst_pad_finalize), (gst_pad_set_pad_template):
15133 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15134 (gst_pad_template_class_init), (gst_pad_template_init),
15135 (gst_pad_template_dispose), (name_is_valid),
15136 (gst_static_pad_template_get), (gst_pad_template_new),
15137 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15138 (gst_pad_template_pad_created):
15139 * gst/gstpadtemplate.h:
15140 inlined two more docs
15141 factored gstpadtemplate out of gstpad
15143 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
15145 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15146 (test_children_state_change_order_semi_sink):
15147 Fix test case: we can't rely on a fixed state change order when
15148 going from READY => PAUSED because the sink might commit its
15149 new state first when the first buffer created by the source
15150 reaches the sink before the source has finished its change state.
15151 (Test case still fails at times, see #316856, comment 5 onwards)
15153 2005-09-24 Wim Taymans <wim@fluendo.com>
15155 * docs/design/part-events.txt:
15156 * docs/design/part-gstbus.txt:
15157 * docs/design/part-gstpipeline.txt:
15158 * docs/design/part-messages.txt:
15159 * docs/design/part-overview.txt:
15160 * docs/design/part-segments.txt:
15164 * gst/gstelement.c:
15167 * gst/gstiterator.c:
15168 Various documentation updates.
15170 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
15173 Well, that's embarassing. Luckily we weren't using
15174 GST_CLOCK_DIFF anywhere.
15176 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15178 * common/gtk-doc.mak:
15179 don't fail on building XML, FC4 slave shows a bunch of doc
15180 missing bits that I don't get
15182 * gst/gstpipeline.c:
15183 * gst/gststructure.c:
15186 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15188 * docs/design/part-gstbin.txt:
15189 * docs/design/part-gstbus.txt:
15191 Add blurb about how the bus goes into flushing mode and
15192 drops all messages when its bin goes from READY into NULL
15195 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15197 * docs/gst/gstreamer-sections.txt:
15198 * gst/gststructure.c: (gst_structure_get_clock_time):
15199 * gst/gststructure.h:
15200 add a method to get a GstClockTime out of a structure
15202 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15204 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15205 (test_children_state_change_order_semi_sink), (gst_bin_suite):
15206 Added test to check state change order in bins (can still be made
15207 to fail here under heavy disk load; bails out with 'Push on pad
15208 fakesink:sink0, but it was not activated in push mode').
15210 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15211 Fix state change order when there is only a semi sink (#316856)
15213 * gst/gstbus.c: (gst_bus_class_init):
15214 Use _class_peek_parent(), not _class_ref(); fix docs to say
15215 'default main context' instead of 'mainloop' where that is
15218 * gst/gstelement.c: (gst_element_commit_state),
15219 (gst_element_set_state):
15220 Fix typos in debug messages
15222 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15225 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15226 * gst/gstpluginfeature.c:
15228 various doc updates
15229 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15230 change an assert into an error until it gets fixed properly
15232 2005-09-23 Stefan Kost <ensonic@users.sf.net>
15234 * docs/gst/gstreamer-sections.txt:
15235 * docs/gst/tmpl/.cvsignore:
15236 * docs/gst/tmpl/gstelement.sgml:
15237 * docs/gst/tmpl/gstinfo.sgml:
15238 * docs/gst/tmpl/gstobject.sgml:
15239 * gst/gstelement.c:
15240 * gst/gstelement.h:
15243 * gst/gstobject.c: (gst_object_class_init):
15245 inlined 3 more biiiig doc files and added some missing docs on the fly
15247 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15249 * check/gst/.cvsignore:
15250 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15251 * gst/gstregistryxml.c: (load_plugin),
15252 (gst_registry_xml_save_plugin):
15253 put back source in registry. add checks for find_plugin.
15254 * testsuite/states/bin.c: (assert_state), (empty_bin),
15255 (test_adding_one_element), (main):
15256 * testsuite/states/locked.c: (main):
15257 some compile/run fixes
15259 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
15261 * check/gst/gstvalue.c: (GST_START_TEST):
15262 fix leaks in the test itself
15264 2005-09-22 Wim Taymans <wim@fluendo.com>
15266 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15267 (gst_base_sink_send_event), (gst_base_sink_peer_query),
15268 (gst_base_sink_query):
15269 Prepare for more accurate position reporting and query
15272 * gst/gstelement.c: (gst_element_send_event),
15273 (gst_element_set_state):
15276 2005-09-22 Wim Taymans <wim@fluendo.com>
15278 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15279 (gst_query_parse_segment):
15281 More documentation.
15282 Add segment query for future use.
15284 2005-09-22 Wim Taymans <wim@fluendo.com>
15286 * gst/gstbin.c: (gst_bin_add_func):
15287 Some more debug info.
15289 * gst/gstelement.c: (gst_element_send_event):
15290 Simplify send_event
15292 * gst/gstelement.h:
15293 Don't know how flags got broken.
15298 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15300 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15301 Add simplistic test suite for GST_TYPE_DATE serialisation and
15304 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15306 * docs/gst/gstreamer-sections.txt:
15307 * gst/gststructure.c: (gst_structure_set_valist),
15308 (gst_structure_get_date):
15309 * gst/gststructure.h:
15310 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15311 (gst_date_copy), (gst_value_compare_date),
15312 (gst_value_serialize_date), (gst_value_deserialize_date),
15313 (gst_value_transform_date_string),
15314 (gst_value_transform_string_date), (_gst_value_initialize):
15316 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15317 bunch of utility functions along with a hack that checks that
15318 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15319 is required. Part of the grand scheme in #170777.
15321 2005-09-22 Andy Wingo <wingo@pobox.com>
15323 * gst/gstconfig.h.in: Psych out gtk-doc.
15325 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15327 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15329 * tools/gst-inspect.c (print_element_list): Plug some
15330 inconsequential leaks.
15332 * gst/gstregistry.c (gst_registry_get_default): Doc.
15334 * check/gst/gstplugin.c:
15335 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15336 * gst/gstelementfactory.c (gst_element_factory_create):
15337 * gst/gstindexfactory.c (gst_index_factory_create): Update for
15340 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15341 (gst_plugin_feature_load): Doc, don't eat refs.
15343 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15344 (gst_plugin_list_free): Doc.
15345 (gst_plugin_load_file): Doc updates.
15347 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15348 accessors returning refcounted objects, return a ref.
15350 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15351 accessor for caps. IDEMPOTENCE. Oh yes.
15353 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
15355 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15357 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15358 (_gst_debug_register_funcptr):
15359 Add mutex to serialise access to the hash table with
15360 the function pointer => function name string mapping;
15361 make that hash table static scope (#316809).
15363 * gst/registries/.cvsignore:
15364 Remove left-over file.
15366 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15368 * docs/pwg/appendix-porting.xml:
15369 And something about newsegment events and caps-on-buffers to
15370 the porting guide (feel free to improve).
15372 2005-09-21 Andy Wingo <wingo@pobox.com>
15374 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15375 data and event probes on the same pad.
15376 (test_buffer_probe_once): Test that removing probes from within
15377 the probe functions works.
15379 2005-09-21 Andy Wingo <wingo@pobox.com>
15381 * check/gst/gstutils.c: New file.
15382 (test_buffer_probe_n_times): A simple buffer probe test. More to
15385 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15386 have-data::buffer, not have-data.
15387 (gst_pad_add_event_probe): Likewise for have-data::event.
15388 (gst_pad_add_data_probe): More docs. The part about 'resolving the
15389 peer' isn't quite right yet though.
15390 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
15391 (gst_pad_remove_data_probe): Change to take the guint handler_id
15392 as their arg, not the function+data, which is more glib-like.
15394 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15395 the signal emission to indicate if the data is a buffer or an
15397 (gst_pad_get_type): Initialize buffer and event quarks.
15398 (gst_pad_class_init): have-data is now a detailed signal, yes it
15401 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15403 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15404 * gst/gstutils.c: (gst_util_set_value_from_string),
15405 (gst_util_set_object_arg):
15406 Don't put functional code in g_return_if_fail() or
15407 g_return_val_if_fail() statements, otherwise things will
15408 break when G_DISABLE_CHECKS is defined during compilation.
15410 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15412 * docs/gst/tmpl/.cvsignore:
15413 * docs/gst/tmpl/gstvalue.sgml:
15416 inlied another one and added some obvious docs
15418 2005-09-21 Wim Taymans <wim@fluendo.com>
15420 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15421 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15422 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15423 (gst_fdsrc_get_property), (gst_fdsrc_create):
15424 * gst/elements/gstfdsrc.h:
15425 Properly implement fdsrc. Removed signal and timeout,
15426 better implemented somewhere else.
15428 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15430 * docs/gst/tmpl/.cvsignore:
15431 * docs/gst/tmpl/gstimplementsinterface.sgml:
15432 * gst/gstinterface.c:
15435 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15437 * docs/gst/gstreamer-sections.txt:
15438 * docs/gst/tmpl/.cvsignore:
15439 * docs/gst/tmpl/gstenumtypes.sgml:
15440 remove obsolete doc file
15442 2005-09-21 David Schleef <ds@schleef.org>
15444 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15445 little beer, fix a little leak.
15447 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15449 * docs/gst/gstreamer-docs.sgml:
15450 * docs/gst/gstreamer-sections.txt:
15451 * docs/gst/tmpl/.cvsignore:
15455 * gst/gstelement.h:
15456 * gst/gstindex.c: (gst_index_class_init):
15458 * gst/gstindexfactory.c: (gst_index_factory_get_type),
15459 (gst_index_factory_class_init), (gst_index_factory_init),
15460 (gst_index_factory_finalize), (gst_index_factory_new),
15461 (gst_index_factory_destroy), (gst_index_factory_find),
15462 (gst_index_factory_create), (gst_index_factory_make):
15463 * gst/gstindexfactory.h:
15464 * gst/gstpluginfeature.c:
15465 * gst/gstpluginfeature.h:
15466 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15467 more docs inlined, splitted gstindex.{c,h}
15469 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15471 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15474 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15476 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15477 Set sync to FALSE by default.
15479 2005-09-20 Wim Taymans <wim@fluendo.com>
15481 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15482 (gst_base_sink_init):
15483 Make sync property settable from subclass.
15485 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15486 (gst_fake_sink_change_state):
15487 Set sync to FALSE by default.
15489 2005-09-20 Wim Taymans <wim@fluendo.com>
15491 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15492 * tools/gst-launch.c: (main):
15493 The timeout handler should have lower priority than the source
15494 so we don't timeout before popping a message with 0 timeout.
15495 Dump error messages after failed state change.
15497 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15499 * tools/gst-inspect.c: (print_element_properties_info):
15502 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15504 * check/gst/gstevent.c:
15505 * gst/elements/gstfakesink.c:
15506 * gst/elements/gstfakesink.h:
15507 remove the sync property from fakesink.
15508 has the side effect of setting sync TRUE
15509 for fakesink, which is a change. Anyone who knows how
15510 to fix this nicely in a GObject-y way, feel free.
15512 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15514 * docs/gst/gstreamer-docs.sgml:
15515 remove probe refsection
15517 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15519 * check/Makefile.am:
15520 disable valgrinding the controller test again
15521 * docs/gst/gstreamer-sections.txt:
15522 update for api-changes
15524 2005-09-20 Wim Taymans <wim@fluendo.com>
15526 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15527 (gst_base_sink_set_property), (gst_base_sink_get_property),
15528 (gst_base_sink_do_sync):
15529 * gst/base/gstbasesink.h:
15530 Added sync property to basesink to disable clock sync.
15532 2005-09-20 Andy Wingo <wingo@pobox.com>
15534 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15535 eating the caller's refcount.
15537 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
15538 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15541 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15542 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15543 of GLib 2.8 public, so we can know which refcount to check in
15546 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15547 (gst_object_init): Only set the gst refcount if we're going ahead
15548 with the refcount hack.
15550 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15552 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15553 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15554 more leaks plumbed, added more debug-logging
15558 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15560 * gst/gstmessage.c:
15561 remove include of gstmemchunk.h
15563 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15565 * gst/gstclock.c: (_gst_clock_id_free):
15566 Commit from the Political Party For More Atomic CVS Commits,
15567 so that people don't waste too much of their day fishing
15568 out obvious leaks out of massive commits.
15569 Oh, and fix a pretty damn obvious leak in the memchunk
15572 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15574 * check/Makefile.am:
15575 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15576 plug mem-leak, re-add to valgrindable tests
15578 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15581 unbreak the build for those who have chronic arthritis
15582 and typing "make check" is just too taxing on the hands
15584 2005-09-20 Andy Wingo <wingo@pobox.com>
15586 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
15587 really want it out, you should fix plugins at the same time.
15589 2005-09-19 Stefan Kost <ensonic@users.sf.net>
15592 * docs/gst/gstreamer-sections.txt:
15594 added missing symbols to api docs
15595 disable ref-count hack if we have glib >= 2.8
15597 2005-09-19 David Schleef <ds@schleef.org>
15599 * docs/gst/Makefile.am: Ignore a few more internal headers
15600 * docs/gst/gstreamer-docs.sgml: Remove old sections
15601 * docs/gst/gstreamer-sections.txt: Remove old sections
15602 * docs/gst/tmpl/gstobject.sgml: update
15603 * docs/gst/tmpl/gstplugin.sgml: update
15604 * docs/gst/tmpl/gstpluginfeature.sgml: update
15605 * docs/random/ds/0.9-suggested-changes: update.
15606 * gst/Makefile.am: remove memchunk and trashstack, since they're
15608 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
15609 * gst/gst.h: don't include some headers
15610 * gst/gstchildproxy.c: add gstmarshal.h
15611 * gst/gstclock.c: Don't use memchunks
15612 * gst/gstminiobject.c: Add some docs
15613 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
15614 * gst/gstobject.h: same
15615 * gst/gstplugin.c: include gstmacros.h
15616 * gst/gstplugin.h: don't include gstmacros.h, since it's private
15617 * gst/gstquery.c: don't use memchunks
15618 * gst/gstregistry.c: rename gst_registry_deinit()
15619 * gst/gstregistry.h: same
15621 2005-09-19 David Schleef <ds@schleef.org>
15623 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
15624 * docs/libs/gstreamer-libs-sections.txt:
15625 * docs/libs/tmpl/gstgetbits.sgml:
15626 * docs/libs/tmpl/gstputbits.sgml:
15628 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
15630 * win32/gstenumtypes.c:
15631 * win32/gstenumtypes.h:
15634 2005-09-19 Wim Taymans <wim@fluendo.com>
15636 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
15637 Automatically PAUSE and RESUME a pipeline when a flushing seek
15640 2005-09-19 Andy Wingo <wingo@pobox.com>
15642 * gst/gstregistry.h: Spacing fixen.
15644 2005-09-19 Wim Taymans <wim@fluendo.com>
15646 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
15647 Handle state change failure more correctly.
15649 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15651 * check/Makefile.am:
15652 * check/pipelines/cleanup.c: (run_pipeline):
15653 * check/pipelines/simple_launch_lines.c: (run_pipeline),
15655 enable cleanup again after fixing the leak
15657 some more info on docs
15659 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15661 * check/Makefile.am:
15662 re-enable tests now that leaks are plugged
15664 * check/gst/gstbin.c:
15665 * check/gst/gstpipeline.c:
15666 add some more tests while fixing leaks
15667 * common/check.mak:
15668 make sure binaries are uptodate when valgrinding/gdbing
15670 * gst/gstelementfactory.c:
15671 remove a ref too many, and add a FIXME for when we get
15672 round to disposing of classes
15674 fix the refcounting when loading a plugin from a file and
15675 the code pretends that the pointer is the same even though
15676 of course it can change
15677 * gst/gstpluginfeature.c:
15678 unref plugins marked cached (a bit confusing as a name)
15679 as the docs state should be done
15680 various doc additions to explain refcounting
15681 * gst/gstregistry.c:
15682 * gst/gstregistryxml.c:
15685 2005-09-19 Wim Taymans <wim@fluendo.com>
15687 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15688 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15689 (send_messages), (GST_START_TEST), (gstbus_suite):
15690 * check/gst/gstpipeline.c: (GST_START_TEST):
15691 * check/pipelines/cleanup.c: (run_pipeline):
15692 * check/pipelines/simple_launch_lines.c: (run_pipeline),
15694 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
15695 (gst_bus_source_check), (gst_bus_source_dispatch),
15696 (gst_bus_create_watch), (gst_bus_add_watch_full),
15697 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
15699 * tools/gst-launch.c: (event_loop):
15700 * tools/gst-md5sum.c: (event_loop):
15701 GstBusHandler -> GstBusFunc, return value has the same meaning as
15702 any other GSource (FALSE == remove source).
15703 _add_watch() and _add_watch_full() now take a MessageType mask to
15704 only handle specific types of messages.
15705 _poll() returns the GstMessage instead of the message type to avoid
15707 _have_pending() takes a MessageType mask now too.
15708 Added testsuite for multiple bus watches.
15709 Fix testsuites and applications for new bus API.
15711 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15713 * check/Makefile.am:
15714 mark a bunch of the tests as to fix until we fix them
15716 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15718 * common/check.mak:
15719 use GST_PLUGIN settings for valgrind tests as well, so we're
15720 valgrinding the correct thing
15721 * gst/gst.c: (init_post):
15724 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15726 * gst/gst.c: (init_post), (gst_deinit):
15727 * gst/gstelementfactory.c: (gst_element_factory_class_init),
15728 (gst_element_factory_finalize), (gst_element_factory_cleanup):
15729 * gst/gstindex.c: (gst_index_factory_class_init),
15730 (gst_index_factory_finalize):
15731 * gst/gstobject.c: (gst_object_dispose):
15732 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15733 (gst_plugin_load_file), (gst_plugin_desc_free):
15734 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
15735 (gst_plugin_feature_finalize):
15736 * gst/gstregistry.c: (gst_registry_class_init),
15737 (gst_registry_init), (gst_registry_finalize),
15738 (gst_registry_get_default), (gst_registry_deinit):
15739 * gst/gstregistry.h:
15740 * gst/gstregistryxml.c: (load_feature), (load_plugin):
15741 various cleanups and memleak plugging. make valgrind is happy now.
15743 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15745 * common/check.mak:
15746 add a check-valgrind target
15748 2005-09-18 David Schleef <ds@schleef.org>
15750 * tools/gst-inspect.c: Revert the GOption code.
15752 2005-09-17 David Schleef <ds@schleef.org>
15754 * check/Makefile.am: Fix environment variables.
15755 * check/gst/gstplugin.c: Fix for API changes.
15756 * tools/gst-inspect.c: Fix for API changes.
15757 * tools/gst-xmlinspect.c: Fix for API changes.
15758 * gst/gstelementfactory.c:
15761 * gst/gstpluginfeature.c:
15762 * gst/gstpluginfeature.h:
15763 * gst/gstregistry.c:
15764 * gst/gstregistry.h:
15765 * gst/gstregistryxml.c:
15766 * gst/gsttypefind.c:
15767 * gst/gsttypefindfactory.c:
15768 * gst/indexers/gstfileindex.c:
15769 * gst/indexers/gstmemindex.c:
15770 * gst/schedulers/Makefile.am:
15771 Change registry to keep track of both plugins and features,
15772 removing the feature tracking from plugins themselves.
15774 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
15776 * check/Makefile.am:
15777 * tools/gst-register.1.in:
15778 remove gst-register
15780 2005-09-15 David Schleef <ds@schleef.org>
15782 * check/gst/gstplugin.c:
15783 * gst/gstelementfactory.c:
15785 * gst/gstpluginfeature.c:
15786 * gst/gstregistry.c:
15787 Getting tired of debugging. Disabled all the unreffing of
15788 plugins and features, which fixes the segfaults, but of
15789 course leaks like crazy. At least playbin works.
15791 2005-09-15 David Schleef <ds@schleef.org>
15793 * check/gst/gstplugin.c: (register_check_elements),
15794 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
15796 * gst/elements/gsttypefindelement.c: Fix refcounting.
15797 * gst/gsttypefind.c:
15798 * gst/gsttypefindfactory.c:
15799 * gst/gsttypefindfactory.h:
15801 2005-09-15 David Schleef <ds@schleef.org>
15803 * gst/gstindex.c: get refcounting correct.
15804 * gst/gstregistry.c: Handle the case where a feature/plugin is
15807 2005-09-15 David Schleef <ds@schleef.org>
15809 * check/Makefile.am:
15810 * check/gst/gstplugin.c: Add test
15811 * gst/gstplugin.c: Fix problems noticed by testsuite
15813 * gst/gstregistry.c:
15814 * gst/gstregistry.h:
15816 2005-09-15 David Schleef <ds@schleef.org>
15818 * gst/gstplugin.c: Implement semi-decent recounting and locking
15819 in plugins and plugin features.
15821 * gst/gstpluginfeature.c:
15822 * gst/gstpluginfeature.h:
15823 * gst/gstregistry.c:
15825 2005-09-15 Michael Smith <msmith@fluendo.com>
15827 * gst/gstregistry.c: (gst_registry_get_feature_list):
15828 Implement this. Makes oggdemux work; decodebin still broken.
15830 2005-09-14 David Schleef <ds@schleef.org>
15832 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
15834 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
15835 * gst/check/Makefile.am:
15836 * libs/gst/controller/Makefile.am:
15837 * libs/gst/dataprotocol/Makefile.am:
15839 2005-09-14 David Schleef <ds@schleef.org>
15841 * configure.ac: Remove getbits library. Nothing uses it, and
15842 it should be in something like liboil if someone did want
15844 * libs/gst/Makefile.am:
15845 * libs/gst/getbits/Makefile.am:
15846 * libs/gst/getbits/gbtest.c:
15847 * libs/gst/getbits/getbits.c:
15848 * libs/gst/getbits/getbits.h:
15849 * libs/gst/getbits/gstgetbits_generic.c:
15850 * libs/gst/getbits/gstgetbits_i386.s:
15851 * libs/gst/getbits/gstgetbits_inl.h:
15853 2005-09-14 David Schleef <ds@schleef.org>
15855 * gst/Makefile.am: Dist glib-compat.h
15857 2005-09-14 David Schleef <ds@schleef.org>
15859 * configure.ac: Remove gst/registries, since it's no longer used.
15860 * gst/registries/Makefile.am:
15861 * gst/registries/gstlibxmlregistry.c:
15862 * gst/registries/gstlibxmlregistry.h:
15863 * gst/registries/gstxmlregistry.c:
15864 * gst/registries/gstxmlregistry.h:
15865 * gst/registries/registrytest.c:
15867 2005-09-14 David Schleef <ds@schleef.org>
15869 * gst/glib-compat.h:
15870 * gst/gstregistryxml.c:
15871 Convergence is near. Seriously.
15873 2005-09-14 David Schleef <ds@schleef.org>
15875 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15876 * gst/glib-compat.h:
15877 Attempt #4 to appease the buildbots.
15879 2005-09-14 David Schleef <ds@schleef.org>
15881 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15884 2005-09-14 David Schleef <ds@schleef.org>
15886 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15889 2005-09-14 David Schleef <ds@schleef.org>
15891 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
15894 2005-09-14 David Schleef <ds@schleef.org>
15896 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15897 * gst/glib-compat.h: Add some functions that are in newer versions
15898 of glib than we care to require.
15899 * gst/gstregistryxml.c: Use them.
15901 2005-09-14 David Schleef <ds@schleef.org>
15903 * po/POTFILES.in: remove gst-register.c
15905 2005-09-14 David Schleef <ds@schleef.org>
15907 * docs/gst/gstreamer-docs.sgml:
15908 * docs/gst/gstreamer-sections.txt:
15909 * docs/gst/gstreamer.types:
15910 * docs/gst/tmpl/gstelement.sgml:
15911 * docs/gst/tmpl/gstplugin.sgml:
15912 * docs/gst/tmpl/gstpluginfeature.sgml:
15913 Documentation updates for registry changes.
15915 2005-09-14 David Schleef <ds@schleef.org>
15917 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
15918 because we don't require glib-2.8.
15920 2005-09-14 David Schleef <ds@schleef.org>
15922 * gst/gstregistryxml.c: Added. Essentially moved out of the
15923 registries directory.
15925 2005-09-14 David Schleef <ds@schleef.org>
15927 * check/Makefile.am:
15928 * check/generic/states.c:
15932 * gst/gst_private.h:
15933 * gst/gstelementfactory.c:
15938 * gst/gstpluginfeature.c:
15939 * gst/gstpluginfeature.h:
15940 * gst/gstregistry.c:
15941 * gst/gstregistry.h:
15942 * gst/gstregistrypool.c: remove
15943 * gst/gstregistrypool.h: remove
15944 * gst/gsttypefind.c:
15945 * gst/gsttypefindfactory.c:
15947 * tools/Makefile.am:
15948 * tools/gst-compprep.c:
15949 * tools/gst-inspect.c:
15950 * tools/gst-register.c: remove
15951 * tools/gst-xmlinspect.c:
15952 Registry rewrite. Changes registry from being a file created
15953 by a tool into a simple cache file created automatically by
15954 libgstreamer. Removed gst-register (because it's no longer
15955 needed). Remove registry pools, because we only have one
15956 registry implementation (XML). Fix up other subsystems as
15959 2005-09-13 Michael Smith <msmith@fluendo.com>
15961 * gst/gstconfig.h.in:
15962 Don't Use windows linking attributes for MinGW. Fixes #316157
15964 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
15966 * gst/gstutils.c: (set_state_async_thread_func),
15967 (gst_element_set_state_async):
15968 Apparently people think it's better if this function doesn't
15969 try to set the state to whatever state was asked for on the first
15970 call to this function for any object. Seriously.
15972 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
15974 * check/gst/gstpipeline.c: (GST_START_TEST):
15975 * docs/gst/gstreamer-sections.txt:
15976 * gst/gstutils.c: (set_state_async_thread_func),
15977 (gst_element_set_state_async):
15979 add a "gst_element_set_state_async" method that
15980 sets the state and starts a thread to make sure the state
15981 change completes as best as it can
15983 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
15985 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15986 codify design+behaviour in testsuite after discussion
15988 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
15990 * docs/gst/tmpl/gstelement.sgml:
15991 * docs/manual/appendix-quotes.xml:
15993 * gst/gstelement.c: (gst_element_set_state):
15996 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
15998 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15999 (gst_base_transform_prepare_output_buf),
16000 (gst_base_transform_handle_buffer):
16001 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16002 (gst_capsfilter_prepare_buf):
16003 Remove the requirement for sub-classes to call the parent
16004 implementation of prepare_output_buffer with a wrapper function.
16006 * gst/gsttaglist.h:
16007 * gst/gsttagsetter.h:
16008 Fix #define wrapper
16010 2005-09-11 Stefan Kost <ensonic@users.sf.net>
16012 * docs/gst/gstreamer-sections.txt:
16015 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16017 * docs/gst/gstreamer-sections.txt:
16018 * docs/gst/tmpl/gstelement.sgml:
16019 * docs/gst/tmpl/gstplugin.sgml:
16020 * gst/gstminiobject.c:
16022 docs now stop throwing warnings
16024 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16026 * docs/gst/gstreamer-sections.txt:
16027 * docs/gst/gstreamer.types:
16028 * docs/gst/tmpl/gstpad.sgml:
16029 * docs/gst/tmpl/gsttypes.sgml:
16030 * gst/base/gstadapter.h:
16031 * gst/base/gstbasesink.h:
16032 * gst/base/gstbasesrc.h:
16038 * gst/gstelement.h:
16040 * gst/gstmessage.h:
16042 * gst/gststructure.c:
16043 * gst/registries/gstlibxmlregistry.h:
16044 various documentation fixes
16046 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16048 * docs/gst/gstreamer-sections.txt:
16049 * docs/gst/tmpl/gstvalue.sgml:
16050 rearrange gstvalue section
16051 * gst/gstutils.c: (gst_element_state_get_name):
16053 * gst/gstvalue.c: (_gst_value_initialize):
16057 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
16059 * check/gst-libs/controller.c:
16060 Header include fix.
16061 * gst/base/gstbasetransform.c:
16062 (gst_base_transform_default_prepare_buf),
16063 (gst_base_transform_handle_buffer):
16064 * gst/base/gstbasetransform.h:
16065 Some more basetransform changes and fixes to enable sub-classes
16066 that modify buffer metadata only.
16067 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16068 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16069 (gst_capsfilter_prepare_buf):
16070 If the output pad has fixed allowed caps and input buffers
16071 don't have any, set the fixed caps on outgoing buffers.
16073 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
16074 * check/elements/identity.c: (GST_START_TEST):
16075 Make the error a little clearer when the test fails because
16076 identity made a copy of the buffer.
16077 * docs/gst/gstreamer-sections.txt:
16078 New symbols in gstbasetransform.h
16079 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16080 (gst_base_transform_init), (gst_base_transform_transform_size),
16081 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16082 (gst_base_transform_default_prepare_buf),
16083 (gst_base_transform_get_unit_size),
16084 (gst_base_transform_buffer_alloc),
16085 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16086 (gst_base_transform_change_state),
16087 (gst_base_transform_set_passthrough),
16088 (gst_base_transform_set_in_place),
16089 (gst_base_transform_is_in_place):
16090 * gst/base/gstbasetransform.h:
16091 Change BaseTransform to separate in_place operate from same_caps
16092 output. in_place implies that the element can perform the transform
16093 on incoming buffers in-place, even if the caps on the output are
16095 Sub-class elements can now implement special buffer allocation
16096 methods for outgoing buffers if they wish to.
16097 Big documentation addition.
16098 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16099 * gst/elements/gstelements.c:
16100 Changes for basetransform modifications.
16101 * gst/elements/Makefile.am:
16102 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16103 Compile fix. Extra debug output.
16105 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16107 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16109 add tests for valid pad naming
16110 * gst/check/gstcheck.c: (gst_check_log_message_func),
16111 (gst_check_log_critical_func):
16113 remove printing of code, it is fragile when the code contains
16114 % and the line number is enough info
16115 * gst/check/gstcheck.h:
16116 * gst/gstpad.c: (gst_pad_template_new):
16119 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16122 say what CHECK flags we use
16123 * docs/libs/gstreamer-libs.types:
16124 * libs/gst/controller/Makefile.am:
16125 * libs/gst/controller/gst-controller.c:
16126 * libs/gst/controller/gst-controller.h:
16127 * libs/gst/controller/gst-helper.c:
16128 * libs/gst/controller/gst-interpolation.c:
16129 * libs/gst/controller/gstcontroller.c:
16130 * libs/gst/controller/gsthelper.c:
16131 * libs/gst/controller/gstinterpolation.c:
16132 * tools/gst-inspect.c: (print_plugin_info):
16133 we don't use dashes in header names
16135 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16137 * check/Makefile.am:
16138 * check/gst/.cvsignore:
16139 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16140 (gst_pipeline_suite), (main):
16141 adding a test for pipelines and state changes
16142 * gst/gstutils.c: (get_state_func):
16144 * gstreamer.spec.in:
16147 2005-09-08 Michael Smith <msmith@fluendo.com>
16149 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16150 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16151 (gst_file_src_is_seekable), (gst_file_src_get_size),
16152 (gst_file_src_start):
16153 * gst/elements/gstfilesrc.h:
16154 Various fixes for unseekable, unmmapable, and non-normal files, so
16155 that fallback to read() rather than mmap() works.
16156 * gst/gstevent.c: (gst_event_new_newsegment):
16157 Allow newsegment events with segment_start == segment_end, as will
16158 correctly happen if you use filesrc on a zero-size file, for
16161 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16163 * gst/gstplugin.c: (gst_plugin_load_file):
16164 Call g_module_close when we don't load the module
16166 * gst/registries/gstlibxmlregistry.c:
16167 (gst_xml_registry_get_property):
16168 Port leak fix from 0.8
16170 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16172 * docs/gst/gstreamer-docs.sgml:
16173 * docs/gst/tmpl/.cvsignore:
16174 * docs/gst/tmpl/gsttrace.sgml:
16175 * docs/gst/tmpl/gsttrashstack.sgml:
16178 * gst/gstelement.h:
16180 * gst/gstmessage.c:
16181 * gst/gstmessage.h:
16184 * gst/gsttaginterface.c:
16185 * gst/gsttaginterface.h:
16186 * gst/gsttaglist.c:
16187 * gst/gsttaglist.h:
16188 * gst/gsttagsetter.c:
16189 * gst/gsttagsetter.h:
16192 * gst/gsttrashstack.c:
16193 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16194 inlined docs for gsttrace, gsttrashstack
16196 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16199 * gst/elements/gstbufferstore.h:
16200 * gst/elements/gsttypefindelement.c:
16201 * gst/elements/gsttypefindelement.h:
16203 * gst/gsttypefind.c:
16204 * gst/gsttypefind.h:
16205 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16206 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16207 (gst_type_find_factory_dispose),
16208 (gst_type_find_factory_unload_thyself),
16209 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16210 (gst_type_find_factory_get_caps),
16211 (gst_type_find_factory_get_extensions),
16212 (gst_type_find_factory_call_function):
16213 * gst/gsttypefindfactory.h:
16214 * gst/registries/gstlibxmlregistry.c:
16215 * gst/registries/gstxmlregistry.c:
16216 splitted gsttypefind into gsttypefind, gsttypefindfactory
16218 2005-09-07 Andy Wingo <wingo@pobox.com>
16220 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16221 condition whereby the pad's task function is entered before the
16222 pad_mode variable was set.
16224 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16226 * gst/gstpad.c: (gst_pad_alloc_buffer):
16227 Catch misbehaving pad_alloc functions that don't
16228 set up caps and do it for them.
16230 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16232 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16233 test for pipe!=NULL
16234 * docs/gst/tmpl/.cvsignore:
16235 * docs/gst/tmpl/gstmemchunk.sgml:
16236 * docs/gst/tmpl/gstparse.sgml:
16237 * docs/gst/tmpl/gsttaglist.sgml:
16238 * docs/gst/tmpl/gsttagsetter.sgml:
16239 * docs/gst/tmpl/gsttypefind.sgml:
16240 * docs/gst/tmpl/gsttypefindfactory.sgml:
16241 * gst/gstmemchunk.c:
16244 * gst/gsttaginterface.c:
16245 * gst/gsttypefind.c:
16246 * gst/gsttypefind.h:
16249 === release 0.9.2 ===
16251 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
16256 releasing 0.9.2, "South"
16258 2005-09-05 Andy Wingo <wingo@pobox.com>
16260 * gst/registries/gstxmlregistry.h:
16261 * gst/registries/gstxmlregistry.c: Um... resurrect...
16263 * gst/registries/gstxmlregistry.h:
16264 * gst/registries/gstxmlregistry.c: and update to newer API.
16265 Incidentally they should be a bit faster now that they don't have
16268 2005-09-05 Andy Wingo <wingo@pobox.com>
16270 * gst/registries/gstxmlregistry.h:
16271 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16272 replaced by the libxml registry a while back
16274 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16276 * docs/gst/tmpl/gstplugin.sgml:
16277 * gst/elements/gstelements.c:
16279 * gst/gstplugin.c: (gst_plugin_register_func),
16280 (gst_plugin_desc_copy), (gst_plugin_desc_free),
16281 (gst_plugin_get_source):
16283 * gst/registries/gstlibxmlregistry.c: (load_plugin),
16284 (gst_xml_registry_save_plugin):
16285 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16286 (gst_xml_registry_save_plugin):
16287 * tools/gst-inspect.c: (print_plugin_info):
16288 add a "source" plugin description field, to represent the source
16289 module this plugin is a part of. By default GST_PLUGIN_DEFINE
16290 will set it to PACKAGE, which is automake's idea of the name of
16291 the source project.
16293 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16298 * docs/Makefile.am:
16299 * docs/faq/Makefile.am:
16300 * docs/gst/tmpl/gstelement.sgml:
16301 * docs/gst/tmpl/gsttypes.sgml:
16302 * docs/htmlinstall.mak:
16303 * docs/manual/Makefile.am:
16304 * docs/pwg/Makefile.am:
16305 reorganize doc build a little
16306 split out docbook and gtk-doc stuff
16307 have two separate --enable's and enable them through autogen
16308 but disable by default in configure (to be similar to other
16310 * gstreamer.spec.in:
16311 clean up docs install
16329 translation updates
16331 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
16333 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16336 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16337 (gst_fake_sink_change_state):
16338 Make state change function thread-safe.
16340 * gst/gstpad.c: (gst_pad_alloc_buffer):
16341 Set offset on generic buffer allocated by fallback.
16343 2005-09-03 Stefan Kost <ensonic@users.sf.net>
16345 * docs/gst/gstreamer-sections.txt:
16346 * docs/gst/tmpl/gstelement.sgml:
16348 * libs/gst/controller/gst-controller.c:
16349 (gst_controlled_property_set_interpolation_mode),
16350 (gst_controlled_property_new),
16351 (gst_controller_find_controlled_property):
16352 run the wingo-magic script against the docs
16354 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16356 * docs/gst/gstreamer-docs.sgml:
16357 * docs/gst/gstreamer-sections.txt:
16358 * docs/gst/tmpl/.cvsignore:
16359 * docs/gst/tmpl/gstelementdetails.sgml:
16360 * docs/gst/tmpl/gstelementfactory.sgml:
16363 * gst/gstelementfactory.c:
16364 * gst/gstelementfactory.h:
16365 merged elementdetails docs into elementfactory docs
16368 2005-09-02 Andy Wingo <wingo@pobox.com>
16370 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16371 consider this enum an enum and not a flags.
16373 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16375 * docs/gst/gstreamer-docs.sgml:
16376 * docs/gst/tmpl/.cvsignore:
16377 * docs/gst/tmpl/gstghostpad.sgml:
16378 * docs/gst/tmpl/gstiterator.sgml:
16379 * docs/gst/tmpl/gstmacros.sgml:
16380 * docs/gst/tmpl/gstrealpad.sgml:
16381 * docs/gst/tmpl/gstregistry.sgml:
16382 * docs/gst/tmpl/gstregistrypool.sgml:
16383 * docs/gst/tmpl/gststructure.sgml:
16384 * docs/gst/tmpl/gstsystemclock.sgml:
16385 * docs/gst/tmpl/gsttrace.sgml:
16386 * gst/gstghostpad.c:
16388 * gst/gstmemchunk.c:
16389 * gst/gstmemchunk.h:
16391 * gst/gstregistry.c:
16392 * gst/gstregistrypool.c:
16393 * gst/gststructure.c:
16394 * gst/gstsystemclock.c:
16397 2005-09-02 Andy Wingo <wingo@pobox.com>
16399 * gst/gstelement.h (GstState): Renamed from GstElementState,
16400 changed to be a normal enum instead of flags.
16401 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16402 munged to be GST_STATE_CHANGE_*.
16403 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16404 work with the new state representation.
16405 (GstStateChange): New enumeration of possible state transitions.
16406 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16407 (GstElementClass::change_state): Pass the GstStateChange along as
16408 an argument. Helps language bindings, so they don't have to use
16409 tricky lock-needing macros like GST_STATE_CHANGE ().
16411 * scripts/update-states (file): New script. Run it on a file to
16412 update it for state naming and API changes. Updates files in
16415 * All files updated for the new API.
16417 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
16419 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16420 * gst/gstutils.c: (gst_util_set_value_from_string),
16421 (gst_util_set_object_arg):
16422 fix a bunch of unchecked return values
16423 * tools/gst-complete.c: (main):
16424 * gstreamer.spec.in:
16427 2005-09-01 Wim Taymans <wim@fluendo.com>
16429 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16430 (gst_base_sink_event), (gst_base_sink_do_sync),
16431 (gst_base_sink_handle_event):
16432 * gst/base/gstbasesink.h:
16433 Handle newsegments more correctly.
16438 * gst/gstevent.c: (gst_event_new_newsegment):
16439 A newsegment cannot have a start_time of -1
16441 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
16443 * win32/gstenumtypes.c:
16444 * win32/gstenumtypes.h:
16447 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16449 * libs/gst/controller/gst-controller.c:
16450 (gst_controlled_property_set_interpolation_mode),
16451 (gst_controlled_property_new):
16452 fixed boolean again
16454 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
16456 * docs/faq/gst-uninstalled:
16461 * gst/gstutils.c: (gst_element_link_filtered):
16463 add gst_element_link_filtered
16465 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16467 * docs/gst/gstreamer-docs.sgml:
16468 * docs/gst/gstreamer-sections.txt:
16469 * docs/gst/tmpl/.cvsignore:
16470 * docs/gst/tmpl/gsterror.sgml:
16471 * docs/gst/tmpl/gstfilter.sgml:
16472 * docs/gst/tmpl/gsturihandler.sgml:
16473 * docs/gst/tmpl/gsturitype.sgml:
16474 * docs/gst/tmpl/gstutils.sgml:
16475 * docs/gst/tmpl/gstxml.sgml:
16480 * gst/gsturitype.c:
16483 inlined more docs, fixed double id-ref
16485 2005-08-31 Wim Taymans <wim@fluendo.com>
16487 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16488 (gst_base_transform_handle_buffer):
16489 Passthrough elements don't need the caps as they don't care.
16491 2005-08-31 Wim Taymans <wim@fluendo.com>
16493 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16494 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16495 Don't leak refcounts on buffers.
16497 2005-08-31 Wim Taymans <wim@fluendo.com>
16499 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16500 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16501 (gst_base_transform_chain), (gst_base_transform_change_state):
16502 * gst/base/gstbasetransform.h:
16503 Handle the case where we are not negotiated more gracefully.
16505 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
16507 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16508 (gst_file_src_map_region):
16509 Set READONLY flag on mmap'ed buffers, otherwise
16510 gst_buffer_make_writable() won't work properly (#314708).
16512 2005-08-31 Wim Taymans <wim@fluendo.com>
16514 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16515 passthrough elements can even do inplace on non writable
16516 buffers (as they don't touch them).
16518 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16520 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16521 (gst_test_mono_source_set_property),
16522 (gst_test_mono_source_class_init), (GST_START_TEST),
16523 (gst_controller_suite):
16524 more tests (hehe I have the most)
16526 describe popping messages whenusing mulltiple sources
16527 * libs/gst/controller/gst-controller.c:
16528 (gst_controlled_property_set_interpolation_mode),
16529 (gst_controlled_property_new):
16530 * libs/gst/controller/gst-controller.h:
16531 * libs/gst/controller/gst-interpolation.c:
16532 implement boolean properties
16534 2005-08-31 Wim Taymans <wim@fluendo.com>
16536 * gst/gstminiobject.c: (gst_mini_object_ref):
16537 Cannot assert that the refcount has to be positive
16538 since a disposed object can be resurrected.
16540 2005-08-31 Wim Taymans <wim@fluendo.com>
16542 * gst/gstpad.c: (gst_pad_init):
16543 Revert change, need to first fix badly behaving
16546 2005-08-30 Wim Taymans <wim@fluendo.com>
16548 * check/elements/fakesrc.c: (setup_fakesrc):
16549 * check/elements/identity.c: (setup_identity):
16550 Activate pads before using them.
16552 2005-08-30 Wim Taymans <wim@fluendo.com>
16554 * gst/base/gstadapter.c: (gst_adapter_flush):
16555 Flushing out 0 bytes is ok for this function.
16557 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16558 no newsegment gives a warning and sets the start/stop to
16561 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16562 (gst_base_transform_set_passthrough):
16565 * gst/gstminiobject.c: (gst_mini_object_ref):
16566 Check refcount here too.
16568 * gst/gstpad.c: (gst_pad_init):
16569 Pads are initially flushing and refusing data.
16571 * gst/gstutils.c: (gst_element_link_pads_filtered):
16572 When adding a capsfilter element make sure it has the
16573 same state as the parent bin.
16575 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16577 * docs/gst/tmpl/.cvsignore:
16578 * docs/gst/tmpl/gstformat.sgml:
16579 * docs/gst/tmpl/gstversion.sgml:
16583 * gst/gstversion.h.in:
16584 more docs and two more inlined
16586 2005-08-30 Wim Taymans <wim@fluendo.com>
16588 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
16589 Don't sync to clock.
16591 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16593 * docs/gst/gstreamer-sections.txt:
16594 ultral33t func10ns deserve to appear in the docs actually
16595 * docs/gst/tmpl/.cvsignore:
16596 * docs/gst/tmpl/gstcompat.sgml:
16597 * docs/gst/tmpl/gstconfig.sgml:
16598 * gst/check/gstcheck.c:
16600 * gst/gstconfig.h.in:
16603 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16605 * docs/gst/tmpl/.cvsignore:
16606 * docs/gst/tmpl/gstquery.sgml:
16607 * docs/gst/tmpl/gstutils.sgml:
16610 inlined and extended docs
16612 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16614 * check/gst-libs/controller.c: (GST_START_TEST),
16615 (gst_controller_suite):
16617 * docs/gst/tmpl/gstutils.sgml:
16618 * docs/libs/gstreamer-libs-sections.txt:
16619 * docs/libs/tmpl/gstdataprotocol.sgml:
16621 * examples/controller/audio-example.c: (main):
16622 controller example works now
16625 * tools/gst-inspect.c: (print_element_properties_info):
16626 show param spec flags
16628 2005-08-29 Andy Wingo <wingo@pobox.com>
16630 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
16632 2005-08-28 Andy Wingo <wingo@pobox.com>
16634 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
16635 as having two arguments instead of just one. Allows superclasses
16636 to access information on subclasses -- see the terrible for() loop
16637 in gtype.c:g_type_create_instance for the reason why. All callers
16640 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16642 * docs/design/part-messages.txt:
16644 * docs/gst/tmpl/.cvsignore:
16645 * docs/gst/tmpl/gstcaps.sgml:
16646 * docs/gst/tmpl/gstclock.sgml:
16652 * gst/gstmessage.c:
16653 added descriptions for bus and message
16654 inline caps and clock docs
16656 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16658 * gst/gstmessage.c:
16659 * gst/gstmessage.h:
16662 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16664 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16667 2005-08-26 Andy Wingo <wingo@pobox.com>
16669 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
16670 element_set_state's return val.
16671 (test_2_elements): Add test that's been disabled for months.
16673 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
16674 can-activate-pull properties.
16676 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
16677 can-activate-pull properties. Implement is_seekable so fakesrc can
16678 operate in pull mode.
16680 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
16682 (gst_base_sink_activate, gst_base_sink_activate_pull)
16683 (gst_base_sink_activate_push): Make activation mode choosing work.
16685 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
16686 is right. Make pull mode work. Post an eos before pausing in pull
16688 (gst_base_sink_change_state): Pay attention to the core's
16689 change_state() return val.
16691 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
16692 has-getrange properties. Cleanups.
16694 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
16695 has_getrange and replace with can_activate_pull and
16698 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
16699 locking comments. Remove has_loop, has_chain and replace with
16700 can_activate_pull and can_activate_push.
16702 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
16705 * examples/Makefile.am:
16706 * examples/metadata/Makefile.am:
16707 * examples/metadata/read-metadata.c: (message_loop),
16708 (have_pad_handler), (make_pipeline), (print_tag), (main):
16709 Add metadata reading example that loops over a list of filenames,
16710 dumping any tags found.
16712 * gst/gstbus.c: (gst_bus_dispose):
16713 * gst/gstelement.c: (gst_element_dispose):
16714 Release a few potentially-held references in dispose.
16716 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16718 * docs/gst/tmpl/gstminiobject.sgml:
16719 do *not* add tmpl/*.sgml files to CVS!
16721 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16723 * libs/gst/bytestream/.cvsignore:
16724 * libs/gst/bytestream/Makefile.am:
16725 * libs/gst/bytestream/adapter.c:
16726 * libs/gst/bytestream/adapter.h:
16727 * libs/gst/bytestream/bytestream.c:
16728 * libs/gst/bytestream/bytestream.h:
16729 * libs/gst/bytestream/filepad.c:
16730 * libs/gst/bytestream/filepad.h:
16731 removing obsolete files
16733 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16735 * docs/gst/gstreamer-docs.sgml:
16736 * docs/libs/gstreamer-libs-docs.sgml:
16737 disabed additional index entries again, as this makes docs-gen just
16738 slow and they aren't useful yet
16739 * docs/libs/gstreamer-libs-sections.txt:
16740 little -section.txt cleanup for libs
16742 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
16744 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16745 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
16746 fix up some debugging
16747 (gst_base_transform_get_unit_size),
16748 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16749 (gst_base_transform_handle_buffer):
16750 * gst/base/gstbasetransform.h:
16751 handle and store timed NEWSEGMENT events so that subclasses that
16752 calculate time by counting samples have a segment_start time they
16753 need to add to their timestamps - see audioresample
16755 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16758 removed ';' from the end of macro defs
16759 * docs/gst/gstreamer-docs.sgml:
16760 * docs/gst/gstreamer-sections.txt:
16761 * docs/gst/tmpl/.cvsignore:
16763 * gst/gstelement.c: (gst_element_class_init),
16764 (gst_element_set_state), (activate_pads),
16765 (gst_element_save_thyself):
16766 * gst/gstevent.c: (gst_event_new_newsegment):
16768 * gst/gstiterator.c:
16769 * gst/gstiterator.h:
16772 * gst/gstutils.c: (gst_pad_query_convert):
16774 fixed parameter name mismatches between source, header and docs
16775 added some more docs, resolved the last batch of unused elements in
16776 docs (now someone needs to doc them)
16778 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16780 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
16781 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
16782 don't walk through the plugins backwards. Where is all this
16783 reversed logic coming from ?
16785 2005-08-25 Wim Taymans <wim@fluendo.com>
16787 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16788 (gst_base_transform_transform_size),
16789 (gst_base_transform_configure_caps),
16790 (gst_base_transform_get_unit_size),
16791 (gst_base_transform_buffer_alloc),
16792 (gst_base_transform_change_state):
16793 * gst/base/gstbasetransform.h:
16794 Cache caps unit_size.
16795 Make sure we cannot negotiate up and downstream at the
16798 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16800 * gst/gst.c: (init_pre), (init_post):
16801 register the installed plugin path after the env var
16802 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
16803 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
16804 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
16805 directories, so the tests can prefer uninstalled over installed
16807 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16809 * gst/base/gstbasetransform.h:
16814 2005-08-25 Wim Taymans <wim@fluendo.com>
16816 * gst/gstbin.c: (bin_bus_handler):
16817 Be a bit more conservative about the posted message.
16819 * gst/gstbus.c: (gst_bus_post):
16820 Some cleanups, warn wrong return values.
16822 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
16824 * check/gst/gstbin.c: (GST_START_TEST):
16825 * gst/gstbin.c: (bin_bus_handler):
16826 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
16827 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
16828 (gst_message_new_warning), (gst_message_new_tag),
16829 (gst_message_new_state_changed), (gst_message_new_segment_start),
16830 (gst_message_new_segment_done), (gst_message_new_custom):
16831 * gst/gstmessage.h:
16832 * tools/gst-launch.c: (event_loop):
16833 * tools/gst-md5sum.c: (event_loop):
16834 Revert unpopular change for GST_MESSAGE_SRC to GObject.
16836 2005-08-25 Wim Taymans <wim@fluendo.com>
16838 * check/generic/states.c: (GST_START_TEST):
16839 Cleanup can be done at the end.
16841 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
16842 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
16843 (gst_task_get_state), (gst_task_start), (gst_task_pause):
16844 Oh boy.. Thanks for finding this, Thomas.
16846 2005-08-25 Stefan Kost <ensonic@users.sf.net>
16848 * docs/gst/gstreamer.types:
16849 added missing types
16851 2005-08-25 Stefan Kost <ensonic@users.sf.net>
16853 * docs/gst/gstreamer-docs.sgml:
16854 * docs/gst/gstreamer-sections.txt:
16855 * docs/gst/tmpl/.cvsignore:
16857 * gst/gstiterator.c:
16859 * gst/registries/gstxmlregistry.h:
16860 added missing classes and symbols (123 more to go)
16861 removed removed symbols from section file
16862 fixed many doc-comments
16864 2005-08-24 Wim Taymans <wim@fluendo.com>
16866 * check/generic/states.c: (GST_START_TEST):
16867 Make sure all tasks are stopped.
16869 * check/gst/gstbin.c: (GST_START_TEST):
16870 Unref after usage for proper valgrinding.
16872 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
16873 Really wait for the task to stop before destroying the
16876 * gst/gstqueue.c: (gst_queue_sink_activate_push),
16877 (gst_queue_src_activate_push):
16878 Small cleanups. Don't stop the task when we did not start
16881 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
16882 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
16883 (gst_task_get_state), (gst_task_start), (gst_task_pause),
16886 Protect the stream lock with the object lock.
16887 Disallow setting the stream lock when running.
16888 Add cleanup_all to wait for the threadpool to finish.
16889 Remove code to autoallocate a mutex if none was provided.
16890 Add _join() to wait for a task to stop.
16891 Protect the thread pool with a global lock.
16893 2005-08-24 Wim Taymans <wim@fluendo.com>
16895 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16896 (gst_base_sink_get_times), (gst_base_sink_do_sync),
16897 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
16898 * gst/base/gstbasesink.h:
16899 Handle newsegment events correctly.
16900 Drop buffers out of the segment range.
16902 2005-08-22 Andy Wingo <wingo@pobox.com>
16904 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
16905 macro, implements an interface and gstimplementsinterface for a
16908 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
16910 * check/Makefile.am:
16911 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
16912 add a test that does a bunch of state changes on elements
16913 needs some fixing for valgrind
16914 * check/states/sinks.c: (gst_object_suite):
16917 add prototype for gst_caps_is_equal_fixed
16919 * gst/gstregistrypool.c:
16922 2005-08-24 Andy Wingo <wingo@pobox.com>
16924 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
16925 convert a negative value. Doesn't make much sense. Mostly this is
16926 here to force callers to ensure -1 maps to -1.
16928 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
16930 * docs/pwg/advanced-types.xml:
16931 Well done to Michael for catching my deliberate introduction
16932 of this spelling mistake.
16933 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
16934 * gst/gstelement.h:
16935 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
16936 unlink pads before removing the element from the bin.
16938 2005-08-24 Andy Wingo <wingo@pobox.com>
16940 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
16941 the same thing as GST_DEBUG=*:4.
16942 (parse_debug_level, parse_debug_category): New helper parsers.
16944 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
16946 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16947 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
16948 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
16949 (gst_base_transform_buffer_alloc),
16950 (gst_base_transform_handle_buffer):
16951 use gboolean return values and pointers to size so we can use the
16952 full GST_BUFFER_SIZE range (guint) for buffer sizes
16953 use GstPadDirection for transform_caps
16954 * gst/base/gstbasetransform.h:
16955 rename get_size to get_unit_size since that's what it is
16956 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
16957 use GstPadDirection for transform_caps
16958 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
16960 cleanup and debugging
16962 2005-08-24 Stefan Kost <ensonic@users.sf.net>
16964 * gst/gstelement.c: (gst_element_class_init),
16965 (gst_element_set_state), (activate_pads),
16966 (gst_element_save_thyself):
16967 * tools/gst-compprep.c: (main):
16968 * tools/gst-inspect.c: (print_element_properties_info):
16969 * tools/gst-xmlinspect.c: (print_element_properties):
16970 Fixed long standing mem-leak
16972 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
16974 * check/gst/gstbin.c: (GST_START_TEST):
16975 * gst/gstbin.c: (bin_bus_handler):
16976 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
16977 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
16978 (gst_message_new_warning), (gst_message_new_tag),
16979 (gst_message_new_state_changed), (gst_message_new_segment_start),
16980 (gst_message_new_segment_done), (gst_message_new_custom):
16981 * gst/gstmessage.h:
16982 * tools/gst-launch.c: (event_loop):
16983 * tools/gst-md5sum.c: (event_loop):
16984 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
16985 that applications can sensibly post custom messages with references
16986 to their own objects.
16988 2005-08-24 Andy Wingo <wingo@pobox.com>
16990 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
16993 2005-08-24 Wim Taymans <wim@fluendo.com>
16995 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16996 (gst_base_transform_transform_caps),
16997 (gst_base_transform_transform_size),
16998 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16999 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17000 (gst_base_transform_handle_buffer):
17001 * gst/base/gstbasetransform.h:
17002 Many fixes and new features added by Thomas. Can now also do
17003 transforms with variable sizes and a custom fixate_caps function.
17005 2005-08-24 Wim Taymans <wim@fluendo.com>
17007 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17011 Cast to ClockTime before formatting to time.
17016 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17018 * check/gst-libs/controller.c: (GST_START_TEST),
17019 (gst_controller_suite):
17020 * docs/gst/tmpl/gstcaps.sgml:
17021 * docs/gst/tmpl/gstghostpad.sgml:
17022 * docs/gst/tmpl/gstquery.sgml:
17023 * docs/gst/tmpl/gstutils.sgml:
17024 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17025 (gst_object_sink_values), (gst_object_get_value_arrays),
17026 (gst_object_get_value_array):
17027 gracefully handle helper method calls to objects that are not beeing
17028 controlled, added test case for that
17030 2005-08-23 Wim Taymans <wim@fluendo.com>
17032 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17033 (gst_event_new_newsegment), (gst_event_parse_newsegment),
17034 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17035 (gst_event_parse_qos), (gst_event_new_seek),
17036 (gst_event_parse_seek):
17038 Some more debugging output and doc cleanups.
17040 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17041 Fix possible deadlock.
17043 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17045 * docs/gst/gstreamer-docs.sgml:
17046 * docs/gst/gstreamer-sections.txt:
17047 * docs/gst/gstreamer.types:
17048 * docs/gst/tmpl/.cvsignore:
17051 * gst/gstelement.c:
17053 added 100 symbols from gstreamer-unused.txt to the right sections
17054 fixed more broken comments
17055 added GstBus to docs
17057 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17059 * docs/gst/gstreamer-sections.txt:
17060 * docs/gst/tmpl/.cvsignore:
17061 * docs/gst/tmpl/gstbin.sgml:
17062 * docs/gst/tmpl/gstbuffer.sgml:
17063 * gst/base/gstbasesrc.c:
17064 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17067 * tools/gst-launch.1.in:
17068 inlined more doc comments, added missing comments and fixed comments
17071 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
17073 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17077 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17079 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17080 * gst/gststructure.h:
17081 add a fixate function for booleans; add a FIXME that these func
17082 names should probably be gst_structure_fixate_*
17084 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17086 * docs/gst/gstreamer-docs.sgml:
17087 * docs/gst/gstreamer-sections.txt:
17089 * gst/gstbin.c: (gst_bin_get_type),
17090 (gst_bin_child_proxy_get_child_by_index),
17091 (gst_bin_child_proxy_get_children_count),
17092 (gst_bin_child_proxy_init):
17093 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17094 (gst_child_proxy_get_child_by_index),
17095 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17096 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17097 (gst_child_proxy_get), (gst_child_proxy_set_property),
17098 (gst_child_proxy_set_valist), (gst_child_proxy_set),
17099 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17100 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17101 * gst/gstchildproxy.h:
17102 * gst/parse/grammar.y:
17103 * tools/gst-inspect.c: (print_interfaces),
17104 (print_element_properties_info), (print_element_info):
17105 ported gstchildproxy over from 0.8
17106 ported gst-inspect fixes and enhancements over from 0.8
17108 2005-08-22 Wim Taymans <wim@fluendo.com>
17110 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17111 (gst_base_transform_handle_buffer):
17112 Also call the transform function if we have ANY caps.
17114 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17117 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17119 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17120 Don't pretend to handle seek events if the source is not seekable
17122 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17124 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17125 Remove extra parameter to debug output
17127 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17128 (gst_base_src_do_seek), (gst_base_src_activate_push):
17129 Fix seek event handling.
17131 * gst/gstpipeline.c: (gst_pipeline_change_state):
17132 * gst/gstqueue.c: (gst_queue_handle_sink_event),
17133 (gst_queue_src_activate_push):
17134 Don't start the src pad task on FLUSH_STOP if the pad
17138 2005-08-22 Wim Taymans <wim@fluendo.com>
17140 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17141 Added check for gst_static_caps_get() refcounting.
17143 2005-08-22 Wim Taymans <wim@fluendo.com>
17145 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17146 Make _static_caps_get() refcounting sane.
17148 * gst/gstelement.c: (gst_element_set_state):
17149 Add g_return_val_if_fail() to protect against segfaults.
17151 2005-08-22 Stefan Kost <ensonic@users.sf.net>
17153 * docs/gst/tmpl/gstevent.sgml:
17156 inlined remaining docs, added missing doc comments
17158 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
17160 * check/gst/gstbin.c: (GST_START_TEST):
17161 since we don't know when preroll is done, use refcount range
17163 * gst/check/gstcheck.h:
17164 add macro for checking refcount range
17166 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17168 * check/Makefile.am:
17169 clean up environment for when registry gets built versus
17170 when actual tests are run; valgrind seems to not report
17171 leaks if GST_PLUGIN_PATH is set to some specific values
17172 * check/gst/gstbin.c: (GST_START_TEST):
17173 add more refcounting checks; maybe this exposes a
17175 * common/check.mak:
17176 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17177 * gst/check/gstcheck.h:
17178 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17179 (gst_bin_change_state):
17180 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17181 add/fix debugging/whitespace
17183 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17185 * check/gst/gstevent.c: (event_probe), (test_event),
17187 Er, don't call gst_bin_watch_for_state_change you idiot.
17189 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17191 * check/Makefile.am:
17192 Use CHECK_CFLAGS and CHECK_LIBS
17193 * check/gst/gstevent.c: (event_probe), (test_event),
17196 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17197 (gst_base_src_start), (gst_base_src_stop),
17198 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17199 (gst_base_src_change_state):
17200 Sprinkle gst_base_src_stop liberally around error paths to fix
17201 problems reusing a source after failed state changes.
17202 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17203 (helper_find_suggest), (gst_type_find_helper):
17204 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17206 * docs/gst/tmpl/gstevent.sgml:
17207 Migrate part of the docs from the SGML file. Wait for ensonic to
17208 tell me how I did it wrong ;)
17209 * tools/gst-typefind.c: (main):
17210 Extra robustness to state changes between files.
17212 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17214 * check/Makefile.am:
17215 don't valgrind the controller test - it's leaking - Stefan, HELP
17216 * gst/check/gstcheck.c: (gst_check_message_error),
17217 (gst_check_chain_func), (gst_check_setup_element),
17218 (gst_check_teardown_element), (gst_check_setup_src_pad),
17219 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17220 (gst_check_teardown_sink_pad):
17221 * gst/check/gstcheck.h:
17222 add a bunch of methods to set up elements, and src and sink pads
17223 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17224 * check/elements/identity.c: (setup_identity), (cleanup_identity),
17227 * gst/gstmessage.c:
17229 whitespace/doc fixes
17231 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17233 * gst/gstelement.h:
17234 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17235 be handled by the application and not always printed as well
17237 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17239 * check/Makefile.am:
17241 * gst/check/gstcheck.c: (gst_check_message_error):
17242 * gst/check/gstcheck.h:
17243 add a fail_unless_equals_int
17244 add fail_unless for error messages
17246 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17248 * check/Makefile.am:
17250 * common/Makefile.am:
17251 * common/check.mak:
17253 factor out some of the common stuff so we can use it
17255 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17257 * check/Makefile.am:
17258 * check/gst/gstiterator.c: (GST_START_TEST):
17259 * check/gst/gstsystemclock.c: (GST_START_TEST),
17260 (gst_systemclock_suite):
17261 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17263 valgrind more tests
17265 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17267 * check/elements/.cvsignore:
17268 * check/elements/gstfakesrc.c:
17269 rename to name of element
17270 * check/elements/identity.c: (chain_func), (event_func),
17271 (setup_identity), (cleanup_identity), (GST_START_TEST),
17272 (identity_suite), (main):
17273 add a test for identity
17274 * check/Makefile.am:
17275 * pkgconfig/Makefile.am:
17276 * pkgconfig/gstreamer-check.pc.in:
17277 * pkgconfig/gstreamer-check-uninstalled.pc.in:
17281 move the check stuff to a library that gets installed
17282 * check/gst-libs/controller.c: (GST_START_TEST):
17283 * check/gst-libs/gdp.c:
17284 * check/gst/gst.c: (GST_START_TEST):
17285 * check/gst/gstbin.c:
17286 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17287 * check/gst/gstbus.c:
17288 * check/gst/gstcaps.c: (GST_START_TEST):
17289 * check/gst/gstelement.c:
17290 * check/gst/gstghostpad.c:
17291 * check/gst/gstiterator.c:
17292 * check/gst/gstmessage.c:
17293 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17294 * check/gst/gstobject.c:
17295 * check/gst/gstpad.c: (GST_START_TEST):
17296 * check/gst/gststructure.c: (GST_START_TEST):
17297 * check/gst/gstsystemclock.c: (GST_START_TEST),
17298 (gst_systemclock_suite):
17299 * check/gst/gsttag.c: (gst_tag_suite):
17300 * check/gst/gstvalue.c:
17301 * check/pipelines/cleanup.c:
17302 * check/pipelines/simple_launch_lines.c:
17303 * check/states/sinks.c:
17304 change include statement
17306 * docs/gst/gstreamer-sections.txt:
17307 * docs/gst/tmpl/gstpad.sgml:
17308 document more pad stuff
17309 * gst/gstminiobject.c: (gst_mini_object_ref),
17310 (gst_mini_object_unref):
17313 2005-08-19 Stefan Kost <ensonic@users.sf.net>
17315 * docs/gst/tmpl/gst.sgml:
17317 eliminate another tmpl file, fix spelling in the long-description
17319 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17321 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17322 (test_event), (timediff), (gstevents_suite):
17323 Should fix build on 64-bit arch's
17325 2005-08-18 Andy Wingo <wingo@pobox.com>
17327 Make sure that when a pipeline goes to PLAYING, that data has
17328 actually hit the sink.
17330 * check/states/sinks.c (test_sink): A sink that doesn't get any
17331 data shouldn't return SUCCESS for going to either PLAYING or
17332 PAUSED. Test also the return values on the way back down.
17334 * gst/gstelement.c (gst_element_set_state): When changing the
17335 state of an element currently changing state asynchronously, go to
17336 lost-state after commiting the pending state. Makes future calls
17337 to get_state continue to return ASYNC.
17339 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17340 ASYNC when going to PLAYING if we still don't have preroll, as can
17341 happen with live sources.
17343 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17345 * docs/pwg/advanced-types.xml:
17346 Hack long paragraph into 2 chunks as a workaround for buggy
17347 jadetex version in sid and breezy that loops infinitely and
17350 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17352 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17353 (test_event), (timediff), (gstevents_suite):
17354 Provide more error margin in clock measurements to allow for
17355 g_get_current_time inaccuracies.
17357 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17359 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17360 (test_event), (timediff), (gstevents_suite):
17361 Fix error message output so I might be able to tell why the
17362 test works here but fails on the build farm.
17364 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17366 * check/Makefile.am:
17367 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17368 (test_event), (timediff), (gstevents_suite), (main):
17371 * docs/design/part-seeking.txt:
17372 Spelling correction
17374 * docs/gst/tmpl/gstevent.sgml:
17375 * docs/gst/tmpl/gstfakesrc.sgml:
17378 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17379 Treat a buffer-without-newsegment the same as a receiving
17380 a newsegment not in time format, and disable syncing to the clock
17383 * gst/gstbus.c: (gst_bus_set_sync_handler):
17384 Assert if anyone tries to replace the existing sync_handler for bus,
17385 as only the owner should be setting it.
17388 Have a fixed set of custom event enums with events identified by
17389 their structure name (as in 0.8), rather than a free-for-all
17390 allowing collisions between enum values from different plugins.
17392 * gst/gstpad.c: (gst_pad_class_init):
17395 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17396 Handle out-of-band downstream events from the sending thread.
17398 2005-08-17 Andy Wingo <wingo@pobox.com>
17400 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17401 play-timeout==0 to mean no timeout at all. In that case, don't
17402 bother with a get_state or a warning, just return directly, even
17405 * gst/base/gstbasetransform.c: Debug changes.
17408 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17409 ensure bins post state change messages. A bit of a hack but I can't
17410 think of a way to avoid it.
17412 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17414 2005-08-16 Andy Wingo <wingo@pobox.com>
17416 * gst/base/gstadapter.h:
17417 * gst/base/gstadapter.c (gst_adapter_take): New function, like
17418 peek() but you own the data. Not terribly efficient atm.
17420 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17422 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17423 (gst_element_found_tags):
17425 Add two utility functions for tag handling.
17427 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17429 * docs/manual/advanced-dataaccess.xml:
17430 * docs/manual/basics-helloworld.xml:
17431 Fix docs to use _bin_add() before _link(), which fixes the examples
17432 with recent core versions (reported by Madhan Raj M
17433 <raj_madan@rediffmail.com>, #313199).
17435 2005-08-16 Wim Taymans <wim@fluendo.com>
17437 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17438 Added subtract checks.
17440 * docs/design/part-events.txt:
17441 Some more docs about newsegment
17443 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17446 * gst/gstcaps.c: (gst_caps_to_string):
17447 Add comments, cleanups.
17449 * gst/gstelement.c: (gst_element_save_thyself):
17452 * gst/gstvalue.c: (gst_value_collect_int_range),
17453 (gst_string_unwrap), (gst_value_union_int_int_range),
17454 (gst_value_union_int_range_int_range),
17455 (gst_value_intersect_int_int_range),
17456 (gst_value_intersect_int_range_int_range),
17457 (gst_value_intersect_double_double_range),
17458 (gst_value_intersect_double_range_double_range),
17459 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17460 (gst_value_subtract_int_range_int),
17461 (gst_value_subtract_double_range_double),
17462 (gst_value_subtract_double_range_double_range),
17463 (gst_value_subtract_from_list), (gst_value_subtract_list),
17464 (gst_value_can_compare), (gst_value_compare_fraction):
17465 Cleanups, add comments, remove unneeded asserts.
17467 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17469 * tools/gst-launch.c: (event_loop):
17470 don't convert NULL structures to strings
17472 2005-08-15 Stefan Kost <ensonic@users.sf.net>
17474 * docs/gst/gstreamer-sections.txt:
17475 made some defines private
17476 * docs/gst/tmpl/gstconfig.sgml:
17477 * docs/gst/tmpl/gstqueue.sgml:
17478 * docs/gst/tmpl/gsttaglist.sgml:
17479 * docs/gst/tmpl/gsttypes.sgml:
17480 * docs/gst/tmpl/gstutils.sgml:
17481 * docs/pwg/appendix-porting.xml:
17482 * gst/base/gstbasesink.h:
17483 * gst/base/gstbasesrc.c:
17484 * gst/base/gstbasesrc.h:
17485 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17486 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17487 * gst/gstelement.c: (gst_element_class_init):
17488 * gst/gstpad.c: (gst_pad_class_init):
17489 * gst/gstqueue.c: (gst_queue_class_init):
17490 * gst/gstxml.c: (gst_xml_class_init):
17491 documented all undocumented signal inline
17492 * libs/gst/controller/gst-controller.h:
17495 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17497 * docs/pwg/appendix-porting.xml:
17498 Document _set_link_function -> _set_setcaps_function.
17500 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17502 * check/Makefile.am:
17503 add a .check target for running the check
17504 * check/gst-libs/controller.c: (GST_START_TEST):
17506 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17507 complete checks for gstbuffer; would be nice if I could get the
17508 gcov stuff to work so I can see if I actually completed gstbuffer.c
17509 * check/gstcheck.h:
17510 add ASSERT_BUFFER_REFCOUNT
17512 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
17514 * docs/gst/gstreamer-sections.txt:
17515 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17517 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17518 spew out a warning if a tag that is already registered
17519 is re-registered, unless it is re-registered with a
17520 different type (#308438).
17522 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
17524 * docs/pwg/appendix-porting.xml:
17525 * docs/pwg/building-state.xml:
17526 Add some paragraphs about state changes in 0.9 to the PWG
17527 and the porting guide, in particular about the new meaning
17528 of GST_STATE_PAUSED and how to write state change functions
17529 with concurrent access by multiple threads in mind.
17531 2005-08-11 Stefan Kost <ensonic@users.sf.net>
17533 * docs/gst/gstreamer-docs.sgml:
17534 * docs/libs/gstreamer-libs-docs.sgml:
17535 added deprecation and since indexes
17536 * libs/gst/controller/gst-controller.c:
17537 * libs/gst/controller/gst-helper.c:
17541 2005-08-11 Wim Taymans <wim@fluendo.com>
17543 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17544 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17545 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17546 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17547 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17548 (gst_ghost_pad_set_target):
17549 Actually implement (re)setting the target on a ghostpad
17550 as described in the docs.
17552 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17554 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17555 Check whether GST_DEBUG_NO_COLOR environment variable is
17556 set and disable coloured debug output if that is the case.
17558 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17560 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17561 (gst_type_find_helper):
17562 The memory returned by gst_type_find_peek() needs to
17563 stay valid until the end of a typefind function, and
17564 typefind functions may keep results from different
17565 offsets around, so we can't just unref the buffer from
17566 the previous _peek(), but have to save all buffers
17567 returned by _peek() until typefinding is done and only
17570 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
17572 * docs/gst/gstreamer-sections.txt:
17574 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
17576 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17578 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17579 Fix a pretty good memleak.
17581 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17583 * gst/gstiterator.h:
17584 Fix wrong include and 'make distcheck'.
17586 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17588 * gst/gstbin.c: (bin_bus_handler):
17589 Use gst_element_post_message() instead.
17591 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17593 * gst/base/gstadapter.h:
17594 * gst/base/gstbasesink.h:
17595 * gst/base/gstbasesrc.h:
17596 * gst/base/gstbasetransform.h:
17597 * gst/base/gstcollectpads.h:
17598 * gst/base/gstpushsrc.h:
17599 * gst/gstiterator.h:
17600 Add padding to our base elements' class and instance structs and
17601 to GstIterator (you will need to rebuild all plugins and apps!)
17603 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17605 * gst/gstbin.c: (bin_bus_handler):
17606 Make default message forwarding from child->bus to bin->bus
17607 threadsafe and make it not emit warnings if the parent has no bus.
17609 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17611 * gst/gstelement.c: (activate_pads):
17612 On paused->ready, set pad->caps to NULL, as is the documented
17613 behaviour in this state change. Fixes playback of series of
17614 media files when visualization is enabled in Totem.
17616 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17618 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17619 Allow NULL as filter-caps (which means "any").
17621 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17623 * docs/libs/gstreamer-libs-sections.txt:
17624 * libs/gst/controller/gst-controller.c:
17625 * libs/gst/controller/gst-controller.h:
17626 * libs/gst/controller/gst-helper.c:
17627 adding more entries to the docs and fix small doc-bugs
17629 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17631 * docs/gst/gstreamer-docs.sgml:
17632 * docs/gst/gstreamer-sections.txt:
17633 * docs/gst/gstreamer.types:
17634 * docs/gst/tmpl/gstbasesink.sgml:
17635 * docs/gst/tmpl/gstbasesrc.sgml:
17636 * docs/gst/tmpl/gstbasetransform.sgml:
17637 * docs/gst/tmpl/gstfakesrc.sgml:
17638 * gst/base/gstcollectpads.c:
17639 * gst/base/gstcollectpads.h:
17640 * libs/gst/controller/gst-controller.c:
17641 * libs/gst/controller/gst-controller.h:
17642 * libs/gst/controller/gst-helper.c:
17643 * libs/gst/controller/gst-interpolation.c:
17644 * libs/gst/controller/lib.c:
17645 added long/short desc for controller docs
17646 added collectpads base class docs
17647 added correct includes to base-class docs
17649 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17651 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17652 (gst_test_mono_source_set_property),
17653 (gst_test_mono_source_class_init), (GST_START_TEST),
17654 (gst_controller_suite):
17655 * docs/gst/gstreamer-docs.sgml:
17656 * docs/gst/gstreamer-sections.txt:
17657 * docs/gst/gstreamer.types:
17658 * docs/libs/gstreamer-libs-docs.sgml:
17659 * docs/libs/gstreamer-libs-sections.txt:
17660 * gst/base/gstadapter.c:
17661 * libs/gst/controller/gst-controller.c:
17662 (gst_controlled_property_new), (gst_controlled_property_free),
17663 (gst_controller_new_valist),
17664 (gst_controller_remove_properties_valist),
17665 (gst_controller_sink_values), (_gst_controller_finalize):
17666 * libs/gst/controller/gst-controller.h:
17667 * libs/gst/controller/gst-helper.c:
17668 (gst_object_control_properties), (gst_object_uncontrol_properties),
17669 (gst_object_get_controller), (gst_object_set_controller),
17670 (gst_object_sink_values), (gst_object_get_value_arrays),
17671 (gst_object_get_value_array):
17672 more tests (and fixes) for the controller
17673 more docs for the controller
17674 integrated companies docs for the adapter
17676 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
17678 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
17679 (GST_START_TEST), (fakesrc_suite):
17680 add tests for sizetype
17682 2005-08-04 Andy Wingo <wingo@pobox.com>
17684 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
17685 fixes buffer_alloc proxying among other things.
17687 * gst/base/gstbasetransform.c:
17688 * gst/base/gstbasetransform.h:
17689 Revert patch to gstbasetransform from 7-28 removing
17692 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
17693 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
17694 Semantics changed, should return not the size of the output buffer
17695 but the byte size of a buffer with a given caps.
17697 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
17699 (gst_base_transform_configure_caps): Don't set out_size here: (in,
17700 out) are not the pad caps until setcaps finishes.
17701 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
17702 not-in-place case as well. Deal with changing from in-place to
17703 not-in-place within calling pad_alloc_buffer. Still a bit
17704 concerned about the overhead here...
17706 2005-08-03 Andy Wingo <wingo@pobox.com>
17708 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
17709 fixating is an error.
17711 2005-08-04 Edward Hervey <edward@fluendo.com>
17713 * gst/base/gstadapter.h:
17714 Added gst_adapter_get_type() to the header
17716 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17718 * check/Makefile.am:
17719 * check/gst-libs/controller.c:
17720 * libs/gst/controller/gst-controller.c:
17721 (gst_controller_new_valist):
17722 added check test suite for the controller
17723 * gst/base/gstpushsrc.c:
17726 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17728 * docs/gst/Makefile.am:
17729 * docs/gst/gstreamer-docs.sgml:
17730 * docs/gst/gstreamer-sections.txt:
17731 * docs/gst/gstreamer.types:
17732 * docs/gst/tmpl/gstfakesrc.sgml:
17734 * gst/base/gstbasesink.c:
17735 * gst/base/gstbasesink.h:
17736 * gst/base/gstbasesrc.c:
17737 * gst/base/gstbasesrc.h:
17738 * gst/base/gstbasetransform.c:
17739 * gst/base/gstpushsrc.c:
17740 * gst/base/gstpushsrc.h:
17741 add short/long description docs to base classes
17742 add pushsrc to the docs
17743 remove consolidated doc fragments
17745 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17748 * docs/libs/Makefile.am:
17749 * docs/libs/gstreamer-libs-docs.sgml:
17750 * docs/libs/gstreamer-libs-sections.txt:
17751 * docs/libs/gstreamer-libs.types:
17752 * examples/Makefile.am:
17753 * examples/controller/.cvsignore:
17754 * examples/controller/Makefile.am:
17755 * examples/controller/audio-example.c: (main):
17756 * libs/gst/Makefile.am:
17757 * libs/gst/controller/.cvsignore:
17758 * libs/gst/controller/Makefile.am:
17759 * libs/gst/controller/gst-controller.c:
17760 (on_object_controlled_property_changed), (gst_timed_value_compare),
17761 (gst_timed_value_find),
17762 (gst_controlled_property_set_interpolation_mode),
17763 (gst_controlled_property_new), (gst_controlled_property_free),
17764 (gst_controller_find_controlled_property),
17765 (gst_controller_new_valist), (gst_controller_new),
17766 (gst_controller_remove_properties_valist),
17767 (gst_controller_remove_properties), (gst_controller_set),
17768 (gst_controller_set_from_list), (gst_controller_unset),
17769 (gst_controller_get), (gst_controller_get_all),
17770 (gst_controller_sink_values), (gst_controller_get_value_arrays),
17771 (gst_controller_get_value_array),
17772 (gst_controller_set_interpolation_mode),
17773 (_gst_controller_finalize), (_gst_controller_init),
17774 (_gst_controller_class_init), (gst_controller_get_type):
17775 * libs/gst/controller/gst-controller.h:
17776 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
17777 (g_object_uncontrol_properties), (g_object_get_controller),
17778 (g_object_set_controller), (g_object_sink_values),
17779 (g_object_get_value_arrays), (g_object_get_value_array):
17780 * libs/gst/controller/gst-interpolation.c:
17781 (gst_controlled_property_find_timed_value_node),
17782 (interpolate_none_get), (interpolate_trigger_get),
17783 (interpolate_trigger_get_value_array):
17784 * libs/gst/controller/lib.c: (gst_controller_init):
17785 * pkgconfig/Makefile.am:
17786 * pkgconfig/gstreamer-control-uninstalled.pc.in:
17787 * pkgconfig/gstreamer-control.pc.in:
17788 * testsuite/Makefile.am:
17789 * testsuite/controller/.cvsignore:
17790 * testsuite/controller/Makefile.am:
17791 * testsuite/controller/interpolator.c: (main):
17792 added controller code
17793 removed dparam pc files
17795 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
17796 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
17797 (gst_collectpads_stop):
17798 Broadcast the condition when shutting down, to make sure we wake all
17799 threads up. Shut down pads on finalize, for safety.
17801 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
17802 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17803 (gst_base_transform_handle_buffer),
17804 (gst_base_transform_change_state):
17805 Handle PAUSED->READY->PAUSED transition after negotiation
17807 * gst/gstmessage.c: (gst_message_init):
17808 Extra piece of debug for new messages.
17810 2005-08-01 Stefan Kost <ensonic@users.sf.net>
17813 * docs/gst/tmpl/gstbasesrc.sgml:
17814 * docs/gst/tmpl/gstelement.sgml:
17815 * docs/gst/tmpl/gstevent.sgml:
17816 * docs/gst/tmpl/gstfakesrc.sgml:
17817 * docs/gst/tmpl/gstformat.sgml:
17818 * docs/gst/tmpl/gstghostpad.sgml:
17819 * docs/gst/tmpl/gstpad.sgml:
17820 * docs/gst/tmpl/gstquery.sgml:
17821 * docs/gst/tmpl/gststructure.sgml:
17822 * docs/gst/tmpl/gsttaglist.sgml:
17823 * docs/gst/tmpl/gstvalue.sgml:
17824 * docs/libs/gstreamer-libs-docs.sgml:
17825 * docs/libs/gstreamer-libs-sections.txt:
17826 * docs/libs/gstreamer-libs.types:
17827 * libs/gst/Makefile.am:
17828 * libs/gst/control/.cvsignore:
17829 * libs/gst/control/Makefile.am:
17830 * libs/gst/control/control.c:
17831 * libs/gst/control/control.h:
17832 * libs/gst/control/dparam.c:
17833 * libs/gst/control/dparam.h:
17834 * libs/gst/control/dparam_smooth.c:
17835 * libs/gst/control/dparam_smooth.h:
17836 * libs/gst/control/dparamcommon.h:
17837 * libs/gst/control/dparammanager.c:
17838 * libs/gst/control/dparammanager.h:
17839 * libs/gst/control/dplinearinterp.c:
17840 * libs/gst/control/dplinearinterp.h:
17841 * libs/gst/control/unitconvert.c:
17842 * libs/gst/control/unitconvert.h:
17843 * testsuite/Makefile.am:
17844 * testsuite/dynparams/.cvsignore:
17845 * testsuite/dynparams/Makefile.am:
17846 * testsuite/dynparams/dparamstest.c:
17847 * tools/Makefile.am:
17848 * tools/gst-inspect.c: (print_element_info), (main):
17849 * tools/gst-xmlinspect.c: (print_element_info), (main):
17850 deactivate and remove dparams (libgstcontrol)
17852 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
17854 * gst/elements/gsttypefindelement.c:
17855 (gst_type_find_element_have_type), (gst_type_find_element_init),
17856 (stop_typefinding), (gst_type_find_element_handle_event),
17857 (gst_type_find_element_chain), (gst_type_find_element_getrange):
17858 * gst/elements/gsttypefindelement.h:
17859 Set caps on all outgoing buffers, not just the first one.
17861 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
17863 * gst/elements/gsttypefindelement.c:
17864 (gst_type_find_element_have_type),
17865 (gst_type_find_element_check_set_buffer_caps),
17866 (gst_type_find_element_init), (stop_typefinding),
17867 (gst_type_find_element_handle_event),
17868 (gst_type_find_element_chain), (gst_type_find_element_getrange):
17869 * gst/elements/gsttypefindelement.h:
17870 Set caps on first outgoing buffer when we've found the type.
17872 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
17874 * docs/gst/gstreamer-docs.sgml:
17875 * docs/gst/gstreamer-sections.txt:
17876 * docs/gst/tmpl/gstscheduler.sgml:
17877 * docs/gst/tmpl/gstschedulerfactory.sgml:
17878 Remove some old cruft from docs.
17880 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
17883 Fix inline docs for GstPadLinkReturn.
17885 * gst/gststructure.c: (gst_structure_has_name):
17886 * gst/gststructure.h:
17887 * docs/gst/gstreamer-sections.txt:
17888 New API: gst_structure_has_name().
17890 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
17893 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
17894 and _LARGEFILE_SOURCE in config.h as required. Do not
17895 export those flags in our .pc files any longer (#142209).
17897 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
17899 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
17900 (gst_file_sink_do_seek), (gst_file_sink_event),
17901 (gst_file_sink_get_current_offset), (gst_file_sink_render):
17902 Redo seek/tell calls with large file support in mind; add some
17903 debugging messages; add log message that tells us when large
17904 file support is unavailable or not enabled for some reason.
17906 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
17907 Add log message that tells us when large file support
17908 is unavailable or not enabled for some reason.
17910 2005-07-29 Wim Taymans <wim@fluendo.com>
17912 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17913 Added test for removing an element with ghostpad from a bin.
17914 Fixed test as current implementation does the right thing.
17916 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
17917 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
17918 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
17919 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
17920 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
17921 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
17922 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
17923 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17924 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
17925 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
17926 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
17927 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
17928 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
17929 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
17930 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
17931 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
17932 * gst/gstghostpad.h:
17933 Clean up ghostpads, remove properties for internal stuff.
17936 Prepare for switching targets, not all use cases work yet.
17938 2005-07-29 Wim Taymans <wim@fluendo.com>
17940 * docs/design/part-gstghostpad.txt:
17943 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
17944 (gst_bin_remove_func):
17945 Unlinking pads while holding the bin LOCK is not a good
17948 * gst/gstpad.c: (gst_pad_class_init),
17949 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
17950 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
17951 No prob setting template after creating the pad.
17953 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
17955 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
17956 (gst_bus_peek), (gst_bus_source_dispatch),
17957 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
17958 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
17959 gst_bus_poll may be called from other threads. Handle
17960 this nicely by not making poll_data disappear off the
17961 stack once gst_bus_poll returns.
17962 gst_bus_peek now increments the refcount on the returned
17965 2005-07-29 Wim Taymans <wim@fluendo.com>
17967 * docs/design/part-gstghostpad.txt:
17968 Overview of current GhostPad datastructures and use
17969 cases for changing the target.
17971 2005-07-28 Wim Taymans <wim@fluendo.com>
17973 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17974 Added checks for hierarchy consistency whan adding linked
17977 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17978 Added check to test element scheduling without bin/pipeline.
17980 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17981 First add elements to bin, then link.
17983 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
17984 (gst_bin_remove_func):
17985 Unlink pads from elements added/removed from bin to maintain
17986 hierarchy consistency.
17988 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17990 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17991 (gst_base_transform_handle_buffer):
17992 * gst/base/gstbasetransform.h:
17993 Remove broken delay_configure (fixes renegotiation of software
17994 scaling pipelines); remove some leftover printf()s.
17996 2005-07-28 Wim Taymans <wim@fluendo.com>
17998 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17999 Added some more tests for wrong hierarchy
18001 * docs/design/part-overview.txt:
18004 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18007 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18008 (gst_element_dispose):
18009 Some more cleanups.
18011 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18012 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18013 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18014 (gst_pad_set_caps), (gst_pad_send_event):
18015 Check for correct hierarchy when linking pads. Moving to
18016 strict requirement for ghostpads when linking elements in
18020 Clean ups. Added WRONG_HIERARCHY return value.
18022 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18024 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18025 Better debug if no transform is possible.
18027 2005-07-27 Wim Taymans <wim@fluendo.com>
18029 * docs/random/wtay/network-transp:
18030 Some old doc I had.
18032 2005-07-27 Wim Taymans <wim@fluendo.com>
18034 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18035 (gst_dp_event_from_packet):
18036 Fix serialization of seek events.
18038 2005-07-27 Wim Taymans <wim@fluendo.com>
18040 * check/gst-libs/gdp.c: (GST_START_TEST):
18041 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18042 Fix compilation and fix event serialization.
18044 2005-07-27 Wim Taymans <wim@fluendo.com>
18047 * docs/design/part-TODO.txt:
18048 * docs/design/part-events.txt:
18051 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18052 (gst_base_sink_event), (gst_base_sink_do_sync),
18053 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18054 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18055 (gst_base_src_do_seek), (gst_base_src_event_handler),
18056 (gst_base_src_loop):
18057 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18058 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18059 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18060 (gst_base_transform_event), (gst_base_transform_handle_buffer),
18061 (gst_base_transform_set_passthrough),
18062 (gst_base_transform_is_passthrough):
18063 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18064 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18070 * gst/gstelement.c: (gst_element_seek):
18071 * gst/gstelement.h:
18072 Update gst_element_seek.
18074 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18075 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18076 (gst_event_new_flush_start), (gst_event_new_flush_stop),
18077 (gst_event_new_eos), (gst_event_new_newsegment),
18078 (gst_event_parse_newsegment), (gst_event_new_tag),
18079 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18080 (gst_event_parse_qos), (gst_event_new_seek),
18081 (gst_event_parse_seek), (gst_event_new_navigation):
18083 Make GstEvent use GstStructure. Add parsing code, make sure the
18084 API is sufficiently generic.
18085 Mark possible directions of events and serialization.
18087 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18088 (_gst_message_copy), (gst_message_new_segment_start),
18089 (gst_message_new_segment_done), (gst_message_new_custom),
18090 (gst_message_parse_segment_start),
18091 (gst_message_parse_segment_done):
18094 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18095 (gst_pad_set_caps), (gst_pad_send_event):
18096 Update for new events.
18097 Catch events sent in wrong directions.
18099 * gst/gstqueue.c: (gst_queue_link_src),
18100 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18101 (gst_queue_handle_src_query):
18106 Remove event code from this file.
18108 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18109 (gst_dp_event_from_packet):
18112 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18114 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18115 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18116 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18117 Make debugging actually useful.
18119 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18121 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18122 (gst_pad_fixate_caps):
18123 Implement default fixation once again, so that gst_pad_fixate()
18124 actually does anything at all. This probably needs to be some
18125 sort of a last resort, and use profile-based fixation first, but
18126 since that doesn't exist yet, this is the best we have. Fixes
18127 visualization in Totem.
18129 2005-07-22 Wim Taymans <wim@fluendo.com>
18131 * docs/design/part-events.txt:
18134 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18135 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18136 (gst_base_sink_activate_pull):
18137 Some more comments.
18139 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18140 (gst_fake_src_create):
18141 Fix handoff marshall.
18143 * gst/elements/gstidentity.c: (gst_identity_class_init),
18144 (gst_identity_transform_ip):
18145 We're a real inplace element.
18147 * gst/gstbus.c: (gst_bus_post):
18148 Added some comments.
18150 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18151 * tests/muxing/case1.c: (main):
18152 * tests/sched/dynamic-pipeline.c: (main):
18153 * tests/sched/interrupt1.c: (main):
18154 * tests/sched/interrupt2.c: (main):
18155 * tests/sched/interrupt3.c: (main):
18156 * tests/sched/runxml.c: (main):
18157 * tests/sched/sched-stress.c: (main):
18158 * tests/seeking/seeking1.c: (event_received), (main):
18159 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18161 * tests/threadstate/threadstate3.c: (main):
18162 * tests/threadstate/threadstate4.c: (main):
18163 * tests/threadstate/threadstate5.c: (main):
18166 2005-07-21 Wim Taymans <wim@fluendo.com>
18168 * docs/design/part-seeking.txt:
18169 Some small additions.
18171 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18172 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18173 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18174 * gst/base/gstbasesink.h:
18175 discont values are gint64, handle the math correctly.
18177 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18178 Make the basesrc report error if the source pad is not linked.
18180 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18181 (gst_queue_loop), (gst_queue_handle_src_query),
18182 (gst_queue_src_activate_push):
18183 Make queue collect data even if the srcpad is not linked.
18184 Start pushing out data as soon as it is linked.
18186 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18188 Added gst_flow_get_name() to ease error reporting.
18190 2005-07-20 Wim Taymans <wim@fluendo.com>
18192 * gst/gstmessage.c: (gst_message_new_segment_start),
18193 (gst_message_new_segment_done), (gst_message_parse_segment_start),
18194 (gst_message_parse_segment_done):
18195 * gst/gstmessage.h:
18196 Added a bunch of messages for advanced seeking.
18198 * gst/parse/grammar.y:
18199 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18200 (gst_dpman_state_changed):
18201 Fix some new-pad -> pad-added signals
18203 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18205 * docs/manual/appendix-porting.xml:
18206 * docs/pwg/appendix-porting.xml:
18207 Document new-pad/state-change signal renames and the FixedList
18210 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18212 * docs/manual/advanced-autoplugging.xml:
18213 * docs/manual/basics-helloworld.xml:
18214 * docs/manual/basics-pads.xml:
18215 * docs/random/ds/0.9-suggested-changes:
18216 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18217 * gst/gstelement.h:
18221 * gst/gststructure.c: (gst_structure_value_get_generic_type),
18222 (gst_structure_parse_array), (gst_structure_parse_value):
18223 * gst/gstvalue.c: (gst_type_is_fixed),
18224 (gst_value_list_prepend_value), (gst_value_list_append_value),
18225 (gst_value_list_get_size), (gst_value_list_get_value),
18226 (gst_value_transform_array_string), (gst_value_serialize_array),
18227 (gst_value_deserialize_array), (gst_value_intersect_array),
18228 (gst_value_is_fixed), (_gst_value_initialize):
18230 GstElement::new-pad -> pad-added, GstElement::state-change ->
18231 state-changed, GstValueFixedList -> GstValueArray, add format and
18232 flags as their own arguments in gst_element_seek() (should improve
18233 "bindeability"), remove function generators since they don't work
18234 under a whole bunch of compilers (they were deprecated already
18237 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18239 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18240 (_gst_debug_register_funcptr):
18242 Fix illegal cast on some platforms (#309253).
18244 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18246 * gst/gstmessage.c: (gst_message_new_custom):
18247 * gst/gstmessage.h:
18248 Add _new_custom, make _new_application a macro to _new_custom.
18250 2005-07-20 Wim Taymans <wim@fluendo.com>
18252 * gst/base/gstbasesrc.c: (gst_base_src_init),
18253 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18254 * gst/base/gstbasesrc.h:
18255 Add a gboolean to decide when to push out a discont.
18257 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18258 (gst_queue_loop), (gst_queue_handle_src_query),
18259 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18260 (gst_queue_set_property), (gst_queue_get_property):
18263 * tests/threadstate/threadstate1.c: (main):
18264 Make a thread test compile and run... very silly..
18267 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18269 * docs/manual/appendix-porting.xml:
18270 Mention removal of libgstgconf-0.9.la and existence of gconf
18273 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18275 * docs/pwg/advanced-clock.xml:
18276 * docs/pwg/appendix-porting.xml:
18277 * docs/pwg/intro-preface.xml:
18278 * docs/pwg/other-base.xml:
18279 * docs/pwg/other-manager.xml:
18280 * docs/pwg/other-nton.xml:
18281 * docs/pwg/other-ntoone.xml:
18282 * docs/pwg/other-oneton.xml:
18283 * docs/pwg/pwg.xml:
18284 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18285 demuxer), remove n-to-n (was never written), fix some code examples
18286 and links and update the porting section to include all this.
18288 2005-07-19 Wim Taymans <wim@fluendo.com>
18290 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18291 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18292 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18293 (gst_queue_src_activate_push), (gst_queue_change_state),
18294 (gst_queue_get_property):
18296 Propagate GstFlowReturn more intelligently upstream and output
18297 an ERROR/EOS when streaming stopped due to fatal error.
18299 2005-07-19 Wim Taymans <wim@fluendo.com>
18301 * tools/gst-launch.c: (check_intr), (event_loop), (main):
18302 Don't block forever for the state change to complete, the
18303 pipeline already did with a sensible timeout.
18305 2005-07-19 Wim Taymans <wim@fluendo.com>
18307 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18308 Make sure we never call the create function is we
18311 2005-07-19 Andy Wingo <wingo@pobox.com>
18313 * gst/parse/parse.l: Attempt to solve bug #172815.
18315 2005-07-19 Wim Taymans <wim@fluendo.com>
18317 * docs/design/part-clocks.txt:
18318 * docs/design/part-events.txt:
18319 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18320 Small docs updates.
18321 Only update the seeking values when we are not
18324 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18326 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18327 Oops, ignore the result of gst_pad_push_event here.
18329 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18331 * gst/base/gstbasesrc.c: (gst_base_src_loop),
18332 (gst_base_src_activate_push):
18333 Send discont event from the loop function, as pads
18334 aren't activated yet in the activate_push handler.
18336 * gst/gstbin.c: (bin_bus_handler):
18337 Don't leak element name.
18339 2005-07-18 Andy Wingo <wingo@pobox.com>
18341 * configure.ac: Use AS_LIBTOOL_TAGS.
18343 2005-07-18 Wim Taymans <wim@fluendo.com>
18345 * docs/gst/gstreamer.types:
18346 Remove deleted types.
18348 2005-07-18 Wim Taymans <wim@fluendo.com>
18350 * check/elements/gstfakesrc.c: (GST_START_TEST):
18353 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18354 (init_popt_callback):
18356 * gst/gst_private.h:
18357 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18358 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18361 * gst/gstconfig.h.in:
18362 * gst/gstelement.c: (gst_element_class_init),
18363 (gst_element_set_base_time), (gst_element_get_base_time),
18364 (iterator_fold_with_resync), (gst_element_change_state),
18365 (gst_element_dispose), (gst_element_get_bus):
18366 * gst/gstelement.h:
18367 * gst/gstelementfactory.h:
18368 * gst/gsterror.c: (_gst_core_errors_init):
18371 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18373 * gst/gstinfo.c: (_gst_debug_init):
18374 * gst/gstmessage.c: (_gst_message_copy):
18375 * gst/gstmessage.h:
18376 * gst/gstminiobject.h:
18379 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18380 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18383 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18384 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18385 (gst_pipeline_get_last_stream_time):
18386 * gst/gstpipeline.h:
18387 * gst/gstpluginfeature.h:
18389 * gst/gstscheduler.c:
18390 * gst/gstscheduler.h:
18391 * gst/gststructure.h:
18392 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18393 (gst_task_finalize), (gst_task_func), (gst_task_create),
18394 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18395 (gst_task_stop), (gst_task_pause):
18397 * gst/gsttypefind.h:
18399 * gst/registries/gstlibxmlregistry.c: (load_feature),
18400 (gst_xml_registry_load), (gst_xml_registry_save_feature):
18401 * gst/registries/gstxmlregistry.c:
18402 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18403 * gst/schedulers/threadscheduler.c:
18404 * libs/gst/control/dparammanager.h:
18405 * tools/gst-inspect.c: (print_element_list),
18406 (print_plugin_features), (print_element_features):
18407 * tools/gst-xmlinspect.c: (print_element_list),
18408 (print_plugin_info), (main):
18409 Removed plugable schedulers.
18410 Removed Scheduler/Manager from elements.
18411 Removed gsttypes.h, rearranged includes.
18412 Removed dependency pad<->element, element<>pipeline, and
18413 various others, fix includes.
18414 implement gst_pad_get_parent() with gst_object_get_parent()
18415 Make GstTask sefcontained.
18416 Fix _get_state() on GstBin, it did not return ASYNC with a 0
18418 Fix endless loop in iterator_fold_with_resync.
18421 2005-07-18 Wim Taymans <wim@fluendo.com>
18427 2005-07-18 Wim Taymans <wim@fluendo.com>
18430 No more cothreads.h
18432 2005-07-18 Wim Taymans <wim@fluendo.com>
18436 Let's remove these.
18438 2005-07-18 Wim Taymans <wim@fluendo.com>
18440 * docs/design/part-dynamic.txt:
18441 * docs/design/part-events.txt:
18442 * docs/design/part-seeking.txt:
18443 Some more docs in the works.
18445 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18446 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18447 (gst_base_transform_setcaps), (gst_base_transform_get_size),
18448 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18449 (gst_base_transform_handle_buffer),
18450 (gst_base_transform_sink_activate_push),
18451 (gst_base_transform_src_activate_pull),
18452 (gst_base_transform_set_passthrough),
18453 (gst_base_transform_is_passthrough):
18456 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18459 * gst/gstevent.c: (gst_event_finalize):
18462 * gst/gstutils.c: (gst_element_unlink),
18463 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18464 (gst_pad_proxy_setcaps):
18466 Add _get_parent_element() to get a pads parent as an element.
18468 2005-07-18 Wim Taymans <wim@fluendo.com>
18470 * check/gst/gstbin.c: (GST_START_TEST):
18473 2005-07-18 Wim Taymans <wim@fluendo.com>
18475 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18476 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18477 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18478 (gst_base_sink_event), (gst_base_sink_do_sync),
18479 (gst_base_sink_chain), (gst_base_sink_loop),
18480 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18481 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18483 Fix logic for returning ASYNC when not prerolled.
18485 2005-07-18 Wim Taymans <wim@fluendo.com>
18487 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18488 Fix nasty refcount bug.
18490 2005-07-16 Philippe Khalaf <burger@speedy.org>
18492 * gst/elements/gstfdsrc.c:
18493 * gst/elements/gstfdsrc.h:
18494 * gst/elements/gstelements.c:
18495 * gst/elements/Makefile.am:
18496 Ported fdsrc to 0.9.
18498 2005-07-16 Wim Taymans <wim@fluendo.com>
18500 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18501 (gst_base_sink_do_sync):
18504 2005-07-16 Wim Taymans <wim@fluendo.com>
18506 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18507 (gst_base_sink_event), (gst_base_sink_get_times),
18508 (gst_base_sink_do_sync), (gst_base_sink_change_state):
18509 * gst/base/gstbasesink.h:
18510 Store and use discont values when syncing buffers as described
18513 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18514 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18515 (gst_base_src_activate_push):
18516 Push discont event when starting.
18518 * gst/elements/gstidentity.c: (gst_identity_transform):
18521 * gst/gstbin.c: (gst_bin_change_state):
18522 Small cleanups in base_time distribution.
18524 * gst/gstelement.c: (gst_element_set_base_time),
18525 (gst_element_get_base_time), (gst_element_change_state):
18526 * gst/gstelement.h:
18527 Added methods for the base_time of the element.
18530 * gst/gstpipeline.c: (gst_pipeline_send_event),
18531 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18532 (gst_pipeline_get_last_stream_time):
18533 * gst/gstpipeline.h:
18535 Handle seeking as described in design doc, remove stream_time
18537 Cleanups clock and stream_time selection code. Added accessors
18538 for the stream_time.
18541 2005-07-16 Andy Wingo <wingo@pobox.com>
18543 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18546 2005-07-16 Wim Taymans <wim@fluendo.com>
18548 * check/gst/gstbin.c: (GST_START_TEST):
18549 Make elements silent as the deep_notify refs the
18550 parent, which might make the test fail.
18552 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18553 Don't hold the lock for too long.
18555 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
18557 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18558 Don't unref the caps we passed to gst_caps_make_writable() after
18559 passing them. gst_caps_make_writable() will do that for us.
18561 2005-07-15 Andy Wingo <wingo@pobox.com>
18563 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18566 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18567 own marshalling function for the handoff signal. Properly type the
18568 buffer as a buffer. Fixes some warnings. Should do a more general
18570 (gst_identity_class_init): Plug into the right marshaller.
18572 2005-07-15 Wim Taymans <wim@fluendo.com>
18574 * docs/design/part-TODO.txt:
18575 * docs/design/part-clocks.txt:
18576 * docs/design/part-element-sink.txt:
18577 * docs/design/part-events.txt:
18578 * docs/design/part-gstpipeline.txt:
18579 Updated docs, mostly DISCONT related.
18581 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
18583 * docs/pwg/building-pads.xml:
18584 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
18586 2005-07-15 Andy Wingo <wingo@pobox.com>
18588 * tools/gst-typefind.c: Update, add copyright block.
18590 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
18591 Normalize and truncate caps before fixation.
18594 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
18595 discards all but the first structure from its argument.
18597 2005-07-15 Wim Taymans <wim@fluendo.com>
18599 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18600 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
18601 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18602 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18603 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
18604 (gst_base_transform_chain), (gst_base_transform_change_state),
18605 (gst_base_transform_set_passthrough),
18606 (gst_base_transform_is_passthrough):
18607 * gst/base/gstbasetransform.h:
18608 Make passthrough work using the bufferpools.
18609 Changed API a bit, subclasses have to write into a buffer
18610 provided by the base class.
18611 More debug info in nego functions.
18613 * gst/elements/gstidentity.c: (gst_identity_init),
18614 (gst_identity_transform):
18615 Port to new base class.
18617 2005-07-15 Wim Taymans <wim@fluendo.com>
18619 * gst/gstmessage.c: (gst_message_new_state_changed):
18620 * tools/gst-launch.c: (event_loop), (main):
18621 Totally dump messages in -launch with the -m option.
18622 Fix message name for State messages,
18624 2005-07-14 Wim Taymans <wim@fluendo.com>
18626 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18627 Post error messages on errors.
18629 2005-07-14 Wim Taymans <wim@fluendo.com>
18631 * gst/gstcaps.c: (gst_caps_do_simplify):
18635 Define error for stream stopped.
18637 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18638 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
18639 Do proper return values.
18641 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18642 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
18643 (gst_pad_get_range):
18644 Better return values.
18647 Reorganise return values, add macro to check for fatal errors.
18649 * gst/gstqueue.c: (gst_queue_chain):
18650 Return proper GstFlowReturn values,
18652 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
18654 * docs/gst/gstreamer-sections.txt:
18655 * docs/gst/gstreamer.types:
18656 * docs/gst/tmpl/gst.sgml:
18657 * docs/gst/tmpl/gstbasesink.sgml:
18658 * docs/gst/tmpl/gstbasesrc.sgml:
18659 * docs/gst/tmpl/gstbasetransform.sgml:
18660 * docs/gst/tmpl/gstbin.sgml:
18661 * docs/gst/tmpl/gstbuffer.sgml:
18662 * docs/gst/tmpl/gstcaps.sgml:
18663 * docs/gst/tmpl/gstclock.sgml:
18664 * docs/gst/tmpl/gstcompat.sgml:
18665 * docs/gst/tmpl/gstconfig.sgml:
18666 * docs/gst/tmpl/gstelement.sgml:
18667 * docs/gst/tmpl/gstelementdetails.sgml:
18668 * docs/gst/tmpl/gstelementfactory.sgml:
18669 * docs/gst/tmpl/gstenumtypes.sgml:
18670 * docs/gst/tmpl/gsterror.sgml:
18671 * docs/gst/tmpl/gstevent.sgml:
18672 * docs/gst/tmpl/gstfakesink.sgml:
18673 * docs/gst/tmpl/gstfakesrc.sgml:
18674 * docs/gst/tmpl/gstfilesink.sgml:
18675 * docs/gst/tmpl/gstfilesrc.sgml:
18676 * docs/gst/tmpl/gstfilter.sgml:
18677 * docs/gst/tmpl/gstformat.sgml:
18678 * docs/gst/tmpl/gstghostpad.sgml:
18679 * docs/gst/tmpl/gstimplementsinterface.sgml:
18680 * docs/gst/tmpl/gstindex.sgml:
18681 * docs/gst/tmpl/gstindexfactory.sgml:
18682 * docs/gst/tmpl/gstinfo.sgml:
18683 * docs/gst/tmpl/gstiterator.sgml:
18684 * docs/gst/tmpl/gstmacros.sgml:
18685 * docs/gst/tmpl/gstmemchunk.sgml:
18686 * docs/gst/tmpl/gstminiobject.sgml:
18687 * docs/gst/tmpl/gstobject.sgml:
18688 * docs/gst/tmpl/gstpad.sgml:
18689 * docs/gst/tmpl/gstpadtemplate.sgml:
18690 * docs/gst/tmpl/gstparse.sgml:
18691 * docs/gst/tmpl/gstpipeline.sgml:
18692 * docs/gst/tmpl/gstplugin.sgml:
18693 * docs/gst/tmpl/gstpluginfeature.sgml:
18694 * docs/gst/tmpl/gstquery.sgml:
18695 * docs/gst/tmpl/gstqueue.sgml:
18696 * docs/gst/tmpl/gstregistry.sgml:
18697 * docs/gst/tmpl/gstregistrypool.sgml:
18698 * docs/gst/tmpl/gstscheduler.sgml:
18699 * docs/gst/tmpl/gstschedulerfactory.sgml:
18700 * docs/gst/tmpl/gststructure.sgml:
18701 * docs/gst/tmpl/gstsystemclock.sgml:
18702 * docs/gst/tmpl/gsttaglist.sgml:
18703 * docs/gst/tmpl/gsttagsetter.sgml:
18704 * docs/gst/tmpl/gsttrace.sgml:
18705 * docs/gst/tmpl/gsttrashstack.sgml:
18706 * docs/gst/tmpl/gsttypefind.sgml:
18707 * docs/gst/tmpl/gsttypefindfactory.sgml:
18708 * docs/gst/tmpl/gsttypes.sgml:
18709 * docs/gst/tmpl/gsturihandler.sgml:
18710 * docs/gst/tmpl/gsturitype.sgml:
18711 * docs/gst/tmpl/gstutils.sgml:
18712 * docs/gst/tmpl/gstvalue.sgml:
18713 * docs/gst/tmpl/gstversion.sgml:
18714 * docs/gst/tmpl/gstxml.sgml:
18715 * docs/libs/tmpl/gstcontrol.sgml:
18716 * docs/libs/tmpl/gstdataprotocol.sgml:
18717 * docs/libs/tmpl/gstdparam.sgml:
18718 * docs/libs/tmpl/gstdplinint.sgml:
18719 * docs/libs/tmpl/gstdpman.sgml:
18720 * docs/libs/tmpl/gstdpsmooth.sgml:
18721 * docs/libs/tmpl/gstgetbits.sgml:
18722 * docs/libs/tmpl/gstunitconvert.sgml:
18723 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
18724 (gst_push_src_base_init), (gst_push_src_class_init),
18725 (gst_push_src_init), (gst_push_src_create):
18726 * gst/base/gstpushsrc.h:
18727 * gst/elements/gstelements.c:
18728 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
18729 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
18730 (gst_fake_sink_init), (gst_fake_sink_set_property),
18731 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
18732 (gst_fake_sink_event), (gst_fake_sink_preroll),
18733 (gst_fake_sink_render), (gst_fake_sink_change_state):
18734 * gst/elements/gstfakesink.h:
18735 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18736 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18737 (gst_fake_src_base_init), (gst_fake_src_class_init),
18738 (gst_fake_src_init), (gst_fake_src_event_handler),
18739 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
18740 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
18741 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
18742 (gst_fake_src_create_buffer), (gst_fake_src_create),
18743 (gst_fake_src_start), (gst_fake_src_stop):
18744 * gst/elements/gstfakesrc.h:
18745 * gst/elements/gstfilesink.c: (_do_init),
18746 (gst_file_sink_base_init), (gst_file_sink_class_init),
18747 (gst_file_sink_init), (gst_file_sink_dispose),
18748 (gst_file_sink_set_location), (gst_file_sink_set_property),
18749 (gst_file_sink_get_property), (gst_file_sink_open_file),
18750 (gst_file_sink_close_file), (gst_file_sink_query),
18751 (gst_file_sink_event), (gst_file_sink_render),
18752 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
18753 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
18754 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
18755 * gst/elements/gstfilesink.h:
18756 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
18757 (gst_file_src_class_init), (gst_file_src_init),
18758 (gst_file_src_finalize), (gst_file_src_set_location),
18759 (gst_file_src_set_property), (gst_file_src_get_property),
18760 (gst_file_src_map_region), (gst_file_src_map_small_region),
18761 (gst_file_src_create_mmap), (gst_file_src_create_read),
18762 (gst_file_src_create), (gst_file_src_is_seekable),
18763 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
18764 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
18765 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
18766 (gst_file_src_uri_handler_init):
18767 * gst/elements/gstfilesrc.h:
18768 more autistic cleanliness in functions/names/defines
18770 2005-07-13 Andy Wingo <wingo@pobox.com>
18772 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
18773 source couldn't negotiate.
18775 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
18779 * gst/gstutils.c (gst_element_link_pads_filtered): New old
18780 function. I am channeling Hades. Put your boots on suckers!!!
18782 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
18784 * testsuite/caps/Makefile.am:
18785 * testsuite/caps/value_compare.c:
18786 * testsuite/caps/value_intersect.c:
18787 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18788 move two testsuite apps over to the check dir
18790 2005-07-12 Wim Taymans <wim@fluendo.com>
18792 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18793 Added more debug info in the negotiate process.
18795 * gst/gstmessage.h:
18796 Prepare for segment playback.
18798 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
18804 * tools/gst-launch.c: (main):
18805 NULL pipeline on errors.
18807 2005-07-12 Andy Wingo <wingo@pobox.com>
18809 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
18810 not it comes from a malloc region. Make sure our copy gets freed.
18812 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
18814 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18815 * check/gst/gstmessage.c: (GST_START_TEST):
18816 * check/gst/gststructure.c: (GST_START_TEST),
18817 (gst_structure_suite), (main):
18819 * gst/gstelement.c: (gst_element_message_full):
18820 clean up GError and debug string now that they get copied
18821 * gst/gstmessage.c: (gst_message_new_error),
18822 (gst_message_new_warning), (gst_message_parse_error),
18823 (gst_message_parse_warning):
18824 use GST_TYPE_G_ERROR for structure_new, and take copies of
18825 arguments, so that we don't mess up refcounting
18827 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
18829 * check/Makefile.am:
18830 add per-test valgrind targets
18831 * check/gst-libs/gdp.c: (GST_START_TEST),
18832 (gst_data_protocol_suite), (main):
18835 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
18837 * check/Makefile.am:
18838 instate more valgrindable tests
18839 * check/elements/gstfakesrc.c: (chain_func), (event_func),
18840 (GST_START_TEST), (fakesrc_suite):
18841 * check/gst/gstpad.c: (GST_START_TEST):
18842 * check/gst/gststructure.c: (GST_START_TEST):
18844 * docs/gst/tmpl/gstminiobject.sgml:
18845 * gst/gstpad.c: (gst_pad_finalize):
18846 fix the static mutex leak
18848 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
18850 * check/Makefile.am:
18851 add two more tests for valgrinding
18852 * check/gst/gstvalue.c: (GST_START_TEST):
18853 test refcount of deserialized buffer, found a leak
18854 * docs/gst/gstreamer-docs.sgml:
18855 * docs/gst/gstreamer-sections.txt:
18856 * docs/gst/gstreamer.types:
18857 * docs/gst/tmpl/gstminiobject.sgml:
18858 add miniobject to docs
18859 * gst/gstminiobject.c:
18861 * gst/gstvalue.c: (gst_value_deserialize_buffer),
18862 (gst_string_unwrap):
18863 fix a hard-to-find invalid write for one of the tests
18864 fix a leak for deserialized buffers
18866 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18868 * docs/pwg/advanced-events.xml:
18869 * docs/pwg/advanced-request.xml:
18870 * docs/pwg/advanced-scheduling.xml:
18871 * docs/pwg/appendix-porting.xml:
18872 * docs/pwg/building-boiler.xml:
18873 * docs/pwg/intro-preface.xml:
18874 * docs/pwg/other-ntoone.xml:
18875 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
18876 of example code and explanation for pad activation, loop() and
18877 getrange() functions and a bit more. Remove old comments pointing
18879 * examples/pwg/Makefile.am:
18880 Add loop/getrange examples.
18882 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
18885 check for valgrind binary + some fixes
18887 valgrind suppressions for the tests
18888 * check/Makefile.am:
18889 add a valgrind: target that valgrinds the unit tests
18890 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
18891 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18892 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18893 * check/gst/gstghostpad.c:
18895 * check/gst/gstdata.c:
18897 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
18898 (thread_unref), (gst_mini_object_suite), (main):
18900 * gst/gst.c: (gst_deinit):
18902 add a method to clean up.
18903 * gst/gstsystemclock.c: (gst_system_clock_dispose),
18904 (gst_system_clock_obtain):
18905 allow for disposing the system clock.
18906 * tools/gst-launch.c: (main):
18909 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
18911 * docs/gst/tmpl/gstbasesrc.sgml:
18912 * docs/gst/tmpl/gstfakesrc.sgml:
18913 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18914 (gst_base_src_init), (gst_base_src_set_property),
18915 (gst_base_src_get_property), (gst_base_src_get_range),
18916 (gst_base_src_start):
18917 * gst/base/gstbasesrc.h:
18918 add num-buffers property
18919 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18920 (gst_fakesrc_init), (gst_fakesrc_set_property),
18921 (gst_fakesrc_get_property), (gst_fakesrc_create),
18922 (gst_fakesrc_start):
18923 remove num-buffers property
18925 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
18927 * docs/gst/gstreamer-sections.txt:
18928 * docs/gst/tmpl/gstbasesink.sgml:
18929 * docs/gst/tmpl/gstbasesrc.sgml:
18930 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18931 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18932 (gst_base_sink_finalize), (gst_base_sink_set_clock),
18933 (gst_base_sink_set_property), (gst_base_sink_get_property),
18934 (gst_base_sink_handle_object), (gst_base_sink_event),
18935 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
18936 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
18937 (gst_base_sink_loop), (gst_base_sink_deactivate),
18938 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
18939 (gst_base_sink_change_state):
18940 * gst/base/gstbasesink.h:
18941 * gst/base/gstbasesrc.h:
18942 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
18943 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18944 (gst_filesink_init):
18945 more macro splitting
18947 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
18949 * gst/gstelement.c: (gst_element_get_bus):
18951 * tools/gst-launch.c: (check_intr), (event_loop):
18954 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
18956 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18959 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
18961 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18962 (gst_base_src_finalize):
18963 add finalize method and clean up properly
18964 * gst/gstpipeline.c: (gst_pipeline_dispose):
18967 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
18969 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
18971 add more things to check
18972 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
18973 * gst/gstelement.c:
18976 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
18978 * check/elements/gstfakesrc.c: (chain_func), (event_func),
18979 (GST_START_TEST), (fakesrc_suite):
18980 * check/gst-libs/gdp.c: (GST_START_TEST):
18981 * check/gst/gst.c: (GST_START_TEST):
18982 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18983 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18984 * check/gst/gstbus.c: (GST_START_TEST):
18985 * check/gst/gstcaps.c: (GST_START_TEST):
18986 * check/gst/gstdata.c: (GST_START_TEST):
18987 * check/gst/gstelement.c: (GST_START_TEST):
18988 * check/gst/gstghostpad.c: (GST_START_TEST):
18989 * check/gst/gstiterator.c: (GST_START_TEST):
18990 * check/gst/gstmessage.c: (GST_START_TEST):
18991 * check/gst/gstobject.c: (GST_START_TEST):
18992 * check/gst/gstpad.c: (GST_START_TEST):
18993 * check/gst/gststructure.c: (GST_START_TEST):
18994 * check/gst/gstsystemclock.c: (GST_START_TEST),
18995 (gst_systemclock_suite):
18996 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
18997 * check/gst/gstvalue.c: (GST_START_TEST):
18998 * check/pipelines/cleanup.c: (GST_START_TEST):
18999 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19000 * check/states/sinks.c: (GST_START_TEST):
19001 * check/gstcheck.c: (gst_check_init):
19002 * check/gstcheck.h:
19003 add debugging category
19004 use GST_START_TEST now, so we add a debug line
19006 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19008 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19009 add test for state change message on a bin
19010 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19012 * gst/gstbin.c: (gst_bin_init):
19013 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19014 * gst/gstelement.c: (gst_element_post_message),
19015 (gst_element_set_state):
19016 * gst/gstelementfactory.c: (gst_element_factory_create):
19017 * gst/gstmessage.c: (gst_message_new):
19018 * gst/gstscheduler.c:
19019 various debugging additions and cleanups
19021 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19023 * check/Makefile.am:
19024 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19026 adding tests for elements
19027 * gst/gstelement.c: (gst_element_dispose):
19029 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19031 * gst/registries/gstlibxmlregistry.c: (load_feature):
19032 plug more leaks. A simple gst_init() now is leakfree, yay.
19034 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19036 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19037 (gst_xml_registry_load):
19038 plug another memleak
19040 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19043 use GST_SET_ERROR_CFLAGS
19044 * docs/faq/cvs.xml:
19045 change to ERROR_CFLAGS
19047 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19050 make GST_ERROR_CFLAGS overridable and re-enable Werror
19051 * docs/faq/cvs.xml:
19052 add a note about error CFLAGS
19053 * docs/gst/tmpl/gstfakesrc.sgml:
19054 * gst/elements/gstfakesrc.c:
19055 comment out some unused code
19056 * gst/gst.c: (split_and_iterate):
19057 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19061 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19063 * common/Makefile.am:
19064 * common/gtk-doc.mak:
19065 * docs/gst/Makefile.am:
19066 factor out gtk-doc.mak
19068 2005-07-07 Wim Taymans <wim@fluendo.com>
19070 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19071 (gst_thread_scheduler_dispose):
19072 Unlock the STREAM_LOCK completely.
19074 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19076 * check/Makefile.am:
19077 * check/elements/.cvsignore:
19078 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19079 (START_TEST), (fakesrc_suite), (main):
19080 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19081 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19082 (gst_fakesrc_create), (gst_fakesrc_start):
19083 * gst/elements/gstfakesrc.h:
19084 adding a first element test
19086 2005-07-07 Andy Wingo <wingo@pobox.com>
19088 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19091 2005-07-07 Wim Taymans <wim@fluendo.com>
19097 2005-07-07 Wim Taymans <wim@fluendo.com>
19099 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19100 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19101 Allow subclasses to implement their own negotiation.
19103 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19105 * docs/design/part-gstbin.txt:
19106 * docs/design/part-gstpipeline.txt:
19107 Update design notes to reflect the movement of
19108 responsibility for bus handling from GstPipeline to
19111 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19114 Remove unnecessary queue2/3/4 examples.
19116 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19118 * examples/Makefile.am:
19119 * examples/helloworld/helloworld.c: (event_loop), (main):
19120 * examples/queue/queue.c: (event_loop), (main):
19121 * examples/queue2/queue2.c: (main):
19122 Update a couple of the examples to work again.
19124 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19125 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19126 Spelling corrections and extra debug.
19128 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19129 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19130 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19132 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19133 (gst_pipeline_change_state):
19134 * gst/gstpipeline.h:
19135 Move the bus handler for children to the GstBin, and create a
19136 separate bus for receiving messages from children to the one the
19137 bus sends 'upwards' on.
19139 2005-07-06 Wim Taymans <wim@fluendo.com>
19142 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19143 (gst_base_sink_handle_object), (gst_base_sink_loop),
19144 (gst_base_sink_change_state):
19145 * gst/base/gstbasesink.h:
19146 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19147 (gst_base_src_init), (gst_base_src_setcaps),
19148 (gst_base_src_getcaps), (gst_base_src_loop),
19149 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19150 (gst_base_src_start), (gst_base_src_change_state):
19151 * gst/base/gstbasesrc.h:
19152 Make basesrc negotiate.
19153 Handle the case where preroll fails in basesink.
19156 2005-07-06 Wim Taymans <wim@fluendo.com>
19158 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19159 Implement the fixate function.
19160 Clean up acceptcaps.
19162 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19164 * docs/pwg/building-filterfactory.xml:
19165 * docs/pwg/pwg.xml:
19166 Remove never-written filter-factory chapter; I'll add the various
19167 base classes to part 4 ("other element types") later on.
19169 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19171 * docs/pwg/advanced-negotiation.xml:
19172 * docs/pwg/building-boiler.xml:
19173 * docs/pwg/building-pads.xml:
19174 * docs/pwg/pwg.xml:
19175 * examples/pwg/Makefile.am:
19176 Add a chapter on caps negotiation, simplify the original code
19177 samples a bit w.r.t. caps negotiation, add link to the advanced
19178 section. Add a bunch of examples showing different use cases of
19179 different types of caps negotiation. Upstream renegotiation isn't
19180 fully documented yet since nobody knows how that works.
19182 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
19184 * check/gst/gstpad.c:
19185 * check/gstcheck.c:
19186 * gst/gstpad.c: (gst_pad_get_internal_links_default):
19187 if pad has no parent, return NULL as list of internal links
19189 2005-07-05 Andy Wingo <wingo@pobox.com>
19191 * gst/elements/gstfilesrc.c:
19192 * gst/elements/gstfakesrc.c:
19193 * gst/base/gstpushsrc.c:
19194 * gst/base/gstbasesrc.h:
19195 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19197 2005-07-05 Stefan Kost <ensonic@users.sf.net>
19200 better report generation target (lcov needs a patch)
19202 2005-07-05 Andy Wingo <wingo@pobox.com>
19204 * gst/elements, testsuite: Null if we got it...
19206 2005-07-05 Wim Taymans <wim@fluendo.com>
19209 * libs/gst/dataprotocol/Makefile.am:
19210 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19211 * libs/gst/dataprotocol/dataprotocol.h:
19212 * pkgconfig/Makefile.am:
19213 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19214 * pkgconfig/gstreamer-dataprotocol.pc.in:
19215 Ported dataprotol to 0.9.
19216 Added pkgconfig files.
19218 2005-07-05 Andy Wingo <wingo@pobox.com>
19220 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19221 Default to returning TRUE for the case when tranform_caps returns
19222 a fixed caps, like for identity or volume.
19224 * check/gst/gstbus.c (pound_bus_with_messages):
19225 * check/gst/gstmessage.c (START_TEST):
19226 * check/pipelines/simple_launch_lines.c (got_handoff): Application
19227 message API change.
19229 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19230 logic weaks here: always run transform_caps, trying passthrough
19231 operation only if the original caps intersects with the transform.
19233 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19234 source and sink caps.
19236 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19237 Intersect the peer caps with the pad template before going into
19239 (gst_base_transform_transform_caps): More debugging.
19241 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19244 2005-07-04 Edward Hervey <edward@fluendo.com>
19248 (gst_pad_add_*_probe): now returns the signal id for better wrapping
19251 2005-07-04 Andy Wingo <wingo@pobox.com>
19253 * check/gst/gstpad.c: Only set explicit caps on pads.
19255 2005-07-01 Andy Wingo <wingo@pobox.com>
19257 * tests/network-clock.scm: Commentary update.
19259 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19260 Didn't really make sense, not implementable with basetransform,
19262 (gst_identity_transform): Unref inbuf via make_writable. Feeble
19263 attempt at implementing the sync property, needs an unlock method.
19265 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19266 New func, by default returns the same caps (the identity
19268 (gst_base_transform_getcaps): Uses transform_caps to return
19269 something sensible.
19270 (gst_base_transform_setcaps): Complicated logic to get caps on
19271 both pads, even if they are different, and to call set_caps once
19272 for every time both pads get their caps set.
19273 (gst_base_transform_handle_buffer): Give the ref to the transform
19274 function. Allows in-place modification of the buffer.
19276 * gst/base/gstbasetransform.h (transform_caps): New class method.
19277 Given caps on one side, what can I do on the other.
19278 (set_caps): Take two caps, one for each side of the element.
19281 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19282 caps in place. This is safe because we can check the mutability of
19283 the caps, and a good idea because fixate functions are just called
19284 as a matter of last resort. (Not actually implemented.)
19285 (gst_pad_set_caps): If the caps we're setting is actually the same
19286 as the existing pad caps, just update the pointer without calling
19287 setcaps. Assert that caps is either NULL or fixed, as per the
19290 * gst/gstghostpad.c: Update for fixate changes.
19292 2005-07-02 Andy Wingo <wingo@pobox.com>
19295 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19296 two refcounts makes it immutable, which is enough. Doc more.
19298 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
19300 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19301 Put the mini_object into GValue as a mini_object,
19302 not a gpointer, since that's how we declared
19305 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19307 * examples/pwg/Makefile.am:
19308 Fix buildbot again.
19310 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19312 * docs/pwg/building-testapp.xml:
19314 * examples/pwg/Makefile.am:
19317 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19320 * examples/Makefile.am:
19321 * examples/pwg/Makefile.am:
19322 * examples/pwg/extract.pl:
19323 Enable building the PWG examples.
19324 * docs/pwg/advanced-interfaces.xml:
19325 Add URI interface stub.
19326 * docs/pwg/advanced-types.xml:
19327 * docs/pwg/other-autoplugger.xml:
19328 * docs/pwg/appendix-porting.xml:
19329 * docs/pwg/pwg.xml:
19330 Add porting guide (mostly stubs), remove autoplugging (see ADM).
19331 * docs/pwg/building-boiler.xml:
19332 * docs/pwg/building-chainfn.xml:
19333 * docs/pwg/building-pads.xml:
19334 * docs/pwg/building-props.xml:
19335 * docs/pwg/building-state.xml:
19336 * docs/pwg/building-testapp.xml:
19337 Update the building-*.xml parts for 0.9 changes. All examples
19338 code blocks compile in examples/pwg/*.
19340 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19342 * docs/manual/advanced-autoplugging.xml:
19343 * docs/manual/appendix-checklist.xml:
19344 * docs/manual/appendix-integration.xml:
19345 * docs/manual/highlevel-components.xml:
19346 Fix playbin/decodebin examples, update docs a bit, mention bus
19347 instead of signals in various places, mention kmplayer and
19348 kaffeine since they have a working GStreamer backend in the KDE
19351 2005-06-30 Wim Taymans <wim@fluendo.com>
19354 * docs/design/draft-ghostpads.txt:
19355 * docs/design/draft-push-pull.txt:
19356 * docs/design/draft-query.txt:
19357 * docs/design/part-TODO.txt:
19358 * docs/design/part-query.txt:
19359 Added CHANGES-0.9 doc, updated status of other docs.
19364 2005-06-30 Wim Taymans <wim@fluendo.com>
19366 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19367 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19368 (gst_base_sink_change_state):
19369 * gst/base/gstbasesink.h:
19370 Some tweaks, only EOS and a buffer complete a preroll.
19372 2005-06-30 Andy Wingo <wingo@pobox.com>
19374 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19375 activate_push down to the internal pad as well.
19377 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
19379 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19381 * gst/gsttaginterface.c:
19382 Some documentation fixes (#307394 and #307397).
19384 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
19386 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19388 * gst/gstvalue.c: (gst_value_intersect_list):
19389 Fix memleak (#309125).
19391 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19393 * docs/manual/advanced-dataaccess.xml:
19394 Fix fakesrc example to compile; doesn't work, bug somewhere...?
19395 * docs/manual/basics-pads.xml:
19396 Add reference for filtered caps to above chapter.
19398 2005-06-30 Wim Taymans <wim@fluendo.com>
19400 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19401 (gst_bin_change_state):
19403 Lame attempt at making the state change function a bit
19406 2005-06-30 Wim Taymans <wim@fluendo.com>
19408 * docs/design/part-clocks.txt:
19409 * docs/design/part-element-sink.txt:
19410 * docs/design/part-events.txt:
19411 * docs/design/part-preroll.txt:
19412 * docs/design/part-states.txt:
19413 Some more tweeks and additions to the docs.
19415 2005-06-30 Wim Taymans <wim@fluendo.com>
19417 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19418 (default_have_data), (gst_pad_class_init), (gst_pad_init),
19419 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19420 (gst_pad_check_pull_range), (gst_pad_get_range),
19421 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19423 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19424 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19425 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19426 (gst_pad_remove_buffer_probe):
19427 Removed atomic operations, use existing LOCK.
19428 Move exception handling out of main code path.
19430 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19432 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19433 (silly_return_true_function), (gst_pad_class_init),
19434 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19435 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19436 (gst_pad_send_event):
19437 Fix accumulator, add default value by using _emitv() instead
19438 of _emit() for signal emission.
19440 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19442 * docs/manual/advanced-dataaccess.xml:
19443 * examples/manual/Makefile.am:
19445 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19448 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
19450 * gst/elements/gstfilesink.c: (gst_filesink_render):
19451 Simplify code so that we don't have to handle short
19452 writes and return GST_FLOW_ERROR if an error occured.
19454 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19456 * docs/gst/gstreamer-docs.sgml:
19457 Remove probes more.
19459 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19461 * docs/gst/gstreamer-sections.txt:
19462 * docs/gst/tmpl/gstpad.sgml:
19463 * docs/gst/tmpl/gstprobe.sgml:
19465 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19466 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19467 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19468 (gst_pad_push_event), (gst_pad_send_event):
19470 * gst/gstutils.c: (gst_pad_add_data_probe),
19471 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19472 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19473 (gst_pad_remove_buffer_probe):
19475 Remove old probes, add new g-signal-based probes and some utility
19478 2005-06-29 Edward Hervey <edward@fluendo.com>
19480 * gst/gstelementfactory.c:
19483 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19484 the definition to the header file.
19486 2005-06-29 Andy Wingo <wingo@pobox.com>
19488 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19489 plugins from the source directory.
19491 2005-06-29 Wim Taymans <wim@fluendo.com>
19493 * docs/gst/tmpl/gstbuffer.sgml:
19494 * docs/gst/tmpl/gstclock.sgml:
19495 Some fixings for blantently wrong text.
19497 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19499 * check/Makefile.am:
19500 * gst/gst.c: (add_path_func), (init_pre):
19501 * gst/gstregistry.c: (gst_registry_add_path):
19502 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19503 only scan the GST_PLUGIN_PATH locations, and not add
19506 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19508 * docs/gst/gstreamer-sections.txt:
19509 * docs/gst/tmpl/gstbasesrc.sgml:
19510 * gst/gstelement.c:
19511 * gst/gstelement.h:
19516 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19518 * docs/manual/advanced-autoplugging.xml:
19519 Fix autoplugging example.
19521 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19523 * docs/manual/advanced-autoplugging.xml:
19524 * docs/manual/mime-world.fig:
19525 Try to get autoplugging working, fix type detection. Fix text
19526 in hello-world image.
19528 2005-06-29 Wim Taymans <wim@fluendo.com>
19530 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19531 (gst_base_sink_change_state):
19535 map SIGNAL and BROADCAST to the right function.
19538 Remove redundant braces.
19540 * gst/gstpad.c: (gst_pad_set_caps):
19541 Don't call setcaps function when reseting caps to NULL.
19543 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19544 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19545 (gst_system_clock_id_unschedule):
19546 Use BROADCAST as this is what we do.
19548 2005-06-29 Wim Taymans <wim@fluendo.com>
19550 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19551 We are actually prerolling before commiting the state
19554 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19556 * docs/manual/advanced-clocks.xml:
19557 * docs/manual/advanced-interfaces.xml:
19558 * docs/manual/advanced-metadata.xml:
19559 * docs/manual/advanced-position.xml:
19560 * docs/manual/advanced-schedulers.xml:
19561 * docs/manual/advanced-threads.xml:
19562 * docs/manual/appendix-porting.xml:
19563 * docs/manual/basics-bins.xml:
19564 * docs/manual/basics-bus.xml:
19565 * docs/manual/basics-elements.xml:
19566 * docs/manual/basics-helloworld.xml:
19567 * docs/manual/basics-pads.xml:
19568 * docs/manual/highlevel-components.xml:
19569 * docs/manual/manual.xml:
19570 * docs/manual/thread.fig:
19571 Update (until threads/scheduling) Application Development Manual;
19572 remove GstThread, add GstBus, add simple porting checklist, add
19573 documentation for tag writing, clocks, make all examples until this
19574 part compile and run.
19575 * examples/manual/Makefile.am:
19576 Update from changes to Application Development Manual; add bus
19577 example, remove thread example.
19579 2005-06-28 Wim Taymans <wim@fluendo.com>
19581 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
19582 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
19583 (gst_bus_source_dispatch):
19584 Add debugging messages.
19585 Make internal methods static.
19586 Handle the case where the bus is flushed in the handler.
19588 * gst/gstelement.c: (gst_element_get_bus):
19589 Fix refcount in _get_bus();
19591 * gst/gstpipeline.c: (gst_pipeline_change_state),
19592 (gst_pipeline_get_clock_func):
19593 Clock refcounting fixes.
19594 Handle the case where preroll timed out more gracefully.
19596 * gst/gstsystemclock.c: (gst_system_clock_dispose):
19597 Clean up the internal thread in dispose. This is needed
19598 for subclasses that actually get disposed.
19600 * gst/schedulers/threadscheduler.c:
19601 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19602 (gst_thread_scheduler_dispose):
19603 Free thread pool in dispose.
19605 2005-06-28 Andy Wingo <wingo@pobox.com>
19607 * tests/network-clock-utils.scm (debug, print-event): New utils.
19609 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
19610 (*packet-loss*): Unified loss probability.
19611 (network-time): Report out-of-band events.
19613 * tests/plot-data: Add support for out-of-band events. Hack it
19614 into this script instead of passing it down the pipe; should fix
19617 2005-06-28 Wim Taymans <wim@fluendo.com>
19619 * docs/gst/gstreamer.types:
19620 * docs/gst/tmpl/gstbasesrc.sgml:
19621 * docs/gst/tmpl/gstpad.sgml:
19624 2005-06-28 Wim Taymans <wim@fluendo.com>
19626 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19627 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
19628 (gst_proxy_pad_do_fixatecaps):
19629 Correctly proxy the check_pull_range function.
19631 2005-06-28 Andy Wingo <wingo@pobox.com>
19633 * tests/network-clock.scm: Removed need for slib.
19635 2005-06-28 Wim Taymans <wim@fluendo.com>
19637 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
19638 (gst_basesink_preroll_queue_flush):
19639 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
19640 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
19641 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19642 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19643 (gst_proxy_pad_set_property):
19646 * gst/gstqueue.c: (gst_queue_init):
19647 The deprecated pad loop function is removed now.
19649 2005-06-28 Andy Wingo <wingo@pobox.com>
19651 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
19652 New parameters, simulate network packet loss.
19654 * tests/network-clock-utils.scm: Initialize the RNG.
19656 2005-06-28 Wim Taymans <wim@fluendo.com>
19658 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
19659 (gst_basesink_event), (gst_basesink_deactivate):
19660 Flushing the preroll queue always needs to unlock the waiters.
19662 2005-06-28 Edward Hervey <edward@fluendo.com>
19664 * gst/gstpipeline.c: (gst_pipeline_send_event):
19665 Wheen a seek was successful on a pipeline, set the stream_time to the
19666 seek offset in order to have a synchronized stream_time.
19668 2005-06-28 Wim Taymans <wim@fluendo.com>
19670 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19671 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
19672 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
19673 (gst_proxy_pad_do_fixatecaps):
19674 Call wrapper function instead of just calling the function
19675 pointers. This takes care of any locking and whatmore.
19677 2005-06-28 Wim Taymans <wim@fluendo.com>
19679 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
19680 (gst_pad_pull_range):
19682 CONNECTED -> LINKED.
19684 2005-06-28 Andy Wingo <wingo@pobox.com>
19686 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
19687 source-munging commit!!!
19689 * gst/gstobject.c (gst_object_unref, gst_object_ref)
19690 (gst_object_sink): Take gpointer arguments, not GstObject --
19691 avoids casts. Like GLib.
19693 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
19696 2005-06-27 Andy Wingo <wingo@pobox.com>
19698 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
19701 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
19702 returns a sorted copy of the trace list.
19703 (gst_alloc_trace_print_live): New API, only prints traces with
19704 live objects. Sort the list.
19705 (gst_alloc_trace_print_all): Sort the list.
19706 (gst_alloc_trace_print): Align columns.
19708 * gst/elements/gstttypefindelement.c:
19709 * gst/elements/gsttee.c:
19710 * gst/base/gstbasesrc.c:
19711 * gst/base/gstbasesink.c:
19712 * gst/base/gstbasetransform.c:
19713 * gst/gstqueue.c: Adapt for pad activation changes.
19715 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
19717 (gst_pipeline_dispose): Drop ref on sched.
19719 * gst/gstpad.c (gst_pad_init): Set the default activate func.
19720 (gst_pad_activate_default): Push mode by default.
19721 (pre_activate_switch, post_activate_switch): New stubs, things to
19722 do before and after switching activation modes on pads.
19723 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
19724 the pad's activate function to choose which mode to activate.
19725 Shortcut on deactivation and call the right function directly.
19726 (gst_pad_activate_pull): New API, (de)activates a pad in pull
19728 (gst_pad_activate_push): New API, same for push mode.
19729 (gst_pad_set_activate_function)
19730 (gst_pad_set_activatepull_function)
19731 (gst_pad_set_activatepush_function): Setters for new API.
19733 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
19734 Trace all miniobjects.
19735 (gst_mini_object_make_writable): Unref the arg if we copy, like
19736 gst_caps_make_writable.
19738 * gst/gstmessage.c (_gst_message_initialize): No trace init.
19740 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
19741 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
19742 Adapt for new pad API.
19744 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
19746 * gst/gstelement.h:
19747 * gst/gstelement.c (gst_element_iterate_src_pads)
19748 (gst_element_iterate_sink_pads): New API functions.
19750 * gst/gstelement.c (iterator_fold_with_resync): New utility,
19751 should fold into gstiterator.c in some form.
19752 (gst_element_pads_activate): Simplified via use of fold and
19753 delegation of decisions to gstpad->activate.
19755 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
19758 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
19759 class once in init, like gstmessage. Didn't run into this issue
19760 but it seems correct. Don't initialize a trace, gstminiobject does
19763 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
19764 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
19766 (assert_live_count): New util function, uses alloc traces to check
19769 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
19770 To be modified when unlink drops the internal pad.
19772 2005-06-27 Wim Taymans <wim@fluendo.com>
19774 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
19775 (gst_bin_change_state):
19776 Cleanup the get_state() function a little, make sure it
19777 iterates the same set of elements.
19778 Added stub iterate_state_order().
19780 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
19782 * docs/gst/gstreamer-docs.sgml:
19783 * docs/gst/gstreamer-sections.txt:
19784 * docs/gst/gstreamer.types:
19785 * docs/gst/tmpl/gstbasesink.sgml:
19786 * docs/gst/tmpl/gstbasesrc.sgml:
19787 * docs/gst/tmpl/gstbasetransform.sgml:
19788 * docs/gst/tmpl/gstelement.sgml:
19789 * docs/gst/tmpl/gstiterator.sgml:
19790 * gst/base/gstbasesrc.c:
19791 * gst/base/gstbasesrc.h:
19792 * gst/base/gstbasetransform.h:
19793 * gst/gstelement.c:
19794 * gst/gstiterator.h:
19795 adding basetransform and iterator docs
19797 2005-06-27 Andy Wingo <wingo@pobox.com>
19799 * docs/design/part-activation.txt: Notes on how activation should
19800 work -- not quite implemented yet.
19802 2005-06-25 Wim Taymans <wim@fluendo.com>
19804 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
19805 At least get the chain function correct, needs more
19808 2005-06-25 Wim Taymans <wim@fluendo.com>
19810 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19811 (gst_basesink_handle_object), (gst_basesink_event),
19812 (gst_basesink_do_sync), (gst_basesink_handle_event),
19813 (gst_basesink_change_state):
19815 Right, two problems here: ghostpads don't take locks and
19816 glib _rec_mutex_lock_full() with depth==0 still locks.
19817 Catch illegal locking and g_warn them.
19819 2005-06-25 Wim Taymans <wim@fluendo.com>
19821 * check/states/sinks.c: (START_TEST), (gst_object_suite):
19822 Have to check for completion now...
19824 2005-06-25 Wim Taymans <wim@fluendo.com>
19826 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19827 (gst_basesink_handle_object), (gst_basesink_event),
19828 (gst_basesink_do_sync), (gst_basesink_handle_event),
19829 (gst_basesink_change_state):
19831 Unlock STREAM_LOCK whatever the recursion was.
19833 2005-06-25 Wim Taymans <wim@fluendo.com>
19835 * gst/base/gstbasesink.c: (gst_basesink_set_property),
19836 (gst_basesink_preroll_queue_empty),
19837 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
19838 (gst_basesink_event), (gst_basesink_do_sync),
19839 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
19840 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
19841 (gst_basesink_change_state):
19842 Reworked the base sink, handle event and buffer serialisation
19843 correctly and removed possible deadlock.
19844 Handle EOS correctly.
19846 2005-06-25 Wim Taymans <wim@fluendo.com>
19848 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
19849 (gst_pipeline_change_state):
19850 * tools/gst-launch.c: (check_intr), (event_loop), (main):
19851 Allow elements to post EOS in the state change function.
19852 Fix up -launch, make it exit the poll loop when the
19853 pipeline actually changed state.
19854 Fix up warning parsing in -launch.
19856 2005-06-25 Wim Taymans <wim@fluendo.com>
19858 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
19859 (gst_tee_sink_activate):
19860 Core takes STREAM_LOCK for us now.
19862 2005-06-25 Wim Taymans <wim@fluendo.com>
19864 * gst/gstelement.c: (gst_element_get_state_func),
19865 (gst_element_set_state):
19866 * gst/gstelement.h:
19867 * gst/gstmessage.c: (gst_message_parse_error),
19868 (gst_message_parse_warning):
19869 Keep track of current target state while performing a state
19870 change so that subclasses can do something interesting.
19871 Fix parsing of warning/error messages when GError is NULL.
19873 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
19875 * docs/gst/Makefile.am:
19876 * docs/gst/gstreamer-docs.sgml:
19877 * docs/gst/gstreamer-sections.txt:
19878 * docs/gst/gstreamer.types:
19879 * docs/gst/tmpl/gstbasesink.sgml:
19880 * docs/gst/tmpl/gstbasesrc.sgml:
19881 * docs/gst/tmpl/gstbin.sgml:
19882 * docs/gst/tmpl/gstcompat.sgml:
19883 * docs/gst/tmpl/gstfakesink.sgml:
19884 * docs/gst/tmpl/gstfakesrc.sgml:
19885 * docs/gst/tmpl/gstfilesink.sgml:
19886 * docs/gst/tmpl/gstfilesrc.sgml:
19887 * docs/gst/tmpl/gstindex.sgml:
19888 * docs/manual/appendix-quotes.xml:
19889 * gst/base/gstbasesrc.h:
19890 * gst/elements/gstfakesrc.h:
19891 * gst/gstmessage.h:
19892 start pulling in base classes and elements in our docs
19894 2005-06-24 Stefan Kost <ensonic@users.sf.net>
19896 * docs/gst/Makefile.am:
19897 * docs/libs/Makefile.am:
19898 fixed make distcheck with gtk-doc 1.3
19900 2005-06-23 Wim Taymans <wim@fluendo.com>
19902 * gst/gstelement.c: (gst_element_get_state_func),
19903 (gst_element_set_state), (gst_element_change_state):
19904 When the state did not change, also report NO_PREROLL
19907 2005-06-23 Wim Taymans <wim@fluendo.com>
19909 * gst/gstpad.c: (gst_pad_event_default):
19910 * gst/gstqueue.c: (gst_queue_loop):
19911 No unsafe task pausing please.
19913 2005-06-23 Wim Taymans <wim@fluendo.com>
19915 * gst/schedulers/threadscheduler.c:
19916 (gst_thread_scheduler_task_start),
19917 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
19918 Ref the task before pushing it on the threadpool. This
19919 makes sure that we have a ref when the threadfunction is
19922 2005-06-23 Andy Wingo <wingo@pobox.com>
19924 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
19925 offset is greater than the file's size.
19927 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
19928 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
19929 * gst/gstobject.c (gst_object_class_init): Make the class lock
19930 recursive. Wim won't let me drop deep_notify. Decodebin works
19931 again, whoopdy doo.
19933 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
19934 internal pad, and hacks accordingly. Doesn't do it on the target
19935 pad because we change its caps. Probably catches all cases of
19937 (gst_ghost_pad_set_property): Connect to notify::caps as
19940 * tests/network-clock.scm (plot-simulation): Pipe data to the
19941 elite python skript.
19943 * tests/network-clock-utils.scm (define-parameter): New macro,
19944 defines a parameter that can be set via the command line.
19945 (set-parameter!, parse-parameter-arguments): Command line args
19948 * tests/plot-data: Simple matplotlib-based plotter, takes input on
19951 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
19953 * gst/elements/gsttypefindelement.c:
19954 (gst_type_find_element_handle_event):
19955 Don't restart typefinding on a discont.
19956 * gst/gstelement.c: (gst_element_set_state):
19957 Debug spelling fix.
19958 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
19959 Allow changing mode of an active pad.
19960 Debug output fixes.
19961 * gst/registries/gstlibxmlregistry.c: (load_feature):
19962 Don't cast a static pad template to a normal pad template.
19964 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
19966 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
19967 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19968 remove gst_strtoll completely, since it didn't actually do
19969 anything more than what g_ascii_strtoull already does.
19970 check for range errors when deserializing
19971 do a cast for the unsigned cases; but further fixing needs
19972 a decision on what the interpretation of "(int)" and
19973 deserialization should be for values that fall outside the
19974 type's boundaries (ie, refuse, or interpret as casting)
19976 2005-06-23 Wim Taymans <wim@fluendo.com>
19978 * check/Makefile.am:
19979 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
19980 * docs/design/part-live-source.txt:
19981 * docs/design/part-states.txt:
19982 * gst/base/gstbasesrc.c: (gst_basesrc_init),
19983 (gst_basesrc_set_live), (gst_basesrc_is_live),
19984 (gst_basesrc_get_range), (gst_basesrc_activate),
19985 (gst_basesrc_change_state):
19986 * gst/base/gstbasesrc.h:
19987 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19988 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
19989 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
19990 * gst/gstelement.c: (gst_element_get_state_func),
19991 (gst_element_set_state):
19992 * gst/gstelement.h:
19994 * tools/gst-launch.c: (event_loop), (main):
19995 Added support for live sources and other elements that
19997 Updated design docs, added live-source design doc.
19998 Implemented live source functionality in basesrc
19999 Fix error condition in _bin_get_state()
20000 Implement live source handling in -launch.
20001 Added check for live sources.
20002 Fixed case in GstBin where elements were changed state
20006 2005-06-23 Andy Wingo <wingo@pobox.com>
20008 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20009 borken refcounting.
20011 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20012 gst_caps_replace takes care of this for us.
20014 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20015 gst_pad_set_caps on the target, not just its setcaps() function.
20017 * tests/network-clock.scm:
20018 * tests/network-clock-utils.scm: A network clock simulator.
20019 Something of an algorithmic testbed before doing something in C.
20021 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20023 * check/Makefile.am:
20024 * check/gst/capslist.h:
20025 copy over from 0.8, and add two with bitmasks specified with
20027 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20028 add test to parse everything from capslist.h
20029 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20031 add test for structure deserialization
20032 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20033 add tests for deserialization of strings to int types
20034 * gst/gststructure.c: (gst_structure_nth_field_name):
20035 * gst/gststructure.h:
20036 add a way to get the name of a field referenced by index
20037 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20038 instead of checking if the resulting long long lies between
20039 min and max, we check if the long long would fit into
20040 a number of bytes for the final type.
20041 This fixes cases where a string represents 2^32 - 1, which
20042 when cast to int would be the (valid) -1, but is bigger than
20045 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20047 * gst/parse/grammar.y:
20048 add a log line for type deserialization
20050 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20052 * check/gst/gstvalue.c: (START_TEST):
20053 * gst/gstvalue.c: (gst_value_deserialize):
20054 return long long, not int, so gint64 deserialization actually
20055 works. Is there any flag that makes the compiler check this ?
20058 2005-06-22 Wim Taymans <wim@fluendo.com>
20061 Added convenience macros for setting buffers in GValue.
20063 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20065 * check/gst/.cvsignore:
20066 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20067 add a test deserializing int64, and comment part out because
20070 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20072 * check/Makefile.am:
20073 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20074 * testsuite/Makefile.am:
20075 * testsuite/caps/Makefile.am:
20076 * testsuite/caps/value_serialize.c:
20077 * testsuite/test_gst_init.c:
20078 move a value_serialize test over
20080 2005-06-20 Wim Taymans <wim@fluendo.com>
20085 * gst/gstvalue.c: (gst_value_compare_buffer),
20086 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20087 (gst_value_compare_flags), (gst_value_serialize_flags),
20088 (gst_value_deserialize_flags), (_gst_value_initialize):
20089 Fix serialisation of buffers, they are not boxed types anymore
20091 2005-06-20 Wim Taymans <wim@fluendo.com>
20093 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20094 Testcase to show error in buffer-on-caps serialisation.
20096 2005-06-20 Andy Wingo <wingo@pobox.com>
20098 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20099 will be adding to later.
20101 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20102 if its socks fill with rocks.
20103 (gst_system_clock_obtain): Set the name on object construction.
20104 Avoid double-checked locking.
20106 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
20108 * gst/gsturi.c: (gst_element_make_from_uri):
20109 Fix potential endless loop.
20111 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20113 * check/Makefile.am:
20115 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20117 move over from testsuite dir and clean up
20120 * testsuite/Makefile.am:
20121 * testsuite/tags/.cvsignore:
20122 * testsuite/tags/Makefile.am:
20123 * testsuite/tags/merge.c:
20124 remove testsuite/tags
20126 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20128 * docs/gst/gstreamer-sections.txt:
20129 * docs/gst/tmpl/gstenumtypes.sgml:
20130 * win32/gstenumtypes.c:
20131 clean up documentation build a little
20133 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20135 * check/gstcheck.h:
20136 add macros for checking refcounts on objects and caps
20137 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20138 add some more unit tests
20139 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20140 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20141 fix leaked refcounts (I hope :)) so unittest works
20145 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20147 * configure.ac: back to HEAD
20149 === release 0.9.1 ===
20151 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
20157 2005-06-17 Andy Wingo <wingo@pobox.com>
20159 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20160 assert; it's always possible that the pad gets deactivated in
20161 between the checks in gstpad.c and the implementation. Rely on
20162 finish_preroll() to return a FLUSHING or similar instead of on the
20165 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20166 clock and post an EOS message if we come out of finish_preroll in
20169 2005-06-16 David Schleef <ds@schleef.org>
20171 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20172 (gst_capsfilter_set_property): Allow NULL as possible value
20173 for filter_caps property, indicating GST_CAPS_ANY.
20175 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20177 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20179 * gst/schedulers/Makefile.am:
20181 * gstreamer.spec.in:
20184 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20186 * gstreamer.spec.in:
20189 2005-06-08 Andy Wingo <wingo@pobox.com>
20191 * gst/gstutils.c: RPAD fixes all around.
20192 (gst_element_link_pads): Refcounting fixes.
20194 * tools/gst-inspect.c:
20195 * tools/gst-xmlinspect.c:
20197 * gst/base/gsttypefindhelper.c:
20198 * gst/base/gstbasesink.c:
20199 * gst/gstqueue.c: RPAD fixes.
20201 * gst/gstghostpad.h:
20202 * gst/gstghostpad.c: New ghost pad implementation as full proxy
20203 pads. The tricky thing is they provide both source and sink
20204 interfaces, since they proxy the internal pad for the external
20205 pad, and vice versa. Implement with lower-level ProxyPad objects,
20206 with the interior proxy pad as a child of the exterior ghost pad.
20207 Should write a doc on this.
20209 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20210 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20213 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20214 pads are real pads. No ghost pads in this file. Not documenting
20215 the myriad s/RPAD/PAD/ and REALIZE fixes.
20216 (gst_pad_class_init): Add properties for "direction" and
20217 "template". Both are construct-only, so they can't change during
20218 the life of the pad. Fixes properly deriving from GstPad.
20219 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20220 derived objects, just set properties when creating the objects via
20222 (gst_pad_get_parent): Implement as a function, return NULL if the
20223 parent is not an element.
20224 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20225 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20227 * gst/gstobject.c (gst_object_class_init): Make name a construct
20228 property. Don't set it in the object init.
20230 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20231 with UNKNOWN direction.
20232 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20233 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20234 (gst_element_remove_pad): Remove ghost-pad special cases.
20235 (gst_element_pads_activate): Remove rpad cruft.
20237 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20238 catch the pad's-parent-not-an-element case.
20240 * gst/gst.h: Include gstghostpad.h.
20242 * gst/gst.c (init_post): No more real, ghost pads.
20244 * gst/Makefile.am: Add gstghostpad.[ch].
20246 * check/Makefile.am:
20247 * check/gst/gstbin.c:
20248 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20249 into a bin creates ghost pads, and that the refcounts are right.
20250 Partly moved from gstbin.c.
20252 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20254 * check/gst-libs/.cvsignore:
20255 * check/gst/.cvsignore:
20256 * check/pipelines/.cvsignore:
20258 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20259 (START_TEST), (cleanup_suite), (main):
20260 add some tests related to cleanup after running pipelines
20262 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20264 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20265 add a testsuite for GstBuffer
20267 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20269 * gst/gstminiobject.h:
20270 add defines for accessing the refcount
20272 2005-06-03 Stefan Kost <ensonic@users.sf.net>
20274 * Makefile.am: added support for html unit test coverage reports
20276 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
20278 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20279 Free existing caps if the capsfilter changes. Add a FIXME about
20280 setting those caps on the pads.
20282 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20283 Before adding a ghost pad to a parent bin, check that there isn't
20284 already one for the element on the bin. Prevents infinite recursion
20285 when using decodebin in parse pipelines. Andy says he'll rewrite the
20286 way this works anyway, so ignore the hack.
20288 2005-06-02 Andy Wingo <wingo@pobox.com>
20290 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20291 file size, pass it on to the type find helper.
20293 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20294 segment_start and segment_end properly according to the seek
20295 method. Segment_end is still a bit flaky because offset can be
20296 negative for CUR and END cases, but it takes -1 as an "unset"
20299 2005-06-02 Wim Taymans <wim@fluendo.com>
20301 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20302 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20303 (gst_basesink_activate):
20304 * gst/base/gstbasesink.h:
20305 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20306 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20307 (gst_pad_query), (gst_pad_start_task):
20309 * gst/gstqueue.c: (gst_queue_bufferalloc),
20310 (gst_queue_handle_sink_event), (gst_queue_chain):
20311 Bufferalloc: return GstFlowReturn to more accuratly report
20312 why allocation failed.
20314 2005-06-02 Wim Taymans <wim@fluendo.com>
20316 * gst/gstpipeline.c: (gst_pipeline_send_event):
20317 Take snapshot of state without blocking.
20319 2005-06-02 Wim Taymans <wim@fluendo.com>
20321 * docs/design/part-TODO.txt:
20322 * docs/design/part-caps.txt:
20323 * docs/design/part-clocks.txt:
20324 * docs/design/part-negotiation.txt:
20325 * docs/design/part-preroll.txt:
20328 2005-05-30 Wim Taymans <wim@fluendo.com>
20330 * gst/elements/gstidentity.c: (gst_identity_event),
20331 (gst_identity_transform), (gst_identity_get_property):
20332 Protect last_message property as it is accessed from
20335 2005-05-30 Wim Taymans <wim@fluendo.com>
20337 * gst/gstelement.c: (gst_element_init),
20338 (gst_element_pads_activate), (gst_element_change_state):
20339 Slicker pad activation code.
20341 2005-05-30 Wim Taymans <wim@fluendo.com>
20344 * gst/gstelement.h:
20345 * gst/gstelementfactory.h:
20347 Move elementfactory methods to separate .h file.
20349 2005-05-30 Wim Taymans <wim@fluendo.com>
20351 * docs/design/part-overview.txt:
20352 * gst/gstsystemclock.h:
20353 Small typo fixes, doc updates.
20355 2005-05-30 Wim Taymans <wim@fluendo.com>
20357 * gst/gst.c: (gst_init_get_popt_table), (init_post),
20358 (init_popt_callback):
20359 Remove cpu-opt flag.
20361 2005-05-30 Wim Taymans <wim@fluendo.com>
20363 * gst/gstbuffer.c: (gst_subbuffer_finalize),
20364 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20366 Avoid typechecking in places where not needed.
20367 Added accessor for malloc_data.
20369 2005-05-30 Wim Taymans <wim@fluendo.com>
20371 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20372 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20373 (gst_pad_configure_sink), (gst_pad_configure_src),
20374 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20375 (gst_pad_start_task):
20376 Propagate errors from _set_caps() in configure_src/sink
20377 functions instead of returning TRUE.
20378 FLUSH events can travel up and downstream
20381 2005-05-30 Wim Taymans <wim@fluendo.com>
20383 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20384 (gst_basesink_activate):
20385 Handle EOS in preroll.
20387 2005-05-30 Wim Taymans <wim@fluendo.com>
20389 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20390 (gst_queue_loop), (gst_queue_handle_src_event):
20391 Remove old pieces of code
20392 Flushing the queue in an upstream event is a very bad idea.
20394 2005-05-26 Andy Wingo <wingo@pobox.com>
20396 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20397 gst_value_set_mini_object so as to add a ref on the object (which
20398 will be removed when the value is unset).
20400 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20401 arg type in ::handoff.
20403 * gst/gstelement.c (gst_element_change_state): Also deactivate
20404 pads in READY->NULL, just in case the element didn't make it to
20405 PAUSED. Wingo tested, Wim approved.
20407 2005-05-26 Wim Taymans <wim@fluendo.com>
20409 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20410 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20411 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20412 A flushing pad cannot be used to alloc_buffer from.
20414 2005-05-26 Wim Taymans <wim@fluendo.com>
20416 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20417 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20418 (gst_bus_source_dispatch), (gst_bus_source_finalize),
20419 (gst_bus_create_watch), (gst_bus_add_watch_full):
20421 Implement a real GSource and use g_main_context_wakeup() to
20422 signal new messages instead of the socketpair.
20424 2005-05-25 Wim Taymans <wim@fluendo.com>
20426 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20427 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20428 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20429 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20430 (gst_pad_send_event), (gst_pad_start_task):
20431 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20432 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20433 (gst_queue_sink_activate), (gst_queue_src_activate),
20434 (gst_queue_change_state):
20436 Fix state changes for non sinks. We now change sinks, then elements
20437 with unconnected srcpads, then the rest.
20438 More efficient queue unlocking in flush and state changes.
20439 Set the pad activate mode even if it does not have an activate
20442 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20444 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20445 Don't go in pull mode for non-seekable sources.
20446 * gst/elements/gsttypefindelement.h:
20447 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20448 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20449 (free_entry), (stop_typefinding),
20450 (gst_type_find_element_handle_event), (find_peek),
20451 (gst_type_find_element_chain), (do_pull_typefind),
20452 (gst_type_find_element_change_state):
20453 Allow typefinding (w/o seeking) in push-mode, simplified version
20454 of what was in 0.8.
20455 * gst/gstutils.c: (gst_buffer_join):
20457 gst_buffer_join() from 0.8.
20459 2005-05-25 Wim Taymans <wim@fluendo.com>
20461 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20462 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20463 (gst_pad_send_event), (gst_pad_start_task):
20464 Disable attempt at mode switching until it is figured out.
20466 2005-05-25 Wim Taymans <wim@fluendo.com>
20468 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20469 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20470 (gst_basesink_finish_preroll), (gst_basesink_chain),
20471 (gst_basesink_loop), (gst_basesink_activate),
20472 (gst_basesink_change_state):
20473 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20474 (gst_basesrc_get_range), (gst_basesrc_loop),
20475 (gst_basesrc_activate):
20476 * gst/elements/gsttee.c: (gst_tee_sink_activate):
20477 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20478 (gst_real_pad_init), (gst_real_pad_set_property),
20479 (gst_real_pad_get_property), (gst_pad_set_active),
20480 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20481 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20482 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20483 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20484 (gst_pad_event_default_dispatch), (gst_pad_event_default),
20485 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20486 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20487 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20488 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20489 (gst_pad_stop_task):
20491 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20492 (gst_queue_loop), (gst_queue_src_activate):
20493 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20494 (gst_task_get_state):
20496 * gst/schedulers/threadscheduler.c:
20497 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20498 Implement gst_pad_pause/start/stop_task(), take STREAM lock
20500 Remove ACTIVE pad flag, use FLUSHING everywhere
20501 Added _pad_chain(), _pad_get_range() to call chain/getrange
20503 Add locks around IS_FLUSHING when reading.
20504 Take STREAM lock in chain(), get_range() functions so plugins
20505 don't need to take it anymore.
20509 2005-05-25 Wim Taymans <wim@fluendo.com>
20511 * tools/gst-launch.c: (event_loop):
20512 Unref message after using its contents instead of
20515 2005-05-24 Wim Taymans <wim@fluendo.com>
20517 * docs/design/draft-ghostpads.txt:
20518 * docs/design/draft-push-pull.txt:
20519 * docs/design/draft-query.txt:
20520 * docs/design/part-overview.txt:
20521 Docs updates, added general overview doc.
20523 2005-05-21 David Schleef <ds@schleef.org>
20525 * docs/gst/tmpl/old/GstBin.sgml:
20526 * docs/gst/tmpl/old/GstBuffer.sgml:
20527 * docs/gst/tmpl/old/GstCaps.sgml:
20528 * docs/gst/tmpl/old/GstClock.sgml:
20529 * docs/gst/tmpl/old/GstCompat.sgml:
20530 * docs/gst/tmpl/old/GstData.sgml:
20531 * docs/gst/tmpl/old/GstElement.sgml:
20532 * docs/gst/tmpl/old/GstEvent.sgml:
20533 * docs/gst/tmpl/old/GstIndex.sgml:
20534 * docs/gst/tmpl/old/GstStructure.sgml:
20535 * docs/gst/tmpl/old/GstTag.sgml:
20536 * docs/gst/tmpl/old/cothreads.sgml:
20537 * docs/gst/tmpl/old/cothreads_compat.sgml:
20538 * docs/gst/tmpl/old/gettext.sgml:
20539 * docs/gst/tmpl/old/gobject2gtk.sgml:
20540 * docs/gst/tmpl/old/grammar.tab.sgml:
20541 * docs/gst/tmpl/old/gst-i18n-app.sgml:
20542 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20543 * docs/gst/tmpl/old/gst_private.sgml:
20544 * docs/gst/tmpl/old/gstaggregator.sgml:
20545 * docs/gst/tmpl/old/gstarch.sgml:
20546 * docs/gst/tmpl/old/gstatomic_impl.sgml:
20547 * docs/gst/tmpl/old/gstbufferstore.sgml:
20548 * docs/gst/tmpl/old/gstdata_private.sgml:
20549 * docs/gst/tmpl/old/gstdisksink.sgml:
20550 * docs/gst/tmpl/old/gstdisksrc.sgml:
20551 * docs/gst/tmpl/old/gstelementfactory.sgml:
20552 * docs/gst/tmpl/old/gstextratypes.sgml:
20553 * docs/gst/tmpl/old/gstfakesink.sgml:
20554 * docs/gst/tmpl/old/gstfakesrc.sgml:
20555 * docs/gst/tmpl/old/gstfdsink.sgml:
20556 * docs/gst/tmpl/old/gstfdsrc.sgml:
20557 * docs/gst/tmpl/old/gstfilesink.sgml:
20558 * docs/gst/tmpl/old/gstfilesrc.sgml:
20559 * docs/gst/tmpl/old/gsthttpsrc.sgml:
20560 * docs/gst/tmpl/old/gstidentity.sgml:
20561 * docs/gst/tmpl/old/gstindexfactory.sgml:
20562 * docs/gst/tmpl/old/gstmarshal.sgml:
20563 * docs/gst/tmpl/old/gstmd5sink.sgml:
20564 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20565 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20566 * docs/gst/tmpl/old/gstpadtemplate.sgml:
20567 * docs/gst/tmpl/old/gstpipefilter.sgml:
20568 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20569 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20570 * docs/gst/tmpl/old/gstshaper.sgml:
20571 * docs/gst/tmpl/old/gstspider.sgml:
20572 * docs/gst/tmpl/old/gstspideridentity.sgml:
20573 * docs/gst/tmpl/old/gststatistics.sgml:
20574 * docs/gst/tmpl/old/gsttee.sgml:
20575 * docs/gst/tmpl/old/gsttimecache.sgml:
20576 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
20577 * docs/gst/tmpl/old/gstxmlregistry.sgml:
20578 * docs/gst/tmpl/old/gthread-cothreads.sgml:
20579 * docs/gst/tmpl/old/types.sgml:
20580 I didn't intend to add these or check them in.
20582 2005-05-19 David Schleef <ds@schleef.org>
20584 * configure.ac: Use -no-common everywhere. In a sane world, it
20585 would be the default in libtool, because without it, you can't
20586 build DLLs on Windows.
20587 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
20588 * docs/gst/gstreamer-sections.txt:
20589 * docs/gst/tmpl/gstcpu.sgml:
20590 * docs/gst/tmpl/gstdata.sgml:
20591 * docs/gst/tmpl/gstthread.sgml:
20593 2005-05-19 David Schleef <ds@schleef.org>
20595 * gst/gstminiobject.c: (gst_value_set_mini_object),
20596 (gst_value_take_mini_object), (gst_value_get_mini_object):
20597 * gst/gstminiobject.h: Add GValue set/get functions.
20599 2005-05-19 Wim Taymans <wim@fluendo.com>
20601 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
20602 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
20603 (gst_subbuffer_init), (gst_buffer_is_span_fast):
20605 * gst/gstbus.c: (gst_bus_post):
20606 * gst/gstelement.c: (gst_element_get_random_pad):
20607 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
20608 Make subbufer unref the parent in finalize.
20609 some more debugging info.
20612 2005-05-19 Wim Taymans <wim@fluendo.com>
20614 * gst/base/gstbasesink.c: (gst_basesink_class_init),
20615 (gst_basesink_init), (gst_basesink_finalize),
20616 (gst_basesink_activate), (gst_basesink_change_state):
20617 Don't free preroll queue too early.
20619 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20623 Hi, I'm outdated. Please shoot me.
20625 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20627 * gst/gstpipeline.c: (gst_pipeline_send_event):
20628 Do not access variables after they have been deleted.
20630 2005-05-19 Wim Taymans <wim@fluendo.com>
20632 * tools/gst-inspect.c: (print_plugin_features):
20633 A plugin feature does unfortunatly not use the
20636 2005-05-18 Wim Taymans <wim@fluendo.com>
20638 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
20639 Port _span() functions to new subbuffers.
20641 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20643 * gst/gstbin.c: (gst_bin_add_func):
20644 Fix clock settery in bins when adding kids after the clock has
20647 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20649 * gst/elements/gstidentity.c: (gst_identity_class_init):
20650 Workaround until signals support GstMiniObject.
20652 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
20655 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
20657 2005-05-18 Wim Taymans <wim@fluendo.com>
20659 * gst/base/Makefile.am:
20660 * gst/base/gstadapter.c: (gst_adapter_base_init),
20661 (gst_adapter_class_init), (gst_adapter_init),
20662 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
20663 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
20664 (gst_adapter_flush), (gst_adapter_available),
20665 (gst_adapter_available_fast):
20666 * gst/base/gstadapter.h:
20667 Ported and added adapter to the base classes.
20669 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20672 * gst/gstmessage.c:
20673 Make sure the class is reffed/unreffed once before threads can be
20674 used. Fixes #304551.
20676 2005-05-17 Wim Taymans <wim@fluendo.com>
20678 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
20679 (gst_basesink_chain_unlocked), (gst_basesink_activate):
20680 * gst/gstminiobject.c: (gst_mini_object_get_type),
20681 (gst_mini_object_free):
20682 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
20683 (gst_pad_push), (gst_pad_push_event):
20684 * gst/gstqueue.c: (gst_queue_change_state):
20685 Don't queue buffers in basesink when we are flushing.
20686 Unref buffer when flushing in basesink.
20687 Flush queue when going to READY
20688 Unref buffer when _push() returns an error.
20689 Don't free MiniObject instance when refcount is incremented
20690 in _finalize() so that we can recover objects.
20692 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
20694 * docs/manual/advanced-schedulers.xml:
20695 * docs/manual/appendix-checklist.xml:
20696 * docs/pwg/advanced-clock.xml:
20697 * docs/pwg/advanced-interfaces.xml:
20698 * docs/pwg/advanced-request.xml:
20699 * docs/pwg/advanced-types.xml:
20700 * docs/pwg/intro-preface.xml:
20701 * examples/plugins/example.c: (gst_example_get_type),
20702 (gst_example_class_init), (gst_example_chain),
20703 (gst_example_set_property), (gst_example_get_property),
20704 (gst_example_change_state), (plugin_init):
20705 * examples/plugins/example.h:
20708 2005-05-17 Wim Taymans <wim@fluendo.com>
20710 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
20711 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
20712 * gst/gstqueue.c: (gst_queue_change_state):
20713 Clear queue when going to READY.
20714 Remove IN_SETCAPS flag too.
20716 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
20718 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
20719 Remove implicit cast from gboolean to GstElementStateReturn;
20720 make sure we still return failure in paused => ready case if
20721 the parent class fails to change state and our own stop
20724 2005-05-17 Wim Taymans <wim@fluendo.com>
20726 * tools/gst-launch.c: (event_loop):
20727 Message was unreffed too soon.
20729 2005-05-16 Andy Wingo <wingo@pobox.com>
20731 * gst/gstbin.c (sink_iterator_filter): Err... um...
20733 * check/gst/gstbin.c (test_ghost_pads): New test for the
20734 ghosting-if-elements-not-in-same-bin behavior.
20736 2005-05-16 David Schleef <ds@schleef.org>
20738 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
20739 accessing refcount directly.
20741 2005-05-15 David Schleef <ds@schleef.org>
20743 * check/Makefile.am: remove GstData checks
20744 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
20745 * gst/Makefile.am: add miniobject, remove data
20746 * gst/gst.h: add miniobject, remove data
20747 * gst/gstdata.c: remove
20748 * gst/gstdata.h: remove
20749 * gst/gstdata_private.h: remove
20750 * gst/gsttypes.h: remove GstEvent and GstMessage
20751 * gst/gstelement.c: (gst_element_post_message): fix for API changes
20752 * gst/gstmarshal.list: change BOXED -> OBJECT
20754 Implement GstMiniObject.
20755 * gst/gstminiobject.c:
20756 * gst/gstminiobject.h:
20758 Modify to be subclasses of GstMiniObject.
20759 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
20760 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
20761 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
20762 (gst_subbuffer_get_type), (gst_subbuffer_init),
20763 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
20766 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
20767 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
20768 (_gst_event_copy), (gst_event_new):
20770 * gst/gstmessage.c: (_gst_message_initialize),
20771 (gst_message_get_type), (gst_message_class_init),
20772 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
20773 (gst_message_new), (gst_message_new_error),
20774 (gst_message_new_warning), (gst_message_new_tag),
20775 (gst_message_new_state_changed), (gst_message_new_application):
20776 * gst/gstmessage.h:
20777 * gst/gstprobe.c: (gst_probe_perform),
20778 (gst_probe_dispatcher_dispatch):
20780 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
20781 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
20782 (_gst_query_copy), (gst_query_new):
20784 Update elements for GstData -> GstMiniObject changes
20786 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
20787 (gst_queue_chain), (gst_queue_loop):
20788 * gst/elements/gstbufferstore.c:
20789 (gst_buffer_store_add_buffer_func),
20790 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
20791 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
20792 (gst_fakesink_render):
20793 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20794 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
20795 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
20796 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
20797 (gst_filesrc_create_read):
20798 * gst/elements/gstidentity.c: (gst_identity_class_init):
20799 * gst/elements/gsttypefindelement.c:
20800 (gst_type_find_element_src_event), (free_entry_buffers),
20801 (gst_type_find_element_handle_event):
20802 * libs/gst/dataprotocol/dataprotocol.c:
20803 (gst_dp_header_from_buffer):
20804 * libs/gst/dataprotocol/dataprotocol.h:
20805 * libs/gst/dataprotocol/dp-private.h:
20807 2005-05-15 David Schleef <ds@schleef.org>
20809 * gst/elements/gstelements.c: Don't include headers that were
20812 2005-05-15 David Schleef <ds@schleef.org>
20814 * gst/elements/Makefile.am: Remove some elements that don't
20815 need to be in the core (or even exist at all).
20816 * gst/elements/gstaggregator.c:
20817 * gst/elements/gstaggregator.h:
20818 * gst/elements/gstmd5sink.c:
20819 * gst/elements/gstmd5sink.h:
20820 * gst/elements/gstmultifilesrc.c:
20821 * gst/elements/gstmultifilesrc.h:
20822 * gst/elements/gstpipefilter.c:
20823 * gst/elements/gstpipefilter.h:
20824 * gst/elements/gstshaper.c:
20825 * gst/elements/gstshaper.h:
20826 * gst/elements/gststatistics.c:
20827 * gst/elements/gststatistics.h:
20828 * po/POTFILES.in: Remove above files.
20830 2005-05-14 Andy Wingo <wingo@pobox.com>
20832 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
20833 so as to get the refs right.
20834 (sink_iterator_filter): New function, wraps bin_element_is_sink,
20835 unreffing objects that don't pass the filter.
20837 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
20838 gst_element_set_bus.
20839 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
20840 normal cases, this will destroy the bus.
20842 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
20845 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
20848 2005-05-13 Andy Wingo <wingo@pobox.com>
20850 * gst/gstutils.c (gst_element_link_pads): Instead of calling
20851 gst_pad_link, call pad_link_maybe_ghosting,
20852 (pad_link_maybe_ghosting): Links pads, making sure that the
20853 elements being linked are in the same bin.
20854 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
20855 Helpers for pad_link_maybe_ghosting.
20857 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
20860 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
20862 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
20864 * docs/design/part-element-source.txt:
20867 2005-05-12 Wim Taymans <wim@fluendo.com>
20869 * gst/base/gstbasesink.c: (gst_basesink_init),
20870 (gst_basesink_activate):
20871 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
20872 (gst_basesrc_is_seekable):
20873 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20874 (bin_element_is_sink), (gst_bin_change_state):
20875 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
20876 * gst/gstelement.h:
20877 Identify sinks by their flag to avoid overly complicated
20879 Do state changes even for elements not reachable from the
20881 BaseSink is a sink now :)
20882 Some more debugging info in the basesrc.
20885 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20887 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
20888 Implement _query on a bin, similar to _send_event.
20890 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
20892 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
20893 Discont event offset format should be GST_FORMAT_BYTES,
20894 not GST_FORMAT_TIME.
20896 2005-05-12 Wim Taymans <wim@fluendo.com>
20898 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
20899 Same fix as Ronald's but without the signal.
20901 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20903 * gst/gstutils.c: (gst_element_query_position):
20904 No, an element is not a pad.
20906 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20908 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
20909 (gst_bin_get_state):
20910 If a child is removed from a bin while we remove the child from
20911 the bin and while we're retrieving its state, signal this to the
20912 get_state function so we abort the wait (instead of waiting for
20913 a timeout) and can immediately re-iterate over all other elements.
20915 2005-05-12 Wim Taymans <wim@fluendo.com>
20917 * gst/base/Makefile.am:
20918 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
20919 (gst_basesrc_start):
20920 * gst/base/gstbasesrc.h:
20921 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
20922 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
20923 (gst_pushsrc_init), (gst_pushsrc_create):
20924 * gst/base/gstpushsrc.h:
20925 Added is_seekable to BaseSrc
20926 Added simple PushSrc.
20928 2005-05-11 Wim Taymans <wim@fluendo.com>
20930 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
20931 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20932 (gst_element_link_pads), (gst_element_query_position),
20933 (gst_element_query_convert), (intersect_caps_func),
20934 (gst_pad_query_position), (gst_pad_query_convert):
20935 Fix refcounting in utils function.
20936 No point in trying to activate a pad when it's added, it could
20937 be added from the state change function and then we deadlock, the
20938 element has to decide what to do.
20940 2005-05-10 Andy Wingo <wingo@pobox.com>
20942 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
20943 *all* the arguments.
20945 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
20946 stream lock if it's a FLUSH_DONE; normal flushes don't get the
20947 lock (according to the docs -- if this is wrong change the docs).
20949 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
20950 flush messages in the NULL state.
20952 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
20953 message immediately and return.
20954 (gst_bus_set_flushing): New function. If a bus is flushing, it
20955 flushes out any queued messages and immediately unrefs new
20956 messages. This is so when an element goes to NULL, all of the
20957 unhandled messages coming from it can be freed, and their
20958 references to the element dropped. In other words: message source
20959 ref considered harmful :P
20961 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
20962 we're finished with it.
20964 * gst/gstmessage.c (gst_message_new_state_changed):
20966 2005-05-10 Wim Taymans <wim@fluendo.com>
20968 * gst/gstvalue.c: (gst_value_compare_flags),
20969 (gst_value_serialize_flags), (gst_value_deserialize_flags),
20970 (_gst_value_initialize):
20971 Added flags serialize/deserialize/compare code.
20973 2005-05-09 Andy Wingo <wingo@pobox.com>
20975 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
20976 Intersect the peer's caps with our caps.
20978 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20980 * gst/base/gsttypefindhelper.c: (helper_find_peek):
20981 * gst/elements/gsttypefindelement.c: (find_peek):
20982 Handle negative offsets better. Fixes decodebin.
20984 2005-05-09 Wim Taymans <wim@fluendo.com>
20986 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
20987 (gst_base_transform_event):
20988 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
20989 Implement accept_caps.
20990 Fix silly lock/unlock mismatch in base class.
20992 2005-05-09 Wim Taymans <wim@fluendo.com>
20994 * docs/design/draft-push-pull.txt:
20995 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
20996 * gst/elements/gstfilesink.c: (gst_filesink_init),
20997 (gst_filesink_query):
20998 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20999 (gst_type_find_handle_src_query), (find_element_get_length):
21000 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21001 * gst/gstelement.h:
21002 * gst/gstmessage.c:
21003 * gst/gstmessage.h:
21004 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21005 (gst_real_pad_get_caps_unlocked),
21006 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21007 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21008 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21009 (gst_real_pad_dispose), (gst_real_pad_finalize),
21010 (gst_pad_load_and_link), (gst_pad_save_thyself),
21011 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21012 (gst_pad_check_pull_range), (gst_pad_pull_range),
21013 (gst_pad_template_get_type), (gst_pad_template_class_init),
21014 (gst_pad_template_init), (gst_pad_template_dispose),
21015 (name_is_valid), (gst_static_pad_template_get),
21016 (gst_pad_template_new), (gst_static_pad_template_get_caps),
21017 (gst_pad_template_get_caps), (gst_pad_set_element_private),
21018 (gst_pad_get_element_private), (gst_pad_start_task),
21019 (gst_pad_pause_task), (gst_pad_stop_task),
21020 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21021 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21022 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21023 (gst_ghost_pad_new):
21025 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21026 (gst_query_new_position), (gst_query_set_position),
21027 (gst_query_parse_position), (gst_query_new_convert),
21028 (gst_query_set_convert), (gst_query_parse_convert):
21030 * gst/gstqueryutils.c:
21031 * gst/gstqueryutils.h:
21032 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21033 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21034 (gst_queue_handle_src_query):
21035 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21036 (gst_element_query_position), (gst_element_query_convert),
21037 (intersect_caps_func), (gst_pad_query_position),
21038 (gst_pad_query_convert):
21040 * tools/gst-inspect.c: (print_pad_info):
21041 * tools/gst-xmlinspect.c: (print_element_info):
21042 Remove old query functions. Ported old code.
21043 Added position/convert helper functions to gstutils.
21044 Reordered gstpad.c code, grouping relevant things.
21045 Remove gst_message_new(), always need to speficy a specific
21049 2005-05-09 Andy Wingo <wingo@pobox.com>
21051 * gst/gstiterator.h: Add some includes.
21053 * gst/gstqueryutils.h: Include more headers.
21056 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21057 some uses of gst_pad_query.
21059 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21060 NULL out parameters.
21061 (gst_query_new_position): New proc, allocates a new position
21064 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21065 gstqueryutils.c to the build.
21067 * gst/gststructure.c (gst_structure_set_valist): Implement with
21068 the generic G_VALUE_COLLECT.
21070 2005-05-08 Edward Hervey <bilboed@bilboed.com>
21072 * gst/Makefile.am: (gst_headers):
21073 Added gstqueryutils.h to the list of headers to install, that was
21074 a 'nachty' move wingo :)
21076 2005-05-06 Andy Wingo <wingo@pobox.com>
21079 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21080 GstData, init a memchunk.
21081 (standard_definitions): Add a few query types, deprecate a few.
21082 (gst_query_get_type): New proc.
21083 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21085 (gst_query_new_application, gst_query_get_structure): New public
21088 * docs/design/draft-query.txt: Removed LINKS from the query types,
21089 because all the rest can be dispatched to other pads -- seemed
21090 ugly to have a query that couldn't be dispatched. internal_links
21091 is fine as a pad method.
21093 * gst/gstpad.h: Add query2 as a pad method, add the new functions
21094 in gstpad.c, but maintain binary compatibility for the moment.
21095 Will fix before 0.9 is out.
21097 * gst/gstqueryutils.c:
21098 * gst/gstqueryutils.h: New files, implement 3 methods for each
21099 query type: parse_query, parse_response, and set. Probably need an
21102 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21104 * gst/elements/gstfilesink.c (gst_filesink_query2):
21105 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21106 query_types, and formats methods.
21108 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21109 (gst_pad_set_query2_function): New functions.
21110 (gst_real_pad_init): Set query2_default as the default query2
21111 function. Basically just dispatches to internally linked pads.
21115 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21116 without using the atomic operations. Only one thread can possibly
21117 be accessing the data at this point. Changed so as to avoid
21118 gst_atomic operations.
21120 2005-05-06 Wim Taymans <wim@fluendo.com>
21122 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21123 Also set caps if we use the fallback buffer alloc.
21125 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
21127 * docs/gst/Makefile.am:
21128 * docs/gst/gstreamer-docs.sgml:
21129 * docs/gst/gstreamer-sections.txt:
21130 * docs/gst/tmpl/gstatomic.sgml:
21131 * docs/gst/tmpl/gstmemchunk.sgml:
21132 * testsuite/elements/struct_i386.h:
21133 * win32/GStreamer.vcproj:
21135 Purge GstAtomic stuff from docs and win32 makefiles as well
21137 2005-05-06 Wim Taymans <wim@fluendo.com>
21139 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21140 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21141 * gst/gstpad.c: (gst_pad_peer_get_caps):
21142 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21143 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21144 (gst_queue_src_activate), (gst_queue_change_state):
21146 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21147 (intersect_caps_func):
21148 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21149 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21150 Some fixes for the peer_get_caps() change.
21152 2005-05-06 Wim Taymans <wim@fluendo.com>
21154 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21155 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21156 (gst_basesink_activate):
21157 Actually do something with error codes returned from the push
21160 2005-05-06 Wim Taymans <wim@fluendo.com>
21162 * docs/design/part-element-sink.txt:
21163 * docs/design/part-element-source.txt:
21164 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21165 (gst_basesink_event), (gst_basesink_activate):
21166 * gst/base/gstbasesink.h:
21167 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21168 (gst_basesrc_activate):
21169 * gst/base/gstbasesrc.h:
21170 * gst/gstelement.c: (gst_element_pads_activate):
21171 Some more documentation.
21172 Fixed scheduling decision in _pads_activate().
21174 2005-05-05 Andy Wingo <wingo@pobox.com>
21176 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21179 2005-05-05 Wim Taymans <wim@fluendo.com>
21181 * gst/base/Makefile.am:
21182 * gst/base/gstbasesink.h:
21183 * gst/base/gstbasesrc.c: (gst_basesrc_init),
21184 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21185 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21186 (gst_collectpads_class_init), (gst_collectpads_init),
21187 (gst_collectpads_finalize), (gst_collectpads_new),
21188 (gst_collectpads_set_function), (gst_collectpads_add_pad),
21189 (find_pad), (gst_collectpads_remove_pad),
21190 (gst_collectpads_is_active), (gst_collectpads_collect),
21191 (gst_collectpads_collect_range), (gst_collectpads_start),
21192 (gst_collectpads_stop), (gst_collectpads_peek),
21193 (gst_collectpads_pop), (gst_collectpads_available),
21194 (gst_collectpads_read), (gst_collectpads_flush),
21195 (gst_collectpads_chain):
21196 * gst/base/gstcollectpads.h:
21197 * gst/elements/Makefile.am:
21198 * gst/elements/gstelements.c:
21199 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21200 (gst_fakesink_get_times), (gst_fakesink_event),
21201 (gst_fakesink_preroll), (gst_fakesink_render):
21202 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21203 (gst_filesink_init), (gst_filesink_set_location),
21204 (gst_filesink_open_file), (gst_filesink_close_file),
21205 (gst_filesink_pad_query), (gst_filesink_event),
21206 (gst_filesink_render), (gst_filesink_change_state):
21207 * gst/elements/gstfilesink.h:
21208 Added object to help in making collect pad based elements.
21210 Make event function in sink baseclass return gboolean.
21212 2005-05-05 Wim Taymans <wim@fluendo.com>
21214 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21215 (gst_bin_get_by_name):
21217 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21218 (gst_clock_finalize):
21219 * gst/gstdata.c: (gst_data_replace):
21221 * gst/gstelement.c: (gst_element_request_pad),
21222 (gst_element_pads_activate):
21223 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21224 (gst_object_unref):
21225 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21226 (gst_pad_set_checkgetrange_function),
21227 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21228 (gst_pad_check_pull_range), (gst_pad_pull_range),
21229 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21230 (gst_pad_pause_task), (gst_pad_stop_task):
21231 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21232 (gst_element_request_pad), (gst_pad_proxy_getcaps):
21233 Fix name lookup in GstBin.
21234 Added _data_replace() function and _buffer_replace()
21235 Use finalize method to clean up clock.
21236 Fix refcounting on request pads.
21237 Fix pad schedule mode error.
21238 Some more object refcounting debug info,
21241 2005-05-04 Andy Wingo <wingo@pobox.com>
21243 * check/Makefile.am:
21244 * docs/gst/tmpl/gstatomic.sgml:
21245 * docs/gst/tmpl/gstplugin.sgml:
21246 * gst/base/gstbasesink.c: (gst_basesink_activate):
21247 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21248 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21249 (gst_basesrc_query), (gst_basesrc_set_property),
21250 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21251 (gst_basesrc_activate):
21252 * gst/base/gstbasesrc.h:
21253 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21254 (gst_base_transform_src_activate):
21255 * gst/elements/gstelements.c:
21256 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21257 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21258 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21259 * gst/elements/gsttypefindelement.c: (find_element_get_length),
21260 (gst_type_find_element_checkgetrange),
21261 (gst_type_find_element_activate):
21262 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21263 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21264 (gst_caps_load_thyself):
21265 * gst/gstelement.c: (gst_element_pads_activate),
21266 (gst_element_save_thyself), (gst_element_restore_thyself):
21267 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21268 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21270 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21271 (gst_xml_parse_file), (gst_xml_parse_memory),
21272 (gst_xml_get_element), (gst_xml_make_element):
21273 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21274 (_file_index_id_save_xml), (gst_file_index_commit):
21275 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21276 (read_enum), (load_pad_template), (load_feature), (load_plugin),
21278 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21279 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21280 * tools/gst-complete.c: (main):
21281 * tools/gst-compprep.c: (main):
21282 * tools/gst-inspect.c: (print_element_properties_info):
21283 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21284 * tools/gst-xmlinspect.c: (print_element_properties):
21287 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
21289 * gst/gstplugin.c: (gst_plugin_check_module),
21290 (gst_plugin_check_file), (gst_plugin_load_file):
21291 apply patch from #172526 to make register work on MacOSX
21293 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21295 * docs/gst/tmpl/gstconfig.sgml:
21296 * gst/gstconfig.h.in:
21297 move documentation for some symbols. Add doc for GST_PTR_FORMAT
21298 * testsuite/debug/printf_extension.c: (main):
21299 Do not use GST_PTR_FORMAT on pointers to types with
21300 sizeof < sizeof(gpointer). Fixes test on 64-bit
21301 * testsuite/elements/property.h:
21302 use correct printf format
21304 2005-05-02 Wim Taymans <wim@fluendo.com>
21306 * docs/design/draft-push-pull.txt:
21307 * docs/design/draft-query.txt:
21308 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21309 (gst_basesrc_start):
21310 Added draft for new query API.
21311 Added draft for better selecting scheduling methods.
21312 Make basesrc ignore length if the subclass does not support
21315 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21318 possible fixes for automake-1.5 - _LIBADD is reserved
21320 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21322 * docs/faq/Makefile.am:
21323 * docs/manual/Makefile.am:
21324 * docs/manuals.mak:
21325 * docs/pwg/Makefile.am:
21327 possible fixes for automake-1.5
21329 2005-04-28 Wim Taymans <wim@fluendo.com>
21331 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21332 (gst_basesink_pad_getcaps), (gst_basesink_init),
21333 (gst_basesink_do_sync):
21334 * gst/gstclock.c: (gst_clock_entry_new):
21335 * gst/gstevent.c: (gst_event_discont_get_value):
21336 * gst/gstpipeline.c: (pipeline_bus_handler),
21337 (gst_pipeline_change_state):
21338 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21339 Better debugging of clocking info.
21340 Allow NULL values when getting discont values.
21342 2005-04-27 Wim Taymans <wim@fluendo.com>
21344 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21345 * check/gst/gstpad.c: (gst_pad_suite):
21346 Increase timeout for checks.
21348 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21350 * check/Makefile.am:
21351 fix the broken rule for cleanup. Apparently this rule is
21352 only needed on FC2, so maybe this warrants further autotool
21355 2005-04-26 Wim Taymans <wim@fluendo.com>
21357 * gst/gsttrashstack.h:
21358 Ooohh. a nasty one! After having a failed pop() from the stack,
21359 it's possible that the stack is empty. In that case, don't
21360 follow the NULL pointer.
21362 2005-04-25 Wim Taymans <wim@fluendo.com>
21364 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21365 (gst_pad_set_checkgetrange_function),
21366 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21367 (gst_pad_check_pull_range), (gst_pad_pull_range),
21368 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21369 (gst_pad_pause_task), (gst_pad_stop_task):
21370 * gst/gstplugin.c: (gst_plugin_load):
21372 Remove gst_library_load as it does more harm than good with
21373 the new g_module flags.
21374 Revert bogus caps template check in pad linking, pad caps
21375 are important when linking not the template, which is more
21376 general than the current caps.
21378 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21380 * gst/autoplug/.cvsignore:
21381 * gst/autoplug/Makefile.am:
21382 * gst/autoplug/gstsearchfuncs.c:
21383 * gst/autoplug/gstsearchfuncs.h:
21384 * gst/autoplug/gstspider.c:
21385 * gst/autoplug/gstspider.h:
21386 * gst/autoplug/gstspideridentity.c:
21387 * gst/autoplug/gstspideridentity.h:
21388 * gst/autoplug/spidertest.c:
21391 2005-04-25 Wim Taymans <wim@fluendo.com>
21393 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21394 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21395 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21396 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21398 Added stubs for unimplemented functions.
21400 2005-04-24 David Schleef <ds@schleef.org>
21402 * gst/gstpad.h: Disable some unimplemented functions. Wim,
21405 2005-04-24 David Schleef <ds@schleef.org>
21407 Convert everything from GstAtomicInt to g_atomic_int_*, and
21412 * gst/gstatomic_impl.h:
21420 * gst/gstdata_private.h:
21424 * gst/gstmessage.c:
21427 * gst/gststructure.c:
21428 * gst/gststructure.h:
21429 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21432 2005-04-24 David Schleef <ds@schleef.org>
21434 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21435 make the regressions tests work. Remove some code that is no
21437 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21438 Disable warning for pads without templates.
21440 2005-04-24 David Schleef <ds@schleef.org>
21442 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
21443 functions that handle filtered links.
21444 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21446 * gst/gstutils.c: Fix/remove utility functions that handle
21449 * gst/gstvalue.c: Add serialization/deserialization of caps
21450 * gst/parse/grammar.y: Ignore filtered caps when linking. This
21451 requires fixing so that the filter caps notation creates
21452 a capsfilter element and sets the filter_caps property. I
21453 think everyone probably wants to keep the shorthand notation.
21454 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21455 * docs/gst/tmpl/gstpad.sgml:
21457 * gst/elements/gstelements.c: Register capsfilter element.
21458 * gst/Makefile.am: fix spacing
21459 * docs/random/ds/0.9-suggested-changes: random
21461 2005-04-23 David Schleef <ds@schleef.org>
21463 * gst/elements/Makefile.am:
21464 * gst/elements/gstcapsfilter.c: New element that acts like an
21465 identity, but filters caps. Will eventually replace filtered
21466 caps in pad linking.
21467 * gst/gstutils.c: (gst_element_create_all_pads): New function
21468 to create all the ALWAYS pads that are registered with an
21469 element class. This functionality should eventually be
21470 merged in with GstElement initialization.
21472 * testsuite/trigger/README: part of trigger test code that should
21473 have been checked in a long time ago.
21475 2005-04-23 David Schleef <ds@schleef.org>
21477 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
21478 needed with new versions of libtool (nobody will confirm this),
21479 and hard to carry around.
21480 * gst/autoplug/Makefile.am:
21481 * gst/base/Makefile.am:
21482 * gst/elements/Makefile.am:
21483 * gst/indexers/Makefile.am:
21484 * gst/schedulers/Makefile.am:
21485 * libs/gst/bytestream/Makefile.am:
21486 * libs/gst/control/Makefile.am:
21487 * libs/gst/dataprotocol/Makefile.am:
21488 * libs/gst/getbits/Makefile.am:
21490 2005-04-21 Wim Taymans <wim@fluendo.com>
21492 * docs/design/draft-push-pull.txt:
21493 * docs/design/part-MT-refcounting.txt:
21494 * docs/design/part-TODO.txt:
21495 * docs/design/part-caps.txt:
21496 * docs/design/part-events.txt:
21497 * docs/design/part-gstbus.txt:
21498 * docs/design/part-gstpipeline.txt:
21499 * docs/design/part-messages.txt:
21500 * docs/design/part-push-pull.txt:
21501 * docs/design/part-query.txt:
21504 2005-04-21 Wim Taymans <wim@fluendo.com>
21506 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21507 (gst_message_new), (gst_message_new_error),
21508 (gst_message_new_warning), (gst_message_new_tag),
21509 (gst_message_new_state_changed), (gst_message_new_application),
21510 (gst_message_get_structure):
21511 * gst/gstmessage.h:
21512 * gst/gststructure.c: (gst_structure_set_parent_refcount),
21513 (gst_structure_copy_conditional):
21514 Use parent refcount in GstMessage to ensure GstStructure
21516 Cleaned up headers a bit.
21519 2005-04-20 Wim Taymans <wim@fluendo.com>
21521 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21522 (gst_basesink_pad_getcaps), (gst_basesink_init),
21523 (gst_basesink_chain_unlocked):
21524 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21525 (gst_type_find_helper):
21526 * gst/elements/gsttypefindelement.c:
21527 (gst_type_find_element_have_type), (gst_type_find_element_init),
21528 (stop_typefinding), (gst_type_find_element_handle_event),
21529 (find_suggest), (gst_type_find_element_chain),
21530 (gst_type_find_element_checkgetrange),
21531 (gst_type_find_element_getrange), (do_typefind),
21532 (gst_type_find_element_activate):
21533 * gst/gstbuffer.c: (_gst_buffer_sub_free),
21534 (gst_buffer_default_free), (gst_buffer_default_copy),
21535 (gst_buffer_set_caps):
21536 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21537 (gst_caps_replace):
21538 * gst/gstmessage.c: (gst_message_new),
21539 (gst_message_new_state_changed):
21540 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21541 (gst_pad_set_checkgetrange_function),
21542 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21543 (gst_pad_set_caps), (gst_pad_check_pull_range),
21544 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21546 * gst/gsttypefind.c: (gst_type_find_register):
21547 Make gst_caps_replace() work like other _replace() functions.
21548 Use _caps_replace() where possible.
21549 Make sure _message_new() initialises its field.
21550 Add gst_static_pad_template_get_caps()
21553 2005-04-18 Andy Wingo <wingo@pobox.com>
21555 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21556 on the peer, not the pad. I think that was a typo. Pass an extra
21557 arg to see if random access is possible. Activate the pads as
21558 PULL_RANGE if possible.
21560 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21562 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
21563 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21566 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21568 * docs/faq/using.xml:
21569 Add note on gstreamer-properties (#154996).
21571 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21573 * docs/random/bbb/optional-properties:
21574 Some analysis on optional properties.
21576 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21578 * docs/gst/tmpl/gstelementfactory.sgml:
21579 * gst/gstelement.h:
21580 * gst/gstelementfactory.c: (gst_element_factory_init),
21581 (gst_element_factory_cleanup), (gst_element_register),
21582 (__gst_element_factory_add_static_pad_template),
21583 (gst_element_factory_get_static_pad_templates),
21584 (gst_element_factory_can_src_caps),
21585 (gst_element_factory_can_sink_caps):
21586 * gst/registries/Makefile.am:
21587 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
21588 (gst_xml_registry_class_init), (gst_xml_registry_init),
21589 (gst_xml_registry_new), (gst_xml_registry_set_property),
21590 (gst_xml_registry_get_property), (get_time), (make_dir),
21591 (gst_xml_registry_get_perms_func),
21592 (plugin_times_older_than_recurse), (plugin_times_older_than),
21593 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
21594 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
21595 (add_to_char_array), (read_string), (read_uint), (read_enum),
21596 (load_pad_template), (load_feature), (load_plugin), (load_paths),
21597 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
21598 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
21599 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
21600 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
21601 (gst_xml_registry_rebuild):
21602 * gst/registries/gstlibxmlregistry.h:
21603 * tools/gst-compprep.c: (main):
21604 * tools/gst-inspect.c: (print_pad_templates_info):
21605 * tools/gst-xmlinspect.c: (print_element_info):
21606 Use libxml2 for registry parsing, use staticpadtemplates in
21607 elementfactories. Makes gst_init() +/- 10x faster.
21609 2005-04-12 Wim Taymans <wim@fluendo.com>
21611 * gst/base/Makefile.am:
21612 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21613 (gst_basesink_pad_getcaps), (gst_basesink_init),
21614 (gst_basesink_event), (gst_basesink_change_state):
21615 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21616 (gst_basesrc_init), (gst_basesrc_query),
21617 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21618 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21619 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21620 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21621 (gst_basesrc_stop), (gst_basesrc_activate),
21622 (gst_basesrc_change_state):
21623 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21624 (helper_find_suggest), (gst_type_find_helper):
21625 * gst/base/gsttypefindhelper.h:
21626 * gst/elements/Makefile.am:
21627 * gst/elements/gstelements.c:
21628 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21629 (gst_fakesink_get_times), (gst_fakesink_event),
21630 (gst_fakesink_preroll), (gst_fakesink_render):
21631 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21632 (gst_fakesrc_init), (gst_fakesrc_event_handler),
21633 (gst_fakesrc_get_property), (gst_fakesrc_create),
21634 (gst_fakesrc_start), (gst_fakesrc_stop):
21635 * gst/elements/gstfakesrc.h:
21636 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
21637 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21638 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21639 (gst_filesrc_create_read), (gst_filesrc_create),
21640 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
21641 (gst_filesrc_start):
21642 * gst/elements/gsttypefindelement.c:
21643 (gst_type_find_element_have_type), (gst_type_find_element_init),
21644 (start_typefinding), (stop_typefinding), (push_buffer_store),
21645 (gst_type_find_element_handle_event),
21646 (gst_type_find_element_chain),
21647 (gst_type_find_element_checkgetrange),
21648 (gst_type_find_element_getrange), (do_typefind),
21649 (gst_type_find_element_activate),
21650 (gst_type_find_element_change_state):
21651 * gst/elements/gsttypefindelement.h:
21652 * gst/gstpipeline.c: (pipeline_bus_handler):
21653 Added typefind helper.
21654 Small preroll fix in the base sink.
21655 Disable typefind code in basesrc.
21656 Crude port of typefindelement.
21660 2005-04-11 Wim Taymans <wim@fluendo.com>
21662 * check/gst/gstbus.c: (gstbus_suite):
21663 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
21664 * check/gstcheck.h:
21665 Fix up the timeout so that the test does not fail.
21667 2005-04-06 Wim Taymans <wim@fluendo.com>
21670 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21671 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
21672 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21673 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21674 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21675 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21676 (gst_basesrc_stop), (gst_basesrc_activate),
21677 (gst_basesrc_change_state), (basesrc_find_peek),
21678 (basesrc_find_suggest), (gst_basesrc_type_find):
21679 * gst/base/gstbasesrc.h:
21680 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
21681 (gst_filesrc_class_init), (gst_filesrc_init),
21682 (gst_filesrc_finalize), (gst_filesrc_set_location),
21683 (gst_filesrc_set_property), (gst_filesrc_get_property),
21684 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21685 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21686 (gst_filesrc_create_read), (gst_filesrc_create),
21687 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
21688 * gst/elements/gstfilesrc.h:
21689 * gst/gstelement.c: (gst_element_get_state_func),
21690 (gst_element_lost_state), (gst_element_pads_activate):
21691 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21692 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21693 (gst_pad_pull_range):
21695 More work on the generic source base class, implement seeking,
21697 Make filesrc extend the base source class.
21698 Added gst_pad_set_checkgetrange_function to GstPad.
21700 2005-04-06 Andy Wingo <wingo@pobox.com>
21702 * pkgconfig/gstreamer-base.pc.in:
21703 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
21705 * pkgconfig/Makefile.am:
21706 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
21708 2005-04-04 Wim Taymans <wim@fluendo.com>
21710 * gst/base/Makefile.am:
21712 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21713 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21714 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21715 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
21716 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21717 (gst_basesrc_base_init), (gst_basesrc_class_init),
21718 (gst_basesrc_init), (gst_basesrc_get_formats),
21719 (gst_basesrc_get_query_types), (gst_basesrc_query),
21720 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
21721 (gst_basesrc_set_property), (gst_basesrc_get_property),
21722 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
21723 (gst_basesrc_loop), (gst_basesrc_activate),
21724 (gst_basesrc_change_state):
21725 * gst/base/gstbasesrc.h:
21726 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
21727 (gst_fakesrc_class_init), (gst_fakesrc_init),
21728 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
21729 (gst_fakesrc_get_property), (gst_fakesrc_create):
21730 * gst/elements/gstfakesrc.h:
21731 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
21732 (gst_filesrc_open_file), (gst_filesrc_loop),
21733 (gst_filesrc_activate), (filesrc_find_peek),
21734 (gst_filesrc_type_find):
21735 Made base source class, make fakesrc extend it.
21736 Add comments to basesink class.
21737 Some filesrc cleanup.
21739 2005-03-31 David Schleef <ds@schleef.org>
21741 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
21742 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
21743 expected to link against libgstreamer.
21744 * gst/base/Makefile.am: link against libgstreamer
21745 * gst/elements/Makefile.am: same
21747 2005-03-31 Andy Wingo <wingo@pobox.com>
21749 * tests/instantiate/Makefile.am:
21750 * tests/instantiate/caps.c: Add test to test speed of caps copy
21753 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
21754 GMemChunk to be fair.
21756 * gst/gsttrashstack.h: Remove warning about using the fallback
21757 trash stack implementation, it's still faster than malloc.
21759 2005-03-30 Andy Wingo <wingo@pobox.com>
21761 * tests/complexity.c: Add a copyright.
21763 2005-03-31 Wim Taymans <wim@fluendo.com>
21765 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
21766 (gst_base_transform_class_init), (gst_base_transform_init),
21767 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21768 (gst_base_transform_get_property),
21769 (gst_base_transform_sink_activate),
21770 (gst_base_transform_src_activate),
21771 (gst_base_transform_change_state):
21772 * gst/base/gstbasetransform.h:
21773 * gst/elements/gstidentity.c: (gst_identity_class_init),
21774 (gst_identity_event), (gst_identity_check_perfect),
21775 (gst_identity_transform), (gst_identity_start),
21776 (gst_identity_stop):
21777 Added start/stop methods to transform base class so subclasses
21778 don't need to deal with state changes even.
21780 2005-03-31 Wim Taymans <wim@fluendo.com>
21782 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
21783 (gst_event_new_discontinuous), (gst_event_discont_get_value):
21785 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21786 (gst_pad_pull_range):
21787 Added rate to the discont event to prepare for variable speed
21788 and reverse playback.
21790 2005-03-29 David Schleef <ds@schleef.org>
21793 * testsuite/trigger/Makefile.am:
21794 * testsuite/trigger/trigger.c: A little example program to show
21795 how trigger-based elements can work.
21797 2005-03-29 Wim Taymans <wim@fluendo.com>
21799 * gst/base/Makefile.am:
21801 * gst/base/gstbasesink.c: (gst_basesink_get_type),
21802 (gst_basesink_base_init), (gst_basesink_class_init),
21803 (gst_basesink_pad_getcaps), (gst_basesink_init),
21804 (gst_basesink_activate), (gst_basesink_change_state):
21805 * gst/base/gstbasesink.h:
21806 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
21807 (gst_base_transform_base_init), (gst_base_transform_finalize),
21808 (gst_base_transform_class_init), (gst_base_transform_init),
21809 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
21810 (gst_base_transform_event), (gst_base_transform_getrange),
21811 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
21812 (gst_base_transform_set_property),
21813 (gst_base_transform_get_property),
21814 (gst_base_transform_sink_activate),
21815 (gst_base_transform_src_activate),
21816 (gst_base_transform_change_state):
21817 * gst/base/gstbasetransform.h:
21818 * gst/elements/gstidentity.c: (gst_identity_finalize),
21819 (gst_identity_class_init), (gst_identity_init),
21820 (gst_identity_event), (gst_identity_check_perfect),
21821 (gst_identity_transform), (gst_identity_set_property),
21822 (gst_identity_get_property), (gst_identity_change_state):
21823 * gst/elements/gstidentity.h:
21824 * gst/gstelement.c: (gst_element_get_state_func),
21825 (gst_element_lost_state), (gst_element_pads_activate):
21826 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21827 (gst_pad_check_pull_range), (gst_pad_pull_range):
21829 Simplify pad activation.
21830 Added function to check if pull_range can be performed.
21831 Error out when pulling inactive or flushing pads.
21832 Removed const from refcounted types as it does not make sense.
21833 Simplify pad templates in basesink
21834 Added base class for simple 1-to-1 transforms.
21835 Make identity subclass the base transform.
21837 2005-03-29 Andy Wingo <wingo@pobox.com>
21839 * docs/libs/gstreamer-libs-overrides.txt:
21840 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
21841 really don't understand what's going on, but like whatever. I want
21844 * docs/gst/Makefile.am:
21845 * docs/libs/Makefile.am: Dist the overrides files.
21847 * check/Makefile.am (clean-local): Remove .libs directories.
21849 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
21850 elements to EXTRA_DIST, so po/ files are happy.
21852 * po/POTFILES.in: Er, remove it here.
21854 * po/POTFILES: Remove gstspider.c.
21856 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
21858 * docs/libs/gstreamer-libs-docs.sgml:
21859 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
21862 * tests/complexity.c (main): Set the length of the preroll queue
21863 on the sinks to prevent a lockup.
21865 * libs/gst/dataprotocol/Makefile.am:
21866 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
21867 the same as the one in check/gst-libs/gdp.c.
21869 * po/, docs/gst/: Commit automatic changes to docs and po files.
21871 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
21872 the versioned libgstbase.
21874 * check/Makefile.am: Depend on an unversioned gst-register, seems
21875 to make autoconf happier.
21877 * gst/base/Makefile.am: Make libgstbase a versioned lib.
21879 2005-03-28 Wim Taymans <wim@fluendo.com>
21882 * docs/design/part-gstelement.txt:
21883 * docs/design/part-negotiation.txt:
21884 * docs/design/part-preroll.txt:
21885 * docs/design/part-scheduling.txt:
21886 * docs/design/part-states.txt:
21888 * gst/base/Makefile.am:
21890 * gst/base/gstbasesink.c: (gst_basesink_get_template),
21891 (gst_basesink_base_init), (gst_basesink_class_init),
21892 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21893 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21894 (gst_basesink_set_pad_functions),
21895 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
21896 (gst_basesink_set_property), (gst_basesink_get_property),
21897 (gst_base_sink_get_template), (gst_base_sink_get_caps),
21898 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
21899 (gst_basesink_preroll_queue_push),
21900 (gst_basesink_preroll_queue_empty),
21901 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
21902 (gst_basesink_event), (gst_basesink_get_times),
21903 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
21904 (gst_basesink_chain_unlocked), (gst_basesink_chain),
21905 (gst_basesink_loop), (gst_basesink_activate),
21906 (gst_basesink_change_state):
21907 * gst/base/gstbasesink.h:
21908 * gst/elements/Makefile.am:
21909 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
21910 (gst_fakesink_class_init), (gst_fakesink_init),
21911 (gst_fakesink_set_property), (gst_fakesink_get_property),
21912 (gst_fakesink_get_times), (gst_fakesink_event),
21913 (gst_fakesink_preroll), (gst_fakesink_render),
21914 (gst_fakesink_change_state):
21915 * gst/elements/gstfakesink.h:
21916 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
21917 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
21918 * gst/gstelement.c: (gst_element_add_pad),
21919 (gst_element_get_state_func), (gst_element_abort_state),
21920 (gst_element_commit_state), (gst_element_lost_state),
21921 (gst_element_set_state), (gst_element_pads_activate):
21922 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
21923 * gst/gstpipeline.c: (gst_pipeline_send_event),
21924 (gst_pipeline_change_state):
21925 Added state change code.
21926 Added/updated docs.
21927 Added sink base class, make fakesink extend the base class.
21928 Small cleanups in GstPipeline.
21930 2005-03-26 David Schleef <ds@schleef.org>
21932 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
21933 is broken and should be implemented in a different library.
21934 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
21935 * gst/gst.h: remove gstcpu.h
21936 * gst/gstcpu.c: remove
21937 * gst/gstcpu.h: remove
21938 * gst/Makefile.am.future: Remove this file. It's ancient.
21940 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21942 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
21943 (gst_bin_send_event):
21944 Add default event/set_manager handlers. The set_manager handler
21945 takes care that the manager is distributed over kids that were
21946 already in the bin before the manager was set. The event handler
21947 is a utility virtual function that sends the event over all sinks,
21948 so that gst_element_send_event (bin, event); has the expected
21950 * gst/gstpad.c: (gst_pad_event_default):
21951 Re-install default event handling for discontinuities, so that
21952 seeking works without requiring hacks in applications or extra
21954 * gst/gstpipeline.c: (gst_pipeline_class_init),
21955 (gst_pipeline_send_event):
21956 Half hack, half utility: set a pipeline to PAUSED for seek events,
21957 since that is the only way we can guarantee a/v sync. Means that
21958 you can do gst_element_seek (pipeline, method, pos); on a pipeline
21959 and it "just works".
21961 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21963 * gst/gstpipeline.c: (gst_pipeline_use_clock):
21964 Lock/unlock mismatch.
21966 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
21968 * docs/faq/gst-uninstalled:
21969 add gst-plugins-base
21970 * docs/gst/Makefile.am:
21971 don't error out until docs are fixed
21972 * docs/gst/gstreamer.types:
21975 2005-03-22 Wim Taymans <wim@fluendo.com>
21977 * check/Makefile.am:
21978 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
21979 * gst/gststructure.c: (gst_structure_set_valist),
21980 (gst_structure_copy_conditional):
21981 Activated more tests.
21982 Added message test.
21983 Added G_TYPE_POINTER to GstStructure.
21986 2005-03-22 Wim Taymans <wim@fluendo.com>
21988 * docs/design/part-TODO.txt:
21989 * docs/design/part-events.txt:
21990 * docs/design/part-gstbin.txt:
21991 * docs/design/part-gstbus.txt:
21992 * docs/design/part-gstpipeline.txt:
21993 * docs/design/part-messages.txt:
21995 * gst/gstmessage.c:
21998 2005-03-21 Wim Taymans <wim@fluendo.com>
22000 * gst/gstbus.c: (gst_bus_post):
22001 Fix copy-and-paste error.
22003 2005-03-21 Wim Taymans <wim@fluendo.com>
22005 * check/Makefile.am:
22007 * gst/elements/Makefile.am:
22008 * gst/elements/gstelements.c:
22009 * gst/elements/gstfakesink.c: (gst_fakesink_init),
22010 (gst_fakesink_event), (gst_fakesink_chain):
22011 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22012 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22013 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22014 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22015 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22016 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22017 (gst_fakesrc_loop), (gst_fakesrc_activate),
22018 (gst_fakesrc_change_state):
22019 * gst/elements/gstfakesrc.h:
22020 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22021 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22022 (gst_filesrc_open_file), (gst_filesrc_loop),
22023 (gst_filesrc_activate), (gst_filesrc_change_state),
22024 (filesrc_find_peek), (filesrc_find_suggest),
22025 (gst_filesrc_type_find):
22026 * gst/elements/gstidentity.c: (gst_identity_finalize),
22027 (gst_identity_class_init), (gst_identity_init),
22028 (gst_identity_proxy_getcaps), (identity_queue_push),
22029 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22030 (gst_identity_getrange), (gst_identity_chain),
22031 (gst_identity_sink_loop), (gst_identity_src_loop),
22032 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22033 (gst_identity_set_property), (gst_identity_get_property),
22034 (gst_identity_change_state):
22035 * gst/elements/gstidentity.h:
22036 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22037 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22038 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22039 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22040 (gst_tee_sink_activate):
22041 * gst/elements/gsttee.h:
22042 * gst/gst.c: (gst_register_core_elements), (init_post):
22044 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22045 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22046 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22047 (gst_bin_change_state):
22049 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22050 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22051 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22052 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22053 (gst_bus_set_sync_handler), (gst_bus_create_watch),
22054 (bus_watch_callback), (bus_watch_destroy),
22055 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22056 (poll_timeout), (gst_bus_poll):
22060 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22061 (gst_element_post_message), (gst_element_message_full),
22062 (gst_element_get_state_func), (gst_element_get_state),
22063 (gst_element_abort_state), (gst_element_commit_state),
22064 (gst_element_lost_state), (gst_element_set_state),
22065 (gst_element_pads_activate), (gst_element_change_state),
22066 (gst_element_dispose), (gst_element_set_manager_func),
22067 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22068 (gst_element_set_manager), (gst_element_get_manager),
22069 (gst_element_set_bus), (gst_element_get_bus),
22070 (gst_element_set_scheduler), (gst_element_get_scheduler):
22071 * gst/gstelement.h:
22072 * gst/gstevent.c: (gst_event_new_segment_seek),
22073 (gst_event_new_flush):
22075 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22076 (_gst_message_free), (gst_message_get_type), (gst_message_new),
22077 (gst_message_new_eos), (gst_message_new_error),
22078 (gst_message_new_warning), (gst_message_new_tag),
22079 (gst_message_new_state_changed), (gst_message_new_application),
22080 (gst_message_get_structure), (gst_message_parse_tag),
22081 (gst_message_parse_state_changed), (gst_message_parse_error),
22082 (gst_message_parse_warning):
22083 * gst/gstmessage.h:
22084 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22085 (gst_real_pad_set_property), (gst_pad_set_active),
22086 (gst_pad_is_active), (gst_pad_set_blocked_async),
22087 (gst_pad_set_blocked), (gst_pad_is_blocked),
22088 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22089 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22090 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22091 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22092 (gst_pad_link_filtered), (gst_pad_relink_filtered),
22093 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22094 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22095 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22096 (gst_pad_set_caps), (gst_pad_configure_sink),
22097 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22098 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22099 (gst_real_pad_dispose), (gst_real_pad_finalize),
22100 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22101 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22102 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22104 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22105 (pipeline_bus_handler), (gst_pipeline_change_state),
22106 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22107 * gst/gstpipeline.h:
22109 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22110 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22111 (gst_queue_link_src), (gst_queue_bufferalloc),
22112 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22113 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22114 (gst_queue_loop), (gst_queue_handle_src_event),
22115 (gst_queue_handle_src_query), (gst_queue_src_activate),
22116 (gst_queue_change_state):
22118 * gst/gstscheduler.c: (gst_scheduler_init),
22119 (gst_scheduler_dispose), (gst_scheduler_create_task),
22120 (gst_scheduler_factory_create):
22121 * gst/gstscheduler.h:
22122 * gst/gststructure.c: (gst_structure_get_type),
22123 (gst_structure_copy_conditional):
22124 * gst/gststructure.h:
22125 * gst/gsttaginterface.h:
22126 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22127 (gst_task_init), (gst_task_dispose), (gst_task_create),
22128 (gst_task_get_state), (gst_task_start), (gst_task_stop),
22134 * gst/schedulers/Makefile.am:
22135 * gst/schedulers/cothreads_compat.h:
22136 * gst/schedulers/entryscheduler.c:
22137 * gst/schedulers/faircothreads.c:
22138 * gst/schedulers/faircothreads.h:
22139 * gst/schedulers/fairscheduler.c:
22140 * gst/schedulers/gstbasicscheduler.c:
22141 * gst/schedulers/gstoptimalscheduler.c:
22142 * gst/schedulers/gthread-cothreads.h:
22143 * gst/schedulers/threadscheduler.c:
22144 (gst_thread_scheduler_task_get_type),
22145 (gst_thread_scheduler_task_class_init),
22146 (gst_thread_scheduler_task_init),
22147 (gst_thread_scheduler_task_start),
22148 (gst_thread_scheduler_task_stop),
22149 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22150 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22151 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22152 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22154 * libs/gst/Makefile.am:
22155 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22156 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22157 (gst_file_pad_parent_set):
22158 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22159 (gst_dp_event_from_packet):
22160 * tests/complexity.c: (main):
22161 * tests/mass_elements.c: (main):
22162 * testsuite/states/locked.c: (message_received), (main):
22163 * testsuite/states/parent.c: (main):
22164 * tools/gst-inspect.c: (print_element_flag_info),
22165 (print_implementation_info), (print_pad_info):
22166 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22168 * tools/gst-md5sum.c: (event_loop), (main):
22169 * tools/gst-typefind.c: (main):
22170 * tools/gst-xmlinspect.c: (print_element_info):
22172 Added GstBus for mainloop integration.
22173 Added GstMessage for sending notifications on the bus.
22174 Added GstTask as an abstraction for pipeline entry points.
22176 Removed Schedulers.
22177 Simplified GstQueue for multithreaded core.
22178 Made _link threadsafe, removed old capsnego.
22179 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22180 Added pad blocking functions.
22181 Reworked scheduling functions in GstPad to prepare for
22182 scheduling updates soon.
22183 Moved events out of data stream.
22184 Simplified GstEvent types.
22185 Added return values to push/pull.
22186 Removed clocking from GstElement.
22187 Added prototypes for state change function for next merge.
22188 Removed iterate from bins and state change management.
22189 Fixed some elements, disabled others for now.
22190 Fixed -inspect and -launch.
22191 Added check for GstBus.
22193 2005-03-10 Wim Taymans <wim@fluendo.com>
22195 * docs/design/part-MT-refcounting.txt:
22196 * docs/design/part-clocks.txt:
22197 * docs/design/part-gstelement.txt:
22198 * docs/design/part-gstobject.txt:
22199 * docs/design/part-standards.txt:
22200 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22201 (gst_bin_remove_func), (gst_bin_remove):
22205 * testsuite/clock/clock1.c: (main):
22206 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22208 * testsuite/dlopen/loadgst.c: (do_test):
22209 * testsuite/refcounting/bin.c: (add_remove_test1),
22210 (add_remove_test2), (main):
22211 * testsuite/refcounting/element.c: (main):
22212 * testsuite/refcounting/element_pad.c: (main):
22213 * testsuite/refcounting/pad.c: (main):
22214 * tools/gst-launch.c: (sigint_handler_sighandler):
22215 * tools/gst-typefind.c: (main):
22217 Added doc about clock.
22218 removed gst_bin_iterate_recurse_up(), marked methods
22220 Fix more testsuites.
22222 2005-03-09 Wim Taymans <wim@fluendo.com>
22224 * gst/gstpad.c: (gst_pad_get_direction),
22225 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22226 (gst_pad_collect_valist):
22227 * testsuite/bins/interface.c: (main):
22228 * testsuite/caps/audioscale.c: (test_caps):
22229 * testsuite/caps/caps.c: (test1), (test2), (test3):
22230 * testsuite/caps/deserialize.c: (main):
22231 * testsuite/caps/enumcaps.c: (main):
22232 * testsuite/caps/filtercaps.c: (main):
22233 * testsuite/caps/intersect2.c: (main):
22234 * testsuite/caps/random.c: (main):
22235 * testsuite/caps/renegotiate.c: (my_fixate), (main):
22236 * testsuite/caps/sets.c: (check_caps):
22237 * testsuite/caps/simplify.c: (check_caps), (main):
22238 * testsuite/caps/subtract.c: (check_caps):
22239 Fix _pad_get_direction wrt ghostpads.
22240 Fix caps testsuite.
22242 2005-03-09 Wim Taymans <wim@fluendo.com>
22244 * check/Makefile.am:
22245 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22246 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22247 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22248 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22249 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22250 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22251 (gst_bin_remove), (gst_bin_iterate_recurse_up),
22252 (bin_element_is_sink), (gst_bin_iterate_sinks),
22253 (gst_bin_iterate_all_by_interface):
22255 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22256 (gst_element_change_state), (gst_element_dispose),
22257 (gst_element_finalize), (gst_element_set_loop_function):
22258 * gst/gstelement.h:
22259 * gst/gstiterator.c: (find_custom_fold_func):
22260 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22261 (gst_pad_collectv), (gst_pad_collect_valist),
22262 (gst_pad_template_new):
22263 * gst/gstpipeline.c: (gst_pipeline_class_init),
22264 (gst_pipeline_dispose), (gst_pipeline_set_property),
22265 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22266 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22267 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22269 * gst/schedulers/entryscheduler.c:
22270 * gst/schedulers/gstbasicscheduler.c:
22271 (gst_basic_scheduler_cothreaded_chain),
22272 (gst_basic_scheduler_chain_add_element):
22273 * testsuite/bins/interface.c: (main):
22275 Added GstSystemClock test.
22276 Implemented clock distribution code in GstBin.
22277 Implemented iterate sinks method for future use.
22278 Rearranged gstelement.h
22279 Fix GstIterator comparison bug.
22280 Moved some code to GstPipeline, mostly clocking related.
22282 2005-03-09 Wim Taymans <wim@fluendo.com>
22285 * gst/gst_private.h:
22286 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22287 (gst_bin_remove_func), (gst_bin_remove),
22288 (gst_bin_get_by_name_recurse_up):
22289 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22290 (gst_clock_id_compare_func), (gst_clock_id_wait),
22291 (gst_clock_id_wait_async), (gst_clock_init),
22292 (gst_clock_adjust_unlocked), (gst_clock_get_time):
22293 * gst/gstelement.h:
22294 * gst/gstinfo.c: (_gst_debug_init):
22296 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22297 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22299 Bump version number, we're now 0.9.0
22300 Add future debugging category.
22301 Fix NULL _unref() in _get_by_name_recurse_up
22302 Rearrange gstpad.h.
22305 2005-03-08 Wim Taymans <wim@fluendo.com>
22307 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22308 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22309 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22310 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22311 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22312 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22313 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22314 * gst/elements/gstidentity.c: (gst_identity_class_init):
22315 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22316 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22317 * gst/elements/gstshaper.c: (gst_shaper_class_init):
22318 * gst/elements/gststatistics.c: (gst_statistics_class_init):
22319 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22321 * gst/gstelement.c: (gst_element_class_init),
22322 (gst_element_base_class_init), (gst_element_init),
22323 (gst_element_get_random_pad), (gst_element_wait_state_change),
22324 (gst_element_change_state), (gst_element_dispose),
22325 (gst_element_finalize), (gst_element_set_loop_function):
22326 * gst/gstelement.h:
22327 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22328 * gst/gstthread.c: (gst_thread_class_init),
22329 (gst_thread_release_children_locks), (gst_thread_change_state):
22330 * gst/schedulers/gstbasicscheduler.c:
22331 (gst_basic_scheduler_loopfunc_wrapper),
22332 (gst_basic_scheduler_chain_wrapper),
22333 (gst_basic_scheduler_src_wrapper),
22334 (gst_basic_scheduler_remove_element):
22335 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22336 Remove threadsafe properties. Fix elements because GObject
22337 complains when installing a property before declaring a
22338 set/get_property handler.
22339 Rearrange gstelement.h file, use STATE macros for state locks.
22340 Free mutexes in the finalize method instead of dispose.
22342 2005-03-08 Wim Taymans <wim@fluendo.com>
22344 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22345 * gst/gstthread.c: (gst_thread_release_children_locks):
22346 Added parentage check.
22347 Fix build og GstThread again.
22349 2005-03-08 Wim Taymans <wim@fluendo.com>
22351 * docs/design/part-MT-refcounting.txt:
22352 * docs/design/part-conventions.txt:
22353 * docs/design/part-gstobject.txt:
22354 * docs/design/part-relations.txt:
22355 * docs/design/part-standards.txt:
22356 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22357 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22358 (gst_bin_get_by_name), (gst_bin_get_by_interface),
22359 (gst_bin_iterate_all_by_interface):
22362 * gst/gstelement.c: (gst_element_class_init),
22363 (gst_element_change_state), (gst_element_set_loop_function):
22364 * gst/gstelement.h:
22365 * gst/gstiterator.c:
22366 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22367 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22368 (gst_object_dispatch_properties_changed), (gst_object_set_name),
22369 (gst_object_set_parent), (gst_object_unparent),
22370 (gst_object_check_uniqueness):
22372 Docs updates, clean up some headers.
22374 2005-03-07 Wim Taymans <wim@fluendo.com>
22376 * check/.cvsignore:
22377 * check/Makefile.am:
22378 * check/gst-libs/.cvsignore:
22379 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22380 * check/gst/.cvsignore:
22381 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22382 (START_TEST), (gstbus_suite), (main):
22383 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22384 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22385 (gst_data_suite), (main):
22386 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22387 (add_fold_func), (gstiterator_suite), (main):
22388 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22389 (thread_name_object), (thread_name_object_default),
22390 (gst_object_name_compare), (gst_object_suite), (main):
22391 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22392 (gst_pad_suite), (main):
22393 * check/gstcheck.c: (gst_check_log_message_func),
22394 (gst_check_log_critical_func), (gst_check_init):
22395 * check/gstcheck.h:
22396 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22397 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22400 2005-03-07 Wim Taymans <wim@fluendo.com>
22402 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22403 (gst_list_iterator_next), (gst_list_iterator_resync),
22404 (gst_list_iterator_free), (gst_iterator_new_list),
22405 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22406 (gst_iterator_free), (gst_iterator_push), (filter_next),
22407 (filter_resync), (filter_uninit), (filter_free),
22408 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22409 (gst_iterator_foreach), (find_custom_fold_func),
22410 (gst_iterator_find_custom):
22411 * gst/gstiterator.h:
22412 Added missing files.
22414 2005-03-07 Wim Taymans <wim@fluendo.com>
22418 * docs/design/part-MT-refcounting.txt:
22419 * docs/design/part-conventions.txt:
22420 * docs/design/part-gstobject.txt:
22421 * docs/design/part-relations.txt:
22422 * examples/mixer/mixer.c: (main):
22423 * examples/thread/thread.c: (eos), (main):
22425 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22426 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22427 (gst_spider_plug_from_srcpad):
22428 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22429 (gst_spider_identity_change_state),
22430 (gst_spider_identity_sink_loop_type_finding):
22431 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22432 * gst/elements/gstidentity.c: (gst_identity_init):
22433 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22434 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22435 * gst/elements/gsttypefindelement.c: (free_entry):
22438 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22439 (gst_bin_set_clock_func), (gst_bin_auto_clock),
22440 (gst_bin_set_index), (gst_bin_set_element_sched),
22441 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22442 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22443 (gst_bin_iterate_elements), (iterate_child_recurse),
22444 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22445 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22446 (compare_interface), (gst_bin_get_by_interface),
22447 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22449 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22450 (gst_buffer_default_free), (gst_buffer_default_copy),
22451 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22452 (gst_buffer_create_sub):
22454 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22455 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22456 (gst_caps_unref), (gst_static_caps_get),
22457 (gst_caps_remove_and_get_structure), (gst_caps_append),
22458 (gst_caps_append_structure), (gst_caps_remove_structure),
22459 (gst_caps_copy_nth), (gst_caps_set_simple),
22460 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22461 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22462 (gst_caps_structure_intersect_field), (gst_caps_intersect),
22463 (gst_caps_structure_subtract_field), (gst_caps_subtract),
22464 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22465 (gst_caps_structure_figure_out_union),
22466 (gst_caps_switch_structures), (gst_caps_do_simplify),
22467 (gst_caps_replace), (gst_caps_from_string),
22468 (gst_caps_copy_conditional):
22470 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22471 (_gst_clock_id_free), (gst_clock_id_unref),
22472 (gst_clock_id_compare_func), (gst_clock_id_wait),
22473 (gst_clock_id_wait_async), (gst_clock_class_init),
22474 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22475 (gst_clock_get_time), (gst_clock_set_time_adjust),
22476 (gst_clock_set_property), (gst_clock_get_property):
22479 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22480 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22482 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22483 (gst_element_requires_clock), (gst_element_provides_clock),
22484 (gst_element_set_clock), (gst_element_clock_wait),
22485 (gst_element_wait), (gst_element_set_time_delay),
22486 (gst_element_is_indexable), (gst_element_add_pad),
22487 (gst_element_add_ghost_pad), (gst_element_remove_pad),
22488 (pad_compare_name), (gst_element_get_static_pad),
22489 (gst_element_request_pad), (gst_element_get_request_pad),
22490 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22491 (gst_element_class_get_pad_template_list),
22492 (gst_element_class_get_pad_template), (gst_element_error_func),
22493 (gst_element_get_random_pad), (gst_element_get_event_masks),
22494 (gst_element_send_event), (gst_element_seek),
22495 (gst_element_get_query_types), (gst_element_query),
22496 (gst_element_get_formats), (gst_element_convert),
22497 (gst_element_is_locked_state), (gst_element_set_locked_state),
22498 (gst_element_sync_state_with_parent), (gst_element_change_state),
22499 (gst_element_finalize), (gst_element_yield),
22500 (gst_element_interrupt), (gst_element_set_scheduler),
22501 (gst_element_get_scheduler), (gst_element_set_loop_function):
22502 * gst/gstelement.h:
22504 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22505 (gst_format_get_by_nick), (gst_format_get_details),
22506 (gst_format_iterate_definitions):
22508 * gst/gstindex.c: (gst_index_gtype_resolver):
22511 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22512 (gst_mem_chunk_free):
22513 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22514 (gst_object_ref), (gst_object_unref), (gst_object_sink),
22515 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22516 (gst_object_dispatch_properties_changed),
22517 (gst_object_set_name_default), (gst_object_set_name),
22518 (gst_object_get_name), (gst_object_set_name_prefix),
22519 (gst_object_get_name_prefix), (gst_object_set_parent),
22520 (gst_object_get_parent), (gst_object_unparent),
22521 (gst_object_check_uniqueness), (gst_object_save_thyself),
22522 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22523 (gst_object_set_property), (gst_object_get_property),
22524 (gst_object_get_path_string):
22526 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22527 (gst_real_pad_init), (gst_real_pad_get_property),
22528 (gst_pad_custom_new), (gst_pad_get_direction),
22529 (gst_pad_set_active), (gst_pad_is_active),
22530 (gst_pad_set_event_function), (gst_pad_is_linked),
22531 (gst_pad_link_free), (gst_pad_link_intersect),
22532 (gst_pad_link_fixate), (gst_pad_set_caps),
22533 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22534 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22535 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22536 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22537 (gst_pad_get_caps), (gst_pad_peer_get_caps),
22538 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22539 (gst_pad_realize), (gst_pad_get_allowed_caps),
22540 (gst_real_pad_dispose), (gst_real_pad_finalize),
22541 (gst_pad_collectv), (gst_pad_collect_valist),
22542 (gst_pad_template_dispose), (gst_pad_template_new),
22543 (gst_pad_get_internal_links):
22545 * gst/gstpipeline.c: (gst_pipeline_dispose),
22546 (gst_pipeline_change_state):
22547 * gst/gstpipeline.h:
22549 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22550 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22551 * gst/gstpluginfeature.h:
22552 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22553 * gst/gstquery.c: (_gst_query_type_initialize),
22554 (gst_query_type_register), (gst_query_type_get_by_nick),
22555 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22557 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22558 * gst/gstscheduler.c: (gst_scheduler_add_element),
22559 (gst_scheduler_factory_create):
22560 * gst/gststructure.c: (gst_structure_set_parent_refcount),
22561 (gst_structure_free), (gst_structure_set_name),
22562 (gst_structure_id_set_value), (gst_structure_set_value),
22563 (gst_structure_set_valist), (gst_structure_remove_field),
22564 (gst_structure_remove_fields),
22565 (gst_structure_remove_fields_valist),
22566 (gst_structure_remove_all_fields), (gst_structure_foreach),
22567 (gst_structure_map_in_place),
22568 (gst_caps_structure_fixate_field_nearest_int),
22569 (gst_caps_structure_fixate_field_nearest_double):
22570 * gst/gststructure.h:
22571 * gst/gstsystemclock.c: (gst_system_clock_class_init),
22572 (gst_system_clock_init), (gst_system_clock_dispose),
22573 (gst_system_clock_async_thread),
22574 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22575 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
22576 * gst/gstsystemclock.h:
22577 * gst/gsttag.c: (gst_tag_list_add_value_internal),
22578 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
22579 * gst/gsttaginterface.c:
22580 * gst/gstthread.c: (gst_thread_dispose),
22581 (gst_thread_release_children_locks), (gst_thread_change_state),
22582 (gst_thread_main_loop):
22583 * gst/gsttrashstack.h:
22584 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
22586 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22587 (gst_element_request_pad), (gst_element_get_pad_from_template),
22588 (gst_element_request_compatible_pad),
22589 (gst_element_get_compatible_pad_filtered),
22590 (gst_element_get_compatible_pad), (gst_element_state_get_name),
22591 (gst_element_link_pads_filtered), (gst_element_link_filtered),
22592 (gst_element_link_many), (gst_element_link),
22593 (gst_element_link_pads), (gst_element_unlink_pads),
22594 (gst_element_unlink_many), (gst_element_unlink),
22595 (gst_pad_can_link_filtered), (gst_pad_can_link),
22596 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
22597 (gst_object_default_error), (gst_bin_add_many),
22598 (gst_bin_remove_many), (gst_element_populate_std_props),
22599 (gst_element_class_install_std_props), (gst_buffer_merge),
22600 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
22601 (link_fold_func), (gst_pad_proxy_setcaps):
22603 * gst/gstvalue.c: (gst_value_deserialize_string):
22604 * gst/parse/grammar.y:
22605 * gst/schedulers/gstbasicscheduler.c:
22606 (gst_basic_scheduler_cothreaded_chain),
22607 (gst_basic_scheduler_chain_recursive_add),
22608 (gst_basic_scheduler_pad_link):
22609 * gst/schedulers/gstoptimalscheduler.c:
22610 (get_group_schedule_function),
22611 (gst_opt_scheduler_state_transition),
22612 (gst_opt_scheduler_add_element), (element_get_reachables_func):
22613 * libs/gst/bytestream/bytestream.c:
22614 * libs/gst/dataprotocol/dataprotocol.c:
22615 (gst_dp_header_from_buffer):
22618 * tests/threadstate/threadstate2.c: (eos):
22619 * tools/gst-compprep.c: (main):
22620 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
22621 (print_pad_info), (print_children_info):
22622 * tools/gst-launch.c: (idle_func), (main):
22623 * tools/gst-md5sum.c: (idle_func), (main):
22624 * tools/gst-xmlinspect.c: (print_element_info):
22625 First THREADED backport attempt, focusing on adding locks and
22626 making sure the API is threadsafe. Needs more work. More docs
22629 2005-02-24 Andy Wingo <wingo@pobox.com>
22631 * tests/bench-complexity.scm:
22632 * tests/complexity.gnuplot: New files, good for running complexity
22635 * tests/Makefile.am:
22636 * tests/complexity.c: New test, sets up N elements, at each level
22637 teeing into M streams per element. Eeeenteresting.
22639 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
22640 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
22641 running bench-mass_elements.scm.
22643 * tests/bench-mass_elements.scm: New script, runs mass_elements
22644 for various numbers of identities, outputting the results to a
22645 file. Requires guile 1.6. Just for testing.
22647 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
22649 * gst/schedulers/fairscheduler.c:
22650 compile with debug disabled
22652 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
22655 hunting season on 0.9 is now OPEN