1 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
4 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
5 (gst_collectpads_is_active), (gst_collectpads_collect),
6 (gst_collectpads_collect_range), (gst_collectpads_start),
7 (gst_collectpads_stop), (gst_collectpads_peek),
8 (gst_collectpads_pop), (gst_collectpads_available),
9 (gst_collectpads_read), (gst_collectpads_flush):
10 Guard public API with assertions.
13 Fix docs for gst_pad_set_link_function().
15 2005-11-02 Johan Dahlin <johan@gnome.org>
17 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
18 Unref found_caps after we used it.
20 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
23 Don't try to ref NULL.
25 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
27 * win32/common/config.h.in:
28 provide a GST_FUNCTION that just gives a string for now
30 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
32 * win32/common/gstenumtypes.c: (register_gst_object_flags),
33 (gst_object_flags_get_type), (register_gst_bin_flags),
34 (gst_bin_flags_get_type), (register_gst_buffer_flag),
35 (gst_buffer_flag_get_type), (register_gst_bus_flags),
36 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
37 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
38 (gst_clock_return_get_type), (register_gst_clock_entry_type),
39 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
40 (gst_clock_flags_get_type), (register_gst_state),
41 (gst_state_get_type), (register_gst_state_change_return),
42 (gst_state_change_return_get_type), (register_gst_state_change),
43 (gst_state_change_get_type), (register_gst_element_flags),
44 (gst_element_flags_get_type), (register_gst_core_error),
45 (gst_core_error_get_type), (register_gst_library_error),
46 (gst_library_error_get_type), (register_gst_resource_error),
47 (gst_resource_error_get_type), (register_gst_stream_error),
48 (gst_stream_error_get_type), (register_gst_event_type),
49 (gst_event_type_get_type), (register_gst_seek_type),
50 (gst_seek_type_get_type), (register_gst_seek_flags),
51 (gst_seek_flags_get_type), (register_gst_format),
52 (gst_format_get_type), (register_gst_index_certainty),
53 (gst_index_certainty_get_type), (register_gst_index_entry_type),
54 (gst_index_entry_type_get_type),
55 (register_gst_index_lookup_method),
56 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
57 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
58 (gst_index_resolver_method_get_type), (register_gst_index_flags),
59 (gst_index_flags_get_type), (register_gst_debug_level),
60 (gst_debug_level_get_type), (register_gst_debug_color_flags),
61 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
62 (gst_iterator_result_get_type), (register_gst_iterator_item),
63 (gst_iterator_item_get_type), (register_gst_message_type),
64 (gst_message_type_get_type), (register_gst_mini_object_flags),
65 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
66 (gst_pad_link_return_get_type), (register_gst_flow_return),
67 (gst_flow_return_get_type), (register_gst_activate_mode),
68 (gst_activate_mode_get_type), (register_gst_pad_direction),
69 (gst_pad_direction_get_type), (register_gst_pad_flags),
70 (gst_pad_flags_get_type), (register_gst_pad_presence),
71 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
72 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
73 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
74 (gst_plugin_error_get_type), (register_gst_plugin_flags),
75 (gst_plugin_flags_get_type), (register_gst_rank),
76 (gst_rank_get_type), (register_gst_query_type),
77 (gst_query_type_get_type), (register_gst_tag_merge_mode),
78 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
79 (gst_tag_flag_get_type), (register_gst_task_state),
80 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
81 (gst_alloc_trace_flags_get_type),
82 (register_gst_type_find_probability),
83 (gst_type_find_probability_get_type), (register_gst_uri_type),
84 (gst_uri_type_get_type), (register_gst_parse_error),
85 (gst_parse_error_get_type):
86 * win32/common/gstversion.h:
89 2005-11-01 Luca Ognibene <luogni@tin.it>
92 fix docs. popt is dead, long live GOption.
94 2005-10-31 Wim Taymans <wim@fluendo.com>
99 2005-10-31 Andy Wingo <wingo@pobox.com>
103 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
105 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
106 need to serialize property notifications on GLib 2.8. GLib 2.6 has
107 the possibility of deadlocks here if code calling notify() or
108 set() has a lock that can be taken in another notify handler (ABBA
109 with class lock and e.g. python GIL state lock).
111 2005-10-28 Julien MOUTTE <julien@moutte.net>
113 * gst/gstbus.c: Doc updates.
115 2005-10-28 Wim Taymans <wim@fluendo.com>
117 * docs/design/part-TODO.txt:
119 * gst/gstsystemclock.c:
120 * gst/gstsystemclock.h:
123 2005-10-28 Edward Hervey <edward@fluendo.com>
125 * docs/gst/gstreamer-docs.sgml:
126 * docs/gst/gstreamer-sections.txt:
127 the GstURIType documentation page is private, it only defines GstURIType
128 which should be defined in the GstURIHandler page
130 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
132 * gst/gstbin.c: (gst_bin_class_init):
135 Documentation updates.
137 2005-10-28 Wim Taymans <wim@fluendo.com>
139 * docs/gst/gstreamer-sections.txt:
142 Documented the clocks.
144 2005-10-28 Stefan Kost <ensonic@users.sf.net>
146 * docs/gst/gstreamer-sections.txt:
147 move some macros to private sections
148 * gst/gstminiobject.c:
149 * gst/gstminiobject.h:
150 add descriptions provided by ds and some more
152 mark macro as to be removed
154 2005-10-28 Wim Taymans <wim@fluendo.com>
156 * docs/design/part-TODO.txt:
159 * gst/gstiterator.c: (gst_iterator_fold),
160 (gst_iterator_find_custom):
164 2005-10-28 Wim Taymans <wim@fluendo.com>
166 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
167 (gst_base_transform_init):
170 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
171 An EOS event marks the queue as completely filled.
173 2005-10-27 Wim Taymans <wim@fluendo.com>
175 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
176 (gst_base_sink_do_sync), (gst_base_sink_get_position):
179 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
180 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
181 (gst_base_transform_event), (gst_base_transform_getrange),
182 (gst_base_transform_chain):
183 * gst/base/gstbasetransform.h:
185 Protect transform and concurrent buffer alloc with a new lock.
186 Try not to break ABI/API.
188 2005-10-27 Wim Taymans <wim@fluendo.com>
190 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
191 (gst_base_src_init), (gst_base_src_query),
192 (gst_base_src_default_newsegment),
193 (gst_base_src_configure_segment), (gst_base_src_do_seek),
194 (gst_base_src_send_event), (gst_base_src_event_handler),
195 (gst_base_src_pad_get_range), (gst_base_src_loop),
196 (gst_base_src_unlock), (gst_base_src_default_negotiate),
197 (gst_base_src_start), (gst_base_src_deactivate),
198 (gst_base_src_activate_push), (gst_base_src_change_state):
199 Move some stuff around and cleanup things.
201 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
203 * gst/base/gstbasesrc.c: (gst_base_src_query):
204 Add missing break statements.
206 2005-10-27 Wim Taymans <wim@fluendo.com>
208 * check/gst/gstbin.c: (GST_START_TEST):
209 An extra refcount is taken in basesrc.
211 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
212 (gst_base_src_get_range), (gst_base_src_pad_get_range),
214 Small cleanups, check for flushing after being unlocked from the
215 LIVE_LOCK. take refcounts correctly (not yet everywhere).
216 Don't send out EOS when going to READY.
218 2005-10-27 Wim Taymans <wim@fluendo.com>
220 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
221 (gst_base_sink_get_position):
224 * gst/gstbin.c: (message_check), (bin_replace_message),
225 (bin_remove_messages), (is_eos), (gst_bin_add_func),
226 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
227 (bin_query_duration_init), (bin_query_duration_fold),
228 (bin_query_duration_done), (bin_query_generic_fold),
230 * tools/gst-launch.c: (main):
233 2005-10-26 Stefan Kost <ensonic@users.sf.net>
235 * examples/controller/audio-example.c: (main):
236 * examples/queue/queue.c: (event_loop):
237 * gst/base/gstbasetransform.h:
238 * gst/gstelement.c: (gst_element_send_event):
240 * gst/gstpad.c: (gst_pad_send_event):
243 changing log priority in error situations
245 2005-10-25 Wim Taymans <wim@fluendo.com>
247 * gst/gstbin.c: (message_check), (bin_replace_message),
248 (bin_remove_messages), (is_eos), (gst_bin_add_func),
249 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
250 (bin_query_duration_init), (bin_query_duration_fold),
251 (bin_query_duration_done), (bin_query_generic_fold),
253 Some doc and debug updates.
254 Cache previously requested query DURATION for speed. invalidate
255 cached duration if element posts a DURATION message.
257 2005-10-25 Wim Taymans <wim@fluendo.com>
259 * docs/design/part-TODO.txt:
262 * gst/gstbin.c: (message_check), (bin_replace_message),
263 (bin_remove_messages), (is_eos), (gst_bin_add_func),
264 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
265 (bin_query_duration_init), (bin_query_duration_fold),
266 (bin_query_duration_done), (bin_query_generic_fold),
268 Handle SEGMENT_START/DONE messages correctly.
269 More evolved query algorithm that handles duration queries
272 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
273 (gst_element_get_state_func), (gst_element_abort_state),
274 (gst_element_commit_state), (gst_element_lost_state):
280 2005-10-25 Wim Taymans <wim@fluendo.com>
282 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
283 Don't use invalid stream_time.
285 * gst/gstevent.c: (gst_event_new_newsegment):
286 stream_time in newsegment cannot be undefined.
288 2005-10-24 Wim Taymans <wim@fluendo.com>
293 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
295 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
297 2005-10-24 Stefan Kost <ensonic@users.sf.net>
299 * docs/libs/tmpl/gstdparam.sgml:
300 * docs/libs/tmpl/gstdplinint.sgml:
301 * docs/libs/tmpl/gstdpman.sgml:
302 * docs/libs/tmpl/gstdpsmooth.sgml:
303 * docs/libs/tmpl/gstunitconvert.sgml:
306 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
311 === release 0.9.4 ===
313 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
316 releasing 0.9.4, "Tyrannosaurus Rex"
318 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
320 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
321 (gst_file_sink_get_current_offset):
322 Use fseeko() and ftello() if available. When falling back on
323 lseek() to get the current offset, fflush() first to make sure
324 everything is up-to-date and we get the right offset.
326 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
328 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
329 * gst/base/gstbasesrc.c: (gst_base_src_loop):
330 * gst/gsterror.c: (_gst_stream_errors_init):
332 * gst/gstqueue.c: (gst_queue_loop):
334 remove prematurely added error category and clean up the instances
336 2005-10-21 Wim Taymans <wim@fluendo.com>
338 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
339 (gst_base_sink_get_position), (gst_base_sink_query),
340 (gst_base_sink_change_state):
341 Simply set the right flag when going to playing, that's all
342 we need to do instead of calling a function inside the object
343 lock (that could take the lock as well and deadlock)
345 2005-10-21 Wim Taymans <wim@fluendo.com>
347 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
349 Don't warn, the peer element knows what to do best when
350 the seek failed, it might try something else.
352 2005-10-21 Wim Taymans <wim@fluendo.com>
354 * gst/base/gstbasesrc.c: (gst_base_src_init),
355 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
358 2005-10-21 Wim Taymans <wim@fluendo.com>
360 * docs/design/part-segments.txt:
363 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
364 Correctly set caps, even on the subbufer.
366 2005-10-21 Wim Taymans <wim@fluendo.com>
368 * docs/gst/gstreamer-docs.sgml:
369 * docs/gst/gstreamer-sections.txt:
376 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
380 And 2% more doc coverage.
382 2005-10-21 Andy Wingo <wingo@pobox.com>
384 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
387 2005-10-20 Wim Taymans <wim@fluendo.com>
389 * gst/gsterror.c: (gst_error_get_message):
392 * gst/gststructure.c:
397 2005-10-20 Wim Taymans <wim@fluendo.com>
402 Another 1% more coverage.
404 2005-10-20 Wim Taymans <wim@fluendo.com>
406 * docs/gst/gstreamer-sections.txt:
407 * gst/gstelement.c: (gst_element_get_state_func),
408 (gst_element_abort_state), (gst_element_commit_state),
409 (gst_element_lost_state):
411 * gst/gstquery.c: (gst_query_set_position),
412 (gst_query_parse_position), (gst_query_set_duration),
413 (gst_query_parse_duration), (gst_query_new_convert):
415 Yay! 1% more docs coverage.
417 2005-10-20 Wim Taymans <wim@fluendo.com>
420 * gst/gstquery.c: (gst_query_set_position),
421 (gst_query_parse_position), (gst_query_set_duration),
422 (gst_query_parse_duration), (gst_query_new_convert):
424 * gst/gstutils.c: (gst_element_query_convert):
426 Docs and consistency fixes.
428 2005-10-20 Wim Taymans <wim@fluendo.com>
434 2005-10-20 Wim Taymans <wim@fluendo.com>
436 * gst/gstbin.c: (message_check), (bin_replace_message),
437 (bin_remove_messages), (is_eos), (gst_bin_add_func),
438 (update_degree), (gst_bin_sort_iterator_next),
439 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
440 Reworked the message handling a bit, cache the messages instead of
441 only the senders. alows us to do more in the future.
443 2005-10-20 Wim Taymans <wim@fluendo.com>
445 * docs/design/part-TODO.txt:
448 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
449 (gst_base_sink_query):
450 Don't use clock time to report position when in EOS.
452 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
454 * tools/gst-inspect.c: (print_interfaces),
455 (print_element_properties_info), (print_element_info):
456 Fix interface output with gst-inspect -a; don't print
457 newlines after double/float properties.
459 2005-10-20 Wim Taymans <wim@fluendo.com>
461 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
462 (gst_base_sink_query):
463 Speed up current position calculation.
465 * gst/base/gstbasesrc.c: (gst_base_src_query),
466 (gst_base_src_default_newsegment):
467 Correctly set stream position in newsegment.
469 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
470 (update_degree), (gst_bin_sort_iterator_next),
471 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
472 * gst/gstmessage.c: (gst_message_new_custom):
473 Clean up debugging info
475 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
476 (gst_queue_loop), (gst_queue_handle_src_query):
479 2005-10-19 Wim Taymans <wim@fluendo.com>
481 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
482 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
483 Fix query handling again.
485 2005-10-19 Wim Taymans <wim@fluendo.com>
487 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
488 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
489 * gst/base/gstbasesrc.c: (gst_base_src_query):
490 * gst/elements/gstfilesink.c: (gst_file_sink_query):
491 * gst/elements/gsttypefindelement.c:
492 (gst_type_find_handle_src_query), (find_element_get_length),
493 (gst_type_find_element_activate):
496 * gst/gstquery.c: (gst_query_new_position),
497 (gst_query_set_position), (gst_query_parse_position),
498 (gst_query_new_duration), (gst_query_set_duration),
499 (gst_query_parse_duration), (gst_query_set_segment),
500 (gst_query_parse_segment):
502 Bundling query position/duration is not a good idea since duration
503 does not change much and we don't want to recalculate it for every
504 position query, so they are separated again..
505 Base value in segment query is not needed.
507 * gst/gstqueue.c: (gst_queue_handle_src_query):
508 * gst/gstutils.c: (gst_element_query_position),
509 (gst_element_query_duration), (gst_pad_query_position),
510 (gst_pad_query_duration):
512 Updates for query API change.
513 Added some docs here and there.
515 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
517 * check/gst/gstbin.c: (GST_START_TEST):
518 * check/gst/gstghostpad.c: (GST_START_TEST):
519 * check/pipelines/cleanup.c: (GST_START_TEST):
520 wait on thread to die so we can check refcount correctly
522 2005-10-18 Wim Taymans <wim@fluendo.com>
524 * check/pipelines/stress.c: (GST_START_TEST):
525 Make check a little more time consuming.
527 2005-10-18 Wim Taymans <wim@fluendo.com>
530 * check/pipelines/stress.c: (GST_START_TEST),
531 (simple_launch_lines_suite), (main):
532 Small state change torture test.
534 * docs/design/part-states.txt:
535 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
536 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
537 (gst_base_sink_change_state):
538 Never take state lock from streaming thread, clean up ugly
539 hacks. Unfortunatly core does not yet support nice ways to
542 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
544 Start state recalc if a STATE_DIRTY message is posted, but only
547 * gst/gstelement.c: (gst_element_sync_state_with_parent),
548 (gst_element_get_state_func), (gst_element_abort_state),
549 (gst_element_commit_state), (gst_element_lost_state),
550 (gst_element_set_state_func), (gst_element_change_state):
552 State variables are now protected with the LOCK, the state
553 lock is only used to serialize _set_state().
555 2005-10-18 Wim Taymans <wim@fluendo.com>
557 * check/gst/gstbin.c: (GST_START_TEST):
558 * check/gst/gstmessage.c: (GST_START_TEST):
559 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
560 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
562 * gst/gstelement.c: (gst_element_abort_state),
563 (gst_element_commit_state), (gst_element_lost_state):
564 * gst/gstmessage.c: (gst_message_new_state_changed),
565 (gst_message_new_state_dirty), (gst_message_new_segment_start),
566 (gst_message_new_segment_done), (gst_message_new_duration),
567 (gst_message_parse_state_changed),
568 (gst_message_parse_segment_start),
569 (gst_message_parse_segment_done), (gst_message_parse_duration):
571 * tools/gst-launch.c: (event_loop):
572 Seriously, this is better than a previous commit as we only need
573 to notify the fact that an element changed state in a streaming
574 thread, marking the state of the parents dirty, hence the
575 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
578 2005-10-18 Wim Taymans <wim@fluendo.com>
580 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
581 (gst_bin_recalc_func):
582 * gst/gstelement.c: (gst_element_set_clock),
583 (gst_element_abort_state), (gst_element_lost_state):
584 Cleanups, prepare for state change fixes.
586 2005-10-18 Wim Taymans <wim@fluendo.com>
589 * gst/gstelement.c: (gst_element_class_init),
590 (gst_element_set_state), (gst_element_set_state_func):
593 GThreadPool in GstBinClass to monitor async state changes.
594 state_cookie in GstElement to detect concurrent gst/set state.
595 set_state is now virtual too in case a very complicated element
596 has to be constructed.
598 2005-10-18 Wim Taymans <wim@fluendo.com>
600 * check/gst/gstbin.c: (GST_START_TEST):
601 * check/gst/gstmessage.c: (GST_START_TEST):
602 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
603 * gst/gstbin.c: (bin_bus_handler):
604 * gst/gstelement.c: (gst_element_commit_state),
605 (gst_element_lost_state):
606 * gst/gstmessage.c: (gst_message_new_state_changed),
607 (gst_message_new_segment_start), (gst_message_new_segment_done),
608 (gst_message_new_duration), (gst_message_parse_state_changed),
609 (gst_message_parse_segment_start),
610 (gst_message_parse_segment_done), (gst_message_parse_duration):
612 * tools/gst-launch.c: (event_loop):
613 Make messages future proof.
614 state-change gets a flag if it was a message comming from the
616 segment-start/stop can also be specified in other formats.
617 A message to notify an app that a pipeline changed playback
619 Also fix a GstMessage leak in -launch
621 2005-10-18 Andy Wingo <wingo@pobox.com>
623 * gst/gstelement.c (gst_element_dispose): More helpful message.
625 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
627 * gst/gstregistry.c: (gst_registry_scan_path_level):
628 unref a plug-in we get that was already initialized
630 2005-10-18 Stefan Kost <ensonic@users.sf.net>
632 * docs/gst/gstreamer-sections.txt:
633 * docs/libs/gstreamer-libs-sections.txt:
638 2005-10-17 Andy Wingo <wingo@pobox.com>
640 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
643 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
645 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
647 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
648 (gst_element_get_state_func): Better debug message.
649 (gst_element_commit_state): s/INFO/DEBUG/.
650 (gst_element_lost_state, gst_element_change_state):
652 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
653 (gst_message_new_custom): s/INFO/LOG/.
655 2005-10-17 Michael Smith <msmith@fluendo.com>
657 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
658 Check if end time is valid using end time, not start time.
660 2005-10-17 Stefan Kost <ensonic@users.sf.net>
662 * check/gst-libs/controller.c: (GST_START_TEST),
663 (gst_controller_suite):
664 * libs/gst/controller/gstcontroller.c:
665 (gst_controlled_property_set_interpolation_mode):
666 * libs/gst/controller/gstcontroller.h:
667 * libs/gst/controller/gstinterpolation.c:
668 * testsuite/controller/.cvsignore:
669 * testsuite/controller/Makefile.am:
670 * testsuite/controller/interpolator.c:
671 merge controller testsuites
673 remove mem-chunk from docs
675 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
679 * gst/gsttrashstack.c:
680 * gst/gsttrashstack.h:
681 out. get out. you're fired. to the Attic !
683 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
685 * gst/gstcaps.c: (gst_caps_intersect):
686 fix signedness issues in a (hopefully) correct way
687 * gst/gstelement.c: (gst_element_pads_activate):
689 * gst/gstobject.c: (gst_object_set_parent):
692 2005-10-17 Julien MOUTTE <julien@moutte.net>
694 * gst/gstvalue.h: Fix prototypes.
696 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
698 * docs/gst/gstreamer-sections.txt:
699 * gst/gst.c: (gst_version_string):
701 * gst/gstversion.h.in:
702 * win32/common/libgstreamer.def:
703 add gst_version_string ()
705 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
709 * gst/gst.c: (init_post):
710 * win32/common/config.h.in:
712 * gst/gstcaps.c: (gst_caps_intersect):
713 use gint64, the range could be bigger than a guint
715 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
718 document potential problem in 2038
720 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
722 * gst/gstcaps.c: (gst_caps_intersect):
723 Fix guint j diving under 0
725 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
728 * win32/common/config.h:
729 * win32/common/config.h.in:
730 check for process.h, declares getpid() on Windows
732 include process.h if we have it
733 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
735 fix signedness issues
736 * win32/common/libgstreamer.def:
739 2005-10-16 Julien MOUTTE <julien@moutte.net>
741 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
742 fix. Because of unsigned ints, caps intersection was going nuts and
743 trying to access structures with G_MAXUINT index. That fixes
744 videotestsrc ! ffmpegcolorspace ! fakesink
745 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
748 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
751 use the gettext macro
752 * gst/elements/gstelements.c:
754 * gst/indexers/gstindexers.c:
755 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
756 * win32/common/config.h:
758 * win32/common/config.h.in:
759 add the template to generate config.h
760 * win32/common/gstenumtypes.c:
761 * win32/common/gstversion.h:
764 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
766 * gst/gst.c: (gst_version):
767 * gst/gstversion.h.in:
770 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
773 Oops, add missing closing bracket.
775 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
778 use common m4's for argument checking
780 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
782 * docs/gst/gstreamer-sections.txt:
784 Add GST_EVENT_TYPE_NAME() macro.
786 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
789 * gst/gstpluginfeature.c:
791 privatize more symbols
793 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
796 add srcdir, builddir includes to GST_ALL_CFLAGS, since
797 everything that uses GStreamer API should have the includes
799 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
801 * docs/gst/gstreamer-sections.txt:
802 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
804 give each value a _get_type, removes the DATA exports
806 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
810 remove _gst_registry_auto_load, not used anymore
811 * gst/gstbin.c: (gst_bin_get_type):
813 * gst/gstelement.c: (gst_element_get_type):
815 * gst/gstobject.c: (gst_object_get_type):
817 * gst/gstpad.c: (gst_pad_get_type):
819 make _get_type functions similar, fixes data export from library
821 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
824 correctly make conditionals
825 * gst/elements/Makefile.am:
826 * gst/elements/gstelements.c:
827 fix typo causing fdsrc not to build
829 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
831 * testsuite/Makefile.am:
832 * testsuite/bytestream/.cvsignore:
833 * testsuite/bytestream/Makefile.am:
834 * testsuite/bytestream/filepadsink.c:
835 * testsuite/bytestream/gstbstest.c:
836 * testsuite/bytestream/test1.c:
837 * testsuite/bytestream/testfile1:
838 * testsuite/caps/normalisation.c:
839 * testsuite/caps/random.c: (main):
840 * testsuite/cleanup/.cvsignore:
841 * testsuite/cleanup/Makefile.am:
842 * testsuite/cleanup/cleanup1.c:
843 * testsuite/cleanup/cleanup2.c:
844 * testsuite/cleanup/cleanup3.c:
845 * testsuite/cleanup/cleanup4.c:
846 * testsuite/cleanup/cleanup5.c:
847 * testsuite/controller/interpolator.c:
848 * testsuite/debug/printf_extension.c: (main):
849 * testsuite/elements/tee.c:
850 * testsuite/negotiation/.cvsignore:
851 * testsuite/negotiation/Makefile.am:
852 * testsuite/negotiation/pad_link.c:
853 * testsuite/pad/Makefile.am:
854 * testsuite/pad/chainnopull.c:
855 * testsuite/pad/getnopush.c:
856 * testsuite/pad/link.c:
857 * testsuite/refcounting/sched.c: (create_pipeline):
858 * testsuite/registry/Makefile.am:
859 * testsuite/registry/gst-print-formats.c:
860 * testsuite/schedulers/.cvsignore:
861 * testsuite/schedulers/142183-2.c:
862 * testsuite/schedulers/142183.c:
863 * testsuite/schedulers/143777-2.c:
864 * testsuite/schedulers/143777.c:
865 * testsuite/schedulers/147713.c:
866 * testsuite/schedulers/147819.c:
867 * testsuite/schedulers/147894-2.c:
868 * testsuite/schedulers/147894.c:
869 * testsuite/schedulers/Makefile.am:
870 * testsuite/schedulers/group_link.c:
871 * testsuite/schedulers/queue_link.c:
872 * testsuite/schedulers/relink.c:
873 * testsuite/schedulers/unlink.c:
874 * testsuite/schedulers/unref.c:
875 * testsuite/schedulers/useless_iteration.c:
876 * testsuite/states/bin.c:
877 clean out/remove some stuff from the testsuite directories
879 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
882 check for some headers
883 * gst/elements/Makefile.am:
884 * gst/elements/gstelements.c:
885 don't compile fdsrc without sys/socket.h
886 * gst/indexers/Makefile.am:
887 * gst/indexers/gstindexers.c: (plugin_init):
888 don't compile fileindex without mmap
890 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
898 * docs/gst/Makefile.am:
899 * examples/helloworld/Makefile.am:
901 * gst/base/Makefile.am:
902 * gst/check/Makefile.am:
903 * gst/elements/Makefile.am:
904 * gst/indexers/Makefile.am:
905 * gst/parse/Makefile.am:
906 * libs/gst/controller/Makefile.am:
907 * libs/gst/dataprotocol/Makefile.am:
908 * examples/helloworld/helloworld.c: (event_loop):
909 compile fixes, though it's not being compiled currently
911 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
913 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
914 Add some simple tests for the new taglist date API.
916 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
918 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
919 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
920 Beautify 'last-message' output: print 'none' for buffer timestamps
921 and durations if none is set; improve alignment with next messages.
923 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
925 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
926 * gst/gstpluginfeature.h:
927 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
929 * docs/gst/gstreamer-sections.txt:
930 Add new API to check plugin feature version requirements.
932 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
933 Some basic tests for the above.
935 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
937 * gst/gststructure.c: (gst_structure_to_string):
938 guard against NULL printf - happens when for example
939 a message structure with GstClock gets serialized
941 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
943 * gst/base/gstcollectpads.c: (gst_collectpads_event):
944 Fix presumable copy'n'pasto.
946 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
948 * gst/elements/gstfakesrc.h:
949 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
950 * gst/elements/gsttypefindelement.c:
952 * gst/elements/gstfilesink.c: (gst_file_sink_render):
953 I wonder if this could actually write +2GB files before
955 2005-10-13 Andy Wingo <wingo@pobox.com>
957 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
958 Fix Timmeke Waymans bug.
959 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
960 string of the proper length to gst_caps_from_string. There's a
961 potential for, before this fix, that this could cause someone
962 connecting over the network to cause a segfault if the payload is
965 2005-10-13 Stefan Kost <ensonic@users.sf.net>
967 * docs/design/draft-push-pull.txt:
968 * docs/design/part-overview.txt:
969 * docs/random/TODO-pre-0.9:
970 * docs/random/old/ChangeLog.gstreamer:
971 * gst/base/gstpushsrc.c:
975 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
977 * gst/glib-compat.c: (gst_flags_get_first_value):
979 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
980 (gst_value_compare_double), (gst_value_serialize_flags):
981 GLib 2.6 g_flags_get_first_value has a bug that triggers an
984 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
986 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
987 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
989 * tools/gst-launch.c: (event_loop):
990 print out clock nicely
992 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
994 * docs/gst/gstreamer-sections.txt:
996 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
997 (gst_tag_list_get_date_index):
998 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
999 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1001 2005-10-13 Julien MOUTTE <julien@moutte.net>
1003 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1004 (gst_collectpads_chain):
1005 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1008 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1010 * docs/gst/gstreamer-sections.txt:
1013 * tools/gst-inspect.c: (main):
1014 * tools/gst-launch.c: (main):
1015 * tools/gst-run.c: (main):
1016 * tools/gst-xmlinspect.c: (main):
1017 fix GOption context leaks
1020 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1024 * win32/common/config.h:
1026 * win32/vs6/grammar.dsp:
1027 * win32/vs6/libgstelements.dsp:
1028 * win32/vs6/libgstreamer.dsp:
1031 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1033 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1034 * gst/base/gstbasesrc.c: (gst_base_src_query):
1035 fix more guint64<->gdouble conversions
1037 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1040 add win32-update target
1041 * win32/common/gstconfig.h:
1042 * win32/common/gstenumtypes.c:
1043 * win32/common/gstenumtypes.h:
1044 * win32/common/gstversion.h:
1045 add files that visual studio can't generate
1047 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1050 add a win32-update target
1053 2005-10-12 Wim Taymans <wim@fluendo.com>
1055 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1056 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1057 * gst/gstelement.c: (gst_element_commit_state),
1058 (gst_element_set_state):
1059 Protect flags with proper lock.
1060 unref provided cached clock in dispose.
1062 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1065 * gst/gstminiobject.h:
1067 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1068 removed unused flags from miniobject
1071 2005-10-12 Wim Taymans <wim@fluendo.com>
1073 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1074 (gst_file_sink_event), (gst_file_sink_render):
1075 Flush before seeking.
1077 2005-10-12 Andy Wingo <wingo@pobox.com>
1079 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1080 always been the case.
1082 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1084 * check/gst/gstbin.c: (GST_START_TEST):
1085 * docs/gst/gstreamer-sections.txt:
1086 * gst/base/gstbasesink.c: (gst_base_sink_init):
1087 * gst/base/gstbasesrc.c: (gst_base_src_init),
1088 (gst_base_src_get_range), (gst_base_src_check_get_range),
1089 (gst_base_src_start), (gst_base_src_stop):
1090 * gst/base/gstbasesrc.h:
1091 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1092 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1093 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1097 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1099 * gst/gstelement.c: (gst_element_is_locked_state),
1100 (gst_element_set_locked_state), (gst_element_commit_state),
1101 (gst_element_set_state):
1103 * gst/gstindex.c: (gst_index_init):
1105 * gst/gstminiobject.h:
1106 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1107 (gst_object_set_parent):
1109 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1110 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1112 * gst/gstpadtemplate.h:
1113 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1114 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1115 * gst/gstpipeline.h:
1116 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1117 (gst_file_index_commit):
1118 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1119 * testsuite/pad/link.c: (gst_test_src_init),
1120 (gst_test_filter_init), (gst_test_sink_init):
1121 * testsuite/states/locked.c: (main):
1122 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1123 moved bitshift from macro to enum definition
1125 2005-10-12 Wim Taymans <wim@fluendo.com>
1127 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1128 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1129 (gst_file_sink_render):
1130 Some more debugging info.
1132 2005-10-12 Wim Taymans <wim@fluendo.com>
1134 * docs/design/part-states.txt:
1135 * tools/gst-launch.c: (main):
1137 Revert non-intentional change.
1139 2005-10-12 Wim Taymans <wim@fluendo.com>
1141 * check/gst/gstbin.c: (GST_START_TEST):
1142 * check/gst/gstelement.c: (GST_START_TEST):
1143 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1144 * check/gst/gstghostpad.c: (GST_START_TEST):
1145 * check/gst/gstpipeline.c: (GST_START_TEST):
1146 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1147 * check/states/sinks.c: (GST_START_TEST):
1148 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1149 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1150 (gst_bin_remove_func), (gst_bin_get_state_func),
1151 (gst_bin_recalc_state), (gst_bin_change_state_func),
1153 * gst/gstelement.c: (gst_element_get_state_func),
1154 (gst_element_get_state), (gst_element_abort_state),
1155 (gst_element_commit_state), (gst_element_set_state),
1156 (gst_element_change_state), (gst_element_change_state_func):
1158 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1159 (gst_pipeline_provide_clock_func):
1160 * gst/gstutils.c: (gst_element_link_pads_filtered):
1161 * tools/gst-launch.c: (main):
1162 * tools/gst-typefind.c: (main):
1163 Use GstClockTime in _get_state() instead of GTimeVal.
1164 Remove old code in gstutils.c
1166 2005-10-12 Andy Wingo <wingo@pobox.com>
1168 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1171 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1172 there is no task. Shouldn't affect any code, as nothing in our
1173 plugins checks this return value.
1174 (gst_pad_stop_task): Also take the stream lock if the pad has no
1177 2005-10-12 Wim Taymans <wim@fluendo.com>
1179 * gst/gstpad.c: (pre_activate), (post_activate),
1180 (gst_pad_activate_pull), (gst_pad_activate_push):
1181 Cleanup activation code. Reset old state if
1184 2005-10-12 Wim Taymans <wim@fluendo.com>
1186 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1187 (gst_base_sink_change_state):
1188 No need to prerol after receiving EOS.
1190 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1191 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1192 * gst/elements/gstidentity.c: (gst_identity_event):
1193 Print events more verbosely.
1195 2005-10-12 Wim Taymans <wim@fluendo.com>
1197 * check/Makefile.am:
1198 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1199 * check/states/sinks2.c:
1200 Moved sinks2 testcode in sinks check.
1202 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1203 (gst_bin_remove_func), (gst_bin_recalc_state),
1204 (gst_bin_change_state_func), (bin_bus_handler):
1205 Fix potential race condition when _get_state() iterated over an
1206 ASYNC element right before it posted a state completion.
1209 Do proper cast here.
1211 * gst/gstevent.c: (gst_event_new_newsegment),
1212 (gst_event_parse_newsegment):
1213 A playback rate of 0.0 is not allowed.
1215 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1217 * win32/common/config.h:
1218 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1219 (_trewinddir), (_ttelldir), (_tseekdir):
1220 * win32/common/dirent.h:
1221 * win32/common/gtchar.h:
1222 * win32/common/libgstbase.def:
1223 * win32/common/libgstreamer.def:
1224 * win32/vs6/grammar.dsp:
1225 * win32/vs6/gst_inspect.dsp:
1226 * win32/vs6/gst_launch.dsp:
1227 * win32/vs6/gstreamer.dsw:
1228 * win32/vs6/libgstbase.dsp:
1229 * win32/vs6/libgstelements.dsp:
1230 * win32/vs6/libgstreamer.dsp:
1231 Visual Studio 6 project files, and a new common directory.
1234 2005-10-11 Wim Taymans <wim@fluendo.com>
1236 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1237 (gst_base_sink_do_sync), (gst_base_sink_query),
1238 (gst_base_sink_change_state):
1239 * gst/base/gstbasesink.h:
1240 Correctly parse newsegment info.
1242 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1244 * gst/gst.c: (init_post):
1245 split plugin paths correctly
1247 2005-10-11 Wim Taymans <wim@fluendo.com>
1249 * check/gst/gstevent.c: (GST_START_TEST):
1250 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1251 (gst_base_sink_change_state):
1252 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1253 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1254 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1255 * gst/gstevent.c: (gst_event_new_newsegment),
1256 (gst_event_parse_newsegment):
1258 Added extra flag to newsegment for future API freeze.
1259 Updated check and base elements.
1261 2005-10-11 Julien MOUTTE <julien@moutte.net>
1263 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1264 (gst_collectpads_add_pad), (gst_collectpads_pop),
1265 (gst_collectpads_event), (gst_collectpads_chain):
1266 * gst/base/gstcollectpads.h: Handle EOS correctly.
1268 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1270 * tools/gst-launch.c: (main):
1271 more null protecting
1273 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1275 * gst/gst-i18n-lib.h:
1276 check for ENABLE_NLS, not GETTEXT_PACKAGE
1277 * gst/gstregistry.c: (gst_registry_add_plugin),
1278 (gst_registry_scan_path_level),
1279 (_gst_registry_remove_cache_plugins):
1280 protect possibly NULL strings
1281 * gst/parse/types.h:
1282 config.h already included before
1283 * tools/gst-inspect.c: (main):
1284 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1285 check for ENABLE_NLS, not GETTEXT_PACKAGE
1286 * tools/gst-launch.c: (main):
1287 check for ENABLE_NLS, not GETTEXT_PACKAGE
1289 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1292 if we don't have glib, fail before testing 2.8
1293 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1294 fix a leak, should fix plugins-base testsuite
1296 2005-10-11 Andy Wingo <wingo@pobox.com>
1298 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1299 take the mode we're going to as an arg. Go head and set the mode
1300 and flushing flags now, so that if the activate function starts a
1301 thread all the flags will be in the right state.
1302 (post_activate): Renamed also. Just handle making sure streaming
1303 finishes for the deactivation case, and setting the deactivated
1305 (gst_pad_set_active): Complain loudly if deactivation fails.
1306 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1307 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1308 remove the terrible hack.
1310 2005-10-11 Wim Taymans <wim@fluendo.com>
1312 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1313 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1314 (gst_bin_recalc_state), (gst_bin_change_state_func),
1315 (gst_bin_dispose), (bin_bus_handler):
1317 Prepare to make current EOS message queue more generic.
1320 * gst/gstevent.c: (gst_event_new_newsegment),
1321 (gst_event_parse_newsegment):
1323 Rename base to stream_time.
1328 2005-10-11 Wim Taymans <wim@fluendo.com>
1330 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1331 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1332 (gst_bin_change_state_func), (bin_bus_handler):
1334 Work on proper clock selection.
1336 2005-10-11 Edward Hervey <edward@fluendo.com>
1338 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1339 * libs/gst/controller/gstcontroller.h:
1340 Added GList* version of _remove_properties() in order to be able to wrap
1343 2005-10-11 Wim Taymans <wim@fluendo.com>
1345 * docs/design/part-states.txt:
1348 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1349 (gst_bin_change_state_func), (bin_bus_handler):
1350 Doc updates. Don't distribute the same clock over and over again.
1356 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1357 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1358 (gst_pad_send_event):
1360 Make probe emission threadsafe again.
1361 Register quarks and move _get_name() from utils.
1364 * gst/gstpipeline.c: (gst_pipeline_class_init),
1365 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1366 Only redistribute the clock of it changed.
1368 * gst/gstsystemclock.h:
1373 Moved the _flow_get_name() to GstPad.
1375 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1377 * check/gst-libs/gdp.c: (GST_START_TEST):
1378 * check/gst/gstcaps.c: (GST_START_TEST):
1379 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1380 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1381 (gst_dp_packet_from_caps):
1382 fix more valgrind warnings before turning up the heat
1384 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1386 * gst/parse/grammar.y:
1387 some cleanup before the hacking
1389 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1391 * gst/base/gstbasesrc.c: (gst_base_src_query):
1393 * gst/gstutils.c: (gst_guint64_to_gdouble),
1394 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1396 externalize, basesrc uses it
1397 obviously the implementation needs testing
1399 2005-10-10 Wim Taymans <wim@fluendo.com>
1401 * tests/sched/Makefile.am:
1402 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1403 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1405 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1407 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1408 apparently converting from guint64 to double is not implemented
1411 2005-10-10 Wim Taymans <wim@fluendo.com>
1413 * check/Makefile.am:
1414 * check/generic/states.c: (GST_START_TEST):
1415 * check/gst/gstbin.c: (GST_START_TEST):
1416 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1417 * check/states/sinks.c: (GST_START_TEST):
1418 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1420 Check fixes, use API as stated in design docs, remove hacks.
1422 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1423 (gst_base_sink_change_state):
1424 Catch stopping our task while we're shutting down.
1426 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1427 (gst_bin_remove_func), (gst_bin_get_state_func),
1428 (gst_bin_recalc_state), (gst_bin_change_state_func),
1431 * gst/gstelement.c: (gst_element_init),
1432 (gst_element_get_state_func), (gst_element_abort_state),
1433 (gst_element_commit_state), (gst_element_lost_state),
1434 (gst_element_set_state), (gst_element_change_state),
1435 (gst_element_change_state_func):
1437 New state change algorithm (see #318116)
1439 * gst/gstpipeline.c: (gst_pipeline_class_init),
1440 (gst_pipeline_init), (gst_pipeline_set_property),
1441 (gst_pipeline_get_property), (do_pipeline_seek),
1442 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1443 * gst/gstpipeline.h:
1444 Remove crude state change hacks.
1449 * tools/gst-launch.c: (main):
1450 Fixes for state change. Needs some more work to fully use the
1453 2005-10-10 Andy Wingo <wingo@pobox.com>
1455 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1457 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1458 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1461 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1463 * gst/gstiterator.c: (gst_iterator_new):
1464 Fix my previous commit: GTypes passed to gst_iterator_new()
1465 can be fundamental types.
1467 2005-10-10 Wim Taymans <wim@fluendo.com>
1469 * gst/gstelement.c: (gst_element_iterate_pad_list),
1470 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1471 (gst_element_iterate_sink_pads):
1472 Use src/sink pads lists for the respective iterators instead
1475 2005-10-10 Andy Wingo <wingo@pobox.com>
1477 Merged in popt removal + GOption addition patch from Ronald, bug
1480 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1481 GstElement macros around, remove popt-related symbols, add goption
1484 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1486 * docs/gst/Makefile.am:
1487 * docs/libs/Makefile.am: No POPT_CFLAGS.
1489 * examples/manual/Makefile.am:
1490 * docs/manual/basics-init.xml: Doc updates with an example.
1492 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1493 (gst_init), (parse_one_option), (parse_goption_arg):
1494 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1495 bit of hand merging and debugging to get the GOption stuff working
1498 * tests/Makefile.am:
1499 * tools/Makefile.am:
1500 * tools/gst-inspect.c: (main):
1501 * tools/gst-launch.c: (main):
1502 * tools/gst-run.c: (main):
1503 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1505 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1507 * gst/gstiterator.c: (gst_iterator_new):
1508 Add assertions to make sure passed GType is likely to really
1509 be a GType (as the compiler won't catch it if the size and
1510 GType arguments get mixed up, see #318447).
1512 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1514 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1516 * gst/gstbin.c: (gst_bin_iterate_sorted):
1517 Pass GType and size arguments to gst_iterator_new() in the right
1518 order (maybe we should make _new() take the GType as first argument
1519 just like _new_list()?) (#318447).
1522 2005-10-10 Wim Taymans <wim@fluendo.com>
1524 * gst/gstelement.c: (gst_element_finalize):
1525 And free the GStaticRecMutex too
1527 2005-10-10 Andy Wingo <wingo@pobox.com>
1529 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1530 Allocate and free the mutex properly.
1532 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1534 (GstElement): The state_lock is now recursive. Rebuild your
1535 plugins, suckers. Old macros adapted.
1537 * docs/gst/gstreamer-sections.txt: Doc updates.
1540 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1541 (g_static_rec_cond_wait): Ported from state changes patch, while
1542 we wait on bug #317802 to be solved in a well-distributed GLib.
1544 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1545 gst_element_change_state, variable name changes.
1546 (gst_element_change_state): Split out of gst_element_set_state in
1547 preparation for the state change merge. Doesn't pay attention to
1548 the 'transition' argument.
1549 (gst_element_set_state): Updates, hopefully purely cosmetic.
1550 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1552 (gst_element_get_state_func): Renamed from get_state, cosmetic
1555 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1557 * gst/elements/gstelements.c:
1558 * win32/GStreamer.vcproj:
1560 * win32/dirent.c: (_tseekdir):
1561 * win32/gst-inspect.vcproj:
1562 * win32/gst-launch.vcproj:
1563 * win32/gstconfig.h:
1564 * win32/gstelements.vcproj:
1565 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1566 * win32/gstreamer.def:
1568 updates for the win32 build (patch from Sebastien Moutte)
1570 2005-10-10 Andy Wingo <wingo@pobox.com>
1572 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1573 gst_bin_get_state, cleaned up (but no logic changes).
1574 (bin_element_is_sink): Comment updates.
1575 (sink_iterator_filter): Remove needless cast.
1576 (gst_bin_iterate_sinks): Doc update.
1577 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1578 cleaned up (but no logic changes).
1580 * check/states/sinks.c (test_src_sink): Cleanups from the state
1582 (test_livesrc_sink): Sync on the state.
1584 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1585 the state change patch.
1587 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1590 * check/gst/gstbin.c: Merge in some style fixes and additional
1591 checks from Wim's state change patch.
1593 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1595 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1596 (gst_type_find_helper):
1597 Check whether we have the requested data already in our list of
1598 cached buffers before pulling a new buffer; also make the buffer
1599 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1601 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1606 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1607 don't use long long, it's not portable. Replacing with
1608 gint64 seems to work; let's hope no skeletons fall out of the closet.
1610 2005-10-10 Andy Wingo <wingo@pobox.com>
1612 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1614 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1616 * docs/gst/gstreamer-sections.txt:
1621 * gst/gstmessage.c: (gst_message_parse_state_changed):
1624 more docs, fix compilation
1626 2005-10-09 Philippe Khalaf <burger@speedy.org>
1628 Fixed a few forgotten variables on previous commit
1630 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1632 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1633 Fix evil typefind crasher: getrange() might return a short
1634 buffer at the end of a file, but gst_type_find_peek() must
1635 either return the full data as requested or NULL, but
1636 never a short buffer.
1638 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1640 * gst/gstmessage.c: (gst_message_new_state_changed),
1641 (gst_message_parse_state_changed):
1643 don't use "new", it's a C++ keyword
1645 2005-10-08 Wim Taymans <wim@fluendo.com>
1647 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1648 * gst/gstelement.c: (gst_element_post_message):
1649 * gst/gstpipeline.c: (gst_pipeline_change_state):
1650 Small docs and debug updates.
1652 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1654 * docs/gst/gstreamer-sections.txt:
1655 * gst/gstelementfactory.c:
1660 2005-10-08 Wim Taymans <wim@fluendo.com>
1662 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1663 (gst_bin_dispose), (bin_bus_handler):
1664 Fix typos, add comments.
1665 Clear EOS list when going to PAUSED from any direction and do it
1666 in a threadsafe way.
1667 Get base time in a threadsafe way too.
1668 Fix confusing debug in the change_state function.
1669 Various other small cleanups.
1671 * gst/gstelement.c: (gst_element_post_message):
1672 Fix very verbose bus posting code.
1674 * gst/gstpipeline.c: (gst_pipeline_class_init),
1675 (gst_pipeline_set_property), (gst_pipeline_get_property),
1676 (gst_pipeline_change_state):
1677 Small ARG_ -> PROP_ cleanup
1679 2005-10-08 Wim Taymans <wim@fluendo.com>
1681 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1682 Do a less CPU demanding EOS check because we can.
1684 2005-10-08 Wim Taymans <wim@fluendo.com>
1686 * libs/gst/dataprotocol/dataprotocol.c:
1687 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1688 (gst_dp_packet_from_event):
1689 * libs/gst/dataprotocol/dataprotocol.h:
1690 * libs/gst/dataprotocol/dp-private.h:
1691 It's about time we bump the version number.
1692 Since event types don't fit in the guint8 anymore describing
1693 the payload type, make payload type 16 bits wide.
1695 2005-10-08 Wim Taymans <wim@fluendo.com>
1697 * docs/design/part-TODO.txt:
1698 * docs/design/part-clocks.txt:
1699 * docs/design/part-events.txt:
1700 * docs/design/part-gstbin.txt:
1701 * docs/design/part-gstelement.txt:
1702 * docs/design/part-gstpipeline.txt:
1703 * docs/design/part-live-source.txt:
1704 * docs/design/part-messages.txt:
1705 * docs/design/part-overview.txt:
1706 * docs/design/part-states.txt:
1709 2005-10-08 Wim Taymans <wim@fluendo.com>
1713 Fix event quark registration.
1714 Add some space between events so we can insert them in the
1717 2005-10-08 Wim Taymans <wim@fluendo.com>
1719 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1720 (gst_base_sink_handle_buffer):
1727 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1728 (gst_queue_set_property), (gst_queue_get_property):
1730 Remove old unused properties.
1732 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1733 * docs/gst/gstreamer-sections.txt:
1736 * gst/gstminiobject.c:
1737 * gst/gstminiobject.h:
1741 lots of new docs and doc fixes
1743 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1745 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1747 * gst/gstregistry.c: (gst_registry_lookup_locked),
1748 (gst_registry_scan_path_level):
1749 * gst/gstregistryxml.c: (load_plugin):
1750 Only ever load one plugin for a given plugin basename.
1751 This ensures correct overriding of GST_PLUGIN_PATH over
1752 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1753 system installed plugins.
1755 2005-10-08 Wim Taymans <wim@fluendo.com>
1757 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1758 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1759 Prepare for doing QOS.
1761 2005-10-08 Wim Taymans <wim@fluendo.com>
1763 * check/gst/gstbin.c: (GST_START_TEST):
1764 * check/pipelines/cleanup.c: (GST_START_TEST):
1765 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1766 Allow new clock message too.
1768 2005-10-08 Wim Taymans <wim@fluendo.com>
1770 * gst/gstmessage.c: (gst_message_new_error),
1771 (gst_message_new_warning), (gst_message_new_tag),
1772 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1773 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1774 (gst_message_new_segment_start), (gst_message_new_segment_done),
1775 (gst_message_parse_state_changed),
1776 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1777 (gst_message_parse_new_clock):
1779 Also carry the clock in question.
1781 2005-10-08 Wim Taymans <wim@fluendo.com>
1783 * gst/gstmessage.c: (gst_message_new_custom),
1784 (gst_message_new_eos), (gst_message_new_error),
1785 (gst_message_new_warning), (gst_message_new_tag),
1786 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1787 (gst_message_new_new_clock), (gst_message_new_segment_start),
1788 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1789 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1792 Added clock related messages.
1794 * gst/gstpipeline.c: (gst_pipeline_change_state):
1795 Post message when the clock changed.
1797 * tools/gst-launch.c: (event_loop):
1800 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
1802 * tools/gst-inspect.c: (print_element_properties_info):
1803 Can't pass NULL strings to g_print() on windows.
1805 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1808 * docs/gst/Makefile.am:
1809 * docs/gst/gstreamer-docs.sgml:
1810 * docs/gst/running.xml:
1811 * docs/version.entities.in:
1812 add a chapter on running GStreamer.
1813 document GST_DEBUG and GST_PLUGIN* env vars
1815 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1820 remove PLUGINS_BUILDDIR stuff
1821 * gst/gst.c: (init_post):
1822 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
1824 remove, it was condescending and not needed
1826 2005-10-08 Wim Taymans <wim@fluendo.com>
1828 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1829 (gst_base_sink_handle_object), (gst_base_sink_event),
1830 (gst_base_sink_wait), (gst_base_sink_handle_event),
1831 (gst_base_sink_change_state):
1832 * gst/base/gstbasesink.h:
1833 Repost EOS message while going to PLAYING if still EOS.
1834 Make sure that when receiving a FLUSH_START we don't attempt
1835 to sync on the clock anymore.
1837 2005-10-08 Wim Taymans <wim@fluendo.com>
1839 * tools/gst-launch.c: (event_loop):
1840 Better message printout.
1842 2005-10-08 Wim Taymans <wim@fluendo.com>
1844 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
1845 (gst_bin_child_proxy_get_children_count):
1846 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1847 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
1848 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
1849 (gst_child_proxy_set_valist):
1850 * gst/parse/grammar.y:
1851 Make ChildProxy threadsafe and fix mem leaks.
1853 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1855 * gst/gst.c: (init_post):
1856 debug the GST_PLUGIN_ env vars
1858 2005-10-08 Wim Taymans <wim@fluendo.com>
1860 * check/gst/gstbin.c: (GST_START_TEST):
1861 * check/gst/gstmessage.c: (GST_START_TEST):
1862 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1863 * gst/gstelement.c: (gst_element_commit_state),
1864 (gst_element_lost_state):
1865 * gst/gstmessage.c: (gst_message_new_state_changed),
1866 (gst_message_parse_state_changed):
1868 * tools/gst-launch.c: (event_loop):
1869 Added extra field to STATE_CHANGE message with the pending
1870 state, which will be different from the new state soon.
1872 2005-10-08 Wim Taymans <wim@fluendo.com>
1874 * gst/gstbus.c: (gst_bus_pop):
1876 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1877 Small cleanups and doc updates.
1879 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1881 * gst/gst.c: (init_pre):
1882 * gst/gstbin.c: (gst_bin_add_func):
1883 log distributing clocks and base time
1884 * gst/gstregistry.c: (gst_registry_add_plugin),
1885 (gst_registry_scan_path_level), (gst_registry_scan_path):
1886 clean up the debugging output a little
1887 * gst/gstutils.c: (gst_element_state_get_name):
1888 warn about a memleak (I've actually seen this be used, though
1889 it was probably a bug)
1891 2005-10-07 Wim Taymans <wim@fluendo.com>
1893 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1894 (gst_base_src_init), (gst_base_src_default_newsegment),
1895 (gst_base_src_newsegment), (gst_base_src_do_seek),
1896 (gst_base_src_loop), (gst_base_src_start):
1897 * gst/base/gstbasesrc.h:
1898 Make the newsegment event customizable by subclasses.
1900 2005-10-07 Wim Taymans <wim@fluendo.com>
1902 * gst/gstevent.c: (gst_event_new_buffersize),
1903 (gst_event_parse_buffersize):
1905 New event for future idea.
1907 2005-10-07 Andy Wingo <wingo@pobox.com>
1909 * gst/gstelement.c (gst_element_post_message): Doc update.
1911 * docs/gst/gstreamer-sections.txt: Update.
1913 * gst/gstmessage.c (gst_message_new_application): Made into a
1914 function like honest API calls.
1915 (gst_message_new_element): New message type.
1917 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
1919 * check/elements/fakesrc.c (test_no_preroll): New check, checks
1920 that setting a live fakesrc to PAUSED returns NO_PREROLL both
1923 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
1924 NO_PREROLL from gst_element_change_state to fall through.
1926 2005-10-07 Wim Taymans <wim@fluendo.com>
1928 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
1929 (gst_ghost_pad_do_activate_push):
1930 Activating a ghostpad with no internal pad in push mode
1933 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
1936 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
1937 Fixes compilation on Windows.
1939 2005-10-07 Michael Smith <msmith@fluendo.com>
1941 * tools/gst-inspect.c:
1942 Print out feature and plugin count at the end when printing out
1945 2005-10-04 Michael Smith <msmith@fluendo.com>
1947 * gst/gsterror.c: (_gst_stream_errors_init):
1948 Add another error string used in a few existing plugins.
1951 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1952 * tools/gst-inspect.c: (print_element_info):
1953 When a feature disappears from a plugin (and the feature exists in
1954 the cached registry file), things went horribly wrong. This isn't a
1955 complete fix, we should actually be removing the 'missing' features
1956 from the features list when we load the actual plugin. That's not
1959 2005-10-04 Johan Dahlin <johan@gnome.org>
1961 * check/gst/gstiterator.c: (GST_START_TEST):
1962 * gst/gstbin.c: (gst_bin_iterate_elements),
1963 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
1964 * gst/gstelement.c: (gst_element_iterate_pads):
1965 * gst/gstformat.c: (gst_format_iterate_definitions):
1966 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
1967 (gst_iterator_new_list), (gst_iterator_filter):
1968 * gst/gstiterator.h:
1969 * gst/gstquery.c: (gst_query_type_iterate_definitions):
1970 Add a GType to GstIterator, update callsites and tests.
1972 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1974 * gst/gstpad.c: (gst_pad_event_default_dispatch):
1975 give events a chance to be handled by event probes when the pad
1978 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1980 * gst/gstevent.c: (gst_event_type_get_name),
1981 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
1983 add string representations for event types
1985 2005-10-06 Wim Taymans <wim@fluendo.com>
1987 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
1988 Don't use NULL pointers.
1990 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1992 * gst/gst_private.h:
1996 * gst/gstpluginfeature.c:
1997 widen the debug category in output to fit the biggest one we have
1998 add a bus category and use it
1999 play with the colors
2000 fix up some categories
2002 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2004 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2005 add push activation of sink ghost pads.
2006 Andye, please verify
2008 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2010 * gst/gstutils.c: (gst_element_link_pads):
2011 fix a bug in the case where neither element has a pad
2012 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2013 add a test for that case
2015 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2017 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2018 emit have-data before checking for peers. This allows
2019 for probe handlers to connect elements. This helps autopluggers.
2020 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2022 add six checks, linked/unlinked with no/true/false probe
2024 2005-10-04 Wim Taymans <wim@fluendo.com>
2026 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2027 (gst_fake_sink_event), (gst_fake_sink_preroll),
2028 (gst_fake_sink_render), (gst_fake_sink_change_state):
2029 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2030 (gst_fake_src_get_property), (gst_fake_src_create),
2031 (gst_fake_src_stop):
2032 * gst/elements/gstidentity.c: (gst_identity_stop):
2033 Protect last_message with lock.
2035 2005-10-04 Edward Hervey <edward@fluendo.com>
2038 Added precision in the comments for GST_FORMAT_DEFAULT
2040 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2042 * tools/gst-launch.c: (main):
2043 Don't try to run erroneous pipelines.
2045 2005-10-04 Julien MOUTTE <julien@moutte.net>
2047 * gst/gstbus.c: We don't need this header.
2049 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2054 === release 0.9.3 ===
2056 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2060 Releasing 0.9.3, "Unregistered"
2062 2005-10-03 Andy Wingo <wingo@pobox.com>
2064 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2065 whereby calling a pad's activatepush() function can start a thread
2066 that starts to push or pull before the pad gets the FLUSHING flag
2067 unset. Hack around it by holding the stream lock until the flag is
2068 set. Need to replace this with a proper solution. Together with
2069 the ghost pad fixes, this fixes mp3 playing/tagreading.
2071 * docs/design/part-gstghostpad.txt: Add a note about activation of
2072 proxy pads outside of ghost pads.
2074 * gst/gstghostpad.c: Implement the ghost pad activation design.
2076 2005-10-02 Andy Wingo <wingo@pobox.com>
2078 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2079 It is volatile, after all.
2081 * docs/design/part-gstghostpad.txt: Flesh out activation with
2084 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2087 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2090 Fix (unused) AM_CONDITIONAL tests.
2092 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2094 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2096 * gst/gstutils.c: (gst_pad_query_convert):
2097 Add assertion that makes sure src_val is >=0, just like
2098 gst_query_new_convert() has. (#315895)
2100 2005-09-30 Edward Hervey <edward@fluendo.com>
2102 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2103 Let's not iterate pads we're not interested in, it avoids getting
2104 sky-high refcounts on sinkpad.
2106 2005-09-30 Wim Taymans <wim@fluendo.com>
2108 * gst/gstelement.c: (gst_element_set_state),
2109 (gst_element_change_state):
2110 Small tweak, element in ASYNC remains ASYNC.
2112 2005-09-30 Wim Taymans <wim@fluendo.com>
2114 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2115 Only error is an error.
2117 * gst/gstbin.c: (gst_bin_change_state):
2120 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2121 Also call pad_block in pad alloc.
2123 * gst/gstutils.c: (gst_flow_get_name):
2126 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2128 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2129 (gst_base_src_get_range):
2130 Fix documentation typos. Add some more debug info.
2132 2005-09-29 David Schleef <ds@schleef.org>
2134 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2135 more end-user friendly.
2136 * tools/gst-inspect.c: (main): Check if command-line argument is
2137 a file and attempt to load that file as a plugin.
2139 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2141 * check/gst/gstbin.c:
2142 * check/states/sinks.c:
2143 fix tests for the new warning
2144 * check/gst/gstpipeline.c:
2145 add a test for pipeline and bus interaction
2147 elements should be NULL if they get disposed; add a warning if not
2149 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2152 for 2.6 refcounting, make debug log more correct by printing
2153 the actual refcounts at the time of swap (Wim)
2155 2005-09-29 Andy Wingo <wingo@pobox.com>
2157 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2158 removes signal watches previously added via
2159 gst_bus_add_signal_watch.
2160 (gst_bus_add_signal_watch): Don't return the source id, just store
2161 it on the bus if there wasn't an id already.
2163 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2164 add_signal_watch and remove_signal_watch.
2166 2005-09-29 Edward Hervey <edward@fluendo.com>
2168 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2169 Better if we actually iterate the list :)
2171 2005-09-29 Wim Taymans <wim@fluendo.com>
2173 * check/gst/gstbin.c: (GST_START_TEST):
2174 Change for new bus API.
2176 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2177 (send_messages), (GST_START_TEST), (gstbus_suite):
2178 Change for new bus signal API.
2180 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2181 (gst_bus_source_prepare), (gst_bus_source_check),
2182 (gst_bus_create_watch), (gst_bus_add_watch_full),
2183 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2184 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2186 Remove support for multiple GSources operating on different
2187 message types as it is too complex and unneeded when using
2189 Added support for receiving signals from the bus.
2191 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2193 * docs/libs/tmpl/gstdataprotocol.sgml:
2194 * docs/manual/advanced-dataaccess.xml:
2195 * gst/elements/gstcapsfilter.c:
2197 rename filter-caps to caps property
2199 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2201 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2202 More robust fraction string parsing.
2204 * docs/pwg/appendix-porting.xml:
2205 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2207 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2209 * gst/gstcaps.c: (gst_caps_do_simplify):
2210 Thou shalt not free a structure and then continue using it
2211 in the next loop iteration.
2213 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2215 Add test case for caps simplification.
2217 2005-09-29 Wim Taymans <wim@fluendo.com>
2219 * check/gst/gstbin.c: (GST_START_TEST):
2222 2005-09-29 Wim Taymans <wim@fluendo.com>
2224 * check/gst/gstbin.c: (GST_START_TEST):
2227 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2228 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2229 (find_element), (gst_bin_sort_iterator_next),
2230 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2231 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2232 (gst_bin_change_state), (gst_bin_dispose):
2233 A bin does not have a bus, it gets the bus from the parent.
2235 * gst/gstelement.c: (gst_element_requires_clock),
2236 (gst_element_provides_clock), (gst_element_is_indexable),
2237 (gst_element_is_locked_state), (gst_element_change_state),
2238 (gst_element_set_bus_func):
2241 * gst/gstpipeline.c: (gst_pipeline_class_init),
2242 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2243 The pipeline provides a bus.
2245 2005-09-28 Johan Dahlin <johan@gnome.org>
2247 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2248 gst_structure_get_enum instead of gst_structure_get_int
2250 * gst/gststructure.c (gst_structure_get_enum): Impl.
2252 * gst/gststructure.h (gst_structure_get_enum): Add
2254 * docs/gst/gstreamer-sections.txt: Ditto
2256 * gst/gstmessage.c (gst_message_new_state_changed): Use
2257 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2258 which does introspection.
2259 Reviewed by Christian Schaller
2261 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2263 * gst/gstinfo.c: (gst_debug_log_default):
2264 don't do dummy g_strdup()s
2265 * libs/gst/controller/gstcontroller.c:
2266 (on_object_controlled_property_changed),
2267 (gst_controlled_property_new), (gst_controller_new_valist),
2268 (gst_controller_new_list),
2269 (gst_controller_remove_properties_valist), (gst_controller_set),
2270 (gst_controller_get), (gst_controller_sync_values),
2271 (gst_controller_get_value_array), (_gst_controller_class_init),
2272 (gst_controller_get_type):
2273 * libs/gst/controller/gstcontroller.h:
2274 * libs/gst/controller/gstinterpolation.c:
2275 (gst_controlled_property_find_timed_value_node):
2276 convert // to /**/ comments
2278 2005-09-28 Wim Taymans <wim@fluendo.com>
2280 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2281 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2282 (gst_bus_sync_signal_handler):
2284 Added async-message and sync-message signals to the bus.
2285 Added helper BusFunc to emit signals for all posted messages.
2287 * gst/gstmessage.c: (gst_message_type_get_name),
2288 (gst_message_type_to_quark), (gst_message_get_type):
2290 Register quarks for message names.
2292 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2294 * docs/libs/gstreamer-libs-sections.txt:
2295 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2296 (gst_controller_new_list):
2297 * libs/gst/controller/gstcontroller.h:
2298 added another constructor for language bindings
2300 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2302 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2306 * gst/gstinfo.c: (_gst_debug_init):
2307 slightly more readable color for refcount debugging
2309 2005-09-28 Wim Taymans <wim@fluendo.com>
2311 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2312 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2313 (find_element), (gst_bin_sort_iterator_next),
2314 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2315 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2316 (gst_bin_change_state), (gst_bin_dispose):
2317 Small doc fixes. get_clock -> provide_clock.
2319 * gst/gstelement.c: (gst_element_class_init),
2320 (gst_element_provides_clock), (gst_element_provide_clock),
2321 (gst_element_get_clock), (gst_element_commit_state),
2322 (gst_element_lost_state):
2324 Make get/set_clock() symetric. Add provide_clock vmethod since
2325 that is actually what this function does.
2327 * gst/gstpipeline.c: (gst_pipeline_class_init),
2328 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2329 (gst_pipeline_get_clock):
2330 get_clock -> provide_clock.
2332 2005-09-28 Andy Wingo <wingo@pobox.com>
2334 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2335 lieu of real docs...
2337 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2339 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2341 * gst/elements/gstcapsfilter.c:
2342 * gst/elements/gstfakesink.c:
2343 * gst/elements/gstfakesrc.c:
2344 * gst/elements/gstfdsink.c:
2345 * gst/elements/gstfdsrc.c:
2346 * gst/elements/gstfilesink.c:
2347 * gst/elements/gstfilesrc.c:
2348 * gst/elements/gstidentity.c:
2349 * gst/elements/gsttee.c:
2350 * gst/elements/gsttypefindelement.c:
2351 Make element details static.
2353 2005-09-28 Wim Taymans <wim@fluendo.com>
2355 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2356 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2357 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2358 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2359 (gst_bin_change_state), (gst_bin_dispose):
2360 Some documentation updates.
2361 Clean up dispose handlers.
2363 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2364 * gst/gstpad.c: (gst_pad_dispose):
2365 Clean up dispose handler.
2367 * gst/gstpipeline.c: (gst_pipeline_change_state):
2368 Removed spurious UNLOCK.
2370 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2372 * docs/gst/gstreamer-sections.txt:
2373 * gst/base/gstbasesrc.h:
2378 * gst/gstpipeline.c:
2379 * gst/gstpipeline.h:
2382 added two new functions to the docs
2383 documents all undocumented GstXXXFlags
2384 completed some incomplete docs
2386 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2388 * gst/gstbin.c: (gst_bin_dispose):
2389 * gst/gstelement.c: (gst_element_dispose):
2390 remove now useless and leaky resurrection code in dispose
2391 * gst/base/gstbasesrc.c: (gst_base_src_init):
2392 * gst/gstelementfactory.c: (gst_element_factory_create):
2393 * gst/gstobject.c: (gst_object_set_parent):
2396 2005-09-27 Wim Taymans <wim@fluendo.com>
2398 * docs/design/part-TODO.txt:
2401 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2402 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2403 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2404 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2405 (gst_bin_change_state):
2407 Remove element variable, we keep element info in the iterator now.
2409 2005-09-27 Andy Wingo <wingo@pobox.com>
2411 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2414 2005-09-27 Wim Taymans <wim@fluendo.com>
2416 * check/gst/gstbin.c: (GST_START_TEST):
2417 Enable check that works now.
2419 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2420 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2421 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2422 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2423 (gst_bin_change_state):
2425 Redid the state change algorithm using a topological sort algo.
2426 Handles all cases correctly.
2427 Exposed iterator for state change order.
2430 Temp storage for state changes. Need to get rid of this soon.
2432 2005-09-27 Wim Taymans <wim@fluendo.com>
2434 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2435 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2436 (link_fold_func), (gst_pad_proxy_setcaps):
2437 Leak fixes, the fold functions need to unref the passed object and
2438 _get_parent_*() returns ref to parent.
2440 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2442 * check/gst/gstbuffer.c: (test_make_writable):
2443 Plug leak in test case and fix 'make check-valgrind'
2445 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2447 * gst/gstbuffer.c: (gst_subbuffer_init):
2448 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2449 works correctly in all circumstances (we could have just copied
2450 the parent buffer's readonly flag, but conceptually it seems
2451 cleaner to mark all subbuffers as read-only). (based on patch
2452 by Alessandro Decina, #314710).
2454 * check/gst/gstbuffer.c: (create_read_only_buffer),
2455 (test_make_writable), (test_subbuffer_make_writable),
2457 Add some tests for gst_buffer_make_writable().
2459 2005-09-27 Wim Taymans <wim@fluendo.com>
2461 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2462 use gst_object_has_ancestor().
2464 * gst/gstobject.c: (gst_object_has_ancestor):
2466 gst_object_has_ancestor() copied from gstbin.c as it is a
2469 * tests/instantiate/create.c: (create_all_elements):
2470 * tests/lat.c: (handoff_src), (handoff_sink):
2471 * tests/sched/runxml.c: (main):
2472 * tests/seeking/seeking1.c: (main):
2473 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2475 Fix compilation of some tests.
2477 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2480 Remove comment. GST_TYPE_G_ERROR is here to stay,
2481 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2484 2005-09-26 Wim Taymans <wim@fluendo.com>
2486 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2487 Added check that shows error in state change order.
2489 2005-09-26 Wim Taymans <wim@fluendo.com>
2491 * gst/gstbin.c: (gst_bin_change_state):
2492 Make state change function use 3 queues again, we were
2493 adding elements in the wrong order.
2495 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2498 * gst/gstpad.c: (gst_pad_dispose):
2499 Added some debug info first.
2501 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2503 * docs/design/draft-push-pull.txt:
2504 * docs/design/part-events.txt:
2505 * docs/design/part-overview.txt:
2506 * docs/design/part-scheduling.txt:
2507 Replace all _pull_region() with _pull_range()
2509 2005-09-26 Andy Wingo <wingo@pobox.com>
2511 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2513 * check/gst-libs/controller.c: Update for controller api change.
2516 * tests/Makefile.am:
2517 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2518 over by GLib bug 118439.
2520 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2521 routines to a function.
2523 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2525 * libs/gst/controller/gsthelper.c:
2526 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2527 (gst_object_sync_values): Renamed from sink_values. Ugh.
2529 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2531 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2532 Renamed from controller_key, as it is exported.
2534 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2536 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2541 * gst/gstpadtemplate.h:
2544 * gst/gstqueryutils.c:
2545 * gst/gstqueryutils.h:
2546 remove queryutils headers after moving the two used functions
2547 to gstquery. also fixes build problem for gstsiddec
2549 2005-09-26 Michael Smith <msmith@fluendo.com>
2551 * tools/gst-launch.1.in:
2552 Correct documentation in manpage of debug syntax
2554 2005-09-26 Wim Taymans <wim@fluendo.com>
2556 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2557 (gst_base_src_is_seekable), (gst_base_src_change_state):
2558 Some more debugging info.
2560 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2562 * docs/gst/gstreamer-sections.txt:
2563 * gst/base/gstbasetransform.h:
2567 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2569 * docs/gst/.cvsignore:
2570 * docs/gst/tmpl/.cvsignore:
2571 * docs/gst/tmpl/gstpipeline.sgml:
2572 * docs/gst/tmpl/gstplugin.sgml:
2573 * gst/gstpipeline.c:
2576 inlined the last two docs files
2577 removed the tmpl directory from cvs (no more conflicts here!)
2579 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2581 * docs/gst/gstreamer-sections.txt:
2582 * docs/gst/tmpl/.cvsignore:
2583 * docs/gst/tmpl/gstpad.sgml:
2584 * docs/gst/tmpl/gstpadtemplate.sgml:
2586 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2587 (gst_pad_finalize), (gst_pad_set_pad_template):
2589 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2590 (gst_pad_template_class_init), (gst_pad_template_init),
2591 (gst_pad_template_dispose), (name_is_valid),
2592 (gst_static_pad_template_get), (gst_pad_template_new),
2593 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2594 (gst_pad_template_pad_created):
2595 * gst/gstpadtemplate.h:
2596 inlined two more docs
2597 factored gstpadtemplate out of gstpad
2599 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2601 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2602 (test_children_state_change_order_semi_sink):
2603 Fix test case: we can't rely on a fixed state change order when
2604 going from READY => PAUSED because the sink might commit its
2605 new state first when the first buffer created by the source
2606 reaches the sink before the source has finished its change state.
2607 (Test case still fails at times, see #316856, comment 5 onwards)
2609 2005-09-24 Wim Taymans <wim@fluendo.com>
2611 * docs/design/part-events.txt:
2612 * docs/design/part-gstbus.txt:
2613 * docs/design/part-gstpipeline.txt:
2614 * docs/design/part-messages.txt:
2615 * docs/design/part-overview.txt:
2616 * docs/design/part-segments.txt:
2623 * gst/gstiterator.c:
2624 Various documentation updates.
2626 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2629 Well, that's embarassing. Luckily we weren't using
2630 GST_CLOCK_DIFF anywhere.
2632 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2634 * common/gtk-doc.mak:
2635 don't fail on building XML, FC4 slave shows a bunch of doc
2636 missing bits that I don't get
2638 * gst/gstpipeline.c:
2639 * gst/gststructure.c:
2642 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2644 * docs/design/part-gstbin.txt:
2645 * docs/design/part-gstbus.txt:
2647 Add blurb about how the bus goes into flushing mode and
2648 drops all messages when its bin goes from READY into NULL
2651 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2653 * docs/gst/gstreamer-sections.txt:
2654 * gst/gststructure.c: (gst_structure_get_clock_time):
2655 * gst/gststructure.h:
2656 add a method to get a GstClockTime out of a structure
2658 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2660 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2661 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2662 Added test to check state change order in bins (can still be made
2663 to fail here under heavy disk load; bails out with 'Push on pad
2664 fakesink:sink0, but it was not activated in push mode').
2666 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2667 Fix state change order when there is only a semi sink (#316856)
2669 * gst/gstbus.c: (gst_bus_class_init):
2670 Use _class_peek_parent(), not _class_ref(); fix docs to say
2671 'default main context' instead of 'mainloop' where that is
2674 * gst/gstelement.c: (gst_element_commit_state),
2675 (gst_element_set_state):
2676 Fix typos in debug messages
2678 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2681 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2682 * gst/gstpluginfeature.c:
2685 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2686 change an assert into an error until it gets fixed properly
2688 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2690 * docs/gst/gstreamer-sections.txt:
2691 * docs/gst/tmpl/.cvsignore:
2692 * docs/gst/tmpl/gstelement.sgml:
2693 * docs/gst/tmpl/gstinfo.sgml:
2694 * docs/gst/tmpl/gstobject.sgml:
2699 * gst/gstobject.c: (gst_object_class_init):
2701 inlined 3 more biiiig doc files and added some missing docs on the fly
2703 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2705 * check/gst/.cvsignore:
2706 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2707 * gst/gstregistryxml.c: (load_plugin),
2708 (gst_registry_xml_save_plugin):
2709 put back source in registry. add checks for find_plugin.
2710 * testsuite/states/bin.c: (assert_state), (empty_bin),
2711 (test_adding_one_element), (main):
2712 * testsuite/states/locked.c: (main):
2713 some compile/run fixes
2715 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2717 * check/gst/gstvalue.c: (GST_START_TEST):
2718 fix leaks in the test itself
2720 2005-09-22 Wim Taymans <wim@fluendo.com>
2722 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2723 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2724 (gst_base_sink_query):
2725 Prepare for more accurate position reporting and query
2728 * gst/gstelement.c: (gst_element_send_event),
2729 (gst_element_set_state):
2732 2005-09-22 Wim Taymans <wim@fluendo.com>
2734 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2735 (gst_query_parse_segment):
2738 Add segment query for future use.
2740 2005-09-22 Wim Taymans <wim@fluendo.com>
2742 * gst/gstbin.c: (gst_bin_add_func):
2743 Some more debug info.
2745 * gst/gstelement.c: (gst_element_send_event):
2749 Don't know how flags got broken.
2754 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2756 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2757 Add simplistic test suite for GST_TYPE_DATE serialisation and
2760 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2762 * docs/gst/gstreamer-sections.txt:
2763 * gst/gststructure.c: (gst_structure_set_valist),
2764 (gst_structure_get_date):
2765 * gst/gststructure.h:
2766 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2767 (gst_date_copy), (gst_value_compare_date),
2768 (gst_value_serialize_date), (gst_value_deserialize_date),
2769 (gst_value_transform_date_string),
2770 (gst_value_transform_string_date), (_gst_value_initialize):
2772 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2773 bunch of utility functions along with a hack that checks that
2774 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2775 is required. Part of the grand scheme in #170777.
2777 2005-09-22 Andy Wingo <wingo@pobox.com>
2779 * gst/gstconfig.h.in: Psych out gtk-doc.
2781 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2783 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2785 * tools/gst-inspect.c (print_element_list): Plug some
2786 inconsequential leaks.
2788 * gst/gstregistry.c (gst_registry_get_default): Doc.
2790 * check/gst/gstplugin.c:
2791 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2792 * gst/gstelementfactory.c (gst_element_factory_create):
2793 * gst/gstindexfactory.c (gst_index_factory_create): Update for
2796 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
2797 (gst_plugin_feature_load): Doc, don't eat refs.
2799 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
2800 (gst_plugin_list_free): Doc.
2801 (gst_plugin_load_file): Doc updates.
2803 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
2804 accessors returning refcounted objects, return a ref.
2806 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
2807 accessor for caps. IDEMPOTENCE. Oh yes.
2809 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
2811 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2813 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2814 (_gst_debug_register_funcptr):
2815 Add mutex to serialise access to the hash table with
2816 the function pointer => function name string mapping;
2817 make that hash table static scope (#316809).
2819 * gst/registries/.cvsignore:
2820 Remove left-over file.
2822 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2824 * docs/pwg/appendix-porting.xml:
2825 And something about newsegment events and caps-on-buffers to
2826 the porting guide (feel free to improve).
2828 2005-09-21 Andy Wingo <wingo@pobox.com>
2830 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
2831 data and event probes on the same pad.
2832 (test_buffer_probe_once): Test that removing probes from within
2833 the probe functions works.
2835 2005-09-21 Andy Wingo <wingo@pobox.com>
2837 * check/gst/gstutils.c: New file.
2838 (test_buffer_probe_n_times): A simple buffer probe test. More to
2841 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
2842 have-data::buffer, not have-data.
2843 (gst_pad_add_event_probe): Likewise for have-data::event.
2844 (gst_pad_add_data_probe): More docs. The part about 'resolving the
2845 peer' isn't quite right yet though.
2846 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
2847 (gst_pad_remove_data_probe): Change to take the guint handler_id
2848 as their arg, not the function+data, which is more glib-like.
2850 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
2851 the signal emission to indicate if the data is a buffer or an
2853 (gst_pad_get_type): Initialize buffer and event quarks.
2854 (gst_pad_class_init): have-data is now a detailed signal, yes it
2857 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2859 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2860 * gst/gstutils.c: (gst_util_set_value_from_string),
2861 (gst_util_set_object_arg):
2862 Don't put functional code in g_return_if_fail() or
2863 g_return_val_if_fail() statements, otherwise things will
2864 break when G_DISABLE_CHECKS is defined during compilation.
2866 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2868 * docs/gst/tmpl/.cvsignore:
2869 * docs/gst/tmpl/gstvalue.sgml:
2872 inlied another one and added some obvious docs
2874 2005-09-21 Wim Taymans <wim@fluendo.com>
2876 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
2877 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
2878 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
2879 (gst_fdsrc_get_property), (gst_fdsrc_create):
2880 * gst/elements/gstfdsrc.h:
2881 Properly implement fdsrc. Removed signal and timeout,
2882 better implemented somewhere else.
2884 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2886 * docs/gst/tmpl/.cvsignore:
2887 * docs/gst/tmpl/gstimplementsinterface.sgml:
2888 * gst/gstinterface.c:
2891 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2893 * docs/gst/gstreamer-sections.txt:
2894 * docs/gst/tmpl/.cvsignore:
2895 * docs/gst/tmpl/gstenumtypes.sgml:
2896 remove obsolete doc file
2898 2005-09-21 David Schleef <ds@schleef.org>
2900 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
2901 little beer, fix a little leak.
2903 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2905 * docs/gst/gstreamer-docs.sgml:
2906 * docs/gst/gstreamer-sections.txt:
2907 * docs/gst/tmpl/.cvsignore:
2912 * gst/gstindex.c: (gst_index_class_init):
2914 * gst/gstindexfactory.c: (gst_index_factory_get_type),
2915 (gst_index_factory_class_init), (gst_index_factory_init),
2916 (gst_index_factory_finalize), (gst_index_factory_new),
2917 (gst_index_factory_destroy), (gst_index_factory_find),
2918 (gst_index_factory_create), (gst_index_factory_make):
2919 * gst/gstindexfactory.h:
2920 * gst/gstpluginfeature.c:
2921 * gst/gstpluginfeature.h:
2922 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2923 more docs inlined, splitted gstindex.{c,h}
2925 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2927 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2930 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2932 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2933 Set sync to FALSE by default.
2935 2005-09-20 Wim Taymans <wim@fluendo.com>
2937 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2938 (gst_base_sink_init):
2939 Make sync property settable from subclass.
2941 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2942 (gst_fake_sink_change_state):
2943 Set sync to FALSE by default.
2945 2005-09-20 Wim Taymans <wim@fluendo.com>
2947 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
2948 * tools/gst-launch.c: (main):
2949 The timeout handler should have lower priority than the source
2950 so we don't timeout before popping a message with 0 timeout.
2951 Dump error messages after failed state change.
2953 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2955 * tools/gst-inspect.c: (print_element_properties_info):
2958 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2960 * check/gst/gstevent.c:
2961 * gst/elements/gstfakesink.c:
2962 * gst/elements/gstfakesink.h:
2963 remove the sync property from fakesink.
2964 has the side effect of setting sync TRUE
2965 for fakesink, which is a change. Anyone who knows how
2966 to fix this nicely in a GObject-y way, feel free.
2968 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2970 * docs/gst/gstreamer-docs.sgml:
2971 remove probe refsection
2973 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2975 * check/Makefile.am:
2976 disable valgrinding the controller test again
2977 * docs/gst/gstreamer-sections.txt:
2978 update for api-changes
2980 2005-09-20 Wim Taymans <wim@fluendo.com>
2982 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2983 (gst_base_sink_set_property), (gst_base_sink_get_property),
2984 (gst_base_sink_do_sync):
2985 * gst/base/gstbasesink.h:
2986 Added sync property to basesink to disable clock sync.
2988 2005-09-20 Andy Wingo <wingo@pobox.com>
2990 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
2991 eating the caller's refcount.
2993 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
2994 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
2997 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
2998 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
2999 of GLib 2.8 public, so we can know which refcount to check in
3002 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3003 (gst_object_init): Only set the gst refcount if we're going ahead
3004 with the refcount hack.
3006 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3008 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3009 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3010 more leaks plumbed, added more debug-logging
3014 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3017 remove include of gstmemchunk.h
3019 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3021 * gst/gstclock.c: (_gst_clock_id_free):
3022 Commit from the Political Party For More Atomic CVS Commits,
3023 so that people don't waste too much of their day fishing
3024 out obvious leaks out of massive commits.
3025 Oh, and fix a pretty damn obvious leak in the memchunk
3028 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3030 * check/Makefile.am:
3031 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3032 plug mem-leak, re-add to valgrindable tests
3034 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3037 unbreak the build for those who have chronic arthritis
3038 and typing "make check" is just too taxing on the hands
3040 2005-09-20 Andy Wingo <wingo@pobox.com>
3042 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3043 really want it out, you should fix plugins at the same time.
3045 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3048 * docs/gst/gstreamer-sections.txt:
3050 added missing symbols to api docs
3051 disable ref-count hack if we have glib >= 2.8
3053 2005-09-19 David Schleef <ds@schleef.org>
3055 * docs/gst/Makefile.am: Ignore a few more internal headers
3056 * docs/gst/gstreamer-docs.sgml: Remove old sections
3057 * docs/gst/gstreamer-sections.txt: Remove old sections
3058 * docs/gst/tmpl/gstobject.sgml: update
3059 * docs/gst/tmpl/gstplugin.sgml: update
3060 * docs/gst/tmpl/gstpluginfeature.sgml: update
3061 * docs/random/ds/0.9-suggested-changes: update.
3062 * gst/Makefile.am: remove memchunk and trashstack, since they're
3064 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3065 * gst/gst.h: don't include some headers
3066 * gst/gstchildproxy.c: add gstmarshal.h
3067 * gst/gstclock.c: Don't use memchunks
3068 * gst/gstminiobject.c: Add some docs
3069 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3070 * gst/gstobject.h: same
3071 * gst/gstplugin.c: include gstmacros.h
3072 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3073 * gst/gstquery.c: don't use memchunks
3074 * gst/gstregistry.c: rename gst_registry_deinit()
3075 * gst/gstregistry.h: same
3077 2005-09-19 David Schleef <ds@schleef.org>
3079 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3080 * docs/libs/gstreamer-libs-sections.txt:
3081 * docs/libs/tmpl/gstgetbits.sgml:
3082 * docs/libs/tmpl/gstputbits.sgml:
3084 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3086 * win32/gstenumtypes.c:
3087 * win32/gstenumtypes.h:
3090 2005-09-19 Wim Taymans <wim@fluendo.com>
3092 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3093 Automatically PAUSE and RESUME a pipeline when a flushing seek
3096 2005-09-19 Andy Wingo <wingo@pobox.com>
3098 * gst/gstregistry.h: Spacing fixen.
3100 2005-09-19 Wim Taymans <wim@fluendo.com>
3102 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3103 Handle state change failure more correctly.
3105 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3107 * check/Makefile.am:
3108 * check/pipelines/cleanup.c: (run_pipeline):
3109 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3111 enable cleanup again after fixing the leak
3113 some more info on docs
3115 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3117 * check/Makefile.am:
3118 re-enable tests now that leaks are plugged
3120 * check/gst/gstbin.c:
3121 * check/gst/gstpipeline.c:
3122 add some more tests while fixing leaks
3124 make sure binaries are uptodate when valgrinding/gdbing
3126 * gst/gstelementfactory.c:
3127 remove a ref too many, and add a FIXME for when we get
3128 round to disposing of classes
3130 fix the refcounting when loading a plugin from a file and
3131 the code pretends that the pointer is the same even though
3132 of course it can change
3133 * gst/gstpluginfeature.c:
3134 unref plugins marked cached (a bit confusing as a name)
3135 as the docs state should be done
3136 various doc additions to explain refcounting
3137 * gst/gstregistry.c:
3138 * gst/gstregistryxml.c:
3141 2005-09-19 Wim Taymans <wim@fluendo.com>
3143 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3144 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3145 (send_messages), (GST_START_TEST), (gstbus_suite):
3146 * check/gst/gstpipeline.c: (GST_START_TEST):
3147 * check/pipelines/cleanup.c: (run_pipeline):
3148 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3150 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3151 (gst_bus_source_check), (gst_bus_source_dispatch),
3152 (gst_bus_create_watch), (gst_bus_add_watch_full),
3153 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3155 * tools/gst-launch.c: (event_loop):
3156 * tools/gst-md5sum.c: (event_loop):
3157 GstBusHandler -> GstBusFunc, return value has the same meaning as
3158 any other GSource (FALSE == remove source).
3159 _add_watch() and _add_watch_full() now take a MessageType mask to
3160 only handle specific types of messages.
3161 _poll() returns the GstMessage instead of the message type to avoid
3163 _have_pending() takes a MessageType mask now too.
3164 Added testsuite for multiple bus watches.
3165 Fix testsuites and applications for new bus API.
3167 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3169 * check/Makefile.am:
3170 mark a bunch of the tests as to fix until we fix them
3172 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3175 use GST_PLUGIN settings for valgrind tests as well, so we're
3176 valgrinding the correct thing
3177 * gst/gst.c: (init_post):
3180 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3182 * gst/gst.c: (init_post), (gst_deinit):
3183 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3184 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3185 * gst/gstindex.c: (gst_index_factory_class_init),
3186 (gst_index_factory_finalize):
3187 * gst/gstobject.c: (gst_object_dispose):
3188 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3189 (gst_plugin_load_file), (gst_plugin_desc_free):
3190 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3191 (gst_plugin_feature_finalize):
3192 * gst/gstregistry.c: (gst_registry_class_init),
3193 (gst_registry_init), (gst_registry_finalize),
3194 (gst_registry_get_default), (gst_registry_deinit):
3195 * gst/gstregistry.h:
3196 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3197 various cleanups and memleak plugging. make valgrind is happy now.
3199 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3202 add a check-valgrind target
3204 2005-09-18 David Schleef <ds@schleef.org>
3206 * tools/gst-inspect.c: Revert the GOption code.
3208 2005-09-17 David Schleef <ds@schleef.org>
3210 * check/Makefile.am: Fix environment variables.
3211 * check/gst/gstplugin.c: Fix for API changes.
3212 * tools/gst-inspect.c: Fix for API changes.
3213 * tools/gst-xmlinspect.c: Fix for API changes.
3214 * gst/gstelementfactory.c:
3217 * gst/gstpluginfeature.c:
3218 * gst/gstpluginfeature.h:
3219 * gst/gstregistry.c:
3220 * gst/gstregistry.h:
3221 * gst/gstregistryxml.c:
3222 * gst/gsttypefind.c:
3223 * gst/gsttypefindfactory.c:
3224 * gst/indexers/gstfileindex.c:
3225 * gst/indexers/gstmemindex.c:
3226 * gst/schedulers/Makefile.am:
3227 Change registry to keep track of both plugins and features,
3228 removing the feature tracking from plugins themselves.
3230 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3232 * check/Makefile.am:
3233 * tools/gst-register.1.in:
3236 2005-09-15 David Schleef <ds@schleef.org>
3238 * check/gst/gstplugin.c:
3239 * gst/gstelementfactory.c:
3241 * gst/gstpluginfeature.c:
3242 * gst/gstregistry.c:
3243 Getting tired of debugging. Disabled all the unreffing of
3244 plugins and features, which fixes the segfaults, but of
3245 course leaks like crazy. At least playbin works.
3247 2005-09-15 David Schleef <ds@schleef.org>
3249 * check/gst/gstplugin.c: (register_check_elements),
3250 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3252 * gst/elements/gsttypefindelement.c: Fix refcounting.
3253 * gst/gsttypefind.c:
3254 * gst/gsttypefindfactory.c:
3255 * gst/gsttypefindfactory.h:
3257 2005-09-15 David Schleef <ds@schleef.org>
3259 * gst/gstindex.c: get refcounting correct.
3260 * gst/gstregistry.c: Handle the case where a feature/plugin is
3263 2005-09-15 David Schleef <ds@schleef.org>
3265 * check/Makefile.am:
3266 * check/gst/gstplugin.c: Add test
3267 * gst/gstplugin.c: Fix problems noticed by testsuite
3269 * gst/gstregistry.c:
3270 * gst/gstregistry.h:
3272 2005-09-15 David Schleef <ds@schleef.org>
3274 * gst/gstplugin.c: Implement semi-decent recounting and locking
3275 in plugins and plugin features.
3277 * gst/gstpluginfeature.c:
3278 * gst/gstpluginfeature.h:
3279 * gst/gstregistry.c:
3281 2005-09-15 Michael Smith <msmith@fluendo.com>
3283 * gst/gstregistry.c: (gst_registry_get_feature_list):
3284 Implement this. Makes oggdemux work; decodebin still broken.
3286 2005-09-14 David Schleef <ds@schleef.org>
3288 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3290 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3291 * gst/check/Makefile.am:
3292 * libs/gst/controller/Makefile.am:
3293 * libs/gst/dataprotocol/Makefile.am:
3295 2005-09-14 David Schleef <ds@schleef.org>
3297 * configure.ac: Remove getbits library. Nothing uses it, and
3298 it should be in something like liboil if someone did want
3300 * libs/gst/Makefile.am:
3301 * libs/gst/getbits/Makefile.am:
3302 * libs/gst/getbits/gbtest.c:
3303 * libs/gst/getbits/getbits.c:
3304 * libs/gst/getbits/getbits.h:
3305 * libs/gst/getbits/gstgetbits_generic.c:
3306 * libs/gst/getbits/gstgetbits_i386.s:
3307 * libs/gst/getbits/gstgetbits_inl.h:
3309 2005-09-14 David Schleef <ds@schleef.org>
3311 * gst/Makefile.am: Dist glib-compat.h
3313 2005-09-14 David Schleef <ds@schleef.org>
3315 * configure.ac: Remove gst/registries, since it's no longer used.
3316 * gst/registries/Makefile.am:
3317 * gst/registries/gstlibxmlregistry.c:
3318 * gst/registries/gstlibxmlregistry.h:
3319 * gst/registries/gstxmlregistry.c:
3320 * gst/registries/gstxmlregistry.h:
3321 * gst/registries/registrytest.c:
3323 2005-09-14 David Schleef <ds@schleef.org>
3325 * gst/glib-compat.h:
3326 * gst/gstregistryxml.c:
3327 Convergence is near. Seriously.
3329 2005-09-14 David Schleef <ds@schleef.org>
3331 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3332 * gst/glib-compat.h:
3333 Attempt #4 to appease the buildbots.
3335 2005-09-14 David Schleef <ds@schleef.org>
3337 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3340 2005-09-14 David Schleef <ds@schleef.org>
3342 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3345 2005-09-14 David Schleef <ds@schleef.org>
3347 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3350 2005-09-14 David Schleef <ds@schleef.org>
3352 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3353 * gst/glib-compat.h: Add some functions that are in newer versions
3354 of glib than we care to require.
3355 * gst/gstregistryxml.c: Use them.
3357 2005-09-14 David Schleef <ds@schleef.org>
3359 * po/POTFILES.in: remove gst-register.c
3361 2005-09-14 David Schleef <ds@schleef.org>
3363 * docs/gst/gstreamer-docs.sgml:
3364 * docs/gst/gstreamer-sections.txt:
3365 * docs/gst/gstreamer.types:
3366 * docs/gst/tmpl/gstelement.sgml:
3367 * docs/gst/tmpl/gstplugin.sgml:
3368 * docs/gst/tmpl/gstpluginfeature.sgml:
3369 Documentation updates for registry changes.
3371 2005-09-14 David Schleef <ds@schleef.org>
3373 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3374 because we don't require glib-2.8.
3376 2005-09-14 David Schleef <ds@schleef.org>
3378 * gst/gstregistryxml.c: Added. Essentially moved out of the
3379 registries directory.
3381 2005-09-14 David Schleef <ds@schleef.org>
3383 * check/Makefile.am:
3384 * check/generic/states.c:
3388 * gst/gst_private.h:
3389 * gst/gstelementfactory.c:
3394 * gst/gstpluginfeature.c:
3395 * gst/gstpluginfeature.h:
3396 * gst/gstregistry.c:
3397 * gst/gstregistry.h:
3398 * gst/gstregistrypool.c: remove
3399 * gst/gstregistrypool.h: remove
3400 * gst/gsttypefind.c:
3401 * gst/gsttypefindfactory.c:
3403 * tools/Makefile.am:
3404 * tools/gst-compprep.c:
3405 * tools/gst-inspect.c:
3406 * tools/gst-register.c: remove
3407 * tools/gst-xmlinspect.c:
3408 Registry rewrite. Changes registry from being a file created
3409 by a tool into a simple cache file created automatically by
3410 libgstreamer. Removed gst-register (because it's no longer
3411 needed). Remove registry pools, because we only have one
3412 registry implementation (XML). Fix up other subsystems as
3415 2005-09-13 Michael Smith <msmith@fluendo.com>
3417 * gst/gstconfig.h.in:
3418 Don't Use windows linking attributes for MinGW. Fixes #316157
3420 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3422 * gst/gstutils.c: (set_state_async_thread_func),
3423 (gst_element_set_state_async):
3424 Apparently people think it's better if this function doesn't
3425 try to set the state to whatever state was asked for on the first
3426 call to this function for any object. Seriously.
3428 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3430 * check/gst/gstpipeline.c: (GST_START_TEST):
3431 * docs/gst/gstreamer-sections.txt:
3432 * gst/gstutils.c: (set_state_async_thread_func),
3433 (gst_element_set_state_async):
3435 add a "gst_element_set_state_async" method that
3436 sets the state and starts a thread to make sure the state
3437 change completes as best as it can
3439 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3441 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3442 codify design+behaviour in testsuite after discussion
3444 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3446 * docs/gst/tmpl/gstelement.sgml:
3447 * docs/manual/appendix-quotes.xml:
3449 * gst/gstelement.c: (gst_element_set_state):
3452 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3454 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3455 (gst_base_transform_prepare_output_buf),
3456 (gst_base_transform_handle_buffer):
3457 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3458 (gst_capsfilter_prepare_buf):
3459 Remove the requirement for sub-classes to call the parent
3460 implementation of prepare_output_buffer with a wrapper function.
3463 * gst/gsttagsetter.h:
3466 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3468 * docs/gst/gstreamer-sections.txt:
3471 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3473 * docs/gst/gstreamer-sections.txt:
3474 * docs/gst/tmpl/gstelement.sgml:
3475 * docs/gst/tmpl/gstplugin.sgml:
3476 * gst/gstminiobject.c:
3478 docs now stop throwing warnings
3480 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3482 * docs/gst/gstreamer-sections.txt:
3483 * docs/gst/gstreamer.types:
3484 * docs/gst/tmpl/gstpad.sgml:
3485 * docs/gst/tmpl/gsttypes.sgml:
3486 * gst/base/gstadapter.h:
3487 * gst/base/gstbasesink.h:
3488 * gst/base/gstbasesrc.h:
3498 * gst/gststructure.c:
3499 * gst/registries/gstlibxmlregistry.h:
3500 various documentation fixes
3502 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3504 * docs/gst/gstreamer-sections.txt:
3505 * docs/gst/tmpl/gstvalue.sgml:
3506 rearrange gstvalue section
3507 * gst/gstutils.c: (gst_element_state_get_name):
3509 * gst/gstvalue.c: (_gst_value_initialize):
3513 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3515 * check/gst-libs/controller.c:
3517 * gst/base/gstbasetransform.c:
3518 (gst_base_transform_default_prepare_buf),
3519 (gst_base_transform_handle_buffer):
3520 * gst/base/gstbasetransform.h:
3521 Some more basetransform changes and fixes to enable sub-classes
3522 that modify buffer metadata only.
3523 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3524 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3525 (gst_capsfilter_prepare_buf):
3526 If the output pad has fixed allowed caps and input buffers
3527 don't have any, set the fixed caps on outgoing buffers.
3529 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3530 * check/elements/identity.c: (GST_START_TEST):
3531 Make the error a little clearer when the test fails because
3532 identity made a copy of the buffer.
3533 * docs/gst/gstreamer-sections.txt:
3534 New symbols in gstbasetransform.h
3535 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3536 (gst_base_transform_init), (gst_base_transform_transform_size),
3537 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3538 (gst_base_transform_default_prepare_buf),
3539 (gst_base_transform_get_unit_size),
3540 (gst_base_transform_buffer_alloc),
3541 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3542 (gst_base_transform_change_state),
3543 (gst_base_transform_set_passthrough),
3544 (gst_base_transform_set_in_place),
3545 (gst_base_transform_is_in_place):
3546 * gst/base/gstbasetransform.h:
3547 Change BaseTransform to separate in_place operate from same_caps
3548 output. in_place implies that the element can perform the transform
3549 on incoming buffers in-place, even if the caps on the output are
3551 Sub-class elements can now implement special buffer allocation
3552 methods for outgoing buffers if they wish to.
3553 Big documentation addition.
3554 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3555 * gst/elements/gstelements.c:
3556 Changes for basetransform modifications.
3557 * gst/elements/Makefile.am:
3558 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3559 Compile fix. Extra debug output.
3561 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3563 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3565 add tests for valid pad naming
3566 * gst/check/gstcheck.c: (gst_check_log_message_func),
3567 (gst_check_log_critical_func):
3569 remove printing of code, it is fragile when the code contains
3570 % and the line number is enough info
3571 * gst/check/gstcheck.h:
3572 * gst/gstpad.c: (gst_pad_template_new):
3575 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3578 say what CHECK flags we use
3579 * docs/libs/gstreamer-libs.types:
3580 * libs/gst/controller/Makefile.am:
3581 * libs/gst/controller/gst-controller.c:
3582 * libs/gst/controller/gst-controller.h:
3583 * libs/gst/controller/gst-helper.c:
3584 * libs/gst/controller/gst-interpolation.c:
3585 * libs/gst/controller/gstcontroller.c:
3586 * libs/gst/controller/gsthelper.c:
3587 * libs/gst/controller/gstinterpolation.c:
3588 * tools/gst-inspect.c: (print_plugin_info):
3589 we don't use dashes in header names
3591 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3593 * check/Makefile.am:
3594 * check/gst/.cvsignore:
3595 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3596 (gst_pipeline_suite), (main):
3597 adding a test for pipelines and state changes
3598 * gst/gstutils.c: (get_state_func):
3600 * gstreamer.spec.in:
3603 2005-09-08 Michael Smith <msmith@fluendo.com>
3605 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3606 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3607 (gst_file_src_is_seekable), (gst_file_src_get_size),
3608 (gst_file_src_start):
3609 * gst/elements/gstfilesrc.h:
3610 Various fixes for unseekable, unmmapable, and non-normal files, so
3611 that fallback to read() rather than mmap() works.
3612 * gst/gstevent.c: (gst_event_new_newsegment):
3613 Allow newsegment events with segment_start == segment_end, as will
3614 correctly happen if you use filesrc on a zero-size file, for
3617 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3619 * gst/gstplugin.c: (gst_plugin_load_file):
3620 Call g_module_close when we don't load the module
3622 * gst/registries/gstlibxmlregistry.c:
3623 (gst_xml_registry_get_property):
3624 Port leak fix from 0.8
3626 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3628 * docs/gst/gstreamer-docs.sgml:
3629 * docs/gst/tmpl/.cvsignore:
3630 * docs/gst/tmpl/gsttrace.sgml:
3631 * docs/gst/tmpl/gsttrashstack.sgml:
3640 * gst/gsttaginterface.c:
3641 * gst/gsttaginterface.h:
3644 * gst/gsttagsetter.c:
3645 * gst/gsttagsetter.h:
3648 * gst/gsttrashstack.c:
3649 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3650 inlined docs for gsttrace, gsttrashstack
3652 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3655 * gst/elements/gstbufferstore.h:
3656 * gst/elements/gsttypefindelement.c:
3657 * gst/elements/gsttypefindelement.h:
3659 * gst/gsttypefind.c:
3660 * gst/gsttypefind.h:
3661 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3662 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3663 (gst_type_find_factory_dispose),
3664 (gst_type_find_factory_unload_thyself),
3665 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3666 (gst_type_find_factory_get_caps),
3667 (gst_type_find_factory_get_extensions),
3668 (gst_type_find_factory_call_function):
3669 * gst/gsttypefindfactory.h:
3670 * gst/registries/gstlibxmlregistry.c:
3671 * gst/registries/gstxmlregistry.c:
3672 splitted gsttypefind into gsttypefind, gsttypefindfactory
3674 2005-09-07 Andy Wingo <wingo@pobox.com>
3676 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3677 condition whereby the pad's task function is entered before the
3678 pad_mode variable was set.
3680 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3682 * gst/gstpad.c: (gst_pad_alloc_buffer):
3683 Catch misbehaving pad_alloc functions that don't
3684 set up caps and do it for them.
3686 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3688 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3690 * docs/gst/tmpl/.cvsignore:
3691 * docs/gst/tmpl/gstmemchunk.sgml:
3692 * docs/gst/tmpl/gstparse.sgml:
3693 * docs/gst/tmpl/gsttaglist.sgml:
3694 * docs/gst/tmpl/gsttagsetter.sgml:
3695 * docs/gst/tmpl/gsttypefind.sgml:
3696 * docs/gst/tmpl/gsttypefindfactory.sgml:
3697 * gst/gstmemchunk.c:
3700 * gst/gsttaginterface.c:
3701 * gst/gsttypefind.c:
3702 * gst/gsttypefind.h:
3705 === release 0.9.2 ===
3707 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3712 releasing 0.9.2, "South"
3714 2005-09-05 Andy Wingo <wingo@pobox.com>
3716 * gst/registries/gstxmlregistry.h:
3717 * gst/registries/gstxmlregistry.c: Um... resurrect...
3719 * gst/registries/gstxmlregistry.h:
3720 * gst/registries/gstxmlregistry.c: and update to newer API.
3721 Incidentally they should be a bit faster now that they don't have
3724 2005-09-05 Andy Wingo <wingo@pobox.com>
3726 * gst/registries/gstxmlregistry.h:
3727 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3728 replaced by the libxml registry a while back
3730 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3732 * docs/gst/tmpl/gstplugin.sgml:
3733 * gst/elements/gstelements.c:
3735 * gst/gstplugin.c: (gst_plugin_register_func),
3736 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3737 (gst_plugin_get_source):
3739 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3740 (gst_xml_registry_save_plugin):
3741 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3742 (gst_xml_registry_save_plugin):
3743 * tools/gst-inspect.c: (print_plugin_info):
3744 add a "source" plugin description field, to represent the source
3745 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3746 will set it to PACKAGE, which is automake's idea of the name of
3749 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3755 * docs/faq/Makefile.am:
3756 * docs/gst/tmpl/gstelement.sgml:
3757 * docs/gst/tmpl/gsttypes.sgml:
3758 * docs/htmlinstall.mak:
3759 * docs/manual/Makefile.am:
3760 * docs/pwg/Makefile.am:
3761 reorganize doc build a little
3762 split out docbook and gtk-doc stuff
3763 have two separate --enable's and enable them through autogen
3764 but disable by default in configure (to be similar to other
3766 * gstreamer.spec.in:
3767 clean up docs install
3787 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3789 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3792 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3793 (gst_fake_sink_change_state):
3794 Make state change function thread-safe.
3796 * gst/gstpad.c: (gst_pad_alloc_buffer):
3797 Set offset on generic buffer allocated by fallback.
3799 2005-09-03 Stefan Kost <ensonic@users.sf.net>
3801 * docs/gst/gstreamer-sections.txt:
3802 * docs/gst/tmpl/gstelement.sgml:
3804 * libs/gst/controller/gst-controller.c:
3805 (gst_controlled_property_set_interpolation_mode),
3806 (gst_controlled_property_new),
3807 (gst_controller_find_controlled_property):
3808 run the wingo-magic script against the docs
3810 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3812 * docs/gst/gstreamer-docs.sgml:
3813 * docs/gst/gstreamer-sections.txt:
3814 * docs/gst/tmpl/.cvsignore:
3815 * docs/gst/tmpl/gstelementdetails.sgml:
3816 * docs/gst/tmpl/gstelementfactory.sgml:
3819 * gst/gstelementfactory.c:
3820 * gst/gstelementfactory.h:
3821 merged elementdetails docs into elementfactory docs
3824 2005-09-02 Andy Wingo <wingo@pobox.com>
3826 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
3827 consider this enum an enum and not a flags.
3829 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3831 * docs/gst/gstreamer-docs.sgml:
3832 * docs/gst/tmpl/.cvsignore:
3833 * docs/gst/tmpl/gstghostpad.sgml:
3834 * docs/gst/tmpl/gstiterator.sgml:
3835 * docs/gst/tmpl/gstmacros.sgml:
3836 * docs/gst/tmpl/gstrealpad.sgml:
3837 * docs/gst/tmpl/gstregistry.sgml:
3838 * docs/gst/tmpl/gstregistrypool.sgml:
3839 * docs/gst/tmpl/gststructure.sgml:
3840 * docs/gst/tmpl/gstsystemclock.sgml:
3841 * docs/gst/tmpl/gsttrace.sgml:
3842 * gst/gstghostpad.c:
3844 * gst/gstmemchunk.c:
3845 * gst/gstmemchunk.h:
3847 * gst/gstregistry.c:
3848 * gst/gstregistrypool.c:
3849 * gst/gststructure.c:
3850 * gst/gstsystemclock.c:
3853 2005-09-02 Andy Wingo <wingo@pobox.com>
3855 * gst/gstelement.h (GstState): Renamed from GstElementState,
3856 changed to be a normal enum instead of flags.
3857 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
3858 munged to be GST_STATE_CHANGE_*.
3859 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
3860 work with the new state representation.
3861 (GstStateChange): New enumeration of possible state transitions.
3862 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
3863 (GstElementClass::change_state): Pass the GstStateChange along as
3864 an argument. Helps language bindings, so they don't have to use
3865 tricky lock-needing macros like GST_STATE_CHANGE ().
3867 * scripts/update-states (file): New script. Run it on a file to
3868 update it for state naming and API changes. Updates files in
3871 * All files updated for the new API.
3873 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
3875 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
3876 * gst/gstutils.c: (gst_util_set_value_from_string),
3877 (gst_util_set_object_arg):
3878 fix a bunch of unchecked return values
3879 * tools/gst-complete.c: (main):
3880 * gstreamer.spec.in:
3883 2005-09-01 Wim Taymans <wim@fluendo.com>
3885 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3886 (gst_base_sink_event), (gst_base_sink_do_sync),
3887 (gst_base_sink_handle_event):
3888 * gst/base/gstbasesink.h:
3889 Handle newsegments more correctly.
3894 * gst/gstevent.c: (gst_event_new_newsegment):
3895 A newsegment cannot have a start_time of -1
3897 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
3899 * win32/gstenumtypes.c:
3900 * win32/gstenumtypes.h:
3903 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3905 * libs/gst/controller/gst-controller.c:
3906 (gst_controlled_property_set_interpolation_mode),
3907 (gst_controlled_property_new):
3910 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
3912 * docs/faq/gst-uninstalled:
3917 * gst/gstutils.c: (gst_element_link_filtered):
3919 add gst_element_link_filtered
3921 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3923 * docs/gst/gstreamer-docs.sgml:
3924 * docs/gst/gstreamer-sections.txt:
3925 * docs/gst/tmpl/.cvsignore:
3926 * docs/gst/tmpl/gsterror.sgml:
3927 * docs/gst/tmpl/gstfilter.sgml:
3928 * docs/gst/tmpl/gsturihandler.sgml:
3929 * docs/gst/tmpl/gsturitype.sgml:
3930 * docs/gst/tmpl/gstutils.sgml:
3931 * docs/gst/tmpl/gstxml.sgml:
3939 inlined more docs, fixed double id-ref
3941 2005-08-31 Wim Taymans <wim@fluendo.com>
3943 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3944 (gst_base_transform_handle_buffer):
3945 Passthrough elements don't need the caps as they don't care.
3947 2005-08-31 Wim Taymans <wim@fluendo.com>
3949 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3950 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
3951 Don't leak refcounts on buffers.
3953 2005-08-31 Wim Taymans <wim@fluendo.com>
3955 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
3956 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
3957 (gst_base_transform_chain), (gst_base_transform_change_state):
3958 * gst/base/gstbasetransform.h:
3959 Handle the case where we are not negotiated more gracefully.
3961 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
3963 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
3964 (gst_file_src_map_region):
3965 Set READONLY flag on mmap'ed buffers, otherwise
3966 gst_buffer_make_writable() won't work properly (#314708).
3968 2005-08-31 Wim Taymans <wim@fluendo.com>
3970 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
3971 passthrough elements can even do inplace on non writable
3972 buffers (as they don't touch them).
3974 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3976 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3977 (gst_test_mono_source_set_property),
3978 (gst_test_mono_source_class_init), (GST_START_TEST),
3979 (gst_controller_suite):
3980 more tests (hehe I have the most)
3982 describe popping messages whenusing mulltiple sources
3983 * libs/gst/controller/gst-controller.c:
3984 (gst_controlled_property_set_interpolation_mode),
3985 (gst_controlled_property_new):
3986 * libs/gst/controller/gst-controller.h:
3987 * libs/gst/controller/gst-interpolation.c:
3988 implement boolean properties
3990 2005-08-31 Wim Taymans <wim@fluendo.com>
3992 * gst/gstminiobject.c: (gst_mini_object_ref):
3993 Cannot assert that the refcount has to be positive
3994 since a disposed object can be resurrected.
3996 2005-08-31 Wim Taymans <wim@fluendo.com>
3998 * gst/gstpad.c: (gst_pad_init):
3999 Revert change, need to first fix badly behaving
4002 2005-08-30 Wim Taymans <wim@fluendo.com>
4004 * check/elements/fakesrc.c: (setup_fakesrc):
4005 * check/elements/identity.c: (setup_identity):
4006 Activate pads before using them.
4008 2005-08-30 Wim Taymans <wim@fluendo.com>
4010 * gst/base/gstadapter.c: (gst_adapter_flush):
4011 Flushing out 0 bytes is ok for this function.
4013 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4014 no newsegment gives a warning and sets the start/stop to
4017 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4018 (gst_base_transform_set_passthrough):
4021 * gst/gstminiobject.c: (gst_mini_object_ref):
4022 Check refcount here too.
4024 * gst/gstpad.c: (gst_pad_init):
4025 Pads are initially flushing and refusing data.
4027 * gst/gstutils.c: (gst_element_link_pads_filtered):
4028 When adding a capsfilter element make sure it has the
4029 same state as the parent bin.
4031 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4033 * docs/gst/tmpl/.cvsignore:
4034 * docs/gst/tmpl/gstformat.sgml:
4035 * docs/gst/tmpl/gstversion.sgml:
4039 * gst/gstversion.h.in:
4040 more docs and two more inlined
4042 2005-08-30 Wim Taymans <wim@fluendo.com>
4044 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4045 Don't sync to clock.
4047 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4049 * docs/gst/gstreamer-sections.txt:
4050 ultral33t func10ns deserve to appear in the docs actually
4051 * docs/gst/tmpl/.cvsignore:
4052 * docs/gst/tmpl/gstcompat.sgml:
4053 * docs/gst/tmpl/gstconfig.sgml:
4054 * gst/check/gstcheck.c:
4056 * gst/gstconfig.h.in:
4059 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4061 * docs/gst/tmpl/.cvsignore:
4062 * docs/gst/tmpl/gstquery.sgml:
4063 * docs/gst/tmpl/gstutils.sgml:
4066 inlined and extended docs
4068 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4070 * check/gst-libs/controller.c: (GST_START_TEST),
4071 (gst_controller_suite):
4073 * docs/gst/tmpl/gstutils.sgml:
4074 * docs/libs/gstreamer-libs-sections.txt:
4075 * docs/libs/tmpl/gstdataprotocol.sgml:
4077 * examples/controller/audio-example.c: (main):
4078 controller example works now
4081 * tools/gst-inspect.c: (print_element_properties_info):
4082 show param spec flags
4084 2005-08-29 Andy Wingo <wingo@pobox.com>
4086 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4088 2005-08-28 Andy Wingo <wingo@pobox.com>
4090 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4091 as having two arguments instead of just one. Allows superclasses
4092 to access information on subclasses -- see the terrible for() loop
4093 in gtype.c:g_type_create_instance for the reason why. All callers
4096 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4098 * docs/design/part-messages.txt:
4100 * docs/gst/tmpl/.cvsignore:
4101 * docs/gst/tmpl/gstcaps.sgml:
4102 * docs/gst/tmpl/gstclock.sgml:
4109 added descriptions for bus and message
4110 inline caps and clock docs
4112 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4118 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4120 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4123 2005-08-26 Andy Wingo <wingo@pobox.com>
4125 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4126 element_set_state's return val.
4127 (test_2_elements): Add test that's been disabled for months.
4129 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4130 can-activate-pull properties.
4132 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4133 can-activate-pull properties. Implement is_seekable so fakesrc can
4134 operate in pull mode.
4136 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4138 (gst_base_sink_activate, gst_base_sink_activate_pull)
4139 (gst_base_sink_activate_push): Make activation mode choosing work.
4141 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4142 is right. Make pull mode work. Post an eos before pausing in pull
4144 (gst_base_sink_change_state): Pay attention to the core's
4145 change_state() return val.
4147 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4148 has-getrange properties. Cleanups.
4150 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4151 has_getrange and replace with can_activate_pull and
4154 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4155 locking comments. Remove has_loop, has_chain and replace with
4156 can_activate_pull and can_activate_push.
4158 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4161 * examples/Makefile.am:
4162 * examples/metadata/Makefile.am:
4163 * examples/metadata/read-metadata.c: (message_loop),
4164 (have_pad_handler), (make_pipeline), (print_tag), (main):
4165 Add metadata reading example that loops over a list of filenames,
4166 dumping any tags found.
4168 * gst/gstbus.c: (gst_bus_dispose):
4169 * gst/gstelement.c: (gst_element_dispose):
4170 Release a few potentially-held references in dispose.
4172 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4174 * docs/gst/tmpl/gstminiobject.sgml:
4175 do *not* add tmpl/*.sgml files to CVS!
4177 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4179 * libs/gst/bytestream/.cvsignore:
4180 * libs/gst/bytestream/Makefile.am:
4181 * libs/gst/bytestream/adapter.c:
4182 * libs/gst/bytestream/adapter.h:
4183 * libs/gst/bytestream/bytestream.c:
4184 * libs/gst/bytestream/bytestream.h:
4185 * libs/gst/bytestream/filepad.c:
4186 * libs/gst/bytestream/filepad.h:
4187 removing obsolete files
4189 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4191 * docs/gst/gstreamer-docs.sgml:
4192 * docs/libs/gstreamer-libs-docs.sgml:
4193 disabed additional index entries again, as this makes docs-gen just
4194 slow and they aren't useful yet
4195 * docs/libs/gstreamer-libs-sections.txt:
4196 little -section.txt cleanup for libs
4198 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4200 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4201 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4202 fix up some debugging
4203 (gst_base_transform_get_unit_size),
4204 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4205 (gst_base_transform_handle_buffer):
4206 * gst/base/gstbasetransform.h:
4207 handle and store timed NEWSEGMENT events so that subclasses that
4208 calculate time by counting samples have a segment_start time they
4209 need to add to their timestamps - see audioresample
4211 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4214 removed ';' from the end of macro defs
4215 * docs/gst/gstreamer-docs.sgml:
4216 * docs/gst/gstreamer-sections.txt:
4217 * docs/gst/tmpl/.cvsignore:
4219 * gst/gstelement.c: (gst_element_class_init),
4220 (gst_element_set_state), (activate_pads),
4221 (gst_element_save_thyself):
4222 * gst/gstevent.c: (gst_event_new_newsegment):
4224 * gst/gstiterator.c:
4225 * gst/gstiterator.h:
4228 * gst/gstutils.c: (gst_pad_query_convert):
4230 fixed parameter name mismatches between source, header and docs
4231 added some more docs, resolved the last batch of unused elements in
4232 docs (now someone needs to doc them)
4234 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4236 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4237 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4238 don't walk through the plugins backwards. Where is all this
4239 reversed logic coming from ?
4241 2005-08-25 Wim Taymans <wim@fluendo.com>
4243 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4244 (gst_base_transform_transform_size),
4245 (gst_base_transform_configure_caps),
4246 (gst_base_transform_get_unit_size),
4247 (gst_base_transform_buffer_alloc),
4248 (gst_base_transform_change_state):
4249 * gst/base/gstbasetransform.h:
4250 Cache caps unit_size.
4251 Make sure we cannot negotiate up and downstream at the
4254 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4256 * gst/gst.c: (init_pre), (init_post):
4257 register the installed plugin path after the env var
4258 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4259 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4260 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4261 directories, so the tests can prefer uninstalled over installed
4263 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4265 * gst/base/gstbasetransform.h:
4270 2005-08-25 Wim Taymans <wim@fluendo.com>
4272 * gst/gstbin.c: (bin_bus_handler):
4273 Be a bit more conservative about the posted message.
4275 * gst/gstbus.c: (gst_bus_post):
4276 Some cleanups, warn wrong return values.
4278 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4280 * check/gst/gstbin.c: (GST_START_TEST):
4281 * gst/gstbin.c: (bin_bus_handler):
4282 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4283 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4284 (gst_message_new_warning), (gst_message_new_tag),
4285 (gst_message_new_state_changed), (gst_message_new_segment_start),
4286 (gst_message_new_segment_done), (gst_message_new_custom):
4288 * tools/gst-launch.c: (event_loop):
4289 * tools/gst-md5sum.c: (event_loop):
4290 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4292 2005-08-25 Wim Taymans <wim@fluendo.com>
4294 * check/generic/states.c: (GST_START_TEST):
4295 Cleanup can be done at the end.
4297 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4298 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4299 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4300 Oh boy.. Thanks for finding this, Thomas.
4302 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4304 * docs/gst/gstreamer.types:
4307 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4309 * docs/gst/gstreamer-docs.sgml:
4310 * docs/gst/gstreamer-sections.txt:
4311 * docs/gst/tmpl/.cvsignore:
4313 * gst/gstiterator.c:
4315 * gst/registries/gstxmlregistry.h:
4316 added missing classes and symbols (123 more to go)
4317 removed removed symbols from section file
4318 fixed many doc-comments
4320 2005-08-24 Wim Taymans <wim@fluendo.com>
4322 * check/generic/states.c: (GST_START_TEST):
4323 Make sure all tasks are stopped.
4325 * check/gst/gstbin.c: (GST_START_TEST):
4326 Unref after usage for proper valgrinding.
4328 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4329 Really wait for the task to stop before destroying the
4332 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4333 (gst_queue_src_activate_push):
4334 Small cleanups. Don't stop the task when we did not start
4337 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4338 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4339 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4342 Protect the stream lock with the object lock.
4343 Disallow setting the stream lock when running.
4344 Add cleanup_all to wait for the threadpool to finish.
4345 Remove code to autoallocate a mutex if none was provided.
4346 Add _join() to wait for a task to stop.
4347 Protect the thread pool with a global lock.
4349 2005-08-24 Wim Taymans <wim@fluendo.com>
4351 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4352 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4353 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4354 * gst/base/gstbasesink.h:
4355 Handle newsegment events correctly.
4356 Drop buffers out of the segment range.
4358 2005-08-22 Andy Wingo <wingo@pobox.com>
4360 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4361 macro, implements an interface and gstimplementsinterface for a
4364 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4366 * check/Makefile.am:
4367 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4368 add a test that does a bunch of state changes on elements
4369 needs some fixing for valgrind
4370 * check/states/sinks.c: (gst_object_suite):
4373 add prototype for gst_caps_is_equal_fixed
4375 * gst/gstregistrypool.c:
4378 2005-08-24 Andy Wingo <wingo@pobox.com>
4380 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4381 convert a negative value. Doesn't make much sense. Mostly this is
4382 here to force callers to ensure -1 maps to -1.
4384 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4386 * docs/pwg/advanced-types.xml:
4387 Well done to Michael for catching my deliberate introduction
4388 of this spelling mistake.
4389 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4391 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4392 unlink pads before removing the element from the bin.
4394 2005-08-24 Andy Wingo <wingo@pobox.com>
4396 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4397 the same thing as GST_DEBUG=*:4.
4398 (parse_debug_level, parse_debug_category): New helper parsers.
4400 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4402 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4403 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4404 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4405 (gst_base_transform_buffer_alloc),
4406 (gst_base_transform_handle_buffer):
4407 use gboolean return values and pointers to size so we can use the
4408 full GST_BUFFER_SIZE range (guint) for buffer sizes
4409 use GstPadDirection for transform_caps
4410 * gst/base/gstbasetransform.h:
4411 rename get_size to get_unit_size since that's what it is
4412 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4413 use GstPadDirection for transform_caps
4414 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4416 cleanup and debugging
4418 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4420 * gst/gstelement.c: (gst_element_class_init),
4421 (gst_element_set_state), (activate_pads),
4422 (gst_element_save_thyself):
4423 * tools/gst-compprep.c: (main):
4424 * tools/gst-inspect.c: (print_element_properties_info):
4425 * tools/gst-xmlinspect.c: (print_element_properties):
4426 Fixed long standing mem-leak
4428 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4430 * check/gst/gstbin.c: (GST_START_TEST):
4431 * gst/gstbin.c: (bin_bus_handler):
4432 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4433 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4434 (gst_message_new_warning), (gst_message_new_tag),
4435 (gst_message_new_state_changed), (gst_message_new_segment_start),
4436 (gst_message_new_segment_done), (gst_message_new_custom):
4438 * tools/gst-launch.c: (event_loop):
4439 * tools/gst-md5sum.c: (event_loop):
4440 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4441 that applications can sensibly post custom messages with references
4442 to their own objects.
4444 2005-08-24 Andy Wingo <wingo@pobox.com>
4446 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4449 2005-08-24 Wim Taymans <wim@fluendo.com>
4451 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4452 (gst_base_transform_transform_caps),
4453 (gst_base_transform_transform_size),
4454 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4455 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4456 (gst_base_transform_handle_buffer):
4457 * gst/base/gstbasetransform.h:
4458 Many fixes and new features added by Thomas. Can now also do
4459 transforms with variable sizes and a custom fixate_caps function.
4461 2005-08-24 Wim Taymans <wim@fluendo.com>
4463 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4467 Cast to ClockTime before formatting to time.
4472 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4474 * check/gst-libs/controller.c: (GST_START_TEST),
4475 (gst_controller_suite):
4476 * docs/gst/tmpl/gstcaps.sgml:
4477 * docs/gst/tmpl/gstghostpad.sgml:
4478 * docs/gst/tmpl/gstquery.sgml:
4479 * docs/gst/tmpl/gstutils.sgml:
4480 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4481 (gst_object_sink_values), (gst_object_get_value_arrays),
4482 (gst_object_get_value_array):
4483 gracefully handle helper method calls to objects that are not beeing
4484 controlled, added test case for that
4486 2005-08-23 Wim Taymans <wim@fluendo.com>
4488 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4489 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4490 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4491 (gst_event_parse_qos), (gst_event_new_seek),
4492 (gst_event_parse_seek):
4494 Some more debugging output and doc cleanups.
4496 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4497 Fix possible deadlock.
4499 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4501 * docs/gst/gstreamer-docs.sgml:
4502 * docs/gst/gstreamer-sections.txt:
4503 * docs/gst/gstreamer.types:
4504 * docs/gst/tmpl/.cvsignore:
4509 added 100 symbols from gstreamer-unused.txt to the right sections
4510 fixed more broken comments
4511 added GstBus to docs
4513 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4515 * docs/gst/gstreamer-sections.txt:
4516 * docs/gst/tmpl/.cvsignore:
4517 * docs/gst/tmpl/gstbin.sgml:
4518 * docs/gst/tmpl/gstbuffer.sgml:
4519 * gst/base/gstbasesrc.c:
4520 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4523 * tools/gst-launch.1.in:
4524 inlined more doc comments, added missing comments and fixed comments
4527 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4529 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4533 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4535 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4536 * gst/gststructure.h:
4537 add a fixate function for booleans; add a FIXME that these func
4538 names should probably be gst_structure_fixate_*
4540 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4542 * docs/gst/gstreamer-docs.sgml:
4543 * docs/gst/gstreamer-sections.txt:
4545 * gst/gstbin.c: (gst_bin_get_type),
4546 (gst_bin_child_proxy_get_child_by_index),
4547 (gst_bin_child_proxy_get_children_count),
4548 (gst_bin_child_proxy_init):
4549 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4550 (gst_child_proxy_get_child_by_index),
4551 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4552 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4553 (gst_child_proxy_get), (gst_child_proxy_set_property),
4554 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4555 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4556 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4557 * gst/gstchildproxy.h:
4558 * gst/parse/grammar.y:
4559 * tools/gst-inspect.c: (print_interfaces),
4560 (print_element_properties_info), (print_element_info):
4561 ported gstchildproxy over from 0.8
4562 ported gst-inspect fixes and enhancements over from 0.8
4564 2005-08-22 Wim Taymans <wim@fluendo.com>
4566 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4567 (gst_base_transform_handle_buffer):
4568 Also call the transform function if we have ANY caps.
4570 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4573 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4575 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4576 Don't pretend to handle seek events if the source is not seekable
4578 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4580 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4581 Remove extra parameter to debug output
4583 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4584 (gst_base_src_do_seek), (gst_base_src_activate_push):
4585 Fix seek event handling.
4587 * gst/gstpipeline.c: (gst_pipeline_change_state):
4588 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4589 (gst_queue_src_activate_push):
4590 Don't start the src pad task on FLUSH_STOP if the pad
4594 2005-08-22 Wim Taymans <wim@fluendo.com>
4596 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4597 Added check for gst_static_caps_get() refcounting.
4599 2005-08-22 Wim Taymans <wim@fluendo.com>
4601 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4602 Make _static_caps_get() refcounting sane.
4604 * gst/gstelement.c: (gst_element_set_state):
4605 Add g_return_val_if_fail() to protect against segfaults.
4607 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4609 * docs/gst/tmpl/gstevent.sgml:
4612 inlined remaining docs, added missing doc comments
4614 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4616 * check/gst/gstbin.c: (GST_START_TEST):
4617 since we don't know when preroll is done, use refcount range
4619 * gst/check/gstcheck.h:
4620 add macro for checking refcount range
4622 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4624 * check/Makefile.am:
4625 clean up environment for when registry gets built versus
4626 when actual tests are run; valgrind seems to not report
4627 leaks if GST_PLUGIN_PATH is set to some specific values
4628 * check/gst/gstbin.c: (GST_START_TEST):
4629 add more refcounting checks; maybe this exposes a
4632 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4633 * gst/check/gstcheck.h:
4634 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4635 (gst_bin_change_state):
4636 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4637 add/fix debugging/whitespace
4639 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4641 * check/gst/gstevent.c: (event_probe), (test_event),
4643 Er, don't call gst_bin_watch_for_state_change you idiot.
4645 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4647 * check/Makefile.am:
4648 Use CHECK_CFLAGS and CHECK_LIBS
4649 * check/gst/gstevent.c: (event_probe), (test_event),
4652 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4653 (gst_base_src_start), (gst_base_src_stop),
4654 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4655 (gst_base_src_change_state):
4656 Sprinkle gst_base_src_stop liberally around error paths to fix
4657 problems reusing a source after failed state changes.
4658 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4659 (helper_find_suggest), (gst_type_find_helper):
4660 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4662 * docs/gst/tmpl/gstevent.sgml:
4663 Migrate part of the docs from the SGML file. Wait for ensonic to
4664 tell me how I did it wrong ;)
4665 * tools/gst-typefind.c: (main):
4666 Extra robustness to state changes between files.
4668 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4670 * check/Makefile.am:
4671 don't valgrind the controller test - it's leaking - Stefan, HELP
4672 * gst/check/gstcheck.c: (gst_check_message_error),
4673 (gst_check_chain_func), (gst_check_setup_element),
4674 (gst_check_teardown_element), (gst_check_setup_src_pad),
4675 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4676 (gst_check_teardown_sink_pad):
4677 * gst/check/gstcheck.h:
4678 add a bunch of methods to set up elements, and src and sink pads
4679 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4680 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4685 whitespace/doc fixes
4687 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4690 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4691 be handled by the application and not always printed as well
4693 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4695 * check/Makefile.am:
4697 * gst/check/gstcheck.c: (gst_check_message_error):
4698 * gst/check/gstcheck.h:
4699 add a fail_unless_equals_int
4700 add fail_unless for error messages
4702 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4704 * check/Makefile.am:
4706 * common/Makefile.am:
4709 factor out some of the common stuff so we can use it
4711 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4713 * check/Makefile.am:
4714 * check/gst/gstiterator.c: (GST_START_TEST):
4715 * check/gst/gstsystemclock.c: (GST_START_TEST),
4716 (gst_systemclock_suite):
4717 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4721 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4723 * check/elements/.cvsignore:
4724 * check/elements/gstfakesrc.c:
4725 rename to name of element
4726 * check/elements/identity.c: (chain_func), (event_func),
4727 (setup_identity), (cleanup_identity), (GST_START_TEST),
4728 (identity_suite), (main):
4729 add a test for identity
4730 * check/Makefile.am:
4731 * pkgconfig/Makefile.am:
4732 * pkgconfig/gstreamer-check.pc.in:
4733 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4737 move the check stuff to a library that gets installed
4738 * check/gst-libs/controller.c: (GST_START_TEST):
4739 * check/gst-libs/gdp.c:
4740 * check/gst/gst.c: (GST_START_TEST):
4741 * check/gst/gstbin.c:
4742 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4743 * check/gst/gstbus.c:
4744 * check/gst/gstcaps.c: (GST_START_TEST):
4745 * check/gst/gstelement.c:
4746 * check/gst/gstghostpad.c:
4747 * check/gst/gstiterator.c:
4748 * check/gst/gstmessage.c:
4749 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4750 * check/gst/gstobject.c:
4751 * check/gst/gstpad.c: (GST_START_TEST):
4752 * check/gst/gststructure.c: (GST_START_TEST):
4753 * check/gst/gstsystemclock.c: (GST_START_TEST),
4754 (gst_systemclock_suite):
4755 * check/gst/gsttag.c: (gst_tag_suite):
4756 * check/gst/gstvalue.c:
4757 * check/pipelines/cleanup.c:
4758 * check/pipelines/simple_launch_lines.c:
4759 * check/states/sinks.c:
4760 change include statement
4762 * docs/gst/gstreamer-sections.txt:
4763 * docs/gst/tmpl/gstpad.sgml:
4764 document more pad stuff
4765 * gst/gstminiobject.c: (gst_mini_object_ref),
4766 (gst_mini_object_unref):
4769 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4771 * docs/gst/tmpl/gst.sgml:
4773 eliminate another tmpl file, fix spelling in the long-description
4775 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4777 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4778 (test_event), (timediff), (gstevents_suite):
4779 Should fix build on 64-bit arch's
4781 2005-08-18 Andy Wingo <wingo@pobox.com>
4783 Make sure that when a pipeline goes to PLAYING, that data has
4784 actually hit the sink.
4786 * check/states/sinks.c (test_sink): A sink that doesn't get any
4787 data shouldn't return SUCCESS for going to either PLAYING or
4788 PAUSED. Test also the return values on the way back down.
4790 * gst/gstelement.c (gst_element_set_state): When changing the
4791 state of an element currently changing state asynchronously, go to
4792 lost-state after commiting the pending state. Makes future calls
4793 to get_state continue to return ASYNC.
4795 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
4796 ASYNC when going to PLAYING if we still don't have preroll, as can
4797 happen with live sources.
4799 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4801 * docs/pwg/advanced-types.xml:
4802 Hack long paragraph into 2 chunks as a workaround for buggy
4803 jadetex version in sid and breezy that loops infinitely and
4806 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4808 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4809 (test_event), (timediff), (gstevents_suite):
4810 Provide more error margin in clock measurements to allow for
4811 g_get_current_time inaccuracies.
4813 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4815 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4816 (test_event), (timediff), (gstevents_suite):
4817 Fix error message output so I might be able to tell why the
4818 test works here but fails on the build farm.
4820 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4822 * check/Makefile.am:
4823 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4824 (test_event), (timediff), (gstevents_suite), (main):
4827 * docs/design/part-seeking.txt:
4830 * docs/gst/tmpl/gstevent.sgml:
4831 * docs/gst/tmpl/gstfakesrc.sgml:
4834 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4835 Treat a buffer-without-newsegment the same as a receiving
4836 a newsegment not in time format, and disable syncing to the clock
4839 * gst/gstbus.c: (gst_bus_set_sync_handler):
4840 Assert if anyone tries to replace the existing sync_handler for bus,
4841 as only the owner should be setting it.
4844 Have a fixed set of custom event enums with events identified by
4845 their structure name (as in 0.8), rather than a free-for-all
4846 allowing collisions between enum values from different plugins.
4848 * gst/gstpad.c: (gst_pad_class_init):
4851 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4852 Handle out-of-band downstream events from the sending thread.
4854 2005-08-17 Andy Wingo <wingo@pobox.com>
4856 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
4857 play-timeout==0 to mean no timeout at all. In that case, don't
4858 bother with a get_state or a warning, just return directly, even
4861 * gst/base/gstbasetransform.c: Debug changes.
4864 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
4865 ensure bins post state change messages. A bit of a hack but I can't
4866 think of a way to avoid it.
4868 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
4870 2005-08-16 Andy Wingo <wingo@pobox.com>
4872 * gst/base/gstadapter.h:
4873 * gst/base/gstadapter.c (gst_adapter_take): New function, like
4874 peek() but you own the data. Not terribly efficient atm.
4876 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4878 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
4879 (gst_element_found_tags):
4881 Add two utility functions for tag handling.
4883 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4885 * docs/manual/advanced-dataaccess.xml:
4886 * docs/manual/basics-helloworld.xml:
4887 Fix docs to use _bin_add() before _link(), which fixes the examples
4888 with recent core versions (reported by Madhan Raj M
4889 <raj_madan@rediffmail.com>, #313199).
4891 2005-08-16 Wim Taymans <wim@fluendo.com>
4893 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4894 Added subtract checks.
4896 * docs/design/part-events.txt:
4897 Some more docs about newsegment
4899 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4902 * gst/gstcaps.c: (gst_caps_to_string):
4903 Add comments, cleanups.
4905 * gst/gstelement.c: (gst_element_save_thyself):
4908 * gst/gstvalue.c: (gst_value_collect_int_range),
4909 (gst_string_unwrap), (gst_value_union_int_int_range),
4910 (gst_value_union_int_range_int_range),
4911 (gst_value_intersect_int_int_range),
4912 (gst_value_intersect_int_range_int_range),
4913 (gst_value_intersect_double_double_range),
4914 (gst_value_intersect_double_range_double_range),
4915 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
4916 (gst_value_subtract_int_range_int),
4917 (gst_value_subtract_double_range_double),
4918 (gst_value_subtract_double_range_double_range),
4919 (gst_value_subtract_from_list), (gst_value_subtract_list),
4920 (gst_value_can_compare), (gst_value_compare_fraction):
4921 Cleanups, add comments, remove unneeded asserts.
4923 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4925 * tools/gst-launch.c: (event_loop):
4926 don't convert NULL structures to strings
4928 2005-08-15 Stefan Kost <ensonic@users.sf.net>
4930 * docs/gst/gstreamer-sections.txt:
4931 made some defines private
4932 * docs/gst/tmpl/gstconfig.sgml:
4933 * docs/gst/tmpl/gstqueue.sgml:
4934 * docs/gst/tmpl/gsttaglist.sgml:
4935 * docs/gst/tmpl/gsttypes.sgml:
4936 * docs/gst/tmpl/gstutils.sgml:
4937 * docs/pwg/appendix-porting.xml:
4938 * gst/base/gstbasesink.h:
4939 * gst/base/gstbasesrc.c:
4940 * gst/base/gstbasesrc.h:
4941 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
4942 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
4943 * gst/gstelement.c: (gst_element_class_init):
4944 * gst/gstpad.c: (gst_pad_class_init):
4945 * gst/gstqueue.c: (gst_queue_class_init):
4946 * gst/gstxml.c: (gst_xml_class_init):
4947 documented all undocumented signal inline
4948 * libs/gst/controller/gst-controller.h:
4951 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4953 * docs/pwg/appendix-porting.xml:
4954 Document _set_link_function -> _set_setcaps_function.
4956 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4958 * check/Makefile.am:
4959 add a .check target for running the check
4960 * check/gst-libs/controller.c: (GST_START_TEST):
4962 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4963 complete checks for gstbuffer; would be nice if I could get the
4964 gcov stuff to work so I can see if I actually completed gstbuffer.c
4966 add ASSERT_BUFFER_REFCOUNT
4968 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
4970 * docs/gst/gstreamer-sections.txt:
4971 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
4973 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
4974 spew out a warning if a tag that is already registered
4975 is re-registered, unless it is re-registered with a
4976 different type (#308438).
4978 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
4980 * docs/pwg/appendix-porting.xml:
4981 * docs/pwg/building-state.xml:
4982 Add some paragraphs about state changes in 0.9 to the PWG
4983 and the porting guide, in particular about the new meaning
4984 of GST_STATE_PAUSED and how to write state change functions
4985 with concurrent access by multiple threads in mind.
4987 2005-08-11 Stefan Kost <ensonic@users.sf.net>
4989 * docs/gst/gstreamer-docs.sgml:
4990 * docs/libs/gstreamer-libs-docs.sgml:
4991 added deprecation and since indexes
4992 * libs/gst/controller/gst-controller.c:
4993 * libs/gst/controller/gst-helper.c:
4997 2005-08-11 Wim Taymans <wim@fluendo.com>
4999 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5000 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5001 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5002 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5003 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5004 (gst_ghost_pad_set_target):
5005 Actually implement (re)setting the target on a ghostpad
5006 as described in the docs.
5008 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5010 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5011 Check whether GST_DEBUG_NO_COLOR environment variable is
5012 set and disable coloured debug output if that is the case.
5014 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5016 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5017 (gst_type_find_helper):
5018 The memory returned by gst_type_find_peek() needs to
5019 stay valid until the end of a typefind function, and
5020 typefind functions may keep results from different
5021 offsets around, so we can't just unref the buffer from
5022 the previous _peek(), but have to save all buffers
5023 returned by _peek() until typefinding is done and only
5026 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5028 * docs/gst/gstreamer-sections.txt:
5030 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5032 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5034 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5035 Fix a pretty good memleak.
5037 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5039 * gst/gstiterator.h:
5040 Fix wrong include and 'make distcheck'.
5042 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5044 * gst/gstbin.c: (bin_bus_handler):
5045 Use gst_element_post_message() instead.
5047 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5049 * gst/base/gstadapter.h:
5050 * gst/base/gstbasesink.h:
5051 * gst/base/gstbasesrc.h:
5052 * gst/base/gstbasetransform.h:
5053 * gst/base/gstcollectpads.h:
5054 * gst/base/gstpushsrc.h:
5055 * gst/gstiterator.h:
5056 Add padding to our base elements' class and instance structs and
5057 to GstIterator (you will need to rebuild all plugins and apps!)
5059 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5061 * gst/gstbin.c: (bin_bus_handler):
5062 Make default message forwarding from child->bus to bin->bus
5063 threadsafe and make it not emit warnings if the parent has no bus.
5065 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5067 * gst/gstelement.c: (activate_pads):
5068 On paused->ready, set pad->caps to NULL, as is the documented
5069 behaviour in this state change. Fixes playback of series of
5070 media files when visualization is enabled in Totem.
5072 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5074 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5075 Allow NULL as filter-caps (which means "any").
5077 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5079 * docs/libs/gstreamer-libs-sections.txt:
5080 * libs/gst/controller/gst-controller.c:
5081 * libs/gst/controller/gst-controller.h:
5082 * libs/gst/controller/gst-helper.c:
5083 adding more entries to the docs and fix small doc-bugs
5085 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5087 * docs/gst/gstreamer-docs.sgml:
5088 * docs/gst/gstreamer-sections.txt:
5089 * docs/gst/gstreamer.types:
5090 * docs/gst/tmpl/gstbasesink.sgml:
5091 * docs/gst/tmpl/gstbasesrc.sgml:
5092 * docs/gst/tmpl/gstbasetransform.sgml:
5093 * docs/gst/tmpl/gstfakesrc.sgml:
5094 * gst/base/gstcollectpads.c:
5095 * gst/base/gstcollectpads.h:
5096 * libs/gst/controller/gst-controller.c:
5097 * libs/gst/controller/gst-controller.h:
5098 * libs/gst/controller/gst-helper.c:
5099 * libs/gst/controller/gst-interpolation.c:
5100 * libs/gst/controller/lib.c:
5101 added long/short desc for controller docs
5102 added collectpads base class docs
5103 added correct includes to base-class docs
5105 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5107 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5108 (gst_test_mono_source_set_property),
5109 (gst_test_mono_source_class_init), (GST_START_TEST),
5110 (gst_controller_suite):
5111 * docs/gst/gstreamer-docs.sgml:
5112 * docs/gst/gstreamer-sections.txt:
5113 * docs/gst/gstreamer.types:
5114 * docs/libs/gstreamer-libs-docs.sgml:
5115 * docs/libs/gstreamer-libs-sections.txt:
5116 * gst/base/gstadapter.c:
5117 * libs/gst/controller/gst-controller.c:
5118 (gst_controlled_property_new), (gst_controlled_property_free),
5119 (gst_controller_new_valist),
5120 (gst_controller_remove_properties_valist),
5121 (gst_controller_sink_values), (_gst_controller_finalize):
5122 * libs/gst/controller/gst-controller.h:
5123 * libs/gst/controller/gst-helper.c:
5124 (gst_object_control_properties), (gst_object_uncontrol_properties),
5125 (gst_object_get_controller), (gst_object_set_controller),
5126 (gst_object_sink_values), (gst_object_get_value_arrays),
5127 (gst_object_get_value_array):
5128 more tests (and fixes) for the controller
5129 more docs for the controller
5130 integrated companies docs for the adapter
5132 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5134 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5135 (GST_START_TEST), (fakesrc_suite):
5136 add tests for sizetype
5138 2005-08-04 Andy Wingo <wingo@pobox.com>
5140 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5141 fixes buffer_alloc proxying among other things.
5143 * gst/base/gstbasetransform.c:
5144 * gst/base/gstbasetransform.h:
5145 Revert patch to gstbasetransform from 7-28 removing
5148 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5149 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5150 Semantics changed, should return not the size of the output buffer
5151 but the byte size of a buffer with a given caps.
5153 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5155 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5156 out) are not the pad caps until setcaps finishes.
5157 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5158 not-in-place case as well. Deal with changing from in-place to
5159 not-in-place within calling pad_alloc_buffer. Still a bit
5160 concerned about the overhead here...
5162 2005-08-03 Andy Wingo <wingo@pobox.com>
5164 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5165 fixating is an error.
5167 2005-08-04 Edward Hervey <edward@fluendo.com>
5169 * gst/base/gstadapter.h:
5170 Added gst_adapter_get_type() to the header
5172 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5174 * check/Makefile.am:
5175 * check/gst-libs/controller.c:
5176 * libs/gst/controller/gst-controller.c:
5177 (gst_controller_new_valist):
5178 added check test suite for the controller
5179 * gst/base/gstpushsrc.c:
5182 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5184 * docs/gst/Makefile.am:
5185 * docs/gst/gstreamer-docs.sgml:
5186 * docs/gst/gstreamer-sections.txt:
5187 * docs/gst/gstreamer.types:
5188 * docs/gst/tmpl/gstfakesrc.sgml:
5190 * gst/base/gstbasesink.c:
5191 * gst/base/gstbasesink.h:
5192 * gst/base/gstbasesrc.c:
5193 * gst/base/gstbasesrc.h:
5194 * gst/base/gstbasetransform.c:
5195 * gst/base/gstpushsrc.c:
5196 * gst/base/gstpushsrc.h:
5197 add short/long description docs to base classes
5198 add pushsrc to the docs
5199 remove consolidated doc fragments
5201 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5204 * docs/libs/Makefile.am:
5205 * docs/libs/gstreamer-libs-docs.sgml:
5206 * docs/libs/gstreamer-libs-sections.txt:
5207 * docs/libs/gstreamer-libs.types:
5208 * examples/Makefile.am:
5209 * examples/controller/.cvsignore:
5210 * examples/controller/Makefile.am:
5211 * examples/controller/audio-example.c: (main):
5212 * libs/gst/Makefile.am:
5213 * libs/gst/controller/.cvsignore:
5214 * libs/gst/controller/Makefile.am:
5215 * libs/gst/controller/gst-controller.c:
5216 (on_object_controlled_property_changed), (gst_timed_value_compare),
5217 (gst_timed_value_find),
5218 (gst_controlled_property_set_interpolation_mode),
5219 (gst_controlled_property_new), (gst_controlled_property_free),
5220 (gst_controller_find_controlled_property),
5221 (gst_controller_new_valist), (gst_controller_new),
5222 (gst_controller_remove_properties_valist),
5223 (gst_controller_remove_properties), (gst_controller_set),
5224 (gst_controller_set_from_list), (gst_controller_unset),
5225 (gst_controller_get), (gst_controller_get_all),
5226 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5227 (gst_controller_get_value_array),
5228 (gst_controller_set_interpolation_mode),
5229 (_gst_controller_finalize), (_gst_controller_init),
5230 (_gst_controller_class_init), (gst_controller_get_type):
5231 * libs/gst/controller/gst-controller.h:
5232 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5233 (g_object_uncontrol_properties), (g_object_get_controller),
5234 (g_object_set_controller), (g_object_sink_values),
5235 (g_object_get_value_arrays), (g_object_get_value_array):
5236 * libs/gst/controller/gst-interpolation.c:
5237 (gst_controlled_property_find_timed_value_node),
5238 (interpolate_none_get), (interpolate_trigger_get),
5239 (interpolate_trigger_get_value_array):
5240 * libs/gst/controller/lib.c: (gst_controller_init):
5241 * pkgconfig/Makefile.am:
5242 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5243 * pkgconfig/gstreamer-control.pc.in:
5244 * testsuite/Makefile.am:
5245 * testsuite/controller/.cvsignore:
5246 * testsuite/controller/Makefile.am:
5247 * testsuite/controller/interpolator.c: (main):
5248 added controller code
5249 removed dparam pc files
5251 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5252 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5253 (gst_collectpads_stop):
5254 Broadcast the condition when shutting down, to make sure we wake all
5255 threads up. Shut down pads on finalize, for safety.
5257 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5258 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5259 (gst_base_transform_handle_buffer),
5260 (gst_base_transform_change_state):
5261 Handle PAUSED->READY->PAUSED transition after negotiation
5263 * gst/gstmessage.c: (gst_message_init):
5264 Extra piece of debug for new messages.
5266 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5269 * docs/gst/tmpl/gstbasesrc.sgml:
5270 * docs/gst/tmpl/gstelement.sgml:
5271 * docs/gst/tmpl/gstevent.sgml:
5272 * docs/gst/tmpl/gstfakesrc.sgml:
5273 * docs/gst/tmpl/gstformat.sgml:
5274 * docs/gst/tmpl/gstghostpad.sgml:
5275 * docs/gst/tmpl/gstpad.sgml:
5276 * docs/gst/tmpl/gstquery.sgml:
5277 * docs/gst/tmpl/gststructure.sgml:
5278 * docs/gst/tmpl/gsttaglist.sgml:
5279 * docs/gst/tmpl/gstvalue.sgml:
5280 * docs/libs/gstreamer-libs-docs.sgml:
5281 * docs/libs/gstreamer-libs-sections.txt:
5282 * docs/libs/gstreamer-libs.types:
5283 * libs/gst/Makefile.am:
5284 * libs/gst/control/.cvsignore:
5285 * libs/gst/control/Makefile.am:
5286 * libs/gst/control/control.c:
5287 * libs/gst/control/control.h:
5288 * libs/gst/control/dparam.c:
5289 * libs/gst/control/dparam.h:
5290 * libs/gst/control/dparam_smooth.c:
5291 * libs/gst/control/dparam_smooth.h:
5292 * libs/gst/control/dparamcommon.h:
5293 * libs/gst/control/dparammanager.c:
5294 * libs/gst/control/dparammanager.h:
5295 * libs/gst/control/dplinearinterp.c:
5296 * libs/gst/control/dplinearinterp.h:
5297 * libs/gst/control/unitconvert.c:
5298 * libs/gst/control/unitconvert.h:
5299 * testsuite/Makefile.am:
5300 * testsuite/dynparams/.cvsignore:
5301 * testsuite/dynparams/Makefile.am:
5302 * testsuite/dynparams/dparamstest.c:
5303 * tools/Makefile.am:
5304 * tools/gst-inspect.c: (print_element_info), (main):
5305 * tools/gst-xmlinspect.c: (print_element_info), (main):
5306 deactivate and remove dparams (libgstcontrol)
5308 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5310 * gst/elements/gsttypefindelement.c:
5311 (gst_type_find_element_have_type), (gst_type_find_element_init),
5312 (stop_typefinding), (gst_type_find_element_handle_event),
5313 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5314 * gst/elements/gsttypefindelement.h:
5315 Set caps on all outgoing buffers, not just the first one.
5317 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5319 * gst/elements/gsttypefindelement.c:
5320 (gst_type_find_element_have_type),
5321 (gst_type_find_element_check_set_buffer_caps),
5322 (gst_type_find_element_init), (stop_typefinding),
5323 (gst_type_find_element_handle_event),
5324 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5325 * gst/elements/gsttypefindelement.h:
5326 Set caps on first outgoing buffer when we've found the type.
5328 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5330 * docs/gst/gstreamer-docs.sgml:
5331 * docs/gst/gstreamer-sections.txt:
5332 * docs/gst/tmpl/gstscheduler.sgml:
5333 * docs/gst/tmpl/gstschedulerfactory.sgml:
5334 Remove some old cruft from docs.
5336 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5339 Fix inline docs for GstPadLinkReturn.
5341 * gst/gststructure.c: (gst_structure_has_name):
5342 * gst/gststructure.h:
5343 * docs/gst/gstreamer-sections.txt:
5344 New API: gst_structure_has_name().
5346 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5349 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5350 and _LARGEFILE_SOURCE in config.h as required. Do not
5351 export those flags in our .pc files any longer (#142209).
5353 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5355 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5356 (gst_file_sink_do_seek), (gst_file_sink_event),
5357 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5358 Redo seek/tell calls with large file support in mind; add some
5359 debugging messages; add log message that tells us when large
5360 file support is unavailable or not enabled for some reason.
5362 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5363 Add log message that tells us when large file support
5364 is unavailable or not enabled for some reason.
5366 2005-07-29 Wim Taymans <wim@fluendo.com>
5368 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5369 Added test for removing an element with ghostpad from a bin.
5370 Fixed test as current implementation does the right thing.
5372 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5373 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5374 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5375 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5376 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5377 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5378 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5379 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5380 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5381 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5382 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5383 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5384 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5385 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5386 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5387 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5388 * gst/gstghostpad.h:
5389 Clean up ghostpads, remove properties for internal stuff.
5392 Prepare for switching targets, not all use cases work yet.
5394 2005-07-29 Wim Taymans <wim@fluendo.com>
5396 * docs/design/part-gstghostpad.txt:
5399 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5400 (gst_bin_remove_func):
5401 Unlinking pads while holding the bin LOCK is not a good
5404 * gst/gstpad.c: (gst_pad_class_init),
5405 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5406 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5407 No prob setting template after creating the pad.
5409 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5411 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5412 (gst_bus_peek), (gst_bus_source_dispatch),
5413 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5414 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5415 gst_bus_poll may be called from other threads. Handle
5416 this nicely by not making poll_data disappear off the
5417 stack once gst_bus_poll returns.
5418 gst_bus_peek now increments the refcount on the returned
5421 2005-07-29 Wim Taymans <wim@fluendo.com>
5423 * docs/design/part-gstghostpad.txt:
5424 Overview of current GhostPad datastructures and use
5425 cases for changing the target.
5427 2005-07-28 Wim Taymans <wim@fluendo.com>
5429 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5430 Added checks for hierarchy consistency whan adding linked
5433 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5434 Added check to test element scheduling without bin/pipeline.
5436 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5437 First add elements to bin, then link.
5439 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5440 (gst_bin_remove_func):
5441 Unlink pads from elements added/removed from bin to maintain
5442 hierarchy consistency.
5444 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5446 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5447 (gst_base_transform_handle_buffer):
5448 * gst/base/gstbasetransform.h:
5449 Remove broken delay_configure (fixes renegotiation of software
5450 scaling pipelines); remove some leftover printf()s.
5452 2005-07-28 Wim Taymans <wim@fluendo.com>
5454 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5455 Added some more tests for wrong hierarchy
5457 * docs/design/part-overview.txt:
5460 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5463 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5464 (gst_element_dispose):
5467 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5468 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5469 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5470 (gst_pad_set_caps), (gst_pad_send_event):
5471 Check for correct hierarchy when linking pads. Moving to
5472 strict requirement for ghostpads when linking elements in
5476 Clean ups. Added WRONG_HIERARCHY return value.
5478 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5480 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5481 Better debug if no transform is possible.
5483 2005-07-27 Wim Taymans <wim@fluendo.com>
5485 * docs/random/wtay/network-transp:
5488 2005-07-27 Wim Taymans <wim@fluendo.com>
5490 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5491 (gst_dp_event_from_packet):
5492 Fix serialization of seek events.
5494 2005-07-27 Wim Taymans <wim@fluendo.com>
5496 * check/gst-libs/gdp.c: (GST_START_TEST):
5497 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5498 Fix compilation and fix event serialization.
5500 2005-07-27 Wim Taymans <wim@fluendo.com>
5503 * docs/design/part-TODO.txt:
5504 * docs/design/part-events.txt:
5507 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5508 (gst_base_sink_event), (gst_base_sink_do_sync),
5509 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5510 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5511 (gst_base_src_do_seek), (gst_base_src_event_handler),
5512 (gst_base_src_loop):
5513 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5514 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5515 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5516 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5517 (gst_base_transform_set_passthrough),
5518 (gst_base_transform_is_passthrough):
5519 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5520 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5526 * gst/gstelement.c: (gst_element_seek):
5528 Update gst_element_seek.
5530 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5531 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5532 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5533 (gst_event_new_eos), (gst_event_new_newsegment),
5534 (gst_event_parse_newsegment), (gst_event_new_tag),
5535 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5536 (gst_event_parse_qos), (gst_event_new_seek),
5537 (gst_event_parse_seek), (gst_event_new_navigation):
5539 Make GstEvent use GstStructure. Add parsing code, make sure the
5540 API is sufficiently generic.
5541 Mark possible directions of events and serialization.
5543 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5544 (_gst_message_copy), (gst_message_new_segment_start),
5545 (gst_message_new_segment_done), (gst_message_new_custom),
5546 (gst_message_parse_segment_start),
5547 (gst_message_parse_segment_done):
5550 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5551 (gst_pad_set_caps), (gst_pad_send_event):
5552 Update for new events.
5553 Catch events sent in wrong directions.
5555 * gst/gstqueue.c: (gst_queue_link_src),
5556 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5557 (gst_queue_handle_src_query):
5562 Remove event code from this file.
5564 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5565 (gst_dp_event_from_packet):
5568 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5570 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5571 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5572 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5573 Make debugging actually useful.
5575 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5577 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5578 (gst_pad_fixate_caps):
5579 Implement default fixation once again, so that gst_pad_fixate()
5580 actually does anything at all. This probably needs to be some
5581 sort of a last resort, and use profile-based fixation first, but
5582 since that doesn't exist yet, this is the best we have. Fixes
5583 visualization in Totem.
5585 2005-07-22 Wim Taymans <wim@fluendo.com>
5587 * docs/design/part-events.txt:
5590 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5591 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5592 (gst_base_sink_activate_pull):
5595 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5596 (gst_fake_src_create):
5597 Fix handoff marshall.
5599 * gst/elements/gstidentity.c: (gst_identity_class_init),
5600 (gst_identity_transform_ip):
5601 We're a real inplace element.
5603 * gst/gstbus.c: (gst_bus_post):
5604 Added some comments.
5606 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5607 * tests/muxing/case1.c: (main):
5608 * tests/sched/dynamic-pipeline.c: (main):
5609 * tests/sched/interrupt1.c: (main):
5610 * tests/sched/interrupt2.c: (main):
5611 * tests/sched/interrupt3.c: (main):
5612 * tests/sched/runxml.c: (main):
5613 * tests/sched/sched-stress.c: (main):
5614 * tests/seeking/seeking1.c: (event_received), (main):
5615 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5617 * tests/threadstate/threadstate3.c: (main):
5618 * tests/threadstate/threadstate4.c: (main):
5619 * tests/threadstate/threadstate5.c: (main):
5622 2005-07-21 Wim Taymans <wim@fluendo.com>
5624 * docs/design/part-seeking.txt:
5625 Some small additions.
5627 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5628 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5629 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5630 * gst/base/gstbasesink.h:
5631 discont values are gint64, handle the math correctly.
5633 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5634 Make the basesrc report error if the source pad is not linked.
5636 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5637 (gst_queue_loop), (gst_queue_handle_src_query),
5638 (gst_queue_src_activate_push):
5639 Make queue collect data even if the srcpad is not linked.
5640 Start pushing out data as soon as it is linked.
5642 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5644 Added gst_flow_get_name() to ease error reporting.
5646 2005-07-20 Wim Taymans <wim@fluendo.com>
5648 * gst/gstmessage.c: (gst_message_new_segment_start),
5649 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5650 (gst_message_parse_segment_done):
5652 Added a bunch of messages for advanced seeking.
5654 * gst/parse/grammar.y:
5655 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5656 (gst_dpman_state_changed):
5657 Fix some new-pad -> pad-added signals
5659 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5661 * docs/manual/appendix-porting.xml:
5662 * docs/pwg/appendix-porting.xml:
5663 Document new-pad/state-change signal renames and the FixedList
5666 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5668 * docs/manual/advanced-autoplugging.xml:
5669 * docs/manual/basics-helloworld.xml:
5670 * docs/manual/basics-pads.xml:
5671 * docs/random/ds/0.9-suggested-changes:
5672 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5677 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5678 (gst_structure_parse_array), (gst_structure_parse_value):
5679 * gst/gstvalue.c: (gst_type_is_fixed),
5680 (gst_value_list_prepend_value), (gst_value_list_append_value),
5681 (gst_value_list_get_size), (gst_value_list_get_value),
5682 (gst_value_transform_array_string), (gst_value_serialize_array),
5683 (gst_value_deserialize_array), (gst_value_intersect_array),
5684 (gst_value_is_fixed), (_gst_value_initialize):
5686 GstElement::new-pad -> pad-added, GstElement::state-change ->
5687 state-changed, GstValueFixedList -> GstValueArray, add format and
5688 flags as their own arguments in gst_element_seek() (should improve
5689 "bindeability"), remove function generators since they don't work
5690 under a whole bunch of compilers (they were deprecated already
5693 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5695 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5696 (_gst_debug_register_funcptr):
5698 Fix illegal cast on some platforms (#309253).
5700 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5702 * gst/gstmessage.c: (gst_message_new_custom):
5704 Add _new_custom, make _new_application a macro to _new_custom.
5706 2005-07-20 Wim Taymans <wim@fluendo.com>
5708 * gst/base/gstbasesrc.c: (gst_base_src_init),
5709 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5710 * gst/base/gstbasesrc.h:
5711 Add a gboolean to decide when to push out a discont.
5713 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5714 (gst_queue_loop), (gst_queue_handle_src_query),
5715 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5716 (gst_queue_set_property), (gst_queue_get_property):
5719 * tests/threadstate/threadstate1.c: (main):
5720 Make a thread test compile and run... very silly..
5723 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5725 * docs/manual/appendix-porting.xml:
5726 Mention removal of libgstgconf-0.9.la and existence of gconf
5729 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5731 * docs/pwg/advanced-clock.xml:
5732 * docs/pwg/appendix-porting.xml:
5733 * docs/pwg/intro-preface.xml:
5734 * docs/pwg/other-base.xml:
5735 * docs/pwg/other-manager.xml:
5736 * docs/pwg/other-nton.xml:
5737 * docs/pwg/other-ntoone.xml:
5738 * docs/pwg/other-oneton.xml:
5740 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5741 demuxer), remove n-to-n (was never written), fix some code examples
5742 and links and update the porting section to include all this.
5744 2005-07-19 Wim Taymans <wim@fluendo.com>
5746 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5747 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5748 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5749 (gst_queue_src_activate_push), (gst_queue_change_state),
5750 (gst_queue_get_property):
5752 Propagate GstFlowReturn more intelligently upstream and output
5753 an ERROR/EOS when streaming stopped due to fatal error.
5755 2005-07-19 Wim Taymans <wim@fluendo.com>
5757 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5758 Don't block forever for the state change to complete, the
5759 pipeline already did with a sensible timeout.
5761 2005-07-19 Wim Taymans <wim@fluendo.com>
5763 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5764 Make sure we never call the create function is we
5767 2005-07-19 Andy Wingo <wingo@pobox.com>
5769 * gst/parse/parse.l: Attempt to solve bug #172815.
5771 2005-07-19 Wim Taymans <wim@fluendo.com>
5773 * docs/design/part-clocks.txt:
5774 * docs/design/part-events.txt:
5775 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5777 Only update the seeking values when we are not
5780 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5782 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5783 Oops, ignore the result of gst_pad_push_event here.
5785 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5787 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5788 (gst_base_src_activate_push):
5789 Send discont event from the loop function, as pads
5790 aren't activated yet in the activate_push handler.
5792 * gst/gstbin.c: (bin_bus_handler):
5793 Don't leak element name.
5795 2005-07-18 Andy Wingo <wingo@pobox.com>
5797 * configure.ac: Use AS_LIBTOOL_TAGS.
5799 2005-07-18 Wim Taymans <wim@fluendo.com>
5801 * docs/gst/gstreamer.types:
5802 Remove deleted types.
5804 2005-07-18 Wim Taymans <wim@fluendo.com>
5806 * check/elements/gstfakesrc.c: (GST_START_TEST):
5809 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
5810 (init_popt_callback):
5812 * gst/gst_private.h:
5813 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
5814 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
5817 * gst/gstconfig.h.in:
5818 * gst/gstelement.c: (gst_element_class_init),
5819 (gst_element_set_base_time), (gst_element_get_base_time),
5820 (iterator_fold_with_resync), (gst_element_change_state),
5821 (gst_element_dispose), (gst_element_get_bus):
5823 * gst/gstelementfactory.h:
5824 * gst/gsterror.c: (_gst_core_errors_init):
5827 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5829 * gst/gstinfo.c: (_gst_debug_init):
5830 * gst/gstmessage.c: (_gst_message_copy):
5832 * gst/gstminiobject.h:
5835 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5836 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
5839 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5840 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5841 (gst_pipeline_get_last_stream_time):
5842 * gst/gstpipeline.h:
5843 * gst/gstpluginfeature.h:
5845 * gst/gstscheduler.c:
5846 * gst/gstscheduler.h:
5847 * gst/gststructure.h:
5848 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
5849 (gst_task_finalize), (gst_task_func), (gst_task_create),
5850 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
5851 (gst_task_stop), (gst_task_pause):
5853 * gst/gsttypefind.h:
5855 * gst/registries/gstlibxmlregistry.c: (load_feature),
5856 (gst_xml_registry_load), (gst_xml_registry_save_feature):
5857 * gst/registries/gstxmlregistry.c:
5858 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
5859 * gst/schedulers/threadscheduler.c:
5860 * libs/gst/control/dparammanager.h:
5861 * tools/gst-inspect.c: (print_element_list),
5862 (print_plugin_features), (print_element_features):
5863 * tools/gst-xmlinspect.c: (print_element_list),
5864 (print_plugin_info), (main):
5865 Removed plugable schedulers.
5866 Removed Scheduler/Manager from elements.
5867 Removed gsttypes.h, rearranged includes.
5868 Removed dependency pad<->element, element<>pipeline, and
5869 various others, fix includes.
5870 implement gst_pad_get_parent() with gst_object_get_parent()
5871 Make GstTask sefcontained.
5872 Fix _get_state() on GstBin, it did not return ASYNC with a 0
5874 Fix endless loop in iterator_fold_with_resync.
5877 2005-07-18 Wim Taymans <wim@fluendo.com>
5883 2005-07-18 Wim Taymans <wim@fluendo.com>
5888 2005-07-18 Wim Taymans <wim@fluendo.com>
5894 2005-07-18 Wim Taymans <wim@fluendo.com>
5896 * docs/design/part-dynamic.txt:
5897 * docs/design/part-events.txt:
5898 * docs/design/part-seeking.txt:
5899 Some more docs in the works.
5901 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5902 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
5903 (gst_base_transform_setcaps), (gst_base_transform_get_size),
5904 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5905 (gst_base_transform_handle_buffer),
5906 (gst_base_transform_sink_activate_push),
5907 (gst_base_transform_src_activate_pull),
5908 (gst_base_transform_set_passthrough),
5909 (gst_base_transform_is_passthrough):
5912 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
5915 * gst/gstevent.c: (gst_event_finalize):
5918 * gst/gstutils.c: (gst_element_unlink),
5919 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
5920 (gst_pad_proxy_setcaps):
5922 Add _get_parent_element() to get a pads parent as an element.
5924 2005-07-18 Wim Taymans <wim@fluendo.com>
5926 * check/gst/gstbin.c: (GST_START_TEST):
5929 2005-07-18 Wim Taymans <wim@fluendo.com>
5931 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5932 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5933 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5934 (gst_base_sink_event), (gst_base_sink_do_sync),
5935 (gst_base_sink_chain), (gst_base_sink_loop),
5936 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
5937 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5939 Fix logic for returning ASYNC when not prerolled.
5941 2005-07-18 Wim Taymans <wim@fluendo.com>
5943 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5944 Fix nasty refcount bug.
5946 2005-07-16 Philippe Khalaf <burger@speedy.org>
5948 * gst/elements/gstfdsrc.c:
5949 * gst/elements/gstfdsrc.h:
5950 * gst/elements/gstelements.c:
5951 * gst/elements/Makefile.am:
5952 Ported fdsrc to 0.9.
5954 2005-07-16 Wim Taymans <wim@fluendo.com>
5956 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5957 (gst_base_sink_do_sync):
5960 2005-07-16 Wim Taymans <wim@fluendo.com>
5962 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5963 (gst_base_sink_event), (gst_base_sink_get_times),
5964 (gst_base_sink_do_sync), (gst_base_sink_change_state):
5965 * gst/base/gstbasesink.h:
5966 Store and use discont values when syncing buffers as described
5969 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5970 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
5971 (gst_base_src_activate_push):
5972 Push discont event when starting.
5974 * gst/elements/gstidentity.c: (gst_identity_transform):
5977 * gst/gstbin.c: (gst_bin_change_state):
5978 Small cleanups in base_time distribution.
5980 * gst/gstelement.c: (gst_element_set_base_time),
5981 (gst_element_get_base_time), (gst_element_change_state):
5983 Added methods for the base_time of the element.
5986 * gst/gstpipeline.c: (gst_pipeline_send_event),
5987 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5988 (gst_pipeline_get_last_stream_time):
5989 * gst/gstpipeline.h:
5991 Handle seeking as described in design doc, remove stream_time
5993 Cleanups clock and stream_time selection code. Added accessors
5994 for the stream_time.
5997 2005-07-16 Andy Wingo <wingo@pobox.com>
5999 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6002 2005-07-16 Wim Taymans <wim@fluendo.com>
6004 * check/gst/gstbin.c: (GST_START_TEST):
6005 Make elements silent as the deep_notify refs the
6006 parent, which might make the test fail.
6008 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6009 Don't hold the lock for too long.
6011 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6013 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6014 Don't unref the caps we passed to gst_caps_make_writable() after
6015 passing them. gst_caps_make_writable() will do that for us.
6017 2005-07-15 Andy Wingo <wingo@pobox.com>
6019 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6022 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6023 own marshalling function for the handoff signal. Properly type the
6024 buffer as a buffer. Fixes some warnings. Should do a more general
6026 (gst_identity_class_init): Plug into the right marshaller.
6028 2005-07-15 Wim Taymans <wim@fluendo.com>
6030 * docs/design/part-TODO.txt:
6031 * docs/design/part-clocks.txt:
6032 * docs/design/part-element-sink.txt:
6033 * docs/design/part-events.txt:
6034 * docs/design/part-gstpipeline.txt:
6035 Updated docs, mostly DISCONT related.
6037 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6039 * docs/pwg/building-pads.xml:
6040 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6042 2005-07-15 Andy Wingo <wingo@pobox.com>
6044 * tools/gst-typefind.c: Update, add copyright block.
6046 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6047 Normalize and truncate caps before fixation.
6050 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6051 discards all but the first structure from its argument.
6053 2005-07-15 Wim Taymans <wim@fluendo.com>
6055 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6056 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6057 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6058 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6059 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6060 (gst_base_transform_chain), (gst_base_transform_change_state),
6061 (gst_base_transform_set_passthrough),
6062 (gst_base_transform_is_passthrough):
6063 * gst/base/gstbasetransform.h:
6064 Make passthrough work using the bufferpools.
6065 Changed API a bit, subclasses have to write into a buffer
6066 provided by the base class.
6067 More debug info in nego functions.
6069 * gst/elements/gstidentity.c: (gst_identity_init),
6070 (gst_identity_transform):
6071 Port to new base class.
6073 2005-07-15 Wim Taymans <wim@fluendo.com>
6075 * gst/gstmessage.c: (gst_message_new_state_changed):
6076 * tools/gst-launch.c: (event_loop), (main):
6077 Totally dump messages in -launch with the -m option.
6078 Fix message name for State messages,
6080 2005-07-14 Wim Taymans <wim@fluendo.com>
6082 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6083 Post error messages on errors.
6085 2005-07-14 Wim Taymans <wim@fluendo.com>
6087 * gst/gstcaps.c: (gst_caps_do_simplify):
6091 Define error for stream stopped.
6093 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6094 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6095 Do proper return values.
6097 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6098 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6099 (gst_pad_get_range):
6100 Better return values.
6103 Reorganise return values, add macro to check for fatal errors.
6105 * gst/gstqueue.c: (gst_queue_chain):
6106 Return proper GstFlowReturn values,
6108 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6110 * docs/gst/gstreamer-sections.txt:
6111 * docs/gst/gstreamer.types:
6112 * docs/gst/tmpl/gst.sgml:
6113 * docs/gst/tmpl/gstbasesink.sgml:
6114 * docs/gst/tmpl/gstbasesrc.sgml:
6115 * docs/gst/tmpl/gstbasetransform.sgml:
6116 * docs/gst/tmpl/gstbin.sgml:
6117 * docs/gst/tmpl/gstbuffer.sgml:
6118 * docs/gst/tmpl/gstcaps.sgml:
6119 * docs/gst/tmpl/gstclock.sgml:
6120 * docs/gst/tmpl/gstcompat.sgml:
6121 * docs/gst/tmpl/gstconfig.sgml:
6122 * docs/gst/tmpl/gstelement.sgml:
6123 * docs/gst/tmpl/gstelementdetails.sgml:
6124 * docs/gst/tmpl/gstelementfactory.sgml:
6125 * docs/gst/tmpl/gstenumtypes.sgml:
6126 * docs/gst/tmpl/gsterror.sgml:
6127 * docs/gst/tmpl/gstevent.sgml:
6128 * docs/gst/tmpl/gstfakesink.sgml:
6129 * docs/gst/tmpl/gstfakesrc.sgml:
6130 * docs/gst/tmpl/gstfilesink.sgml:
6131 * docs/gst/tmpl/gstfilesrc.sgml:
6132 * docs/gst/tmpl/gstfilter.sgml:
6133 * docs/gst/tmpl/gstformat.sgml:
6134 * docs/gst/tmpl/gstghostpad.sgml:
6135 * docs/gst/tmpl/gstimplementsinterface.sgml:
6136 * docs/gst/tmpl/gstindex.sgml:
6137 * docs/gst/tmpl/gstindexfactory.sgml:
6138 * docs/gst/tmpl/gstinfo.sgml:
6139 * docs/gst/tmpl/gstiterator.sgml:
6140 * docs/gst/tmpl/gstmacros.sgml:
6141 * docs/gst/tmpl/gstmemchunk.sgml:
6142 * docs/gst/tmpl/gstminiobject.sgml:
6143 * docs/gst/tmpl/gstobject.sgml:
6144 * docs/gst/tmpl/gstpad.sgml:
6145 * docs/gst/tmpl/gstpadtemplate.sgml:
6146 * docs/gst/tmpl/gstparse.sgml:
6147 * docs/gst/tmpl/gstpipeline.sgml:
6148 * docs/gst/tmpl/gstplugin.sgml:
6149 * docs/gst/tmpl/gstpluginfeature.sgml:
6150 * docs/gst/tmpl/gstquery.sgml:
6151 * docs/gst/tmpl/gstqueue.sgml:
6152 * docs/gst/tmpl/gstregistry.sgml:
6153 * docs/gst/tmpl/gstregistrypool.sgml:
6154 * docs/gst/tmpl/gstscheduler.sgml:
6155 * docs/gst/tmpl/gstschedulerfactory.sgml:
6156 * docs/gst/tmpl/gststructure.sgml:
6157 * docs/gst/tmpl/gstsystemclock.sgml:
6158 * docs/gst/tmpl/gsttaglist.sgml:
6159 * docs/gst/tmpl/gsttagsetter.sgml:
6160 * docs/gst/tmpl/gsttrace.sgml:
6161 * docs/gst/tmpl/gsttrashstack.sgml:
6162 * docs/gst/tmpl/gsttypefind.sgml:
6163 * docs/gst/tmpl/gsttypefindfactory.sgml:
6164 * docs/gst/tmpl/gsttypes.sgml:
6165 * docs/gst/tmpl/gsturihandler.sgml:
6166 * docs/gst/tmpl/gsturitype.sgml:
6167 * docs/gst/tmpl/gstutils.sgml:
6168 * docs/gst/tmpl/gstvalue.sgml:
6169 * docs/gst/tmpl/gstversion.sgml:
6170 * docs/gst/tmpl/gstxml.sgml:
6171 * docs/libs/tmpl/gstcontrol.sgml:
6172 * docs/libs/tmpl/gstdataprotocol.sgml:
6173 * docs/libs/tmpl/gstdparam.sgml:
6174 * docs/libs/tmpl/gstdplinint.sgml:
6175 * docs/libs/tmpl/gstdpman.sgml:
6176 * docs/libs/tmpl/gstdpsmooth.sgml:
6177 * docs/libs/tmpl/gstgetbits.sgml:
6178 * docs/libs/tmpl/gstunitconvert.sgml:
6179 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6180 (gst_push_src_base_init), (gst_push_src_class_init),
6181 (gst_push_src_init), (gst_push_src_create):
6182 * gst/base/gstpushsrc.h:
6183 * gst/elements/gstelements.c:
6184 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6185 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6186 (gst_fake_sink_init), (gst_fake_sink_set_property),
6187 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6188 (gst_fake_sink_event), (gst_fake_sink_preroll),
6189 (gst_fake_sink_render), (gst_fake_sink_change_state):
6190 * gst/elements/gstfakesink.h:
6191 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6192 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6193 (gst_fake_src_base_init), (gst_fake_src_class_init),
6194 (gst_fake_src_init), (gst_fake_src_event_handler),
6195 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6196 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6197 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6198 (gst_fake_src_create_buffer), (gst_fake_src_create),
6199 (gst_fake_src_start), (gst_fake_src_stop):
6200 * gst/elements/gstfakesrc.h:
6201 * gst/elements/gstfilesink.c: (_do_init),
6202 (gst_file_sink_base_init), (gst_file_sink_class_init),
6203 (gst_file_sink_init), (gst_file_sink_dispose),
6204 (gst_file_sink_set_location), (gst_file_sink_set_property),
6205 (gst_file_sink_get_property), (gst_file_sink_open_file),
6206 (gst_file_sink_close_file), (gst_file_sink_query),
6207 (gst_file_sink_event), (gst_file_sink_render),
6208 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6209 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6210 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6211 * gst/elements/gstfilesink.h:
6212 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6213 (gst_file_src_class_init), (gst_file_src_init),
6214 (gst_file_src_finalize), (gst_file_src_set_location),
6215 (gst_file_src_set_property), (gst_file_src_get_property),
6216 (gst_file_src_map_region), (gst_file_src_map_small_region),
6217 (gst_file_src_create_mmap), (gst_file_src_create_read),
6218 (gst_file_src_create), (gst_file_src_is_seekable),
6219 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6220 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6221 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6222 (gst_file_src_uri_handler_init):
6223 * gst/elements/gstfilesrc.h:
6224 more autistic cleanliness in functions/names/defines
6226 2005-07-13 Andy Wingo <wingo@pobox.com>
6228 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6229 source couldn't negotiate.
6231 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6235 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6236 function. I am channeling Hades. Put your boots on suckers!!!
6238 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6240 * testsuite/caps/Makefile.am:
6241 * testsuite/caps/value_compare.c:
6242 * testsuite/caps/value_intersect.c:
6243 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6244 move two testsuite apps over to the check dir
6246 2005-07-12 Wim Taymans <wim@fluendo.com>
6248 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6249 Added more debug info in the negotiate process.
6252 Prepare for segment playback.
6254 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6260 * tools/gst-launch.c: (main):
6261 NULL pipeline on errors.
6263 2005-07-12 Andy Wingo <wingo@pobox.com>
6265 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6266 not it comes from a malloc region. Make sure our copy gets freed.
6268 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6270 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6271 * check/gst/gstmessage.c: (GST_START_TEST):
6272 * check/gst/gststructure.c: (GST_START_TEST),
6273 (gst_structure_suite), (main):
6275 * gst/gstelement.c: (gst_element_message_full):
6276 clean up GError and debug string now that they get copied
6277 * gst/gstmessage.c: (gst_message_new_error),
6278 (gst_message_new_warning), (gst_message_parse_error),
6279 (gst_message_parse_warning):
6280 use GST_TYPE_G_ERROR for structure_new, and take copies of
6281 arguments, so that we don't mess up refcounting
6283 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6285 * check/Makefile.am:
6286 add per-test valgrind targets
6287 * check/gst-libs/gdp.c: (GST_START_TEST),
6288 (gst_data_protocol_suite), (main):
6291 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6293 * check/Makefile.am:
6294 instate more valgrindable tests
6295 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6296 (GST_START_TEST), (fakesrc_suite):
6297 * check/gst/gstpad.c: (GST_START_TEST):
6298 * check/gst/gststructure.c: (GST_START_TEST):
6300 * docs/gst/tmpl/gstminiobject.sgml:
6301 * gst/gstpad.c: (gst_pad_finalize):
6302 fix the static mutex leak
6304 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6306 * check/Makefile.am:
6307 add two more tests for valgrinding
6308 * check/gst/gstvalue.c: (GST_START_TEST):
6309 test refcount of deserialized buffer, found a leak
6310 * docs/gst/gstreamer-docs.sgml:
6311 * docs/gst/gstreamer-sections.txt:
6312 * docs/gst/gstreamer.types:
6313 * docs/gst/tmpl/gstminiobject.sgml:
6314 add miniobject to docs
6315 * gst/gstminiobject.c:
6317 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6318 (gst_string_unwrap):
6319 fix a hard-to-find invalid write for one of the tests
6320 fix a leak for deserialized buffers
6322 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6324 * docs/pwg/advanced-events.xml:
6325 * docs/pwg/advanced-request.xml:
6326 * docs/pwg/advanced-scheduling.xml:
6327 * docs/pwg/appendix-porting.xml:
6328 * docs/pwg/building-boiler.xml:
6329 * docs/pwg/intro-preface.xml:
6330 * docs/pwg/other-ntoone.xml:
6331 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6332 of example code and explanation for pad activation, loop() and
6333 getrange() functions and a bit more. Remove old comments pointing
6335 * examples/pwg/Makefile.am:
6336 Add loop/getrange examples.
6338 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6341 check for valgrind binary + some fixes
6343 valgrind suppressions for the tests
6344 * check/Makefile.am:
6345 add a valgrind: target that valgrinds the unit tests
6346 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6347 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6348 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6349 * check/gst/gstghostpad.c:
6351 * check/gst/gstdata.c:
6353 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6354 (thread_unref), (gst_mini_object_suite), (main):
6356 * gst/gst.c: (gst_deinit):
6358 add a method to clean up.
6359 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6360 (gst_system_clock_obtain):
6361 allow for disposing the system clock.
6362 * tools/gst-launch.c: (main):
6365 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6367 * docs/gst/tmpl/gstbasesrc.sgml:
6368 * docs/gst/tmpl/gstfakesrc.sgml:
6369 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6370 (gst_base_src_init), (gst_base_src_set_property),
6371 (gst_base_src_get_property), (gst_base_src_get_range),
6372 (gst_base_src_start):
6373 * gst/base/gstbasesrc.h:
6374 add num-buffers property
6375 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6376 (gst_fakesrc_init), (gst_fakesrc_set_property),
6377 (gst_fakesrc_get_property), (gst_fakesrc_create),
6378 (gst_fakesrc_start):
6379 remove num-buffers property
6381 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6383 * docs/gst/gstreamer-sections.txt:
6384 * docs/gst/tmpl/gstbasesink.sgml:
6385 * docs/gst/tmpl/gstbasesrc.sgml:
6386 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6387 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6388 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6389 (gst_base_sink_set_property), (gst_base_sink_get_property),
6390 (gst_base_sink_handle_object), (gst_base_sink_event),
6391 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6392 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6393 (gst_base_sink_loop), (gst_base_sink_deactivate),
6394 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6395 (gst_base_sink_change_state):
6396 * gst/base/gstbasesink.h:
6397 * gst/base/gstbasesrc.h:
6398 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6399 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6400 (gst_filesink_init):
6401 more macro splitting
6403 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6405 * gst/gstelement.c: (gst_element_get_bus):
6407 * tools/gst-launch.c: (check_intr), (event_loop):
6410 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6412 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6415 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6417 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6418 (gst_base_src_finalize):
6419 add finalize method and clean up properly
6420 * gst/gstpipeline.c: (gst_pipeline_dispose):
6423 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6425 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6427 add more things to check
6428 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6432 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6434 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6435 (GST_START_TEST), (fakesrc_suite):
6436 * check/gst-libs/gdp.c: (GST_START_TEST):
6437 * check/gst/gst.c: (GST_START_TEST):
6438 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6439 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6440 * check/gst/gstbus.c: (GST_START_TEST):
6441 * check/gst/gstcaps.c: (GST_START_TEST):
6442 * check/gst/gstdata.c: (GST_START_TEST):
6443 * check/gst/gstelement.c: (GST_START_TEST):
6444 * check/gst/gstghostpad.c: (GST_START_TEST):
6445 * check/gst/gstiterator.c: (GST_START_TEST):
6446 * check/gst/gstmessage.c: (GST_START_TEST):
6447 * check/gst/gstobject.c: (GST_START_TEST):
6448 * check/gst/gstpad.c: (GST_START_TEST):
6449 * check/gst/gststructure.c: (GST_START_TEST):
6450 * check/gst/gstsystemclock.c: (GST_START_TEST),
6451 (gst_systemclock_suite):
6452 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6453 * check/gst/gstvalue.c: (GST_START_TEST):
6454 * check/pipelines/cleanup.c: (GST_START_TEST):
6455 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6456 * check/states/sinks.c: (GST_START_TEST):
6457 * check/gstcheck.c: (gst_check_init):
6459 add debugging category
6460 use GST_START_TEST now, so we add a debug line
6462 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6464 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6465 add test for state change message on a bin
6466 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6468 * gst/gstbin.c: (gst_bin_init):
6469 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6470 * gst/gstelement.c: (gst_element_post_message),
6471 (gst_element_set_state):
6472 * gst/gstelementfactory.c: (gst_element_factory_create):
6473 * gst/gstmessage.c: (gst_message_new):
6474 * gst/gstscheduler.c:
6475 various debugging additions and cleanups
6477 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6479 * check/Makefile.am:
6480 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6482 adding tests for elements
6483 * gst/gstelement.c: (gst_element_dispose):
6485 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6487 * gst/registries/gstlibxmlregistry.c: (load_feature):
6488 plug more leaks. A simple gst_init() now is leakfree, yay.
6490 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6492 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6493 (gst_xml_registry_load):
6494 plug another memleak
6496 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6499 use GST_SET_ERROR_CFLAGS
6501 change to ERROR_CFLAGS
6503 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6506 make GST_ERROR_CFLAGS overridable and re-enable Werror
6508 add a note about error CFLAGS
6509 * docs/gst/tmpl/gstfakesrc.sgml:
6510 * gst/elements/gstfakesrc.c:
6511 comment out some unused code
6512 * gst/gst.c: (split_and_iterate):
6513 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6517 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6519 * common/Makefile.am:
6520 * common/gtk-doc.mak:
6521 * docs/gst/Makefile.am:
6522 factor out gtk-doc.mak
6524 2005-07-07 Wim Taymans <wim@fluendo.com>
6526 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6527 (gst_thread_scheduler_dispose):
6528 Unlock the STREAM_LOCK completely.
6530 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6532 * check/Makefile.am:
6533 * check/elements/.cvsignore:
6534 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6535 (START_TEST), (fakesrc_suite), (main):
6536 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6537 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6538 (gst_fakesrc_create), (gst_fakesrc_start):
6539 * gst/elements/gstfakesrc.h:
6540 adding a first element test
6542 2005-07-07 Andy Wingo <wingo@pobox.com>
6544 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6547 2005-07-07 Wim Taymans <wim@fluendo.com>
6553 2005-07-07 Wim Taymans <wim@fluendo.com>
6555 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6556 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6557 Allow subclasses to implement their own negotiation.
6559 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6561 * docs/design/part-gstbin.txt:
6562 * docs/design/part-gstpipeline.txt:
6563 Update design notes to reflect the movement of
6564 responsibility for bus handling from GstPipeline to
6567 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6570 Remove unnecessary queue2/3/4 examples.
6572 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6574 * examples/Makefile.am:
6575 * examples/helloworld/helloworld.c: (event_loop), (main):
6576 * examples/queue/queue.c: (event_loop), (main):
6577 * examples/queue2/queue2.c: (main):
6578 Update a couple of the examples to work again.
6580 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6581 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6582 Spelling corrections and extra debug.
6584 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6585 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6586 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6588 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6589 (gst_pipeline_change_state):
6590 * gst/gstpipeline.h:
6591 Move the bus handler for children to the GstBin, and create a
6592 separate bus for receiving messages from children to the one the
6593 bus sends 'upwards' on.
6595 2005-07-06 Wim Taymans <wim@fluendo.com>
6598 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6599 (gst_base_sink_handle_object), (gst_base_sink_loop),
6600 (gst_base_sink_change_state):
6601 * gst/base/gstbasesink.h:
6602 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6603 (gst_base_src_init), (gst_base_src_setcaps),
6604 (gst_base_src_getcaps), (gst_base_src_loop),
6605 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6606 (gst_base_src_start), (gst_base_src_change_state):
6607 * gst/base/gstbasesrc.h:
6608 Make basesrc negotiate.
6609 Handle the case where preroll fails in basesink.
6612 2005-07-06 Wim Taymans <wim@fluendo.com>
6614 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6615 Implement the fixate function.
6616 Clean up acceptcaps.
6618 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6620 * docs/pwg/building-filterfactory.xml:
6622 Remove never-written filter-factory chapter; I'll add the various
6623 base classes to part 4 ("other element types") later on.
6625 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6627 * docs/pwg/advanced-negotiation.xml:
6628 * docs/pwg/building-boiler.xml:
6629 * docs/pwg/building-pads.xml:
6631 * examples/pwg/Makefile.am:
6632 Add a chapter on caps negotiation, simplify the original code
6633 samples a bit w.r.t. caps negotiation, add link to the advanced
6634 section. Add a bunch of examples showing different use cases of
6635 different types of caps negotiation. Upstream renegotiation isn't
6636 fully documented yet since nobody knows how that works.
6638 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6640 * check/gst/gstpad.c:
6642 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6643 if pad has no parent, return NULL as list of internal links
6645 2005-07-05 Andy Wingo <wingo@pobox.com>
6647 * gst/elements/gstfilesrc.c:
6648 * gst/elements/gstfakesrc.c:
6649 * gst/base/gstpushsrc.c:
6650 * gst/base/gstbasesrc.h:
6651 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6653 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6656 better report generation target (lcov needs a patch)
6658 2005-07-05 Andy Wingo <wingo@pobox.com>
6660 * gst/elements, testsuite: Null if we got it...
6662 2005-07-05 Wim Taymans <wim@fluendo.com>
6665 * libs/gst/dataprotocol/Makefile.am:
6666 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6667 * libs/gst/dataprotocol/dataprotocol.h:
6668 * pkgconfig/Makefile.am:
6669 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6670 * pkgconfig/gstreamer-dataprotocol.pc.in:
6671 Ported dataprotol to 0.9.
6672 Added pkgconfig files.
6674 2005-07-05 Andy Wingo <wingo@pobox.com>
6676 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6677 Default to returning TRUE for the case when tranform_caps returns
6678 a fixed caps, like for identity or volume.
6680 * check/gst/gstbus.c (pound_bus_with_messages):
6681 * check/gst/gstmessage.c (START_TEST):
6682 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6685 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6686 logic weaks here: always run transform_caps, trying passthrough
6687 operation only if the original caps intersects with the transform.
6689 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6690 source and sink caps.
6692 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6693 Intersect the peer caps with the pad template before going into
6695 (gst_base_transform_transform_caps): More debugging.
6697 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6700 2005-07-04 Edward Hervey <edward@fluendo.com>
6704 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6707 2005-07-04 Andy Wingo <wingo@pobox.com>
6709 * check/gst/gstpad.c: Only set explicit caps on pads.
6711 2005-07-01 Andy Wingo <wingo@pobox.com>
6713 * tests/network-clock.scm: Commentary update.
6715 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6716 Didn't really make sense, not implementable with basetransform,
6718 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6719 attempt at implementing the sync property, needs an unlock method.
6721 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6722 New func, by default returns the same caps (the identity
6724 (gst_base_transform_getcaps): Uses transform_caps to return
6726 (gst_base_transform_setcaps): Complicated logic to get caps on
6727 both pads, even if they are different, and to call set_caps once
6728 for every time both pads get their caps set.
6729 (gst_base_transform_handle_buffer): Give the ref to the transform
6730 function. Allows in-place modification of the buffer.
6732 * gst/base/gstbasetransform.h (transform_caps): New class method.
6733 Given caps on one side, what can I do on the other.
6734 (set_caps): Take two caps, one for each side of the element.
6737 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6738 caps in place. This is safe because we can check the mutability of
6739 the caps, and a good idea because fixate functions are just called
6740 as a matter of last resort. (Not actually implemented.)
6741 (gst_pad_set_caps): If the caps we're setting is actually the same
6742 as the existing pad caps, just update the pointer without calling
6743 setcaps. Assert that caps is either NULL or fixed, as per the
6746 * gst/gstghostpad.c: Update for fixate changes.
6748 2005-07-02 Andy Wingo <wingo@pobox.com>
6751 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6752 two refcounts makes it immutable, which is enough. Doc more.
6754 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6756 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6757 Put the mini_object into GValue as a mini_object,
6758 not a gpointer, since that's how we declared
6761 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6763 * examples/pwg/Makefile.am:
6766 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6768 * docs/pwg/building-testapp.xml:
6770 * examples/pwg/Makefile.am:
6773 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6776 * examples/Makefile.am:
6777 * examples/pwg/Makefile.am:
6778 * examples/pwg/extract.pl:
6779 Enable building the PWG examples.
6780 * docs/pwg/advanced-interfaces.xml:
6781 Add URI interface stub.
6782 * docs/pwg/advanced-types.xml:
6783 * docs/pwg/other-autoplugger.xml:
6784 * docs/pwg/appendix-porting.xml:
6786 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6787 * docs/pwg/building-boiler.xml:
6788 * docs/pwg/building-chainfn.xml:
6789 * docs/pwg/building-pads.xml:
6790 * docs/pwg/building-props.xml:
6791 * docs/pwg/building-state.xml:
6792 * docs/pwg/building-testapp.xml:
6793 Update the building-*.xml parts for 0.9 changes. All examples
6794 code blocks compile in examples/pwg/*.
6796 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6798 * docs/manual/advanced-autoplugging.xml:
6799 * docs/manual/appendix-checklist.xml:
6800 * docs/manual/appendix-integration.xml:
6801 * docs/manual/highlevel-components.xml:
6802 Fix playbin/decodebin examples, update docs a bit, mention bus
6803 instead of signals in various places, mention kmplayer and
6804 kaffeine since they have a working GStreamer backend in the KDE
6807 2005-06-30 Wim Taymans <wim@fluendo.com>
6810 * docs/design/draft-ghostpads.txt:
6811 * docs/design/draft-push-pull.txt:
6812 * docs/design/draft-query.txt:
6813 * docs/design/part-TODO.txt:
6814 * docs/design/part-query.txt:
6815 Added CHANGES-0.9 doc, updated status of other docs.
6820 2005-06-30 Wim Taymans <wim@fluendo.com>
6822 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6823 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6824 (gst_base_sink_change_state):
6825 * gst/base/gstbasesink.h:
6826 Some tweaks, only EOS and a buffer complete a preroll.
6828 2005-06-30 Andy Wingo <wingo@pobox.com>
6830 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
6831 activate_push down to the internal pad as well.
6833 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
6835 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6837 * gst/gsttaginterface.c:
6838 Some documentation fixes (#307394 and #307397).
6840 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
6842 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6844 * gst/gstvalue.c: (gst_value_intersect_list):
6845 Fix memleak (#309125).
6847 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6849 * docs/manual/advanced-dataaccess.xml:
6850 Fix fakesrc example to compile; doesn't work, bug somewhere...?
6851 * docs/manual/basics-pads.xml:
6852 Add reference for filtered caps to above chapter.
6854 2005-06-30 Wim Taymans <wim@fluendo.com>
6856 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
6857 (gst_bin_change_state):
6859 Lame attempt at making the state change function a bit
6862 2005-06-30 Wim Taymans <wim@fluendo.com>
6864 * docs/design/part-clocks.txt:
6865 * docs/design/part-element-sink.txt:
6866 * docs/design/part-events.txt:
6867 * docs/design/part-preroll.txt:
6868 * docs/design/part-states.txt:
6869 Some more tweeks and additions to the docs.
6871 2005-06-30 Wim Taymans <wim@fluendo.com>
6873 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6874 (default_have_data), (gst_pad_class_init), (gst_pad_init),
6875 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6876 (gst_pad_check_pull_range), (gst_pad_get_range),
6877 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
6879 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
6880 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6881 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6882 (gst_pad_remove_buffer_probe):
6883 Removed atomic operations, use existing LOCK.
6884 Move exception handling out of main code path.
6886 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6888 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6889 (silly_return_true_function), (gst_pad_class_init),
6890 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6891 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
6892 (gst_pad_send_event):
6893 Fix accumulator, add default value by using _emitv() instead
6894 of _emit() for signal emission.
6896 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6898 * docs/manual/advanced-dataaccess.xml:
6899 * examples/manual/Makefile.am:
6901 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
6904 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
6906 * gst/elements/gstfilesink.c: (gst_filesink_render):
6907 Simplify code so that we don't have to handle short
6908 writes and return GST_FLOW_ERROR if an error occured.
6910 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6912 * docs/gst/gstreamer-docs.sgml:
6915 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6917 * docs/gst/gstreamer-sections.txt:
6918 * docs/gst/tmpl/gstpad.sgml:
6919 * docs/gst/tmpl/gstprobe.sgml:
6921 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6922 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
6923 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6924 (gst_pad_push_event), (gst_pad_send_event):
6926 * gst/gstutils.c: (gst_pad_add_data_probe),
6927 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6928 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6929 (gst_pad_remove_buffer_probe):
6931 Remove old probes, add new g-signal-based probes and some utility
6934 2005-06-29 Edward Hervey <edward@fluendo.com>
6936 * gst/gstelementfactory.c:
6939 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
6940 the definition to the header file.
6942 2005-06-29 Andy Wingo <wingo@pobox.com>
6944 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
6945 plugins from the source directory.
6947 2005-06-29 Wim Taymans <wim@fluendo.com>
6949 * docs/gst/tmpl/gstbuffer.sgml:
6950 * docs/gst/tmpl/gstclock.sgml:
6951 Some fixings for blantently wrong text.
6953 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6955 * check/Makefile.am:
6956 * gst/gst.c: (add_path_func), (init_pre):
6957 * gst/gstregistry.c: (gst_registry_add_path):
6958 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
6959 only scan the GST_PLUGIN_PATH locations, and not add
6962 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6964 * docs/gst/gstreamer-sections.txt:
6965 * docs/gst/tmpl/gstbasesrc.sgml:
6972 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6974 * docs/manual/advanced-autoplugging.xml:
6975 Fix autoplugging example.
6977 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6979 * docs/manual/advanced-autoplugging.xml:
6980 * docs/manual/mime-world.fig:
6981 Try to get autoplugging working, fix type detection. Fix text
6982 in hello-world image.
6984 2005-06-29 Wim Taymans <wim@fluendo.com>
6986 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6987 (gst_base_sink_change_state):
6991 map SIGNAL and BROADCAST to the right function.
6994 Remove redundant braces.
6996 * gst/gstpad.c: (gst_pad_set_caps):
6997 Don't call setcaps function when reseting caps to NULL.
6999 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7000 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7001 (gst_system_clock_id_unschedule):
7002 Use BROADCAST as this is what we do.
7004 2005-06-29 Wim Taymans <wim@fluendo.com>
7006 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7007 We are actually prerolling before commiting the state
7010 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7012 * docs/manual/advanced-clocks.xml:
7013 * docs/manual/advanced-interfaces.xml:
7014 * docs/manual/advanced-metadata.xml:
7015 * docs/manual/advanced-position.xml:
7016 * docs/manual/advanced-schedulers.xml:
7017 * docs/manual/advanced-threads.xml:
7018 * docs/manual/appendix-porting.xml:
7019 * docs/manual/basics-bins.xml:
7020 * docs/manual/basics-bus.xml:
7021 * docs/manual/basics-elements.xml:
7022 * docs/manual/basics-helloworld.xml:
7023 * docs/manual/basics-pads.xml:
7024 * docs/manual/highlevel-components.xml:
7025 * docs/manual/manual.xml:
7026 * docs/manual/thread.fig:
7027 Update (until threads/scheduling) Application Development Manual;
7028 remove GstThread, add GstBus, add simple porting checklist, add
7029 documentation for tag writing, clocks, make all examples until this
7030 part compile and run.
7031 * examples/manual/Makefile.am:
7032 Update from changes to Application Development Manual; add bus
7033 example, remove thread example.
7035 2005-06-28 Wim Taymans <wim@fluendo.com>
7037 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7038 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7039 (gst_bus_source_dispatch):
7040 Add debugging messages.
7041 Make internal methods static.
7042 Handle the case where the bus is flushed in the handler.
7044 * gst/gstelement.c: (gst_element_get_bus):
7045 Fix refcount in _get_bus();
7047 * gst/gstpipeline.c: (gst_pipeline_change_state),
7048 (gst_pipeline_get_clock_func):
7049 Clock refcounting fixes.
7050 Handle the case where preroll timed out more gracefully.
7052 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7053 Clean up the internal thread in dispose. This is needed
7054 for subclasses that actually get disposed.
7056 * gst/schedulers/threadscheduler.c:
7057 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7058 (gst_thread_scheduler_dispose):
7059 Free thread pool in dispose.
7061 2005-06-28 Andy Wingo <wingo@pobox.com>
7063 * tests/network-clock-utils.scm (debug, print-event): New utils.
7065 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7066 (*packet-loss*): Unified loss probability.
7067 (network-time): Report out-of-band events.
7069 * tests/plot-data: Add support for out-of-band events. Hack it
7070 into this script instead of passing it down the pipe; should fix
7073 2005-06-28 Wim Taymans <wim@fluendo.com>
7075 * docs/gst/gstreamer.types:
7076 * docs/gst/tmpl/gstbasesrc.sgml:
7077 * docs/gst/tmpl/gstpad.sgml:
7080 2005-06-28 Wim Taymans <wim@fluendo.com>
7082 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7083 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7084 (gst_proxy_pad_do_fixatecaps):
7085 Correctly proxy the check_pull_range function.
7087 2005-06-28 Andy Wingo <wingo@pobox.com>
7089 * tests/network-clock.scm: Removed need for slib.
7091 2005-06-28 Wim Taymans <wim@fluendo.com>
7093 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7094 (gst_basesink_preroll_queue_flush):
7095 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7096 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7097 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7098 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7099 (gst_proxy_pad_set_property):
7102 * gst/gstqueue.c: (gst_queue_init):
7103 The deprecated pad loop function is removed now.
7105 2005-06-28 Andy Wingo <wingo@pobox.com>
7107 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7108 New parameters, simulate network packet loss.
7110 * tests/network-clock-utils.scm: Initialize the RNG.
7112 2005-06-28 Wim Taymans <wim@fluendo.com>
7114 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7115 (gst_basesink_event), (gst_basesink_deactivate):
7116 Flushing the preroll queue always needs to unlock the waiters.
7118 2005-06-28 Edward Hervey <edward@fluendo.com>
7120 * gst/gstpipeline.c: (gst_pipeline_send_event):
7121 Wheen a seek was successful on a pipeline, set the stream_time to the
7122 seek offset in order to have a synchronized stream_time.
7124 2005-06-28 Wim Taymans <wim@fluendo.com>
7126 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7127 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7128 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7129 (gst_proxy_pad_do_fixatecaps):
7130 Call wrapper function instead of just calling the function
7131 pointers. This takes care of any locking and whatmore.
7133 2005-06-28 Wim Taymans <wim@fluendo.com>
7135 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7136 (gst_pad_pull_range):
7138 CONNECTED -> LINKED.
7140 2005-06-28 Andy Wingo <wingo@pobox.com>
7142 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7143 source-munging commit!!!
7145 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7146 (gst_object_sink): Take gpointer arguments, not GstObject --
7147 avoids casts. Like GLib.
7149 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7152 2005-06-27 Andy Wingo <wingo@pobox.com>
7154 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7157 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7158 returns a sorted copy of the trace list.
7159 (gst_alloc_trace_print_live): New API, only prints traces with
7160 live objects. Sort the list.
7161 (gst_alloc_trace_print_all): Sort the list.
7162 (gst_alloc_trace_print): Align columns.
7164 * gst/elements/gstttypefindelement.c:
7165 * gst/elements/gsttee.c:
7166 * gst/base/gstbasesrc.c:
7167 * gst/base/gstbasesink.c:
7168 * gst/base/gstbasetransform.c:
7169 * gst/gstqueue.c: Adapt for pad activation changes.
7171 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7173 (gst_pipeline_dispose): Drop ref on sched.
7175 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7176 (gst_pad_activate_default): Push mode by default.
7177 (pre_activate_switch, post_activate_switch): New stubs, things to
7178 do before and after switching activation modes on pads.
7179 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7180 the pad's activate function to choose which mode to activate.
7181 Shortcut on deactivation and call the right function directly.
7182 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7184 (gst_pad_activate_push): New API, same for push mode.
7185 (gst_pad_set_activate_function)
7186 (gst_pad_set_activatepull_function)
7187 (gst_pad_set_activatepush_function): Setters for new API.
7189 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7190 Trace all miniobjects.
7191 (gst_mini_object_make_writable): Unref the arg if we copy, like
7192 gst_caps_make_writable.
7194 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7196 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7197 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7198 Adapt for new pad API.
7200 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7203 * gst/gstelement.c (gst_element_iterate_src_pads)
7204 (gst_element_iterate_sink_pads): New API functions.
7206 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7207 should fold into gstiterator.c in some form.
7208 (gst_element_pads_activate): Simplified via use of fold and
7209 delegation of decisions to gstpad->activate.
7211 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7214 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7215 class once in init, like gstmessage. Didn't run into this issue
7216 but it seems correct. Don't initialize a trace, gstminiobject does
7219 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7220 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7222 (assert_live_count): New util function, uses alloc traces to check
7225 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7226 To be modified when unlink drops the internal pad.
7228 2005-06-27 Wim Taymans <wim@fluendo.com>
7230 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7231 (gst_bin_change_state):
7232 Cleanup the get_state() function a little, make sure it
7233 iterates the same set of elements.
7234 Added stub iterate_state_order().
7236 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7238 * docs/gst/gstreamer-docs.sgml:
7239 * docs/gst/gstreamer-sections.txt:
7240 * docs/gst/gstreamer.types:
7241 * docs/gst/tmpl/gstbasesink.sgml:
7242 * docs/gst/tmpl/gstbasesrc.sgml:
7243 * docs/gst/tmpl/gstbasetransform.sgml:
7244 * docs/gst/tmpl/gstelement.sgml:
7245 * docs/gst/tmpl/gstiterator.sgml:
7246 * gst/base/gstbasesrc.c:
7247 * gst/base/gstbasesrc.h:
7248 * gst/base/gstbasetransform.h:
7250 * gst/gstiterator.h:
7251 adding basetransform and iterator docs
7253 2005-06-27 Andy Wingo <wingo@pobox.com>
7255 * docs/design/part-activation.txt: Notes on how activation should
7256 work -- not quite implemented yet.
7258 2005-06-25 Wim Taymans <wim@fluendo.com>
7260 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7261 At least get the chain function correct, needs more
7264 2005-06-25 Wim Taymans <wim@fluendo.com>
7266 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7267 (gst_basesink_handle_object), (gst_basesink_event),
7268 (gst_basesink_do_sync), (gst_basesink_handle_event),
7269 (gst_basesink_change_state):
7271 Right, two problems here: ghostpads don't take locks and
7272 glib _rec_mutex_lock_full() with depth==0 still locks.
7273 Catch illegal locking and g_warn them.
7275 2005-06-25 Wim Taymans <wim@fluendo.com>
7277 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7278 Have to check for completion now...
7280 2005-06-25 Wim Taymans <wim@fluendo.com>
7282 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7283 (gst_basesink_handle_object), (gst_basesink_event),
7284 (gst_basesink_do_sync), (gst_basesink_handle_event),
7285 (gst_basesink_change_state):
7287 Unlock STREAM_LOCK whatever the recursion was.
7289 2005-06-25 Wim Taymans <wim@fluendo.com>
7291 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7292 (gst_basesink_preroll_queue_empty),
7293 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7294 (gst_basesink_event), (gst_basesink_do_sync),
7295 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7296 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7297 (gst_basesink_change_state):
7298 Reworked the base sink, handle event and buffer serialisation
7299 correctly and removed possible deadlock.
7300 Handle EOS correctly.
7302 2005-06-25 Wim Taymans <wim@fluendo.com>
7304 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7305 (gst_pipeline_change_state):
7306 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7307 Allow elements to post EOS in the state change function.
7308 Fix up -launch, make it exit the poll loop when the
7309 pipeline actually changed state.
7310 Fix up warning parsing in -launch.
7312 2005-06-25 Wim Taymans <wim@fluendo.com>
7314 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7315 (gst_tee_sink_activate):
7316 Core takes STREAM_LOCK for us now.
7318 2005-06-25 Wim Taymans <wim@fluendo.com>
7320 * gst/gstelement.c: (gst_element_get_state_func),
7321 (gst_element_set_state):
7323 * gst/gstmessage.c: (gst_message_parse_error),
7324 (gst_message_parse_warning):
7325 Keep track of current target state while performing a state
7326 change so that subclasses can do something interesting.
7327 Fix parsing of warning/error messages when GError is NULL.
7329 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7331 * docs/gst/Makefile.am:
7332 * docs/gst/gstreamer-docs.sgml:
7333 * docs/gst/gstreamer-sections.txt:
7334 * docs/gst/gstreamer.types:
7335 * docs/gst/tmpl/gstbasesink.sgml:
7336 * docs/gst/tmpl/gstbasesrc.sgml:
7337 * docs/gst/tmpl/gstbin.sgml:
7338 * docs/gst/tmpl/gstcompat.sgml:
7339 * docs/gst/tmpl/gstfakesink.sgml:
7340 * docs/gst/tmpl/gstfakesrc.sgml:
7341 * docs/gst/tmpl/gstfilesink.sgml:
7342 * docs/gst/tmpl/gstfilesrc.sgml:
7343 * docs/gst/tmpl/gstindex.sgml:
7344 * docs/manual/appendix-quotes.xml:
7345 * gst/base/gstbasesrc.h:
7346 * gst/elements/gstfakesrc.h:
7348 start pulling in base classes and elements in our docs
7350 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7352 * docs/gst/Makefile.am:
7353 * docs/libs/Makefile.am:
7354 fixed make distcheck with gtk-doc 1.3
7356 2005-06-23 Wim Taymans <wim@fluendo.com>
7358 * gst/gstelement.c: (gst_element_get_state_func),
7359 (gst_element_set_state), (gst_element_change_state):
7360 When the state did not change, also report NO_PREROLL
7363 2005-06-23 Wim Taymans <wim@fluendo.com>
7365 * gst/gstpad.c: (gst_pad_event_default):
7366 * gst/gstqueue.c: (gst_queue_loop):
7367 No unsafe task pausing please.
7369 2005-06-23 Wim Taymans <wim@fluendo.com>
7371 * gst/schedulers/threadscheduler.c:
7372 (gst_thread_scheduler_task_start),
7373 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7374 Ref the task before pushing it on the threadpool. This
7375 makes sure that we have a ref when the threadfunction is
7378 2005-06-23 Andy Wingo <wingo@pobox.com>
7380 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7381 offset is greater than the file's size.
7383 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7384 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7385 * gst/gstobject.c (gst_object_class_init): Make the class lock
7386 recursive. Wim won't let me drop deep_notify. Decodebin works
7389 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7390 internal pad, and hacks accordingly. Doesn't do it on the target
7391 pad because we change its caps. Probably catches all cases of
7393 (gst_ghost_pad_set_property): Connect to notify::caps as
7396 * tests/network-clock.scm (plot-simulation): Pipe data to the
7397 elite python skript.
7399 * tests/network-clock-utils.scm (define-parameter): New macro,
7400 defines a parameter that can be set via the command line.
7401 (set-parameter!, parse-parameter-arguments): Command line args
7404 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7407 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7409 * gst/elements/gsttypefindelement.c:
7410 (gst_type_find_element_handle_event):
7411 Don't restart typefinding on a discont.
7412 * gst/gstelement.c: (gst_element_set_state):
7414 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7415 Allow changing mode of an active pad.
7417 * gst/registries/gstlibxmlregistry.c: (load_feature):
7418 Don't cast a static pad template to a normal pad template.
7420 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7422 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7423 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7424 remove gst_strtoll completely, since it didn't actually do
7425 anything more than what g_ascii_strtoull already does.
7426 check for range errors when deserializing
7427 do a cast for the unsigned cases; but further fixing needs
7428 a decision on what the interpretation of "(int)" and
7429 deserialization should be for values that fall outside the
7430 type's boundaries (ie, refuse, or interpret as casting)
7432 2005-06-23 Wim Taymans <wim@fluendo.com>
7434 * check/Makefile.am:
7435 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7436 * docs/design/part-live-source.txt:
7437 * docs/design/part-states.txt:
7438 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7439 (gst_basesrc_set_live), (gst_basesrc_is_live),
7440 (gst_basesrc_get_range), (gst_basesrc_activate),
7441 (gst_basesrc_change_state):
7442 * gst/base/gstbasesrc.h:
7443 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7444 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7445 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7446 * gst/gstelement.c: (gst_element_get_state_func),
7447 (gst_element_set_state):
7450 * tools/gst-launch.c: (event_loop), (main):
7451 Added support for live sources and other elements that
7453 Updated design docs, added live-source design doc.
7454 Implemented live source functionality in basesrc
7455 Fix error condition in _bin_get_state()
7456 Implement live source handling in -launch.
7457 Added check for live sources.
7458 Fixed case in GstBin where elements were changed state
7462 2005-06-23 Andy Wingo <wingo@pobox.com>
7464 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7467 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7468 gst_caps_replace takes care of this for us.
7470 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7471 gst_pad_set_caps on the target, not just its setcaps() function.
7473 * tests/network-clock.scm:
7474 * tests/network-clock-utils.scm: A network clock simulator.
7475 Something of an algorithmic testbed before doing something in C.
7477 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7479 * check/Makefile.am:
7480 * check/gst/capslist.h:
7481 copy over from 0.8, and add two with bitmasks specified with
7483 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7484 add test to parse everything from capslist.h
7485 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7487 add test for structure deserialization
7488 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7489 add tests for deserialization of strings to int types
7490 * gst/gststructure.c: (gst_structure_nth_field_name):
7491 * gst/gststructure.h:
7492 add a way to get the name of a field referenced by index
7493 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7494 instead of checking if the resulting long long lies between
7495 min and max, we check if the long long would fit into
7496 a number of bytes for the final type.
7497 This fixes cases where a string represents 2^32 - 1, which
7498 when cast to int would be the (valid) -1, but is bigger than
7501 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7503 * gst/parse/grammar.y:
7504 add a log line for type deserialization
7506 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7508 * check/gst/gstvalue.c: (START_TEST):
7509 * gst/gstvalue.c: (gst_value_deserialize):
7510 return long long, not int, so gint64 deserialization actually
7511 works. Is there any flag that makes the compiler check this ?
7514 2005-06-22 Wim Taymans <wim@fluendo.com>
7517 Added convenience macros for setting buffers in GValue.
7519 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7521 * check/gst/.cvsignore:
7522 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7523 add a test deserializing int64, and comment part out because
7526 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7528 * check/Makefile.am:
7529 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7530 * testsuite/Makefile.am:
7531 * testsuite/caps/Makefile.am:
7532 * testsuite/caps/value_serialize.c:
7533 * testsuite/test_gst_init.c:
7534 move a value_serialize test over
7536 2005-06-20 Wim Taymans <wim@fluendo.com>
7541 * gst/gstvalue.c: (gst_value_compare_buffer),
7542 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7543 (gst_value_compare_flags), (gst_value_serialize_flags),
7544 (gst_value_deserialize_flags), (_gst_value_initialize):
7545 Fix serialisation of buffers, they are not boxed types anymore
7547 2005-06-20 Wim Taymans <wim@fluendo.com>
7549 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7550 Testcase to show error in buffer-on-caps serialisation.
7552 2005-06-20 Andy Wingo <wingo@pobox.com>
7554 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7555 will be adding to later.
7557 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7558 if its socks fill with rocks.
7559 (gst_system_clock_obtain): Set the name on object construction.
7560 Avoid double-checked locking.
7562 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7564 * gst/gsturi.c: (gst_element_make_from_uri):
7565 Fix potential endless loop.
7567 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7569 * check/Makefile.am:
7571 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7573 move over from testsuite dir and clean up
7576 * testsuite/Makefile.am:
7577 * testsuite/tags/.cvsignore:
7578 * testsuite/tags/Makefile.am:
7579 * testsuite/tags/merge.c:
7580 remove testsuite/tags
7582 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7584 * docs/gst/gstreamer-sections.txt:
7585 * docs/gst/tmpl/gstenumtypes.sgml:
7586 * win32/gstenumtypes.c:
7587 clean up documentation build a little
7589 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7592 add macros for checking refcounts on objects and caps
7593 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7594 add some more unit tests
7595 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7596 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7597 fix leaked refcounts (I hope :)) so unittest works
7601 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7603 * configure.ac: back to HEAD
7605 === release 0.9.1 ===
7607 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7613 2005-06-17 Andy Wingo <wingo@pobox.com>
7615 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7616 assert; it's always possible that the pad gets deactivated in
7617 between the checks in gstpad.c and the implementation. Rely on
7618 finish_preroll() to return a FLUSHING or similar instead of on the
7621 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7622 clock and post an EOS message if we come out of finish_preroll in
7625 2005-06-16 David Schleef <ds@schleef.org>
7627 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7628 (gst_capsfilter_set_property): Allow NULL as possible value
7629 for filter_caps property, indicating GST_CAPS_ANY.
7631 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7633 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7635 * gst/schedulers/Makefile.am:
7637 * gstreamer.spec.in:
7640 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7642 * gstreamer.spec.in:
7645 2005-06-08 Andy Wingo <wingo@pobox.com>
7647 * gst/gstutils.c: RPAD fixes all around.
7648 (gst_element_link_pads): Refcounting fixes.
7650 * tools/gst-inspect.c:
7651 * tools/gst-xmlinspect.c:
7653 * gst/base/gsttypefindhelper.c:
7654 * gst/base/gstbasesink.c:
7655 * gst/gstqueue.c: RPAD fixes.
7657 * gst/gstghostpad.h:
7658 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7659 pads. The tricky thing is they provide both source and sink
7660 interfaces, since they proxy the internal pad for the external
7661 pad, and vice versa. Implement with lower-level ProxyPad objects,
7662 with the interior proxy pad as a child of the exterior ghost pad.
7663 Should write a doc on this.
7665 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7666 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7669 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7670 pads are real pads. No ghost pads in this file. Not documenting
7671 the myriad s/RPAD/PAD/ and REALIZE fixes.
7672 (gst_pad_class_init): Add properties for "direction" and
7673 "template". Both are construct-only, so they can't change during
7674 the life of the pad. Fixes properly deriving from GstPad.
7675 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7676 derived objects, just set properties when creating the objects via
7678 (gst_pad_get_parent): Implement as a function, return NULL if the
7679 parent is not an element.
7680 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7681 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7683 * gst/gstobject.c (gst_object_class_init): Make name a construct
7684 property. Don't set it in the object init.
7686 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7687 with UNKNOWN direction.
7688 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7689 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7690 (gst_element_remove_pad): Remove ghost-pad special cases.
7691 (gst_element_pads_activate): Remove rpad cruft.
7693 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7694 catch the pad's-parent-not-an-element case.
7696 * gst/gst.h: Include gstghostpad.h.
7698 * gst/gst.c (init_post): No more real, ghost pads.
7700 * gst/Makefile.am: Add gstghostpad.[ch].
7702 * check/Makefile.am:
7703 * check/gst/gstbin.c:
7704 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7705 into a bin creates ghost pads, and that the refcounts are right.
7706 Partly moved from gstbin.c.
7708 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7710 * check/gst-libs/.cvsignore:
7711 * check/gst/.cvsignore:
7712 * check/pipelines/.cvsignore:
7714 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7715 (START_TEST), (cleanup_suite), (main):
7716 add some tests related to cleanup after running pipelines
7718 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7720 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7721 add a testsuite for GstBuffer
7723 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7725 * gst/gstminiobject.h:
7726 add defines for accessing the refcount
7728 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7730 * Makefile.am: added support for html unit test coverage reports
7732 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7734 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7735 Free existing caps if the capsfilter changes. Add a FIXME about
7736 setting those caps on the pads.
7738 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7739 Before adding a ghost pad to a parent bin, check that there isn't
7740 already one for the element on the bin. Prevents infinite recursion
7741 when using decodebin in parse pipelines. Andy says he'll rewrite the
7742 way this works anyway, so ignore the hack.
7744 2005-06-02 Andy Wingo <wingo@pobox.com>
7746 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7747 file size, pass it on to the type find helper.
7749 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7750 segment_start and segment_end properly according to the seek
7751 method. Segment_end is still a bit flaky because offset can be
7752 negative for CUR and END cases, but it takes -1 as an "unset"
7755 2005-06-02 Wim Taymans <wim@fluendo.com>
7757 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7758 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7759 (gst_basesink_activate):
7760 * gst/base/gstbasesink.h:
7761 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7762 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7763 (gst_pad_query), (gst_pad_start_task):
7765 * gst/gstqueue.c: (gst_queue_bufferalloc),
7766 (gst_queue_handle_sink_event), (gst_queue_chain):
7767 Bufferalloc: return GstFlowReturn to more accuratly report
7768 why allocation failed.
7770 2005-06-02 Wim Taymans <wim@fluendo.com>
7772 * gst/gstpipeline.c: (gst_pipeline_send_event):
7773 Take snapshot of state without blocking.
7775 2005-06-02 Wim Taymans <wim@fluendo.com>
7777 * docs/design/part-TODO.txt:
7778 * docs/design/part-caps.txt:
7779 * docs/design/part-clocks.txt:
7780 * docs/design/part-negotiation.txt:
7781 * docs/design/part-preroll.txt:
7784 2005-05-30 Wim Taymans <wim@fluendo.com>
7786 * gst/elements/gstidentity.c: (gst_identity_event),
7787 (gst_identity_transform), (gst_identity_get_property):
7788 Protect last_message property as it is accessed from
7791 2005-05-30 Wim Taymans <wim@fluendo.com>
7793 * gst/gstelement.c: (gst_element_init),
7794 (gst_element_pads_activate), (gst_element_change_state):
7795 Slicker pad activation code.
7797 2005-05-30 Wim Taymans <wim@fluendo.com>
7801 * gst/gstelementfactory.h:
7803 Move elementfactory methods to separate .h file.
7805 2005-05-30 Wim Taymans <wim@fluendo.com>
7807 * docs/design/part-overview.txt:
7808 * gst/gstsystemclock.h:
7809 Small typo fixes, doc updates.
7811 2005-05-30 Wim Taymans <wim@fluendo.com>
7813 * gst/gst.c: (gst_init_get_popt_table), (init_post),
7814 (init_popt_callback):
7815 Remove cpu-opt flag.
7817 2005-05-30 Wim Taymans <wim@fluendo.com>
7819 * gst/gstbuffer.c: (gst_subbuffer_finalize),
7820 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
7822 Avoid typechecking in places where not needed.
7823 Added accessor for malloc_data.
7825 2005-05-30 Wim Taymans <wim@fluendo.com>
7827 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
7828 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
7829 (gst_pad_configure_sink), (gst_pad_configure_src),
7830 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
7831 (gst_pad_start_task):
7832 Propagate errors from _set_caps() in configure_src/sink
7833 functions instead of returning TRUE.
7834 FLUSH events can travel up and downstream
7837 2005-05-30 Wim Taymans <wim@fluendo.com>
7839 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7840 (gst_basesink_activate):
7841 Handle EOS in preroll.
7843 2005-05-30 Wim Taymans <wim@fluendo.com>
7845 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7846 (gst_queue_loop), (gst_queue_handle_src_event):
7847 Remove old pieces of code
7848 Flushing the queue in an upstream event is a very bad idea.
7850 2005-05-26 Andy Wingo <wingo@pobox.com>
7852 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
7853 gst_value_set_mini_object so as to add a ref on the object (which
7854 will be removed when the value is unset).
7856 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
7857 arg type in ::handoff.
7859 * gst/gstelement.c (gst_element_change_state): Also deactivate
7860 pads in READY->NULL, just in case the element didn't make it to
7861 PAUSED. Wingo tested, Wim approved.
7863 2005-05-26 Wim Taymans <wim@fluendo.com>
7865 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7866 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7867 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
7868 A flushing pad cannot be used to alloc_buffer from.
7870 2005-05-26 Wim Taymans <wim@fluendo.com>
7872 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7873 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
7874 (gst_bus_source_dispatch), (gst_bus_source_finalize),
7875 (gst_bus_create_watch), (gst_bus_add_watch_full):
7877 Implement a real GSource and use g_main_context_wakeup() to
7878 signal new messages instead of the socketpair.
7880 2005-05-25 Wim Taymans <wim@fluendo.com>
7882 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
7883 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
7884 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7885 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7886 (gst_pad_send_event), (gst_pad_start_task):
7887 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
7888 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7889 (gst_queue_sink_activate), (gst_queue_src_activate),
7890 (gst_queue_change_state):
7892 Fix state changes for non sinks. We now change sinks, then elements
7893 with unconnected srcpads, then the rest.
7894 More efficient queue unlocking in flush and state changes.
7895 Set the pad activate mode even if it does not have an activate
7898 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7900 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
7901 Don't go in pull mode for non-seekable sources.
7902 * gst/elements/gsttypefindelement.h:
7903 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7904 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
7905 (free_entry), (stop_typefinding),
7906 (gst_type_find_element_handle_event), (find_peek),
7907 (gst_type_find_element_chain), (do_pull_typefind),
7908 (gst_type_find_element_change_state):
7909 Allow typefinding (w/o seeking) in push-mode, simplified version
7911 * gst/gstutils.c: (gst_buffer_join):
7913 gst_buffer_join() from 0.8.
7915 2005-05-25 Wim Taymans <wim@fluendo.com>
7917 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7918 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7919 (gst_pad_send_event), (gst_pad_start_task):
7920 Disable attempt at mode switching until it is figured out.
7922 2005-05-25 Wim Taymans <wim@fluendo.com>
7924 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
7925 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7926 (gst_basesink_finish_preroll), (gst_basesink_chain),
7927 (gst_basesink_loop), (gst_basesink_activate),
7928 (gst_basesink_change_state):
7929 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
7930 (gst_basesrc_get_range), (gst_basesrc_loop),
7931 (gst_basesrc_activate):
7932 * gst/elements/gsttee.c: (gst_tee_sink_activate):
7933 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7934 (gst_real_pad_init), (gst_real_pad_set_property),
7935 (gst_real_pad_get_property), (gst_pad_set_active),
7936 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
7937 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
7938 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
7939 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
7940 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7941 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
7942 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
7943 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7944 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
7945 (gst_pad_stop_task):
7947 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7948 (gst_queue_loop), (gst_queue_src_activate):
7949 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
7950 (gst_task_get_state):
7952 * gst/schedulers/threadscheduler.c:
7953 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
7954 Implement gst_pad_pause/start/stop_task(), take STREAM lock
7956 Remove ACTIVE pad flag, use FLUSHING everywhere
7957 Added _pad_chain(), _pad_get_range() to call chain/getrange
7959 Add locks around IS_FLUSHING when reading.
7960 Take STREAM lock in chain(), get_range() functions so plugins
7961 don't need to take it anymore.
7965 2005-05-25 Wim Taymans <wim@fluendo.com>
7967 * tools/gst-launch.c: (event_loop):
7968 Unref message after using its contents instead of
7971 2005-05-24 Wim Taymans <wim@fluendo.com>
7973 * docs/design/draft-ghostpads.txt:
7974 * docs/design/draft-push-pull.txt:
7975 * docs/design/draft-query.txt:
7976 * docs/design/part-overview.txt:
7977 Docs updates, added general overview doc.
7979 2005-05-21 David Schleef <ds@schleef.org>
7981 * docs/gst/tmpl/old/GstBin.sgml:
7982 * docs/gst/tmpl/old/GstBuffer.sgml:
7983 * docs/gst/tmpl/old/GstCaps.sgml:
7984 * docs/gst/tmpl/old/GstClock.sgml:
7985 * docs/gst/tmpl/old/GstCompat.sgml:
7986 * docs/gst/tmpl/old/GstData.sgml:
7987 * docs/gst/tmpl/old/GstElement.sgml:
7988 * docs/gst/tmpl/old/GstEvent.sgml:
7989 * docs/gst/tmpl/old/GstIndex.sgml:
7990 * docs/gst/tmpl/old/GstStructure.sgml:
7991 * docs/gst/tmpl/old/GstTag.sgml:
7992 * docs/gst/tmpl/old/cothreads.sgml:
7993 * docs/gst/tmpl/old/cothreads_compat.sgml:
7994 * docs/gst/tmpl/old/gettext.sgml:
7995 * docs/gst/tmpl/old/gobject2gtk.sgml:
7996 * docs/gst/tmpl/old/grammar.tab.sgml:
7997 * docs/gst/tmpl/old/gst-i18n-app.sgml:
7998 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
7999 * docs/gst/tmpl/old/gst_private.sgml:
8000 * docs/gst/tmpl/old/gstaggregator.sgml:
8001 * docs/gst/tmpl/old/gstarch.sgml:
8002 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8003 * docs/gst/tmpl/old/gstbufferstore.sgml:
8004 * docs/gst/tmpl/old/gstdata_private.sgml:
8005 * docs/gst/tmpl/old/gstdisksink.sgml:
8006 * docs/gst/tmpl/old/gstdisksrc.sgml:
8007 * docs/gst/tmpl/old/gstelementfactory.sgml:
8008 * docs/gst/tmpl/old/gstextratypes.sgml:
8009 * docs/gst/tmpl/old/gstfakesink.sgml:
8010 * docs/gst/tmpl/old/gstfakesrc.sgml:
8011 * docs/gst/tmpl/old/gstfdsink.sgml:
8012 * docs/gst/tmpl/old/gstfdsrc.sgml:
8013 * docs/gst/tmpl/old/gstfilesink.sgml:
8014 * docs/gst/tmpl/old/gstfilesrc.sgml:
8015 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8016 * docs/gst/tmpl/old/gstidentity.sgml:
8017 * docs/gst/tmpl/old/gstindexfactory.sgml:
8018 * docs/gst/tmpl/old/gstmarshal.sgml:
8019 * docs/gst/tmpl/old/gstmd5sink.sgml:
8020 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8021 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8022 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8023 * docs/gst/tmpl/old/gstpipefilter.sgml:
8024 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8025 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8026 * docs/gst/tmpl/old/gstshaper.sgml:
8027 * docs/gst/tmpl/old/gstspider.sgml:
8028 * docs/gst/tmpl/old/gstspideridentity.sgml:
8029 * docs/gst/tmpl/old/gststatistics.sgml:
8030 * docs/gst/tmpl/old/gsttee.sgml:
8031 * docs/gst/tmpl/old/gsttimecache.sgml:
8032 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8033 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8034 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8035 * docs/gst/tmpl/old/types.sgml:
8036 I didn't intend to add these or check them in.
8038 2005-05-19 David Schleef <ds@schleef.org>
8040 * configure.ac: Use -no-common everywhere. In a sane world, it
8041 would be the default in libtool, because without it, you can't
8042 build DLLs on Windows.
8043 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8044 * docs/gst/gstreamer-sections.txt:
8045 * docs/gst/tmpl/gstcpu.sgml:
8046 * docs/gst/tmpl/gstdata.sgml:
8047 * docs/gst/tmpl/gstthread.sgml:
8049 2005-05-19 David Schleef <ds@schleef.org>
8051 * gst/gstminiobject.c: (gst_value_set_mini_object),
8052 (gst_value_take_mini_object), (gst_value_get_mini_object):
8053 * gst/gstminiobject.h: Add GValue set/get functions.
8055 2005-05-19 Wim Taymans <wim@fluendo.com>
8057 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8058 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8059 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8061 * gst/gstbus.c: (gst_bus_post):
8062 * gst/gstelement.c: (gst_element_get_random_pad):
8063 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8064 Make subbufer unref the parent in finalize.
8065 some more debugging info.
8068 2005-05-19 Wim Taymans <wim@fluendo.com>
8070 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8071 (gst_basesink_init), (gst_basesink_finalize),
8072 (gst_basesink_activate), (gst_basesink_change_state):
8073 Don't free preroll queue too early.
8075 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8079 Hi, I'm outdated. Please shoot me.
8081 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8083 * gst/gstpipeline.c: (gst_pipeline_send_event):
8084 Do not access variables after they have been deleted.
8086 2005-05-19 Wim Taymans <wim@fluendo.com>
8088 * tools/gst-inspect.c: (print_plugin_features):
8089 A plugin feature does unfortunatly not use the
8092 2005-05-18 Wim Taymans <wim@fluendo.com>
8094 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8095 Port _span() functions to new subbuffers.
8097 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8099 * gst/gstbin.c: (gst_bin_add_func):
8100 Fix clock settery in bins when adding kids after the clock has
8103 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8105 * gst/elements/gstidentity.c: (gst_identity_class_init):
8106 Workaround until signals support GstMiniObject.
8108 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8111 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8113 2005-05-18 Wim Taymans <wim@fluendo.com>
8115 * gst/base/Makefile.am:
8116 * gst/base/gstadapter.c: (gst_adapter_base_init),
8117 (gst_adapter_class_init), (gst_adapter_init),
8118 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8119 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8120 (gst_adapter_flush), (gst_adapter_available),
8121 (gst_adapter_available_fast):
8122 * gst/base/gstadapter.h:
8123 Ported and added adapter to the base classes.
8125 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8129 Make sure the class is reffed/unreffed once before threads can be
8130 used. Fixes #304551.
8132 2005-05-17 Wim Taymans <wim@fluendo.com>
8134 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8135 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8136 * gst/gstminiobject.c: (gst_mini_object_get_type),
8137 (gst_mini_object_free):
8138 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8139 (gst_pad_push), (gst_pad_push_event):
8140 * gst/gstqueue.c: (gst_queue_change_state):
8141 Don't queue buffers in basesink when we are flushing.
8142 Unref buffer when flushing in basesink.
8143 Flush queue when going to READY
8144 Unref buffer when _push() returns an error.
8145 Don't free MiniObject instance when refcount is incremented
8146 in _finalize() so that we can recover objects.
8148 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8150 * docs/manual/advanced-schedulers.xml:
8151 * docs/manual/appendix-checklist.xml:
8152 * docs/pwg/advanced-clock.xml:
8153 * docs/pwg/advanced-interfaces.xml:
8154 * docs/pwg/advanced-request.xml:
8155 * docs/pwg/advanced-types.xml:
8156 * docs/pwg/intro-preface.xml:
8157 * examples/plugins/example.c: (gst_example_get_type),
8158 (gst_example_class_init), (gst_example_chain),
8159 (gst_example_set_property), (gst_example_get_property),
8160 (gst_example_change_state), (plugin_init):
8161 * examples/plugins/example.h:
8164 2005-05-17 Wim Taymans <wim@fluendo.com>
8166 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8167 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8168 * gst/gstqueue.c: (gst_queue_change_state):
8169 Clear queue when going to READY.
8170 Remove IN_SETCAPS flag too.
8172 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8174 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8175 Remove implicit cast from gboolean to GstElementStateReturn;
8176 make sure we still return failure in paused => ready case if
8177 the parent class fails to change state and our own stop
8180 2005-05-17 Wim Taymans <wim@fluendo.com>
8182 * tools/gst-launch.c: (event_loop):
8183 Message was unreffed too soon.
8185 2005-05-16 Andy Wingo <wingo@pobox.com>
8187 * gst/gstbin.c (sink_iterator_filter): Err... um...
8189 * check/gst/gstbin.c (test_ghost_pads): New test for the
8190 ghosting-if-elements-not-in-same-bin behavior.
8192 2005-05-16 David Schleef <ds@schleef.org>
8194 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8195 accessing refcount directly.
8197 2005-05-15 David Schleef <ds@schleef.org>
8199 * check/Makefile.am: remove GstData checks
8200 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8201 * gst/Makefile.am: add miniobject, remove data
8202 * gst/gst.h: add miniobject, remove data
8203 * gst/gstdata.c: remove
8204 * gst/gstdata.h: remove
8205 * gst/gstdata_private.h: remove
8206 * gst/gsttypes.h: remove GstEvent and GstMessage
8207 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8208 * gst/gstmarshal.list: change BOXED -> OBJECT
8210 Implement GstMiniObject.
8211 * gst/gstminiobject.c:
8212 * gst/gstminiobject.h:
8214 Modify to be subclasses of GstMiniObject.
8215 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8216 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8217 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8218 (gst_subbuffer_get_type), (gst_subbuffer_init),
8219 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8222 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8223 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8224 (_gst_event_copy), (gst_event_new):
8226 * gst/gstmessage.c: (_gst_message_initialize),
8227 (gst_message_get_type), (gst_message_class_init),
8228 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8229 (gst_message_new), (gst_message_new_error),
8230 (gst_message_new_warning), (gst_message_new_tag),
8231 (gst_message_new_state_changed), (gst_message_new_application):
8233 * gst/gstprobe.c: (gst_probe_perform),
8234 (gst_probe_dispatcher_dispatch):
8236 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8237 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8238 (_gst_query_copy), (gst_query_new):
8240 Update elements for GstData -> GstMiniObject changes
8242 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8243 (gst_queue_chain), (gst_queue_loop):
8244 * gst/elements/gstbufferstore.c:
8245 (gst_buffer_store_add_buffer_func),
8246 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8247 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8248 (gst_fakesink_render):
8249 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8250 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8251 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8252 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8253 (gst_filesrc_create_read):
8254 * gst/elements/gstidentity.c: (gst_identity_class_init):
8255 * gst/elements/gsttypefindelement.c:
8256 (gst_type_find_element_src_event), (free_entry_buffers),
8257 (gst_type_find_element_handle_event):
8258 * libs/gst/dataprotocol/dataprotocol.c:
8259 (gst_dp_header_from_buffer):
8260 * libs/gst/dataprotocol/dataprotocol.h:
8261 * libs/gst/dataprotocol/dp-private.h:
8263 2005-05-15 David Schleef <ds@schleef.org>
8265 * gst/elements/gstelements.c: Don't include headers that were
8268 2005-05-15 David Schleef <ds@schleef.org>
8270 * gst/elements/Makefile.am: Remove some elements that don't
8271 need to be in the core (or even exist at all).
8272 * gst/elements/gstaggregator.c:
8273 * gst/elements/gstaggregator.h:
8274 * gst/elements/gstmd5sink.c:
8275 * gst/elements/gstmd5sink.h:
8276 * gst/elements/gstmultifilesrc.c:
8277 * gst/elements/gstmultifilesrc.h:
8278 * gst/elements/gstpipefilter.c:
8279 * gst/elements/gstpipefilter.h:
8280 * gst/elements/gstshaper.c:
8281 * gst/elements/gstshaper.h:
8282 * gst/elements/gststatistics.c:
8283 * gst/elements/gststatistics.h:
8284 * po/POTFILES.in: Remove above files.
8286 2005-05-14 Andy Wingo <wingo@pobox.com>
8288 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8289 so as to get the refs right.
8290 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8291 unreffing objects that don't pass the filter.
8293 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8294 gst_element_set_bus.
8295 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8296 normal cases, this will destroy the bus.
8298 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8301 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8304 2005-05-13 Andy Wingo <wingo@pobox.com>
8306 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8307 gst_pad_link, call pad_link_maybe_ghosting,
8308 (pad_link_maybe_ghosting): Links pads, making sure that the
8309 elements being linked are in the same bin.
8310 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8311 Helpers for pad_link_maybe_ghosting.
8313 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8316 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8318 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8320 * docs/design/part-element-source.txt:
8323 2005-05-12 Wim Taymans <wim@fluendo.com>
8325 * gst/base/gstbasesink.c: (gst_basesink_init),
8326 (gst_basesink_activate):
8327 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8328 (gst_basesrc_is_seekable):
8329 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8330 (bin_element_is_sink), (gst_bin_change_state):
8331 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8333 Identify sinks by their flag to avoid overly complicated
8335 Do state changes even for elements not reachable from the
8337 BaseSink is a sink now :)
8338 Some more debugging info in the basesrc.
8341 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8343 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8344 Implement _query on a bin, similar to _send_event.
8346 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8348 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8349 Discont event offset format should be GST_FORMAT_BYTES,
8350 not GST_FORMAT_TIME.
8352 2005-05-12 Wim Taymans <wim@fluendo.com>
8354 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8355 Same fix as Ronald's but without the signal.
8357 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8359 * gst/gstutils.c: (gst_element_query_position):
8360 No, an element is not a pad.
8362 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8364 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8365 (gst_bin_get_state):
8366 If a child is removed from a bin while we remove the child from
8367 the bin and while we're retrieving its state, signal this to the
8368 get_state function so we abort the wait (instead of waiting for
8369 a timeout) and can immediately re-iterate over all other elements.
8371 2005-05-12 Wim Taymans <wim@fluendo.com>
8373 * gst/base/Makefile.am:
8374 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8375 (gst_basesrc_start):
8376 * gst/base/gstbasesrc.h:
8377 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8378 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8379 (gst_pushsrc_init), (gst_pushsrc_create):
8380 * gst/base/gstpushsrc.h:
8381 Added is_seekable to BaseSrc
8382 Added simple PushSrc.
8384 2005-05-11 Wim Taymans <wim@fluendo.com>
8386 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8387 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8388 (gst_element_link_pads), (gst_element_query_position),
8389 (gst_element_query_convert), (intersect_caps_func),
8390 (gst_pad_query_position), (gst_pad_query_convert):
8391 Fix refcounting in utils function.
8392 No point in trying to activate a pad when it's added, it could
8393 be added from the state change function and then we deadlock, the
8394 element has to decide what to do.
8396 2005-05-10 Andy Wingo <wingo@pobox.com>
8398 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8399 *all* the arguments.
8401 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8402 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8403 lock (according to the docs -- if this is wrong change the docs).
8405 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8406 flush messages in the NULL state.
8408 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8409 message immediately and return.
8410 (gst_bus_set_flushing): New function. If a bus is flushing, it
8411 flushes out any queued messages and immediately unrefs new
8412 messages. This is so when an element goes to NULL, all of the
8413 unhandled messages coming from it can be freed, and their
8414 references to the element dropped. In other words: message source
8415 ref considered harmful :P
8417 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8418 we're finished with it.
8420 * gst/gstmessage.c (gst_message_new_state_changed):
8422 2005-05-10 Wim Taymans <wim@fluendo.com>
8424 * gst/gstvalue.c: (gst_value_compare_flags),
8425 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8426 (_gst_value_initialize):
8427 Added flags serialize/deserialize/compare code.
8429 2005-05-09 Andy Wingo <wingo@pobox.com>
8431 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8432 Intersect the peer's caps with our caps.
8434 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8436 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8437 * gst/elements/gsttypefindelement.c: (find_peek):
8438 Handle negative offsets better. Fixes decodebin.
8440 2005-05-09 Wim Taymans <wim@fluendo.com>
8442 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8443 (gst_base_transform_event):
8444 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8445 Implement accept_caps.
8446 Fix silly lock/unlock mismatch in base class.
8448 2005-05-09 Wim Taymans <wim@fluendo.com>
8450 * docs/design/draft-push-pull.txt:
8451 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8452 * gst/elements/gstfilesink.c: (gst_filesink_init),
8453 (gst_filesink_query):
8454 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8455 (gst_type_find_handle_src_query), (find_element_get_length):
8456 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8460 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8461 (gst_real_pad_get_caps_unlocked),
8462 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8463 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8464 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8465 (gst_real_pad_dispose), (gst_real_pad_finalize),
8466 (gst_pad_load_and_link), (gst_pad_save_thyself),
8467 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8468 (gst_pad_check_pull_range), (gst_pad_pull_range),
8469 (gst_pad_template_get_type), (gst_pad_template_class_init),
8470 (gst_pad_template_init), (gst_pad_template_dispose),
8471 (name_is_valid), (gst_static_pad_template_get),
8472 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8473 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8474 (gst_pad_get_element_private), (gst_pad_start_task),
8475 (gst_pad_pause_task), (gst_pad_stop_task),
8476 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8477 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8478 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8479 (gst_ghost_pad_new):
8481 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8482 (gst_query_new_position), (gst_query_set_position),
8483 (gst_query_parse_position), (gst_query_new_convert),
8484 (gst_query_set_convert), (gst_query_parse_convert):
8486 * gst/gstqueryutils.c:
8487 * gst/gstqueryutils.h:
8488 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8489 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8490 (gst_queue_handle_src_query):
8491 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8492 (gst_element_query_position), (gst_element_query_convert),
8493 (intersect_caps_func), (gst_pad_query_position),
8494 (gst_pad_query_convert):
8496 * tools/gst-inspect.c: (print_pad_info):
8497 * tools/gst-xmlinspect.c: (print_element_info):
8498 Remove old query functions. Ported old code.
8499 Added position/convert helper functions to gstutils.
8500 Reordered gstpad.c code, grouping relevant things.
8501 Remove gst_message_new(), always need to speficy a specific
8505 2005-05-09 Andy Wingo <wingo@pobox.com>
8507 * gst/gstiterator.h: Add some includes.
8509 * gst/gstqueryutils.h: Include more headers.
8512 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8513 some uses of gst_pad_query.
8515 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8516 NULL out parameters.
8517 (gst_query_new_position): New proc, allocates a new position
8520 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8521 gstqueryutils.c to the build.
8523 * gst/gststructure.c (gst_structure_set_valist): Implement with
8524 the generic G_VALUE_COLLECT.
8526 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8528 * gst/Makefile.am: (gst_headers):
8529 Added gstqueryutils.h to the list of headers to install, that was
8530 a 'nachty' move wingo :)
8532 2005-05-06 Andy Wingo <wingo@pobox.com>
8535 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8536 GstData, init a memchunk.
8537 (standard_definitions): Add a few query types, deprecate a few.
8538 (gst_query_get_type): New proc.
8539 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8541 (gst_query_new_application, gst_query_get_structure): New public
8544 * docs/design/draft-query.txt: Removed LINKS from the query types,
8545 because all the rest can be dispatched to other pads -- seemed
8546 ugly to have a query that couldn't be dispatched. internal_links
8547 is fine as a pad method.
8549 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8550 in gstpad.c, but maintain binary compatibility for the moment.
8551 Will fix before 0.9 is out.
8553 * gst/gstqueryutils.c:
8554 * gst/gstqueryutils.h: New files, implement 3 methods for each
8555 query type: parse_query, parse_response, and set. Probably need an
8558 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8560 * gst/elements/gstfilesink.c (gst_filesink_query2):
8561 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8562 query_types, and formats methods.
8564 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8565 (gst_pad_set_query2_function): New functions.
8566 (gst_real_pad_init): Set query2_default as the default query2
8567 function. Basically just dispatches to internally linked pads.
8571 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8572 without using the atomic operations. Only one thread can possibly
8573 be accessing the data at this point. Changed so as to avoid
8574 gst_atomic operations.
8576 2005-05-06 Wim Taymans <wim@fluendo.com>
8578 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8579 Also set caps if we use the fallback buffer alloc.
8581 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8583 * docs/gst/Makefile.am:
8584 * docs/gst/gstreamer-docs.sgml:
8585 * docs/gst/gstreamer-sections.txt:
8586 * docs/gst/tmpl/gstatomic.sgml:
8587 * docs/gst/tmpl/gstmemchunk.sgml:
8588 * testsuite/elements/struct_i386.h:
8589 * win32/GStreamer.vcproj:
8591 Purge GstAtomic stuff from docs and win32 makefiles as well
8593 2005-05-06 Wim Taymans <wim@fluendo.com>
8595 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8596 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8597 * gst/gstpad.c: (gst_pad_peer_get_caps):
8598 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8599 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8600 (gst_queue_src_activate), (gst_queue_change_state):
8602 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8603 (intersect_caps_func):
8604 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8605 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8606 Some fixes for the peer_get_caps() change.
8608 2005-05-06 Wim Taymans <wim@fluendo.com>
8610 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8611 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8612 (gst_basesink_activate):
8613 Actually do something with error codes returned from the push
8616 2005-05-06 Wim Taymans <wim@fluendo.com>
8618 * docs/design/part-element-sink.txt:
8619 * docs/design/part-element-source.txt:
8620 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8621 (gst_basesink_event), (gst_basesink_activate):
8622 * gst/base/gstbasesink.h:
8623 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8624 (gst_basesrc_activate):
8625 * gst/base/gstbasesrc.h:
8626 * gst/gstelement.c: (gst_element_pads_activate):
8627 Some more documentation.
8628 Fixed scheduling decision in _pads_activate().
8630 2005-05-05 Andy Wingo <wingo@pobox.com>
8632 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8635 2005-05-05 Wim Taymans <wim@fluendo.com>
8637 * gst/base/Makefile.am:
8638 * gst/base/gstbasesink.h:
8639 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8640 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8641 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8642 (gst_collectpads_class_init), (gst_collectpads_init),
8643 (gst_collectpads_finalize), (gst_collectpads_new),
8644 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8645 (find_pad), (gst_collectpads_remove_pad),
8646 (gst_collectpads_is_active), (gst_collectpads_collect),
8647 (gst_collectpads_collect_range), (gst_collectpads_start),
8648 (gst_collectpads_stop), (gst_collectpads_peek),
8649 (gst_collectpads_pop), (gst_collectpads_available),
8650 (gst_collectpads_read), (gst_collectpads_flush),
8651 (gst_collectpads_chain):
8652 * gst/base/gstcollectpads.h:
8653 * gst/elements/Makefile.am:
8654 * gst/elements/gstelements.c:
8655 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8656 (gst_fakesink_get_times), (gst_fakesink_event),
8657 (gst_fakesink_preroll), (gst_fakesink_render):
8658 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8659 (gst_filesink_init), (gst_filesink_set_location),
8660 (gst_filesink_open_file), (gst_filesink_close_file),
8661 (gst_filesink_pad_query), (gst_filesink_event),
8662 (gst_filesink_render), (gst_filesink_change_state):
8663 * gst/elements/gstfilesink.h:
8664 Added object to help in making collect pad based elements.
8666 Make event function in sink baseclass return gboolean.
8668 2005-05-05 Wim Taymans <wim@fluendo.com>
8670 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8671 (gst_bin_get_by_name):
8673 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8674 (gst_clock_finalize):
8675 * gst/gstdata.c: (gst_data_replace):
8677 * gst/gstelement.c: (gst_element_request_pad),
8678 (gst_element_pads_activate):
8679 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8681 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8682 (gst_pad_set_checkgetrange_function),
8683 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8684 (gst_pad_check_pull_range), (gst_pad_pull_range),
8685 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8686 (gst_pad_pause_task), (gst_pad_stop_task):
8687 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8688 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8689 Fix name lookup in GstBin.
8690 Added _data_replace() function and _buffer_replace()
8691 Use finalize method to clean up clock.
8692 Fix refcounting on request pads.
8693 Fix pad schedule mode error.
8694 Some more object refcounting debug info,
8697 2005-05-04 Andy Wingo <wingo@pobox.com>
8699 * check/Makefile.am:
8700 * docs/gst/tmpl/gstatomic.sgml:
8701 * docs/gst/tmpl/gstplugin.sgml:
8702 * gst/base/gstbasesink.c: (gst_basesink_activate):
8703 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8704 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8705 (gst_basesrc_query), (gst_basesrc_set_property),
8706 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8707 (gst_basesrc_activate):
8708 * gst/base/gstbasesrc.h:
8709 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8710 (gst_base_transform_src_activate):
8711 * gst/elements/gstelements.c:
8712 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8713 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8714 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8715 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8716 (gst_type_find_element_checkgetrange),
8717 (gst_type_find_element_activate):
8718 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8719 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8720 (gst_caps_load_thyself):
8721 * gst/gstelement.c: (gst_element_pads_activate),
8722 (gst_element_save_thyself), (gst_element_restore_thyself):
8723 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8724 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8726 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8727 (gst_xml_parse_file), (gst_xml_parse_memory),
8728 (gst_xml_get_element), (gst_xml_make_element):
8729 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8730 (_file_index_id_save_xml), (gst_file_index_commit):
8731 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8732 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8734 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8735 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8736 * tools/gst-complete.c: (main):
8737 * tools/gst-compprep.c: (main):
8738 * tools/gst-inspect.c: (print_element_properties_info):
8739 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8740 * tools/gst-xmlinspect.c: (print_element_properties):
8743 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8745 * gst/gstplugin.c: (gst_plugin_check_module),
8746 (gst_plugin_check_file), (gst_plugin_load_file):
8747 apply patch from #172526 to make register work on MacOSX
8749 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8751 * docs/gst/tmpl/gstconfig.sgml:
8752 * gst/gstconfig.h.in:
8753 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8754 * testsuite/debug/printf_extension.c: (main):
8755 Do not use GST_PTR_FORMAT on pointers to types with
8756 sizeof < sizeof(gpointer). Fixes test on 64-bit
8757 * testsuite/elements/property.h:
8758 use correct printf format
8760 2005-05-02 Wim Taymans <wim@fluendo.com>
8762 * docs/design/draft-push-pull.txt:
8763 * docs/design/draft-query.txt:
8764 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8765 (gst_basesrc_start):
8766 Added draft for new query API.
8767 Added draft for better selecting scheduling methods.
8768 Make basesrc ignore length if the subclass does not support
8771 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8774 possible fixes for automake-1.5 - _LIBADD is reserved
8776 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8778 * docs/faq/Makefile.am:
8779 * docs/manual/Makefile.am:
8781 * docs/pwg/Makefile.am:
8783 possible fixes for automake-1.5
8785 2005-04-28 Wim Taymans <wim@fluendo.com>
8787 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8788 (gst_basesink_pad_getcaps), (gst_basesink_init),
8789 (gst_basesink_do_sync):
8790 * gst/gstclock.c: (gst_clock_entry_new):
8791 * gst/gstevent.c: (gst_event_discont_get_value):
8792 * gst/gstpipeline.c: (pipeline_bus_handler),
8793 (gst_pipeline_change_state):
8794 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8795 Better debugging of clocking info.
8796 Allow NULL values when getting discont values.
8798 2005-04-27 Wim Taymans <wim@fluendo.com>
8800 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8801 * check/gst/gstpad.c: (gst_pad_suite):
8802 Increase timeout for checks.
8804 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8806 * check/Makefile.am:
8807 fix the broken rule for cleanup. Apparently this rule is
8808 only needed on FC2, so maybe this warrants further autotool
8811 2005-04-26 Wim Taymans <wim@fluendo.com>
8813 * gst/gsttrashstack.h:
8814 Ooohh. a nasty one! After having a failed pop() from the stack,
8815 it's possible that the stack is empty. In that case, don't
8816 follow the NULL pointer.
8818 2005-04-25 Wim Taymans <wim@fluendo.com>
8820 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8821 (gst_pad_set_checkgetrange_function),
8822 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
8823 (gst_pad_check_pull_range), (gst_pad_pull_range),
8824 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8825 (gst_pad_pause_task), (gst_pad_stop_task):
8826 * gst/gstplugin.c: (gst_plugin_load):
8828 Remove gst_library_load as it does more harm than good with
8829 the new g_module flags.
8830 Revert bogus caps template check in pad linking, pad caps
8831 are important when linking not the template, which is more
8832 general than the current caps.
8834 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8836 * gst/autoplug/.cvsignore:
8837 * gst/autoplug/Makefile.am:
8838 * gst/autoplug/gstsearchfuncs.c:
8839 * gst/autoplug/gstsearchfuncs.h:
8840 * gst/autoplug/gstspider.c:
8841 * gst/autoplug/gstspider.h:
8842 * gst/autoplug/gstspideridentity.c:
8843 * gst/autoplug/gstspideridentity.h:
8844 * gst/autoplug/spidertest.c:
8847 2005-04-25 Wim Taymans <wim@fluendo.com>
8849 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8850 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8851 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
8852 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
8854 Added stubs for unimplemented functions.
8856 2005-04-24 David Schleef <ds@schleef.org>
8858 * gst/gstpad.h: Disable some unimplemented functions. Wim,
8861 2005-04-24 David Schleef <ds@schleef.org>
8863 Convert everything from GstAtomicInt to g_atomic_int_*, and
8868 * gst/gstatomic_impl.h:
8876 * gst/gstdata_private.h:
8883 * gst/gststructure.c:
8884 * gst/gststructure.h:
8885 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
8888 2005-04-24 David Schleef <ds@schleef.org>
8890 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
8891 make the regressions tests work. Remove some code that is no
8893 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
8894 Disable warning for pads without templates.
8896 2005-04-24 David Schleef <ds@schleef.org>
8898 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
8899 functions that handle filtered links.
8900 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
8902 * gst/gstutils.c: Fix/remove utility functions that handle
8905 * gst/gstvalue.c: Add serialization/deserialization of caps
8906 * gst/parse/grammar.y: Ignore filtered caps when linking. This
8907 requires fixing so that the filter caps notation creates
8908 a capsfilter element and sets the filter_caps property. I
8909 think everyone probably wants to keep the shorthand notation.
8910 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
8911 * docs/gst/tmpl/gstpad.sgml:
8913 * gst/elements/gstelements.c: Register capsfilter element.
8914 * gst/Makefile.am: fix spacing
8915 * docs/random/ds/0.9-suggested-changes: random
8917 2005-04-23 David Schleef <ds@schleef.org>
8919 * gst/elements/Makefile.am:
8920 * gst/elements/gstcapsfilter.c: New element that acts like an
8921 identity, but filters caps. Will eventually replace filtered
8922 caps in pad linking.
8923 * gst/gstutils.c: (gst_element_create_all_pads): New function
8924 to create all the ALWAYS pads that are registered with an
8925 element class. This functionality should eventually be
8926 merged in with GstElement initialization.
8928 * testsuite/trigger/README: part of trigger test code that should
8929 have been checked in a long time ago.
8931 2005-04-23 David Schleef <ds@schleef.org>
8933 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
8934 needed with new versions of libtool (nobody will confirm this),
8935 and hard to carry around.
8936 * gst/autoplug/Makefile.am:
8937 * gst/base/Makefile.am:
8938 * gst/elements/Makefile.am:
8939 * gst/indexers/Makefile.am:
8940 * gst/schedulers/Makefile.am:
8941 * libs/gst/bytestream/Makefile.am:
8942 * libs/gst/control/Makefile.am:
8943 * libs/gst/dataprotocol/Makefile.am:
8944 * libs/gst/getbits/Makefile.am:
8946 2005-04-21 Wim Taymans <wim@fluendo.com>
8948 * docs/design/draft-push-pull.txt:
8949 * docs/design/part-MT-refcounting.txt:
8950 * docs/design/part-TODO.txt:
8951 * docs/design/part-caps.txt:
8952 * docs/design/part-events.txt:
8953 * docs/design/part-gstbus.txt:
8954 * docs/design/part-gstpipeline.txt:
8955 * docs/design/part-messages.txt:
8956 * docs/design/part-push-pull.txt:
8957 * docs/design/part-query.txt:
8960 2005-04-21 Wim Taymans <wim@fluendo.com>
8962 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
8963 (gst_message_new), (gst_message_new_error),
8964 (gst_message_new_warning), (gst_message_new_tag),
8965 (gst_message_new_state_changed), (gst_message_new_application),
8966 (gst_message_get_structure):
8968 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8969 (gst_structure_copy_conditional):
8970 Use parent refcount in GstMessage to ensure GstStructure
8972 Cleaned up headers a bit.
8975 2005-04-20 Wim Taymans <wim@fluendo.com>
8977 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8978 (gst_basesink_pad_getcaps), (gst_basesink_init),
8979 (gst_basesink_chain_unlocked):
8980 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
8981 (gst_type_find_helper):
8982 * gst/elements/gsttypefindelement.c:
8983 (gst_type_find_element_have_type), (gst_type_find_element_init),
8984 (stop_typefinding), (gst_type_find_element_handle_event),
8985 (find_suggest), (gst_type_find_element_chain),
8986 (gst_type_find_element_checkgetrange),
8987 (gst_type_find_element_getrange), (do_typefind),
8988 (gst_type_find_element_activate):
8989 * gst/gstbuffer.c: (_gst_buffer_sub_free),
8990 (gst_buffer_default_free), (gst_buffer_default_copy),
8991 (gst_buffer_set_caps):
8992 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
8994 * gst/gstmessage.c: (gst_message_new),
8995 (gst_message_new_state_changed):
8996 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8997 (gst_pad_set_checkgetrange_function),
8998 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
8999 (gst_pad_set_caps), (gst_pad_check_pull_range),
9000 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9002 * gst/gsttypefind.c: (gst_type_find_register):
9003 Make gst_caps_replace() work like other _replace() functions.
9004 Use _caps_replace() where possible.
9005 Make sure _message_new() initialises its field.
9006 Add gst_static_pad_template_get_caps()
9009 2005-04-18 Andy Wingo <wingo@pobox.com>
9011 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9012 on the peer, not the pad. I think that was a typo. Pass an extra
9013 arg to see if random access is possible. Activate the pads as
9014 PULL_RANGE if possible.
9016 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9018 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9019 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9022 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9024 * docs/faq/using.xml:
9025 Add note on gstreamer-properties (#154996).
9027 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9029 * docs/random/bbb/optional-properties:
9030 Some analysis on optional properties.
9032 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9034 * docs/gst/tmpl/gstelementfactory.sgml:
9036 * gst/gstelementfactory.c: (gst_element_factory_init),
9037 (gst_element_factory_cleanup), (gst_element_register),
9038 (__gst_element_factory_add_static_pad_template),
9039 (gst_element_factory_get_static_pad_templates),
9040 (gst_element_factory_can_src_caps),
9041 (gst_element_factory_can_sink_caps):
9042 * gst/registries/Makefile.am:
9043 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9044 (gst_xml_registry_class_init), (gst_xml_registry_init),
9045 (gst_xml_registry_new), (gst_xml_registry_set_property),
9046 (gst_xml_registry_get_property), (get_time), (make_dir),
9047 (gst_xml_registry_get_perms_func),
9048 (plugin_times_older_than_recurse), (plugin_times_older_than),
9049 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9050 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9051 (add_to_char_array), (read_string), (read_uint), (read_enum),
9052 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9053 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9054 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9055 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9056 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9057 (gst_xml_registry_rebuild):
9058 * gst/registries/gstlibxmlregistry.h:
9059 * tools/gst-compprep.c: (main):
9060 * tools/gst-inspect.c: (print_pad_templates_info):
9061 * tools/gst-xmlinspect.c: (print_element_info):
9062 Use libxml2 for registry parsing, use staticpadtemplates in
9063 elementfactories. Makes gst_init() +/- 10x faster.
9065 2005-04-12 Wim Taymans <wim@fluendo.com>
9067 * gst/base/Makefile.am:
9068 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9069 (gst_basesink_pad_getcaps), (gst_basesink_init),
9070 (gst_basesink_event), (gst_basesink_change_state):
9071 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9072 (gst_basesrc_init), (gst_basesrc_query),
9073 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9074 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9075 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9076 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9077 (gst_basesrc_stop), (gst_basesrc_activate),
9078 (gst_basesrc_change_state):
9079 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9080 (helper_find_suggest), (gst_type_find_helper):
9081 * gst/base/gsttypefindhelper.h:
9082 * gst/elements/Makefile.am:
9083 * gst/elements/gstelements.c:
9084 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9085 (gst_fakesink_get_times), (gst_fakesink_event),
9086 (gst_fakesink_preroll), (gst_fakesink_render):
9087 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9088 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9089 (gst_fakesrc_get_property), (gst_fakesrc_create),
9090 (gst_fakesrc_start), (gst_fakesrc_stop):
9091 * gst/elements/gstfakesrc.h:
9092 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9093 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9094 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9095 (gst_filesrc_create_read), (gst_filesrc_create),
9096 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9097 (gst_filesrc_start):
9098 * gst/elements/gsttypefindelement.c:
9099 (gst_type_find_element_have_type), (gst_type_find_element_init),
9100 (start_typefinding), (stop_typefinding), (push_buffer_store),
9101 (gst_type_find_element_handle_event),
9102 (gst_type_find_element_chain),
9103 (gst_type_find_element_checkgetrange),
9104 (gst_type_find_element_getrange), (do_typefind),
9105 (gst_type_find_element_activate),
9106 (gst_type_find_element_change_state):
9107 * gst/elements/gsttypefindelement.h:
9108 * gst/gstpipeline.c: (pipeline_bus_handler):
9109 Added typefind helper.
9110 Small preroll fix in the base sink.
9111 Disable typefind code in basesrc.
9112 Crude port of typefindelement.
9116 2005-04-11 Wim Taymans <wim@fluendo.com>
9118 * check/gst/gstbus.c: (gstbus_suite):
9119 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9121 Fix up the timeout so that the test does not fail.
9123 2005-04-06 Wim Taymans <wim@fluendo.com>
9126 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9127 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9128 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9129 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9130 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9131 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9132 (gst_basesrc_stop), (gst_basesrc_activate),
9133 (gst_basesrc_change_state), (basesrc_find_peek),
9134 (basesrc_find_suggest), (gst_basesrc_type_find):
9135 * gst/base/gstbasesrc.h:
9136 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9137 (gst_filesrc_class_init), (gst_filesrc_init),
9138 (gst_filesrc_finalize), (gst_filesrc_set_location),
9139 (gst_filesrc_set_property), (gst_filesrc_get_property),
9140 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9141 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9142 (gst_filesrc_create_read), (gst_filesrc_create),
9143 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9144 * gst/elements/gstfilesrc.h:
9145 * gst/gstelement.c: (gst_element_get_state_func),
9146 (gst_element_lost_state), (gst_element_pads_activate):
9147 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9148 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9149 (gst_pad_pull_range):
9151 More work on the generic source base class, implement seeking,
9153 Make filesrc extend the base source class.
9154 Added gst_pad_set_checkgetrange_function to GstPad.
9156 2005-04-06 Andy Wingo <wingo@pobox.com>
9158 * pkgconfig/gstreamer-base.pc.in:
9159 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9161 * pkgconfig/Makefile.am:
9162 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9164 2005-04-04 Wim Taymans <wim@fluendo.com>
9166 * gst/base/Makefile.am:
9168 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9169 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9170 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9171 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9172 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9173 (gst_basesrc_base_init), (gst_basesrc_class_init),
9174 (gst_basesrc_init), (gst_basesrc_get_formats),
9175 (gst_basesrc_get_query_types), (gst_basesrc_query),
9176 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9177 (gst_basesrc_set_property), (gst_basesrc_get_property),
9178 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9179 (gst_basesrc_loop), (gst_basesrc_activate),
9180 (gst_basesrc_change_state):
9181 * gst/base/gstbasesrc.h:
9182 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9183 (gst_fakesrc_class_init), (gst_fakesrc_init),
9184 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9185 (gst_fakesrc_get_property), (gst_fakesrc_create):
9186 * gst/elements/gstfakesrc.h:
9187 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9188 (gst_filesrc_open_file), (gst_filesrc_loop),
9189 (gst_filesrc_activate), (filesrc_find_peek),
9190 (gst_filesrc_type_find):
9191 Made base source class, make fakesrc extend it.
9192 Add comments to basesink class.
9193 Some filesrc cleanup.
9195 2005-03-31 David Schleef <ds@schleef.org>
9197 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9198 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9199 expected to link against libgstreamer.
9200 * gst/base/Makefile.am: link against libgstreamer
9201 * gst/elements/Makefile.am: same
9203 2005-03-31 Andy Wingo <wingo@pobox.com>
9205 * tests/instantiate/Makefile.am:
9206 * tests/instantiate/caps.c: Add test to test speed of caps copy
9209 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9210 GMemChunk to be fair.
9212 * gst/gsttrashstack.h: Remove warning about using the fallback
9213 trash stack implementation, it's still faster than malloc.
9215 2005-03-30 Andy Wingo <wingo@pobox.com>
9217 * tests/complexity.c: Add a copyright.
9219 2005-03-31 Wim Taymans <wim@fluendo.com>
9221 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9222 (gst_base_transform_class_init), (gst_base_transform_init),
9223 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9224 (gst_base_transform_get_property),
9225 (gst_base_transform_sink_activate),
9226 (gst_base_transform_src_activate),
9227 (gst_base_transform_change_state):
9228 * gst/base/gstbasetransform.h:
9229 * gst/elements/gstidentity.c: (gst_identity_class_init),
9230 (gst_identity_event), (gst_identity_check_perfect),
9231 (gst_identity_transform), (gst_identity_start),
9232 (gst_identity_stop):
9233 Added start/stop methods to transform base class so subclasses
9234 don't need to deal with state changes even.
9236 2005-03-31 Wim Taymans <wim@fluendo.com>
9238 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9239 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9241 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9242 (gst_pad_pull_range):
9243 Added rate to the discont event to prepare for variable speed
9244 and reverse playback.
9246 2005-03-29 David Schleef <ds@schleef.org>
9249 * testsuite/trigger/Makefile.am:
9250 * testsuite/trigger/trigger.c: A little example program to show
9251 how trigger-based elements can work.
9253 2005-03-29 Wim Taymans <wim@fluendo.com>
9255 * gst/base/Makefile.am:
9257 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9258 (gst_basesink_base_init), (gst_basesink_class_init),
9259 (gst_basesink_pad_getcaps), (gst_basesink_init),
9260 (gst_basesink_activate), (gst_basesink_change_state):
9261 * gst/base/gstbasesink.h:
9262 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9263 (gst_base_transform_base_init), (gst_base_transform_finalize),
9264 (gst_base_transform_class_init), (gst_base_transform_init),
9265 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9266 (gst_base_transform_event), (gst_base_transform_getrange),
9267 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9268 (gst_base_transform_set_property),
9269 (gst_base_transform_get_property),
9270 (gst_base_transform_sink_activate),
9271 (gst_base_transform_src_activate),
9272 (gst_base_transform_change_state):
9273 * gst/base/gstbasetransform.h:
9274 * gst/elements/gstidentity.c: (gst_identity_finalize),
9275 (gst_identity_class_init), (gst_identity_init),
9276 (gst_identity_event), (gst_identity_check_perfect),
9277 (gst_identity_transform), (gst_identity_set_property),
9278 (gst_identity_get_property), (gst_identity_change_state):
9279 * gst/elements/gstidentity.h:
9280 * gst/gstelement.c: (gst_element_get_state_func),
9281 (gst_element_lost_state), (gst_element_pads_activate):
9282 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9283 (gst_pad_check_pull_range), (gst_pad_pull_range):
9285 Simplify pad activation.
9286 Added function to check if pull_range can be performed.
9287 Error out when pulling inactive or flushing pads.
9288 Removed const from refcounted types as it does not make sense.
9289 Simplify pad templates in basesink
9290 Added base class for simple 1-to-1 transforms.
9291 Make identity subclass the base transform.
9293 2005-03-29 Andy Wingo <wingo@pobox.com>
9295 * docs/libs/gstreamer-libs-overrides.txt:
9296 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9297 really don't understand what's going on, but like whatever. I want
9300 * docs/gst/Makefile.am:
9301 * docs/libs/Makefile.am: Dist the overrides files.
9303 * check/Makefile.am (clean-local): Remove .libs directories.
9305 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9306 elements to EXTRA_DIST, so po/ files are happy.
9308 * po/POTFILES.in: Er, remove it here.
9310 * po/POTFILES: Remove gstspider.c.
9312 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9314 * docs/libs/gstreamer-libs-docs.sgml:
9315 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9318 * tests/complexity.c (main): Set the length of the preroll queue
9319 on the sinks to prevent a lockup.
9321 * libs/gst/dataprotocol/Makefile.am:
9322 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9323 the same as the one in check/gst-libs/gdp.c.
9325 * po/, docs/gst/: Commit automatic changes to docs and po files.
9327 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9328 the versioned libgstbase.
9330 * check/Makefile.am: Depend on an unversioned gst-register, seems
9331 to make autoconf happier.
9333 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9335 2005-03-28 Wim Taymans <wim@fluendo.com>
9338 * docs/design/part-gstelement.txt:
9339 * docs/design/part-negotiation.txt:
9340 * docs/design/part-preroll.txt:
9341 * docs/design/part-scheduling.txt:
9342 * docs/design/part-states.txt:
9344 * gst/base/Makefile.am:
9346 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9347 (gst_basesink_base_init), (gst_basesink_class_init),
9348 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9349 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9350 (gst_basesink_set_pad_functions),
9351 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9352 (gst_basesink_set_property), (gst_basesink_get_property),
9353 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9354 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9355 (gst_basesink_preroll_queue_push),
9356 (gst_basesink_preroll_queue_empty),
9357 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9358 (gst_basesink_event), (gst_basesink_get_times),
9359 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9360 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9361 (gst_basesink_loop), (gst_basesink_activate),
9362 (gst_basesink_change_state):
9363 * gst/base/gstbasesink.h:
9364 * gst/elements/Makefile.am:
9365 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9366 (gst_fakesink_class_init), (gst_fakesink_init),
9367 (gst_fakesink_set_property), (gst_fakesink_get_property),
9368 (gst_fakesink_get_times), (gst_fakesink_event),
9369 (gst_fakesink_preroll), (gst_fakesink_render),
9370 (gst_fakesink_change_state):
9371 * gst/elements/gstfakesink.h:
9372 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9373 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9374 * gst/gstelement.c: (gst_element_add_pad),
9375 (gst_element_get_state_func), (gst_element_abort_state),
9376 (gst_element_commit_state), (gst_element_lost_state),
9377 (gst_element_set_state), (gst_element_pads_activate):
9378 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9379 * gst/gstpipeline.c: (gst_pipeline_send_event),
9380 (gst_pipeline_change_state):
9381 Added state change code.
9383 Added sink base class, make fakesink extend the base class.
9384 Small cleanups in GstPipeline.
9386 2005-03-26 David Schleef <ds@schleef.org>
9388 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9389 is broken and should be implemented in a different library.
9390 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9391 * gst/gst.h: remove gstcpu.h
9392 * gst/gstcpu.c: remove
9393 * gst/gstcpu.h: remove
9394 * gst/Makefile.am.future: Remove this file. It's ancient.
9396 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9398 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9399 (gst_bin_send_event):
9400 Add default event/set_manager handlers. The set_manager handler
9401 takes care that the manager is distributed over kids that were
9402 already in the bin before the manager was set. The event handler
9403 is a utility virtual function that sends the event over all sinks,
9404 so that gst_element_send_event (bin, event); has the expected
9406 * gst/gstpad.c: (gst_pad_event_default):
9407 Re-install default event handling for discontinuities, so that
9408 seeking works without requiring hacks in applications or extra
9410 * gst/gstpipeline.c: (gst_pipeline_class_init),
9411 (gst_pipeline_send_event):
9412 Half hack, half utility: set a pipeline to PAUSED for seek events,
9413 since that is the only way we can guarantee a/v sync. Means that
9414 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9415 and it "just works".
9417 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9419 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9420 Lock/unlock mismatch.
9422 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9424 * docs/faq/gst-uninstalled:
9425 add gst-plugins-base
9426 * docs/gst/Makefile.am:
9427 don't error out until docs are fixed
9428 * docs/gst/gstreamer.types:
9431 2005-03-22 Wim Taymans <wim@fluendo.com>
9433 * check/Makefile.am:
9434 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9435 * gst/gststructure.c: (gst_structure_set_valist),
9436 (gst_structure_copy_conditional):
9437 Activated more tests.
9439 Added G_TYPE_POINTER to GstStructure.
9442 2005-03-22 Wim Taymans <wim@fluendo.com>
9444 * docs/design/part-TODO.txt:
9445 * docs/design/part-events.txt:
9446 * docs/design/part-gstbin.txt:
9447 * docs/design/part-gstbus.txt:
9448 * docs/design/part-gstpipeline.txt:
9449 * docs/design/part-messages.txt:
9454 2005-03-21 Wim Taymans <wim@fluendo.com>
9456 * gst/gstbus.c: (gst_bus_post):
9457 Fix copy-and-paste error.
9459 2005-03-21 Wim Taymans <wim@fluendo.com>
9461 * check/Makefile.am:
9463 * gst/elements/Makefile.am:
9464 * gst/elements/gstelements.c:
9465 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9466 (gst_fakesink_event), (gst_fakesink_chain):
9467 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9468 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9469 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9470 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9471 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9472 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9473 (gst_fakesrc_loop), (gst_fakesrc_activate),
9474 (gst_fakesrc_change_state):
9475 * gst/elements/gstfakesrc.h:
9476 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9477 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9478 (gst_filesrc_open_file), (gst_filesrc_loop),
9479 (gst_filesrc_activate), (gst_filesrc_change_state),
9480 (filesrc_find_peek), (filesrc_find_suggest),
9481 (gst_filesrc_type_find):
9482 * gst/elements/gstidentity.c: (gst_identity_finalize),
9483 (gst_identity_class_init), (gst_identity_init),
9484 (gst_identity_proxy_getcaps), (identity_queue_push),
9485 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9486 (gst_identity_getrange), (gst_identity_chain),
9487 (gst_identity_sink_loop), (gst_identity_src_loop),
9488 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9489 (gst_identity_set_property), (gst_identity_get_property),
9490 (gst_identity_change_state):
9491 * gst/elements/gstidentity.h:
9492 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9493 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9494 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9495 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9496 (gst_tee_sink_activate):
9497 * gst/elements/gsttee.h:
9498 * gst/gst.c: (gst_register_core_elements), (init_post):
9500 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9501 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9502 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9503 (gst_bin_change_state):
9505 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9506 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9507 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9508 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9509 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9510 (bus_watch_callback), (bus_watch_destroy),
9511 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9512 (poll_timeout), (gst_bus_poll):
9516 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9517 (gst_element_post_message), (gst_element_message_full),
9518 (gst_element_get_state_func), (gst_element_get_state),
9519 (gst_element_abort_state), (gst_element_commit_state),
9520 (gst_element_lost_state), (gst_element_set_state),
9521 (gst_element_pads_activate), (gst_element_change_state),
9522 (gst_element_dispose), (gst_element_set_manager_func),
9523 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9524 (gst_element_set_manager), (gst_element_get_manager),
9525 (gst_element_set_bus), (gst_element_get_bus),
9526 (gst_element_set_scheduler), (gst_element_get_scheduler):
9528 * gst/gstevent.c: (gst_event_new_segment_seek),
9529 (gst_event_new_flush):
9531 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9532 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9533 (gst_message_new_eos), (gst_message_new_error),
9534 (gst_message_new_warning), (gst_message_new_tag),
9535 (gst_message_new_state_changed), (gst_message_new_application),
9536 (gst_message_get_structure), (gst_message_parse_tag),
9537 (gst_message_parse_state_changed), (gst_message_parse_error),
9538 (gst_message_parse_warning):
9540 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9541 (gst_real_pad_set_property), (gst_pad_set_active),
9542 (gst_pad_is_active), (gst_pad_set_blocked_async),
9543 (gst_pad_set_blocked), (gst_pad_is_blocked),
9544 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9545 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9546 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9547 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9548 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9549 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9550 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9551 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9552 (gst_pad_set_caps), (gst_pad_configure_sink),
9553 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9554 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9555 (gst_real_pad_dispose), (gst_real_pad_finalize),
9556 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9557 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9558 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9560 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9561 (pipeline_bus_handler), (gst_pipeline_change_state),
9562 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9563 * gst/gstpipeline.h:
9565 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9566 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9567 (gst_queue_link_src), (gst_queue_bufferalloc),
9568 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9569 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9570 (gst_queue_loop), (gst_queue_handle_src_event),
9571 (gst_queue_handle_src_query), (gst_queue_src_activate),
9572 (gst_queue_change_state):
9574 * gst/gstscheduler.c: (gst_scheduler_init),
9575 (gst_scheduler_dispose), (gst_scheduler_create_task),
9576 (gst_scheduler_factory_create):
9577 * gst/gstscheduler.h:
9578 * gst/gststructure.c: (gst_structure_get_type),
9579 (gst_structure_copy_conditional):
9580 * gst/gststructure.h:
9581 * gst/gsttaginterface.h:
9582 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9583 (gst_task_init), (gst_task_dispose), (gst_task_create),
9584 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9590 * gst/schedulers/Makefile.am:
9591 * gst/schedulers/cothreads_compat.h:
9592 * gst/schedulers/entryscheduler.c:
9593 * gst/schedulers/faircothreads.c:
9594 * gst/schedulers/faircothreads.h:
9595 * gst/schedulers/fairscheduler.c:
9596 * gst/schedulers/gstbasicscheduler.c:
9597 * gst/schedulers/gstoptimalscheduler.c:
9598 * gst/schedulers/gthread-cothreads.h:
9599 * gst/schedulers/threadscheduler.c:
9600 (gst_thread_scheduler_task_get_type),
9601 (gst_thread_scheduler_task_class_init),
9602 (gst_thread_scheduler_task_init),
9603 (gst_thread_scheduler_task_start),
9604 (gst_thread_scheduler_task_stop),
9605 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9606 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9607 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9608 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9610 * libs/gst/Makefile.am:
9611 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9612 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9613 (gst_file_pad_parent_set):
9614 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9615 (gst_dp_event_from_packet):
9616 * tests/complexity.c: (main):
9617 * tests/mass_elements.c: (main):
9618 * testsuite/states/locked.c: (message_received), (main):
9619 * testsuite/states/parent.c: (main):
9620 * tools/gst-inspect.c: (print_element_flag_info),
9621 (print_implementation_info), (print_pad_info):
9622 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9624 * tools/gst-md5sum.c: (event_loop), (main):
9625 * tools/gst-typefind.c: (main):
9626 * tools/gst-xmlinspect.c: (print_element_info):
9628 Added GstBus for mainloop integration.
9629 Added GstMessage for sending notifications on the bus.
9630 Added GstTask as an abstraction for pipeline entry points.
9633 Simplified GstQueue for multithreaded core.
9634 Made _link threadsafe, removed old capsnego.
9635 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9636 Added pad blocking functions.
9637 Reworked scheduling functions in GstPad to prepare for
9638 scheduling updates soon.
9639 Moved events out of data stream.
9640 Simplified GstEvent types.
9641 Added return values to push/pull.
9642 Removed clocking from GstElement.
9643 Added prototypes for state change function for next merge.
9644 Removed iterate from bins and state change management.
9645 Fixed some elements, disabled others for now.
9646 Fixed -inspect and -launch.
9647 Added check for GstBus.
9649 2005-03-10 Wim Taymans <wim@fluendo.com>
9651 * docs/design/part-MT-refcounting.txt:
9652 * docs/design/part-clocks.txt:
9653 * docs/design/part-gstelement.txt:
9654 * docs/design/part-gstobject.txt:
9655 * docs/design/part-standards.txt:
9656 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9657 (gst_bin_remove_func), (gst_bin_remove):
9661 * testsuite/clock/clock1.c: (main):
9662 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9664 * testsuite/dlopen/loadgst.c: (do_test):
9665 * testsuite/refcounting/bin.c: (add_remove_test1),
9666 (add_remove_test2), (main):
9667 * testsuite/refcounting/element.c: (main):
9668 * testsuite/refcounting/element_pad.c: (main):
9669 * testsuite/refcounting/pad.c: (main):
9670 * tools/gst-launch.c: (sigint_handler_sighandler):
9671 * tools/gst-typefind.c: (main):
9673 Added doc about clock.
9674 removed gst_bin_iterate_recurse_up(), marked methods
9676 Fix more testsuites.
9678 2005-03-09 Wim Taymans <wim@fluendo.com>
9680 * gst/gstpad.c: (gst_pad_get_direction),
9681 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9682 (gst_pad_collect_valist):
9683 * testsuite/bins/interface.c: (main):
9684 * testsuite/caps/audioscale.c: (test_caps):
9685 * testsuite/caps/caps.c: (test1), (test2), (test3):
9686 * testsuite/caps/deserialize.c: (main):
9687 * testsuite/caps/enumcaps.c: (main):
9688 * testsuite/caps/filtercaps.c: (main):
9689 * testsuite/caps/intersect2.c: (main):
9690 * testsuite/caps/random.c: (main):
9691 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9692 * testsuite/caps/sets.c: (check_caps):
9693 * testsuite/caps/simplify.c: (check_caps), (main):
9694 * testsuite/caps/subtract.c: (check_caps):
9695 Fix _pad_get_direction wrt ghostpads.
9698 2005-03-09 Wim Taymans <wim@fluendo.com>
9700 * check/Makefile.am:
9701 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9702 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9703 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9704 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9705 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9706 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9707 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9708 (bin_element_is_sink), (gst_bin_iterate_sinks),
9709 (gst_bin_iterate_all_by_interface):
9711 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9712 (gst_element_change_state), (gst_element_dispose),
9713 (gst_element_finalize), (gst_element_set_loop_function):
9715 * gst/gstiterator.c: (find_custom_fold_func):
9716 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9717 (gst_pad_collectv), (gst_pad_collect_valist),
9718 (gst_pad_template_new):
9719 * gst/gstpipeline.c: (gst_pipeline_class_init),
9720 (gst_pipeline_dispose), (gst_pipeline_set_property),
9721 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9722 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9723 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9725 * gst/schedulers/entryscheduler.c:
9726 * gst/schedulers/gstbasicscheduler.c:
9727 (gst_basic_scheduler_cothreaded_chain),
9728 (gst_basic_scheduler_chain_add_element):
9729 * testsuite/bins/interface.c: (main):
9731 Added GstSystemClock test.
9732 Implemented clock distribution code in GstBin.
9733 Implemented iterate sinks method for future use.
9734 Rearranged gstelement.h
9735 Fix GstIterator comparison bug.
9736 Moved some code to GstPipeline, mostly clocking related.
9738 2005-03-09 Wim Taymans <wim@fluendo.com>
9741 * gst/gst_private.h:
9742 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9743 (gst_bin_remove_func), (gst_bin_remove),
9744 (gst_bin_get_by_name_recurse_up):
9745 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9746 (gst_clock_id_compare_func), (gst_clock_id_wait),
9747 (gst_clock_id_wait_async), (gst_clock_init),
9748 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9750 * gst/gstinfo.c: (_gst_debug_init):
9752 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9753 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9755 Bump version number, we're now 0.9.0
9756 Add future debugging category.
9757 Fix NULL _unref() in _get_by_name_recurse_up
9761 2005-03-08 Wim Taymans <wim@fluendo.com>
9763 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9764 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9765 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9766 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9767 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9768 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9769 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9770 * gst/elements/gstidentity.c: (gst_identity_class_init):
9771 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9772 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9773 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9774 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9775 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9777 * gst/gstelement.c: (gst_element_class_init),
9778 (gst_element_base_class_init), (gst_element_init),
9779 (gst_element_get_random_pad), (gst_element_wait_state_change),
9780 (gst_element_change_state), (gst_element_dispose),
9781 (gst_element_finalize), (gst_element_set_loop_function):
9783 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9784 * gst/gstthread.c: (gst_thread_class_init),
9785 (gst_thread_release_children_locks), (gst_thread_change_state):
9786 * gst/schedulers/gstbasicscheduler.c:
9787 (gst_basic_scheduler_loopfunc_wrapper),
9788 (gst_basic_scheduler_chain_wrapper),
9789 (gst_basic_scheduler_src_wrapper),
9790 (gst_basic_scheduler_remove_element):
9791 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9792 Remove threadsafe properties. Fix elements because GObject
9793 complains when installing a property before declaring a
9794 set/get_property handler.
9795 Rearrange gstelement.h file, use STATE macros for state locks.
9796 Free mutexes in the finalize method instead of dispose.
9798 2005-03-08 Wim Taymans <wim@fluendo.com>
9800 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9801 * gst/gstthread.c: (gst_thread_release_children_locks):
9802 Added parentage check.
9803 Fix build og GstThread again.
9805 2005-03-08 Wim Taymans <wim@fluendo.com>
9807 * docs/design/part-MT-refcounting.txt:
9808 * docs/design/part-conventions.txt:
9809 * docs/design/part-gstobject.txt:
9810 * docs/design/part-relations.txt:
9811 * docs/design/part-standards.txt:
9812 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9813 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
9814 (gst_bin_get_by_name), (gst_bin_get_by_interface),
9815 (gst_bin_iterate_all_by_interface):
9818 * gst/gstelement.c: (gst_element_class_init),
9819 (gst_element_change_state), (gst_element_set_loop_function):
9821 * gst/gstiterator.c:
9822 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
9823 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
9824 (gst_object_dispatch_properties_changed), (gst_object_set_name),
9825 (gst_object_set_parent), (gst_object_unparent),
9826 (gst_object_check_uniqueness):
9828 Docs updates, clean up some headers.
9830 2005-03-07 Wim Taymans <wim@fluendo.com>
9833 * check/Makefile.am:
9834 * check/gst-libs/.cvsignore:
9835 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
9836 * check/gst/.cvsignore:
9837 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
9838 (START_TEST), (gstbus_suite), (main):
9839 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
9840 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
9841 (gst_data_suite), (main):
9842 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
9843 (add_fold_func), (gstiterator_suite), (main):
9844 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
9845 (thread_name_object), (thread_name_object_default),
9846 (gst_object_name_compare), (gst_object_suite), (main):
9847 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
9848 (gst_pad_suite), (main):
9849 * check/gstcheck.c: (gst_check_log_message_func),
9850 (gst_check_log_critical_func), (gst_check_init):
9852 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
9853 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
9856 2005-03-07 Wim Taymans <wim@fluendo.com>
9858 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9859 (gst_list_iterator_next), (gst_list_iterator_resync),
9860 (gst_list_iterator_free), (gst_iterator_new_list),
9861 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
9862 (gst_iterator_free), (gst_iterator_push), (filter_next),
9863 (filter_resync), (filter_uninit), (filter_free),
9864 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
9865 (gst_iterator_foreach), (find_custom_fold_func),
9866 (gst_iterator_find_custom):
9867 * gst/gstiterator.h:
9868 Added missing files.
9870 2005-03-07 Wim Taymans <wim@fluendo.com>
9874 * docs/design/part-MT-refcounting.txt:
9875 * docs/design/part-conventions.txt:
9876 * docs/design/part-gstobject.txt:
9877 * docs/design/part-relations.txt:
9878 * examples/mixer/mixer.c: (main):
9879 * examples/thread/thread.c: (eos), (main):
9881 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
9882 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
9883 (gst_spider_plug_from_srcpad):
9884 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
9885 (gst_spider_identity_change_state),
9886 (gst_spider_identity_sink_loop_type_finding):
9887 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
9888 * gst/elements/gstidentity.c: (gst_identity_init):
9889 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
9890 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
9891 * gst/elements/gsttypefindelement.c: (free_entry):
9894 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
9895 (gst_bin_set_clock_func), (gst_bin_auto_clock),
9896 (gst_bin_set_index), (gst_bin_set_element_sched),
9897 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
9898 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
9899 (gst_bin_iterate_elements), (iterate_child_recurse),
9900 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
9901 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
9902 (compare_interface), (gst_bin_get_by_interface),
9903 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
9905 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
9906 (gst_buffer_default_free), (gst_buffer_default_copy),
9907 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
9908 (gst_buffer_create_sub):
9910 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
9911 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
9912 (gst_caps_unref), (gst_static_caps_get),
9913 (gst_caps_remove_and_get_structure), (gst_caps_append),
9914 (gst_caps_append_structure), (gst_caps_remove_structure),
9915 (gst_caps_copy_nth), (gst_caps_set_simple),
9916 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
9917 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
9918 (gst_caps_structure_intersect_field), (gst_caps_intersect),
9919 (gst_caps_structure_subtract_field), (gst_caps_subtract),
9920 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
9921 (gst_caps_structure_figure_out_union),
9922 (gst_caps_switch_structures), (gst_caps_do_simplify),
9923 (gst_caps_replace), (gst_caps_from_string),
9924 (gst_caps_copy_conditional):
9926 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
9927 (_gst_clock_id_free), (gst_clock_id_unref),
9928 (gst_clock_id_compare_func), (gst_clock_id_wait),
9929 (gst_clock_id_wait_async), (gst_clock_class_init),
9930 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
9931 (gst_clock_get_time), (gst_clock_set_time_adjust),
9932 (gst_clock_set_property), (gst_clock_get_property):
9935 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
9936 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
9938 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9939 (gst_element_requires_clock), (gst_element_provides_clock),
9940 (gst_element_set_clock), (gst_element_clock_wait),
9941 (gst_element_wait), (gst_element_set_time_delay),
9942 (gst_element_is_indexable), (gst_element_add_pad),
9943 (gst_element_add_ghost_pad), (gst_element_remove_pad),
9944 (pad_compare_name), (gst_element_get_static_pad),
9945 (gst_element_request_pad), (gst_element_get_request_pad),
9946 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
9947 (gst_element_class_get_pad_template_list),
9948 (gst_element_class_get_pad_template), (gst_element_error_func),
9949 (gst_element_get_random_pad), (gst_element_get_event_masks),
9950 (gst_element_send_event), (gst_element_seek),
9951 (gst_element_get_query_types), (gst_element_query),
9952 (gst_element_get_formats), (gst_element_convert),
9953 (gst_element_is_locked_state), (gst_element_set_locked_state),
9954 (gst_element_sync_state_with_parent), (gst_element_change_state),
9955 (gst_element_finalize), (gst_element_yield),
9956 (gst_element_interrupt), (gst_element_set_scheduler),
9957 (gst_element_get_scheduler), (gst_element_set_loop_function):
9960 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
9961 (gst_format_get_by_nick), (gst_format_get_details),
9962 (gst_format_iterate_definitions):
9964 * gst/gstindex.c: (gst_index_gtype_resolver):
9967 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
9968 (gst_mem_chunk_free):
9969 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9970 (gst_object_ref), (gst_object_unref), (gst_object_sink),
9971 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
9972 (gst_object_dispatch_properties_changed),
9973 (gst_object_set_name_default), (gst_object_set_name),
9974 (gst_object_get_name), (gst_object_set_name_prefix),
9975 (gst_object_get_name_prefix), (gst_object_set_parent),
9976 (gst_object_get_parent), (gst_object_unparent),
9977 (gst_object_check_uniqueness), (gst_object_save_thyself),
9978 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
9979 (gst_object_set_property), (gst_object_get_property),
9980 (gst_object_get_path_string):
9982 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9983 (gst_real_pad_init), (gst_real_pad_get_property),
9984 (gst_pad_custom_new), (gst_pad_get_direction),
9985 (gst_pad_set_active), (gst_pad_is_active),
9986 (gst_pad_set_event_function), (gst_pad_is_linked),
9987 (gst_pad_link_free), (gst_pad_link_intersect),
9988 (gst_pad_link_fixate), (gst_pad_set_caps),
9989 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
9990 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
9991 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
9992 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
9993 (gst_pad_get_caps), (gst_pad_peer_get_caps),
9994 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
9995 (gst_pad_realize), (gst_pad_get_allowed_caps),
9996 (gst_real_pad_dispose), (gst_real_pad_finalize),
9997 (gst_pad_collectv), (gst_pad_collect_valist),
9998 (gst_pad_template_dispose), (gst_pad_template_new),
9999 (gst_pad_get_internal_links):
10001 * gst/gstpipeline.c: (gst_pipeline_dispose),
10002 (gst_pipeline_change_state):
10003 * gst/gstpipeline.h:
10005 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10006 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10007 * gst/gstpluginfeature.h:
10008 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10009 * gst/gstquery.c: (_gst_query_type_initialize),
10010 (gst_query_type_register), (gst_query_type_get_by_nick),
10011 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10013 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10014 * gst/gstscheduler.c: (gst_scheduler_add_element),
10015 (gst_scheduler_factory_create):
10016 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10017 (gst_structure_free), (gst_structure_set_name),
10018 (gst_structure_id_set_value), (gst_structure_set_value),
10019 (gst_structure_set_valist), (gst_structure_remove_field),
10020 (gst_structure_remove_fields),
10021 (gst_structure_remove_fields_valist),
10022 (gst_structure_remove_all_fields), (gst_structure_foreach),
10023 (gst_structure_map_in_place),
10024 (gst_caps_structure_fixate_field_nearest_int),
10025 (gst_caps_structure_fixate_field_nearest_double):
10026 * gst/gststructure.h:
10027 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10028 (gst_system_clock_init), (gst_system_clock_dispose),
10029 (gst_system_clock_async_thread),
10030 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10031 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10032 * gst/gstsystemclock.h:
10033 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10034 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10035 * gst/gsttaginterface.c:
10036 * gst/gstthread.c: (gst_thread_dispose),
10037 (gst_thread_release_children_locks), (gst_thread_change_state),
10038 (gst_thread_main_loop):
10039 * gst/gsttrashstack.h:
10040 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10042 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10043 (gst_element_request_pad), (gst_element_get_pad_from_template),
10044 (gst_element_request_compatible_pad),
10045 (gst_element_get_compatible_pad_filtered),
10046 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10047 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10048 (gst_element_link_many), (gst_element_link),
10049 (gst_element_link_pads), (gst_element_unlink_pads),
10050 (gst_element_unlink_many), (gst_element_unlink),
10051 (gst_pad_can_link_filtered), (gst_pad_can_link),
10052 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10053 (gst_object_default_error), (gst_bin_add_many),
10054 (gst_bin_remove_many), (gst_element_populate_std_props),
10055 (gst_element_class_install_std_props), (gst_buffer_merge),
10056 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10057 (link_fold_func), (gst_pad_proxy_setcaps):
10059 * gst/gstvalue.c: (gst_value_deserialize_string):
10060 * gst/parse/grammar.y:
10061 * gst/schedulers/gstbasicscheduler.c:
10062 (gst_basic_scheduler_cothreaded_chain),
10063 (gst_basic_scheduler_chain_recursive_add),
10064 (gst_basic_scheduler_pad_link):
10065 * gst/schedulers/gstoptimalscheduler.c:
10066 (get_group_schedule_function),
10067 (gst_opt_scheduler_state_transition),
10068 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10069 * libs/gst/bytestream/bytestream.c:
10070 * libs/gst/dataprotocol/dataprotocol.c:
10071 (gst_dp_header_from_buffer):
10074 * tests/threadstate/threadstate2.c: (eos):
10075 * tools/gst-compprep.c: (main):
10076 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10077 (print_pad_info), (print_children_info):
10078 * tools/gst-launch.c: (idle_func), (main):
10079 * tools/gst-md5sum.c: (idle_func), (main):
10080 * tools/gst-xmlinspect.c: (print_element_info):
10081 First THREADED backport attempt, focusing on adding locks and
10082 making sure the API is threadsafe. Needs more work. More docs
10085 2005-02-24 Andy Wingo <wingo@pobox.com>
10087 * tests/bench-complexity.scm:
10088 * tests/complexity.gnuplot: New files, good for running complexity
10091 * tests/Makefile.am:
10092 * tests/complexity.c: New test, sets up N elements, at each level
10093 teeing into M streams per element. Eeeenteresting.
10095 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10096 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10097 running bench-mass_elements.scm.
10099 * tests/bench-mass_elements.scm: New script, runs mass_elements
10100 for various numbers of identities, outputting the results to a
10101 file. Requires guile 1.6. Just for testing.
10103 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10105 * gst/schedulers/fairscheduler.c:
10106 compile with debug disabled
10108 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10111 hunting season on 0.9 is now OPEN