1 2005-11-09 Wim Taymans <wim@fluendo.com>
3 * docs/design/part-TODO.txt:
4 Some more items for the TODO
10 2005-11-09 Andy Wingo <wingo@pobox.com>
12 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
13 to work on something else now tho...
15 * gst/base/gstadapter.c: More adapter docs.
17 * gst/elements/gstfilesink.c (gst_file_sink_start)
18 (gst_file_sink_stop): New functions, replace the state change
20 (gst_file_sink_class_init): Hook up the start and stop functions.
21 (gst_file_sink_base_init): Don't set the state change handler any
22 more. It was a bit ugly too, being set from here...
23 (gst_file_sink_get_property, gst_file_sink_set_property):
25 (gst_file_sink_set_location): More robust check that doesn't call
28 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
30 * gst/base/gstbasetransform.c: (gst_base_transform_event):
31 Hold STREAM_LOCK while pushing newsegment or tag events as well.
33 2005-11-08 Wim Taymans <wim@fluendo.com>
35 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
36 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
37 (gst_base_sink_chain), (gst_base_sink_change_state):
38 * gst/base/gstbasesink.h:
39 * gst/base/gstbasesrc.h:
42 Avoid excessive typechecking in macros.
44 * gst/gstminiobject.c: (gst_mini_object_get_type),
45 (gst_mini_object_init), (gst_mini_object_new),
46 (gst_mini_object_free):
47 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
48 (gst_object_finalize):
49 Remove cruft code, optimize alloc_trace.
51 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
53 * docs/faq/gst-uninstalled:
54 fix up PS1 for systems that try to reset it
56 2005-11-07 Wim Taymans <wim@fluendo.com>
58 * gst/base/gstbasesrc.c: (gst_base_src_init),
59 (gst_base_src_get_range):
60 Set the segment_end to -1 initially. Fixed typefind.
62 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
64 * gst/base/gstadapter.c:
65 Debug category should be 'adapter', not 'GstAdapter'.
67 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
68 (gst_collectpads_class_init), (gst_collectpads_init),
69 (gst_collectpads_peek), (gst_collectpads_pop),
70 (gst_collectpads_event), (gst_collectpads_chain):
71 Add debug category and some debugging output. Use boilerplate
72 macros. Remove some extraneous words from docs.
74 2005-11-05 Andy Wingo <wingo@pobox.com>
76 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
79 2005-11-04 Stefan Kost <ensonic@users.sf.net>
81 * docs/gst/gstreamer-sections.txt:
84 * gst/gstminiobject.h:
89 2005-11-04 Wim Taymans <wim@fluendo.com>
91 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
92 Small update to stop at the configured segment_end
95 2005-11-04 Stefan Kost <ensonic@users.sf.net>
101 2005-11-04 Edward Hervey <edward@fluendo.com>
103 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
104 Check if we are doing a segment seek and have arrived at the
107 2005-11-04 Wim Taymans <wim@fluendo.com>
109 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
110 Don't leak a mutex unlock in case of an error.
115 2005-11-04 Wim Taymans <wim@fluendo.com>
117 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
119 Get the context to wake up only once.
121 2005-11-03 Wim Taymans <wim@fluendo.com>
123 * check/states/sinks.c: (GST_START_TEST):
124 Uncomment fixed check.
126 * docs/design/part-TODO.txt:
129 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
130 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
131 (gst_base_sink_get_position):
132 If we are going to PLAYING, post the right pending state
133 when we post the intermediate paused message.
135 * gst/gstelement.c: (gst_element_continue_state),
136 (gst_element_set_state_func), (gst_element_change_state):
137 Don't post state changes that were between the same state
140 2005-11-03 Stefan Kost <ensonic@users.sf.net>
142 * docs/gst/gstreamer-sections.txt:
145 * gst/gstminiobject.h:
148 more docs and doc style fixes
150 2005-11-03 Stefan Kost <ensonic@users.sf.net>
152 * docs/gst/gstreamer-sections.txt:
154 * gst/gstminiobject.c:
157 2005-11-03 Andy Wingo <wingo@pobox.com>
159 * check/states/sinks.c (test_livesrc_sink): Add checks that the
160 state-changed messages actually have the right order and the right
163 2005-11-03 Wim Taymans <wim@fluendo.com>
165 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
166 Added some more checks. Specifically the case where NO_PREROLL
167 elements are in the pipeline.
169 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
170 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
171 (gst_base_sink_get_position):
172 Post READY->PAUSED state change messages too.
173 Fix bug where VOID was posted as pending state...
175 * gst/gstbin.c: (gst_bin_recalc_state):
176 use _element_continue_state() to continue the state change.
178 * gst/gstelement.c: (gst_element_continue_state),
179 (gst_element_commit_state), (gst_element_set_state_func),
180 (gst_element_change_state), (gst_element_change_state_func):
181 Lots of state change cleanups, assign the STATE_RETURN in
182 a new continue_state() function that also propagates the
183 last return value from a state change to the app.
184 Update some debug statements with proper category.
186 2005-11-03 Wim Taymans <wim@fluendo.com>
188 * docs/design/part-events.txt:
189 * docs/design/part-gstpipeline.txt:
190 * docs/design/part-messages.txt:
191 * docs/design/part-overview.txt:
192 * docs/design/part-seeking.txt:
193 * docs/design/part-states.txt:
194 * docs/design/part-trickmodes.txt:
195 * docs/manual/advanced-position.xml:
199 People think !! is ugly, this looks better.
201 * gst/gstpad.c: (gst_pad_set_blocked_async):
202 Remove !! since it's fixed elsewhere now.
204 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
206 * gst/gstminiobject.h:
208 Add !! to _FLAG_IS_SET macros to make the result boolean.
210 2005-11-03 Edward Hervey <edward@fluendo.com>
212 * gst/gstpad.c: (gst_pad_set_blocked_async):
213 comparing a flag and a gboolean rarely returns coherent results...
214 Added two characters (!!) to make that work correctly.
216 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
218 * gst/gstbus.c: (gst_bus_class_init):
221 * gst/gstqueue.c: (gst_queue_loop):
222 Don't assume a miniobject that isn't a buffer is an
223 event (it could be that there is a refcounting
224 problem somewhere and the pointer is stale and
225 refers to an already destroyed miniobject).
227 2005-11-03 Julien MOUTTE <julien@moutte.net>
229 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
231 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
233 * docs/manual/advanced-position.xml:
234 Update seek example and explanations to current 0.9 API.
236 * gst/elements/gsttypefindelement.c:
237 (gst_type_find_element_activate):
238 Remove FIXME comment now that the found caps
241 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
243 * gst/gstregistryxml.c: (load_feature):
244 Add another GST_STR_NULL instance
246 2005-11-02 Edward Hervey <edward@fluendo.com>
248 * gst/gstpad.c: (handle_pad_block):
249 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
251 2005-11-02 Wim Taymans <wim@fluendo.com>
256 * gst/gstelement.c: (gst_element_commit_state):
260 Mention that the returned element is reffed in the docs.
262 2005-11-02 Wim Taymans <wim@fluendo.com>
264 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
265 (gst_pad_push), (gst_pad_push_event):
266 Unlock blocked pads when they are flushed.
268 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
271 * docs/gst/gstreamer-sections.txt:
274 * gst/gstregistry.c: (gst_registry_scan_path_level):
275 fix for a nasty little missed situation where an installed plug-in
276 which was in the cache did not get overridden by an uninstalled one
277 which was earlier in the plugin path because the newly created plugin
278 for the uninstalled one (not in the registry) didn't get its
279 ->registered set to TRUE
281 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
283 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
284 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
285 (gst_collectpads_is_active), (gst_collectpads_collect),
286 (gst_collectpads_collect_range), (gst_collectpads_start),
287 (gst_collectpads_stop), (gst_collectpads_peek),
288 (gst_collectpads_pop), (gst_collectpads_available),
289 (gst_collectpads_read), (gst_collectpads_flush):
290 Guard public API with assertions.
293 Fix docs for gst_pad_set_link_function().
295 2005-11-02 Johan Dahlin <johan@gnome.org>
297 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
298 Unref found_caps after we used it.
300 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
302 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
303 Don't try to ref NULL.
305 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
307 * win32/common/config.h.in:
308 provide a GST_FUNCTION that just gives a string for now
310 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
312 * win32/common/gstenumtypes.c: (register_gst_object_flags),
313 (gst_object_flags_get_type), (register_gst_bin_flags),
314 (gst_bin_flags_get_type), (register_gst_buffer_flag),
315 (gst_buffer_flag_get_type), (register_gst_bus_flags),
316 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
317 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
318 (gst_clock_return_get_type), (register_gst_clock_entry_type),
319 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
320 (gst_clock_flags_get_type), (register_gst_state),
321 (gst_state_get_type), (register_gst_state_change_return),
322 (gst_state_change_return_get_type), (register_gst_state_change),
323 (gst_state_change_get_type), (register_gst_element_flags),
324 (gst_element_flags_get_type), (register_gst_core_error),
325 (gst_core_error_get_type), (register_gst_library_error),
326 (gst_library_error_get_type), (register_gst_resource_error),
327 (gst_resource_error_get_type), (register_gst_stream_error),
328 (gst_stream_error_get_type), (register_gst_event_type),
329 (gst_event_type_get_type), (register_gst_seek_type),
330 (gst_seek_type_get_type), (register_gst_seek_flags),
331 (gst_seek_flags_get_type), (register_gst_format),
332 (gst_format_get_type), (register_gst_index_certainty),
333 (gst_index_certainty_get_type), (register_gst_index_entry_type),
334 (gst_index_entry_type_get_type),
335 (register_gst_index_lookup_method),
336 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
337 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
338 (gst_index_resolver_method_get_type), (register_gst_index_flags),
339 (gst_index_flags_get_type), (register_gst_debug_level),
340 (gst_debug_level_get_type), (register_gst_debug_color_flags),
341 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
342 (gst_iterator_result_get_type), (register_gst_iterator_item),
343 (gst_iterator_item_get_type), (register_gst_message_type),
344 (gst_message_type_get_type), (register_gst_mini_object_flags),
345 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
346 (gst_pad_link_return_get_type), (register_gst_flow_return),
347 (gst_flow_return_get_type), (register_gst_activate_mode),
348 (gst_activate_mode_get_type), (register_gst_pad_direction),
349 (gst_pad_direction_get_type), (register_gst_pad_flags),
350 (gst_pad_flags_get_type), (register_gst_pad_presence),
351 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
352 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
353 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
354 (gst_plugin_error_get_type), (register_gst_plugin_flags),
355 (gst_plugin_flags_get_type), (register_gst_rank),
356 (gst_rank_get_type), (register_gst_query_type),
357 (gst_query_type_get_type), (register_gst_tag_merge_mode),
358 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
359 (gst_tag_flag_get_type), (register_gst_task_state),
360 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
361 (gst_alloc_trace_flags_get_type),
362 (register_gst_type_find_probability),
363 (gst_type_find_probability_get_type), (register_gst_uri_type),
364 (gst_uri_type_get_type), (register_gst_parse_error),
365 (gst_parse_error_get_type):
366 * win32/common/gstversion.h:
369 2005-11-01 Luca Ognibene <luogni@tin.it>
372 fix docs. popt is dead, long live GOption.
374 2005-10-31 Wim Taymans <wim@fluendo.com>
379 2005-10-31 Andy Wingo <wingo@pobox.com>
383 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
385 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
386 need to serialize property notifications on GLib 2.8. GLib 2.6 has
387 the possibility of deadlocks here if code calling notify() or
388 set() has a lock that can be taken in another notify handler (ABBA
389 with class lock and e.g. python GIL state lock).
391 2005-10-28 Julien MOUTTE <julien@moutte.net>
393 * gst/gstbus.c: Doc updates.
395 2005-10-28 Wim Taymans <wim@fluendo.com>
397 * docs/design/part-TODO.txt:
399 * gst/gstsystemclock.c:
400 * gst/gstsystemclock.h:
403 2005-10-28 Edward Hervey <edward@fluendo.com>
405 * docs/gst/gstreamer-docs.sgml:
406 * docs/gst/gstreamer-sections.txt:
407 the GstURIType documentation page is private, it only defines GstURIType
408 which should be defined in the GstURIHandler page
410 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
412 * gst/gstbin.c: (gst_bin_class_init):
415 Documentation updates.
417 2005-10-28 Wim Taymans <wim@fluendo.com>
419 * docs/gst/gstreamer-sections.txt:
422 Documented the clocks.
424 2005-10-28 Stefan Kost <ensonic@users.sf.net>
426 * docs/gst/gstreamer-sections.txt:
427 move some macros to private sections
428 * gst/gstminiobject.c:
429 * gst/gstminiobject.h:
430 add descriptions provided by ds and some more
432 mark macro as to be removed
434 2005-10-28 Wim Taymans <wim@fluendo.com>
436 * docs/design/part-TODO.txt:
439 * gst/gstiterator.c: (gst_iterator_fold),
440 (gst_iterator_find_custom):
444 2005-10-28 Wim Taymans <wim@fluendo.com>
446 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
447 (gst_base_transform_init):
450 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
451 An EOS event marks the queue as completely filled.
453 2005-10-27 Wim Taymans <wim@fluendo.com>
455 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
456 (gst_base_sink_do_sync), (gst_base_sink_get_position):
459 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
460 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
461 (gst_base_transform_event), (gst_base_transform_getrange),
462 (gst_base_transform_chain):
463 * gst/base/gstbasetransform.h:
465 Protect transform and concurrent buffer alloc with a new lock.
466 Try not to break ABI/API.
468 2005-10-27 Wim Taymans <wim@fluendo.com>
470 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
471 (gst_base_src_init), (gst_base_src_query),
472 (gst_base_src_default_newsegment),
473 (gst_base_src_configure_segment), (gst_base_src_do_seek),
474 (gst_base_src_send_event), (gst_base_src_event_handler),
475 (gst_base_src_pad_get_range), (gst_base_src_loop),
476 (gst_base_src_unlock), (gst_base_src_default_negotiate),
477 (gst_base_src_start), (gst_base_src_deactivate),
478 (gst_base_src_activate_push), (gst_base_src_change_state):
479 Move some stuff around and cleanup things.
481 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
483 * gst/base/gstbasesrc.c: (gst_base_src_query):
484 Add missing break statements.
486 2005-10-27 Wim Taymans <wim@fluendo.com>
488 * check/gst/gstbin.c: (GST_START_TEST):
489 An extra refcount is taken in basesrc.
491 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
492 (gst_base_src_get_range), (gst_base_src_pad_get_range),
494 Small cleanups, check for flushing after being unlocked from the
495 LIVE_LOCK. take refcounts correctly (not yet everywhere).
496 Don't send out EOS when going to READY.
498 2005-10-27 Wim Taymans <wim@fluendo.com>
500 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
501 (gst_base_sink_get_position):
504 * gst/gstbin.c: (message_check), (bin_replace_message),
505 (bin_remove_messages), (is_eos), (gst_bin_add_func),
506 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
507 (bin_query_duration_init), (bin_query_duration_fold),
508 (bin_query_duration_done), (bin_query_generic_fold),
510 * tools/gst-launch.c: (main):
513 2005-10-26 Stefan Kost <ensonic@users.sf.net>
515 * examples/controller/audio-example.c: (main):
516 * examples/queue/queue.c: (event_loop):
517 * gst/base/gstbasetransform.h:
518 * gst/gstelement.c: (gst_element_send_event):
520 * gst/gstpad.c: (gst_pad_send_event):
523 changing log priority in error situations
525 2005-10-25 Wim Taymans <wim@fluendo.com>
527 * gst/gstbin.c: (message_check), (bin_replace_message),
528 (bin_remove_messages), (is_eos), (gst_bin_add_func),
529 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
530 (bin_query_duration_init), (bin_query_duration_fold),
531 (bin_query_duration_done), (bin_query_generic_fold),
533 Some doc and debug updates.
534 Cache previously requested query DURATION for speed. invalidate
535 cached duration if element posts a DURATION message.
537 2005-10-25 Wim Taymans <wim@fluendo.com>
539 * docs/design/part-TODO.txt:
542 * gst/gstbin.c: (message_check), (bin_replace_message),
543 (bin_remove_messages), (is_eos), (gst_bin_add_func),
544 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
545 (bin_query_duration_init), (bin_query_duration_fold),
546 (bin_query_duration_done), (bin_query_generic_fold),
548 Handle SEGMENT_START/DONE messages correctly.
549 More evolved query algorithm that handles duration queries
552 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
553 (gst_element_get_state_func), (gst_element_abort_state),
554 (gst_element_commit_state), (gst_element_lost_state):
560 2005-10-25 Wim Taymans <wim@fluendo.com>
562 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
563 Don't use invalid stream_time.
565 * gst/gstevent.c: (gst_event_new_newsegment):
566 stream_time in newsegment cannot be undefined.
568 2005-10-24 Wim Taymans <wim@fluendo.com>
573 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
575 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
577 2005-10-24 Stefan Kost <ensonic@users.sf.net>
579 * docs/libs/tmpl/gstdparam.sgml:
580 * docs/libs/tmpl/gstdplinint.sgml:
581 * docs/libs/tmpl/gstdpman.sgml:
582 * docs/libs/tmpl/gstdpsmooth.sgml:
583 * docs/libs/tmpl/gstunitconvert.sgml:
586 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
591 === release 0.9.4 ===
593 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
596 releasing 0.9.4, "Tyrannosaurus Rex"
598 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
600 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
601 (gst_file_sink_get_current_offset):
602 Use fseeko() and ftello() if available. When falling back on
603 lseek() to get the current offset, fflush() first to make sure
604 everything is up-to-date and we get the right offset.
606 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
608 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
609 * gst/base/gstbasesrc.c: (gst_base_src_loop):
610 * gst/gsterror.c: (_gst_stream_errors_init):
612 * gst/gstqueue.c: (gst_queue_loop):
614 remove prematurely added error category and clean up the instances
616 2005-10-21 Wim Taymans <wim@fluendo.com>
618 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
619 (gst_base_sink_get_position), (gst_base_sink_query),
620 (gst_base_sink_change_state):
621 Simply set the right flag when going to playing, that's all
622 we need to do instead of calling a function inside the object
623 lock (that could take the lock as well and deadlock)
625 2005-10-21 Wim Taymans <wim@fluendo.com>
627 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
629 Don't warn, the peer element knows what to do best when
630 the seek failed, it might try something else.
632 2005-10-21 Wim Taymans <wim@fluendo.com>
634 * gst/base/gstbasesrc.c: (gst_base_src_init),
635 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
638 2005-10-21 Wim Taymans <wim@fluendo.com>
640 * docs/design/part-segments.txt:
643 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
644 Correctly set caps, even on the subbufer.
646 2005-10-21 Wim Taymans <wim@fluendo.com>
648 * docs/gst/gstreamer-docs.sgml:
649 * docs/gst/gstreamer-sections.txt:
656 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
660 And 2% more doc coverage.
662 2005-10-21 Andy Wingo <wingo@pobox.com>
664 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
667 2005-10-20 Wim Taymans <wim@fluendo.com>
669 * gst/gsterror.c: (gst_error_get_message):
672 * gst/gststructure.c:
677 2005-10-20 Wim Taymans <wim@fluendo.com>
682 Another 1% more coverage.
684 2005-10-20 Wim Taymans <wim@fluendo.com>
686 * docs/gst/gstreamer-sections.txt:
687 * gst/gstelement.c: (gst_element_get_state_func),
688 (gst_element_abort_state), (gst_element_commit_state),
689 (gst_element_lost_state):
691 * gst/gstquery.c: (gst_query_set_position),
692 (gst_query_parse_position), (gst_query_set_duration),
693 (gst_query_parse_duration), (gst_query_new_convert):
695 Yay! 1% more docs coverage.
697 2005-10-20 Wim Taymans <wim@fluendo.com>
700 * gst/gstquery.c: (gst_query_set_position),
701 (gst_query_parse_position), (gst_query_set_duration),
702 (gst_query_parse_duration), (gst_query_new_convert):
704 * gst/gstutils.c: (gst_element_query_convert):
706 Docs and consistency fixes.
708 2005-10-20 Wim Taymans <wim@fluendo.com>
714 2005-10-20 Wim Taymans <wim@fluendo.com>
716 * gst/gstbin.c: (message_check), (bin_replace_message),
717 (bin_remove_messages), (is_eos), (gst_bin_add_func),
718 (update_degree), (gst_bin_sort_iterator_next),
719 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
720 Reworked the message handling a bit, cache the messages instead of
721 only the senders. alows us to do more in the future.
723 2005-10-20 Wim Taymans <wim@fluendo.com>
725 * docs/design/part-TODO.txt:
728 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
729 (gst_base_sink_query):
730 Don't use clock time to report position when in EOS.
732 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
734 * tools/gst-inspect.c: (print_interfaces),
735 (print_element_properties_info), (print_element_info):
736 Fix interface output with gst-inspect -a; don't print
737 newlines after double/float properties.
739 2005-10-20 Wim Taymans <wim@fluendo.com>
741 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
742 (gst_base_sink_query):
743 Speed up current position calculation.
745 * gst/base/gstbasesrc.c: (gst_base_src_query),
746 (gst_base_src_default_newsegment):
747 Correctly set stream position in newsegment.
749 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
750 (update_degree), (gst_bin_sort_iterator_next),
751 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
752 * gst/gstmessage.c: (gst_message_new_custom):
753 Clean up debugging info
755 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
756 (gst_queue_loop), (gst_queue_handle_src_query):
759 2005-10-19 Wim Taymans <wim@fluendo.com>
761 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
762 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
763 Fix query handling again.
765 2005-10-19 Wim Taymans <wim@fluendo.com>
767 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
768 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
769 * gst/base/gstbasesrc.c: (gst_base_src_query):
770 * gst/elements/gstfilesink.c: (gst_file_sink_query):
771 * gst/elements/gsttypefindelement.c:
772 (gst_type_find_handle_src_query), (find_element_get_length),
773 (gst_type_find_element_activate):
776 * gst/gstquery.c: (gst_query_new_position),
777 (gst_query_set_position), (gst_query_parse_position),
778 (gst_query_new_duration), (gst_query_set_duration),
779 (gst_query_parse_duration), (gst_query_set_segment),
780 (gst_query_parse_segment):
782 Bundling query position/duration is not a good idea since duration
783 does not change much and we don't want to recalculate it for every
784 position query, so they are separated again..
785 Base value in segment query is not needed.
787 * gst/gstqueue.c: (gst_queue_handle_src_query):
788 * gst/gstutils.c: (gst_element_query_position),
789 (gst_element_query_duration), (gst_pad_query_position),
790 (gst_pad_query_duration):
792 Updates for query API change.
793 Added some docs here and there.
795 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
797 * check/gst/gstbin.c: (GST_START_TEST):
798 * check/gst/gstghostpad.c: (GST_START_TEST):
799 * check/pipelines/cleanup.c: (GST_START_TEST):
800 wait on thread to die so we can check refcount correctly
802 2005-10-18 Wim Taymans <wim@fluendo.com>
804 * check/pipelines/stress.c: (GST_START_TEST):
805 Make check a little more time consuming.
807 2005-10-18 Wim Taymans <wim@fluendo.com>
810 * check/pipelines/stress.c: (GST_START_TEST),
811 (simple_launch_lines_suite), (main):
812 Small state change torture test.
814 * docs/design/part-states.txt:
815 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
816 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
817 (gst_base_sink_change_state):
818 Never take state lock from streaming thread, clean up ugly
819 hacks. Unfortunatly core does not yet support nice ways to
822 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
824 Start state recalc if a STATE_DIRTY message is posted, but only
827 * gst/gstelement.c: (gst_element_sync_state_with_parent),
828 (gst_element_get_state_func), (gst_element_abort_state),
829 (gst_element_commit_state), (gst_element_lost_state),
830 (gst_element_set_state_func), (gst_element_change_state):
832 State variables are now protected with the LOCK, the state
833 lock is only used to serialize _set_state().
835 2005-10-18 Wim Taymans <wim@fluendo.com>
837 * check/gst/gstbin.c: (GST_START_TEST):
838 * check/gst/gstmessage.c: (GST_START_TEST):
839 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
840 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
842 * gst/gstelement.c: (gst_element_abort_state),
843 (gst_element_commit_state), (gst_element_lost_state):
844 * gst/gstmessage.c: (gst_message_new_state_changed),
845 (gst_message_new_state_dirty), (gst_message_new_segment_start),
846 (gst_message_new_segment_done), (gst_message_new_duration),
847 (gst_message_parse_state_changed),
848 (gst_message_parse_segment_start),
849 (gst_message_parse_segment_done), (gst_message_parse_duration):
851 * tools/gst-launch.c: (event_loop):
852 Seriously, this is better than a previous commit as we only need
853 to notify the fact that an element changed state in a streaming
854 thread, marking the state of the parents dirty, hence the
855 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
858 2005-10-18 Wim Taymans <wim@fluendo.com>
860 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
861 (gst_bin_recalc_func):
862 * gst/gstelement.c: (gst_element_set_clock),
863 (gst_element_abort_state), (gst_element_lost_state):
864 Cleanups, prepare for state change fixes.
866 2005-10-18 Wim Taymans <wim@fluendo.com>
869 * gst/gstelement.c: (gst_element_class_init),
870 (gst_element_set_state), (gst_element_set_state_func):
873 GThreadPool in GstBinClass to monitor async state changes.
874 state_cookie in GstElement to detect concurrent gst/set state.
875 set_state is now virtual too in case a very complicated element
876 has to be constructed.
878 2005-10-18 Wim Taymans <wim@fluendo.com>
880 * check/gst/gstbin.c: (GST_START_TEST):
881 * check/gst/gstmessage.c: (GST_START_TEST):
882 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
883 * gst/gstbin.c: (bin_bus_handler):
884 * gst/gstelement.c: (gst_element_commit_state),
885 (gst_element_lost_state):
886 * gst/gstmessage.c: (gst_message_new_state_changed),
887 (gst_message_new_segment_start), (gst_message_new_segment_done),
888 (gst_message_new_duration), (gst_message_parse_state_changed),
889 (gst_message_parse_segment_start),
890 (gst_message_parse_segment_done), (gst_message_parse_duration):
892 * tools/gst-launch.c: (event_loop):
893 Make messages future proof.
894 state-change gets a flag if it was a message comming from the
896 segment-start/stop can also be specified in other formats.
897 A message to notify an app that a pipeline changed playback
899 Also fix a GstMessage leak in -launch
901 2005-10-18 Andy Wingo <wingo@pobox.com>
903 * gst/gstelement.c (gst_element_dispose): More helpful message.
905 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
907 * gst/gstregistry.c: (gst_registry_scan_path_level):
908 unref a plug-in we get that was already initialized
910 2005-10-18 Stefan Kost <ensonic@users.sf.net>
912 * docs/gst/gstreamer-sections.txt:
913 * docs/libs/gstreamer-libs-sections.txt:
918 2005-10-17 Andy Wingo <wingo@pobox.com>
920 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
923 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
925 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
927 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
928 (gst_element_get_state_func): Better debug message.
929 (gst_element_commit_state): s/INFO/DEBUG/.
930 (gst_element_lost_state, gst_element_change_state):
932 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
933 (gst_message_new_custom): s/INFO/LOG/.
935 2005-10-17 Michael Smith <msmith@fluendo.com>
937 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
938 Check if end time is valid using end time, not start time.
940 2005-10-17 Stefan Kost <ensonic@users.sf.net>
942 * check/gst-libs/controller.c: (GST_START_TEST),
943 (gst_controller_suite):
944 * libs/gst/controller/gstcontroller.c:
945 (gst_controlled_property_set_interpolation_mode):
946 * libs/gst/controller/gstcontroller.h:
947 * libs/gst/controller/gstinterpolation.c:
948 * testsuite/controller/.cvsignore:
949 * testsuite/controller/Makefile.am:
950 * testsuite/controller/interpolator.c:
951 merge controller testsuites
953 remove mem-chunk from docs
955 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
959 * gst/gsttrashstack.c:
960 * gst/gsttrashstack.h:
961 out. get out. you're fired. to the Attic !
963 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
965 * gst/gstcaps.c: (gst_caps_intersect):
966 fix signedness issues in a (hopefully) correct way
967 * gst/gstelement.c: (gst_element_pads_activate):
969 * gst/gstobject.c: (gst_object_set_parent):
972 2005-10-17 Julien MOUTTE <julien@moutte.net>
974 * gst/gstvalue.h: Fix prototypes.
976 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
978 * docs/gst/gstreamer-sections.txt:
979 * gst/gst.c: (gst_version_string):
981 * gst/gstversion.h.in:
982 * win32/common/libgstreamer.def:
983 add gst_version_string ()
985 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
989 * gst/gst.c: (init_post):
990 * win32/common/config.h.in:
992 * gst/gstcaps.c: (gst_caps_intersect):
993 use gint64, the range could be bigger than a guint
995 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
998 document potential problem in 2038
1000 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1002 * gst/gstcaps.c: (gst_caps_intersect):
1003 Fix guint j diving under 0
1005 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1008 * win32/common/config.h:
1009 * win32/common/config.h.in:
1010 check for process.h, declares getpid() on Windows
1012 include process.h if we have it
1013 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1014 * gst/gstmemchunk.h:
1015 fix signedness issues
1016 * win32/common/libgstreamer.def:
1019 2005-10-16 Julien MOUTTE <julien@moutte.net>
1021 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1022 fix. Because of unsigned ints, caps intersection was going nuts and
1023 trying to access structures with G_MAXUINT index. That fixes
1024 videotestsrc ! ffmpegcolorspace ! fakesink
1025 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1028 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1031 use the gettext macro
1032 * gst/elements/gstelements.c:
1034 * gst/indexers/gstindexers.c:
1035 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1036 * win32/common/config.h:
1038 * win32/common/config.h.in:
1039 add the template to generate config.h
1040 * win32/common/gstenumtypes.c:
1041 * win32/common/gstversion.h:
1044 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1046 * gst/gst.c: (gst_version):
1047 * gst/gstversion.h.in:
1050 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1053 Oops, add missing closing bracket.
1055 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1058 use common m4's for argument checking
1060 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1062 * docs/gst/gstreamer-sections.txt:
1064 Add GST_EVENT_TYPE_NAME() macro.
1066 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1069 * gst/gstpluginfeature.c:
1071 privatize more symbols
1073 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1076 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1077 everything that uses GStreamer API should have the includes
1079 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1081 * docs/gst/gstreamer-sections.txt:
1082 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1084 give each value a _get_type, removes the DATA exports
1086 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1090 remove _gst_registry_auto_load, not used anymore
1091 * gst/gstbin.c: (gst_bin_get_type):
1093 * gst/gstelement.c: (gst_element_get_type):
1095 * gst/gstobject.c: (gst_object_get_type):
1097 * gst/gstpad.c: (gst_pad_get_type):
1099 make _get_type functions similar, fixes data export from library
1101 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1104 correctly make conditionals
1105 * gst/elements/Makefile.am:
1106 * gst/elements/gstelements.c:
1107 fix typo causing fdsrc not to build
1109 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1111 * testsuite/Makefile.am:
1112 * testsuite/bytestream/.cvsignore:
1113 * testsuite/bytestream/Makefile.am:
1114 * testsuite/bytestream/filepadsink.c:
1115 * testsuite/bytestream/gstbstest.c:
1116 * testsuite/bytestream/test1.c:
1117 * testsuite/bytestream/testfile1:
1118 * testsuite/caps/normalisation.c:
1119 * testsuite/caps/random.c: (main):
1120 * testsuite/cleanup/.cvsignore:
1121 * testsuite/cleanup/Makefile.am:
1122 * testsuite/cleanup/cleanup1.c:
1123 * testsuite/cleanup/cleanup2.c:
1124 * testsuite/cleanup/cleanup3.c:
1125 * testsuite/cleanup/cleanup4.c:
1126 * testsuite/cleanup/cleanup5.c:
1127 * testsuite/controller/interpolator.c:
1128 * testsuite/debug/printf_extension.c: (main):
1129 * testsuite/elements/tee.c:
1130 * testsuite/negotiation/.cvsignore:
1131 * testsuite/negotiation/Makefile.am:
1132 * testsuite/negotiation/pad_link.c:
1133 * testsuite/pad/Makefile.am:
1134 * testsuite/pad/chainnopull.c:
1135 * testsuite/pad/getnopush.c:
1136 * testsuite/pad/link.c:
1137 * testsuite/refcounting/sched.c: (create_pipeline):
1138 * testsuite/registry/Makefile.am:
1139 * testsuite/registry/gst-print-formats.c:
1140 * testsuite/schedulers/.cvsignore:
1141 * testsuite/schedulers/142183-2.c:
1142 * testsuite/schedulers/142183.c:
1143 * testsuite/schedulers/143777-2.c:
1144 * testsuite/schedulers/143777.c:
1145 * testsuite/schedulers/147713.c:
1146 * testsuite/schedulers/147819.c:
1147 * testsuite/schedulers/147894-2.c:
1148 * testsuite/schedulers/147894.c:
1149 * testsuite/schedulers/Makefile.am:
1150 * testsuite/schedulers/group_link.c:
1151 * testsuite/schedulers/queue_link.c:
1152 * testsuite/schedulers/relink.c:
1153 * testsuite/schedulers/unlink.c:
1154 * testsuite/schedulers/unref.c:
1155 * testsuite/schedulers/useless_iteration.c:
1156 * testsuite/states/bin.c:
1157 clean out/remove some stuff from the testsuite directories
1159 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1162 check for some headers
1163 * gst/elements/Makefile.am:
1164 * gst/elements/gstelements.c:
1165 don't compile fdsrc without sys/socket.h
1166 * gst/indexers/Makefile.am:
1167 * gst/indexers/gstindexers.c: (plugin_init):
1168 don't compile fileindex without mmap
1170 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1177 * check/Makefile.am:
1178 * docs/gst/Makefile.am:
1179 * examples/helloworld/Makefile.am:
1181 * gst/base/Makefile.am:
1182 * gst/check/Makefile.am:
1183 * gst/elements/Makefile.am:
1184 * gst/indexers/Makefile.am:
1185 * gst/parse/Makefile.am:
1186 * libs/gst/controller/Makefile.am:
1187 * libs/gst/dataprotocol/Makefile.am:
1188 * examples/helloworld/helloworld.c: (event_loop):
1189 compile fixes, though it's not being compiled currently
1191 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1193 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1194 Add some simple tests for the new taglist date API.
1196 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1198 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1199 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1200 Beautify 'last-message' output: print 'none' for buffer timestamps
1201 and durations if none is set; improve alignment with next messages.
1203 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1205 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1206 * gst/gstpluginfeature.h:
1207 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1208 * gst/gstregistry.h:
1209 * docs/gst/gstreamer-sections.txt:
1210 Add new API to check plugin feature version requirements.
1212 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1213 Some basic tests for the above.
1215 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1217 * gst/gststructure.c: (gst_structure_to_string):
1218 guard against NULL printf - happens when for example
1219 a message structure with GstClock gets serialized
1221 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1223 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1224 Fix presumable copy'n'pasto.
1226 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1228 * gst/elements/gstfakesrc.h:
1229 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1230 * gst/elements/gsttypefindelement.c:
1232 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1233 I wonder if this could actually write +2GB files before
1235 2005-10-13 Andy Wingo <wingo@pobox.com>
1237 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1238 Fix Timmeke Waymans bug.
1239 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1240 string of the proper length to gst_caps_from_string. There's a
1241 potential for, before this fix, that this could cause someone
1242 connecting over the network to cause a segfault if the payload is
1245 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1247 * docs/design/draft-push-pull.txt:
1248 * docs/design/part-overview.txt:
1249 * docs/random/TODO-pre-0.9:
1250 * docs/random/old/ChangeLog.gstreamer:
1251 * gst/base/gstpushsrc.c:
1255 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1257 * gst/glib-compat.c: (gst_flags_get_first_value):
1258 * gst/glib-compat.h:
1259 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1260 (gst_value_compare_double), (gst_value_serialize_flags):
1261 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1264 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1266 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1267 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1269 * tools/gst-launch.c: (event_loop):
1270 print out clock nicely
1272 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1274 * docs/gst/gstreamer-sections.txt:
1276 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1277 (gst_tag_list_get_date_index):
1278 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1279 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1281 2005-10-13 Julien MOUTTE <julien@moutte.net>
1283 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1284 (gst_collectpads_chain):
1285 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1288 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1290 * docs/gst/gstreamer-sections.txt:
1293 * tools/gst-inspect.c: (main):
1294 * tools/gst-launch.c: (main):
1295 * tools/gst-run.c: (main):
1296 * tools/gst-xmlinspect.c: (main):
1297 fix GOption context leaks
1300 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1304 * win32/common/config.h:
1306 * win32/vs6/grammar.dsp:
1307 * win32/vs6/libgstelements.dsp:
1308 * win32/vs6/libgstreamer.dsp:
1311 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1313 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1314 * gst/base/gstbasesrc.c: (gst_base_src_query):
1315 fix more guint64<->gdouble conversions
1317 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1320 add win32-update target
1321 * win32/common/gstconfig.h:
1322 * win32/common/gstenumtypes.c:
1323 * win32/common/gstenumtypes.h:
1324 * win32/common/gstversion.h:
1325 add files that visual studio can't generate
1327 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1330 add a win32-update target
1333 2005-10-12 Wim Taymans <wim@fluendo.com>
1335 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1336 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1337 * gst/gstelement.c: (gst_element_commit_state),
1338 (gst_element_set_state):
1339 Protect flags with proper lock.
1340 unref provided cached clock in dispose.
1342 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1345 * gst/gstminiobject.h:
1347 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1348 removed unused flags from miniobject
1351 2005-10-12 Wim Taymans <wim@fluendo.com>
1353 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1354 (gst_file_sink_event), (gst_file_sink_render):
1355 Flush before seeking.
1357 2005-10-12 Andy Wingo <wingo@pobox.com>
1359 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1360 always been the case.
1362 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1364 * check/gst/gstbin.c: (GST_START_TEST):
1365 * docs/gst/gstreamer-sections.txt:
1366 * gst/base/gstbasesink.c: (gst_base_sink_init):
1367 * gst/base/gstbasesrc.c: (gst_base_src_init),
1368 (gst_base_src_get_range), (gst_base_src_check_get_range),
1369 (gst_base_src_start), (gst_base_src_stop):
1370 * gst/base/gstbasesrc.h:
1371 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1372 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1373 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1377 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1379 * gst/gstelement.c: (gst_element_is_locked_state),
1380 (gst_element_set_locked_state), (gst_element_commit_state),
1381 (gst_element_set_state):
1383 * gst/gstindex.c: (gst_index_init):
1385 * gst/gstminiobject.h:
1386 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1387 (gst_object_set_parent):
1389 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1390 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1392 * gst/gstpadtemplate.h:
1393 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1394 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1395 * gst/gstpipeline.h:
1396 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1397 (gst_file_index_commit):
1398 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1399 * testsuite/pad/link.c: (gst_test_src_init),
1400 (gst_test_filter_init), (gst_test_sink_init):
1401 * testsuite/states/locked.c: (main):
1402 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1403 moved bitshift from macro to enum definition
1405 2005-10-12 Wim Taymans <wim@fluendo.com>
1407 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1408 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1409 (gst_file_sink_render):
1410 Some more debugging info.
1412 2005-10-12 Wim Taymans <wim@fluendo.com>
1414 * docs/design/part-states.txt:
1415 * tools/gst-launch.c: (main):
1417 Revert non-intentional change.
1419 2005-10-12 Wim Taymans <wim@fluendo.com>
1421 * check/gst/gstbin.c: (GST_START_TEST):
1422 * check/gst/gstelement.c: (GST_START_TEST):
1423 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1424 * check/gst/gstghostpad.c: (GST_START_TEST):
1425 * check/gst/gstpipeline.c: (GST_START_TEST):
1426 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1427 * check/states/sinks.c: (GST_START_TEST):
1428 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1429 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1430 (gst_bin_remove_func), (gst_bin_get_state_func),
1431 (gst_bin_recalc_state), (gst_bin_change_state_func),
1433 * gst/gstelement.c: (gst_element_get_state_func),
1434 (gst_element_get_state), (gst_element_abort_state),
1435 (gst_element_commit_state), (gst_element_set_state),
1436 (gst_element_change_state), (gst_element_change_state_func):
1438 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1439 (gst_pipeline_provide_clock_func):
1440 * gst/gstutils.c: (gst_element_link_pads_filtered):
1441 * tools/gst-launch.c: (main):
1442 * tools/gst-typefind.c: (main):
1443 Use GstClockTime in _get_state() instead of GTimeVal.
1444 Remove old code in gstutils.c
1446 2005-10-12 Andy Wingo <wingo@pobox.com>
1448 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1451 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1452 there is no task. Shouldn't affect any code, as nothing in our
1453 plugins checks this return value.
1454 (gst_pad_stop_task): Also take the stream lock if the pad has no
1457 2005-10-12 Wim Taymans <wim@fluendo.com>
1459 * gst/gstpad.c: (pre_activate), (post_activate),
1460 (gst_pad_activate_pull), (gst_pad_activate_push):
1461 Cleanup activation code. Reset old state if
1464 2005-10-12 Wim Taymans <wim@fluendo.com>
1466 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1467 (gst_base_sink_change_state):
1468 No need to prerol after receiving EOS.
1470 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1471 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1472 * gst/elements/gstidentity.c: (gst_identity_event):
1473 Print events more verbosely.
1475 2005-10-12 Wim Taymans <wim@fluendo.com>
1477 * check/Makefile.am:
1478 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1479 * check/states/sinks2.c:
1480 Moved sinks2 testcode in sinks check.
1482 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1483 (gst_bin_remove_func), (gst_bin_recalc_state),
1484 (gst_bin_change_state_func), (bin_bus_handler):
1485 Fix potential race condition when _get_state() iterated over an
1486 ASYNC element right before it posted a state completion.
1489 Do proper cast here.
1491 * gst/gstevent.c: (gst_event_new_newsegment),
1492 (gst_event_parse_newsegment):
1493 A playback rate of 0.0 is not allowed.
1495 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1497 * win32/common/config.h:
1498 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1499 (_trewinddir), (_ttelldir), (_tseekdir):
1500 * win32/common/dirent.h:
1501 * win32/common/gtchar.h:
1502 * win32/common/libgstbase.def:
1503 * win32/common/libgstreamer.def:
1504 * win32/vs6/grammar.dsp:
1505 * win32/vs6/gst_inspect.dsp:
1506 * win32/vs6/gst_launch.dsp:
1507 * win32/vs6/gstreamer.dsw:
1508 * win32/vs6/libgstbase.dsp:
1509 * win32/vs6/libgstelements.dsp:
1510 * win32/vs6/libgstreamer.dsp:
1511 Visual Studio 6 project files, and a new common directory.
1514 2005-10-11 Wim Taymans <wim@fluendo.com>
1516 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1517 (gst_base_sink_do_sync), (gst_base_sink_query),
1518 (gst_base_sink_change_state):
1519 * gst/base/gstbasesink.h:
1520 Correctly parse newsegment info.
1522 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1524 * gst/gst.c: (init_post):
1525 split plugin paths correctly
1527 2005-10-11 Wim Taymans <wim@fluendo.com>
1529 * check/gst/gstevent.c: (GST_START_TEST):
1530 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1531 (gst_base_sink_change_state):
1532 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1533 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1534 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1535 * gst/gstevent.c: (gst_event_new_newsegment),
1536 (gst_event_parse_newsegment):
1538 Added extra flag to newsegment for future API freeze.
1539 Updated check and base elements.
1541 2005-10-11 Julien MOUTTE <julien@moutte.net>
1543 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1544 (gst_collectpads_add_pad), (gst_collectpads_pop),
1545 (gst_collectpads_event), (gst_collectpads_chain):
1546 * gst/base/gstcollectpads.h: Handle EOS correctly.
1548 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1550 * tools/gst-launch.c: (main):
1551 more null protecting
1553 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1555 * gst/gst-i18n-lib.h:
1556 check for ENABLE_NLS, not GETTEXT_PACKAGE
1557 * gst/gstregistry.c: (gst_registry_add_plugin),
1558 (gst_registry_scan_path_level),
1559 (_gst_registry_remove_cache_plugins):
1560 protect possibly NULL strings
1561 * gst/parse/types.h:
1562 config.h already included before
1563 * tools/gst-inspect.c: (main):
1564 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1565 check for ENABLE_NLS, not GETTEXT_PACKAGE
1566 * tools/gst-launch.c: (main):
1567 check for ENABLE_NLS, not GETTEXT_PACKAGE
1569 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1572 if we don't have glib, fail before testing 2.8
1573 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1574 fix a leak, should fix plugins-base testsuite
1576 2005-10-11 Andy Wingo <wingo@pobox.com>
1578 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1579 take the mode we're going to as an arg. Go head and set the mode
1580 and flushing flags now, so that if the activate function starts a
1581 thread all the flags will be in the right state.
1582 (post_activate): Renamed also. Just handle making sure streaming
1583 finishes for the deactivation case, and setting the deactivated
1585 (gst_pad_set_active): Complain loudly if deactivation fails.
1586 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1587 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1588 remove the terrible hack.
1590 2005-10-11 Wim Taymans <wim@fluendo.com>
1592 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1593 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1594 (gst_bin_recalc_state), (gst_bin_change_state_func),
1595 (gst_bin_dispose), (bin_bus_handler):
1597 Prepare to make current EOS message queue more generic.
1600 * gst/gstevent.c: (gst_event_new_newsegment),
1601 (gst_event_parse_newsegment):
1603 Rename base to stream_time.
1608 2005-10-11 Wim Taymans <wim@fluendo.com>
1610 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1611 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1612 (gst_bin_change_state_func), (bin_bus_handler):
1614 Work on proper clock selection.
1616 2005-10-11 Edward Hervey <edward@fluendo.com>
1618 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1619 * libs/gst/controller/gstcontroller.h:
1620 Added GList* version of _remove_properties() in order to be able to wrap
1623 2005-10-11 Wim Taymans <wim@fluendo.com>
1625 * docs/design/part-states.txt:
1628 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1629 (gst_bin_change_state_func), (bin_bus_handler):
1630 Doc updates. Don't distribute the same clock over and over again.
1636 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1637 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1638 (gst_pad_send_event):
1640 Make probe emission threadsafe again.
1641 Register quarks and move _get_name() from utils.
1644 * gst/gstpipeline.c: (gst_pipeline_class_init),
1645 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1646 Only redistribute the clock of it changed.
1648 * gst/gstsystemclock.h:
1653 Moved the _flow_get_name() to GstPad.
1655 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1657 * check/gst-libs/gdp.c: (GST_START_TEST):
1658 * check/gst/gstcaps.c: (GST_START_TEST):
1659 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1660 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1661 (gst_dp_packet_from_caps):
1662 fix more valgrind warnings before turning up the heat
1664 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1666 * gst/parse/grammar.y:
1667 some cleanup before the hacking
1669 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1671 * gst/base/gstbasesrc.c: (gst_base_src_query):
1673 * gst/gstutils.c: (gst_guint64_to_gdouble),
1674 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1676 externalize, basesrc uses it
1677 obviously the implementation needs testing
1679 2005-10-10 Wim Taymans <wim@fluendo.com>
1681 * tests/sched/Makefile.am:
1682 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1683 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1685 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1687 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1688 apparently converting from guint64 to double is not implemented
1691 2005-10-10 Wim Taymans <wim@fluendo.com>
1693 * check/Makefile.am:
1694 * check/generic/states.c: (GST_START_TEST):
1695 * check/gst/gstbin.c: (GST_START_TEST):
1696 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1697 * check/states/sinks.c: (GST_START_TEST):
1698 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1700 Check fixes, use API as stated in design docs, remove hacks.
1702 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1703 (gst_base_sink_change_state):
1704 Catch stopping our task while we're shutting down.
1706 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1707 (gst_bin_remove_func), (gst_bin_get_state_func),
1708 (gst_bin_recalc_state), (gst_bin_change_state_func),
1711 * gst/gstelement.c: (gst_element_init),
1712 (gst_element_get_state_func), (gst_element_abort_state),
1713 (gst_element_commit_state), (gst_element_lost_state),
1714 (gst_element_set_state), (gst_element_change_state),
1715 (gst_element_change_state_func):
1717 New state change algorithm (see #318116)
1719 * gst/gstpipeline.c: (gst_pipeline_class_init),
1720 (gst_pipeline_init), (gst_pipeline_set_property),
1721 (gst_pipeline_get_property), (do_pipeline_seek),
1722 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1723 * gst/gstpipeline.h:
1724 Remove crude state change hacks.
1729 * tools/gst-launch.c: (main):
1730 Fixes for state change. Needs some more work to fully use the
1733 2005-10-10 Andy Wingo <wingo@pobox.com>
1735 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1737 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1738 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1741 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1743 * gst/gstiterator.c: (gst_iterator_new):
1744 Fix my previous commit: GTypes passed to gst_iterator_new()
1745 can be fundamental types.
1747 2005-10-10 Wim Taymans <wim@fluendo.com>
1749 * gst/gstelement.c: (gst_element_iterate_pad_list),
1750 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1751 (gst_element_iterate_sink_pads):
1752 Use src/sink pads lists for the respective iterators instead
1755 2005-10-10 Andy Wingo <wingo@pobox.com>
1757 Merged in popt removal + GOption addition patch from Ronald, bug
1760 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1761 GstElement macros around, remove popt-related symbols, add goption
1764 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1766 * docs/gst/Makefile.am:
1767 * docs/libs/Makefile.am: No POPT_CFLAGS.
1769 * examples/manual/Makefile.am:
1770 * docs/manual/basics-init.xml: Doc updates with an example.
1772 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1773 (gst_init), (parse_one_option), (parse_goption_arg):
1774 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1775 bit of hand merging and debugging to get the GOption stuff working
1778 * tests/Makefile.am:
1779 * tools/Makefile.am:
1780 * tools/gst-inspect.c: (main):
1781 * tools/gst-launch.c: (main):
1782 * tools/gst-run.c: (main):
1783 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1785 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1787 * gst/gstiterator.c: (gst_iterator_new):
1788 Add assertions to make sure passed GType is likely to really
1789 be a GType (as the compiler won't catch it if the size and
1790 GType arguments get mixed up, see #318447).
1792 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1794 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1796 * gst/gstbin.c: (gst_bin_iterate_sorted):
1797 Pass GType and size arguments to gst_iterator_new() in the right
1798 order (maybe we should make _new() take the GType as first argument
1799 just like _new_list()?) (#318447).
1802 2005-10-10 Wim Taymans <wim@fluendo.com>
1804 * gst/gstelement.c: (gst_element_finalize):
1805 And free the GStaticRecMutex too
1807 2005-10-10 Andy Wingo <wingo@pobox.com>
1809 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1810 Allocate and free the mutex properly.
1812 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1814 (GstElement): The state_lock is now recursive. Rebuild your
1815 plugins, suckers. Old macros adapted.
1817 * docs/gst/gstreamer-sections.txt: Doc updates.
1820 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1821 (g_static_rec_cond_wait): Ported from state changes patch, while
1822 we wait on bug #317802 to be solved in a well-distributed GLib.
1824 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1825 gst_element_change_state, variable name changes.
1826 (gst_element_change_state): Split out of gst_element_set_state in
1827 preparation for the state change merge. Doesn't pay attention to
1828 the 'transition' argument.
1829 (gst_element_set_state): Updates, hopefully purely cosmetic.
1830 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1832 (gst_element_get_state_func): Renamed from get_state, cosmetic
1835 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1837 * gst/elements/gstelements.c:
1838 * win32/GStreamer.vcproj:
1840 * win32/dirent.c: (_tseekdir):
1841 * win32/gst-inspect.vcproj:
1842 * win32/gst-launch.vcproj:
1843 * win32/gstconfig.h:
1844 * win32/gstelements.vcproj:
1845 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1846 * win32/gstreamer.def:
1848 updates for the win32 build (patch from Sebastien Moutte)
1850 2005-10-10 Andy Wingo <wingo@pobox.com>
1852 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1853 gst_bin_get_state, cleaned up (but no logic changes).
1854 (bin_element_is_sink): Comment updates.
1855 (sink_iterator_filter): Remove needless cast.
1856 (gst_bin_iterate_sinks): Doc update.
1857 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1858 cleaned up (but no logic changes).
1860 * check/states/sinks.c (test_src_sink): Cleanups from the state
1862 (test_livesrc_sink): Sync on the state.
1864 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1865 the state change patch.
1867 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1870 * check/gst/gstbin.c: Merge in some style fixes and additional
1871 checks from Wim's state change patch.
1873 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1875 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1876 (gst_type_find_helper):
1877 Check whether we have the requested data already in our list of
1878 cached buffers before pulling a new buffer; also make the buffer
1879 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1881 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1886 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1887 don't use long long, it's not portable. Replacing with
1888 gint64 seems to work; let's hope no skeletons fall out of the closet.
1890 2005-10-10 Andy Wingo <wingo@pobox.com>
1892 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1894 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1896 * docs/gst/gstreamer-sections.txt:
1901 * gst/gstmessage.c: (gst_message_parse_state_changed):
1904 more docs, fix compilation
1906 2005-10-09 Philippe Khalaf <burger@speedy.org>
1908 Fixed a few forgotten variables on previous commit
1910 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1912 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1913 Fix evil typefind crasher: getrange() might return a short
1914 buffer at the end of a file, but gst_type_find_peek() must
1915 either return the full data as requested or NULL, but
1916 never a short buffer.
1918 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1920 * gst/gstmessage.c: (gst_message_new_state_changed),
1921 (gst_message_parse_state_changed):
1923 don't use "new", it's a C++ keyword
1925 2005-10-08 Wim Taymans <wim@fluendo.com>
1927 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1928 * gst/gstelement.c: (gst_element_post_message):
1929 * gst/gstpipeline.c: (gst_pipeline_change_state):
1930 Small docs and debug updates.
1932 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1934 * docs/gst/gstreamer-sections.txt:
1935 * gst/gstelementfactory.c:
1940 2005-10-08 Wim Taymans <wim@fluendo.com>
1942 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1943 (gst_bin_dispose), (bin_bus_handler):
1944 Fix typos, add comments.
1945 Clear EOS list when going to PAUSED from any direction and do it
1946 in a threadsafe way.
1947 Get base time in a threadsafe way too.
1948 Fix confusing debug in the change_state function.
1949 Various other small cleanups.
1951 * gst/gstelement.c: (gst_element_post_message):
1952 Fix very verbose bus posting code.
1954 * gst/gstpipeline.c: (gst_pipeline_class_init),
1955 (gst_pipeline_set_property), (gst_pipeline_get_property),
1956 (gst_pipeline_change_state):
1957 Small ARG_ -> PROP_ cleanup
1959 2005-10-08 Wim Taymans <wim@fluendo.com>
1961 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1962 Do a less CPU demanding EOS check because we can.
1964 2005-10-08 Wim Taymans <wim@fluendo.com>
1966 * libs/gst/dataprotocol/dataprotocol.c:
1967 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1968 (gst_dp_packet_from_event):
1969 * libs/gst/dataprotocol/dataprotocol.h:
1970 * libs/gst/dataprotocol/dp-private.h:
1971 It's about time we bump the version number.
1972 Since event types don't fit in the guint8 anymore describing
1973 the payload type, make payload type 16 bits wide.
1975 2005-10-08 Wim Taymans <wim@fluendo.com>
1977 * docs/design/part-TODO.txt:
1978 * docs/design/part-clocks.txt:
1979 * docs/design/part-events.txt:
1980 * docs/design/part-gstbin.txt:
1981 * docs/design/part-gstelement.txt:
1982 * docs/design/part-gstpipeline.txt:
1983 * docs/design/part-live-source.txt:
1984 * docs/design/part-messages.txt:
1985 * docs/design/part-overview.txt:
1986 * docs/design/part-states.txt:
1989 2005-10-08 Wim Taymans <wim@fluendo.com>
1993 Fix event quark registration.
1994 Add some space between events so we can insert them in the
1997 2005-10-08 Wim Taymans <wim@fluendo.com>
1999 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2000 (gst_base_sink_handle_buffer):
2007 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2008 (gst_queue_set_property), (gst_queue_get_property):
2010 Remove old unused properties.
2012 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2013 * docs/gst/gstreamer-sections.txt:
2016 * gst/gstminiobject.c:
2017 * gst/gstminiobject.h:
2021 lots of new docs and doc fixes
2023 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2025 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2027 * gst/gstregistry.c: (gst_registry_lookup_locked),
2028 (gst_registry_scan_path_level):
2029 * gst/gstregistryxml.c: (load_plugin):
2030 Only ever load one plugin for a given plugin basename.
2031 This ensures correct overriding of GST_PLUGIN_PATH over
2032 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2033 system installed plugins.
2035 2005-10-08 Wim Taymans <wim@fluendo.com>
2037 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2038 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2039 Prepare for doing QOS.
2041 2005-10-08 Wim Taymans <wim@fluendo.com>
2043 * check/gst/gstbin.c: (GST_START_TEST):
2044 * check/pipelines/cleanup.c: (GST_START_TEST):
2045 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2046 Allow new clock message too.
2048 2005-10-08 Wim Taymans <wim@fluendo.com>
2050 * gst/gstmessage.c: (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_clock_lost), (gst_message_new_new_clock),
2054 (gst_message_new_segment_start), (gst_message_new_segment_done),
2055 (gst_message_parse_state_changed),
2056 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2057 (gst_message_parse_new_clock):
2059 Also carry the clock in question.
2061 2005-10-08 Wim Taymans <wim@fluendo.com>
2063 * gst/gstmessage.c: (gst_message_new_custom),
2064 (gst_message_new_eos), (gst_message_new_error),
2065 (gst_message_new_warning), (gst_message_new_tag),
2066 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2067 (gst_message_new_new_clock), (gst_message_new_segment_start),
2068 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2069 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2072 Added clock related messages.
2074 * gst/gstpipeline.c: (gst_pipeline_change_state):
2075 Post message when the clock changed.
2077 * tools/gst-launch.c: (event_loop):
2080 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2082 * tools/gst-inspect.c: (print_element_properties_info):
2083 Can't pass NULL strings to g_print() on windows.
2085 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2088 * docs/gst/Makefile.am:
2089 * docs/gst/gstreamer-docs.sgml:
2090 * docs/gst/running.xml:
2091 * docs/version.entities.in:
2092 add a chapter on running GStreamer.
2093 document GST_DEBUG and GST_PLUGIN* env vars
2095 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2100 remove PLUGINS_BUILDDIR stuff
2101 * gst/gst.c: (init_post):
2102 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2104 remove, it was condescending and not needed
2106 2005-10-08 Wim Taymans <wim@fluendo.com>
2108 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2109 (gst_base_sink_handle_object), (gst_base_sink_event),
2110 (gst_base_sink_wait), (gst_base_sink_handle_event),
2111 (gst_base_sink_change_state):
2112 * gst/base/gstbasesink.h:
2113 Repost EOS message while going to PLAYING if still EOS.
2114 Make sure that when receiving a FLUSH_START we don't attempt
2115 to sync on the clock anymore.
2117 2005-10-08 Wim Taymans <wim@fluendo.com>
2119 * tools/gst-launch.c: (event_loop):
2120 Better message printout.
2122 2005-10-08 Wim Taymans <wim@fluendo.com>
2124 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2125 (gst_bin_child_proxy_get_children_count):
2126 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2127 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2128 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2129 (gst_child_proxy_set_valist):
2130 * gst/parse/grammar.y:
2131 Make ChildProxy threadsafe and fix mem leaks.
2133 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2135 * gst/gst.c: (init_post):
2136 debug the GST_PLUGIN_ env vars
2138 2005-10-08 Wim Taymans <wim@fluendo.com>
2140 * check/gst/gstbin.c: (GST_START_TEST):
2141 * check/gst/gstmessage.c: (GST_START_TEST):
2142 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2143 * gst/gstelement.c: (gst_element_commit_state),
2144 (gst_element_lost_state):
2145 * gst/gstmessage.c: (gst_message_new_state_changed),
2146 (gst_message_parse_state_changed):
2148 * tools/gst-launch.c: (event_loop):
2149 Added extra field to STATE_CHANGE message with the pending
2150 state, which will be different from the new state soon.
2152 2005-10-08 Wim Taymans <wim@fluendo.com>
2154 * gst/gstbus.c: (gst_bus_pop):
2156 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2157 Small cleanups and doc updates.
2159 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2161 * gst/gst.c: (init_pre):
2162 * gst/gstbin.c: (gst_bin_add_func):
2163 log distributing clocks and base time
2164 * gst/gstregistry.c: (gst_registry_add_plugin),
2165 (gst_registry_scan_path_level), (gst_registry_scan_path):
2166 clean up the debugging output a little
2167 * gst/gstutils.c: (gst_element_state_get_name):
2168 warn about a memleak (I've actually seen this be used, though
2169 it was probably a bug)
2171 2005-10-07 Wim Taymans <wim@fluendo.com>
2173 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2174 (gst_base_src_init), (gst_base_src_default_newsegment),
2175 (gst_base_src_newsegment), (gst_base_src_do_seek),
2176 (gst_base_src_loop), (gst_base_src_start):
2177 * gst/base/gstbasesrc.h:
2178 Make the newsegment event customizable by subclasses.
2180 2005-10-07 Wim Taymans <wim@fluendo.com>
2182 * gst/gstevent.c: (gst_event_new_buffersize),
2183 (gst_event_parse_buffersize):
2185 New event for future idea.
2187 2005-10-07 Andy Wingo <wingo@pobox.com>
2189 * gst/gstelement.c (gst_element_post_message): Doc update.
2191 * docs/gst/gstreamer-sections.txt: Update.
2193 * gst/gstmessage.c (gst_message_new_application): Made into a
2194 function like honest API calls.
2195 (gst_message_new_element): New message type.
2197 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2199 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2200 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2203 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2204 NO_PREROLL from gst_element_change_state to fall through.
2206 2005-10-07 Wim Taymans <wim@fluendo.com>
2208 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2209 (gst_ghost_pad_do_activate_push):
2210 Activating a ghostpad with no internal pad in push mode
2213 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2216 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2217 Fixes compilation on Windows.
2219 2005-10-07 Michael Smith <msmith@fluendo.com>
2221 * tools/gst-inspect.c:
2222 Print out feature and plugin count at the end when printing out
2225 2005-10-04 Michael Smith <msmith@fluendo.com>
2227 * gst/gsterror.c: (_gst_stream_errors_init):
2228 Add another error string used in a few existing plugins.
2231 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2232 * tools/gst-inspect.c: (print_element_info):
2233 When a feature disappears from a plugin (and the feature exists in
2234 the cached registry file), things went horribly wrong. This isn't a
2235 complete fix, we should actually be removing the 'missing' features
2236 from the features list when we load the actual plugin. That's not
2239 2005-10-04 Johan Dahlin <johan@gnome.org>
2241 * check/gst/gstiterator.c: (GST_START_TEST):
2242 * gst/gstbin.c: (gst_bin_iterate_elements),
2243 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2244 * gst/gstelement.c: (gst_element_iterate_pads):
2245 * gst/gstformat.c: (gst_format_iterate_definitions):
2246 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2247 (gst_iterator_new_list), (gst_iterator_filter):
2248 * gst/gstiterator.h:
2249 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2250 Add a GType to GstIterator, update callsites and tests.
2252 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2254 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2255 give events a chance to be handled by event probes when the pad
2258 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2260 * gst/gstevent.c: (gst_event_type_get_name),
2261 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2263 add string representations for event types
2265 2005-10-06 Wim Taymans <wim@fluendo.com>
2267 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2268 Don't use NULL pointers.
2270 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2272 * gst/gst_private.h:
2276 * gst/gstpluginfeature.c:
2277 widen the debug category in output to fit the biggest one we have
2278 add a bus category and use it
2279 play with the colors
2280 fix up some categories
2282 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2284 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2285 add push activation of sink ghost pads.
2286 Andye, please verify
2288 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2290 * gst/gstutils.c: (gst_element_link_pads):
2291 fix a bug in the case where neither element has a pad
2292 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2293 add a test for that case
2295 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2297 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2298 emit have-data before checking for peers. This allows
2299 for probe handlers to connect elements. This helps autopluggers.
2300 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2302 add six checks, linked/unlinked with no/true/false probe
2304 2005-10-04 Wim Taymans <wim@fluendo.com>
2306 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2307 (gst_fake_sink_event), (gst_fake_sink_preroll),
2308 (gst_fake_sink_render), (gst_fake_sink_change_state):
2309 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2310 (gst_fake_src_get_property), (gst_fake_src_create),
2311 (gst_fake_src_stop):
2312 * gst/elements/gstidentity.c: (gst_identity_stop):
2313 Protect last_message with lock.
2315 2005-10-04 Edward Hervey <edward@fluendo.com>
2318 Added precision in the comments for GST_FORMAT_DEFAULT
2320 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2322 * tools/gst-launch.c: (main):
2323 Don't try to run erroneous pipelines.
2325 2005-10-04 Julien MOUTTE <julien@moutte.net>
2327 * gst/gstbus.c: We don't need this header.
2329 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2334 === release 0.9.3 ===
2336 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2340 Releasing 0.9.3, "Unregistered"
2342 2005-10-03 Andy Wingo <wingo@pobox.com>
2344 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2345 whereby calling a pad's activatepush() function can start a thread
2346 that starts to push or pull before the pad gets the FLUSHING flag
2347 unset. Hack around it by holding the stream lock until the flag is
2348 set. Need to replace this with a proper solution. Together with
2349 the ghost pad fixes, this fixes mp3 playing/tagreading.
2351 * docs/design/part-gstghostpad.txt: Add a note about activation of
2352 proxy pads outside of ghost pads.
2354 * gst/gstghostpad.c: Implement the ghost pad activation design.
2356 2005-10-02 Andy Wingo <wingo@pobox.com>
2358 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2359 It is volatile, after all.
2361 * docs/design/part-gstghostpad.txt: Flesh out activation with
2364 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2367 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2370 Fix (unused) AM_CONDITIONAL tests.
2372 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2374 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2376 * gst/gstutils.c: (gst_pad_query_convert):
2377 Add assertion that makes sure src_val is >=0, just like
2378 gst_query_new_convert() has. (#315895)
2380 2005-09-30 Edward Hervey <edward@fluendo.com>
2382 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2383 Let's not iterate pads we're not interested in, it avoids getting
2384 sky-high refcounts on sinkpad.
2386 2005-09-30 Wim Taymans <wim@fluendo.com>
2388 * gst/gstelement.c: (gst_element_set_state),
2389 (gst_element_change_state):
2390 Small tweak, element in ASYNC remains ASYNC.
2392 2005-09-30 Wim Taymans <wim@fluendo.com>
2394 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2395 Only error is an error.
2397 * gst/gstbin.c: (gst_bin_change_state):
2400 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2401 Also call pad_block in pad alloc.
2403 * gst/gstutils.c: (gst_flow_get_name):
2406 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2408 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2409 (gst_base_src_get_range):
2410 Fix documentation typos. Add some more debug info.
2412 2005-09-29 David Schleef <ds@schleef.org>
2414 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2415 more end-user friendly.
2416 * tools/gst-inspect.c: (main): Check if command-line argument is
2417 a file and attempt to load that file as a plugin.
2419 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2421 * check/gst/gstbin.c:
2422 * check/states/sinks.c:
2423 fix tests for the new warning
2424 * check/gst/gstpipeline.c:
2425 add a test for pipeline and bus interaction
2427 elements should be NULL if they get disposed; add a warning if not
2429 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2432 for 2.6 refcounting, make debug log more correct by printing
2433 the actual refcounts at the time of swap (Wim)
2435 2005-09-29 Andy Wingo <wingo@pobox.com>
2437 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2438 removes signal watches previously added via
2439 gst_bus_add_signal_watch.
2440 (gst_bus_add_signal_watch): Don't return the source id, just store
2441 it on the bus if there wasn't an id already.
2443 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2444 add_signal_watch and remove_signal_watch.
2446 2005-09-29 Edward Hervey <edward@fluendo.com>
2448 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2449 Better if we actually iterate the list :)
2451 2005-09-29 Wim Taymans <wim@fluendo.com>
2453 * check/gst/gstbin.c: (GST_START_TEST):
2454 Change for new bus API.
2456 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2457 (send_messages), (GST_START_TEST), (gstbus_suite):
2458 Change for new bus signal API.
2460 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2461 (gst_bus_source_prepare), (gst_bus_source_check),
2462 (gst_bus_create_watch), (gst_bus_add_watch_full),
2463 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2464 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2466 Remove support for multiple GSources operating on different
2467 message types as it is too complex and unneeded when using
2469 Added support for receiving signals from the bus.
2471 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2473 * docs/libs/tmpl/gstdataprotocol.sgml:
2474 * docs/manual/advanced-dataaccess.xml:
2475 * gst/elements/gstcapsfilter.c:
2477 rename filter-caps to caps property
2479 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2481 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2482 More robust fraction string parsing.
2484 * docs/pwg/appendix-porting.xml:
2485 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2487 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2489 * gst/gstcaps.c: (gst_caps_do_simplify):
2490 Thou shalt not free a structure and then continue using it
2491 in the next loop iteration.
2493 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2495 Add test case for caps simplification.
2497 2005-09-29 Wim Taymans <wim@fluendo.com>
2499 * check/gst/gstbin.c: (GST_START_TEST):
2502 2005-09-29 Wim Taymans <wim@fluendo.com>
2504 * check/gst/gstbin.c: (GST_START_TEST):
2507 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2508 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2509 (find_element), (gst_bin_sort_iterator_next),
2510 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2511 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2512 (gst_bin_change_state), (gst_bin_dispose):
2513 A bin does not have a bus, it gets the bus from the parent.
2515 * gst/gstelement.c: (gst_element_requires_clock),
2516 (gst_element_provides_clock), (gst_element_is_indexable),
2517 (gst_element_is_locked_state), (gst_element_change_state),
2518 (gst_element_set_bus_func):
2521 * gst/gstpipeline.c: (gst_pipeline_class_init),
2522 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2523 The pipeline provides a bus.
2525 2005-09-28 Johan Dahlin <johan@gnome.org>
2527 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2528 gst_structure_get_enum instead of gst_structure_get_int
2530 * gst/gststructure.c (gst_structure_get_enum): Impl.
2532 * gst/gststructure.h (gst_structure_get_enum): Add
2534 * docs/gst/gstreamer-sections.txt: Ditto
2536 * gst/gstmessage.c (gst_message_new_state_changed): Use
2537 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2538 which does introspection.
2539 Reviewed by Christian Schaller
2541 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2543 * gst/gstinfo.c: (gst_debug_log_default):
2544 don't do dummy g_strdup()s
2545 * libs/gst/controller/gstcontroller.c:
2546 (on_object_controlled_property_changed),
2547 (gst_controlled_property_new), (gst_controller_new_valist),
2548 (gst_controller_new_list),
2549 (gst_controller_remove_properties_valist), (gst_controller_set),
2550 (gst_controller_get), (gst_controller_sync_values),
2551 (gst_controller_get_value_array), (_gst_controller_class_init),
2552 (gst_controller_get_type):
2553 * libs/gst/controller/gstcontroller.h:
2554 * libs/gst/controller/gstinterpolation.c:
2555 (gst_controlled_property_find_timed_value_node):
2556 convert // to /**/ comments
2558 2005-09-28 Wim Taymans <wim@fluendo.com>
2560 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2561 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2562 (gst_bus_sync_signal_handler):
2564 Added async-message and sync-message signals to the bus.
2565 Added helper BusFunc to emit signals for all posted messages.
2567 * gst/gstmessage.c: (gst_message_type_get_name),
2568 (gst_message_type_to_quark), (gst_message_get_type):
2570 Register quarks for message names.
2572 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2574 * docs/libs/gstreamer-libs-sections.txt:
2575 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2576 (gst_controller_new_list):
2577 * libs/gst/controller/gstcontroller.h:
2578 added another constructor for language bindings
2580 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2582 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2586 * gst/gstinfo.c: (_gst_debug_init):
2587 slightly more readable color for refcount debugging
2589 2005-09-28 Wim Taymans <wim@fluendo.com>
2591 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2592 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2593 (find_element), (gst_bin_sort_iterator_next),
2594 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2595 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2596 (gst_bin_change_state), (gst_bin_dispose):
2597 Small doc fixes. get_clock -> provide_clock.
2599 * gst/gstelement.c: (gst_element_class_init),
2600 (gst_element_provides_clock), (gst_element_provide_clock),
2601 (gst_element_get_clock), (gst_element_commit_state),
2602 (gst_element_lost_state):
2604 Make get/set_clock() symetric. Add provide_clock vmethod since
2605 that is actually what this function does.
2607 * gst/gstpipeline.c: (gst_pipeline_class_init),
2608 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2609 (gst_pipeline_get_clock):
2610 get_clock -> provide_clock.
2612 2005-09-28 Andy Wingo <wingo@pobox.com>
2614 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2615 lieu of real docs...
2617 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2619 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2621 * gst/elements/gstcapsfilter.c:
2622 * gst/elements/gstfakesink.c:
2623 * gst/elements/gstfakesrc.c:
2624 * gst/elements/gstfdsink.c:
2625 * gst/elements/gstfdsrc.c:
2626 * gst/elements/gstfilesink.c:
2627 * gst/elements/gstfilesrc.c:
2628 * gst/elements/gstidentity.c:
2629 * gst/elements/gsttee.c:
2630 * gst/elements/gsttypefindelement.c:
2631 Make element details static.
2633 2005-09-28 Wim Taymans <wim@fluendo.com>
2635 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2636 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2637 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2638 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2639 (gst_bin_change_state), (gst_bin_dispose):
2640 Some documentation updates.
2641 Clean up dispose handlers.
2643 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2644 * gst/gstpad.c: (gst_pad_dispose):
2645 Clean up dispose handler.
2647 * gst/gstpipeline.c: (gst_pipeline_change_state):
2648 Removed spurious UNLOCK.
2650 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2652 * docs/gst/gstreamer-sections.txt:
2653 * gst/base/gstbasesrc.h:
2658 * gst/gstpipeline.c:
2659 * gst/gstpipeline.h:
2662 added two new functions to the docs
2663 documents all undocumented GstXXXFlags
2664 completed some incomplete docs
2666 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2668 * gst/gstbin.c: (gst_bin_dispose):
2669 * gst/gstelement.c: (gst_element_dispose):
2670 remove now useless and leaky resurrection code in dispose
2671 * gst/base/gstbasesrc.c: (gst_base_src_init):
2672 * gst/gstelementfactory.c: (gst_element_factory_create):
2673 * gst/gstobject.c: (gst_object_set_parent):
2676 2005-09-27 Wim Taymans <wim@fluendo.com>
2678 * docs/design/part-TODO.txt:
2681 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2682 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2683 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2684 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2685 (gst_bin_change_state):
2687 Remove element variable, we keep element info in the iterator now.
2689 2005-09-27 Andy Wingo <wingo@pobox.com>
2691 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2694 2005-09-27 Wim Taymans <wim@fluendo.com>
2696 * check/gst/gstbin.c: (GST_START_TEST):
2697 Enable check that works now.
2699 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2700 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2701 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2702 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2703 (gst_bin_change_state):
2705 Redid the state change algorithm using a topological sort algo.
2706 Handles all cases correctly.
2707 Exposed iterator for state change order.
2710 Temp storage for state changes. Need to get rid of this soon.
2712 2005-09-27 Wim Taymans <wim@fluendo.com>
2714 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2715 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2716 (link_fold_func), (gst_pad_proxy_setcaps):
2717 Leak fixes, the fold functions need to unref the passed object and
2718 _get_parent_*() returns ref to parent.
2720 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2722 * check/gst/gstbuffer.c: (test_make_writable):
2723 Plug leak in test case and fix 'make check-valgrind'
2725 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2727 * gst/gstbuffer.c: (gst_subbuffer_init):
2728 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2729 works correctly in all circumstances (we could have just copied
2730 the parent buffer's readonly flag, but conceptually it seems
2731 cleaner to mark all subbuffers as read-only). (based on patch
2732 by Alessandro Decina, #314710).
2734 * check/gst/gstbuffer.c: (create_read_only_buffer),
2735 (test_make_writable), (test_subbuffer_make_writable),
2737 Add some tests for gst_buffer_make_writable().
2739 2005-09-27 Wim Taymans <wim@fluendo.com>
2741 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2742 use gst_object_has_ancestor().
2744 * gst/gstobject.c: (gst_object_has_ancestor):
2746 gst_object_has_ancestor() copied from gstbin.c as it is a
2749 * tests/instantiate/create.c: (create_all_elements):
2750 * tests/lat.c: (handoff_src), (handoff_sink):
2751 * tests/sched/runxml.c: (main):
2752 * tests/seeking/seeking1.c: (main):
2753 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2755 Fix compilation of some tests.
2757 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2760 Remove comment. GST_TYPE_G_ERROR is here to stay,
2761 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2764 2005-09-26 Wim Taymans <wim@fluendo.com>
2766 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2767 Added check that shows error in state change order.
2769 2005-09-26 Wim Taymans <wim@fluendo.com>
2771 * gst/gstbin.c: (gst_bin_change_state):
2772 Make state change function use 3 queues again, we were
2773 adding elements in the wrong order.
2775 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2778 * gst/gstpad.c: (gst_pad_dispose):
2779 Added some debug info first.
2781 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2783 * docs/design/draft-push-pull.txt:
2784 * docs/design/part-events.txt:
2785 * docs/design/part-overview.txt:
2786 * docs/design/part-scheduling.txt:
2787 Replace all _pull_region() with _pull_range()
2789 2005-09-26 Andy Wingo <wingo@pobox.com>
2791 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2793 * check/gst-libs/controller.c: Update for controller api change.
2796 * tests/Makefile.am:
2797 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2798 over by GLib bug 118439.
2800 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2801 routines to a function.
2803 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2805 * libs/gst/controller/gsthelper.c:
2806 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2807 (gst_object_sync_values): Renamed from sink_values. Ugh.
2809 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2811 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2812 Renamed from controller_key, as it is exported.
2814 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2816 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2821 * gst/gstpadtemplate.h:
2824 * gst/gstqueryutils.c:
2825 * gst/gstqueryutils.h:
2826 remove queryutils headers after moving the two used functions
2827 to gstquery. also fixes build problem for gstsiddec
2829 2005-09-26 Michael Smith <msmith@fluendo.com>
2831 * tools/gst-launch.1.in:
2832 Correct documentation in manpage of debug syntax
2834 2005-09-26 Wim Taymans <wim@fluendo.com>
2836 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2837 (gst_base_src_is_seekable), (gst_base_src_change_state):
2838 Some more debugging info.
2840 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2842 * docs/gst/gstreamer-sections.txt:
2843 * gst/base/gstbasetransform.h:
2847 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2849 * docs/gst/.cvsignore:
2850 * docs/gst/tmpl/.cvsignore:
2851 * docs/gst/tmpl/gstpipeline.sgml:
2852 * docs/gst/tmpl/gstplugin.sgml:
2853 * gst/gstpipeline.c:
2856 inlined the last two docs files
2857 removed the tmpl directory from cvs (no more conflicts here!)
2859 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2861 * docs/gst/gstreamer-sections.txt:
2862 * docs/gst/tmpl/.cvsignore:
2863 * docs/gst/tmpl/gstpad.sgml:
2864 * docs/gst/tmpl/gstpadtemplate.sgml:
2866 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2867 (gst_pad_finalize), (gst_pad_set_pad_template):
2869 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2870 (gst_pad_template_class_init), (gst_pad_template_init),
2871 (gst_pad_template_dispose), (name_is_valid),
2872 (gst_static_pad_template_get), (gst_pad_template_new),
2873 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2874 (gst_pad_template_pad_created):
2875 * gst/gstpadtemplate.h:
2876 inlined two more docs
2877 factored gstpadtemplate out of gstpad
2879 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2881 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2882 (test_children_state_change_order_semi_sink):
2883 Fix test case: we can't rely on a fixed state change order when
2884 going from READY => PAUSED because the sink might commit its
2885 new state first when the first buffer created by the source
2886 reaches the sink before the source has finished its change state.
2887 (Test case still fails at times, see #316856, comment 5 onwards)
2889 2005-09-24 Wim Taymans <wim@fluendo.com>
2891 * docs/design/part-events.txt:
2892 * docs/design/part-gstbus.txt:
2893 * docs/design/part-gstpipeline.txt:
2894 * docs/design/part-messages.txt:
2895 * docs/design/part-overview.txt:
2896 * docs/design/part-segments.txt:
2903 * gst/gstiterator.c:
2904 Various documentation updates.
2906 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2909 Well, that's embarassing. Luckily we weren't using
2910 GST_CLOCK_DIFF anywhere.
2912 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2914 * common/gtk-doc.mak:
2915 don't fail on building XML, FC4 slave shows a bunch of doc
2916 missing bits that I don't get
2918 * gst/gstpipeline.c:
2919 * gst/gststructure.c:
2922 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2924 * docs/design/part-gstbin.txt:
2925 * docs/design/part-gstbus.txt:
2927 Add blurb about how the bus goes into flushing mode and
2928 drops all messages when its bin goes from READY into NULL
2931 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2933 * docs/gst/gstreamer-sections.txt:
2934 * gst/gststructure.c: (gst_structure_get_clock_time):
2935 * gst/gststructure.h:
2936 add a method to get a GstClockTime out of a structure
2938 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2940 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2941 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2942 Added test to check state change order in bins (can still be made
2943 to fail here under heavy disk load; bails out with 'Push on pad
2944 fakesink:sink0, but it was not activated in push mode').
2946 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2947 Fix state change order when there is only a semi sink (#316856)
2949 * gst/gstbus.c: (gst_bus_class_init):
2950 Use _class_peek_parent(), not _class_ref(); fix docs to say
2951 'default main context' instead of 'mainloop' where that is
2954 * gst/gstelement.c: (gst_element_commit_state),
2955 (gst_element_set_state):
2956 Fix typos in debug messages
2958 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2961 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2962 * gst/gstpluginfeature.c:
2965 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2966 change an assert into an error until it gets fixed properly
2968 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2970 * docs/gst/gstreamer-sections.txt:
2971 * docs/gst/tmpl/.cvsignore:
2972 * docs/gst/tmpl/gstelement.sgml:
2973 * docs/gst/tmpl/gstinfo.sgml:
2974 * docs/gst/tmpl/gstobject.sgml:
2979 * gst/gstobject.c: (gst_object_class_init):
2981 inlined 3 more biiiig doc files and added some missing docs on the fly
2983 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2985 * check/gst/.cvsignore:
2986 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2987 * gst/gstregistryxml.c: (load_plugin),
2988 (gst_registry_xml_save_plugin):
2989 put back source in registry. add checks for find_plugin.
2990 * testsuite/states/bin.c: (assert_state), (empty_bin),
2991 (test_adding_one_element), (main):
2992 * testsuite/states/locked.c: (main):
2993 some compile/run fixes
2995 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2997 * check/gst/gstvalue.c: (GST_START_TEST):
2998 fix leaks in the test itself
3000 2005-09-22 Wim Taymans <wim@fluendo.com>
3002 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3003 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3004 (gst_base_sink_query):
3005 Prepare for more accurate position reporting and query
3008 * gst/gstelement.c: (gst_element_send_event),
3009 (gst_element_set_state):
3012 2005-09-22 Wim Taymans <wim@fluendo.com>
3014 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3015 (gst_query_parse_segment):
3018 Add segment query for future use.
3020 2005-09-22 Wim Taymans <wim@fluendo.com>
3022 * gst/gstbin.c: (gst_bin_add_func):
3023 Some more debug info.
3025 * gst/gstelement.c: (gst_element_send_event):
3029 Don't know how flags got broken.
3034 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3036 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3037 Add simplistic test suite for GST_TYPE_DATE serialisation and
3040 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3042 * docs/gst/gstreamer-sections.txt:
3043 * gst/gststructure.c: (gst_structure_set_valist),
3044 (gst_structure_get_date):
3045 * gst/gststructure.h:
3046 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3047 (gst_date_copy), (gst_value_compare_date),
3048 (gst_value_serialize_date), (gst_value_deserialize_date),
3049 (gst_value_transform_date_string),
3050 (gst_value_transform_string_date), (_gst_value_initialize):
3052 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3053 bunch of utility functions along with a hack that checks that
3054 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3055 is required. Part of the grand scheme in #170777.
3057 2005-09-22 Andy Wingo <wingo@pobox.com>
3059 * gst/gstconfig.h.in: Psych out gtk-doc.
3061 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3063 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3065 * tools/gst-inspect.c (print_element_list): Plug some
3066 inconsequential leaks.
3068 * gst/gstregistry.c (gst_registry_get_default): Doc.
3070 * check/gst/gstplugin.c:
3071 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3072 * gst/gstelementfactory.c (gst_element_factory_create):
3073 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3076 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3077 (gst_plugin_feature_load): Doc, don't eat refs.
3079 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3080 (gst_plugin_list_free): Doc.
3081 (gst_plugin_load_file): Doc updates.
3083 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3084 accessors returning refcounted objects, return a ref.
3086 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3087 accessor for caps. IDEMPOTENCE. Oh yes.
3089 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3091 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3093 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3094 (_gst_debug_register_funcptr):
3095 Add mutex to serialise access to the hash table with
3096 the function pointer => function name string mapping;
3097 make that hash table static scope (#316809).
3099 * gst/registries/.cvsignore:
3100 Remove left-over file.
3102 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3104 * docs/pwg/appendix-porting.xml:
3105 And something about newsegment events and caps-on-buffers to
3106 the porting guide (feel free to improve).
3108 2005-09-21 Andy Wingo <wingo@pobox.com>
3110 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3111 data and event probes on the same pad.
3112 (test_buffer_probe_once): Test that removing probes from within
3113 the probe functions works.
3115 2005-09-21 Andy Wingo <wingo@pobox.com>
3117 * check/gst/gstutils.c: New file.
3118 (test_buffer_probe_n_times): A simple buffer probe test. More to
3121 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3122 have-data::buffer, not have-data.
3123 (gst_pad_add_event_probe): Likewise for have-data::event.
3124 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3125 peer' isn't quite right yet though.
3126 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3127 (gst_pad_remove_data_probe): Change to take the guint handler_id
3128 as their arg, not the function+data, which is more glib-like.
3130 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3131 the signal emission to indicate if the data is a buffer or an
3133 (gst_pad_get_type): Initialize buffer and event quarks.
3134 (gst_pad_class_init): have-data is now a detailed signal, yes it
3137 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3139 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3140 * gst/gstutils.c: (gst_util_set_value_from_string),
3141 (gst_util_set_object_arg):
3142 Don't put functional code in g_return_if_fail() or
3143 g_return_val_if_fail() statements, otherwise things will
3144 break when G_DISABLE_CHECKS is defined during compilation.
3146 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3148 * docs/gst/tmpl/.cvsignore:
3149 * docs/gst/tmpl/gstvalue.sgml:
3152 inlied another one and added some obvious docs
3154 2005-09-21 Wim Taymans <wim@fluendo.com>
3156 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3157 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3158 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3159 (gst_fdsrc_get_property), (gst_fdsrc_create):
3160 * gst/elements/gstfdsrc.h:
3161 Properly implement fdsrc. Removed signal and timeout,
3162 better implemented somewhere else.
3164 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3166 * docs/gst/tmpl/.cvsignore:
3167 * docs/gst/tmpl/gstimplementsinterface.sgml:
3168 * gst/gstinterface.c:
3171 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3173 * docs/gst/gstreamer-sections.txt:
3174 * docs/gst/tmpl/.cvsignore:
3175 * docs/gst/tmpl/gstenumtypes.sgml:
3176 remove obsolete doc file
3178 2005-09-21 David Schleef <ds@schleef.org>
3180 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3181 little beer, fix a little leak.
3183 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3185 * docs/gst/gstreamer-docs.sgml:
3186 * docs/gst/gstreamer-sections.txt:
3187 * docs/gst/tmpl/.cvsignore:
3192 * gst/gstindex.c: (gst_index_class_init):
3194 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3195 (gst_index_factory_class_init), (gst_index_factory_init),
3196 (gst_index_factory_finalize), (gst_index_factory_new),
3197 (gst_index_factory_destroy), (gst_index_factory_find),
3198 (gst_index_factory_create), (gst_index_factory_make):
3199 * gst/gstindexfactory.h:
3200 * gst/gstpluginfeature.c:
3201 * gst/gstpluginfeature.h:
3202 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3203 more docs inlined, splitted gstindex.{c,h}
3205 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3207 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3210 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3212 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3213 Set sync to FALSE by default.
3215 2005-09-20 Wim Taymans <wim@fluendo.com>
3217 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3218 (gst_base_sink_init):
3219 Make sync property settable from subclass.
3221 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3222 (gst_fake_sink_change_state):
3223 Set sync to FALSE by default.
3225 2005-09-20 Wim Taymans <wim@fluendo.com>
3227 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3228 * tools/gst-launch.c: (main):
3229 The timeout handler should have lower priority than the source
3230 so we don't timeout before popping a message with 0 timeout.
3231 Dump error messages after failed state change.
3233 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3235 * tools/gst-inspect.c: (print_element_properties_info):
3238 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3240 * check/gst/gstevent.c:
3241 * gst/elements/gstfakesink.c:
3242 * gst/elements/gstfakesink.h:
3243 remove the sync property from fakesink.
3244 has the side effect of setting sync TRUE
3245 for fakesink, which is a change. Anyone who knows how
3246 to fix this nicely in a GObject-y way, feel free.
3248 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3250 * docs/gst/gstreamer-docs.sgml:
3251 remove probe refsection
3253 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3255 * check/Makefile.am:
3256 disable valgrinding the controller test again
3257 * docs/gst/gstreamer-sections.txt:
3258 update for api-changes
3260 2005-09-20 Wim Taymans <wim@fluendo.com>
3262 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3263 (gst_base_sink_set_property), (gst_base_sink_get_property),
3264 (gst_base_sink_do_sync):
3265 * gst/base/gstbasesink.h:
3266 Added sync property to basesink to disable clock sync.
3268 2005-09-20 Andy Wingo <wingo@pobox.com>
3270 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3271 eating the caller's refcount.
3273 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3274 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3277 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3278 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3279 of GLib 2.8 public, so we can know which refcount to check in
3282 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3283 (gst_object_init): Only set the gst refcount if we're going ahead
3284 with the refcount hack.
3286 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3288 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3289 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3290 more leaks plumbed, added more debug-logging
3294 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3297 remove include of gstmemchunk.h
3299 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3301 * gst/gstclock.c: (_gst_clock_id_free):
3302 Commit from the Political Party For More Atomic CVS Commits,
3303 so that people don't waste too much of their day fishing
3304 out obvious leaks out of massive commits.
3305 Oh, and fix a pretty damn obvious leak in the memchunk
3308 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3310 * check/Makefile.am:
3311 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3312 plug mem-leak, re-add to valgrindable tests
3314 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3317 unbreak the build for those who have chronic arthritis
3318 and typing "make check" is just too taxing on the hands
3320 2005-09-20 Andy Wingo <wingo@pobox.com>
3322 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3323 really want it out, you should fix plugins at the same time.
3325 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3328 * docs/gst/gstreamer-sections.txt:
3330 added missing symbols to api docs
3331 disable ref-count hack if we have glib >= 2.8
3333 2005-09-19 David Schleef <ds@schleef.org>
3335 * docs/gst/Makefile.am: Ignore a few more internal headers
3336 * docs/gst/gstreamer-docs.sgml: Remove old sections
3337 * docs/gst/gstreamer-sections.txt: Remove old sections
3338 * docs/gst/tmpl/gstobject.sgml: update
3339 * docs/gst/tmpl/gstplugin.sgml: update
3340 * docs/gst/tmpl/gstpluginfeature.sgml: update
3341 * docs/random/ds/0.9-suggested-changes: update.
3342 * gst/Makefile.am: remove memchunk and trashstack, since they're
3344 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3345 * gst/gst.h: don't include some headers
3346 * gst/gstchildproxy.c: add gstmarshal.h
3347 * gst/gstclock.c: Don't use memchunks
3348 * gst/gstminiobject.c: Add some docs
3349 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3350 * gst/gstobject.h: same
3351 * gst/gstplugin.c: include gstmacros.h
3352 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3353 * gst/gstquery.c: don't use memchunks
3354 * gst/gstregistry.c: rename gst_registry_deinit()
3355 * gst/gstregistry.h: same
3357 2005-09-19 David Schleef <ds@schleef.org>
3359 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3360 * docs/libs/gstreamer-libs-sections.txt:
3361 * docs/libs/tmpl/gstgetbits.sgml:
3362 * docs/libs/tmpl/gstputbits.sgml:
3364 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3366 * win32/gstenumtypes.c:
3367 * win32/gstenumtypes.h:
3370 2005-09-19 Wim Taymans <wim@fluendo.com>
3372 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3373 Automatically PAUSE and RESUME a pipeline when a flushing seek
3376 2005-09-19 Andy Wingo <wingo@pobox.com>
3378 * gst/gstregistry.h: Spacing fixen.
3380 2005-09-19 Wim Taymans <wim@fluendo.com>
3382 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3383 Handle state change failure more correctly.
3385 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3387 * check/Makefile.am:
3388 * check/pipelines/cleanup.c: (run_pipeline):
3389 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3391 enable cleanup again after fixing the leak
3393 some more info on docs
3395 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3397 * check/Makefile.am:
3398 re-enable tests now that leaks are plugged
3400 * check/gst/gstbin.c:
3401 * check/gst/gstpipeline.c:
3402 add some more tests while fixing leaks
3404 make sure binaries are uptodate when valgrinding/gdbing
3406 * gst/gstelementfactory.c:
3407 remove a ref too many, and add a FIXME for when we get
3408 round to disposing of classes
3410 fix the refcounting when loading a plugin from a file and
3411 the code pretends that the pointer is the same even though
3412 of course it can change
3413 * gst/gstpluginfeature.c:
3414 unref plugins marked cached (a bit confusing as a name)
3415 as the docs state should be done
3416 various doc additions to explain refcounting
3417 * gst/gstregistry.c:
3418 * gst/gstregistryxml.c:
3421 2005-09-19 Wim Taymans <wim@fluendo.com>
3423 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3424 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3425 (send_messages), (GST_START_TEST), (gstbus_suite):
3426 * check/gst/gstpipeline.c: (GST_START_TEST):
3427 * check/pipelines/cleanup.c: (run_pipeline):
3428 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3430 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3431 (gst_bus_source_check), (gst_bus_source_dispatch),
3432 (gst_bus_create_watch), (gst_bus_add_watch_full),
3433 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3435 * tools/gst-launch.c: (event_loop):
3436 * tools/gst-md5sum.c: (event_loop):
3437 GstBusHandler -> GstBusFunc, return value has the same meaning as
3438 any other GSource (FALSE == remove source).
3439 _add_watch() and _add_watch_full() now take a MessageType mask to
3440 only handle specific types of messages.
3441 _poll() returns the GstMessage instead of the message type to avoid
3443 _have_pending() takes a MessageType mask now too.
3444 Added testsuite for multiple bus watches.
3445 Fix testsuites and applications for new bus API.
3447 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3449 * check/Makefile.am:
3450 mark a bunch of the tests as to fix until we fix them
3452 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3455 use GST_PLUGIN settings for valgrind tests as well, so we're
3456 valgrinding the correct thing
3457 * gst/gst.c: (init_post):
3460 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3462 * gst/gst.c: (init_post), (gst_deinit):
3463 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3464 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3465 * gst/gstindex.c: (gst_index_factory_class_init),
3466 (gst_index_factory_finalize):
3467 * gst/gstobject.c: (gst_object_dispose):
3468 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3469 (gst_plugin_load_file), (gst_plugin_desc_free):
3470 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3471 (gst_plugin_feature_finalize):
3472 * gst/gstregistry.c: (gst_registry_class_init),
3473 (gst_registry_init), (gst_registry_finalize),
3474 (gst_registry_get_default), (gst_registry_deinit):
3475 * gst/gstregistry.h:
3476 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3477 various cleanups and memleak plugging. make valgrind is happy now.
3479 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3482 add a check-valgrind target
3484 2005-09-18 David Schleef <ds@schleef.org>
3486 * tools/gst-inspect.c: Revert the GOption code.
3488 2005-09-17 David Schleef <ds@schleef.org>
3490 * check/Makefile.am: Fix environment variables.
3491 * check/gst/gstplugin.c: Fix for API changes.
3492 * tools/gst-inspect.c: Fix for API changes.
3493 * tools/gst-xmlinspect.c: Fix for API changes.
3494 * gst/gstelementfactory.c:
3497 * gst/gstpluginfeature.c:
3498 * gst/gstpluginfeature.h:
3499 * gst/gstregistry.c:
3500 * gst/gstregistry.h:
3501 * gst/gstregistryxml.c:
3502 * gst/gsttypefind.c:
3503 * gst/gsttypefindfactory.c:
3504 * gst/indexers/gstfileindex.c:
3505 * gst/indexers/gstmemindex.c:
3506 * gst/schedulers/Makefile.am:
3507 Change registry to keep track of both plugins and features,
3508 removing the feature tracking from plugins themselves.
3510 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3512 * check/Makefile.am:
3513 * tools/gst-register.1.in:
3516 2005-09-15 David Schleef <ds@schleef.org>
3518 * check/gst/gstplugin.c:
3519 * gst/gstelementfactory.c:
3521 * gst/gstpluginfeature.c:
3522 * gst/gstregistry.c:
3523 Getting tired of debugging. Disabled all the unreffing of
3524 plugins and features, which fixes the segfaults, but of
3525 course leaks like crazy. At least playbin works.
3527 2005-09-15 David Schleef <ds@schleef.org>
3529 * check/gst/gstplugin.c: (register_check_elements),
3530 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3532 * gst/elements/gsttypefindelement.c: Fix refcounting.
3533 * gst/gsttypefind.c:
3534 * gst/gsttypefindfactory.c:
3535 * gst/gsttypefindfactory.h:
3537 2005-09-15 David Schleef <ds@schleef.org>
3539 * gst/gstindex.c: get refcounting correct.
3540 * gst/gstregistry.c: Handle the case where a feature/plugin is
3543 2005-09-15 David Schleef <ds@schleef.org>
3545 * check/Makefile.am:
3546 * check/gst/gstplugin.c: Add test
3547 * gst/gstplugin.c: Fix problems noticed by testsuite
3549 * gst/gstregistry.c:
3550 * gst/gstregistry.h:
3552 2005-09-15 David Schleef <ds@schleef.org>
3554 * gst/gstplugin.c: Implement semi-decent recounting and locking
3555 in plugins and plugin features.
3557 * gst/gstpluginfeature.c:
3558 * gst/gstpluginfeature.h:
3559 * gst/gstregistry.c:
3561 2005-09-15 Michael Smith <msmith@fluendo.com>
3563 * gst/gstregistry.c: (gst_registry_get_feature_list):
3564 Implement this. Makes oggdemux work; decodebin still broken.
3566 2005-09-14 David Schleef <ds@schleef.org>
3568 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3570 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3571 * gst/check/Makefile.am:
3572 * libs/gst/controller/Makefile.am:
3573 * libs/gst/dataprotocol/Makefile.am:
3575 2005-09-14 David Schleef <ds@schleef.org>
3577 * configure.ac: Remove getbits library. Nothing uses it, and
3578 it should be in something like liboil if someone did want
3580 * libs/gst/Makefile.am:
3581 * libs/gst/getbits/Makefile.am:
3582 * libs/gst/getbits/gbtest.c:
3583 * libs/gst/getbits/getbits.c:
3584 * libs/gst/getbits/getbits.h:
3585 * libs/gst/getbits/gstgetbits_generic.c:
3586 * libs/gst/getbits/gstgetbits_i386.s:
3587 * libs/gst/getbits/gstgetbits_inl.h:
3589 2005-09-14 David Schleef <ds@schleef.org>
3591 * gst/Makefile.am: Dist glib-compat.h
3593 2005-09-14 David Schleef <ds@schleef.org>
3595 * configure.ac: Remove gst/registries, since it's no longer used.
3596 * gst/registries/Makefile.am:
3597 * gst/registries/gstlibxmlregistry.c:
3598 * gst/registries/gstlibxmlregistry.h:
3599 * gst/registries/gstxmlregistry.c:
3600 * gst/registries/gstxmlregistry.h:
3601 * gst/registries/registrytest.c:
3603 2005-09-14 David Schleef <ds@schleef.org>
3605 * gst/glib-compat.h:
3606 * gst/gstregistryxml.c:
3607 Convergence is near. Seriously.
3609 2005-09-14 David Schleef <ds@schleef.org>
3611 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3612 * gst/glib-compat.h:
3613 Attempt #4 to appease the buildbots.
3615 2005-09-14 David Schleef <ds@schleef.org>
3617 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3620 2005-09-14 David Schleef <ds@schleef.org>
3622 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3625 2005-09-14 David Schleef <ds@schleef.org>
3627 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3630 2005-09-14 David Schleef <ds@schleef.org>
3632 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3633 * gst/glib-compat.h: Add some functions that are in newer versions
3634 of glib than we care to require.
3635 * gst/gstregistryxml.c: Use them.
3637 2005-09-14 David Schleef <ds@schleef.org>
3639 * po/POTFILES.in: remove gst-register.c
3641 2005-09-14 David Schleef <ds@schleef.org>
3643 * docs/gst/gstreamer-docs.sgml:
3644 * docs/gst/gstreamer-sections.txt:
3645 * docs/gst/gstreamer.types:
3646 * docs/gst/tmpl/gstelement.sgml:
3647 * docs/gst/tmpl/gstplugin.sgml:
3648 * docs/gst/tmpl/gstpluginfeature.sgml:
3649 Documentation updates for registry changes.
3651 2005-09-14 David Schleef <ds@schleef.org>
3653 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3654 because we don't require glib-2.8.
3656 2005-09-14 David Schleef <ds@schleef.org>
3658 * gst/gstregistryxml.c: Added. Essentially moved out of the
3659 registries directory.
3661 2005-09-14 David Schleef <ds@schleef.org>
3663 * check/Makefile.am:
3664 * check/generic/states.c:
3668 * gst/gst_private.h:
3669 * gst/gstelementfactory.c:
3674 * gst/gstpluginfeature.c:
3675 * gst/gstpluginfeature.h:
3676 * gst/gstregistry.c:
3677 * gst/gstregistry.h:
3678 * gst/gstregistrypool.c: remove
3679 * gst/gstregistrypool.h: remove
3680 * gst/gsttypefind.c:
3681 * gst/gsttypefindfactory.c:
3683 * tools/Makefile.am:
3684 * tools/gst-compprep.c:
3685 * tools/gst-inspect.c:
3686 * tools/gst-register.c: remove
3687 * tools/gst-xmlinspect.c:
3688 Registry rewrite. Changes registry from being a file created
3689 by a tool into a simple cache file created automatically by
3690 libgstreamer. Removed gst-register (because it's no longer
3691 needed). Remove registry pools, because we only have one
3692 registry implementation (XML). Fix up other subsystems as
3695 2005-09-13 Michael Smith <msmith@fluendo.com>
3697 * gst/gstconfig.h.in:
3698 Don't Use windows linking attributes for MinGW. Fixes #316157
3700 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3702 * gst/gstutils.c: (set_state_async_thread_func),
3703 (gst_element_set_state_async):
3704 Apparently people think it's better if this function doesn't
3705 try to set the state to whatever state was asked for on the first
3706 call to this function for any object. Seriously.
3708 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3710 * check/gst/gstpipeline.c: (GST_START_TEST):
3711 * docs/gst/gstreamer-sections.txt:
3712 * gst/gstutils.c: (set_state_async_thread_func),
3713 (gst_element_set_state_async):
3715 add a "gst_element_set_state_async" method that
3716 sets the state and starts a thread to make sure the state
3717 change completes as best as it can
3719 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3721 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3722 codify design+behaviour in testsuite after discussion
3724 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3726 * docs/gst/tmpl/gstelement.sgml:
3727 * docs/manual/appendix-quotes.xml:
3729 * gst/gstelement.c: (gst_element_set_state):
3732 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3734 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3735 (gst_base_transform_prepare_output_buf),
3736 (gst_base_transform_handle_buffer):
3737 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3738 (gst_capsfilter_prepare_buf):
3739 Remove the requirement for sub-classes to call the parent
3740 implementation of prepare_output_buffer with a wrapper function.
3743 * gst/gsttagsetter.h:
3746 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3748 * docs/gst/gstreamer-sections.txt:
3751 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3753 * docs/gst/gstreamer-sections.txt:
3754 * docs/gst/tmpl/gstelement.sgml:
3755 * docs/gst/tmpl/gstplugin.sgml:
3756 * gst/gstminiobject.c:
3758 docs now stop throwing warnings
3760 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3762 * docs/gst/gstreamer-sections.txt:
3763 * docs/gst/gstreamer.types:
3764 * docs/gst/tmpl/gstpad.sgml:
3765 * docs/gst/tmpl/gsttypes.sgml:
3766 * gst/base/gstadapter.h:
3767 * gst/base/gstbasesink.h:
3768 * gst/base/gstbasesrc.h:
3778 * gst/gststructure.c:
3779 * gst/registries/gstlibxmlregistry.h:
3780 various documentation fixes
3782 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3784 * docs/gst/gstreamer-sections.txt:
3785 * docs/gst/tmpl/gstvalue.sgml:
3786 rearrange gstvalue section
3787 * gst/gstutils.c: (gst_element_state_get_name):
3789 * gst/gstvalue.c: (_gst_value_initialize):
3793 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3795 * check/gst-libs/controller.c:
3797 * gst/base/gstbasetransform.c:
3798 (gst_base_transform_default_prepare_buf),
3799 (gst_base_transform_handle_buffer):
3800 * gst/base/gstbasetransform.h:
3801 Some more basetransform changes and fixes to enable sub-classes
3802 that modify buffer metadata only.
3803 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3804 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3805 (gst_capsfilter_prepare_buf):
3806 If the output pad has fixed allowed caps and input buffers
3807 don't have any, set the fixed caps on outgoing buffers.
3809 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3810 * check/elements/identity.c: (GST_START_TEST):
3811 Make the error a little clearer when the test fails because
3812 identity made a copy of the buffer.
3813 * docs/gst/gstreamer-sections.txt:
3814 New symbols in gstbasetransform.h
3815 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3816 (gst_base_transform_init), (gst_base_transform_transform_size),
3817 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3818 (gst_base_transform_default_prepare_buf),
3819 (gst_base_transform_get_unit_size),
3820 (gst_base_transform_buffer_alloc),
3821 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3822 (gst_base_transform_change_state),
3823 (gst_base_transform_set_passthrough),
3824 (gst_base_transform_set_in_place),
3825 (gst_base_transform_is_in_place):
3826 * gst/base/gstbasetransform.h:
3827 Change BaseTransform to separate in_place operate from same_caps
3828 output. in_place implies that the element can perform the transform
3829 on incoming buffers in-place, even if the caps on the output are
3831 Sub-class elements can now implement special buffer allocation
3832 methods for outgoing buffers if they wish to.
3833 Big documentation addition.
3834 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3835 * gst/elements/gstelements.c:
3836 Changes for basetransform modifications.
3837 * gst/elements/Makefile.am:
3838 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3839 Compile fix. Extra debug output.
3841 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3843 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3845 add tests for valid pad naming
3846 * gst/check/gstcheck.c: (gst_check_log_message_func),
3847 (gst_check_log_critical_func):
3849 remove printing of code, it is fragile when the code contains
3850 % and the line number is enough info
3851 * gst/check/gstcheck.h:
3852 * gst/gstpad.c: (gst_pad_template_new):
3855 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3858 say what CHECK flags we use
3859 * docs/libs/gstreamer-libs.types:
3860 * libs/gst/controller/Makefile.am:
3861 * libs/gst/controller/gst-controller.c:
3862 * libs/gst/controller/gst-controller.h:
3863 * libs/gst/controller/gst-helper.c:
3864 * libs/gst/controller/gst-interpolation.c:
3865 * libs/gst/controller/gstcontroller.c:
3866 * libs/gst/controller/gsthelper.c:
3867 * libs/gst/controller/gstinterpolation.c:
3868 * tools/gst-inspect.c: (print_plugin_info):
3869 we don't use dashes in header names
3871 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3873 * check/Makefile.am:
3874 * check/gst/.cvsignore:
3875 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3876 (gst_pipeline_suite), (main):
3877 adding a test for pipelines and state changes
3878 * gst/gstutils.c: (get_state_func):
3880 * gstreamer.spec.in:
3883 2005-09-08 Michael Smith <msmith@fluendo.com>
3885 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3886 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3887 (gst_file_src_is_seekable), (gst_file_src_get_size),
3888 (gst_file_src_start):
3889 * gst/elements/gstfilesrc.h:
3890 Various fixes for unseekable, unmmapable, and non-normal files, so
3891 that fallback to read() rather than mmap() works.
3892 * gst/gstevent.c: (gst_event_new_newsegment):
3893 Allow newsegment events with segment_start == segment_end, as will
3894 correctly happen if you use filesrc on a zero-size file, for
3897 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3899 * gst/gstplugin.c: (gst_plugin_load_file):
3900 Call g_module_close when we don't load the module
3902 * gst/registries/gstlibxmlregistry.c:
3903 (gst_xml_registry_get_property):
3904 Port leak fix from 0.8
3906 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3908 * docs/gst/gstreamer-docs.sgml:
3909 * docs/gst/tmpl/.cvsignore:
3910 * docs/gst/tmpl/gsttrace.sgml:
3911 * docs/gst/tmpl/gsttrashstack.sgml:
3920 * gst/gsttaginterface.c:
3921 * gst/gsttaginterface.h:
3924 * gst/gsttagsetter.c:
3925 * gst/gsttagsetter.h:
3928 * gst/gsttrashstack.c:
3929 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3930 inlined docs for gsttrace, gsttrashstack
3932 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3935 * gst/elements/gstbufferstore.h:
3936 * gst/elements/gsttypefindelement.c:
3937 * gst/elements/gsttypefindelement.h:
3939 * gst/gsttypefind.c:
3940 * gst/gsttypefind.h:
3941 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3942 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3943 (gst_type_find_factory_dispose),
3944 (gst_type_find_factory_unload_thyself),
3945 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3946 (gst_type_find_factory_get_caps),
3947 (gst_type_find_factory_get_extensions),
3948 (gst_type_find_factory_call_function):
3949 * gst/gsttypefindfactory.h:
3950 * gst/registries/gstlibxmlregistry.c:
3951 * gst/registries/gstxmlregistry.c:
3952 splitted gsttypefind into gsttypefind, gsttypefindfactory
3954 2005-09-07 Andy Wingo <wingo@pobox.com>
3956 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3957 condition whereby the pad's task function is entered before the
3958 pad_mode variable was set.
3960 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3962 * gst/gstpad.c: (gst_pad_alloc_buffer):
3963 Catch misbehaving pad_alloc functions that don't
3964 set up caps and do it for them.
3966 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3968 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3970 * docs/gst/tmpl/.cvsignore:
3971 * docs/gst/tmpl/gstmemchunk.sgml:
3972 * docs/gst/tmpl/gstparse.sgml:
3973 * docs/gst/tmpl/gsttaglist.sgml:
3974 * docs/gst/tmpl/gsttagsetter.sgml:
3975 * docs/gst/tmpl/gsttypefind.sgml:
3976 * docs/gst/tmpl/gsttypefindfactory.sgml:
3977 * gst/gstmemchunk.c:
3980 * gst/gsttaginterface.c:
3981 * gst/gsttypefind.c:
3982 * gst/gsttypefind.h:
3985 === release 0.9.2 ===
3987 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3992 releasing 0.9.2, "South"
3994 2005-09-05 Andy Wingo <wingo@pobox.com>
3996 * gst/registries/gstxmlregistry.h:
3997 * gst/registries/gstxmlregistry.c: Um... resurrect...
3999 * gst/registries/gstxmlregistry.h:
4000 * gst/registries/gstxmlregistry.c: and update to newer API.
4001 Incidentally they should be a bit faster now that they don't have
4004 2005-09-05 Andy Wingo <wingo@pobox.com>
4006 * gst/registries/gstxmlregistry.h:
4007 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4008 replaced by the libxml registry a while back
4010 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4012 * docs/gst/tmpl/gstplugin.sgml:
4013 * gst/elements/gstelements.c:
4015 * gst/gstplugin.c: (gst_plugin_register_func),
4016 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4017 (gst_plugin_get_source):
4019 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4020 (gst_xml_registry_save_plugin):
4021 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4022 (gst_xml_registry_save_plugin):
4023 * tools/gst-inspect.c: (print_plugin_info):
4024 add a "source" plugin description field, to represent the source
4025 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4026 will set it to PACKAGE, which is automake's idea of the name of
4029 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4035 * docs/faq/Makefile.am:
4036 * docs/gst/tmpl/gstelement.sgml:
4037 * docs/gst/tmpl/gsttypes.sgml:
4038 * docs/htmlinstall.mak:
4039 * docs/manual/Makefile.am:
4040 * docs/pwg/Makefile.am:
4041 reorganize doc build a little
4042 split out docbook and gtk-doc stuff
4043 have two separate --enable's and enable them through autogen
4044 but disable by default in configure (to be similar to other
4046 * gstreamer.spec.in:
4047 clean up docs install
4067 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4069 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4072 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4073 (gst_fake_sink_change_state):
4074 Make state change function thread-safe.
4076 * gst/gstpad.c: (gst_pad_alloc_buffer):
4077 Set offset on generic buffer allocated by fallback.
4079 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4081 * docs/gst/gstreamer-sections.txt:
4082 * docs/gst/tmpl/gstelement.sgml:
4084 * libs/gst/controller/gst-controller.c:
4085 (gst_controlled_property_set_interpolation_mode),
4086 (gst_controlled_property_new),
4087 (gst_controller_find_controlled_property):
4088 run the wingo-magic script against the docs
4090 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4092 * docs/gst/gstreamer-docs.sgml:
4093 * docs/gst/gstreamer-sections.txt:
4094 * docs/gst/tmpl/.cvsignore:
4095 * docs/gst/tmpl/gstelementdetails.sgml:
4096 * docs/gst/tmpl/gstelementfactory.sgml:
4099 * gst/gstelementfactory.c:
4100 * gst/gstelementfactory.h:
4101 merged elementdetails docs into elementfactory docs
4104 2005-09-02 Andy Wingo <wingo@pobox.com>
4106 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4107 consider this enum an enum and not a flags.
4109 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4111 * docs/gst/gstreamer-docs.sgml:
4112 * docs/gst/tmpl/.cvsignore:
4113 * docs/gst/tmpl/gstghostpad.sgml:
4114 * docs/gst/tmpl/gstiterator.sgml:
4115 * docs/gst/tmpl/gstmacros.sgml:
4116 * docs/gst/tmpl/gstrealpad.sgml:
4117 * docs/gst/tmpl/gstregistry.sgml:
4118 * docs/gst/tmpl/gstregistrypool.sgml:
4119 * docs/gst/tmpl/gststructure.sgml:
4120 * docs/gst/tmpl/gstsystemclock.sgml:
4121 * docs/gst/tmpl/gsttrace.sgml:
4122 * gst/gstghostpad.c:
4124 * gst/gstmemchunk.c:
4125 * gst/gstmemchunk.h:
4127 * gst/gstregistry.c:
4128 * gst/gstregistrypool.c:
4129 * gst/gststructure.c:
4130 * gst/gstsystemclock.c:
4133 2005-09-02 Andy Wingo <wingo@pobox.com>
4135 * gst/gstelement.h (GstState): Renamed from GstElementState,
4136 changed to be a normal enum instead of flags.
4137 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4138 munged to be GST_STATE_CHANGE_*.
4139 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4140 work with the new state representation.
4141 (GstStateChange): New enumeration of possible state transitions.
4142 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4143 (GstElementClass::change_state): Pass the GstStateChange along as
4144 an argument. Helps language bindings, so they don't have to use
4145 tricky lock-needing macros like GST_STATE_CHANGE ().
4147 * scripts/update-states (file): New script. Run it on a file to
4148 update it for state naming and API changes. Updates files in
4151 * All files updated for the new API.
4153 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4155 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4156 * gst/gstutils.c: (gst_util_set_value_from_string),
4157 (gst_util_set_object_arg):
4158 fix a bunch of unchecked return values
4159 * tools/gst-complete.c: (main):
4160 * gstreamer.spec.in:
4163 2005-09-01 Wim Taymans <wim@fluendo.com>
4165 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4166 (gst_base_sink_event), (gst_base_sink_do_sync),
4167 (gst_base_sink_handle_event):
4168 * gst/base/gstbasesink.h:
4169 Handle newsegments more correctly.
4174 * gst/gstevent.c: (gst_event_new_newsegment):
4175 A newsegment cannot have a start_time of -1
4177 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4179 * win32/gstenumtypes.c:
4180 * win32/gstenumtypes.h:
4183 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4185 * libs/gst/controller/gst-controller.c:
4186 (gst_controlled_property_set_interpolation_mode),
4187 (gst_controlled_property_new):
4190 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4192 * docs/faq/gst-uninstalled:
4197 * gst/gstutils.c: (gst_element_link_filtered):
4199 add gst_element_link_filtered
4201 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4203 * docs/gst/gstreamer-docs.sgml:
4204 * docs/gst/gstreamer-sections.txt:
4205 * docs/gst/tmpl/.cvsignore:
4206 * docs/gst/tmpl/gsterror.sgml:
4207 * docs/gst/tmpl/gstfilter.sgml:
4208 * docs/gst/tmpl/gsturihandler.sgml:
4209 * docs/gst/tmpl/gsturitype.sgml:
4210 * docs/gst/tmpl/gstutils.sgml:
4211 * docs/gst/tmpl/gstxml.sgml:
4219 inlined more docs, fixed double id-ref
4221 2005-08-31 Wim Taymans <wim@fluendo.com>
4223 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4224 (gst_base_transform_handle_buffer):
4225 Passthrough elements don't need the caps as they don't care.
4227 2005-08-31 Wim Taymans <wim@fluendo.com>
4229 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4230 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4231 Don't leak refcounts on buffers.
4233 2005-08-31 Wim Taymans <wim@fluendo.com>
4235 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4236 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4237 (gst_base_transform_chain), (gst_base_transform_change_state):
4238 * gst/base/gstbasetransform.h:
4239 Handle the case where we are not negotiated more gracefully.
4241 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4243 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4244 (gst_file_src_map_region):
4245 Set READONLY flag on mmap'ed buffers, otherwise
4246 gst_buffer_make_writable() won't work properly (#314708).
4248 2005-08-31 Wim Taymans <wim@fluendo.com>
4250 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4251 passthrough elements can even do inplace on non writable
4252 buffers (as they don't touch them).
4254 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4256 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4257 (gst_test_mono_source_set_property),
4258 (gst_test_mono_source_class_init), (GST_START_TEST),
4259 (gst_controller_suite):
4260 more tests (hehe I have the most)
4262 describe popping messages whenusing mulltiple sources
4263 * libs/gst/controller/gst-controller.c:
4264 (gst_controlled_property_set_interpolation_mode),
4265 (gst_controlled_property_new):
4266 * libs/gst/controller/gst-controller.h:
4267 * libs/gst/controller/gst-interpolation.c:
4268 implement boolean properties
4270 2005-08-31 Wim Taymans <wim@fluendo.com>
4272 * gst/gstminiobject.c: (gst_mini_object_ref):
4273 Cannot assert that the refcount has to be positive
4274 since a disposed object can be resurrected.
4276 2005-08-31 Wim Taymans <wim@fluendo.com>
4278 * gst/gstpad.c: (gst_pad_init):
4279 Revert change, need to first fix badly behaving
4282 2005-08-30 Wim Taymans <wim@fluendo.com>
4284 * check/elements/fakesrc.c: (setup_fakesrc):
4285 * check/elements/identity.c: (setup_identity):
4286 Activate pads before using them.
4288 2005-08-30 Wim Taymans <wim@fluendo.com>
4290 * gst/base/gstadapter.c: (gst_adapter_flush):
4291 Flushing out 0 bytes is ok for this function.
4293 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4294 no newsegment gives a warning and sets the start/stop to
4297 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4298 (gst_base_transform_set_passthrough):
4301 * gst/gstminiobject.c: (gst_mini_object_ref):
4302 Check refcount here too.
4304 * gst/gstpad.c: (gst_pad_init):
4305 Pads are initially flushing and refusing data.
4307 * gst/gstutils.c: (gst_element_link_pads_filtered):
4308 When adding a capsfilter element make sure it has the
4309 same state as the parent bin.
4311 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4313 * docs/gst/tmpl/.cvsignore:
4314 * docs/gst/tmpl/gstformat.sgml:
4315 * docs/gst/tmpl/gstversion.sgml:
4319 * gst/gstversion.h.in:
4320 more docs and two more inlined
4322 2005-08-30 Wim Taymans <wim@fluendo.com>
4324 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4325 Don't sync to clock.
4327 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4329 * docs/gst/gstreamer-sections.txt:
4330 ultral33t func10ns deserve to appear in the docs actually
4331 * docs/gst/tmpl/.cvsignore:
4332 * docs/gst/tmpl/gstcompat.sgml:
4333 * docs/gst/tmpl/gstconfig.sgml:
4334 * gst/check/gstcheck.c:
4336 * gst/gstconfig.h.in:
4339 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4341 * docs/gst/tmpl/.cvsignore:
4342 * docs/gst/tmpl/gstquery.sgml:
4343 * docs/gst/tmpl/gstutils.sgml:
4346 inlined and extended docs
4348 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4350 * check/gst-libs/controller.c: (GST_START_TEST),
4351 (gst_controller_suite):
4353 * docs/gst/tmpl/gstutils.sgml:
4354 * docs/libs/gstreamer-libs-sections.txt:
4355 * docs/libs/tmpl/gstdataprotocol.sgml:
4357 * examples/controller/audio-example.c: (main):
4358 controller example works now
4361 * tools/gst-inspect.c: (print_element_properties_info):
4362 show param spec flags
4364 2005-08-29 Andy Wingo <wingo@pobox.com>
4366 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4368 2005-08-28 Andy Wingo <wingo@pobox.com>
4370 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4371 as having two arguments instead of just one. Allows superclasses
4372 to access information on subclasses -- see the terrible for() loop
4373 in gtype.c:g_type_create_instance for the reason why. All callers
4376 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4378 * docs/design/part-messages.txt:
4380 * docs/gst/tmpl/.cvsignore:
4381 * docs/gst/tmpl/gstcaps.sgml:
4382 * docs/gst/tmpl/gstclock.sgml:
4389 added descriptions for bus and message
4390 inline caps and clock docs
4392 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4398 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4400 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4403 2005-08-26 Andy Wingo <wingo@pobox.com>
4405 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4406 element_set_state's return val.
4407 (test_2_elements): Add test that's been disabled for months.
4409 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4410 can-activate-pull properties.
4412 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4413 can-activate-pull properties. Implement is_seekable so fakesrc can
4414 operate in pull mode.
4416 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4418 (gst_base_sink_activate, gst_base_sink_activate_pull)
4419 (gst_base_sink_activate_push): Make activation mode choosing work.
4421 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4422 is right. Make pull mode work. Post an eos before pausing in pull
4424 (gst_base_sink_change_state): Pay attention to the core's
4425 change_state() return val.
4427 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4428 has-getrange properties. Cleanups.
4430 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4431 has_getrange and replace with can_activate_pull and
4434 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4435 locking comments. Remove has_loop, has_chain and replace with
4436 can_activate_pull and can_activate_push.
4438 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4441 * examples/Makefile.am:
4442 * examples/metadata/Makefile.am:
4443 * examples/metadata/read-metadata.c: (message_loop),
4444 (have_pad_handler), (make_pipeline), (print_tag), (main):
4445 Add metadata reading example that loops over a list of filenames,
4446 dumping any tags found.
4448 * gst/gstbus.c: (gst_bus_dispose):
4449 * gst/gstelement.c: (gst_element_dispose):
4450 Release a few potentially-held references in dispose.
4452 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4454 * docs/gst/tmpl/gstminiobject.sgml:
4455 do *not* add tmpl/*.sgml files to CVS!
4457 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4459 * libs/gst/bytestream/.cvsignore:
4460 * libs/gst/bytestream/Makefile.am:
4461 * libs/gst/bytestream/adapter.c:
4462 * libs/gst/bytestream/adapter.h:
4463 * libs/gst/bytestream/bytestream.c:
4464 * libs/gst/bytestream/bytestream.h:
4465 * libs/gst/bytestream/filepad.c:
4466 * libs/gst/bytestream/filepad.h:
4467 removing obsolete files
4469 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4471 * docs/gst/gstreamer-docs.sgml:
4472 * docs/libs/gstreamer-libs-docs.sgml:
4473 disabed additional index entries again, as this makes docs-gen just
4474 slow and they aren't useful yet
4475 * docs/libs/gstreamer-libs-sections.txt:
4476 little -section.txt cleanup for libs
4478 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4480 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4481 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4482 fix up some debugging
4483 (gst_base_transform_get_unit_size),
4484 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4485 (gst_base_transform_handle_buffer):
4486 * gst/base/gstbasetransform.h:
4487 handle and store timed NEWSEGMENT events so that subclasses that
4488 calculate time by counting samples have a segment_start time they
4489 need to add to their timestamps - see audioresample
4491 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4494 removed ';' from the end of macro defs
4495 * docs/gst/gstreamer-docs.sgml:
4496 * docs/gst/gstreamer-sections.txt:
4497 * docs/gst/tmpl/.cvsignore:
4499 * gst/gstelement.c: (gst_element_class_init),
4500 (gst_element_set_state), (activate_pads),
4501 (gst_element_save_thyself):
4502 * gst/gstevent.c: (gst_event_new_newsegment):
4504 * gst/gstiterator.c:
4505 * gst/gstiterator.h:
4508 * gst/gstutils.c: (gst_pad_query_convert):
4510 fixed parameter name mismatches between source, header and docs
4511 added some more docs, resolved the last batch of unused elements in
4512 docs (now someone needs to doc them)
4514 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4516 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4517 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4518 don't walk through the plugins backwards. Where is all this
4519 reversed logic coming from ?
4521 2005-08-25 Wim Taymans <wim@fluendo.com>
4523 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4524 (gst_base_transform_transform_size),
4525 (gst_base_transform_configure_caps),
4526 (gst_base_transform_get_unit_size),
4527 (gst_base_transform_buffer_alloc),
4528 (gst_base_transform_change_state):
4529 * gst/base/gstbasetransform.h:
4530 Cache caps unit_size.
4531 Make sure we cannot negotiate up and downstream at the
4534 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4536 * gst/gst.c: (init_pre), (init_post):
4537 register the installed plugin path after the env var
4538 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4539 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4540 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4541 directories, so the tests can prefer uninstalled over installed
4543 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4545 * gst/base/gstbasetransform.h:
4550 2005-08-25 Wim Taymans <wim@fluendo.com>
4552 * gst/gstbin.c: (bin_bus_handler):
4553 Be a bit more conservative about the posted message.
4555 * gst/gstbus.c: (gst_bus_post):
4556 Some cleanups, warn wrong return values.
4558 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4560 * check/gst/gstbin.c: (GST_START_TEST):
4561 * gst/gstbin.c: (bin_bus_handler):
4562 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4563 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4564 (gst_message_new_warning), (gst_message_new_tag),
4565 (gst_message_new_state_changed), (gst_message_new_segment_start),
4566 (gst_message_new_segment_done), (gst_message_new_custom):
4568 * tools/gst-launch.c: (event_loop):
4569 * tools/gst-md5sum.c: (event_loop):
4570 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4572 2005-08-25 Wim Taymans <wim@fluendo.com>
4574 * check/generic/states.c: (GST_START_TEST):
4575 Cleanup can be done at the end.
4577 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4578 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4579 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4580 Oh boy.. Thanks for finding this, Thomas.
4582 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4584 * docs/gst/gstreamer.types:
4587 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4589 * docs/gst/gstreamer-docs.sgml:
4590 * docs/gst/gstreamer-sections.txt:
4591 * docs/gst/tmpl/.cvsignore:
4593 * gst/gstiterator.c:
4595 * gst/registries/gstxmlregistry.h:
4596 added missing classes and symbols (123 more to go)
4597 removed removed symbols from section file
4598 fixed many doc-comments
4600 2005-08-24 Wim Taymans <wim@fluendo.com>
4602 * check/generic/states.c: (GST_START_TEST):
4603 Make sure all tasks are stopped.
4605 * check/gst/gstbin.c: (GST_START_TEST):
4606 Unref after usage for proper valgrinding.
4608 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4609 Really wait for the task to stop before destroying the
4612 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4613 (gst_queue_src_activate_push):
4614 Small cleanups. Don't stop the task when we did not start
4617 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4618 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4619 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4622 Protect the stream lock with the object lock.
4623 Disallow setting the stream lock when running.
4624 Add cleanup_all to wait for the threadpool to finish.
4625 Remove code to autoallocate a mutex if none was provided.
4626 Add _join() to wait for a task to stop.
4627 Protect the thread pool with a global lock.
4629 2005-08-24 Wim Taymans <wim@fluendo.com>
4631 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4632 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4633 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4634 * gst/base/gstbasesink.h:
4635 Handle newsegment events correctly.
4636 Drop buffers out of the segment range.
4638 2005-08-22 Andy Wingo <wingo@pobox.com>
4640 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4641 macro, implements an interface and gstimplementsinterface for a
4644 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4646 * check/Makefile.am:
4647 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4648 add a test that does a bunch of state changes on elements
4649 needs some fixing for valgrind
4650 * check/states/sinks.c: (gst_object_suite):
4653 add prototype for gst_caps_is_equal_fixed
4655 * gst/gstregistrypool.c:
4658 2005-08-24 Andy Wingo <wingo@pobox.com>
4660 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4661 convert a negative value. Doesn't make much sense. Mostly this is
4662 here to force callers to ensure -1 maps to -1.
4664 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4666 * docs/pwg/advanced-types.xml:
4667 Well done to Michael for catching my deliberate introduction
4668 of this spelling mistake.
4669 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4671 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4672 unlink pads before removing the element from the bin.
4674 2005-08-24 Andy Wingo <wingo@pobox.com>
4676 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4677 the same thing as GST_DEBUG=*:4.
4678 (parse_debug_level, parse_debug_category): New helper parsers.
4680 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4682 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4683 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4684 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4685 (gst_base_transform_buffer_alloc),
4686 (gst_base_transform_handle_buffer):
4687 use gboolean return values and pointers to size so we can use the
4688 full GST_BUFFER_SIZE range (guint) for buffer sizes
4689 use GstPadDirection for transform_caps
4690 * gst/base/gstbasetransform.h:
4691 rename get_size to get_unit_size since that's what it is
4692 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4693 use GstPadDirection for transform_caps
4694 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4696 cleanup and debugging
4698 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4700 * gst/gstelement.c: (gst_element_class_init),
4701 (gst_element_set_state), (activate_pads),
4702 (gst_element_save_thyself):
4703 * tools/gst-compprep.c: (main):
4704 * tools/gst-inspect.c: (print_element_properties_info):
4705 * tools/gst-xmlinspect.c: (print_element_properties):
4706 Fixed long standing mem-leak
4708 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4710 * check/gst/gstbin.c: (GST_START_TEST):
4711 * gst/gstbin.c: (bin_bus_handler):
4712 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4713 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4714 (gst_message_new_warning), (gst_message_new_tag),
4715 (gst_message_new_state_changed), (gst_message_new_segment_start),
4716 (gst_message_new_segment_done), (gst_message_new_custom):
4718 * tools/gst-launch.c: (event_loop):
4719 * tools/gst-md5sum.c: (event_loop):
4720 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4721 that applications can sensibly post custom messages with references
4722 to their own objects.
4724 2005-08-24 Andy Wingo <wingo@pobox.com>
4726 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4729 2005-08-24 Wim Taymans <wim@fluendo.com>
4731 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4732 (gst_base_transform_transform_caps),
4733 (gst_base_transform_transform_size),
4734 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4735 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4736 (gst_base_transform_handle_buffer):
4737 * gst/base/gstbasetransform.h:
4738 Many fixes and new features added by Thomas. Can now also do
4739 transforms with variable sizes and a custom fixate_caps function.
4741 2005-08-24 Wim Taymans <wim@fluendo.com>
4743 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4747 Cast to ClockTime before formatting to time.
4752 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4754 * check/gst-libs/controller.c: (GST_START_TEST),
4755 (gst_controller_suite):
4756 * docs/gst/tmpl/gstcaps.sgml:
4757 * docs/gst/tmpl/gstghostpad.sgml:
4758 * docs/gst/tmpl/gstquery.sgml:
4759 * docs/gst/tmpl/gstutils.sgml:
4760 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4761 (gst_object_sink_values), (gst_object_get_value_arrays),
4762 (gst_object_get_value_array):
4763 gracefully handle helper method calls to objects that are not beeing
4764 controlled, added test case for that
4766 2005-08-23 Wim Taymans <wim@fluendo.com>
4768 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4769 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4770 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4771 (gst_event_parse_qos), (gst_event_new_seek),
4772 (gst_event_parse_seek):
4774 Some more debugging output and doc cleanups.
4776 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4777 Fix possible deadlock.
4779 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4781 * docs/gst/gstreamer-docs.sgml:
4782 * docs/gst/gstreamer-sections.txt:
4783 * docs/gst/gstreamer.types:
4784 * docs/gst/tmpl/.cvsignore:
4789 added 100 symbols from gstreamer-unused.txt to the right sections
4790 fixed more broken comments
4791 added GstBus to docs
4793 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4795 * docs/gst/gstreamer-sections.txt:
4796 * docs/gst/tmpl/.cvsignore:
4797 * docs/gst/tmpl/gstbin.sgml:
4798 * docs/gst/tmpl/gstbuffer.sgml:
4799 * gst/base/gstbasesrc.c:
4800 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4803 * tools/gst-launch.1.in:
4804 inlined more doc comments, added missing comments and fixed comments
4807 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4809 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4813 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4815 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4816 * gst/gststructure.h:
4817 add a fixate function for booleans; add a FIXME that these func
4818 names should probably be gst_structure_fixate_*
4820 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4822 * docs/gst/gstreamer-docs.sgml:
4823 * docs/gst/gstreamer-sections.txt:
4825 * gst/gstbin.c: (gst_bin_get_type),
4826 (gst_bin_child_proxy_get_child_by_index),
4827 (gst_bin_child_proxy_get_children_count),
4828 (gst_bin_child_proxy_init):
4829 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4830 (gst_child_proxy_get_child_by_index),
4831 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4832 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4833 (gst_child_proxy_get), (gst_child_proxy_set_property),
4834 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4835 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4836 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4837 * gst/gstchildproxy.h:
4838 * gst/parse/grammar.y:
4839 * tools/gst-inspect.c: (print_interfaces),
4840 (print_element_properties_info), (print_element_info):
4841 ported gstchildproxy over from 0.8
4842 ported gst-inspect fixes and enhancements over from 0.8
4844 2005-08-22 Wim Taymans <wim@fluendo.com>
4846 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4847 (gst_base_transform_handle_buffer):
4848 Also call the transform function if we have ANY caps.
4850 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4853 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4855 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4856 Don't pretend to handle seek events if the source is not seekable
4858 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4860 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4861 Remove extra parameter to debug output
4863 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4864 (gst_base_src_do_seek), (gst_base_src_activate_push):
4865 Fix seek event handling.
4867 * gst/gstpipeline.c: (gst_pipeline_change_state):
4868 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4869 (gst_queue_src_activate_push):
4870 Don't start the src pad task on FLUSH_STOP if the pad
4874 2005-08-22 Wim Taymans <wim@fluendo.com>
4876 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4877 Added check for gst_static_caps_get() refcounting.
4879 2005-08-22 Wim Taymans <wim@fluendo.com>
4881 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4882 Make _static_caps_get() refcounting sane.
4884 * gst/gstelement.c: (gst_element_set_state):
4885 Add g_return_val_if_fail() to protect against segfaults.
4887 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4889 * docs/gst/tmpl/gstevent.sgml:
4892 inlined remaining docs, added missing doc comments
4894 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4896 * check/gst/gstbin.c: (GST_START_TEST):
4897 since we don't know when preroll is done, use refcount range
4899 * gst/check/gstcheck.h:
4900 add macro for checking refcount range
4902 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4904 * check/Makefile.am:
4905 clean up environment for when registry gets built versus
4906 when actual tests are run; valgrind seems to not report
4907 leaks if GST_PLUGIN_PATH is set to some specific values
4908 * check/gst/gstbin.c: (GST_START_TEST):
4909 add more refcounting checks; maybe this exposes a
4912 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4913 * gst/check/gstcheck.h:
4914 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4915 (gst_bin_change_state):
4916 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4917 add/fix debugging/whitespace
4919 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4921 * check/gst/gstevent.c: (event_probe), (test_event),
4923 Er, don't call gst_bin_watch_for_state_change you idiot.
4925 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4927 * check/Makefile.am:
4928 Use CHECK_CFLAGS and CHECK_LIBS
4929 * check/gst/gstevent.c: (event_probe), (test_event),
4932 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4933 (gst_base_src_start), (gst_base_src_stop),
4934 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4935 (gst_base_src_change_state):
4936 Sprinkle gst_base_src_stop liberally around error paths to fix
4937 problems reusing a source after failed state changes.
4938 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4939 (helper_find_suggest), (gst_type_find_helper):
4940 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4942 * docs/gst/tmpl/gstevent.sgml:
4943 Migrate part of the docs from the SGML file. Wait for ensonic to
4944 tell me how I did it wrong ;)
4945 * tools/gst-typefind.c: (main):
4946 Extra robustness to state changes between files.
4948 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4950 * check/Makefile.am:
4951 don't valgrind the controller test - it's leaking - Stefan, HELP
4952 * gst/check/gstcheck.c: (gst_check_message_error),
4953 (gst_check_chain_func), (gst_check_setup_element),
4954 (gst_check_teardown_element), (gst_check_setup_src_pad),
4955 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4956 (gst_check_teardown_sink_pad):
4957 * gst/check/gstcheck.h:
4958 add a bunch of methods to set up elements, and src and sink pads
4959 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4960 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4965 whitespace/doc fixes
4967 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4970 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4971 be handled by the application and not always printed as well
4973 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4975 * check/Makefile.am:
4977 * gst/check/gstcheck.c: (gst_check_message_error):
4978 * gst/check/gstcheck.h:
4979 add a fail_unless_equals_int
4980 add fail_unless for error messages
4982 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4984 * check/Makefile.am:
4986 * common/Makefile.am:
4989 factor out some of the common stuff so we can use it
4991 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4993 * check/Makefile.am:
4994 * check/gst/gstiterator.c: (GST_START_TEST):
4995 * check/gst/gstsystemclock.c: (GST_START_TEST),
4996 (gst_systemclock_suite):
4997 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5001 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5003 * check/elements/.cvsignore:
5004 * check/elements/gstfakesrc.c:
5005 rename to name of element
5006 * check/elements/identity.c: (chain_func), (event_func),
5007 (setup_identity), (cleanup_identity), (GST_START_TEST),
5008 (identity_suite), (main):
5009 add a test for identity
5010 * check/Makefile.am:
5011 * pkgconfig/Makefile.am:
5012 * pkgconfig/gstreamer-check.pc.in:
5013 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5017 move the check stuff to a library that gets installed
5018 * check/gst-libs/controller.c: (GST_START_TEST):
5019 * check/gst-libs/gdp.c:
5020 * check/gst/gst.c: (GST_START_TEST):
5021 * check/gst/gstbin.c:
5022 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5023 * check/gst/gstbus.c:
5024 * check/gst/gstcaps.c: (GST_START_TEST):
5025 * check/gst/gstelement.c:
5026 * check/gst/gstghostpad.c:
5027 * check/gst/gstiterator.c:
5028 * check/gst/gstmessage.c:
5029 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5030 * check/gst/gstobject.c:
5031 * check/gst/gstpad.c: (GST_START_TEST):
5032 * check/gst/gststructure.c: (GST_START_TEST):
5033 * check/gst/gstsystemclock.c: (GST_START_TEST),
5034 (gst_systemclock_suite):
5035 * check/gst/gsttag.c: (gst_tag_suite):
5036 * check/gst/gstvalue.c:
5037 * check/pipelines/cleanup.c:
5038 * check/pipelines/simple_launch_lines.c:
5039 * check/states/sinks.c:
5040 change include statement
5042 * docs/gst/gstreamer-sections.txt:
5043 * docs/gst/tmpl/gstpad.sgml:
5044 document more pad stuff
5045 * gst/gstminiobject.c: (gst_mini_object_ref),
5046 (gst_mini_object_unref):
5049 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5051 * docs/gst/tmpl/gst.sgml:
5053 eliminate another tmpl file, fix spelling in the long-description
5055 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5057 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5058 (test_event), (timediff), (gstevents_suite):
5059 Should fix build on 64-bit arch's
5061 2005-08-18 Andy Wingo <wingo@pobox.com>
5063 Make sure that when a pipeline goes to PLAYING, that data has
5064 actually hit the sink.
5066 * check/states/sinks.c (test_sink): A sink that doesn't get any
5067 data shouldn't return SUCCESS for going to either PLAYING or
5068 PAUSED. Test also the return values on the way back down.
5070 * gst/gstelement.c (gst_element_set_state): When changing the
5071 state of an element currently changing state asynchronously, go to
5072 lost-state after commiting the pending state. Makes future calls
5073 to get_state continue to return ASYNC.
5075 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5076 ASYNC when going to PLAYING if we still don't have preroll, as can
5077 happen with live sources.
5079 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5081 * docs/pwg/advanced-types.xml:
5082 Hack long paragraph into 2 chunks as a workaround for buggy
5083 jadetex version in sid and breezy that loops infinitely and
5086 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5088 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5089 (test_event), (timediff), (gstevents_suite):
5090 Provide more error margin in clock measurements to allow for
5091 g_get_current_time inaccuracies.
5093 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5095 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5096 (test_event), (timediff), (gstevents_suite):
5097 Fix error message output so I might be able to tell why the
5098 test works here but fails on the build farm.
5100 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5102 * check/Makefile.am:
5103 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5104 (test_event), (timediff), (gstevents_suite), (main):
5107 * docs/design/part-seeking.txt:
5110 * docs/gst/tmpl/gstevent.sgml:
5111 * docs/gst/tmpl/gstfakesrc.sgml:
5114 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5115 Treat a buffer-without-newsegment the same as a receiving
5116 a newsegment not in time format, and disable syncing to the clock
5119 * gst/gstbus.c: (gst_bus_set_sync_handler):
5120 Assert if anyone tries to replace the existing sync_handler for bus,
5121 as only the owner should be setting it.
5124 Have a fixed set of custom event enums with events identified by
5125 their structure name (as in 0.8), rather than a free-for-all
5126 allowing collisions between enum values from different plugins.
5128 * gst/gstpad.c: (gst_pad_class_init):
5131 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5132 Handle out-of-band downstream events from the sending thread.
5134 2005-08-17 Andy Wingo <wingo@pobox.com>
5136 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5137 play-timeout==0 to mean no timeout at all. In that case, don't
5138 bother with a get_state or a warning, just return directly, even
5141 * gst/base/gstbasetransform.c: Debug changes.
5144 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5145 ensure bins post state change messages. A bit of a hack but I can't
5146 think of a way to avoid it.
5148 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5150 2005-08-16 Andy Wingo <wingo@pobox.com>
5152 * gst/base/gstadapter.h:
5153 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5154 peek() but you own the data. Not terribly efficient atm.
5156 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5158 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5159 (gst_element_found_tags):
5161 Add two utility functions for tag handling.
5163 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5165 * docs/manual/advanced-dataaccess.xml:
5166 * docs/manual/basics-helloworld.xml:
5167 Fix docs to use _bin_add() before _link(), which fixes the examples
5168 with recent core versions (reported by Madhan Raj M
5169 <raj_madan@rediffmail.com>, #313199).
5171 2005-08-16 Wim Taymans <wim@fluendo.com>
5173 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5174 Added subtract checks.
5176 * docs/design/part-events.txt:
5177 Some more docs about newsegment
5179 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5182 * gst/gstcaps.c: (gst_caps_to_string):
5183 Add comments, cleanups.
5185 * gst/gstelement.c: (gst_element_save_thyself):
5188 * gst/gstvalue.c: (gst_value_collect_int_range),
5189 (gst_string_unwrap), (gst_value_union_int_int_range),
5190 (gst_value_union_int_range_int_range),
5191 (gst_value_intersect_int_int_range),
5192 (gst_value_intersect_int_range_int_range),
5193 (gst_value_intersect_double_double_range),
5194 (gst_value_intersect_double_range_double_range),
5195 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5196 (gst_value_subtract_int_range_int),
5197 (gst_value_subtract_double_range_double),
5198 (gst_value_subtract_double_range_double_range),
5199 (gst_value_subtract_from_list), (gst_value_subtract_list),
5200 (gst_value_can_compare), (gst_value_compare_fraction):
5201 Cleanups, add comments, remove unneeded asserts.
5203 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5205 * tools/gst-launch.c: (event_loop):
5206 don't convert NULL structures to strings
5208 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5210 * docs/gst/gstreamer-sections.txt:
5211 made some defines private
5212 * docs/gst/tmpl/gstconfig.sgml:
5213 * docs/gst/tmpl/gstqueue.sgml:
5214 * docs/gst/tmpl/gsttaglist.sgml:
5215 * docs/gst/tmpl/gsttypes.sgml:
5216 * docs/gst/tmpl/gstutils.sgml:
5217 * docs/pwg/appendix-porting.xml:
5218 * gst/base/gstbasesink.h:
5219 * gst/base/gstbasesrc.c:
5220 * gst/base/gstbasesrc.h:
5221 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5222 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5223 * gst/gstelement.c: (gst_element_class_init):
5224 * gst/gstpad.c: (gst_pad_class_init):
5225 * gst/gstqueue.c: (gst_queue_class_init):
5226 * gst/gstxml.c: (gst_xml_class_init):
5227 documented all undocumented signal inline
5228 * libs/gst/controller/gst-controller.h:
5231 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5233 * docs/pwg/appendix-porting.xml:
5234 Document _set_link_function -> _set_setcaps_function.
5236 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5238 * check/Makefile.am:
5239 add a .check target for running the check
5240 * check/gst-libs/controller.c: (GST_START_TEST):
5242 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5243 complete checks for gstbuffer; would be nice if I could get the
5244 gcov stuff to work so I can see if I actually completed gstbuffer.c
5246 add ASSERT_BUFFER_REFCOUNT
5248 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5250 * docs/gst/gstreamer-sections.txt:
5251 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5253 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5254 spew out a warning if a tag that is already registered
5255 is re-registered, unless it is re-registered with a
5256 different type (#308438).
5258 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5260 * docs/pwg/appendix-porting.xml:
5261 * docs/pwg/building-state.xml:
5262 Add some paragraphs about state changes in 0.9 to the PWG
5263 and the porting guide, in particular about the new meaning
5264 of GST_STATE_PAUSED and how to write state change functions
5265 with concurrent access by multiple threads in mind.
5267 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5269 * docs/gst/gstreamer-docs.sgml:
5270 * docs/libs/gstreamer-libs-docs.sgml:
5271 added deprecation and since indexes
5272 * libs/gst/controller/gst-controller.c:
5273 * libs/gst/controller/gst-helper.c:
5277 2005-08-11 Wim Taymans <wim@fluendo.com>
5279 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5280 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5281 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5282 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5283 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5284 (gst_ghost_pad_set_target):
5285 Actually implement (re)setting the target on a ghostpad
5286 as described in the docs.
5288 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5290 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5291 Check whether GST_DEBUG_NO_COLOR environment variable is
5292 set and disable coloured debug output if that is the case.
5294 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5296 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5297 (gst_type_find_helper):
5298 The memory returned by gst_type_find_peek() needs to
5299 stay valid until the end of a typefind function, and
5300 typefind functions may keep results from different
5301 offsets around, so we can't just unref the buffer from
5302 the previous _peek(), but have to save all buffers
5303 returned by _peek() until typefinding is done and only
5306 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5308 * docs/gst/gstreamer-sections.txt:
5310 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5312 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5314 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5315 Fix a pretty good memleak.
5317 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5319 * gst/gstiterator.h:
5320 Fix wrong include and 'make distcheck'.
5322 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5324 * gst/gstbin.c: (bin_bus_handler):
5325 Use gst_element_post_message() instead.
5327 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5329 * gst/base/gstadapter.h:
5330 * gst/base/gstbasesink.h:
5331 * gst/base/gstbasesrc.h:
5332 * gst/base/gstbasetransform.h:
5333 * gst/base/gstcollectpads.h:
5334 * gst/base/gstpushsrc.h:
5335 * gst/gstiterator.h:
5336 Add padding to our base elements' class and instance structs and
5337 to GstIterator (you will need to rebuild all plugins and apps!)
5339 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5341 * gst/gstbin.c: (bin_bus_handler):
5342 Make default message forwarding from child->bus to bin->bus
5343 threadsafe and make it not emit warnings if the parent has no bus.
5345 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5347 * gst/gstelement.c: (activate_pads):
5348 On paused->ready, set pad->caps to NULL, as is the documented
5349 behaviour in this state change. Fixes playback of series of
5350 media files when visualization is enabled in Totem.
5352 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5354 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5355 Allow NULL as filter-caps (which means "any").
5357 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5359 * docs/libs/gstreamer-libs-sections.txt:
5360 * libs/gst/controller/gst-controller.c:
5361 * libs/gst/controller/gst-controller.h:
5362 * libs/gst/controller/gst-helper.c:
5363 adding more entries to the docs and fix small doc-bugs
5365 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5367 * docs/gst/gstreamer-docs.sgml:
5368 * docs/gst/gstreamer-sections.txt:
5369 * docs/gst/gstreamer.types:
5370 * docs/gst/tmpl/gstbasesink.sgml:
5371 * docs/gst/tmpl/gstbasesrc.sgml:
5372 * docs/gst/tmpl/gstbasetransform.sgml:
5373 * docs/gst/tmpl/gstfakesrc.sgml:
5374 * gst/base/gstcollectpads.c:
5375 * gst/base/gstcollectpads.h:
5376 * libs/gst/controller/gst-controller.c:
5377 * libs/gst/controller/gst-controller.h:
5378 * libs/gst/controller/gst-helper.c:
5379 * libs/gst/controller/gst-interpolation.c:
5380 * libs/gst/controller/lib.c:
5381 added long/short desc for controller docs
5382 added collectpads base class docs
5383 added correct includes to base-class docs
5385 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5387 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5388 (gst_test_mono_source_set_property),
5389 (gst_test_mono_source_class_init), (GST_START_TEST),
5390 (gst_controller_suite):
5391 * docs/gst/gstreamer-docs.sgml:
5392 * docs/gst/gstreamer-sections.txt:
5393 * docs/gst/gstreamer.types:
5394 * docs/libs/gstreamer-libs-docs.sgml:
5395 * docs/libs/gstreamer-libs-sections.txt:
5396 * gst/base/gstadapter.c:
5397 * libs/gst/controller/gst-controller.c:
5398 (gst_controlled_property_new), (gst_controlled_property_free),
5399 (gst_controller_new_valist),
5400 (gst_controller_remove_properties_valist),
5401 (gst_controller_sink_values), (_gst_controller_finalize):
5402 * libs/gst/controller/gst-controller.h:
5403 * libs/gst/controller/gst-helper.c:
5404 (gst_object_control_properties), (gst_object_uncontrol_properties),
5405 (gst_object_get_controller), (gst_object_set_controller),
5406 (gst_object_sink_values), (gst_object_get_value_arrays),
5407 (gst_object_get_value_array):
5408 more tests (and fixes) for the controller
5409 more docs for the controller
5410 integrated companies docs for the adapter
5412 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5414 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5415 (GST_START_TEST), (fakesrc_suite):
5416 add tests for sizetype
5418 2005-08-04 Andy Wingo <wingo@pobox.com>
5420 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5421 fixes buffer_alloc proxying among other things.
5423 * gst/base/gstbasetransform.c:
5424 * gst/base/gstbasetransform.h:
5425 Revert patch to gstbasetransform from 7-28 removing
5428 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5429 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5430 Semantics changed, should return not the size of the output buffer
5431 but the byte size of a buffer with a given caps.
5433 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5435 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5436 out) are not the pad caps until setcaps finishes.
5437 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5438 not-in-place case as well. Deal with changing from in-place to
5439 not-in-place within calling pad_alloc_buffer. Still a bit
5440 concerned about the overhead here...
5442 2005-08-03 Andy Wingo <wingo@pobox.com>
5444 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5445 fixating is an error.
5447 2005-08-04 Edward Hervey <edward@fluendo.com>
5449 * gst/base/gstadapter.h:
5450 Added gst_adapter_get_type() to the header
5452 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5454 * check/Makefile.am:
5455 * check/gst-libs/controller.c:
5456 * libs/gst/controller/gst-controller.c:
5457 (gst_controller_new_valist):
5458 added check test suite for the controller
5459 * gst/base/gstpushsrc.c:
5462 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5464 * docs/gst/Makefile.am:
5465 * docs/gst/gstreamer-docs.sgml:
5466 * docs/gst/gstreamer-sections.txt:
5467 * docs/gst/gstreamer.types:
5468 * docs/gst/tmpl/gstfakesrc.sgml:
5470 * gst/base/gstbasesink.c:
5471 * gst/base/gstbasesink.h:
5472 * gst/base/gstbasesrc.c:
5473 * gst/base/gstbasesrc.h:
5474 * gst/base/gstbasetransform.c:
5475 * gst/base/gstpushsrc.c:
5476 * gst/base/gstpushsrc.h:
5477 add short/long description docs to base classes
5478 add pushsrc to the docs
5479 remove consolidated doc fragments
5481 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5484 * docs/libs/Makefile.am:
5485 * docs/libs/gstreamer-libs-docs.sgml:
5486 * docs/libs/gstreamer-libs-sections.txt:
5487 * docs/libs/gstreamer-libs.types:
5488 * examples/Makefile.am:
5489 * examples/controller/.cvsignore:
5490 * examples/controller/Makefile.am:
5491 * examples/controller/audio-example.c: (main):
5492 * libs/gst/Makefile.am:
5493 * libs/gst/controller/.cvsignore:
5494 * libs/gst/controller/Makefile.am:
5495 * libs/gst/controller/gst-controller.c:
5496 (on_object_controlled_property_changed), (gst_timed_value_compare),
5497 (gst_timed_value_find),
5498 (gst_controlled_property_set_interpolation_mode),
5499 (gst_controlled_property_new), (gst_controlled_property_free),
5500 (gst_controller_find_controlled_property),
5501 (gst_controller_new_valist), (gst_controller_new),
5502 (gst_controller_remove_properties_valist),
5503 (gst_controller_remove_properties), (gst_controller_set),
5504 (gst_controller_set_from_list), (gst_controller_unset),
5505 (gst_controller_get), (gst_controller_get_all),
5506 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5507 (gst_controller_get_value_array),
5508 (gst_controller_set_interpolation_mode),
5509 (_gst_controller_finalize), (_gst_controller_init),
5510 (_gst_controller_class_init), (gst_controller_get_type):
5511 * libs/gst/controller/gst-controller.h:
5512 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5513 (g_object_uncontrol_properties), (g_object_get_controller),
5514 (g_object_set_controller), (g_object_sink_values),
5515 (g_object_get_value_arrays), (g_object_get_value_array):
5516 * libs/gst/controller/gst-interpolation.c:
5517 (gst_controlled_property_find_timed_value_node),
5518 (interpolate_none_get), (interpolate_trigger_get),
5519 (interpolate_trigger_get_value_array):
5520 * libs/gst/controller/lib.c: (gst_controller_init):
5521 * pkgconfig/Makefile.am:
5522 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5523 * pkgconfig/gstreamer-control.pc.in:
5524 * testsuite/Makefile.am:
5525 * testsuite/controller/.cvsignore:
5526 * testsuite/controller/Makefile.am:
5527 * testsuite/controller/interpolator.c: (main):
5528 added controller code
5529 removed dparam pc files
5531 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5532 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5533 (gst_collectpads_stop):
5534 Broadcast the condition when shutting down, to make sure we wake all
5535 threads up. Shut down pads on finalize, for safety.
5537 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5538 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5539 (gst_base_transform_handle_buffer),
5540 (gst_base_transform_change_state):
5541 Handle PAUSED->READY->PAUSED transition after negotiation
5543 * gst/gstmessage.c: (gst_message_init):
5544 Extra piece of debug for new messages.
5546 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5549 * docs/gst/tmpl/gstbasesrc.sgml:
5550 * docs/gst/tmpl/gstelement.sgml:
5551 * docs/gst/tmpl/gstevent.sgml:
5552 * docs/gst/tmpl/gstfakesrc.sgml:
5553 * docs/gst/tmpl/gstformat.sgml:
5554 * docs/gst/tmpl/gstghostpad.sgml:
5555 * docs/gst/tmpl/gstpad.sgml:
5556 * docs/gst/tmpl/gstquery.sgml:
5557 * docs/gst/tmpl/gststructure.sgml:
5558 * docs/gst/tmpl/gsttaglist.sgml:
5559 * docs/gst/tmpl/gstvalue.sgml:
5560 * docs/libs/gstreamer-libs-docs.sgml:
5561 * docs/libs/gstreamer-libs-sections.txt:
5562 * docs/libs/gstreamer-libs.types:
5563 * libs/gst/Makefile.am:
5564 * libs/gst/control/.cvsignore:
5565 * libs/gst/control/Makefile.am:
5566 * libs/gst/control/control.c:
5567 * libs/gst/control/control.h:
5568 * libs/gst/control/dparam.c:
5569 * libs/gst/control/dparam.h:
5570 * libs/gst/control/dparam_smooth.c:
5571 * libs/gst/control/dparam_smooth.h:
5572 * libs/gst/control/dparamcommon.h:
5573 * libs/gst/control/dparammanager.c:
5574 * libs/gst/control/dparammanager.h:
5575 * libs/gst/control/dplinearinterp.c:
5576 * libs/gst/control/dplinearinterp.h:
5577 * libs/gst/control/unitconvert.c:
5578 * libs/gst/control/unitconvert.h:
5579 * testsuite/Makefile.am:
5580 * testsuite/dynparams/.cvsignore:
5581 * testsuite/dynparams/Makefile.am:
5582 * testsuite/dynparams/dparamstest.c:
5583 * tools/Makefile.am:
5584 * tools/gst-inspect.c: (print_element_info), (main):
5585 * tools/gst-xmlinspect.c: (print_element_info), (main):
5586 deactivate and remove dparams (libgstcontrol)
5588 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5590 * gst/elements/gsttypefindelement.c:
5591 (gst_type_find_element_have_type), (gst_type_find_element_init),
5592 (stop_typefinding), (gst_type_find_element_handle_event),
5593 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5594 * gst/elements/gsttypefindelement.h:
5595 Set caps on all outgoing buffers, not just the first one.
5597 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5599 * gst/elements/gsttypefindelement.c:
5600 (gst_type_find_element_have_type),
5601 (gst_type_find_element_check_set_buffer_caps),
5602 (gst_type_find_element_init), (stop_typefinding),
5603 (gst_type_find_element_handle_event),
5604 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5605 * gst/elements/gsttypefindelement.h:
5606 Set caps on first outgoing buffer when we've found the type.
5608 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5610 * docs/gst/gstreamer-docs.sgml:
5611 * docs/gst/gstreamer-sections.txt:
5612 * docs/gst/tmpl/gstscheduler.sgml:
5613 * docs/gst/tmpl/gstschedulerfactory.sgml:
5614 Remove some old cruft from docs.
5616 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5619 Fix inline docs for GstPadLinkReturn.
5621 * gst/gststructure.c: (gst_structure_has_name):
5622 * gst/gststructure.h:
5623 * docs/gst/gstreamer-sections.txt:
5624 New API: gst_structure_has_name().
5626 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5629 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5630 and _LARGEFILE_SOURCE in config.h as required. Do not
5631 export those flags in our .pc files any longer (#142209).
5633 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5635 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5636 (gst_file_sink_do_seek), (gst_file_sink_event),
5637 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5638 Redo seek/tell calls with large file support in mind; add some
5639 debugging messages; add log message that tells us when large
5640 file support is unavailable or not enabled for some reason.
5642 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5643 Add log message that tells us when large file support
5644 is unavailable or not enabled for some reason.
5646 2005-07-29 Wim Taymans <wim@fluendo.com>
5648 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5649 Added test for removing an element with ghostpad from a bin.
5650 Fixed test as current implementation does the right thing.
5652 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5653 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5654 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5655 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5656 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5657 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5658 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5659 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5660 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5661 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5662 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5663 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5664 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5665 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5666 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5667 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5668 * gst/gstghostpad.h:
5669 Clean up ghostpads, remove properties for internal stuff.
5672 Prepare for switching targets, not all use cases work yet.
5674 2005-07-29 Wim Taymans <wim@fluendo.com>
5676 * docs/design/part-gstghostpad.txt:
5679 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5680 (gst_bin_remove_func):
5681 Unlinking pads while holding the bin LOCK is not a good
5684 * gst/gstpad.c: (gst_pad_class_init),
5685 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5686 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5687 No prob setting template after creating the pad.
5689 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5691 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5692 (gst_bus_peek), (gst_bus_source_dispatch),
5693 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5694 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5695 gst_bus_poll may be called from other threads. Handle
5696 this nicely by not making poll_data disappear off the
5697 stack once gst_bus_poll returns.
5698 gst_bus_peek now increments the refcount on the returned
5701 2005-07-29 Wim Taymans <wim@fluendo.com>
5703 * docs/design/part-gstghostpad.txt:
5704 Overview of current GhostPad datastructures and use
5705 cases for changing the target.
5707 2005-07-28 Wim Taymans <wim@fluendo.com>
5709 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5710 Added checks for hierarchy consistency whan adding linked
5713 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5714 Added check to test element scheduling without bin/pipeline.
5716 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5717 First add elements to bin, then link.
5719 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5720 (gst_bin_remove_func):
5721 Unlink pads from elements added/removed from bin to maintain
5722 hierarchy consistency.
5724 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5726 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5727 (gst_base_transform_handle_buffer):
5728 * gst/base/gstbasetransform.h:
5729 Remove broken delay_configure (fixes renegotiation of software
5730 scaling pipelines); remove some leftover printf()s.
5732 2005-07-28 Wim Taymans <wim@fluendo.com>
5734 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5735 Added some more tests for wrong hierarchy
5737 * docs/design/part-overview.txt:
5740 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5743 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5744 (gst_element_dispose):
5747 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5748 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5749 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5750 (gst_pad_set_caps), (gst_pad_send_event):
5751 Check for correct hierarchy when linking pads. Moving to
5752 strict requirement for ghostpads when linking elements in
5756 Clean ups. Added WRONG_HIERARCHY return value.
5758 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5760 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5761 Better debug if no transform is possible.
5763 2005-07-27 Wim Taymans <wim@fluendo.com>
5765 * docs/random/wtay/network-transp:
5768 2005-07-27 Wim Taymans <wim@fluendo.com>
5770 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5771 (gst_dp_event_from_packet):
5772 Fix serialization of seek events.
5774 2005-07-27 Wim Taymans <wim@fluendo.com>
5776 * check/gst-libs/gdp.c: (GST_START_TEST):
5777 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5778 Fix compilation and fix event serialization.
5780 2005-07-27 Wim Taymans <wim@fluendo.com>
5783 * docs/design/part-TODO.txt:
5784 * docs/design/part-events.txt:
5787 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5788 (gst_base_sink_event), (gst_base_sink_do_sync),
5789 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5790 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5791 (gst_base_src_do_seek), (gst_base_src_event_handler),
5792 (gst_base_src_loop):
5793 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5794 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5795 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5796 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5797 (gst_base_transform_set_passthrough),
5798 (gst_base_transform_is_passthrough):
5799 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5800 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5806 * gst/gstelement.c: (gst_element_seek):
5808 Update gst_element_seek.
5810 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5811 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5812 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5813 (gst_event_new_eos), (gst_event_new_newsegment),
5814 (gst_event_parse_newsegment), (gst_event_new_tag),
5815 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5816 (gst_event_parse_qos), (gst_event_new_seek),
5817 (gst_event_parse_seek), (gst_event_new_navigation):
5819 Make GstEvent use GstStructure. Add parsing code, make sure the
5820 API is sufficiently generic.
5821 Mark possible directions of events and serialization.
5823 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5824 (_gst_message_copy), (gst_message_new_segment_start),
5825 (gst_message_new_segment_done), (gst_message_new_custom),
5826 (gst_message_parse_segment_start),
5827 (gst_message_parse_segment_done):
5830 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5831 (gst_pad_set_caps), (gst_pad_send_event):
5832 Update for new events.
5833 Catch events sent in wrong directions.
5835 * gst/gstqueue.c: (gst_queue_link_src),
5836 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5837 (gst_queue_handle_src_query):
5842 Remove event code from this file.
5844 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5845 (gst_dp_event_from_packet):
5848 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5850 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5851 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5852 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5853 Make debugging actually useful.
5855 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5857 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5858 (gst_pad_fixate_caps):
5859 Implement default fixation once again, so that gst_pad_fixate()
5860 actually does anything at all. This probably needs to be some
5861 sort of a last resort, and use profile-based fixation first, but
5862 since that doesn't exist yet, this is the best we have. Fixes
5863 visualization in Totem.
5865 2005-07-22 Wim Taymans <wim@fluendo.com>
5867 * docs/design/part-events.txt:
5870 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5871 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5872 (gst_base_sink_activate_pull):
5875 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5876 (gst_fake_src_create):
5877 Fix handoff marshall.
5879 * gst/elements/gstidentity.c: (gst_identity_class_init),
5880 (gst_identity_transform_ip):
5881 We're a real inplace element.
5883 * gst/gstbus.c: (gst_bus_post):
5884 Added some comments.
5886 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5887 * tests/muxing/case1.c: (main):
5888 * tests/sched/dynamic-pipeline.c: (main):
5889 * tests/sched/interrupt1.c: (main):
5890 * tests/sched/interrupt2.c: (main):
5891 * tests/sched/interrupt3.c: (main):
5892 * tests/sched/runxml.c: (main):
5893 * tests/sched/sched-stress.c: (main):
5894 * tests/seeking/seeking1.c: (event_received), (main):
5895 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5897 * tests/threadstate/threadstate3.c: (main):
5898 * tests/threadstate/threadstate4.c: (main):
5899 * tests/threadstate/threadstate5.c: (main):
5902 2005-07-21 Wim Taymans <wim@fluendo.com>
5904 * docs/design/part-seeking.txt:
5905 Some small additions.
5907 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5908 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5909 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5910 * gst/base/gstbasesink.h:
5911 discont values are gint64, handle the math correctly.
5913 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5914 Make the basesrc report error if the source pad is not linked.
5916 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5917 (gst_queue_loop), (gst_queue_handle_src_query),
5918 (gst_queue_src_activate_push):
5919 Make queue collect data even if the srcpad is not linked.
5920 Start pushing out data as soon as it is linked.
5922 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5924 Added gst_flow_get_name() to ease error reporting.
5926 2005-07-20 Wim Taymans <wim@fluendo.com>
5928 * gst/gstmessage.c: (gst_message_new_segment_start),
5929 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5930 (gst_message_parse_segment_done):
5932 Added a bunch of messages for advanced seeking.
5934 * gst/parse/grammar.y:
5935 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5936 (gst_dpman_state_changed):
5937 Fix some new-pad -> pad-added signals
5939 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5941 * docs/manual/appendix-porting.xml:
5942 * docs/pwg/appendix-porting.xml:
5943 Document new-pad/state-change signal renames and the FixedList
5946 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5948 * docs/manual/advanced-autoplugging.xml:
5949 * docs/manual/basics-helloworld.xml:
5950 * docs/manual/basics-pads.xml:
5951 * docs/random/ds/0.9-suggested-changes:
5952 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5957 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5958 (gst_structure_parse_array), (gst_structure_parse_value):
5959 * gst/gstvalue.c: (gst_type_is_fixed),
5960 (gst_value_list_prepend_value), (gst_value_list_append_value),
5961 (gst_value_list_get_size), (gst_value_list_get_value),
5962 (gst_value_transform_array_string), (gst_value_serialize_array),
5963 (gst_value_deserialize_array), (gst_value_intersect_array),
5964 (gst_value_is_fixed), (_gst_value_initialize):
5966 GstElement::new-pad -> pad-added, GstElement::state-change ->
5967 state-changed, GstValueFixedList -> GstValueArray, add format and
5968 flags as their own arguments in gst_element_seek() (should improve
5969 "bindeability"), remove function generators since they don't work
5970 under a whole bunch of compilers (they were deprecated already
5973 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5975 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5976 (_gst_debug_register_funcptr):
5978 Fix illegal cast on some platforms (#309253).
5980 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5982 * gst/gstmessage.c: (gst_message_new_custom):
5984 Add _new_custom, make _new_application a macro to _new_custom.
5986 2005-07-20 Wim Taymans <wim@fluendo.com>
5988 * gst/base/gstbasesrc.c: (gst_base_src_init),
5989 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5990 * gst/base/gstbasesrc.h:
5991 Add a gboolean to decide when to push out a discont.
5993 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5994 (gst_queue_loop), (gst_queue_handle_src_query),
5995 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5996 (gst_queue_set_property), (gst_queue_get_property):
5999 * tests/threadstate/threadstate1.c: (main):
6000 Make a thread test compile and run... very silly..
6003 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6005 * docs/manual/appendix-porting.xml:
6006 Mention removal of libgstgconf-0.9.la and existence of gconf
6009 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6011 * docs/pwg/advanced-clock.xml:
6012 * docs/pwg/appendix-porting.xml:
6013 * docs/pwg/intro-preface.xml:
6014 * docs/pwg/other-base.xml:
6015 * docs/pwg/other-manager.xml:
6016 * docs/pwg/other-nton.xml:
6017 * docs/pwg/other-ntoone.xml:
6018 * docs/pwg/other-oneton.xml:
6020 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6021 demuxer), remove n-to-n (was never written), fix some code examples
6022 and links and update the porting section to include all this.
6024 2005-07-19 Wim Taymans <wim@fluendo.com>
6026 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6027 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6028 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6029 (gst_queue_src_activate_push), (gst_queue_change_state),
6030 (gst_queue_get_property):
6032 Propagate GstFlowReturn more intelligently upstream and output
6033 an ERROR/EOS when streaming stopped due to fatal error.
6035 2005-07-19 Wim Taymans <wim@fluendo.com>
6037 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6038 Don't block forever for the state change to complete, the
6039 pipeline already did with a sensible timeout.
6041 2005-07-19 Wim Taymans <wim@fluendo.com>
6043 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6044 Make sure we never call the create function is we
6047 2005-07-19 Andy Wingo <wingo@pobox.com>
6049 * gst/parse/parse.l: Attempt to solve bug #172815.
6051 2005-07-19 Wim Taymans <wim@fluendo.com>
6053 * docs/design/part-clocks.txt:
6054 * docs/design/part-events.txt:
6055 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6057 Only update the seeking values when we are not
6060 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6062 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6063 Oops, ignore the result of gst_pad_push_event here.
6065 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6067 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6068 (gst_base_src_activate_push):
6069 Send discont event from the loop function, as pads
6070 aren't activated yet in the activate_push handler.
6072 * gst/gstbin.c: (bin_bus_handler):
6073 Don't leak element name.
6075 2005-07-18 Andy Wingo <wingo@pobox.com>
6077 * configure.ac: Use AS_LIBTOOL_TAGS.
6079 2005-07-18 Wim Taymans <wim@fluendo.com>
6081 * docs/gst/gstreamer.types:
6082 Remove deleted types.
6084 2005-07-18 Wim Taymans <wim@fluendo.com>
6086 * check/elements/gstfakesrc.c: (GST_START_TEST):
6089 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6090 (init_popt_callback):
6092 * gst/gst_private.h:
6093 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6094 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6097 * gst/gstconfig.h.in:
6098 * gst/gstelement.c: (gst_element_class_init),
6099 (gst_element_set_base_time), (gst_element_get_base_time),
6100 (iterator_fold_with_resync), (gst_element_change_state),
6101 (gst_element_dispose), (gst_element_get_bus):
6103 * gst/gstelementfactory.h:
6104 * gst/gsterror.c: (_gst_core_errors_init):
6107 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6109 * gst/gstinfo.c: (_gst_debug_init):
6110 * gst/gstmessage.c: (_gst_message_copy):
6112 * gst/gstminiobject.h:
6115 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6116 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6119 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6120 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6121 (gst_pipeline_get_last_stream_time):
6122 * gst/gstpipeline.h:
6123 * gst/gstpluginfeature.h:
6125 * gst/gstscheduler.c:
6126 * gst/gstscheduler.h:
6127 * gst/gststructure.h:
6128 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6129 (gst_task_finalize), (gst_task_func), (gst_task_create),
6130 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6131 (gst_task_stop), (gst_task_pause):
6133 * gst/gsttypefind.h:
6135 * gst/registries/gstlibxmlregistry.c: (load_feature),
6136 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6137 * gst/registries/gstxmlregistry.c:
6138 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6139 * gst/schedulers/threadscheduler.c:
6140 * libs/gst/control/dparammanager.h:
6141 * tools/gst-inspect.c: (print_element_list),
6142 (print_plugin_features), (print_element_features):
6143 * tools/gst-xmlinspect.c: (print_element_list),
6144 (print_plugin_info), (main):
6145 Removed plugable schedulers.
6146 Removed Scheduler/Manager from elements.
6147 Removed gsttypes.h, rearranged includes.
6148 Removed dependency pad<->element, element<>pipeline, and
6149 various others, fix includes.
6150 implement gst_pad_get_parent() with gst_object_get_parent()
6151 Make GstTask sefcontained.
6152 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6154 Fix endless loop in iterator_fold_with_resync.
6157 2005-07-18 Wim Taymans <wim@fluendo.com>
6163 2005-07-18 Wim Taymans <wim@fluendo.com>
6168 2005-07-18 Wim Taymans <wim@fluendo.com>
6174 2005-07-18 Wim Taymans <wim@fluendo.com>
6176 * docs/design/part-dynamic.txt:
6177 * docs/design/part-events.txt:
6178 * docs/design/part-seeking.txt:
6179 Some more docs in the works.
6181 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6182 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6183 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6184 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6185 (gst_base_transform_handle_buffer),
6186 (gst_base_transform_sink_activate_push),
6187 (gst_base_transform_src_activate_pull),
6188 (gst_base_transform_set_passthrough),
6189 (gst_base_transform_is_passthrough):
6192 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6195 * gst/gstevent.c: (gst_event_finalize):
6198 * gst/gstutils.c: (gst_element_unlink),
6199 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6200 (gst_pad_proxy_setcaps):
6202 Add _get_parent_element() to get a pads parent as an element.
6204 2005-07-18 Wim Taymans <wim@fluendo.com>
6206 * check/gst/gstbin.c: (GST_START_TEST):
6209 2005-07-18 Wim Taymans <wim@fluendo.com>
6211 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6212 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6213 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6214 (gst_base_sink_event), (gst_base_sink_do_sync),
6215 (gst_base_sink_chain), (gst_base_sink_loop),
6216 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6217 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6219 Fix logic for returning ASYNC when not prerolled.
6221 2005-07-18 Wim Taymans <wim@fluendo.com>
6223 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6224 Fix nasty refcount bug.
6226 2005-07-16 Philippe Khalaf <burger@speedy.org>
6228 * gst/elements/gstfdsrc.c:
6229 * gst/elements/gstfdsrc.h:
6230 * gst/elements/gstelements.c:
6231 * gst/elements/Makefile.am:
6232 Ported fdsrc to 0.9.
6234 2005-07-16 Wim Taymans <wim@fluendo.com>
6236 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6237 (gst_base_sink_do_sync):
6240 2005-07-16 Wim Taymans <wim@fluendo.com>
6242 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6243 (gst_base_sink_event), (gst_base_sink_get_times),
6244 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6245 * gst/base/gstbasesink.h:
6246 Store and use discont values when syncing buffers as described
6249 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6250 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6251 (gst_base_src_activate_push):
6252 Push discont event when starting.
6254 * gst/elements/gstidentity.c: (gst_identity_transform):
6257 * gst/gstbin.c: (gst_bin_change_state):
6258 Small cleanups in base_time distribution.
6260 * gst/gstelement.c: (gst_element_set_base_time),
6261 (gst_element_get_base_time), (gst_element_change_state):
6263 Added methods for the base_time of the element.
6266 * gst/gstpipeline.c: (gst_pipeline_send_event),
6267 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6268 (gst_pipeline_get_last_stream_time):
6269 * gst/gstpipeline.h:
6271 Handle seeking as described in design doc, remove stream_time
6273 Cleanups clock and stream_time selection code. Added accessors
6274 for the stream_time.
6277 2005-07-16 Andy Wingo <wingo@pobox.com>
6279 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6282 2005-07-16 Wim Taymans <wim@fluendo.com>
6284 * check/gst/gstbin.c: (GST_START_TEST):
6285 Make elements silent as the deep_notify refs the
6286 parent, which might make the test fail.
6288 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6289 Don't hold the lock for too long.
6291 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6293 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6294 Don't unref the caps we passed to gst_caps_make_writable() after
6295 passing them. gst_caps_make_writable() will do that for us.
6297 2005-07-15 Andy Wingo <wingo@pobox.com>
6299 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6302 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6303 own marshalling function for the handoff signal. Properly type the
6304 buffer as a buffer. Fixes some warnings. Should do a more general
6306 (gst_identity_class_init): Plug into the right marshaller.
6308 2005-07-15 Wim Taymans <wim@fluendo.com>
6310 * docs/design/part-TODO.txt:
6311 * docs/design/part-clocks.txt:
6312 * docs/design/part-element-sink.txt:
6313 * docs/design/part-events.txt:
6314 * docs/design/part-gstpipeline.txt:
6315 Updated docs, mostly DISCONT related.
6317 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6319 * docs/pwg/building-pads.xml:
6320 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6322 2005-07-15 Andy Wingo <wingo@pobox.com>
6324 * tools/gst-typefind.c: Update, add copyright block.
6326 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6327 Normalize and truncate caps before fixation.
6330 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6331 discards all but the first structure from its argument.
6333 2005-07-15 Wim Taymans <wim@fluendo.com>
6335 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6336 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6337 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6338 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6339 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6340 (gst_base_transform_chain), (gst_base_transform_change_state),
6341 (gst_base_transform_set_passthrough),
6342 (gst_base_transform_is_passthrough):
6343 * gst/base/gstbasetransform.h:
6344 Make passthrough work using the bufferpools.
6345 Changed API a bit, subclasses have to write into a buffer
6346 provided by the base class.
6347 More debug info in nego functions.
6349 * gst/elements/gstidentity.c: (gst_identity_init),
6350 (gst_identity_transform):
6351 Port to new base class.
6353 2005-07-15 Wim Taymans <wim@fluendo.com>
6355 * gst/gstmessage.c: (gst_message_new_state_changed):
6356 * tools/gst-launch.c: (event_loop), (main):
6357 Totally dump messages in -launch with the -m option.
6358 Fix message name for State messages,
6360 2005-07-14 Wim Taymans <wim@fluendo.com>
6362 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6363 Post error messages on errors.
6365 2005-07-14 Wim Taymans <wim@fluendo.com>
6367 * gst/gstcaps.c: (gst_caps_do_simplify):
6371 Define error for stream stopped.
6373 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6374 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6375 Do proper return values.
6377 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6378 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6379 (gst_pad_get_range):
6380 Better return values.
6383 Reorganise return values, add macro to check for fatal errors.
6385 * gst/gstqueue.c: (gst_queue_chain):
6386 Return proper GstFlowReturn values,
6388 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6390 * docs/gst/gstreamer-sections.txt:
6391 * docs/gst/gstreamer.types:
6392 * docs/gst/tmpl/gst.sgml:
6393 * docs/gst/tmpl/gstbasesink.sgml:
6394 * docs/gst/tmpl/gstbasesrc.sgml:
6395 * docs/gst/tmpl/gstbasetransform.sgml:
6396 * docs/gst/tmpl/gstbin.sgml:
6397 * docs/gst/tmpl/gstbuffer.sgml:
6398 * docs/gst/tmpl/gstcaps.sgml:
6399 * docs/gst/tmpl/gstclock.sgml:
6400 * docs/gst/tmpl/gstcompat.sgml:
6401 * docs/gst/tmpl/gstconfig.sgml:
6402 * docs/gst/tmpl/gstelement.sgml:
6403 * docs/gst/tmpl/gstelementdetails.sgml:
6404 * docs/gst/tmpl/gstelementfactory.sgml:
6405 * docs/gst/tmpl/gstenumtypes.sgml:
6406 * docs/gst/tmpl/gsterror.sgml:
6407 * docs/gst/tmpl/gstevent.sgml:
6408 * docs/gst/tmpl/gstfakesink.sgml:
6409 * docs/gst/tmpl/gstfakesrc.sgml:
6410 * docs/gst/tmpl/gstfilesink.sgml:
6411 * docs/gst/tmpl/gstfilesrc.sgml:
6412 * docs/gst/tmpl/gstfilter.sgml:
6413 * docs/gst/tmpl/gstformat.sgml:
6414 * docs/gst/tmpl/gstghostpad.sgml:
6415 * docs/gst/tmpl/gstimplementsinterface.sgml:
6416 * docs/gst/tmpl/gstindex.sgml:
6417 * docs/gst/tmpl/gstindexfactory.sgml:
6418 * docs/gst/tmpl/gstinfo.sgml:
6419 * docs/gst/tmpl/gstiterator.sgml:
6420 * docs/gst/tmpl/gstmacros.sgml:
6421 * docs/gst/tmpl/gstmemchunk.sgml:
6422 * docs/gst/tmpl/gstminiobject.sgml:
6423 * docs/gst/tmpl/gstobject.sgml:
6424 * docs/gst/tmpl/gstpad.sgml:
6425 * docs/gst/tmpl/gstpadtemplate.sgml:
6426 * docs/gst/tmpl/gstparse.sgml:
6427 * docs/gst/tmpl/gstpipeline.sgml:
6428 * docs/gst/tmpl/gstplugin.sgml:
6429 * docs/gst/tmpl/gstpluginfeature.sgml:
6430 * docs/gst/tmpl/gstquery.sgml:
6431 * docs/gst/tmpl/gstqueue.sgml:
6432 * docs/gst/tmpl/gstregistry.sgml:
6433 * docs/gst/tmpl/gstregistrypool.sgml:
6434 * docs/gst/tmpl/gstscheduler.sgml:
6435 * docs/gst/tmpl/gstschedulerfactory.sgml:
6436 * docs/gst/tmpl/gststructure.sgml:
6437 * docs/gst/tmpl/gstsystemclock.sgml:
6438 * docs/gst/tmpl/gsttaglist.sgml:
6439 * docs/gst/tmpl/gsttagsetter.sgml:
6440 * docs/gst/tmpl/gsttrace.sgml:
6441 * docs/gst/tmpl/gsttrashstack.sgml:
6442 * docs/gst/tmpl/gsttypefind.sgml:
6443 * docs/gst/tmpl/gsttypefindfactory.sgml:
6444 * docs/gst/tmpl/gsttypes.sgml:
6445 * docs/gst/tmpl/gsturihandler.sgml:
6446 * docs/gst/tmpl/gsturitype.sgml:
6447 * docs/gst/tmpl/gstutils.sgml:
6448 * docs/gst/tmpl/gstvalue.sgml:
6449 * docs/gst/tmpl/gstversion.sgml:
6450 * docs/gst/tmpl/gstxml.sgml:
6451 * docs/libs/tmpl/gstcontrol.sgml:
6452 * docs/libs/tmpl/gstdataprotocol.sgml:
6453 * docs/libs/tmpl/gstdparam.sgml:
6454 * docs/libs/tmpl/gstdplinint.sgml:
6455 * docs/libs/tmpl/gstdpman.sgml:
6456 * docs/libs/tmpl/gstdpsmooth.sgml:
6457 * docs/libs/tmpl/gstgetbits.sgml:
6458 * docs/libs/tmpl/gstunitconvert.sgml:
6459 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6460 (gst_push_src_base_init), (gst_push_src_class_init),
6461 (gst_push_src_init), (gst_push_src_create):
6462 * gst/base/gstpushsrc.h:
6463 * gst/elements/gstelements.c:
6464 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6465 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6466 (gst_fake_sink_init), (gst_fake_sink_set_property),
6467 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6468 (gst_fake_sink_event), (gst_fake_sink_preroll),
6469 (gst_fake_sink_render), (gst_fake_sink_change_state):
6470 * gst/elements/gstfakesink.h:
6471 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6472 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6473 (gst_fake_src_base_init), (gst_fake_src_class_init),
6474 (gst_fake_src_init), (gst_fake_src_event_handler),
6475 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6476 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6477 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6478 (gst_fake_src_create_buffer), (gst_fake_src_create),
6479 (gst_fake_src_start), (gst_fake_src_stop):
6480 * gst/elements/gstfakesrc.h:
6481 * gst/elements/gstfilesink.c: (_do_init),
6482 (gst_file_sink_base_init), (gst_file_sink_class_init),
6483 (gst_file_sink_init), (gst_file_sink_dispose),
6484 (gst_file_sink_set_location), (gst_file_sink_set_property),
6485 (gst_file_sink_get_property), (gst_file_sink_open_file),
6486 (gst_file_sink_close_file), (gst_file_sink_query),
6487 (gst_file_sink_event), (gst_file_sink_render),
6488 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6489 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6490 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6491 * gst/elements/gstfilesink.h:
6492 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6493 (gst_file_src_class_init), (gst_file_src_init),
6494 (gst_file_src_finalize), (gst_file_src_set_location),
6495 (gst_file_src_set_property), (gst_file_src_get_property),
6496 (gst_file_src_map_region), (gst_file_src_map_small_region),
6497 (gst_file_src_create_mmap), (gst_file_src_create_read),
6498 (gst_file_src_create), (gst_file_src_is_seekable),
6499 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6500 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6501 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6502 (gst_file_src_uri_handler_init):
6503 * gst/elements/gstfilesrc.h:
6504 more autistic cleanliness in functions/names/defines
6506 2005-07-13 Andy Wingo <wingo@pobox.com>
6508 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6509 source couldn't negotiate.
6511 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6515 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6516 function. I am channeling Hades. Put your boots on suckers!!!
6518 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6520 * testsuite/caps/Makefile.am:
6521 * testsuite/caps/value_compare.c:
6522 * testsuite/caps/value_intersect.c:
6523 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6524 move two testsuite apps over to the check dir
6526 2005-07-12 Wim Taymans <wim@fluendo.com>
6528 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6529 Added more debug info in the negotiate process.
6532 Prepare for segment playback.
6534 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6540 * tools/gst-launch.c: (main):
6541 NULL pipeline on errors.
6543 2005-07-12 Andy Wingo <wingo@pobox.com>
6545 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6546 not it comes from a malloc region. Make sure our copy gets freed.
6548 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6550 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6551 * check/gst/gstmessage.c: (GST_START_TEST):
6552 * check/gst/gststructure.c: (GST_START_TEST),
6553 (gst_structure_suite), (main):
6555 * gst/gstelement.c: (gst_element_message_full):
6556 clean up GError and debug string now that they get copied
6557 * gst/gstmessage.c: (gst_message_new_error),
6558 (gst_message_new_warning), (gst_message_parse_error),
6559 (gst_message_parse_warning):
6560 use GST_TYPE_G_ERROR for structure_new, and take copies of
6561 arguments, so that we don't mess up refcounting
6563 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6565 * check/Makefile.am:
6566 add per-test valgrind targets
6567 * check/gst-libs/gdp.c: (GST_START_TEST),
6568 (gst_data_protocol_suite), (main):
6571 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6573 * check/Makefile.am:
6574 instate more valgrindable tests
6575 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6576 (GST_START_TEST), (fakesrc_suite):
6577 * check/gst/gstpad.c: (GST_START_TEST):
6578 * check/gst/gststructure.c: (GST_START_TEST):
6580 * docs/gst/tmpl/gstminiobject.sgml:
6581 * gst/gstpad.c: (gst_pad_finalize):
6582 fix the static mutex leak
6584 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6586 * check/Makefile.am:
6587 add two more tests for valgrinding
6588 * check/gst/gstvalue.c: (GST_START_TEST):
6589 test refcount of deserialized buffer, found a leak
6590 * docs/gst/gstreamer-docs.sgml:
6591 * docs/gst/gstreamer-sections.txt:
6592 * docs/gst/gstreamer.types:
6593 * docs/gst/tmpl/gstminiobject.sgml:
6594 add miniobject to docs
6595 * gst/gstminiobject.c:
6597 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6598 (gst_string_unwrap):
6599 fix a hard-to-find invalid write for one of the tests
6600 fix a leak for deserialized buffers
6602 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6604 * docs/pwg/advanced-events.xml:
6605 * docs/pwg/advanced-request.xml:
6606 * docs/pwg/advanced-scheduling.xml:
6607 * docs/pwg/appendix-porting.xml:
6608 * docs/pwg/building-boiler.xml:
6609 * docs/pwg/intro-preface.xml:
6610 * docs/pwg/other-ntoone.xml:
6611 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6612 of example code and explanation for pad activation, loop() and
6613 getrange() functions and a bit more. Remove old comments pointing
6615 * examples/pwg/Makefile.am:
6616 Add loop/getrange examples.
6618 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6621 check for valgrind binary + some fixes
6623 valgrind suppressions for the tests
6624 * check/Makefile.am:
6625 add a valgrind: target that valgrinds the unit tests
6626 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6627 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6628 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6629 * check/gst/gstghostpad.c:
6631 * check/gst/gstdata.c:
6633 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6634 (thread_unref), (gst_mini_object_suite), (main):
6636 * gst/gst.c: (gst_deinit):
6638 add a method to clean up.
6639 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6640 (gst_system_clock_obtain):
6641 allow for disposing the system clock.
6642 * tools/gst-launch.c: (main):
6645 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6647 * docs/gst/tmpl/gstbasesrc.sgml:
6648 * docs/gst/tmpl/gstfakesrc.sgml:
6649 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6650 (gst_base_src_init), (gst_base_src_set_property),
6651 (gst_base_src_get_property), (gst_base_src_get_range),
6652 (gst_base_src_start):
6653 * gst/base/gstbasesrc.h:
6654 add num-buffers property
6655 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6656 (gst_fakesrc_init), (gst_fakesrc_set_property),
6657 (gst_fakesrc_get_property), (gst_fakesrc_create),
6658 (gst_fakesrc_start):
6659 remove num-buffers property
6661 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6663 * docs/gst/gstreamer-sections.txt:
6664 * docs/gst/tmpl/gstbasesink.sgml:
6665 * docs/gst/tmpl/gstbasesrc.sgml:
6666 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6667 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6668 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6669 (gst_base_sink_set_property), (gst_base_sink_get_property),
6670 (gst_base_sink_handle_object), (gst_base_sink_event),
6671 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6672 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6673 (gst_base_sink_loop), (gst_base_sink_deactivate),
6674 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6675 (gst_base_sink_change_state):
6676 * gst/base/gstbasesink.h:
6677 * gst/base/gstbasesrc.h:
6678 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6679 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6680 (gst_filesink_init):
6681 more macro splitting
6683 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6685 * gst/gstelement.c: (gst_element_get_bus):
6687 * tools/gst-launch.c: (check_intr), (event_loop):
6690 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6692 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6695 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6697 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6698 (gst_base_src_finalize):
6699 add finalize method and clean up properly
6700 * gst/gstpipeline.c: (gst_pipeline_dispose):
6703 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6705 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6707 add more things to check
6708 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6712 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6714 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6715 (GST_START_TEST), (fakesrc_suite):
6716 * check/gst-libs/gdp.c: (GST_START_TEST):
6717 * check/gst/gst.c: (GST_START_TEST):
6718 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6719 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6720 * check/gst/gstbus.c: (GST_START_TEST):
6721 * check/gst/gstcaps.c: (GST_START_TEST):
6722 * check/gst/gstdata.c: (GST_START_TEST):
6723 * check/gst/gstelement.c: (GST_START_TEST):
6724 * check/gst/gstghostpad.c: (GST_START_TEST):
6725 * check/gst/gstiterator.c: (GST_START_TEST):
6726 * check/gst/gstmessage.c: (GST_START_TEST):
6727 * check/gst/gstobject.c: (GST_START_TEST):
6728 * check/gst/gstpad.c: (GST_START_TEST):
6729 * check/gst/gststructure.c: (GST_START_TEST):
6730 * check/gst/gstsystemclock.c: (GST_START_TEST),
6731 (gst_systemclock_suite):
6732 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6733 * check/gst/gstvalue.c: (GST_START_TEST):
6734 * check/pipelines/cleanup.c: (GST_START_TEST):
6735 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6736 * check/states/sinks.c: (GST_START_TEST):
6737 * check/gstcheck.c: (gst_check_init):
6739 add debugging category
6740 use GST_START_TEST now, so we add a debug line
6742 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6744 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6745 add test for state change message on a bin
6746 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6748 * gst/gstbin.c: (gst_bin_init):
6749 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6750 * gst/gstelement.c: (gst_element_post_message),
6751 (gst_element_set_state):
6752 * gst/gstelementfactory.c: (gst_element_factory_create):
6753 * gst/gstmessage.c: (gst_message_new):
6754 * gst/gstscheduler.c:
6755 various debugging additions and cleanups
6757 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6759 * check/Makefile.am:
6760 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6762 adding tests for elements
6763 * gst/gstelement.c: (gst_element_dispose):
6765 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6767 * gst/registries/gstlibxmlregistry.c: (load_feature):
6768 plug more leaks. A simple gst_init() now is leakfree, yay.
6770 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6772 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6773 (gst_xml_registry_load):
6774 plug another memleak
6776 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6779 use GST_SET_ERROR_CFLAGS
6781 change to ERROR_CFLAGS
6783 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6786 make GST_ERROR_CFLAGS overridable and re-enable Werror
6788 add a note about error CFLAGS
6789 * docs/gst/tmpl/gstfakesrc.sgml:
6790 * gst/elements/gstfakesrc.c:
6791 comment out some unused code
6792 * gst/gst.c: (split_and_iterate):
6793 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6797 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6799 * common/Makefile.am:
6800 * common/gtk-doc.mak:
6801 * docs/gst/Makefile.am:
6802 factor out gtk-doc.mak
6804 2005-07-07 Wim Taymans <wim@fluendo.com>
6806 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6807 (gst_thread_scheduler_dispose):
6808 Unlock the STREAM_LOCK completely.
6810 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6812 * check/Makefile.am:
6813 * check/elements/.cvsignore:
6814 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6815 (START_TEST), (fakesrc_suite), (main):
6816 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6817 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6818 (gst_fakesrc_create), (gst_fakesrc_start):
6819 * gst/elements/gstfakesrc.h:
6820 adding a first element test
6822 2005-07-07 Andy Wingo <wingo@pobox.com>
6824 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6827 2005-07-07 Wim Taymans <wim@fluendo.com>
6833 2005-07-07 Wim Taymans <wim@fluendo.com>
6835 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6836 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6837 Allow subclasses to implement their own negotiation.
6839 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6841 * docs/design/part-gstbin.txt:
6842 * docs/design/part-gstpipeline.txt:
6843 Update design notes to reflect the movement of
6844 responsibility for bus handling from GstPipeline to
6847 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6850 Remove unnecessary queue2/3/4 examples.
6852 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6854 * examples/Makefile.am:
6855 * examples/helloworld/helloworld.c: (event_loop), (main):
6856 * examples/queue/queue.c: (event_loop), (main):
6857 * examples/queue2/queue2.c: (main):
6858 Update a couple of the examples to work again.
6860 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6861 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6862 Spelling corrections and extra debug.
6864 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6865 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6866 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6868 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6869 (gst_pipeline_change_state):
6870 * gst/gstpipeline.h:
6871 Move the bus handler for children to the GstBin, and create a
6872 separate bus for receiving messages from children to the one the
6873 bus sends 'upwards' on.
6875 2005-07-06 Wim Taymans <wim@fluendo.com>
6878 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6879 (gst_base_sink_handle_object), (gst_base_sink_loop),
6880 (gst_base_sink_change_state):
6881 * gst/base/gstbasesink.h:
6882 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6883 (gst_base_src_init), (gst_base_src_setcaps),
6884 (gst_base_src_getcaps), (gst_base_src_loop),
6885 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6886 (gst_base_src_start), (gst_base_src_change_state):
6887 * gst/base/gstbasesrc.h:
6888 Make basesrc negotiate.
6889 Handle the case where preroll fails in basesink.
6892 2005-07-06 Wim Taymans <wim@fluendo.com>
6894 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6895 Implement the fixate function.
6896 Clean up acceptcaps.
6898 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6900 * docs/pwg/building-filterfactory.xml:
6902 Remove never-written filter-factory chapter; I'll add the various
6903 base classes to part 4 ("other element types") later on.
6905 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6907 * docs/pwg/advanced-negotiation.xml:
6908 * docs/pwg/building-boiler.xml:
6909 * docs/pwg/building-pads.xml:
6911 * examples/pwg/Makefile.am:
6912 Add a chapter on caps negotiation, simplify the original code
6913 samples a bit w.r.t. caps negotiation, add link to the advanced
6914 section. Add a bunch of examples showing different use cases of
6915 different types of caps negotiation. Upstream renegotiation isn't
6916 fully documented yet since nobody knows how that works.
6918 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6920 * check/gst/gstpad.c:
6922 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6923 if pad has no parent, return NULL as list of internal links
6925 2005-07-05 Andy Wingo <wingo@pobox.com>
6927 * gst/elements/gstfilesrc.c:
6928 * gst/elements/gstfakesrc.c:
6929 * gst/base/gstpushsrc.c:
6930 * gst/base/gstbasesrc.h:
6931 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6933 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6936 better report generation target (lcov needs a patch)
6938 2005-07-05 Andy Wingo <wingo@pobox.com>
6940 * gst/elements, testsuite: Null if we got it...
6942 2005-07-05 Wim Taymans <wim@fluendo.com>
6945 * libs/gst/dataprotocol/Makefile.am:
6946 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6947 * libs/gst/dataprotocol/dataprotocol.h:
6948 * pkgconfig/Makefile.am:
6949 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6950 * pkgconfig/gstreamer-dataprotocol.pc.in:
6951 Ported dataprotol to 0.9.
6952 Added pkgconfig files.
6954 2005-07-05 Andy Wingo <wingo@pobox.com>
6956 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6957 Default to returning TRUE for the case when tranform_caps returns
6958 a fixed caps, like for identity or volume.
6960 * check/gst/gstbus.c (pound_bus_with_messages):
6961 * check/gst/gstmessage.c (START_TEST):
6962 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6965 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6966 logic weaks here: always run transform_caps, trying passthrough
6967 operation only if the original caps intersects with the transform.
6969 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6970 source and sink caps.
6972 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6973 Intersect the peer caps with the pad template before going into
6975 (gst_base_transform_transform_caps): More debugging.
6977 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6980 2005-07-04 Edward Hervey <edward@fluendo.com>
6984 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6987 2005-07-04 Andy Wingo <wingo@pobox.com>
6989 * check/gst/gstpad.c: Only set explicit caps on pads.
6991 2005-07-01 Andy Wingo <wingo@pobox.com>
6993 * tests/network-clock.scm: Commentary update.
6995 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6996 Didn't really make sense, not implementable with basetransform,
6998 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6999 attempt at implementing the sync property, needs an unlock method.
7001 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7002 New func, by default returns the same caps (the identity
7004 (gst_base_transform_getcaps): Uses transform_caps to return
7006 (gst_base_transform_setcaps): Complicated logic to get caps on
7007 both pads, even if they are different, and to call set_caps once
7008 for every time both pads get their caps set.
7009 (gst_base_transform_handle_buffer): Give the ref to the transform
7010 function. Allows in-place modification of the buffer.
7012 * gst/base/gstbasetransform.h (transform_caps): New class method.
7013 Given caps on one side, what can I do on the other.
7014 (set_caps): Take two caps, one for each side of the element.
7017 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7018 caps in place. This is safe because we can check the mutability of
7019 the caps, and a good idea because fixate functions are just called
7020 as a matter of last resort. (Not actually implemented.)
7021 (gst_pad_set_caps): If the caps we're setting is actually the same
7022 as the existing pad caps, just update the pointer without calling
7023 setcaps. Assert that caps is either NULL or fixed, as per the
7026 * gst/gstghostpad.c: Update for fixate changes.
7028 2005-07-02 Andy Wingo <wingo@pobox.com>
7031 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7032 two refcounts makes it immutable, which is enough. Doc more.
7034 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7036 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7037 Put the mini_object into GValue as a mini_object,
7038 not a gpointer, since that's how we declared
7041 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7043 * examples/pwg/Makefile.am:
7046 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7048 * docs/pwg/building-testapp.xml:
7050 * examples/pwg/Makefile.am:
7053 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7056 * examples/Makefile.am:
7057 * examples/pwg/Makefile.am:
7058 * examples/pwg/extract.pl:
7059 Enable building the PWG examples.
7060 * docs/pwg/advanced-interfaces.xml:
7061 Add URI interface stub.
7062 * docs/pwg/advanced-types.xml:
7063 * docs/pwg/other-autoplugger.xml:
7064 * docs/pwg/appendix-porting.xml:
7066 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7067 * docs/pwg/building-boiler.xml:
7068 * docs/pwg/building-chainfn.xml:
7069 * docs/pwg/building-pads.xml:
7070 * docs/pwg/building-props.xml:
7071 * docs/pwg/building-state.xml:
7072 * docs/pwg/building-testapp.xml:
7073 Update the building-*.xml parts for 0.9 changes. All examples
7074 code blocks compile in examples/pwg/*.
7076 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7078 * docs/manual/advanced-autoplugging.xml:
7079 * docs/manual/appendix-checklist.xml:
7080 * docs/manual/appendix-integration.xml:
7081 * docs/manual/highlevel-components.xml:
7082 Fix playbin/decodebin examples, update docs a bit, mention bus
7083 instead of signals in various places, mention kmplayer and
7084 kaffeine since they have a working GStreamer backend in the KDE
7087 2005-06-30 Wim Taymans <wim@fluendo.com>
7090 * docs/design/draft-ghostpads.txt:
7091 * docs/design/draft-push-pull.txt:
7092 * docs/design/draft-query.txt:
7093 * docs/design/part-TODO.txt:
7094 * docs/design/part-query.txt:
7095 Added CHANGES-0.9 doc, updated status of other docs.
7100 2005-06-30 Wim Taymans <wim@fluendo.com>
7102 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7103 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7104 (gst_base_sink_change_state):
7105 * gst/base/gstbasesink.h:
7106 Some tweaks, only EOS and a buffer complete a preroll.
7108 2005-06-30 Andy Wingo <wingo@pobox.com>
7110 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7111 activate_push down to the internal pad as well.
7113 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7115 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7117 * gst/gsttaginterface.c:
7118 Some documentation fixes (#307394 and #307397).
7120 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7122 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7124 * gst/gstvalue.c: (gst_value_intersect_list):
7125 Fix memleak (#309125).
7127 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7129 * docs/manual/advanced-dataaccess.xml:
7130 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7131 * docs/manual/basics-pads.xml:
7132 Add reference for filtered caps to above chapter.
7134 2005-06-30 Wim Taymans <wim@fluendo.com>
7136 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7137 (gst_bin_change_state):
7139 Lame attempt at making the state change function a bit
7142 2005-06-30 Wim Taymans <wim@fluendo.com>
7144 * docs/design/part-clocks.txt:
7145 * docs/design/part-element-sink.txt:
7146 * docs/design/part-events.txt:
7147 * docs/design/part-preroll.txt:
7148 * docs/design/part-states.txt:
7149 Some more tweeks and additions to the docs.
7151 2005-06-30 Wim Taymans <wim@fluendo.com>
7153 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7154 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7155 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7156 (gst_pad_check_pull_range), (gst_pad_get_range),
7157 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7159 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7160 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7161 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7162 (gst_pad_remove_buffer_probe):
7163 Removed atomic operations, use existing LOCK.
7164 Move exception handling out of main code path.
7166 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7168 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7169 (silly_return_true_function), (gst_pad_class_init),
7170 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7171 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7172 (gst_pad_send_event):
7173 Fix accumulator, add default value by using _emitv() instead
7174 of _emit() for signal emission.
7176 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7178 * docs/manual/advanced-dataaccess.xml:
7179 * examples/manual/Makefile.am:
7181 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7184 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7186 * gst/elements/gstfilesink.c: (gst_filesink_render):
7187 Simplify code so that we don't have to handle short
7188 writes and return GST_FLOW_ERROR if an error occured.
7190 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7192 * docs/gst/gstreamer-docs.sgml:
7195 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7197 * docs/gst/gstreamer-sections.txt:
7198 * docs/gst/tmpl/gstpad.sgml:
7199 * docs/gst/tmpl/gstprobe.sgml:
7201 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7202 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7203 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7204 (gst_pad_push_event), (gst_pad_send_event):
7206 * gst/gstutils.c: (gst_pad_add_data_probe),
7207 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7208 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7209 (gst_pad_remove_buffer_probe):
7211 Remove old probes, add new g-signal-based probes and some utility
7214 2005-06-29 Edward Hervey <edward@fluendo.com>
7216 * gst/gstelementfactory.c:
7219 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7220 the definition to the header file.
7222 2005-06-29 Andy Wingo <wingo@pobox.com>
7224 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7225 plugins from the source directory.
7227 2005-06-29 Wim Taymans <wim@fluendo.com>
7229 * docs/gst/tmpl/gstbuffer.sgml:
7230 * docs/gst/tmpl/gstclock.sgml:
7231 Some fixings for blantently wrong text.
7233 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7235 * check/Makefile.am:
7236 * gst/gst.c: (add_path_func), (init_pre):
7237 * gst/gstregistry.c: (gst_registry_add_path):
7238 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7239 only scan the GST_PLUGIN_PATH locations, and not add
7242 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7244 * docs/gst/gstreamer-sections.txt:
7245 * docs/gst/tmpl/gstbasesrc.sgml:
7252 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7254 * docs/manual/advanced-autoplugging.xml:
7255 Fix autoplugging example.
7257 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7259 * docs/manual/advanced-autoplugging.xml:
7260 * docs/manual/mime-world.fig:
7261 Try to get autoplugging working, fix type detection. Fix text
7262 in hello-world image.
7264 2005-06-29 Wim Taymans <wim@fluendo.com>
7266 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7267 (gst_base_sink_change_state):
7271 map SIGNAL and BROADCAST to the right function.
7274 Remove redundant braces.
7276 * gst/gstpad.c: (gst_pad_set_caps):
7277 Don't call setcaps function when reseting caps to NULL.
7279 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7280 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7281 (gst_system_clock_id_unschedule):
7282 Use BROADCAST as this is what we do.
7284 2005-06-29 Wim Taymans <wim@fluendo.com>
7286 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7287 We are actually prerolling before commiting the state
7290 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7292 * docs/manual/advanced-clocks.xml:
7293 * docs/manual/advanced-interfaces.xml:
7294 * docs/manual/advanced-metadata.xml:
7295 * docs/manual/advanced-position.xml:
7296 * docs/manual/advanced-schedulers.xml:
7297 * docs/manual/advanced-threads.xml:
7298 * docs/manual/appendix-porting.xml:
7299 * docs/manual/basics-bins.xml:
7300 * docs/manual/basics-bus.xml:
7301 * docs/manual/basics-elements.xml:
7302 * docs/manual/basics-helloworld.xml:
7303 * docs/manual/basics-pads.xml:
7304 * docs/manual/highlevel-components.xml:
7305 * docs/manual/manual.xml:
7306 * docs/manual/thread.fig:
7307 Update (until threads/scheduling) Application Development Manual;
7308 remove GstThread, add GstBus, add simple porting checklist, add
7309 documentation for tag writing, clocks, make all examples until this
7310 part compile and run.
7311 * examples/manual/Makefile.am:
7312 Update from changes to Application Development Manual; add bus
7313 example, remove thread example.
7315 2005-06-28 Wim Taymans <wim@fluendo.com>
7317 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7318 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7319 (gst_bus_source_dispatch):
7320 Add debugging messages.
7321 Make internal methods static.
7322 Handle the case where the bus is flushed in the handler.
7324 * gst/gstelement.c: (gst_element_get_bus):
7325 Fix refcount in _get_bus();
7327 * gst/gstpipeline.c: (gst_pipeline_change_state),
7328 (gst_pipeline_get_clock_func):
7329 Clock refcounting fixes.
7330 Handle the case where preroll timed out more gracefully.
7332 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7333 Clean up the internal thread in dispose. This is needed
7334 for subclasses that actually get disposed.
7336 * gst/schedulers/threadscheduler.c:
7337 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7338 (gst_thread_scheduler_dispose):
7339 Free thread pool in dispose.
7341 2005-06-28 Andy Wingo <wingo@pobox.com>
7343 * tests/network-clock-utils.scm (debug, print-event): New utils.
7345 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7346 (*packet-loss*): Unified loss probability.
7347 (network-time): Report out-of-band events.
7349 * tests/plot-data: Add support for out-of-band events. Hack it
7350 into this script instead of passing it down the pipe; should fix
7353 2005-06-28 Wim Taymans <wim@fluendo.com>
7355 * docs/gst/gstreamer.types:
7356 * docs/gst/tmpl/gstbasesrc.sgml:
7357 * docs/gst/tmpl/gstpad.sgml:
7360 2005-06-28 Wim Taymans <wim@fluendo.com>
7362 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7363 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7364 (gst_proxy_pad_do_fixatecaps):
7365 Correctly proxy the check_pull_range function.
7367 2005-06-28 Andy Wingo <wingo@pobox.com>
7369 * tests/network-clock.scm: Removed need for slib.
7371 2005-06-28 Wim Taymans <wim@fluendo.com>
7373 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7374 (gst_basesink_preroll_queue_flush):
7375 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7376 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7377 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7378 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7379 (gst_proxy_pad_set_property):
7382 * gst/gstqueue.c: (gst_queue_init):
7383 The deprecated pad loop function is removed now.
7385 2005-06-28 Andy Wingo <wingo@pobox.com>
7387 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7388 New parameters, simulate network packet loss.
7390 * tests/network-clock-utils.scm: Initialize the RNG.
7392 2005-06-28 Wim Taymans <wim@fluendo.com>
7394 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7395 (gst_basesink_event), (gst_basesink_deactivate):
7396 Flushing the preroll queue always needs to unlock the waiters.
7398 2005-06-28 Edward Hervey <edward@fluendo.com>
7400 * gst/gstpipeline.c: (gst_pipeline_send_event):
7401 Wheen a seek was successful on a pipeline, set the stream_time to the
7402 seek offset in order to have a synchronized stream_time.
7404 2005-06-28 Wim Taymans <wim@fluendo.com>
7406 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7407 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7408 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7409 (gst_proxy_pad_do_fixatecaps):
7410 Call wrapper function instead of just calling the function
7411 pointers. This takes care of any locking and whatmore.
7413 2005-06-28 Wim Taymans <wim@fluendo.com>
7415 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7416 (gst_pad_pull_range):
7418 CONNECTED -> LINKED.
7420 2005-06-28 Andy Wingo <wingo@pobox.com>
7422 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7423 source-munging commit!!!
7425 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7426 (gst_object_sink): Take gpointer arguments, not GstObject --
7427 avoids casts. Like GLib.
7429 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7432 2005-06-27 Andy Wingo <wingo@pobox.com>
7434 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7437 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7438 returns a sorted copy of the trace list.
7439 (gst_alloc_trace_print_live): New API, only prints traces with
7440 live objects. Sort the list.
7441 (gst_alloc_trace_print_all): Sort the list.
7442 (gst_alloc_trace_print): Align columns.
7444 * gst/elements/gstttypefindelement.c:
7445 * gst/elements/gsttee.c:
7446 * gst/base/gstbasesrc.c:
7447 * gst/base/gstbasesink.c:
7448 * gst/base/gstbasetransform.c:
7449 * gst/gstqueue.c: Adapt for pad activation changes.
7451 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7453 (gst_pipeline_dispose): Drop ref on sched.
7455 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7456 (gst_pad_activate_default): Push mode by default.
7457 (pre_activate_switch, post_activate_switch): New stubs, things to
7458 do before and after switching activation modes on pads.
7459 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7460 the pad's activate function to choose which mode to activate.
7461 Shortcut on deactivation and call the right function directly.
7462 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7464 (gst_pad_activate_push): New API, same for push mode.
7465 (gst_pad_set_activate_function)
7466 (gst_pad_set_activatepull_function)
7467 (gst_pad_set_activatepush_function): Setters for new API.
7469 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7470 Trace all miniobjects.
7471 (gst_mini_object_make_writable): Unref the arg if we copy, like
7472 gst_caps_make_writable.
7474 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7476 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7477 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7478 Adapt for new pad API.
7480 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7483 * gst/gstelement.c (gst_element_iterate_src_pads)
7484 (gst_element_iterate_sink_pads): New API functions.
7486 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7487 should fold into gstiterator.c in some form.
7488 (gst_element_pads_activate): Simplified via use of fold and
7489 delegation of decisions to gstpad->activate.
7491 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7494 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7495 class once in init, like gstmessage. Didn't run into this issue
7496 but it seems correct. Don't initialize a trace, gstminiobject does
7499 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7500 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7502 (assert_live_count): New util function, uses alloc traces to check
7505 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7506 To be modified when unlink drops the internal pad.
7508 2005-06-27 Wim Taymans <wim@fluendo.com>
7510 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7511 (gst_bin_change_state):
7512 Cleanup the get_state() function a little, make sure it
7513 iterates the same set of elements.
7514 Added stub iterate_state_order().
7516 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7518 * docs/gst/gstreamer-docs.sgml:
7519 * docs/gst/gstreamer-sections.txt:
7520 * docs/gst/gstreamer.types:
7521 * docs/gst/tmpl/gstbasesink.sgml:
7522 * docs/gst/tmpl/gstbasesrc.sgml:
7523 * docs/gst/tmpl/gstbasetransform.sgml:
7524 * docs/gst/tmpl/gstelement.sgml:
7525 * docs/gst/tmpl/gstiterator.sgml:
7526 * gst/base/gstbasesrc.c:
7527 * gst/base/gstbasesrc.h:
7528 * gst/base/gstbasetransform.h:
7530 * gst/gstiterator.h:
7531 adding basetransform and iterator docs
7533 2005-06-27 Andy Wingo <wingo@pobox.com>
7535 * docs/design/part-activation.txt: Notes on how activation should
7536 work -- not quite implemented yet.
7538 2005-06-25 Wim Taymans <wim@fluendo.com>
7540 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7541 At least get the chain function correct, needs more
7544 2005-06-25 Wim Taymans <wim@fluendo.com>
7546 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7547 (gst_basesink_handle_object), (gst_basesink_event),
7548 (gst_basesink_do_sync), (gst_basesink_handle_event),
7549 (gst_basesink_change_state):
7551 Right, two problems here: ghostpads don't take locks and
7552 glib _rec_mutex_lock_full() with depth==0 still locks.
7553 Catch illegal locking and g_warn them.
7555 2005-06-25 Wim Taymans <wim@fluendo.com>
7557 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7558 Have to check for completion now...
7560 2005-06-25 Wim Taymans <wim@fluendo.com>
7562 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7563 (gst_basesink_handle_object), (gst_basesink_event),
7564 (gst_basesink_do_sync), (gst_basesink_handle_event),
7565 (gst_basesink_change_state):
7567 Unlock STREAM_LOCK whatever the recursion was.
7569 2005-06-25 Wim Taymans <wim@fluendo.com>
7571 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7572 (gst_basesink_preroll_queue_empty),
7573 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7574 (gst_basesink_event), (gst_basesink_do_sync),
7575 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7576 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7577 (gst_basesink_change_state):
7578 Reworked the base sink, handle event and buffer serialisation
7579 correctly and removed possible deadlock.
7580 Handle EOS correctly.
7582 2005-06-25 Wim Taymans <wim@fluendo.com>
7584 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7585 (gst_pipeline_change_state):
7586 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7587 Allow elements to post EOS in the state change function.
7588 Fix up -launch, make it exit the poll loop when the
7589 pipeline actually changed state.
7590 Fix up warning parsing in -launch.
7592 2005-06-25 Wim Taymans <wim@fluendo.com>
7594 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7595 (gst_tee_sink_activate):
7596 Core takes STREAM_LOCK for us now.
7598 2005-06-25 Wim Taymans <wim@fluendo.com>
7600 * gst/gstelement.c: (gst_element_get_state_func),
7601 (gst_element_set_state):
7603 * gst/gstmessage.c: (gst_message_parse_error),
7604 (gst_message_parse_warning):
7605 Keep track of current target state while performing a state
7606 change so that subclasses can do something interesting.
7607 Fix parsing of warning/error messages when GError is NULL.
7609 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7611 * docs/gst/Makefile.am:
7612 * docs/gst/gstreamer-docs.sgml:
7613 * docs/gst/gstreamer-sections.txt:
7614 * docs/gst/gstreamer.types:
7615 * docs/gst/tmpl/gstbasesink.sgml:
7616 * docs/gst/tmpl/gstbasesrc.sgml:
7617 * docs/gst/tmpl/gstbin.sgml:
7618 * docs/gst/tmpl/gstcompat.sgml:
7619 * docs/gst/tmpl/gstfakesink.sgml:
7620 * docs/gst/tmpl/gstfakesrc.sgml:
7621 * docs/gst/tmpl/gstfilesink.sgml:
7622 * docs/gst/tmpl/gstfilesrc.sgml:
7623 * docs/gst/tmpl/gstindex.sgml:
7624 * docs/manual/appendix-quotes.xml:
7625 * gst/base/gstbasesrc.h:
7626 * gst/elements/gstfakesrc.h:
7628 start pulling in base classes and elements in our docs
7630 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7632 * docs/gst/Makefile.am:
7633 * docs/libs/Makefile.am:
7634 fixed make distcheck with gtk-doc 1.3
7636 2005-06-23 Wim Taymans <wim@fluendo.com>
7638 * gst/gstelement.c: (gst_element_get_state_func),
7639 (gst_element_set_state), (gst_element_change_state):
7640 When the state did not change, also report NO_PREROLL
7643 2005-06-23 Wim Taymans <wim@fluendo.com>
7645 * gst/gstpad.c: (gst_pad_event_default):
7646 * gst/gstqueue.c: (gst_queue_loop):
7647 No unsafe task pausing please.
7649 2005-06-23 Wim Taymans <wim@fluendo.com>
7651 * gst/schedulers/threadscheduler.c:
7652 (gst_thread_scheduler_task_start),
7653 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7654 Ref the task before pushing it on the threadpool. This
7655 makes sure that we have a ref when the threadfunction is
7658 2005-06-23 Andy Wingo <wingo@pobox.com>
7660 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7661 offset is greater than the file's size.
7663 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7664 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7665 * gst/gstobject.c (gst_object_class_init): Make the class lock
7666 recursive. Wim won't let me drop deep_notify. Decodebin works
7669 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7670 internal pad, and hacks accordingly. Doesn't do it on the target
7671 pad because we change its caps. Probably catches all cases of
7673 (gst_ghost_pad_set_property): Connect to notify::caps as
7676 * tests/network-clock.scm (plot-simulation): Pipe data to the
7677 elite python skript.
7679 * tests/network-clock-utils.scm (define-parameter): New macro,
7680 defines a parameter that can be set via the command line.
7681 (set-parameter!, parse-parameter-arguments): Command line args
7684 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7687 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7689 * gst/elements/gsttypefindelement.c:
7690 (gst_type_find_element_handle_event):
7691 Don't restart typefinding on a discont.
7692 * gst/gstelement.c: (gst_element_set_state):
7694 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7695 Allow changing mode of an active pad.
7697 * gst/registries/gstlibxmlregistry.c: (load_feature):
7698 Don't cast a static pad template to a normal pad template.
7700 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7702 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7703 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7704 remove gst_strtoll completely, since it didn't actually do
7705 anything more than what g_ascii_strtoull already does.
7706 check for range errors when deserializing
7707 do a cast for the unsigned cases; but further fixing needs
7708 a decision on what the interpretation of "(int)" and
7709 deserialization should be for values that fall outside the
7710 type's boundaries (ie, refuse, or interpret as casting)
7712 2005-06-23 Wim Taymans <wim@fluendo.com>
7714 * check/Makefile.am:
7715 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7716 * docs/design/part-live-source.txt:
7717 * docs/design/part-states.txt:
7718 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7719 (gst_basesrc_set_live), (gst_basesrc_is_live),
7720 (gst_basesrc_get_range), (gst_basesrc_activate),
7721 (gst_basesrc_change_state):
7722 * gst/base/gstbasesrc.h:
7723 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7724 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7725 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7726 * gst/gstelement.c: (gst_element_get_state_func),
7727 (gst_element_set_state):
7730 * tools/gst-launch.c: (event_loop), (main):
7731 Added support for live sources and other elements that
7733 Updated design docs, added live-source design doc.
7734 Implemented live source functionality in basesrc
7735 Fix error condition in _bin_get_state()
7736 Implement live source handling in -launch.
7737 Added check for live sources.
7738 Fixed case in GstBin where elements were changed state
7742 2005-06-23 Andy Wingo <wingo@pobox.com>
7744 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7747 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7748 gst_caps_replace takes care of this for us.
7750 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7751 gst_pad_set_caps on the target, not just its setcaps() function.
7753 * tests/network-clock.scm:
7754 * tests/network-clock-utils.scm: A network clock simulator.
7755 Something of an algorithmic testbed before doing something in C.
7757 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7759 * check/Makefile.am:
7760 * check/gst/capslist.h:
7761 copy over from 0.8, and add two with bitmasks specified with
7763 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7764 add test to parse everything from capslist.h
7765 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7767 add test for structure deserialization
7768 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7769 add tests for deserialization of strings to int types
7770 * gst/gststructure.c: (gst_structure_nth_field_name):
7771 * gst/gststructure.h:
7772 add a way to get the name of a field referenced by index
7773 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7774 instead of checking if the resulting long long lies between
7775 min and max, we check if the long long would fit into
7776 a number of bytes for the final type.
7777 This fixes cases where a string represents 2^32 - 1, which
7778 when cast to int would be the (valid) -1, but is bigger than
7781 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7783 * gst/parse/grammar.y:
7784 add a log line for type deserialization
7786 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7788 * check/gst/gstvalue.c: (START_TEST):
7789 * gst/gstvalue.c: (gst_value_deserialize):
7790 return long long, not int, so gint64 deserialization actually
7791 works. Is there any flag that makes the compiler check this ?
7794 2005-06-22 Wim Taymans <wim@fluendo.com>
7797 Added convenience macros for setting buffers in GValue.
7799 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7801 * check/gst/.cvsignore:
7802 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7803 add a test deserializing int64, and comment part out because
7806 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7808 * check/Makefile.am:
7809 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7810 * testsuite/Makefile.am:
7811 * testsuite/caps/Makefile.am:
7812 * testsuite/caps/value_serialize.c:
7813 * testsuite/test_gst_init.c:
7814 move a value_serialize test over
7816 2005-06-20 Wim Taymans <wim@fluendo.com>
7821 * gst/gstvalue.c: (gst_value_compare_buffer),
7822 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7823 (gst_value_compare_flags), (gst_value_serialize_flags),
7824 (gst_value_deserialize_flags), (_gst_value_initialize):
7825 Fix serialisation of buffers, they are not boxed types anymore
7827 2005-06-20 Wim Taymans <wim@fluendo.com>
7829 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7830 Testcase to show error in buffer-on-caps serialisation.
7832 2005-06-20 Andy Wingo <wingo@pobox.com>
7834 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7835 will be adding to later.
7837 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7838 if its socks fill with rocks.
7839 (gst_system_clock_obtain): Set the name on object construction.
7840 Avoid double-checked locking.
7842 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7844 * gst/gsturi.c: (gst_element_make_from_uri):
7845 Fix potential endless loop.
7847 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7849 * check/Makefile.am:
7851 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7853 move over from testsuite dir and clean up
7856 * testsuite/Makefile.am:
7857 * testsuite/tags/.cvsignore:
7858 * testsuite/tags/Makefile.am:
7859 * testsuite/tags/merge.c:
7860 remove testsuite/tags
7862 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7864 * docs/gst/gstreamer-sections.txt:
7865 * docs/gst/tmpl/gstenumtypes.sgml:
7866 * win32/gstenumtypes.c:
7867 clean up documentation build a little
7869 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7872 add macros for checking refcounts on objects and caps
7873 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7874 add some more unit tests
7875 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7876 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7877 fix leaked refcounts (I hope :)) so unittest works
7881 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7883 * configure.ac: back to HEAD
7885 === release 0.9.1 ===
7887 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7893 2005-06-17 Andy Wingo <wingo@pobox.com>
7895 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7896 assert; it's always possible that the pad gets deactivated in
7897 between the checks in gstpad.c and the implementation. Rely on
7898 finish_preroll() to return a FLUSHING or similar instead of on the
7901 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7902 clock and post an EOS message if we come out of finish_preroll in
7905 2005-06-16 David Schleef <ds@schleef.org>
7907 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7908 (gst_capsfilter_set_property): Allow NULL as possible value
7909 for filter_caps property, indicating GST_CAPS_ANY.
7911 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7913 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7915 * gst/schedulers/Makefile.am:
7917 * gstreamer.spec.in:
7920 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7922 * gstreamer.spec.in:
7925 2005-06-08 Andy Wingo <wingo@pobox.com>
7927 * gst/gstutils.c: RPAD fixes all around.
7928 (gst_element_link_pads): Refcounting fixes.
7930 * tools/gst-inspect.c:
7931 * tools/gst-xmlinspect.c:
7933 * gst/base/gsttypefindhelper.c:
7934 * gst/base/gstbasesink.c:
7935 * gst/gstqueue.c: RPAD fixes.
7937 * gst/gstghostpad.h:
7938 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7939 pads. The tricky thing is they provide both source and sink
7940 interfaces, since they proxy the internal pad for the external
7941 pad, and vice versa. Implement with lower-level ProxyPad objects,
7942 with the interior proxy pad as a child of the exterior ghost pad.
7943 Should write a doc on this.
7945 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7946 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7949 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7950 pads are real pads. No ghost pads in this file. Not documenting
7951 the myriad s/RPAD/PAD/ and REALIZE fixes.
7952 (gst_pad_class_init): Add properties for "direction" and
7953 "template". Both are construct-only, so they can't change during
7954 the life of the pad. Fixes properly deriving from GstPad.
7955 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7956 derived objects, just set properties when creating the objects via
7958 (gst_pad_get_parent): Implement as a function, return NULL if the
7959 parent is not an element.
7960 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7961 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7963 * gst/gstobject.c (gst_object_class_init): Make name a construct
7964 property. Don't set it in the object init.
7966 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7967 with UNKNOWN direction.
7968 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7969 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7970 (gst_element_remove_pad): Remove ghost-pad special cases.
7971 (gst_element_pads_activate): Remove rpad cruft.
7973 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7974 catch the pad's-parent-not-an-element case.
7976 * gst/gst.h: Include gstghostpad.h.
7978 * gst/gst.c (init_post): No more real, ghost pads.
7980 * gst/Makefile.am: Add gstghostpad.[ch].
7982 * check/Makefile.am:
7983 * check/gst/gstbin.c:
7984 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7985 into a bin creates ghost pads, and that the refcounts are right.
7986 Partly moved from gstbin.c.
7988 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7990 * check/gst-libs/.cvsignore:
7991 * check/gst/.cvsignore:
7992 * check/pipelines/.cvsignore:
7994 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7995 (START_TEST), (cleanup_suite), (main):
7996 add some tests related to cleanup after running pipelines
7998 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8000 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8001 add a testsuite for GstBuffer
8003 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8005 * gst/gstminiobject.h:
8006 add defines for accessing the refcount
8008 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8010 * Makefile.am: added support for html unit test coverage reports
8012 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8014 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8015 Free existing caps if the capsfilter changes. Add a FIXME about
8016 setting those caps on the pads.
8018 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8019 Before adding a ghost pad to a parent bin, check that there isn't
8020 already one for the element on the bin. Prevents infinite recursion
8021 when using decodebin in parse pipelines. Andy says he'll rewrite the
8022 way this works anyway, so ignore the hack.
8024 2005-06-02 Andy Wingo <wingo@pobox.com>
8026 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8027 file size, pass it on to the type find helper.
8029 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8030 segment_start and segment_end properly according to the seek
8031 method. Segment_end is still a bit flaky because offset can be
8032 negative for CUR and END cases, but it takes -1 as an "unset"
8035 2005-06-02 Wim Taymans <wim@fluendo.com>
8037 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8038 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8039 (gst_basesink_activate):
8040 * gst/base/gstbasesink.h:
8041 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8042 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8043 (gst_pad_query), (gst_pad_start_task):
8045 * gst/gstqueue.c: (gst_queue_bufferalloc),
8046 (gst_queue_handle_sink_event), (gst_queue_chain):
8047 Bufferalloc: return GstFlowReturn to more accuratly report
8048 why allocation failed.
8050 2005-06-02 Wim Taymans <wim@fluendo.com>
8052 * gst/gstpipeline.c: (gst_pipeline_send_event):
8053 Take snapshot of state without blocking.
8055 2005-06-02 Wim Taymans <wim@fluendo.com>
8057 * docs/design/part-TODO.txt:
8058 * docs/design/part-caps.txt:
8059 * docs/design/part-clocks.txt:
8060 * docs/design/part-negotiation.txt:
8061 * docs/design/part-preroll.txt:
8064 2005-05-30 Wim Taymans <wim@fluendo.com>
8066 * gst/elements/gstidentity.c: (gst_identity_event),
8067 (gst_identity_transform), (gst_identity_get_property):
8068 Protect last_message property as it is accessed from
8071 2005-05-30 Wim Taymans <wim@fluendo.com>
8073 * gst/gstelement.c: (gst_element_init),
8074 (gst_element_pads_activate), (gst_element_change_state):
8075 Slicker pad activation code.
8077 2005-05-30 Wim Taymans <wim@fluendo.com>
8081 * gst/gstelementfactory.h:
8083 Move elementfactory methods to separate .h file.
8085 2005-05-30 Wim Taymans <wim@fluendo.com>
8087 * docs/design/part-overview.txt:
8088 * gst/gstsystemclock.h:
8089 Small typo fixes, doc updates.
8091 2005-05-30 Wim Taymans <wim@fluendo.com>
8093 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8094 (init_popt_callback):
8095 Remove cpu-opt flag.
8097 2005-05-30 Wim Taymans <wim@fluendo.com>
8099 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8100 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8102 Avoid typechecking in places where not needed.
8103 Added accessor for malloc_data.
8105 2005-05-30 Wim Taymans <wim@fluendo.com>
8107 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8108 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8109 (gst_pad_configure_sink), (gst_pad_configure_src),
8110 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8111 (gst_pad_start_task):
8112 Propagate errors from _set_caps() in configure_src/sink
8113 functions instead of returning TRUE.
8114 FLUSH events can travel up and downstream
8117 2005-05-30 Wim Taymans <wim@fluendo.com>
8119 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8120 (gst_basesink_activate):
8121 Handle EOS in preroll.
8123 2005-05-30 Wim Taymans <wim@fluendo.com>
8125 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8126 (gst_queue_loop), (gst_queue_handle_src_event):
8127 Remove old pieces of code
8128 Flushing the queue in an upstream event is a very bad idea.
8130 2005-05-26 Andy Wingo <wingo@pobox.com>
8132 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8133 gst_value_set_mini_object so as to add a ref on the object (which
8134 will be removed when the value is unset).
8136 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8137 arg type in ::handoff.
8139 * gst/gstelement.c (gst_element_change_state): Also deactivate
8140 pads in READY->NULL, just in case the element didn't make it to
8141 PAUSED. Wingo tested, Wim approved.
8143 2005-05-26 Wim Taymans <wim@fluendo.com>
8145 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8146 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8147 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8148 A flushing pad cannot be used to alloc_buffer from.
8150 2005-05-26 Wim Taymans <wim@fluendo.com>
8152 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8153 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8154 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8155 (gst_bus_create_watch), (gst_bus_add_watch_full):
8157 Implement a real GSource and use g_main_context_wakeup() to
8158 signal new messages instead of the socketpair.
8160 2005-05-25 Wim Taymans <wim@fluendo.com>
8162 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8163 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8164 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8165 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8166 (gst_pad_send_event), (gst_pad_start_task):
8167 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8168 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8169 (gst_queue_sink_activate), (gst_queue_src_activate),
8170 (gst_queue_change_state):
8172 Fix state changes for non sinks. We now change sinks, then elements
8173 with unconnected srcpads, then the rest.
8174 More efficient queue unlocking in flush and state changes.
8175 Set the pad activate mode even if it does not have an activate
8178 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8180 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8181 Don't go in pull mode for non-seekable sources.
8182 * gst/elements/gsttypefindelement.h:
8183 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8184 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8185 (free_entry), (stop_typefinding),
8186 (gst_type_find_element_handle_event), (find_peek),
8187 (gst_type_find_element_chain), (do_pull_typefind),
8188 (gst_type_find_element_change_state):
8189 Allow typefinding (w/o seeking) in push-mode, simplified version
8191 * gst/gstutils.c: (gst_buffer_join):
8193 gst_buffer_join() from 0.8.
8195 2005-05-25 Wim Taymans <wim@fluendo.com>
8197 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8198 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8199 (gst_pad_send_event), (gst_pad_start_task):
8200 Disable attempt at mode switching until it is figured out.
8202 2005-05-25 Wim Taymans <wim@fluendo.com>
8204 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8205 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8206 (gst_basesink_finish_preroll), (gst_basesink_chain),
8207 (gst_basesink_loop), (gst_basesink_activate),
8208 (gst_basesink_change_state):
8209 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8210 (gst_basesrc_get_range), (gst_basesrc_loop),
8211 (gst_basesrc_activate):
8212 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8213 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8214 (gst_real_pad_init), (gst_real_pad_set_property),
8215 (gst_real_pad_get_property), (gst_pad_set_active),
8216 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8217 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8218 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8219 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8220 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8221 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8222 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8223 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8224 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8225 (gst_pad_stop_task):
8227 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8228 (gst_queue_loop), (gst_queue_src_activate):
8229 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8230 (gst_task_get_state):
8232 * gst/schedulers/threadscheduler.c:
8233 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8234 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8236 Remove ACTIVE pad flag, use FLUSHING everywhere
8237 Added _pad_chain(), _pad_get_range() to call chain/getrange
8239 Add locks around IS_FLUSHING when reading.
8240 Take STREAM lock in chain(), get_range() functions so plugins
8241 don't need to take it anymore.
8245 2005-05-25 Wim Taymans <wim@fluendo.com>
8247 * tools/gst-launch.c: (event_loop):
8248 Unref message after using its contents instead of
8251 2005-05-24 Wim Taymans <wim@fluendo.com>
8253 * docs/design/draft-ghostpads.txt:
8254 * docs/design/draft-push-pull.txt:
8255 * docs/design/draft-query.txt:
8256 * docs/design/part-overview.txt:
8257 Docs updates, added general overview doc.
8259 2005-05-21 David Schleef <ds@schleef.org>
8261 * docs/gst/tmpl/old/GstBin.sgml:
8262 * docs/gst/tmpl/old/GstBuffer.sgml:
8263 * docs/gst/tmpl/old/GstCaps.sgml:
8264 * docs/gst/tmpl/old/GstClock.sgml:
8265 * docs/gst/tmpl/old/GstCompat.sgml:
8266 * docs/gst/tmpl/old/GstData.sgml:
8267 * docs/gst/tmpl/old/GstElement.sgml:
8268 * docs/gst/tmpl/old/GstEvent.sgml:
8269 * docs/gst/tmpl/old/GstIndex.sgml:
8270 * docs/gst/tmpl/old/GstStructure.sgml:
8271 * docs/gst/tmpl/old/GstTag.sgml:
8272 * docs/gst/tmpl/old/cothreads.sgml:
8273 * docs/gst/tmpl/old/cothreads_compat.sgml:
8274 * docs/gst/tmpl/old/gettext.sgml:
8275 * docs/gst/tmpl/old/gobject2gtk.sgml:
8276 * docs/gst/tmpl/old/grammar.tab.sgml:
8277 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8278 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8279 * docs/gst/tmpl/old/gst_private.sgml:
8280 * docs/gst/tmpl/old/gstaggregator.sgml:
8281 * docs/gst/tmpl/old/gstarch.sgml:
8282 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8283 * docs/gst/tmpl/old/gstbufferstore.sgml:
8284 * docs/gst/tmpl/old/gstdata_private.sgml:
8285 * docs/gst/tmpl/old/gstdisksink.sgml:
8286 * docs/gst/tmpl/old/gstdisksrc.sgml:
8287 * docs/gst/tmpl/old/gstelementfactory.sgml:
8288 * docs/gst/tmpl/old/gstextratypes.sgml:
8289 * docs/gst/tmpl/old/gstfakesink.sgml:
8290 * docs/gst/tmpl/old/gstfakesrc.sgml:
8291 * docs/gst/tmpl/old/gstfdsink.sgml:
8292 * docs/gst/tmpl/old/gstfdsrc.sgml:
8293 * docs/gst/tmpl/old/gstfilesink.sgml:
8294 * docs/gst/tmpl/old/gstfilesrc.sgml:
8295 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8296 * docs/gst/tmpl/old/gstidentity.sgml:
8297 * docs/gst/tmpl/old/gstindexfactory.sgml:
8298 * docs/gst/tmpl/old/gstmarshal.sgml:
8299 * docs/gst/tmpl/old/gstmd5sink.sgml:
8300 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8301 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8302 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8303 * docs/gst/tmpl/old/gstpipefilter.sgml:
8304 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8305 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8306 * docs/gst/tmpl/old/gstshaper.sgml:
8307 * docs/gst/tmpl/old/gstspider.sgml:
8308 * docs/gst/tmpl/old/gstspideridentity.sgml:
8309 * docs/gst/tmpl/old/gststatistics.sgml:
8310 * docs/gst/tmpl/old/gsttee.sgml:
8311 * docs/gst/tmpl/old/gsttimecache.sgml:
8312 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8313 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8314 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8315 * docs/gst/tmpl/old/types.sgml:
8316 I didn't intend to add these or check them in.
8318 2005-05-19 David Schleef <ds@schleef.org>
8320 * configure.ac: Use -no-common everywhere. In a sane world, it
8321 would be the default in libtool, because without it, you can't
8322 build DLLs on Windows.
8323 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8324 * docs/gst/gstreamer-sections.txt:
8325 * docs/gst/tmpl/gstcpu.sgml:
8326 * docs/gst/tmpl/gstdata.sgml:
8327 * docs/gst/tmpl/gstthread.sgml:
8329 2005-05-19 David Schleef <ds@schleef.org>
8331 * gst/gstminiobject.c: (gst_value_set_mini_object),
8332 (gst_value_take_mini_object), (gst_value_get_mini_object):
8333 * gst/gstminiobject.h: Add GValue set/get functions.
8335 2005-05-19 Wim Taymans <wim@fluendo.com>
8337 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8338 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8339 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8341 * gst/gstbus.c: (gst_bus_post):
8342 * gst/gstelement.c: (gst_element_get_random_pad):
8343 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8344 Make subbufer unref the parent in finalize.
8345 some more debugging info.
8348 2005-05-19 Wim Taymans <wim@fluendo.com>
8350 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8351 (gst_basesink_init), (gst_basesink_finalize),
8352 (gst_basesink_activate), (gst_basesink_change_state):
8353 Don't free preroll queue too early.
8355 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8359 Hi, I'm outdated. Please shoot me.
8361 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8363 * gst/gstpipeline.c: (gst_pipeline_send_event):
8364 Do not access variables after they have been deleted.
8366 2005-05-19 Wim Taymans <wim@fluendo.com>
8368 * tools/gst-inspect.c: (print_plugin_features):
8369 A plugin feature does unfortunatly not use the
8372 2005-05-18 Wim Taymans <wim@fluendo.com>
8374 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8375 Port _span() functions to new subbuffers.
8377 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8379 * gst/gstbin.c: (gst_bin_add_func):
8380 Fix clock settery in bins when adding kids after the clock has
8383 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8385 * gst/elements/gstidentity.c: (gst_identity_class_init):
8386 Workaround until signals support GstMiniObject.
8388 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8391 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8393 2005-05-18 Wim Taymans <wim@fluendo.com>
8395 * gst/base/Makefile.am:
8396 * gst/base/gstadapter.c: (gst_adapter_base_init),
8397 (gst_adapter_class_init), (gst_adapter_init),
8398 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8399 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8400 (gst_adapter_flush), (gst_adapter_available),
8401 (gst_adapter_available_fast):
8402 * gst/base/gstadapter.h:
8403 Ported and added adapter to the base classes.
8405 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8409 Make sure the class is reffed/unreffed once before threads can be
8410 used. Fixes #304551.
8412 2005-05-17 Wim Taymans <wim@fluendo.com>
8414 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8415 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8416 * gst/gstminiobject.c: (gst_mini_object_get_type),
8417 (gst_mini_object_free):
8418 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8419 (gst_pad_push), (gst_pad_push_event):
8420 * gst/gstqueue.c: (gst_queue_change_state):
8421 Don't queue buffers in basesink when we are flushing.
8422 Unref buffer when flushing in basesink.
8423 Flush queue when going to READY
8424 Unref buffer when _push() returns an error.
8425 Don't free MiniObject instance when refcount is incremented
8426 in _finalize() so that we can recover objects.
8428 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8430 * docs/manual/advanced-schedulers.xml:
8431 * docs/manual/appendix-checklist.xml:
8432 * docs/pwg/advanced-clock.xml:
8433 * docs/pwg/advanced-interfaces.xml:
8434 * docs/pwg/advanced-request.xml:
8435 * docs/pwg/advanced-types.xml:
8436 * docs/pwg/intro-preface.xml:
8437 * examples/plugins/example.c: (gst_example_get_type),
8438 (gst_example_class_init), (gst_example_chain),
8439 (gst_example_set_property), (gst_example_get_property),
8440 (gst_example_change_state), (plugin_init):
8441 * examples/plugins/example.h:
8444 2005-05-17 Wim Taymans <wim@fluendo.com>
8446 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8447 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8448 * gst/gstqueue.c: (gst_queue_change_state):
8449 Clear queue when going to READY.
8450 Remove IN_SETCAPS flag too.
8452 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8454 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8455 Remove implicit cast from gboolean to GstElementStateReturn;
8456 make sure we still return failure in paused => ready case if
8457 the parent class fails to change state and our own stop
8460 2005-05-17 Wim Taymans <wim@fluendo.com>
8462 * tools/gst-launch.c: (event_loop):
8463 Message was unreffed too soon.
8465 2005-05-16 Andy Wingo <wingo@pobox.com>
8467 * gst/gstbin.c (sink_iterator_filter): Err... um...
8469 * check/gst/gstbin.c (test_ghost_pads): New test for the
8470 ghosting-if-elements-not-in-same-bin behavior.
8472 2005-05-16 David Schleef <ds@schleef.org>
8474 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8475 accessing refcount directly.
8477 2005-05-15 David Schleef <ds@schleef.org>
8479 * check/Makefile.am: remove GstData checks
8480 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8481 * gst/Makefile.am: add miniobject, remove data
8482 * gst/gst.h: add miniobject, remove data
8483 * gst/gstdata.c: remove
8484 * gst/gstdata.h: remove
8485 * gst/gstdata_private.h: remove
8486 * gst/gsttypes.h: remove GstEvent and GstMessage
8487 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8488 * gst/gstmarshal.list: change BOXED -> OBJECT
8490 Implement GstMiniObject.
8491 * gst/gstminiobject.c:
8492 * gst/gstminiobject.h:
8494 Modify to be subclasses of GstMiniObject.
8495 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8496 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8497 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8498 (gst_subbuffer_get_type), (gst_subbuffer_init),
8499 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8502 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8503 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8504 (_gst_event_copy), (gst_event_new):
8506 * gst/gstmessage.c: (_gst_message_initialize),
8507 (gst_message_get_type), (gst_message_class_init),
8508 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8509 (gst_message_new), (gst_message_new_error),
8510 (gst_message_new_warning), (gst_message_new_tag),
8511 (gst_message_new_state_changed), (gst_message_new_application):
8513 * gst/gstprobe.c: (gst_probe_perform),
8514 (gst_probe_dispatcher_dispatch):
8516 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8517 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8518 (_gst_query_copy), (gst_query_new):
8520 Update elements for GstData -> GstMiniObject changes
8522 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8523 (gst_queue_chain), (gst_queue_loop):
8524 * gst/elements/gstbufferstore.c:
8525 (gst_buffer_store_add_buffer_func),
8526 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8527 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8528 (gst_fakesink_render):
8529 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8530 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8531 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8532 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8533 (gst_filesrc_create_read):
8534 * gst/elements/gstidentity.c: (gst_identity_class_init):
8535 * gst/elements/gsttypefindelement.c:
8536 (gst_type_find_element_src_event), (free_entry_buffers),
8537 (gst_type_find_element_handle_event):
8538 * libs/gst/dataprotocol/dataprotocol.c:
8539 (gst_dp_header_from_buffer):
8540 * libs/gst/dataprotocol/dataprotocol.h:
8541 * libs/gst/dataprotocol/dp-private.h:
8543 2005-05-15 David Schleef <ds@schleef.org>
8545 * gst/elements/gstelements.c: Don't include headers that were
8548 2005-05-15 David Schleef <ds@schleef.org>
8550 * gst/elements/Makefile.am: Remove some elements that don't
8551 need to be in the core (or even exist at all).
8552 * gst/elements/gstaggregator.c:
8553 * gst/elements/gstaggregator.h:
8554 * gst/elements/gstmd5sink.c:
8555 * gst/elements/gstmd5sink.h:
8556 * gst/elements/gstmultifilesrc.c:
8557 * gst/elements/gstmultifilesrc.h:
8558 * gst/elements/gstpipefilter.c:
8559 * gst/elements/gstpipefilter.h:
8560 * gst/elements/gstshaper.c:
8561 * gst/elements/gstshaper.h:
8562 * gst/elements/gststatistics.c:
8563 * gst/elements/gststatistics.h:
8564 * po/POTFILES.in: Remove above files.
8566 2005-05-14 Andy Wingo <wingo@pobox.com>
8568 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8569 so as to get the refs right.
8570 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8571 unreffing objects that don't pass the filter.
8573 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8574 gst_element_set_bus.
8575 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8576 normal cases, this will destroy the bus.
8578 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8581 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8584 2005-05-13 Andy Wingo <wingo@pobox.com>
8586 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8587 gst_pad_link, call pad_link_maybe_ghosting,
8588 (pad_link_maybe_ghosting): Links pads, making sure that the
8589 elements being linked are in the same bin.
8590 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8591 Helpers for pad_link_maybe_ghosting.
8593 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8596 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8598 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8600 * docs/design/part-element-source.txt:
8603 2005-05-12 Wim Taymans <wim@fluendo.com>
8605 * gst/base/gstbasesink.c: (gst_basesink_init),
8606 (gst_basesink_activate):
8607 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8608 (gst_basesrc_is_seekable):
8609 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8610 (bin_element_is_sink), (gst_bin_change_state):
8611 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8613 Identify sinks by their flag to avoid overly complicated
8615 Do state changes even for elements not reachable from the
8617 BaseSink is a sink now :)
8618 Some more debugging info in the basesrc.
8621 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8623 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8624 Implement _query on a bin, similar to _send_event.
8626 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8628 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8629 Discont event offset format should be GST_FORMAT_BYTES,
8630 not GST_FORMAT_TIME.
8632 2005-05-12 Wim Taymans <wim@fluendo.com>
8634 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8635 Same fix as Ronald's but without the signal.
8637 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8639 * gst/gstutils.c: (gst_element_query_position):
8640 No, an element is not a pad.
8642 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8644 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8645 (gst_bin_get_state):
8646 If a child is removed from a bin while we remove the child from
8647 the bin and while we're retrieving its state, signal this to the
8648 get_state function so we abort the wait (instead of waiting for
8649 a timeout) and can immediately re-iterate over all other elements.
8651 2005-05-12 Wim Taymans <wim@fluendo.com>
8653 * gst/base/Makefile.am:
8654 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8655 (gst_basesrc_start):
8656 * gst/base/gstbasesrc.h:
8657 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8658 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8659 (gst_pushsrc_init), (gst_pushsrc_create):
8660 * gst/base/gstpushsrc.h:
8661 Added is_seekable to BaseSrc
8662 Added simple PushSrc.
8664 2005-05-11 Wim Taymans <wim@fluendo.com>
8666 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8667 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8668 (gst_element_link_pads), (gst_element_query_position),
8669 (gst_element_query_convert), (intersect_caps_func),
8670 (gst_pad_query_position), (gst_pad_query_convert):
8671 Fix refcounting in utils function.
8672 No point in trying to activate a pad when it's added, it could
8673 be added from the state change function and then we deadlock, the
8674 element has to decide what to do.
8676 2005-05-10 Andy Wingo <wingo@pobox.com>
8678 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8679 *all* the arguments.
8681 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8682 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8683 lock (according to the docs -- if this is wrong change the docs).
8685 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8686 flush messages in the NULL state.
8688 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8689 message immediately and return.
8690 (gst_bus_set_flushing): New function. If a bus is flushing, it
8691 flushes out any queued messages and immediately unrefs new
8692 messages. This is so when an element goes to NULL, all of the
8693 unhandled messages coming from it can be freed, and their
8694 references to the element dropped. In other words: message source
8695 ref considered harmful :P
8697 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8698 we're finished with it.
8700 * gst/gstmessage.c (gst_message_new_state_changed):
8702 2005-05-10 Wim Taymans <wim@fluendo.com>
8704 * gst/gstvalue.c: (gst_value_compare_flags),
8705 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8706 (_gst_value_initialize):
8707 Added flags serialize/deserialize/compare code.
8709 2005-05-09 Andy Wingo <wingo@pobox.com>
8711 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8712 Intersect the peer's caps with our caps.
8714 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8716 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8717 * gst/elements/gsttypefindelement.c: (find_peek):
8718 Handle negative offsets better. Fixes decodebin.
8720 2005-05-09 Wim Taymans <wim@fluendo.com>
8722 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8723 (gst_base_transform_event):
8724 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8725 Implement accept_caps.
8726 Fix silly lock/unlock mismatch in base class.
8728 2005-05-09 Wim Taymans <wim@fluendo.com>
8730 * docs/design/draft-push-pull.txt:
8731 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8732 * gst/elements/gstfilesink.c: (gst_filesink_init),
8733 (gst_filesink_query):
8734 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8735 (gst_type_find_handle_src_query), (find_element_get_length):
8736 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8740 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8741 (gst_real_pad_get_caps_unlocked),
8742 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8743 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8744 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8745 (gst_real_pad_dispose), (gst_real_pad_finalize),
8746 (gst_pad_load_and_link), (gst_pad_save_thyself),
8747 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8748 (gst_pad_check_pull_range), (gst_pad_pull_range),
8749 (gst_pad_template_get_type), (gst_pad_template_class_init),
8750 (gst_pad_template_init), (gst_pad_template_dispose),
8751 (name_is_valid), (gst_static_pad_template_get),
8752 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8753 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8754 (gst_pad_get_element_private), (gst_pad_start_task),
8755 (gst_pad_pause_task), (gst_pad_stop_task),
8756 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8757 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8758 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8759 (gst_ghost_pad_new):
8761 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8762 (gst_query_new_position), (gst_query_set_position),
8763 (gst_query_parse_position), (gst_query_new_convert),
8764 (gst_query_set_convert), (gst_query_parse_convert):
8766 * gst/gstqueryutils.c:
8767 * gst/gstqueryutils.h:
8768 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8769 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8770 (gst_queue_handle_src_query):
8771 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8772 (gst_element_query_position), (gst_element_query_convert),
8773 (intersect_caps_func), (gst_pad_query_position),
8774 (gst_pad_query_convert):
8776 * tools/gst-inspect.c: (print_pad_info):
8777 * tools/gst-xmlinspect.c: (print_element_info):
8778 Remove old query functions. Ported old code.
8779 Added position/convert helper functions to gstutils.
8780 Reordered gstpad.c code, grouping relevant things.
8781 Remove gst_message_new(), always need to speficy a specific
8785 2005-05-09 Andy Wingo <wingo@pobox.com>
8787 * gst/gstiterator.h: Add some includes.
8789 * gst/gstqueryutils.h: Include more headers.
8792 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8793 some uses of gst_pad_query.
8795 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8796 NULL out parameters.
8797 (gst_query_new_position): New proc, allocates a new position
8800 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8801 gstqueryutils.c to the build.
8803 * gst/gststructure.c (gst_structure_set_valist): Implement with
8804 the generic G_VALUE_COLLECT.
8806 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8808 * gst/Makefile.am: (gst_headers):
8809 Added gstqueryutils.h to the list of headers to install, that was
8810 a 'nachty' move wingo :)
8812 2005-05-06 Andy Wingo <wingo@pobox.com>
8815 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8816 GstData, init a memchunk.
8817 (standard_definitions): Add a few query types, deprecate a few.
8818 (gst_query_get_type): New proc.
8819 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8821 (gst_query_new_application, gst_query_get_structure): New public
8824 * docs/design/draft-query.txt: Removed LINKS from the query types,
8825 because all the rest can be dispatched to other pads -- seemed
8826 ugly to have a query that couldn't be dispatched. internal_links
8827 is fine as a pad method.
8829 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8830 in gstpad.c, but maintain binary compatibility for the moment.
8831 Will fix before 0.9 is out.
8833 * gst/gstqueryutils.c:
8834 * gst/gstqueryutils.h: New files, implement 3 methods for each
8835 query type: parse_query, parse_response, and set. Probably need an
8838 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8840 * gst/elements/gstfilesink.c (gst_filesink_query2):
8841 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8842 query_types, and formats methods.
8844 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8845 (gst_pad_set_query2_function): New functions.
8846 (gst_real_pad_init): Set query2_default as the default query2
8847 function. Basically just dispatches to internally linked pads.
8851 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8852 without using the atomic operations. Only one thread can possibly
8853 be accessing the data at this point. Changed so as to avoid
8854 gst_atomic operations.
8856 2005-05-06 Wim Taymans <wim@fluendo.com>
8858 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8859 Also set caps if we use the fallback buffer alloc.
8861 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8863 * docs/gst/Makefile.am:
8864 * docs/gst/gstreamer-docs.sgml:
8865 * docs/gst/gstreamer-sections.txt:
8866 * docs/gst/tmpl/gstatomic.sgml:
8867 * docs/gst/tmpl/gstmemchunk.sgml:
8868 * testsuite/elements/struct_i386.h:
8869 * win32/GStreamer.vcproj:
8871 Purge GstAtomic stuff from docs and win32 makefiles as well
8873 2005-05-06 Wim Taymans <wim@fluendo.com>
8875 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8876 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8877 * gst/gstpad.c: (gst_pad_peer_get_caps):
8878 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8879 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8880 (gst_queue_src_activate), (gst_queue_change_state):
8882 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8883 (intersect_caps_func):
8884 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8885 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8886 Some fixes for the peer_get_caps() change.
8888 2005-05-06 Wim Taymans <wim@fluendo.com>
8890 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8891 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8892 (gst_basesink_activate):
8893 Actually do something with error codes returned from the push
8896 2005-05-06 Wim Taymans <wim@fluendo.com>
8898 * docs/design/part-element-sink.txt:
8899 * docs/design/part-element-source.txt:
8900 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8901 (gst_basesink_event), (gst_basesink_activate):
8902 * gst/base/gstbasesink.h:
8903 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8904 (gst_basesrc_activate):
8905 * gst/base/gstbasesrc.h:
8906 * gst/gstelement.c: (gst_element_pads_activate):
8907 Some more documentation.
8908 Fixed scheduling decision in _pads_activate().
8910 2005-05-05 Andy Wingo <wingo@pobox.com>
8912 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8915 2005-05-05 Wim Taymans <wim@fluendo.com>
8917 * gst/base/Makefile.am:
8918 * gst/base/gstbasesink.h:
8919 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8920 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8921 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8922 (gst_collectpads_class_init), (gst_collectpads_init),
8923 (gst_collectpads_finalize), (gst_collectpads_new),
8924 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8925 (find_pad), (gst_collectpads_remove_pad),
8926 (gst_collectpads_is_active), (gst_collectpads_collect),
8927 (gst_collectpads_collect_range), (gst_collectpads_start),
8928 (gst_collectpads_stop), (gst_collectpads_peek),
8929 (gst_collectpads_pop), (gst_collectpads_available),
8930 (gst_collectpads_read), (gst_collectpads_flush),
8931 (gst_collectpads_chain):
8932 * gst/base/gstcollectpads.h:
8933 * gst/elements/Makefile.am:
8934 * gst/elements/gstelements.c:
8935 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8936 (gst_fakesink_get_times), (gst_fakesink_event),
8937 (gst_fakesink_preroll), (gst_fakesink_render):
8938 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8939 (gst_filesink_init), (gst_filesink_set_location),
8940 (gst_filesink_open_file), (gst_filesink_close_file),
8941 (gst_filesink_pad_query), (gst_filesink_event),
8942 (gst_filesink_render), (gst_filesink_change_state):
8943 * gst/elements/gstfilesink.h:
8944 Added object to help in making collect pad based elements.
8946 Make event function in sink baseclass return gboolean.
8948 2005-05-05 Wim Taymans <wim@fluendo.com>
8950 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8951 (gst_bin_get_by_name):
8953 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8954 (gst_clock_finalize):
8955 * gst/gstdata.c: (gst_data_replace):
8957 * gst/gstelement.c: (gst_element_request_pad),
8958 (gst_element_pads_activate):
8959 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8961 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8962 (gst_pad_set_checkgetrange_function),
8963 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8964 (gst_pad_check_pull_range), (gst_pad_pull_range),
8965 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8966 (gst_pad_pause_task), (gst_pad_stop_task):
8967 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8968 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8969 Fix name lookup in GstBin.
8970 Added _data_replace() function and _buffer_replace()
8971 Use finalize method to clean up clock.
8972 Fix refcounting on request pads.
8973 Fix pad schedule mode error.
8974 Some more object refcounting debug info,
8977 2005-05-04 Andy Wingo <wingo@pobox.com>
8979 * check/Makefile.am:
8980 * docs/gst/tmpl/gstatomic.sgml:
8981 * docs/gst/tmpl/gstplugin.sgml:
8982 * gst/base/gstbasesink.c: (gst_basesink_activate):
8983 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8984 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8985 (gst_basesrc_query), (gst_basesrc_set_property),
8986 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8987 (gst_basesrc_activate):
8988 * gst/base/gstbasesrc.h:
8989 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8990 (gst_base_transform_src_activate):
8991 * gst/elements/gstelements.c:
8992 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8993 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8994 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8995 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8996 (gst_type_find_element_checkgetrange),
8997 (gst_type_find_element_activate):
8998 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8999 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9000 (gst_caps_load_thyself):
9001 * gst/gstelement.c: (gst_element_pads_activate),
9002 (gst_element_save_thyself), (gst_element_restore_thyself):
9003 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9004 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9006 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9007 (gst_xml_parse_file), (gst_xml_parse_memory),
9008 (gst_xml_get_element), (gst_xml_make_element):
9009 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9010 (_file_index_id_save_xml), (gst_file_index_commit):
9011 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9012 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9014 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9015 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9016 * tools/gst-complete.c: (main):
9017 * tools/gst-compprep.c: (main):
9018 * tools/gst-inspect.c: (print_element_properties_info):
9019 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9020 * tools/gst-xmlinspect.c: (print_element_properties):
9023 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9025 * gst/gstplugin.c: (gst_plugin_check_module),
9026 (gst_plugin_check_file), (gst_plugin_load_file):
9027 apply patch from #172526 to make register work on MacOSX
9029 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9031 * docs/gst/tmpl/gstconfig.sgml:
9032 * gst/gstconfig.h.in:
9033 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9034 * testsuite/debug/printf_extension.c: (main):
9035 Do not use GST_PTR_FORMAT on pointers to types with
9036 sizeof < sizeof(gpointer). Fixes test on 64-bit
9037 * testsuite/elements/property.h:
9038 use correct printf format
9040 2005-05-02 Wim Taymans <wim@fluendo.com>
9042 * docs/design/draft-push-pull.txt:
9043 * docs/design/draft-query.txt:
9044 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9045 (gst_basesrc_start):
9046 Added draft for new query API.
9047 Added draft for better selecting scheduling methods.
9048 Make basesrc ignore length if the subclass does not support
9051 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9054 possible fixes for automake-1.5 - _LIBADD is reserved
9056 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9058 * docs/faq/Makefile.am:
9059 * docs/manual/Makefile.am:
9061 * docs/pwg/Makefile.am:
9063 possible fixes for automake-1.5
9065 2005-04-28 Wim Taymans <wim@fluendo.com>
9067 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9068 (gst_basesink_pad_getcaps), (gst_basesink_init),
9069 (gst_basesink_do_sync):
9070 * gst/gstclock.c: (gst_clock_entry_new):
9071 * gst/gstevent.c: (gst_event_discont_get_value):
9072 * gst/gstpipeline.c: (pipeline_bus_handler),
9073 (gst_pipeline_change_state):
9074 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9075 Better debugging of clocking info.
9076 Allow NULL values when getting discont values.
9078 2005-04-27 Wim Taymans <wim@fluendo.com>
9080 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9081 * check/gst/gstpad.c: (gst_pad_suite):
9082 Increase timeout for checks.
9084 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9086 * check/Makefile.am:
9087 fix the broken rule for cleanup. Apparently this rule is
9088 only needed on FC2, so maybe this warrants further autotool
9091 2005-04-26 Wim Taymans <wim@fluendo.com>
9093 * gst/gsttrashstack.h:
9094 Ooohh. a nasty one! After having a failed pop() from the stack,
9095 it's possible that the stack is empty. In that case, don't
9096 follow the NULL pointer.
9098 2005-04-25 Wim Taymans <wim@fluendo.com>
9100 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9101 (gst_pad_set_checkgetrange_function),
9102 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9103 (gst_pad_check_pull_range), (gst_pad_pull_range),
9104 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9105 (gst_pad_pause_task), (gst_pad_stop_task):
9106 * gst/gstplugin.c: (gst_plugin_load):
9108 Remove gst_library_load as it does more harm than good with
9109 the new g_module flags.
9110 Revert bogus caps template check in pad linking, pad caps
9111 are important when linking not the template, which is more
9112 general than the current caps.
9114 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9116 * gst/autoplug/.cvsignore:
9117 * gst/autoplug/Makefile.am:
9118 * gst/autoplug/gstsearchfuncs.c:
9119 * gst/autoplug/gstsearchfuncs.h:
9120 * gst/autoplug/gstspider.c:
9121 * gst/autoplug/gstspider.h:
9122 * gst/autoplug/gstspideridentity.c:
9123 * gst/autoplug/gstspideridentity.h:
9124 * gst/autoplug/spidertest.c:
9127 2005-04-25 Wim Taymans <wim@fluendo.com>
9129 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9130 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9131 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9132 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9134 Added stubs for unimplemented functions.
9136 2005-04-24 David Schleef <ds@schleef.org>
9138 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9141 2005-04-24 David Schleef <ds@schleef.org>
9143 Convert everything from GstAtomicInt to g_atomic_int_*, and
9148 * gst/gstatomic_impl.h:
9156 * gst/gstdata_private.h:
9163 * gst/gststructure.c:
9164 * gst/gststructure.h:
9165 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9168 2005-04-24 David Schleef <ds@schleef.org>
9170 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9171 make the regressions tests work. Remove some code that is no
9173 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9174 Disable warning for pads without templates.
9176 2005-04-24 David Schleef <ds@schleef.org>
9178 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9179 functions that handle filtered links.
9180 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9182 * gst/gstutils.c: Fix/remove utility functions that handle
9185 * gst/gstvalue.c: Add serialization/deserialization of caps
9186 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9187 requires fixing so that the filter caps notation creates
9188 a capsfilter element and sets the filter_caps property. I
9189 think everyone probably wants to keep the shorthand notation.
9190 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9191 * docs/gst/tmpl/gstpad.sgml:
9193 * gst/elements/gstelements.c: Register capsfilter element.
9194 * gst/Makefile.am: fix spacing
9195 * docs/random/ds/0.9-suggested-changes: random
9197 2005-04-23 David Schleef <ds@schleef.org>
9199 * gst/elements/Makefile.am:
9200 * gst/elements/gstcapsfilter.c: New element that acts like an
9201 identity, but filters caps. Will eventually replace filtered
9202 caps in pad linking.
9203 * gst/gstutils.c: (gst_element_create_all_pads): New function
9204 to create all the ALWAYS pads that are registered with an
9205 element class. This functionality should eventually be
9206 merged in with GstElement initialization.
9208 * testsuite/trigger/README: part of trigger test code that should
9209 have been checked in a long time ago.
9211 2005-04-23 David Schleef <ds@schleef.org>
9213 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9214 needed with new versions of libtool (nobody will confirm this),
9215 and hard to carry around.
9216 * gst/autoplug/Makefile.am:
9217 * gst/base/Makefile.am:
9218 * gst/elements/Makefile.am:
9219 * gst/indexers/Makefile.am:
9220 * gst/schedulers/Makefile.am:
9221 * libs/gst/bytestream/Makefile.am:
9222 * libs/gst/control/Makefile.am:
9223 * libs/gst/dataprotocol/Makefile.am:
9224 * libs/gst/getbits/Makefile.am:
9226 2005-04-21 Wim Taymans <wim@fluendo.com>
9228 * docs/design/draft-push-pull.txt:
9229 * docs/design/part-MT-refcounting.txt:
9230 * docs/design/part-TODO.txt:
9231 * docs/design/part-caps.txt:
9232 * docs/design/part-events.txt:
9233 * docs/design/part-gstbus.txt:
9234 * docs/design/part-gstpipeline.txt:
9235 * docs/design/part-messages.txt:
9236 * docs/design/part-push-pull.txt:
9237 * docs/design/part-query.txt:
9240 2005-04-21 Wim Taymans <wim@fluendo.com>
9242 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9243 (gst_message_new), (gst_message_new_error),
9244 (gst_message_new_warning), (gst_message_new_tag),
9245 (gst_message_new_state_changed), (gst_message_new_application),
9246 (gst_message_get_structure):
9248 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9249 (gst_structure_copy_conditional):
9250 Use parent refcount in GstMessage to ensure GstStructure
9252 Cleaned up headers a bit.
9255 2005-04-20 Wim Taymans <wim@fluendo.com>
9257 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9258 (gst_basesink_pad_getcaps), (gst_basesink_init),
9259 (gst_basesink_chain_unlocked):
9260 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9261 (gst_type_find_helper):
9262 * gst/elements/gsttypefindelement.c:
9263 (gst_type_find_element_have_type), (gst_type_find_element_init),
9264 (stop_typefinding), (gst_type_find_element_handle_event),
9265 (find_suggest), (gst_type_find_element_chain),
9266 (gst_type_find_element_checkgetrange),
9267 (gst_type_find_element_getrange), (do_typefind),
9268 (gst_type_find_element_activate):
9269 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9270 (gst_buffer_default_free), (gst_buffer_default_copy),
9271 (gst_buffer_set_caps):
9272 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9274 * gst/gstmessage.c: (gst_message_new),
9275 (gst_message_new_state_changed):
9276 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9277 (gst_pad_set_checkgetrange_function),
9278 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9279 (gst_pad_set_caps), (gst_pad_check_pull_range),
9280 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9282 * gst/gsttypefind.c: (gst_type_find_register):
9283 Make gst_caps_replace() work like other _replace() functions.
9284 Use _caps_replace() where possible.
9285 Make sure _message_new() initialises its field.
9286 Add gst_static_pad_template_get_caps()
9289 2005-04-18 Andy Wingo <wingo@pobox.com>
9291 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9292 on the peer, not the pad. I think that was a typo. Pass an extra
9293 arg to see if random access is possible. Activate the pads as
9294 PULL_RANGE if possible.
9296 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9298 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9299 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9302 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9304 * docs/faq/using.xml:
9305 Add note on gstreamer-properties (#154996).
9307 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9309 * docs/random/bbb/optional-properties:
9310 Some analysis on optional properties.
9312 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9314 * docs/gst/tmpl/gstelementfactory.sgml:
9316 * gst/gstelementfactory.c: (gst_element_factory_init),
9317 (gst_element_factory_cleanup), (gst_element_register),
9318 (__gst_element_factory_add_static_pad_template),
9319 (gst_element_factory_get_static_pad_templates),
9320 (gst_element_factory_can_src_caps),
9321 (gst_element_factory_can_sink_caps):
9322 * gst/registries/Makefile.am:
9323 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9324 (gst_xml_registry_class_init), (gst_xml_registry_init),
9325 (gst_xml_registry_new), (gst_xml_registry_set_property),
9326 (gst_xml_registry_get_property), (get_time), (make_dir),
9327 (gst_xml_registry_get_perms_func),
9328 (plugin_times_older_than_recurse), (plugin_times_older_than),
9329 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9330 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9331 (add_to_char_array), (read_string), (read_uint), (read_enum),
9332 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9333 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9334 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9335 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9336 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9337 (gst_xml_registry_rebuild):
9338 * gst/registries/gstlibxmlregistry.h:
9339 * tools/gst-compprep.c: (main):
9340 * tools/gst-inspect.c: (print_pad_templates_info):
9341 * tools/gst-xmlinspect.c: (print_element_info):
9342 Use libxml2 for registry parsing, use staticpadtemplates in
9343 elementfactories. Makes gst_init() +/- 10x faster.
9345 2005-04-12 Wim Taymans <wim@fluendo.com>
9347 * gst/base/Makefile.am:
9348 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9349 (gst_basesink_pad_getcaps), (gst_basesink_init),
9350 (gst_basesink_event), (gst_basesink_change_state):
9351 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9352 (gst_basesrc_init), (gst_basesrc_query),
9353 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9354 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9355 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9356 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9357 (gst_basesrc_stop), (gst_basesrc_activate),
9358 (gst_basesrc_change_state):
9359 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9360 (helper_find_suggest), (gst_type_find_helper):
9361 * gst/base/gsttypefindhelper.h:
9362 * gst/elements/Makefile.am:
9363 * gst/elements/gstelements.c:
9364 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9365 (gst_fakesink_get_times), (gst_fakesink_event),
9366 (gst_fakesink_preroll), (gst_fakesink_render):
9367 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9368 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9369 (gst_fakesrc_get_property), (gst_fakesrc_create),
9370 (gst_fakesrc_start), (gst_fakesrc_stop):
9371 * gst/elements/gstfakesrc.h:
9372 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9373 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9374 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9375 (gst_filesrc_create_read), (gst_filesrc_create),
9376 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9377 (gst_filesrc_start):
9378 * gst/elements/gsttypefindelement.c:
9379 (gst_type_find_element_have_type), (gst_type_find_element_init),
9380 (start_typefinding), (stop_typefinding), (push_buffer_store),
9381 (gst_type_find_element_handle_event),
9382 (gst_type_find_element_chain),
9383 (gst_type_find_element_checkgetrange),
9384 (gst_type_find_element_getrange), (do_typefind),
9385 (gst_type_find_element_activate),
9386 (gst_type_find_element_change_state):
9387 * gst/elements/gsttypefindelement.h:
9388 * gst/gstpipeline.c: (pipeline_bus_handler):
9389 Added typefind helper.
9390 Small preroll fix in the base sink.
9391 Disable typefind code in basesrc.
9392 Crude port of typefindelement.
9396 2005-04-11 Wim Taymans <wim@fluendo.com>
9398 * check/gst/gstbus.c: (gstbus_suite):
9399 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9401 Fix up the timeout so that the test does not fail.
9403 2005-04-06 Wim Taymans <wim@fluendo.com>
9406 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9407 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9408 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9409 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9410 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9411 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9412 (gst_basesrc_stop), (gst_basesrc_activate),
9413 (gst_basesrc_change_state), (basesrc_find_peek),
9414 (basesrc_find_suggest), (gst_basesrc_type_find):
9415 * gst/base/gstbasesrc.h:
9416 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9417 (gst_filesrc_class_init), (gst_filesrc_init),
9418 (gst_filesrc_finalize), (gst_filesrc_set_location),
9419 (gst_filesrc_set_property), (gst_filesrc_get_property),
9420 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9421 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9422 (gst_filesrc_create_read), (gst_filesrc_create),
9423 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9424 * gst/elements/gstfilesrc.h:
9425 * gst/gstelement.c: (gst_element_get_state_func),
9426 (gst_element_lost_state), (gst_element_pads_activate):
9427 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9428 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9429 (gst_pad_pull_range):
9431 More work on the generic source base class, implement seeking,
9433 Make filesrc extend the base source class.
9434 Added gst_pad_set_checkgetrange_function to GstPad.
9436 2005-04-06 Andy Wingo <wingo@pobox.com>
9438 * pkgconfig/gstreamer-base.pc.in:
9439 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9441 * pkgconfig/Makefile.am:
9442 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9444 2005-04-04 Wim Taymans <wim@fluendo.com>
9446 * gst/base/Makefile.am:
9448 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9449 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9450 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9451 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9452 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9453 (gst_basesrc_base_init), (gst_basesrc_class_init),
9454 (gst_basesrc_init), (gst_basesrc_get_formats),
9455 (gst_basesrc_get_query_types), (gst_basesrc_query),
9456 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9457 (gst_basesrc_set_property), (gst_basesrc_get_property),
9458 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9459 (gst_basesrc_loop), (gst_basesrc_activate),
9460 (gst_basesrc_change_state):
9461 * gst/base/gstbasesrc.h:
9462 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9463 (gst_fakesrc_class_init), (gst_fakesrc_init),
9464 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9465 (gst_fakesrc_get_property), (gst_fakesrc_create):
9466 * gst/elements/gstfakesrc.h:
9467 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9468 (gst_filesrc_open_file), (gst_filesrc_loop),
9469 (gst_filesrc_activate), (filesrc_find_peek),
9470 (gst_filesrc_type_find):
9471 Made base source class, make fakesrc extend it.
9472 Add comments to basesink class.
9473 Some filesrc cleanup.
9475 2005-03-31 David Schleef <ds@schleef.org>
9477 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9478 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9479 expected to link against libgstreamer.
9480 * gst/base/Makefile.am: link against libgstreamer
9481 * gst/elements/Makefile.am: same
9483 2005-03-31 Andy Wingo <wingo@pobox.com>
9485 * tests/instantiate/Makefile.am:
9486 * tests/instantiate/caps.c: Add test to test speed of caps copy
9489 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9490 GMemChunk to be fair.
9492 * gst/gsttrashstack.h: Remove warning about using the fallback
9493 trash stack implementation, it's still faster than malloc.
9495 2005-03-30 Andy Wingo <wingo@pobox.com>
9497 * tests/complexity.c: Add a copyright.
9499 2005-03-31 Wim Taymans <wim@fluendo.com>
9501 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9502 (gst_base_transform_class_init), (gst_base_transform_init),
9503 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9504 (gst_base_transform_get_property),
9505 (gst_base_transform_sink_activate),
9506 (gst_base_transform_src_activate),
9507 (gst_base_transform_change_state):
9508 * gst/base/gstbasetransform.h:
9509 * gst/elements/gstidentity.c: (gst_identity_class_init),
9510 (gst_identity_event), (gst_identity_check_perfect),
9511 (gst_identity_transform), (gst_identity_start),
9512 (gst_identity_stop):
9513 Added start/stop methods to transform base class so subclasses
9514 don't need to deal with state changes even.
9516 2005-03-31 Wim Taymans <wim@fluendo.com>
9518 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9519 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9521 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9522 (gst_pad_pull_range):
9523 Added rate to the discont event to prepare for variable speed
9524 and reverse playback.
9526 2005-03-29 David Schleef <ds@schleef.org>
9529 * testsuite/trigger/Makefile.am:
9530 * testsuite/trigger/trigger.c: A little example program to show
9531 how trigger-based elements can work.
9533 2005-03-29 Wim Taymans <wim@fluendo.com>
9535 * gst/base/Makefile.am:
9537 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9538 (gst_basesink_base_init), (gst_basesink_class_init),
9539 (gst_basesink_pad_getcaps), (gst_basesink_init),
9540 (gst_basesink_activate), (gst_basesink_change_state):
9541 * gst/base/gstbasesink.h:
9542 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9543 (gst_base_transform_base_init), (gst_base_transform_finalize),
9544 (gst_base_transform_class_init), (gst_base_transform_init),
9545 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9546 (gst_base_transform_event), (gst_base_transform_getrange),
9547 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9548 (gst_base_transform_set_property),
9549 (gst_base_transform_get_property),
9550 (gst_base_transform_sink_activate),
9551 (gst_base_transform_src_activate),
9552 (gst_base_transform_change_state):
9553 * gst/base/gstbasetransform.h:
9554 * gst/elements/gstidentity.c: (gst_identity_finalize),
9555 (gst_identity_class_init), (gst_identity_init),
9556 (gst_identity_event), (gst_identity_check_perfect),
9557 (gst_identity_transform), (gst_identity_set_property),
9558 (gst_identity_get_property), (gst_identity_change_state):
9559 * gst/elements/gstidentity.h:
9560 * gst/gstelement.c: (gst_element_get_state_func),
9561 (gst_element_lost_state), (gst_element_pads_activate):
9562 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9563 (gst_pad_check_pull_range), (gst_pad_pull_range):
9565 Simplify pad activation.
9566 Added function to check if pull_range can be performed.
9567 Error out when pulling inactive or flushing pads.
9568 Removed const from refcounted types as it does not make sense.
9569 Simplify pad templates in basesink
9570 Added base class for simple 1-to-1 transforms.
9571 Make identity subclass the base transform.
9573 2005-03-29 Andy Wingo <wingo@pobox.com>
9575 * docs/libs/gstreamer-libs-overrides.txt:
9576 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9577 really don't understand what's going on, but like whatever. I want
9580 * docs/gst/Makefile.am:
9581 * docs/libs/Makefile.am: Dist the overrides files.
9583 * check/Makefile.am (clean-local): Remove .libs directories.
9585 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9586 elements to EXTRA_DIST, so po/ files are happy.
9588 * po/POTFILES.in: Er, remove it here.
9590 * po/POTFILES: Remove gstspider.c.
9592 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9594 * docs/libs/gstreamer-libs-docs.sgml:
9595 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9598 * tests/complexity.c (main): Set the length of the preroll queue
9599 on the sinks to prevent a lockup.
9601 * libs/gst/dataprotocol/Makefile.am:
9602 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9603 the same as the one in check/gst-libs/gdp.c.
9605 * po/, docs/gst/: Commit automatic changes to docs and po files.
9607 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9608 the versioned libgstbase.
9610 * check/Makefile.am: Depend on an unversioned gst-register, seems
9611 to make autoconf happier.
9613 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9615 2005-03-28 Wim Taymans <wim@fluendo.com>
9618 * docs/design/part-gstelement.txt:
9619 * docs/design/part-negotiation.txt:
9620 * docs/design/part-preroll.txt:
9621 * docs/design/part-scheduling.txt:
9622 * docs/design/part-states.txt:
9624 * gst/base/Makefile.am:
9626 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9627 (gst_basesink_base_init), (gst_basesink_class_init),
9628 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9629 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9630 (gst_basesink_set_pad_functions),
9631 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9632 (gst_basesink_set_property), (gst_basesink_get_property),
9633 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9634 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9635 (gst_basesink_preroll_queue_push),
9636 (gst_basesink_preroll_queue_empty),
9637 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9638 (gst_basesink_event), (gst_basesink_get_times),
9639 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9640 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9641 (gst_basesink_loop), (gst_basesink_activate),
9642 (gst_basesink_change_state):
9643 * gst/base/gstbasesink.h:
9644 * gst/elements/Makefile.am:
9645 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9646 (gst_fakesink_class_init), (gst_fakesink_init),
9647 (gst_fakesink_set_property), (gst_fakesink_get_property),
9648 (gst_fakesink_get_times), (gst_fakesink_event),
9649 (gst_fakesink_preroll), (gst_fakesink_render),
9650 (gst_fakesink_change_state):
9651 * gst/elements/gstfakesink.h:
9652 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9653 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9654 * gst/gstelement.c: (gst_element_add_pad),
9655 (gst_element_get_state_func), (gst_element_abort_state),
9656 (gst_element_commit_state), (gst_element_lost_state),
9657 (gst_element_set_state), (gst_element_pads_activate):
9658 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9659 * gst/gstpipeline.c: (gst_pipeline_send_event),
9660 (gst_pipeline_change_state):
9661 Added state change code.
9663 Added sink base class, make fakesink extend the base class.
9664 Small cleanups in GstPipeline.
9666 2005-03-26 David Schleef <ds@schleef.org>
9668 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9669 is broken and should be implemented in a different library.
9670 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9671 * gst/gst.h: remove gstcpu.h
9672 * gst/gstcpu.c: remove
9673 * gst/gstcpu.h: remove
9674 * gst/Makefile.am.future: Remove this file. It's ancient.
9676 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9678 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9679 (gst_bin_send_event):
9680 Add default event/set_manager handlers. The set_manager handler
9681 takes care that the manager is distributed over kids that were
9682 already in the bin before the manager was set. The event handler
9683 is a utility virtual function that sends the event over all sinks,
9684 so that gst_element_send_event (bin, event); has the expected
9686 * gst/gstpad.c: (gst_pad_event_default):
9687 Re-install default event handling for discontinuities, so that
9688 seeking works without requiring hacks in applications or extra
9690 * gst/gstpipeline.c: (gst_pipeline_class_init),
9691 (gst_pipeline_send_event):
9692 Half hack, half utility: set a pipeline to PAUSED for seek events,
9693 since that is the only way we can guarantee a/v sync. Means that
9694 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9695 and it "just works".
9697 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9699 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9700 Lock/unlock mismatch.
9702 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9704 * docs/faq/gst-uninstalled:
9705 add gst-plugins-base
9706 * docs/gst/Makefile.am:
9707 don't error out until docs are fixed
9708 * docs/gst/gstreamer.types:
9711 2005-03-22 Wim Taymans <wim@fluendo.com>
9713 * check/Makefile.am:
9714 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9715 * gst/gststructure.c: (gst_structure_set_valist),
9716 (gst_structure_copy_conditional):
9717 Activated more tests.
9719 Added G_TYPE_POINTER to GstStructure.
9722 2005-03-22 Wim Taymans <wim@fluendo.com>
9724 * docs/design/part-TODO.txt:
9725 * docs/design/part-events.txt:
9726 * docs/design/part-gstbin.txt:
9727 * docs/design/part-gstbus.txt:
9728 * docs/design/part-gstpipeline.txt:
9729 * docs/design/part-messages.txt:
9734 2005-03-21 Wim Taymans <wim@fluendo.com>
9736 * gst/gstbus.c: (gst_bus_post):
9737 Fix copy-and-paste error.
9739 2005-03-21 Wim Taymans <wim@fluendo.com>
9741 * check/Makefile.am:
9743 * gst/elements/Makefile.am:
9744 * gst/elements/gstelements.c:
9745 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9746 (gst_fakesink_event), (gst_fakesink_chain):
9747 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9748 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9749 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9750 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9751 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9752 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9753 (gst_fakesrc_loop), (gst_fakesrc_activate),
9754 (gst_fakesrc_change_state):
9755 * gst/elements/gstfakesrc.h:
9756 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9757 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9758 (gst_filesrc_open_file), (gst_filesrc_loop),
9759 (gst_filesrc_activate), (gst_filesrc_change_state),
9760 (filesrc_find_peek), (filesrc_find_suggest),
9761 (gst_filesrc_type_find):
9762 * gst/elements/gstidentity.c: (gst_identity_finalize),
9763 (gst_identity_class_init), (gst_identity_init),
9764 (gst_identity_proxy_getcaps), (identity_queue_push),
9765 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9766 (gst_identity_getrange), (gst_identity_chain),
9767 (gst_identity_sink_loop), (gst_identity_src_loop),
9768 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9769 (gst_identity_set_property), (gst_identity_get_property),
9770 (gst_identity_change_state):
9771 * gst/elements/gstidentity.h:
9772 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9773 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9774 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9775 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9776 (gst_tee_sink_activate):
9777 * gst/elements/gsttee.h:
9778 * gst/gst.c: (gst_register_core_elements), (init_post):
9780 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9781 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9782 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9783 (gst_bin_change_state):
9785 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9786 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9787 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9788 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9789 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9790 (bus_watch_callback), (bus_watch_destroy),
9791 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9792 (poll_timeout), (gst_bus_poll):
9796 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9797 (gst_element_post_message), (gst_element_message_full),
9798 (gst_element_get_state_func), (gst_element_get_state),
9799 (gst_element_abort_state), (gst_element_commit_state),
9800 (gst_element_lost_state), (gst_element_set_state),
9801 (gst_element_pads_activate), (gst_element_change_state),
9802 (gst_element_dispose), (gst_element_set_manager_func),
9803 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9804 (gst_element_set_manager), (gst_element_get_manager),
9805 (gst_element_set_bus), (gst_element_get_bus),
9806 (gst_element_set_scheduler), (gst_element_get_scheduler):
9808 * gst/gstevent.c: (gst_event_new_segment_seek),
9809 (gst_event_new_flush):
9811 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9812 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9813 (gst_message_new_eos), (gst_message_new_error),
9814 (gst_message_new_warning), (gst_message_new_tag),
9815 (gst_message_new_state_changed), (gst_message_new_application),
9816 (gst_message_get_structure), (gst_message_parse_tag),
9817 (gst_message_parse_state_changed), (gst_message_parse_error),
9818 (gst_message_parse_warning):
9820 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9821 (gst_real_pad_set_property), (gst_pad_set_active),
9822 (gst_pad_is_active), (gst_pad_set_blocked_async),
9823 (gst_pad_set_blocked), (gst_pad_is_blocked),
9824 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9825 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9826 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9827 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9828 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9829 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9830 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9831 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9832 (gst_pad_set_caps), (gst_pad_configure_sink),
9833 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9834 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9835 (gst_real_pad_dispose), (gst_real_pad_finalize),
9836 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9837 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9838 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9840 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9841 (pipeline_bus_handler), (gst_pipeline_change_state),
9842 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9843 * gst/gstpipeline.h:
9845 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9846 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9847 (gst_queue_link_src), (gst_queue_bufferalloc),
9848 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9849 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9850 (gst_queue_loop), (gst_queue_handle_src_event),
9851 (gst_queue_handle_src_query), (gst_queue_src_activate),
9852 (gst_queue_change_state):
9854 * gst/gstscheduler.c: (gst_scheduler_init),
9855 (gst_scheduler_dispose), (gst_scheduler_create_task),
9856 (gst_scheduler_factory_create):
9857 * gst/gstscheduler.h:
9858 * gst/gststructure.c: (gst_structure_get_type),
9859 (gst_structure_copy_conditional):
9860 * gst/gststructure.h:
9861 * gst/gsttaginterface.h:
9862 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9863 (gst_task_init), (gst_task_dispose), (gst_task_create),
9864 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9870 * gst/schedulers/Makefile.am:
9871 * gst/schedulers/cothreads_compat.h:
9872 * gst/schedulers/entryscheduler.c:
9873 * gst/schedulers/faircothreads.c:
9874 * gst/schedulers/faircothreads.h:
9875 * gst/schedulers/fairscheduler.c:
9876 * gst/schedulers/gstbasicscheduler.c:
9877 * gst/schedulers/gstoptimalscheduler.c:
9878 * gst/schedulers/gthread-cothreads.h:
9879 * gst/schedulers/threadscheduler.c:
9880 (gst_thread_scheduler_task_get_type),
9881 (gst_thread_scheduler_task_class_init),
9882 (gst_thread_scheduler_task_init),
9883 (gst_thread_scheduler_task_start),
9884 (gst_thread_scheduler_task_stop),
9885 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9886 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9887 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9888 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9890 * libs/gst/Makefile.am:
9891 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9892 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9893 (gst_file_pad_parent_set):
9894 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9895 (gst_dp_event_from_packet):
9896 * tests/complexity.c: (main):
9897 * tests/mass_elements.c: (main):
9898 * testsuite/states/locked.c: (message_received), (main):
9899 * testsuite/states/parent.c: (main):
9900 * tools/gst-inspect.c: (print_element_flag_info),
9901 (print_implementation_info), (print_pad_info):
9902 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9904 * tools/gst-md5sum.c: (event_loop), (main):
9905 * tools/gst-typefind.c: (main):
9906 * tools/gst-xmlinspect.c: (print_element_info):
9908 Added GstBus for mainloop integration.
9909 Added GstMessage for sending notifications on the bus.
9910 Added GstTask as an abstraction for pipeline entry points.
9913 Simplified GstQueue for multithreaded core.
9914 Made _link threadsafe, removed old capsnego.
9915 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9916 Added pad blocking functions.
9917 Reworked scheduling functions in GstPad to prepare for
9918 scheduling updates soon.
9919 Moved events out of data stream.
9920 Simplified GstEvent types.
9921 Added return values to push/pull.
9922 Removed clocking from GstElement.
9923 Added prototypes for state change function for next merge.
9924 Removed iterate from bins and state change management.
9925 Fixed some elements, disabled others for now.
9926 Fixed -inspect and -launch.
9927 Added check for GstBus.
9929 2005-03-10 Wim Taymans <wim@fluendo.com>
9931 * docs/design/part-MT-refcounting.txt:
9932 * docs/design/part-clocks.txt:
9933 * docs/design/part-gstelement.txt:
9934 * docs/design/part-gstobject.txt:
9935 * docs/design/part-standards.txt:
9936 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9937 (gst_bin_remove_func), (gst_bin_remove):
9941 * testsuite/clock/clock1.c: (main):
9942 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9944 * testsuite/dlopen/loadgst.c: (do_test):
9945 * testsuite/refcounting/bin.c: (add_remove_test1),
9946 (add_remove_test2), (main):
9947 * testsuite/refcounting/element.c: (main):
9948 * testsuite/refcounting/element_pad.c: (main):
9949 * testsuite/refcounting/pad.c: (main):
9950 * tools/gst-launch.c: (sigint_handler_sighandler):
9951 * tools/gst-typefind.c: (main):
9953 Added doc about clock.
9954 removed gst_bin_iterate_recurse_up(), marked methods
9956 Fix more testsuites.
9958 2005-03-09 Wim Taymans <wim@fluendo.com>
9960 * gst/gstpad.c: (gst_pad_get_direction),
9961 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9962 (gst_pad_collect_valist):
9963 * testsuite/bins/interface.c: (main):
9964 * testsuite/caps/audioscale.c: (test_caps):
9965 * testsuite/caps/caps.c: (test1), (test2), (test3):
9966 * testsuite/caps/deserialize.c: (main):
9967 * testsuite/caps/enumcaps.c: (main):
9968 * testsuite/caps/filtercaps.c: (main):
9969 * testsuite/caps/intersect2.c: (main):
9970 * testsuite/caps/random.c: (main):
9971 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9972 * testsuite/caps/sets.c: (check_caps):
9973 * testsuite/caps/simplify.c: (check_caps), (main):
9974 * testsuite/caps/subtract.c: (check_caps):
9975 Fix _pad_get_direction wrt ghostpads.
9978 2005-03-09 Wim Taymans <wim@fluendo.com>
9980 * check/Makefile.am:
9981 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9982 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9983 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9984 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9985 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9986 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9987 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9988 (bin_element_is_sink), (gst_bin_iterate_sinks),
9989 (gst_bin_iterate_all_by_interface):
9991 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9992 (gst_element_change_state), (gst_element_dispose),
9993 (gst_element_finalize), (gst_element_set_loop_function):
9995 * gst/gstiterator.c: (find_custom_fold_func):
9996 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9997 (gst_pad_collectv), (gst_pad_collect_valist),
9998 (gst_pad_template_new):
9999 * gst/gstpipeline.c: (gst_pipeline_class_init),
10000 (gst_pipeline_dispose), (gst_pipeline_set_property),
10001 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10002 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10003 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10005 * gst/schedulers/entryscheduler.c:
10006 * gst/schedulers/gstbasicscheduler.c:
10007 (gst_basic_scheduler_cothreaded_chain),
10008 (gst_basic_scheduler_chain_add_element):
10009 * testsuite/bins/interface.c: (main):
10011 Added GstSystemClock test.
10012 Implemented clock distribution code in GstBin.
10013 Implemented iterate sinks method for future use.
10014 Rearranged gstelement.h
10015 Fix GstIterator comparison bug.
10016 Moved some code to GstPipeline, mostly clocking related.
10018 2005-03-09 Wim Taymans <wim@fluendo.com>
10021 * gst/gst_private.h:
10022 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10023 (gst_bin_remove_func), (gst_bin_remove),
10024 (gst_bin_get_by_name_recurse_up):
10025 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10026 (gst_clock_id_compare_func), (gst_clock_id_wait),
10027 (gst_clock_id_wait_async), (gst_clock_init),
10028 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10029 * gst/gstelement.h:
10030 * gst/gstinfo.c: (_gst_debug_init):
10032 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10033 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10035 Bump version number, we're now 0.9.0
10036 Add future debugging category.
10037 Fix NULL _unref() in _get_by_name_recurse_up
10038 Rearrange gstpad.h.
10041 2005-03-08 Wim Taymans <wim@fluendo.com>
10043 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10044 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10045 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10046 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10047 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10048 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10049 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10050 * gst/elements/gstidentity.c: (gst_identity_class_init):
10051 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10052 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10053 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10054 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10055 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10057 * gst/gstelement.c: (gst_element_class_init),
10058 (gst_element_base_class_init), (gst_element_init),
10059 (gst_element_get_random_pad), (gst_element_wait_state_change),
10060 (gst_element_change_state), (gst_element_dispose),
10061 (gst_element_finalize), (gst_element_set_loop_function):
10062 * gst/gstelement.h:
10063 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10064 * gst/gstthread.c: (gst_thread_class_init),
10065 (gst_thread_release_children_locks), (gst_thread_change_state):
10066 * gst/schedulers/gstbasicscheduler.c:
10067 (gst_basic_scheduler_loopfunc_wrapper),
10068 (gst_basic_scheduler_chain_wrapper),
10069 (gst_basic_scheduler_src_wrapper),
10070 (gst_basic_scheduler_remove_element):
10071 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10072 Remove threadsafe properties. Fix elements because GObject
10073 complains when installing a property before declaring a
10074 set/get_property handler.
10075 Rearrange gstelement.h file, use STATE macros for state locks.
10076 Free mutexes in the finalize method instead of dispose.
10078 2005-03-08 Wim Taymans <wim@fluendo.com>
10080 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10081 * gst/gstthread.c: (gst_thread_release_children_locks):
10082 Added parentage check.
10083 Fix build og GstThread again.
10085 2005-03-08 Wim Taymans <wim@fluendo.com>
10087 * docs/design/part-MT-refcounting.txt:
10088 * docs/design/part-conventions.txt:
10089 * docs/design/part-gstobject.txt:
10090 * docs/design/part-relations.txt:
10091 * docs/design/part-standards.txt:
10092 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10093 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10094 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10095 (gst_bin_iterate_all_by_interface):
10098 * gst/gstelement.c: (gst_element_class_init),
10099 (gst_element_change_state), (gst_element_set_loop_function):
10100 * gst/gstelement.h:
10101 * gst/gstiterator.c:
10102 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10103 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10104 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10105 (gst_object_set_parent), (gst_object_unparent),
10106 (gst_object_check_uniqueness):
10108 Docs updates, clean up some headers.
10110 2005-03-07 Wim Taymans <wim@fluendo.com>
10112 * check/.cvsignore:
10113 * check/Makefile.am:
10114 * check/gst-libs/.cvsignore:
10115 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10116 * check/gst/.cvsignore:
10117 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10118 (START_TEST), (gstbus_suite), (main):
10119 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10120 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10121 (gst_data_suite), (main):
10122 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10123 (add_fold_func), (gstiterator_suite), (main):
10124 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10125 (thread_name_object), (thread_name_object_default),
10126 (gst_object_name_compare), (gst_object_suite), (main):
10127 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10128 (gst_pad_suite), (main):
10129 * check/gstcheck.c: (gst_check_log_message_func),
10130 (gst_check_log_critical_func), (gst_check_init):
10131 * check/gstcheck.h:
10132 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10133 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10136 2005-03-07 Wim Taymans <wim@fluendo.com>
10138 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10139 (gst_list_iterator_next), (gst_list_iterator_resync),
10140 (gst_list_iterator_free), (gst_iterator_new_list),
10141 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10142 (gst_iterator_free), (gst_iterator_push), (filter_next),
10143 (filter_resync), (filter_uninit), (filter_free),
10144 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10145 (gst_iterator_foreach), (find_custom_fold_func),
10146 (gst_iterator_find_custom):
10147 * gst/gstiterator.h:
10148 Added missing files.
10150 2005-03-07 Wim Taymans <wim@fluendo.com>
10154 * docs/design/part-MT-refcounting.txt:
10155 * docs/design/part-conventions.txt:
10156 * docs/design/part-gstobject.txt:
10157 * docs/design/part-relations.txt:
10158 * examples/mixer/mixer.c: (main):
10159 * examples/thread/thread.c: (eos), (main):
10161 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10162 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10163 (gst_spider_plug_from_srcpad):
10164 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10165 (gst_spider_identity_change_state),
10166 (gst_spider_identity_sink_loop_type_finding):
10167 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10168 * gst/elements/gstidentity.c: (gst_identity_init):
10169 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10170 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10171 * gst/elements/gsttypefindelement.c: (free_entry):
10174 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10175 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10176 (gst_bin_set_index), (gst_bin_set_element_sched),
10177 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10178 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10179 (gst_bin_iterate_elements), (iterate_child_recurse),
10180 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10181 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10182 (compare_interface), (gst_bin_get_by_interface),
10183 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10185 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10186 (gst_buffer_default_free), (gst_buffer_default_copy),
10187 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10188 (gst_buffer_create_sub):
10190 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10191 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10192 (gst_caps_unref), (gst_static_caps_get),
10193 (gst_caps_remove_and_get_structure), (gst_caps_append),
10194 (gst_caps_append_structure), (gst_caps_remove_structure),
10195 (gst_caps_copy_nth), (gst_caps_set_simple),
10196 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10197 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10198 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10199 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10200 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10201 (gst_caps_structure_figure_out_union),
10202 (gst_caps_switch_structures), (gst_caps_do_simplify),
10203 (gst_caps_replace), (gst_caps_from_string),
10204 (gst_caps_copy_conditional):
10206 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10207 (_gst_clock_id_free), (gst_clock_id_unref),
10208 (gst_clock_id_compare_func), (gst_clock_id_wait),
10209 (gst_clock_id_wait_async), (gst_clock_class_init),
10210 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10211 (gst_clock_get_time), (gst_clock_set_time_adjust),
10212 (gst_clock_set_property), (gst_clock_get_property):
10215 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10216 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10218 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10219 (gst_element_requires_clock), (gst_element_provides_clock),
10220 (gst_element_set_clock), (gst_element_clock_wait),
10221 (gst_element_wait), (gst_element_set_time_delay),
10222 (gst_element_is_indexable), (gst_element_add_pad),
10223 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10224 (pad_compare_name), (gst_element_get_static_pad),
10225 (gst_element_request_pad), (gst_element_get_request_pad),
10226 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10227 (gst_element_class_get_pad_template_list),
10228 (gst_element_class_get_pad_template), (gst_element_error_func),
10229 (gst_element_get_random_pad), (gst_element_get_event_masks),
10230 (gst_element_send_event), (gst_element_seek),
10231 (gst_element_get_query_types), (gst_element_query),
10232 (gst_element_get_formats), (gst_element_convert),
10233 (gst_element_is_locked_state), (gst_element_set_locked_state),
10234 (gst_element_sync_state_with_parent), (gst_element_change_state),
10235 (gst_element_finalize), (gst_element_yield),
10236 (gst_element_interrupt), (gst_element_set_scheduler),
10237 (gst_element_get_scheduler), (gst_element_set_loop_function):
10238 * gst/gstelement.h:
10240 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10241 (gst_format_get_by_nick), (gst_format_get_details),
10242 (gst_format_iterate_definitions):
10244 * gst/gstindex.c: (gst_index_gtype_resolver):
10247 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10248 (gst_mem_chunk_free):
10249 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10250 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10251 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10252 (gst_object_dispatch_properties_changed),
10253 (gst_object_set_name_default), (gst_object_set_name),
10254 (gst_object_get_name), (gst_object_set_name_prefix),
10255 (gst_object_get_name_prefix), (gst_object_set_parent),
10256 (gst_object_get_parent), (gst_object_unparent),
10257 (gst_object_check_uniqueness), (gst_object_save_thyself),
10258 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10259 (gst_object_set_property), (gst_object_get_property),
10260 (gst_object_get_path_string):
10262 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10263 (gst_real_pad_init), (gst_real_pad_get_property),
10264 (gst_pad_custom_new), (gst_pad_get_direction),
10265 (gst_pad_set_active), (gst_pad_is_active),
10266 (gst_pad_set_event_function), (gst_pad_is_linked),
10267 (gst_pad_link_free), (gst_pad_link_intersect),
10268 (gst_pad_link_fixate), (gst_pad_set_caps),
10269 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10270 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10271 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10272 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10273 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10274 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10275 (gst_pad_realize), (gst_pad_get_allowed_caps),
10276 (gst_real_pad_dispose), (gst_real_pad_finalize),
10277 (gst_pad_collectv), (gst_pad_collect_valist),
10278 (gst_pad_template_dispose), (gst_pad_template_new),
10279 (gst_pad_get_internal_links):
10281 * gst/gstpipeline.c: (gst_pipeline_dispose),
10282 (gst_pipeline_change_state):
10283 * gst/gstpipeline.h:
10285 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10286 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10287 * gst/gstpluginfeature.h:
10288 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10289 * gst/gstquery.c: (_gst_query_type_initialize),
10290 (gst_query_type_register), (gst_query_type_get_by_nick),
10291 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10293 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10294 * gst/gstscheduler.c: (gst_scheduler_add_element),
10295 (gst_scheduler_factory_create):
10296 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10297 (gst_structure_free), (gst_structure_set_name),
10298 (gst_structure_id_set_value), (gst_structure_set_value),
10299 (gst_structure_set_valist), (gst_structure_remove_field),
10300 (gst_structure_remove_fields),
10301 (gst_structure_remove_fields_valist),
10302 (gst_structure_remove_all_fields), (gst_structure_foreach),
10303 (gst_structure_map_in_place),
10304 (gst_caps_structure_fixate_field_nearest_int),
10305 (gst_caps_structure_fixate_field_nearest_double):
10306 * gst/gststructure.h:
10307 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10308 (gst_system_clock_init), (gst_system_clock_dispose),
10309 (gst_system_clock_async_thread),
10310 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10311 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10312 * gst/gstsystemclock.h:
10313 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10314 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10315 * gst/gsttaginterface.c:
10316 * gst/gstthread.c: (gst_thread_dispose),
10317 (gst_thread_release_children_locks), (gst_thread_change_state),
10318 (gst_thread_main_loop):
10319 * gst/gsttrashstack.h:
10320 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10322 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10323 (gst_element_request_pad), (gst_element_get_pad_from_template),
10324 (gst_element_request_compatible_pad),
10325 (gst_element_get_compatible_pad_filtered),
10326 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10327 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10328 (gst_element_link_many), (gst_element_link),
10329 (gst_element_link_pads), (gst_element_unlink_pads),
10330 (gst_element_unlink_many), (gst_element_unlink),
10331 (gst_pad_can_link_filtered), (gst_pad_can_link),
10332 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10333 (gst_object_default_error), (gst_bin_add_many),
10334 (gst_bin_remove_many), (gst_element_populate_std_props),
10335 (gst_element_class_install_std_props), (gst_buffer_merge),
10336 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10337 (link_fold_func), (gst_pad_proxy_setcaps):
10339 * gst/gstvalue.c: (gst_value_deserialize_string):
10340 * gst/parse/grammar.y:
10341 * gst/schedulers/gstbasicscheduler.c:
10342 (gst_basic_scheduler_cothreaded_chain),
10343 (gst_basic_scheduler_chain_recursive_add),
10344 (gst_basic_scheduler_pad_link):
10345 * gst/schedulers/gstoptimalscheduler.c:
10346 (get_group_schedule_function),
10347 (gst_opt_scheduler_state_transition),
10348 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10349 * libs/gst/bytestream/bytestream.c:
10350 * libs/gst/dataprotocol/dataprotocol.c:
10351 (gst_dp_header_from_buffer):
10354 * tests/threadstate/threadstate2.c: (eos):
10355 * tools/gst-compprep.c: (main):
10356 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10357 (print_pad_info), (print_children_info):
10358 * tools/gst-launch.c: (idle_func), (main):
10359 * tools/gst-md5sum.c: (idle_func), (main):
10360 * tools/gst-xmlinspect.c: (print_element_info):
10361 First THREADED backport attempt, focusing on adding locks and
10362 making sure the API is threadsafe. Needs more work. More docs
10365 2005-02-24 Andy Wingo <wingo@pobox.com>
10367 * tests/bench-complexity.scm:
10368 * tests/complexity.gnuplot: New files, good for running complexity
10371 * tests/Makefile.am:
10372 * tests/complexity.c: New test, sets up N elements, at each level
10373 teeing into M streams per element. Eeeenteresting.
10375 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10376 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10377 running bench-mass_elements.scm.
10379 * tests/bench-mass_elements.scm: New script, runs mass_elements
10380 for various numbers of identities, outputting the results to a
10381 file. Requires guile 1.6. Just for testing.
10383 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10385 * gst/schedulers/fairscheduler.c:
10386 compile with debug disabled
10388 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10391 hunting season on 0.9 is now OPEN