1 2005-11-04 Wim Taymans <wim@fluendo.com>
3 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4 Small update to stop at the configured segment_end
7 2005-11-04 Stefan Kost <ensonic@users.sf.net>
13 2005-11-04 Edward Hervey <edward@fluendo.com>
15 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16 Check if we are doing a segment seek and have arrived at the
19 2005-11-04 Wim Taymans <wim@fluendo.com>
21 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
22 Don't leak a mutex unlock in case of an error.
27 2005-11-04 Wim Taymans <wim@fluendo.com>
29 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
31 Get the context to wake up only once.
33 2005-11-03 Wim Taymans <wim@fluendo.com>
35 * check/states/sinks.c: (GST_START_TEST):
36 Uncomment fixed check.
38 * docs/design/part-TODO.txt:
41 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
42 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
43 (gst_base_sink_get_position):
44 If we are going to PLAYING, post the right pending state
45 when we post the intermediate paused message.
47 * gst/gstelement.c: (gst_element_continue_state),
48 (gst_element_set_state_func), (gst_element_change_state):
49 Don't post state changes that were between the same state
52 2005-11-03 Stefan Kost <ensonic@users.sf.net>
54 * docs/gst/gstreamer-sections.txt:
57 * gst/gstminiobject.h:
60 more docs and doc style fixes
62 2005-11-03 Stefan Kost <ensonic@users.sf.net>
64 * docs/gst/gstreamer-sections.txt:
66 * gst/gstminiobject.c:
69 2005-11-03 Andy Wingo <wingo@pobox.com>
71 * check/states/sinks.c (test_livesrc_sink): Add checks that the
72 state-changed messages actually have the right order and the right
75 2005-11-03 Wim Taymans <wim@fluendo.com>
77 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
78 Added some more checks. Specifically the case where NO_PREROLL
79 elements are in the pipeline.
81 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
82 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
83 (gst_base_sink_get_position):
84 Post READY->PAUSED state change messages too.
85 Fix bug where VOID was posted as pending state...
87 * gst/gstbin.c: (gst_bin_recalc_state):
88 use _element_continue_state() to continue the state change.
90 * gst/gstelement.c: (gst_element_continue_state),
91 (gst_element_commit_state), (gst_element_set_state_func),
92 (gst_element_change_state), (gst_element_change_state_func):
93 Lots of state change cleanups, assign the STATE_RETURN in
94 a new continue_state() function that also propagates the
95 last return value from a state change to the app.
96 Update some debug statements with proper category.
98 2005-11-03 Wim Taymans <wim@fluendo.com>
100 * docs/design/part-events.txt:
101 * docs/design/part-gstpipeline.txt:
102 * docs/design/part-messages.txt:
103 * docs/design/part-overview.txt:
104 * docs/design/part-seeking.txt:
105 * docs/design/part-states.txt:
106 * docs/design/part-trickmodes.txt:
107 * docs/manual/advanced-position.xml:
111 People think !! is ugly, this looks better.
113 * gst/gstpad.c: (gst_pad_set_blocked_async):
114 Remove !! since it's fixed elsewhere now.
116 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
118 * gst/gstminiobject.h:
120 Add !! to _FLAG_IS_SET macros to make the result boolean.
122 2005-11-03 Edward Hervey <edward@fluendo.com>
124 * gst/gstpad.c: (gst_pad_set_blocked_async):
125 comparing a flag and a gboolean rarely returns coherent results...
126 Added two characters (!!) to make that work correctly.
128 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
130 * gst/gstbus.c: (gst_bus_class_init):
133 * gst/gstqueue.c: (gst_queue_loop):
134 Don't assume a miniobject that isn't a buffer is an
135 event (it could be that there is a refcounting
136 problem somewhere and the pointer is stale and
137 refers to an already destroyed miniobject).
139 2005-11-03 Julien MOUTTE <julien@moutte.net>
141 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
143 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
145 * docs/manual/advanced-position.xml:
146 Update seek example and explanations to current 0.9 API.
148 * gst/elements/gsttypefindelement.c:
149 (gst_type_find_element_activate):
150 Remove FIXME comment now that the found caps
153 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
155 * gst/gstregistryxml.c: (load_feature):
156 Add another GST_STR_NULL instance
158 2005-11-02 Edward Hervey <edward@fluendo.com>
160 * gst/gstpad.c: (handle_pad_block):
161 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
163 2005-11-02 Wim Taymans <wim@fluendo.com>
168 * gst/gstelement.c: (gst_element_commit_state):
172 Mention that the returned element is reffed in the docs.
174 2005-11-02 Wim Taymans <wim@fluendo.com>
176 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
177 (gst_pad_push), (gst_pad_push_event):
178 Unlock blocked pads when they are flushed.
180 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
183 * docs/gst/gstreamer-sections.txt:
186 * gst/gstregistry.c: (gst_registry_scan_path_level):
187 fix for a nasty little missed situation where an installed plug-in
188 which was in the cache did not get overridden by an uninstalled one
189 which was earlier in the plugin path because the newly created plugin
190 for the uninstalled one (not in the registry) didn't get its
191 ->registered set to TRUE
193 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
195 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
196 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
197 (gst_collectpads_is_active), (gst_collectpads_collect),
198 (gst_collectpads_collect_range), (gst_collectpads_start),
199 (gst_collectpads_stop), (gst_collectpads_peek),
200 (gst_collectpads_pop), (gst_collectpads_available),
201 (gst_collectpads_read), (gst_collectpads_flush):
202 Guard public API with assertions.
205 Fix docs for gst_pad_set_link_function().
207 2005-11-02 Johan Dahlin <johan@gnome.org>
209 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
210 Unref found_caps after we used it.
212 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
214 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
215 Don't try to ref NULL.
217 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
219 * win32/common/config.h.in:
220 provide a GST_FUNCTION that just gives a string for now
222 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
224 * win32/common/gstenumtypes.c: (register_gst_object_flags),
225 (gst_object_flags_get_type), (register_gst_bin_flags),
226 (gst_bin_flags_get_type), (register_gst_buffer_flag),
227 (gst_buffer_flag_get_type), (register_gst_bus_flags),
228 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
229 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
230 (gst_clock_return_get_type), (register_gst_clock_entry_type),
231 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
232 (gst_clock_flags_get_type), (register_gst_state),
233 (gst_state_get_type), (register_gst_state_change_return),
234 (gst_state_change_return_get_type), (register_gst_state_change),
235 (gst_state_change_get_type), (register_gst_element_flags),
236 (gst_element_flags_get_type), (register_gst_core_error),
237 (gst_core_error_get_type), (register_gst_library_error),
238 (gst_library_error_get_type), (register_gst_resource_error),
239 (gst_resource_error_get_type), (register_gst_stream_error),
240 (gst_stream_error_get_type), (register_gst_event_type),
241 (gst_event_type_get_type), (register_gst_seek_type),
242 (gst_seek_type_get_type), (register_gst_seek_flags),
243 (gst_seek_flags_get_type), (register_gst_format),
244 (gst_format_get_type), (register_gst_index_certainty),
245 (gst_index_certainty_get_type), (register_gst_index_entry_type),
246 (gst_index_entry_type_get_type),
247 (register_gst_index_lookup_method),
248 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
249 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
250 (gst_index_resolver_method_get_type), (register_gst_index_flags),
251 (gst_index_flags_get_type), (register_gst_debug_level),
252 (gst_debug_level_get_type), (register_gst_debug_color_flags),
253 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
254 (gst_iterator_result_get_type), (register_gst_iterator_item),
255 (gst_iterator_item_get_type), (register_gst_message_type),
256 (gst_message_type_get_type), (register_gst_mini_object_flags),
257 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
258 (gst_pad_link_return_get_type), (register_gst_flow_return),
259 (gst_flow_return_get_type), (register_gst_activate_mode),
260 (gst_activate_mode_get_type), (register_gst_pad_direction),
261 (gst_pad_direction_get_type), (register_gst_pad_flags),
262 (gst_pad_flags_get_type), (register_gst_pad_presence),
263 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
264 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
265 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
266 (gst_plugin_error_get_type), (register_gst_plugin_flags),
267 (gst_plugin_flags_get_type), (register_gst_rank),
268 (gst_rank_get_type), (register_gst_query_type),
269 (gst_query_type_get_type), (register_gst_tag_merge_mode),
270 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
271 (gst_tag_flag_get_type), (register_gst_task_state),
272 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
273 (gst_alloc_trace_flags_get_type),
274 (register_gst_type_find_probability),
275 (gst_type_find_probability_get_type), (register_gst_uri_type),
276 (gst_uri_type_get_type), (register_gst_parse_error),
277 (gst_parse_error_get_type):
278 * win32/common/gstversion.h:
281 2005-11-01 Luca Ognibene <luogni@tin.it>
284 fix docs. popt is dead, long live GOption.
286 2005-10-31 Wim Taymans <wim@fluendo.com>
291 2005-10-31 Andy Wingo <wingo@pobox.com>
295 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
297 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
298 need to serialize property notifications on GLib 2.8. GLib 2.6 has
299 the possibility of deadlocks here if code calling notify() or
300 set() has a lock that can be taken in another notify handler (ABBA
301 with class lock and e.g. python GIL state lock).
303 2005-10-28 Julien MOUTTE <julien@moutte.net>
305 * gst/gstbus.c: Doc updates.
307 2005-10-28 Wim Taymans <wim@fluendo.com>
309 * docs/design/part-TODO.txt:
311 * gst/gstsystemclock.c:
312 * gst/gstsystemclock.h:
315 2005-10-28 Edward Hervey <edward@fluendo.com>
317 * docs/gst/gstreamer-docs.sgml:
318 * docs/gst/gstreamer-sections.txt:
319 the GstURIType documentation page is private, it only defines GstURIType
320 which should be defined in the GstURIHandler page
322 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
324 * gst/gstbin.c: (gst_bin_class_init):
327 Documentation updates.
329 2005-10-28 Wim Taymans <wim@fluendo.com>
331 * docs/gst/gstreamer-sections.txt:
334 Documented the clocks.
336 2005-10-28 Stefan Kost <ensonic@users.sf.net>
338 * docs/gst/gstreamer-sections.txt:
339 move some macros to private sections
340 * gst/gstminiobject.c:
341 * gst/gstminiobject.h:
342 add descriptions provided by ds and some more
344 mark macro as to be removed
346 2005-10-28 Wim Taymans <wim@fluendo.com>
348 * docs/design/part-TODO.txt:
351 * gst/gstiterator.c: (gst_iterator_fold),
352 (gst_iterator_find_custom):
356 2005-10-28 Wim Taymans <wim@fluendo.com>
358 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
359 (gst_base_transform_init):
362 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
363 An EOS event marks the queue as completely filled.
365 2005-10-27 Wim Taymans <wim@fluendo.com>
367 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
368 (gst_base_sink_do_sync), (gst_base_sink_get_position):
371 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
372 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
373 (gst_base_transform_event), (gst_base_transform_getrange),
374 (gst_base_transform_chain):
375 * gst/base/gstbasetransform.h:
377 Protect transform and concurrent buffer alloc with a new lock.
378 Try not to break ABI/API.
380 2005-10-27 Wim Taymans <wim@fluendo.com>
382 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
383 (gst_base_src_init), (gst_base_src_query),
384 (gst_base_src_default_newsegment),
385 (gst_base_src_configure_segment), (gst_base_src_do_seek),
386 (gst_base_src_send_event), (gst_base_src_event_handler),
387 (gst_base_src_pad_get_range), (gst_base_src_loop),
388 (gst_base_src_unlock), (gst_base_src_default_negotiate),
389 (gst_base_src_start), (gst_base_src_deactivate),
390 (gst_base_src_activate_push), (gst_base_src_change_state):
391 Move some stuff around and cleanup things.
393 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
395 * gst/base/gstbasesrc.c: (gst_base_src_query):
396 Add missing break statements.
398 2005-10-27 Wim Taymans <wim@fluendo.com>
400 * check/gst/gstbin.c: (GST_START_TEST):
401 An extra refcount is taken in basesrc.
403 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
404 (gst_base_src_get_range), (gst_base_src_pad_get_range),
406 Small cleanups, check for flushing after being unlocked from the
407 LIVE_LOCK. take refcounts correctly (not yet everywhere).
408 Don't send out EOS when going to READY.
410 2005-10-27 Wim Taymans <wim@fluendo.com>
412 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
413 (gst_base_sink_get_position):
416 * gst/gstbin.c: (message_check), (bin_replace_message),
417 (bin_remove_messages), (is_eos), (gst_bin_add_func),
418 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
419 (bin_query_duration_init), (bin_query_duration_fold),
420 (bin_query_duration_done), (bin_query_generic_fold),
422 * tools/gst-launch.c: (main):
425 2005-10-26 Stefan Kost <ensonic@users.sf.net>
427 * examples/controller/audio-example.c: (main):
428 * examples/queue/queue.c: (event_loop):
429 * gst/base/gstbasetransform.h:
430 * gst/gstelement.c: (gst_element_send_event):
432 * gst/gstpad.c: (gst_pad_send_event):
435 changing log priority in error situations
437 2005-10-25 Wim Taymans <wim@fluendo.com>
439 * gst/gstbin.c: (message_check), (bin_replace_message),
440 (bin_remove_messages), (is_eos), (gst_bin_add_func),
441 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
442 (bin_query_duration_init), (bin_query_duration_fold),
443 (bin_query_duration_done), (bin_query_generic_fold),
445 Some doc and debug updates.
446 Cache previously requested query DURATION for speed. invalidate
447 cached duration if element posts a DURATION message.
449 2005-10-25 Wim Taymans <wim@fluendo.com>
451 * docs/design/part-TODO.txt:
454 * gst/gstbin.c: (message_check), (bin_replace_message),
455 (bin_remove_messages), (is_eos), (gst_bin_add_func),
456 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
457 (bin_query_duration_init), (bin_query_duration_fold),
458 (bin_query_duration_done), (bin_query_generic_fold),
460 Handle SEGMENT_START/DONE messages correctly.
461 More evolved query algorithm that handles duration queries
464 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
465 (gst_element_get_state_func), (gst_element_abort_state),
466 (gst_element_commit_state), (gst_element_lost_state):
472 2005-10-25 Wim Taymans <wim@fluendo.com>
474 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
475 Don't use invalid stream_time.
477 * gst/gstevent.c: (gst_event_new_newsegment):
478 stream_time in newsegment cannot be undefined.
480 2005-10-24 Wim Taymans <wim@fluendo.com>
485 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
487 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
489 2005-10-24 Stefan Kost <ensonic@users.sf.net>
491 * docs/libs/tmpl/gstdparam.sgml:
492 * docs/libs/tmpl/gstdplinint.sgml:
493 * docs/libs/tmpl/gstdpman.sgml:
494 * docs/libs/tmpl/gstdpsmooth.sgml:
495 * docs/libs/tmpl/gstunitconvert.sgml:
498 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
503 === release 0.9.4 ===
505 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
508 releasing 0.9.4, "Tyrannosaurus Rex"
510 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
512 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
513 (gst_file_sink_get_current_offset):
514 Use fseeko() and ftello() if available. When falling back on
515 lseek() to get the current offset, fflush() first to make sure
516 everything is up-to-date and we get the right offset.
518 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
520 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
521 * gst/base/gstbasesrc.c: (gst_base_src_loop):
522 * gst/gsterror.c: (_gst_stream_errors_init):
524 * gst/gstqueue.c: (gst_queue_loop):
526 remove prematurely added error category and clean up the instances
528 2005-10-21 Wim Taymans <wim@fluendo.com>
530 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
531 (gst_base_sink_get_position), (gst_base_sink_query),
532 (gst_base_sink_change_state):
533 Simply set the right flag when going to playing, that's all
534 we need to do instead of calling a function inside the object
535 lock (that could take the lock as well and deadlock)
537 2005-10-21 Wim Taymans <wim@fluendo.com>
539 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
541 Don't warn, the peer element knows what to do best when
542 the seek failed, it might try something else.
544 2005-10-21 Wim Taymans <wim@fluendo.com>
546 * gst/base/gstbasesrc.c: (gst_base_src_init),
547 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
550 2005-10-21 Wim Taymans <wim@fluendo.com>
552 * docs/design/part-segments.txt:
555 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
556 Correctly set caps, even on the subbufer.
558 2005-10-21 Wim Taymans <wim@fluendo.com>
560 * docs/gst/gstreamer-docs.sgml:
561 * docs/gst/gstreamer-sections.txt:
568 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
572 And 2% more doc coverage.
574 2005-10-21 Andy Wingo <wingo@pobox.com>
576 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
579 2005-10-20 Wim Taymans <wim@fluendo.com>
581 * gst/gsterror.c: (gst_error_get_message):
584 * gst/gststructure.c:
589 2005-10-20 Wim Taymans <wim@fluendo.com>
594 Another 1% more coverage.
596 2005-10-20 Wim Taymans <wim@fluendo.com>
598 * docs/gst/gstreamer-sections.txt:
599 * gst/gstelement.c: (gst_element_get_state_func),
600 (gst_element_abort_state), (gst_element_commit_state),
601 (gst_element_lost_state):
603 * gst/gstquery.c: (gst_query_set_position),
604 (gst_query_parse_position), (gst_query_set_duration),
605 (gst_query_parse_duration), (gst_query_new_convert):
607 Yay! 1% more docs coverage.
609 2005-10-20 Wim Taymans <wim@fluendo.com>
612 * gst/gstquery.c: (gst_query_set_position),
613 (gst_query_parse_position), (gst_query_set_duration),
614 (gst_query_parse_duration), (gst_query_new_convert):
616 * gst/gstutils.c: (gst_element_query_convert):
618 Docs and consistency fixes.
620 2005-10-20 Wim Taymans <wim@fluendo.com>
626 2005-10-20 Wim Taymans <wim@fluendo.com>
628 * gst/gstbin.c: (message_check), (bin_replace_message),
629 (bin_remove_messages), (is_eos), (gst_bin_add_func),
630 (update_degree), (gst_bin_sort_iterator_next),
631 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
632 Reworked the message handling a bit, cache the messages instead of
633 only the senders. alows us to do more in the future.
635 2005-10-20 Wim Taymans <wim@fluendo.com>
637 * docs/design/part-TODO.txt:
640 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
641 (gst_base_sink_query):
642 Don't use clock time to report position when in EOS.
644 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
646 * tools/gst-inspect.c: (print_interfaces),
647 (print_element_properties_info), (print_element_info):
648 Fix interface output with gst-inspect -a; don't print
649 newlines after double/float properties.
651 2005-10-20 Wim Taymans <wim@fluendo.com>
653 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
654 (gst_base_sink_query):
655 Speed up current position calculation.
657 * gst/base/gstbasesrc.c: (gst_base_src_query),
658 (gst_base_src_default_newsegment):
659 Correctly set stream position in newsegment.
661 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
662 (update_degree), (gst_bin_sort_iterator_next),
663 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
664 * gst/gstmessage.c: (gst_message_new_custom):
665 Clean up debugging info
667 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
668 (gst_queue_loop), (gst_queue_handle_src_query):
671 2005-10-19 Wim Taymans <wim@fluendo.com>
673 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
674 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
675 Fix query handling again.
677 2005-10-19 Wim Taymans <wim@fluendo.com>
679 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
680 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
681 * gst/base/gstbasesrc.c: (gst_base_src_query):
682 * gst/elements/gstfilesink.c: (gst_file_sink_query):
683 * gst/elements/gsttypefindelement.c:
684 (gst_type_find_handle_src_query), (find_element_get_length),
685 (gst_type_find_element_activate):
688 * gst/gstquery.c: (gst_query_new_position),
689 (gst_query_set_position), (gst_query_parse_position),
690 (gst_query_new_duration), (gst_query_set_duration),
691 (gst_query_parse_duration), (gst_query_set_segment),
692 (gst_query_parse_segment):
694 Bundling query position/duration is not a good idea since duration
695 does not change much and we don't want to recalculate it for every
696 position query, so they are separated again..
697 Base value in segment query is not needed.
699 * gst/gstqueue.c: (gst_queue_handle_src_query):
700 * gst/gstutils.c: (gst_element_query_position),
701 (gst_element_query_duration), (gst_pad_query_position),
702 (gst_pad_query_duration):
704 Updates for query API change.
705 Added some docs here and there.
707 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
709 * check/gst/gstbin.c: (GST_START_TEST):
710 * check/gst/gstghostpad.c: (GST_START_TEST):
711 * check/pipelines/cleanup.c: (GST_START_TEST):
712 wait on thread to die so we can check refcount correctly
714 2005-10-18 Wim Taymans <wim@fluendo.com>
716 * check/pipelines/stress.c: (GST_START_TEST):
717 Make check a little more time consuming.
719 2005-10-18 Wim Taymans <wim@fluendo.com>
722 * check/pipelines/stress.c: (GST_START_TEST),
723 (simple_launch_lines_suite), (main):
724 Small state change torture test.
726 * docs/design/part-states.txt:
727 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
728 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
729 (gst_base_sink_change_state):
730 Never take state lock from streaming thread, clean up ugly
731 hacks. Unfortunatly core does not yet support nice ways to
734 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
736 Start state recalc if a STATE_DIRTY message is posted, but only
739 * gst/gstelement.c: (gst_element_sync_state_with_parent),
740 (gst_element_get_state_func), (gst_element_abort_state),
741 (gst_element_commit_state), (gst_element_lost_state),
742 (gst_element_set_state_func), (gst_element_change_state):
744 State variables are now protected with the LOCK, the state
745 lock is only used to serialize _set_state().
747 2005-10-18 Wim Taymans <wim@fluendo.com>
749 * check/gst/gstbin.c: (GST_START_TEST):
750 * check/gst/gstmessage.c: (GST_START_TEST):
751 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
752 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
754 * gst/gstelement.c: (gst_element_abort_state),
755 (gst_element_commit_state), (gst_element_lost_state):
756 * gst/gstmessage.c: (gst_message_new_state_changed),
757 (gst_message_new_state_dirty), (gst_message_new_segment_start),
758 (gst_message_new_segment_done), (gst_message_new_duration),
759 (gst_message_parse_state_changed),
760 (gst_message_parse_segment_start),
761 (gst_message_parse_segment_done), (gst_message_parse_duration):
763 * tools/gst-launch.c: (event_loop):
764 Seriously, this is better than a previous commit as we only need
765 to notify the fact that an element changed state in a streaming
766 thread, marking the state of the parents dirty, hence the
767 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
770 2005-10-18 Wim Taymans <wim@fluendo.com>
772 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
773 (gst_bin_recalc_func):
774 * gst/gstelement.c: (gst_element_set_clock),
775 (gst_element_abort_state), (gst_element_lost_state):
776 Cleanups, prepare for state change fixes.
778 2005-10-18 Wim Taymans <wim@fluendo.com>
781 * gst/gstelement.c: (gst_element_class_init),
782 (gst_element_set_state), (gst_element_set_state_func):
785 GThreadPool in GstBinClass to monitor async state changes.
786 state_cookie in GstElement to detect concurrent gst/set state.
787 set_state is now virtual too in case a very complicated element
788 has to be constructed.
790 2005-10-18 Wim Taymans <wim@fluendo.com>
792 * check/gst/gstbin.c: (GST_START_TEST):
793 * check/gst/gstmessage.c: (GST_START_TEST):
794 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
795 * gst/gstbin.c: (bin_bus_handler):
796 * gst/gstelement.c: (gst_element_commit_state),
797 (gst_element_lost_state):
798 * gst/gstmessage.c: (gst_message_new_state_changed),
799 (gst_message_new_segment_start), (gst_message_new_segment_done),
800 (gst_message_new_duration), (gst_message_parse_state_changed),
801 (gst_message_parse_segment_start),
802 (gst_message_parse_segment_done), (gst_message_parse_duration):
804 * tools/gst-launch.c: (event_loop):
805 Make messages future proof.
806 state-change gets a flag if it was a message comming from the
808 segment-start/stop can also be specified in other formats.
809 A message to notify an app that a pipeline changed playback
811 Also fix a GstMessage leak in -launch
813 2005-10-18 Andy Wingo <wingo@pobox.com>
815 * gst/gstelement.c (gst_element_dispose): More helpful message.
817 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
819 * gst/gstregistry.c: (gst_registry_scan_path_level):
820 unref a plug-in we get that was already initialized
822 2005-10-18 Stefan Kost <ensonic@users.sf.net>
824 * docs/gst/gstreamer-sections.txt:
825 * docs/libs/gstreamer-libs-sections.txt:
830 2005-10-17 Andy Wingo <wingo@pobox.com>
832 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
835 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
837 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
839 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
840 (gst_element_get_state_func): Better debug message.
841 (gst_element_commit_state): s/INFO/DEBUG/.
842 (gst_element_lost_state, gst_element_change_state):
844 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
845 (gst_message_new_custom): s/INFO/LOG/.
847 2005-10-17 Michael Smith <msmith@fluendo.com>
849 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
850 Check if end time is valid using end time, not start time.
852 2005-10-17 Stefan Kost <ensonic@users.sf.net>
854 * check/gst-libs/controller.c: (GST_START_TEST),
855 (gst_controller_suite):
856 * libs/gst/controller/gstcontroller.c:
857 (gst_controlled_property_set_interpolation_mode):
858 * libs/gst/controller/gstcontroller.h:
859 * libs/gst/controller/gstinterpolation.c:
860 * testsuite/controller/.cvsignore:
861 * testsuite/controller/Makefile.am:
862 * testsuite/controller/interpolator.c:
863 merge controller testsuites
865 remove mem-chunk from docs
867 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
871 * gst/gsttrashstack.c:
872 * gst/gsttrashstack.h:
873 out. get out. you're fired. to the Attic !
875 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
877 * gst/gstcaps.c: (gst_caps_intersect):
878 fix signedness issues in a (hopefully) correct way
879 * gst/gstelement.c: (gst_element_pads_activate):
881 * gst/gstobject.c: (gst_object_set_parent):
884 2005-10-17 Julien MOUTTE <julien@moutte.net>
886 * gst/gstvalue.h: Fix prototypes.
888 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
890 * docs/gst/gstreamer-sections.txt:
891 * gst/gst.c: (gst_version_string):
893 * gst/gstversion.h.in:
894 * win32/common/libgstreamer.def:
895 add gst_version_string ()
897 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
901 * gst/gst.c: (init_post):
902 * win32/common/config.h.in:
904 * gst/gstcaps.c: (gst_caps_intersect):
905 use gint64, the range could be bigger than a guint
907 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
910 document potential problem in 2038
912 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
914 * gst/gstcaps.c: (gst_caps_intersect):
915 Fix guint j diving under 0
917 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
920 * win32/common/config.h:
921 * win32/common/config.h.in:
922 check for process.h, declares getpid() on Windows
924 include process.h if we have it
925 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
927 fix signedness issues
928 * win32/common/libgstreamer.def:
931 2005-10-16 Julien MOUTTE <julien@moutte.net>
933 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
934 fix. Because of unsigned ints, caps intersection was going nuts and
935 trying to access structures with G_MAXUINT index. That fixes
936 videotestsrc ! ffmpegcolorspace ! fakesink
937 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
940 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
943 use the gettext macro
944 * gst/elements/gstelements.c:
946 * gst/indexers/gstindexers.c:
947 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
948 * win32/common/config.h:
950 * win32/common/config.h.in:
951 add the template to generate config.h
952 * win32/common/gstenumtypes.c:
953 * win32/common/gstversion.h:
956 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
958 * gst/gst.c: (gst_version):
959 * gst/gstversion.h.in:
962 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
965 Oops, add missing closing bracket.
967 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
970 use common m4's for argument checking
972 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
974 * docs/gst/gstreamer-sections.txt:
976 Add GST_EVENT_TYPE_NAME() macro.
978 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
981 * gst/gstpluginfeature.c:
983 privatize more symbols
985 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
988 add srcdir, builddir includes to GST_ALL_CFLAGS, since
989 everything that uses GStreamer API should have the includes
991 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
993 * docs/gst/gstreamer-sections.txt:
994 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
996 give each value a _get_type, removes the DATA exports
998 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1002 remove _gst_registry_auto_load, not used anymore
1003 * gst/gstbin.c: (gst_bin_get_type):
1005 * gst/gstelement.c: (gst_element_get_type):
1007 * gst/gstobject.c: (gst_object_get_type):
1009 * gst/gstpad.c: (gst_pad_get_type):
1011 make _get_type functions similar, fixes data export from library
1013 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1016 correctly make conditionals
1017 * gst/elements/Makefile.am:
1018 * gst/elements/gstelements.c:
1019 fix typo causing fdsrc not to build
1021 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1023 * testsuite/Makefile.am:
1024 * testsuite/bytestream/.cvsignore:
1025 * testsuite/bytestream/Makefile.am:
1026 * testsuite/bytestream/filepadsink.c:
1027 * testsuite/bytestream/gstbstest.c:
1028 * testsuite/bytestream/test1.c:
1029 * testsuite/bytestream/testfile1:
1030 * testsuite/caps/normalisation.c:
1031 * testsuite/caps/random.c: (main):
1032 * testsuite/cleanup/.cvsignore:
1033 * testsuite/cleanup/Makefile.am:
1034 * testsuite/cleanup/cleanup1.c:
1035 * testsuite/cleanup/cleanup2.c:
1036 * testsuite/cleanup/cleanup3.c:
1037 * testsuite/cleanup/cleanup4.c:
1038 * testsuite/cleanup/cleanup5.c:
1039 * testsuite/controller/interpolator.c:
1040 * testsuite/debug/printf_extension.c: (main):
1041 * testsuite/elements/tee.c:
1042 * testsuite/negotiation/.cvsignore:
1043 * testsuite/negotiation/Makefile.am:
1044 * testsuite/negotiation/pad_link.c:
1045 * testsuite/pad/Makefile.am:
1046 * testsuite/pad/chainnopull.c:
1047 * testsuite/pad/getnopush.c:
1048 * testsuite/pad/link.c:
1049 * testsuite/refcounting/sched.c: (create_pipeline):
1050 * testsuite/registry/Makefile.am:
1051 * testsuite/registry/gst-print-formats.c:
1052 * testsuite/schedulers/.cvsignore:
1053 * testsuite/schedulers/142183-2.c:
1054 * testsuite/schedulers/142183.c:
1055 * testsuite/schedulers/143777-2.c:
1056 * testsuite/schedulers/143777.c:
1057 * testsuite/schedulers/147713.c:
1058 * testsuite/schedulers/147819.c:
1059 * testsuite/schedulers/147894-2.c:
1060 * testsuite/schedulers/147894.c:
1061 * testsuite/schedulers/Makefile.am:
1062 * testsuite/schedulers/group_link.c:
1063 * testsuite/schedulers/queue_link.c:
1064 * testsuite/schedulers/relink.c:
1065 * testsuite/schedulers/unlink.c:
1066 * testsuite/schedulers/unref.c:
1067 * testsuite/schedulers/useless_iteration.c:
1068 * testsuite/states/bin.c:
1069 clean out/remove some stuff from the testsuite directories
1071 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1074 check for some headers
1075 * gst/elements/Makefile.am:
1076 * gst/elements/gstelements.c:
1077 don't compile fdsrc without sys/socket.h
1078 * gst/indexers/Makefile.am:
1079 * gst/indexers/gstindexers.c: (plugin_init):
1080 don't compile fileindex without mmap
1082 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1089 * check/Makefile.am:
1090 * docs/gst/Makefile.am:
1091 * examples/helloworld/Makefile.am:
1093 * gst/base/Makefile.am:
1094 * gst/check/Makefile.am:
1095 * gst/elements/Makefile.am:
1096 * gst/indexers/Makefile.am:
1097 * gst/parse/Makefile.am:
1098 * libs/gst/controller/Makefile.am:
1099 * libs/gst/dataprotocol/Makefile.am:
1100 * examples/helloworld/helloworld.c: (event_loop):
1101 compile fixes, though it's not being compiled currently
1103 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1105 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1106 Add some simple tests for the new taglist date API.
1108 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1110 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1111 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1112 Beautify 'last-message' output: print 'none' for buffer timestamps
1113 and durations if none is set; improve alignment with next messages.
1115 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1117 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1118 * gst/gstpluginfeature.h:
1119 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1120 * gst/gstregistry.h:
1121 * docs/gst/gstreamer-sections.txt:
1122 Add new API to check plugin feature version requirements.
1124 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1125 Some basic tests for the above.
1127 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1129 * gst/gststructure.c: (gst_structure_to_string):
1130 guard against NULL printf - happens when for example
1131 a message structure with GstClock gets serialized
1133 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1135 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1136 Fix presumable copy'n'pasto.
1138 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1140 * gst/elements/gstfakesrc.h:
1141 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1142 * gst/elements/gsttypefindelement.c:
1144 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1145 I wonder if this could actually write +2GB files before
1147 2005-10-13 Andy Wingo <wingo@pobox.com>
1149 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1150 Fix Timmeke Waymans bug.
1151 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1152 string of the proper length to gst_caps_from_string. There's a
1153 potential for, before this fix, that this could cause someone
1154 connecting over the network to cause a segfault if the payload is
1157 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1159 * docs/design/draft-push-pull.txt:
1160 * docs/design/part-overview.txt:
1161 * docs/random/TODO-pre-0.9:
1162 * docs/random/old/ChangeLog.gstreamer:
1163 * gst/base/gstpushsrc.c:
1167 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1169 * gst/glib-compat.c: (gst_flags_get_first_value):
1170 * gst/glib-compat.h:
1171 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1172 (gst_value_compare_double), (gst_value_serialize_flags):
1173 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1176 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1178 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1179 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1181 * tools/gst-launch.c: (event_loop):
1182 print out clock nicely
1184 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1186 * docs/gst/gstreamer-sections.txt:
1188 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1189 (gst_tag_list_get_date_index):
1190 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1191 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1193 2005-10-13 Julien MOUTTE <julien@moutte.net>
1195 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1196 (gst_collectpads_chain):
1197 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1200 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1202 * docs/gst/gstreamer-sections.txt:
1205 * tools/gst-inspect.c: (main):
1206 * tools/gst-launch.c: (main):
1207 * tools/gst-run.c: (main):
1208 * tools/gst-xmlinspect.c: (main):
1209 fix GOption context leaks
1212 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1216 * win32/common/config.h:
1218 * win32/vs6/grammar.dsp:
1219 * win32/vs6/libgstelements.dsp:
1220 * win32/vs6/libgstreamer.dsp:
1223 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1225 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1226 * gst/base/gstbasesrc.c: (gst_base_src_query):
1227 fix more guint64<->gdouble conversions
1229 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1232 add win32-update target
1233 * win32/common/gstconfig.h:
1234 * win32/common/gstenumtypes.c:
1235 * win32/common/gstenumtypes.h:
1236 * win32/common/gstversion.h:
1237 add files that visual studio can't generate
1239 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1242 add a win32-update target
1245 2005-10-12 Wim Taymans <wim@fluendo.com>
1247 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1248 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1249 * gst/gstelement.c: (gst_element_commit_state),
1250 (gst_element_set_state):
1251 Protect flags with proper lock.
1252 unref provided cached clock in dispose.
1254 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1257 * gst/gstminiobject.h:
1259 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1260 removed unused flags from miniobject
1263 2005-10-12 Wim Taymans <wim@fluendo.com>
1265 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1266 (gst_file_sink_event), (gst_file_sink_render):
1267 Flush before seeking.
1269 2005-10-12 Andy Wingo <wingo@pobox.com>
1271 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1272 always been the case.
1274 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1276 * check/gst/gstbin.c: (GST_START_TEST):
1277 * docs/gst/gstreamer-sections.txt:
1278 * gst/base/gstbasesink.c: (gst_base_sink_init):
1279 * gst/base/gstbasesrc.c: (gst_base_src_init),
1280 (gst_base_src_get_range), (gst_base_src_check_get_range),
1281 (gst_base_src_start), (gst_base_src_stop):
1282 * gst/base/gstbasesrc.h:
1283 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1284 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1285 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1289 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1291 * gst/gstelement.c: (gst_element_is_locked_state),
1292 (gst_element_set_locked_state), (gst_element_commit_state),
1293 (gst_element_set_state):
1295 * gst/gstindex.c: (gst_index_init):
1297 * gst/gstminiobject.h:
1298 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1299 (gst_object_set_parent):
1301 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1302 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1304 * gst/gstpadtemplate.h:
1305 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1306 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1307 * gst/gstpipeline.h:
1308 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1309 (gst_file_index_commit):
1310 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1311 * testsuite/pad/link.c: (gst_test_src_init),
1312 (gst_test_filter_init), (gst_test_sink_init):
1313 * testsuite/states/locked.c: (main):
1314 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1315 moved bitshift from macro to enum definition
1317 2005-10-12 Wim Taymans <wim@fluendo.com>
1319 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1320 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1321 (gst_file_sink_render):
1322 Some more debugging info.
1324 2005-10-12 Wim Taymans <wim@fluendo.com>
1326 * docs/design/part-states.txt:
1327 * tools/gst-launch.c: (main):
1329 Revert non-intentional change.
1331 2005-10-12 Wim Taymans <wim@fluendo.com>
1333 * check/gst/gstbin.c: (GST_START_TEST):
1334 * check/gst/gstelement.c: (GST_START_TEST):
1335 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1336 * check/gst/gstghostpad.c: (GST_START_TEST):
1337 * check/gst/gstpipeline.c: (GST_START_TEST):
1338 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1339 * check/states/sinks.c: (GST_START_TEST):
1340 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1341 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1342 (gst_bin_remove_func), (gst_bin_get_state_func),
1343 (gst_bin_recalc_state), (gst_bin_change_state_func),
1345 * gst/gstelement.c: (gst_element_get_state_func),
1346 (gst_element_get_state), (gst_element_abort_state),
1347 (gst_element_commit_state), (gst_element_set_state),
1348 (gst_element_change_state), (gst_element_change_state_func):
1350 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1351 (gst_pipeline_provide_clock_func):
1352 * gst/gstutils.c: (gst_element_link_pads_filtered):
1353 * tools/gst-launch.c: (main):
1354 * tools/gst-typefind.c: (main):
1355 Use GstClockTime in _get_state() instead of GTimeVal.
1356 Remove old code in gstutils.c
1358 2005-10-12 Andy Wingo <wingo@pobox.com>
1360 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1363 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1364 there is no task. Shouldn't affect any code, as nothing in our
1365 plugins checks this return value.
1366 (gst_pad_stop_task): Also take the stream lock if the pad has no
1369 2005-10-12 Wim Taymans <wim@fluendo.com>
1371 * gst/gstpad.c: (pre_activate), (post_activate),
1372 (gst_pad_activate_pull), (gst_pad_activate_push):
1373 Cleanup activation code. Reset old state if
1376 2005-10-12 Wim Taymans <wim@fluendo.com>
1378 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1379 (gst_base_sink_change_state):
1380 No need to prerol after receiving EOS.
1382 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1383 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1384 * gst/elements/gstidentity.c: (gst_identity_event):
1385 Print events more verbosely.
1387 2005-10-12 Wim Taymans <wim@fluendo.com>
1389 * check/Makefile.am:
1390 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1391 * check/states/sinks2.c:
1392 Moved sinks2 testcode in sinks check.
1394 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1395 (gst_bin_remove_func), (gst_bin_recalc_state),
1396 (gst_bin_change_state_func), (bin_bus_handler):
1397 Fix potential race condition when _get_state() iterated over an
1398 ASYNC element right before it posted a state completion.
1401 Do proper cast here.
1403 * gst/gstevent.c: (gst_event_new_newsegment),
1404 (gst_event_parse_newsegment):
1405 A playback rate of 0.0 is not allowed.
1407 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1409 * win32/common/config.h:
1410 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1411 (_trewinddir), (_ttelldir), (_tseekdir):
1412 * win32/common/dirent.h:
1413 * win32/common/gtchar.h:
1414 * win32/common/libgstbase.def:
1415 * win32/common/libgstreamer.def:
1416 * win32/vs6/grammar.dsp:
1417 * win32/vs6/gst_inspect.dsp:
1418 * win32/vs6/gst_launch.dsp:
1419 * win32/vs6/gstreamer.dsw:
1420 * win32/vs6/libgstbase.dsp:
1421 * win32/vs6/libgstelements.dsp:
1422 * win32/vs6/libgstreamer.dsp:
1423 Visual Studio 6 project files, and a new common directory.
1426 2005-10-11 Wim Taymans <wim@fluendo.com>
1428 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1429 (gst_base_sink_do_sync), (gst_base_sink_query),
1430 (gst_base_sink_change_state):
1431 * gst/base/gstbasesink.h:
1432 Correctly parse newsegment info.
1434 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1436 * gst/gst.c: (init_post):
1437 split plugin paths correctly
1439 2005-10-11 Wim Taymans <wim@fluendo.com>
1441 * check/gst/gstevent.c: (GST_START_TEST):
1442 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1443 (gst_base_sink_change_state):
1444 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1445 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1446 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1447 * gst/gstevent.c: (gst_event_new_newsegment),
1448 (gst_event_parse_newsegment):
1450 Added extra flag to newsegment for future API freeze.
1451 Updated check and base elements.
1453 2005-10-11 Julien MOUTTE <julien@moutte.net>
1455 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1456 (gst_collectpads_add_pad), (gst_collectpads_pop),
1457 (gst_collectpads_event), (gst_collectpads_chain):
1458 * gst/base/gstcollectpads.h: Handle EOS correctly.
1460 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1462 * tools/gst-launch.c: (main):
1463 more null protecting
1465 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1467 * gst/gst-i18n-lib.h:
1468 check for ENABLE_NLS, not GETTEXT_PACKAGE
1469 * gst/gstregistry.c: (gst_registry_add_plugin),
1470 (gst_registry_scan_path_level),
1471 (_gst_registry_remove_cache_plugins):
1472 protect possibly NULL strings
1473 * gst/parse/types.h:
1474 config.h already included before
1475 * tools/gst-inspect.c: (main):
1476 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1477 check for ENABLE_NLS, not GETTEXT_PACKAGE
1478 * tools/gst-launch.c: (main):
1479 check for ENABLE_NLS, not GETTEXT_PACKAGE
1481 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1484 if we don't have glib, fail before testing 2.8
1485 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1486 fix a leak, should fix plugins-base testsuite
1488 2005-10-11 Andy Wingo <wingo@pobox.com>
1490 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1491 take the mode we're going to as an arg. Go head and set the mode
1492 and flushing flags now, so that if the activate function starts a
1493 thread all the flags will be in the right state.
1494 (post_activate): Renamed also. Just handle making sure streaming
1495 finishes for the deactivation case, and setting the deactivated
1497 (gst_pad_set_active): Complain loudly if deactivation fails.
1498 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1499 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1500 remove the terrible hack.
1502 2005-10-11 Wim Taymans <wim@fluendo.com>
1504 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1505 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1506 (gst_bin_recalc_state), (gst_bin_change_state_func),
1507 (gst_bin_dispose), (bin_bus_handler):
1509 Prepare to make current EOS message queue more generic.
1512 * gst/gstevent.c: (gst_event_new_newsegment),
1513 (gst_event_parse_newsegment):
1515 Rename base to stream_time.
1520 2005-10-11 Wim Taymans <wim@fluendo.com>
1522 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1523 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1524 (gst_bin_change_state_func), (bin_bus_handler):
1526 Work on proper clock selection.
1528 2005-10-11 Edward Hervey <edward@fluendo.com>
1530 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1531 * libs/gst/controller/gstcontroller.h:
1532 Added GList* version of _remove_properties() in order to be able to wrap
1535 2005-10-11 Wim Taymans <wim@fluendo.com>
1537 * docs/design/part-states.txt:
1540 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1541 (gst_bin_change_state_func), (bin_bus_handler):
1542 Doc updates. Don't distribute the same clock over and over again.
1548 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1549 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1550 (gst_pad_send_event):
1552 Make probe emission threadsafe again.
1553 Register quarks and move _get_name() from utils.
1556 * gst/gstpipeline.c: (gst_pipeline_class_init),
1557 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1558 Only redistribute the clock of it changed.
1560 * gst/gstsystemclock.h:
1565 Moved the _flow_get_name() to GstPad.
1567 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1569 * check/gst-libs/gdp.c: (GST_START_TEST):
1570 * check/gst/gstcaps.c: (GST_START_TEST):
1571 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1572 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1573 (gst_dp_packet_from_caps):
1574 fix more valgrind warnings before turning up the heat
1576 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1578 * gst/parse/grammar.y:
1579 some cleanup before the hacking
1581 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1583 * gst/base/gstbasesrc.c: (gst_base_src_query):
1585 * gst/gstutils.c: (gst_guint64_to_gdouble),
1586 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1588 externalize, basesrc uses it
1589 obviously the implementation needs testing
1591 2005-10-10 Wim Taymans <wim@fluendo.com>
1593 * tests/sched/Makefile.am:
1594 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1595 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1597 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1599 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1600 apparently converting from guint64 to double is not implemented
1603 2005-10-10 Wim Taymans <wim@fluendo.com>
1605 * check/Makefile.am:
1606 * check/generic/states.c: (GST_START_TEST):
1607 * check/gst/gstbin.c: (GST_START_TEST):
1608 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1609 * check/states/sinks.c: (GST_START_TEST):
1610 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1612 Check fixes, use API as stated in design docs, remove hacks.
1614 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1615 (gst_base_sink_change_state):
1616 Catch stopping our task while we're shutting down.
1618 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1619 (gst_bin_remove_func), (gst_bin_get_state_func),
1620 (gst_bin_recalc_state), (gst_bin_change_state_func),
1623 * gst/gstelement.c: (gst_element_init),
1624 (gst_element_get_state_func), (gst_element_abort_state),
1625 (gst_element_commit_state), (gst_element_lost_state),
1626 (gst_element_set_state), (gst_element_change_state),
1627 (gst_element_change_state_func):
1629 New state change algorithm (see #318116)
1631 * gst/gstpipeline.c: (gst_pipeline_class_init),
1632 (gst_pipeline_init), (gst_pipeline_set_property),
1633 (gst_pipeline_get_property), (do_pipeline_seek),
1634 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1635 * gst/gstpipeline.h:
1636 Remove crude state change hacks.
1641 * tools/gst-launch.c: (main):
1642 Fixes for state change. Needs some more work to fully use the
1645 2005-10-10 Andy Wingo <wingo@pobox.com>
1647 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1649 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1650 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1653 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1655 * gst/gstiterator.c: (gst_iterator_new):
1656 Fix my previous commit: GTypes passed to gst_iterator_new()
1657 can be fundamental types.
1659 2005-10-10 Wim Taymans <wim@fluendo.com>
1661 * gst/gstelement.c: (gst_element_iterate_pad_list),
1662 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1663 (gst_element_iterate_sink_pads):
1664 Use src/sink pads lists for the respective iterators instead
1667 2005-10-10 Andy Wingo <wingo@pobox.com>
1669 Merged in popt removal + GOption addition patch from Ronald, bug
1672 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1673 GstElement macros around, remove popt-related symbols, add goption
1676 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1678 * docs/gst/Makefile.am:
1679 * docs/libs/Makefile.am: No POPT_CFLAGS.
1681 * examples/manual/Makefile.am:
1682 * docs/manual/basics-init.xml: Doc updates with an example.
1684 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1685 (gst_init), (parse_one_option), (parse_goption_arg):
1686 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1687 bit of hand merging and debugging to get the GOption stuff working
1690 * tests/Makefile.am:
1691 * tools/Makefile.am:
1692 * tools/gst-inspect.c: (main):
1693 * tools/gst-launch.c: (main):
1694 * tools/gst-run.c: (main):
1695 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1697 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1699 * gst/gstiterator.c: (gst_iterator_new):
1700 Add assertions to make sure passed GType is likely to really
1701 be a GType (as the compiler won't catch it if the size and
1702 GType arguments get mixed up, see #318447).
1704 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1706 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1708 * gst/gstbin.c: (gst_bin_iterate_sorted):
1709 Pass GType and size arguments to gst_iterator_new() in the right
1710 order (maybe we should make _new() take the GType as first argument
1711 just like _new_list()?) (#318447).
1714 2005-10-10 Wim Taymans <wim@fluendo.com>
1716 * gst/gstelement.c: (gst_element_finalize):
1717 And free the GStaticRecMutex too
1719 2005-10-10 Andy Wingo <wingo@pobox.com>
1721 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1722 Allocate and free the mutex properly.
1724 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1726 (GstElement): The state_lock is now recursive. Rebuild your
1727 plugins, suckers. Old macros adapted.
1729 * docs/gst/gstreamer-sections.txt: Doc updates.
1732 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1733 (g_static_rec_cond_wait): Ported from state changes patch, while
1734 we wait on bug #317802 to be solved in a well-distributed GLib.
1736 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1737 gst_element_change_state, variable name changes.
1738 (gst_element_change_state): Split out of gst_element_set_state in
1739 preparation for the state change merge. Doesn't pay attention to
1740 the 'transition' argument.
1741 (gst_element_set_state): Updates, hopefully purely cosmetic.
1742 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1744 (gst_element_get_state_func): Renamed from get_state, cosmetic
1747 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1749 * gst/elements/gstelements.c:
1750 * win32/GStreamer.vcproj:
1752 * win32/dirent.c: (_tseekdir):
1753 * win32/gst-inspect.vcproj:
1754 * win32/gst-launch.vcproj:
1755 * win32/gstconfig.h:
1756 * win32/gstelements.vcproj:
1757 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1758 * win32/gstreamer.def:
1760 updates for the win32 build (patch from Sebastien Moutte)
1762 2005-10-10 Andy Wingo <wingo@pobox.com>
1764 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1765 gst_bin_get_state, cleaned up (but no logic changes).
1766 (bin_element_is_sink): Comment updates.
1767 (sink_iterator_filter): Remove needless cast.
1768 (gst_bin_iterate_sinks): Doc update.
1769 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1770 cleaned up (but no logic changes).
1772 * check/states/sinks.c (test_src_sink): Cleanups from the state
1774 (test_livesrc_sink): Sync on the state.
1776 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1777 the state change patch.
1779 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1782 * check/gst/gstbin.c: Merge in some style fixes and additional
1783 checks from Wim's state change patch.
1785 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1787 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1788 (gst_type_find_helper):
1789 Check whether we have the requested data already in our list of
1790 cached buffers before pulling a new buffer; also make the buffer
1791 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1793 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1798 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1799 don't use long long, it's not portable. Replacing with
1800 gint64 seems to work; let's hope no skeletons fall out of the closet.
1802 2005-10-10 Andy Wingo <wingo@pobox.com>
1804 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1806 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1808 * docs/gst/gstreamer-sections.txt:
1813 * gst/gstmessage.c: (gst_message_parse_state_changed):
1816 more docs, fix compilation
1818 2005-10-09 Philippe Khalaf <burger@speedy.org>
1820 Fixed a few forgotten variables on previous commit
1822 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1824 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1825 Fix evil typefind crasher: getrange() might return a short
1826 buffer at the end of a file, but gst_type_find_peek() must
1827 either return the full data as requested or NULL, but
1828 never a short buffer.
1830 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1832 * gst/gstmessage.c: (gst_message_new_state_changed),
1833 (gst_message_parse_state_changed):
1835 don't use "new", it's a C++ keyword
1837 2005-10-08 Wim Taymans <wim@fluendo.com>
1839 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1840 * gst/gstelement.c: (gst_element_post_message):
1841 * gst/gstpipeline.c: (gst_pipeline_change_state):
1842 Small docs and debug updates.
1844 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1846 * docs/gst/gstreamer-sections.txt:
1847 * gst/gstelementfactory.c:
1852 2005-10-08 Wim Taymans <wim@fluendo.com>
1854 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1855 (gst_bin_dispose), (bin_bus_handler):
1856 Fix typos, add comments.
1857 Clear EOS list when going to PAUSED from any direction and do it
1858 in a threadsafe way.
1859 Get base time in a threadsafe way too.
1860 Fix confusing debug in the change_state function.
1861 Various other small cleanups.
1863 * gst/gstelement.c: (gst_element_post_message):
1864 Fix very verbose bus posting code.
1866 * gst/gstpipeline.c: (gst_pipeline_class_init),
1867 (gst_pipeline_set_property), (gst_pipeline_get_property),
1868 (gst_pipeline_change_state):
1869 Small ARG_ -> PROP_ cleanup
1871 2005-10-08 Wim Taymans <wim@fluendo.com>
1873 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1874 Do a less CPU demanding EOS check because we can.
1876 2005-10-08 Wim Taymans <wim@fluendo.com>
1878 * libs/gst/dataprotocol/dataprotocol.c:
1879 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1880 (gst_dp_packet_from_event):
1881 * libs/gst/dataprotocol/dataprotocol.h:
1882 * libs/gst/dataprotocol/dp-private.h:
1883 It's about time we bump the version number.
1884 Since event types don't fit in the guint8 anymore describing
1885 the payload type, make payload type 16 bits wide.
1887 2005-10-08 Wim Taymans <wim@fluendo.com>
1889 * docs/design/part-TODO.txt:
1890 * docs/design/part-clocks.txt:
1891 * docs/design/part-events.txt:
1892 * docs/design/part-gstbin.txt:
1893 * docs/design/part-gstelement.txt:
1894 * docs/design/part-gstpipeline.txt:
1895 * docs/design/part-live-source.txt:
1896 * docs/design/part-messages.txt:
1897 * docs/design/part-overview.txt:
1898 * docs/design/part-states.txt:
1901 2005-10-08 Wim Taymans <wim@fluendo.com>
1905 Fix event quark registration.
1906 Add some space between events so we can insert them in the
1909 2005-10-08 Wim Taymans <wim@fluendo.com>
1911 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1912 (gst_base_sink_handle_buffer):
1919 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1920 (gst_queue_set_property), (gst_queue_get_property):
1922 Remove old unused properties.
1924 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1925 * docs/gst/gstreamer-sections.txt:
1928 * gst/gstminiobject.c:
1929 * gst/gstminiobject.h:
1933 lots of new docs and doc fixes
1935 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1937 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1939 * gst/gstregistry.c: (gst_registry_lookup_locked),
1940 (gst_registry_scan_path_level):
1941 * gst/gstregistryxml.c: (load_plugin):
1942 Only ever load one plugin for a given plugin basename.
1943 This ensures correct overriding of GST_PLUGIN_PATH over
1944 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1945 system installed plugins.
1947 2005-10-08 Wim Taymans <wim@fluendo.com>
1949 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1950 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1951 Prepare for doing QOS.
1953 2005-10-08 Wim Taymans <wim@fluendo.com>
1955 * check/gst/gstbin.c: (GST_START_TEST):
1956 * check/pipelines/cleanup.c: (GST_START_TEST):
1957 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1958 Allow new clock message too.
1960 2005-10-08 Wim Taymans <wim@fluendo.com>
1962 * gst/gstmessage.c: (gst_message_new_error),
1963 (gst_message_new_warning), (gst_message_new_tag),
1964 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1965 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1966 (gst_message_new_segment_start), (gst_message_new_segment_done),
1967 (gst_message_parse_state_changed),
1968 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1969 (gst_message_parse_new_clock):
1971 Also carry the clock in question.
1973 2005-10-08 Wim Taymans <wim@fluendo.com>
1975 * gst/gstmessage.c: (gst_message_new_custom),
1976 (gst_message_new_eos), (gst_message_new_error),
1977 (gst_message_new_warning), (gst_message_new_tag),
1978 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1979 (gst_message_new_new_clock), (gst_message_new_segment_start),
1980 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1981 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1984 Added clock related messages.
1986 * gst/gstpipeline.c: (gst_pipeline_change_state):
1987 Post message when the clock changed.
1989 * tools/gst-launch.c: (event_loop):
1992 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
1994 * tools/gst-inspect.c: (print_element_properties_info):
1995 Can't pass NULL strings to g_print() on windows.
1997 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2000 * docs/gst/Makefile.am:
2001 * docs/gst/gstreamer-docs.sgml:
2002 * docs/gst/running.xml:
2003 * docs/version.entities.in:
2004 add a chapter on running GStreamer.
2005 document GST_DEBUG and GST_PLUGIN* env vars
2007 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2012 remove PLUGINS_BUILDDIR stuff
2013 * gst/gst.c: (init_post):
2014 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2016 remove, it was condescending and not needed
2018 2005-10-08 Wim Taymans <wim@fluendo.com>
2020 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2021 (gst_base_sink_handle_object), (gst_base_sink_event),
2022 (gst_base_sink_wait), (gst_base_sink_handle_event),
2023 (gst_base_sink_change_state):
2024 * gst/base/gstbasesink.h:
2025 Repost EOS message while going to PLAYING if still EOS.
2026 Make sure that when receiving a FLUSH_START we don't attempt
2027 to sync on the clock anymore.
2029 2005-10-08 Wim Taymans <wim@fluendo.com>
2031 * tools/gst-launch.c: (event_loop):
2032 Better message printout.
2034 2005-10-08 Wim Taymans <wim@fluendo.com>
2036 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2037 (gst_bin_child_proxy_get_children_count):
2038 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2039 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2040 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2041 (gst_child_proxy_set_valist):
2042 * gst/parse/grammar.y:
2043 Make ChildProxy threadsafe and fix mem leaks.
2045 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2047 * gst/gst.c: (init_post):
2048 debug the GST_PLUGIN_ env vars
2050 2005-10-08 Wim Taymans <wim@fluendo.com>
2052 * check/gst/gstbin.c: (GST_START_TEST):
2053 * check/gst/gstmessage.c: (GST_START_TEST):
2054 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2055 * gst/gstelement.c: (gst_element_commit_state),
2056 (gst_element_lost_state):
2057 * gst/gstmessage.c: (gst_message_new_state_changed),
2058 (gst_message_parse_state_changed):
2060 * tools/gst-launch.c: (event_loop):
2061 Added extra field to STATE_CHANGE message with the pending
2062 state, which will be different from the new state soon.
2064 2005-10-08 Wim Taymans <wim@fluendo.com>
2066 * gst/gstbus.c: (gst_bus_pop):
2068 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2069 Small cleanups and doc updates.
2071 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2073 * gst/gst.c: (init_pre):
2074 * gst/gstbin.c: (gst_bin_add_func):
2075 log distributing clocks and base time
2076 * gst/gstregistry.c: (gst_registry_add_plugin),
2077 (gst_registry_scan_path_level), (gst_registry_scan_path):
2078 clean up the debugging output a little
2079 * gst/gstutils.c: (gst_element_state_get_name):
2080 warn about a memleak (I've actually seen this be used, though
2081 it was probably a bug)
2083 2005-10-07 Wim Taymans <wim@fluendo.com>
2085 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2086 (gst_base_src_init), (gst_base_src_default_newsegment),
2087 (gst_base_src_newsegment), (gst_base_src_do_seek),
2088 (gst_base_src_loop), (gst_base_src_start):
2089 * gst/base/gstbasesrc.h:
2090 Make the newsegment event customizable by subclasses.
2092 2005-10-07 Wim Taymans <wim@fluendo.com>
2094 * gst/gstevent.c: (gst_event_new_buffersize),
2095 (gst_event_parse_buffersize):
2097 New event for future idea.
2099 2005-10-07 Andy Wingo <wingo@pobox.com>
2101 * gst/gstelement.c (gst_element_post_message): Doc update.
2103 * docs/gst/gstreamer-sections.txt: Update.
2105 * gst/gstmessage.c (gst_message_new_application): Made into a
2106 function like honest API calls.
2107 (gst_message_new_element): New message type.
2109 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2111 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2112 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2115 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2116 NO_PREROLL from gst_element_change_state to fall through.
2118 2005-10-07 Wim Taymans <wim@fluendo.com>
2120 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2121 (gst_ghost_pad_do_activate_push):
2122 Activating a ghostpad with no internal pad in push mode
2125 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2128 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2129 Fixes compilation on Windows.
2131 2005-10-07 Michael Smith <msmith@fluendo.com>
2133 * tools/gst-inspect.c:
2134 Print out feature and plugin count at the end when printing out
2137 2005-10-04 Michael Smith <msmith@fluendo.com>
2139 * gst/gsterror.c: (_gst_stream_errors_init):
2140 Add another error string used in a few existing plugins.
2143 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2144 * tools/gst-inspect.c: (print_element_info):
2145 When a feature disappears from a plugin (and the feature exists in
2146 the cached registry file), things went horribly wrong. This isn't a
2147 complete fix, we should actually be removing the 'missing' features
2148 from the features list when we load the actual plugin. That's not
2151 2005-10-04 Johan Dahlin <johan@gnome.org>
2153 * check/gst/gstiterator.c: (GST_START_TEST):
2154 * gst/gstbin.c: (gst_bin_iterate_elements),
2155 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2156 * gst/gstelement.c: (gst_element_iterate_pads):
2157 * gst/gstformat.c: (gst_format_iterate_definitions):
2158 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2159 (gst_iterator_new_list), (gst_iterator_filter):
2160 * gst/gstiterator.h:
2161 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2162 Add a GType to GstIterator, update callsites and tests.
2164 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2166 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2167 give events a chance to be handled by event probes when the pad
2170 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2172 * gst/gstevent.c: (gst_event_type_get_name),
2173 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2175 add string representations for event types
2177 2005-10-06 Wim Taymans <wim@fluendo.com>
2179 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2180 Don't use NULL pointers.
2182 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2184 * gst/gst_private.h:
2188 * gst/gstpluginfeature.c:
2189 widen the debug category in output to fit the biggest one we have
2190 add a bus category and use it
2191 play with the colors
2192 fix up some categories
2194 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2196 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2197 add push activation of sink ghost pads.
2198 Andye, please verify
2200 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2202 * gst/gstutils.c: (gst_element_link_pads):
2203 fix a bug in the case where neither element has a pad
2204 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2205 add a test for that case
2207 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2209 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2210 emit have-data before checking for peers. This allows
2211 for probe handlers to connect elements. This helps autopluggers.
2212 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2214 add six checks, linked/unlinked with no/true/false probe
2216 2005-10-04 Wim Taymans <wim@fluendo.com>
2218 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2219 (gst_fake_sink_event), (gst_fake_sink_preroll),
2220 (gst_fake_sink_render), (gst_fake_sink_change_state):
2221 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2222 (gst_fake_src_get_property), (gst_fake_src_create),
2223 (gst_fake_src_stop):
2224 * gst/elements/gstidentity.c: (gst_identity_stop):
2225 Protect last_message with lock.
2227 2005-10-04 Edward Hervey <edward@fluendo.com>
2230 Added precision in the comments for GST_FORMAT_DEFAULT
2232 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2234 * tools/gst-launch.c: (main):
2235 Don't try to run erroneous pipelines.
2237 2005-10-04 Julien MOUTTE <julien@moutte.net>
2239 * gst/gstbus.c: We don't need this header.
2241 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2246 === release 0.9.3 ===
2248 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2252 Releasing 0.9.3, "Unregistered"
2254 2005-10-03 Andy Wingo <wingo@pobox.com>
2256 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2257 whereby calling a pad's activatepush() function can start a thread
2258 that starts to push or pull before the pad gets the FLUSHING flag
2259 unset. Hack around it by holding the stream lock until the flag is
2260 set. Need to replace this with a proper solution. Together with
2261 the ghost pad fixes, this fixes mp3 playing/tagreading.
2263 * docs/design/part-gstghostpad.txt: Add a note about activation of
2264 proxy pads outside of ghost pads.
2266 * gst/gstghostpad.c: Implement the ghost pad activation design.
2268 2005-10-02 Andy Wingo <wingo@pobox.com>
2270 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2271 It is volatile, after all.
2273 * docs/design/part-gstghostpad.txt: Flesh out activation with
2276 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2279 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2282 Fix (unused) AM_CONDITIONAL tests.
2284 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2286 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2288 * gst/gstutils.c: (gst_pad_query_convert):
2289 Add assertion that makes sure src_val is >=0, just like
2290 gst_query_new_convert() has. (#315895)
2292 2005-09-30 Edward Hervey <edward@fluendo.com>
2294 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2295 Let's not iterate pads we're not interested in, it avoids getting
2296 sky-high refcounts on sinkpad.
2298 2005-09-30 Wim Taymans <wim@fluendo.com>
2300 * gst/gstelement.c: (gst_element_set_state),
2301 (gst_element_change_state):
2302 Small tweak, element in ASYNC remains ASYNC.
2304 2005-09-30 Wim Taymans <wim@fluendo.com>
2306 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2307 Only error is an error.
2309 * gst/gstbin.c: (gst_bin_change_state):
2312 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2313 Also call pad_block in pad alloc.
2315 * gst/gstutils.c: (gst_flow_get_name):
2318 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2320 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2321 (gst_base_src_get_range):
2322 Fix documentation typos. Add some more debug info.
2324 2005-09-29 David Schleef <ds@schleef.org>
2326 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2327 more end-user friendly.
2328 * tools/gst-inspect.c: (main): Check if command-line argument is
2329 a file and attempt to load that file as a plugin.
2331 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2333 * check/gst/gstbin.c:
2334 * check/states/sinks.c:
2335 fix tests for the new warning
2336 * check/gst/gstpipeline.c:
2337 add a test for pipeline and bus interaction
2339 elements should be NULL if they get disposed; add a warning if not
2341 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2344 for 2.6 refcounting, make debug log more correct by printing
2345 the actual refcounts at the time of swap (Wim)
2347 2005-09-29 Andy Wingo <wingo@pobox.com>
2349 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2350 removes signal watches previously added via
2351 gst_bus_add_signal_watch.
2352 (gst_bus_add_signal_watch): Don't return the source id, just store
2353 it on the bus if there wasn't an id already.
2355 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2356 add_signal_watch and remove_signal_watch.
2358 2005-09-29 Edward Hervey <edward@fluendo.com>
2360 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2361 Better if we actually iterate the list :)
2363 2005-09-29 Wim Taymans <wim@fluendo.com>
2365 * check/gst/gstbin.c: (GST_START_TEST):
2366 Change for new bus API.
2368 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2369 (send_messages), (GST_START_TEST), (gstbus_suite):
2370 Change for new bus signal API.
2372 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2373 (gst_bus_source_prepare), (gst_bus_source_check),
2374 (gst_bus_create_watch), (gst_bus_add_watch_full),
2375 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2376 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2378 Remove support for multiple GSources operating on different
2379 message types as it is too complex and unneeded when using
2381 Added support for receiving signals from the bus.
2383 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2385 * docs/libs/tmpl/gstdataprotocol.sgml:
2386 * docs/manual/advanced-dataaccess.xml:
2387 * gst/elements/gstcapsfilter.c:
2389 rename filter-caps to caps property
2391 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2393 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2394 More robust fraction string parsing.
2396 * docs/pwg/appendix-porting.xml:
2397 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2399 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2401 * gst/gstcaps.c: (gst_caps_do_simplify):
2402 Thou shalt not free a structure and then continue using it
2403 in the next loop iteration.
2405 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2407 Add test case for caps simplification.
2409 2005-09-29 Wim Taymans <wim@fluendo.com>
2411 * check/gst/gstbin.c: (GST_START_TEST):
2414 2005-09-29 Wim Taymans <wim@fluendo.com>
2416 * check/gst/gstbin.c: (GST_START_TEST):
2419 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2420 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2421 (find_element), (gst_bin_sort_iterator_next),
2422 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2423 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2424 (gst_bin_change_state), (gst_bin_dispose):
2425 A bin does not have a bus, it gets the bus from the parent.
2427 * gst/gstelement.c: (gst_element_requires_clock),
2428 (gst_element_provides_clock), (gst_element_is_indexable),
2429 (gst_element_is_locked_state), (gst_element_change_state),
2430 (gst_element_set_bus_func):
2433 * gst/gstpipeline.c: (gst_pipeline_class_init),
2434 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2435 The pipeline provides a bus.
2437 2005-09-28 Johan Dahlin <johan@gnome.org>
2439 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2440 gst_structure_get_enum instead of gst_structure_get_int
2442 * gst/gststructure.c (gst_structure_get_enum): Impl.
2444 * gst/gststructure.h (gst_structure_get_enum): Add
2446 * docs/gst/gstreamer-sections.txt: Ditto
2448 * gst/gstmessage.c (gst_message_new_state_changed): Use
2449 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2450 which does introspection.
2451 Reviewed by Christian Schaller
2453 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2455 * gst/gstinfo.c: (gst_debug_log_default):
2456 don't do dummy g_strdup()s
2457 * libs/gst/controller/gstcontroller.c:
2458 (on_object_controlled_property_changed),
2459 (gst_controlled_property_new), (gst_controller_new_valist),
2460 (gst_controller_new_list),
2461 (gst_controller_remove_properties_valist), (gst_controller_set),
2462 (gst_controller_get), (gst_controller_sync_values),
2463 (gst_controller_get_value_array), (_gst_controller_class_init),
2464 (gst_controller_get_type):
2465 * libs/gst/controller/gstcontroller.h:
2466 * libs/gst/controller/gstinterpolation.c:
2467 (gst_controlled_property_find_timed_value_node):
2468 convert // to /**/ comments
2470 2005-09-28 Wim Taymans <wim@fluendo.com>
2472 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2473 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2474 (gst_bus_sync_signal_handler):
2476 Added async-message and sync-message signals to the bus.
2477 Added helper BusFunc to emit signals for all posted messages.
2479 * gst/gstmessage.c: (gst_message_type_get_name),
2480 (gst_message_type_to_quark), (gst_message_get_type):
2482 Register quarks for message names.
2484 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2486 * docs/libs/gstreamer-libs-sections.txt:
2487 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2488 (gst_controller_new_list):
2489 * libs/gst/controller/gstcontroller.h:
2490 added another constructor for language bindings
2492 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2494 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2498 * gst/gstinfo.c: (_gst_debug_init):
2499 slightly more readable color for refcount debugging
2501 2005-09-28 Wim Taymans <wim@fluendo.com>
2503 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2504 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2505 (find_element), (gst_bin_sort_iterator_next),
2506 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2507 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2508 (gst_bin_change_state), (gst_bin_dispose):
2509 Small doc fixes. get_clock -> provide_clock.
2511 * gst/gstelement.c: (gst_element_class_init),
2512 (gst_element_provides_clock), (gst_element_provide_clock),
2513 (gst_element_get_clock), (gst_element_commit_state),
2514 (gst_element_lost_state):
2516 Make get/set_clock() symetric. Add provide_clock vmethod since
2517 that is actually what this function does.
2519 * gst/gstpipeline.c: (gst_pipeline_class_init),
2520 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2521 (gst_pipeline_get_clock):
2522 get_clock -> provide_clock.
2524 2005-09-28 Andy Wingo <wingo@pobox.com>
2526 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2527 lieu of real docs...
2529 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2531 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2533 * gst/elements/gstcapsfilter.c:
2534 * gst/elements/gstfakesink.c:
2535 * gst/elements/gstfakesrc.c:
2536 * gst/elements/gstfdsink.c:
2537 * gst/elements/gstfdsrc.c:
2538 * gst/elements/gstfilesink.c:
2539 * gst/elements/gstfilesrc.c:
2540 * gst/elements/gstidentity.c:
2541 * gst/elements/gsttee.c:
2542 * gst/elements/gsttypefindelement.c:
2543 Make element details static.
2545 2005-09-28 Wim Taymans <wim@fluendo.com>
2547 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2548 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2549 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2550 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2551 (gst_bin_change_state), (gst_bin_dispose):
2552 Some documentation updates.
2553 Clean up dispose handlers.
2555 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2556 * gst/gstpad.c: (gst_pad_dispose):
2557 Clean up dispose handler.
2559 * gst/gstpipeline.c: (gst_pipeline_change_state):
2560 Removed spurious UNLOCK.
2562 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2564 * docs/gst/gstreamer-sections.txt:
2565 * gst/base/gstbasesrc.h:
2570 * gst/gstpipeline.c:
2571 * gst/gstpipeline.h:
2574 added two new functions to the docs
2575 documents all undocumented GstXXXFlags
2576 completed some incomplete docs
2578 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2580 * gst/gstbin.c: (gst_bin_dispose):
2581 * gst/gstelement.c: (gst_element_dispose):
2582 remove now useless and leaky resurrection code in dispose
2583 * gst/base/gstbasesrc.c: (gst_base_src_init):
2584 * gst/gstelementfactory.c: (gst_element_factory_create):
2585 * gst/gstobject.c: (gst_object_set_parent):
2588 2005-09-27 Wim Taymans <wim@fluendo.com>
2590 * docs/design/part-TODO.txt:
2593 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2594 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2595 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2596 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2597 (gst_bin_change_state):
2599 Remove element variable, we keep element info in the iterator now.
2601 2005-09-27 Andy Wingo <wingo@pobox.com>
2603 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2606 2005-09-27 Wim Taymans <wim@fluendo.com>
2608 * check/gst/gstbin.c: (GST_START_TEST):
2609 Enable check that works now.
2611 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2612 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2613 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2614 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2615 (gst_bin_change_state):
2617 Redid the state change algorithm using a topological sort algo.
2618 Handles all cases correctly.
2619 Exposed iterator for state change order.
2622 Temp storage for state changes. Need to get rid of this soon.
2624 2005-09-27 Wim Taymans <wim@fluendo.com>
2626 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2627 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2628 (link_fold_func), (gst_pad_proxy_setcaps):
2629 Leak fixes, the fold functions need to unref the passed object and
2630 _get_parent_*() returns ref to parent.
2632 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2634 * check/gst/gstbuffer.c: (test_make_writable):
2635 Plug leak in test case and fix 'make check-valgrind'
2637 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2639 * gst/gstbuffer.c: (gst_subbuffer_init):
2640 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2641 works correctly in all circumstances (we could have just copied
2642 the parent buffer's readonly flag, but conceptually it seems
2643 cleaner to mark all subbuffers as read-only). (based on patch
2644 by Alessandro Decina, #314710).
2646 * check/gst/gstbuffer.c: (create_read_only_buffer),
2647 (test_make_writable), (test_subbuffer_make_writable),
2649 Add some tests for gst_buffer_make_writable().
2651 2005-09-27 Wim Taymans <wim@fluendo.com>
2653 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2654 use gst_object_has_ancestor().
2656 * gst/gstobject.c: (gst_object_has_ancestor):
2658 gst_object_has_ancestor() copied from gstbin.c as it is a
2661 * tests/instantiate/create.c: (create_all_elements):
2662 * tests/lat.c: (handoff_src), (handoff_sink):
2663 * tests/sched/runxml.c: (main):
2664 * tests/seeking/seeking1.c: (main):
2665 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2667 Fix compilation of some tests.
2669 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2672 Remove comment. GST_TYPE_G_ERROR is here to stay,
2673 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2676 2005-09-26 Wim Taymans <wim@fluendo.com>
2678 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2679 Added check that shows error in state change order.
2681 2005-09-26 Wim Taymans <wim@fluendo.com>
2683 * gst/gstbin.c: (gst_bin_change_state):
2684 Make state change function use 3 queues again, we were
2685 adding elements in the wrong order.
2687 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2690 * gst/gstpad.c: (gst_pad_dispose):
2691 Added some debug info first.
2693 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2695 * docs/design/draft-push-pull.txt:
2696 * docs/design/part-events.txt:
2697 * docs/design/part-overview.txt:
2698 * docs/design/part-scheduling.txt:
2699 Replace all _pull_region() with _pull_range()
2701 2005-09-26 Andy Wingo <wingo@pobox.com>
2703 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2705 * check/gst-libs/controller.c: Update for controller api change.
2708 * tests/Makefile.am:
2709 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2710 over by GLib bug 118439.
2712 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2713 routines to a function.
2715 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2717 * libs/gst/controller/gsthelper.c:
2718 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2719 (gst_object_sync_values): Renamed from sink_values. Ugh.
2721 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2723 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2724 Renamed from controller_key, as it is exported.
2726 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2728 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2733 * gst/gstpadtemplate.h:
2736 * gst/gstqueryutils.c:
2737 * gst/gstqueryutils.h:
2738 remove queryutils headers after moving the two used functions
2739 to gstquery. also fixes build problem for gstsiddec
2741 2005-09-26 Michael Smith <msmith@fluendo.com>
2743 * tools/gst-launch.1.in:
2744 Correct documentation in manpage of debug syntax
2746 2005-09-26 Wim Taymans <wim@fluendo.com>
2748 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2749 (gst_base_src_is_seekable), (gst_base_src_change_state):
2750 Some more debugging info.
2752 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2754 * docs/gst/gstreamer-sections.txt:
2755 * gst/base/gstbasetransform.h:
2759 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2761 * docs/gst/.cvsignore:
2762 * docs/gst/tmpl/.cvsignore:
2763 * docs/gst/tmpl/gstpipeline.sgml:
2764 * docs/gst/tmpl/gstplugin.sgml:
2765 * gst/gstpipeline.c:
2768 inlined the last two docs files
2769 removed the tmpl directory from cvs (no more conflicts here!)
2771 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2773 * docs/gst/gstreamer-sections.txt:
2774 * docs/gst/tmpl/.cvsignore:
2775 * docs/gst/tmpl/gstpad.sgml:
2776 * docs/gst/tmpl/gstpadtemplate.sgml:
2778 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2779 (gst_pad_finalize), (gst_pad_set_pad_template):
2781 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2782 (gst_pad_template_class_init), (gst_pad_template_init),
2783 (gst_pad_template_dispose), (name_is_valid),
2784 (gst_static_pad_template_get), (gst_pad_template_new),
2785 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2786 (gst_pad_template_pad_created):
2787 * gst/gstpadtemplate.h:
2788 inlined two more docs
2789 factored gstpadtemplate out of gstpad
2791 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2793 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2794 (test_children_state_change_order_semi_sink):
2795 Fix test case: we can't rely on a fixed state change order when
2796 going from READY => PAUSED because the sink might commit its
2797 new state first when the first buffer created by the source
2798 reaches the sink before the source has finished its change state.
2799 (Test case still fails at times, see #316856, comment 5 onwards)
2801 2005-09-24 Wim Taymans <wim@fluendo.com>
2803 * docs/design/part-events.txt:
2804 * docs/design/part-gstbus.txt:
2805 * docs/design/part-gstpipeline.txt:
2806 * docs/design/part-messages.txt:
2807 * docs/design/part-overview.txt:
2808 * docs/design/part-segments.txt:
2815 * gst/gstiterator.c:
2816 Various documentation updates.
2818 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2821 Well, that's embarassing. Luckily we weren't using
2822 GST_CLOCK_DIFF anywhere.
2824 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2826 * common/gtk-doc.mak:
2827 don't fail on building XML, FC4 slave shows a bunch of doc
2828 missing bits that I don't get
2830 * gst/gstpipeline.c:
2831 * gst/gststructure.c:
2834 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2836 * docs/design/part-gstbin.txt:
2837 * docs/design/part-gstbus.txt:
2839 Add blurb about how the bus goes into flushing mode and
2840 drops all messages when its bin goes from READY into NULL
2843 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2845 * docs/gst/gstreamer-sections.txt:
2846 * gst/gststructure.c: (gst_structure_get_clock_time):
2847 * gst/gststructure.h:
2848 add a method to get a GstClockTime out of a structure
2850 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2852 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2853 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2854 Added test to check state change order in bins (can still be made
2855 to fail here under heavy disk load; bails out with 'Push on pad
2856 fakesink:sink0, but it was not activated in push mode').
2858 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2859 Fix state change order when there is only a semi sink (#316856)
2861 * gst/gstbus.c: (gst_bus_class_init):
2862 Use _class_peek_parent(), not _class_ref(); fix docs to say
2863 'default main context' instead of 'mainloop' where that is
2866 * gst/gstelement.c: (gst_element_commit_state),
2867 (gst_element_set_state):
2868 Fix typos in debug messages
2870 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2873 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2874 * gst/gstpluginfeature.c:
2877 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2878 change an assert into an error until it gets fixed properly
2880 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2882 * docs/gst/gstreamer-sections.txt:
2883 * docs/gst/tmpl/.cvsignore:
2884 * docs/gst/tmpl/gstelement.sgml:
2885 * docs/gst/tmpl/gstinfo.sgml:
2886 * docs/gst/tmpl/gstobject.sgml:
2891 * gst/gstobject.c: (gst_object_class_init):
2893 inlined 3 more biiiig doc files and added some missing docs on the fly
2895 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2897 * check/gst/.cvsignore:
2898 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2899 * gst/gstregistryxml.c: (load_plugin),
2900 (gst_registry_xml_save_plugin):
2901 put back source in registry. add checks for find_plugin.
2902 * testsuite/states/bin.c: (assert_state), (empty_bin),
2903 (test_adding_one_element), (main):
2904 * testsuite/states/locked.c: (main):
2905 some compile/run fixes
2907 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2909 * check/gst/gstvalue.c: (GST_START_TEST):
2910 fix leaks in the test itself
2912 2005-09-22 Wim Taymans <wim@fluendo.com>
2914 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2915 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2916 (gst_base_sink_query):
2917 Prepare for more accurate position reporting and query
2920 * gst/gstelement.c: (gst_element_send_event),
2921 (gst_element_set_state):
2924 2005-09-22 Wim Taymans <wim@fluendo.com>
2926 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2927 (gst_query_parse_segment):
2930 Add segment query for future use.
2932 2005-09-22 Wim Taymans <wim@fluendo.com>
2934 * gst/gstbin.c: (gst_bin_add_func):
2935 Some more debug info.
2937 * gst/gstelement.c: (gst_element_send_event):
2941 Don't know how flags got broken.
2946 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2948 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2949 Add simplistic test suite for GST_TYPE_DATE serialisation and
2952 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2954 * docs/gst/gstreamer-sections.txt:
2955 * gst/gststructure.c: (gst_structure_set_valist),
2956 (gst_structure_get_date):
2957 * gst/gststructure.h:
2958 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2959 (gst_date_copy), (gst_value_compare_date),
2960 (gst_value_serialize_date), (gst_value_deserialize_date),
2961 (gst_value_transform_date_string),
2962 (gst_value_transform_string_date), (_gst_value_initialize):
2964 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2965 bunch of utility functions along with a hack that checks that
2966 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2967 is required. Part of the grand scheme in #170777.
2969 2005-09-22 Andy Wingo <wingo@pobox.com>
2971 * gst/gstconfig.h.in: Psych out gtk-doc.
2973 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2975 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2977 * tools/gst-inspect.c (print_element_list): Plug some
2978 inconsequential leaks.
2980 * gst/gstregistry.c (gst_registry_get_default): Doc.
2982 * check/gst/gstplugin.c:
2983 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2984 * gst/gstelementfactory.c (gst_element_factory_create):
2985 * gst/gstindexfactory.c (gst_index_factory_create): Update for
2988 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
2989 (gst_plugin_feature_load): Doc, don't eat refs.
2991 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
2992 (gst_plugin_list_free): Doc.
2993 (gst_plugin_load_file): Doc updates.
2995 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
2996 accessors returning refcounted objects, return a ref.
2998 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
2999 accessor for caps. IDEMPOTENCE. Oh yes.
3001 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3003 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3005 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3006 (_gst_debug_register_funcptr):
3007 Add mutex to serialise access to the hash table with
3008 the function pointer => function name string mapping;
3009 make that hash table static scope (#316809).
3011 * gst/registries/.cvsignore:
3012 Remove left-over file.
3014 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3016 * docs/pwg/appendix-porting.xml:
3017 And something about newsegment events and caps-on-buffers to
3018 the porting guide (feel free to improve).
3020 2005-09-21 Andy Wingo <wingo@pobox.com>
3022 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3023 data and event probes on the same pad.
3024 (test_buffer_probe_once): Test that removing probes from within
3025 the probe functions works.
3027 2005-09-21 Andy Wingo <wingo@pobox.com>
3029 * check/gst/gstutils.c: New file.
3030 (test_buffer_probe_n_times): A simple buffer probe test. More to
3033 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3034 have-data::buffer, not have-data.
3035 (gst_pad_add_event_probe): Likewise for have-data::event.
3036 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3037 peer' isn't quite right yet though.
3038 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3039 (gst_pad_remove_data_probe): Change to take the guint handler_id
3040 as their arg, not the function+data, which is more glib-like.
3042 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3043 the signal emission to indicate if the data is a buffer or an
3045 (gst_pad_get_type): Initialize buffer and event quarks.
3046 (gst_pad_class_init): have-data is now a detailed signal, yes it
3049 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3051 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3052 * gst/gstutils.c: (gst_util_set_value_from_string),
3053 (gst_util_set_object_arg):
3054 Don't put functional code in g_return_if_fail() or
3055 g_return_val_if_fail() statements, otherwise things will
3056 break when G_DISABLE_CHECKS is defined during compilation.
3058 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3060 * docs/gst/tmpl/.cvsignore:
3061 * docs/gst/tmpl/gstvalue.sgml:
3064 inlied another one and added some obvious docs
3066 2005-09-21 Wim Taymans <wim@fluendo.com>
3068 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3069 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3070 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3071 (gst_fdsrc_get_property), (gst_fdsrc_create):
3072 * gst/elements/gstfdsrc.h:
3073 Properly implement fdsrc. Removed signal and timeout,
3074 better implemented somewhere else.
3076 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3078 * docs/gst/tmpl/.cvsignore:
3079 * docs/gst/tmpl/gstimplementsinterface.sgml:
3080 * gst/gstinterface.c:
3083 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3085 * docs/gst/gstreamer-sections.txt:
3086 * docs/gst/tmpl/.cvsignore:
3087 * docs/gst/tmpl/gstenumtypes.sgml:
3088 remove obsolete doc file
3090 2005-09-21 David Schleef <ds@schleef.org>
3092 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3093 little beer, fix a little leak.
3095 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3097 * docs/gst/gstreamer-docs.sgml:
3098 * docs/gst/gstreamer-sections.txt:
3099 * docs/gst/tmpl/.cvsignore:
3104 * gst/gstindex.c: (gst_index_class_init):
3106 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3107 (gst_index_factory_class_init), (gst_index_factory_init),
3108 (gst_index_factory_finalize), (gst_index_factory_new),
3109 (gst_index_factory_destroy), (gst_index_factory_find),
3110 (gst_index_factory_create), (gst_index_factory_make):
3111 * gst/gstindexfactory.h:
3112 * gst/gstpluginfeature.c:
3113 * gst/gstpluginfeature.h:
3114 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3115 more docs inlined, splitted gstindex.{c,h}
3117 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3119 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3122 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3124 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3125 Set sync to FALSE by default.
3127 2005-09-20 Wim Taymans <wim@fluendo.com>
3129 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3130 (gst_base_sink_init):
3131 Make sync property settable from subclass.
3133 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3134 (gst_fake_sink_change_state):
3135 Set sync to FALSE by default.
3137 2005-09-20 Wim Taymans <wim@fluendo.com>
3139 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3140 * tools/gst-launch.c: (main):
3141 The timeout handler should have lower priority than the source
3142 so we don't timeout before popping a message with 0 timeout.
3143 Dump error messages after failed state change.
3145 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3147 * tools/gst-inspect.c: (print_element_properties_info):
3150 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3152 * check/gst/gstevent.c:
3153 * gst/elements/gstfakesink.c:
3154 * gst/elements/gstfakesink.h:
3155 remove the sync property from fakesink.
3156 has the side effect of setting sync TRUE
3157 for fakesink, which is a change. Anyone who knows how
3158 to fix this nicely in a GObject-y way, feel free.
3160 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3162 * docs/gst/gstreamer-docs.sgml:
3163 remove probe refsection
3165 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3167 * check/Makefile.am:
3168 disable valgrinding the controller test again
3169 * docs/gst/gstreamer-sections.txt:
3170 update for api-changes
3172 2005-09-20 Wim Taymans <wim@fluendo.com>
3174 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3175 (gst_base_sink_set_property), (gst_base_sink_get_property),
3176 (gst_base_sink_do_sync):
3177 * gst/base/gstbasesink.h:
3178 Added sync property to basesink to disable clock sync.
3180 2005-09-20 Andy Wingo <wingo@pobox.com>
3182 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3183 eating the caller's refcount.
3185 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3186 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3189 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3190 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3191 of GLib 2.8 public, so we can know which refcount to check in
3194 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3195 (gst_object_init): Only set the gst refcount if we're going ahead
3196 with the refcount hack.
3198 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3200 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3201 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3202 more leaks plumbed, added more debug-logging
3206 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3209 remove include of gstmemchunk.h
3211 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3213 * gst/gstclock.c: (_gst_clock_id_free):
3214 Commit from the Political Party For More Atomic CVS Commits,
3215 so that people don't waste too much of their day fishing
3216 out obvious leaks out of massive commits.
3217 Oh, and fix a pretty damn obvious leak in the memchunk
3220 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3222 * check/Makefile.am:
3223 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3224 plug mem-leak, re-add to valgrindable tests
3226 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3229 unbreak the build for those who have chronic arthritis
3230 and typing "make check" is just too taxing on the hands
3232 2005-09-20 Andy Wingo <wingo@pobox.com>
3234 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3235 really want it out, you should fix plugins at the same time.
3237 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3240 * docs/gst/gstreamer-sections.txt:
3242 added missing symbols to api docs
3243 disable ref-count hack if we have glib >= 2.8
3245 2005-09-19 David Schleef <ds@schleef.org>
3247 * docs/gst/Makefile.am: Ignore a few more internal headers
3248 * docs/gst/gstreamer-docs.sgml: Remove old sections
3249 * docs/gst/gstreamer-sections.txt: Remove old sections
3250 * docs/gst/tmpl/gstobject.sgml: update
3251 * docs/gst/tmpl/gstplugin.sgml: update
3252 * docs/gst/tmpl/gstpluginfeature.sgml: update
3253 * docs/random/ds/0.9-suggested-changes: update.
3254 * gst/Makefile.am: remove memchunk and trashstack, since they're
3256 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3257 * gst/gst.h: don't include some headers
3258 * gst/gstchildproxy.c: add gstmarshal.h
3259 * gst/gstclock.c: Don't use memchunks
3260 * gst/gstminiobject.c: Add some docs
3261 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3262 * gst/gstobject.h: same
3263 * gst/gstplugin.c: include gstmacros.h
3264 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3265 * gst/gstquery.c: don't use memchunks
3266 * gst/gstregistry.c: rename gst_registry_deinit()
3267 * gst/gstregistry.h: same
3269 2005-09-19 David Schleef <ds@schleef.org>
3271 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3272 * docs/libs/gstreamer-libs-sections.txt:
3273 * docs/libs/tmpl/gstgetbits.sgml:
3274 * docs/libs/tmpl/gstputbits.sgml:
3276 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3278 * win32/gstenumtypes.c:
3279 * win32/gstenumtypes.h:
3282 2005-09-19 Wim Taymans <wim@fluendo.com>
3284 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3285 Automatically PAUSE and RESUME a pipeline when a flushing seek
3288 2005-09-19 Andy Wingo <wingo@pobox.com>
3290 * gst/gstregistry.h: Spacing fixen.
3292 2005-09-19 Wim Taymans <wim@fluendo.com>
3294 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3295 Handle state change failure more correctly.
3297 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3299 * check/Makefile.am:
3300 * check/pipelines/cleanup.c: (run_pipeline):
3301 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3303 enable cleanup again after fixing the leak
3305 some more info on docs
3307 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3309 * check/Makefile.am:
3310 re-enable tests now that leaks are plugged
3312 * check/gst/gstbin.c:
3313 * check/gst/gstpipeline.c:
3314 add some more tests while fixing leaks
3316 make sure binaries are uptodate when valgrinding/gdbing
3318 * gst/gstelementfactory.c:
3319 remove a ref too many, and add a FIXME for when we get
3320 round to disposing of classes
3322 fix the refcounting when loading a plugin from a file and
3323 the code pretends that the pointer is the same even though
3324 of course it can change
3325 * gst/gstpluginfeature.c:
3326 unref plugins marked cached (a bit confusing as a name)
3327 as the docs state should be done
3328 various doc additions to explain refcounting
3329 * gst/gstregistry.c:
3330 * gst/gstregistryxml.c:
3333 2005-09-19 Wim Taymans <wim@fluendo.com>
3335 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3336 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3337 (send_messages), (GST_START_TEST), (gstbus_suite):
3338 * check/gst/gstpipeline.c: (GST_START_TEST):
3339 * check/pipelines/cleanup.c: (run_pipeline):
3340 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3342 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3343 (gst_bus_source_check), (gst_bus_source_dispatch),
3344 (gst_bus_create_watch), (gst_bus_add_watch_full),
3345 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3347 * tools/gst-launch.c: (event_loop):
3348 * tools/gst-md5sum.c: (event_loop):
3349 GstBusHandler -> GstBusFunc, return value has the same meaning as
3350 any other GSource (FALSE == remove source).
3351 _add_watch() and _add_watch_full() now take a MessageType mask to
3352 only handle specific types of messages.
3353 _poll() returns the GstMessage instead of the message type to avoid
3355 _have_pending() takes a MessageType mask now too.
3356 Added testsuite for multiple bus watches.
3357 Fix testsuites and applications for new bus API.
3359 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3361 * check/Makefile.am:
3362 mark a bunch of the tests as to fix until we fix them
3364 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3367 use GST_PLUGIN settings for valgrind tests as well, so we're
3368 valgrinding the correct thing
3369 * gst/gst.c: (init_post):
3372 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3374 * gst/gst.c: (init_post), (gst_deinit):
3375 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3376 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3377 * gst/gstindex.c: (gst_index_factory_class_init),
3378 (gst_index_factory_finalize):
3379 * gst/gstobject.c: (gst_object_dispose):
3380 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3381 (gst_plugin_load_file), (gst_plugin_desc_free):
3382 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3383 (gst_plugin_feature_finalize):
3384 * gst/gstregistry.c: (gst_registry_class_init),
3385 (gst_registry_init), (gst_registry_finalize),
3386 (gst_registry_get_default), (gst_registry_deinit):
3387 * gst/gstregistry.h:
3388 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3389 various cleanups and memleak plugging. make valgrind is happy now.
3391 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3394 add a check-valgrind target
3396 2005-09-18 David Schleef <ds@schleef.org>
3398 * tools/gst-inspect.c: Revert the GOption code.
3400 2005-09-17 David Schleef <ds@schleef.org>
3402 * check/Makefile.am: Fix environment variables.
3403 * check/gst/gstplugin.c: Fix for API changes.
3404 * tools/gst-inspect.c: Fix for API changes.
3405 * tools/gst-xmlinspect.c: Fix for API changes.
3406 * gst/gstelementfactory.c:
3409 * gst/gstpluginfeature.c:
3410 * gst/gstpluginfeature.h:
3411 * gst/gstregistry.c:
3412 * gst/gstregistry.h:
3413 * gst/gstregistryxml.c:
3414 * gst/gsttypefind.c:
3415 * gst/gsttypefindfactory.c:
3416 * gst/indexers/gstfileindex.c:
3417 * gst/indexers/gstmemindex.c:
3418 * gst/schedulers/Makefile.am:
3419 Change registry to keep track of both plugins and features,
3420 removing the feature tracking from plugins themselves.
3422 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3424 * check/Makefile.am:
3425 * tools/gst-register.1.in:
3428 2005-09-15 David Schleef <ds@schleef.org>
3430 * check/gst/gstplugin.c:
3431 * gst/gstelementfactory.c:
3433 * gst/gstpluginfeature.c:
3434 * gst/gstregistry.c:
3435 Getting tired of debugging. Disabled all the unreffing of
3436 plugins and features, which fixes the segfaults, but of
3437 course leaks like crazy. At least playbin works.
3439 2005-09-15 David Schleef <ds@schleef.org>
3441 * check/gst/gstplugin.c: (register_check_elements),
3442 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3444 * gst/elements/gsttypefindelement.c: Fix refcounting.
3445 * gst/gsttypefind.c:
3446 * gst/gsttypefindfactory.c:
3447 * gst/gsttypefindfactory.h:
3449 2005-09-15 David Schleef <ds@schleef.org>
3451 * gst/gstindex.c: get refcounting correct.
3452 * gst/gstregistry.c: Handle the case where a feature/plugin is
3455 2005-09-15 David Schleef <ds@schleef.org>
3457 * check/Makefile.am:
3458 * check/gst/gstplugin.c: Add test
3459 * gst/gstplugin.c: Fix problems noticed by testsuite
3461 * gst/gstregistry.c:
3462 * gst/gstregistry.h:
3464 2005-09-15 David Schleef <ds@schleef.org>
3466 * gst/gstplugin.c: Implement semi-decent recounting and locking
3467 in plugins and plugin features.
3469 * gst/gstpluginfeature.c:
3470 * gst/gstpluginfeature.h:
3471 * gst/gstregistry.c:
3473 2005-09-15 Michael Smith <msmith@fluendo.com>
3475 * gst/gstregistry.c: (gst_registry_get_feature_list):
3476 Implement this. Makes oggdemux work; decodebin still broken.
3478 2005-09-14 David Schleef <ds@schleef.org>
3480 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3482 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3483 * gst/check/Makefile.am:
3484 * libs/gst/controller/Makefile.am:
3485 * libs/gst/dataprotocol/Makefile.am:
3487 2005-09-14 David Schleef <ds@schleef.org>
3489 * configure.ac: Remove getbits library. Nothing uses it, and
3490 it should be in something like liboil if someone did want
3492 * libs/gst/Makefile.am:
3493 * libs/gst/getbits/Makefile.am:
3494 * libs/gst/getbits/gbtest.c:
3495 * libs/gst/getbits/getbits.c:
3496 * libs/gst/getbits/getbits.h:
3497 * libs/gst/getbits/gstgetbits_generic.c:
3498 * libs/gst/getbits/gstgetbits_i386.s:
3499 * libs/gst/getbits/gstgetbits_inl.h:
3501 2005-09-14 David Schleef <ds@schleef.org>
3503 * gst/Makefile.am: Dist glib-compat.h
3505 2005-09-14 David Schleef <ds@schleef.org>
3507 * configure.ac: Remove gst/registries, since it's no longer used.
3508 * gst/registries/Makefile.am:
3509 * gst/registries/gstlibxmlregistry.c:
3510 * gst/registries/gstlibxmlregistry.h:
3511 * gst/registries/gstxmlregistry.c:
3512 * gst/registries/gstxmlregistry.h:
3513 * gst/registries/registrytest.c:
3515 2005-09-14 David Schleef <ds@schleef.org>
3517 * gst/glib-compat.h:
3518 * gst/gstregistryxml.c:
3519 Convergence is near. Seriously.
3521 2005-09-14 David Schleef <ds@schleef.org>
3523 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3524 * gst/glib-compat.h:
3525 Attempt #4 to appease the buildbots.
3527 2005-09-14 David Schleef <ds@schleef.org>
3529 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3532 2005-09-14 David Schleef <ds@schleef.org>
3534 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3537 2005-09-14 David Schleef <ds@schleef.org>
3539 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3542 2005-09-14 David Schleef <ds@schleef.org>
3544 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3545 * gst/glib-compat.h: Add some functions that are in newer versions
3546 of glib than we care to require.
3547 * gst/gstregistryxml.c: Use them.
3549 2005-09-14 David Schleef <ds@schleef.org>
3551 * po/POTFILES.in: remove gst-register.c
3553 2005-09-14 David Schleef <ds@schleef.org>
3555 * docs/gst/gstreamer-docs.sgml:
3556 * docs/gst/gstreamer-sections.txt:
3557 * docs/gst/gstreamer.types:
3558 * docs/gst/tmpl/gstelement.sgml:
3559 * docs/gst/tmpl/gstplugin.sgml:
3560 * docs/gst/tmpl/gstpluginfeature.sgml:
3561 Documentation updates for registry changes.
3563 2005-09-14 David Schleef <ds@schleef.org>
3565 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3566 because we don't require glib-2.8.
3568 2005-09-14 David Schleef <ds@schleef.org>
3570 * gst/gstregistryxml.c: Added. Essentially moved out of the
3571 registries directory.
3573 2005-09-14 David Schleef <ds@schleef.org>
3575 * check/Makefile.am:
3576 * check/generic/states.c:
3580 * gst/gst_private.h:
3581 * gst/gstelementfactory.c:
3586 * gst/gstpluginfeature.c:
3587 * gst/gstpluginfeature.h:
3588 * gst/gstregistry.c:
3589 * gst/gstregistry.h:
3590 * gst/gstregistrypool.c: remove
3591 * gst/gstregistrypool.h: remove
3592 * gst/gsttypefind.c:
3593 * gst/gsttypefindfactory.c:
3595 * tools/Makefile.am:
3596 * tools/gst-compprep.c:
3597 * tools/gst-inspect.c:
3598 * tools/gst-register.c: remove
3599 * tools/gst-xmlinspect.c:
3600 Registry rewrite. Changes registry from being a file created
3601 by a tool into a simple cache file created automatically by
3602 libgstreamer. Removed gst-register (because it's no longer
3603 needed). Remove registry pools, because we only have one
3604 registry implementation (XML). Fix up other subsystems as
3607 2005-09-13 Michael Smith <msmith@fluendo.com>
3609 * gst/gstconfig.h.in:
3610 Don't Use windows linking attributes for MinGW. Fixes #316157
3612 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3614 * gst/gstutils.c: (set_state_async_thread_func),
3615 (gst_element_set_state_async):
3616 Apparently people think it's better if this function doesn't
3617 try to set the state to whatever state was asked for on the first
3618 call to this function for any object. Seriously.
3620 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3622 * check/gst/gstpipeline.c: (GST_START_TEST):
3623 * docs/gst/gstreamer-sections.txt:
3624 * gst/gstutils.c: (set_state_async_thread_func),
3625 (gst_element_set_state_async):
3627 add a "gst_element_set_state_async" method that
3628 sets the state and starts a thread to make sure the state
3629 change completes as best as it can
3631 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3633 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3634 codify design+behaviour in testsuite after discussion
3636 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3638 * docs/gst/tmpl/gstelement.sgml:
3639 * docs/manual/appendix-quotes.xml:
3641 * gst/gstelement.c: (gst_element_set_state):
3644 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3646 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3647 (gst_base_transform_prepare_output_buf),
3648 (gst_base_transform_handle_buffer):
3649 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3650 (gst_capsfilter_prepare_buf):
3651 Remove the requirement for sub-classes to call the parent
3652 implementation of prepare_output_buffer with a wrapper function.
3655 * gst/gsttagsetter.h:
3658 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3660 * docs/gst/gstreamer-sections.txt:
3663 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3665 * docs/gst/gstreamer-sections.txt:
3666 * docs/gst/tmpl/gstelement.sgml:
3667 * docs/gst/tmpl/gstplugin.sgml:
3668 * gst/gstminiobject.c:
3670 docs now stop throwing warnings
3672 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3674 * docs/gst/gstreamer-sections.txt:
3675 * docs/gst/gstreamer.types:
3676 * docs/gst/tmpl/gstpad.sgml:
3677 * docs/gst/tmpl/gsttypes.sgml:
3678 * gst/base/gstadapter.h:
3679 * gst/base/gstbasesink.h:
3680 * gst/base/gstbasesrc.h:
3690 * gst/gststructure.c:
3691 * gst/registries/gstlibxmlregistry.h:
3692 various documentation fixes
3694 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3696 * docs/gst/gstreamer-sections.txt:
3697 * docs/gst/tmpl/gstvalue.sgml:
3698 rearrange gstvalue section
3699 * gst/gstutils.c: (gst_element_state_get_name):
3701 * gst/gstvalue.c: (_gst_value_initialize):
3705 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3707 * check/gst-libs/controller.c:
3709 * gst/base/gstbasetransform.c:
3710 (gst_base_transform_default_prepare_buf),
3711 (gst_base_transform_handle_buffer):
3712 * gst/base/gstbasetransform.h:
3713 Some more basetransform changes and fixes to enable sub-classes
3714 that modify buffer metadata only.
3715 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3716 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3717 (gst_capsfilter_prepare_buf):
3718 If the output pad has fixed allowed caps and input buffers
3719 don't have any, set the fixed caps on outgoing buffers.
3721 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3722 * check/elements/identity.c: (GST_START_TEST):
3723 Make the error a little clearer when the test fails because
3724 identity made a copy of the buffer.
3725 * docs/gst/gstreamer-sections.txt:
3726 New symbols in gstbasetransform.h
3727 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3728 (gst_base_transform_init), (gst_base_transform_transform_size),
3729 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3730 (gst_base_transform_default_prepare_buf),
3731 (gst_base_transform_get_unit_size),
3732 (gst_base_transform_buffer_alloc),
3733 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3734 (gst_base_transform_change_state),
3735 (gst_base_transform_set_passthrough),
3736 (gst_base_transform_set_in_place),
3737 (gst_base_transform_is_in_place):
3738 * gst/base/gstbasetransform.h:
3739 Change BaseTransform to separate in_place operate from same_caps
3740 output. in_place implies that the element can perform the transform
3741 on incoming buffers in-place, even if the caps on the output are
3743 Sub-class elements can now implement special buffer allocation
3744 methods for outgoing buffers if they wish to.
3745 Big documentation addition.
3746 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3747 * gst/elements/gstelements.c:
3748 Changes for basetransform modifications.
3749 * gst/elements/Makefile.am:
3750 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3751 Compile fix. Extra debug output.
3753 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3755 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3757 add tests for valid pad naming
3758 * gst/check/gstcheck.c: (gst_check_log_message_func),
3759 (gst_check_log_critical_func):
3761 remove printing of code, it is fragile when the code contains
3762 % and the line number is enough info
3763 * gst/check/gstcheck.h:
3764 * gst/gstpad.c: (gst_pad_template_new):
3767 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3770 say what CHECK flags we use
3771 * docs/libs/gstreamer-libs.types:
3772 * libs/gst/controller/Makefile.am:
3773 * libs/gst/controller/gst-controller.c:
3774 * libs/gst/controller/gst-controller.h:
3775 * libs/gst/controller/gst-helper.c:
3776 * libs/gst/controller/gst-interpolation.c:
3777 * libs/gst/controller/gstcontroller.c:
3778 * libs/gst/controller/gsthelper.c:
3779 * libs/gst/controller/gstinterpolation.c:
3780 * tools/gst-inspect.c: (print_plugin_info):
3781 we don't use dashes in header names
3783 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3785 * check/Makefile.am:
3786 * check/gst/.cvsignore:
3787 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3788 (gst_pipeline_suite), (main):
3789 adding a test for pipelines and state changes
3790 * gst/gstutils.c: (get_state_func):
3792 * gstreamer.spec.in:
3795 2005-09-08 Michael Smith <msmith@fluendo.com>
3797 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3798 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3799 (gst_file_src_is_seekable), (gst_file_src_get_size),
3800 (gst_file_src_start):
3801 * gst/elements/gstfilesrc.h:
3802 Various fixes for unseekable, unmmapable, and non-normal files, so
3803 that fallback to read() rather than mmap() works.
3804 * gst/gstevent.c: (gst_event_new_newsegment):
3805 Allow newsegment events with segment_start == segment_end, as will
3806 correctly happen if you use filesrc on a zero-size file, for
3809 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3811 * gst/gstplugin.c: (gst_plugin_load_file):
3812 Call g_module_close when we don't load the module
3814 * gst/registries/gstlibxmlregistry.c:
3815 (gst_xml_registry_get_property):
3816 Port leak fix from 0.8
3818 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3820 * docs/gst/gstreamer-docs.sgml:
3821 * docs/gst/tmpl/.cvsignore:
3822 * docs/gst/tmpl/gsttrace.sgml:
3823 * docs/gst/tmpl/gsttrashstack.sgml:
3832 * gst/gsttaginterface.c:
3833 * gst/gsttaginterface.h:
3836 * gst/gsttagsetter.c:
3837 * gst/gsttagsetter.h:
3840 * gst/gsttrashstack.c:
3841 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3842 inlined docs for gsttrace, gsttrashstack
3844 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3847 * gst/elements/gstbufferstore.h:
3848 * gst/elements/gsttypefindelement.c:
3849 * gst/elements/gsttypefindelement.h:
3851 * gst/gsttypefind.c:
3852 * gst/gsttypefind.h:
3853 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3854 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3855 (gst_type_find_factory_dispose),
3856 (gst_type_find_factory_unload_thyself),
3857 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3858 (gst_type_find_factory_get_caps),
3859 (gst_type_find_factory_get_extensions),
3860 (gst_type_find_factory_call_function):
3861 * gst/gsttypefindfactory.h:
3862 * gst/registries/gstlibxmlregistry.c:
3863 * gst/registries/gstxmlregistry.c:
3864 splitted gsttypefind into gsttypefind, gsttypefindfactory
3866 2005-09-07 Andy Wingo <wingo@pobox.com>
3868 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3869 condition whereby the pad's task function is entered before the
3870 pad_mode variable was set.
3872 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3874 * gst/gstpad.c: (gst_pad_alloc_buffer):
3875 Catch misbehaving pad_alloc functions that don't
3876 set up caps and do it for them.
3878 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3880 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3882 * docs/gst/tmpl/.cvsignore:
3883 * docs/gst/tmpl/gstmemchunk.sgml:
3884 * docs/gst/tmpl/gstparse.sgml:
3885 * docs/gst/tmpl/gsttaglist.sgml:
3886 * docs/gst/tmpl/gsttagsetter.sgml:
3887 * docs/gst/tmpl/gsttypefind.sgml:
3888 * docs/gst/tmpl/gsttypefindfactory.sgml:
3889 * gst/gstmemchunk.c:
3892 * gst/gsttaginterface.c:
3893 * gst/gsttypefind.c:
3894 * gst/gsttypefind.h:
3897 === release 0.9.2 ===
3899 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3904 releasing 0.9.2, "South"
3906 2005-09-05 Andy Wingo <wingo@pobox.com>
3908 * gst/registries/gstxmlregistry.h:
3909 * gst/registries/gstxmlregistry.c: Um... resurrect...
3911 * gst/registries/gstxmlregistry.h:
3912 * gst/registries/gstxmlregistry.c: and update to newer API.
3913 Incidentally they should be a bit faster now that they don't have
3916 2005-09-05 Andy Wingo <wingo@pobox.com>
3918 * gst/registries/gstxmlregistry.h:
3919 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3920 replaced by the libxml registry a while back
3922 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3924 * docs/gst/tmpl/gstplugin.sgml:
3925 * gst/elements/gstelements.c:
3927 * gst/gstplugin.c: (gst_plugin_register_func),
3928 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3929 (gst_plugin_get_source):
3931 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3932 (gst_xml_registry_save_plugin):
3933 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3934 (gst_xml_registry_save_plugin):
3935 * tools/gst-inspect.c: (print_plugin_info):
3936 add a "source" plugin description field, to represent the source
3937 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3938 will set it to PACKAGE, which is automake's idea of the name of
3941 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3947 * docs/faq/Makefile.am:
3948 * docs/gst/tmpl/gstelement.sgml:
3949 * docs/gst/tmpl/gsttypes.sgml:
3950 * docs/htmlinstall.mak:
3951 * docs/manual/Makefile.am:
3952 * docs/pwg/Makefile.am:
3953 reorganize doc build a little
3954 split out docbook and gtk-doc stuff
3955 have two separate --enable's and enable them through autogen
3956 but disable by default in configure (to be similar to other
3958 * gstreamer.spec.in:
3959 clean up docs install
3979 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3981 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3984 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3985 (gst_fake_sink_change_state):
3986 Make state change function thread-safe.
3988 * gst/gstpad.c: (gst_pad_alloc_buffer):
3989 Set offset on generic buffer allocated by fallback.
3991 2005-09-03 Stefan Kost <ensonic@users.sf.net>
3993 * docs/gst/gstreamer-sections.txt:
3994 * docs/gst/tmpl/gstelement.sgml:
3996 * libs/gst/controller/gst-controller.c:
3997 (gst_controlled_property_set_interpolation_mode),
3998 (gst_controlled_property_new),
3999 (gst_controller_find_controlled_property):
4000 run the wingo-magic script against the docs
4002 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4004 * docs/gst/gstreamer-docs.sgml:
4005 * docs/gst/gstreamer-sections.txt:
4006 * docs/gst/tmpl/.cvsignore:
4007 * docs/gst/tmpl/gstelementdetails.sgml:
4008 * docs/gst/tmpl/gstelementfactory.sgml:
4011 * gst/gstelementfactory.c:
4012 * gst/gstelementfactory.h:
4013 merged elementdetails docs into elementfactory docs
4016 2005-09-02 Andy Wingo <wingo@pobox.com>
4018 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4019 consider this enum an enum and not a flags.
4021 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4023 * docs/gst/gstreamer-docs.sgml:
4024 * docs/gst/tmpl/.cvsignore:
4025 * docs/gst/tmpl/gstghostpad.sgml:
4026 * docs/gst/tmpl/gstiterator.sgml:
4027 * docs/gst/tmpl/gstmacros.sgml:
4028 * docs/gst/tmpl/gstrealpad.sgml:
4029 * docs/gst/tmpl/gstregistry.sgml:
4030 * docs/gst/tmpl/gstregistrypool.sgml:
4031 * docs/gst/tmpl/gststructure.sgml:
4032 * docs/gst/tmpl/gstsystemclock.sgml:
4033 * docs/gst/tmpl/gsttrace.sgml:
4034 * gst/gstghostpad.c:
4036 * gst/gstmemchunk.c:
4037 * gst/gstmemchunk.h:
4039 * gst/gstregistry.c:
4040 * gst/gstregistrypool.c:
4041 * gst/gststructure.c:
4042 * gst/gstsystemclock.c:
4045 2005-09-02 Andy Wingo <wingo@pobox.com>
4047 * gst/gstelement.h (GstState): Renamed from GstElementState,
4048 changed to be a normal enum instead of flags.
4049 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4050 munged to be GST_STATE_CHANGE_*.
4051 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4052 work with the new state representation.
4053 (GstStateChange): New enumeration of possible state transitions.
4054 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4055 (GstElementClass::change_state): Pass the GstStateChange along as
4056 an argument. Helps language bindings, so they don't have to use
4057 tricky lock-needing macros like GST_STATE_CHANGE ().
4059 * scripts/update-states (file): New script. Run it on a file to
4060 update it for state naming and API changes. Updates files in
4063 * All files updated for the new API.
4065 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4067 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4068 * gst/gstutils.c: (gst_util_set_value_from_string),
4069 (gst_util_set_object_arg):
4070 fix a bunch of unchecked return values
4071 * tools/gst-complete.c: (main):
4072 * gstreamer.spec.in:
4075 2005-09-01 Wim Taymans <wim@fluendo.com>
4077 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4078 (gst_base_sink_event), (gst_base_sink_do_sync),
4079 (gst_base_sink_handle_event):
4080 * gst/base/gstbasesink.h:
4081 Handle newsegments more correctly.
4086 * gst/gstevent.c: (gst_event_new_newsegment):
4087 A newsegment cannot have a start_time of -1
4089 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4091 * win32/gstenumtypes.c:
4092 * win32/gstenumtypes.h:
4095 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4097 * libs/gst/controller/gst-controller.c:
4098 (gst_controlled_property_set_interpolation_mode),
4099 (gst_controlled_property_new):
4102 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4104 * docs/faq/gst-uninstalled:
4109 * gst/gstutils.c: (gst_element_link_filtered):
4111 add gst_element_link_filtered
4113 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4115 * docs/gst/gstreamer-docs.sgml:
4116 * docs/gst/gstreamer-sections.txt:
4117 * docs/gst/tmpl/.cvsignore:
4118 * docs/gst/tmpl/gsterror.sgml:
4119 * docs/gst/tmpl/gstfilter.sgml:
4120 * docs/gst/tmpl/gsturihandler.sgml:
4121 * docs/gst/tmpl/gsturitype.sgml:
4122 * docs/gst/tmpl/gstutils.sgml:
4123 * docs/gst/tmpl/gstxml.sgml:
4131 inlined more docs, fixed double id-ref
4133 2005-08-31 Wim Taymans <wim@fluendo.com>
4135 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4136 (gst_base_transform_handle_buffer):
4137 Passthrough elements don't need the caps as they don't care.
4139 2005-08-31 Wim Taymans <wim@fluendo.com>
4141 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4142 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4143 Don't leak refcounts on buffers.
4145 2005-08-31 Wim Taymans <wim@fluendo.com>
4147 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4148 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4149 (gst_base_transform_chain), (gst_base_transform_change_state):
4150 * gst/base/gstbasetransform.h:
4151 Handle the case where we are not negotiated more gracefully.
4153 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4155 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4156 (gst_file_src_map_region):
4157 Set READONLY flag on mmap'ed buffers, otherwise
4158 gst_buffer_make_writable() won't work properly (#314708).
4160 2005-08-31 Wim Taymans <wim@fluendo.com>
4162 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4163 passthrough elements can even do inplace on non writable
4164 buffers (as they don't touch them).
4166 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4168 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4169 (gst_test_mono_source_set_property),
4170 (gst_test_mono_source_class_init), (GST_START_TEST),
4171 (gst_controller_suite):
4172 more tests (hehe I have the most)
4174 describe popping messages whenusing mulltiple sources
4175 * libs/gst/controller/gst-controller.c:
4176 (gst_controlled_property_set_interpolation_mode),
4177 (gst_controlled_property_new):
4178 * libs/gst/controller/gst-controller.h:
4179 * libs/gst/controller/gst-interpolation.c:
4180 implement boolean properties
4182 2005-08-31 Wim Taymans <wim@fluendo.com>
4184 * gst/gstminiobject.c: (gst_mini_object_ref):
4185 Cannot assert that the refcount has to be positive
4186 since a disposed object can be resurrected.
4188 2005-08-31 Wim Taymans <wim@fluendo.com>
4190 * gst/gstpad.c: (gst_pad_init):
4191 Revert change, need to first fix badly behaving
4194 2005-08-30 Wim Taymans <wim@fluendo.com>
4196 * check/elements/fakesrc.c: (setup_fakesrc):
4197 * check/elements/identity.c: (setup_identity):
4198 Activate pads before using them.
4200 2005-08-30 Wim Taymans <wim@fluendo.com>
4202 * gst/base/gstadapter.c: (gst_adapter_flush):
4203 Flushing out 0 bytes is ok for this function.
4205 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4206 no newsegment gives a warning and sets the start/stop to
4209 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4210 (gst_base_transform_set_passthrough):
4213 * gst/gstminiobject.c: (gst_mini_object_ref):
4214 Check refcount here too.
4216 * gst/gstpad.c: (gst_pad_init):
4217 Pads are initially flushing and refusing data.
4219 * gst/gstutils.c: (gst_element_link_pads_filtered):
4220 When adding a capsfilter element make sure it has the
4221 same state as the parent bin.
4223 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4225 * docs/gst/tmpl/.cvsignore:
4226 * docs/gst/tmpl/gstformat.sgml:
4227 * docs/gst/tmpl/gstversion.sgml:
4231 * gst/gstversion.h.in:
4232 more docs and two more inlined
4234 2005-08-30 Wim Taymans <wim@fluendo.com>
4236 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4237 Don't sync to clock.
4239 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4241 * docs/gst/gstreamer-sections.txt:
4242 ultral33t func10ns deserve to appear in the docs actually
4243 * docs/gst/tmpl/.cvsignore:
4244 * docs/gst/tmpl/gstcompat.sgml:
4245 * docs/gst/tmpl/gstconfig.sgml:
4246 * gst/check/gstcheck.c:
4248 * gst/gstconfig.h.in:
4251 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4253 * docs/gst/tmpl/.cvsignore:
4254 * docs/gst/tmpl/gstquery.sgml:
4255 * docs/gst/tmpl/gstutils.sgml:
4258 inlined and extended docs
4260 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4262 * check/gst-libs/controller.c: (GST_START_TEST),
4263 (gst_controller_suite):
4265 * docs/gst/tmpl/gstutils.sgml:
4266 * docs/libs/gstreamer-libs-sections.txt:
4267 * docs/libs/tmpl/gstdataprotocol.sgml:
4269 * examples/controller/audio-example.c: (main):
4270 controller example works now
4273 * tools/gst-inspect.c: (print_element_properties_info):
4274 show param spec flags
4276 2005-08-29 Andy Wingo <wingo@pobox.com>
4278 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4280 2005-08-28 Andy Wingo <wingo@pobox.com>
4282 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4283 as having two arguments instead of just one. Allows superclasses
4284 to access information on subclasses -- see the terrible for() loop
4285 in gtype.c:g_type_create_instance for the reason why. All callers
4288 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4290 * docs/design/part-messages.txt:
4292 * docs/gst/tmpl/.cvsignore:
4293 * docs/gst/tmpl/gstcaps.sgml:
4294 * docs/gst/tmpl/gstclock.sgml:
4301 added descriptions for bus and message
4302 inline caps and clock docs
4304 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4310 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4312 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4315 2005-08-26 Andy Wingo <wingo@pobox.com>
4317 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4318 element_set_state's return val.
4319 (test_2_elements): Add test that's been disabled for months.
4321 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4322 can-activate-pull properties.
4324 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4325 can-activate-pull properties. Implement is_seekable so fakesrc can
4326 operate in pull mode.
4328 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4330 (gst_base_sink_activate, gst_base_sink_activate_pull)
4331 (gst_base_sink_activate_push): Make activation mode choosing work.
4333 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4334 is right. Make pull mode work. Post an eos before pausing in pull
4336 (gst_base_sink_change_state): Pay attention to the core's
4337 change_state() return val.
4339 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4340 has-getrange properties. Cleanups.
4342 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4343 has_getrange and replace with can_activate_pull and
4346 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4347 locking comments. Remove has_loop, has_chain and replace with
4348 can_activate_pull and can_activate_push.
4350 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4353 * examples/Makefile.am:
4354 * examples/metadata/Makefile.am:
4355 * examples/metadata/read-metadata.c: (message_loop),
4356 (have_pad_handler), (make_pipeline), (print_tag), (main):
4357 Add metadata reading example that loops over a list of filenames,
4358 dumping any tags found.
4360 * gst/gstbus.c: (gst_bus_dispose):
4361 * gst/gstelement.c: (gst_element_dispose):
4362 Release a few potentially-held references in dispose.
4364 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4366 * docs/gst/tmpl/gstminiobject.sgml:
4367 do *not* add tmpl/*.sgml files to CVS!
4369 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4371 * libs/gst/bytestream/.cvsignore:
4372 * libs/gst/bytestream/Makefile.am:
4373 * libs/gst/bytestream/adapter.c:
4374 * libs/gst/bytestream/adapter.h:
4375 * libs/gst/bytestream/bytestream.c:
4376 * libs/gst/bytestream/bytestream.h:
4377 * libs/gst/bytestream/filepad.c:
4378 * libs/gst/bytestream/filepad.h:
4379 removing obsolete files
4381 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4383 * docs/gst/gstreamer-docs.sgml:
4384 * docs/libs/gstreamer-libs-docs.sgml:
4385 disabed additional index entries again, as this makes docs-gen just
4386 slow and they aren't useful yet
4387 * docs/libs/gstreamer-libs-sections.txt:
4388 little -section.txt cleanup for libs
4390 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4392 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4393 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4394 fix up some debugging
4395 (gst_base_transform_get_unit_size),
4396 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4397 (gst_base_transform_handle_buffer):
4398 * gst/base/gstbasetransform.h:
4399 handle and store timed NEWSEGMENT events so that subclasses that
4400 calculate time by counting samples have a segment_start time they
4401 need to add to their timestamps - see audioresample
4403 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4406 removed ';' from the end of macro defs
4407 * docs/gst/gstreamer-docs.sgml:
4408 * docs/gst/gstreamer-sections.txt:
4409 * docs/gst/tmpl/.cvsignore:
4411 * gst/gstelement.c: (gst_element_class_init),
4412 (gst_element_set_state), (activate_pads),
4413 (gst_element_save_thyself):
4414 * gst/gstevent.c: (gst_event_new_newsegment):
4416 * gst/gstiterator.c:
4417 * gst/gstiterator.h:
4420 * gst/gstutils.c: (gst_pad_query_convert):
4422 fixed parameter name mismatches between source, header and docs
4423 added some more docs, resolved the last batch of unused elements in
4424 docs (now someone needs to doc them)
4426 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4428 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4429 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4430 don't walk through the plugins backwards. Where is all this
4431 reversed logic coming from ?
4433 2005-08-25 Wim Taymans <wim@fluendo.com>
4435 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4436 (gst_base_transform_transform_size),
4437 (gst_base_transform_configure_caps),
4438 (gst_base_transform_get_unit_size),
4439 (gst_base_transform_buffer_alloc),
4440 (gst_base_transform_change_state):
4441 * gst/base/gstbasetransform.h:
4442 Cache caps unit_size.
4443 Make sure we cannot negotiate up and downstream at the
4446 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4448 * gst/gst.c: (init_pre), (init_post):
4449 register the installed plugin path after the env var
4450 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4451 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4452 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4453 directories, so the tests can prefer uninstalled over installed
4455 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4457 * gst/base/gstbasetransform.h:
4462 2005-08-25 Wim Taymans <wim@fluendo.com>
4464 * gst/gstbin.c: (bin_bus_handler):
4465 Be a bit more conservative about the posted message.
4467 * gst/gstbus.c: (gst_bus_post):
4468 Some cleanups, warn wrong return values.
4470 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4472 * check/gst/gstbin.c: (GST_START_TEST):
4473 * gst/gstbin.c: (bin_bus_handler):
4474 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4475 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4476 (gst_message_new_warning), (gst_message_new_tag),
4477 (gst_message_new_state_changed), (gst_message_new_segment_start),
4478 (gst_message_new_segment_done), (gst_message_new_custom):
4480 * tools/gst-launch.c: (event_loop):
4481 * tools/gst-md5sum.c: (event_loop):
4482 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4484 2005-08-25 Wim Taymans <wim@fluendo.com>
4486 * check/generic/states.c: (GST_START_TEST):
4487 Cleanup can be done at the end.
4489 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4490 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4491 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4492 Oh boy.. Thanks for finding this, Thomas.
4494 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4496 * docs/gst/gstreamer.types:
4499 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4501 * docs/gst/gstreamer-docs.sgml:
4502 * docs/gst/gstreamer-sections.txt:
4503 * docs/gst/tmpl/.cvsignore:
4505 * gst/gstiterator.c:
4507 * gst/registries/gstxmlregistry.h:
4508 added missing classes and symbols (123 more to go)
4509 removed removed symbols from section file
4510 fixed many doc-comments
4512 2005-08-24 Wim Taymans <wim@fluendo.com>
4514 * check/generic/states.c: (GST_START_TEST):
4515 Make sure all tasks are stopped.
4517 * check/gst/gstbin.c: (GST_START_TEST):
4518 Unref after usage for proper valgrinding.
4520 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4521 Really wait for the task to stop before destroying the
4524 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4525 (gst_queue_src_activate_push):
4526 Small cleanups. Don't stop the task when we did not start
4529 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4530 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4531 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4534 Protect the stream lock with the object lock.
4535 Disallow setting the stream lock when running.
4536 Add cleanup_all to wait for the threadpool to finish.
4537 Remove code to autoallocate a mutex if none was provided.
4538 Add _join() to wait for a task to stop.
4539 Protect the thread pool with a global lock.
4541 2005-08-24 Wim Taymans <wim@fluendo.com>
4543 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4544 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4545 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4546 * gst/base/gstbasesink.h:
4547 Handle newsegment events correctly.
4548 Drop buffers out of the segment range.
4550 2005-08-22 Andy Wingo <wingo@pobox.com>
4552 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4553 macro, implements an interface and gstimplementsinterface for a
4556 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4558 * check/Makefile.am:
4559 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4560 add a test that does a bunch of state changes on elements
4561 needs some fixing for valgrind
4562 * check/states/sinks.c: (gst_object_suite):
4565 add prototype for gst_caps_is_equal_fixed
4567 * gst/gstregistrypool.c:
4570 2005-08-24 Andy Wingo <wingo@pobox.com>
4572 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4573 convert a negative value. Doesn't make much sense. Mostly this is
4574 here to force callers to ensure -1 maps to -1.
4576 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4578 * docs/pwg/advanced-types.xml:
4579 Well done to Michael for catching my deliberate introduction
4580 of this spelling mistake.
4581 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4583 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4584 unlink pads before removing the element from the bin.
4586 2005-08-24 Andy Wingo <wingo@pobox.com>
4588 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4589 the same thing as GST_DEBUG=*:4.
4590 (parse_debug_level, parse_debug_category): New helper parsers.
4592 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4594 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4595 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4596 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4597 (gst_base_transform_buffer_alloc),
4598 (gst_base_transform_handle_buffer):
4599 use gboolean return values and pointers to size so we can use the
4600 full GST_BUFFER_SIZE range (guint) for buffer sizes
4601 use GstPadDirection for transform_caps
4602 * gst/base/gstbasetransform.h:
4603 rename get_size to get_unit_size since that's what it is
4604 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4605 use GstPadDirection for transform_caps
4606 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4608 cleanup and debugging
4610 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4612 * gst/gstelement.c: (gst_element_class_init),
4613 (gst_element_set_state), (activate_pads),
4614 (gst_element_save_thyself):
4615 * tools/gst-compprep.c: (main):
4616 * tools/gst-inspect.c: (print_element_properties_info):
4617 * tools/gst-xmlinspect.c: (print_element_properties):
4618 Fixed long standing mem-leak
4620 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4622 * check/gst/gstbin.c: (GST_START_TEST):
4623 * gst/gstbin.c: (bin_bus_handler):
4624 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4625 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4626 (gst_message_new_warning), (gst_message_new_tag),
4627 (gst_message_new_state_changed), (gst_message_new_segment_start),
4628 (gst_message_new_segment_done), (gst_message_new_custom):
4630 * tools/gst-launch.c: (event_loop):
4631 * tools/gst-md5sum.c: (event_loop):
4632 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4633 that applications can sensibly post custom messages with references
4634 to their own objects.
4636 2005-08-24 Andy Wingo <wingo@pobox.com>
4638 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4641 2005-08-24 Wim Taymans <wim@fluendo.com>
4643 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4644 (gst_base_transform_transform_caps),
4645 (gst_base_transform_transform_size),
4646 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4647 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4648 (gst_base_transform_handle_buffer):
4649 * gst/base/gstbasetransform.h:
4650 Many fixes and new features added by Thomas. Can now also do
4651 transforms with variable sizes and a custom fixate_caps function.
4653 2005-08-24 Wim Taymans <wim@fluendo.com>
4655 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4659 Cast to ClockTime before formatting to time.
4664 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4666 * check/gst-libs/controller.c: (GST_START_TEST),
4667 (gst_controller_suite):
4668 * docs/gst/tmpl/gstcaps.sgml:
4669 * docs/gst/tmpl/gstghostpad.sgml:
4670 * docs/gst/tmpl/gstquery.sgml:
4671 * docs/gst/tmpl/gstutils.sgml:
4672 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4673 (gst_object_sink_values), (gst_object_get_value_arrays),
4674 (gst_object_get_value_array):
4675 gracefully handle helper method calls to objects that are not beeing
4676 controlled, added test case for that
4678 2005-08-23 Wim Taymans <wim@fluendo.com>
4680 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4681 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4682 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4683 (gst_event_parse_qos), (gst_event_new_seek),
4684 (gst_event_parse_seek):
4686 Some more debugging output and doc cleanups.
4688 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4689 Fix possible deadlock.
4691 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4693 * docs/gst/gstreamer-docs.sgml:
4694 * docs/gst/gstreamer-sections.txt:
4695 * docs/gst/gstreamer.types:
4696 * docs/gst/tmpl/.cvsignore:
4701 added 100 symbols from gstreamer-unused.txt to the right sections
4702 fixed more broken comments
4703 added GstBus to docs
4705 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4707 * docs/gst/gstreamer-sections.txt:
4708 * docs/gst/tmpl/.cvsignore:
4709 * docs/gst/tmpl/gstbin.sgml:
4710 * docs/gst/tmpl/gstbuffer.sgml:
4711 * gst/base/gstbasesrc.c:
4712 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4715 * tools/gst-launch.1.in:
4716 inlined more doc comments, added missing comments and fixed comments
4719 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4721 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4725 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4727 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4728 * gst/gststructure.h:
4729 add a fixate function for booleans; add a FIXME that these func
4730 names should probably be gst_structure_fixate_*
4732 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4734 * docs/gst/gstreamer-docs.sgml:
4735 * docs/gst/gstreamer-sections.txt:
4737 * gst/gstbin.c: (gst_bin_get_type),
4738 (gst_bin_child_proxy_get_child_by_index),
4739 (gst_bin_child_proxy_get_children_count),
4740 (gst_bin_child_proxy_init):
4741 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4742 (gst_child_proxy_get_child_by_index),
4743 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4744 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4745 (gst_child_proxy_get), (gst_child_proxy_set_property),
4746 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4747 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4748 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4749 * gst/gstchildproxy.h:
4750 * gst/parse/grammar.y:
4751 * tools/gst-inspect.c: (print_interfaces),
4752 (print_element_properties_info), (print_element_info):
4753 ported gstchildproxy over from 0.8
4754 ported gst-inspect fixes and enhancements over from 0.8
4756 2005-08-22 Wim Taymans <wim@fluendo.com>
4758 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4759 (gst_base_transform_handle_buffer):
4760 Also call the transform function if we have ANY caps.
4762 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4765 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4767 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4768 Don't pretend to handle seek events if the source is not seekable
4770 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4772 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4773 Remove extra parameter to debug output
4775 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4776 (gst_base_src_do_seek), (gst_base_src_activate_push):
4777 Fix seek event handling.
4779 * gst/gstpipeline.c: (gst_pipeline_change_state):
4780 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4781 (gst_queue_src_activate_push):
4782 Don't start the src pad task on FLUSH_STOP if the pad
4786 2005-08-22 Wim Taymans <wim@fluendo.com>
4788 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4789 Added check for gst_static_caps_get() refcounting.
4791 2005-08-22 Wim Taymans <wim@fluendo.com>
4793 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4794 Make _static_caps_get() refcounting sane.
4796 * gst/gstelement.c: (gst_element_set_state):
4797 Add g_return_val_if_fail() to protect against segfaults.
4799 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4801 * docs/gst/tmpl/gstevent.sgml:
4804 inlined remaining docs, added missing doc comments
4806 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4808 * check/gst/gstbin.c: (GST_START_TEST):
4809 since we don't know when preroll is done, use refcount range
4811 * gst/check/gstcheck.h:
4812 add macro for checking refcount range
4814 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4816 * check/Makefile.am:
4817 clean up environment for when registry gets built versus
4818 when actual tests are run; valgrind seems to not report
4819 leaks if GST_PLUGIN_PATH is set to some specific values
4820 * check/gst/gstbin.c: (GST_START_TEST):
4821 add more refcounting checks; maybe this exposes a
4824 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4825 * gst/check/gstcheck.h:
4826 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4827 (gst_bin_change_state):
4828 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4829 add/fix debugging/whitespace
4831 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4833 * check/gst/gstevent.c: (event_probe), (test_event),
4835 Er, don't call gst_bin_watch_for_state_change you idiot.
4837 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4839 * check/Makefile.am:
4840 Use CHECK_CFLAGS and CHECK_LIBS
4841 * check/gst/gstevent.c: (event_probe), (test_event),
4844 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4845 (gst_base_src_start), (gst_base_src_stop),
4846 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4847 (gst_base_src_change_state):
4848 Sprinkle gst_base_src_stop liberally around error paths to fix
4849 problems reusing a source after failed state changes.
4850 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4851 (helper_find_suggest), (gst_type_find_helper):
4852 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4854 * docs/gst/tmpl/gstevent.sgml:
4855 Migrate part of the docs from the SGML file. Wait for ensonic to
4856 tell me how I did it wrong ;)
4857 * tools/gst-typefind.c: (main):
4858 Extra robustness to state changes between files.
4860 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4862 * check/Makefile.am:
4863 don't valgrind the controller test - it's leaking - Stefan, HELP
4864 * gst/check/gstcheck.c: (gst_check_message_error),
4865 (gst_check_chain_func), (gst_check_setup_element),
4866 (gst_check_teardown_element), (gst_check_setup_src_pad),
4867 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4868 (gst_check_teardown_sink_pad):
4869 * gst/check/gstcheck.h:
4870 add a bunch of methods to set up elements, and src and sink pads
4871 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4872 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4877 whitespace/doc fixes
4879 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4882 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4883 be handled by the application and not always printed as well
4885 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4887 * check/Makefile.am:
4889 * gst/check/gstcheck.c: (gst_check_message_error):
4890 * gst/check/gstcheck.h:
4891 add a fail_unless_equals_int
4892 add fail_unless for error messages
4894 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4896 * check/Makefile.am:
4898 * common/Makefile.am:
4901 factor out some of the common stuff so we can use it
4903 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4905 * check/Makefile.am:
4906 * check/gst/gstiterator.c: (GST_START_TEST):
4907 * check/gst/gstsystemclock.c: (GST_START_TEST),
4908 (gst_systemclock_suite):
4909 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4913 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4915 * check/elements/.cvsignore:
4916 * check/elements/gstfakesrc.c:
4917 rename to name of element
4918 * check/elements/identity.c: (chain_func), (event_func),
4919 (setup_identity), (cleanup_identity), (GST_START_TEST),
4920 (identity_suite), (main):
4921 add a test for identity
4922 * check/Makefile.am:
4923 * pkgconfig/Makefile.am:
4924 * pkgconfig/gstreamer-check.pc.in:
4925 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4929 move the check stuff to a library that gets installed
4930 * check/gst-libs/controller.c: (GST_START_TEST):
4931 * check/gst-libs/gdp.c:
4932 * check/gst/gst.c: (GST_START_TEST):
4933 * check/gst/gstbin.c:
4934 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4935 * check/gst/gstbus.c:
4936 * check/gst/gstcaps.c: (GST_START_TEST):
4937 * check/gst/gstelement.c:
4938 * check/gst/gstghostpad.c:
4939 * check/gst/gstiterator.c:
4940 * check/gst/gstmessage.c:
4941 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4942 * check/gst/gstobject.c:
4943 * check/gst/gstpad.c: (GST_START_TEST):
4944 * check/gst/gststructure.c: (GST_START_TEST):
4945 * check/gst/gstsystemclock.c: (GST_START_TEST),
4946 (gst_systemclock_suite):
4947 * check/gst/gsttag.c: (gst_tag_suite):
4948 * check/gst/gstvalue.c:
4949 * check/pipelines/cleanup.c:
4950 * check/pipelines/simple_launch_lines.c:
4951 * check/states/sinks.c:
4952 change include statement
4954 * docs/gst/gstreamer-sections.txt:
4955 * docs/gst/tmpl/gstpad.sgml:
4956 document more pad stuff
4957 * gst/gstminiobject.c: (gst_mini_object_ref),
4958 (gst_mini_object_unref):
4961 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4963 * docs/gst/tmpl/gst.sgml:
4965 eliminate another tmpl file, fix spelling in the long-description
4967 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4969 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4970 (test_event), (timediff), (gstevents_suite):
4971 Should fix build on 64-bit arch's
4973 2005-08-18 Andy Wingo <wingo@pobox.com>
4975 Make sure that when a pipeline goes to PLAYING, that data has
4976 actually hit the sink.
4978 * check/states/sinks.c (test_sink): A sink that doesn't get any
4979 data shouldn't return SUCCESS for going to either PLAYING or
4980 PAUSED. Test also the return values on the way back down.
4982 * gst/gstelement.c (gst_element_set_state): When changing the
4983 state of an element currently changing state asynchronously, go to
4984 lost-state after commiting the pending state. Makes future calls
4985 to get_state continue to return ASYNC.
4987 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
4988 ASYNC when going to PLAYING if we still don't have preroll, as can
4989 happen with live sources.
4991 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4993 * docs/pwg/advanced-types.xml:
4994 Hack long paragraph into 2 chunks as a workaround for buggy
4995 jadetex version in sid and breezy that loops infinitely and
4998 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5000 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5001 (test_event), (timediff), (gstevents_suite):
5002 Provide more error margin in clock measurements to allow for
5003 g_get_current_time inaccuracies.
5005 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5007 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5008 (test_event), (timediff), (gstevents_suite):
5009 Fix error message output so I might be able to tell why the
5010 test works here but fails on the build farm.
5012 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5014 * check/Makefile.am:
5015 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5016 (test_event), (timediff), (gstevents_suite), (main):
5019 * docs/design/part-seeking.txt:
5022 * docs/gst/tmpl/gstevent.sgml:
5023 * docs/gst/tmpl/gstfakesrc.sgml:
5026 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5027 Treat a buffer-without-newsegment the same as a receiving
5028 a newsegment not in time format, and disable syncing to the clock
5031 * gst/gstbus.c: (gst_bus_set_sync_handler):
5032 Assert if anyone tries to replace the existing sync_handler for bus,
5033 as only the owner should be setting it.
5036 Have a fixed set of custom event enums with events identified by
5037 their structure name (as in 0.8), rather than a free-for-all
5038 allowing collisions between enum values from different plugins.
5040 * gst/gstpad.c: (gst_pad_class_init):
5043 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5044 Handle out-of-band downstream events from the sending thread.
5046 2005-08-17 Andy Wingo <wingo@pobox.com>
5048 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5049 play-timeout==0 to mean no timeout at all. In that case, don't
5050 bother with a get_state or a warning, just return directly, even
5053 * gst/base/gstbasetransform.c: Debug changes.
5056 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5057 ensure bins post state change messages. A bit of a hack but I can't
5058 think of a way to avoid it.
5060 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5062 2005-08-16 Andy Wingo <wingo@pobox.com>
5064 * gst/base/gstadapter.h:
5065 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5066 peek() but you own the data. Not terribly efficient atm.
5068 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5070 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5071 (gst_element_found_tags):
5073 Add two utility functions for tag handling.
5075 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5077 * docs/manual/advanced-dataaccess.xml:
5078 * docs/manual/basics-helloworld.xml:
5079 Fix docs to use _bin_add() before _link(), which fixes the examples
5080 with recent core versions (reported by Madhan Raj M
5081 <raj_madan@rediffmail.com>, #313199).
5083 2005-08-16 Wim Taymans <wim@fluendo.com>
5085 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5086 Added subtract checks.
5088 * docs/design/part-events.txt:
5089 Some more docs about newsegment
5091 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5094 * gst/gstcaps.c: (gst_caps_to_string):
5095 Add comments, cleanups.
5097 * gst/gstelement.c: (gst_element_save_thyself):
5100 * gst/gstvalue.c: (gst_value_collect_int_range),
5101 (gst_string_unwrap), (gst_value_union_int_int_range),
5102 (gst_value_union_int_range_int_range),
5103 (gst_value_intersect_int_int_range),
5104 (gst_value_intersect_int_range_int_range),
5105 (gst_value_intersect_double_double_range),
5106 (gst_value_intersect_double_range_double_range),
5107 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5108 (gst_value_subtract_int_range_int),
5109 (gst_value_subtract_double_range_double),
5110 (gst_value_subtract_double_range_double_range),
5111 (gst_value_subtract_from_list), (gst_value_subtract_list),
5112 (gst_value_can_compare), (gst_value_compare_fraction):
5113 Cleanups, add comments, remove unneeded asserts.
5115 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5117 * tools/gst-launch.c: (event_loop):
5118 don't convert NULL structures to strings
5120 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5122 * docs/gst/gstreamer-sections.txt:
5123 made some defines private
5124 * docs/gst/tmpl/gstconfig.sgml:
5125 * docs/gst/tmpl/gstqueue.sgml:
5126 * docs/gst/tmpl/gsttaglist.sgml:
5127 * docs/gst/tmpl/gsttypes.sgml:
5128 * docs/gst/tmpl/gstutils.sgml:
5129 * docs/pwg/appendix-porting.xml:
5130 * gst/base/gstbasesink.h:
5131 * gst/base/gstbasesrc.c:
5132 * gst/base/gstbasesrc.h:
5133 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5134 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5135 * gst/gstelement.c: (gst_element_class_init):
5136 * gst/gstpad.c: (gst_pad_class_init):
5137 * gst/gstqueue.c: (gst_queue_class_init):
5138 * gst/gstxml.c: (gst_xml_class_init):
5139 documented all undocumented signal inline
5140 * libs/gst/controller/gst-controller.h:
5143 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5145 * docs/pwg/appendix-porting.xml:
5146 Document _set_link_function -> _set_setcaps_function.
5148 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5150 * check/Makefile.am:
5151 add a .check target for running the check
5152 * check/gst-libs/controller.c: (GST_START_TEST):
5154 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5155 complete checks for gstbuffer; would be nice if I could get the
5156 gcov stuff to work so I can see if I actually completed gstbuffer.c
5158 add ASSERT_BUFFER_REFCOUNT
5160 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5162 * docs/gst/gstreamer-sections.txt:
5163 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5165 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5166 spew out a warning if a tag that is already registered
5167 is re-registered, unless it is re-registered with a
5168 different type (#308438).
5170 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5172 * docs/pwg/appendix-porting.xml:
5173 * docs/pwg/building-state.xml:
5174 Add some paragraphs about state changes in 0.9 to the PWG
5175 and the porting guide, in particular about the new meaning
5176 of GST_STATE_PAUSED and how to write state change functions
5177 with concurrent access by multiple threads in mind.
5179 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5181 * docs/gst/gstreamer-docs.sgml:
5182 * docs/libs/gstreamer-libs-docs.sgml:
5183 added deprecation and since indexes
5184 * libs/gst/controller/gst-controller.c:
5185 * libs/gst/controller/gst-helper.c:
5189 2005-08-11 Wim Taymans <wim@fluendo.com>
5191 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5192 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5193 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5194 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5195 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5196 (gst_ghost_pad_set_target):
5197 Actually implement (re)setting the target on a ghostpad
5198 as described in the docs.
5200 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5202 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5203 Check whether GST_DEBUG_NO_COLOR environment variable is
5204 set and disable coloured debug output if that is the case.
5206 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5208 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5209 (gst_type_find_helper):
5210 The memory returned by gst_type_find_peek() needs to
5211 stay valid until the end of a typefind function, and
5212 typefind functions may keep results from different
5213 offsets around, so we can't just unref the buffer from
5214 the previous _peek(), but have to save all buffers
5215 returned by _peek() until typefinding is done and only
5218 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5220 * docs/gst/gstreamer-sections.txt:
5222 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5224 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5226 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5227 Fix a pretty good memleak.
5229 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5231 * gst/gstiterator.h:
5232 Fix wrong include and 'make distcheck'.
5234 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5236 * gst/gstbin.c: (bin_bus_handler):
5237 Use gst_element_post_message() instead.
5239 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5241 * gst/base/gstadapter.h:
5242 * gst/base/gstbasesink.h:
5243 * gst/base/gstbasesrc.h:
5244 * gst/base/gstbasetransform.h:
5245 * gst/base/gstcollectpads.h:
5246 * gst/base/gstpushsrc.h:
5247 * gst/gstiterator.h:
5248 Add padding to our base elements' class and instance structs and
5249 to GstIterator (you will need to rebuild all plugins and apps!)
5251 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5253 * gst/gstbin.c: (bin_bus_handler):
5254 Make default message forwarding from child->bus to bin->bus
5255 threadsafe and make it not emit warnings if the parent has no bus.
5257 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5259 * gst/gstelement.c: (activate_pads):
5260 On paused->ready, set pad->caps to NULL, as is the documented
5261 behaviour in this state change. Fixes playback of series of
5262 media files when visualization is enabled in Totem.
5264 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5266 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5267 Allow NULL as filter-caps (which means "any").
5269 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5271 * docs/libs/gstreamer-libs-sections.txt:
5272 * libs/gst/controller/gst-controller.c:
5273 * libs/gst/controller/gst-controller.h:
5274 * libs/gst/controller/gst-helper.c:
5275 adding more entries to the docs and fix small doc-bugs
5277 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5279 * docs/gst/gstreamer-docs.sgml:
5280 * docs/gst/gstreamer-sections.txt:
5281 * docs/gst/gstreamer.types:
5282 * docs/gst/tmpl/gstbasesink.sgml:
5283 * docs/gst/tmpl/gstbasesrc.sgml:
5284 * docs/gst/tmpl/gstbasetransform.sgml:
5285 * docs/gst/tmpl/gstfakesrc.sgml:
5286 * gst/base/gstcollectpads.c:
5287 * gst/base/gstcollectpads.h:
5288 * libs/gst/controller/gst-controller.c:
5289 * libs/gst/controller/gst-controller.h:
5290 * libs/gst/controller/gst-helper.c:
5291 * libs/gst/controller/gst-interpolation.c:
5292 * libs/gst/controller/lib.c:
5293 added long/short desc for controller docs
5294 added collectpads base class docs
5295 added correct includes to base-class docs
5297 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5299 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5300 (gst_test_mono_source_set_property),
5301 (gst_test_mono_source_class_init), (GST_START_TEST),
5302 (gst_controller_suite):
5303 * docs/gst/gstreamer-docs.sgml:
5304 * docs/gst/gstreamer-sections.txt:
5305 * docs/gst/gstreamer.types:
5306 * docs/libs/gstreamer-libs-docs.sgml:
5307 * docs/libs/gstreamer-libs-sections.txt:
5308 * gst/base/gstadapter.c:
5309 * libs/gst/controller/gst-controller.c:
5310 (gst_controlled_property_new), (gst_controlled_property_free),
5311 (gst_controller_new_valist),
5312 (gst_controller_remove_properties_valist),
5313 (gst_controller_sink_values), (_gst_controller_finalize):
5314 * libs/gst/controller/gst-controller.h:
5315 * libs/gst/controller/gst-helper.c:
5316 (gst_object_control_properties), (gst_object_uncontrol_properties),
5317 (gst_object_get_controller), (gst_object_set_controller),
5318 (gst_object_sink_values), (gst_object_get_value_arrays),
5319 (gst_object_get_value_array):
5320 more tests (and fixes) for the controller
5321 more docs for the controller
5322 integrated companies docs for the adapter
5324 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5326 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5327 (GST_START_TEST), (fakesrc_suite):
5328 add tests for sizetype
5330 2005-08-04 Andy Wingo <wingo@pobox.com>
5332 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5333 fixes buffer_alloc proxying among other things.
5335 * gst/base/gstbasetransform.c:
5336 * gst/base/gstbasetransform.h:
5337 Revert patch to gstbasetransform from 7-28 removing
5340 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5341 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5342 Semantics changed, should return not the size of the output buffer
5343 but the byte size of a buffer with a given caps.
5345 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5347 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5348 out) are not the pad caps until setcaps finishes.
5349 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5350 not-in-place case as well. Deal with changing from in-place to
5351 not-in-place within calling pad_alloc_buffer. Still a bit
5352 concerned about the overhead here...
5354 2005-08-03 Andy Wingo <wingo@pobox.com>
5356 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5357 fixating is an error.
5359 2005-08-04 Edward Hervey <edward@fluendo.com>
5361 * gst/base/gstadapter.h:
5362 Added gst_adapter_get_type() to the header
5364 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5366 * check/Makefile.am:
5367 * check/gst-libs/controller.c:
5368 * libs/gst/controller/gst-controller.c:
5369 (gst_controller_new_valist):
5370 added check test suite for the controller
5371 * gst/base/gstpushsrc.c:
5374 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5376 * docs/gst/Makefile.am:
5377 * docs/gst/gstreamer-docs.sgml:
5378 * docs/gst/gstreamer-sections.txt:
5379 * docs/gst/gstreamer.types:
5380 * docs/gst/tmpl/gstfakesrc.sgml:
5382 * gst/base/gstbasesink.c:
5383 * gst/base/gstbasesink.h:
5384 * gst/base/gstbasesrc.c:
5385 * gst/base/gstbasesrc.h:
5386 * gst/base/gstbasetransform.c:
5387 * gst/base/gstpushsrc.c:
5388 * gst/base/gstpushsrc.h:
5389 add short/long description docs to base classes
5390 add pushsrc to the docs
5391 remove consolidated doc fragments
5393 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5396 * docs/libs/Makefile.am:
5397 * docs/libs/gstreamer-libs-docs.sgml:
5398 * docs/libs/gstreamer-libs-sections.txt:
5399 * docs/libs/gstreamer-libs.types:
5400 * examples/Makefile.am:
5401 * examples/controller/.cvsignore:
5402 * examples/controller/Makefile.am:
5403 * examples/controller/audio-example.c: (main):
5404 * libs/gst/Makefile.am:
5405 * libs/gst/controller/.cvsignore:
5406 * libs/gst/controller/Makefile.am:
5407 * libs/gst/controller/gst-controller.c:
5408 (on_object_controlled_property_changed), (gst_timed_value_compare),
5409 (gst_timed_value_find),
5410 (gst_controlled_property_set_interpolation_mode),
5411 (gst_controlled_property_new), (gst_controlled_property_free),
5412 (gst_controller_find_controlled_property),
5413 (gst_controller_new_valist), (gst_controller_new),
5414 (gst_controller_remove_properties_valist),
5415 (gst_controller_remove_properties), (gst_controller_set),
5416 (gst_controller_set_from_list), (gst_controller_unset),
5417 (gst_controller_get), (gst_controller_get_all),
5418 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5419 (gst_controller_get_value_array),
5420 (gst_controller_set_interpolation_mode),
5421 (_gst_controller_finalize), (_gst_controller_init),
5422 (_gst_controller_class_init), (gst_controller_get_type):
5423 * libs/gst/controller/gst-controller.h:
5424 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5425 (g_object_uncontrol_properties), (g_object_get_controller),
5426 (g_object_set_controller), (g_object_sink_values),
5427 (g_object_get_value_arrays), (g_object_get_value_array):
5428 * libs/gst/controller/gst-interpolation.c:
5429 (gst_controlled_property_find_timed_value_node),
5430 (interpolate_none_get), (interpolate_trigger_get),
5431 (interpolate_trigger_get_value_array):
5432 * libs/gst/controller/lib.c: (gst_controller_init):
5433 * pkgconfig/Makefile.am:
5434 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5435 * pkgconfig/gstreamer-control.pc.in:
5436 * testsuite/Makefile.am:
5437 * testsuite/controller/.cvsignore:
5438 * testsuite/controller/Makefile.am:
5439 * testsuite/controller/interpolator.c: (main):
5440 added controller code
5441 removed dparam pc files
5443 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5444 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5445 (gst_collectpads_stop):
5446 Broadcast the condition when shutting down, to make sure we wake all
5447 threads up. Shut down pads on finalize, for safety.
5449 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5450 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5451 (gst_base_transform_handle_buffer),
5452 (gst_base_transform_change_state):
5453 Handle PAUSED->READY->PAUSED transition after negotiation
5455 * gst/gstmessage.c: (gst_message_init):
5456 Extra piece of debug for new messages.
5458 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5461 * docs/gst/tmpl/gstbasesrc.sgml:
5462 * docs/gst/tmpl/gstelement.sgml:
5463 * docs/gst/tmpl/gstevent.sgml:
5464 * docs/gst/tmpl/gstfakesrc.sgml:
5465 * docs/gst/tmpl/gstformat.sgml:
5466 * docs/gst/tmpl/gstghostpad.sgml:
5467 * docs/gst/tmpl/gstpad.sgml:
5468 * docs/gst/tmpl/gstquery.sgml:
5469 * docs/gst/tmpl/gststructure.sgml:
5470 * docs/gst/tmpl/gsttaglist.sgml:
5471 * docs/gst/tmpl/gstvalue.sgml:
5472 * docs/libs/gstreamer-libs-docs.sgml:
5473 * docs/libs/gstreamer-libs-sections.txt:
5474 * docs/libs/gstreamer-libs.types:
5475 * libs/gst/Makefile.am:
5476 * libs/gst/control/.cvsignore:
5477 * libs/gst/control/Makefile.am:
5478 * libs/gst/control/control.c:
5479 * libs/gst/control/control.h:
5480 * libs/gst/control/dparam.c:
5481 * libs/gst/control/dparam.h:
5482 * libs/gst/control/dparam_smooth.c:
5483 * libs/gst/control/dparam_smooth.h:
5484 * libs/gst/control/dparamcommon.h:
5485 * libs/gst/control/dparammanager.c:
5486 * libs/gst/control/dparammanager.h:
5487 * libs/gst/control/dplinearinterp.c:
5488 * libs/gst/control/dplinearinterp.h:
5489 * libs/gst/control/unitconvert.c:
5490 * libs/gst/control/unitconvert.h:
5491 * testsuite/Makefile.am:
5492 * testsuite/dynparams/.cvsignore:
5493 * testsuite/dynparams/Makefile.am:
5494 * testsuite/dynparams/dparamstest.c:
5495 * tools/Makefile.am:
5496 * tools/gst-inspect.c: (print_element_info), (main):
5497 * tools/gst-xmlinspect.c: (print_element_info), (main):
5498 deactivate and remove dparams (libgstcontrol)
5500 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5502 * gst/elements/gsttypefindelement.c:
5503 (gst_type_find_element_have_type), (gst_type_find_element_init),
5504 (stop_typefinding), (gst_type_find_element_handle_event),
5505 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5506 * gst/elements/gsttypefindelement.h:
5507 Set caps on all outgoing buffers, not just the first one.
5509 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5511 * gst/elements/gsttypefindelement.c:
5512 (gst_type_find_element_have_type),
5513 (gst_type_find_element_check_set_buffer_caps),
5514 (gst_type_find_element_init), (stop_typefinding),
5515 (gst_type_find_element_handle_event),
5516 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5517 * gst/elements/gsttypefindelement.h:
5518 Set caps on first outgoing buffer when we've found the type.
5520 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5522 * docs/gst/gstreamer-docs.sgml:
5523 * docs/gst/gstreamer-sections.txt:
5524 * docs/gst/tmpl/gstscheduler.sgml:
5525 * docs/gst/tmpl/gstschedulerfactory.sgml:
5526 Remove some old cruft from docs.
5528 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5531 Fix inline docs for GstPadLinkReturn.
5533 * gst/gststructure.c: (gst_structure_has_name):
5534 * gst/gststructure.h:
5535 * docs/gst/gstreamer-sections.txt:
5536 New API: gst_structure_has_name().
5538 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5541 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5542 and _LARGEFILE_SOURCE in config.h as required. Do not
5543 export those flags in our .pc files any longer (#142209).
5545 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5547 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5548 (gst_file_sink_do_seek), (gst_file_sink_event),
5549 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5550 Redo seek/tell calls with large file support in mind; add some
5551 debugging messages; add log message that tells us when large
5552 file support is unavailable or not enabled for some reason.
5554 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5555 Add log message that tells us when large file support
5556 is unavailable or not enabled for some reason.
5558 2005-07-29 Wim Taymans <wim@fluendo.com>
5560 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5561 Added test for removing an element with ghostpad from a bin.
5562 Fixed test as current implementation does the right thing.
5564 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5565 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5566 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5567 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5568 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5569 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5570 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5571 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5572 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5573 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5574 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5575 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5576 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5577 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5578 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5579 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5580 * gst/gstghostpad.h:
5581 Clean up ghostpads, remove properties for internal stuff.
5584 Prepare for switching targets, not all use cases work yet.
5586 2005-07-29 Wim Taymans <wim@fluendo.com>
5588 * docs/design/part-gstghostpad.txt:
5591 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5592 (gst_bin_remove_func):
5593 Unlinking pads while holding the bin LOCK is not a good
5596 * gst/gstpad.c: (gst_pad_class_init),
5597 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5598 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5599 No prob setting template after creating the pad.
5601 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5603 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5604 (gst_bus_peek), (gst_bus_source_dispatch),
5605 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5606 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5607 gst_bus_poll may be called from other threads. Handle
5608 this nicely by not making poll_data disappear off the
5609 stack once gst_bus_poll returns.
5610 gst_bus_peek now increments the refcount on the returned
5613 2005-07-29 Wim Taymans <wim@fluendo.com>
5615 * docs/design/part-gstghostpad.txt:
5616 Overview of current GhostPad datastructures and use
5617 cases for changing the target.
5619 2005-07-28 Wim Taymans <wim@fluendo.com>
5621 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5622 Added checks for hierarchy consistency whan adding linked
5625 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5626 Added check to test element scheduling without bin/pipeline.
5628 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5629 First add elements to bin, then link.
5631 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5632 (gst_bin_remove_func):
5633 Unlink pads from elements added/removed from bin to maintain
5634 hierarchy consistency.
5636 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5638 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5639 (gst_base_transform_handle_buffer):
5640 * gst/base/gstbasetransform.h:
5641 Remove broken delay_configure (fixes renegotiation of software
5642 scaling pipelines); remove some leftover printf()s.
5644 2005-07-28 Wim Taymans <wim@fluendo.com>
5646 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5647 Added some more tests for wrong hierarchy
5649 * docs/design/part-overview.txt:
5652 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5655 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5656 (gst_element_dispose):
5659 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5660 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5661 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5662 (gst_pad_set_caps), (gst_pad_send_event):
5663 Check for correct hierarchy when linking pads. Moving to
5664 strict requirement for ghostpads when linking elements in
5668 Clean ups. Added WRONG_HIERARCHY return value.
5670 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5672 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5673 Better debug if no transform is possible.
5675 2005-07-27 Wim Taymans <wim@fluendo.com>
5677 * docs/random/wtay/network-transp:
5680 2005-07-27 Wim Taymans <wim@fluendo.com>
5682 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5683 (gst_dp_event_from_packet):
5684 Fix serialization of seek events.
5686 2005-07-27 Wim Taymans <wim@fluendo.com>
5688 * check/gst-libs/gdp.c: (GST_START_TEST):
5689 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5690 Fix compilation and fix event serialization.
5692 2005-07-27 Wim Taymans <wim@fluendo.com>
5695 * docs/design/part-TODO.txt:
5696 * docs/design/part-events.txt:
5699 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5700 (gst_base_sink_event), (gst_base_sink_do_sync),
5701 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5702 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5703 (gst_base_src_do_seek), (gst_base_src_event_handler),
5704 (gst_base_src_loop):
5705 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5706 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5707 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5708 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5709 (gst_base_transform_set_passthrough),
5710 (gst_base_transform_is_passthrough):
5711 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5712 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5718 * gst/gstelement.c: (gst_element_seek):
5720 Update gst_element_seek.
5722 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5723 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5724 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5725 (gst_event_new_eos), (gst_event_new_newsegment),
5726 (gst_event_parse_newsegment), (gst_event_new_tag),
5727 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5728 (gst_event_parse_qos), (gst_event_new_seek),
5729 (gst_event_parse_seek), (gst_event_new_navigation):
5731 Make GstEvent use GstStructure. Add parsing code, make sure the
5732 API is sufficiently generic.
5733 Mark possible directions of events and serialization.
5735 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5736 (_gst_message_copy), (gst_message_new_segment_start),
5737 (gst_message_new_segment_done), (gst_message_new_custom),
5738 (gst_message_parse_segment_start),
5739 (gst_message_parse_segment_done):
5742 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5743 (gst_pad_set_caps), (gst_pad_send_event):
5744 Update for new events.
5745 Catch events sent in wrong directions.
5747 * gst/gstqueue.c: (gst_queue_link_src),
5748 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5749 (gst_queue_handle_src_query):
5754 Remove event code from this file.
5756 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5757 (gst_dp_event_from_packet):
5760 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5762 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5763 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5764 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5765 Make debugging actually useful.
5767 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5769 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5770 (gst_pad_fixate_caps):
5771 Implement default fixation once again, so that gst_pad_fixate()
5772 actually does anything at all. This probably needs to be some
5773 sort of a last resort, and use profile-based fixation first, but
5774 since that doesn't exist yet, this is the best we have. Fixes
5775 visualization in Totem.
5777 2005-07-22 Wim Taymans <wim@fluendo.com>
5779 * docs/design/part-events.txt:
5782 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5783 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5784 (gst_base_sink_activate_pull):
5787 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5788 (gst_fake_src_create):
5789 Fix handoff marshall.
5791 * gst/elements/gstidentity.c: (gst_identity_class_init),
5792 (gst_identity_transform_ip):
5793 We're a real inplace element.
5795 * gst/gstbus.c: (gst_bus_post):
5796 Added some comments.
5798 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5799 * tests/muxing/case1.c: (main):
5800 * tests/sched/dynamic-pipeline.c: (main):
5801 * tests/sched/interrupt1.c: (main):
5802 * tests/sched/interrupt2.c: (main):
5803 * tests/sched/interrupt3.c: (main):
5804 * tests/sched/runxml.c: (main):
5805 * tests/sched/sched-stress.c: (main):
5806 * tests/seeking/seeking1.c: (event_received), (main):
5807 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5809 * tests/threadstate/threadstate3.c: (main):
5810 * tests/threadstate/threadstate4.c: (main):
5811 * tests/threadstate/threadstate5.c: (main):
5814 2005-07-21 Wim Taymans <wim@fluendo.com>
5816 * docs/design/part-seeking.txt:
5817 Some small additions.
5819 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5820 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5821 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5822 * gst/base/gstbasesink.h:
5823 discont values are gint64, handle the math correctly.
5825 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5826 Make the basesrc report error if the source pad is not linked.
5828 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5829 (gst_queue_loop), (gst_queue_handle_src_query),
5830 (gst_queue_src_activate_push):
5831 Make queue collect data even if the srcpad is not linked.
5832 Start pushing out data as soon as it is linked.
5834 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5836 Added gst_flow_get_name() to ease error reporting.
5838 2005-07-20 Wim Taymans <wim@fluendo.com>
5840 * gst/gstmessage.c: (gst_message_new_segment_start),
5841 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5842 (gst_message_parse_segment_done):
5844 Added a bunch of messages for advanced seeking.
5846 * gst/parse/grammar.y:
5847 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5848 (gst_dpman_state_changed):
5849 Fix some new-pad -> pad-added signals
5851 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5853 * docs/manual/appendix-porting.xml:
5854 * docs/pwg/appendix-porting.xml:
5855 Document new-pad/state-change signal renames and the FixedList
5858 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5860 * docs/manual/advanced-autoplugging.xml:
5861 * docs/manual/basics-helloworld.xml:
5862 * docs/manual/basics-pads.xml:
5863 * docs/random/ds/0.9-suggested-changes:
5864 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5869 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5870 (gst_structure_parse_array), (gst_structure_parse_value):
5871 * gst/gstvalue.c: (gst_type_is_fixed),
5872 (gst_value_list_prepend_value), (gst_value_list_append_value),
5873 (gst_value_list_get_size), (gst_value_list_get_value),
5874 (gst_value_transform_array_string), (gst_value_serialize_array),
5875 (gst_value_deserialize_array), (gst_value_intersect_array),
5876 (gst_value_is_fixed), (_gst_value_initialize):
5878 GstElement::new-pad -> pad-added, GstElement::state-change ->
5879 state-changed, GstValueFixedList -> GstValueArray, add format and
5880 flags as their own arguments in gst_element_seek() (should improve
5881 "bindeability"), remove function generators since they don't work
5882 under a whole bunch of compilers (they were deprecated already
5885 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5887 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5888 (_gst_debug_register_funcptr):
5890 Fix illegal cast on some platforms (#309253).
5892 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5894 * gst/gstmessage.c: (gst_message_new_custom):
5896 Add _new_custom, make _new_application a macro to _new_custom.
5898 2005-07-20 Wim Taymans <wim@fluendo.com>
5900 * gst/base/gstbasesrc.c: (gst_base_src_init),
5901 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5902 * gst/base/gstbasesrc.h:
5903 Add a gboolean to decide when to push out a discont.
5905 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5906 (gst_queue_loop), (gst_queue_handle_src_query),
5907 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5908 (gst_queue_set_property), (gst_queue_get_property):
5911 * tests/threadstate/threadstate1.c: (main):
5912 Make a thread test compile and run... very silly..
5915 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5917 * docs/manual/appendix-porting.xml:
5918 Mention removal of libgstgconf-0.9.la and existence of gconf
5921 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5923 * docs/pwg/advanced-clock.xml:
5924 * docs/pwg/appendix-porting.xml:
5925 * docs/pwg/intro-preface.xml:
5926 * docs/pwg/other-base.xml:
5927 * docs/pwg/other-manager.xml:
5928 * docs/pwg/other-nton.xml:
5929 * docs/pwg/other-ntoone.xml:
5930 * docs/pwg/other-oneton.xml:
5932 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5933 demuxer), remove n-to-n (was never written), fix some code examples
5934 and links and update the porting section to include all this.
5936 2005-07-19 Wim Taymans <wim@fluendo.com>
5938 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5939 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5940 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5941 (gst_queue_src_activate_push), (gst_queue_change_state),
5942 (gst_queue_get_property):
5944 Propagate GstFlowReturn more intelligently upstream and output
5945 an ERROR/EOS when streaming stopped due to fatal error.
5947 2005-07-19 Wim Taymans <wim@fluendo.com>
5949 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5950 Don't block forever for the state change to complete, the
5951 pipeline already did with a sensible timeout.
5953 2005-07-19 Wim Taymans <wim@fluendo.com>
5955 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5956 Make sure we never call the create function is we
5959 2005-07-19 Andy Wingo <wingo@pobox.com>
5961 * gst/parse/parse.l: Attempt to solve bug #172815.
5963 2005-07-19 Wim Taymans <wim@fluendo.com>
5965 * docs/design/part-clocks.txt:
5966 * docs/design/part-events.txt:
5967 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5969 Only update the seeking values when we are not
5972 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5974 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5975 Oops, ignore the result of gst_pad_push_event here.
5977 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5979 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5980 (gst_base_src_activate_push):
5981 Send discont event from the loop function, as pads
5982 aren't activated yet in the activate_push handler.
5984 * gst/gstbin.c: (bin_bus_handler):
5985 Don't leak element name.
5987 2005-07-18 Andy Wingo <wingo@pobox.com>
5989 * configure.ac: Use AS_LIBTOOL_TAGS.
5991 2005-07-18 Wim Taymans <wim@fluendo.com>
5993 * docs/gst/gstreamer.types:
5994 Remove deleted types.
5996 2005-07-18 Wim Taymans <wim@fluendo.com>
5998 * check/elements/gstfakesrc.c: (GST_START_TEST):
6001 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6002 (init_popt_callback):
6004 * gst/gst_private.h:
6005 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6006 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6009 * gst/gstconfig.h.in:
6010 * gst/gstelement.c: (gst_element_class_init),
6011 (gst_element_set_base_time), (gst_element_get_base_time),
6012 (iterator_fold_with_resync), (gst_element_change_state),
6013 (gst_element_dispose), (gst_element_get_bus):
6015 * gst/gstelementfactory.h:
6016 * gst/gsterror.c: (_gst_core_errors_init):
6019 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6021 * gst/gstinfo.c: (_gst_debug_init):
6022 * gst/gstmessage.c: (_gst_message_copy):
6024 * gst/gstminiobject.h:
6027 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6028 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6031 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6032 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6033 (gst_pipeline_get_last_stream_time):
6034 * gst/gstpipeline.h:
6035 * gst/gstpluginfeature.h:
6037 * gst/gstscheduler.c:
6038 * gst/gstscheduler.h:
6039 * gst/gststructure.h:
6040 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6041 (gst_task_finalize), (gst_task_func), (gst_task_create),
6042 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6043 (gst_task_stop), (gst_task_pause):
6045 * gst/gsttypefind.h:
6047 * gst/registries/gstlibxmlregistry.c: (load_feature),
6048 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6049 * gst/registries/gstxmlregistry.c:
6050 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6051 * gst/schedulers/threadscheduler.c:
6052 * libs/gst/control/dparammanager.h:
6053 * tools/gst-inspect.c: (print_element_list),
6054 (print_plugin_features), (print_element_features):
6055 * tools/gst-xmlinspect.c: (print_element_list),
6056 (print_plugin_info), (main):
6057 Removed plugable schedulers.
6058 Removed Scheduler/Manager from elements.
6059 Removed gsttypes.h, rearranged includes.
6060 Removed dependency pad<->element, element<>pipeline, and
6061 various others, fix includes.
6062 implement gst_pad_get_parent() with gst_object_get_parent()
6063 Make GstTask sefcontained.
6064 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6066 Fix endless loop in iterator_fold_with_resync.
6069 2005-07-18 Wim Taymans <wim@fluendo.com>
6075 2005-07-18 Wim Taymans <wim@fluendo.com>
6080 2005-07-18 Wim Taymans <wim@fluendo.com>
6086 2005-07-18 Wim Taymans <wim@fluendo.com>
6088 * docs/design/part-dynamic.txt:
6089 * docs/design/part-events.txt:
6090 * docs/design/part-seeking.txt:
6091 Some more docs in the works.
6093 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6094 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6095 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6096 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6097 (gst_base_transform_handle_buffer),
6098 (gst_base_transform_sink_activate_push),
6099 (gst_base_transform_src_activate_pull),
6100 (gst_base_transform_set_passthrough),
6101 (gst_base_transform_is_passthrough):
6104 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6107 * gst/gstevent.c: (gst_event_finalize):
6110 * gst/gstutils.c: (gst_element_unlink),
6111 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6112 (gst_pad_proxy_setcaps):
6114 Add _get_parent_element() to get a pads parent as an element.
6116 2005-07-18 Wim Taymans <wim@fluendo.com>
6118 * check/gst/gstbin.c: (GST_START_TEST):
6121 2005-07-18 Wim Taymans <wim@fluendo.com>
6123 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6124 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6125 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6126 (gst_base_sink_event), (gst_base_sink_do_sync),
6127 (gst_base_sink_chain), (gst_base_sink_loop),
6128 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6129 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6131 Fix logic for returning ASYNC when not prerolled.
6133 2005-07-18 Wim Taymans <wim@fluendo.com>
6135 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6136 Fix nasty refcount bug.
6138 2005-07-16 Philippe Khalaf <burger@speedy.org>
6140 * gst/elements/gstfdsrc.c:
6141 * gst/elements/gstfdsrc.h:
6142 * gst/elements/gstelements.c:
6143 * gst/elements/Makefile.am:
6144 Ported fdsrc to 0.9.
6146 2005-07-16 Wim Taymans <wim@fluendo.com>
6148 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6149 (gst_base_sink_do_sync):
6152 2005-07-16 Wim Taymans <wim@fluendo.com>
6154 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6155 (gst_base_sink_event), (gst_base_sink_get_times),
6156 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6157 * gst/base/gstbasesink.h:
6158 Store and use discont values when syncing buffers as described
6161 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6162 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6163 (gst_base_src_activate_push):
6164 Push discont event when starting.
6166 * gst/elements/gstidentity.c: (gst_identity_transform):
6169 * gst/gstbin.c: (gst_bin_change_state):
6170 Small cleanups in base_time distribution.
6172 * gst/gstelement.c: (gst_element_set_base_time),
6173 (gst_element_get_base_time), (gst_element_change_state):
6175 Added methods for the base_time of the element.
6178 * gst/gstpipeline.c: (gst_pipeline_send_event),
6179 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6180 (gst_pipeline_get_last_stream_time):
6181 * gst/gstpipeline.h:
6183 Handle seeking as described in design doc, remove stream_time
6185 Cleanups clock and stream_time selection code. Added accessors
6186 for the stream_time.
6189 2005-07-16 Andy Wingo <wingo@pobox.com>
6191 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6194 2005-07-16 Wim Taymans <wim@fluendo.com>
6196 * check/gst/gstbin.c: (GST_START_TEST):
6197 Make elements silent as the deep_notify refs the
6198 parent, which might make the test fail.
6200 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6201 Don't hold the lock for too long.
6203 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6205 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6206 Don't unref the caps we passed to gst_caps_make_writable() after
6207 passing them. gst_caps_make_writable() will do that for us.
6209 2005-07-15 Andy Wingo <wingo@pobox.com>
6211 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6214 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6215 own marshalling function for the handoff signal. Properly type the
6216 buffer as a buffer. Fixes some warnings. Should do a more general
6218 (gst_identity_class_init): Plug into the right marshaller.
6220 2005-07-15 Wim Taymans <wim@fluendo.com>
6222 * docs/design/part-TODO.txt:
6223 * docs/design/part-clocks.txt:
6224 * docs/design/part-element-sink.txt:
6225 * docs/design/part-events.txt:
6226 * docs/design/part-gstpipeline.txt:
6227 Updated docs, mostly DISCONT related.
6229 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6231 * docs/pwg/building-pads.xml:
6232 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6234 2005-07-15 Andy Wingo <wingo@pobox.com>
6236 * tools/gst-typefind.c: Update, add copyright block.
6238 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6239 Normalize and truncate caps before fixation.
6242 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6243 discards all but the first structure from its argument.
6245 2005-07-15 Wim Taymans <wim@fluendo.com>
6247 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6248 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6249 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6250 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6251 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6252 (gst_base_transform_chain), (gst_base_transform_change_state),
6253 (gst_base_transform_set_passthrough),
6254 (gst_base_transform_is_passthrough):
6255 * gst/base/gstbasetransform.h:
6256 Make passthrough work using the bufferpools.
6257 Changed API a bit, subclasses have to write into a buffer
6258 provided by the base class.
6259 More debug info in nego functions.
6261 * gst/elements/gstidentity.c: (gst_identity_init),
6262 (gst_identity_transform):
6263 Port to new base class.
6265 2005-07-15 Wim Taymans <wim@fluendo.com>
6267 * gst/gstmessage.c: (gst_message_new_state_changed):
6268 * tools/gst-launch.c: (event_loop), (main):
6269 Totally dump messages in -launch with the -m option.
6270 Fix message name for State messages,
6272 2005-07-14 Wim Taymans <wim@fluendo.com>
6274 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6275 Post error messages on errors.
6277 2005-07-14 Wim Taymans <wim@fluendo.com>
6279 * gst/gstcaps.c: (gst_caps_do_simplify):
6283 Define error for stream stopped.
6285 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6286 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6287 Do proper return values.
6289 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6290 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6291 (gst_pad_get_range):
6292 Better return values.
6295 Reorganise return values, add macro to check for fatal errors.
6297 * gst/gstqueue.c: (gst_queue_chain):
6298 Return proper GstFlowReturn values,
6300 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6302 * docs/gst/gstreamer-sections.txt:
6303 * docs/gst/gstreamer.types:
6304 * docs/gst/tmpl/gst.sgml:
6305 * docs/gst/tmpl/gstbasesink.sgml:
6306 * docs/gst/tmpl/gstbasesrc.sgml:
6307 * docs/gst/tmpl/gstbasetransform.sgml:
6308 * docs/gst/tmpl/gstbin.sgml:
6309 * docs/gst/tmpl/gstbuffer.sgml:
6310 * docs/gst/tmpl/gstcaps.sgml:
6311 * docs/gst/tmpl/gstclock.sgml:
6312 * docs/gst/tmpl/gstcompat.sgml:
6313 * docs/gst/tmpl/gstconfig.sgml:
6314 * docs/gst/tmpl/gstelement.sgml:
6315 * docs/gst/tmpl/gstelementdetails.sgml:
6316 * docs/gst/tmpl/gstelementfactory.sgml:
6317 * docs/gst/tmpl/gstenumtypes.sgml:
6318 * docs/gst/tmpl/gsterror.sgml:
6319 * docs/gst/tmpl/gstevent.sgml:
6320 * docs/gst/tmpl/gstfakesink.sgml:
6321 * docs/gst/tmpl/gstfakesrc.sgml:
6322 * docs/gst/tmpl/gstfilesink.sgml:
6323 * docs/gst/tmpl/gstfilesrc.sgml:
6324 * docs/gst/tmpl/gstfilter.sgml:
6325 * docs/gst/tmpl/gstformat.sgml:
6326 * docs/gst/tmpl/gstghostpad.sgml:
6327 * docs/gst/tmpl/gstimplementsinterface.sgml:
6328 * docs/gst/tmpl/gstindex.sgml:
6329 * docs/gst/tmpl/gstindexfactory.sgml:
6330 * docs/gst/tmpl/gstinfo.sgml:
6331 * docs/gst/tmpl/gstiterator.sgml:
6332 * docs/gst/tmpl/gstmacros.sgml:
6333 * docs/gst/tmpl/gstmemchunk.sgml:
6334 * docs/gst/tmpl/gstminiobject.sgml:
6335 * docs/gst/tmpl/gstobject.sgml:
6336 * docs/gst/tmpl/gstpad.sgml:
6337 * docs/gst/tmpl/gstpadtemplate.sgml:
6338 * docs/gst/tmpl/gstparse.sgml:
6339 * docs/gst/tmpl/gstpipeline.sgml:
6340 * docs/gst/tmpl/gstplugin.sgml:
6341 * docs/gst/tmpl/gstpluginfeature.sgml:
6342 * docs/gst/tmpl/gstquery.sgml:
6343 * docs/gst/tmpl/gstqueue.sgml:
6344 * docs/gst/tmpl/gstregistry.sgml:
6345 * docs/gst/tmpl/gstregistrypool.sgml:
6346 * docs/gst/tmpl/gstscheduler.sgml:
6347 * docs/gst/tmpl/gstschedulerfactory.sgml:
6348 * docs/gst/tmpl/gststructure.sgml:
6349 * docs/gst/tmpl/gstsystemclock.sgml:
6350 * docs/gst/tmpl/gsttaglist.sgml:
6351 * docs/gst/tmpl/gsttagsetter.sgml:
6352 * docs/gst/tmpl/gsttrace.sgml:
6353 * docs/gst/tmpl/gsttrashstack.sgml:
6354 * docs/gst/tmpl/gsttypefind.sgml:
6355 * docs/gst/tmpl/gsttypefindfactory.sgml:
6356 * docs/gst/tmpl/gsttypes.sgml:
6357 * docs/gst/tmpl/gsturihandler.sgml:
6358 * docs/gst/tmpl/gsturitype.sgml:
6359 * docs/gst/tmpl/gstutils.sgml:
6360 * docs/gst/tmpl/gstvalue.sgml:
6361 * docs/gst/tmpl/gstversion.sgml:
6362 * docs/gst/tmpl/gstxml.sgml:
6363 * docs/libs/tmpl/gstcontrol.sgml:
6364 * docs/libs/tmpl/gstdataprotocol.sgml:
6365 * docs/libs/tmpl/gstdparam.sgml:
6366 * docs/libs/tmpl/gstdplinint.sgml:
6367 * docs/libs/tmpl/gstdpman.sgml:
6368 * docs/libs/tmpl/gstdpsmooth.sgml:
6369 * docs/libs/tmpl/gstgetbits.sgml:
6370 * docs/libs/tmpl/gstunitconvert.sgml:
6371 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6372 (gst_push_src_base_init), (gst_push_src_class_init),
6373 (gst_push_src_init), (gst_push_src_create):
6374 * gst/base/gstpushsrc.h:
6375 * gst/elements/gstelements.c:
6376 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6377 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6378 (gst_fake_sink_init), (gst_fake_sink_set_property),
6379 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6380 (gst_fake_sink_event), (gst_fake_sink_preroll),
6381 (gst_fake_sink_render), (gst_fake_sink_change_state):
6382 * gst/elements/gstfakesink.h:
6383 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6384 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6385 (gst_fake_src_base_init), (gst_fake_src_class_init),
6386 (gst_fake_src_init), (gst_fake_src_event_handler),
6387 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6388 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6389 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6390 (gst_fake_src_create_buffer), (gst_fake_src_create),
6391 (gst_fake_src_start), (gst_fake_src_stop):
6392 * gst/elements/gstfakesrc.h:
6393 * gst/elements/gstfilesink.c: (_do_init),
6394 (gst_file_sink_base_init), (gst_file_sink_class_init),
6395 (gst_file_sink_init), (gst_file_sink_dispose),
6396 (gst_file_sink_set_location), (gst_file_sink_set_property),
6397 (gst_file_sink_get_property), (gst_file_sink_open_file),
6398 (gst_file_sink_close_file), (gst_file_sink_query),
6399 (gst_file_sink_event), (gst_file_sink_render),
6400 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6401 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6402 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6403 * gst/elements/gstfilesink.h:
6404 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6405 (gst_file_src_class_init), (gst_file_src_init),
6406 (gst_file_src_finalize), (gst_file_src_set_location),
6407 (gst_file_src_set_property), (gst_file_src_get_property),
6408 (gst_file_src_map_region), (gst_file_src_map_small_region),
6409 (gst_file_src_create_mmap), (gst_file_src_create_read),
6410 (gst_file_src_create), (gst_file_src_is_seekable),
6411 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6412 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6413 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6414 (gst_file_src_uri_handler_init):
6415 * gst/elements/gstfilesrc.h:
6416 more autistic cleanliness in functions/names/defines
6418 2005-07-13 Andy Wingo <wingo@pobox.com>
6420 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6421 source couldn't negotiate.
6423 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6427 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6428 function. I am channeling Hades. Put your boots on suckers!!!
6430 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6432 * testsuite/caps/Makefile.am:
6433 * testsuite/caps/value_compare.c:
6434 * testsuite/caps/value_intersect.c:
6435 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6436 move two testsuite apps over to the check dir
6438 2005-07-12 Wim Taymans <wim@fluendo.com>
6440 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6441 Added more debug info in the negotiate process.
6444 Prepare for segment playback.
6446 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6452 * tools/gst-launch.c: (main):
6453 NULL pipeline on errors.
6455 2005-07-12 Andy Wingo <wingo@pobox.com>
6457 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6458 not it comes from a malloc region. Make sure our copy gets freed.
6460 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6462 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6463 * check/gst/gstmessage.c: (GST_START_TEST):
6464 * check/gst/gststructure.c: (GST_START_TEST),
6465 (gst_structure_suite), (main):
6467 * gst/gstelement.c: (gst_element_message_full):
6468 clean up GError and debug string now that they get copied
6469 * gst/gstmessage.c: (gst_message_new_error),
6470 (gst_message_new_warning), (gst_message_parse_error),
6471 (gst_message_parse_warning):
6472 use GST_TYPE_G_ERROR for structure_new, and take copies of
6473 arguments, so that we don't mess up refcounting
6475 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6477 * check/Makefile.am:
6478 add per-test valgrind targets
6479 * check/gst-libs/gdp.c: (GST_START_TEST),
6480 (gst_data_protocol_suite), (main):
6483 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6485 * check/Makefile.am:
6486 instate more valgrindable tests
6487 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6488 (GST_START_TEST), (fakesrc_suite):
6489 * check/gst/gstpad.c: (GST_START_TEST):
6490 * check/gst/gststructure.c: (GST_START_TEST):
6492 * docs/gst/tmpl/gstminiobject.sgml:
6493 * gst/gstpad.c: (gst_pad_finalize):
6494 fix the static mutex leak
6496 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6498 * check/Makefile.am:
6499 add two more tests for valgrinding
6500 * check/gst/gstvalue.c: (GST_START_TEST):
6501 test refcount of deserialized buffer, found a leak
6502 * docs/gst/gstreamer-docs.sgml:
6503 * docs/gst/gstreamer-sections.txt:
6504 * docs/gst/gstreamer.types:
6505 * docs/gst/tmpl/gstminiobject.sgml:
6506 add miniobject to docs
6507 * gst/gstminiobject.c:
6509 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6510 (gst_string_unwrap):
6511 fix a hard-to-find invalid write for one of the tests
6512 fix a leak for deserialized buffers
6514 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6516 * docs/pwg/advanced-events.xml:
6517 * docs/pwg/advanced-request.xml:
6518 * docs/pwg/advanced-scheduling.xml:
6519 * docs/pwg/appendix-porting.xml:
6520 * docs/pwg/building-boiler.xml:
6521 * docs/pwg/intro-preface.xml:
6522 * docs/pwg/other-ntoone.xml:
6523 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6524 of example code and explanation for pad activation, loop() and
6525 getrange() functions and a bit more. Remove old comments pointing
6527 * examples/pwg/Makefile.am:
6528 Add loop/getrange examples.
6530 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6533 check for valgrind binary + some fixes
6535 valgrind suppressions for the tests
6536 * check/Makefile.am:
6537 add a valgrind: target that valgrinds the unit tests
6538 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6539 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6540 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6541 * check/gst/gstghostpad.c:
6543 * check/gst/gstdata.c:
6545 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6546 (thread_unref), (gst_mini_object_suite), (main):
6548 * gst/gst.c: (gst_deinit):
6550 add a method to clean up.
6551 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6552 (gst_system_clock_obtain):
6553 allow for disposing the system clock.
6554 * tools/gst-launch.c: (main):
6557 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6559 * docs/gst/tmpl/gstbasesrc.sgml:
6560 * docs/gst/tmpl/gstfakesrc.sgml:
6561 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6562 (gst_base_src_init), (gst_base_src_set_property),
6563 (gst_base_src_get_property), (gst_base_src_get_range),
6564 (gst_base_src_start):
6565 * gst/base/gstbasesrc.h:
6566 add num-buffers property
6567 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6568 (gst_fakesrc_init), (gst_fakesrc_set_property),
6569 (gst_fakesrc_get_property), (gst_fakesrc_create),
6570 (gst_fakesrc_start):
6571 remove num-buffers property
6573 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6575 * docs/gst/gstreamer-sections.txt:
6576 * docs/gst/tmpl/gstbasesink.sgml:
6577 * docs/gst/tmpl/gstbasesrc.sgml:
6578 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6579 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6580 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6581 (gst_base_sink_set_property), (gst_base_sink_get_property),
6582 (gst_base_sink_handle_object), (gst_base_sink_event),
6583 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6584 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6585 (gst_base_sink_loop), (gst_base_sink_deactivate),
6586 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6587 (gst_base_sink_change_state):
6588 * gst/base/gstbasesink.h:
6589 * gst/base/gstbasesrc.h:
6590 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6591 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6592 (gst_filesink_init):
6593 more macro splitting
6595 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6597 * gst/gstelement.c: (gst_element_get_bus):
6599 * tools/gst-launch.c: (check_intr), (event_loop):
6602 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6604 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6607 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6609 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6610 (gst_base_src_finalize):
6611 add finalize method and clean up properly
6612 * gst/gstpipeline.c: (gst_pipeline_dispose):
6615 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6617 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6619 add more things to check
6620 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6624 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6626 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6627 (GST_START_TEST), (fakesrc_suite):
6628 * check/gst-libs/gdp.c: (GST_START_TEST):
6629 * check/gst/gst.c: (GST_START_TEST):
6630 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6631 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6632 * check/gst/gstbus.c: (GST_START_TEST):
6633 * check/gst/gstcaps.c: (GST_START_TEST):
6634 * check/gst/gstdata.c: (GST_START_TEST):
6635 * check/gst/gstelement.c: (GST_START_TEST):
6636 * check/gst/gstghostpad.c: (GST_START_TEST):
6637 * check/gst/gstiterator.c: (GST_START_TEST):
6638 * check/gst/gstmessage.c: (GST_START_TEST):
6639 * check/gst/gstobject.c: (GST_START_TEST):
6640 * check/gst/gstpad.c: (GST_START_TEST):
6641 * check/gst/gststructure.c: (GST_START_TEST):
6642 * check/gst/gstsystemclock.c: (GST_START_TEST),
6643 (gst_systemclock_suite):
6644 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6645 * check/gst/gstvalue.c: (GST_START_TEST):
6646 * check/pipelines/cleanup.c: (GST_START_TEST):
6647 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6648 * check/states/sinks.c: (GST_START_TEST):
6649 * check/gstcheck.c: (gst_check_init):
6651 add debugging category
6652 use GST_START_TEST now, so we add a debug line
6654 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6656 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6657 add test for state change message on a bin
6658 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6660 * gst/gstbin.c: (gst_bin_init):
6661 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6662 * gst/gstelement.c: (gst_element_post_message),
6663 (gst_element_set_state):
6664 * gst/gstelementfactory.c: (gst_element_factory_create):
6665 * gst/gstmessage.c: (gst_message_new):
6666 * gst/gstscheduler.c:
6667 various debugging additions and cleanups
6669 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6671 * check/Makefile.am:
6672 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6674 adding tests for elements
6675 * gst/gstelement.c: (gst_element_dispose):
6677 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6679 * gst/registries/gstlibxmlregistry.c: (load_feature):
6680 plug more leaks. A simple gst_init() now is leakfree, yay.
6682 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6684 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6685 (gst_xml_registry_load):
6686 plug another memleak
6688 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6691 use GST_SET_ERROR_CFLAGS
6693 change to ERROR_CFLAGS
6695 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6698 make GST_ERROR_CFLAGS overridable and re-enable Werror
6700 add a note about error CFLAGS
6701 * docs/gst/tmpl/gstfakesrc.sgml:
6702 * gst/elements/gstfakesrc.c:
6703 comment out some unused code
6704 * gst/gst.c: (split_and_iterate):
6705 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6709 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6711 * common/Makefile.am:
6712 * common/gtk-doc.mak:
6713 * docs/gst/Makefile.am:
6714 factor out gtk-doc.mak
6716 2005-07-07 Wim Taymans <wim@fluendo.com>
6718 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6719 (gst_thread_scheduler_dispose):
6720 Unlock the STREAM_LOCK completely.
6722 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6724 * check/Makefile.am:
6725 * check/elements/.cvsignore:
6726 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6727 (START_TEST), (fakesrc_suite), (main):
6728 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6729 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6730 (gst_fakesrc_create), (gst_fakesrc_start):
6731 * gst/elements/gstfakesrc.h:
6732 adding a first element test
6734 2005-07-07 Andy Wingo <wingo@pobox.com>
6736 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6739 2005-07-07 Wim Taymans <wim@fluendo.com>
6745 2005-07-07 Wim Taymans <wim@fluendo.com>
6747 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6748 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6749 Allow subclasses to implement their own negotiation.
6751 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6753 * docs/design/part-gstbin.txt:
6754 * docs/design/part-gstpipeline.txt:
6755 Update design notes to reflect the movement of
6756 responsibility for bus handling from GstPipeline to
6759 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6762 Remove unnecessary queue2/3/4 examples.
6764 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6766 * examples/Makefile.am:
6767 * examples/helloworld/helloworld.c: (event_loop), (main):
6768 * examples/queue/queue.c: (event_loop), (main):
6769 * examples/queue2/queue2.c: (main):
6770 Update a couple of the examples to work again.
6772 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6773 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6774 Spelling corrections and extra debug.
6776 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6777 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6778 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6780 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6781 (gst_pipeline_change_state):
6782 * gst/gstpipeline.h:
6783 Move the bus handler for children to the GstBin, and create a
6784 separate bus for receiving messages from children to the one the
6785 bus sends 'upwards' on.
6787 2005-07-06 Wim Taymans <wim@fluendo.com>
6790 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6791 (gst_base_sink_handle_object), (gst_base_sink_loop),
6792 (gst_base_sink_change_state):
6793 * gst/base/gstbasesink.h:
6794 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6795 (gst_base_src_init), (gst_base_src_setcaps),
6796 (gst_base_src_getcaps), (gst_base_src_loop),
6797 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6798 (gst_base_src_start), (gst_base_src_change_state):
6799 * gst/base/gstbasesrc.h:
6800 Make basesrc negotiate.
6801 Handle the case where preroll fails in basesink.
6804 2005-07-06 Wim Taymans <wim@fluendo.com>
6806 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6807 Implement the fixate function.
6808 Clean up acceptcaps.
6810 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6812 * docs/pwg/building-filterfactory.xml:
6814 Remove never-written filter-factory chapter; I'll add the various
6815 base classes to part 4 ("other element types") later on.
6817 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6819 * docs/pwg/advanced-negotiation.xml:
6820 * docs/pwg/building-boiler.xml:
6821 * docs/pwg/building-pads.xml:
6823 * examples/pwg/Makefile.am:
6824 Add a chapter on caps negotiation, simplify the original code
6825 samples a bit w.r.t. caps negotiation, add link to the advanced
6826 section. Add a bunch of examples showing different use cases of
6827 different types of caps negotiation. Upstream renegotiation isn't
6828 fully documented yet since nobody knows how that works.
6830 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6832 * check/gst/gstpad.c:
6834 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6835 if pad has no parent, return NULL as list of internal links
6837 2005-07-05 Andy Wingo <wingo@pobox.com>
6839 * gst/elements/gstfilesrc.c:
6840 * gst/elements/gstfakesrc.c:
6841 * gst/base/gstpushsrc.c:
6842 * gst/base/gstbasesrc.h:
6843 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6845 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6848 better report generation target (lcov needs a patch)
6850 2005-07-05 Andy Wingo <wingo@pobox.com>
6852 * gst/elements, testsuite: Null if we got it...
6854 2005-07-05 Wim Taymans <wim@fluendo.com>
6857 * libs/gst/dataprotocol/Makefile.am:
6858 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6859 * libs/gst/dataprotocol/dataprotocol.h:
6860 * pkgconfig/Makefile.am:
6861 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6862 * pkgconfig/gstreamer-dataprotocol.pc.in:
6863 Ported dataprotol to 0.9.
6864 Added pkgconfig files.
6866 2005-07-05 Andy Wingo <wingo@pobox.com>
6868 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6869 Default to returning TRUE for the case when tranform_caps returns
6870 a fixed caps, like for identity or volume.
6872 * check/gst/gstbus.c (pound_bus_with_messages):
6873 * check/gst/gstmessage.c (START_TEST):
6874 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6877 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6878 logic weaks here: always run transform_caps, trying passthrough
6879 operation only if the original caps intersects with the transform.
6881 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6882 source and sink caps.
6884 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6885 Intersect the peer caps with the pad template before going into
6887 (gst_base_transform_transform_caps): More debugging.
6889 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6892 2005-07-04 Edward Hervey <edward@fluendo.com>
6896 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6899 2005-07-04 Andy Wingo <wingo@pobox.com>
6901 * check/gst/gstpad.c: Only set explicit caps on pads.
6903 2005-07-01 Andy Wingo <wingo@pobox.com>
6905 * tests/network-clock.scm: Commentary update.
6907 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6908 Didn't really make sense, not implementable with basetransform,
6910 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6911 attempt at implementing the sync property, needs an unlock method.
6913 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6914 New func, by default returns the same caps (the identity
6916 (gst_base_transform_getcaps): Uses transform_caps to return
6918 (gst_base_transform_setcaps): Complicated logic to get caps on
6919 both pads, even if they are different, and to call set_caps once
6920 for every time both pads get their caps set.
6921 (gst_base_transform_handle_buffer): Give the ref to the transform
6922 function. Allows in-place modification of the buffer.
6924 * gst/base/gstbasetransform.h (transform_caps): New class method.
6925 Given caps on one side, what can I do on the other.
6926 (set_caps): Take two caps, one for each side of the element.
6929 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6930 caps in place. This is safe because we can check the mutability of
6931 the caps, and a good idea because fixate functions are just called
6932 as a matter of last resort. (Not actually implemented.)
6933 (gst_pad_set_caps): If the caps we're setting is actually the same
6934 as the existing pad caps, just update the pointer without calling
6935 setcaps. Assert that caps is either NULL or fixed, as per the
6938 * gst/gstghostpad.c: Update for fixate changes.
6940 2005-07-02 Andy Wingo <wingo@pobox.com>
6943 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6944 two refcounts makes it immutable, which is enough. Doc more.
6946 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6948 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6949 Put the mini_object into GValue as a mini_object,
6950 not a gpointer, since that's how we declared
6953 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6955 * examples/pwg/Makefile.am:
6958 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6960 * docs/pwg/building-testapp.xml:
6962 * examples/pwg/Makefile.am:
6965 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6968 * examples/Makefile.am:
6969 * examples/pwg/Makefile.am:
6970 * examples/pwg/extract.pl:
6971 Enable building the PWG examples.
6972 * docs/pwg/advanced-interfaces.xml:
6973 Add URI interface stub.
6974 * docs/pwg/advanced-types.xml:
6975 * docs/pwg/other-autoplugger.xml:
6976 * docs/pwg/appendix-porting.xml:
6978 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6979 * docs/pwg/building-boiler.xml:
6980 * docs/pwg/building-chainfn.xml:
6981 * docs/pwg/building-pads.xml:
6982 * docs/pwg/building-props.xml:
6983 * docs/pwg/building-state.xml:
6984 * docs/pwg/building-testapp.xml:
6985 Update the building-*.xml parts for 0.9 changes. All examples
6986 code blocks compile in examples/pwg/*.
6988 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6990 * docs/manual/advanced-autoplugging.xml:
6991 * docs/manual/appendix-checklist.xml:
6992 * docs/manual/appendix-integration.xml:
6993 * docs/manual/highlevel-components.xml:
6994 Fix playbin/decodebin examples, update docs a bit, mention bus
6995 instead of signals in various places, mention kmplayer and
6996 kaffeine since they have a working GStreamer backend in the KDE
6999 2005-06-30 Wim Taymans <wim@fluendo.com>
7002 * docs/design/draft-ghostpads.txt:
7003 * docs/design/draft-push-pull.txt:
7004 * docs/design/draft-query.txt:
7005 * docs/design/part-TODO.txt:
7006 * docs/design/part-query.txt:
7007 Added CHANGES-0.9 doc, updated status of other docs.
7012 2005-06-30 Wim Taymans <wim@fluendo.com>
7014 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7015 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7016 (gst_base_sink_change_state):
7017 * gst/base/gstbasesink.h:
7018 Some tweaks, only EOS and a buffer complete a preroll.
7020 2005-06-30 Andy Wingo <wingo@pobox.com>
7022 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7023 activate_push down to the internal pad as well.
7025 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7027 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7029 * gst/gsttaginterface.c:
7030 Some documentation fixes (#307394 and #307397).
7032 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7034 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7036 * gst/gstvalue.c: (gst_value_intersect_list):
7037 Fix memleak (#309125).
7039 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7041 * docs/manual/advanced-dataaccess.xml:
7042 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7043 * docs/manual/basics-pads.xml:
7044 Add reference for filtered caps to above chapter.
7046 2005-06-30 Wim Taymans <wim@fluendo.com>
7048 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7049 (gst_bin_change_state):
7051 Lame attempt at making the state change function a bit
7054 2005-06-30 Wim Taymans <wim@fluendo.com>
7056 * docs/design/part-clocks.txt:
7057 * docs/design/part-element-sink.txt:
7058 * docs/design/part-events.txt:
7059 * docs/design/part-preroll.txt:
7060 * docs/design/part-states.txt:
7061 Some more tweeks and additions to the docs.
7063 2005-06-30 Wim Taymans <wim@fluendo.com>
7065 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7066 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7067 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7068 (gst_pad_check_pull_range), (gst_pad_get_range),
7069 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7071 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7072 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7073 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7074 (gst_pad_remove_buffer_probe):
7075 Removed atomic operations, use existing LOCK.
7076 Move exception handling out of main code path.
7078 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7080 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7081 (silly_return_true_function), (gst_pad_class_init),
7082 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7083 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7084 (gst_pad_send_event):
7085 Fix accumulator, add default value by using _emitv() instead
7086 of _emit() for signal emission.
7088 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7090 * docs/manual/advanced-dataaccess.xml:
7091 * examples/manual/Makefile.am:
7093 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7096 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7098 * gst/elements/gstfilesink.c: (gst_filesink_render):
7099 Simplify code so that we don't have to handle short
7100 writes and return GST_FLOW_ERROR if an error occured.
7102 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7104 * docs/gst/gstreamer-docs.sgml:
7107 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7109 * docs/gst/gstreamer-sections.txt:
7110 * docs/gst/tmpl/gstpad.sgml:
7111 * docs/gst/tmpl/gstprobe.sgml:
7113 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7114 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7115 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7116 (gst_pad_push_event), (gst_pad_send_event):
7118 * gst/gstutils.c: (gst_pad_add_data_probe),
7119 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7120 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7121 (gst_pad_remove_buffer_probe):
7123 Remove old probes, add new g-signal-based probes and some utility
7126 2005-06-29 Edward Hervey <edward@fluendo.com>
7128 * gst/gstelementfactory.c:
7131 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7132 the definition to the header file.
7134 2005-06-29 Andy Wingo <wingo@pobox.com>
7136 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7137 plugins from the source directory.
7139 2005-06-29 Wim Taymans <wim@fluendo.com>
7141 * docs/gst/tmpl/gstbuffer.sgml:
7142 * docs/gst/tmpl/gstclock.sgml:
7143 Some fixings for blantently wrong text.
7145 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7147 * check/Makefile.am:
7148 * gst/gst.c: (add_path_func), (init_pre):
7149 * gst/gstregistry.c: (gst_registry_add_path):
7150 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7151 only scan the GST_PLUGIN_PATH locations, and not add
7154 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7156 * docs/gst/gstreamer-sections.txt:
7157 * docs/gst/tmpl/gstbasesrc.sgml:
7164 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7166 * docs/manual/advanced-autoplugging.xml:
7167 Fix autoplugging example.
7169 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7171 * docs/manual/advanced-autoplugging.xml:
7172 * docs/manual/mime-world.fig:
7173 Try to get autoplugging working, fix type detection. Fix text
7174 in hello-world image.
7176 2005-06-29 Wim Taymans <wim@fluendo.com>
7178 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7179 (gst_base_sink_change_state):
7183 map SIGNAL and BROADCAST to the right function.
7186 Remove redundant braces.
7188 * gst/gstpad.c: (gst_pad_set_caps):
7189 Don't call setcaps function when reseting caps to NULL.
7191 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7192 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7193 (gst_system_clock_id_unschedule):
7194 Use BROADCAST as this is what we do.
7196 2005-06-29 Wim Taymans <wim@fluendo.com>
7198 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7199 We are actually prerolling before commiting the state
7202 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7204 * docs/manual/advanced-clocks.xml:
7205 * docs/manual/advanced-interfaces.xml:
7206 * docs/manual/advanced-metadata.xml:
7207 * docs/manual/advanced-position.xml:
7208 * docs/manual/advanced-schedulers.xml:
7209 * docs/manual/advanced-threads.xml:
7210 * docs/manual/appendix-porting.xml:
7211 * docs/manual/basics-bins.xml:
7212 * docs/manual/basics-bus.xml:
7213 * docs/manual/basics-elements.xml:
7214 * docs/manual/basics-helloworld.xml:
7215 * docs/manual/basics-pads.xml:
7216 * docs/manual/highlevel-components.xml:
7217 * docs/manual/manual.xml:
7218 * docs/manual/thread.fig:
7219 Update (until threads/scheduling) Application Development Manual;
7220 remove GstThread, add GstBus, add simple porting checklist, add
7221 documentation for tag writing, clocks, make all examples until this
7222 part compile and run.
7223 * examples/manual/Makefile.am:
7224 Update from changes to Application Development Manual; add bus
7225 example, remove thread example.
7227 2005-06-28 Wim Taymans <wim@fluendo.com>
7229 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7230 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7231 (gst_bus_source_dispatch):
7232 Add debugging messages.
7233 Make internal methods static.
7234 Handle the case where the bus is flushed in the handler.
7236 * gst/gstelement.c: (gst_element_get_bus):
7237 Fix refcount in _get_bus();
7239 * gst/gstpipeline.c: (gst_pipeline_change_state),
7240 (gst_pipeline_get_clock_func):
7241 Clock refcounting fixes.
7242 Handle the case where preroll timed out more gracefully.
7244 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7245 Clean up the internal thread in dispose. This is needed
7246 for subclasses that actually get disposed.
7248 * gst/schedulers/threadscheduler.c:
7249 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7250 (gst_thread_scheduler_dispose):
7251 Free thread pool in dispose.
7253 2005-06-28 Andy Wingo <wingo@pobox.com>
7255 * tests/network-clock-utils.scm (debug, print-event): New utils.
7257 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7258 (*packet-loss*): Unified loss probability.
7259 (network-time): Report out-of-band events.
7261 * tests/plot-data: Add support for out-of-band events. Hack it
7262 into this script instead of passing it down the pipe; should fix
7265 2005-06-28 Wim Taymans <wim@fluendo.com>
7267 * docs/gst/gstreamer.types:
7268 * docs/gst/tmpl/gstbasesrc.sgml:
7269 * docs/gst/tmpl/gstpad.sgml:
7272 2005-06-28 Wim Taymans <wim@fluendo.com>
7274 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7275 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7276 (gst_proxy_pad_do_fixatecaps):
7277 Correctly proxy the check_pull_range function.
7279 2005-06-28 Andy Wingo <wingo@pobox.com>
7281 * tests/network-clock.scm: Removed need for slib.
7283 2005-06-28 Wim Taymans <wim@fluendo.com>
7285 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7286 (gst_basesink_preroll_queue_flush):
7287 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7288 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7289 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7290 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7291 (gst_proxy_pad_set_property):
7294 * gst/gstqueue.c: (gst_queue_init):
7295 The deprecated pad loop function is removed now.
7297 2005-06-28 Andy Wingo <wingo@pobox.com>
7299 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7300 New parameters, simulate network packet loss.
7302 * tests/network-clock-utils.scm: Initialize the RNG.
7304 2005-06-28 Wim Taymans <wim@fluendo.com>
7306 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7307 (gst_basesink_event), (gst_basesink_deactivate):
7308 Flushing the preroll queue always needs to unlock the waiters.
7310 2005-06-28 Edward Hervey <edward@fluendo.com>
7312 * gst/gstpipeline.c: (gst_pipeline_send_event):
7313 Wheen a seek was successful on a pipeline, set the stream_time to the
7314 seek offset in order to have a synchronized stream_time.
7316 2005-06-28 Wim Taymans <wim@fluendo.com>
7318 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7319 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7320 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7321 (gst_proxy_pad_do_fixatecaps):
7322 Call wrapper function instead of just calling the function
7323 pointers. This takes care of any locking and whatmore.
7325 2005-06-28 Wim Taymans <wim@fluendo.com>
7327 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7328 (gst_pad_pull_range):
7330 CONNECTED -> LINKED.
7332 2005-06-28 Andy Wingo <wingo@pobox.com>
7334 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7335 source-munging commit!!!
7337 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7338 (gst_object_sink): Take gpointer arguments, not GstObject --
7339 avoids casts. Like GLib.
7341 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7344 2005-06-27 Andy Wingo <wingo@pobox.com>
7346 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7349 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7350 returns a sorted copy of the trace list.
7351 (gst_alloc_trace_print_live): New API, only prints traces with
7352 live objects. Sort the list.
7353 (gst_alloc_trace_print_all): Sort the list.
7354 (gst_alloc_trace_print): Align columns.
7356 * gst/elements/gstttypefindelement.c:
7357 * gst/elements/gsttee.c:
7358 * gst/base/gstbasesrc.c:
7359 * gst/base/gstbasesink.c:
7360 * gst/base/gstbasetransform.c:
7361 * gst/gstqueue.c: Adapt for pad activation changes.
7363 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7365 (gst_pipeline_dispose): Drop ref on sched.
7367 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7368 (gst_pad_activate_default): Push mode by default.
7369 (pre_activate_switch, post_activate_switch): New stubs, things to
7370 do before and after switching activation modes on pads.
7371 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7372 the pad's activate function to choose which mode to activate.
7373 Shortcut on deactivation and call the right function directly.
7374 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7376 (gst_pad_activate_push): New API, same for push mode.
7377 (gst_pad_set_activate_function)
7378 (gst_pad_set_activatepull_function)
7379 (gst_pad_set_activatepush_function): Setters for new API.
7381 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7382 Trace all miniobjects.
7383 (gst_mini_object_make_writable): Unref the arg if we copy, like
7384 gst_caps_make_writable.
7386 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7388 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7389 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7390 Adapt for new pad API.
7392 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7395 * gst/gstelement.c (gst_element_iterate_src_pads)
7396 (gst_element_iterate_sink_pads): New API functions.
7398 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7399 should fold into gstiterator.c in some form.
7400 (gst_element_pads_activate): Simplified via use of fold and
7401 delegation of decisions to gstpad->activate.
7403 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7406 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7407 class once in init, like gstmessage. Didn't run into this issue
7408 but it seems correct. Don't initialize a trace, gstminiobject does
7411 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7412 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7414 (assert_live_count): New util function, uses alloc traces to check
7417 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7418 To be modified when unlink drops the internal pad.
7420 2005-06-27 Wim Taymans <wim@fluendo.com>
7422 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7423 (gst_bin_change_state):
7424 Cleanup the get_state() function a little, make sure it
7425 iterates the same set of elements.
7426 Added stub iterate_state_order().
7428 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7430 * docs/gst/gstreamer-docs.sgml:
7431 * docs/gst/gstreamer-sections.txt:
7432 * docs/gst/gstreamer.types:
7433 * docs/gst/tmpl/gstbasesink.sgml:
7434 * docs/gst/tmpl/gstbasesrc.sgml:
7435 * docs/gst/tmpl/gstbasetransform.sgml:
7436 * docs/gst/tmpl/gstelement.sgml:
7437 * docs/gst/tmpl/gstiterator.sgml:
7438 * gst/base/gstbasesrc.c:
7439 * gst/base/gstbasesrc.h:
7440 * gst/base/gstbasetransform.h:
7442 * gst/gstiterator.h:
7443 adding basetransform and iterator docs
7445 2005-06-27 Andy Wingo <wingo@pobox.com>
7447 * docs/design/part-activation.txt: Notes on how activation should
7448 work -- not quite implemented yet.
7450 2005-06-25 Wim Taymans <wim@fluendo.com>
7452 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7453 At least get the chain function correct, needs more
7456 2005-06-25 Wim Taymans <wim@fluendo.com>
7458 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7459 (gst_basesink_handle_object), (gst_basesink_event),
7460 (gst_basesink_do_sync), (gst_basesink_handle_event),
7461 (gst_basesink_change_state):
7463 Right, two problems here: ghostpads don't take locks and
7464 glib _rec_mutex_lock_full() with depth==0 still locks.
7465 Catch illegal locking and g_warn them.
7467 2005-06-25 Wim Taymans <wim@fluendo.com>
7469 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7470 Have to check for completion now...
7472 2005-06-25 Wim Taymans <wim@fluendo.com>
7474 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7475 (gst_basesink_handle_object), (gst_basesink_event),
7476 (gst_basesink_do_sync), (gst_basesink_handle_event),
7477 (gst_basesink_change_state):
7479 Unlock STREAM_LOCK whatever the recursion was.
7481 2005-06-25 Wim Taymans <wim@fluendo.com>
7483 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7484 (gst_basesink_preroll_queue_empty),
7485 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7486 (gst_basesink_event), (gst_basesink_do_sync),
7487 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7488 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7489 (gst_basesink_change_state):
7490 Reworked the base sink, handle event and buffer serialisation
7491 correctly and removed possible deadlock.
7492 Handle EOS correctly.
7494 2005-06-25 Wim Taymans <wim@fluendo.com>
7496 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7497 (gst_pipeline_change_state):
7498 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7499 Allow elements to post EOS in the state change function.
7500 Fix up -launch, make it exit the poll loop when the
7501 pipeline actually changed state.
7502 Fix up warning parsing in -launch.
7504 2005-06-25 Wim Taymans <wim@fluendo.com>
7506 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7507 (gst_tee_sink_activate):
7508 Core takes STREAM_LOCK for us now.
7510 2005-06-25 Wim Taymans <wim@fluendo.com>
7512 * gst/gstelement.c: (gst_element_get_state_func),
7513 (gst_element_set_state):
7515 * gst/gstmessage.c: (gst_message_parse_error),
7516 (gst_message_parse_warning):
7517 Keep track of current target state while performing a state
7518 change so that subclasses can do something interesting.
7519 Fix parsing of warning/error messages when GError is NULL.
7521 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7523 * docs/gst/Makefile.am:
7524 * docs/gst/gstreamer-docs.sgml:
7525 * docs/gst/gstreamer-sections.txt:
7526 * docs/gst/gstreamer.types:
7527 * docs/gst/tmpl/gstbasesink.sgml:
7528 * docs/gst/tmpl/gstbasesrc.sgml:
7529 * docs/gst/tmpl/gstbin.sgml:
7530 * docs/gst/tmpl/gstcompat.sgml:
7531 * docs/gst/tmpl/gstfakesink.sgml:
7532 * docs/gst/tmpl/gstfakesrc.sgml:
7533 * docs/gst/tmpl/gstfilesink.sgml:
7534 * docs/gst/tmpl/gstfilesrc.sgml:
7535 * docs/gst/tmpl/gstindex.sgml:
7536 * docs/manual/appendix-quotes.xml:
7537 * gst/base/gstbasesrc.h:
7538 * gst/elements/gstfakesrc.h:
7540 start pulling in base classes and elements in our docs
7542 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7544 * docs/gst/Makefile.am:
7545 * docs/libs/Makefile.am:
7546 fixed make distcheck with gtk-doc 1.3
7548 2005-06-23 Wim Taymans <wim@fluendo.com>
7550 * gst/gstelement.c: (gst_element_get_state_func),
7551 (gst_element_set_state), (gst_element_change_state):
7552 When the state did not change, also report NO_PREROLL
7555 2005-06-23 Wim Taymans <wim@fluendo.com>
7557 * gst/gstpad.c: (gst_pad_event_default):
7558 * gst/gstqueue.c: (gst_queue_loop):
7559 No unsafe task pausing please.
7561 2005-06-23 Wim Taymans <wim@fluendo.com>
7563 * gst/schedulers/threadscheduler.c:
7564 (gst_thread_scheduler_task_start),
7565 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7566 Ref the task before pushing it on the threadpool. This
7567 makes sure that we have a ref when the threadfunction is
7570 2005-06-23 Andy Wingo <wingo@pobox.com>
7572 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7573 offset is greater than the file's size.
7575 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7576 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7577 * gst/gstobject.c (gst_object_class_init): Make the class lock
7578 recursive. Wim won't let me drop deep_notify. Decodebin works
7581 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7582 internal pad, and hacks accordingly. Doesn't do it on the target
7583 pad because we change its caps. Probably catches all cases of
7585 (gst_ghost_pad_set_property): Connect to notify::caps as
7588 * tests/network-clock.scm (plot-simulation): Pipe data to the
7589 elite python skript.
7591 * tests/network-clock-utils.scm (define-parameter): New macro,
7592 defines a parameter that can be set via the command line.
7593 (set-parameter!, parse-parameter-arguments): Command line args
7596 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7599 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7601 * gst/elements/gsttypefindelement.c:
7602 (gst_type_find_element_handle_event):
7603 Don't restart typefinding on a discont.
7604 * gst/gstelement.c: (gst_element_set_state):
7606 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7607 Allow changing mode of an active pad.
7609 * gst/registries/gstlibxmlregistry.c: (load_feature):
7610 Don't cast a static pad template to a normal pad template.
7612 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7614 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7615 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7616 remove gst_strtoll completely, since it didn't actually do
7617 anything more than what g_ascii_strtoull already does.
7618 check for range errors when deserializing
7619 do a cast for the unsigned cases; but further fixing needs
7620 a decision on what the interpretation of "(int)" and
7621 deserialization should be for values that fall outside the
7622 type's boundaries (ie, refuse, or interpret as casting)
7624 2005-06-23 Wim Taymans <wim@fluendo.com>
7626 * check/Makefile.am:
7627 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7628 * docs/design/part-live-source.txt:
7629 * docs/design/part-states.txt:
7630 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7631 (gst_basesrc_set_live), (gst_basesrc_is_live),
7632 (gst_basesrc_get_range), (gst_basesrc_activate),
7633 (gst_basesrc_change_state):
7634 * gst/base/gstbasesrc.h:
7635 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7636 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7637 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7638 * gst/gstelement.c: (gst_element_get_state_func),
7639 (gst_element_set_state):
7642 * tools/gst-launch.c: (event_loop), (main):
7643 Added support for live sources and other elements that
7645 Updated design docs, added live-source design doc.
7646 Implemented live source functionality in basesrc
7647 Fix error condition in _bin_get_state()
7648 Implement live source handling in -launch.
7649 Added check for live sources.
7650 Fixed case in GstBin where elements were changed state
7654 2005-06-23 Andy Wingo <wingo@pobox.com>
7656 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7659 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7660 gst_caps_replace takes care of this for us.
7662 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7663 gst_pad_set_caps on the target, not just its setcaps() function.
7665 * tests/network-clock.scm:
7666 * tests/network-clock-utils.scm: A network clock simulator.
7667 Something of an algorithmic testbed before doing something in C.
7669 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7671 * check/Makefile.am:
7672 * check/gst/capslist.h:
7673 copy over from 0.8, and add two with bitmasks specified with
7675 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7676 add test to parse everything from capslist.h
7677 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7679 add test for structure deserialization
7680 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7681 add tests for deserialization of strings to int types
7682 * gst/gststructure.c: (gst_structure_nth_field_name):
7683 * gst/gststructure.h:
7684 add a way to get the name of a field referenced by index
7685 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7686 instead of checking if the resulting long long lies between
7687 min and max, we check if the long long would fit into
7688 a number of bytes for the final type.
7689 This fixes cases where a string represents 2^32 - 1, which
7690 when cast to int would be the (valid) -1, but is bigger than
7693 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7695 * gst/parse/grammar.y:
7696 add a log line for type deserialization
7698 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7700 * check/gst/gstvalue.c: (START_TEST):
7701 * gst/gstvalue.c: (gst_value_deserialize):
7702 return long long, not int, so gint64 deserialization actually
7703 works. Is there any flag that makes the compiler check this ?
7706 2005-06-22 Wim Taymans <wim@fluendo.com>
7709 Added convenience macros for setting buffers in GValue.
7711 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7713 * check/gst/.cvsignore:
7714 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7715 add a test deserializing int64, and comment part out because
7718 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7720 * check/Makefile.am:
7721 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7722 * testsuite/Makefile.am:
7723 * testsuite/caps/Makefile.am:
7724 * testsuite/caps/value_serialize.c:
7725 * testsuite/test_gst_init.c:
7726 move a value_serialize test over
7728 2005-06-20 Wim Taymans <wim@fluendo.com>
7733 * gst/gstvalue.c: (gst_value_compare_buffer),
7734 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7735 (gst_value_compare_flags), (gst_value_serialize_flags),
7736 (gst_value_deserialize_flags), (_gst_value_initialize):
7737 Fix serialisation of buffers, they are not boxed types anymore
7739 2005-06-20 Wim Taymans <wim@fluendo.com>
7741 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7742 Testcase to show error in buffer-on-caps serialisation.
7744 2005-06-20 Andy Wingo <wingo@pobox.com>
7746 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7747 will be adding to later.
7749 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7750 if its socks fill with rocks.
7751 (gst_system_clock_obtain): Set the name on object construction.
7752 Avoid double-checked locking.
7754 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7756 * gst/gsturi.c: (gst_element_make_from_uri):
7757 Fix potential endless loop.
7759 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7761 * check/Makefile.am:
7763 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7765 move over from testsuite dir and clean up
7768 * testsuite/Makefile.am:
7769 * testsuite/tags/.cvsignore:
7770 * testsuite/tags/Makefile.am:
7771 * testsuite/tags/merge.c:
7772 remove testsuite/tags
7774 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7776 * docs/gst/gstreamer-sections.txt:
7777 * docs/gst/tmpl/gstenumtypes.sgml:
7778 * win32/gstenumtypes.c:
7779 clean up documentation build a little
7781 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7784 add macros for checking refcounts on objects and caps
7785 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7786 add some more unit tests
7787 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7788 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7789 fix leaked refcounts (I hope :)) so unittest works
7793 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7795 * configure.ac: back to HEAD
7797 === release 0.9.1 ===
7799 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7805 2005-06-17 Andy Wingo <wingo@pobox.com>
7807 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7808 assert; it's always possible that the pad gets deactivated in
7809 between the checks in gstpad.c and the implementation. Rely on
7810 finish_preroll() to return a FLUSHING or similar instead of on the
7813 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7814 clock and post an EOS message if we come out of finish_preroll in
7817 2005-06-16 David Schleef <ds@schleef.org>
7819 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7820 (gst_capsfilter_set_property): Allow NULL as possible value
7821 for filter_caps property, indicating GST_CAPS_ANY.
7823 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7825 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7827 * gst/schedulers/Makefile.am:
7829 * gstreamer.spec.in:
7832 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7834 * gstreamer.spec.in:
7837 2005-06-08 Andy Wingo <wingo@pobox.com>
7839 * gst/gstutils.c: RPAD fixes all around.
7840 (gst_element_link_pads): Refcounting fixes.
7842 * tools/gst-inspect.c:
7843 * tools/gst-xmlinspect.c:
7845 * gst/base/gsttypefindhelper.c:
7846 * gst/base/gstbasesink.c:
7847 * gst/gstqueue.c: RPAD fixes.
7849 * gst/gstghostpad.h:
7850 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7851 pads. The tricky thing is they provide both source and sink
7852 interfaces, since they proxy the internal pad for the external
7853 pad, and vice versa. Implement with lower-level ProxyPad objects,
7854 with the interior proxy pad as a child of the exterior ghost pad.
7855 Should write a doc on this.
7857 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7858 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7861 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7862 pads are real pads. No ghost pads in this file. Not documenting
7863 the myriad s/RPAD/PAD/ and REALIZE fixes.
7864 (gst_pad_class_init): Add properties for "direction" and
7865 "template". Both are construct-only, so they can't change during
7866 the life of the pad. Fixes properly deriving from GstPad.
7867 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7868 derived objects, just set properties when creating the objects via
7870 (gst_pad_get_parent): Implement as a function, return NULL if the
7871 parent is not an element.
7872 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7873 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7875 * gst/gstobject.c (gst_object_class_init): Make name a construct
7876 property. Don't set it in the object init.
7878 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7879 with UNKNOWN direction.
7880 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7881 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7882 (gst_element_remove_pad): Remove ghost-pad special cases.
7883 (gst_element_pads_activate): Remove rpad cruft.
7885 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7886 catch the pad's-parent-not-an-element case.
7888 * gst/gst.h: Include gstghostpad.h.
7890 * gst/gst.c (init_post): No more real, ghost pads.
7892 * gst/Makefile.am: Add gstghostpad.[ch].
7894 * check/Makefile.am:
7895 * check/gst/gstbin.c:
7896 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7897 into a bin creates ghost pads, and that the refcounts are right.
7898 Partly moved from gstbin.c.
7900 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7902 * check/gst-libs/.cvsignore:
7903 * check/gst/.cvsignore:
7904 * check/pipelines/.cvsignore:
7906 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7907 (START_TEST), (cleanup_suite), (main):
7908 add some tests related to cleanup after running pipelines
7910 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7912 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7913 add a testsuite for GstBuffer
7915 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7917 * gst/gstminiobject.h:
7918 add defines for accessing the refcount
7920 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7922 * Makefile.am: added support for html unit test coverage reports
7924 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7926 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7927 Free existing caps if the capsfilter changes. Add a FIXME about
7928 setting those caps on the pads.
7930 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7931 Before adding a ghost pad to a parent bin, check that there isn't
7932 already one for the element on the bin. Prevents infinite recursion
7933 when using decodebin in parse pipelines. Andy says he'll rewrite the
7934 way this works anyway, so ignore the hack.
7936 2005-06-02 Andy Wingo <wingo@pobox.com>
7938 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7939 file size, pass it on to the type find helper.
7941 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7942 segment_start and segment_end properly according to the seek
7943 method. Segment_end is still a bit flaky because offset can be
7944 negative for CUR and END cases, but it takes -1 as an "unset"
7947 2005-06-02 Wim Taymans <wim@fluendo.com>
7949 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7950 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7951 (gst_basesink_activate):
7952 * gst/base/gstbasesink.h:
7953 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7954 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7955 (gst_pad_query), (gst_pad_start_task):
7957 * gst/gstqueue.c: (gst_queue_bufferalloc),
7958 (gst_queue_handle_sink_event), (gst_queue_chain):
7959 Bufferalloc: return GstFlowReturn to more accuratly report
7960 why allocation failed.
7962 2005-06-02 Wim Taymans <wim@fluendo.com>
7964 * gst/gstpipeline.c: (gst_pipeline_send_event):
7965 Take snapshot of state without blocking.
7967 2005-06-02 Wim Taymans <wim@fluendo.com>
7969 * docs/design/part-TODO.txt:
7970 * docs/design/part-caps.txt:
7971 * docs/design/part-clocks.txt:
7972 * docs/design/part-negotiation.txt:
7973 * docs/design/part-preroll.txt:
7976 2005-05-30 Wim Taymans <wim@fluendo.com>
7978 * gst/elements/gstidentity.c: (gst_identity_event),
7979 (gst_identity_transform), (gst_identity_get_property):
7980 Protect last_message property as it is accessed from
7983 2005-05-30 Wim Taymans <wim@fluendo.com>
7985 * gst/gstelement.c: (gst_element_init),
7986 (gst_element_pads_activate), (gst_element_change_state):
7987 Slicker pad activation code.
7989 2005-05-30 Wim Taymans <wim@fluendo.com>
7993 * gst/gstelementfactory.h:
7995 Move elementfactory methods to separate .h file.
7997 2005-05-30 Wim Taymans <wim@fluendo.com>
7999 * docs/design/part-overview.txt:
8000 * gst/gstsystemclock.h:
8001 Small typo fixes, doc updates.
8003 2005-05-30 Wim Taymans <wim@fluendo.com>
8005 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8006 (init_popt_callback):
8007 Remove cpu-opt flag.
8009 2005-05-30 Wim Taymans <wim@fluendo.com>
8011 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8012 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8014 Avoid typechecking in places where not needed.
8015 Added accessor for malloc_data.
8017 2005-05-30 Wim Taymans <wim@fluendo.com>
8019 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8020 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8021 (gst_pad_configure_sink), (gst_pad_configure_src),
8022 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8023 (gst_pad_start_task):
8024 Propagate errors from _set_caps() in configure_src/sink
8025 functions instead of returning TRUE.
8026 FLUSH events can travel up and downstream
8029 2005-05-30 Wim Taymans <wim@fluendo.com>
8031 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8032 (gst_basesink_activate):
8033 Handle EOS in preroll.
8035 2005-05-30 Wim Taymans <wim@fluendo.com>
8037 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8038 (gst_queue_loop), (gst_queue_handle_src_event):
8039 Remove old pieces of code
8040 Flushing the queue in an upstream event is a very bad idea.
8042 2005-05-26 Andy Wingo <wingo@pobox.com>
8044 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8045 gst_value_set_mini_object so as to add a ref on the object (which
8046 will be removed when the value is unset).
8048 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8049 arg type in ::handoff.
8051 * gst/gstelement.c (gst_element_change_state): Also deactivate
8052 pads in READY->NULL, just in case the element didn't make it to
8053 PAUSED. Wingo tested, Wim approved.
8055 2005-05-26 Wim Taymans <wim@fluendo.com>
8057 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8058 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8059 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8060 A flushing pad cannot be used to alloc_buffer from.
8062 2005-05-26 Wim Taymans <wim@fluendo.com>
8064 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8065 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8066 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8067 (gst_bus_create_watch), (gst_bus_add_watch_full):
8069 Implement a real GSource and use g_main_context_wakeup() to
8070 signal new messages instead of the socketpair.
8072 2005-05-25 Wim Taymans <wim@fluendo.com>
8074 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8075 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8076 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8077 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8078 (gst_pad_send_event), (gst_pad_start_task):
8079 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8080 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8081 (gst_queue_sink_activate), (gst_queue_src_activate),
8082 (gst_queue_change_state):
8084 Fix state changes for non sinks. We now change sinks, then elements
8085 with unconnected srcpads, then the rest.
8086 More efficient queue unlocking in flush and state changes.
8087 Set the pad activate mode even if it does not have an activate
8090 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8092 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8093 Don't go in pull mode for non-seekable sources.
8094 * gst/elements/gsttypefindelement.h:
8095 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8096 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8097 (free_entry), (stop_typefinding),
8098 (gst_type_find_element_handle_event), (find_peek),
8099 (gst_type_find_element_chain), (do_pull_typefind),
8100 (gst_type_find_element_change_state):
8101 Allow typefinding (w/o seeking) in push-mode, simplified version
8103 * gst/gstutils.c: (gst_buffer_join):
8105 gst_buffer_join() from 0.8.
8107 2005-05-25 Wim Taymans <wim@fluendo.com>
8109 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8110 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8111 (gst_pad_send_event), (gst_pad_start_task):
8112 Disable attempt at mode switching until it is figured out.
8114 2005-05-25 Wim Taymans <wim@fluendo.com>
8116 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8117 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8118 (gst_basesink_finish_preroll), (gst_basesink_chain),
8119 (gst_basesink_loop), (gst_basesink_activate),
8120 (gst_basesink_change_state):
8121 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8122 (gst_basesrc_get_range), (gst_basesrc_loop),
8123 (gst_basesrc_activate):
8124 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8125 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8126 (gst_real_pad_init), (gst_real_pad_set_property),
8127 (gst_real_pad_get_property), (gst_pad_set_active),
8128 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8129 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8130 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8131 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8132 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8133 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8134 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8135 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8136 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8137 (gst_pad_stop_task):
8139 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8140 (gst_queue_loop), (gst_queue_src_activate):
8141 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8142 (gst_task_get_state):
8144 * gst/schedulers/threadscheduler.c:
8145 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8146 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8148 Remove ACTIVE pad flag, use FLUSHING everywhere
8149 Added _pad_chain(), _pad_get_range() to call chain/getrange
8151 Add locks around IS_FLUSHING when reading.
8152 Take STREAM lock in chain(), get_range() functions so plugins
8153 don't need to take it anymore.
8157 2005-05-25 Wim Taymans <wim@fluendo.com>
8159 * tools/gst-launch.c: (event_loop):
8160 Unref message after using its contents instead of
8163 2005-05-24 Wim Taymans <wim@fluendo.com>
8165 * docs/design/draft-ghostpads.txt:
8166 * docs/design/draft-push-pull.txt:
8167 * docs/design/draft-query.txt:
8168 * docs/design/part-overview.txt:
8169 Docs updates, added general overview doc.
8171 2005-05-21 David Schleef <ds@schleef.org>
8173 * docs/gst/tmpl/old/GstBin.sgml:
8174 * docs/gst/tmpl/old/GstBuffer.sgml:
8175 * docs/gst/tmpl/old/GstCaps.sgml:
8176 * docs/gst/tmpl/old/GstClock.sgml:
8177 * docs/gst/tmpl/old/GstCompat.sgml:
8178 * docs/gst/tmpl/old/GstData.sgml:
8179 * docs/gst/tmpl/old/GstElement.sgml:
8180 * docs/gst/tmpl/old/GstEvent.sgml:
8181 * docs/gst/tmpl/old/GstIndex.sgml:
8182 * docs/gst/tmpl/old/GstStructure.sgml:
8183 * docs/gst/tmpl/old/GstTag.sgml:
8184 * docs/gst/tmpl/old/cothreads.sgml:
8185 * docs/gst/tmpl/old/cothreads_compat.sgml:
8186 * docs/gst/tmpl/old/gettext.sgml:
8187 * docs/gst/tmpl/old/gobject2gtk.sgml:
8188 * docs/gst/tmpl/old/grammar.tab.sgml:
8189 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8190 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8191 * docs/gst/tmpl/old/gst_private.sgml:
8192 * docs/gst/tmpl/old/gstaggregator.sgml:
8193 * docs/gst/tmpl/old/gstarch.sgml:
8194 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8195 * docs/gst/tmpl/old/gstbufferstore.sgml:
8196 * docs/gst/tmpl/old/gstdata_private.sgml:
8197 * docs/gst/tmpl/old/gstdisksink.sgml:
8198 * docs/gst/tmpl/old/gstdisksrc.sgml:
8199 * docs/gst/tmpl/old/gstelementfactory.sgml:
8200 * docs/gst/tmpl/old/gstextratypes.sgml:
8201 * docs/gst/tmpl/old/gstfakesink.sgml:
8202 * docs/gst/tmpl/old/gstfakesrc.sgml:
8203 * docs/gst/tmpl/old/gstfdsink.sgml:
8204 * docs/gst/tmpl/old/gstfdsrc.sgml:
8205 * docs/gst/tmpl/old/gstfilesink.sgml:
8206 * docs/gst/tmpl/old/gstfilesrc.sgml:
8207 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8208 * docs/gst/tmpl/old/gstidentity.sgml:
8209 * docs/gst/tmpl/old/gstindexfactory.sgml:
8210 * docs/gst/tmpl/old/gstmarshal.sgml:
8211 * docs/gst/tmpl/old/gstmd5sink.sgml:
8212 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8213 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8214 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8215 * docs/gst/tmpl/old/gstpipefilter.sgml:
8216 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8217 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8218 * docs/gst/tmpl/old/gstshaper.sgml:
8219 * docs/gst/tmpl/old/gstspider.sgml:
8220 * docs/gst/tmpl/old/gstspideridentity.sgml:
8221 * docs/gst/tmpl/old/gststatistics.sgml:
8222 * docs/gst/tmpl/old/gsttee.sgml:
8223 * docs/gst/tmpl/old/gsttimecache.sgml:
8224 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8225 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8226 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8227 * docs/gst/tmpl/old/types.sgml:
8228 I didn't intend to add these or check them in.
8230 2005-05-19 David Schleef <ds@schleef.org>
8232 * configure.ac: Use -no-common everywhere. In a sane world, it
8233 would be the default in libtool, because without it, you can't
8234 build DLLs on Windows.
8235 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8236 * docs/gst/gstreamer-sections.txt:
8237 * docs/gst/tmpl/gstcpu.sgml:
8238 * docs/gst/tmpl/gstdata.sgml:
8239 * docs/gst/tmpl/gstthread.sgml:
8241 2005-05-19 David Schleef <ds@schleef.org>
8243 * gst/gstminiobject.c: (gst_value_set_mini_object),
8244 (gst_value_take_mini_object), (gst_value_get_mini_object):
8245 * gst/gstminiobject.h: Add GValue set/get functions.
8247 2005-05-19 Wim Taymans <wim@fluendo.com>
8249 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8250 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8251 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8253 * gst/gstbus.c: (gst_bus_post):
8254 * gst/gstelement.c: (gst_element_get_random_pad):
8255 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8256 Make subbufer unref the parent in finalize.
8257 some more debugging info.
8260 2005-05-19 Wim Taymans <wim@fluendo.com>
8262 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8263 (gst_basesink_init), (gst_basesink_finalize),
8264 (gst_basesink_activate), (gst_basesink_change_state):
8265 Don't free preroll queue too early.
8267 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8271 Hi, I'm outdated. Please shoot me.
8273 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8275 * gst/gstpipeline.c: (gst_pipeline_send_event):
8276 Do not access variables after they have been deleted.
8278 2005-05-19 Wim Taymans <wim@fluendo.com>
8280 * tools/gst-inspect.c: (print_plugin_features):
8281 A plugin feature does unfortunatly not use the
8284 2005-05-18 Wim Taymans <wim@fluendo.com>
8286 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8287 Port _span() functions to new subbuffers.
8289 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8291 * gst/gstbin.c: (gst_bin_add_func):
8292 Fix clock settery in bins when adding kids after the clock has
8295 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8297 * gst/elements/gstidentity.c: (gst_identity_class_init):
8298 Workaround until signals support GstMiniObject.
8300 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8303 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8305 2005-05-18 Wim Taymans <wim@fluendo.com>
8307 * gst/base/Makefile.am:
8308 * gst/base/gstadapter.c: (gst_adapter_base_init),
8309 (gst_adapter_class_init), (gst_adapter_init),
8310 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8311 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8312 (gst_adapter_flush), (gst_adapter_available),
8313 (gst_adapter_available_fast):
8314 * gst/base/gstadapter.h:
8315 Ported and added adapter to the base classes.
8317 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8321 Make sure the class is reffed/unreffed once before threads can be
8322 used. Fixes #304551.
8324 2005-05-17 Wim Taymans <wim@fluendo.com>
8326 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8327 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8328 * gst/gstminiobject.c: (gst_mini_object_get_type),
8329 (gst_mini_object_free):
8330 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8331 (gst_pad_push), (gst_pad_push_event):
8332 * gst/gstqueue.c: (gst_queue_change_state):
8333 Don't queue buffers in basesink when we are flushing.
8334 Unref buffer when flushing in basesink.
8335 Flush queue when going to READY
8336 Unref buffer when _push() returns an error.
8337 Don't free MiniObject instance when refcount is incremented
8338 in _finalize() so that we can recover objects.
8340 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8342 * docs/manual/advanced-schedulers.xml:
8343 * docs/manual/appendix-checklist.xml:
8344 * docs/pwg/advanced-clock.xml:
8345 * docs/pwg/advanced-interfaces.xml:
8346 * docs/pwg/advanced-request.xml:
8347 * docs/pwg/advanced-types.xml:
8348 * docs/pwg/intro-preface.xml:
8349 * examples/plugins/example.c: (gst_example_get_type),
8350 (gst_example_class_init), (gst_example_chain),
8351 (gst_example_set_property), (gst_example_get_property),
8352 (gst_example_change_state), (plugin_init):
8353 * examples/plugins/example.h:
8356 2005-05-17 Wim Taymans <wim@fluendo.com>
8358 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8359 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8360 * gst/gstqueue.c: (gst_queue_change_state):
8361 Clear queue when going to READY.
8362 Remove IN_SETCAPS flag too.
8364 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8366 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8367 Remove implicit cast from gboolean to GstElementStateReturn;
8368 make sure we still return failure in paused => ready case if
8369 the parent class fails to change state and our own stop
8372 2005-05-17 Wim Taymans <wim@fluendo.com>
8374 * tools/gst-launch.c: (event_loop):
8375 Message was unreffed too soon.
8377 2005-05-16 Andy Wingo <wingo@pobox.com>
8379 * gst/gstbin.c (sink_iterator_filter): Err... um...
8381 * check/gst/gstbin.c (test_ghost_pads): New test for the
8382 ghosting-if-elements-not-in-same-bin behavior.
8384 2005-05-16 David Schleef <ds@schleef.org>
8386 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8387 accessing refcount directly.
8389 2005-05-15 David Schleef <ds@schleef.org>
8391 * check/Makefile.am: remove GstData checks
8392 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8393 * gst/Makefile.am: add miniobject, remove data
8394 * gst/gst.h: add miniobject, remove data
8395 * gst/gstdata.c: remove
8396 * gst/gstdata.h: remove
8397 * gst/gstdata_private.h: remove
8398 * gst/gsttypes.h: remove GstEvent and GstMessage
8399 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8400 * gst/gstmarshal.list: change BOXED -> OBJECT
8402 Implement GstMiniObject.
8403 * gst/gstminiobject.c:
8404 * gst/gstminiobject.h:
8406 Modify to be subclasses of GstMiniObject.
8407 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8408 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8409 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8410 (gst_subbuffer_get_type), (gst_subbuffer_init),
8411 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8414 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8415 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8416 (_gst_event_copy), (gst_event_new):
8418 * gst/gstmessage.c: (_gst_message_initialize),
8419 (gst_message_get_type), (gst_message_class_init),
8420 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8421 (gst_message_new), (gst_message_new_error),
8422 (gst_message_new_warning), (gst_message_new_tag),
8423 (gst_message_new_state_changed), (gst_message_new_application):
8425 * gst/gstprobe.c: (gst_probe_perform),
8426 (gst_probe_dispatcher_dispatch):
8428 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8429 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8430 (_gst_query_copy), (gst_query_new):
8432 Update elements for GstData -> GstMiniObject changes
8434 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8435 (gst_queue_chain), (gst_queue_loop):
8436 * gst/elements/gstbufferstore.c:
8437 (gst_buffer_store_add_buffer_func),
8438 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8439 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8440 (gst_fakesink_render):
8441 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8442 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8443 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8444 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8445 (gst_filesrc_create_read):
8446 * gst/elements/gstidentity.c: (gst_identity_class_init):
8447 * gst/elements/gsttypefindelement.c:
8448 (gst_type_find_element_src_event), (free_entry_buffers),
8449 (gst_type_find_element_handle_event):
8450 * libs/gst/dataprotocol/dataprotocol.c:
8451 (gst_dp_header_from_buffer):
8452 * libs/gst/dataprotocol/dataprotocol.h:
8453 * libs/gst/dataprotocol/dp-private.h:
8455 2005-05-15 David Schleef <ds@schleef.org>
8457 * gst/elements/gstelements.c: Don't include headers that were
8460 2005-05-15 David Schleef <ds@schleef.org>
8462 * gst/elements/Makefile.am: Remove some elements that don't
8463 need to be in the core (or even exist at all).
8464 * gst/elements/gstaggregator.c:
8465 * gst/elements/gstaggregator.h:
8466 * gst/elements/gstmd5sink.c:
8467 * gst/elements/gstmd5sink.h:
8468 * gst/elements/gstmultifilesrc.c:
8469 * gst/elements/gstmultifilesrc.h:
8470 * gst/elements/gstpipefilter.c:
8471 * gst/elements/gstpipefilter.h:
8472 * gst/elements/gstshaper.c:
8473 * gst/elements/gstshaper.h:
8474 * gst/elements/gststatistics.c:
8475 * gst/elements/gststatistics.h:
8476 * po/POTFILES.in: Remove above files.
8478 2005-05-14 Andy Wingo <wingo@pobox.com>
8480 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8481 so as to get the refs right.
8482 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8483 unreffing objects that don't pass the filter.
8485 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8486 gst_element_set_bus.
8487 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8488 normal cases, this will destroy the bus.
8490 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8493 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8496 2005-05-13 Andy Wingo <wingo@pobox.com>
8498 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8499 gst_pad_link, call pad_link_maybe_ghosting,
8500 (pad_link_maybe_ghosting): Links pads, making sure that the
8501 elements being linked are in the same bin.
8502 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8503 Helpers for pad_link_maybe_ghosting.
8505 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8508 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8510 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8512 * docs/design/part-element-source.txt:
8515 2005-05-12 Wim Taymans <wim@fluendo.com>
8517 * gst/base/gstbasesink.c: (gst_basesink_init),
8518 (gst_basesink_activate):
8519 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8520 (gst_basesrc_is_seekable):
8521 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8522 (bin_element_is_sink), (gst_bin_change_state):
8523 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8525 Identify sinks by their flag to avoid overly complicated
8527 Do state changes even for elements not reachable from the
8529 BaseSink is a sink now :)
8530 Some more debugging info in the basesrc.
8533 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8535 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8536 Implement _query on a bin, similar to _send_event.
8538 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8540 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8541 Discont event offset format should be GST_FORMAT_BYTES,
8542 not GST_FORMAT_TIME.
8544 2005-05-12 Wim Taymans <wim@fluendo.com>
8546 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8547 Same fix as Ronald's but without the signal.
8549 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8551 * gst/gstutils.c: (gst_element_query_position):
8552 No, an element is not a pad.
8554 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8556 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8557 (gst_bin_get_state):
8558 If a child is removed from a bin while we remove the child from
8559 the bin and while we're retrieving its state, signal this to the
8560 get_state function so we abort the wait (instead of waiting for
8561 a timeout) and can immediately re-iterate over all other elements.
8563 2005-05-12 Wim Taymans <wim@fluendo.com>
8565 * gst/base/Makefile.am:
8566 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8567 (gst_basesrc_start):
8568 * gst/base/gstbasesrc.h:
8569 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8570 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8571 (gst_pushsrc_init), (gst_pushsrc_create):
8572 * gst/base/gstpushsrc.h:
8573 Added is_seekable to BaseSrc
8574 Added simple PushSrc.
8576 2005-05-11 Wim Taymans <wim@fluendo.com>
8578 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8579 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8580 (gst_element_link_pads), (gst_element_query_position),
8581 (gst_element_query_convert), (intersect_caps_func),
8582 (gst_pad_query_position), (gst_pad_query_convert):
8583 Fix refcounting in utils function.
8584 No point in trying to activate a pad when it's added, it could
8585 be added from the state change function and then we deadlock, the
8586 element has to decide what to do.
8588 2005-05-10 Andy Wingo <wingo@pobox.com>
8590 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8591 *all* the arguments.
8593 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8594 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8595 lock (according to the docs -- if this is wrong change the docs).
8597 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8598 flush messages in the NULL state.
8600 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8601 message immediately and return.
8602 (gst_bus_set_flushing): New function. If a bus is flushing, it
8603 flushes out any queued messages and immediately unrefs new
8604 messages. This is so when an element goes to NULL, all of the
8605 unhandled messages coming from it can be freed, and their
8606 references to the element dropped. In other words: message source
8607 ref considered harmful :P
8609 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8610 we're finished with it.
8612 * gst/gstmessage.c (gst_message_new_state_changed):
8614 2005-05-10 Wim Taymans <wim@fluendo.com>
8616 * gst/gstvalue.c: (gst_value_compare_flags),
8617 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8618 (_gst_value_initialize):
8619 Added flags serialize/deserialize/compare code.
8621 2005-05-09 Andy Wingo <wingo@pobox.com>
8623 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8624 Intersect the peer's caps with our caps.
8626 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8628 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8629 * gst/elements/gsttypefindelement.c: (find_peek):
8630 Handle negative offsets better. Fixes decodebin.
8632 2005-05-09 Wim Taymans <wim@fluendo.com>
8634 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8635 (gst_base_transform_event):
8636 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8637 Implement accept_caps.
8638 Fix silly lock/unlock mismatch in base class.
8640 2005-05-09 Wim Taymans <wim@fluendo.com>
8642 * docs/design/draft-push-pull.txt:
8643 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8644 * gst/elements/gstfilesink.c: (gst_filesink_init),
8645 (gst_filesink_query):
8646 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8647 (gst_type_find_handle_src_query), (find_element_get_length):
8648 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8652 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8653 (gst_real_pad_get_caps_unlocked),
8654 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8655 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8656 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8657 (gst_real_pad_dispose), (gst_real_pad_finalize),
8658 (gst_pad_load_and_link), (gst_pad_save_thyself),
8659 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8660 (gst_pad_check_pull_range), (gst_pad_pull_range),
8661 (gst_pad_template_get_type), (gst_pad_template_class_init),
8662 (gst_pad_template_init), (gst_pad_template_dispose),
8663 (name_is_valid), (gst_static_pad_template_get),
8664 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8665 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8666 (gst_pad_get_element_private), (gst_pad_start_task),
8667 (gst_pad_pause_task), (gst_pad_stop_task),
8668 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8669 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8670 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8671 (gst_ghost_pad_new):
8673 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8674 (gst_query_new_position), (gst_query_set_position),
8675 (gst_query_parse_position), (gst_query_new_convert),
8676 (gst_query_set_convert), (gst_query_parse_convert):
8678 * gst/gstqueryutils.c:
8679 * gst/gstqueryutils.h:
8680 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8681 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8682 (gst_queue_handle_src_query):
8683 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8684 (gst_element_query_position), (gst_element_query_convert),
8685 (intersect_caps_func), (gst_pad_query_position),
8686 (gst_pad_query_convert):
8688 * tools/gst-inspect.c: (print_pad_info):
8689 * tools/gst-xmlinspect.c: (print_element_info):
8690 Remove old query functions. Ported old code.
8691 Added position/convert helper functions to gstutils.
8692 Reordered gstpad.c code, grouping relevant things.
8693 Remove gst_message_new(), always need to speficy a specific
8697 2005-05-09 Andy Wingo <wingo@pobox.com>
8699 * gst/gstiterator.h: Add some includes.
8701 * gst/gstqueryutils.h: Include more headers.
8704 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8705 some uses of gst_pad_query.
8707 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8708 NULL out parameters.
8709 (gst_query_new_position): New proc, allocates a new position
8712 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8713 gstqueryutils.c to the build.
8715 * gst/gststructure.c (gst_structure_set_valist): Implement with
8716 the generic G_VALUE_COLLECT.
8718 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8720 * gst/Makefile.am: (gst_headers):
8721 Added gstqueryutils.h to the list of headers to install, that was
8722 a 'nachty' move wingo :)
8724 2005-05-06 Andy Wingo <wingo@pobox.com>
8727 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8728 GstData, init a memchunk.
8729 (standard_definitions): Add a few query types, deprecate a few.
8730 (gst_query_get_type): New proc.
8731 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8733 (gst_query_new_application, gst_query_get_structure): New public
8736 * docs/design/draft-query.txt: Removed LINKS from the query types,
8737 because all the rest can be dispatched to other pads -- seemed
8738 ugly to have a query that couldn't be dispatched. internal_links
8739 is fine as a pad method.
8741 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8742 in gstpad.c, but maintain binary compatibility for the moment.
8743 Will fix before 0.9 is out.
8745 * gst/gstqueryutils.c:
8746 * gst/gstqueryutils.h: New files, implement 3 methods for each
8747 query type: parse_query, parse_response, and set. Probably need an
8750 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8752 * gst/elements/gstfilesink.c (gst_filesink_query2):
8753 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8754 query_types, and formats methods.
8756 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8757 (gst_pad_set_query2_function): New functions.
8758 (gst_real_pad_init): Set query2_default as the default query2
8759 function. Basically just dispatches to internally linked pads.
8763 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8764 without using the atomic operations. Only one thread can possibly
8765 be accessing the data at this point. Changed so as to avoid
8766 gst_atomic operations.
8768 2005-05-06 Wim Taymans <wim@fluendo.com>
8770 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8771 Also set caps if we use the fallback buffer alloc.
8773 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8775 * docs/gst/Makefile.am:
8776 * docs/gst/gstreamer-docs.sgml:
8777 * docs/gst/gstreamer-sections.txt:
8778 * docs/gst/tmpl/gstatomic.sgml:
8779 * docs/gst/tmpl/gstmemchunk.sgml:
8780 * testsuite/elements/struct_i386.h:
8781 * win32/GStreamer.vcproj:
8783 Purge GstAtomic stuff from docs and win32 makefiles as well
8785 2005-05-06 Wim Taymans <wim@fluendo.com>
8787 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8788 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8789 * gst/gstpad.c: (gst_pad_peer_get_caps):
8790 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8791 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8792 (gst_queue_src_activate), (gst_queue_change_state):
8794 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8795 (intersect_caps_func):
8796 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8797 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8798 Some fixes for the peer_get_caps() change.
8800 2005-05-06 Wim Taymans <wim@fluendo.com>
8802 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8803 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8804 (gst_basesink_activate):
8805 Actually do something with error codes returned from the push
8808 2005-05-06 Wim Taymans <wim@fluendo.com>
8810 * docs/design/part-element-sink.txt:
8811 * docs/design/part-element-source.txt:
8812 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8813 (gst_basesink_event), (gst_basesink_activate):
8814 * gst/base/gstbasesink.h:
8815 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8816 (gst_basesrc_activate):
8817 * gst/base/gstbasesrc.h:
8818 * gst/gstelement.c: (gst_element_pads_activate):
8819 Some more documentation.
8820 Fixed scheduling decision in _pads_activate().
8822 2005-05-05 Andy Wingo <wingo@pobox.com>
8824 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8827 2005-05-05 Wim Taymans <wim@fluendo.com>
8829 * gst/base/Makefile.am:
8830 * gst/base/gstbasesink.h:
8831 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8832 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8833 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8834 (gst_collectpads_class_init), (gst_collectpads_init),
8835 (gst_collectpads_finalize), (gst_collectpads_new),
8836 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8837 (find_pad), (gst_collectpads_remove_pad),
8838 (gst_collectpads_is_active), (gst_collectpads_collect),
8839 (gst_collectpads_collect_range), (gst_collectpads_start),
8840 (gst_collectpads_stop), (gst_collectpads_peek),
8841 (gst_collectpads_pop), (gst_collectpads_available),
8842 (gst_collectpads_read), (gst_collectpads_flush),
8843 (gst_collectpads_chain):
8844 * gst/base/gstcollectpads.h:
8845 * gst/elements/Makefile.am:
8846 * gst/elements/gstelements.c:
8847 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8848 (gst_fakesink_get_times), (gst_fakesink_event),
8849 (gst_fakesink_preroll), (gst_fakesink_render):
8850 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8851 (gst_filesink_init), (gst_filesink_set_location),
8852 (gst_filesink_open_file), (gst_filesink_close_file),
8853 (gst_filesink_pad_query), (gst_filesink_event),
8854 (gst_filesink_render), (gst_filesink_change_state):
8855 * gst/elements/gstfilesink.h:
8856 Added object to help in making collect pad based elements.
8858 Make event function in sink baseclass return gboolean.
8860 2005-05-05 Wim Taymans <wim@fluendo.com>
8862 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8863 (gst_bin_get_by_name):
8865 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8866 (gst_clock_finalize):
8867 * gst/gstdata.c: (gst_data_replace):
8869 * gst/gstelement.c: (gst_element_request_pad),
8870 (gst_element_pads_activate):
8871 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8873 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8874 (gst_pad_set_checkgetrange_function),
8875 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8876 (gst_pad_check_pull_range), (gst_pad_pull_range),
8877 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8878 (gst_pad_pause_task), (gst_pad_stop_task):
8879 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8880 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8881 Fix name lookup in GstBin.
8882 Added _data_replace() function and _buffer_replace()
8883 Use finalize method to clean up clock.
8884 Fix refcounting on request pads.
8885 Fix pad schedule mode error.
8886 Some more object refcounting debug info,
8889 2005-05-04 Andy Wingo <wingo@pobox.com>
8891 * check/Makefile.am:
8892 * docs/gst/tmpl/gstatomic.sgml:
8893 * docs/gst/tmpl/gstplugin.sgml:
8894 * gst/base/gstbasesink.c: (gst_basesink_activate):
8895 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8896 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8897 (gst_basesrc_query), (gst_basesrc_set_property),
8898 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8899 (gst_basesrc_activate):
8900 * gst/base/gstbasesrc.h:
8901 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8902 (gst_base_transform_src_activate):
8903 * gst/elements/gstelements.c:
8904 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8905 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8906 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8907 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8908 (gst_type_find_element_checkgetrange),
8909 (gst_type_find_element_activate):
8910 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8911 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8912 (gst_caps_load_thyself):
8913 * gst/gstelement.c: (gst_element_pads_activate),
8914 (gst_element_save_thyself), (gst_element_restore_thyself):
8915 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8916 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8918 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8919 (gst_xml_parse_file), (gst_xml_parse_memory),
8920 (gst_xml_get_element), (gst_xml_make_element):
8921 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8922 (_file_index_id_save_xml), (gst_file_index_commit):
8923 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8924 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8926 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8927 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8928 * tools/gst-complete.c: (main):
8929 * tools/gst-compprep.c: (main):
8930 * tools/gst-inspect.c: (print_element_properties_info):
8931 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8932 * tools/gst-xmlinspect.c: (print_element_properties):
8935 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8937 * gst/gstplugin.c: (gst_plugin_check_module),
8938 (gst_plugin_check_file), (gst_plugin_load_file):
8939 apply patch from #172526 to make register work on MacOSX
8941 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8943 * docs/gst/tmpl/gstconfig.sgml:
8944 * gst/gstconfig.h.in:
8945 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8946 * testsuite/debug/printf_extension.c: (main):
8947 Do not use GST_PTR_FORMAT on pointers to types with
8948 sizeof < sizeof(gpointer). Fixes test on 64-bit
8949 * testsuite/elements/property.h:
8950 use correct printf format
8952 2005-05-02 Wim Taymans <wim@fluendo.com>
8954 * docs/design/draft-push-pull.txt:
8955 * docs/design/draft-query.txt:
8956 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8957 (gst_basesrc_start):
8958 Added draft for new query API.
8959 Added draft for better selecting scheduling methods.
8960 Make basesrc ignore length if the subclass does not support
8963 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8966 possible fixes for automake-1.5 - _LIBADD is reserved
8968 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8970 * docs/faq/Makefile.am:
8971 * docs/manual/Makefile.am:
8973 * docs/pwg/Makefile.am:
8975 possible fixes for automake-1.5
8977 2005-04-28 Wim Taymans <wim@fluendo.com>
8979 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8980 (gst_basesink_pad_getcaps), (gst_basesink_init),
8981 (gst_basesink_do_sync):
8982 * gst/gstclock.c: (gst_clock_entry_new):
8983 * gst/gstevent.c: (gst_event_discont_get_value):
8984 * gst/gstpipeline.c: (pipeline_bus_handler),
8985 (gst_pipeline_change_state):
8986 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8987 Better debugging of clocking info.
8988 Allow NULL values when getting discont values.
8990 2005-04-27 Wim Taymans <wim@fluendo.com>
8992 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8993 * check/gst/gstpad.c: (gst_pad_suite):
8994 Increase timeout for checks.
8996 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8998 * check/Makefile.am:
8999 fix the broken rule for cleanup. Apparently this rule is
9000 only needed on FC2, so maybe this warrants further autotool
9003 2005-04-26 Wim Taymans <wim@fluendo.com>
9005 * gst/gsttrashstack.h:
9006 Ooohh. a nasty one! After having a failed pop() from the stack,
9007 it's possible that the stack is empty. In that case, don't
9008 follow the NULL pointer.
9010 2005-04-25 Wim Taymans <wim@fluendo.com>
9012 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9013 (gst_pad_set_checkgetrange_function),
9014 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9015 (gst_pad_check_pull_range), (gst_pad_pull_range),
9016 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9017 (gst_pad_pause_task), (gst_pad_stop_task):
9018 * gst/gstplugin.c: (gst_plugin_load):
9020 Remove gst_library_load as it does more harm than good with
9021 the new g_module flags.
9022 Revert bogus caps template check in pad linking, pad caps
9023 are important when linking not the template, which is more
9024 general than the current caps.
9026 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9028 * gst/autoplug/.cvsignore:
9029 * gst/autoplug/Makefile.am:
9030 * gst/autoplug/gstsearchfuncs.c:
9031 * gst/autoplug/gstsearchfuncs.h:
9032 * gst/autoplug/gstspider.c:
9033 * gst/autoplug/gstspider.h:
9034 * gst/autoplug/gstspideridentity.c:
9035 * gst/autoplug/gstspideridentity.h:
9036 * gst/autoplug/spidertest.c:
9039 2005-04-25 Wim Taymans <wim@fluendo.com>
9041 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9042 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9043 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9044 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9046 Added stubs for unimplemented functions.
9048 2005-04-24 David Schleef <ds@schleef.org>
9050 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9053 2005-04-24 David Schleef <ds@schleef.org>
9055 Convert everything from GstAtomicInt to g_atomic_int_*, and
9060 * gst/gstatomic_impl.h:
9068 * gst/gstdata_private.h:
9075 * gst/gststructure.c:
9076 * gst/gststructure.h:
9077 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9080 2005-04-24 David Schleef <ds@schleef.org>
9082 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9083 make the regressions tests work. Remove some code that is no
9085 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9086 Disable warning for pads without templates.
9088 2005-04-24 David Schleef <ds@schleef.org>
9090 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9091 functions that handle filtered links.
9092 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9094 * gst/gstutils.c: Fix/remove utility functions that handle
9097 * gst/gstvalue.c: Add serialization/deserialization of caps
9098 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9099 requires fixing so that the filter caps notation creates
9100 a capsfilter element and sets the filter_caps property. I
9101 think everyone probably wants to keep the shorthand notation.
9102 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9103 * docs/gst/tmpl/gstpad.sgml:
9105 * gst/elements/gstelements.c: Register capsfilter element.
9106 * gst/Makefile.am: fix spacing
9107 * docs/random/ds/0.9-suggested-changes: random
9109 2005-04-23 David Schleef <ds@schleef.org>
9111 * gst/elements/Makefile.am:
9112 * gst/elements/gstcapsfilter.c: New element that acts like an
9113 identity, but filters caps. Will eventually replace filtered
9114 caps in pad linking.
9115 * gst/gstutils.c: (gst_element_create_all_pads): New function
9116 to create all the ALWAYS pads that are registered with an
9117 element class. This functionality should eventually be
9118 merged in with GstElement initialization.
9120 * testsuite/trigger/README: part of trigger test code that should
9121 have been checked in a long time ago.
9123 2005-04-23 David Schleef <ds@schleef.org>
9125 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9126 needed with new versions of libtool (nobody will confirm this),
9127 and hard to carry around.
9128 * gst/autoplug/Makefile.am:
9129 * gst/base/Makefile.am:
9130 * gst/elements/Makefile.am:
9131 * gst/indexers/Makefile.am:
9132 * gst/schedulers/Makefile.am:
9133 * libs/gst/bytestream/Makefile.am:
9134 * libs/gst/control/Makefile.am:
9135 * libs/gst/dataprotocol/Makefile.am:
9136 * libs/gst/getbits/Makefile.am:
9138 2005-04-21 Wim Taymans <wim@fluendo.com>
9140 * docs/design/draft-push-pull.txt:
9141 * docs/design/part-MT-refcounting.txt:
9142 * docs/design/part-TODO.txt:
9143 * docs/design/part-caps.txt:
9144 * docs/design/part-events.txt:
9145 * docs/design/part-gstbus.txt:
9146 * docs/design/part-gstpipeline.txt:
9147 * docs/design/part-messages.txt:
9148 * docs/design/part-push-pull.txt:
9149 * docs/design/part-query.txt:
9152 2005-04-21 Wim Taymans <wim@fluendo.com>
9154 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9155 (gst_message_new), (gst_message_new_error),
9156 (gst_message_new_warning), (gst_message_new_tag),
9157 (gst_message_new_state_changed), (gst_message_new_application),
9158 (gst_message_get_structure):
9160 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9161 (gst_structure_copy_conditional):
9162 Use parent refcount in GstMessage to ensure GstStructure
9164 Cleaned up headers a bit.
9167 2005-04-20 Wim Taymans <wim@fluendo.com>
9169 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9170 (gst_basesink_pad_getcaps), (gst_basesink_init),
9171 (gst_basesink_chain_unlocked):
9172 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9173 (gst_type_find_helper):
9174 * gst/elements/gsttypefindelement.c:
9175 (gst_type_find_element_have_type), (gst_type_find_element_init),
9176 (stop_typefinding), (gst_type_find_element_handle_event),
9177 (find_suggest), (gst_type_find_element_chain),
9178 (gst_type_find_element_checkgetrange),
9179 (gst_type_find_element_getrange), (do_typefind),
9180 (gst_type_find_element_activate):
9181 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9182 (gst_buffer_default_free), (gst_buffer_default_copy),
9183 (gst_buffer_set_caps):
9184 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9186 * gst/gstmessage.c: (gst_message_new),
9187 (gst_message_new_state_changed):
9188 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9189 (gst_pad_set_checkgetrange_function),
9190 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9191 (gst_pad_set_caps), (gst_pad_check_pull_range),
9192 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9194 * gst/gsttypefind.c: (gst_type_find_register):
9195 Make gst_caps_replace() work like other _replace() functions.
9196 Use _caps_replace() where possible.
9197 Make sure _message_new() initialises its field.
9198 Add gst_static_pad_template_get_caps()
9201 2005-04-18 Andy Wingo <wingo@pobox.com>
9203 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9204 on the peer, not the pad. I think that was a typo. Pass an extra
9205 arg to see if random access is possible. Activate the pads as
9206 PULL_RANGE if possible.
9208 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9210 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9211 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9214 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9216 * docs/faq/using.xml:
9217 Add note on gstreamer-properties (#154996).
9219 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9221 * docs/random/bbb/optional-properties:
9222 Some analysis on optional properties.
9224 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9226 * docs/gst/tmpl/gstelementfactory.sgml:
9228 * gst/gstelementfactory.c: (gst_element_factory_init),
9229 (gst_element_factory_cleanup), (gst_element_register),
9230 (__gst_element_factory_add_static_pad_template),
9231 (gst_element_factory_get_static_pad_templates),
9232 (gst_element_factory_can_src_caps),
9233 (gst_element_factory_can_sink_caps):
9234 * gst/registries/Makefile.am:
9235 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9236 (gst_xml_registry_class_init), (gst_xml_registry_init),
9237 (gst_xml_registry_new), (gst_xml_registry_set_property),
9238 (gst_xml_registry_get_property), (get_time), (make_dir),
9239 (gst_xml_registry_get_perms_func),
9240 (plugin_times_older_than_recurse), (plugin_times_older_than),
9241 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9242 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9243 (add_to_char_array), (read_string), (read_uint), (read_enum),
9244 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9245 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9246 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9247 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9248 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9249 (gst_xml_registry_rebuild):
9250 * gst/registries/gstlibxmlregistry.h:
9251 * tools/gst-compprep.c: (main):
9252 * tools/gst-inspect.c: (print_pad_templates_info):
9253 * tools/gst-xmlinspect.c: (print_element_info):
9254 Use libxml2 for registry parsing, use staticpadtemplates in
9255 elementfactories. Makes gst_init() +/- 10x faster.
9257 2005-04-12 Wim Taymans <wim@fluendo.com>
9259 * gst/base/Makefile.am:
9260 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9261 (gst_basesink_pad_getcaps), (gst_basesink_init),
9262 (gst_basesink_event), (gst_basesink_change_state):
9263 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9264 (gst_basesrc_init), (gst_basesrc_query),
9265 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9266 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9267 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9268 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9269 (gst_basesrc_stop), (gst_basesrc_activate),
9270 (gst_basesrc_change_state):
9271 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9272 (helper_find_suggest), (gst_type_find_helper):
9273 * gst/base/gsttypefindhelper.h:
9274 * gst/elements/Makefile.am:
9275 * gst/elements/gstelements.c:
9276 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9277 (gst_fakesink_get_times), (gst_fakesink_event),
9278 (gst_fakesink_preroll), (gst_fakesink_render):
9279 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9280 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9281 (gst_fakesrc_get_property), (gst_fakesrc_create),
9282 (gst_fakesrc_start), (gst_fakesrc_stop):
9283 * gst/elements/gstfakesrc.h:
9284 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9285 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9286 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9287 (gst_filesrc_create_read), (gst_filesrc_create),
9288 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9289 (gst_filesrc_start):
9290 * gst/elements/gsttypefindelement.c:
9291 (gst_type_find_element_have_type), (gst_type_find_element_init),
9292 (start_typefinding), (stop_typefinding), (push_buffer_store),
9293 (gst_type_find_element_handle_event),
9294 (gst_type_find_element_chain),
9295 (gst_type_find_element_checkgetrange),
9296 (gst_type_find_element_getrange), (do_typefind),
9297 (gst_type_find_element_activate),
9298 (gst_type_find_element_change_state):
9299 * gst/elements/gsttypefindelement.h:
9300 * gst/gstpipeline.c: (pipeline_bus_handler):
9301 Added typefind helper.
9302 Small preroll fix in the base sink.
9303 Disable typefind code in basesrc.
9304 Crude port of typefindelement.
9308 2005-04-11 Wim Taymans <wim@fluendo.com>
9310 * check/gst/gstbus.c: (gstbus_suite):
9311 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9313 Fix up the timeout so that the test does not fail.
9315 2005-04-06 Wim Taymans <wim@fluendo.com>
9318 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9319 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9320 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9321 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9322 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9323 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9324 (gst_basesrc_stop), (gst_basesrc_activate),
9325 (gst_basesrc_change_state), (basesrc_find_peek),
9326 (basesrc_find_suggest), (gst_basesrc_type_find):
9327 * gst/base/gstbasesrc.h:
9328 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9329 (gst_filesrc_class_init), (gst_filesrc_init),
9330 (gst_filesrc_finalize), (gst_filesrc_set_location),
9331 (gst_filesrc_set_property), (gst_filesrc_get_property),
9332 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9333 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9334 (gst_filesrc_create_read), (gst_filesrc_create),
9335 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9336 * gst/elements/gstfilesrc.h:
9337 * gst/gstelement.c: (gst_element_get_state_func),
9338 (gst_element_lost_state), (gst_element_pads_activate):
9339 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9340 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9341 (gst_pad_pull_range):
9343 More work on the generic source base class, implement seeking,
9345 Make filesrc extend the base source class.
9346 Added gst_pad_set_checkgetrange_function to GstPad.
9348 2005-04-06 Andy Wingo <wingo@pobox.com>
9350 * pkgconfig/gstreamer-base.pc.in:
9351 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9353 * pkgconfig/Makefile.am:
9354 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9356 2005-04-04 Wim Taymans <wim@fluendo.com>
9358 * gst/base/Makefile.am:
9360 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9361 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9362 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9363 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9364 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9365 (gst_basesrc_base_init), (gst_basesrc_class_init),
9366 (gst_basesrc_init), (gst_basesrc_get_formats),
9367 (gst_basesrc_get_query_types), (gst_basesrc_query),
9368 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9369 (gst_basesrc_set_property), (gst_basesrc_get_property),
9370 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9371 (gst_basesrc_loop), (gst_basesrc_activate),
9372 (gst_basesrc_change_state):
9373 * gst/base/gstbasesrc.h:
9374 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9375 (gst_fakesrc_class_init), (gst_fakesrc_init),
9376 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9377 (gst_fakesrc_get_property), (gst_fakesrc_create):
9378 * gst/elements/gstfakesrc.h:
9379 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9380 (gst_filesrc_open_file), (gst_filesrc_loop),
9381 (gst_filesrc_activate), (filesrc_find_peek),
9382 (gst_filesrc_type_find):
9383 Made base source class, make fakesrc extend it.
9384 Add comments to basesink class.
9385 Some filesrc cleanup.
9387 2005-03-31 David Schleef <ds@schleef.org>
9389 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9390 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9391 expected to link against libgstreamer.
9392 * gst/base/Makefile.am: link against libgstreamer
9393 * gst/elements/Makefile.am: same
9395 2005-03-31 Andy Wingo <wingo@pobox.com>
9397 * tests/instantiate/Makefile.am:
9398 * tests/instantiate/caps.c: Add test to test speed of caps copy
9401 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9402 GMemChunk to be fair.
9404 * gst/gsttrashstack.h: Remove warning about using the fallback
9405 trash stack implementation, it's still faster than malloc.
9407 2005-03-30 Andy Wingo <wingo@pobox.com>
9409 * tests/complexity.c: Add a copyright.
9411 2005-03-31 Wim Taymans <wim@fluendo.com>
9413 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9414 (gst_base_transform_class_init), (gst_base_transform_init),
9415 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9416 (gst_base_transform_get_property),
9417 (gst_base_transform_sink_activate),
9418 (gst_base_transform_src_activate),
9419 (gst_base_transform_change_state):
9420 * gst/base/gstbasetransform.h:
9421 * gst/elements/gstidentity.c: (gst_identity_class_init),
9422 (gst_identity_event), (gst_identity_check_perfect),
9423 (gst_identity_transform), (gst_identity_start),
9424 (gst_identity_stop):
9425 Added start/stop methods to transform base class so subclasses
9426 don't need to deal with state changes even.
9428 2005-03-31 Wim Taymans <wim@fluendo.com>
9430 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9431 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9433 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9434 (gst_pad_pull_range):
9435 Added rate to the discont event to prepare for variable speed
9436 and reverse playback.
9438 2005-03-29 David Schleef <ds@schleef.org>
9441 * testsuite/trigger/Makefile.am:
9442 * testsuite/trigger/trigger.c: A little example program to show
9443 how trigger-based elements can work.
9445 2005-03-29 Wim Taymans <wim@fluendo.com>
9447 * gst/base/Makefile.am:
9449 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9450 (gst_basesink_base_init), (gst_basesink_class_init),
9451 (gst_basesink_pad_getcaps), (gst_basesink_init),
9452 (gst_basesink_activate), (gst_basesink_change_state):
9453 * gst/base/gstbasesink.h:
9454 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9455 (gst_base_transform_base_init), (gst_base_transform_finalize),
9456 (gst_base_transform_class_init), (gst_base_transform_init),
9457 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9458 (gst_base_transform_event), (gst_base_transform_getrange),
9459 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9460 (gst_base_transform_set_property),
9461 (gst_base_transform_get_property),
9462 (gst_base_transform_sink_activate),
9463 (gst_base_transform_src_activate),
9464 (gst_base_transform_change_state):
9465 * gst/base/gstbasetransform.h:
9466 * gst/elements/gstidentity.c: (gst_identity_finalize),
9467 (gst_identity_class_init), (gst_identity_init),
9468 (gst_identity_event), (gst_identity_check_perfect),
9469 (gst_identity_transform), (gst_identity_set_property),
9470 (gst_identity_get_property), (gst_identity_change_state):
9471 * gst/elements/gstidentity.h:
9472 * gst/gstelement.c: (gst_element_get_state_func),
9473 (gst_element_lost_state), (gst_element_pads_activate):
9474 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9475 (gst_pad_check_pull_range), (gst_pad_pull_range):
9477 Simplify pad activation.
9478 Added function to check if pull_range can be performed.
9479 Error out when pulling inactive or flushing pads.
9480 Removed const from refcounted types as it does not make sense.
9481 Simplify pad templates in basesink
9482 Added base class for simple 1-to-1 transforms.
9483 Make identity subclass the base transform.
9485 2005-03-29 Andy Wingo <wingo@pobox.com>
9487 * docs/libs/gstreamer-libs-overrides.txt:
9488 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9489 really don't understand what's going on, but like whatever. I want
9492 * docs/gst/Makefile.am:
9493 * docs/libs/Makefile.am: Dist the overrides files.
9495 * check/Makefile.am (clean-local): Remove .libs directories.
9497 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9498 elements to EXTRA_DIST, so po/ files are happy.
9500 * po/POTFILES.in: Er, remove it here.
9502 * po/POTFILES: Remove gstspider.c.
9504 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9506 * docs/libs/gstreamer-libs-docs.sgml:
9507 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9510 * tests/complexity.c (main): Set the length of the preroll queue
9511 on the sinks to prevent a lockup.
9513 * libs/gst/dataprotocol/Makefile.am:
9514 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9515 the same as the one in check/gst-libs/gdp.c.
9517 * po/, docs/gst/: Commit automatic changes to docs and po files.
9519 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9520 the versioned libgstbase.
9522 * check/Makefile.am: Depend on an unversioned gst-register, seems
9523 to make autoconf happier.
9525 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9527 2005-03-28 Wim Taymans <wim@fluendo.com>
9530 * docs/design/part-gstelement.txt:
9531 * docs/design/part-negotiation.txt:
9532 * docs/design/part-preroll.txt:
9533 * docs/design/part-scheduling.txt:
9534 * docs/design/part-states.txt:
9536 * gst/base/Makefile.am:
9538 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9539 (gst_basesink_base_init), (gst_basesink_class_init),
9540 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9541 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9542 (gst_basesink_set_pad_functions),
9543 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9544 (gst_basesink_set_property), (gst_basesink_get_property),
9545 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9546 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9547 (gst_basesink_preroll_queue_push),
9548 (gst_basesink_preroll_queue_empty),
9549 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9550 (gst_basesink_event), (gst_basesink_get_times),
9551 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9552 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9553 (gst_basesink_loop), (gst_basesink_activate),
9554 (gst_basesink_change_state):
9555 * gst/base/gstbasesink.h:
9556 * gst/elements/Makefile.am:
9557 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9558 (gst_fakesink_class_init), (gst_fakesink_init),
9559 (gst_fakesink_set_property), (gst_fakesink_get_property),
9560 (gst_fakesink_get_times), (gst_fakesink_event),
9561 (gst_fakesink_preroll), (gst_fakesink_render),
9562 (gst_fakesink_change_state):
9563 * gst/elements/gstfakesink.h:
9564 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9565 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9566 * gst/gstelement.c: (gst_element_add_pad),
9567 (gst_element_get_state_func), (gst_element_abort_state),
9568 (gst_element_commit_state), (gst_element_lost_state),
9569 (gst_element_set_state), (gst_element_pads_activate):
9570 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9571 * gst/gstpipeline.c: (gst_pipeline_send_event),
9572 (gst_pipeline_change_state):
9573 Added state change code.
9575 Added sink base class, make fakesink extend the base class.
9576 Small cleanups in GstPipeline.
9578 2005-03-26 David Schleef <ds@schleef.org>
9580 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9581 is broken and should be implemented in a different library.
9582 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9583 * gst/gst.h: remove gstcpu.h
9584 * gst/gstcpu.c: remove
9585 * gst/gstcpu.h: remove
9586 * gst/Makefile.am.future: Remove this file. It's ancient.
9588 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9590 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9591 (gst_bin_send_event):
9592 Add default event/set_manager handlers. The set_manager handler
9593 takes care that the manager is distributed over kids that were
9594 already in the bin before the manager was set. The event handler
9595 is a utility virtual function that sends the event over all sinks,
9596 so that gst_element_send_event (bin, event); has the expected
9598 * gst/gstpad.c: (gst_pad_event_default):
9599 Re-install default event handling for discontinuities, so that
9600 seeking works without requiring hacks in applications or extra
9602 * gst/gstpipeline.c: (gst_pipeline_class_init),
9603 (gst_pipeline_send_event):
9604 Half hack, half utility: set a pipeline to PAUSED for seek events,
9605 since that is the only way we can guarantee a/v sync. Means that
9606 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9607 and it "just works".
9609 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9611 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9612 Lock/unlock mismatch.
9614 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9616 * docs/faq/gst-uninstalled:
9617 add gst-plugins-base
9618 * docs/gst/Makefile.am:
9619 don't error out until docs are fixed
9620 * docs/gst/gstreamer.types:
9623 2005-03-22 Wim Taymans <wim@fluendo.com>
9625 * check/Makefile.am:
9626 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9627 * gst/gststructure.c: (gst_structure_set_valist),
9628 (gst_structure_copy_conditional):
9629 Activated more tests.
9631 Added G_TYPE_POINTER to GstStructure.
9634 2005-03-22 Wim Taymans <wim@fluendo.com>
9636 * docs/design/part-TODO.txt:
9637 * docs/design/part-events.txt:
9638 * docs/design/part-gstbin.txt:
9639 * docs/design/part-gstbus.txt:
9640 * docs/design/part-gstpipeline.txt:
9641 * docs/design/part-messages.txt:
9646 2005-03-21 Wim Taymans <wim@fluendo.com>
9648 * gst/gstbus.c: (gst_bus_post):
9649 Fix copy-and-paste error.
9651 2005-03-21 Wim Taymans <wim@fluendo.com>
9653 * check/Makefile.am:
9655 * gst/elements/Makefile.am:
9656 * gst/elements/gstelements.c:
9657 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9658 (gst_fakesink_event), (gst_fakesink_chain):
9659 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9660 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9661 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9662 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9663 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9664 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9665 (gst_fakesrc_loop), (gst_fakesrc_activate),
9666 (gst_fakesrc_change_state):
9667 * gst/elements/gstfakesrc.h:
9668 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9669 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9670 (gst_filesrc_open_file), (gst_filesrc_loop),
9671 (gst_filesrc_activate), (gst_filesrc_change_state),
9672 (filesrc_find_peek), (filesrc_find_suggest),
9673 (gst_filesrc_type_find):
9674 * gst/elements/gstidentity.c: (gst_identity_finalize),
9675 (gst_identity_class_init), (gst_identity_init),
9676 (gst_identity_proxy_getcaps), (identity_queue_push),
9677 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9678 (gst_identity_getrange), (gst_identity_chain),
9679 (gst_identity_sink_loop), (gst_identity_src_loop),
9680 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9681 (gst_identity_set_property), (gst_identity_get_property),
9682 (gst_identity_change_state):
9683 * gst/elements/gstidentity.h:
9684 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9685 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9686 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9687 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9688 (gst_tee_sink_activate):
9689 * gst/elements/gsttee.h:
9690 * gst/gst.c: (gst_register_core_elements), (init_post):
9692 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9693 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9694 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9695 (gst_bin_change_state):
9697 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9698 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9699 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9700 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9701 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9702 (bus_watch_callback), (bus_watch_destroy),
9703 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9704 (poll_timeout), (gst_bus_poll):
9708 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9709 (gst_element_post_message), (gst_element_message_full),
9710 (gst_element_get_state_func), (gst_element_get_state),
9711 (gst_element_abort_state), (gst_element_commit_state),
9712 (gst_element_lost_state), (gst_element_set_state),
9713 (gst_element_pads_activate), (gst_element_change_state),
9714 (gst_element_dispose), (gst_element_set_manager_func),
9715 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9716 (gst_element_set_manager), (gst_element_get_manager),
9717 (gst_element_set_bus), (gst_element_get_bus),
9718 (gst_element_set_scheduler), (gst_element_get_scheduler):
9720 * gst/gstevent.c: (gst_event_new_segment_seek),
9721 (gst_event_new_flush):
9723 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9724 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9725 (gst_message_new_eos), (gst_message_new_error),
9726 (gst_message_new_warning), (gst_message_new_tag),
9727 (gst_message_new_state_changed), (gst_message_new_application),
9728 (gst_message_get_structure), (gst_message_parse_tag),
9729 (gst_message_parse_state_changed), (gst_message_parse_error),
9730 (gst_message_parse_warning):
9732 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9733 (gst_real_pad_set_property), (gst_pad_set_active),
9734 (gst_pad_is_active), (gst_pad_set_blocked_async),
9735 (gst_pad_set_blocked), (gst_pad_is_blocked),
9736 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9737 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9738 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9739 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9740 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9741 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9742 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9743 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9744 (gst_pad_set_caps), (gst_pad_configure_sink),
9745 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9746 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9747 (gst_real_pad_dispose), (gst_real_pad_finalize),
9748 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9749 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9750 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9752 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9753 (pipeline_bus_handler), (gst_pipeline_change_state),
9754 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9755 * gst/gstpipeline.h:
9757 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9758 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9759 (gst_queue_link_src), (gst_queue_bufferalloc),
9760 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9761 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9762 (gst_queue_loop), (gst_queue_handle_src_event),
9763 (gst_queue_handle_src_query), (gst_queue_src_activate),
9764 (gst_queue_change_state):
9766 * gst/gstscheduler.c: (gst_scheduler_init),
9767 (gst_scheduler_dispose), (gst_scheduler_create_task),
9768 (gst_scheduler_factory_create):
9769 * gst/gstscheduler.h:
9770 * gst/gststructure.c: (gst_structure_get_type),
9771 (gst_structure_copy_conditional):
9772 * gst/gststructure.h:
9773 * gst/gsttaginterface.h:
9774 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9775 (gst_task_init), (gst_task_dispose), (gst_task_create),
9776 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9782 * gst/schedulers/Makefile.am:
9783 * gst/schedulers/cothreads_compat.h:
9784 * gst/schedulers/entryscheduler.c:
9785 * gst/schedulers/faircothreads.c:
9786 * gst/schedulers/faircothreads.h:
9787 * gst/schedulers/fairscheduler.c:
9788 * gst/schedulers/gstbasicscheduler.c:
9789 * gst/schedulers/gstoptimalscheduler.c:
9790 * gst/schedulers/gthread-cothreads.h:
9791 * gst/schedulers/threadscheduler.c:
9792 (gst_thread_scheduler_task_get_type),
9793 (gst_thread_scheduler_task_class_init),
9794 (gst_thread_scheduler_task_init),
9795 (gst_thread_scheduler_task_start),
9796 (gst_thread_scheduler_task_stop),
9797 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9798 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9799 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9800 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9802 * libs/gst/Makefile.am:
9803 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9804 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9805 (gst_file_pad_parent_set):
9806 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9807 (gst_dp_event_from_packet):
9808 * tests/complexity.c: (main):
9809 * tests/mass_elements.c: (main):
9810 * testsuite/states/locked.c: (message_received), (main):
9811 * testsuite/states/parent.c: (main):
9812 * tools/gst-inspect.c: (print_element_flag_info),
9813 (print_implementation_info), (print_pad_info):
9814 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9816 * tools/gst-md5sum.c: (event_loop), (main):
9817 * tools/gst-typefind.c: (main):
9818 * tools/gst-xmlinspect.c: (print_element_info):
9820 Added GstBus for mainloop integration.
9821 Added GstMessage for sending notifications on the bus.
9822 Added GstTask as an abstraction for pipeline entry points.
9825 Simplified GstQueue for multithreaded core.
9826 Made _link threadsafe, removed old capsnego.
9827 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9828 Added pad blocking functions.
9829 Reworked scheduling functions in GstPad to prepare for
9830 scheduling updates soon.
9831 Moved events out of data stream.
9832 Simplified GstEvent types.
9833 Added return values to push/pull.
9834 Removed clocking from GstElement.
9835 Added prototypes for state change function for next merge.
9836 Removed iterate from bins and state change management.
9837 Fixed some elements, disabled others for now.
9838 Fixed -inspect and -launch.
9839 Added check for GstBus.
9841 2005-03-10 Wim Taymans <wim@fluendo.com>
9843 * docs/design/part-MT-refcounting.txt:
9844 * docs/design/part-clocks.txt:
9845 * docs/design/part-gstelement.txt:
9846 * docs/design/part-gstobject.txt:
9847 * docs/design/part-standards.txt:
9848 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9849 (gst_bin_remove_func), (gst_bin_remove):
9853 * testsuite/clock/clock1.c: (main):
9854 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9856 * testsuite/dlopen/loadgst.c: (do_test):
9857 * testsuite/refcounting/bin.c: (add_remove_test1),
9858 (add_remove_test2), (main):
9859 * testsuite/refcounting/element.c: (main):
9860 * testsuite/refcounting/element_pad.c: (main):
9861 * testsuite/refcounting/pad.c: (main):
9862 * tools/gst-launch.c: (sigint_handler_sighandler):
9863 * tools/gst-typefind.c: (main):
9865 Added doc about clock.
9866 removed gst_bin_iterate_recurse_up(), marked methods
9868 Fix more testsuites.
9870 2005-03-09 Wim Taymans <wim@fluendo.com>
9872 * gst/gstpad.c: (gst_pad_get_direction),
9873 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9874 (gst_pad_collect_valist):
9875 * testsuite/bins/interface.c: (main):
9876 * testsuite/caps/audioscale.c: (test_caps):
9877 * testsuite/caps/caps.c: (test1), (test2), (test3):
9878 * testsuite/caps/deserialize.c: (main):
9879 * testsuite/caps/enumcaps.c: (main):
9880 * testsuite/caps/filtercaps.c: (main):
9881 * testsuite/caps/intersect2.c: (main):
9882 * testsuite/caps/random.c: (main):
9883 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9884 * testsuite/caps/sets.c: (check_caps):
9885 * testsuite/caps/simplify.c: (check_caps), (main):
9886 * testsuite/caps/subtract.c: (check_caps):
9887 Fix _pad_get_direction wrt ghostpads.
9890 2005-03-09 Wim Taymans <wim@fluendo.com>
9892 * check/Makefile.am:
9893 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9894 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9895 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9896 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9897 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9898 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9899 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9900 (bin_element_is_sink), (gst_bin_iterate_sinks),
9901 (gst_bin_iterate_all_by_interface):
9903 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9904 (gst_element_change_state), (gst_element_dispose),
9905 (gst_element_finalize), (gst_element_set_loop_function):
9907 * gst/gstiterator.c: (find_custom_fold_func):
9908 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9909 (gst_pad_collectv), (gst_pad_collect_valist),
9910 (gst_pad_template_new):
9911 * gst/gstpipeline.c: (gst_pipeline_class_init),
9912 (gst_pipeline_dispose), (gst_pipeline_set_property),
9913 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9914 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9915 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9917 * gst/schedulers/entryscheduler.c:
9918 * gst/schedulers/gstbasicscheduler.c:
9919 (gst_basic_scheduler_cothreaded_chain),
9920 (gst_basic_scheduler_chain_add_element):
9921 * testsuite/bins/interface.c: (main):
9923 Added GstSystemClock test.
9924 Implemented clock distribution code in GstBin.
9925 Implemented iterate sinks method for future use.
9926 Rearranged gstelement.h
9927 Fix GstIterator comparison bug.
9928 Moved some code to GstPipeline, mostly clocking related.
9930 2005-03-09 Wim Taymans <wim@fluendo.com>
9933 * gst/gst_private.h:
9934 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9935 (gst_bin_remove_func), (gst_bin_remove),
9936 (gst_bin_get_by_name_recurse_up):
9937 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9938 (gst_clock_id_compare_func), (gst_clock_id_wait),
9939 (gst_clock_id_wait_async), (gst_clock_init),
9940 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9942 * gst/gstinfo.c: (_gst_debug_init):
9944 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9945 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9947 Bump version number, we're now 0.9.0
9948 Add future debugging category.
9949 Fix NULL _unref() in _get_by_name_recurse_up
9953 2005-03-08 Wim Taymans <wim@fluendo.com>
9955 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9956 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9957 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9958 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9959 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9960 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9961 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9962 * gst/elements/gstidentity.c: (gst_identity_class_init):
9963 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9964 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9965 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9966 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9967 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9969 * gst/gstelement.c: (gst_element_class_init),
9970 (gst_element_base_class_init), (gst_element_init),
9971 (gst_element_get_random_pad), (gst_element_wait_state_change),
9972 (gst_element_change_state), (gst_element_dispose),
9973 (gst_element_finalize), (gst_element_set_loop_function):
9975 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9976 * gst/gstthread.c: (gst_thread_class_init),
9977 (gst_thread_release_children_locks), (gst_thread_change_state):
9978 * gst/schedulers/gstbasicscheduler.c:
9979 (gst_basic_scheduler_loopfunc_wrapper),
9980 (gst_basic_scheduler_chain_wrapper),
9981 (gst_basic_scheduler_src_wrapper),
9982 (gst_basic_scheduler_remove_element):
9983 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9984 Remove threadsafe properties. Fix elements because GObject
9985 complains when installing a property before declaring a
9986 set/get_property handler.
9987 Rearrange gstelement.h file, use STATE macros for state locks.
9988 Free mutexes in the finalize method instead of dispose.
9990 2005-03-08 Wim Taymans <wim@fluendo.com>
9992 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9993 * gst/gstthread.c: (gst_thread_release_children_locks):
9994 Added parentage check.
9995 Fix build og GstThread again.
9997 2005-03-08 Wim Taymans <wim@fluendo.com>
9999 * docs/design/part-MT-refcounting.txt:
10000 * docs/design/part-conventions.txt:
10001 * docs/design/part-gstobject.txt:
10002 * docs/design/part-relations.txt:
10003 * docs/design/part-standards.txt:
10004 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10005 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10006 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10007 (gst_bin_iterate_all_by_interface):
10010 * gst/gstelement.c: (gst_element_class_init),
10011 (gst_element_change_state), (gst_element_set_loop_function):
10012 * gst/gstelement.h:
10013 * gst/gstiterator.c:
10014 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10015 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10016 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10017 (gst_object_set_parent), (gst_object_unparent),
10018 (gst_object_check_uniqueness):
10020 Docs updates, clean up some headers.
10022 2005-03-07 Wim Taymans <wim@fluendo.com>
10024 * check/.cvsignore:
10025 * check/Makefile.am:
10026 * check/gst-libs/.cvsignore:
10027 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10028 * check/gst/.cvsignore:
10029 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10030 (START_TEST), (gstbus_suite), (main):
10031 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10032 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10033 (gst_data_suite), (main):
10034 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10035 (add_fold_func), (gstiterator_suite), (main):
10036 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10037 (thread_name_object), (thread_name_object_default),
10038 (gst_object_name_compare), (gst_object_suite), (main):
10039 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10040 (gst_pad_suite), (main):
10041 * check/gstcheck.c: (gst_check_log_message_func),
10042 (gst_check_log_critical_func), (gst_check_init):
10043 * check/gstcheck.h:
10044 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10045 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10048 2005-03-07 Wim Taymans <wim@fluendo.com>
10050 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10051 (gst_list_iterator_next), (gst_list_iterator_resync),
10052 (gst_list_iterator_free), (gst_iterator_new_list),
10053 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10054 (gst_iterator_free), (gst_iterator_push), (filter_next),
10055 (filter_resync), (filter_uninit), (filter_free),
10056 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10057 (gst_iterator_foreach), (find_custom_fold_func),
10058 (gst_iterator_find_custom):
10059 * gst/gstiterator.h:
10060 Added missing files.
10062 2005-03-07 Wim Taymans <wim@fluendo.com>
10066 * docs/design/part-MT-refcounting.txt:
10067 * docs/design/part-conventions.txt:
10068 * docs/design/part-gstobject.txt:
10069 * docs/design/part-relations.txt:
10070 * examples/mixer/mixer.c: (main):
10071 * examples/thread/thread.c: (eos), (main):
10073 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10074 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10075 (gst_spider_plug_from_srcpad):
10076 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10077 (gst_spider_identity_change_state),
10078 (gst_spider_identity_sink_loop_type_finding):
10079 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10080 * gst/elements/gstidentity.c: (gst_identity_init):
10081 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10082 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10083 * gst/elements/gsttypefindelement.c: (free_entry):
10086 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10087 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10088 (gst_bin_set_index), (gst_bin_set_element_sched),
10089 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10090 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10091 (gst_bin_iterate_elements), (iterate_child_recurse),
10092 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10093 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10094 (compare_interface), (gst_bin_get_by_interface),
10095 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10097 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10098 (gst_buffer_default_free), (gst_buffer_default_copy),
10099 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10100 (gst_buffer_create_sub):
10102 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10103 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10104 (gst_caps_unref), (gst_static_caps_get),
10105 (gst_caps_remove_and_get_structure), (gst_caps_append),
10106 (gst_caps_append_structure), (gst_caps_remove_structure),
10107 (gst_caps_copy_nth), (gst_caps_set_simple),
10108 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10109 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10110 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10111 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10112 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10113 (gst_caps_structure_figure_out_union),
10114 (gst_caps_switch_structures), (gst_caps_do_simplify),
10115 (gst_caps_replace), (gst_caps_from_string),
10116 (gst_caps_copy_conditional):
10118 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10119 (_gst_clock_id_free), (gst_clock_id_unref),
10120 (gst_clock_id_compare_func), (gst_clock_id_wait),
10121 (gst_clock_id_wait_async), (gst_clock_class_init),
10122 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10123 (gst_clock_get_time), (gst_clock_set_time_adjust),
10124 (gst_clock_set_property), (gst_clock_get_property):
10127 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10128 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10130 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10131 (gst_element_requires_clock), (gst_element_provides_clock),
10132 (gst_element_set_clock), (gst_element_clock_wait),
10133 (gst_element_wait), (gst_element_set_time_delay),
10134 (gst_element_is_indexable), (gst_element_add_pad),
10135 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10136 (pad_compare_name), (gst_element_get_static_pad),
10137 (gst_element_request_pad), (gst_element_get_request_pad),
10138 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10139 (gst_element_class_get_pad_template_list),
10140 (gst_element_class_get_pad_template), (gst_element_error_func),
10141 (gst_element_get_random_pad), (gst_element_get_event_masks),
10142 (gst_element_send_event), (gst_element_seek),
10143 (gst_element_get_query_types), (gst_element_query),
10144 (gst_element_get_formats), (gst_element_convert),
10145 (gst_element_is_locked_state), (gst_element_set_locked_state),
10146 (gst_element_sync_state_with_parent), (gst_element_change_state),
10147 (gst_element_finalize), (gst_element_yield),
10148 (gst_element_interrupt), (gst_element_set_scheduler),
10149 (gst_element_get_scheduler), (gst_element_set_loop_function):
10150 * gst/gstelement.h:
10152 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10153 (gst_format_get_by_nick), (gst_format_get_details),
10154 (gst_format_iterate_definitions):
10156 * gst/gstindex.c: (gst_index_gtype_resolver):
10159 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10160 (gst_mem_chunk_free):
10161 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10162 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10163 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10164 (gst_object_dispatch_properties_changed),
10165 (gst_object_set_name_default), (gst_object_set_name),
10166 (gst_object_get_name), (gst_object_set_name_prefix),
10167 (gst_object_get_name_prefix), (gst_object_set_parent),
10168 (gst_object_get_parent), (gst_object_unparent),
10169 (gst_object_check_uniqueness), (gst_object_save_thyself),
10170 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10171 (gst_object_set_property), (gst_object_get_property),
10172 (gst_object_get_path_string):
10174 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10175 (gst_real_pad_init), (gst_real_pad_get_property),
10176 (gst_pad_custom_new), (gst_pad_get_direction),
10177 (gst_pad_set_active), (gst_pad_is_active),
10178 (gst_pad_set_event_function), (gst_pad_is_linked),
10179 (gst_pad_link_free), (gst_pad_link_intersect),
10180 (gst_pad_link_fixate), (gst_pad_set_caps),
10181 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10182 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10183 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10184 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10185 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10186 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10187 (gst_pad_realize), (gst_pad_get_allowed_caps),
10188 (gst_real_pad_dispose), (gst_real_pad_finalize),
10189 (gst_pad_collectv), (gst_pad_collect_valist),
10190 (gst_pad_template_dispose), (gst_pad_template_new),
10191 (gst_pad_get_internal_links):
10193 * gst/gstpipeline.c: (gst_pipeline_dispose),
10194 (gst_pipeline_change_state):
10195 * gst/gstpipeline.h:
10197 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10198 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10199 * gst/gstpluginfeature.h:
10200 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10201 * gst/gstquery.c: (_gst_query_type_initialize),
10202 (gst_query_type_register), (gst_query_type_get_by_nick),
10203 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10205 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10206 * gst/gstscheduler.c: (gst_scheduler_add_element),
10207 (gst_scheduler_factory_create):
10208 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10209 (gst_structure_free), (gst_structure_set_name),
10210 (gst_structure_id_set_value), (gst_structure_set_value),
10211 (gst_structure_set_valist), (gst_structure_remove_field),
10212 (gst_structure_remove_fields),
10213 (gst_structure_remove_fields_valist),
10214 (gst_structure_remove_all_fields), (gst_structure_foreach),
10215 (gst_structure_map_in_place),
10216 (gst_caps_structure_fixate_field_nearest_int),
10217 (gst_caps_structure_fixate_field_nearest_double):
10218 * gst/gststructure.h:
10219 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10220 (gst_system_clock_init), (gst_system_clock_dispose),
10221 (gst_system_clock_async_thread),
10222 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10223 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10224 * gst/gstsystemclock.h:
10225 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10226 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10227 * gst/gsttaginterface.c:
10228 * gst/gstthread.c: (gst_thread_dispose),
10229 (gst_thread_release_children_locks), (gst_thread_change_state),
10230 (gst_thread_main_loop):
10231 * gst/gsttrashstack.h:
10232 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10234 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10235 (gst_element_request_pad), (gst_element_get_pad_from_template),
10236 (gst_element_request_compatible_pad),
10237 (gst_element_get_compatible_pad_filtered),
10238 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10239 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10240 (gst_element_link_many), (gst_element_link),
10241 (gst_element_link_pads), (gst_element_unlink_pads),
10242 (gst_element_unlink_many), (gst_element_unlink),
10243 (gst_pad_can_link_filtered), (gst_pad_can_link),
10244 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10245 (gst_object_default_error), (gst_bin_add_many),
10246 (gst_bin_remove_many), (gst_element_populate_std_props),
10247 (gst_element_class_install_std_props), (gst_buffer_merge),
10248 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10249 (link_fold_func), (gst_pad_proxy_setcaps):
10251 * gst/gstvalue.c: (gst_value_deserialize_string):
10252 * gst/parse/grammar.y:
10253 * gst/schedulers/gstbasicscheduler.c:
10254 (gst_basic_scheduler_cothreaded_chain),
10255 (gst_basic_scheduler_chain_recursive_add),
10256 (gst_basic_scheduler_pad_link):
10257 * gst/schedulers/gstoptimalscheduler.c:
10258 (get_group_schedule_function),
10259 (gst_opt_scheduler_state_transition),
10260 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10261 * libs/gst/bytestream/bytestream.c:
10262 * libs/gst/dataprotocol/dataprotocol.c:
10263 (gst_dp_header_from_buffer):
10266 * tests/threadstate/threadstate2.c: (eos):
10267 * tools/gst-compprep.c: (main):
10268 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10269 (print_pad_info), (print_children_info):
10270 * tools/gst-launch.c: (idle_func), (main):
10271 * tools/gst-md5sum.c: (idle_func), (main):
10272 * tools/gst-xmlinspect.c: (print_element_info):
10273 First THREADED backport attempt, focusing on adding locks and
10274 making sure the API is threadsafe. Needs more work. More docs
10277 2005-02-24 Andy Wingo <wingo@pobox.com>
10279 * tests/bench-complexity.scm:
10280 * tests/complexity.gnuplot: New files, good for running complexity
10283 * tests/Makefile.am:
10284 * tests/complexity.c: New test, sets up N elements, at each level
10285 teeing into M streams per element. Eeeenteresting.
10287 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10288 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10289 running bench-mass_elements.scm.
10291 * tests/bench-mass_elements.scm: New script, runs mass_elements
10292 for various numbers of identities, outputting the results to a
10293 file. Requires guile 1.6. Just for testing.
10295 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10297 * gst/schedulers/fairscheduler.c:
10298 compile with debug disabled
10300 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10303 hunting season on 0.9 is now OPEN