1 2005-11-09 Andy Wingo <wingo@pobox.com>
3 * gst/elements/gstfilesink.c (gst_file_sink_start)
4 (gst_file_sink_stop): New functions, replace the state change
6 (gst_file_sink_class_init): Hook up the start and stop functions.
7 (gst_file_sink_base_init): Don't set the state change handler any
8 more. It was a bit ugly too, being set from here...
9 (gst_file_sink_get_property, gst_file_sink_set_property):
11 (gst_file_sink_set_location): More robust check that doesn't call
14 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
16 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19 2005-11-08 Wim Taymans <wim@fluendo.com>
21 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
23 (gst_base_sink_chain), (gst_base_sink_change_state):
24 * gst/base/gstbasesink.h:
25 * gst/base/gstbasesrc.h:
28 Avoid excessive typechecking in macros.
30 * gst/gstminiobject.c: (gst_mini_object_get_type),
31 (gst_mini_object_init), (gst_mini_object_new),
32 (gst_mini_object_free):
33 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
34 (gst_object_finalize):
35 Remove cruft code, optimize alloc_trace.
37 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
39 * docs/faq/gst-uninstalled:
40 fix up PS1 for systems that try to reset it
42 2005-11-07 Wim Taymans <wim@fluendo.com>
44 * gst/base/gstbasesrc.c: (gst_base_src_init),
45 (gst_base_src_get_range):
46 Set the segment_end to -1 initially. Fixed typefind.
48 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
50 * gst/base/gstadapter.c:
51 Debug category should be 'adapter', not 'GstAdapter'.
53 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
54 (gst_collectpads_class_init), (gst_collectpads_init),
55 (gst_collectpads_peek), (gst_collectpads_pop),
56 (gst_collectpads_event), (gst_collectpads_chain):
57 Add debug category and some debugging output. Use boilerplate
58 macros. Remove some extraneous words from docs.
60 2005-11-05 Andy Wingo <wingo@pobox.com>
62 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
65 2005-11-04 Stefan Kost <ensonic@users.sf.net>
67 * docs/gst/gstreamer-sections.txt:
70 * gst/gstminiobject.h:
75 2005-11-04 Wim Taymans <wim@fluendo.com>
77 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
78 Small update to stop at the configured segment_end
81 2005-11-04 Stefan Kost <ensonic@users.sf.net>
87 2005-11-04 Edward Hervey <edward@fluendo.com>
89 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
90 Check if we are doing a segment seek and have arrived at the
93 2005-11-04 Wim Taymans <wim@fluendo.com>
95 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
96 Don't leak a mutex unlock in case of an error.
101 2005-11-04 Wim Taymans <wim@fluendo.com>
103 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
105 Get the context to wake up only once.
107 2005-11-03 Wim Taymans <wim@fluendo.com>
109 * check/states/sinks.c: (GST_START_TEST):
110 Uncomment fixed check.
112 * docs/design/part-TODO.txt:
115 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
116 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
117 (gst_base_sink_get_position):
118 If we are going to PLAYING, post the right pending state
119 when we post the intermediate paused message.
121 * gst/gstelement.c: (gst_element_continue_state),
122 (gst_element_set_state_func), (gst_element_change_state):
123 Don't post state changes that were between the same state
126 2005-11-03 Stefan Kost <ensonic@users.sf.net>
128 * docs/gst/gstreamer-sections.txt:
131 * gst/gstminiobject.h:
134 more docs and doc style fixes
136 2005-11-03 Stefan Kost <ensonic@users.sf.net>
138 * docs/gst/gstreamer-sections.txt:
140 * gst/gstminiobject.c:
143 2005-11-03 Andy Wingo <wingo@pobox.com>
145 * check/states/sinks.c (test_livesrc_sink): Add checks that the
146 state-changed messages actually have the right order and the right
149 2005-11-03 Wim Taymans <wim@fluendo.com>
151 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
152 Added some more checks. Specifically the case where NO_PREROLL
153 elements are in the pipeline.
155 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
156 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
157 (gst_base_sink_get_position):
158 Post READY->PAUSED state change messages too.
159 Fix bug where VOID was posted as pending state...
161 * gst/gstbin.c: (gst_bin_recalc_state):
162 use _element_continue_state() to continue the state change.
164 * gst/gstelement.c: (gst_element_continue_state),
165 (gst_element_commit_state), (gst_element_set_state_func),
166 (gst_element_change_state), (gst_element_change_state_func):
167 Lots of state change cleanups, assign the STATE_RETURN in
168 a new continue_state() function that also propagates the
169 last return value from a state change to the app.
170 Update some debug statements with proper category.
172 2005-11-03 Wim Taymans <wim@fluendo.com>
174 * docs/design/part-events.txt:
175 * docs/design/part-gstpipeline.txt:
176 * docs/design/part-messages.txt:
177 * docs/design/part-overview.txt:
178 * docs/design/part-seeking.txt:
179 * docs/design/part-states.txt:
180 * docs/design/part-trickmodes.txt:
181 * docs/manual/advanced-position.xml:
185 People think !! is ugly, this looks better.
187 * gst/gstpad.c: (gst_pad_set_blocked_async):
188 Remove !! since it's fixed elsewhere now.
190 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
192 * gst/gstminiobject.h:
194 Add !! to _FLAG_IS_SET macros to make the result boolean.
196 2005-11-03 Edward Hervey <edward@fluendo.com>
198 * gst/gstpad.c: (gst_pad_set_blocked_async):
199 comparing a flag and a gboolean rarely returns coherent results...
200 Added two characters (!!) to make that work correctly.
202 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
204 * gst/gstbus.c: (gst_bus_class_init):
207 * gst/gstqueue.c: (gst_queue_loop):
208 Don't assume a miniobject that isn't a buffer is an
209 event (it could be that there is a refcounting
210 problem somewhere and the pointer is stale and
211 refers to an already destroyed miniobject).
213 2005-11-03 Julien MOUTTE <julien@moutte.net>
215 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
217 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
219 * docs/manual/advanced-position.xml:
220 Update seek example and explanations to current 0.9 API.
222 * gst/elements/gsttypefindelement.c:
223 (gst_type_find_element_activate):
224 Remove FIXME comment now that the found caps
227 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
229 * gst/gstregistryxml.c: (load_feature):
230 Add another GST_STR_NULL instance
232 2005-11-02 Edward Hervey <edward@fluendo.com>
234 * gst/gstpad.c: (handle_pad_block):
235 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
237 2005-11-02 Wim Taymans <wim@fluendo.com>
242 * gst/gstelement.c: (gst_element_commit_state):
246 Mention that the returned element is reffed in the docs.
248 2005-11-02 Wim Taymans <wim@fluendo.com>
250 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
251 (gst_pad_push), (gst_pad_push_event):
252 Unlock blocked pads when they are flushed.
254 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
257 * docs/gst/gstreamer-sections.txt:
260 * gst/gstregistry.c: (gst_registry_scan_path_level):
261 fix for a nasty little missed situation where an installed plug-in
262 which was in the cache did not get overridden by an uninstalled one
263 which was earlier in the plugin path because the newly created plugin
264 for the uninstalled one (not in the registry) didn't get its
265 ->registered set to TRUE
267 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
269 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
270 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
271 (gst_collectpads_is_active), (gst_collectpads_collect),
272 (gst_collectpads_collect_range), (gst_collectpads_start),
273 (gst_collectpads_stop), (gst_collectpads_peek),
274 (gst_collectpads_pop), (gst_collectpads_available),
275 (gst_collectpads_read), (gst_collectpads_flush):
276 Guard public API with assertions.
279 Fix docs for gst_pad_set_link_function().
281 2005-11-02 Johan Dahlin <johan@gnome.org>
283 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
284 Unref found_caps after we used it.
286 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
288 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
289 Don't try to ref NULL.
291 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
293 * win32/common/config.h.in:
294 provide a GST_FUNCTION that just gives a string for now
296 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
298 * win32/common/gstenumtypes.c: (register_gst_object_flags),
299 (gst_object_flags_get_type), (register_gst_bin_flags),
300 (gst_bin_flags_get_type), (register_gst_buffer_flag),
301 (gst_buffer_flag_get_type), (register_gst_bus_flags),
302 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
303 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
304 (gst_clock_return_get_type), (register_gst_clock_entry_type),
305 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
306 (gst_clock_flags_get_type), (register_gst_state),
307 (gst_state_get_type), (register_gst_state_change_return),
308 (gst_state_change_return_get_type), (register_gst_state_change),
309 (gst_state_change_get_type), (register_gst_element_flags),
310 (gst_element_flags_get_type), (register_gst_core_error),
311 (gst_core_error_get_type), (register_gst_library_error),
312 (gst_library_error_get_type), (register_gst_resource_error),
313 (gst_resource_error_get_type), (register_gst_stream_error),
314 (gst_stream_error_get_type), (register_gst_event_type),
315 (gst_event_type_get_type), (register_gst_seek_type),
316 (gst_seek_type_get_type), (register_gst_seek_flags),
317 (gst_seek_flags_get_type), (register_gst_format),
318 (gst_format_get_type), (register_gst_index_certainty),
319 (gst_index_certainty_get_type), (register_gst_index_entry_type),
320 (gst_index_entry_type_get_type),
321 (register_gst_index_lookup_method),
322 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
323 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
324 (gst_index_resolver_method_get_type), (register_gst_index_flags),
325 (gst_index_flags_get_type), (register_gst_debug_level),
326 (gst_debug_level_get_type), (register_gst_debug_color_flags),
327 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
328 (gst_iterator_result_get_type), (register_gst_iterator_item),
329 (gst_iterator_item_get_type), (register_gst_message_type),
330 (gst_message_type_get_type), (register_gst_mini_object_flags),
331 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
332 (gst_pad_link_return_get_type), (register_gst_flow_return),
333 (gst_flow_return_get_type), (register_gst_activate_mode),
334 (gst_activate_mode_get_type), (register_gst_pad_direction),
335 (gst_pad_direction_get_type), (register_gst_pad_flags),
336 (gst_pad_flags_get_type), (register_gst_pad_presence),
337 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
338 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
339 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
340 (gst_plugin_error_get_type), (register_gst_plugin_flags),
341 (gst_plugin_flags_get_type), (register_gst_rank),
342 (gst_rank_get_type), (register_gst_query_type),
343 (gst_query_type_get_type), (register_gst_tag_merge_mode),
344 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
345 (gst_tag_flag_get_type), (register_gst_task_state),
346 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
347 (gst_alloc_trace_flags_get_type),
348 (register_gst_type_find_probability),
349 (gst_type_find_probability_get_type), (register_gst_uri_type),
350 (gst_uri_type_get_type), (register_gst_parse_error),
351 (gst_parse_error_get_type):
352 * win32/common/gstversion.h:
355 2005-11-01 Luca Ognibene <luogni@tin.it>
358 fix docs. popt is dead, long live GOption.
360 2005-10-31 Wim Taymans <wim@fluendo.com>
365 2005-10-31 Andy Wingo <wingo@pobox.com>
369 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
371 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
372 need to serialize property notifications on GLib 2.8. GLib 2.6 has
373 the possibility of deadlocks here if code calling notify() or
374 set() has a lock that can be taken in another notify handler (ABBA
375 with class lock and e.g. python GIL state lock).
377 2005-10-28 Julien MOUTTE <julien@moutte.net>
379 * gst/gstbus.c: Doc updates.
381 2005-10-28 Wim Taymans <wim@fluendo.com>
383 * docs/design/part-TODO.txt:
385 * gst/gstsystemclock.c:
386 * gst/gstsystemclock.h:
389 2005-10-28 Edward Hervey <edward@fluendo.com>
391 * docs/gst/gstreamer-docs.sgml:
392 * docs/gst/gstreamer-sections.txt:
393 the GstURIType documentation page is private, it only defines GstURIType
394 which should be defined in the GstURIHandler page
396 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
398 * gst/gstbin.c: (gst_bin_class_init):
401 Documentation updates.
403 2005-10-28 Wim Taymans <wim@fluendo.com>
405 * docs/gst/gstreamer-sections.txt:
408 Documented the clocks.
410 2005-10-28 Stefan Kost <ensonic@users.sf.net>
412 * docs/gst/gstreamer-sections.txt:
413 move some macros to private sections
414 * gst/gstminiobject.c:
415 * gst/gstminiobject.h:
416 add descriptions provided by ds and some more
418 mark macro as to be removed
420 2005-10-28 Wim Taymans <wim@fluendo.com>
422 * docs/design/part-TODO.txt:
425 * gst/gstiterator.c: (gst_iterator_fold),
426 (gst_iterator_find_custom):
430 2005-10-28 Wim Taymans <wim@fluendo.com>
432 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
433 (gst_base_transform_init):
436 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
437 An EOS event marks the queue as completely filled.
439 2005-10-27 Wim Taymans <wim@fluendo.com>
441 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
442 (gst_base_sink_do_sync), (gst_base_sink_get_position):
445 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
446 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
447 (gst_base_transform_event), (gst_base_transform_getrange),
448 (gst_base_transform_chain):
449 * gst/base/gstbasetransform.h:
451 Protect transform and concurrent buffer alloc with a new lock.
452 Try not to break ABI/API.
454 2005-10-27 Wim Taymans <wim@fluendo.com>
456 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
457 (gst_base_src_init), (gst_base_src_query),
458 (gst_base_src_default_newsegment),
459 (gst_base_src_configure_segment), (gst_base_src_do_seek),
460 (gst_base_src_send_event), (gst_base_src_event_handler),
461 (gst_base_src_pad_get_range), (gst_base_src_loop),
462 (gst_base_src_unlock), (gst_base_src_default_negotiate),
463 (gst_base_src_start), (gst_base_src_deactivate),
464 (gst_base_src_activate_push), (gst_base_src_change_state):
465 Move some stuff around and cleanup things.
467 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
469 * gst/base/gstbasesrc.c: (gst_base_src_query):
470 Add missing break statements.
472 2005-10-27 Wim Taymans <wim@fluendo.com>
474 * check/gst/gstbin.c: (GST_START_TEST):
475 An extra refcount is taken in basesrc.
477 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
478 (gst_base_src_get_range), (gst_base_src_pad_get_range),
480 Small cleanups, check for flushing after being unlocked from the
481 LIVE_LOCK. take refcounts correctly (not yet everywhere).
482 Don't send out EOS when going to READY.
484 2005-10-27 Wim Taymans <wim@fluendo.com>
486 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
487 (gst_base_sink_get_position):
490 * gst/gstbin.c: (message_check), (bin_replace_message),
491 (bin_remove_messages), (is_eos), (gst_bin_add_func),
492 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
493 (bin_query_duration_init), (bin_query_duration_fold),
494 (bin_query_duration_done), (bin_query_generic_fold),
496 * tools/gst-launch.c: (main):
499 2005-10-26 Stefan Kost <ensonic@users.sf.net>
501 * examples/controller/audio-example.c: (main):
502 * examples/queue/queue.c: (event_loop):
503 * gst/base/gstbasetransform.h:
504 * gst/gstelement.c: (gst_element_send_event):
506 * gst/gstpad.c: (gst_pad_send_event):
509 changing log priority in error situations
511 2005-10-25 Wim Taymans <wim@fluendo.com>
513 * gst/gstbin.c: (message_check), (bin_replace_message),
514 (bin_remove_messages), (is_eos), (gst_bin_add_func),
515 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
516 (bin_query_duration_init), (bin_query_duration_fold),
517 (bin_query_duration_done), (bin_query_generic_fold),
519 Some doc and debug updates.
520 Cache previously requested query DURATION for speed. invalidate
521 cached duration if element posts a DURATION message.
523 2005-10-25 Wim Taymans <wim@fluendo.com>
525 * docs/design/part-TODO.txt:
528 * gst/gstbin.c: (message_check), (bin_replace_message),
529 (bin_remove_messages), (is_eos), (gst_bin_add_func),
530 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
531 (bin_query_duration_init), (bin_query_duration_fold),
532 (bin_query_duration_done), (bin_query_generic_fold),
534 Handle SEGMENT_START/DONE messages correctly.
535 More evolved query algorithm that handles duration queries
538 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
539 (gst_element_get_state_func), (gst_element_abort_state),
540 (gst_element_commit_state), (gst_element_lost_state):
546 2005-10-25 Wim Taymans <wim@fluendo.com>
548 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
549 Don't use invalid stream_time.
551 * gst/gstevent.c: (gst_event_new_newsegment):
552 stream_time in newsegment cannot be undefined.
554 2005-10-24 Wim Taymans <wim@fluendo.com>
559 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
561 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
563 2005-10-24 Stefan Kost <ensonic@users.sf.net>
565 * docs/libs/tmpl/gstdparam.sgml:
566 * docs/libs/tmpl/gstdplinint.sgml:
567 * docs/libs/tmpl/gstdpman.sgml:
568 * docs/libs/tmpl/gstdpsmooth.sgml:
569 * docs/libs/tmpl/gstunitconvert.sgml:
572 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
577 === release 0.9.4 ===
579 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
582 releasing 0.9.4, "Tyrannosaurus Rex"
584 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
586 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
587 (gst_file_sink_get_current_offset):
588 Use fseeko() and ftello() if available. When falling back on
589 lseek() to get the current offset, fflush() first to make sure
590 everything is up-to-date and we get the right offset.
592 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
594 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
595 * gst/base/gstbasesrc.c: (gst_base_src_loop):
596 * gst/gsterror.c: (_gst_stream_errors_init):
598 * gst/gstqueue.c: (gst_queue_loop):
600 remove prematurely added error category and clean up the instances
602 2005-10-21 Wim Taymans <wim@fluendo.com>
604 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
605 (gst_base_sink_get_position), (gst_base_sink_query),
606 (gst_base_sink_change_state):
607 Simply set the right flag when going to playing, that's all
608 we need to do instead of calling a function inside the object
609 lock (that could take the lock as well and deadlock)
611 2005-10-21 Wim Taymans <wim@fluendo.com>
613 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
615 Don't warn, the peer element knows what to do best when
616 the seek failed, it might try something else.
618 2005-10-21 Wim Taymans <wim@fluendo.com>
620 * gst/base/gstbasesrc.c: (gst_base_src_init),
621 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
624 2005-10-21 Wim Taymans <wim@fluendo.com>
626 * docs/design/part-segments.txt:
629 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
630 Correctly set caps, even on the subbufer.
632 2005-10-21 Wim Taymans <wim@fluendo.com>
634 * docs/gst/gstreamer-docs.sgml:
635 * docs/gst/gstreamer-sections.txt:
642 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
646 And 2% more doc coverage.
648 2005-10-21 Andy Wingo <wingo@pobox.com>
650 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
653 2005-10-20 Wim Taymans <wim@fluendo.com>
655 * gst/gsterror.c: (gst_error_get_message):
658 * gst/gststructure.c:
663 2005-10-20 Wim Taymans <wim@fluendo.com>
668 Another 1% more coverage.
670 2005-10-20 Wim Taymans <wim@fluendo.com>
672 * docs/gst/gstreamer-sections.txt:
673 * gst/gstelement.c: (gst_element_get_state_func),
674 (gst_element_abort_state), (gst_element_commit_state),
675 (gst_element_lost_state):
677 * gst/gstquery.c: (gst_query_set_position),
678 (gst_query_parse_position), (gst_query_set_duration),
679 (gst_query_parse_duration), (gst_query_new_convert):
681 Yay! 1% more docs coverage.
683 2005-10-20 Wim Taymans <wim@fluendo.com>
686 * gst/gstquery.c: (gst_query_set_position),
687 (gst_query_parse_position), (gst_query_set_duration),
688 (gst_query_parse_duration), (gst_query_new_convert):
690 * gst/gstutils.c: (gst_element_query_convert):
692 Docs and consistency fixes.
694 2005-10-20 Wim Taymans <wim@fluendo.com>
700 2005-10-20 Wim Taymans <wim@fluendo.com>
702 * gst/gstbin.c: (message_check), (bin_replace_message),
703 (bin_remove_messages), (is_eos), (gst_bin_add_func),
704 (update_degree), (gst_bin_sort_iterator_next),
705 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
706 Reworked the message handling a bit, cache the messages instead of
707 only the senders. alows us to do more in the future.
709 2005-10-20 Wim Taymans <wim@fluendo.com>
711 * docs/design/part-TODO.txt:
714 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
715 (gst_base_sink_query):
716 Don't use clock time to report position when in EOS.
718 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
720 * tools/gst-inspect.c: (print_interfaces),
721 (print_element_properties_info), (print_element_info):
722 Fix interface output with gst-inspect -a; don't print
723 newlines after double/float properties.
725 2005-10-20 Wim Taymans <wim@fluendo.com>
727 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
728 (gst_base_sink_query):
729 Speed up current position calculation.
731 * gst/base/gstbasesrc.c: (gst_base_src_query),
732 (gst_base_src_default_newsegment):
733 Correctly set stream position in newsegment.
735 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
736 (update_degree), (gst_bin_sort_iterator_next),
737 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
738 * gst/gstmessage.c: (gst_message_new_custom):
739 Clean up debugging info
741 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
742 (gst_queue_loop), (gst_queue_handle_src_query):
745 2005-10-19 Wim Taymans <wim@fluendo.com>
747 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
748 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
749 Fix query handling again.
751 2005-10-19 Wim Taymans <wim@fluendo.com>
753 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
754 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
755 * gst/base/gstbasesrc.c: (gst_base_src_query):
756 * gst/elements/gstfilesink.c: (gst_file_sink_query):
757 * gst/elements/gsttypefindelement.c:
758 (gst_type_find_handle_src_query), (find_element_get_length),
759 (gst_type_find_element_activate):
762 * gst/gstquery.c: (gst_query_new_position),
763 (gst_query_set_position), (gst_query_parse_position),
764 (gst_query_new_duration), (gst_query_set_duration),
765 (gst_query_parse_duration), (gst_query_set_segment),
766 (gst_query_parse_segment):
768 Bundling query position/duration is not a good idea since duration
769 does not change much and we don't want to recalculate it for every
770 position query, so they are separated again..
771 Base value in segment query is not needed.
773 * gst/gstqueue.c: (gst_queue_handle_src_query):
774 * gst/gstutils.c: (gst_element_query_position),
775 (gst_element_query_duration), (gst_pad_query_position),
776 (gst_pad_query_duration):
778 Updates for query API change.
779 Added some docs here and there.
781 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
783 * check/gst/gstbin.c: (GST_START_TEST):
784 * check/gst/gstghostpad.c: (GST_START_TEST):
785 * check/pipelines/cleanup.c: (GST_START_TEST):
786 wait on thread to die so we can check refcount correctly
788 2005-10-18 Wim Taymans <wim@fluendo.com>
790 * check/pipelines/stress.c: (GST_START_TEST):
791 Make check a little more time consuming.
793 2005-10-18 Wim Taymans <wim@fluendo.com>
796 * check/pipelines/stress.c: (GST_START_TEST),
797 (simple_launch_lines_suite), (main):
798 Small state change torture test.
800 * docs/design/part-states.txt:
801 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
802 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
803 (gst_base_sink_change_state):
804 Never take state lock from streaming thread, clean up ugly
805 hacks. Unfortunatly core does not yet support nice ways to
808 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
810 Start state recalc if a STATE_DIRTY message is posted, but only
813 * gst/gstelement.c: (gst_element_sync_state_with_parent),
814 (gst_element_get_state_func), (gst_element_abort_state),
815 (gst_element_commit_state), (gst_element_lost_state),
816 (gst_element_set_state_func), (gst_element_change_state):
818 State variables are now protected with the LOCK, the state
819 lock is only used to serialize _set_state().
821 2005-10-18 Wim Taymans <wim@fluendo.com>
823 * check/gst/gstbin.c: (GST_START_TEST):
824 * check/gst/gstmessage.c: (GST_START_TEST):
825 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
826 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
828 * gst/gstelement.c: (gst_element_abort_state),
829 (gst_element_commit_state), (gst_element_lost_state):
830 * gst/gstmessage.c: (gst_message_new_state_changed),
831 (gst_message_new_state_dirty), (gst_message_new_segment_start),
832 (gst_message_new_segment_done), (gst_message_new_duration),
833 (gst_message_parse_state_changed),
834 (gst_message_parse_segment_start),
835 (gst_message_parse_segment_done), (gst_message_parse_duration):
837 * tools/gst-launch.c: (event_loop):
838 Seriously, this is better than a previous commit as we only need
839 to notify the fact that an element changed state in a streaming
840 thread, marking the state of the parents dirty, hence the
841 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
844 2005-10-18 Wim Taymans <wim@fluendo.com>
846 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
847 (gst_bin_recalc_func):
848 * gst/gstelement.c: (gst_element_set_clock),
849 (gst_element_abort_state), (gst_element_lost_state):
850 Cleanups, prepare for state change fixes.
852 2005-10-18 Wim Taymans <wim@fluendo.com>
855 * gst/gstelement.c: (gst_element_class_init),
856 (gst_element_set_state), (gst_element_set_state_func):
859 GThreadPool in GstBinClass to monitor async state changes.
860 state_cookie in GstElement to detect concurrent gst/set state.
861 set_state is now virtual too in case a very complicated element
862 has to be constructed.
864 2005-10-18 Wim Taymans <wim@fluendo.com>
866 * check/gst/gstbin.c: (GST_START_TEST):
867 * check/gst/gstmessage.c: (GST_START_TEST):
868 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
869 * gst/gstbin.c: (bin_bus_handler):
870 * gst/gstelement.c: (gst_element_commit_state),
871 (gst_element_lost_state):
872 * gst/gstmessage.c: (gst_message_new_state_changed),
873 (gst_message_new_segment_start), (gst_message_new_segment_done),
874 (gst_message_new_duration), (gst_message_parse_state_changed),
875 (gst_message_parse_segment_start),
876 (gst_message_parse_segment_done), (gst_message_parse_duration):
878 * tools/gst-launch.c: (event_loop):
879 Make messages future proof.
880 state-change gets a flag if it was a message comming from the
882 segment-start/stop can also be specified in other formats.
883 A message to notify an app that a pipeline changed playback
885 Also fix a GstMessage leak in -launch
887 2005-10-18 Andy Wingo <wingo@pobox.com>
889 * gst/gstelement.c (gst_element_dispose): More helpful message.
891 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
893 * gst/gstregistry.c: (gst_registry_scan_path_level):
894 unref a plug-in we get that was already initialized
896 2005-10-18 Stefan Kost <ensonic@users.sf.net>
898 * docs/gst/gstreamer-sections.txt:
899 * docs/libs/gstreamer-libs-sections.txt:
904 2005-10-17 Andy Wingo <wingo@pobox.com>
906 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
909 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
911 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
913 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
914 (gst_element_get_state_func): Better debug message.
915 (gst_element_commit_state): s/INFO/DEBUG/.
916 (gst_element_lost_state, gst_element_change_state):
918 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
919 (gst_message_new_custom): s/INFO/LOG/.
921 2005-10-17 Michael Smith <msmith@fluendo.com>
923 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
924 Check if end time is valid using end time, not start time.
926 2005-10-17 Stefan Kost <ensonic@users.sf.net>
928 * check/gst-libs/controller.c: (GST_START_TEST),
929 (gst_controller_suite):
930 * libs/gst/controller/gstcontroller.c:
931 (gst_controlled_property_set_interpolation_mode):
932 * libs/gst/controller/gstcontroller.h:
933 * libs/gst/controller/gstinterpolation.c:
934 * testsuite/controller/.cvsignore:
935 * testsuite/controller/Makefile.am:
936 * testsuite/controller/interpolator.c:
937 merge controller testsuites
939 remove mem-chunk from docs
941 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
945 * gst/gsttrashstack.c:
946 * gst/gsttrashstack.h:
947 out. get out. you're fired. to the Attic !
949 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
951 * gst/gstcaps.c: (gst_caps_intersect):
952 fix signedness issues in a (hopefully) correct way
953 * gst/gstelement.c: (gst_element_pads_activate):
955 * gst/gstobject.c: (gst_object_set_parent):
958 2005-10-17 Julien MOUTTE <julien@moutte.net>
960 * gst/gstvalue.h: Fix prototypes.
962 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
964 * docs/gst/gstreamer-sections.txt:
965 * gst/gst.c: (gst_version_string):
967 * gst/gstversion.h.in:
968 * win32/common/libgstreamer.def:
969 add gst_version_string ()
971 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
975 * gst/gst.c: (init_post):
976 * win32/common/config.h.in:
978 * gst/gstcaps.c: (gst_caps_intersect):
979 use gint64, the range could be bigger than a guint
981 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
984 document potential problem in 2038
986 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
988 * gst/gstcaps.c: (gst_caps_intersect):
989 Fix guint j diving under 0
991 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
994 * win32/common/config.h:
995 * win32/common/config.h.in:
996 check for process.h, declares getpid() on Windows
998 include process.h if we have it
999 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1000 * gst/gstmemchunk.h:
1001 fix signedness issues
1002 * win32/common/libgstreamer.def:
1005 2005-10-16 Julien MOUTTE <julien@moutte.net>
1007 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1008 fix. Because of unsigned ints, caps intersection was going nuts and
1009 trying to access structures with G_MAXUINT index. That fixes
1010 videotestsrc ! ffmpegcolorspace ! fakesink
1011 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1014 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1017 use the gettext macro
1018 * gst/elements/gstelements.c:
1020 * gst/indexers/gstindexers.c:
1021 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1022 * win32/common/config.h:
1024 * win32/common/config.h.in:
1025 add the template to generate config.h
1026 * win32/common/gstenumtypes.c:
1027 * win32/common/gstversion.h:
1030 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1032 * gst/gst.c: (gst_version):
1033 * gst/gstversion.h.in:
1036 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1039 Oops, add missing closing bracket.
1041 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1044 use common m4's for argument checking
1046 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1048 * docs/gst/gstreamer-sections.txt:
1050 Add GST_EVENT_TYPE_NAME() macro.
1052 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1055 * gst/gstpluginfeature.c:
1057 privatize more symbols
1059 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1062 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1063 everything that uses GStreamer API should have the includes
1065 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1067 * docs/gst/gstreamer-sections.txt:
1068 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1070 give each value a _get_type, removes the DATA exports
1072 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1076 remove _gst_registry_auto_load, not used anymore
1077 * gst/gstbin.c: (gst_bin_get_type):
1079 * gst/gstelement.c: (gst_element_get_type):
1081 * gst/gstobject.c: (gst_object_get_type):
1083 * gst/gstpad.c: (gst_pad_get_type):
1085 make _get_type functions similar, fixes data export from library
1087 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1090 correctly make conditionals
1091 * gst/elements/Makefile.am:
1092 * gst/elements/gstelements.c:
1093 fix typo causing fdsrc not to build
1095 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1097 * testsuite/Makefile.am:
1098 * testsuite/bytestream/.cvsignore:
1099 * testsuite/bytestream/Makefile.am:
1100 * testsuite/bytestream/filepadsink.c:
1101 * testsuite/bytestream/gstbstest.c:
1102 * testsuite/bytestream/test1.c:
1103 * testsuite/bytestream/testfile1:
1104 * testsuite/caps/normalisation.c:
1105 * testsuite/caps/random.c: (main):
1106 * testsuite/cleanup/.cvsignore:
1107 * testsuite/cleanup/Makefile.am:
1108 * testsuite/cleanup/cleanup1.c:
1109 * testsuite/cleanup/cleanup2.c:
1110 * testsuite/cleanup/cleanup3.c:
1111 * testsuite/cleanup/cleanup4.c:
1112 * testsuite/cleanup/cleanup5.c:
1113 * testsuite/controller/interpolator.c:
1114 * testsuite/debug/printf_extension.c: (main):
1115 * testsuite/elements/tee.c:
1116 * testsuite/negotiation/.cvsignore:
1117 * testsuite/negotiation/Makefile.am:
1118 * testsuite/negotiation/pad_link.c:
1119 * testsuite/pad/Makefile.am:
1120 * testsuite/pad/chainnopull.c:
1121 * testsuite/pad/getnopush.c:
1122 * testsuite/pad/link.c:
1123 * testsuite/refcounting/sched.c: (create_pipeline):
1124 * testsuite/registry/Makefile.am:
1125 * testsuite/registry/gst-print-formats.c:
1126 * testsuite/schedulers/.cvsignore:
1127 * testsuite/schedulers/142183-2.c:
1128 * testsuite/schedulers/142183.c:
1129 * testsuite/schedulers/143777-2.c:
1130 * testsuite/schedulers/143777.c:
1131 * testsuite/schedulers/147713.c:
1132 * testsuite/schedulers/147819.c:
1133 * testsuite/schedulers/147894-2.c:
1134 * testsuite/schedulers/147894.c:
1135 * testsuite/schedulers/Makefile.am:
1136 * testsuite/schedulers/group_link.c:
1137 * testsuite/schedulers/queue_link.c:
1138 * testsuite/schedulers/relink.c:
1139 * testsuite/schedulers/unlink.c:
1140 * testsuite/schedulers/unref.c:
1141 * testsuite/schedulers/useless_iteration.c:
1142 * testsuite/states/bin.c:
1143 clean out/remove some stuff from the testsuite directories
1145 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1148 check for some headers
1149 * gst/elements/Makefile.am:
1150 * gst/elements/gstelements.c:
1151 don't compile fdsrc without sys/socket.h
1152 * gst/indexers/Makefile.am:
1153 * gst/indexers/gstindexers.c: (plugin_init):
1154 don't compile fileindex without mmap
1156 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1163 * check/Makefile.am:
1164 * docs/gst/Makefile.am:
1165 * examples/helloworld/Makefile.am:
1167 * gst/base/Makefile.am:
1168 * gst/check/Makefile.am:
1169 * gst/elements/Makefile.am:
1170 * gst/indexers/Makefile.am:
1171 * gst/parse/Makefile.am:
1172 * libs/gst/controller/Makefile.am:
1173 * libs/gst/dataprotocol/Makefile.am:
1174 * examples/helloworld/helloworld.c: (event_loop):
1175 compile fixes, though it's not being compiled currently
1177 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1179 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1180 Add some simple tests for the new taglist date API.
1182 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1184 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1185 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1186 Beautify 'last-message' output: print 'none' for buffer timestamps
1187 and durations if none is set; improve alignment with next messages.
1189 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1191 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1192 * gst/gstpluginfeature.h:
1193 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1194 * gst/gstregistry.h:
1195 * docs/gst/gstreamer-sections.txt:
1196 Add new API to check plugin feature version requirements.
1198 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1199 Some basic tests for the above.
1201 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1203 * gst/gststructure.c: (gst_structure_to_string):
1204 guard against NULL printf - happens when for example
1205 a message structure with GstClock gets serialized
1207 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1209 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1210 Fix presumable copy'n'pasto.
1212 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1214 * gst/elements/gstfakesrc.h:
1215 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1216 * gst/elements/gsttypefindelement.c:
1218 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1219 I wonder if this could actually write +2GB files before
1221 2005-10-13 Andy Wingo <wingo@pobox.com>
1223 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1224 Fix Timmeke Waymans bug.
1225 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1226 string of the proper length to gst_caps_from_string. There's a
1227 potential for, before this fix, that this could cause someone
1228 connecting over the network to cause a segfault if the payload is
1231 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1233 * docs/design/draft-push-pull.txt:
1234 * docs/design/part-overview.txt:
1235 * docs/random/TODO-pre-0.9:
1236 * docs/random/old/ChangeLog.gstreamer:
1237 * gst/base/gstpushsrc.c:
1241 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1243 * gst/glib-compat.c: (gst_flags_get_first_value):
1244 * gst/glib-compat.h:
1245 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1246 (gst_value_compare_double), (gst_value_serialize_flags):
1247 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1250 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1252 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1253 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1255 * tools/gst-launch.c: (event_loop):
1256 print out clock nicely
1258 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1260 * docs/gst/gstreamer-sections.txt:
1262 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1263 (gst_tag_list_get_date_index):
1264 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1265 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1267 2005-10-13 Julien MOUTTE <julien@moutte.net>
1269 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1270 (gst_collectpads_chain):
1271 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1274 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1276 * docs/gst/gstreamer-sections.txt:
1279 * tools/gst-inspect.c: (main):
1280 * tools/gst-launch.c: (main):
1281 * tools/gst-run.c: (main):
1282 * tools/gst-xmlinspect.c: (main):
1283 fix GOption context leaks
1286 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1290 * win32/common/config.h:
1292 * win32/vs6/grammar.dsp:
1293 * win32/vs6/libgstelements.dsp:
1294 * win32/vs6/libgstreamer.dsp:
1297 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1299 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1300 * gst/base/gstbasesrc.c: (gst_base_src_query):
1301 fix more guint64<->gdouble conversions
1303 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1306 add win32-update target
1307 * win32/common/gstconfig.h:
1308 * win32/common/gstenumtypes.c:
1309 * win32/common/gstenumtypes.h:
1310 * win32/common/gstversion.h:
1311 add files that visual studio can't generate
1313 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1316 add a win32-update target
1319 2005-10-12 Wim Taymans <wim@fluendo.com>
1321 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1322 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1323 * gst/gstelement.c: (gst_element_commit_state),
1324 (gst_element_set_state):
1325 Protect flags with proper lock.
1326 unref provided cached clock in dispose.
1328 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1331 * gst/gstminiobject.h:
1333 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1334 removed unused flags from miniobject
1337 2005-10-12 Wim Taymans <wim@fluendo.com>
1339 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1340 (gst_file_sink_event), (gst_file_sink_render):
1341 Flush before seeking.
1343 2005-10-12 Andy Wingo <wingo@pobox.com>
1345 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1346 always been the case.
1348 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1350 * check/gst/gstbin.c: (GST_START_TEST):
1351 * docs/gst/gstreamer-sections.txt:
1352 * gst/base/gstbasesink.c: (gst_base_sink_init):
1353 * gst/base/gstbasesrc.c: (gst_base_src_init),
1354 (gst_base_src_get_range), (gst_base_src_check_get_range),
1355 (gst_base_src_start), (gst_base_src_stop):
1356 * gst/base/gstbasesrc.h:
1357 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1358 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1359 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1363 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1365 * gst/gstelement.c: (gst_element_is_locked_state),
1366 (gst_element_set_locked_state), (gst_element_commit_state),
1367 (gst_element_set_state):
1369 * gst/gstindex.c: (gst_index_init):
1371 * gst/gstminiobject.h:
1372 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1373 (gst_object_set_parent):
1375 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1376 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1378 * gst/gstpadtemplate.h:
1379 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1380 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1381 * gst/gstpipeline.h:
1382 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1383 (gst_file_index_commit):
1384 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1385 * testsuite/pad/link.c: (gst_test_src_init),
1386 (gst_test_filter_init), (gst_test_sink_init):
1387 * testsuite/states/locked.c: (main):
1388 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1389 moved bitshift from macro to enum definition
1391 2005-10-12 Wim Taymans <wim@fluendo.com>
1393 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1394 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1395 (gst_file_sink_render):
1396 Some more debugging info.
1398 2005-10-12 Wim Taymans <wim@fluendo.com>
1400 * docs/design/part-states.txt:
1401 * tools/gst-launch.c: (main):
1403 Revert non-intentional change.
1405 2005-10-12 Wim Taymans <wim@fluendo.com>
1407 * check/gst/gstbin.c: (GST_START_TEST):
1408 * check/gst/gstelement.c: (GST_START_TEST):
1409 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1410 * check/gst/gstghostpad.c: (GST_START_TEST):
1411 * check/gst/gstpipeline.c: (GST_START_TEST):
1412 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1413 * check/states/sinks.c: (GST_START_TEST):
1414 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1415 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1416 (gst_bin_remove_func), (gst_bin_get_state_func),
1417 (gst_bin_recalc_state), (gst_bin_change_state_func),
1419 * gst/gstelement.c: (gst_element_get_state_func),
1420 (gst_element_get_state), (gst_element_abort_state),
1421 (gst_element_commit_state), (gst_element_set_state),
1422 (gst_element_change_state), (gst_element_change_state_func):
1424 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1425 (gst_pipeline_provide_clock_func):
1426 * gst/gstutils.c: (gst_element_link_pads_filtered):
1427 * tools/gst-launch.c: (main):
1428 * tools/gst-typefind.c: (main):
1429 Use GstClockTime in _get_state() instead of GTimeVal.
1430 Remove old code in gstutils.c
1432 2005-10-12 Andy Wingo <wingo@pobox.com>
1434 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1437 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1438 there is no task. Shouldn't affect any code, as nothing in our
1439 plugins checks this return value.
1440 (gst_pad_stop_task): Also take the stream lock if the pad has no
1443 2005-10-12 Wim Taymans <wim@fluendo.com>
1445 * gst/gstpad.c: (pre_activate), (post_activate),
1446 (gst_pad_activate_pull), (gst_pad_activate_push):
1447 Cleanup activation code. Reset old state if
1450 2005-10-12 Wim Taymans <wim@fluendo.com>
1452 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1453 (gst_base_sink_change_state):
1454 No need to prerol after receiving EOS.
1456 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1457 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1458 * gst/elements/gstidentity.c: (gst_identity_event):
1459 Print events more verbosely.
1461 2005-10-12 Wim Taymans <wim@fluendo.com>
1463 * check/Makefile.am:
1464 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1465 * check/states/sinks2.c:
1466 Moved sinks2 testcode in sinks check.
1468 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1469 (gst_bin_remove_func), (gst_bin_recalc_state),
1470 (gst_bin_change_state_func), (bin_bus_handler):
1471 Fix potential race condition when _get_state() iterated over an
1472 ASYNC element right before it posted a state completion.
1475 Do proper cast here.
1477 * gst/gstevent.c: (gst_event_new_newsegment),
1478 (gst_event_parse_newsegment):
1479 A playback rate of 0.0 is not allowed.
1481 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1483 * win32/common/config.h:
1484 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1485 (_trewinddir), (_ttelldir), (_tseekdir):
1486 * win32/common/dirent.h:
1487 * win32/common/gtchar.h:
1488 * win32/common/libgstbase.def:
1489 * win32/common/libgstreamer.def:
1490 * win32/vs6/grammar.dsp:
1491 * win32/vs6/gst_inspect.dsp:
1492 * win32/vs6/gst_launch.dsp:
1493 * win32/vs6/gstreamer.dsw:
1494 * win32/vs6/libgstbase.dsp:
1495 * win32/vs6/libgstelements.dsp:
1496 * win32/vs6/libgstreamer.dsp:
1497 Visual Studio 6 project files, and a new common directory.
1500 2005-10-11 Wim Taymans <wim@fluendo.com>
1502 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1503 (gst_base_sink_do_sync), (gst_base_sink_query),
1504 (gst_base_sink_change_state):
1505 * gst/base/gstbasesink.h:
1506 Correctly parse newsegment info.
1508 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1510 * gst/gst.c: (init_post):
1511 split plugin paths correctly
1513 2005-10-11 Wim Taymans <wim@fluendo.com>
1515 * check/gst/gstevent.c: (GST_START_TEST):
1516 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1517 (gst_base_sink_change_state):
1518 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1519 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1520 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1521 * gst/gstevent.c: (gst_event_new_newsegment),
1522 (gst_event_parse_newsegment):
1524 Added extra flag to newsegment for future API freeze.
1525 Updated check and base elements.
1527 2005-10-11 Julien MOUTTE <julien@moutte.net>
1529 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1530 (gst_collectpads_add_pad), (gst_collectpads_pop),
1531 (gst_collectpads_event), (gst_collectpads_chain):
1532 * gst/base/gstcollectpads.h: Handle EOS correctly.
1534 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1536 * tools/gst-launch.c: (main):
1537 more null protecting
1539 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1541 * gst/gst-i18n-lib.h:
1542 check for ENABLE_NLS, not GETTEXT_PACKAGE
1543 * gst/gstregistry.c: (gst_registry_add_plugin),
1544 (gst_registry_scan_path_level),
1545 (_gst_registry_remove_cache_plugins):
1546 protect possibly NULL strings
1547 * gst/parse/types.h:
1548 config.h already included before
1549 * tools/gst-inspect.c: (main):
1550 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1551 check for ENABLE_NLS, not GETTEXT_PACKAGE
1552 * tools/gst-launch.c: (main):
1553 check for ENABLE_NLS, not GETTEXT_PACKAGE
1555 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1558 if we don't have glib, fail before testing 2.8
1559 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1560 fix a leak, should fix plugins-base testsuite
1562 2005-10-11 Andy Wingo <wingo@pobox.com>
1564 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1565 take the mode we're going to as an arg. Go head and set the mode
1566 and flushing flags now, so that if the activate function starts a
1567 thread all the flags will be in the right state.
1568 (post_activate): Renamed also. Just handle making sure streaming
1569 finishes for the deactivation case, and setting the deactivated
1571 (gst_pad_set_active): Complain loudly if deactivation fails.
1572 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1573 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1574 remove the terrible hack.
1576 2005-10-11 Wim Taymans <wim@fluendo.com>
1578 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1579 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1580 (gst_bin_recalc_state), (gst_bin_change_state_func),
1581 (gst_bin_dispose), (bin_bus_handler):
1583 Prepare to make current EOS message queue more generic.
1586 * gst/gstevent.c: (gst_event_new_newsegment),
1587 (gst_event_parse_newsegment):
1589 Rename base to stream_time.
1594 2005-10-11 Wim Taymans <wim@fluendo.com>
1596 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1597 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1598 (gst_bin_change_state_func), (bin_bus_handler):
1600 Work on proper clock selection.
1602 2005-10-11 Edward Hervey <edward@fluendo.com>
1604 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1605 * libs/gst/controller/gstcontroller.h:
1606 Added GList* version of _remove_properties() in order to be able to wrap
1609 2005-10-11 Wim Taymans <wim@fluendo.com>
1611 * docs/design/part-states.txt:
1614 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1615 (gst_bin_change_state_func), (bin_bus_handler):
1616 Doc updates. Don't distribute the same clock over and over again.
1622 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1623 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1624 (gst_pad_send_event):
1626 Make probe emission threadsafe again.
1627 Register quarks and move _get_name() from utils.
1630 * gst/gstpipeline.c: (gst_pipeline_class_init),
1631 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1632 Only redistribute the clock of it changed.
1634 * gst/gstsystemclock.h:
1639 Moved the _flow_get_name() to GstPad.
1641 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1643 * check/gst-libs/gdp.c: (GST_START_TEST):
1644 * check/gst/gstcaps.c: (GST_START_TEST):
1645 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1646 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1647 (gst_dp_packet_from_caps):
1648 fix more valgrind warnings before turning up the heat
1650 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1652 * gst/parse/grammar.y:
1653 some cleanup before the hacking
1655 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1657 * gst/base/gstbasesrc.c: (gst_base_src_query):
1659 * gst/gstutils.c: (gst_guint64_to_gdouble),
1660 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1662 externalize, basesrc uses it
1663 obviously the implementation needs testing
1665 2005-10-10 Wim Taymans <wim@fluendo.com>
1667 * tests/sched/Makefile.am:
1668 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1669 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1671 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1673 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1674 apparently converting from guint64 to double is not implemented
1677 2005-10-10 Wim Taymans <wim@fluendo.com>
1679 * check/Makefile.am:
1680 * check/generic/states.c: (GST_START_TEST):
1681 * check/gst/gstbin.c: (GST_START_TEST):
1682 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1683 * check/states/sinks.c: (GST_START_TEST):
1684 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1686 Check fixes, use API as stated in design docs, remove hacks.
1688 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1689 (gst_base_sink_change_state):
1690 Catch stopping our task while we're shutting down.
1692 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1693 (gst_bin_remove_func), (gst_bin_get_state_func),
1694 (gst_bin_recalc_state), (gst_bin_change_state_func),
1697 * gst/gstelement.c: (gst_element_init),
1698 (gst_element_get_state_func), (gst_element_abort_state),
1699 (gst_element_commit_state), (gst_element_lost_state),
1700 (gst_element_set_state), (gst_element_change_state),
1701 (gst_element_change_state_func):
1703 New state change algorithm (see #318116)
1705 * gst/gstpipeline.c: (gst_pipeline_class_init),
1706 (gst_pipeline_init), (gst_pipeline_set_property),
1707 (gst_pipeline_get_property), (do_pipeline_seek),
1708 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1709 * gst/gstpipeline.h:
1710 Remove crude state change hacks.
1715 * tools/gst-launch.c: (main):
1716 Fixes for state change. Needs some more work to fully use the
1719 2005-10-10 Andy Wingo <wingo@pobox.com>
1721 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1723 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1724 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1727 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1729 * gst/gstiterator.c: (gst_iterator_new):
1730 Fix my previous commit: GTypes passed to gst_iterator_new()
1731 can be fundamental types.
1733 2005-10-10 Wim Taymans <wim@fluendo.com>
1735 * gst/gstelement.c: (gst_element_iterate_pad_list),
1736 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1737 (gst_element_iterate_sink_pads):
1738 Use src/sink pads lists for the respective iterators instead
1741 2005-10-10 Andy Wingo <wingo@pobox.com>
1743 Merged in popt removal + GOption addition patch from Ronald, bug
1746 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1747 GstElement macros around, remove popt-related symbols, add goption
1750 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1752 * docs/gst/Makefile.am:
1753 * docs/libs/Makefile.am: No POPT_CFLAGS.
1755 * examples/manual/Makefile.am:
1756 * docs/manual/basics-init.xml: Doc updates with an example.
1758 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1759 (gst_init), (parse_one_option), (parse_goption_arg):
1760 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1761 bit of hand merging and debugging to get the GOption stuff working
1764 * tests/Makefile.am:
1765 * tools/Makefile.am:
1766 * tools/gst-inspect.c: (main):
1767 * tools/gst-launch.c: (main):
1768 * tools/gst-run.c: (main):
1769 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1771 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1773 * gst/gstiterator.c: (gst_iterator_new):
1774 Add assertions to make sure passed GType is likely to really
1775 be a GType (as the compiler won't catch it if the size and
1776 GType arguments get mixed up, see #318447).
1778 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1780 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1782 * gst/gstbin.c: (gst_bin_iterate_sorted):
1783 Pass GType and size arguments to gst_iterator_new() in the right
1784 order (maybe we should make _new() take the GType as first argument
1785 just like _new_list()?) (#318447).
1788 2005-10-10 Wim Taymans <wim@fluendo.com>
1790 * gst/gstelement.c: (gst_element_finalize):
1791 And free the GStaticRecMutex too
1793 2005-10-10 Andy Wingo <wingo@pobox.com>
1795 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1796 Allocate and free the mutex properly.
1798 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1800 (GstElement): The state_lock is now recursive. Rebuild your
1801 plugins, suckers. Old macros adapted.
1803 * docs/gst/gstreamer-sections.txt: Doc updates.
1806 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1807 (g_static_rec_cond_wait): Ported from state changes patch, while
1808 we wait on bug #317802 to be solved in a well-distributed GLib.
1810 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1811 gst_element_change_state, variable name changes.
1812 (gst_element_change_state): Split out of gst_element_set_state in
1813 preparation for the state change merge. Doesn't pay attention to
1814 the 'transition' argument.
1815 (gst_element_set_state): Updates, hopefully purely cosmetic.
1816 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1818 (gst_element_get_state_func): Renamed from get_state, cosmetic
1821 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1823 * gst/elements/gstelements.c:
1824 * win32/GStreamer.vcproj:
1826 * win32/dirent.c: (_tseekdir):
1827 * win32/gst-inspect.vcproj:
1828 * win32/gst-launch.vcproj:
1829 * win32/gstconfig.h:
1830 * win32/gstelements.vcproj:
1831 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1832 * win32/gstreamer.def:
1834 updates for the win32 build (patch from Sebastien Moutte)
1836 2005-10-10 Andy Wingo <wingo@pobox.com>
1838 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1839 gst_bin_get_state, cleaned up (but no logic changes).
1840 (bin_element_is_sink): Comment updates.
1841 (sink_iterator_filter): Remove needless cast.
1842 (gst_bin_iterate_sinks): Doc update.
1843 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1844 cleaned up (but no logic changes).
1846 * check/states/sinks.c (test_src_sink): Cleanups from the state
1848 (test_livesrc_sink): Sync on the state.
1850 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1851 the state change patch.
1853 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1856 * check/gst/gstbin.c: Merge in some style fixes and additional
1857 checks from Wim's state change patch.
1859 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1861 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1862 (gst_type_find_helper):
1863 Check whether we have the requested data already in our list of
1864 cached buffers before pulling a new buffer; also make the buffer
1865 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1867 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1872 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1873 don't use long long, it's not portable. Replacing with
1874 gint64 seems to work; let's hope no skeletons fall out of the closet.
1876 2005-10-10 Andy Wingo <wingo@pobox.com>
1878 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1880 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1882 * docs/gst/gstreamer-sections.txt:
1887 * gst/gstmessage.c: (gst_message_parse_state_changed):
1890 more docs, fix compilation
1892 2005-10-09 Philippe Khalaf <burger@speedy.org>
1894 Fixed a few forgotten variables on previous commit
1896 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1898 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1899 Fix evil typefind crasher: getrange() might return a short
1900 buffer at the end of a file, but gst_type_find_peek() must
1901 either return the full data as requested or NULL, but
1902 never a short buffer.
1904 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1906 * gst/gstmessage.c: (gst_message_new_state_changed),
1907 (gst_message_parse_state_changed):
1909 don't use "new", it's a C++ keyword
1911 2005-10-08 Wim Taymans <wim@fluendo.com>
1913 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1914 * gst/gstelement.c: (gst_element_post_message):
1915 * gst/gstpipeline.c: (gst_pipeline_change_state):
1916 Small docs and debug updates.
1918 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1920 * docs/gst/gstreamer-sections.txt:
1921 * gst/gstelementfactory.c:
1926 2005-10-08 Wim Taymans <wim@fluendo.com>
1928 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1929 (gst_bin_dispose), (bin_bus_handler):
1930 Fix typos, add comments.
1931 Clear EOS list when going to PAUSED from any direction and do it
1932 in a threadsafe way.
1933 Get base time in a threadsafe way too.
1934 Fix confusing debug in the change_state function.
1935 Various other small cleanups.
1937 * gst/gstelement.c: (gst_element_post_message):
1938 Fix very verbose bus posting code.
1940 * gst/gstpipeline.c: (gst_pipeline_class_init),
1941 (gst_pipeline_set_property), (gst_pipeline_get_property),
1942 (gst_pipeline_change_state):
1943 Small ARG_ -> PROP_ cleanup
1945 2005-10-08 Wim Taymans <wim@fluendo.com>
1947 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1948 Do a less CPU demanding EOS check because we can.
1950 2005-10-08 Wim Taymans <wim@fluendo.com>
1952 * libs/gst/dataprotocol/dataprotocol.c:
1953 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1954 (gst_dp_packet_from_event):
1955 * libs/gst/dataprotocol/dataprotocol.h:
1956 * libs/gst/dataprotocol/dp-private.h:
1957 It's about time we bump the version number.
1958 Since event types don't fit in the guint8 anymore describing
1959 the payload type, make payload type 16 bits wide.
1961 2005-10-08 Wim Taymans <wim@fluendo.com>
1963 * docs/design/part-TODO.txt:
1964 * docs/design/part-clocks.txt:
1965 * docs/design/part-events.txt:
1966 * docs/design/part-gstbin.txt:
1967 * docs/design/part-gstelement.txt:
1968 * docs/design/part-gstpipeline.txt:
1969 * docs/design/part-live-source.txt:
1970 * docs/design/part-messages.txt:
1971 * docs/design/part-overview.txt:
1972 * docs/design/part-states.txt:
1975 2005-10-08 Wim Taymans <wim@fluendo.com>
1979 Fix event quark registration.
1980 Add some space between events so we can insert them in the
1983 2005-10-08 Wim Taymans <wim@fluendo.com>
1985 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1986 (gst_base_sink_handle_buffer):
1993 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1994 (gst_queue_set_property), (gst_queue_get_property):
1996 Remove old unused properties.
1998 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1999 * docs/gst/gstreamer-sections.txt:
2002 * gst/gstminiobject.c:
2003 * gst/gstminiobject.h:
2007 lots of new docs and doc fixes
2009 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2011 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2013 * gst/gstregistry.c: (gst_registry_lookup_locked),
2014 (gst_registry_scan_path_level):
2015 * gst/gstregistryxml.c: (load_plugin):
2016 Only ever load one plugin for a given plugin basename.
2017 This ensures correct overriding of GST_PLUGIN_PATH over
2018 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2019 system installed plugins.
2021 2005-10-08 Wim Taymans <wim@fluendo.com>
2023 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2024 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2025 Prepare for doing QOS.
2027 2005-10-08 Wim Taymans <wim@fluendo.com>
2029 * check/gst/gstbin.c: (GST_START_TEST):
2030 * check/pipelines/cleanup.c: (GST_START_TEST):
2031 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2032 Allow new clock message too.
2034 2005-10-08 Wim Taymans <wim@fluendo.com>
2036 * gst/gstmessage.c: (gst_message_new_error),
2037 (gst_message_new_warning), (gst_message_new_tag),
2038 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2039 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2040 (gst_message_new_segment_start), (gst_message_new_segment_done),
2041 (gst_message_parse_state_changed),
2042 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2043 (gst_message_parse_new_clock):
2045 Also carry the clock in question.
2047 2005-10-08 Wim Taymans <wim@fluendo.com>
2049 * gst/gstmessage.c: (gst_message_new_custom),
2050 (gst_message_new_eos), (gst_message_new_error),
2051 (gst_message_new_warning), (gst_message_new_tag),
2052 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2053 (gst_message_new_new_clock), (gst_message_new_segment_start),
2054 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2055 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2058 Added clock related messages.
2060 * gst/gstpipeline.c: (gst_pipeline_change_state):
2061 Post message when the clock changed.
2063 * tools/gst-launch.c: (event_loop):
2066 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2068 * tools/gst-inspect.c: (print_element_properties_info):
2069 Can't pass NULL strings to g_print() on windows.
2071 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2074 * docs/gst/Makefile.am:
2075 * docs/gst/gstreamer-docs.sgml:
2076 * docs/gst/running.xml:
2077 * docs/version.entities.in:
2078 add a chapter on running GStreamer.
2079 document GST_DEBUG and GST_PLUGIN* env vars
2081 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2086 remove PLUGINS_BUILDDIR stuff
2087 * gst/gst.c: (init_post):
2088 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2090 remove, it was condescending and not needed
2092 2005-10-08 Wim Taymans <wim@fluendo.com>
2094 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2095 (gst_base_sink_handle_object), (gst_base_sink_event),
2096 (gst_base_sink_wait), (gst_base_sink_handle_event),
2097 (gst_base_sink_change_state):
2098 * gst/base/gstbasesink.h:
2099 Repost EOS message while going to PLAYING if still EOS.
2100 Make sure that when receiving a FLUSH_START we don't attempt
2101 to sync on the clock anymore.
2103 2005-10-08 Wim Taymans <wim@fluendo.com>
2105 * tools/gst-launch.c: (event_loop):
2106 Better message printout.
2108 2005-10-08 Wim Taymans <wim@fluendo.com>
2110 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2111 (gst_bin_child_proxy_get_children_count):
2112 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2113 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2114 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2115 (gst_child_proxy_set_valist):
2116 * gst/parse/grammar.y:
2117 Make ChildProxy threadsafe and fix mem leaks.
2119 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2121 * gst/gst.c: (init_post):
2122 debug the GST_PLUGIN_ env vars
2124 2005-10-08 Wim Taymans <wim@fluendo.com>
2126 * check/gst/gstbin.c: (GST_START_TEST):
2127 * check/gst/gstmessage.c: (GST_START_TEST):
2128 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2129 * gst/gstelement.c: (gst_element_commit_state),
2130 (gst_element_lost_state):
2131 * gst/gstmessage.c: (gst_message_new_state_changed),
2132 (gst_message_parse_state_changed):
2134 * tools/gst-launch.c: (event_loop):
2135 Added extra field to STATE_CHANGE message with the pending
2136 state, which will be different from the new state soon.
2138 2005-10-08 Wim Taymans <wim@fluendo.com>
2140 * gst/gstbus.c: (gst_bus_pop):
2142 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2143 Small cleanups and doc updates.
2145 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2147 * gst/gst.c: (init_pre):
2148 * gst/gstbin.c: (gst_bin_add_func):
2149 log distributing clocks and base time
2150 * gst/gstregistry.c: (gst_registry_add_plugin),
2151 (gst_registry_scan_path_level), (gst_registry_scan_path):
2152 clean up the debugging output a little
2153 * gst/gstutils.c: (gst_element_state_get_name):
2154 warn about a memleak (I've actually seen this be used, though
2155 it was probably a bug)
2157 2005-10-07 Wim Taymans <wim@fluendo.com>
2159 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2160 (gst_base_src_init), (gst_base_src_default_newsegment),
2161 (gst_base_src_newsegment), (gst_base_src_do_seek),
2162 (gst_base_src_loop), (gst_base_src_start):
2163 * gst/base/gstbasesrc.h:
2164 Make the newsegment event customizable by subclasses.
2166 2005-10-07 Wim Taymans <wim@fluendo.com>
2168 * gst/gstevent.c: (gst_event_new_buffersize),
2169 (gst_event_parse_buffersize):
2171 New event for future idea.
2173 2005-10-07 Andy Wingo <wingo@pobox.com>
2175 * gst/gstelement.c (gst_element_post_message): Doc update.
2177 * docs/gst/gstreamer-sections.txt: Update.
2179 * gst/gstmessage.c (gst_message_new_application): Made into a
2180 function like honest API calls.
2181 (gst_message_new_element): New message type.
2183 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2185 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2186 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2189 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2190 NO_PREROLL from gst_element_change_state to fall through.
2192 2005-10-07 Wim Taymans <wim@fluendo.com>
2194 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2195 (gst_ghost_pad_do_activate_push):
2196 Activating a ghostpad with no internal pad in push mode
2199 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2202 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2203 Fixes compilation on Windows.
2205 2005-10-07 Michael Smith <msmith@fluendo.com>
2207 * tools/gst-inspect.c:
2208 Print out feature and plugin count at the end when printing out
2211 2005-10-04 Michael Smith <msmith@fluendo.com>
2213 * gst/gsterror.c: (_gst_stream_errors_init):
2214 Add another error string used in a few existing plugins.
2217 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2218 * tools/gst-inspect.c: (print_element_info):
2219 When a feature disappears from a plugin (and the feature exists in
2220 the cached registry file), things went horribly wrong. This isn't a
2221 complete fix, we should actually be removing the 'missing' features
2222 from the features list when we load the actual plugin. That's not
2225 2005-10-04 Johan Dahlin <johan@gnome.org>
2227 * check/gst/gstiterator.c: (GST_START_TEST):
2228 * gst/gstbin.c: (gst_bin_iterate_elements),
2229 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2230 * gst/gstelement.c: (gst_element_iterate_pads):
2231 * gst/gstformat.c: (gst_format_iterate_definitions):
2232 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2233 (gst_iterator_new_list), (gst_iterator_filter):
2234 * gst/gstiterator.h:
2235 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2236 Add a GType to GstIterator, update callsites and tests.
2238 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2240 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2241 give events a chance to be handled by event probes when the pad
2244 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2246 * gst/gstevent.c: (gst_event_type_get_name),
2247 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2249 add string representations for event types
2251 2005-10-06 Wim Taymans <wim@fluendo.com>
2253 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2254 Don't use NULL pointers.
2256 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2258 * gst/gst_private.h:
2262 * gst/gstpluginfeature.c:
2263 widen the debug category in output to fit the biggest one we have
2264 add a bus category and use it
2265 play with the colors
2266 fix up some categories
2268 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2270 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2271 add push activation of sink ghost pads.
2272 Andye, please verify
2274 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2276 * gst/gstutils.c: (gst_element_link_pads):
2277 fix a bug in the case where neither element has a pad
2278 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2279 add a test for that case
2281 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2283 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2284 emit have-data before checking for peers. This allows
2285 for probe handlers to connect elements. This helps autopluggers.
2286 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2288 add six checks, linked/unlinked with no/true/false probe
2290 2005-10-04 Wim Taymans <wim@fluendo.com>
2292 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2293 (gst_fake_sink_event), (gst_fake_sink_preroll),
2294 (gst_fake_sink_render), (gst_fake_sink_change_state):
2295 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2296 (gst_fake_src_get_property), (gst_fake_src_create),
2297 (gst_fake_src_stop):
2298 * gst/elements/gstidentity.c: (gst_identity_stop):
2299 Protect last_message with lock.
2301 2005-10-04 Edward Hervey <edward@fluendo.com>
2304 Added precision in the comments for GST_FORMAT_DEFAULT
2306 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2308 * tools/gst-launch.c: (main):
2309 Don't try to run erroneous pipelines.
2311 2005-10-04 Julien MOUTTE <julien@moutte.net>
2313 * gst/gstbus.c: We don't need this header.
2315 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2320 === release 0.9.3 ===
2322 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2326 Releasing 0.9.3, "Unregistered"
2328 2005-10-03 Andy Wingo <wingo@pobox.com>
2330 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2331 whereby calling a pad's activatepush() function can start a thread
2332 that starts to push or pull before the pad gets the FLUSHING flag
2333 unset. Hack around it by holding the stream lock until the flag is
2334 set. Need to replace this with a proper solution. Together with
2335 the ghost pad fixes, this fixes mp3 playing/tagreading.
2337 * docs/design/part-gstghostpad.txt: Add a note about activation of
2338 proxy pads outside of ghost pads.
2340 * gst/gstghostpad.c: Implement the ghost pad activation design.
2342 2005-10-02 Andy Wingo <wingo@pobox.com>
2344 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2345 It is volatile, after all.
2347 * docs/design/part-gstghostpad.txt: Flesh out activation with
2350 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2353 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2356 Fix (unused) AM_CONDITIONAL tests.
2358 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2360 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2362 * gst/gstutils.c: (gst_pad_query_convert):
2363 Add assertion that makes sure src_val is >=0, just like
2364 gst_query_new_convert() has. (#315895)
2366 2005-09-30 Edward Hervey <edward@fluendo.com>
2368 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2369 Let's not iterate pads we're not interested in, it avoids getting
2370 sky-high refcounts on sinkpad.
2372 2005-09-30 Wim Taymans <wim@fluendo.com>
2374 * gst/gstelement.c: (gst_element_set_state),
2375 (gst_element_change_state):
2376 Small tweak, element in ASYNC remains ASYNC.
2378 2005-09-30 Wim Taymans <wim@fluendo.com>
2380 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2381 Only error is an error.
2383 * gst/gstbin.c: (gst_bin_change_state):
2386 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2387 Also call pad_block in pad alloc.
2389 * gst/gstutils.c: (gst_flow_get_name):
2392 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2394 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2395 (gst_base_src_get_range):
2396 Fix documentation typos. Add some more debug info.
2398 2005-09-29 David Schleef <ds@schleef.org>
2400 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2401 more end-user friendly.
2402 * tools/gst-inspect.c: (main): Check if command-line argument is
2403 a file and attempt to load that file as a plugin.
2405 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2407 * check/gst/gstbin.c:
2408 * check/states/sinks.c:
2409 fix tests for the new warning
2410 * check/gst/gstpipeline.c:
2411 add a test for pipeline and bus interaction
2413 elements should be NULL if they get disposed; add a warning if not
2415 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2418 for 2.6 refcounting, make debug log more correct by printing
2419 the actual refcounts at the time of swap (Wim)
2421 2005-09-29 Andy Wingo <wingo@pobox.com>
2423 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2424 removes signal watches previously added via
2425 gst_bus_add_signal_watch.
2426 (gst_bus_add_signal_watch): Don't return the source id, just store
2427 it on the bus if there wasn't an id already.
2429 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2430 add_signal_watch and remove_signal_watch.
2432 2005-09-29 Edward Hervey <edward@fluendo.com>
2434 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2435 Better if we actually iterate the list :)
2437 2005-09-29 Wim Taymans <wim@fluendo.com>
2439 * check/gst/gstbin.c: (GST_START_TEST):
2440 Change for new bus API.
2442 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2443 (send_messages), (GST_START_TEST), (gstbus_suite):
2444 Change for new bus signal API.
2446 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2447 (gst_bus_source_prepare), (gst_bus_source_check),
2448 (gst_bus_create_watch), (gst_bus_add_watch_full),
2449 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2450 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2452 Remove support for multiple GSources operating on different
2453 message types as it is too complex and unneeded when using
2455 Added support for receiving signals from the bus.
2457 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2459 * docs/libs/tmpl/gstdataprotocol.sgml:
2460 * docs/manual/advanced-dataaccess.xml:
2461 * gst/elements/gstcapsfilter.c:
2463 rename filter-caps to caps property
2465 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2467 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2468 More robust fraction string parsing.
2470 * docs/pwg/appendix-porting.xml:
2471 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2473 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2475 * gst/gstcaps.c: (gst_caps_do_simplify):
2476 Thou shalt not free a structure and then continue using it
2477 in the next loop iteration.
2479 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2481 Add test case for caps simplification.
2483 2005-09-29 Wim Taymans <wim@fluendo.com>
2485 * check/gst/gstbin.c: (GST_START_TEST):
2488 2005-09-29 Wim Taymans <wim@fluendo.com>
2490 * check/gst/gstbin.c: (GST_START_TEST):
2493 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2494 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2495 (find_element), (gst_bin_sort_iterator_next),
2496 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2497 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2498 (gst_bin_change_state), (gst_bin_dispose):
2499 A bin does not have a bus, it gets the bus from the parent.
2501 * gst/gstelement.c: (gst_element_requires_clock),
2502 (gst_element_provides_clock), (gst_element_is_indexable),
2503 (gst_element_is_locked_state), (gst_element_change_state),
2504 (gst_element_set_bus_func):
2507 * gst/gstpipeline.c: (gst_pipeline_class_init),
2508 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2509 The pipeline provides a bus.
2511 2005-09-28 Johan Dahlin <johan@gnome.org>
2513 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2514 gst_structure_get_enum instead of gst_structure_get_int
2516 * gst/gststructure.c (gst_structure_get_enum): Impl.
2518 * gst/gststructure.h (gst_structure_get_enum): Add
2520 * docs/gst/gstreamer-sections.txt: Ditto
2522 * gst/gstmessage.c (gst_message_new_state_changed): Use
2523 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2524 which does introspection.
2525 Reviewed by Christian Schaller
2527 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2529 * gst/gstinfo.c: (gst_debug_log_default):
2530 don't do dummy g_strdup()s
2531 * libs/gst/controller/gstcontroller.c:
2532 (on_object_controlled_property_changed),
2533 (gst_controlled_property_new), (gst_controller_new_valist),
2534 (gst_controller_new_list),
2535 (gst_controller_remove_properties_valist), (gst_controller_set),
2536 (gst_controller_get), (gst_controller_sync_values),
2537 (gst_controller_get_value_array), (_gst_controller_class_init),
2538 (gst_controller_get_type):
2539 * libs/gst/controller/gstcontroller.h:
2540 * libs/gst/controller/gstinterpolation.c:
2541 (gst_controlled_property_find_timed_value_node):
2542 convert // to /**/ comments
2544 2005-09-28 Wim Taymans <wim@fluendo.com>
2546 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2547 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2548 (gst_bus_sync_signal_handler):
2550 Added async-message and sync-message signals to the bus.
2551 Added helper BusFunc to emit signals for all posted messages.
2553 * gst/gstmessage.c: (gst_message_type_get_name),
2554 (gst_message_type_to_quark), (gst_message_get_type):
2556 Register quarks for message names.
2558 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2560 * docs/libs/gstreamer-libs-sections.txt:
2561 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2562 (gst_controller_new_list):
2563 * libs/gst/controller/gstcontroller.h:
2564 added another constructor for language bindings
2566 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2568 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2572 * gst/gstinfo.c: (_gst_debug_init):
2573 slightly more readable color for refcount debugging
2575 2005-09-28 Wim Taymans <wim@fluendo.com>
2577 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2578 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2579 (find_element), (gst_bin_sort_iterator_next),
2580 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2581 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2582 (gst_bin_change_state), (gst_bin_dispose):
2583 Small doc fixes. get_clock -> provide_clock.
2585 * gst/gstelement.c: (gst_element_class_init),
2586 (gst_element_provides_clock), (gst_element_provide_clock),
2587 (gst_element_get_clock), (gst_element_commit_state),
2588 (gst_element_lost_state):
2590 Make get/set_clock() symetric. Add provide_clock vmethod since
2591 that is actually what this function does.
2593 * gst/gstpipeline.c: (gst_pipeline_class_init),
2594 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2595 (gst_pipeline_get_clock):
2596 get_clock -> provide_clock.
2598 2005-09-28 Andy Wingo <wingo@pobox.com>
2600 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2601 lieu of real docs...
2603 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2605 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2607 * gst/elements/gstcapsfilter.c:
2608 * gst/elements/gstfakesink.c:
2609 * gst/elements/gstfakesrc.c:
2610 * gst/elements/gstfdsink.c:
2611 * gst/elements/gstfdsrc.c:
2612 * gst/elements/gstfilesink.c:
2613 * gst/elements/gstfilesrc.c:
2614 * gst/elements/gstidentity.c:
2615 * gst/elements/gsttee.c:
2616 * gst/elements/gsttypefindelement.c:
2617 Make element details static.
2619 2005-09-28 Wim Taymans <wim@fluendo.com>
2621 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2622 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2623 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2624 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2625 (gst_bin_change_state), (gst_bin_dispose):
2626 Some documentation updates.
2627 Clean up dispose handlers.
2629 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2630 * gst/gstpad.c: (gst_pad_dispose):
2631 Clean up dispose handler.
2633 * gst/gstpipeline.c: (gst_pipeline_change_state):
2634 Removed spurious UNLOCK.
2636 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2638 * docs/gst/gstreamer-sections.txt:
2639 * gst/base/gstbasesrc.h:
2644 * gst/gstpipeline.c:
2645 * gst/gstpipeline.h:
2648 added two new functions to the docs
2649 documents all undocumented GstXXXFlags
2650 completed some incomplete docs
2652 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2654 * gst/gstbin.c: (gst_bin_dispose):
2655 * gst/gstelement.c: (gst_element_dispose):
2656 remove now useless and leaky resurrection code in dispose
2657 * gst/base/gstbasesrc.c: (gst_base_src_init):
2658 * gst/gstelementfactory.c: (gst_element_factory_create):
2659 * gst/gstobject.c: (gst_object_set_parent):
2662 2005-09-27 Wim Taymans <wim@fluendo.com>
2664 * docs/design/part-TODO.txt:
2667 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2668 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2669 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2670 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2671 (gst_bin_change_state):
2673 Remove element variable, we keep element info in the iterator now.
2675 2005-09-27 Andy Wingo <wingo@pobox.com>
2677 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2680 2005-09-27 Wim Taymans <wim@fluendo.com>
2682 * check/gst/gstbin.c: (GST_START_TEST):
2683 Enable check that works now.
2685 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2686 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2687 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2688 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2689 (gst_bin_change_state):
2691 Redid the state change algorithm using a topological sort algo.
2692 Handles all cases correctly.
2693 Exposed iterator for state change order.
2696 Temp storage for state changes. Need to get rid of this soon.
2698 2005-09-27 Wim Taymans <wim@fluendo.com>
2700 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2701 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2702 (link_fold_func), (gst_pad_proxy_setcaps):
2703 Leak fixes, the fold functions need to unref the passed object and
2704 _get_parent_*() returns ref to parent.
2706 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2708 * check/gst/gstbuffer.c: (test_make_writable):
2709 Plug leak in test case and fix 'make check-valgrind'
2711 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2713 * gst/gstbuffer.c: (gst_subbuffer_init):
2714 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2715 works correctly in all circumstances (we could have just copied
2716 the parent buffer's readonly flag, but conceptually it seems
2717 cleaner to mark all subbuffers as read-only). (based on patch
2718 by Alessandro Decina, #314710).
2720 * check/gst/gstbuffer.c: (create_read_only_buffer),
2721 (test_make_writable), (test_subbuffer_make_writable),
2723 Add some tests for gst_buffer_make_writable().
2725 2005-09-27 Wim Taymans <wim@fluendo.com>
2727 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2728 use gst_object_has_ancestor().
2730 * gst/gstobject.c: (gst_object_has_ancestor):
2732 gst_object_has_ancestor() copied from gstbin.c as it is a
2735 * tests/instantiate/create.c: (create_all_elements):
2736 * tests/lat.c: (handoff_src), (handoff_sink):
2737 * tests/sched/runxml.c: (main):
2738 * tests/seeking/seeking1.c: (main):
2739 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2741 Fix compilation of some tests.
2743 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2746 Remove comment. GST_TYPE_G_ERROR is here to stay,
2747 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2750 2005-09-26 Wim Taymans <wim@fluendo.com>
2752 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2753 Added check that shows error in state change order.
2755 2005-09-26 Wim Taymans <wim@fluendo.com>
2757 * gst/gstbin.c: (gst_bin_change_state):
2758 Make state change function use 3 queues again, we were
2759 adding elements in the wrong order.
2761 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2764 * gst/gstpad.c: (gst_pad_dispose):
2765 Added some debug info first.
2767 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2769 * docs/design/draft-push-pull.txt:
2770 * docs/design/part-events.txt:
2771 * docs/design/part-overview.txt:
2772 * docs/design/part-scheduling.txt:
2773 Replace all _pull_region() with _pull_range()
2775 2005-09-26 Andy Wingo <wingo@pobox.com>
2777 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2779 * check/gst-libs/controller.c: Update for controller api change.
2782 * tests/Makefile.am:
2783 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2784 over by GLib bug 118439.
2786 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2787 routines to a function.
2789 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2791 * libs/gst/controller/gsthelper.c:
2792 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2793 (gst_object_sync_values): Renamed from sink_values. Ugh.
2795 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2797 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2798 Renamed from controller_key, as it is exported.
2800 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2802 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2807 * gst/gstpadtemplate.h:
2810 * gst/gstqueryutils.c:
2811 * gst/gstqueryutils.h:
2812 remove queryutils headers after moving the two used functions
2813 to gstquery. also fixes build problem for gstsiddec
2815 2005-09-26 Michael Smith <msmith@fluendo.com>
2817 * tools/gst-launch.1.in:
2818 Correct documentation in manpage of debug syntax
2820 2005-09-26 Wim Taymans <wim@fluendo.com>
2822 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2823 (gst_base_src_is_seekable), (gst_base_src_change_state):
2824 Some more debugging info.
2826 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2828 * docs/gst/gstreamer-sections.txt:
2829 * gst/base/gstbasetransform.h:
2833 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2835 * docs/gst/.cvsignore:
2836 * docs/gst/tmpl/.cvsignore:
2837 * docs/gst/tmpl/gstpipeline.sgml:
2838 * docs/gst/tmpl/gstplugin.sgml:
2839 * gst/gstpipeline.c:
2842 inlined the last two docs files
2843 removed the tmpl directory from cvs (no more conflicts here!)
2845 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2847 * docs/gst/gstreamer-sections.txt:
2848 * docs/gst/tmpl/.cvsignore:
2849 * docs/gst/tmpl/gstpad.sgml:
2850 * docs/gst/tmpl/gstpadtemplate.sgml:
2852 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2853 (gst_pad_finalize), (gst_pad_set_pad_template):
2855 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2856 (gst_pad_template_class_init), (gst_pad_template_init),
2857 (gst_pad_template_dispose), (name_is_valid),
2858 (gst_static_pad_template_get), (gst_pad_template_new),
2859 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2860 (gst_pad_template_pad_created):
2861 * gst/gstpadtemplate.h:
2862 inlined two more docs
2863 factored gstpadtemplate out of gstpad
2865 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2867 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2868 (test_children_state_change_order_semi_sink):
2869 Fix test case: we can't rely on a fixed state change order when
2870 going from READY => PAUSED because the sink might commit its
2871 new state first when the first buffer created by the source
2872 reaches the sink before the source has finished its change state.
2873 (Test case still fails at times, see #316856, comment 5 onwards)
2875 2005-09-24 Wim Taymans <wim@fluendo.com>
2877 * docs/design/part-events.txt:
2878 * docs/design/part-gstbus.txt:
2879 * docs/design/part-gstpipeline.txt:
2880 * docs/design/part-messages.txt:
2881 * docs/design/part-overview.txt:
2882 * docs/design/part-segments.txt:
2889 * gst/gstiterator.c:
2890 Various documentation updates.
2892 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2895 Well, that's embarassing. Luckily we weren't using
2896 GST_CLOCK_DIFF anywhere.
2898 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2900 * common/gtk-doc.mak:
2901 don't fail on building XML, FC4 slave shows a bunch of doc
2902 missing bits that I don't get
2904 * gst/gstpipeline.c:
2905 * gst/gststructure.c:
2908 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2910 * docs/design/part-gstbin.txt:
2911 * docs/design/part-gstbus.txt:
2913 Add blurb about how the bus goes into flushing mode and
2914 drops all messages when its bin goes from READY into NULL
2917 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2919 * docs/gst/gstreamer-sections.txt:
2920 * gst/gststructure.c: (gst_structure_get_clock_time):
2921 * gst/gststructure.h:
2922 add a method to get a GstClockTime out of a structure
2924 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2926 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2927 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2928 Added test to check state change order in bins (can still be made
2929 to fail here under heavy disk load; bails out with 'Push on pad
2930 fakesink:sink0, but it was not activated in push mode').
2932 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2933 Fix state change order when there is only a semi sink (#316856)
2935 * gst/gstbus.c: (gst_bus_class_init):
2936 Use _class_peek_parent(), not _class_ref(); fix docs to say
2937 'default main context' instead of 'mainloop' where that is
2940 * gst/gstelement.c: (gst_element_commit_state),
2941 (gst_element_set_state):
2942 Fix typos in debug messages
2944 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2947 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2948 * gst/gstpluginfeature.c:
2951 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2952 change an assert into an error until it gets fixed properly
2954 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2956 * docs/gst/gstreamer-sections.txt:
2957 * docs/gst/tmpl/.cvsignore:
2958 * docs/gst/tmpl/gstelement.sgml:
2959 * docs/gst/tmpl/gstinfo.sgml:
2960 * docs/gst/tmpl/gstobject.sgml:
2965 * gst/gstobject.c: (gst_object_class_init):
2967 inlined 3 more biiiig doc files and added some missing docs on the fly
2969 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2971 * check/gst/.cvsignore:
2972 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2973 * gst/gstregistryxml.c: (load_plugin),
2974 (gst_registry_xml_save_plugin):
2975 put back source in registry. add checks for find_plugin.
2976 * testsuite/states/bin.c: (assert_state), (empty_bin),
2977 (test_adding_one_element), (main):
2978 * testsuite/states/locked.c: (main):
2979 some compile/run fixes
2981 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2983 * check/gst/gstvalue.c: (GST_START_TEST):
2984 fix leaks in the test itself
2986 2005-09-22 Wim Taymans <wim@fluendo.com>
2988 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2989 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2990 (gst_base_sink_query):
2991 Prepare for more accurate position reporting and query
2994 * gst/gstelement.c: (gst_element_send_event),
2995 (gst_element_set_state):
2998 2005-09-22 Wim Taymans <wim@fluendo.com>
3000 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3001 (gst_query_parse_segment):
3004 Add segment query for future use.
3006 2005-09-22 Wim Taymans <wim@fluendo.com>
3008 * gst/gstbin.c: (gst_bin_add_func):
3009 Some more debug info.
3011 * gst/gstelement.c: (gst_element_send_event):
3015 Don't know how flags got broken.
3020 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3022 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3023 Add simplistic test suite for GST_TYPE_DATE serialisation and
3026 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3028 * docs/gst/gstreamer-sections.txt:
3029 * gst/gststructure.c: (gst_structure_set_valist),
3030 (gst_structure_get_date):
3031 * gst/gststructure.h:
3032 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3033 (gst_date_copy), (gst_value_compare_date),
3034 (gst_value_serialize_date), (gst_value_deserialize_date),
3035 (gst_value_transform_date_string),
3036 (gst_value_transform_string_date), (_gst_value_initialize):
3038 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3039 bunch of utility functions along with a hack that checks that
3040 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3041 is required. Part of the grand scheme in #170777.
3043 2005-09-22 Andy Wingo <wingo@pobox.com>
3045 * gst/gstconfig.h.in: Psych out gtk-doc.
3047 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3049 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3051 * tools/gst-inspect.c (print_element_list): Plug some
3052 inconsequential leaks.
3054 * gst/gstregistry.c (gst_registry_get_default): Doc.
3056 * check/gst/gstplugin.c:
3057 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3058 * gst/gstelementfactory.c (gst_element_factory_create):
3059 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3062 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3063 (gst_plugin_feature_load): Doc, don't eat refs.
3065 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3066 (gst_plugin_list_free): Doc.
3067 (gst_plugin_load_file): Doc updates.
3069 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3070 accessors returning refcounted objects, return a ref.
3072 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3073 accessor for caps. IDEMPOTENCE. Oh yes.
3075 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3077 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3079 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3080 (_gst_debug_register_funcptr):
3081 Add mutex to serialise access to the hash table with
3082 the function pointer => function name string mapping;
3083 make that hash table static scope (#316809).
3085 * gst/registries/.cvsignore:
3086 Remove left-over file.
3088 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3090 * docs/pwg/appendix-porting.xml:
3091 And something about newsegment events and caps-on-buffers to
3092 the porting guide (feel free to improve).
3094 2005-09-21 Andy Wingo <wingo@pobox.com>
3096 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3097 data and event probes on the same pad.
3098 (test_buffer_probe_once): Test that removing probes from within
3099 the probe functions works.
3101 2005-09-21 Andy Wingo <wingo@pobox.com>
3103 * check/gst/gstutils.c: New file.
3104 (test_buffer_probe_n_times): A simple buffer probe test. More to
3107 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3108 have-data::buffer, not have-data.
3109 (gst_pad_add_event_probe): Likewise for have-data::event.
3110 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3111 peer' isn't quite right yet though.
3112 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3113 (gst_pad_remove_data_probe): Change to take the guint handler_id
3114 as their arg, not the function+data, which is more glib-like.
3116 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3117 the signal emission to indicate if the data is a buffer or an
3119 (gst_pad_get_type): Initialize buffer and event quarks.
3120 (gst_pad_class_init): have-data is now a detailed signal, yes it
3123 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3125 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3126 * gst/gstutils.c: (gst_util_set_value_from_string),
3127 (gst_util_set_object_arg):
3128 Don't put functional code in g_return_if_fail() or
3129 g_return_val_if_fail() statements, otherwise things will
3130 break when G_DISABLE_CHECKS is defined during compilation.
3132 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3134 * docs/gst/tmpl/.cvsignore:
3135 * docs/gst/tmpl/gstvalue.sgml:
3138 inlied another one and added some obvious docs
3140 2005-09-21 Wim Taymans <wim@fluendo.com>
3142 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3143 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3144 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3145 (gst_fdsrc_get_property), (gst_fdsrc_create):
3146 * gst/elements/gstfdsrc.h:
3147 Properly implement fdsrc. Removed signal and timeout,
3148 better implemented somewhere else.
3150 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3152 * docs/gst/tmpl/.cvsignore:
3153 * docs/gst/tmpl/gstimplementsinterface.sgml:
3154 * gst/gstinterface.c:
3157 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3159 * docs/gst/gstreamer-sections.txt:
3160 * docs/gst/tmpl/.cvsignore:
3161 * docs/gst/tmpl/gstenumtypes.sgml:
3162 remove obsolete doc file
3164 2005-09-21 David Schleef <ds@schleef.org>
3166 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3167 little beer, fix a little leak.
3169 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3171 * docs/gst/gstreamer-docs.sgml:
3172 * docs/gst/gstreamer-sections.txt:
3173 * docs/gst/tmpl/.cvsignore:
3178 * gst/gstindex.c: (gst_index_class_init):
3180 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3181 (gst_index_factory_class_init), (gst_index_factory_init),
3182 (gst_index_factory_finalize), (gst_index_factory_new),
3183 (gst_index_factory_destroy), (gst_index_factory_find),
3184 (gst_index_factory_create), (gst_index_factory_make):
3185 * gst/gstindexfactory.h:
3186 * gst/gstpluginfeature.c:
3187 * gst/gstpluginfeature.h:
3188 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3189 more docs inlined, splitted gstindex.{c,h}
3191 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3193 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3196 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3198 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3199 Set sync to FALSE by default.
3201 2005-09-20 Wim Taymans <wim@fluendo.com>
3203 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3204 (gst_base_sink_init):
3205 Make sync property settable from subclass.
3207 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3208 (gst_fake_sink_change_state):
3209 Set sync to FALSE by default.
3211 2005-09-20 Wim Taymans <wim@fluendo.com>
3213 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3214 * tools/gst-launch.c: (main):
3215 The timeout handler should have lower priority than the source
3216 so we don't timeout before popping a message with 0 timeout.
3217 Dump error messages after failed state change.
3219 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3221 * tools/gst-inspect.c: (print_element_properties_info):
3224 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3226 * check/gst/gstevent.c:
3227 * gst/elements/gstfakesink.c:
3228 * gst/elements/gstfakesink.h:
3229 remove the sync property from fakesink.
3230 has the side effect of setting sync TRUE
3231 for fakesink, which is a change. Anyone who knows how
3232 to fix this nicely in a GObject-y way, feel free.
3234 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3236 * docs/gst/gstreamer-docs.sgml:
3237 remove probe refsection
3239 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3241 * check/Makefile.am:
3242 disable valgrinding the controller test again
3243 * docs/gst/gstreamer-sections.txt:
3244 update for api-changes
3246 2005-09-20 Wim Taymans <wim@fluendo.com>
3248 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3249 (gst_base_sink_set_property), (gst_base_sink_get_property),
3250 (gst_base_sink_do_sync):
3251 * gst/base/gstbasesink.h:
3252 Added sync property to basesink to disable clock sync.
3254 2005-09-20 Andy Wingo <wingo@pobox.com>
3256 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3257 eating the caller's refcount.
3259 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3260 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3263 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3264 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3265 of GLib 2.8 public, so we can know which refcount to check in
3268 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3269 (gst_object_init): Only set the gst refcount if we're going ahead
3270 with the refcount hack.
3272 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3274 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3275 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3276 more leaks plumbed, added more debug-logging
3280 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3283 remove include of gstmemchunk.h
3285 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3287 * gst/gstclock.c: (_gst_clock_id_free):
3288 Commit from the Political Party For More Atomic CVS Commits,
3289 so that people don't waste too much of their day fishing
3290 out obvious leaks out of massive commits.
3291 Oh, and fix a pretty damn obvious leak in the memchunk
3294 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3296 * check/Makefile.am:
3297 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3298 plug mem-leak, re-add to valgrindable tests
3300 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3303 unbreak the build for those who have chronic arthritis
3304 and typing "make check" is just too taxing on the hands
3306 2005-09-20 Andy Wingo <wingo@pobox.com>
3308 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3309 really want it out, you should fix plugins at the same time.
3311 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3314 * docs/gst/gstreamer-sections.txt:
3316 added missing symbols to api docs
3317 disable ref-count hack if we have glib >= 2.8
3319 2005-09-19 David Schleef <ds@schleef.org>
3321 * docs/gst/Makefile.am: Ignore a few more internal headers
3322 * docs/gst/gstreamer-docs.sgml: Remove old sections
3323 * docs/gst/gstreamer-sections.txt: Remove old sections
3324 * docs/gst/tmpl/gstobject.sgml: update
3325 * docs/gst/tmpl/gstplugin.sgml: update
3326 * docs/gst/tmpl/gstpluginfeature.sgml: update
3327 * docs/random/ds/0.9-suggested-changes: update.
3328 * gst/Makefile.am: remove memchunk and trashstack, since they're
3330 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3331 * gst/gst.h: don't include some headers
3332 * gst/gstchildproxy.c: add gstmarshal.h
3333 * gst/gstclock.c: Don't use memchunks
3334 * gst/gstminiobject.c: Add some docs
3335 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3336 * gst/gstobject.h: same
3337 * gst/gstplugin.c: include gstmacros.h
3338 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3339 * gst/gstquery.c: don't use memchunks
3340 * gst/gstregistry.c: rename gst_registry_deinit()
3341 * gst/gstregistry.h: same
3343 2005-09-19 David Schleef <ds@schleef.org>
3345 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3346 * docs/libs/gstreamer-libs-sections.txt:
3347 * docs/libs/tmpl/gstgetbits.sgml:
3348 * docs/libs/tmpl/gstputbits.sgml:
3350 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3352 * win32/gstenumtypes.c:
3353 * win32/gstenumtypes.h:
3356 2005-09-19 Wim Taymans <wim@fluendo.com>
3358 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3359 Automatically PAUSE and RESUME a pipeline when a flushing seek
3362 2005-09-19 Andy Wingo <wingo@pobox.com>
3364 * gst/gstregistry.h: Spacing fixen.
3366 2005-09-19 Wim Taymans <wim@fluendo.com>
3368 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3369 Handle state change failure more correctly.
3371 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3373 * check/Makefile.am:
3374 * check/pipelines/cleanup.c: (run_pipeline):
3375 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3377 enable cleanup again after fixing the leak
3379 some more info on docs
3381 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3383 * check/Makefile.am:
3384 re-enable tests now that leaks are plugged
3386 * check/gst/gstbin.c:
3387 * check/gst/gstpipeline.c:
3388 add some more tests while fixing leaks
3390 make sure binaries are uptodate when valgrinding/gdbing
3392 * gst/gstelementfactory.c:
3393 remove a ref too many, and add a FIXME for when we get
3394 round to disposing of classes
3396 fix the refcounting when loading a plugin from a file and
3397 the code pretends that the pointer is the same even though
3398 of course it can change
3399 * gst/gstpluginfeature.c:
3400 unref plugins marked cached (a bit confusing as a name)
3401 as the docs state should be done
3402 various doc additions to explain refcounting
3403 * gst/gstregistry.c:
3404 * gst/gstregistryxml.c:
3407 2005-09-19 Wim Taymans <wim@fluendo.com>
3409 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3410 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3411 (send_messages), (GST_START_TEST), (gstbus_suite):
3412 * check/gst/gstpipeline.c: (GST_START_TEST):
3413 * check/pipelines/cleanup.c: (run_pipeline):
3414 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3416 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3417 (gst_bus_source_check), (gst_bus_source_dispatch),
3418 (gst_bus_create_watch), (gst_bus_add_watch_full),
3419 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3421 * tools/gst-launch.c: (event_loop):
3422 * tools/gst-md5sum.c: (event_loop):
3423 GstBusHandler -> GstBusFunc, return value has the same meaning as
3424 any other GSource (FALSE == remove source).
3425 _add_watch() and _add_watch_full() now take a MessageType mask to
3426 only handle specific types of messages.
3427 _poll() returns the GstMessage instead of the message type to avoid
3429 _have_pending() takes a MessageType mask now too.
3430 Added testsuite for multiple bus watches.
3431 Fix testsuites and applications for new bus API.
3433 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3435 * check/Makefile.am:
3436 mark a bunch of the tests as to fix until we fix them
3438 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3441 use GST_PLUGIN settings for valgrind tests as well, so we're
3442 valgrinding the correct thing
3443 * gst/gst.c: (init_post):
3446 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3448 * gst/gst.c: (init_post), (gst_deinit):
3449 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3450 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3451 * gst/gstindex.c: (gst_index_factory_class_init),
3452 (gst_index_factory_finalize):
3453 * gst/gstobject.c: (gst_object_dispose):
3454 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3455 (gst_plugin_load_file), (gst_plugin_desc_free):
3456 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3457 (gst_plugin_feature_finalize):
3458 * gst/gstregistry.c: (gst_registry_class_init),
3459 (gst_registry_init), (gst_registry_finalize),
3460 (gst_registry_get_default), (gst_registry_deinit):
3461 * gst/gstregistry.h:
3462 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3463 various cleanups and memleak plugging. make valgrind is happy now.
3465 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3468 add a check-valgrind target
3470 2005-09-18 David Schleef <ds@schleef.org>
3472 * tools/gst-inspect.c: Revert the GOption code.
3474 2005-09-17 David Schleef <ds@schleef.org>
3476 * check/Makefile.am: Fix environment variables.
3477 * check/gst/gstplugin.c: Fix for API changes.
3478 * tools/gst-inspect.c: Fix for API changes.
3479 * tools/gst-xmlinspect.c: Fix for API changes.
3480 * gst/gstelementfactory.c:
3483 * gst/gstpluginfeature.c:
3484 * gst/gstpluginfeature.h:
3485 * gst/gstregistry.c:
3486 * gst/gstregistry.h:
3487 * gst/gstregistryxml.c:
3488 * gst/gsttypefind.c:
3489 * gst/gsttypefindfactory.c:
3490 * gst/indexers/gstfileindex.c:
3491 * gst/indexers/gstmemindex.c:
3492 * gst/schedulers/Makefile.am:
3493 Change registry to keep track of both plugins and features,
3494 removing the feature tracking from plugins themselves.
3496 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3498 * check/Makefile.am:
3499 * tools/gst-register.1.in:
3502 2005-09-15 David Schleef <ds@schleef.org>
3504 * check/gst/gstplugin.c:
3505 * gst/gstelementfactory.c:
3507 * gst/gstpluginfeature.c:
3508 * gst/gstregistry.c:
3509 Getting tired of debugging. Disabled all the unreffing of
3510 plugins and features, which fixes the segfaults, but of
3511 course leaks like crazy. At least playbin works.
3513 2005-09-15 David Schleef <ds@schleef.org>
3515 * check/gst/gstplugin.c: (register_check_elements),
3516 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3518 * gst/elements/gsttypefindelement.c: Fix refcounting.
3519 * gst/gsttypefind.c:
3520 * gst/gsttypefindfactory.c:
3521 * gst/gsttypefindfactory.h:
3523 2005-09-15 David Schleef <ds@schleef.org>
3525 * gst/gstindex.c: get refcounting correct.
3526 * gst/gstregistry.c: Handle the case where a feature/plugin is
3529 2005-09-15 David Schleef <ds@schleef.org>
3531 * check/Makefile.am:
3532 * check/gst/gstplugin.c: Add test
3533 * gst/gstplugin.c: Fix problems noticed by testsuite
3535 * gst/gstregistry.c:
3536 * gst/gstregistry.h:
3538 2005-09-15 David Schleef <ds@schleef.org>
3540 * gst/gstplugin.c: Implement semi-decent recounting and locking
3541 in plugins and plugin features.
3543 * gst/gstpluginfeature.c:
3544 * gst/gstpluginfeature.h:
3545 * gst/gstregistry.c:
3547 2005-09-15 Michael Smith <msmith@fluendo.com>
3549 * gst/gstregistry.c: (gst_registry_get_feature_list):
3550 Implement this. Makes oggdemux work; decodebin still broken.
3552 2005-09-14 David Schleef <ds@schleef.org>
3554 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3556 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3557 * gst/check/Makefile.am:
3558 * libs/gst/controller/Makefile.am:
3559 * libs/gst/dataprotocol/Makefile.am:
3561 2005-09-14 David Schleef <ds@schleef.org>
3563 * configure.ac: Remove getbits library. Nothing uses it, and
3564 it should be in something like liboil if someone did want
3566 * libs/gst/Makefile.am:
3567 * libs/gst/getbits/Makefile.am:
3568 * libs/gst/getbits/gbtest.c:
3569 * libs/gst/getbits/getbits.c:
3570 * libs/gst/getbits/getbits.h:
3571 * libs/gst/getbits/gstgetbits_generic.c:
3572 * libs/gst/getbits/gstgetbits_i386.s:
3573 * libs/gst/getbits/gstgetbits_inl.h:
3575 2005-09-14 David Schleef <ds@schleef.org>
3577 * gst/Makefile.am: Dist glib-compat.h
3579 2005-09-14 David Schleef <ds@schleef.org>
3581 * configure.ac: Remove gst/registries, since it's no longer used.
3582 * gst/registries/Makefile.am:
3583 * gst/registries/gstlibxmlregistry.c:
3584 * gst/registries/gstlibxmlregistry.h:
3585 * gst/registries/gstxmlregistry.c:
3586 * gst/registries/gstxmlregistry.h:
3587 * gst/registries/registrytest.c:
3589 2005-09-14 David Schleef <ds@schleef.org>
3591 * gst/glib-compat.h:
3592 * gst/gstregistryxml.c:
3593 Convergence is near. Seriously.
3595 2005-09-14 David Schleef <ds@schleef.org>
3597 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3598 * gst/glib-compat.h:
3599 Attempt #4 to appease the buildbots.
3601 2005-09-14 David Schleef <ds@schleef.org>
3603 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3606 2005-09-14 David Schleef <ds@schleef.org>
3608 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3611 2005-09-14 David Schleef <ds@schleef.org>
3613 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3616 2005-09-14 David Schleef <ds@schleef.org>
3618 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3619 * gst/glib-compat.h: Add some functions that are in newer versions
3620 of glib than we care to require.
3621 * gst/gstregistryxml.c: Use them.
3623 2005-09-14 David Schleef <ds@schleef.org>
3625 * po/POTFILES.in: remove gst-register.c
3627 2005-09-14 David Schleef <ds@schleef.org>
3629 * docs/gst/gstreamer-docs.sgml:
3630 * docs/gst/gstreamer-sections.txt:
3631 * docs/gst/gstreamer.types:
3632 * docs/gst/tmpl/gstelement.sgml:
3633 * docs/gst/tmpl/gstplugin.sgml:
3634 * docs/gst/tmpl/gstpluginfeature.sgml:
3635 Documentation updates for registry changes.
3637 2005-09-14 David Schleef <ds@schleef.org>
3639 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3640 because we don't require glib-2.8.
3642 2005-09-14 David Schleef <ds@schleef.org>
3644 * gst/gstregistryxml.c: Added. Essentially moved out of the
3645 registries directory.
3647 2005-09-14 David Schleef <ds@schleef.org>
3649 * check/Makefile.am:
3650 * check/generic/states.c:
3654 * gst/gst_private.h:
3655 * gst/gstelementfactory.c:
3660 * gst/gstpluginfeature.c:
3661 * gst/gstpluginfeature.h:
3662 * gst/gstregistry.c:
3663 * gst/gstregistry.h:
3664 * gst/gstregistrypool.c: remove
3665 * gst/gstregistrypool.h: remove
3666 * gst/gsttypefind.c:
3667 * gst/gsttypefindfactory.c:
3669 * tools/Makefile.am:
3670 * tools/gst-compprep.c:
3671 * tools/gst-inspect.c:
3672 * tools/gst-register.c: remove
3673 * tools/gst-xmlinspect.c:
3674 Registry rewrite. Changes registry from being a file created
3675 by a tool into a simple cache file created automatically by
3676 libgstreamer. Removed gst-register (because it's no longer
3677 needed). Remove registry pools, because we only have one
3678 registry implementation (XML). Fix up other subsystems as
3681 2005-09-13 Michael Smith <msmith@fluendo.com>
3683 * gst/gstconfig.h.in:
3684 Don't Use windows linking attributes for MinGW. Fixes #316157
3686 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3688 * gst/gstutils.c: (set_state_async_thread_func),
3689 (gst_element_set_state_async):
3690 Apparently people think it's better if this function doesn't
3691 try to set the state to whatever state was asked for on the first
3692 call to this function for any object. Seriously.
3694 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3696 * check/gst/gstpipeline.c: (GST_START_TEST):
3697 * docs/gst/gstreamer-sections.txt:
3698 * gst/gstutils.c: (set_state_async_thread_func),
3699 (gst_element_set_state_async):
3701 add a "gst_element_set_state_async" method that
3702 sets the state and starts a thread to make sure the state
3703 change completes as best as it can
3705 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3707 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3708 codify design+behaviour in testsuite after discussion
3710 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3712 * docs/gst/tmpl/gstelement.sgml:
3713 * docs/manual/appendix-quotes.xml:
3715 * gst/gstelement.c: (gst_element_set_state):
3718 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3720 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3721 (gst_base_transform_prepare_output_buf),
3722 (gst_base_transform_handle_buffer):
3723 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3724 (gst_capsfilter_prepare_buf):
3725 Remove the requirement for sub-classes to call the parent
3726 implementation of prepare_output_buffer with a wrapper function.
3729 * gst/gsttagsetter.h:
3732 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3734 * docs/gst/gstreamer-sections.txt:
3737 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3739 * docs/gst/gstreamer-sections.txt:
3740 * docs/gst/tmpl/gstelement.sgml:
3741 * docs/gst/tmpl/gstplugin.sgml:
3742 * gst/gstminiobject.c:
3744 docs now stop throwing warnings
3746 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3748 * docs/gst/gstreamer-sections.txt:
3749 * docs/gst/gstreamer.types:
3750 * docs/gst/tmpl/gstpad.sgml:
3751 * docs/gst/tmpl/gsttypes.sgml:
3752 * gst/base/gstadapter.h:
3753 * gst/base/gstbasesink.h:
3754 * gst/base/gstbasesrc.h:
3764 * gst/gststructure.c:
3765 * gst/registries/gstlibxmlregistry.h:
3766 various documentation fixes
3768 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3770 * docs/gst/gstreamer-sections.txt:
3771 * docs/gst/tmpl/gstvalue.sgml:
3772 rearrange gstvalue section
3773 * gst/gstutils.c: (gst_element_state_get_name):
3775 * gst/gstvalue.c: (_gst_value_initialize):
3779 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3781 * check/gst-libs/controller.c:
3783 * gst/base/gstbasetransform.c:
3784 (gst_base_transform_default_prepare_buf),
3785 (gst_base_transform_handle_buffer):
3786 * gst/base/gstbasetransform.h:
3787 Some more basetransform changes and fixes to enable sub-classes
3788 that modify buffer metadata only.
3789 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3790 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3791 (gst_capsfilter_prepare_buf):
3792 If the output pad has fixed allowed caps and input buffers
3793 don't have any, set the fixed caps on outgoing buffers.
3795 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3796 * check/elements/identity.c: (GST_START_TEST):
3797 Make the error a little clearer when the test fails because
3798 identity made a copy of the buffer.
3799 * docs/gst/gstreamer-sections.txt:
3800 New symbols in gstbasetransform.h
3801 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3802 (gst_base_transform_init), (gst_base_transform_transform_size),
3803 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3804 (gst_base_transform_default_prepare_buf),
3805 (gst_base_transform_get_unit_size),
3806 (gst_base_transform_buffer_alloc),
3807 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3808 (gst_base_transform_change_state),
3809 (gst_base_transform_set_passthrough),
3810 (gst_base_transform_set_in_place),
3811 (gst_base_transform_is_in_place):
3812 * gst/base/gstbasetransform.h:
3813 Change BaseTransform to separate in_place operate from same_caps
3814 output. in_place implies that the element can perform the transform
3815 on incoming buffers in-place, even if the caps on the output are
3817 Sub-class elements can now implement special buffer allocation
3818 methods for outgoing buffers if they wish to.
3819 Big documentation addition.
3820 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3821 * gst/elements/gstelements.c:
3822 Changes for basetransform modifications.
3823 * gst/elements/Makefile.am:
3824 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3825 Compile fix. Extra debug output.
3827 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3829 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3831 add tests for valid pad naming
3832 * gst/check/gstcheck.c: (gst_check_log_message_func),
3833 (gst_check_log_critical_func):
3835 remove printing of code, it is fragile when the code contains
3836 % and the line number is enough info
3837 * gst/check/gstcheck.h:
3838 * gst/gstpad.c: (gst_pad_template_new):
3841 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3844 say what CHECK flags we use
3845 * docs/libs/gstreamer-libs.types:
3846 * libs/gst/controller/Makefile.am:
3847 * libs/gst/controller/gst-controller.c:
3848 * libs/gst/controller/gst-controller.h:
3849 * libs/gst/controller/gst-helper.c:
3850 * libs/gst/controller/gst-interpolation.c:
3851 * libs/gst/controller/gstcontroller.c:
3852 * libs/gst/controller/gsthelper.c:
3853 * libs/gst/controller/gstinterpolation.c:
3854 * tools/gst-inspect.c: (print_plugin_info):
3855 we don't use dashes in header names
3857 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3859 * check/Makefile.am:
3860 * check/gst/.cvsignore:
3861 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3862 (gst_pipeline_suite), (main):
3863 adding a test for pipelines and state changes
3864 * gst/gstutils.c: (get_state_func):
3866 * gstreamer.spec.in:
3869 2005-09-08 Michael Smith <msmith@fluendo.com>
3871 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3872 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3873 (gst_file_src_is_seekable), (gst_file_src_get_size),
3874 (gst_file_src_start):
3875 * gst/elements/gstfilesrc.h:
3876 Various fixes for unseekable, unmmapable, and non-normal files, so
3877 that fallback to read() rather than mmap() works.
3878 * gst/gstevent.c: (gst_event_new_newsegment):
3879 Allow newsegment events with segment_start == segment_end, as will
3880 correctly happen if you use filesrc on a zero-size file, for
3883 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3885 * gst/gstplugin.c: (gst_plugin_load_file):
3886 Call g_module_close when we don't load the module
3888 * gst/registries/gstlibxmlregistry.c:
3889 (gst_xml_registry_get_property):
3890 Port leak fix from 0.8
3892 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3894 * docs/gst/gstreamer-docs.sgml:
3895 * docs/gst/tmpl/.cvsignore:
3896 * docs/gst/tmpl/gsttrace.sgml:
3897 * docs/gst/tmpl/gsttrashstack.sgml:
3906 * gst/gsttaginterface.c:
3907 * gst/gsttaginterface.h:
3910 * gst/gsttagsetter.c:
3911 * gst/gsttagsetter.h:
3914 * gst/gsttrashstack.c:
3915 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3916 inlined docs for gsttrace, gsttrashstack
3918 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3921 * gst/elements/gstbufferstore.h:
3922 * gst/elements/gsttypefindelement.c:
3923 * gst/elements/gsttypefindelement.h:
3925 * gst/gsttypefind.c:
3926 * gst/gsttypefind.h:
3927 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3928 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3929 (gst_type_find_factory_dispose),
3930 (gst_type_find_factory_unload_thyself),
3931 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3932 (gst_type_find_factory_get_caps),
3933 (gst_type_find_factory_get_extensions),
3934 (gst_type_find_factory_call_function):
3935 * gst/gsttypefindfactory.h:
3936 * gst/registries/gstlibxmlregistry.c:
3937 * gst/registries/gstxmlregistry.c:
3938 splitted gsttypefind into gsttypefind, gsttypefindfactory
3940 2005-09-07 Andy Wingo <wingo@pobox.com>
3942 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3943 condition whereby the pad's task function is entered before the
3944 pad_mode variable was set.
3946 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3948 * gst/gstpad.c: (gst_pad_alloc_buffer):
3949 Catch misbehaving pad_alloc functions that don't
3950 set up caps and do it for them.
3952 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3954 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3956 * docs/gst/tmpl/.cvsignore:
3957 * docs/gst/tmpl/gstmemchunk.sgml:
3958 * docs/gst/tmpl/gstparse.sgml:
3959 * docs/gst/tmpl/gsttaglist.sgml:
3960 * docs/gst/tmpl/gsttagsetter.sgml:
3961 * docs/gst/tmpl/gsttypefind.sgml:
3962 * docs/gst/tmpl/gsttypefindfactory.sgml:
3963 * gst/gstmemchunk.c:
3966 * gst/gsttaginterface.c:
3967 * gst/gsttypefind.c:
3968 * gst/gsttypefind.h:
3971 === release 0.9.2 ===
3973 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3978 releasing 0.9.2, "South"
3980 2005-09-05 Andy Wingo <wingo@pobox.com>
3982 * gst/registries/gstxmlregistry.h:
3983 * gst/registries/gstxmlregistry.c: Um... resurrect...
3985 * gst/registries/gstxmlregistry.h:
3986 * gst/registries/gstxmlregistry.c: and update to newer API.
3987 Incidentally they should be a bit faster now that they don't have
3990 2005-09-05 Andy Wingo <wingo@pobox.com>
3992 * gst/registries/gstxmlregistry.h:
3993 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3994 replaced by the libxml registry a while back
3996 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3998 * docs/gst/tmpl/gstplugin.sgml:
3999 * gst/elements/gstelements.c:
4001 * gst/gstplugin.c: (gst_plugin_register_func),
4002 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4003 (gst_plugin_get_source):
4005 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4006 (gst_xml_registry_save_plugin):
4007 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4008 (gst_xml_registry_save_plugin):
4009 * tools/gst-inspect.c: (print_plugin_info):
4010 add a "source" plugin description field, to represent the source
4011 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4012 will set it to PACKAGE, which is automake's idea of the name of
4015 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4021 * docs/faq/Makefile.am:
4022 * docs/gst/tmpl/gstelement.sgml:
4023 * docs/gst/tmpl/gsttypes.sgml:
4024 * docs/htmlinstall.mak:
4025 * docs/manual/Makefile.am:
4026 * docs/pwg/Makefile.am:
4027 reorganize doc build a little
4028 split out docbook and gtk-doc stuff
4029 have two separate --enable's and enable them through autogen
4030 but disable by default in configure (to be similar to other
4032 * gstreamer.spec.in:
4033 clean up docs install
4053 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4055 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4058 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4059 (gst_fake_sink_change_state):
4060 Make state change function thread-safe.
4062 * gst/gstpad.c: (gst_pad_alloc_buffer):
4063 Set offset on generic buffer allocated by fallback.
4065 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4067 * docs/gst/gstreamer-sections.txt:
4068 * docs/gst/tmpl/gstelement.sgml:
4070 * libs/gst/controller/gst-controller.c:
4071 (gst_controlled_property_set_interpolation_mode),
4072 (gst_controlled_property_new),
4073 (gst_controller_find_controlled_property):
4074 run the wingo-magic script against the docs
4076 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4078 * docs/gst/gstreamer-docs.sgml:
4079 * docs/gst/gstreamer-sections.txt:
4080 * docs/gst/tmpl/.cvsignore:
4081 * docs/gst/tmpl/gstelementdetails.sgml:
4082 * docs/gst/tmpl/gstelementfactory.sgml:
4085 * gst/gstelementfactory.c:
4086 * gst/gstelementfactory.h:
4087 merged elementdetails docs into elementfactory docs
4090 2005-09-02 Andy Wingo <wingo@pobox.com>
4092 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4093 consider this enum an enum and not a flags.
4095 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4097 * docs/gst/gstreamer-docs.sgml:
4098 * docs/gst/tmpl/.cvsignore:
4099 * docs/gst/tmpl/gstghostpad.sgml:
4100 * docs/gst/tmpl/gstiterator.sgml:
4101 * docs/gst/tmpl/gstmacros.sgml:
4102 * docs/gst/tmpl/gstrealpad.sgml:
4103 * docs/gst/tmpl/gstregistry.sgml:
4104 * docs/gst/tmpl/gstregistrypool.sgml:
4105 * docs/gst/tmpl/gststructure.sgml:
4106 * docs/gst/tmpl/gstsystemclock.sgml:
4107 * docs/gst/tmpl/gsttrace.sgml:
4108 * gst/gstghostpad.c:
4110 * gst/gstmemchunk.c:
4111 * gst/gstmemchunk.h:
4113 * gst/gstregistry.c:
4114 * gst/gstregistrypool.c:
4115 * gst/gststructure.c:
4116 * gst/gstsystemclock.c:
4119 2005-09-02 Andy Wingo <wingo@pobox.com>
4121 * gst/gstelement.h (GstState): Renamed from GstElementState,
4122 changed to be a normal enum instead of flags.
4123 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4124 munged to be GST_STATE_CHANGE_*.
4125 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4126 work with the new state representation.
4127 (GstStateChange): New enumeration of possible state transitions.
4128 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4129 (GstElementClass::change_state): Pass the GstStateChange along as
4130 an argument. Helps language bindings, so they don't have to use
4131 tricky lock-needing macros like GST_STATE_CHANGE ().
4133 * scripts/update-states (file): New script. Run it on a file to
4134 update it for state naming and API changes. Updates files in
4137 * All files updated for the new API.
4139 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4141 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4142 * gst/gstutils.c: (gst_util_set_value_from_string),
4143 (gst_util_set_object_arg):
4144 fix a bunch of unchecked return values
4145 * tools/gst-complete.c: (main):
4146 * gstreamer.spec.in:
4149 2005-09-01 Wim Taymans <wim@fluendo.com>
4151 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4152 (gst_base_sink_event), (gst_base_sink_do_sync),
4153 (gst_base_sink_handle_event):
4154 * gst/base/gstbasesink.h:
4155 Handle newsegments more correctly.
4160 * gst/gstevent.c: (gst_event_new_newsegment):
4161 A newsegment cannot have a start_time of -1
4163 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4165 * win32/gstenumtypes.c:
4166 * win32/gstenumtypes.h:
4169 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4171 * libs/gst/controller/gst-controller.c:
4172 (gst_controlled_property_set_interpolation_mode),
4173 (gst_controlled_property_new):
4176 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4178 * docs/faq/gst-uninstalled:
4183 * gst/gstutils.c: (gst_element_link_filtered):
4185 add gst_element_link_filtered
4187 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4189 * docs/gst/gstreamer-docs.sgml:
4190 * docs/gst/gstreamer-sections.txt:
4191 * docs/gst/tmpl/.cvsignore:
4192 * docs/gst/tmpl/gsterror.sgml:
4193 * docs/gst/tmpl/gstfilter.sgml:
4194 * docs/gst/tmpl/gsturihandler.sgml:
4195 * docs/gst/tmpl/gsturitype.sgml:
4196 * docs/gst/tmpl/gstutils.sgml:
4197 * docs/gst/tmpl/gstxml.sgml:
4205 inlined more docs, fixed double id-ref
4207 2005-08-31 Wim Taymans <wim@fluendo.com>
4209 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4210 (gst_base_transform_handle_buffer):
4211 Passthrough elements don't need the caps as they don't care.
4213 2005-08-31 Wim Taymans <wim@fluendo.com>
4215 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4216 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4217 Don't leak refcounts on buffers.
4219 2005-08-31 Wim Taymans <wim@fluendo.com>
4221 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4222 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4223 (gst_base_transform_chain), (gst_base_transform_change_state):
4224 * gst/base/gstbasetransform.h:
4225 Handle the case where we are not negotiated more gracefully.
4227 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4229 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4230 (gst_file_src_map_region):
4231 Set READONLY flag on mmap'ed buffers, otherwise
4232 gst_buffer_make_writable() won't work properly (#314708).
4234 2005-08-31 Wim Taymans <wim@fluendo.com>
4236 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4237 passthrough elements can even do inplace on non writable
4238 buffers (as they don't touch them).
4240 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4242 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4243 (gst_test_mono_source_set_property),
4244 (gst_test_mono_source_class_init), (GST_START_TEST),
4245 (gst_controller_suite):
4246 more tests (hehe I have the most)
4248 describe popping messages whenusing mulltiple sources
4249 * libs/gst/controller/gst-controller.c:
4250 (gst_controlled_property_set_interpolation_mode),
4251 (gst_controlled_property_new):
4252 * libs/gst/controller/gst-controller.h:
4253 * libs/gst/controller/gst-interpolation.c:
4254 implement boolean properties
4256 2005-08-31 Wim Taymans <wim@fluendo.com>
4258 * gst/gstminiobject.c: (gst_mini_object_ref):
4259 Cannot assert that the refcount has to be positive
4260 since a disposed object can be resurrected.
4262 2005-08-31 Wim Taymans <wim@fluendo.com>
4264 * gst/gstpad.c: (gst_pad_init):
4265 Revert change, need to first fix badly behaving
4268 2005-08-30 Wim Taymans <wim@fluendo.com>
4270 * check/elements/fakesrc.c: (setup_fakesrc):
4271 * check/elements/identity.c: (setup_identity):
4272 Activate pads before using them.
4274 2005-08-30 Wim Taymans <wim@fluendo.com>
4276 * gst/base/gstadapter.c: (gst_adapter_flush):
4277 Flushing out 0 bytes is ok for this function.
4279 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4280 no newsegment gives a warning and sets the start/stop to
4283 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4284 (gst_base_transform_set_passthrough):
4287 * gst/gstminiobject.c: (gst_mini_object_ref):
4288 Check refcount here too.
4290 * gst/gstpad.c: (gst_pad_init):
4291 Pads are initially flushing and refusing data.
4293 * gst/gstutils.c: (gst_element_link_pads_filtered):
4294 When adding a capsfilter element make sure it has the
4295 same state as the parent bin.
4297 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4299 * docs/gst/tmpl/.cvsignore:
4300 * docs/gst/tmpl/gstformat.sgml:
4301 * docs/gst/tmpl/gstversion.sgml:
4305 * gst/gstversion.h.in:
4306 more docs and two more inlined
4308 2005-08-30 Wim Taymans <wim@fluendo.com>
4310 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4311 Don't sync to clock.
4313 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4315 * docs/gst/gstreamer-sections.txt:
4316 ultral33t func10ns deserve to appear in the docs actually
4317 * docs/gst/tmpl/.cvsignore:
4318 * docs/gst/tmpl/gstcompat.sgml:
4319 * docs/gst/tmpl/gstconfig.sgml:
4320 * gst/check/gstcheck.c:
4322 * gst/gstconfig.h.in:
4325 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4327 * docs/gst/tmpl/.cvsignore:
4328 * docs/gst/tmpl/gstquery.sgml:
4329 * docs/gst/tmpl/gstutils.sgml:
4332 inlined and extended docs
4334 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4336 * check/gst-libs/controller.c: (GST_START_TEST),
4337 (gst_controller_suite):
4339 * docs/gst/tmpl/gstutils.sgml:
4340 * docs/libs/gstreamer-libs-sections.txt:
4341 * docs/libs/tmpl/gstdataprotocol.sgml:
4343 * examples/controller/audio-example.c: (main):
4344 controller example works now
4347 * tools/gst-inspect.c: (print_element_properties_info):
4348 show param spec flags
4350 2005-08-29 Andy Wingo <wingo@pobox.com>
4352 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4354 2005-08-28 Andy Wingo <wingo@pobox.com>
4356 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4357 as having two arguments instead of just one. Allows superclasses
4358 to access information on subclasses -- see the terrible for() loop
4359 in gtype.c:g_type_create_instance for the reason why. All callers
4362 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4364 * docs/design/part-messages.txt:
4366 * docs/gst/tmpl/.cvsignore:
4367 * docs/gst/tmpl/gstcaps.sgml:
4368 * docs/gst/tmpl/gstclock.sgml:
4375 added descriptions for bus and message
4376 inline caps and clock docs
4378 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4384 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4386 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4389 2005-08-26 Andy Wingo <wingo@pobox.com>
4391 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4392 element_set_state's return val.
4393 (test_2_elements): Add test that's been disabled for months.
4395 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4396 can-activate-pull properties.
4398 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4399 can-activate-pull properties. Implement is_seekable so fakesrc can
4400 operate in pull mode.
4402 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4404 (gst_base_sink_activate, gst_base_sink_activate_pull)
4405 (gst_base_sink_activate_push): Make activation mode choosing work.
4407 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4408 is right. Make pull mode work. Post an eos before pausing in pull
4410 (gst_base_sink_change_state): Pay attention to the core's
4411 change_state() return val.
4413 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4414 has-getrange properties. Cleanups.
4416 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4417 has_getrange and replace with can_activate_pull and
4420 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4421 locking comments. Remove has_loop, has_chain and replace with
4422 can_activate_pull and can_activate_push.
4424 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4427 * examples/Makefile.am:
4428 * examples/metadata/Makefile.am:
4429 * examples/metadata/read-metadata.c: (message_loop),
4430 (have_pad_handler), (make_pipeline), (print_tag), (main):
4431 Add metadata reading example that loops over a list of filenames,
4432 dumping any tags found.
4434 * gst/gstbus.c: (gst_bus_dispose):
4435 * gst/gstelement.c: (gst_element_dispose):
4436 Release a few potentially-held references in dispose.
4438 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4440 * docs/gst/tmpl/gstminiobject.sgml:
4441 do *not* add tmpl/*.sgml files to CVS!
4443 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4445 * libs/gst/bytestream/.cvsignore:
4446 * libs/gst/bytestream/Makefile.am:
4447 * libs/gst/bytestream/adapter.c:
4448 * libs/gst/bytestream/adapter.h:
4449 * libs/gst/bytestream/bytestream.c:
4450 * libs/gst/bytestream/bytestream.h:
4451 * libs/gst/bytestream/filepad.c:
4452 * libs/gst/bytestream/filepad.h:
4453 removing obsolete files
4455 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4457 * docs/gst/gstreamer-docs.sgml:
4458 * docs/libs/gstreamer-libs-docs.sgml:
4459 disabed additional index entries again, as this makes docs-gen just
4460 slow and they aren't useful yet
4461 * docs/libs/gstreamer-libs-sections.txt:
4462 little -section.txt cleanup for libs
4464 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4466 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4467 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4468 fix up some debugging
4469 (gst_base_transform_get_unit_size),
4470 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4471 (gst_base_transform_handle_buffer):
4472 * gst/base/gstbasetransform.h:
4473 handle and store timed NEWSEGMENT events so that subclasses that
4474 calculate time by counting samples have a segment_start time they
4475 need to add to their timestamps - see audioresample
4477 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4480 removed ';' from the end of macro defs
4481 * docs/gst/gstreamer-docs.sgml:
4482 * docs/gst/gstreamer-sections.txt:
4483 * docs/gst/tmpl/.cvsignore:
4485 * gst/gstelement.c: (gst_element_class_init),
4486 (gst_element_set_state), (activate_pads),
4487 (gst_element_save_thyself):
4488 * gst/gstevent.c: (gst_event_new_newsegment):
4490 * gst/gstiterator.c:
4491 * gst/gstiterator.h:
4494 * gst/gstutils.c: (gst_pad_query_convert):
4496 fixed parameter name mismatches between source, header and docs
4497 added some more docs, resolved the last batch of unused elements in
4498 docs (now someone needs to doc them)
4500 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4502 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4503 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4504 don't walk through the plugins backwards. Where is all this
4505 reversed logic coming from ?
4507 2005-08-25 Wim Taymans <wim@fluendo.com>
4509 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4510 (gst_base_transform_transform_size),
4511 (gst_base_transform_configure_caps),
4512 (gst_base_transform_get_unit_size),
4513 (gst_base_transform_buffer_alloc),
4514 (gst_base_transform_change_state):
4515 * gst/base/gstbasetransform.h:
4516 Cache caps unit_size.
4517 Make sure we cannot negotiate up and downstream at the
4520 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4522 * gst/gst.c: (init_pre), (init_post):
4523 register the installed plugin path after the env var
4524 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4525 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4526 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4527 directories, so the tests can prefer uninstalled over installed
4529 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4531 * gst/base/gstbasetransform.h:
4536 2005-08-25 Wim Taymans <wim@fluendo.com>
4538 * gst/gstbin.c: (bin_bus_handler):
4539 Be a bit more conservative about the posted message.
4541 * gst/gstbus.c: (gst_bus_post):
4542 Some cleanups, warn wrong return values.
4544 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4546 * check/gst/gstbin.c: (GST_START_TEST):
4547 * gst/gstbin.c: (bin_bus_handler):
4548 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4549 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4550 (gst_message_new_warning), (gst_message_new_tag),
4551 (gst_message_new_state_changed), (gst_message_new_segment_start),
4552 (gst_message_new_segment_done), (gst_message_new_custom):
4554 * tools/gst-launch.c: (event_loop):
4555 * tools/gst-md5sum.c: (event_loop):
4556 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4558 2005-08-25 Wim Taymans <wim@fluendo.com>
4560 * check/generic/states.c: (GST_START_TEST):
4561 Cleanup can be done at the end.
4563 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4564 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4565 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4566 Oh boy.. Thanks for finding this, Thomas.
4568 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4570 * docs/gst/gstreamer.types:
4573 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4575 * docs/gst/gstreamer-docs.sgml:
4576 * docs/gst/gstreamer-sections.txt:
4577 * docs/gst/tmpl/.cvsignore:
4579 * gst/gstiterator.c:
4581 * gst/registries/gstxmlregistry.h:
4582 added missing classes and symbols (123 more to go)
4583 removed removed symbols from section file
4584 fixed many doc-comments
4586 2005-08-24 Wim Taymans <wim@fluendo.com>
4588 * check/generic/states.c: (GST_START_TEST):
4589 Make sure all tasks are stopped.
4591 * check/gst/gstbin.c: (GST_START_TEST):
4592 Unref after usage for proper valgrinding.
4594 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4595 Really wait for the task to stop before destroying the
4598 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4599 (gst_queue_src_activate_push):
4600 Small cleanups. Don't stop the task when we did not start
4603 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4604 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4605 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4608 Protect the stream lock with the object lock.
4609 Disallow setting the stream lock when running.
4610 Add cleanup_all to wait for the threadpool to finish.
4611 Remove code to autoallocate a mutex if none was provided.
4612 Add _join() to wait for a task to stop.
4613 Protect the thread pool with a global lock.
4615 2005-08-24 Wim Taymans <wim@fluendo.com>
4617 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4618 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4619 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4620 * gst/base/gstbasesink.h:
4621 Handle newsegment events correctly.
4622 Drop buffers out of the segment range.
4624 2005-08-22 Andy Wingo <wingo@pobox.com>
4626 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4627 macro, implements an interface and gstimplementsinterface for a
4630 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4632 * check/Makefile.am:
4633 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4634 add a test that does a bunch of state changes on elements
4635 needs some fixing for valgrind
4636 * check/states/sinks.c: (gst_object_suite):
4639 add prototype for gst_caps_is_equal_fixed
4641 * gst/gstregistrypool.c:
4644 2005-08-24 Andy Wingo <wingo@pobox.com>
4646 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4647 convert a negative value. Doesn't make much sense. Mostly this is
4648 here to force callers to ensure -1 maps to -1.
4650 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4652 * docs/pwg/advanced-types.xml:
4653 Well done to Michael for catching my deliberate introduction
4654 of this spelling mistake.
4655 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4657 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4658 unlink pads before removing the element from the bin.
4660 2005-08-24 Andy Wingo <wingo@pobox.com>
4662 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4663 the same thing as GST_DEBUG=*:4.
4664 (parse_debug_level, parse_debug_category): New helper parsers.
4666 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4668 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4669 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4670 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4671 (gst_base_transform_buffer_alloc),
4672 (gst_base_transform_handle_buffer):
4673 use gboolean return values and pointers to size so we can use the
4674 full GST_BUFFER_SIZE range (guint) for buffer sizes
4675 use GstPadDirection for transform_caps
4676 * gst/base/gstbasetransform.h:
4677 rename get_size to get_unit_size since that's what it is
4678 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4679 use GstPadDirection for transform_caps
4680 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4682 cleanup and debugging
4684 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4686 * gst/gstelement.c: (gst_element_class_init),
4687 (gst_element_set_state), (activate_pads),
4688 (gst_element_save_thyself):
4689 * tools/gst-compprep.c: (main):
4690 * tools/gst-inspect.c: (print_element_properties_info):
4691 * tools/gst-xmlinspect.c: (print_element_properties):
4692 Fixed long standing mem-leak
4694 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4696 * check/gst/gstbin.c: (GST_START_TEST):
4697 * gst/gstbin.c: (bin_bus_handler):
4698 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4699 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4700 (gst_message_new_warning), (gst_message_new_tag),
4701 (gst_message_new_state_changed), (gst_message_new_segment_start),
4702 (gst_message_new_segment_done), (gst_message_new_custom):
4704 * tools/gst-launch.c: (event_loop):
4705 * tools/gst-md5sum.c: (event_loop):
4706 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4707 that applications can sensibly post custom messages with references
4708 to their own objects.
4710 2005-08-24 Andy Wingo <wingo@pobox.com>
4712 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4715 2005-08-24 Wim Taymans <wim@fluendo.com>
4717 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4718 (gst_base_transform_transform_caps),
4719 (gst_base_transform_transform_size),
4720 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4721 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4722 (gst_base_transform_handle_buffer):
4723 * gst/base/gstbasetransform.h:
4724 Many fixes and new features added by Thomas. Can now also do
4725 transforms with variable sizes and a custom fixate_caps function.
4727 2005-08-24 Wim Taymans <wim@fluendo.com>
4729 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4733 Cast to ClockTime before formatting to time.
4738 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4740 * check/gst-libs/controller.c: (GST_START_TEST),
4741 (gst_controller_suite):
4742 * docs/gst/tmpl/gstcaps.sgml:
4743 * docs/gst/tmpl/gstghostpad.sgml:
4744 * docs/gst/tmpl/gstquery.sgml:
4745 * docs/gst/tmpl/gstutils.sgml:
4746 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4747 (gst_object_sink_values), (gst_object_get_value_arrays),
4748 (gst_object_get_value_array):
4749 gracefully handle helper method calls to objects that are not beeing
4750 controlled, added test case for that
4752 2005-08-23 Wim Taymans <wim@fluendo.com>
4754 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4755 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4756 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4757 (gst_event_parse_qos), (gst_event_new_seek),
4758 (gst_event_parse_seek):
4760 Some more debugging output and doc cleanups.
4762 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4763 Fix possible deadlock.
4765 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4767 * docs/gst/gstreamer-docs.sgml:
4768 * docs/gst/gstreamer-sections.txt:
4769 * docs/gst/gstreamer.types:
4770 * docs/gst/tmpl/.cvsignore:
4775 added 100 symbols from gstreamer-unused.txt to the right sections
4776 fixed more broken comments
4777 added GstBus to docs
4779 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4781 * docs/gst/gstreamer-sections.txt:
4782 * docs/gst/tmpl/.cvsignore:
4783 * docs/gst/tmpl/gstbin.sgml:
4784 * docs/gst/tmpl/gstbuffer.sgml:
4785 * gst/base/gstbasesrc.c:
4786 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4789 * tools/gst-launch.1.in:
4790 inlined more doc comments, added missing comments and fixed comments
4793 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4795 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4799 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4801 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4802 * gst/gststructure.h:
4803 add a fixate function for booleans; add a FIXME that these func
4804 names should probably be gst_structure_fixate_*
4806 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4808 * docs/gst/gstreamer-docs.sgml:
4809 * docs/gst/gstreamer-sections.txt:
4811 * gst/gstbin.c: (gst_bin_get_type),
4812 (gst_bin_child_proxy_get_child_by_index),
4813 (gst_bin_child_proxy_get_children_count),
4814 (gst_bin_child_proxy_init):
4815 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4816 (gst_child_proxy_get_child_by_index),
4817 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4818 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4819 (gst_child_proxy_get), (gst_child_proxy_set_property),
4820 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4821 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4822 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4823 * gst/gstchildproxy.h:
4824 * gst/parse/grammar.y:
4825 * tools/gst-inspect.c: (print_interfaces),
4826 (print_element_properties_info), (print_element_info):
4827 ported gstchildproxy over from 0.8
4828 ported gst-inspect fixes and enhancements over from 0.8
4830 2005-08-22 Wim Taymans <wim@fluendo.com>
4832 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4833 (gst_base_transform_handle_buffer):
4834 Also call the transform function if we have ANY caps.
4836 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4839 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4841 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4842 Don't pretend to handle seek events if the source is not seekable
4844 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4846 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4847 Remove extra parameter to debug output
4849 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4850 (gst_base_src_do_seek), (gst_base_src_activate_push):
4851 Fix seek event handling.
4853 * gst/gstpipeline.c: (gst_pipeline_change_state):
4854 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4855 (gst_queue_src_activate_push):
4856 Don't start the src pad task on FLUSH_STOP if the pad
4860 2005-08-22 Wim Taymans <wim@fluendo.com>
4862 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4863 Added check for gst_static_caps_get() refcounting.
4865 2005-08-22 Wim Taymans <wim@fluendo.com>
4867 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4868 Make _static_caps_get() refcounting sane.
4870 * gst/gstelement.c: (gst_element_set_state):
4871 Add g_return_val_if_fail() to protect against segfaults.
4873 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4875 * docs/gst/tmpl/gstevent.sgml:
4878 inlined remaining docs, added missing doc comments
4880 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4882 * check/gst/gstbin.c: (GST_START_TEST):
4883 since we don't know when preroll is done, use refcount range
4885 * gst/check/gstcheck.h:
4886 add macro for checking refcount range
4888 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4890 * check/Makefile.am:
4891 clean up environment for when registry gets built versus
4892 when actual tests are run; valgrind seems to not report
4893 leaks if GST_PLUGIN_PATH is set to some specific values
4894 * check/gst/gstbin.c: (GST_START_TEST):
4895 add more refcounting checks; maybe this exposes a
4898 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4899 * gst/check/gstcheck.h:
4900 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4901 (gst_bin_change_state):
4902 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4903 add/fix debugging/whitespace
4905 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4907 * check/gst/gstevent.c: (event_probe), (test_event),
4909 Er, don't call gst_bin_watch_for_state_change you idiot.
4911 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4913 * check/Makefile.am:
4914 Use CHECK_CFLAGS and CHECK_LIBS
4915 * check/gst/gstevent.c: (event_probe), (test_event),
4918 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4919 (gst_base_src_start), (gst_base_src_stop),
4920 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4921 (gst_base_src_change_state):
4922 Sprinkle gst_base_src_stop liberally around error paths to fix
4923 problems reusing a source after failed state changes.
4924 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4925 (helper_find_suggest), (gst_type_find_helper):
4926 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4928 * docs/gst/tmpl/gstevent.sgml:
4929 Migrate part of the docs from the SGML file. Wait for ensonic to
4930 tell me how I did it wrong ;)
4931 * tools/gst-typefind.c: (main):
4932 Extra robustness to state changes between files.
4934 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4936 * check/Makefile.am:
4937 don't valgrind the controller test - it's leaking - Stefan, HELP
4938 * gst/check/gstcheck.c: (gst_check_message_error),
4939 (gst_check_chain_func), (gst_check_setup_element),
4940 (gst_check_teardown_element), (gst_check_setup_src_pad),
4941 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4942 (gst_check_teardown_sink_pad):
4943 * gst/check/gstcheck.h:
4944 add a bunch of methods to set up elements, and src and sink pads
4945 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4946 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4951 whitespace/doc fixes
4953 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4956 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4957 be handled by the application and not always printed as well
4959 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4961 * check/Makefile.am:
4963 * gst/check/gstcheck.c: (gst_check_message_error):
4964 * gst/check/gstcheck.h:
4965 add a fail_unless_equals_int
4966 add fail_unless for error messages
4968 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4970 * check/Makefile.am:
4972 * common/Makefile.am:
4975 factor out some of the common stuff so we can use it
4977 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4979 * check/Makefile.am:
4980 * check/gst/gstiterator.c: (GST_START_TEST):
4981 * check/gst/gstsystemclock.c: (GST_START_TEST),
4982 (gst_systemclock_suite):
4983 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4987 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4989 * check/elements/.cvsignore:
4990 * check/elements/gstfakesrc.c:
4991 rename to name of element
4992 * check/elements/identity.c: (chain_func), (event_func),
4993 (setup_identity), (cleanup_identity), (GST_START_TEST),
4994 (identity_suite), (main):
4995 add a test for identity
4996 * check/Makefile.am:
4997 * pkgconfig/Makefile.am:
4998 * pkgconfig/gstreamer-check.pc.in:
4999 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5003 move the check stuff to a library that gets installed
5004 * check/gst-libs/controller.c: (GST_START_TEST):
5005 * check/gst-libs/gdp.c:
5006 * check/gst/gst.c: (GST_START_TEST):
5007 * check/gst/gstbin.c:
5008 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5009 * check/gst/gstbus.c:
5010 * check/gst/gstcaps.c: (GST_START_TEST):
5011 * check/gst/gstelement.c:
5012 * check/gst/gstghostpad.c:
5013 * check/gst/gstiterator.c:
5014 * check/gst/gstmessage.c:
5015 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5016 * check/gst/gstobject.c:
5017 * check/gst/gstpad.c: (GST_START_TEST):
5018 * check/gst/gststructure.c: (GST_START_TEST):
5019 * check/gst/gstsystemclock.c: (GST_START_TEST),
5020 (gst_systemclock_suite):
5021 * check/gst/gsttag.c: (gst_tag_suite):
5022 * check/gst/gstvalue.c:
5023 * check/pipelines/cleanup.c:
5024 * check/pipelines/simple_launch_lines.c:
5025 * check/states/sinks.c:
5026 change include statement
5028 * docs/gst/gstreamer-sections.txt:
5029 * docs/gst/tmpl/gstpad.sgml:
5030 document more pad stuff
5031 * gst/gstminiobject.c: (gst_mini_object_ref),
5032 (gst_mini_object_unref):
5035 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5037 * docs/gst/tmpl/gst.sgml:
5039 eliminate another tmpl file, fix spelling in the long-description
5041 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5043 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5044 (test_event), (timediff), (gstevents_suite):
5045 Should fix build on 64-bit arch's
5047 2005-08-18 Andy Wingo <wingo@pobox.com>
5049 Make sure that when a pipeline goes to PLAYING, that data has
5050 actually hit the sink.
5052 * check/states/sinks.c (test_sink): A sink that doesn't get any
5053 data shouldn't return SUCCESS for going to either PLAYING or
5054 PAUSED. Test also the return values on the way back down.
5056 * gst/gstelement.c (gst_element_set_state): When changing the
5057 state of an element currently changing state asynchronously, go to
5058 lost-state after commiting the pending state. Makes future calls
5059 to get_state continue to return ASYNC.
5061 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5062 ASYNC when going to PLAYING if we still don't have preroll, as can
5063 happen with live sources.
5065 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5067 * docs/pwg/advanced-types.xml:
5068 Hack long paragraph into 2 chunks as a workaround for buggy
5069 jadetex version in sid and breezy that loops infinitely and
5072 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5074 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5075 (test_event), (timediff), (gstevents_suite):
5076 Provide more error margin in clock measurements to allow for
5077 g_get_current_time inaccuracies.
5079 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5081 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5082 (test_event), (timediff), (gstevents_suite):
5083 Fix error message output so I might be able to tell why the
5084 test works here but fails on the build farm.
5086 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5088 * check/Makefile.am:
5089 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5090 (test_event), (timediff), (gstevents_suite), (main):
5093 * docs/design/part-seeking.txt:
5096 * docs/gst/tmpl/gstevent.sgml:
5097 * docs/gst/tmpl/gstfakesrc.sgml:
5100 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5101 Treat a buffer-without-newsegment the same as a receiving
5102 a newsegment not in time format, and disable syncing to the clock
5105 * gst/gstbus.c: (gst_bus_set_sync_handler):
5106 Assert if anyone tries to replace the existing sync_handler for bus,
5107 as only the owner should be setting it.
5110 Have a fixed set of custom event enums with events identified by
5111 their structure name (as in 0.8), rather than a free-for-all
5112 allowing collisions between enum values from different plugins.
5114 * gst/gstpad.c: (gst_pad_class_init):
5117 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5118 Handle out-of-band downstream events from the sending thread.
5120 2005-08-17 Andy Wingo <wingo@pobox.com>
5122 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5123 play-timeout==0 to mean no timeout at all. In that case, don't
5124 bother with a get_state or a warning, just return directly, even
5127 * gst/base/gstbasetransform.c: Debug changes.
5130 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5131 ensure bins post state change messages. A bit of a hack but I can't
5132 think of a way to avoid it.
5134 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5136 2005-08-16 Andy Wingo <wingo@pobox.com>
5138 * gst/base/gstadapter.h:
5139 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5140 peek() but you own the data. Not terribly efficient atm.
5142 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5144 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5145 (gst_element_found_tags):
5147 Add two utility functions for tag handling.
5149 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5151 * docs/manual/advanced-dataaccess.xml:
5152 * docs/manual/basics-helloworld.xml:
5153 Fix docs to use _bin_add() before _link(), which fixes the examples
5154 with recent core versions (reported by Madhan Raj M
5155 <raj_madan@rediffmail.com>, #313199).
5157 2005-08-16 Wim Taymans <wim@fluendo.com>
5159 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5160 Added subtract checks.
5162 * docs/design/part-events.txt:
5163 Some more docs about newsegment
5165 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5168 * gst/gstcaps.c: (gst_caps_to_string):
5169 Add comments, cleanups.
5171 * gst/gstelement.c: (gst_element_save_thyself):
5174 * gst/gstvalue.c: (gst_value_collect_int_range),
5175 (gst_string_unwrap), (gst_value_union_int_int_range),
5176 (gst_value_union_int_range_int_range),
5177 (gst_value_intersect_int_int_range),
5178 (gst_value_intersect_int_range_int_range),
5179 (gst_value_intersect_double_double_range),
5180 (gst_value_intersect_double_range_double_range),
5181 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5182 (gst_value_subtract_int_range_int),
5183 (gst_value_subtract_double_range_double),
5184 (gst_value_subtract_double_range_double_range),
5185 (gst_value_subtract_from_list), (gst_value_subtract_list),
5186 (gst_value_can_compare), (gst_value_compare_fraction):
5187 Cleanups, add comments, remove unneeded asserts.
5189 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5191 * tools/gst-launch.c: (event_loop):
5192 don't convert NULL structures to strings
5194 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5196 * docs/gst/gstreamer-sections.txt:
5197 made some defines private
5198 * docs/gst/tmpl/gstconfig.sgml:
5199 * docs/gst/tmpl/gstqueue.sgml:
5200 * docs/gst/tmpl/gsttaglist.sgml:
5201 * docs/gst/tmpl/gsttypes.sgml:
5202 * docs/gst/tmpl/gstutils.sgml:
5203 * docs/pwg/appendix-porting.xml:
5204 * gst/base/gstbasesink.h:
5205 * gst/base/gstbasesrc.c:
5206 * gst/base/gstbasesrc.h:
5207 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5208 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5209 * gst/gstelement.c: (gst_element_class_init):
5210 * gst/gstpad.c: (gst_pad_class_init):
5211 * gst/gstqueue.c: (gst_queue_class_init):
5212 * gst/gstxml.c: (gst_xml_class_init):
5213 documented all undocumented signal inline
5214 * libs/gst/controller/gst-controller.h:
5217 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5219 * docs/pwg/appendix-porting.xml:
5220 Document _set_link_function -> _set_setcaps_function.
5222 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5224 * check/Makefile.am:
5225 add a .check target for running the check
5226 * check/gst-libs/controller.c: (GST_START_TEST):
5228 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5229 complete checks for gstbuffer; would be nice if I could get the
5230 gcov stuff to work so I can see if I actually completed gstbuffer.c
5232 add ASSERT_BUFFER_REFCOUNT
5234 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5236 * docs/gst/gstreamer-sections.txt:
5237 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5239 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5240 spew out a warning if a tag that is already registered
5241 is re-registered, unless it is re-registered with a
5242 different type (#308438).
5244 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5246 * docs/pwg/appendix-porting.xml:
5247 * docs/pwg/building-state.xml:
5248 Add some paragraphs about state changes in 0.9 to the PWG
5249 and the porting guide, in particular about the new meaning
5250 of GST_STATE_PAUSED and how to write state change functions
5251 with concurrent access by multiple threads in mind.
5253 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5255 * docs/gst/gstreamer-docs.sgml:
5256 * docs/libs/gstreamer-libs-docs.sgml:
5257 added deprecation and since indexes
5258 * libs/gst/controller/gst-controller.c:
5259 * libs/gst/controller/gst-helper.c:
5263 2005-08-11 Wim Taymans <wim@fluendo.com>
5265 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5266 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5267 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5268 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5269 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5270 (gst_ghost_pad_set_target):
5271 Actually implement (re)setting the target on a ghostpad
5272 as described in the docs.
5274 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5276 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5277 Check whether GST_DEBUG_NO_COLOR environment variable is
5278 set and disable coloured debug output if that is the case.
5280 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5282 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5283 (gst_type_find_helper):
5284 The memory returned by gst_type_find_peek() needs to
5285 stay valid until the end of a typefind function, and
5286 typefind functions may keep results from different
5287 offsets around, so we can't just unref the buffer from
5288 the previous _peek(), but have to save all buffers
5289 returned by _peek() until typefinding is done and only
5292 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5294 * docs/gst/gstreamer-sections.txt:
5296 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5298 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5300 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5301 Fix a pretty good memleak.
5303 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5305 * gst/gstiterator.h:
5306 Fix wrong include and 'make distcheck'.
5308 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5310 * gst/gstbin.c: (bin_bus_handler):
5311 Use gst_element_post_message() instead.
5313 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5315 * gst/base/gstadapter.h:
5316 * gst/base/gstbasesink.h:
5317 * gst/base/gstbasesrc.h:
5318 * gst/base/gstbasetransform.h:
5319 * gst/base/gstcollectpads.h:
5320 * gst/base/gstpushsrc.h:
5321 * gst/gstiterator.h:
5322 Add padding to our base elements' class and instance structs and
5323 to GstIterator (you will need to rebuild all plugins and apps!)
5325 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5327 * gst/gstbin.c: (bin_bus_handler):
5328 Make default message forwarding from child->bus to bin->bus
5329 threadsafe and make it not emit warnings if the parent has no bus.
5331 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5333 * gst/gstelement.c: (activate_pads):
5334 On paused->ready, set pad->caps to NULL, as is the documented
5335 behaviour in this state change. Fixes playback of series of
5336 media files when visualization is enabled in Totem.
5338 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5340 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5341 Allow NULL as filter-caps (which means "any").
5343 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5345 * docs/libs/gstreamer-libs-sections.txt:
5346 * libs/gst/controller/gst-controller.c:
5347 * libs/gst/controller/gst-controller.h:
5348 * libs/gst/controller/gst-helper.c:
5349 adding more entries to the docs and fix small doc-bugs
5351 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5353 * docs/gst/gstreamer-docs.sgml:
5354 * docs/gst/gstreamer-sections.txt:
5355 * docs/gst/gstreamer.types:
5356 * docs/gst/tmpl/gstbasesink.sgml:
5357 * docs/gst/tmpl/gstbasesrc.sgml:
5358 * docs/gst/tmpl/gstbasetransform.sgml:
5359 * docs/gst/tmpl/gstfakesrc.sgml:
5360 * gst/base/gstcollectpads.c:
5361 * gst/base/gstcollectpads.h:
5362 * libs/gst/controller/gst-controller.c:
5363 * libs/gst/controller/gst-controller.h:
5364 * libs/gst/controller/gst-helper.c:
5365 * libs/gst/controller/gst-interpolation.c:
5366 * libs/gst/controller/lib.c:
5367 added long/short desc for controller docs
5368 added collectpads base class docs
5369 added correct includes to base-class docs
5371 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5373 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5374 (gst_test_mono_source_set_property),
5375 (gst_test_mono_source_class_init), (GST_START_TEST),
5376 (gst_controller_suite):
5377 * docs/gst/gstreamer-docs.sgml:
5378 * docs/gst/gstreamer-sections.txt:
5379 * docs/gst/gstreamer.types:
5380 * docs/libs/gstreamer-libs-docs.sgml:
5381 * docs/libs/gstreamer-libs-sections.txt:
5382 * gst/base/gstadapter.c:
5383 * libs/gst/controller/gst-controller.c:
5384 (gst_controlled_property_new), (gst_controlled_property_free),
5385 (gst_controller_new_valist),
5386 (gst_controller_remove_properties_valist),
5387 (gst_controller_sink_values), (_gst_controller_finalize):
5388 * libs/gst/controller/gst-controller.h:
5389 * libs/gst/controller/gst-helper.c:
5390 (gst_object_control_properties), (gst_object_uncontrol_properties),
5391 (gst_object_get_controller), (gst_object_set_controller),
5392 (gst_object_sink_values), (gst_object_get_value_arrays),
5393 (gst_object_get_value_array):
5394 more tests (and fixes) for the controller
5395 more docs for the controller
5396 integrated companies docs for the adapter
5398 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5400 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5401 (GST_START_TEST), (fakesrc_suite):
5402 add tests for sizetype
5404 2005-08-04 Andy Wingo <wingo@pobox.com>
5406 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5407 fixes buffer_alloc proxying among other things.
5409 * gst/base/gstbasetransform.c:
5410 * gst/base/gstbasetransform.h:
5411 Revert patch to gstbasetransform from 7-28 removing
5414 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5415 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5416 Semantics changed, should return not the size of the output buffer
5417 but the byte size of a buffer with a given caps.
5419 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5421 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5422 out) are not the pad caps until setcaps finishes.
5423 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5424 not-in-place case as well. Deal with changing from in-place to
5425 not-in-place within calling pad_alloc_buffer. Still a bit
5426 concerned about the overhead here...
5428 2005-08-03 Andy Wingo <wingo@pobox.com>
5430 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5431 fixating is an error.
5433 2005-08-04 Edward Hervey <edward@fluendo.com>
5435 * gst/base/gstadapter.h:
5436 Added gst_adapter_get_type() to the header
5438 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5440 * check/Makefile.am:
5441 * check/gst-libs/controller.c:
5442 * libs/gst/controller/gst-controller.c:
5443 (gst_controller_new_valist):
5444 added check test suite for the controller
5445 * gst/base/gstpushsrc.c:
5448 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5450 * docs/gst/Makefile.am:
5451 * docs/gst/gstreamer-docs.sgml:
5452 * docs/gst/gstreamer-sections.txt:
5453 * docs/gst/gstreamer.types:
5454 * docs/gst/tmpl/gstfakesrc.sgml:
5456 * gst/base/gstbasesink.c:
5457 * gst/base/gstbasesink.h:
5458 * gst/base/gstbasesrc.c:
5459 * gst/base/gstbasesrc.h:
5460 * gst/base/gstbasetransform.c:
5461 * gst/base/gstpushsrc.c:
5462 * gst/base/gstpushsrc.h:
5463 add short/long description docs to base classes
5464 add pushsrc to the docs
5465 remove consolidated doc fragments
5467 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5470 * docs/libs/Makefile.am:
5471 * docs/libs/gstreamer-libs-docs.sgml:
5472 * docs/libs/gstreamer-libs-sections.txt:
5473 * docs/libs/gstreamer-libs.types:
5474 * examples/Makefile.am:
5475 * examples/controller/.cvsignore:
5476 * examples/controller/Makefile.am:
5477 * examples/controller/audio-example.c: (main):
5478 * libs/gst/Makefile.am:
5479 * libs/gst/controller/.cvsignore:
5480 * libs/gst/controller/Makefile.am:
5481 * libs/gst/controller/gst-controller.c:
5482 (on_object_controlled_property_changed), (gst_timed_value_compare),
5483 (gst_timed_value_find),
5484 (gst_controlled_property_set_interpolation_mode),
5485 (gst_controlled_property_new), (gst_controlled_property_free),
5486 (gst_controller_find_controlled_property),
5487 (gst_controller_new_valist), (gst_controller_new),
5488 (gst_controller_remove_properties_valist),
5489 (gst_controller_remove_properties), (gst_controller_set),
5490 (gst_controller_set_from_list), (gst_controller_unset),
5491 (gst_controller_get), (gst_controller_get_all),
5492 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5493 (gst_controller_get_value_array),
5494 (gst_controller_set_interpolation_mode),
5495 (_gst_controller_finalize), (_gst_controller_init),
5496 (_gst_controller_class_init), (gst_controller_get_type):
5497 * libs/gst/controller/gst-controller.h:
5498 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5499 (g_object_uncontrol_properties), (g_object_get_controller),
5500 (g_object_set_controller), (g_object_sink_values),
5501 (g_object_get_value_arrays), (g_object_get_value_array):
5502 * libs/gst/controller/gst-interpolation.c:
5503 (gst_controlled_property_find_timed_value_node),
5504 (interpolate_none_get), (interpolate_trigger_get),
5505 (interpolate_trigger_get_value_array):
5506 * libs/gst/controller/lib.c: (gst_controller_init):
5507 * pkgconfig/Makefile.am:
5508 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5509 * pkgconfig/gstreamer-control.pc.in:
5510 * testsuite/Makefile.am:
5511 * testsuite/controller/.cvsignore:
5512 * testsuite/controller/Makefile.am:
5513 * testsuite/controller/interpolator.c: (main):
5514 added controller code
5515 removed dparam pc files
5517 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5518 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5519 (gst_collectpads_stop):
5520 Broadcast the condition when shutting down, to make sure we wake all
5521 threads up. Shut down pads on finalize, for safety.
5523 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5524 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5525 (gst_base_transform_handle_buffer),
5526 (gst_base_transform_change_state):
5527 Handle PAUSED->READY->PAUSED transition after negotiation
5529 * gst/gstmessage.c: (gst_message_init):
5530 Extra piece of debug for new messages.
5532 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5535 * docs/gst/tmpl/gstbasesrc.sgml:
5536 * docs/gst/tmpl/gstelement.sgml:
5537 * docs/gst/tmpl/gstevent.sgml:
5538 * docs/gst/tmpl/gstfakesrc.sgml:
5539 * docs/gst/tmpl/gstformat.sgml:
5540 * docs/gst/tmpl/gstghostpad.sgml:
5541 * docs/gst/tmpl/gstpad.sgml:
5542 * docs/gst/tmpl/gstquery.sgml:
5543 * docs/gst/tmpl/gststructure.sgml:
5544 * docs/gst/tmpl/gsttaglist.sgml:
5545 * docs/gst/tmpl/gstvalue.sgml:
5546 * docs/libs/gstreamer-libs-docs.sgml:
5547 * docs/libs/gstreamer-libs-sections.txt:
5548 * docs/libs/gstreamer-libs.types:
5549 * libs/gst/Makefile.am:
5550 * libs/gst/control/.cvsignore:
5551 * libs/gst/control/Makefile.am:
5552 * libs/gst/control/control.c:
5553 * libs/gst/control/control.h:
5554 * libs/gst/control/dparam.c:
5555 * libs/gst/control/dparam.h:
5556 * libs/gst/control/dparam_smooth.c:
5557 * libs/gst/control/dparam_smooth.h:
5558 * libs/gst/control/dparamcommon.h:
5559 * libs/gst/control/dparammanager.c:
5560 * libs/gst/control/dparammanager.h:
5561 * libs/gst/control/dplinearinterp.c:
5562 * libs/gst/control/dplinearinterp.h:
5563 * libs/gst/control/unitconvert.c:
5564 * libs/gst/control/unitconvert.h:
5565 * testsuite/Makefile.am:
5566 * testsuite/dynparams/.cvsignore:
5567 * testsuite/dynparams/Makefile.am:
5568 * testsuite/dynparams/dparamstest.c:
5569 * tools/Makefile.am:
5570 * tools/gst-inspect.c: (print_element_info), (main):
5571 * tools/gst-xmlinspect.c: (print_element_info), (main):
5572 deactivate and remove dparams (libgstcontrol)
5574 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5576 * gst/elements/gsttypefindelement.c:
5577 (gst_type_find_element_have_type), (gst_type_find_element_init),
5578 (stop_typefinding), (gst_type_find_element_handle_event),
5579 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5580 * gst/elements/gsttypefindelement.h:
5581 Set caps on all outgoing buffers, not just the first one.
5583 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5585 * gst/elements/gsttypefindelement.c:
5586 (gst_type_find_element_have_type),
5587 (gst_type_find_element_check_set_buffer_caps),
5588 (gst_type_find_element_init), (stop_typefinding),
5589 (gst_type_find_element_handle_event),
5590 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5591 * gst/elements/gsttypefindelement.h:
5592 Set caps on first outgoing buffer when we've found the type.
5594 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5596 * docs/gst/gstreamer-docs.sgml:
5597 * docs/gst/gstreamer-sections.txt:
5598 * docs/gst/tmpl/gstscheduler.sgml:
5599 * docs/gst/tmpl/gstschedulerfactory.sgml:
5600 Remove some old cruft from docs.
5602 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5605 Fix inline docs for GstPadLinkReturn.
5607 * gst/gststructure.c: (gst_structure_has_name):
5608 * gst/gststructure.h:
5609 * docs/gst/gstreamer-sections.txt:
5610 New API: gst_structure_has_name().
5612 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5615 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5616 and _LARGEFILE_SOURCE in config.h as required. Do not
5617 export those flags in our .pc files any longer (#142209).
5619 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5621 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5622 (gst_file_sink_do_seek), (gst_file_sink_event),
5623 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5624 Redo seek/tell calls with large file support in mind; add some
5625 debugging messages; add log message that tells us when large
5626 file support is unavailable or not enabled for some reason.
5628 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5629 Add log message that tells us when large file support
5630 is unavailable or not enabled for some reason.
5632 2005-07-29 Wim Taymans <wim@fluendo.com>
5634 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5635 Added test for removing an element with ghostpad from a bin.
5636 Fixed test as current implementation does the right thing.
5638 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5639 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5640 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5641 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5642 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5643 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5644 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5645 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5646 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5647 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5648 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5649 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5650 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5651 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5652 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5653 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5654 * gst/gstghostpad.h:
5655 Clean up ghostpads, remove properties for internal stuff.
5658 Prepare for switching targets, not all use cases work yet.
5660 2005-07-29 Wim Taymans <wim@fluendo.com>
5662 * docs/design/part-gstghostpad.txt:
5665 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5666 (gst_bin_remove_func):
5667 Unlinking pads while holding the bin LOCK is not a good
5670 * gst/gstpad.c: (gst_pad_class_init),
5671 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5672 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5673 No prob setting template after creating the pad.
5675 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5677 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5678 (gst_bus_peek), (gst_bus_source_dispatch),
5679 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5680 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5681 gst_bus_poll may be called from other threads. Handle
5682 this nicely by not making poll_data disappear off the
5683 stack once gst_bus_poll returns.
5684 gst_bus_peek now increments the refcount on the returned
5687 2005-07-29 Wim Taymans <wim@fluendo.com>
5689 * docs/design/part-gstghostpad.txt:
5690 Overview of current GhostPad datastructures and use
5691 cases for changing the target.
5693 2005-07-28 Wim Taymans <wim@fluendo.com>
5695 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5696 Added checks for hierarchy consistency whan adding linked
5699 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5700 Added check to test element scheduling without bin/pipeline.
5702 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5703 First add elements to bin, then link.
5705 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5706 (gst_bin_remove_func):
5707 Unlink pads from elements added/removed from bin to maintain
5708 hierarchy consistency.
5710 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5712 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5713 (gst_base_transform_handle_buffer):
5714 * gst/base/gstbasetransform.h:
5715 Remove broken delay_configure (fixes renegotiation of software
5716 scaling pipelines); remove some leftover printf()s.
5718 2005-07-28 Wim Taymans <wim@fluendo.com>
5720 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5721 Added some more tests for wrong hierarchy
5723 * docs/design/part-overview.txt:
5726 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5729 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5730 (gst_element_dispose):
5733 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5734 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5735 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5736 (gst_pad_set_caps), (gst_pad_send_event):
5737 Check for correct hierarchy when linking pads. Moving to
5738 strict requirement for ghostpads when linking elements in
5742 Clean ups. Added WRONG_HIERARCHY return value.
5744 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5746 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5747 Better debug if no transform is possible.
5749 2005-07-27 Wim Taymans <wim@fluendo.com>
5751 * docs/random/wtay/network-transp:
5754 2005-07-27 Wim Taymans <wim@fluendo.com>
5756 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5757 (gst_dp_event_from_packet):
5758 Fix serialization of seek events.
5760 2005-07-27 Wim Taymans <wim@fluendo.com>
5762 * check/gst-libs/gdp.c: (GST_START_TEST):
5763 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5764 Fix compilation and fix event serialization.
5766 2005-07-27 Wim Taymans <wim@fluendo.com>
5769 * docs/design/part-TODO.txt:
5770 * docs/design/part-events.txt:
5773 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5774 (gst_base_sink_event), (gst_base_sink_do_sync),
5775 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5776 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5777 (gst_base_src_do_seek), (gst_base_src_event_handler),
5778 (gst_base_src_loop):
5779 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5780 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5781 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5782 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5783 (gst_base_transform_set_passthrough),
5784 (gst_base_transform_is_passthrough):
5785 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5786 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5792 * gst/gstelement.c: (gst_element_seek):
5794 Update gst_element_seek.
5796 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5797 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5798 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5799 (gst_event_new_eos), (gst_event_new_newsegment),
5800 (gst_event_parse_newsegment), (gst_event_new_tag),
5801 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5802 (gst_event_parse_qos), (gst_event_new_seek),
5803 (gst_event_parse_seek), (gst_event_new_navigation):
5805 Make GstEvent use GstStructure. Add parsing code, make sure the
5806 API is sufficiently generic.
5807 Mark possible directions of events and serialization.
5809 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5810 (_gst_message_copy), (gst_message_new_segment_start),
5811 (gst_message_new_segment_done), (gst_message_new_custom),
5812 (gst_message_parse_segment_start),
5813 (gst_message_parse_segment_done):
5816 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5817 (gst_pad_set_caps), (gst_pad_send_event):
5818 Update for new events.
5819 Catch events sent in wrong directions.
5821 * gst/gstqueue.c: (gst_queue_link_src),
5822 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5823 (gst_queue_handle_src_query):
5828 Remove event code from this file.
5830 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5831 (gst_dp_event_from_packet):
5834 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5836 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5837 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5838 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5839 Make debugging actually useful.
5841 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5843 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5844 (gst_pad_fixate_caps):
5845 Implement default fixation once again, so that gst_pad_fixate()
5846 actually does anything at all. This probably needs to be some
5847 sort of a last resort, and use profile-based fixation first, but
5848 since that doesn't exist yet, this is the best we have. Fixes
5849 visualization in Totem.
5851 2005-07-22 Wim Taymans <wim@fluendo.com>
5853 * docs/design/part-events.txt:
5856 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5857 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5858 (gst_base_sink_activate_pull):
5861 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5862 (gst_fake_src_create):
5863 Fix handoff marshall.
5865 * gst/elements/gstidentity.c: (gst_identity_class_init),
5866 (gst_identity_transform_ip):
5867 We're a real inplace element.
5869 * gst/gstbus.c: (gst_bus_post):
5870 Added some comments.
5872 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5873 * tests/muxing/case1.c: (main):
5874 * tests/sched/dynamic-pipeline.c: (main):
5875 * tests/sched/interrupt1.c: (main):
5876 * tests/sched/interrupt2.c: (main):
5877 * tests/sched/interrupt3.c: (main):
5878 * tests/sched/runxml.c: (main):
5879 * tests/sched/sched-stress.c: (main):
5880 * tests/seeking/seeking1.c: (event_received), (main):
5881 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5883 * tests/threadstate/threadstate3.c: (main):
5884 * tests/threadstate/threadstate4.c: (main):
5885 * tests/threadstate/threadstate5.c: (main):
5888 2005-07-21 Wim Taymans <wim@fluendo.com>
5890 * docs/design/part-seeking.txt:
5891 Some small additions.
5893 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5894 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5895 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5896 * gst/base/gstbasesink.h:
5897 discont values are gint64, handle the math correctly.
5899 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5900 Make the basesrc report error if the source pad is not linked.
5902 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5903 (gst_queue_loop), (gst_queue_handle_src_query),
5904 (gst_queue_src_activate_push):
5905 Make queue collect data even if the srcpad is not linked.
5906 Start pushing out data as soon as it is linked.
5908 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5910 Added gst_flow_get_name() to ease error reporting.
5912 2005-07-20 Wim Taymans <wim@fluendo.com>
5914 * gst/gstmessage.c: (gst_message_new_segment_start),
5915 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5916 (gst_message_parse_segment_done):
5918 Added a bunch of messages for advanced seeking.
5920 * gst/parse/grammar.y:
5921 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5922 (gst_dpman_state_changed):
5923 Fix some new-pad -> pad-added signals
5925 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5927 * docs/manual/appendix-porting.xml:
5928 * docs/pwg/appendix-porting.xml:
5929 Document new-pad/state-change signal renames and the FixedList
5932 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5934 * docs/manual/advanced-autoplugging.xml:
5935 * docs/manual/basics-helloworld.xml:
5936 * docs/manual/basics-pads.xml:
5937 * docs/random/ds/0.9-suggested-changes:
5938 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5943 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5944 (gst_structure_parse_array), (gst_structure_parse_value):
5945 * gst/gstvalue.c: (gst_type_is_fixed),
5946 (gst_value_list_prepend_value), (gst_value_list_append_value),
5947 (gst_value_list_get_size), (gst_value_list_get_value),
5948 (gst_value_transform_array_string), (gst_value_serialize_array),
5949 (gst_value_deserialize_array), (gst_value_intersect_array),
5950 (gst_value_is_fixed), (_gst_value_initialize):
5952 GstElement::new-pad -> pad-added, GstElement::state-change ->
5953 state-changed, GstValueFixedList -> GstValueArray, add format and
5954 flags as their own arguments in gst_element_seek() (should improve
5955 "bindeability"), remove function generators since they don't work
5956 under a whole bunch of compilers (they were deprecated already
5959 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5961 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5962 (_gst_debug_register_funcptr):
5964 Fix illegal cast on some platforms (#309253).
5966 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5968 * gst/gstmessage.c: (gst_message_new_custom):
5970 Add _new_custom, make _new_application a macro to _new_custom.
5972 2005-07-20 Wim Taymans <wim@fluendo.com>
5974 * gst/base/gstbasesrc.c: (gst_base_src_init),
5975 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5976 * gst/base/gstbasesrc.h:
5977 Add a gboolean to decide when to push out a discont.
5979 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5980 (gst_queue_loop), (gst_queue_handle_src_query),
5981 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5982 (gst_queue_set_property), (gst_queue_get_property):
5985 * tests/threadstate/threadstate1.c: (main):
5986 Make a thread test compile and run... very silly..
5989 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5991 * docs/manual/appendix-porting.xml:
5992 Mention removal of libgstgconf-0.9.la and existence of gconf
5995 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5997 * docs/pwg/advanced-clock.xml:
5998 * docs/pwg/appendix-porting.xml:
5999 * docs/pwg/intro-preface.xml:
6000 * docs/pwg/other-base.xml:
6001 * docs/pwg/other-manager.xml:
6002 * docs/pwg/other-nton.xml:
6003 * docs/pwg/other-ntoone.xml:
6004 * docs/pwg/other-oneton.xml:
6006 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6007 demuxer), remove n-to-n (was never written), fix some code examples
6008 and links and update the porting section to include all this.
6010 2005-07-19 Wim Taymans <wim@fluendo.com>
6012 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6013 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6014 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6015 (gst_queue_src_activate_push), (gst_queue_change_state),
6016 (gst_queue_get_property):
6018 Propagate GstFlowReturn more intelligently upstream and output
6019 an ERROR/EOS when streaming stopped due to fatal error.
6021 2005-07-19 Wim Taymans <wim@fluendo.com>
6023 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6024 Don't block forever for the state change to complete, the
6025 pipeline already did with a sensible timeout.
6027 2005-07-19 Wim Taymans <wim@fluendo.com>
6029 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6030 Make sure we never call the create function is we
6033 2005-07-19 Andy Wingo <wingo@pobox.com>
6035 * gst/parse/parse.l: Attempt to solve bug #172815.
6037 2005-07-19 Wim Taymans <wim@fluendo.com>
6039 * docs/design/part-clocks.txt:
6040 * docs/design/part-events.txt:
6041 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6043 Only update the seeking values when we are not
6046 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6048 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6049 Oops, ignore the result of gst_pad_push_event here.
6051 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6053 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6054 (gst_base_src_activate_push):
6055 Send discont event from the loop function, as pads
6056 aren't activated yet in the activate_push handler.
6058 * gst/gstbin.c: (bin_bus_handler):
6059 Don't leak element name.
6061 2005-07-18 Andy Wingo <wingo@pobox.com>
6063 * configure.ac: Use AS_LIBTOOL_TAGS.
6065 2005-07-18 Wim Taymans <wim@fluendo.com>
6067 * docs/gst/gstreamer.types:
6068 Remove deleted types.
6070 2005-07-18 Wim Taymans <wim@fluendo.com>
6072 * check/elements/gstfakesrc.c: (GST_START_TEST):
6075 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6076 (init_popt_callback):
6078 * gst/gst_private.h:
6079 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6080 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6083 * gst/gstconfig.h.in:
6084 * gst/gstelement.c: (gst_element_class_init),
6085 (gst_element_set_base_time), (gst_element_get_base_time),
6086 (iterator_fold_with_resync), (gst_element_change_state),
6087 (gst_element_dispose), (gst_element_get_bus):
6089 * gst/gstelementfactory.h:
6090 * gst/gsterror.c: (_gst_core_errors_init):
6093 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6095 * gst/gstinfo.c: (_gst_debug_init):
6096 * gst/gstmessage.c: (_gst_message_copy):
6098 * gst/gstminiobject.h:
6101 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6102 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6105 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6106 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6107 (gst_pipeline_get_last_stream_time):
6108 * gst/gstpipeline.h:
6109 * gst/gstpluginfeature.h:
6111 * gst/gstscheduler.c:
6112 * gst/gstscheduler.h:
6113 * gst/gststructure.h:
6114 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6115 (gst_task_finalize), (gst_task_func), (gst_task_create),
6116 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6117 (gst_task_stop), (gst_task_pause):
6119 * gst/gsttypefind.h:
6121 * gst/registries/gstlibxmlregistry.c: (load_feature),
6122 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6123 * gst/registries/gstxmlregistry.c:
6124 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6125 * gst/schedulers/threadscheduler.c:
6126 * libs/gst/control/dparammanager.h:
6127 * tools/gst-inspect.c: (print_element_list),
6128 (print_plugin_features), (print_element_features):
6129 * tools/gst-xmlinspect.c: (print_element_list),
6130 (print_plugin_info), (main):
6131 Removed plugable schedulers.
6132 Removed Scheduler/Manager from elements.
6133 Removed gsttypes.h, rearranged includes.
6134 Removed dependency pad<->element, element<>pipeline, and
6135 various others, fix includes.
6136 implement gst_pad_get_parent() with gst_object_get_parent()
6137 Make GstTask sefcontained.
6138 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6140 Fix endless loop in iterator_fold_with_resync.
6143 2005-07-18 Wim Taymans <wim@fluendo.com>
6149 2005-07-18 Wim Taymans <wim@fluendo.com>
6154 2005-07-18 Wim Taymans <wim@fluendo.com>
6160 2005-07-18 Wim Taymans <wim@fluendo.com>
6162 * docs/design/part-dynamic.txt:
6163 * docs/design/part-events.txt:
6164 * docs/design/part-seeking.txt:
6165 Some more docs in the works.
6167 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6168 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6169 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6170 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6171 (gst_base_transform_handle_buffer),
6172 (gst_base_transform_sink_activate_push),
6173 (gst_base_transform_src_activate_pull),
6174 (gst_base_transform_set_passthrough),
6175 (gst_base_transform_is_passthrough):
6178 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6181 * gst/gstevent.c: (gst_event_finalize):
6184 * gst/gstutils.c: (gst_element_unlink),
6185 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6186 (gst_pad_proxy_setcaps):
6188 Add _get_parent_element() to get a pads parent as an element.
6190 2005-07-18 Wim Taymans <wim@fluendo.com>
6192 * check/gst/gstbin.c: (GST_START_TEST):
6195 2005-07-18 Wim Taymans <wim@fluendo.com>
6197 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6198 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6199 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6200 (gst_base_sink_event), (gst_base_sink_do_sync),
6201 (gst_base_sink_chain), (gst_base_sink_loop),
6202 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6203 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6205 Fix logic for returning ASYNC when not prerolled.
6207 2005-07-18 Wim Taymans <wim@fluendo.com>
6209 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6210 Fix nasty refcount bug.
6212 2005-07-16 Philippe Khalaf <burger@speedy.org>
6214 * gst/elements/gstfdsrc.c:
6215 * gst/elements/gstfdsrc.h:
6216 * gst/elements/gstelements.c:
6217 * gst/elements/Makefile.am:
6218 Ported fdsrc to 0.9.
6220 2005-07-16 Wim Taymans <wim@fluendo.com>
6222 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6223 (gst_base_sink_do_sync):
6226 2005-07-16 Wim Taymans <wim@fluendo.com>
6228 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6229 (gst_base_sink_event), (gst_base_sink_get_times),
6230 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6231 * gst/base/gstbasesink.h:
6232 Store and use discont values when syncing buffers as described
6235 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6236 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6237 (gst_base_src_activate_push):
6238 Push discont event when starting.
6240 * gst/elements/gstidentity.c: (gst_identity_transform):
6243 * gst/gstbin.c: (gst_bin_change_state):
6244 Small cleanups in base_time distribution.
6246 * gst/gstelement.c: (gst_element_set_base_time),
6247 (gst_element_get_base_time), (gst_element_change_state):
6249 Added methods for the base_time of the element.
6252 * gst/gstpipeline.c: (gst_pipeline_send_event),
6253 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6254 (gst_pipeline_get_last_stream_time):
6255 * gst/gstpipeline.h:
6257 Handle seeking as described in design doc, remove stream_time
6259 Cleanups clock and stream_time selection code. Added accessors
6260 for the stream_time.
6263 2005-07-16 Andy Wingo <wingo@pobox.com>
6265 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6268 2005-07-16 Wim Taymans <wim@fluendo.com>
6270 * check/gst/gstbin.c: (GST_START_TEST):
6271 Make elements silent as the deep_notify refs the
6272 parent, which might make the test fail.
6274 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6275 Don't hold the lock for too long.
6277 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6279 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6280 Don't unref the caps we passed to gst_caps_make_writable() after
6281 passing them. gst_caps_make_writable() will do that for us.
6283 2005-07-15 Andy Wingo <wingo@pobox.com>
6285 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6288 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6289 own marshalling function for the handoff signal. Properly type the
6290 buffer as a buffer. Fixes some warnings. Should do a more general
6292 (gst_identity_class_init): Plug into the right marshaller.
6294 2005-07-15 Wim Taymans <wim@fluendo.com>
6296 * docs/design/part-TODO.txt:
6297 * docs/design/part-clocks.txt:
6298 * docs/design/part-element-sink.txt:
6299 * docs/design/part-events.txt:
6300 * docs/design/part-gstpipeline.txt:
6301 Updated docs, mostly DISCONT related.
6303 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6305 * docs/pwg/building-pads.xml:
6306 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6308 2005-07-15 Andy Wingo <wingo@pobox.com>
6310 * tools/gst-typefind.c: Update, add copyright block.
6312 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6313 Normalize and truncate caps before fixation.
6316 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6317 discards all but the first structure from its argument.
6319 2005-07-15 Wim Taymans <wim@fluendo.com>
6321 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6322 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6323 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6324 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6325 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6326 (gst_base_transform_chain), (gst_base_transform_change_state),
6327 (gst_base_transform_set_passthrough),
6328 (gst_base_transform_is_passthrough):
6329 * gst/base/gstbasetransform.h:
6330 Make passthrough work using the bufferpools.
6331 Changed API a bit, subclasses have to write into a buffer
6332 provided by the base class.
6333 More debug info in nego functions.
6335 * gst/elements/gstidentity.c: (gst_identity_init),
6336 (gst_identity_transform):
6337 Port to new base class.
6339 2005-07-15 Wim Taymans <wim@fluendo.com>
6341 * gst/gstmessage.c: (gst_message_new_state_changed):
6342 * tools/gst-launch.c: (event_loop), (main):
6343 Totally dump messages in -launch with the -m option.
6344 Fix message name for State messages,
6346 2005-07-14 Wim Taymans <wim@fluendo.com>
6348 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6349 Post error messages on errors.
6351 2005-07-14 Wim Taymans <wim@fluendo.com>
6353 * gst/gstcaps.c: (gst_caps_do_simplify):
6357 Define error for stream stopped.
6359 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6360 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6361 Do proper return values.
6363 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6364 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6365 (gst_pad_get_range):
6366 Better return values.
6369 Reorganise return values, add macro to check for fatal errors.
6371 * gst/gstqueue.c: (gst_queue_chain):
6372 Return proper GstFlowReturn values,
6374 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6376 * docs/gst/gstreamer-sections.txt:
6377 * docs/gst/gstreamer.types:
6378 * docs/gst/tmpl/gst.sgml:
6379 * docs/gst/tmpl/gstbasesink.sgml:
6380 * docs/gst/tmpl/gstbasesrc.sgml:
6381 * docs/gst/tmpl/gstbasetransform.sgml:
6382 * docs/gst/tmpl/gstbin.sgml:
6383 * docs/gst/tmpl/gstbuffer.sgml:
6384 * docs/gst/tmpl/gstcaps.sgml:
6385 * docs/gst/tmpl/gstclock.sgml:
6386 * docs/gst/tmpl/gstcompat.sgml:
6387 * docs/gst/tmpl/gstconfig.sgml:
6388 * docs/gst/tmpl/gstelement.sgml:
6389 * docs/gst/tmpl/gstelementdetails.sgml:
6390 * docs/gst/tmpl/gstelementfactory.sgml:
6391 * docs/gst/tmpl/gstenumtypes.sgml:
6392 * docs/gst/tmpl/gsterror.sgml:
6393 * docs/gst/tmpl/gstevent.sgml:
6394 * docs/gst/tmpl/gstfakesink.sgml:
6395 * docs/gst/tmpl/gstfakesrc.sgml:
6396 * docs/gst/tmpl/gstfilesink.sgml:
6397 * docs/gst/tmpl/gstfilesrc.sgml:
6398 * docs/gst/tmpl/gstfilter.sgml:
6399 * docs/gst/tmpl/gstformat.sgml:
6400 * docs/gst/tmpl/gstghostpad.sgml:
6401 * docs/gst/tmpl/gstimplementsinterface.sgml:
6402 * docs/gst/tmpl/gstindex.sgml:
6403 * docs/gst/tmpl/gstindexfactory.sgml:
6404 * docs/gst/tmpl/gstinfo.sgml:
6405 * docs/gst/tmpl/gstiterator.sgml:
6406 * docs/gst/tmpl/gstmacros.sgml:
6407 * docs/gst/tmpl/gstmemchunk.sgml:
6408 * docs/gst/tmpl/gstminiobject.sgml:
6409 * docs/gst/tmpl/gstobject.sgml:
6410 * docs/gst/tmpl/gstpad.sgml:
6411 * docs/gst/tmpl/gstpadtemplate.sgml:
6412 * docs/gst/tmpl/gstparse.sgml:
6413 * docs/gst/tmpl/gstpipeline.sgml:
6414 * docs/gst/tmpl/gstplugin.sgml:
6415 * docs/gst/tmpl/gstpluginfeature.sgml:
6416 * docs/gst/tmpl/gstquery.sgml:
6417 * docs/gst/tmpl/gstqueue.sgml:
6418 * docs/gst/tmpl/gstregistry.sgml:
6419 * docs/gst/tmpl/gstregistrypool.sgml:
6420 * docs/gst/tmpl/gstscheduler.sgml:
6421 * docs/gst/tmpl/gstschedulerfactory.sgml:
6422 * docs/gst/tmpl/gststructure.sgml:
6423 * docs/gst/tmpl/gstsystemclock.sgml:
6424 * docs/gst/tmpl/gsttaglist.sgml:
6425 * docs/gst/tmpl/gsttagsetter.sgml:
6426 * docs/gst/tmpl/gsttrace.sgml:
6427 * docs/gst/tmpl/gsttrashstack.sgml:
6428 * docs/gst/tmpl/gsttypefind.sgml:
6429 * docs/gst/tmpl/gsttypefindfactory.sgml:
6430 * docs/gst/tmpl/gsttypes.sgml:
6431 * docs/gst/tmpl/gsturihandler.sgml:
6432 * docs/gst/tmpl/gsturitype.sgml:
6433 * docs/gst/tmpl/gstutils.sgml:
6434 * docs/gst/tmpl/gstvalue.sgml:
6435 * docs/gst/tmpl/gstversion.sgml:
6436 * docs/gst/tmpl/gstxml.sgml:
6437 * docs/libs/tmpl/gstcontrol.sgml:
6438 * docs/libs/tmpl/gstdataprotocol.sgml:
6439 * docs/libs/tmpl/gstdparam.sgml:
6440 * docs/libs/tmpl/gstdplinint.sgml:
6441 * docs/libs/tmpl/gstdpman.sgml:
6442 * docs/libs/tmpl/gstdpsmooth.sgml:
6443 * docs/libs/tmpl/gstgetbits.sgml:
6444 * docs/libs/tmpl/gstunitconvert.sgml:
6445 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6446 (gst_push_src_base_init), (gst_push_src_class_init),
6447 (gst_push_src_init), (gst_push_src_create):
6448 * gst/base/gstpushsrc.h:
6449 * gst/elements/gstelements.c:
6450 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6451 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6452 (gst_fake_sink_init), (gst_fake_sink_set_property),
6453 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6454 (gst_fake_sink_event), (gst_fake_sink_preroll),
6455 (gst_fake_sink_render), (gst_fake_sink_change_state):
6456 * gst/elements/gstfakesink.h:
6457 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6458 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6459 (gst_fake_src_base_init), (gst_fake_src_class_init),
6460 (gst_fake_src_init), (gst_fake_src_event_handler),
6461 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6462 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6463 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6464 (gst_fake_src_create_buffer), (gst_fake_src_create),
6465 (gst_fake_src_start), (gst_fake_src_stop):
6466 * gst/elements/gstfakesrc.h:
6467 * gst/elements/gstfilesink.c: (_do_init),
6468 (gst_file_sink_base_init), (gst_file_sink_class_init),
6469 (gst_file_sink_init), (gst_file_sink_dispose),
6470 (gst_file_sink_set_location), (gst_file_sink_set_property),
6471 (gst_file_sink_get_property), (gst_file_sink_open_file),
6472 (gst_file_sink_close_file), (gst_file_sink_query),
6473 (gst_file_sink_event), (gst_file_sink_render),
6474 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6475 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6476 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6477 * gst/elements/gstfilesink.h:
6478 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6479 (gst_file_src_class_init), (gst_file_src_init),
6480 (gst_file_src_finalize), (gst_file_src_set_location),
6481 (gst_file_src_set_property), (gst_file_src_get_property),
6482 (gst_file_src_map_region), (gst_file_src_map_small_region),
6483 (gst_file_src_create_mmap), (gst_file_src_create_read),
6484 (gst_file_src_create), (gst_file_src_is_seekable),
6485 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6486 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6487 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6488 (gst_file_src_uri_handler_init):
6489 * gst/elements/gstfilesrc.h:
6490 more autistic cleanliness in functions/names/defines
6492 2005-07-13 Andy Wingo <wingo@pobox.com>
6494 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6495 source couldn't negotiate.
6497 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6501 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6502 function. I am channeling Hades. Put your boots on suckers!!!
6504 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6506 * testsuite/caps/Makefile.am:
6507 * testsuite/caps/value_compare.c:
6508 * testsuite/caps/value_intersect.c:
6509 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6510 move two testsuite apps over to the check dir
6512 2005-07-12 Wim Taymans <wim@fluendo.com>
6514 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6515 Added more debug info in the negotiate process.
6518 Prepare for segment playback.
6520 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6526 * tools/gst-launch.c: (main):
6527 NULL pipeline on errors.
6529 2005-07-12 Andy Wingo <wingo@pobox.com>
6531 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6532 not it comes from a malloc region. Make sure our copy gets freed.
6534 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6536 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6537 * check/gst/gstmessage.c: (GST_START_TEST):
6538 * check/gst/gststructure.c: (GST_START_TEST),
6539 (gst_structure_suite), (main):
6541 * gst/gstelement.c: (gst_element_message_full):
6542 clean up GError and debug string now that they get copied
6543 * gst/gstmessage.c: (gst_message_new_error),
6544 (gst_message_new_warning), (gst_message_parse_error),
6545 (gst_message_parse_warning):
6546 use GST_TYPE_G_ERROR for structure_new, and take copies of
6547 arguments, so that we don't mess up refcounting
6549 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6551 * check/Makefile.am:
6552 add per-test valgrind targets
6553 * check/gst-libs/gdp.c: (GST_START_TEST),
6554 (gst_data_protocol_suite), (main):
6557 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6559 * check/Makefile.am:
6560 instate more valgrindable tests
6561 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6562 (GST_START_TEST), (fakesrc_suite):
6563 * check/gst/gstpad.c: (GST_START_TEST):
6564 * check/gst/gststructure.c: (GST_START_TEST):
6566 * docs/gst/tmpl/gstminiobject.sgml:
6567 * gst/gstpad.c: (gst_pad_finalize):
6568 fix the static mutex leak
6570 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6572 * check/Makefile.am:
6573 add two more tests for valgrinding
6574 * check/gst/gstvalue.c: (GST_START_TEST):
6575 test refcount of deserialized buffer, found a leak
6576 * docs/gst/gstreamer-docs.sgml:
6577 * docs/gst/gstreamer-sections.txt:
6578 * docs/gst/gstreamer.types:
6579 * docs/gst/tmpl/gstminiobject.sgml:
6580 add miniobject to docs
6581 * gst/gstminiobject.c:
6583 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6584 (gst_string_unwrap):
6585 fix a hard-to-find invalid write for one of the tests
6586 fix a leak for deserialized buffers
6588 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6590 * docs/pwg/advanced-events.xml:
6591 * docs/pwg/advanced-request.xml:
6592 * docs/pwg/advanced-scheduling.xml:
6593 * docs/pwg/appendix-porting.xml:
6594 * docs/pwg/building-boiler.xml:
6595 * docs/pwg/intro-preface.xml:
6596 * docs/pwg/other-ntoone.xml:
6597 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6598 of example code and explanation for pad activation, loop() and
6599 getrange() functions and a bit more. Remove old comments pointing
6601 * examples/pwg/Makefile.am:
6602 Add loop/getrange examples.
6604 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6607 check for valgrind binary + some fixes
6609 valgrind suppressions for the tests
6610 * check/Makefile.am:
6611 add a valgrind: target that valgrinds the unit tests
6612 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6613 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6614 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6615 * check/gst/gstghostpad.c:
6617 * check/gst/gstdata.c:
6619 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6620 (thread_unref), (gst_mini_object_suite), (main):
6622 * gst/gst.c: (gst_deinit):
6624 add a method to clean up.
6625 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6626 (gst_system_clock_obtain):
6627 allow for disposing the system clock.
6628 * tools/gst-launch.c: (main):
6631 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6633 * docs/gst/tmpl/gstbasesrc.sgml:
6634 * docs/gst/tmpl/gstfakesrc.sgml:
6635 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6636 (gst_base_src_init), (gst_base_src_set_property),
6637 (gst_base_src_get_property), (gst_base_src_get_range),
6638 (gst_base_src_start):
6639 * gst/base/gstbasesrc.h:
6640 add num-buffers property
6641 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6642 (gst_fakesrc_init), (gst_fakesrc_set_property),
6643 (gst_fakesrc_get_property), (gst_fakesrc_create),
6644 (gst_fakesrc_start):
6645 remove num-buffers property
6647 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6649 * docs/gst/gstreamer-sections.txt:
6650 * docs/gst/tmpl/gstbasesink.sgml:
6651 * docs/gst/tmpl/gstbasesrc.sgml:
6652 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6653 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6654 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6655 (gst_base_sink_set_property), (gst_base_sink_get_property),
6656 (gst_base_sink_handle_object), (gst_base_sink_event),
6657 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6658 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6659 (gst_base_sink_loop), (gst_base_sink_deactivate),
6660 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6661 (gst_base_sink_change_state):
6662 * gst/base/gstbasesink.h:
6663 * gst/base/gstbasesrc.h:
6664 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6665 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6666 (gst_filesink_init):
6667 more macro splitting
6669 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6671 * gst/gstelement.c: (gst_element_get_bus):
6673 * tools/gst-launch.c: (check_intr), (event_loop):
6676 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6678 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6681 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6683 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6684 (gst_base_src_finalize):
6685 add finalize method and clean up properly
6686 * gst/gstpipeline.c: (gst_pipeline_dispose):
6689 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6691 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6693 add more things to check
6694 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6698 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6700 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6701 (GST_START_TEST), (fakesrc_suite):
6702 * check/gst-libs/gdp.c: (GST_START_TEST):
6703 * check/gst/gst.c: (GST_START_TEST):
6704 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6705 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6706 * check/gst/gstbus.c: (GST_START_TEST):
6707 * check/gst/gstcaps.c: (GST_START_TEST):
6708 * check/gst/gstdata.c: (GST_START_TEST):
6709 * check/gst/gstelement.c: (GST_START_TEST):
6710 * check/gst/gstghostpad.c: (GST_START_TEST):
6711 * check/gst/gstiterator.c: (GST_START_TEST):
6712 * check/gst/gstmessage.c: (GST_START_TEST):
6713 * check/gst/gstobject.c: (GST_START_TEST):
6714 * check/gst/gstpad.c: (GST_START_TEST):
6715 * check/gst/gststructure.c: (GST_START_TEST):
6716 * check/gst/gstsystemclock.c: (GST_START_TEST),
6717 (gst_systemclock_suite):
6718 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6719 * check/gst/gstvalue.c: (GST_START_TEST):
6720 * check/pipelines/cleanup.c: (GST_START_TEST):
6721 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6722 * check/states/sinks.c: (GST_START_TEST):
6723 * check/gstcheck.c: (gst_check_init):
6725 add debugging category
6726 use GST_START_TEST now, so we add a debug line
6728 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6730 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6731 add test for state change message on a bin
6732 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6734 * gst/gstbin.c: (gst_bin_init):
6735 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6736 * gst/gstelement.c: (gst_element_post_message),
6737 (gst_element_set_state):
6738 * gst/gstelementfactory.c: (gst_element_factory_create):
6739 * gst/gstmessage.c: (gst_message_new):
6740 * gst/gstscheduler.c:
6741 various debugging additions and cleanups
6743 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6745 * check/Makefile.am:
6746 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6748 adding tests for elements
6749 * gst/gstelement.c: (gst_element_dispose):
6751 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6753 * gst/registries/gstlibxmlregistry.c: (load_feature):
6754 plug more leaks. A simple gst_init() now is leakfree, yay.
6756 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6758 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6759 (gst_xml_registry_load):
6760 plug another memleak
6762 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6765 use GST_SET_ERROR_CFLAGS
6767 change to ERROR_CFLAGS
6769 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6772 make GST_ERROR_CFLAGS overridable and re-enable Werror
6774 add a note about error CFLAGS
6775 * docs/gst/tmpl/gstfakesrc.sgml:
6776 * gst/elements/gstfakesrc.c:
6777 comment out some unused code
6778 * gst/gst.c: (split_and_iterate):
6779 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6783 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6785 * common/Makefile.am:
6786 * common/gtk-doc.mak:
6787 * docs/gst/Makefile.am:
6788 factor out gtk-doc.mak
6790 2005-07-07 Wim Taymans <wim@fluendo.com>
6792 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6793 (gst_thread_scheduler_dispose):
6794 Unlock the STREAM_LOCK completely.
6796 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6798 * check/Makefile.am:
6799 * check/elements/.cvsignore:
6800 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6801 (START_TEST), (fakesrc_suite), (main):
6802 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6803 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6804 (gst_fakesrc_create), (gst_fakesrc_start):
6805 * gst/elements/gstfakesrc.h:
6806 adding a first element test
6808 2005-07-07 Andy Wingo <wingo@pobox.com>
6810 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6813 2005-07-07 Wim Taymans <wim@fluendo.com>
6819 2005-07-07 Wim Taymans <wim@fluendo.com>
6821 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6822 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6823 Allow subclasses to implement their own negotiation.
6825 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6827 * docs/design/part-gstbin.txt:
6828 * docs/design/part-gstpipeline.txt:
6829 Update design notes to reflect the movement of
6830 responsibility for bus handling from GstPipeline to
6833 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6836 Remove unnecessary queue2/3/4 examples.
6838 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6840 * examples/Makefile.am:
6841 * examples/helloworld/helloworld.c: (event_loop), (main):
6842 * examples/queue/queue.c: (event_loop), (main):
6843 * examples/queue2/queue2.c: (main):
6844 Update a couple of the examples to work again.
6846 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6847 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6848 Spelling corrections and extra debug.
6850 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6851 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6852 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6854 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6855 (gst_pipeline_change_state):
6856 * gst/gstpipeline.h:
6857 Move the bus handler for children to the GstBin, and create a
6858 separate bus for receiving messages from children to the one the
6859 bus sends 'upwards' on.
6861 2005-07-06 Wim Taymans <wim@fluendo.com>
6864 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6865 (gst_base_sink_handle_object), (gst_base_sink_loop),
6866 (gst_base_sink_change_state):
6867 * gst/base/gstbasesink.h:
6868 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6869 (gst_base_src_init), (gst_base_src_setcaps),
6870 (gst_base_src_getcaps), (gst_base_src_loop),
6871 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6872 (gst_base_src_start), (gst_base_src_change_state):
6873 * gst/base/gstbasesrc.h:
6874 Make basesrc negotiate.
6875 Handle the case where preroll fails in basesink.
6878 2005-07-06 Wim Taymans <wim@fluendo.com>
6880 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6881 Implement the fixate function.
6882 Clean up acceptcaps.
6884 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6886 * docs/pwg/building-filterfactory.xml:
6888 Remove never-written filter-factory chapter; I'll add the various
6889 base classes to part 4 ("other element types") later on.
6891 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6893 * docs/pwg/advanced-negotiation.xml:
6894 * docs/pwg/building-boiler.xml:
6895 * docs/pwg/building-pads.xml:
6897 * examples/pwg/Makefile.am:
6898 Add a chapter on caps negotiation, simplify the original code
6899 samples a bit w.r.t. caps negotiation, add link to the advanced
6900 section. Add a bunch of examples showing different use cases of
6901 different types of caps negotiation. Upstream renegotiation isn't
6902 fully documented yet since nobody knows how that works.
6904 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6906 * check/gst/gstpad.c:
6908 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6909 if pad has no parent, return NULL as list of internal links
6911 2005-07-05 Andy Wingo <wingo@pobox.com>
6913 * gst/elements/gstfilesrc.c:
6914 * gst/elements/gstfakesrc.c:
6915 * gst/base/gstpushsrc.c:
6916 * gst/base/gstbasesrc.h:
6917 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6919 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6922 better report generation target (lcov needs a patch)
6924 2005-07-05 Andy Wingo <wingo@pobox.com>
6926 * gst/elements, testsuite: Null if we got it...
6928 2005-07-05 Wim Taymans <wim@fluendo.com>
6931 * libs/gst/dataprotocol/Makefile.am:
6932 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6933 * libs/gst/dataprotocol/dataprotocol.h:
6934 * pkgconfig/Makefile.am:
6935 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6936 * pkgconfig/gstreamer-dataprotocol.pc.in:
6937 Ported dataprotol to 0.9.
6938 Added pkgconfig files.
6940 2005-07-05 Andy Wingo <wingo@pobox.com>
6942 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6943 Default to returning TRUE for the case when tranform_caps returns
6944 a fixed caps, like for identity or volume.
6946 * check/gst/gstbus.c (pound_bus_with_messages):
6947 * check/gst/gstmessage.c (START_TEST):
6948 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6951 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6952 logic weaks here: always run transform_caps, trying passthrough
6953 operation only if the original caps intersects with the transform.
6955 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6956 source and sink caps.
6958 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6959 Intersect the peer caps with the pad template before going into
6961 (gst_base_transform_transform_caps): More debugging.
6963 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6966 2005-07-04 Edward Hervey <edward@fluendo.com>
6970 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6973 2005-07-04 Andy Wingo <wingo@pobox.com>
6975 * check/gst/gstpad.c: Only set explicit caps on pads.
6977 2005-07-01 Andy Wingo <wingo@pobox.com>
6979 * tests/network-clock.scm: Commentary update.
6981 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6982 Didn't really make sense, not implementable with basetransform,
6984 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6985 attempt at implementing the sync property, needs an unlock method.
6987 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6988 New func, by default returns the same caps (the identity
6990 (gst_base_transform_getcaps): Uses transform_caps to return
6992 (gst_base_transform_setcaps): Complicated logic to get caps on
6993 both pads, even if they are different, and to call set_caps once
6994 for every time both pads get their caps set.
6995 (gst_base_transform_handle_buffer): Give the ref to the transform
6996 function. Allows in-place modification of the buffer.
6998 * gst/base/gstbasetransform.h (transform_caps): New class method.
6999 Given caps on one side, what can I do on the other.
7000 (set_caps): Take two caps, one for each side of the element.
7003 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7004 caps in place. This is safe because we can check the mutability of
7005 the caps, and a good idea because fixate functions are just called
7006 as a matter of last resort. (Not actually implemented.)
7007 (gst_pad_set_caps): If the caps we're setting is actually the same
7008 as the existing pad caps, just update the pointer without calling
7009 setcaps. Assert that caps is either NULL or fixed, as per the
7012 * gst/gstghostpad.c: Update for fixate changes.
7014 2005-07-02 Andy Wingo <wingo@pobox.com>
7017 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7018 two refcounts makes it immutable, which is enough. Doc more.
7020 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7022 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7023 Put the mini_object into GValue as a mini_object,
7024 not a gpointer, since that's how we declared
7027 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7029 * examples/pwg/Makefile.am:
7032 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7034 * docs/pwg/building-testapp.xml:
7036 * examples/pwg/Makefile.am:
7039 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7042 * examples/Makefile.am:
7043 * examples/pwg/Makefile.am:
7044 * examples/pwg/extract.pl:
7045 Enable building the PWG examples.
7046 * docs/pwg/advanced-interfaces.xml:
7047 Add URI interface stub.
7048 * docs/pwg/advanced-types.xml:
7049 * docs/pwg/other-autoplugger.xml:
7050 * docs/pwg/appendix-porting.xml:
7052 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7053 * docs/pwg/building-boiler.xml:
7054 * docs/pwg/building-chainfn.xml:
7055 * docs/pwg/building-pads.xml:
7056 * docs/pwg/building-props.xml:
7057 * docs/pwg/building-state.xml:
7058 * docs/pwg/building-testapp.xml:
7059 Update the building-*.xml parts for 0.9 changes. All examples
7060 code blocks compile in examples/pwg/*.
7062 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7064 * docs/manual/advanced-autoplugging.xml:
7065 * docs/manual/appendix-checklist.xml:
7066 * docs/manual/appendix-integration.xml:
7067 * docs/manual/highlevel-components.xml:
7068 Fix playbin/decodebin examples, update docs a bit, mention bus
7069 instead of signals in various places, mention kmplayer and
7070 kaffeine since they have a working GStreamer backend in the KDE
7073 2005-06-30 Wim Taymans <wim@fluendo.com>
7076 * docs/design/draft-ghostpads.txt:
7077 * docs/design/draft-push-pull.txt:
7078 * docs/design/draft-query.txt:
7079 * docs/design/part-TODO.txt:
7080 * docs/design/part-query.txt:
7081 Added CHANGES-0.9 doc, updated status of other docs.
7086 2005-06-30 Wim Taymans <wim@fluendo.com>
7088 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7089 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7090 (gst_base_sink_change_state):
7091 * gst/base/gstbasesink.h:
7092 Some tweaks, only EOS and a buffer complete a preroll.
7094 2005-06-30 Andy Wingo <wingo@pobox.com>
7096 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7097 activate_push down to the internal pad as well.
7099 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7101 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7103 * gst/gsttaginterface.c:
7104 Some documentation fixes (#307394 and #307397).
7106 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7108 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7110 * gst/gstvalue.c: (gst_value_intersect_list):
7111 Fix memleak (#309125).
7113 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7115 * docs/manual/advanced-dataaccess.xml:
7116 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7117 * docs/manual/basics-pads.xml:
7118 Add reference for filtered caps to above chapter.
7120 2005-06-30 Wim Taymans <wim@fluendo.com>
7122 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7123 (gst_bin_change_state):
7125 Lame attempt at making the state change function a bit
7128 2005-06-30 Wim Taymans <wim@fluendo.com>
7130 * docs/design/part-clocks.txt:
7131 * docs/design/part-element-sink.txt:
7132 * docs/design/part-events.txt:
7133 * docs/design/part-preroll.txt:
7134 * docs/design/part-states.txt:
7135 Some more tweeks and additions to the docs.
7137 2005-06-30 Wim Taymans <wim@fluendo.com>
7139 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7140 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7141 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7142 (gst_pad_check_pull_range), (gst_pad_get_range),
7143 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7145 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7146 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7147 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7148 (gst_pad_remove_buffer_probe):
7149 Removed atomic operations, use existing LOCK.
7150 Move exception handling out of main code path.
7152 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7154 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7155 (silly_return_true_function), (gst_pad_class_init),
7156 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7157 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7158 (gst_pad_send_event):
7159 Fix accumulator, add default value by using _emitv() instead
7160 of _emit() for signal emission.
7162 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7164 * docs/manual/advanced-dataaccess.xml:
7165 * examples/manual/Makefile.am:
7167 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7170 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7172 * gst/elements/gstfilesink.c: (gst_filesink_render):
7173 Simplify code so that we don't have to handle short
7174 writes and return GST_FLOW_ERROR if an error occured.
7176 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7178 * docs/gst/gstreamer-docs.sgml:
7181 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7183 * docs/gst/gstreamer-sections.txt:
7184 * docs/gst/tmpl/gstpad.sgml:
7185 * docs/gst/tmpl/gstprobe.sgml:
7187 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7188 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7189 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7190 (gst_pad_push_event), (gst_pad_send_event):
7192 * gst/gstutils.c: (gst_pad_add_data_probe),
7193 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7194 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7195 (gst_pad_remove_buffer_probe):
7197 Remove old probes, add new g-signal-based probes and some utility
7200 2005-06-29 Edward Hervey <edward@fluendo.com>
7202 * gst/gstelementfactory.c:
7205 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7206 the definition to the header file.
7208 2005-06-29 Andy Wingo <wingo@pobox.com>
7210 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7211 plugins from the source directory.
7213 2005-06-29 Wim Taymans <wim@fluendo.com>
7215 * docs/gst/tmpl/gstbuffer.sgml:
7216 * docs/gst/tmpl/gstclock.sgml:
7217 Some fixings for blantently wrong text.
7219 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7221 * check/Makefile.am:
7222 * gst/gst.c: (add_path_func), (init_pre):
7223 * gst/gstregistry.c: (gst_registry_add_path):
7224 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7225 only scan the GST_PLUGIN_PATH locations, and not add
7228 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7230 * docs/gst/gstreamer-sections.txt:
7231 * docs/gst/tmpl/gstbasesrc.sgml:
7238 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7240 * docs/manual/advanced-autoplugging.xml:
7241 Fix autoplugging example.
7243 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7245 * docs/manual/advanced-autoplugging.xml:
7246 * docs/manual/mime-world.fig:
7247 Try to get autoplugging working, fix type detection. Fix text
7248 in hello-world image.
7250 2005-06-29 Wim Taymans <wim@fluendo.com>
7252 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7253 (gst_base_sink_change_state):
7257 map SIGNAL and BROADCAST to the right function.
7260 Remove redundant braces.
7262 * gst/gstpad.c: (gst_pad_set_caps):
7263 Don't call setcaps function when reseting caps to NULL.
7265 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7266 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7267 (gst_system_clock_id_unschedule):
7268 Use BROADCAST as this is what we do.
7270 2005-06-29 Wim Taymans <wim@fluendo.com>
7272 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7273 We are actually prerolling before commiting the state
7276 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7278 * docs/manual/advanced-clocks.xml:
7279 * docs/manual/advanced-interfaces.xml:
7280 * docs/manual/advanced-metadata.xml:
7281 * docs/manual/advanced-position.xml:
7282 * docs/manual/advanced-schedulers.xml:
7283 * docs/manual/advanced-threads.xml:
7284 * docs/manual/appendix-porting.xml:
7285 * docs/manual/basics-bins.xml:
7286 * docs/manual/basics-bus.xml:
7287 * docs/manual/basics-elements.xml:
7288 * docs/manual/basics-helloworld.xml:
7289 * docs/manual/basics-pads.xml:
7290 * docs/manual/highlevel-components.xml:
7291 * docs/manual/manual.xml:
7292 * docs/manual/thread.fig:
7293 Update (until threads/scheduling) Application Development Manual;
7294 remove GstThread, add GstBus, add simple porting checklist, add
7295 documentation for tag writing, clocks, make all examples until this
7296 part compile and run.
7297 * examples/manual/Makefile.am:
7298 Update from changes to Application Development Manual; add bus
7299 example, remove thread example.
7301 2005-06-28 Wim Taymans <wim@fluendo.com>
7303 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7304 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7305 (gst_bus_source_dispatch):
7306 Add debugging messages.
7307 Make internal methods static.
7308 Handle the case where the bus is flushed in the handler.
7310 * gst/gstelement.c: (gst_element_get_bus):
7311 Fix refcount in _get_bus();
7313 * gst/gstpipeline.c: (gst_pipeline_change_state),
7314 (gst_pipeline_get_clock_func):
7315 Clock refcounting fixes.
7316 Handle the case where preroll timed out more gracefully.
7318 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7319 Clean up the internal thread in dispose. This is needed
7320 for subclasses that actually get disposed.
7322 * gst/schedulers/threadscheduler.c:
7323 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7324 (gst_thread_scheduler_dispose):
7325 Free thread pool in dispose.
7327 2005-06-28 Andy Wingo <wingo@pobox.com>
7329 * tests/network-clock-utils.scm (debug, print-event): New utils.
7331 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7332 (*packet-loss*): Unified loss probability.
7333 (network-time): Report out-of-band events.
7335 * tests/plot-data: Add support for out-of-band events. Hack it
7336 into this script instead of passing it down the pipe; should fix
7339 2005-06-28 Wim Taymans <wim@fluendo.com>
7341 * docs/gst/gstreamer.types:
7342 * docs/gst/tmpl/gstbasesrc.sgml:
7343 * docs/gst/tmpl/gstpad.sgml:
7346 2005-06-28 Wim Taymans <wim@fluendo.com>
7348 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7349 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7350 (gst_proxy_pad_do_fixatecaps):
7351 Correctly proxy the check_pull_range function.
7353 2005-06-28 Andy Wingo <wingo@pobox.com>
7355 * tests/network-clock.scm: Removed need for slib.
7357 2005-06-28 Wim Taymans <wim@fluendo.com>
7359 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7360 (gst_basesink_preroll_queue_flush):
7361 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7362 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7363 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7364 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7365 (gst_proxy_pad_set_property):
7368 * gst/gstqueue.c: (gst_queue_init):
7369 The deprecated pad loop function is removed now.
7371 2005-06-28 Andy Wingo <wingo@pobox.com>
7373 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7374 New parameters, simulate network packet loss.
7376 * tests/network-clock-utils.scm: Initialize the RNG.
7378 2005-06-28 Wim Taymans <wim@fluendo.com>
7380 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7381 (gst_basesink_event), (gst_basesink_deactivate):
7382 Flushing the preroll queue always needs to unlock the waiters.
7384 2005-06-28 Edward Hervey <edward@fluendo.com>
7386 * gst/gstpipeline.c: (gst_pipeline_send_event):
7387 Wheen a seek was successful on a pipeline, set the stream_time to the
7388 seek offset in order to have a synchronized stream_time.
7390 2005-06-28 Wim Taymans <wim@fluendo.com>
7392 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7393 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7394 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7395 (gst_proxy_pad_do_fixatecaps):
7396 Call wrapper function instead of just calling the function
7397 pointers. This takes care of any locking and whatmore.
7399 2005-06-28 Wim Taymans <wim@fluendo.com>
7401 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7402 (gst_pad_pull_range):
7404 CONNECTED -> LINKED.
7406 2005-06-28 Andy Wingo <wingo@pobox.com>
7408 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7409 source-munging commit!!!
7411 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7412 (gst_object_sink): Take gpointer arguments, not GstObject --
7413 avoids casts. Like GLib.
7415 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7418 2005-06-27 Andy Wingo <wingo@pobox.com>
7420 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7423 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7424 returns a sorted copy of the trace list.
7425 (gst_alloc_trace_print_live): New API, only prints traces with
7426 live objects. Sort the list.
7427 (gst_alloc_trace_print_all): Sort the list.
7428 (gst_alloc_trace_print): Align columns.
7430 * gst/elements/gstttypefindelement.c:
7431 * gst/elements/gsttee.c:
7432 * gst/base/gstbasesrc.c:
7433 * gst/base/gstbasesink.c:
7434 * gst/base/gstbasetransform.c:
7435 * gst/gstqueue.c: Adapt for pad activation changes.
7437 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7439 (gst_pipeline_dispose): Drop ref on sched.
7441 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7442 (gst_pad_activate_default): Push mode by default.
7443 (pre_activate_switch, post_activate_switch): New stubs, things to
7444 do before and after switching activation modes on pads.
7445 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7446 the pad's activate function to choose which mode to activate.
7447 Shortcut on deactivation and call the right function directly.
7448 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7450 (gst_pad_activate_push): New API, same for push mode.
7451 (gst_pad_set_activate_function)
7452 (gst_pad_set_activatepull_function)
7453 (gst_pad_set_activatepush_function): Setters for new API.
7455 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7456 Trace all miniobjects.
7457 (gst_mini_object_make_writable): Unref the arg if we copy, like
7458 gst_caps_make_writable.
7460 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7462 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7463 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7464 Adapt for new pad API.
7466 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7469 * gst/gstelement.c (gst_element_iterate_src_pads)
7470 (gst_element_iterate_sink_pads): New API functions.
7472 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7473 should fold into gstiterator.c in some form.
7474 (gst_element_pads_activate): Simplified via use of fold and
7475 delegation of decisions to gstpad->activate.
7477 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7480 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7481 class once in init, like gstmessage. Didn't run into this issue
7482 but it seems correct. Don't initialize a trace, gstminiobject does
7485 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7486 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7488 (assert_live_count): New util function, uses alloc traces to check
7491 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7492 To be modified when unlink drops the internal pad.
7494 2005-06-27 Wim Taymans <wim@fluendo.com>
7496 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7497 (gst_bin_change_state):
7498 Cleanup the get_state() function a little, make sure it
7499 iterates the same set of elements.
7500 Added stub iterate_state_order().
7502 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7504 * docs/gst/gstreamer-docs.sgml:
7505 * docs/gst/gstreamer-sections.txt:
7506 * docs/gst/gstreamer.types:
7507 * docs/gst/tmpl/gstbasesink.sgml:
7508 * docs/gst/tmpl/gstbasesrc.sgml:
7509 * docs/gst/tmpl/gstbasetransform.sgml:
7510 * docs/gst/tmpl/gstelement.sgml:
7511 * docs/gst/tmpl/gstiterator.sgml:
7512 * gst/base/gstbasesrc.c:
7513 * gst/base/gstbasesrc.h:
7514 * gst/base/gstbasetransform.h:
7516 * gst/gstiterator.h:
7517 adding basetransform and iterator docs
7519 2005-06-27 Andy Wingo <wingo@pobox.com>
7521 * docs/design/part-activation.txt: Notes on how activation should
7522 work -- not quite implemented yet.
7524 2005-06-25 Wim Taymans <wim@fluendo.com>
7526 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7527 At least get the chain function correct, needs more
7530 2005-06-25 Wim Taymans <wim@fluendo.com>
7532 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7533 (gst_basesink_handle_object), (gst_basesink_event),
7534 (gst_basesink_do_sync), (gst_basesink_handle_event),
7535 (gst_basesink_change_state):
7537 Right, two problems here: ghostpads don't take locks and
7538 glib _rec_mutex_lock_full() with depth==0 still locks.
7539 Catch illegal locking and g_warn them.
7541 2005-06-25 Wim Taymans <wim@fluendo.com>
7543 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7544 Have to check for completion now...
7546 2005-06-25 Wim Taymans <wim@fluendo.com>
7548 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7549 (gst_basesink_handle_object), (gst_basesink_event),
7550 (gst_basesink_do_sync), (gst_basesink_handle_event),
7551 (gst_basesink_change_state):
7553 Unlock STREAM_LOCK whatever the recursion was.
7555 2005-06-25 Wim Taymans <wim@fluendo.com>
7557 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7558 (gst_basesink_preroll_queue_empty),
7559 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7560 (gst_basesink_event), (gst_basesink_do_sync),
7561 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7562 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7563 (gst_basesink_change_state):
7564 Reworked the base sink, handle event and buffer serialisation
7565 correctly and removed possible deadlock.
7566 Handle EOS correctly.
7568 2005-06-25 Wim Taymans <wim@fluendo.com>
7570 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7571 (gst_pipeline_change_state):
7572 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7573 Allow elements to post EOS in the state change function.
7574 Fix up -launch, make it exit the poll loop when the
7575 pipeline actually changed state.
7576 Fix up warning parsing in -launch.
7578 2005-06-25 Wim Taymans <wim@fluendo.com>
7580 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7581 (gst_tee_sink_activate):
7582 Core takes STREAM_LOCK for us now.
7584 2005-06-25 Wim Taymans <wim@fluendo.com>
7586 * gst/gstelement.c: (gst_element_get_state_func),
7587 (gst_element_set_state):
7589 * gst/gstmessage.c: (gst_message_parse_error),
7590 (gst_message_parse_warning):
7591 Keep track of current target state while performing a state
7592 change so that subclasses can do something interesting.
7593 Fix parsing of warning/error messages when GError is NULL.
7595 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7597 * docs/gst/Makefile.am:
7598 * docs/gst/gstreamer-docs.sgml:
7599 * docs/gst/gstreamer-sections.txt:
7600 * docs/gst/gstreamer.types:
7601 * docs/gst/tmpl/gstbasesink.sgml:
7602 * docs/gst/tmpl/gstbasesrc.sgml:
7603 * docs/gst/tmpl/gstbin.sgml:
7604 * docs/gst/tmpl/gstcompat.sgml:
7605 * docs/gst/tmpl/gstfakesink.sgml:
7606 * docs/gst/tmpl/gstfakesrc.sgml:
7607 * docs/gst/tmpl/gstfilesink.sgml:
7608 * docs/gst/tmpl/gstfilesrc.sgml:
7609 * docs/gst/tmpl/gstindex.sgml:
7610 * docs/manual/appendix-quotes.xml:
7611 * gst/base/gstbasesrc.h:
7612 * gst/elements/gstfakesrc.h:
7614 start pulling in base classes and elements in our docs
7616 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7618 * docs/gst/Makefile.am:
7619 * docs/libs/Makefile.am:
7620 fixed make distcheck with gtk-doc 1.3
7622 2005-06-23 Wim Taymans <wim@fluendo.com>
7624 * gst/gstelement.c: (gst_element_get_state_func),
7625 (gst_element_set_state), (gst_element_change_state):
7626 When the state did not change, also report NO_PREROLL
7629 2005-06-23 Wim Taymans <wim@fluendo.com>
7631 * gst/gstpad.c: (gst_pad_event_default):
7632 * gst/gstqueue.c: (gst_queue_loop):
7633 No unsafe task pausing please.
7635 2005-06-23 Wim Taymans <wim@fluendo.com>
7637 * gst/schedulers/threadscheduler.c:
7638 (gst_thread_scheduler_task_start),
7639 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7640 Ref the task before pushing it on the threadpool. This
7641 makes sure that we have a ref when the threadfunction is
7644 2005-06-23 Andy Wingo <wingo@pobox.com>
7646 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7647 offset is greater than the file's size.
7649 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7650 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7651 * gst/gstobject.c (gst_object_class_init): Make the class lock
7652 recursive. Wim won't let me drop deep_notify. Decodebin works
7655 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7656 internal pad, and hacks accordingly. Doesn't do it on the target
7657 pad because we change its caps. Probably catches all cases of
7659 (gst_ghost_pad_set_property): Connect to notify::caps as
7662 * tests/network-clock.scm (plot-simulation): Pipe data to the
7663 elite python skript.
7665 * tests/network-clock-utils.scm (define-parameter): New macro,
7666 defines a parameter that can be set via the command line.
7667 (set-parameter!, parse-parameter-arguments): Command line args
7670 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7673 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7675 * gst/elements/gsttypefindelement.c:
7676 (gst_type_find_element_handle_event):
7677 Don't restart typefinding on a discont.
7678 * gst/gstelement.c: (gst_element_set_state):
7680 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7681 Allow changing mode of an active pad.
7683 * gst/registries/gstlibxmlregistry.c: (load_feature):
7684 Don't cast a static pad template to a normal pad template.
7686 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7688 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7689 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7690 remove gst_strtoll completely, since it didn't actually do
7691 anything more than what g_ascii_strtoull already does.
7692 check for range errors when deserializing
7693 do a cast for the unsigned cases; but further fixing needs
7694 a decision on what the interpretation of "(int)" and
7695 deserialization should be for values that fall outside the
7696 type's boundaries (ie, refuse, or interpret as casting)
7698 2005-06-23 Wim Taymans <wim@fluendo.com>
7700 * check/Makefile.am:
7701 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7702 * docs/design/part-live-source.txt:
7703 * docs/design/part-states.txt:
7704 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7705 (gst_basesrc_set_live), (gst_basesrc_is_live),
7706 (gst_basesrc_get_range), (gst_basesrc_activate),
7707 (gst_basesrc_change_state):
7708 * gst/base/gstbasesrc.h:
7709 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7710 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7711 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7712 * gst/gstelement.c: (gst_element_get_state_func),
7713 (gst_element_set_state):
7716 * tools/gst-launch.c: (event_loop), (main):
7717 Added support for live sources and other elements that
7719 Updated design docs, added live-source design doc.
7720 Implemented live source functionality in basesrc
7721 Fix error condition in _bin_get_state()
7722 Implement live source handling in -launch.
7723 Added check for live sources.
7724 Fixed case in GstBin where elements were changed state
7728 2005-06-23 Andy Wingo <wingo@pobox.com>
7730 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7733 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7734 gst_caps_replace takes care of this for us.
7736 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7737 gst_pad_set_caps on the target, not just its setcaps() function.
7739 * tests/network-clock.scm:
7740 * tests/network-clock-utils.scm: A network clock simulator.
7741 Something of an algorithmic testbed before doing something in C.
7743 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7745 * check/Makefile.am:
7746 * check/gst/capslist.h:
7747 copy over from 0.8, and add two with bitmasks specified with
7749 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7750 add test to parse everything from capslist.h
7751 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7753 add test for structure deserialization
7754 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7755 add tests for deserialization of strings to int types
7756 * gst/gststructure.c: (gst_structure_nth_field_name):
7757 * gst/gststructure.h:
7758 add a way to get the name of a field referenced by index
7759 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7760 instead of checking if the resulting long long lies between
7761 min and max, we check if the long long would fit into
7762 a number of bytes for the final type.
7763 This fixes cases where a string represents 2^32 - 1, which
7764 when cast to int would be the (valid) -1, but is bigger than
7767 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7769 * gst/parse/grammar.y:
7770 add a log line for type deserialization
7772 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7774 * check/gst/gstvalue.c: (START_TEST):
7775 * gst/gstvalue.c: (gst_value_deserialize):
7776 return long long, not int, so gint64 deserialization actually
7777 works. Is there any flag that makes the compiler check this ?
7780 2005-06-22 Wim Taymans <wim@fluendo.com>
7783 Added convenience macros for setting buffers in GValue.
7785 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7787 * check/gst/.cvsignore:
7788 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7789 add a test deserializing int64, and comment part out because
7792 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7794 * check/Makefile.am:
7795 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7796 * testsuite/Makefile.am:
7797 * testsuite/caps/Makefile.am:
7798 * testsuite/caps/value_serialize.c:
7799 * testsuite/test_gst_init.c:
7800 move a value_serialize test over
7802 2005-06-20 Wim Taymans <wim@fluendo.com>
7807 * gst/gstvalue.c: (gst_value_compare_buffer),
7808 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7809 (gst_value_compare_flags), (gst_value_serialize_flags),
7810 (gst_value_deserialize_flags), (_gst_value_initialize):
7811 Fix serialisation of buffers, they are not boxed types anymore
7813 2005-06-20 Wim Taymans <wim@fluendo.com>
7815 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7816 Testcase to show error in buffer-on-caps serialisation.
7818 2005-06-20 Andy Wingo <wingo@pobox.com>
7820 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7821 will be adding to later.
7823 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7824 if its socks fill with rocks.
7825 (gst_system_clock_obtain): Set the name on object construction.
7826 Avoid double-checked locking.
7828 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7830 * gst/gsturi.c: (gst_element_make_from_uri):
7831 Fix potential endless loop.
7833 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7835 * check/Makefile.am:
7837 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7839 move over from testsuite dir and clean up
7842 * testsuite/Makefile.am:
7843 * testsuite/tags/.cvsignore:
7844 * testsuite/tags/Makefile.am:
7845 * testsuite/tags/merge.c:
7846 remove testsuite/tags
7848 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7850 * docs/gst/gstreamer-sections.txt:
7851 * docs/gst/tmpl/gstenumtypes.sgml:
7852 * win32/gstenumtypes.c:
7853 clean up documentation build a little
7855 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7858 add macros for checking refcounts on objects and caps
7859 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7860 add some more unit tests
7861 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7862 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7863 fix leaked refcounts (I hope :)) so unittest works
7867 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7869 * configure.ac: back to HEAD
7871 === release 0.9.1 ===
7873 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7879 2005-06-17 Andy Wingo <wingo@pobox.com>
7881 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7882 assert; it's always possible that the pad gets deactivated in
7883 between the checks in gstpad.c and the implementation. Rely on
7884 finish_preroll() to return a FLUSHING or similar instead of on the
7887 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7888 clock and post an EOS message if we come out of finish_preroll in
7891 2005-06-16 David Schleef <ds@schleef.org>
7893 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7894 (gst_capsfilter_set_property): Allow NULL as possible value
7895 for filter_caps property, indicating GST_CAPS_ANY.
7897 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7899 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7901 * gst/schedulers/Makefile.am:
7903 * gstreamer.spec.in:
7906 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7908 * gstreamer.spec.in:
7911 2005-06-08 Andy Wingo <wingo@pobox.com>
7913 * gst/gstutils.c: RPAD fixes all around.
7914 (gst_element_link_pads): Refcounting fixes.
7916 * tools/gst-inspect.c:
7917 * tools/gst-xmlinspect.c:
7919 * gst/base/gsttypefindhelper.c:
7920 * gst/base/gstbasesink.c:
7921 * gst/gstqueue.c: RPAD fixes.
7923 * gst/gstghostpad.h:
7924 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7925 pads. The tricky thing is they provide both source and sink
7926 interfaces, since they proxy the internal pad for the external
7927 pad, and vice versa. Implement with lower-level ProxyPad objects,
7928 with the interior proxy pad as a child of the exterior ghost pad.
7929 Should write a doc on this.
7931 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7932 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7935 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7936 pads are real pads. No ghost pads in this file. Not documenting
7937 the myriad s/RPAD/PAD/ and REALIZE fixes.
7938 (gst_pad_class_init): Add properties for "direction" and
7939 "template". Both are construct-only, so they can't change during
7940 the life of the pad. Fixes properly deriving from GstPad.
7941 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7942 derived objects, just set properties when creating the objects via
7944 (gst_pad_get_parent): Implement as a function, return NULL if the
7945 parent is not an element.
7946 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7947 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7949 * gst/gstobject.c (gst_object_class_init): Make name a construct
7950 property. Don't set it in the object init.
7952 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7953 with UNKNOWN direction.
7954 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7955 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7956 (gst_element_remove_pad): Remove ghost-pad special cases.
7957 (gst_element_pads_activate): Remove rpad cruft.
7959 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7960 catch the pad's-parent-not-an-element case.
7962 * gst/gst.h: Include gstghostpad.h.
7964 * gst/gst.c (init_post): No more real, ghost pads.
7966 * gst/Makefile.am: Add gstghostpad.[ch].
7968 * check/Makefile.am:
7969 * check/gst/gstbin.c:
7970 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7971 into a bin creates ghost pads, and that the refcounts are right.
7972 Partly moved from gstbin.c.
7974 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7976 * check/gst-libs/.cvsignore:
7977 * check/gst/.cvsignore:
7978 * check/pipelines/.cvsignore:
7980 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7981 (START_TEST), (cleanup_suite), (main):
7982 add some tests related to cleanup after running pipelines
7984 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7986 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7987 add a testsuite for GstBuffer
7989 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7991 * gst/gstminiobject.h:
7992 add defines for accessing the refcount
7994 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7996 * Makefile.am: added support for html unit test coverage reports
7998 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8000 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8001 Free existing caps if the capsfilter changes. Add a FIXME about
8002 setting those caps on the pads.
8004 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8005 Before adding a ghost pad to a parent bin, check that there isn't
8006 already one for the element on the bin. Prevents infinite recursion
8007 when using decodebin in parse pipelines. Andy says he'll rewrite the
8008 way this works anyway, so ignore the hack.
8010 2005-06-02 Andy Wingo <wingo@pobox.com>
8012 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8013 file size, pass it on to the type find helper.
8015 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8016 segment_start and segment_end properly according to the seek
8017 method. Segment_end is still a bit flaky because offset can be
8018 negative for CUR and END cases, but it takes -1 as an "unset"
8021 2005-06-02 Wim Taymans <wim@fluendo.com>
8023 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8024 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8025 (gst_basesink_activate):
8026 * gst/base/gstbasesink.h:
8027 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8028 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8029 (gst_pad_query), (gst_pad_start_task):
8031 * gst/gstqueue.c: (gst_queue_bufferalloc),
8032 (gst_queue_handle_sink_event), (gst_queue_chain):
8033 Bufferalloc: return GstFlowReturn to more accuratly report
8034 why allocation failed.
8036 2005-06-02 Wim Taymans <wim@fluendo.com>
8038 * gst/gstpipeline.c: (gst_pipeline_send_event):
8039 Take snapshot of state without blocking.
8041 2005-06-02 Wim Taymans <wim@fluendo.com>
8043 * docs/design/part-TODO.txt:
8044 * docs/design/part-caps.txt:
8045 * docs/design/part-clocks.txt:
8046 * docs/design/part-negotiation.txt:
8047 * docs/design/part-preroll.txt:
8050 2005-05-30 Wim Taymans <wim@fluendo.com>
8052 * gst/elements/gstidentity.c: (gst_identity_event),
8053 (gst_identity_transform), (gst_identity_get_property):
8054 Protect last_message property as it is accessed from
8057 2005-05-30 Wim Taymans <wim@fluendo.com>
8059 * gst/gstelement.c: (gst_element_init),
8060 (gst_element_pads_activate), (gst_element_change_state):
8061 Slicker pad activation code.
8063 2005-05-30 Wim Taymans <wim@fluendo.com>
8067 * gst/gstelementfactory.h:
8069 Move elementfactory methods to separate .h file.
8071 2005-05-30 Wim Taymans <wim@fluendo.com>
8073 * docs/design/part-overview.txt:
8074 * gst/gstsystemclock.h:
8075 Small typo fixes, doc updates.
8077 2005-05-30 Wim Taymans <wim@fluendo.com>
8079 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8080 (init_popt_callback):
8081 Remove cpu-opt flag.
8083 2005-05-30 Wim Taymans <wim@fluendo.com>
8085 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8086 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8088 Avoid typechecking in places where not needed.
8089 Added accessor for malloc_data.
8091 2005-05-30 Wim Taymans <wim@fluendo.com>
8093 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8094 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8095 (gst_pad_configure_sink), (gst_pad_configure_src),
8096 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8097 (gst_pad_start_task):
8098 Propagate errors from _set_caps() in configure_src/sink
8099 functions instead of returning TRUE.
8100 FLUSH events can travel up and downstream
8103 2005-05-30 Wim Taymans <wim@fluendo.com>
8105 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8106 (gst_basesink_activate):
8107 Handle EOS in preroll.
8109 2005-05-30 Wim Taymans <wim@fluendo.com>
8111 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8112 (gst_queue_loop), (gst_queue_handle_src_event):
8113 Remove old pieces of code
8114 Flushing the queue in an upstream event is a very bad idea.
8116 2005-05-26 Andy Wingo <wingo@pobox.com>
8118 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8119 gst_value_set_mini_object so as to add a ref on the object (which
8120 will be removed when the value is unset).
8122 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8123 arg type in ::handoff.
8125 * gst/gstelement.c (gst_element_change_state): Also deactivate
8126 pads in READY->NULL, just in case the element didn't make it to
8127 PAUSED. Wingo tested, Wim approved.
8129 2005-05-26 Wim Taymans <wim@fluendo.com>
8131 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8132 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8133 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8134 A flushing pad cannot be used to alloc_buffer from.
8136 2005-05-26 Wim Taymans <wim@fluendo.com>
8138 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8139 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8140 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8141 (gst_bus_create_watch), (gst_bus_add_watch_full):
8143 Implement a real GSource and use g_main_context_wakeup() to
8144 signal new messages instead of the socketpair.
8146 2005-05-25 Wim Taymans <wim@fluendo.com>
8148 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8149 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8150 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8151 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8152 (gst_pad_send_event), (gst_pad_start_task):
8153 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8154 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8155 (gst_queue_sink_activate), (gst_queue_src_activate),
8156 (gst_queue_change_state):
8158 Fix state changes for non sinks. We now change sinks, then elements
8159 with unconnected srcpads, then the rest.
8160 More efficient queue unlocking in flush and state changes.
8161 Set the pad activate mode even if it does not have an activate
8164 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8166 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8167 Don't go in pull mode for non-seekable sources.
8168 * gst/elements/gsttypefindelement.h:
8169 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8170 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8171 (free_entry), (stop_typefinding),
8172 (gst_type_find_element_handle_event), (find_peek),
8173 (gst_type_find_element_chain), (do_pull_typefind),
8174 (gst_type_find_element_change_state):
8175 Allow typefinding (w/o seeking) in push-mode, simplified version
8177 * gst/gstutils.c: (gst_buffer_join):
8179 gst_buffer_join() from 0.8.
8181 2005-05-25 Wim Taymans <wim@fluendo.com>
8183 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8184 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8185 (gst_pad_send_event), (gst_pad_start_task):
8186 Disable attempt at mode switching until it is figured out.
8188 2005-05-25 Wim Taymans <wim@fluendo.com>
8190 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8191 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8192 (gst_basesink_finish_preroll), (gst_basesink_chain),
8193 (gst_basesink_loop), (gst_basesink_activate),
8194 (gst_basesink_change_state):
8195 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8196 (gst_basesrc_get_range), (gst_basesrc_loop),
8197 (gst_basesrc_activate):
8198 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8199 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8200 (gst_real_pad_init), (gst_real_pad_set_property),
8201 (gst_real_pad_get_property), (gst_pad_set_active),
8202 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8203 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8204 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8205 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8206 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8207 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8208 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8209 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8210 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8211 (gst_pad_stop_task):
8213 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8214 (gst_queue_loop), (gst_queue_src_activate):
8215 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8216 (gst_task_get_state):
8218 * gst/schedulers/threadscheduler.c:
8219 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8220 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8222 Remove ACTIVE pad flag, use FLUSHING everywhere
8223 Added _pad_chain(), _pad_get_range() to call chain/getrange
8225 Add locks around IS_FLUSHING when reading.
8226 Take STREAM lock in chain(), get_range() functions so plugins
8227 don't need to take it anymore.
8231 2005-05-25 Wim Taymans <wim@fluendo.com>
8233 * tools/gst-launch.c: (event_loop):
8234 Unref message after using its contents instead of
8237 2005-05-24 Wim Taymans <wim@fluendo.com>
8239 * docs/design/draft-ghostpads.txt:
8240 * docs/design/draft-push-pull.txt:
8241 * docs/design/draft-query.txt:
8242 * docs/design/part-overview.txt:
8243 Docs updates, added general overview doc.
8245 2005-05-21 David Schleef <ds@schleef.org>
8247 * docs/gst/tmpl/old/GstBin.sgml:
8248 * docs/gst/tmpl/old/GstBuffer.sgml:
8249 * docs/gst/tmpl/old/GstCaps.sgml:
8250 * docs/gst/tmpl/old/GstClock.sgml:
8251 * docs/gst/tmpl/old/GstCompat.sgml:
8252 * docs/gst/tmpl/old/GstData.sgml:
8253 * docs/gst/tmpl/old/GstElement.sgml:
8254 * docs/gst/tmpl/old/GstEvent.sgml:
8255 * docs/gst/tmpl/old/GstIndex.sgml:
8256 * docs/gst/tmpl/old/GstStructure.sgml:
8257 * docs/gst/tmpl/old/GstTag.sgml:
8258 * docs/gst/tmpl/old/cothreads.sgml:
8259 * docs/gst/tmpl/old/cothreads_compat.sgml:
8260 * docs/gst/tmpl/old/gettext.sgml:
8261 * docs/gst/tmpl/old/gobject2gtk.sgml:
8262 * docs/gst/tmpl/old/grammar.tab.sgml:
8263 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8264 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8265 * docs/gst/tmpl/old/gst_private.sgml:
8266 * docs/gst/tmpl/old/gstaggregator.sgml:
8267 * docs/gst/tmpl/old/gstarch.sgml:
8268 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8269 * docs/gst/tmpl/old/gstbufferstore.sgml:
8270 * docs/gst/tmpl/old/gstdata_private.sgml:
8271 * docs/gst/tmpl/old/gstdisksink.sgml:
8272 * docs/gst/tmpl/old/gstdisksrc.sgml:
8273 * docs/gst/tmpl/old/gstelementfactory.sgml:
8274 * docs/gst/tmpl/old/gstextratypes.sgml:
8275 * docs/gst/tmpl/old/gstfakesink.sgml:
8276 * docs/gst/tmpl/old/gstfakesrc.sgml:
8277 * docs/gst/tmpl/old/gstfdsink.sgml:
8278 * docs/gst/tmpl/old/gstfdsrc.sgml:
8279 * docs/gst/tmpl/old/gstfilesink.sgml:
8280 * docs/gst/tmpl/old/gstfilesrc.sgml:
8281 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8282 * docs/gst/tmpl/old/gstidentity.sgml:
8283 * docs/gst/tmpl/old/gstindexfactory.sgml:
8284 * docs/gst/tmpl/old/gstmarshal.sgml:
8285 * docs/gst/tmpl/old/gstmd5sink.sgml:
8286 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8287 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8288 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8289 * docs/gst/tmpl/old/gstpipefilter.sgml:
8290 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8291 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8292 * docs/gst/tmpl/old/gstshaper.sgml:
8293 * docs/gst/tmpl/old/gstspider.sgml:
8294 * docs/gst/tmpl/old/gstspideridentity.sgml:
8295 * docs/gst/tmpl/old/gststatistics.sgml:
8296 * docs/gst/tmpl/old/gsttee.sgml:
8297 * docs/gst/tmpl/old/gsttimecache.sgml:
8298 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8299 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8300 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8301 * docs/gst/tmpl/old/types.sgml:
8302 I didn't intend to add these or check them in.
8304 2005-05-19 David Schleef <ds@schleef.org>
8306 * configure.ac: Use -no-common everywhere. In a sane world, it
8307 would be the default in libtool, because without it, you can't
8308 build DLLs on Windows.
8309 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8310 * docs/gst/gstreamer-sections.txt:
8311 * docs/gst/tmpl/gstcpu.sgml:
8312 * docs/gst/tmpl/gstdata.sgml:
8313 * docs/gst/tmpl/gstthread.sgml:
8315 2005-05-19 David Schleef <ds@schleef.org>
8317 * gst/gstminiobject.c: (gst_value_set_mini_object),
8318 (gst_value_take_mini_object), (gst_value_get_mini_object):
8319 * gst/gstminiobject.h: Add GValue set/get functions.
8321 2005-05-19 Wim Taymans <wim@fluendo.com>
8323 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8324 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8325 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8327 * gst/gstbus.c: (gst_bus_post):
8328 * gst/gstelement.c: (gst_element_get_random_pad):
8329 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8330 Make subbufer unref the parent in finalize.
8331 some more debugging info.
8334 2005-05-19 Wim Taymans <wim@fluendo.com>
8336 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8337 (gst_basesink_init), (gst_basesink_finalize),
8338 (gst_basesink_activate), (gst_basesink_change_state):
8339 Don't free preroll queue too early.
8341 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8345 Hi, I'm outdated. Please shoot me.
8347 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8349 * gst/gstpipeline.c: (gst_pipeline_send_event):
8350 Do not access variables after they have been deleted.
8352 2005-05-19 Wim Taymans <wim@fluendo.com>
8354 * tools/gst-inspect.c: (print_plugin_features):
8355 A plugin feature does unfortunatly not use the
8358 2005-05-18 Wim Taymans <wim@fluendo.com>
8360 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8361 Port _span() functions to new subbuffers.
8363 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8365 * gst/gstbin.c: (gst_bin_add_func):
8366 Fix clock settery in bins when adding kids after the clock has
8369 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8371 * gst/elements/gstidentity.c: (gst_identity_class_init):
8372 Workaround until signals support GstMiniObject.
8374 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8377 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8379 2005-05-18 Wim Taymans <wim@fluendo.com>
8381 * gst/base/Makefile.am:
8382 * gst/base/gstadapter.c: (gst_adapter_base_init),
8383 (gst_adapter_class_init), (gst_adapter_init),
8384 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8385 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8386 (gst_adapter_flush), (gst_adapter_available),
8387 (gst_adapter_available_fast):
8388 * gst/base/gstadapter.h:
8389 Ported and added adapter to the base classes.
8391 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8395 Make sure the class is reffed/unreffed once before threads can be
8396 used. Fixes #304551.
8398 2005-05-17 Wim Taymans <wim@fluendo.com>
8400 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8401 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8402 * gst/gstminiobject.c: (gst_mini_object_get_type),
8403 (gst_mini_object_free):
8404 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8405 (gst_pad_push), (gst_pad_push_event):
8406 * gst/gstqueue.c: (gst_queue_change_state):
8407 Don't queue buffers in basesink when we are flushing.
8408 Unref buffer when flushing in basesink.
8409 Flush queue when going to READY
8410 Unref buffer when _push() returns an error.
8411 Don't free MiniObject instance when refcount is incremented
8412 in _finalize() so that we can recover objects.
8414 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8416 * docs/manual/advanced-schedulers.xml:
8417 * docs/manual/appendix-checklist.xml:
8418 * docs/pwg/advanced-clock.xml:
8419 * docs/pwg/advanced-interfaces.xml:
8420 * docs/pwg/advanced-request.xml:
8421 * docs/pwg/advanced-types.xml:
8422 * docs/pwg/intro-preface.xml:
8423 * examples/plugins/example.c: (gst_example_get_type),
8424 (gst_example_class_init), (gst_example_chain),
8425 (gst_example_set_property), (gst_example_get_property),
8426 (gst_example_change_state), (plugin_init):
8427 * examples/plugins/example.h:
8430 2005-05-17 Wim Taymans <wim@fluendo.com>
8432 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8433 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8434 * gst/gstqueue.c: (gst_queue_change_state):
8435 Clear queue when going to READY.
8436 Remove IN_SETCAPS flag too.
8438 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8440 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8441 Remove implicit cast from gboolean to GstElementStateReturn;
8442 make sure we still return failure in paused => ready case if
8443 the parent class fails to change state and our own stop
8446 2005-05-17 Wim Taymans <wim@fluendo.com>
8448 * tools/gst-launch.c: (event_loop):
8449 Message was unreffed too soon.
8451 2005-05-16 Andy Wingo <wingo@pobox.com>
8453 * gst/gstbin.c (sink_iterator_filter): Err... um...
8455 * check/gst/gstbin.c (test_ghost_pads): New test for the
8456 ghosting-if-elements-not-in-same-bin behavior.
8458 2005-05-16 David Schleef <ds@schleef.org>
8460 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8461 accessing refcount directly.
8463 2005-05-15 David Schleef <ds@schleef.org>
8465 * check/Makefile.am: remove GstData checks
8466 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8467 * gst/Makefile.am: add miniobject, remove data
8468 * gst/gst.h: add miniobject, remove data
8469 * gst/gstdata.c: remove
8470 * gst/gstdata.h: remove
8471 * gst/gstdata_private.h: remove
8472 * gst/gsttypes.h: remove GstEvent and GstMessage
8473 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8474 * gst/gstmarshal.list: change BOXED -> OBJECT
8476 Implement GstMiniObject.
8477 * gst/gstminiobject.c:
8478 * gst/gstminiobject.h:
8480 Modify to be subclasses of GstMiniObject.
8481 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8482 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8483 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8484 (gst_subbuffer_get_type), (gst_subbuffer_init),
8485 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8488 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8489 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8490 (_gst_event_copy), (gst_event_new):
8492 * gst/gstmessage.c: (_gst_message_initialize),
8493 (gst_message_get_type), (gst_message_class_init),
8494 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8495 (gst_message_new), (gst_message_new_error),
8496 (gst_message_new_warning), (gst_message_new_tag),
8497 (gst_message_new_state_changed), (gst_message_new_application):
8499 * gst/gstprobe.c: (gst_probe_perform),
8500 (gst_probe_dispatcher_dispatch):
8502 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8503 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8504 (_gst_query_copy), (gst_query_new):
8506 Update elements for GstData -> GstMiniObject changes
8508 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8509 (gst_queue_chain), (gst_queue_loop):
8510 * gst/elements/gstbufferstore.c:
8511 (gst_buffer_store_add_buffer_func),
8512 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8513 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8514 (gst_fakesink_render):
8515 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8516 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8517 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8518 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8519 (gst_filesrc_create_read):
8520 * gst/elements/gstidentity.c: (gst_identity_class_init):
8521 * gst/elements/gsttypefindelement.c:
8522 (gst_type_find_element_src_event), (free_entry_buffers),
8523 (gst_type_find_element_handle_event):
8524 * libs/gst/dataprotocol/dataprotocol.c:
8525 (gst_dp_header_from_buffer):
8526 * libs/gst/dataprotocol/dataprotocol.h:
8527 * libs/gst/dataprotocol/dp-private.h:
8529 2005-05-15 David Schleef <ds@schleef.org>
8531 * gst/elements/gstelements.c: Don't include headers that were
8534 2005-05-15 David Schleef <ds@schleef.org>
8536 * gst/elements/Makefile.am: Remove some elements that don't
8537 need to be in the core (or even exist at all).
8538 * gst/elements/gstaggregator.c:
8539 * gst/elements/gstaggregator.h:
8540 * gst/elements/gstmd5sink.c:
8541 * gst/elements/gstmd5sink.h:
8542 * gst/elements/gstmultifilesrc.c:
8543 * gst/elements/gstmultifilesrc.h:
8544 * gst/elements/gstpipefilter.c:
8545 * gst/elements/gstpipefilter.h:
8546 * gst/elements/gstshaper.c:
8547 * gst/elements/gstshaper.h:
8548 * gst/elements/gststatistics.c:
8549 * gst/elements/gststatistics.h:
8550 * po/POTFILES.in: Remove above files.
8552 2005-05-14 Andy Wingo <wingo@pobox.com>
8554 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8555 so as to get the refs right.
8556 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8557 unreffing objects that don't pass the filter.
8559 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8560 gst_element_set_bus.
8561 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8562 normal cases, this will destroy the bus.
8564 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8567 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8570 2005-05-13 Andy Wingo <wingo@pobox.com>
8572 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8573 gst_pad_link, call pad_link_maybe_ghosting,
8574 (pad_link_maybe_ghosting): Links pads, making sure that the
8575 elements being linked are in the same bin.
8576 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8577 Helpers for pad_link_maybe_ghosting.
8579 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8582 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8584 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8586 * docs/design/part-element-source.txt:
8589 2005-05-12 Wim Taymans <wim@fluendo.com>
8591 * gst/base/gstbasesink.c: (gst_basesink_init),
8592 (gst_basesink_activate):
8593 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8594 (gst_basesrc_is_seekable):
8595 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8596 (bin_element_is_sink), (gst_bin_change_state):
8597 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8599 Identify sinks by their flag to avoid overly complicated
8601 Do state changes even for elements not reachable from the
8603 BaseSink is a sink now :)
8604 Some more debugging info in the basesrc.
8607 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8609 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8610 Implement _query on a bin, similar to _send_event.
8612 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8614 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8615 Discont event offset format should be GST_FORMAT_BYTES,
8616 not GST_FORMAT_TIME.
8618 2005-05-12 Wim Taymans <wim@fluendo.com>
8620 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8621 Same fix as Ronald's but without the signal.
8623 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8625 * gst/gstutils.c: (gst_element_query_position):
8626 No, an element is not a pad.
8628 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8630 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8631 (gst_bin_get_state):
8632 If a child is removed from a bin while we remove the child from
8633 the bin and while we're retrieving its state, signal this to the
8634 get_state function so we abort the wait (instead of waiting for
8635 a timeout) and can immediately re-iterate over all other elements.
8637 2005-05-12 Wim Taymans <wim@fluendo.com>
8639 * gst/base/Makefile.am:
8640 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8641 (gst_basesrc_start):
8642 * gst/base/gstbasesrc.h:
8643 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8644 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8645 (gst_pushsrc_init), (gst_pushsrc_create):
8646 * gst/base/gstpushsrc.h:
8647 Added is_seekable to BaseSrc
8648 Added simple PushSrc.
8650 2005-05-11 Wim Taymans <wim@fluendo.com>
8652 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8653 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8654 (gst_element_link_pads), (gst_element_query_position),
8655 (gst_element_query_convert), (intersect_caps_func),
8656 (gst_pad_query_position), (gst_pad_query_convert):
8657 Fix refcounting in utils function.
8658 No point in trying to activate a pad when it's added, it could
8659 be added from the state change function and then we deadlock, the
8660 element has to decide what to do.
8662 2005-05-10 Andy Wingo <wingo@pobox.com>
8664 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8665 *all* the arguments.
8667 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8668 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8669 lock (according to the docs -- if this is wrong change the docs).
8671 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8672 flush messages in the NULL state.
8674 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8675 message immediately and return.
8676 (gst_bus_set_flushing): New function. If a bus is flushing, it
8677 flushes out any queued messages and immediately unrefs new
8678 messages. This is so when an element goes to NULL, all of the
8679 unhandled messages coming from it can be freed, and their
8680 references to the element dropped. In other words: message source
8681 ref considered harmful :P
8683 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8684 we're finished with it.
8686 * gst/gstmessage.c (gst_message_new_state_changed):
8688 2005-05-10 Wim Taymans <wim@fluendo.com>
8690 * gst/gstvalue.c: (gst_value_compare_flags),
8691 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8692 (_gst_value_initialize):
8693 Added flags serialize/deserialize/compare code.
8695 2005-05-09 Andy Wingo <wingo@pobox.com>
8697 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8698 Intersect the peer's caps with our caps.
8700 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8702 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8703 * gst/elements/gsttypefindelement.c: (find_peek):
8704 Handle negative offsets better. Fixes decodebin.
8706 2005-05-09 Wim Taymans <wim@fluendo.com>
8708 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8709 (gst_base_transform_event):
8710 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8711 Implement accept_caps.
8712 Fix silly lock/unlock mismatch in base class.
8714 2005-05-09 Wim Taymans <wim@fluendo.com>
8716 * docs/design/draft-push-pull.txt:
8717 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8718 * gst/elements/gstfilesink.c: (gst_filesink_init),
8719 (gst_filesink_query):
8720 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8721 (gst_type_find_handle_src_query), (find_element_get_length):
8722 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8726 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8727 (gst_real_pad_get_caps_unlocked),
8728 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8729 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8730 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8731 (gst_real_pad_dispose), (gst_real_pad_finalize),
8732 (gst_pad_load_and_link), (gst_pad_save_thyself),
8733 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8734 (gst_pad_check_pull_range), (gst_pad_pull_range),
8735 (gst_pad_template_get_type), (gst_pad_template_class_init),
8736 (gst_pad_template_init), (gst_pad_template_dispose),
8737 (name_is_valid), (gst_static_pad_template_get),
8738 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8739 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8740 (gst_pad_get_element_private), (gst_pad_start_task),
8741 (gst_pad_pause_task), (gst_pad_stop_task),
8742 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8743 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8744 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8745 (gst_ghost_pad_new):
8747 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8748 (gst_query_new_position), (gst_query_set_position),
8749 (gst_query_parse_position), (gst_query_new_convert),
8750 (gst_query_set_convert), (gst_query_parse_convert):
8752 * gst/gstqueryutils.c:
8753 * gst/gstqueryutils.h:
8754 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8755 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8756 (gst_queue_handle_src_query):
8757 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8758 (gst_element_query_position), (gst_element_query_convert),
8759 (intersect_caps_func), (gst_pad_query_position),
8760 (gst_pad_query_convert):
8762 * tools/gst-inspect.c: (print_pad_info):
8763 * tools/gst-xmlinspect.c: (print_element_info):
8764 Remove old query functions. Ported old code.
8765 Added position/convert helper functions to gstutils.
8766 Reordered gstpad.c code, grouping relevant things.
8767 Remove gst_message_new(), always need to speficy a specific
8771 2005-05-09 Andy Wingo <wingo@pobox.com>
8773 * gst/gstiterator.h: Add some includes.
8775 * gst/gstqueryutils.h: Include more headers.
8778 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8779 some uses of gst_pad_query.
8781 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8782 NULL out parameters.
8783 (gst_query_new_position): New proc, allocates a new position
8786 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8787 gstqueryutils.c to the build.
8789 * gst/gststructure.c (gst_structure_set_valist): Implement with
8790 the generic G_VALUE_COLLECT.
8792 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8794 * gst/Makefile.am: (gst_headers):
8795 Added gstqueryutils.h to the list of headers to install, that was
8796 a 'nachty' move wingo :)
8798 2005-05-06 Andy Wingo <wingo@pobox.com>
8801 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8802 GstData, init a memchunk.
8803 (standard_definitions): Add a few query types, deprecate a few.
8804 (gst_query_get_type): New proc.
8805 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8807 (gst_query_new_application, gst_query_get_structure): New public
8810 * docs/design/draft-query.txt: Removed LINKS from the query types,
8811 because all the rest can be dispatched to other pads -- seemed
8812 ugly to have a query that couldn't be dispatched. internal_links
8813 is fine as a pad method.
8815 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8816 in gstpad.c, but maintain binary compatibility for the moment.
8817 Will fix before 0.9 is out.
8819 * gst/gstqueryutils.c:
8820 * gst/gstqueryutils.h: New files, implement 3 methods for each
8821 query type: parse_query, parse_response, and set. Probably need an
8824 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8826 * gst/elements/gstfilesink.c (gst_filesink_query2):
8827 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8828 query_types, and formats methods.
8830 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8831 (gst_pad_set_query2_function): New functions.
8832 (gst_real_pad_init): Set query2_default as the default query2
8833 function. Basically just dispatches to internally linked pads.
8837 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8838 without using the atomic operations. Only one thread can possibly
8839 be accessing the data at this point. Changed so as to avoid
8840 gst_atomic operations.
8842 2005-05-06 Wim Taymans <wim@fluendo.com>
8844 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8845 Also set caps if we use the fallback buffer alloc.
8847 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8849 * docs/gst/Makefile.am:
8850 * docs/gst/gstreamer-docs.sgml:
8851 * docs/gst/gstreamer-sections.txt:
8852 * docs/gst/tmpl/gstatomic.sgml:
8853 * docs/gst/tmpl/gstmemchunk.sgml:
8854 * testsuite/elements/struct_i386.h:
8855 * win32/GStreamer.vcproj:
8857 Purge GstAtomic stuff from docs and win32 makefiles as well
8859 2005-05-06 Wim Taymans <wim@fluendo.com>
8861 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8862 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8863 * gst/gstpad.c: (gst_pad_peer_get_caps):
8864 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8865 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8866 (gst_queue_src_activate), (gst_queue_change_state):
8868 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8869 (intersect_caps_func):
8870 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8871 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8872 Some fixes for the peer_get_caps() change.
8874 2005-05-06 Wim Taymans <wim@fluendo.com>
8876 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8877 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8878 (gst_basesink_activate):
8879 Actually do something with error codes returned from the push
8882 2005-05-06 Wim Taymans <wim@fluendo.com>
8884 * docs/design/part-element-sink.txt:
8885 * docs/design/part-element-source.txt:
8886 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8887 (gst_basesink_event), (gst_basesink_activate):
8888 * gst/base/gstbasesink.h:
8889 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8890 (gst_basesrc_activate):
8891 * gst/base/gstbasesrc.h:
8892 * gst/gstelement.c: (gst_element_pads_activate):
8893 Some more documentation.
8894 Fixed scheduling decision in _pads_activate().
8896 2005-05-05 Andy Wingo <wingo@pobox.com>
8898 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8901 2005-05-05 Wim Taymans <wim@fluendo.com>
8903 * gst/base/Makefile.am:
8904 * gst/base/gstbasesink.h:
8905 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8906 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8907 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8908 (gst_collectpads_class_init), (gst_collectpads_init),
8909 (gst_collectpads_finalize), (gst_collectpads_new),
8910 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8911 (find_pad), (gst_collectpads_remove_pad),
8912 (gst_collectpads_is_active), (gst_collectpads_collect),
8913 (gst_collectpads_collect_range), (gst_collectpads_start),
8914 (gst_collectpads_stop), (gst_collectpads_peek),
8915 (gst_collectpads_pop), (gst_collectpads_available),
8916 (gst_collectpads_read), (gst_collectpads_flush),
8917 (gst_collectpads_chain):
8918 * gst/base/gstcollectpads.h:
8919 * gst/elements/Makefile.am:
8920 * gst/elements/gstelements.c:
8921 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8922 (gst_fakesink_get_times), (gst_fakesink_event),
8923 (gst_fakesink_preroll), (gst_fakesink_render):
8924 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8925 (gst_filesink_init), (gst_filesink_set_location),
8926 (gst_filesink_open_file), (gst_filesink_close_file),
8927 (gst_filesink_pad_query), (gst_filesink_event),
8928 (gst_filesink_render), (gst_filesink_change_state):
8929 * gst/elements/gstfilesink.h:
8930 Added object to help in making collect pad based elements.
8932 Make event function in sink baseclass return gboolean.
8934 2005-05-05 Wim Taymans <wim@fluendo.com>
8936 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8937 (gst_bin_get_by_name):
8939 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8940 (gst_clock_finalize):
8941 * gst/gstdata.c: (gst_data_replace):
8943 * gst/gstelement.c: (gst_element_request_pad),
8944 (gst_element_pads_activate):
8945 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8947 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8948 (gst_pad_set_checkgetrange_function),
8949 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8950 (gst_pad_check_pull_range), (gst_pad_pull_range),
8951 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8952 (gst_pad_pause_task), (gst_pad_stop_task):
8953 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8954 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8955 Fix name lookup in GstBin.
8956 Added _data_replace() function and _buffer_replace()
8957 Use finalize method to clean up clock.
8958 Fix refcounting on request pads.
8959 Fix pad schedule mode error.
8960 Some more object refcounting debug info,
8963 2005-05-04 Andy Wingo <wingo@pobox.com>
8965 * check/Makefile.am:
8966 * docs/gst/tmpl/gstatomic.sgml:
8967 * docs/gst/tmpl/gstplugin.sgml:
8968 * gst/base/gstbasesink.c: (gst_basesink_activate):
8969 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8970 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8971 (gst_basesrc_query), (gst_basesrc_set_property),
8972 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8973 (gst_basesrc_activate):
8974 * gst/base/gstbasesrc.h:
8975 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8976 (gst_base_transform_src_activate):
8977 * gst/elements/gstelements.c:
8978 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8979 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8980 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8981 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8982 (gst_type_find_element_checkgetrange),
8983 (gst_type_find_element_activate):
8984 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8985 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8986 (gst_caps_load_thyself):
8987 * gst/gstelement.c: (gst_element_pads_activate),
8988 (gst_element_save_thyself), (gst_element_restore_thyself):
8989 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8990 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8992 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8993 (gst_xml_parse_file), (gst_xml_parse_memory),
8994 (gst_xml_get_element), (gst_xml_make_element):
8995 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8996 (_file_index_id_save_xml), (gst_file_index_commit):
8997 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8998 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9000 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9001 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9002 * tools/gst-complete.c: (main):
9003 * tools/gst-compprep.c: (main):
9004 * tools/gst-inspect.c: (print_element_properties_info):
9005 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9006 * tools/gst-xmlinspect.c: (print_element_properties):
9009 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9011 * gst/gstplugin.c: (gst_plugin_check_module),
9012 (gst_plugin_check_file), (gst_plugin_load_file):
9013 apply patch from #172526 to make register work on MacOSX
9015 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9017 * docs/gst/tmpl/gstconfig.sgml:
9018 * gst/gstconfig.h.in:
9019 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9020 * testsuite/debug/printf_extension.c: (main):
9021 Do not use GST_PTR_FORMAT on pointers to types with
9022 sizeof < sizeof(gpointer). Fixes test on 64-bit
9023 * testsuite/elements/property.h:
9024 use correct printf format
9026 2005-05-02 Wim Taymans <wim@fluendo.com>
9028 * docs/design/draft-push-pull.txt:
9029 * docs/design/draft-query.txt:
9030 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9031 (gst_basesrc_start):
9032 Added draft for new query API.
9033 Added draft for better selecting scheduling methods.
9034 Make basesrc ignore length if the subclass does not support
9037 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9040 possible fixes for automake-1.5 - _LIBADD is reserved
9042 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9044 * docs/faq/Makefile.am:
9045 * docs/manual/Makefile.am:
9047 * docs/pwg/Makefile.am:
9049 possible fixes for automake-1.5
9051 2005-04-28 Wim Taymans <wim@fluendo.com>
9053 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9054 (gst_basesink_pad_getcaps), (gst_basesink_init),
9055 (gst_basesink_do_sync):
9056 * gst/gstclock.c: (gst_clock_entry_new):
9057 * gst/gstevent.c: (gst_event_discont_get_value):
9058 * gst/gstpipeline.c: (pipeline_bus_handler),
9059 (gst_pipeline_change_state):
9060 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9061 Better debugging of clocking info.
9062 Allow NULL values when getting discont values.
9064 2005-04-27 Wim Taymans <wim@fluendo.com>
9066 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9067 * check/gst/gstpad.c: (gst_pad_suite):
9068 Increase timeout for checks.
9070 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9072 * check/Makefile.am:
9073 fix the broken rule for cleanup. Apparently this rule is
9074 only needed on FC2, so maybe this warrants further autotool
9077 2005-04-26 Wim Taymans <wim@fluendo.com>
9079 * gst/gsttrashstack.h:
9080 Ooohh. a nasty one! After having a failed pop() from the stack,
9081 it's possible that the stack is empty. In that case, don't
9082 follow the NULL pointer.
9084 2005-04-25 Wim Taymans <wim@fluendo.com>
9086 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9087 (gst_pad_set_checkgetrange_function),
9088 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9089 (gst_pad_check_pull_range), (gst_pad_pull_range),
9090 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9091 (gst_pad_pause_task), (gst_pad_stop_task):
9092 * gst/gstplugin.c: (gst_plugin_load):
9094 Remove gst_library_load as it does more harm than good with
9095 the new g_module flags.
9096 Revert bogus caps template check in pad linking, pad caps
9097 are important when linking not the template, which is more
9098 general than the current caps.
9100 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9102 * gst/autoplug/.cvsignore:
9103 * gst/autoplug/Makefile.am:
9104 * gst/autoplug/gstsearchfuncs.c:
9105 * gst/autoplug/gstsearchfuncs.h:
9106 * gst/autoplug/gstspider.c:
9107 * gst/autoplug/gstspider.h:
9108 * gst/autoplug/gstspideridentity.c:
9109 * gst/autoplug/gstspideridentity.h:
9110 * gst/autoplug/spidertest.c:
9113 2005-04-25 Wim Taymans <wim@fluendo.com>
9115 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9116 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9117 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9118 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9120 Added stubs for unimplemented functions.
9122 2005-04-24 David Schleef <ds@schleef.org>
9124 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9127 2005-04-24 David Schleef <ds@schleef.org>
9129 Convert everything from GstAtomicInt to g_atomic_int_*, and
9134 * gst/gstatomic_impl.h:
9142 * gst/gstdata_private.h:
9149 * gst/gststructure.c:
9150 * gst/gststructure.h:
9151 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9154 2005-04-24 David Schleef <ds@schleef.org>
9156 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9157 make the regressions tests work. Remove some code that is no
9159 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9160 Disable warning for pads without templates.
9162 2005-04-24 David Schleef <ds@schleef.org>
9164 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9165 functions that handle filtered links.
9166 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9168 * gst/gstutils.c: Fix/remove utility functions that handle
9171 * gst/gstvalue.c: Add serialization/deserialization of caps
9172 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9173 requires fixing so that the filter caps notation creates
9174 a capsfilter element and sets the filter_caps property. I
9175 think everyone probably wants to keep the shorthand notation.
9176 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9177 * docs/gst/tmpl/gstpad.sgml:
9179 * gst/elements/gstelements.c: Register capsfilter element.
9180 * gst/Makefile.am: fix spacing
9181 * docs/random/ds/0.9-suggested-changes: random
9183 2005-04-23 David Schleef <ds@schleef.org>
9185 * gst/elements/Makefile.am:
9186 * gst/elements/gstcapsfilter.c: New element that acts like an
9187 identity, but filters caps. Will eventually replace filtered
9188 caps in pad linking.
9189 * gst/gstutils.c: (gst_element_create_all_pads): New function
9190 to create all the ALWAYS pads that are registered with an
9191 element class. This functionality should eventually be
9192 merged in with GstElement initialization.
9194 * testsuite/trigger/README: part of trigger test code that should
9195 have been checked in a long time ago.
9197 2005-04-23 David Schleef <ds@schleef.org>
9199 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9200 needed with new versions of libtool (nobody will confirm this),
9201 and hard to carry around.
9202 * gst/autoplug/Makefile.am:
9203 * gst/base/Makefile.am:
9204 * gst/elements/Makefile.am:
9205 * gst/indexers/Makefile.am:
9206 * gst/schedulers/Makefile.am:
9207 * libs/gst/bytestream/Makefile.am:
9208 * libs/gst/control/Makefile.am:
9209 * libs/gst/dataprotocol/Makefile.am:
9210 * libs/gst/getbits/Makefile.am:
9212 2005-04-21 Wim Taymans <wim@fluendo.com>
9214 * docs/design/draft-push-pull.txt:
9215 * docs/design/part-MT-refcounting.txt:
9216 * docs/design/part-TODO.txt:
9217 * docs/design/part-caps.txt:
9218 * docs/design/part-events.txt:
9219 * docs/design/part-gstbus.txt:
9220 * docs/design/part-gstpipeline.txt:
9221 * docs/design/part-messages.txt:
9222 * docs/design/part-push-pull.txt:
9223 * docs/design/part-query.txt:
9226 2005-04-21 Wim Taymans <wim@fluendo.com>
9228 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9229 (gst_message_new), (gst_message_new_error),
9230 (gst_message_new_warning), (gst_message_new_tag),
9231 (gst_message_new_state_changed), (gst_message_new_application),
9232 (gst_message_get_structure):
9234 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9235 (gst_structure_copy_conditional):
9236 Use parent refcount in GstMessage to ensure GstStructure
9238 Cleaned up headers a bit.
9241 2005-04-20 Wim Taymans <wim@fluendo.com>
9243 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9244 (gst_basesink_pad_getcaps), (gst_basesink_init),
9245 (gst_basesink_chain_unlocked):
9246 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9247 (gst_type_find_helper):
9248 * gst/elements/gsttypefindelement.c:
9249 (gst_type_find_element_have_type), (gst_type_find_element_init),
9250 (stop_typefinding), (gst_type_find_element_handle_event),
9251 (find_suggest), (gst_type_find_element_chain),
9252 (gst_type_find_element_checkgetrange),
9253 (gst_type_find_element_getrange), (do_typefind),
9254 (gst_type_find_element_activate):
9255 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9256 (gst_buffer_default_free), (gst_buffer_default_copy),
9257 (gst_buffer_set_caps):
9258 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9260 * gst/gstmessage.c: (gst_message_new),
9261 (gst_message_new_state_changed):
9262 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9263 (gst_pad_set_checkgetrange_function),
9264 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9265 (gst_pad_set_caps), (gst_pad_check_pull_range),
9266 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9268 * gst/gsttypefind.c: (gst_type_find_register):
9269 Make gst_caps_replace() work like other _replace() functions.
9270 Use _caps_replace() where possible.
9271 Make sure _message_new() initialises its field.
9272 Add gst_static_pad_template_get_caps()
9275 2005-04-18 Andy Wingo <wingo@pobox.com>
9277 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9278 on the peer, not the pad. I think that was a typo. Pass an extra
9279 arg to see if random access is possible. Activate the pads as
9280 PULL_RANGE if possible.
9282 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9284 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9285 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9288 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9290 * docs/faq/using.xml:
9291 Add note on gstreamer-properties (#154996).
9293 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9295 * docs/random/bbb/optional-properties:
9296 Some analysis on optional properties.
9298 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9300 * docs/gst/tmpl/gstelementfactory.sgml:
9302 * gst/gstelementfactory.c: (gst_element_factory_init),
9303 (gst_element_factory_cleanup), (gst_element_register),
9304 (__gst_element_factory_add_static_pad_template),
9305 (gst_element_factory_get_static_pad_templates),
9306 (gst_element_factory_can_src_caps),
9307 (gst_element_factory_can_sink_caps):
9308 * gst/registries/Makefile.am:
9309 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9310 (gst_xml_registry_class_init), (gst_xml_registry_init),
9311 (gst_xml_registry_new), (gst_xml_registry_set_property),
9312 (gst_xml_registry_get_property), (get_time), (make_dir),
9313 (gst_xml_registry_get_perms_func),
9314 (plugin_times_older_than_recurse), (plugin_times_older_than),
9315 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9316 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9317 (add_to_char_array), (read_string), (read_uint), (read_enum),
9318 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9319 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9320 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9321 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9322 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9323 (gst_xml_registry_rebuild):
9324 * gst/registries/gstlibxmlregistry.h:
9325 * tools/gst-compprep.c: (main):
9326 * tools/gst-inspect.c: (print_pad_templates_info):
9327 * tools/gst-xmlinspect.c: (print_element_info):
9328 Use libxml2 for registry parsing, use staticpadtemplates in
9329 elementfactories. Makes gst_init() +/- 10x faster.
9331 2005-04-12 Wim Taymans <wim@fluendo.com>
9333 * gst/base/Makefile.am:
9334 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9335 (gst_basesink_pad_getcaps), (gst_basesink_init),
9336 (gst_basesink_event), (gst_basesink_change_state):
9337 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9338 (gst_basesrc_init), (gst_basesrc_query),
9339 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9340 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9341 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9342 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9343 (gst_basesrc_stop), (gst_basesrc_activate),
9344 (gst_basesrc_change_state):
9345 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9346 (helper_find_suggest), (gst_type_find_helper):
9347 * gst/base/gsttypefindhelper.h:
9348 * gst/elements/Makefile.am:
9349 * gst/elements/gstelements.c:
9350 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9351 (gst_fakesink_get_times), (gst_fakesink_event),
9352 (gst_fakesink_preroll), (gst_fakesink_render):
9353 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9354 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9355 (gst_fakesrc_get_property), (gst_fakesrc_create),
9356 (gst_fakesrc_start), (gst_fakesrc_stop):
9357 * gst/elements/gstfakesrc.h:
9358 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9359 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9360 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9361 (gst_filesrc_create_read), (gst_filesrc_create),
9362 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9363 (gst_filesrc_start):
9364 * gst/elements/gsttypefindelement.c:
9365 (gst_type_find_element_have_type), (gst_type_find_element_init),
9366 (start_typefinding), (stop_typefinding), (push_buffer_store),
9367 (gst_type_find_element_handle_event),
9368 (gst_type_find_element_chain),
9369 (gst_type_find_element_checkgetrange),
9370 (gst_type_find_element_getrange), (do_typefind),
9371 (gst_type_find_element_activate),
9372 (gst_type_find_element_change_state):
9373 * gst/elements/gsttypefindelement.h:
9374 * gst/gstpipeline.c: (pipeline_bus_handler):
9375 Added typefind helper.
9376 Small preroll fix in the base sink.
9377 Disable typefind code in basesrc.
9378 Crude port of typefindelement.
9382 2005-04-11 Wim Taymans <wim@fluendo.com>
9384 * check/gst/gstbus.c: (gstbus_suite):
9385 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9387 Fix up the timeout so that the test does not fail.
9389 2005-04-06 Wim Taymans <wim@fluendo.com>
9392 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9393 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9394 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9395 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9396 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9397 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9398 (gst_basesrc_stop), (gst_basesrc_activate),
9399 (gst_basesrc_change_state), (basesrc_find_peek),
9400 (basesrc_find_suggest), (gst_basesrc_type_find):
9401 * gst/base/gstbasesrc.h:
9402 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9403 (gst_filesrc_class_init), (gst_filesrc_init),
9404 (gst_filesrc_finalize), (gst_filesrc_set_location),
9405 (gst_filesrc_set_property), (gst_filesrc_get_property),
9406 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9407 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9408 (gst_filesrc_create_read), (gst_filesrc_create),
9409 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9410 * gst/elements/gstfilesrc.h:
9411 * gst/gstelement.c: (gst_element_get_state_func),
9412 (gst_element_lost_state), (gst_element_pads_activate):
9413 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9414 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9415 (gst_pad_pull_range):
9417 More work on the generic source base class, implement seeking,
9419 Make filesrc extend the base source class.
9420 Added gst_pad_set_checkgetrange_function to GstPad.
9422 2005-04-06 Andy Wingo <wingo@pobox.com>
9424 * pkgconfig/gstreamer-base.pc.in:
9425 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9427 * pkgconfig/Makefile.am:
9428 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9430 2005-04-04 Wim Taymans <wim@fluendo.com>
9432 * gst/base/Makefile.am:
9434 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9435 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9436 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9437 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9438 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9439 (gst_basesrc_base_init), (gst_basesrc_class_init),
9440 (gst_basesrc_init), (gst_basesrc_get_formats),
9441 (gst_basesrc_get_query_types), (gst_basesrc_query),
9442 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9443 (gst_basesrc_set_property), (gst_basesrc_get_property),
9444 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9445 (gst_basesrc_loop), (gst_basesrc_activate),
9446 (gst_basesrc_change_state):
9447 * gst/base/gstbasesrc.h:
9448 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9449 (gst_fakesrc_class_init), (gst_fakesrc_init),
9450 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9451 (gst_fakesrc_get_property), (gst_fakesrc_create):
9452 * gst/elements/gstfakesrc.h:
9453 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9454 (gst_filesrc_open_file), (gst_filesrc_loop),
9455 (gst_filesrc_activate), (filesrc_find_peek),
9456 (gst_filesrc_type_find):
9457 Made base source class, make fakesrc extend it.
9458 Add comments to basesink class.
9459 Some filesrc cleanup.
9461 2005-03-31 David Schleef <ds@schleef.org>
9463 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9464 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9465 expected to link against libgstreamer.
9466 * gst/base/Makefile.am: link against libgstreamer
9467 * gst/elements/Makefile.am: same
9469 2005-03-31 Andy Wingo <wingo@pobox.com>
9471 * tests/instantiate/Makefile.am:
9472 * tests/instantiate/caps.c: Add test to test speed of caps copy
9475 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9476 GMemChunk to be fair.
9478 * gst/gsttrashstack.h: Remove warning about using the fallback
9479 trash stack implementation, it's still faster than malloc.
9481 2005-03-30 Andy Wingo <wingo@pobox.com>
9483 * tests/complexity.c: Add a copyright.
9485 2005-03-31 Wim Taymans <wim@fluendo.com>
9487 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9488 (gst_base_transform_class_init), (gst_base_transform_init),
9489 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9490 (gst_base_transform_get_property),
9491 (gst_base_transform_sink_activate),
9492 (gst_base_transform_src_activate),
9493 (gst_base_transform_change_state):
9494 * gst/base/gstbasetransform.h:
9495 * gst/elements/gstidentity.c: (gst_identity_class_init),
9496 (gst_identity_event), (gst_identity_check_perfect),
9497 (gst_identity_transform), (gst_identity_start),
9498 (gst_identity_stop):
9499 Added start/stop methods to transform base class so subclasses
9500 don't need to deal with state changes even.
9502 2005-03-31 Wim Taymans <wim@fluendo.com>
9504 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9505 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9507 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9508 (gst_pad_pull_range):
9509 Added rate to the discont event to prepare for variable speed
9510 and reverse playback.
9512 2005-03-29 David Schleef <ds@schleef.org>
9515 * testsuite/trigger/Makefile.am:
9516 * testsuite/trigger/trigger.c: A little example program to show
9517 how trigger-based elements can work.
9519 2005-03-29 Wim Taymans <wim@fluendo.com>
9521 * gst/base/Makefile.am:
9523 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9524 (gst_basesink_base_init), (gst_basesink_class_init),
9525 (gst_basesink_pad_getcaps), (gst_basesink_init),
9526 (gst_basesink_activate), (gst_basesink_change_state):
9527 * gst/base/gstbasesink.h:
9528 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9529 (gst_base_transform_base_init), (gst_base_transform_finalize),
9530 (gst_base_transform_class_init), (gst_base_transform_init),
9531 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9532 (gst_base_transform_event), (gst_base_transform_getrange),
9533 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9534 (gst_base_transform_set_property),
9535 (gst_base_transform_get_property),
9536 (gst_base_transform_sink_activate),
9537 (gst_base_transform_src_activate),
9538 (gst_base_transform_change_state):
9539 * gst/base/gstbasetransform.h:
9540 * gst/elements/gstidentity.c: (gst_identity_finalize),
9541 (gst_identity_class_init), (gst_identity_init),
9542 (gst_identity_event), (gst_identity_check_perfect),
9543 (gst_identity_transform), (gst_identity_set_property),
9544 (gst_identity_get_property), (gst_identity_change_state):
9545 * gst/elements/gstidentity.h:
9546 * gst/gstelement.c: (gst_element_get_state_func),
9547 (gst_element_lost_state), (gst_element_pads_activate):
9548 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9549 (gst_pad_check_pull_range), (gst_pad_pull_range):
9551 Simplify pad activation.
9552 Added function to check if pull_range can be performed.
9553 Error out when pulling inactive or flushing pads.
9554 Removed const from refcounted types as it does not make sense.
9555 Simplify pad templates in basesink
9556 Added base class for simple 1-to-1 transforms.
9557 Make identity subclass the base transform.
9559 2005-03-29 Andy Wingo <wingo@pobox.com>
9561 * docs/libs/gstreamer-libs-overrides.txt:
9562 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9563 really don't understand what's going on, but like whatever. I want
9566 * docs/gst/Makefile.am:
9567 * docs/libs/Makefile.am: Dist the overrides files.
9569 * check/Makefile.am (clean-local): Remove .libs directories.
9571 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9572 elements to EXTRA_DIST, so po/ files are happy.
9574 * po/POTFILES.in: Er, remove it here.
9576 * po/POTFILES: Remove gstspider.c.
9578 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9580 * docs/libs/gstreamer-libs-docs.sgml:
9581 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9584 * tests/complexity.c (main): Set the length of the preroll queue
9585 on the sinks to prevent a lockup.
9587 * libs/gst/dataprotocol/Makefile.am:
9588 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9589 the same as the one in check/gst-libs/gdp.c.
9591 * po/, docs/gst/: Commit automatic changes to docs and po files.
9593 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9594 the versioned libgstbase.
9596 * check/Makefile.am: Depend on an unversioned gst-register, seems
9597 to make autoconf happier.
9599 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9601 2005-03-28 Wim Taymans <wim@fluendo.com>
9604 * docs/design/part-gstelement.txt:
9605 * docs/design/part-negotiation.txt:
9606 * docs/design/part-preroll.txt:
9607 * docs/design/part-scheduling.txt:
9608 * docs/design/part-states.txt:
9610 * gst/base/Makefile.am:
9612 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9613 (gst_basesink_base_init), (gst_basesink_class_init),
9614 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9615 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9616 (gst_basesink_set_pad_functions),
9617 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9618 (gst_basesink_set_property), (gst_basesink_get_property),
9619 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9620 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9621 (gst_basesink_preroll_queue_push),
9622 (gst_basesink_preroll_queue_empty),
9623 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9624 (gst_basesink_event), (gst_basesink_get_times),
9625 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9626 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9627 (gst_basesink_loop), (gst_basesink_activate),
9628 (gst_basesink_change_state):
9629 * gst/base/gstbasesink.h:
9630 * gst/elements/Makefile.am:
9631 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9632 (gst_fakesink_class_init), (gst_fakesink_init),
9633 (gst_fakesink_set_property), (gst_fakesink_get_property),
9634 (gst_fakesink_get_times), (gst_fakesink_event),
9635 (gst_fakesink_preroll), (gst_fakesink_render),
9636 (gst_fakesink_change_state):
9637 * gst/elements/gstfakesink.h:
9638 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9639 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9640 * gst/gstelement.c: (gst_element_add_pad),
9641 (gst_element_get_state_func), (gst_element_abort_state),
9642 (gst_element_commit_state), (gst_element_lost_state),
9643 (gst_element_set_state), (gst_element_pads_activate):
9644 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9645 * gst/gstpipeline.c: (gst_pipeline_send_event),
9646 (gst_pipeline_change_state):
9647 Added state change code.
9649 Added sink base class, make fakesink extend the base class.
9650 Small cleanups in GstPipeline.
9652 2005-03-26 David Schleef <ds@schleef.org>
9654 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9655 is broken and should be implemented in a different library.
9656 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9657 * gst/gst.h: remove gstcpu.h
9658 * gst/gstcpu.c: remove
9659 * gst/gstcpu.h: remove
9660 * gst/Makefile.am.future: Remove this file. It's ancient.
9662 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9664 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9665 (gst_bin_send_event):
9666 Add default event/set_manager handlers. The set_manager handler
9667 takes care that the manager is distributed over kids that were
9668 already in the bin before the manager was set. The event handler
9669 is a utility virtual function that sends the event over all sinks,
9670 so that gst_element_send_event (bin, event); has the expected
9672 * gst/gstpad.c: (gst_pad_event_default):
9673 Re-install default event handling for discontinuities, so that
9674 seeking works without requiring hacks in applications or extra
9676 * gst/gstpipeline.c: (gst_pipeline_class_init),
9677 (gst_pipeline_send_event):
9678 Half hack, half utility: set a pipeline to PAUSED for seek events,
9679 since that is the only way we can guarantee a/v sync. Means that
9680 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9681 and it "just works".
9683 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9685 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9686 Lock/unlock mismatch.
9688 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9690 * docs/faq/gst-uninstalled:
9691 add gst-plugins-base
9692 * docs/gst/Makefile.am:
9693 don't error out until docs are fixed
9694 * docs/gst/gstreamer.types:
9697 2005-03-22 Wim Taymans <wim@fluendo.com>
9699 * check/Makefile.am:
9700 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9701 * gst/gststructure.c: (gst_structure_set_valist),
9702 (gst_structure_copy_conditional):
9703 Activated more tests.
9705 Added G_TYPE_POINTER to GstStructure.
9708 2005-03-22 Wim Taymans <wim@fluendo.com>
9710 * docs/design/part-TODO.txt:
9711 * docs/design/part-events.txt:
9712 * docs/design/part-gstbin.txt:
9713 * docs/design/part-gstbus.txt:
9714 * docs/design/part-gstpipeline.txt:
9715 * docs/design/part-messages.txt:
9720 2005-03-21 Wim Taymans <wim@fluendo.com>
9722 * gst/gstbus.c: (gst_bus_post):
9723 Fix copy-and-paste error.
9725 2005-03-21 Wim Taymans <wim@fluendo.com>
9727 * check/Makefile.am:
9729 * gst/elements/Makefile.am:
9730 * gst/elements/gstelements.c:
9731 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9732 (gst_fakesink_event), (gst_fakesink_chain):
9733 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9734 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9735 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9736 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9737 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9738 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9739 (gst_fakesrc_loop), (gst_fakesrc_activate),
9740 (gst_fakesrc_change_state):
9741 * gst/elements/gstfakesrc.h:
9742 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9743 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9744 (gst_filesrc_open_file), (gst_filesrc_loop),
9745 (gst_filesrc_activate), (gst_filesrc_change_state),
9746 (filesrc_find_peek), (filesrc_find_suggest),
9747 (gst_filesrc_type_find):
9748 * gst/elements/gstidentity.c: (gst_identity_finalize),
9749 (gst_identity_class_init), (gst_identity_init),
9750 (gst_identity_proxy_getcaps), (identity_queue_push),
9751 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9752 (gst_identity_getrange), (gst_identity_chain),
9753 (gst_identity_sink_loop), (gst_identity_src_loop),
9754 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9755 (gst_identity_set_property), (gst_identity_get_property),
9756 (gst_identity_change_state):
9757 * gst/elements/gstidentity.h:
9758 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9759 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9760 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9761 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9762 (gst_tee_sink_activate):
9763 * gst/elements/gsttee.h:
9764 * gst/gst.c: (gst_register_core_elements), (init_post):
9766 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9767 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9768 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9769 (gst_bin_change_state):
9771 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9772 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9773 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9774 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9775 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9776 (bus_watch_callback), (bus_watch_destroy),
9777 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9778 (poll_timeout), (gst_bus_poll):
9782 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9783 (gst_element_post_message), (gst_element_message_full),
9784 (gst_element_get_state_func), (gst_element_get_state),
9785 (gst_element_abort_state), (gst_element_commit_state),
9786 (gst_element_lost_state), (gst_element_set_state),
9787 (gst_element_pads_activate), (gst_element_change_state),
9788 (gst_element_dispose), (gst_element_set_manager_func),
9789 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9790 (gst_element_set_manager), (gst_element_get_manager),
9791 (gst_element_set_bus), (gst_element_get_bus),
9792 (gst_element_set_scheduler), (gst_element_get_scheduler):
9794 * gst/gstevent.c: (gst_event_new_segment_seek),
9795 (gst_event_new_flush):
9797 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9798 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9799 (gst_message_new_eos), (gst_message_new_error),
9800 (gst_message_new_warning), (gst_message_new_tag),
9801 (gst_message_new_state_changed), (gst_message_new_application),
9802 (gst_message_get_structure), (gst_message_parse_tag),
9803 (gst_message_parse_state_changed), (gst_message_parse_error),
9804 (gst_message_parse_warning):
9806 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9807 (gst_real_pad_set_property), (gst_pad_set_active),
9808 (gst_pad_is_active), (gst_pad_set_blocked_async),
9809 (gst_pad_set_blocked), (gst_pad_is_blocked),
9810 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9811 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9812 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9813 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9814 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9815 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9816 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9817 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9818 (gst_pad_set_caps), (gst_pad_configure_sink),
9819 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9820 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9821 (gst_real_pad_dispose), (gst_real_pad_finalize),
9822 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9823 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9824 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9826 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9827 (pipeline_bus_handler), (gst_pipeline_change_state),
9828 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9829 * gst/gstpipeline.h:
9831 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9832 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9833 (gst_queue_link_src), (gst_queue_bufferalloc),
9834 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9835 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9836 (gst_queue_loop), (gst_queue_handle_src_event),
9837 (gst_queue_handle_src_query), (gst_queue_src_activate),
9838 (gst_queue_change_state):
9840 * gst/gstscheduler.c: (gst_scheduler_init),
9841 (gst_scheduler_dispose), (gst_scheduler_create_task),
9842 (gst_scheduler_factory_create):
9843 * gst/gstscheduler.h:
9844 * gst/gststructure.c: (gst_structure_get_type),
9845 (gst_structure_copy_conditional):
9846 * gst/gststructure.h:
9847 * gst/gsttaginterface.h:
9848 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9849 (gst_task_init), (gst_task_dispose), (gst_task_create),
9850 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9856 * gst/schedulers/Makefile.am:
9857 * gst/schedulers/cothreads_compat.h:
9858 * gst/schedulers/entryscheduler.c:
9859 * gst/schedulers/faircothreads.c:
9860 * gst/schedulers/faircothreads.h:
9861 * gst/schedulers/fairscheduler.c:
9862 * gst/schedulers/gstbasicscheduler.c:
9863 * gst/schedulers/gstoptimalscheduler.c:
9864 * gst/schedulers/gthread-cothreads.h:
9865 * gst/schedulers/threadscheduler.c:
9866 (gst_thread_scheduler_task_get_type),
9867 (gst_thread_scheduler_task_class_init),
9868 (gst_thread_scheduler_task_init),
9869 (gst_thread_scheduler_task_start),
9870 (gst_thread_scheduler_task_stop),
9871 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9872 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9873 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9874 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9876 * libs/gst/Makefile.am:
9877 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9878 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9879 (gst_file_pad_parent_set):
9880 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9881 (gst_dp_event_from_packet):
9882 * tests/complexity.c: (main):
9883 * tests/mass_elements.c: (main):
9884 * testsuite/states/locked.c: (message_received), (main):
9885 * testsuite/states/parent.c: (main):
9886 * tools/gst-inspect.c: (print_element_flag_info),
9887 (print_implementation_info), (print_pad_info):
9888 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9890 * tools/gst-md5sum.c: (event_loop), (main):
9891 * tools/gst-typefind.c: (main):
9892 * tools/gst-xmlinspect.c: (print_element_info):
9894 Added GstBus for mainloop integration.
9895 Added GstMessage for sending notifications on the bus.
9896 Added GstTask as an abstraction for pipeline entry points.
9899 Simplified GstQueue for multithreaded core.
9900 Made _link threadsafe, removed old capsnego.
9901 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9902 Added pad blocking functions.
9903 Reworked scheduling functions in GstPad to prepare for
9904 scheduling updates soon.
9905 Moved events out of data stream.
9906 Simplified GstEvent types.
9907 Added return values to push/pull.
9908 Removed clocking from GstElement.
9909 Added prototypes for state change function for next merge.
9910 Removed iterate from bins and state change management.
9911 Fixed some elements, disabled others for now.
9912 Fixed -inspect and -launch.
9913 Added check for GstBus.
9915 2005-03-10 Wim Taymans <wim@fluendo.com>
9917 * docs/design/part-MT-refcounting.txt:
9918 * docs/design/part-clocks.txt:
9919 * docs/design/part-gstelement.txt:
9920 * docs/design/part-gstobject.txt:
9921 * docs/design/part-standards.txt:
9922 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9923 (gst_bin_remove_func), (gst_bin_remove):
9927 * testsuite/clock/clock1.c: (main):
9928 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9930 * testsuite/dlopen/loadgst.c: (do_test):
9931 * testsuite/refcounting/bin.c: (add_remove_test1),
9932 (add_remove_test2), (main):
9933 * testsuite/refcounting/element.c: (main):
9934 * testsuite/refcounting/element_pad.c: (main):
9935 * testsuite/refcounting/pad.c: (main):
9936 * tools/gst-launch.c: (sigint_handler_sighandler):
9937 * tools/gst-typefind.c: (main):
9939 Added doc about clock.
9940 removed gst_bin_iterate_recurse_up(), marked methods
9942 Fix more testsuites.
9944 2005-03-09 Wim Taymans <wim@fluendo.com>
9946 * gst/gstpad.c: (gst_pad_get_direction),
9947 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9948 (gst_pad_collect_valist):
9949 * testsuite/bins/interface.c: (main):
9950 * testsuite/caps/audioscale.c: (test_caps):
9951 * testsuite/caps/caps.c: (test1), (test2), (test3):
9952 * testsuite/caps/deserialize.c: (main):
9953 * testsuite/caps/enumcaps.c: (main):
9954 * testsuite/caps/filtercaps.c: (main):
9955 * testsuite/caps/intersect2.c: (main):
9956 * testsuite/caps/random.c: (main):
9957 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9958 * testsuite/caps/sets.c: (check_caps):
9959 * testsuite/caps/simplify.c: (check_caps), (main):
9960 * testsuite/caps/subtract.c: (check_caps):
9961 Fix _pad_get_direction wrt ghostpads.
9964 2005-03-09 Wim Taymans <wim@fluendo.com>
9966 * check/Makefile.am:
9967 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9968 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9969 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9970 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9971 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9972 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9973 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9974 (bin_element_is_sink), (gst_bin_iterate_sinks),
9975 (gst_bin_iterate_all_by_interface):
9977 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9978 (gst_element_change_state), (gst_element_dispose),
9979 (gst_element_finalize), (gst_element_set_loop_function):
9981 * gst/gstiterator.c: (find_custom_fold_func):
9982 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9983 (gst_pad_collectv), (gst_pad_collect_valist),
9984 (gst_pad_template_new):
9985 * gst/gstpipeline.c: (gst_pipeline_class_init),
9986 (gst_pipeline_dispose), (gst_pipeline_set_property),
9987 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9988 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9989 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9991 * gst/schedulers/entryscheduler.c:
9992 * gst/schedulers/gstbasicscheduler.c:
9993 (gst_basic_scheduler_cothreaded_chain),
9994 (gst_basic_scheduler_chain_add_element):
9995 * testsuite/bins/interface.c: (main):
9997 Added GstSystemClock test.
9998 Implemented clock distribution code in GstBin.
9999 Implemented iterate sinks method for future use.
10000 Rearranged gstelement.h
10001 Fix GstIterator comparison bug.
10002 Moved some code to GstPipeline, mostly clocking related.
10004 2005-03-09 Wim Taymans <wim@fluendo.com>
10007 * gst/gst_private.h:
10008 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10009 (gst_bin_remove_func), (gst_bin_remove),
10010 (gst_bin_get_by_name_recurse_up):
10011 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10012 (gst_clock_id_compare_func), (gst_clock_id_wait),
10013 (gst_clock_id_wait_async), (gst_clock_init),
10014 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10015 * gst/gstelement.h:
10016 * gst/gstinfo.c: (_gst_debug_init):
10018 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10019 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10021 Bump version number, we're now 0.9.0
10022 Add future debugging category.
10023 Fix NULL _unref() in _get_by_name_recurse_up
10024 Rearrange gstpad.h.
10027 2005-03-08 Wim Taymans <wim@fluendo.com>
10029 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10030 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10031 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10032 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10033 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10034 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10035 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10036 * gst/elements/gstidentity.c: (gst_identity_class_init):
10037 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10038 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10039 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10040 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10041 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10043 * gst/gstelement.c: (gst_element_class_init),
10044 (gst_element_base_class_init), (gst_element_init),
10045 (gst_element_get_random_pad), (gst_element_wait_state_change),
10046 (gst_element_change_state), (gst_element_dispose),
10047 (gst_element_finalize), (gst_element_set_loop_function):
10048 * gst/gstelement.h:
10049 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10050 * gst/gstthread.c: (gst_thread_class_init),
10051 (gst_thread_release_children_locks), (gst_thread_change_state):
10052 * gst/schedulers/gstbasicscheduler.c:
10053 (gst_basic_scheduler_loopfunc_wrapper),
10054 (gst_basic_scheduler_chain_wrapper),
10055 (gst_basic_scheduler_src_wrapper),
10056 (gst_basic_scheduler_remove_element):
10057 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10058 Remove threadsafe properties. Fix elements because GObject
10059 complains when installing a property before declaring a
10060 set/get_property handler.
10061 Rearrange gstelement.h file, use STATE macros for state locks.
10062 Free mutexes in the finalize method instead of dispose.
10064 2005-03-08 Wim Taymans <wim@fluendo.com>
10066 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10067 * gst/gstthread.c: (gst_thread_release_children_locks):
10068 Added parentage check.
10069 Fix build og GstThread again.
10071 2005-03-08 Wim Taymans <wim@fluendo.com>
10073 * docs/design/part-MT-refcounting.txt:
10074 * docs/design/part-conventions.txt:
10075 * docs/design/part-gstobject.txt:
10076 * docs/design/part-relations.txt:
10077 * docs/design/part-standards.txt:
10078 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10079 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10080 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10081 (gst_bin_iterate_all_by_interface):
10084 * gst/gstelement.c: (gst_element_class_init),
10085 (gst_element_change_state), (gst_element_set_loop_function):
10086 * gst/gstelement.h:
10087 * gst/gstiterator.c:
10088 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10089 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10090 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10091 (gst_object_set_parent), (gst_object_unparent),
10092 (gst_object_check_uniqueness):
10094 Docs updates, clean up some headers.
10096 2005-03-07 Wim Taymans <wim@fluendo.com>
10098 * check/.cvsignore:
10099 * check/Makefile.am:
10100 * check/gst-libs/.cvsignore:
10101 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10102 * check/gst/.cvsignore:
10103 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10104 (START_TEST), (gstbus_suite), (main):
10105 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10106 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10107 (gst_data_suite), (main):
10108 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10109 (add_fold_func), (gstiterator_suite), (main):
10110 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10111 (thread_name_object), (thread_name_object_default),
10112 (gst_object_name_compare), (gst_object_suite), (main):
10113 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10114 (gst_pad_suite), (main):
10115 * check/gstcheck.c: (gst_check_log_message_func),
10116 (gst_check_log_critical_func), (gst_check_init):
10117 * check/gstcheck.h:
10118 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10119 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10122 2005-03-07 Wim Taymans <wim@fluendo.com>
10124 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10125 (gst_list_iterator_next), (gst_list_iterator_resync),
10126 (gst_list_iterator_free), (gst_iterator_new_list),
10127 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10128 (gst_iterator_free), (gst_iterator_push), (filter_next),
10129 (filter_resync), (filter_uninit), (filter_free),
10130 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10131 (gst_iterator_foreach), (find_custom_fold_func),
10132 (gst_iterator_find_custom):
10133 * gst/gstiterator.h:
10134 Added missing files.
10136 2005-03-07 Wim Taymans <wim@fluendo.com>
10140 * docs/design/part-MT-refcounting.txt:
10141 * docs/design/part-conventions.txt:
10142 * docs/design/part-gstobject.txt:
10143 * docs/design/part-relations.txt:
10144 * examples/mixer/mixer.c: (main):
10145 * examples/thread/thread.c: (eos), (main):
10147 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10148 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10149 (gst_spider_plug_from_srcpad):
10150 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10151 (gst_spider_identity_change_state),
10152 (gst_spider_identity_sink_loop_type_finding):
10153 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10154 * gst/elements/gstidentity.c: (gst_identity_init):
10155 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10156 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10157 * gst/elements/gsttypefindelement.c: (free_entry):
10160 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10161 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10162 (gst_bin_set_index), (gst_bin_set_element_sched),
10163 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10164 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10165 (gst_bin_iterate_elements), (iterate_child_recurse),
10166 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10167 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10168 (compare_interface), (gst_bin_get_by_interface),
10169 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10171 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10172 (gst_buffer_default_free), (gst_buffer_default_copy),
10173 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10174 (gst_buffer_create_sub):
10176 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10177 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10178 (gst_caps_unref), (gst_static_caps_get),
10179 (gst_caps_remove_and_get_structure), (gst_caps_append),
10180 (gst_caps_append_structure), (gst_caps_remove_structure),
10181 (gst_caps_copy_nth), (gst_caps_set_simple),
10182 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10183 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10184 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10185 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10186 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10187 (gst_caps_structure_figure_out_union),
10188 (gst_caps_switch_structures), (gst_caps_do_simplify),
10189 (gst_caps_replace), (gst_caps_from_string),
10190 (gst_caps_copy_conditional):
10192 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10193 (_gst_clock_id_free), (gst_clock_id_unref),
10194 (gst_clock_id_compare_func), (gst_clock_id_wait),
10195 (gst_clock_id_wait_async), (gst_clock_class_init),
10196 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10197 (gst_clock_get_time), (gst_clock_set_time_adjust),
10198 (gst_clock_set_property), (gst_clock_get_property):
10201 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10202 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10204 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10205 (gst_element_requires_clock), (gst_element_provides_clock),
10206 (gst_element_set_clock), (gst_element_clock_wait),
10207 (gst_element_wait), (gst_element_set_time_delay),
10208 (gst_element_is_indexable), (gst_element_add_pad),
10209 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10210 (pad_compare_name), (gst_element_get_static_pad),
10211 (gst_element_request_pad), (gst_element_get_request_pad),
10212 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10213 (gst_element_class_get_pad_template_list),
10214 (gst_element_class_get_pad_template), (gst_element_error_func),
10215 (gst_element_get_random_pad), (gst_element_get_event_masks),
10216 (gst_element_send_event), (gst_element_seek),
10217 (gst_element_get_query_types), (gst_element_query),
10218 (gst_element_get_formats), (gst_element_convert),
10219 (gst_element_is_locked_state), (gst_element_set_locked_state),
10220 (gst_element_sync_state_with_parent), (gst_element_change_state),
10221 (gst_element_finalize), (gst_element_yield),
10222 (gst_element_interrupt), (gst_element_set_scheduler),
10223 (gst_element_get_scheduler), (gst_element_set_loop_function):
10224 * gst/gstelement.h:
10226 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10227 (gst_format_get_by_nick), (gst_format_get_details),
10228 (gst_format_iterate_definitions):
10230 * gst/gstindex.c: (gst_index_gtype_resolver):
10233 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10234 (gst_mem_chunk_free):
10235 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10236 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10237 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10238 (gst_object_dispatch_properties_changed),
10239 (gst_object_set_name_default), (gst_object_set_name),
10240 (gst_object_get_name), (gst_object_set_name_prefix),
10241 (gst_object_get_name_prefix), (gst_object_set_parent),
10242 (gst_object_get_parent), (gst_object_unparent),
10243 (gst_object_check_uniqueness), (gst_object_save_thyself),
10244 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10245 (gst_object_set_property), (gst_object_get_property),
10246 (gst_object_get_path_string):
10248 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10249 (gst_real_pad_init), (gst_real_pad_get_property),
10250 (gst_pad_custom_new), (gst_pad_get_direction),
10251 (gst_pad_set_active), (gst_pad_is_active),
10252 (gst_pad_set_event_function), (gst_pad_is_linked),
10253 (gst_pad_link_free), (gst_pad_link_intersect),
10254 (gst_pad_link_fixate), (gst_pad_set_caps),
10255 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10256 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10257 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10258 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10259 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10260 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10261 (gst_pad_realize), (gst_pad_get_allowed_caps),
10262 (gst_real_pad_dispose), (gst_real_pad_finalize),
10263 (gst_pad_collectv), (gst_pad_collect_valist),
10264 (gst_pad_template_dispose), (gst_pad_template_new),
10265 (gst_pad_get_internal_links):
10267 * gst/gstpipeline.c: (gst_pipeline_dispose),
10268 (gst_pipeline_change_state):
10269 * gst/gstpipeline.h:
10271 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10272 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10273 * gst/gstpluginfeature.h:
10274 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10275 * gst/gstquery.c: (_gst_query_type_initialize),
10276 (gst_query_type_register), (gst_query_type_get_by_nick),
10277 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10279 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10280 * gst/gstscheduler.c: (gst_scheduler_add_element),
10281 (gst_scheduler_factory_create):
10282 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10283 (gst_structure_free), (gst_structure_set_name),
10284 (gst_structure_id_set_value), (gst_structure_set_value),
10285 (gst_structure_set_valist), (gst_structure_remove_field),
10286 (gst_structure_remove_fields),
10287 (gst_structure_remove_fields_valist),
10288 (gst_structure_remove_all_fields), (gst_structure_foreach),
10289 (gst_structure_map_in_place),
10290 (gst_caps_structure_fixate_field_nearest_int),
10291 (gst_caps_structure_fixate_field_nearest_double):
10292 * gst/gststructure.h:
10293 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10294 (gst_system_clock_init), (gst_system_clock_dispose),
10295 (gst_system_clock_async_thread),
10296 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10297 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10298 * gst/gstsystemclock.h:
10299 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10300 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10301 * gst/gsttaginterface.c:
10302 * gst/gstthread.c: (gst_thread_dispose),
10303 (gst_thread_release_children_locks), (gst_thread_change_state),
10304 (gst_thread_main_loop):
10305 * gst/gsttrashstack.h:
10306 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10308 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10309 (gst_element_request_pad), (gst_element_get_pad_from_template),
10310 (gst_element_request_compatible_pad),
10311 (gst_element_get_compatible_pad_filtered),
10312 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10313 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10314 (gst_element_link_many), (gst_element_link),
10315 (gst_element_link_pads), (gst_element_unlink_pads),
10316 (gst_element_unlink_many), (gst_element_unlink),
10317 (gst_pad_can_link_filtered), (gst_pad_can_link),
10318 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10319 (gst_object_default_error), (gst_bin_add_many),
10320 (gst_bin_remove_many), (gst_element_populate_std_props),
10321 (gst_element_class_install_std_props), (gst_buffer_merge),
10322 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10323 (link_fold_func), (gst_pad_proxy_setcaps):
10325 * gst/gstvalue.c: (gst_value_deserialize_string):
10326 * gst/parse/grammar.y:
10327 * gst/schedulers/gstbasicscheduler.c:
10328 (gst_basic_scheduler_cothreaded_chain),
10329 (gst_basic_scheduler_chain_recursive_add),
10330 (gst_basic_scheduler_pad_link):
10331 * gst/schedulers/gstoptimalscheduler.c:
10332 (get_group_schedule_function),
10333 (gst_opt_scheduler_state_transition),
10334 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10335 * libs/gst/bytestream/bytestream.c:
10336 * libs/gst/dataprotocol/dataprotocol.c:
10337 (gst_dp_header_from_buffer):
10340 * tests/threadstate/threadstate2.c: (eos):
10341 * tools/gst-compprep.c: (main):
10342 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10343 (print_pad_info), (print_children_info):
10344 * tools/gst-launch.c: (idle_func), (main):
10345 * tools/gst-md5sum.c: (idle_func), (main):
10346 * tools/gst-xmlinspect.c: (print_element_info):
10347 First THREADED backport attempt, focusing on adding locks and
10348 making sure the API is threadsafe. Needs more work. More docs
10351 2005-02-24 Andy Wingo <wingo@pobox.com>
10353 * tests/bench-complexity.scm:
10354 * tests/complexity.gnuplot: New files, good for running complexity
10357 * tests/Makefile.am:
10358 * tests/complexity.c: New test, sets up N elements, at each level
10359 teeing into M streams per element. Eeeenteresting.
10361 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10362 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10363 running bench-mass_elements.scm.
10365 * tests/bench-mass_elements.scm: New script, runs mass_elements
10366 for various numbers of identities, outputting the results to a
10367 file. Requires guile 1.6. Just for testing.
10369 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10371 * gst/schedulers/fairscheduler.c:
10372 compile with debug disabled
10374 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10377 hunting season on 0.9 is now OPEN