1 2005-11-02 Wim Taymans <wim@fluendo.com>
3 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
4 (gst_pad_push), (gst_pad_push_event):
5 Unlock blocked pads when they are flushed.
7 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10 * docs/gst/gstreamer-sections.txt:
13 * gst/gstregistry.c: (gst_registry_scan_path_level):
14 fix for a nasty little missed situation where an installed plug-in
15 which was in the cache did not get overridden by an uninstalled one
16 which was earlier in the plugin path because the newly created plugin
17 for the uninstalled one (not in the registry) didn't get its
18 ->registered set to TRUE
20 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
23 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
24 (gst_collectpads_is_active), (gst_collectpads_collect),
25 (gst_collectpads_collect_range), (gst_collectpads_start),
26 (gst_collectpads_stop), (gst_collectpads_peek),
27 (gst_collectpads_pop), (gst_collectpads_available),
28 (gst_collectpads_read), (gst_collectpads_flush):
29 Guard public API with assertions.
32 Fix docs for gst_pad_set_link_function().
34 2005-11-02 Johan Dahlin <johan@gnome.org>
36 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
37 Unref found_caps after we used it.
39 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
41 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
42 Don't try to ref NULL.
44 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
46 * win32/common/config.h.in:
47 provide a GST_FUNCTION that just gives a string for now
49 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
51 * win32/common/gstenumtypes.c: (register_gst_object_flags),
52 (gst_object_flags_get_type), (register_gst_bin_flags),
53 (gst_bin_flags_get_type), (register_gst_buffer_flag),
54 (gst_buffer_flag_get_type), (register_gst_bus_flags),
55 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
56 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
57 (gst_clock_return_get_type), (register_gst_clock_entry_type),
58 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
59 (gst_clock_flags_get_type), (register_gst_state),
60 (gst_state_get_type), (register_gst_state_change_return),
61 (gst_state_change_return_get_type), (register_gst_state_change),
62 (gst_state_change_get_type), (register_gst_element_flags),
63 (gst_element_flags_get_type), (register_gst_core_error),
64 (gst_core_error_get_type), (register_gst_library_error),
65 (gst_library_error_get_type), (register_gst_resource_error),
66 (gst_resource_error_get_type), (register_gst_stream_error),
67 (gst_stream_error_get_type), (register_gst_event_type),
68 (gst_event_type_get_type), (register_gst_seek_type),
69 (gst_seek_type_get_type), (register_gst_seek_flags),
70 (gst_seek_flags_get_type), (register_gst_format),
71 (gst_format_get_type), (register_gst_index_certainty),
72 (gst_index_certainty_get_type), (register_gst_index_entry_type),
73 (gst_index_entry_type_get_type),
74 (register_gst_index_lookup_method),
75 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
76 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
77 (gst_index_resolver_method_get_type), (register_gst_index_flags),
78 (gst_index_flags_get_type), (register_gst_debug_level),
79 (gst_debug_level_get_type), (register_gst_debug_color_flags),
80 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
81 (gst_iterator_result_get_type), (register_gst_iterator_item),
82 (gst_iterator_item_get_type), (register_gst_message_type),
83 (gst_message_type_get_type), (register_gst_mini_object_flags),
84 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
85 (gst_pad_link_return_get_type), (register_gst_flow_return),
86 (gst_flow_return_get_type), (register_gst_activate_mode),
87 (gst_activate_mode_get_type), (register_gst_pad_direction),
88 (gst_pad_direction_get_type), (register_gst_pad_flags),
89 (gst_pad_flags_get_type), (register_gst_pad_presence),
90 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
91 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
92 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
93 (gst_plugin_error_get_type), (register_gst_plugin_flags),
94 (gst_plugin_flags_get_type), (register_gst_rank),
95 (gst_rank_get_type), (register_gst_query_type),
96 (gst_query_type_get_type), (register_gst_tag_merge_mode),
97 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
98 (gst_tag_flag_get_type), (register_gst_task_state),
99 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
100 (gst_alloc_trace_flags_get_type),
101 (register_gst_type_find_probability),
102 (gst_type_find_probability_get_type), (register_gst_uri_type),
103 (gst_uri_type_get_type), (register_gst_parse_error),
104 (gst_parse_error_get_type):
105 * win32/common/gstversion.h:
108 2005-11-01 Luca Ognibene <luogni@tin.it>
111 fix docs. popt is dead, long live GOption.
113 2005-10-31 Wim Taymans <wim@fluendo.com>
118 2005-10-31 Andy Wingo <wingo@pobox.com>
122 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
124 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
125 need to serialize property notifications on GLib 2.8. GLib 2.6 has
126 the possibility of deadlocks here if code calling notify() or
127 set() has a lock that can be taken in another notify handler (ABBA
128 with class lock and e.g. python GIL state lock).
130 2005-10-28 Julien MOUTTE <julien@moutte.net>
132 * gst/gstbus.c: Doc updates.
134 2005-10-28 Wim Taymans <wim@fluendo.com>
136 * docs/design/part-TODO.txt:
138 * gst/gstsystemclock.c:
139 * gst/gstsystemclock.h:
142 2005-10-28 Edward Hervey <edward@fluendo.com>
144 * docs/gst/gstreamer-docs.sgml:
145 * docs/gst/gstreamer-sections.txt:
146 the GstURIType documentation page is private, it only defines GstURIType
147 which should be defined in the GstURIHandler page
149 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
151 * gst/gstbin.c: (gst_bin_class_init):
154 Documentation updates.
156 2005-10-28 Wim Taymans <wim@fluendo.com>
158 * docs/gst/gstreamer-sections.txt:
161 Documented the clocks.
163 2005-10-28 Stefan Kost <ensonic@users.sf.net>
165 * docs/gst/gstreamer-sections.txt:
166 move some macros to private sections
167 * gst/gstminiobject.c:
168 * gst/gstminiobject.h:
169 add descriptions provided by ds and some more
171 mark macro as to be removed
173 2005-10-28 Wim Taymans <wim@fluendo.com>
175 * docs/design/part-TODO.txt:
178 * gst/gstiterator.c: (gst_iterator_fold),
179 (gst_iterator_find_custom):
183 2005-10-28 Wim Taymans <wim@fluendo.com>
185 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
186 (gst_base_transform_init):
189 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
190 An EOS event marks the queue as completely filled.
192 2005-10-27 Wim Taymans <wim@fluendo.com>
194 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
195 (gst_base_sink_do_sync), (gst_base_sink_get_position):
198 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
199 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
200 (gst_base_transform_event), (gst_base_transform_getrange),
201 (gst_base_transform_chain):
202 * gst/base/gstbasetransform.h:
204 Protect transform and concurrent buffer alloc with a new lock.
205 Try not to break ABI/API.
207 2005-10-27 Wim Taymans <wim@fluendo.com>
209 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
210 (gst_base_src_init), (gst_base_src_query),
211 (gst_base_src_default_newsegment),
212 (gst_base_src_configure_segment), (gst_base_src_do_seek),
213 (gst_base_src_send_event), (gst_base_src_event_handler),
214 (gst_base_src_pad_get_range), (gst_base_src_loop),
215 (gst_base_src_unlock), (gst_base_src_default_negotiate),
216 (gst_base_src_start), (gst_base_src_deactivate),
217 (gst_base_src_activate_push), (gst_base_src_change_state):
218 Move some stuff around and cleanup things.
220 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
222 * gst/base/gstbasesrc.c: (gst_base_src_query):
223 Add missing break statements.
225 2005-10-27 Wim Taymans <wim@fluendo.com>
227 * check/gst/gstbin.c: (GST_START_TEST):
228 An extra refcount is taken in basesrc.
230 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
231 (gst_base_src_get_range), (gst_base_src_pad_get_range),
233 Small cleanups, check for flushing after being unlocked from the
234 LIVE_LOCK. take refcounts correctly (not yet everywhere).
235 Don't send out EOS when going to READY.
237 2005-10-27 Wim Taymans <wim@fluendo.com>
239 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
240 (gst_base_sink_get_position):
243 * gst/gstbin.c: (message_check), (bin_replace_message),
244 (bin_remove_messages), (is_eos), (gst_bin_add_func),
245 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
246 (bin_query_duration_init), (bin_query_duration_fold),
247 (bin_query_duration_done), (bin_query_generic_fold),
249 * tools/gst-launch.c: (main):
252 2005-10-26 Stefan Kost <ensonic@users.sf.net>
254 * examples/controller/audio-example.c: (main):
255 * examples/queue/queue.c: (event_loop):
256 * gst/base/gstbasetransform.h:
257 * gst/gstelement.c: (gst_element_send_event):
259 * gst/gstpad.c: (gst_pad_send_event):
262 changing log priority in error situations
264 2005-10-25 Wim Taymans <wim@fluendo.com>
266 * gst/gstbin.c: (message_check), (bin_replace_message),
267 (bin_remove_messages), (is_eos), (gst_bin_add_func),
268 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
269 (bin_query_duration_init), (bin_query_duration_fold),
270 (bin_query_duration_done), (bin_query_generic_fold),
272 Some doc and debug updates.
273 Cache previously requested query DURATION for speed. invalidate
274 cached duration if element posts a DURATION message.
276 2005-10-25 Wim Taymans <wim@fluendo.com>
278 * docs/design/part-TODO.txt:
281 * gst/gstbin.c: (message_check), (bin_replace_message),
282 (bin_remove_messages), (is_eos), (gst_bin_add_func),
283 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
284 (bin_query_duration_init), (bin_query_duration_fold),
285 (bin_query_duration_done), (bin_query_generic_fold),
287 Handle SEGMENT_START/DONE messages correctly.
288 More evolved query algorithm that handles duration queries
291 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
292 (gst_element_get_state_func), (gst_element_abort_state),
293 (gst_element_commit_state), (gst_element_lost_state):
299 2005-10-25 Wim Taymans <wim@fluendo.com>
301 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
302 Don't use invalid stream_time.
304 * gst/gstevent.c: (gst_event_new_newsegment):
305 stream_time in newsegment cannot be undefined.
307 2005-10-24 Wim Taymans <wim@fluendo.com>
312 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
314 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
316 2005-10-24 Stefan Kost <ensonic@users.sf.net>
318 * docs/libs/tmpl/gstdparam.sgml:
319 * docs/libs/tmpl/gstdplinint.sgml:
320 * docs/libs/tmpl/gstdpman.sgml:
321 * docs/libs/tmpl/gstdpsmooth.sgml:
322 * docs/libs/tmpl/gstunitconvert.sgml:
325 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
330 === release 0.9.4 ===
332 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
335 releasing 0.9.4, "Tyrannosaurus Rex"
337 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
339 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
340 (gst_file_sink_get_current_offset):
341 Use fseeko() and ftello() if available. When falling back on
342 lseek() to get the current offset, fflush() first to make sure
343 everything is up-to-date and we get the right offset.
345 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
347 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
348 * gst/base/gstbasesrc.c: (gst_base_src_loop):
349 * gst/gsterror.c: (_gst_stream_errors_init):
351 * gst/gstqueue.c: (gst_queue_loop):
353 remove prematurely added error category and clean up the instances
355 2005-10-21 Wim Taymans <wim@fluendo.com>
357 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
358 (gst_base_sink_get_position), (gst_base_sink_query),
359 (gst_base_sink_change_state):
360 Simply set the right flag when going to playing, that's all
361 we need to do instead of calling a function inside the object
362 lock (that could take the lock as well and deadlock)
364 2005-10-21 Wim Taymans <wim@fluendo.com>
366 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
368 Don't warn, the peer element knows what to do best when
369 the seek failed, it might try something else.
371 2005-10-21 Wim Taymans <wim@fluendo.com>
373 * gst/base/gstbasesrc.c: (gst_base_src_init),
374 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
377 2005-10-21 Wim Taymans <wim@fluendo.com>
379 * docs/design/part-segments.txt:
382 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
383 Correctly set caps, even on the subbufer.
385 2005-10-21 Wim Taymans <wim@fluendo.com>
387 * docs/gst/gstreamer-docs.sgml:
388 * docs/gst/gstreamer-sections.txt:
395 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
399 And 2% more doc coverage.
401 2005-10-21 Andy Wingo <wingo@pobox.com>
403 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
406 2005-10-20 Wim Taymans <wim@fluendo.com>
408 * gst/gsterror.c: (gst_error_get_message):
411 * gst/gststructure.c:
416 2005-10-20 Wim Taymans <wim@fluendo.com>
421 Another 1% more coverage.
423 2005-10-20 Wim Taymans <wim@fluendo.com>
425 * docs/gst/gstreamer-sections.txt:
426 * gst/gstelement.c: (gst_element_get_state_func),
427 (gst_element_abort_state), (gst_element_commit_state),
428 (gst_element_lost_state):
430 * gst/gstquery.c: (gst_query_set_position),
431 (gst_query_parse_position), (gst_query_set_duration),
432 (gst_query_parse_duration), (gst_query_new_convert):
434 Yay! 1% more docs coverage.
436 2005-10-20 Wim Taymans <wim@fluendo.com>
439 * gst/gstquery.c: (gst_query_set_position),
440 (gst_query_parse_position), (gst_query_set_duration),
441 (gst_query_parse_duration), (gst_query_new_convert):
443 * gst/gstutils.c: (gst_element_query_convert):
445 Docs and consistency fixes.
447 2005-10-20 Wim Taymans <wim@fluendo.com>
453 2005-10-20 Wim Taymans <wim@fluendo.com>
455 * gst/gstbin.c: (message_check), (bin_replace_message),
456 (bin_remove_messages), (is_eos), (gst_bin_add_func),
457 (update_degree), (gst_bin_sort_iterator_next),
458 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
459 Reworked the message handling a bit, cache the messages instead of
460 only the senders. alows us to do more in the future.
462 2005-10-20 Wim Taymans <wim@fluendo.com>
464 * docs/design/part-TODO.txt:
467 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
468 (gst_base_sink_query):
469 Don't use clock time to report position when in EOS.
471 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
473 * tools/gst-inspect.c: (print_interfaces),
474 (print_element_properties_info), (print_element_info):
475 Fix interface output with gst-inspect -a; don't print
476 newlines after double/float properties.
478 2005-10-20 Wim Taymans <wim@fluendo.com>
480 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
481 (gst_base_sink_query):
482 Speed up current position calculation.
484 * gst/base/gstbasesrc.c: (gst_base_src_query),
485 (gst_base_src_default_newsegment):
486 Correctly set stream position in newsegment.
488 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
489 (update_degree), (gst_bin_sort_iterator_next),
490 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
491 * gst/gstmessage.c: (gst_message_new_custom):
492 Clean up debugging info
494 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
495 (gst_queue_loop), (gst_queue_handle_src_query):
498 2005-10-19 Wim Taymans <wim@fluendo.com>
500 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
501 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
502 Fix query handling again.
504 2005-10-19 Wim Taymans <wim@fluendo.com>
506 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
507 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
508 * gst/base/gstbasesrc.c: (gst_base_src_query):
509 * gst/elements/gstfilesink.c: (gst_file_sink_query):
510 * gst/elements/gsttypefindelement.c:
511 (gst_type_find_handle_src_query), (find_element_get_length),
512 (gst_type_find_element_activate):
515 * gst/gstquery.c: (gst_query_new_position),
516 (gst_query_set_position), (gst_query_parse_position),
517 (gst_query_new_duration), (gst_query_set_duration),
518 (gst_query_parse_duration), (gst_query_set_segment),
519 (gst_query_parse_segment):
521 Bundling query position/duration is not a good idea since duration
522 does not change much and we don't want to recalculate it for every
523 position query, so they are separated again..
524 Base value in segment query is not needed.
526 * gst/gstqueue.c: (gst_queue_handle_src_query):
527 * gst/gstutils.c: (gst_element_query_position),
528 (gst_element_query_duration), (gst_pad_query_position),
529 (gst_pad_query_duration):
531 Updates for query API change.
532 Added some docs here and there.
534 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
536 * check/gst/gstbin.c: (GST_START_TEST):
537 * check/gst/gstghostpad.c: (GST_START_TEST):
538 * check/pipelines/cleanup.c: (GST_START_TEST):
539 wait on thread to die so we can check refcount correctly
541 2005-10-18 Wim Taymans <wim@fluendo.com>
543 * check/pipelines/stress.c: (GST_START_TEST):
544 Make check a little more time consuming.
546 2005-10-18 Wim Taymans <wim@fluendo.com>
549 * check/pipelines/stress.c: (GST_START_TEST),
550 (simple_launch_lines_suite), (main):
551 Small state change torture test.
553 * docs/design/part-states.txt:
554 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
555 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
556 (gst_base_sink_change_state):
557 Never take state lock from streaming thread, clean up ugly
558 hacks. Unfortunatly core does not yet support nice ways to
561 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
563 Start state recalc if a STATE_DIRTY message is posted, but only
566 * gst/gstelement.c: (gst_element_sync_state_with_parent),
567 (gst_element_get_state_func), (gst_element_abort_state),
568 (gst_element_commit_state), (gst_element_lost_state),
569 (gst_element_set_state_func), (gst_element_change_state):
571 State variables are now protected with the LOCK, the state
572 lock is only used to serialize _set_state().
574 2005-10-18 Wim Taymans <wim@fluendo.com>
576 * check/gst/gstbin.c: (GST_START_TEST):
577 * check/gst/gstmessage.c: (GST_START_TEST):
578 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
579 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
581 * gst/gstelement.c: (gst_element_abort_state),
582 (gst_element_commit_state), (gst_element_lost_state):
583 * gst/gstmessage.c: (gst_message_new_state_changed),
584 (gst_message_new_state_dirty), (gst_message_new_segment_start),
585 (gst_message_new_segment_done), (gst_message_new_duration),
586 (gst_message_parse_state_changed),
587 (gst_message_parse_segment_start),
588 (gst_message_parse_segment_done), (gst_message_parse_duration):
590 * tools/gst-launch.c: (event_loop):
591 Seriously, this is better than a previous commit as we only need
592 to notify the fact that an element changed state in a streaming
593 thread, marking the state of the parents dirty, hence the
594 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
597 2005-10-18 Wim Taymans <wim@fluendo.com>
599 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
600 (gst_bin_recalc_func):
601 * gst/gstelement.c: (gst_element_set_clock),
602 (gst_element_abort_state), (gst_element_lost_state):
603 Cleanups, prepare for state change fixes.
605 2005-10-18 Wim Taymans <wim@fluendo.com>
608 * gst/gstelement.c: (gst_element_class_init),
609 (gst_element_set_state), (gst_element_set_state_func):
612 GThreadPool in GstBinClass to monitor async state changes.
613 state_cookie in GstElement to detect concurrent gst/set state.
614 set_state is now virtual too in case a very complicated element
615 has to be constructed.
617 2005-10-18 Wim Taymans <wim@fluendo.com>
619 * check/gst/gstbin.c: (GST_START_TEST):
620 * check/gst/gstmessage.c: (GST_START_TEST):
621 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
622 * gst/gstbin.c: (bin_bus_handler):
623 * gst/gstelement.c: (gst_element_commit_state),
624 (gst_element_lost_state):
625 * gst/gstmessage.c: (gst_message_new_state_changed),
626 (gst_message_new_segment_start), (gst_message_new_segment_done),
627 (gst_message_new_duration), (gst_message_parse_state_changed),
628 (gst_message_parse_segment_start),
629 (gst_message_parse_segment_done), (gst_message_parse_duration):
631 * tools/gst-launch.c: (event_loop):
632 Make messages future proof.
633 state-change gets a flag if it was a message comming from the
635 segment-start/stop can also be specified in other formats.
636 A message to notify an app that a pipeline changed playback
638 Also fix a GstMessage leak in -launch
640 2005-10-18 Andy Wingo <wingo@pobox.com>
642 * gst/gstelement.c (gst_element_dispose): More helpful message.
644 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
646 * gst/gstregistry.c: (gst_registry_scan_path_level):
647 unref a plug-in we get that was already initialized
649 2005-10-18 Stefan Kost <ensonic@users.sf.net>
651 * docs/gst/gstreamer-sections.txt:
652 * docs/libs/gstreamer-libs-sections.txt:
657 2005-10-17 Andy Wingo <wingo@pobox.com>
659 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
662 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
664 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
666 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
667 (gst_element_get_state_func): Better debug message.
668 (gst_element_commit_state): s/INFO/DEBUG/.
669 (gst_element_lost_state, gst_element_change_state):
671 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
672 (gst_message_new_custom): s/INFO/LOG/.
674 2005-10-17 Michael Smith <msmith@fluendo.com>
676 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
677 Check if end time is valid using end time, not start time.
679 2005-10-17 Stefan Kost <ensonic@users.sf.net>
681 * check/gst-libs/controller.c: (GST_START_TEST),
682 (gst_controller_suite):
683 * libs/gst/controller/gstcontroller.c:
684 (gst_controlled_property_set_interpolation_mode):
685 * libs/gst/controller/gstcontroller.h:
686 * libs/gst/controller/gstinterpolation.c:
687 * testsuite/controller/.cvsignore:
688 * testsuite/controller/Makefile.am:
689 * testsuite/controller/interpolator.c:
690 merge controller testsuites
692 remove mem-chunk from docs
694 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
698 * gst/gsttrashstack.c:
699 * gst/gsttrashstack.h:
700 out. get out. you're fired. to the Attic !
702 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
704 * gst/gstcaps.c: (gst_caps_intersect):
705 fix signedness issues in a (hopefully) correct way
706 * gst/gstelement.c: (gst_element_pads_activate):
708 * gst/gstobject.c: (gst_object_set_parent):
711 2005-10-17 Julien MOUTTE <julien@moutte.net>
713 * gst/gstvalue.h: Fix prototypes.
715 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
717 * docs/gst/gstreamer-sections.txt:
718 * gst/gst.c: (gst_version_string):
720 * gst/gstversion.h.in:
721 * win32/common/libgstreamer.def:
722 add gst_version_string ()
724 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
728 * gst/gst.c: (init_post):
729 * win32/common/config.h.in:
731 * gst/gstcaps.c: (gst_caps_intersect):
732 use gint64, the range could be bigger than a guint
734 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
737 document potential problem in 2038
739 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
741 * gst/gstcaps.c: (gst_caps_intersect):
742 Fix guint j diving under 0
744 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
747 * win32/common/config.h:
748 * win32/common/config.h.in:
749 check for process.h, declares getpid() on Windows
751 include process.h if we have it
752 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
754 fix signedness issues
755 * win32/common/libgstreamer.def:
758 2005-10-16 Julien MOUTTE <julien@moutte.net>
760 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
761 fix. Because of unsigned ints, caps intersection was going nuts and
762 trying to access structures with G_MAXUINT index. That fixes
763 videotestsrc ! ffmpegcolorspace ! fakesink
764 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
767 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
770 use the gettext macro
771 * gst/elements/gstelements.c:
773 * gst/indexers/gstindexers.c:
774 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
775 * win32/common/config.h:
777 * win32/common/config.h.in:
778 add the template to generate config.h
779 * win32/common/gstenumtypes.c:
780 * win32/common/gstversion.h:
783 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
785 * gst/gst.c: (gst_version):
786 * gst/gstversion.h.in:
789 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
792 Oops, add missing closing bracket.
794 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
797 use common m4's for argument checking
799 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
801 * docs/gst/gstreamer-sections.txt:
803 Add GST_EVENT_TYPE_NAME() macro.
805 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
808 * gst/gstpluginfeature.c:
810 privatize more symbols
812 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
815 add srcdir, builddir includes to GST_ALL_CFLAGS, since
816 everything that uses GStreamer API should have the includes
818 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
820 * docs/gst/gstreamer-sections.txt:
821 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
823 give each value a _get_type, removes the DATA exports
825 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
829 remove _gst_registry_auto_load, not used anymore
830 * gst/gstbin.c: (gst_bin_get_type):
832 * gst/gstelement.c: (gst_element_get_type):
834 * gst/gstobject.c: (gst_object_get_type):
836 * gst/gstpad.c: (gst_pad_get_type):
838 make _get_type functions similar, fixes data export from library
840 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
843 correctly make conditionals
844 * gst/elements/Makefile.am:
845 * gst/elements/gstelements.c:
846 fix typo causing fdsrc not to build
848 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
850 * testsuite/Makefile.am:
851 * testsuite/bytestream/.cvsignore:
852 * testsuite/bytestream/Makefile.am:
853 * testsuite/bytestream/filepadsink.c:
854 * testsuite/bytestream/gstbstest.c:
855 * testsuite/bytestream/test1.c:
856 * testsuite/bytestream/testfile1:
857 * testsuite/caps/normalisation.c:
858 * testsuite/caps/random.c: (main):
859 * testsuite/cleanup/.cvsignore:
860 * testsuite/cleanup/Makefile.am:
861 * testsuite/cleanup/cleanup1.c:
862 * testsuite/cleanup/cleanup2.c:
863 * testsuite/cleanup/cleanup3.c:
864 * testsuite/cleanup/cleanup4.c:
865 * testsuite/cleanup/cleanup5.c:
866 * testsuite/controller/interpolator.c:
867 * testsuite/debug/printf_extension.c: (main):
868 * testsuite/elements/tee.c:
869 * testsuite/negotiation/.cvsignore:
870 * testsuite/negotiation/Makefile.am:
871 * testsuite/negotiation/pad_link.c:
872 * testsuite/pad/Makefile.am:
873 * testsuite/pad/chainnopull.c:
874 * testsuite/pad/getnopush.c:
875 * testsuite/pad/link.c:
876 * testsuite/refcounting/sched.c: (create_pipeline):
877 * testsuite/registry/Makefile.am:
878 * testsuite/registry/gst-print-formats.c:
879 * testsuite/schedulers/.cvsignore:
880 * testsuite/schedulers/142183-2.c:
881 * testsuite/schedulers/142183.c:
882 * testsuite/schedulers/143777-2.c:
883 * testsuite/schedulers/143777.c:
884 * testsuite/schedulers/147713.c:
885 * testsuite/schedulers/147819.c:
886 * testsuite/schedulers/147894-2.c:
887 * testsuite/schedulers/147894.c:
888 * testsuite/schedulers/Makefile.am:
889 * testsuite/schedulers/group_link.c:
890 * testsuite/schedulers/queue_link.c:
891 * testsuite/schedulers/relink.c:
892 * testsuite/schedulers/unlink.c:
893 * testsuite/schedulers/unref.c:
894 * testsuite/schedulers/useless_iteration.c:
895 * testsuite/states/bin.c:
896 clean out/remove some stuff from the testsuite directories
898 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
901 check for some headers
902 * gst/elements/Makefile.am:
903 * gst/elements/gstelements.c:
904 don't compile fdsrc without sys/socket.h
905 * gst/indexers/Makefile.am:
906 * gst/indexers/gstindexers.c: (plugin_init):
907 don't compile fileindex without mmap
909 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
917 * docs/gst/Makefile.am:
918 * examples/helloworld/Makefile.am:
920 * gst/base/Makefile.am:
921 * gst/check/Makefile.am:
922 * gst/elements/Makefile.am:
923 * gst/indexers/Makefile.am:
924 * gst/parse/Makefile.am:
925 * libs/gst/controller/Makefile.am:
926 * libs/gst/dataprotocol/Makefile.am:
927 * examples/helloworld/helloworld.c: (event_loop):
928 compile fixes, though it's not being compiled currently
930 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
932 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
933 Add some simple tests for the new taglist date API.
935 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
937 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
938 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
939 Beautify 'last-message' output: print 'none' for buffer timestamps
940 and durations if none is set; improve alignment with next messages.
942 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
944 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
945 * gst/gstpluginfeature.h:
946 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
948 * docs/gst/gstreamer-sections.txt:
949 Add new API to check plugin feature version requirements.
951 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
952 Some basic tests for the above.
954 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
956 * gst/gststructure.c: (gst_structure_to_string):
957 guard against NULL printf - happens when for example
958 a message structure with GstClock gets serialized
960 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
962 * gst/base/gstcollectpads.c: (gst_collectpads_event):
963 Fix presumable copy'n'pasto.
965 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
967 * gst/elements/gstfakesrc.h:
968 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
969 * gst/elements/gsttypefindelement.c:
971 * gst/elements/gstfilesink.c: (gst_file_sink_render):
972 I wonder if this could actually write +2GB files before
974 2005-10-13 Andy Wingo <wingo@pobox.com>
976 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
977 Fix Timmeke Waymans bug.
978 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
979 string of the proper length to gst_caps_from_string. There's a
980 potential for, before this fix, that this could cause someone
981 connecting over the network to cause a segfault if the payload is
984 2005-10-13 Stefan Kost <ensonic@users.sf.net>
986 * docs/design/draft-push-pull.txt:
987 * docs/design/part-overview.txt:
988 * docs/random/TODO-pre-0.9:
989 * docs/random/old/ChangeLog.gstreamer:
990 * gst/base/gstpushsrc.c:
994 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
996 * gst/glib-compat.c: (gst_flags_get_first_value):
998 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
999 (gst_value_compare_double), (gst_value_serialize_flags):
1000 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1003 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1005 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1006 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1008 * tools/gst-launch.c: (event_loop):
1009 print out clock nicely
1011 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1013 * docs/gst/gstreamer-sections.txt:
1015 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1016 (gst_tag_list_get_date_index):
1017 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1018 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1020 2005-10-13 Julien MOUTTE <julien@moutte.net>
1022 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1023 (gst_collectpads_chain):
1024 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1027 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1029 * docs/gst/gstreamer-sections.txt:
1032 * tools/gst-inspect.c: (main):
1033 * tools/gst-launch.c: (main):
1034 * tools/gst-run.c: (main):
1035 * tools/gst-xmlinspect.c: (main):
1036 fix GOption context leaks
1039 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1043 * win32/common/config.h:
1045 * win32/vs6/grammar.dsp:
1046 * win32/vs6/libgstelements.dsp:
1047 * win32/vs6/libgstreamer.dsp:
1050 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1052 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1053 * gst/base/gstbasesrc.c: (gst_base_src_query):
1054 fix more guint64<->gdouble conversions
1056 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1059 add win32-update target
1060 * win32/common/gstconfig.h:
1061 * win32/common/gstenumtypes.c:
1062 * win32/common/gstenumtypes.h:
1063 * win32/common/gstversion.h:
1064 add files that visual studio can't generate
1066 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1069 add a win32-update target
1072 2005-10-12 Wim Taymans <wim@fluendo.com>
1074 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1075 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1076 * gst/gstelement.c: (gst_element_commit_state),
1077 (gst_element_set_state):
1078 Protect flags with proper lock.
1079 unref provided cached clock in dispose.
1081 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1084 * gst/gstminiobject.h:
1086 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1087 removed unused flags from miniobject
1090 2005-10-12 Wim Taymans <wim@fluendo.com>
1092 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1093 (gst_file_sink_event), (gst_file_sink_render):
1094 Flush before seeking.
1096 2005-10-12 Andy Wingo <wingo@pobox.com>
1098 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1099 always been the case.
1101 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1103 * check/gst/gstbin.c: (GST_START_TEST):
1104 * docs/gst/gstreamer-sections.txt:
1105 * gst/base/gstbasesink.c: (gst_base_sink_init):
1106 * gst/base/gstbasesrc.c: (gst_base_src_init),
1107 (gst_base_src_get_range), (gst_base_src_check_get_range),
1108 (gst_base_src_start), (gst_base_src_stop):
1109 * gst/base/gstbasesrc.h:
1110 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1111 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1112 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1116 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1118 * gst/gstelement.c: (gst_element_is_locked_state),
1119 (gst_element_set_locked_state), (gst_element_commit_state),
1120 (gst_element_set_state):
1122 * gst/gstindex.c: (gst_index_init):
1124 * gst/gstminiobject.h:
1125 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1126 (gst_object_set_parent):
1128 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1129 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1131 * gst/gstpadtemplate.h:
1132 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1133 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1134 * gst/gstpipeline.h:
1135 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1136 (gst_file_index_commit):
1137 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1138 * testsuite/pad/link.c: (gst_test_src_init),
1139 (gst_test_filter_init), (gst_test_sink_init):
1140 * testsuite/states/locked.c: (main):
1141 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1142 moved bitshift from macro to enum definition
1144 2005-10-12 Wim Taymans <wim@fluendo.com>
1146 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1147 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1148 (gst_file_sink_render):
1149 Some more debugging info.
1151 2005-10-12 Wim Taymans <wim@fluendo.com>
1153 * docs/design/part-states.txt:
1154 * tools/gst-launch.c: (main):
1156 Revert non-intentional change.
1158 2005-10-12 Wim Taymans <wim@fluendo.com>
1160 * check/gst/gstbin.c: (GST_START_TEST):
1161 * check/gst/gstelement.c: (GST_START_TEST):
1162 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1163 * check/gst/gstghostpad.c: (GST_START_TEST):
1164 * check/gst/gstpipeline.c: (GST_START_TEST):
1165 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1166 * check/states/sinks.c: (GST_START_TEST):
1167 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1168 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1169 (gst_bin_remove_func), (gst_bin_get_state_func),
1170 (gst_bin_recalc_state), (gst_bin_change_state_func),
1172 * gst/gstelement.c: (gst_element_get_state_func),
1173 (gst_element_get_state), (gst_element_abort_state),
1174 (gst_element_commit_state), (gst_element_set_state),
1175 (gst_element_change_state), (gst_element_change_state_func):
1177 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1178 (gst_pipeline_provide_clock_func):
1179 * gst/gstutils.c: (gst_element_link_pads_filtered):
1180 * tools/gst-launch.c: (main):
1181 * tools/gst-typefind.c: (main):
1182 Use GstClockTime in _get_state() instead of GTimeVal.
1183 Remove old code in gstutils.c
1185 2005-10-12 Andy Wingo <wingo@pobox.com>
1187 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1190 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1191 there is no task. Shouldn't affect any code, as nothing in our
1192 plugins checks this return value.
1193 (gst_pad_stop_task): Also take the stream lock if the pad has no
1196 2005-10-12 Wim Taymans <wim@fluendo.com>
1198 * gst/gstpad.c: (pre_activate), (post_activate),
1199 (gst_pad_activate_pull), (gst_pad_activate_push):
1200 Cleanup activation code. Reset old state if
1203 2005-10-12 Wim Taymans <wim@fluendo.com>
1205 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1206 (gst_base_sink_change_state):
1207 No need to prerol after receiving EOS.
1209 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1210 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1211 * gst/elements/gstidentity.c: (gst_identity_event):
1212 Print events more verbosely.
1214 2005-10-12 Wim Taymans <wim@fluendo.com>
1216 * check/Makefile.am:
1217 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1218 * check/states/sinks2.c:
1219 Moved sinks2 testcode in sinks check.
1221 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1222 (gst_bin_remove_func), (gst_bin_recalc_state),
1223 (gst_bin_change_state_func), (bin_bus_handler):
1224 Fix potential race condition when _get_state() iterated over an
1225 ASYNC element right before it posted a state completion.
1228 Do proper cast here.
1230 * gst/gstevent.c: (gst_event_new_newsegment),
1231 (gst_event_parse_newsegment):
1232 A playback rate of 0.0 is not allowed.
1234 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1236 * win32/common/config.h:
1237 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1238 (_trewinddir), (_ttelldir), (_tseekdir):
1239 * win32/common/dirent.h:
1240 * win32/common/gtchar.h:
1241 * win32/common/libgstbase.def:
1242 * win32/common/libgstreamer.def:
1243 * win32/vs6/grammar.dsp:
1244 * win32/vs6/gst_inspect.dsp:
1245 * win32/vs6/gst_launch.dsp:
1246 * win32/vs6/gstreamer.dsw:
1247 * win32/vs6/libgstbase.dsp:
1248 * win32/vs6/libgstelements.dsp:
1249 * win32/vs6/libgstreamer.dsp:
1250 Visual Studio 6 project files, and a new common directory.
1253 2005-10-11 Wim Taymans <wim@fluendo.com>
1255 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1256 (gst_base_sink_do_sync), (gst_base_sink_query),
1257 (gst_base_sink_change_state):
1258 * gst/base/gstbasesink.h:
1259 Correctly parse newsegment info.
1261 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1263 * gst/gst.c: (init_post):
1264 split plugin paths correctly
1266 2005-10-11 Wim Taymans <wim@fluendo.com>
1268 * check/gst/gstevent.c: (GST_START_TEST):
1269 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1270 (gst_base_sink_change_state):
1271 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1272 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1273 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1274 * gst/gstevent.c: (gst_event_new_newsegment),
1275 (gst_event_parse_newsegment):
1277 Added extra flag to newsegment for future API freeze.
1278 Updated check and base elements.
1280 2005-10-11 Julien MOUTTE <julien@moutte.net>
1282 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1283 (gst_collectpads_add_pad), (gst_collectpads_pop),
1284 (gst_collectpads_event), (gst_collectpads_chain):
1285 * gst/base/gstcollectpads.h: Handle EOS correctly.
1287 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1289 * tools/gst-launch.c: (main):
1290 more null protecting
1292 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1294 * gst/gst-i18n-lib.h:
1295 check for ENABLE_NLS, not GETTEXT_PACKAGE
1296 * gst/gstregistry.c: (gst_registry_add_plugin),
1297 (gst_registry_scan_path_level),
1298 (_gst_registry_remove_cache_plugins):
1299 protect possibly NULL strings
1300 * gst/parse/types.h:
1301 config.h already included before
1302 * tools/gst-inspect.c: (main):
1303 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1304 check for ENABLE_NLS, not GETTEXT_PACKAGE
1305 * tools/gst-launch.c: (main):
1306 check for ENABLE_NLS, not GETTEXT_PACKAGE
1308 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1311 if we don't have glib, fail before testing 2.8
1312 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1313 fix a leak, should fix plugins-base testsuite
1315 2005-10-11 Andy Wingo <wingo@pobox.com>
1317 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1318 take the mode we're going to as an arg. Go head and set the mode
1319 and flushing flags now, so that if the activate function starts a
1320 thread all the flags will be in the right state.
1321 (post_activate): Renamed also. Just handle making sure streaming
1322 finishes for the deactivation case, and setting the deactivated
1324 (gst_pad_set_active): Complain loudly if deactivation fails.
1325 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1326 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1327 remove the terrible hack.
1329 2005-10-11 Wim Taymans <wim@fluendo.com>
1331 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1332 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1333 (gst_bin_recalc_state), (gst_bin_change_state_func),
1334 (gst_bin_dispose), (bin_bus_handler):
1336 Prepare to make current EOS message queue more generic.
1339 * gst/gstevent.c: (gst_event_new_newsegment),
1340 (gst_event_parse_newsegment):
1342 Rename base to stream_time.
1347 2005-10-11 Wim Taymans <wim@fluendo.com>
1349 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1350 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1351 (gst_bin_change_state_func), (bin_bus_handler):
1353 Work on proper clock selection.
1355 2005-10-11 Edward Hervey <edward@fluendo.com>
1357 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1358 * libs/gst/controller/gstcontroller.h:
1359 Added GList* version of _remove_properties() in order to be able to wrap
1362 2005-10-11 Wim Taymans <wim@fluendo.com>
1364 * docs/design/part-states.txt:
1367 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1368 (gst_bin_change_state_func), (bin_bus_handler):
1369 Doc updates. Don't distribute the same clock over and over again.
1375 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1376 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1377 (gst_pad_send_event):
1379 Make probe emission threadsafe again.
1380 Register quarks and move _get_name() from utils.
1383 * gst/gstpipeline.c: (gst_pipeline_class_init),
1384 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1385 Only redistribute the clock of it changed.
1387 * gst/gstsystemclock.h:
1392 Moved the _flow_get_name() to GstPad.
1394 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1396 * check/gst-libs/gdp.c: (GST_START_TEST):
1397 * check/gst/gstcaps.c: (GST_START_TEST):
1398 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1399 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1400 (gst_dp_packet_from_caps):
1401 fix more valgrind warnings before turning up the heat
1403 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1405 * gst/parse/grammar.y:
1406 some cleanup before the hacking
1408 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1410 * gst/base/gstbasesrc.c: (gst_base_src_query):
1412 * gst/gstutils.c: (gst_guint64_to_gdouble),
1413 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1415 externalize, basesrc uses it
1416 obviously the implementation needs testing
1418 2005-10-10 Wim Taymans <wim@fluendo.com>
1420 * tests/sched/Makefile.am:
1421 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1422 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1424 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1426 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1427 apparently converting from guint64 to double is not implemented
1430 2005-10-10 Wim Taymans <wim@fluendo.com>
1432 * check/Makefile.am:
1433 * check/generic/states.c: (GST_START_TEST):
1434 * check/gst/gstbin.c: (GST_START_TEST):
1435 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1436 * check/states/sinks.c: (GST_START_TEST):
1437 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1439 Check fixes, use API as stated in design docs, remove hacks.
1441 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1442 (gst_base_sink_change_state):
1443 Catch stopping our task while we're shutting down.
1445 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1446 (gst_bin_remove_func), (gst_bin_get_state_func),
1447 (gst_bin_recalc_state), (gst_bin_change_state_func),
1450 * gst/gstelement.c: (gst_element_init),
1451 (gst_element_get_state_func), (gst_element_abort_state),
1452 (gst_element_commit_state), (gst_element_lost_state),
1453 (gst_element_set_state), (gst_element_change_state),
1454 (gst_element_change_state_func):
1456 New state change algorithm (see #318116)
1458 * gst/gstpipeline.c: (gst_pipeline_class_init),
1459 (gst_pipeline_init), (gst_pipeline_set_property),
1460 (gst_pipeline_get_property), (do_pipeline_seek),
1461 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1462 * gst/gstpipeline.h:
1463 Remove crude state change hacks.
1468 * tools/gst-launch.c: (main):
1469 Fixes for state change. Needs some more work to fully use the
1472 2005-10-10 Andy Wingo <wingo@pobox.com>
1474 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1476 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1477 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1480 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1482 * gst/gstiterator.c: (gst_iterator_new):
1483 Fix my previous commit: GTypes passed to gst_iterator_new()
1484 can be fundamental types.
1486 2005-10-10 Wim Taymans <wim@fluendo.com>
1488 * gst/gstelement.c: (gst_element_iterate_pad_list),
1489 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1490 (gst_element_iterate_sink_pads):
1491 Use src/sink pads lists for the respective iterators instead
1494 2005-10-10 Andy Wingo <wingo@pobox.com>
1496 Merged in popt removal + GOption addition patch from Ronald, bug
1499 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1500 GstElement macros around, remove popt-related symbols, add goption
1503 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1505 * docs/gst/Makefile.am:
1506 * docs/libs/Makefile.am: No POPT_CFLAGS.
1508 * examples/manual/Makefile.am:
1509 * docs/manual/basics-init.xml: Doc updates with an example.
1511 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1512 (gst_init), (parse_one_option), (parse_goption_arg):
1513 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1514 bit of hand merging and debugging to get the GOption stuff working
1517 * tests/Makefile.am:
1518 * tools/Makefile.am:
1519 * tools/gst-inspect.c: (main):
1520 * tools/gst-launch.c: (main):
1521 * tools/gst-run.c: (main):
1522 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1524 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1526 * gst/gstiterator.c: (gst_iterator_new):
1527 Add assertions to make sure passed GType is likely to really
1528 be a GType (as the compiler won't catch it if the size and
1529 GType arguments get mixed up, see #318447).
1531 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1533 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1535 * gst/gstbin.c: (gst_bin_iterate_sorted):
1536 Pass GType and size arguments to gst_iterator_new() in the right
1537 order (maybe we should make _new() take the GType as first argument
1538 just like _new_list()?) (#318447).
1541 2005-10-10 Wim Taymans <wim@fluendo.com>
1543 * gst/gstelement.c: (gst_element_finalize):
1544 And free the GStaticRecMutex too
1546 2005-10-10 Andy Wingo <wingo@pobox.com>
1548 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1549 Allocate and free the mutex properly.
1551 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1553 (GstElement): The state_lock is now recursive. Rebuild your
1554 plugins, suckers. Old macros adapted.
1556 * docs/gst/gstreamer-sections.txt: Doc updates.
1559 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1560 (g_static_rec_cond_wait): Ported from state changes patch, while
1561 we wait on bug #317802 to be solved in a well-distributed GLib.
1563 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1564 gst_element_change_state, variable name changes.
1565 (gst_element_change_state): Split out of gst_element_set_state in
1566 preparation for the state change merge. Doesn't pay attention to
1567 the 'transition' argument.
1568 (gst_element_set_state): Updates, hopefully purely cosmetic.
1569 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1571 (gst_element_get_state_func): Renamed from get_state, cosmetic
1574 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1576 * gst/elements/gstelements.c:
1577 * win32/GStreamer.vcproj:
1579 * win32/dirent.c: (_tseekdir):
1580 * win32/gst-inspect.vcproj:
1581 * win32/gst-launch.vcproj:
1582 * win32/gstconfig.h:
1583 * win32/gstelements.vcproj:
1584 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1585 * win32/gstreamer.def:
1587 updates for the win32 build (patch from Sebastien Moutte)
1589 2005-10-10 Andy Wingo <wingo@pobox.com>
1591 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1592 gst_bin_get_state, cleaned up (but no logic changes).
1593 (bin_element_is_sink): Comment updates.
1594 (sink_iterator_filter): Remove needless cast.
1595 (gst_bin_iterate_sinks): Doc update.
1596 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1597 cleaned up (but no logic changes).
1599 * check/states/sinks.c (test_src_sink): Cleanups from the state
1601 (test_livesrc_sink): Sync on the state.
1603 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1604 the state change patch.
1606 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1609 * check/gst/gstbin.c: Merge in some style fixes and additional
1610 checks from Wim's state change patch.
1612 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1614 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1615 (gst_type_find_helper):
1616 Check whether we have the requested data already in our list of
1617 cached buffers before pulling a new buffer; also make the buffer
1618 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1620 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1625 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1626 don't use long long, it's not portable. Replacing with
1627 gint64 seems to work; let's hope no skeletons fall out of the closet.
1629 2005-10-10 Andy Wingo <wingo@pobox.com>
1631 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1633 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1635 * docs/gst/gstreamer-sections.txt:
1640 * gst/gstmessage.c: (gst_message_parse_state_changed):
1643 more docs, fix compilation
1645 2005-10-09 Philippe Khalaf <burger@speedy.org>
1647 Fixed a few forgotten variables on previous commit
1649 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1651 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1652 Fix evil typefind crasher: getrange() might return a short
1653 buffer at the end of a file, but gst_type_find_peek() must
1654 either return the full data as requested or NULL, but
1655 never a short buffer.
1657 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1659 * gst/gstmessage.c: (gst_message_new_state_changed),
1660 (gst_message_parse_state_changed):
1662 don't use "new", it's a C++ keyword
1664 2005-10-08 Wim Taymans <wim@fluendo.com>
1666 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1667 * gst/gstelement.c: (gst_element_post_message):
1668 * gst/gstpipeline.c: (gst_pipeline_change_state):
1669 Small docs and debug updates.
1671 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1673 * docs/gst/gstreamer-sections.txt:
1674 * gst/gstelementfactory.c:
1679 2005-10-08 Wim Taymans <wim@fluendo.com>
1681 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1682 (gst_bin_dispose), (bin_bus_handler):
1683 Fix typos, add comments.
1684 Clear EOS list when going to PAUSED from any direction and do it
1685 in a threadsafe way.
1686 Get base time in a threadsafe way too.
1687 Fix confusing debug in the change_state function.
1688 Various other small cleanups.
1690 * gst/gstelement.c: (gst_element_post_message):
1691 Fix very verbose bus posting code.
1693 * gst/gstpipeline.c: (gst_pipeline_class_init),
1694 (gst_pipeline_set_property), (gst_pipeline_get_property),
1695 (gst_pipeline_change_state):
1696 Small ARG_ -> PROP_ cleanup
1698 2005-10-08 Wim Taymans <wim@fluendo.com>
1700 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1701 Do a less CPU demanding EOS check because we can.
1703 2005-10-08 Wim Taymans <wim@fluendo.com>
1705 * libs/gst/dataprotocol/dataprotocol.c:
1706 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1707 (gst_dp_packet_from_event):
1708 * libs/gst/dataprotocol/dataprotocol.h:
1709 * libs/gst/dataprotocol/dp-private.h:
1710 It's about time we bump the version number.
1711 Since event types don't fit in the guint8 anymore describing
1712 the payload type, make payload type 16 bits wide.
1714 2005-10-08 Wim Taymans <wim@fluendo.com>
1716 * docs/design/part-TODO.txt:
1717 * docs/design/part-clocks.txt:
1718 * docs/design/part-events.txt:
1719 * docs/design/part-gstbin.txt:
1720 * docs/design/part-gstelement.txt:
1721 * docs/design/part-gstpipeline.txt:
1722 * docs/design/part-live-source.txt:
1723 * docs/design/part-messages.txt:
1724 * docs/design/part-overview.txt:
1725 * docs/design/part-states.txt:
1728 2005-10-08 Wim Taymans <wim@fluendo.com>
1732 Fix event quark registration.
1733 Add some space between events so we can insert them in the
1736 2005-10-08 Wim Taymans <wim@fluendo.com>
1738 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1739 (gst_base_sink_handle_buffer):
1746 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1747 (gst_queue_set_property), (gst_queue_get_property):
1749 Remove old unused properties.
1751 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1752 * docs/gst/gstreamer-sections.txt:
1755 * gst/gstminiobject.c:
1756 * gst/gstminiobject.h:
1760 lots of new docs and doc fixes
1762 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1764 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1766 * gst/gstregistry.c: (gst_registry_lookup_locked),
1767 (gst_registry_scan_path_level):
1768 * gst/gstregistryxml.c: (load_plugin):
1769 Only ever load one plugin for a given plugin basename.
1770 This ensures correct overriding of GST_PLUGIN_PATH over
1771 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1772 system installed plugins.
1774 2005-10-08 Wim Taymans <wim@fluendo.com>
1776 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1777 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1778 Prepare for doing QOS.
1780 2005-10-08 Wim Taymans <wim@fluendo.com>
1782 * check/gst/gstbin.c: (GST_START_TEST):
1783 * check/pipelines/cleanup.c: (GST_START_TEST):
1784 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1785 Allow new clock message too.
1787 2005-10-08 Wim Taymans <wim@fluendo.com>
1789 * gst/gstmessage.c: (gst_message_new_error),
1790 (gst_message_new_warning), (gst_message_new_tag),
1791 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1792 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1793 (gst_message_new_segment_start), (gst_message_new_segment_done),
1794 (gst_message_parse_state_changed),
1795 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1796 (gst_message_parse_new_clock):
1798 Also carry the clock in question.
1800 2005-10-08 Wim Taymans <wim@fluendo.com>
1802 * gst/gstmessage.c: (gst_message_new_custom),
1803 (gst_message_new_eos), (gst_message_new_error),
1804 (gst_message_new_warning), (gst_message_new_tag),
1805 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1806 (gst_message_new_new_clock), (gst_message_new_segment_start),
1807 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1808 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1811 Added clock related messages.
1813 * gst/gstpipeline.c: (gst_pipeline_change_state):
1814 Post message when the clock changed.
1816 * tools/gst-launch.c: (event_loop):
1819 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
1821 * tools/gst-inspect.c: (print_element_properties_info):
1822 Can't pass NULL strings to g_print() on windows.
1824 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1827 * docs/gst/Makefile.am:
1828 * docs/gst/gstreamer-docs.sgml:
1829 * docs/gst/running.xml:
1830 * docs/version.entities.in:
1831 add a chapter on running GStreamer.
1832 document GST_DEBUG and GST_PLUGIN* env vars
1834 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1839 remove PLUGINS_BUILDDIR stuff
1840 * gst/gst.c: (init_post):
1841 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
1843 remove, it was condescending and not needed
1845 2005-10-08 Wim Taymans <wim@fluendo.com>
1847 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1848 (gst_base_sink_handle_object), (gst_base_sink_event),
1849 (gst_base_sink_wait), (gst_base_sink_handle_event),
1850 (gst_base_sink_change_state):
1851 * gst/base/gstbasesink.h:
1852 Repost EOS message while going to PLAYING if still EOS.
1853 Make sure that when receiving a FLUSH_START we don't attempt
1854 to sync on the clock anymore.
1856 2005-10-08 Wim Taymans <wim@fluendo.com>
1858 * tools/gst-launch.c: (event_loop):
1859 Better message printout.
1861 2005-10-08 Wim Taymans <wim@fluendo.com>
1863 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
1864 (gst_bin_child_proxy_get_children_count):
1865 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1866 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
1867 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
1868 (gst_child_proxy_set_valist):
1869 * gst/parse/grammar.y:
1870 Make ChildProxy threadsafe and fix mem leaks.
1872 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1874 * gst/gst.c: (init_post):
1875 debug the GST_PLUGIN_ env vars
1877 2005-10-08 Wim Taymans <wim@fluendo.com>
1879 * check/gst/gstbin.c: (GST_START_TEST):
1880 * check/gst/gstmessage.c: (GST_START_TEST):
1881 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1882 * gst/gstelement.c: (gst_element_commit_state),
1883 (gst_element_lost_state):
1884 * gst/gstmessage.c: (gst_message_new_state_changed),
1885 (gst_message_parse_state_changed):
1887 * tools/gst-launch.c: (event_loop):
1888 Added extra field to STATE_CHANGE message with the pending
1889 state, which will be different from the new state soon.
1891 2005-10-08 Wim Taymans <wim@fluendo.com>
1893 * gst/gstbus.c: (gst_bus_pop):
1895 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1896 Small cleanups and doc updates.
1898 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1900 * gst/gst.c: (init_pre):
1901 * gst/gstbin.c: (gst_bin_add_func):
1902 log distributing clocks and base time
1903 * gst/gstregistry.c: (gst_registry_add_plugin),
1904 (gst_registry_scan_path_level), (gst_registry_scan_path):
1905 clean up the debugging output a little
1906 * gst/gstutils.c: (gst_element_state_get_name):
1907 warn about a memleak (I've actually seen this be used, though
1908 it was probably a bug)
1910 2005-10-07 Wim Taymans <wim@fluendo.com>
1912 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1913 (gst_base_src_init), (gst_base_src_default_newsegment),
1914 (gst_base_src_newsegment), (gst_base_src_do_seek),
1915 (gst_base_src_loop), (gst_base_src_start):
1916 * gst/base/gstbasesrc.h:
1917 Make the newsegment event customizable by subclasses.
1919 2005-10-07 Wim Taymans <wim@fluendo.com>
1921 * gst/gstevent.c: (gst_event_new_buffersize),
1922 (gst_event_parse_buffersize):
1924 New event for future idea.
1926 2005-10-07 Andy Wingo <wingo@pobox.com>
1928 * gst/gstelement.c (gst_element_post_message): Doc update.
1930 * docs/gst/gstreamer-sections.txt: Update.
1932 * gst/gstmessage.c (gst_message_new_application): Made into a
1933 function like honest API calls.
1934 (gst_message_new_element): New message type.
1936 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
1938 * check/elements/fakesrc.c (test_no_preroll): New check, checks
1939 that setting a live fakesrc to PAUSED returns NO_PREROLL both
1942 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
1943 NO_PREROLL from gst_element_change_state to fall through.
1945 2005-10-07 Wim Taymans <wim@fluendo.com>
1947 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
1948 (gst_ghost_pad_do_activate_push):
1949 Activating a ghostpad with no internal pad in push mode
1952 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
1955 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
1956 Fixes compilation on Windows.
1958 2005-10-07 Michael Smith <msmith@fluendo.com>
1960 * tools/gst-inspect.c:
1961 Print out feature and plugin count at the end when printing out
1964 2005-10-04 Michael Smith <msmith@fluendo.com>
1966 * gst/gsterror.c: (_gst_stream_errors_init):
1967 Add another error string used in a few existing plugins.
1970 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1971 * tools/gst-inspect.c: (print_element_info):
1972 When a feature disappears from a plugin (and the feature exists in
1973 the cached registry file), things went horribly wrong. This isn't a
1974 complete fix, we should actually be removing the 'missing' features
1975 from the features list when we load the actual plugin. That's not
1978 2005-10-04 Johan Dahlin <johan@gnome.org>
1980 * check/gst/gstiterator.c: (GST_START_TEST):
1981 * gst/gstbin.c: (gst_bin_iterate_elements),
1982 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
1983 * gst/gstelement.c: (gst_element_iterate_pads):
1984 * gst/gstformat.c: (gst_format_iterate_definitions):
1985 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
1986 (gst_iterator_new_list), (gst_iterator_filter):
1987 * gst/gstiterator.h:
1988 * gst/gstquery.c: (gst_query_type_iterate_definitions):
1989 Add a GType to GstIterator, update callsites and tests.
1991 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1993 * gst/gstpad.c: (gst_pad_event_default_dispatch):
1994 give events a chance to be handled by event probes when the pad
1997 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1999 * gst/gstevent.c: (gst_event_type_get_name),
2000 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2002 add string representations for event types
2004 2005-10-06 Wim Taymans <wim@fluendo.com>
2006 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2007 Don't use NULL pointers.
2009 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2011 * gst/gst_private.h:
2015 * gst/gstpluginfeature.c:
2016 widen the debug category in output to fit the biggest one we have
2017 add a bus category and use it
2018 play with the colors
2019 fix up some categories
2021 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2023 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2024 add push activation of sink ghost pads.
2025 Andye, please verify
2027 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2029 * gst/gstutils.c: (gst_element_link_pads):
2030 fix a bug in the case where neither element has a pad
2031 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2032 add a test for that case
2034 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2036 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2037 emit have-data before checking for peers. This allows
2038 for probe handlers to connect elements. This helps autopluggers.
2039 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2041 add six checks, linked/unlinked with no/true/false probe
2043 2005-10-04 Wim Taymans <wim@fluendo.com>
2045 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2046 (gst_fake_sink_event), (gst_fake_sink_preroll),
2047 (gst_fake_sink_render), (gst_fake_sink_change_state):
2048 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2049 (gst_fake_src_get_property), (gst_fake_src_create),
2050 (gst_fake_src_stop):
2051 * gst/elements/gstidentity.c: (gst_identity_stop):
2052 Protect last_message with lock.
2054 2005-10-04 Edward Hervey <edward@fluendo.com>
2057 Added precision in the comments for GST_FORMAT_DEFAULT
2059 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2061 * tools/gst-launch.c: (main):
2062 Don't try to run erroneous pipelines.
2064 2005-10-04 Julien MOUTTE <julien@moutte.net>
2066 * gst/gstbus.c: We don't need this header.
2068 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2073 === release 0.9.3 ===
2075 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2079 Releasing 0.9.3, "Unregistered"
2081 2005-10-03 Andy Wingo <wingo@pobox.com>
2083 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2084 whereby calling a pad's activatepush() function can start a thread
2085 that starts to push or pull before the pad gets the FLUSHING flag
2086 unset. Hack around it by holding the stream lock until the flag is
2087 set. Need to replace this with a proper solution. Together with
2088 the ghost pad fixes, this fixes mp3 playing/tagreading.
2090 * docs/design/part-gstghostpad.txt: Add a note about activation of
2091 proxy pads outside of ghost pads.
2093 * gst/gstghostpad.c: Implement the ghost pad activation design.
2095 2005-10-02 Andy Wingo <wingo@pobox.com>
2097 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2098 It is volatile, after all.
2100 * docs/design/part-gstghostpad.txt: Flesh out activation with
2103 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2106 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2109 Fix (unused) AM_CONDITIONAL tests.
2111 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2113 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2115 * gst/gstutils.c: (gst_pad_query_convert):
2116 Add assertion that makes sure src_val is >=0, just like
2117 gst_query_new_convert() has. (#315895)
2119 2005-09-30 Edward Hervey <edward@fluendo.com>
2121 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2122 Let's not iterate pads we're not interested in, it avoids getting
2123 sky-high refcounts on sinkpad.
2125 2005-09-30 Wim Taymans <wim@fluendo.com>
2127 * gst/gstelement.c: (gst_element_set_state),
2128 (gst_element_change_state):
2129 Small tweak, element in ASYNC remains ASYNC.
2131 2005-09-30 Wim Taymans <wim@fluendo.com>
2133 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2134 Only error is an error.
2136 * gst/gstbin.c: (gst_bin_change_state):
2139 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2140 Also call pad_block in pad alloc.
2142 * gst/gstutils.c: (gst_flow_get_name):
2145 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2147 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2148 (gst_base_src_get_range):
2149 Fix documentation typos. Add some more debug info.
2151 2005-09-29 David Schleef <ds@schleef.org>
2153 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2154 more end-user friendly.
2155 * tools/gst-inspect.c: (main): Check if command-line argument is
2156 a file and attempt to load that file as a plugin.
2158 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2160 * check/gst/gstbin.c:
2161 * check/states/sinks.c:
2162 fix tests for the new warning
2163 * check/gst/gstpipeline.c:
2164 add a test for pipeline and bus interaction
2166 elements should be NULL if they get disposed; add a warning if not
2168 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2171 for 2.6 refcounting, make debug log more correct by printing
2172 the actual refcounts at the time of swap (Wim)
2174 2005-09-29 Andy Wingo <wingo@pobox.com>
2176 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2177 removes signal watches previously added via
2178 gst_bus_add_signal_watch.
2179 (gst_bus_add_signal_watch): Don't return the source id, just store
2180 it on the bus if there wasn't an id already.
2182 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2183 add_signal_watch and remove_signal_watch.
2185 2005-09-29 Edward Hervey <edward@fluendo.com>
2187 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2188 Better if we actually iterate the list :)
2190 2005-09-29 Wim Taymans <wim@fluendo.com>
2192 * check/gst/gstbin.c: (GST_START_TEST):
2193 Change for new bus API.
2195 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2196 (send_messages), (GST_START_TEST), (gstbus_suite):
2197 Change for new bus signal API.
2199 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2200 (gst_bus_source_prepare), (gst_bus_source_check),
2201 (gst_bus_create_watch), (gst_bus_add_watch_full),
2202 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2203 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2205 Remove support for multiple GSources operating on different
2206 message types as it is too complex and unneeded when using
2208 Added support for receiving signals from the bus.
2210 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2212 * docs/libs/tmpl/gstdataprotocol.sgml:
2213 * docs/manual/advanced-dataaccess.xml:
2214 * gst/elements/gstcapsfilter.c:
2216 rename filter-caps to caps property
2218 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2220 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2221 More robust fraction string parsing.
2223 * docs/pwg/appendix-porting.xml:
2224 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2226 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2228 * gst/gstcaps.c: (gst_caps_do_simplify):
2229 Thou shalt not free a structure and then continue using it
2230 in the next loop iteration.
2232 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2234 Add test case for caps simplification.
2236 2005-09-29 Wim Taymans <wim@fluendo.com>
2238 * check/gst/gstbin.c: (GST_START_TEST):
2241 2005-09-29 Wim Taymans <wim@fluendo.com>
2243 * check/gst/gstbin.c: (GST_START_TEST):
2246 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2247 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2248 (find_element), (gst_bin_sort_iterator_next),
2249 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2250 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2251 (gst_bin_change_state), (gst_bin_dispose):
2252 A bin does not have a bus, it gets the bus from the parent.
2254 * gst/gstelement.c: (gst_element_requires_clock),
2255 (gst_element_provides_clock), (gst_element_is_indexable),
2256 (gst_element_is_locked_state), (gst_element_change_state),
2257 (gst_element_set_bus_func):
2260 * gst/gstpipeline.c: (gst_pipeline_class_init),
2261 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2262 The pipeline provides a bus.
2264 2005-09-28 Johan Dahlin <johan@gnome.org>
2266 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2267 gst_structure_get_enum instead of gst_structure_get_int
2269 * gst/gststructure.c (gst_structure_get_enum): Impl.
2271 * gst/gststructure.h (gst_structure_get_enum): Add
2273 * docs/gst/gstreamer-sections.txt: Ditto
2275 * gst/gstmessage.c (gst_message_new_state_changed): Use
2276 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2277 which does introspection.
2278 Reviewed by Christian Schaller
2280 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2282 * gst/gstinfo.c: (gst_debug_log_default):
2283 don't do dummy g_strdup()s
2284 * libs/gst/controller/gstcontroller.c:
2285 (on_object_controlled_property_changed),
2286 (gst_controlled_property_new), (gst_controller_new_valist),
2287 (gst_controller_new_list),
2288 (gst_controller_remove_properties_valist), (gst_controller_set),
2289 (gst_controller_get), (gst_controller_sync_values),
2290 (gst_controller_get_value_array), (_gst_controller_class_init),
2291 (gst_controller_get_type):
2292 * libs/gst/controller/gstcontroller.h:
2293 * libs/gst/controller/gstinterpolation.c:
2294 (gst_controlled_property_find_timed_value_node):
2295 convert // to /**/ comments
2297 2005-09-28 Wim Taymans <wim@fluendo.com>
2299 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2300 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2301 (gst_bus_sync_signal_handler):
2303 Added async-message and sync-message signals to the bus.
2304 Added helper BusFunc to emit signals for all posted messages.
2306 * gst/gstmessage.c: (gst_message_type_get_name),
2307 (gst_message_type_to_quark), (gst_message_get_type):
2309 Register quarks for message names.
2311 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2313 * docs/libs/gstreamer-libs-sections.txt:
2314 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2315 (gst_controller_new_list):
2316 * libs/gst/controller/gstcontroller.h:
2317 added another constructor for language bindings
2319 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2321 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2325 * gst/gstinfo.c: (_gst_debug_init):
2326 slightly more readable color for refcount debugging
2328 2005-09-28 Wim Taymans <wim@fluendo.com>
2330 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2331 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2332 (find_element), (gst_bin_sort_iterator_next),
2333 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2334 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2335 (gst_bin_change_state), (gst_bin_dispose):
2336 Small doc fixes. get_clock -> provide_clock.
2338 * gst/gstelement.c: (gst_element_class_init),
2339 (gst_element_provides_clock), (gst_element_provide_clock),
2340 (gst_element_get_clock), (gst_element_commit_state),
2341 (gst_element_lost_state):
2343 Make get/set_clock() symetric. Add provide_clock vmethod since
2344 that is actually what this function does.
2346 * gst/gstpipeline.c: (gst_pipeline_class_init),
2347 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2348 (gst_pipeline_get_clock):
2349 get_clock -> provide_clock.
2351 2005-09-28 Andy Wingo <wingo@pobox.com>
2353 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2354 lieu of real docs...
2356 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2358 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2360 * gst/elements/gstcapsfilter.c:
2361 * gst/elements/gstfakesink.c:
2362 * gst/elements/gstfakesrc.c:
2363 * gst/elements/gstfdsink.c:
2364 * gst/elements/gstfdsrc.c:
2365 * gst/elements/gstfilesink.c:
2366 * gst/elements/gstfilesrc.c:
2367 * gst/elements/gstidentity.c:
2368 * gst/elements/gsttee.c:
2369 * gst/elements/gsttypefindelement.c:
2370 Make element details static.
2372 2005-09-28 Wim Taymans <wim@fluendo.com>
2374 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2375 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2376 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2377 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2378 (gst_bin_change_state), (gst_bin_dispose):
2379 Some documentation updates.
2380 Clean up dispose handlers.
2382 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2383 * gst/gstpad.c: (gst_pad_dispose):
2384 Clean up dispose handler.
2386 * gst/gstpipeline.c: (gst_pipeline_change_state):
2387 Removed spurious UNLOCK.
2389 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2391 * docs/gst/gstreamer-sections.txt:
2392 * gst/base/gstbasesrc.h:
2397 * gst/gstpipeline.c:
2398 * gst/gstpipeline.h:
2401 added two new functions to the docs
2402 documents all undocumented GstXXXFlags
2403 completed some incomplete docs
2405 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2407 * gst/gstbin.c: (gst_bin_dispose):
2408 * gst/gstelement.c: (gst_element_dispose):
2409 remove now useless and leaky resurrection code in dispose
2410 * gst/base/gstbasesrc.c: (gst_base_src_init):
2411 * gst/gstelementfactory.c: (gst_element_factory_create):
2412 * gst/gstobject.c: (gst_object_set_parent):
2415 2005-09-27 Wim Taymans <wim@fluendo.com>
2417 * docs/design/part-TODO.txt:
2420 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2421 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2422 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2423 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2424 (gst_bin_change_state):
2426 Remove element variable, we keep element info in the iterator now.
2428 2005-09-27 Andy Wingo <wingo@pobox.com>
2430 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2433 2005-09-27 Wim Taymans <wim@fluendo.com>
2435 * check/gst/gstbin.c: (GST_START_TEST):
2436 Enable check that works now.
2438 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2439 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2440 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2441 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2442 (gst_bin_change_state):
2444 Redid the state change algorithm using a topological sort algo.
2445 Handles all cases correctly.
2446 Exposed iterator for state change order.
2449 Temp storage for state changes. Need to get rid of this soon.
2451 2005-09-27 Wim Taymans <wim@fluendo.com>
2453 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2454 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2455 (link_fold_func), (gst_pad_proxy_setcaps):
2456 Leak fixes, the fold functions need to unref the passed object and
2457 _get_parent_*() returns ref to parent.
2459 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2461 * check/gst/gstbuffer.c: (test_make_writable):
2462 Plug leak in test case and fix 'make check-valgrind'
2464 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2466 * gst/gstbuffer.c: (gst_subbuffer_init):
2467 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2468 works correctly in all circumstances (we could have just copied
2469 the parent buffer's readonly flag, but conceptually it seems
2470 cleaner to mark all subbuffers as read-only). (based on patch
2471 by Alessandro Decina, #314710).
2473 * check/gst/gstbuffer.c: (create_read_only_buffer),
2474 (test_make_writable), (test_subbuffer_make_writable),
2476 Add some tests for gst_buffer_make_writable().
2478 2005-09-27 Wim Taymans <wim@fluendo.com>
2480 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2481 use gst_object_has_ancestor().
2483 * gst/gstobject.c: (gst_object_has_ancestor):
2485 gst_object_has_ancestor() copied from gstbin.c as it is a
2488 * tests/instantiate/create.c: (create_all_elements):
2489 * tests/lat.c: (handoff_src), (handoff_sink):
2490 * tests/sched/runxml.c: (main):
2491 * tests/seeking/seeking1.c: (main):
2492 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2494 Fix compilation of some tests.
2496 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2499 Remove comment. GST_TYPE_G_ERROR is here to stay,
2500 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2503 2005-09-26 Wim Taymans <wim@fluendo.com>
2505 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2506 Added check that shows error in state change order.
2508 2005-09-26 Wim Taymans <wim@fluendo.com>
2510 * gst/gstbin.c: (gst_bin_change_state):
2511 Make state change function use 3 queues again, we were
2512 adding elements in the wrong order.
2514 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2517 * gst/gstpad.c: (gst_pad_dispose):
2518 Added some debug info first.
2520 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2522 * docs/design/draft-push-pull.txt:
2523 * docs/design/part-events.txt:
2524 * docs/design/part-overview.txt:
2525 * docs/design/part-scheduling.txt:
2526 Replace all _pull_region() with _pull_range()
2528 2005-09-26 Andy Wingo <wingo@pobox.com>
2530 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2532 * check/gst-libs/controller.c: Update for controller api change.
2535 * tests/Makefile.am:
2536 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2537 over by GLib bug 118439.
2539 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2540 routines to a function.
2542 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2544 * libs/gst/controller/gsthelper.c:
2545 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2546 (gst_object_sync_values): Renamed from sink_values. Ugh.
2548 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2550 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2551 Renamed from controller_key, as it is exported.
2553 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2555 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2560 * gst/gstpadtemplate.h:
2563 * gst/gstqueryutils.c:
2564 * gst/gstqueryutils.h:
2565 remove queryutils headers after moving the two used functions
2566 to gstquery. also fixes build problem for gstsiddec
2568 2005-09-26 Michael Smith <msmith@fluendo.com>
2570 * tools/gst-launch.1.in:
2571 Correct documentation in manpage of debug syntax
2573 2005-09-26 Wim Taymans <wim@fluendo.com>
2575 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2576 (gst_base_src_is_seekable), (gst_base_src_change_state):
2577 Some more debugging info.
2579 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2581 * docs/gst/gstreamer-sections.txt:
2582 * gst/base/gstbasetransform.h:
2586 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2588 * docs/gst/.cvsignore:
2589 * docs/gst/tmpl/.cvsignore:
2590 * docs/gst/tmpl/gstpipeline.sgml:
2591 * docs/gst/tmpl/gstplugin.sgml:
2592 * gst/gstpipeline.c:
2595 inlined the last two docs files
2596 removed the tmpl directory from cvs (no more conflicts here!)
2598 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2600 * docs/gst/gstreamer-sections.txt:
2601 * docs/gst/tmpl/.cvsignore:
2602 * docs/gst/tmpl/gstpad.sgml:
2603 * docs/gst/tmpl/gstpadtemplate.sgml:
2605 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2606 (gst_pad_finalize), (gst_pad_set_pad_template):
2608 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2609 (gst_pad_template_class_init), (gst_pad_template_init),
2610 (gst_pad_template_dispose), (name_is_valid),
2611 (gst_static_pad_template_get), (gst_pad_template_new),
2612 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2613 (gst_pad_template_pad_created):
2614 * gst/gstpadtemplate.h:
2615 inlined two more docs
2616 factored gstpadtemplate out of gstpad
2618 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2620 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2621 (test_children_state_change_order_semi_sink):
2622 Fix test case: we can't rely on a fixed state change order when
2623 going from READY => PAUSED because the sink might commit its
2624 new state first when the first buffer created by the source
2625 reaches the sink before the source has finished its change state.
2626 (Test case still fails at times, see #316856, comment 5 onwards)
2628 2005-09-24 Wim Taymans <wim@fluendo.com>
2630 * docs/design/part-events.txt:
2631 * docs/design/part-gstbus.txt:
2632 * docs/design/part-gstpipeline.txt:
2633 * docs/design/part-messages.txt:
2634 * docs/design/part-overview.txt:
2635 * docs/design/part-segments.txt:
2642 * gst/gstiterator.c:
2643 Various documentation updates.
2645 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2648 Well, that's embarassing. Luckily we weren't using
2649 GST_CLOCK_DIFF anywhere.
2651 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2653 * common/gtk-doc.mak:
2654 don't fail on building XML, FC4 slave shows a bunch of doc
2655 missing bits that I don't get
2657 * gst/gstpipeline.c:
2658 * gst/gststructure.c:
2661 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2663 * docs/design/part-gstbin.txt:
2664 * docs/design/part-gstbus.txt:
2666 Add blurb about how the bus goes into flushing mode and
2667 drops all messages when its bin goes from READY into NULL
2670 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2672 * docs/gst/gstreamer-sections.txt:
2673 * gst/gststructure.c: (gst_structure_get_clock_time):
2674 * gst/gststructure.h:
2675 add a method to get a GstClockTime out of a structure
2677 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2679 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2680 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2681 Added test to check state change order in bins (can still be made
2682 to fail here under heavy disk load; bails out with 'Push on pad
2683 fakesink:sink0, but it was not activated in push mode').
2685 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2686 Fix state change order when there is only a semi sink (#316856)
2688 * gst/gstbus.c: (gst_bus_class_init):
2689 Use _class_peek_parent(), not _class_ref(); fix docs to say
2690 'default main context' instead of 'mainloop' where that is
2693 * gst/gstelement.c: (gst_element_commit_state),
2694 (gst_element_set_state):
2695 Fix typos in debug messages
2697 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2700 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2701 * gst/gstpluginfeature.c:
2704 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2705 change an assert into an error until it gets fixed properly
2707 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2709 * docs/gst/gstreamer-sections.txt:
2710 * docs/gst/tmpl/.cvsignore:
2711 * docs/gst/tmpl/gstelement.sgml:
2712 * docs/gst/tmpl/gstinfo.sgml:
2713 * docs/gst/tmpl/gstobject.sgml:
2718 * gst/gstobject.c: (gst_object_class_init):
2720 inlined 3 more biiiig doc files and added some missing docs on the fly
2722 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2724 * check/gst/.cvsignore:
2725 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2726 * gst/gstregistryxml.c: (load_plugin),
2727 (gst_registry_xml_save_plugin):
2728 put back source in registry. add checks for find_plugin.
2729 * testsuite/states/bin.c: (assert_state), (empty_bin),
2730 (test_adding_one_element), (main):
2731 * testsuite/states/locked.c: (main):
2732 some compile/run fixes
2734 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2736 * check/gst/gstvalue.c: (GST_START_TEST):
2737 fix leaks in the test itself
2739 2005-09-22 Wim Taymans <wim@fluendo.com>
2741 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2742 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2743 (gst_base_sink_query):
2744 Prepare for more accurate position reporting and query
2747 * gst/gstelement.c: (gst_element_send_event),
2748 (gst_element_set_state):
2751 2005-09-22 Wim Taymans <wim@fluendo.com>
2753 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2754 (gst_query_parse_segment):
2757 Add segment query for future use.
2759 2005-09-22 Wim Taymans <wim@fluendo.com>
2761 * gst/gstbin.c: (gst_bin_add_func):
2762 Some more debug info.
2764 * gst/gstelement.c: (gst_element_send_event):
2768 Don't know how flags got broken.
2773 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2775 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2776 Add simplistic test suite for GST_TYPE_DATE serialisation and
2779 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2781 * docs/gst/gstreamer-sections.txt:
2782 * gst/gststructure.c: (gst_structure_set_valist),
2783 (gst_structure_get_date):
2784 * gst/gststructure.h:
2785 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2786 (gst_date_copy), (gst_value_compare_date),
2787 (gst_value_serialize_date), (gst_value_deserialize_date),
2788 (gst_value_transform_date_string),
2789 (gst_value_transform_string_date), (_gst_value_initialize):
2791 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2792 bunch of utility functions along with a hack that checks that
2793 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2794 is required. Part of the grand scheme in #170777.
2796 2005-09-22 Andy Wingo <wingo@pobox.com>
2798 * gst/gstconfig.h.in: Psych out gtk-doc.
2800 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2802 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2804 * tools/gst-inspect.c (print_element_list): Plug some
2805 inconsequential leaks.
2807 * gst/gstregistry.c (gst_registry_get_default): Doc.
2809 * check/gst/gstplugin.c:
2810 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2811 * gst/gstelementfactory.c (gst_element_factory_create):
2812 * gst/gstindexfactory.c (gst_index_factory_create): Update for
2815 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
2816 (gst_plugin_feature_load): Doc, don't eat refs.
2818 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
2819 (gst_plugin_list_free): Doc.
2820 (gst_plugin_load_file): Doc updates.
2822 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
2823 accessors returning refcounted objects, return a ref.
2825 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
2826 accessor for caps. IDEMPOTENCE. Oh yes.
2828 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
2830 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2832 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2833 (_gst_debug_register_funcptr):
2834 Add mutex to serialise access to the hash table with
2835 the function pointer => function name string mapping;
2836 make that hash table static scope (#316809).
2838 * gst/registries/.cvsignore:
2839 Remove left-over file.
2841 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2843 * docs/pwg/appendix-porting.xml:
2844 And something about newsegment events and caps-on-buffers to
2845 the porting guide (feel free to improve).
2847 2005-09-21 Andy Wingo <wingo@pobox.com>
2849 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
2850 data and event probes on the same pad.
2851 (test_buffer_probe_once): Test that removing probes from within
2852 the probe functions works.
2854 2005-09-21 Andy Wingo <wingo@pobox.com>
2856 * check/gst/gstutils.c: New file.
2857 (test_buffer_probe_n_times): A simple buffer probe test. More to
2860 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
2861 have-data::buffer, not have-data.
2862 (gst_pad_add_event_probe): Likewise for have-data::event.
2863 (gst_pad_add_data_probe): More docs. The part about 'resolving the
2864 peer' isn't quite right yet though.
2865 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
2866 (gst_pad_remove_data_probe): Change to take the guint handler_id
2867 as their arg, not the function+data, which is more glib-like.
2869 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
2870 the signal emission to indicate if the data is a buffer or an
2872 (gst_pad_get_type): Initialize buffer and event quarks.
2873 (gst_pad_class_init): have-data is now a detailed signal, yes it
2876 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2878 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2879 * gst/gstutils.c: (gst_util_set_value_from_string),
2880 (gst_util_set_object_arg):
2881 Don't put functional code in g_return_if_fail() or
2882 g_return_val_if_fail() statements, otherwise things will
2883 break when G_DISABLE_CHECKS is defined during compilation.
2885 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2887 * docs/gst/tmpl/.cvsignore:
2888 * docs/gst/tmpl/gstvalue.sgml:
2891 inlied another one and added some obvious docs
2893 2005-09-21 Wim Taymans <wim@fluendo.com>
2895 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
2896 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
2897 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
2898 (gst_fdsrc_get_property), (gst_fdsrc_create):
2899 * gst/elements/gstfdsrc.h:
2900 Properly implement fdsrc. Removed signal and timeout,
2901 better implemented somewhere else.
2903 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2905 * docs/gst/tmpl/.cvsignore:
2906 * docs/gst/tmpl/gstimplementsinterface.sgml:
2907 * gst/gstinterface.c:
2910 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2912 * docs/gst/gstreamer-sections.txt:
2913 * docs/gst/tmpl/.cvsignore:
2914 * docs/gst/tmpl/gstenumtypes.sgml:
2915 remove obsolete doc file
2917 2005-09-21 David Schleef <ds@schleef.org>
2919 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
2920 little beer, fix a little leak.
2922 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2924 * docs/gst/gstreamer-docs.sgml:
2925 * docs/gst/gstreamer-sections.txt:
2926 * docs/gst/tmpl/.cvsignore:
2931 * gst/gstindex.c: (gst_index_class_init):
2933 * gst/gstindexfactory.c: (gst_index_factory_get_type),
2934 (gst_index_factory_class_init), (gst_index_factory_init),
2935 (gst_index_factory_finalize), (gst_index_factory_new),
2936 (gst_index_factory_destroy), (gst_index_factory_find),
2937 (gst_index_factory_create), (gst_index_factory_make):
2938 * gst/gstindexfactory.h:
2939 * gst/gstpluginfeature.c:
2940 * gst/gstpluginfeature.h:
2941 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2942 more docs inlined, splitted gstindex.{c,h}
2944 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2946 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2949 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2951 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2952 Set sync to FALSE by default.
2954 2005-09-20 Wim Taymans <wim@fluendo.com>
2956 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2957 (gst_base_sink_init):
2958 Make sync property settable from subclass.
2960 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2961 (gst_fake_sink_change_state):
2962 Set sync to FALSE by default.
2964 2005-09-20 Wim Taymans <wim@fluendo.com>
2966 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
2967 * tools/gst-launch.c: (main):
2968 The timeout handler should have lower priority than the source
2969 so we don't timeout before popping a message with 0 timeout.
2970 Dump error messages after failed state change.
2972 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2974 * tools/gst-inspect.c: (print_element_properties_info):
2977 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2979 * check/gst/gstevent.c:
2980 * gst/elements/gstfakesink.c:
2981 * gst/elements/gstfakesink.h:
2982 remove the sync property from fakesink.
2983 has the side effect of setting sync TRUE
2984 for fakesink, which is a change. Anyone who knows how
2985 to fix this nicely in a GObject-y way, feel free.
2987 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2989 * docs/gst/gstreamer-docs.sgml:
2990 remove probe refsection
2992 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2994 * check/Makefile.am:
2995 disable valgrinding the controller test again
2996 * docs/gst/gstreamer-sections.txt:
2997 update for api-changes
2999 2005-09-20 Wim Taymans <wim@fluendo.com>
3001 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3002 (gst_base_sink_set_property), (gst_base_sink_get_property),
3003 (gst_base_sink_do_sync):
3004 * gst/base/gstbasesink.h:
3005 Added sync property to basesink to disable clock sync.
3007 2005-09-20 Andy Wingo <wingo@pobox.com>
3009 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3010 eating the caller's refcount.
3012 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3013 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3016 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3017 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3018 of GLib 2.8 public, so we can know which refcount to check in
3021 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3022 (gst_object_init): Only set the gst refcount if we're going ahead
3023 with the refcount hack.
3025 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3027 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3028 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3029 more leaks plumbed, added more debug-logging
3033 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3036 remove include of gstmemchunk.h
3038 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3040 * gst/gstclock.c: (_gst_clock_id_free):
3041 Commit from the Political Party For More Atomic CVS Commits,
3042 so that people don't waste too much of their day fishing
3043 out obvious leaks out of massive commits.
3044 Oh, and fix a pretty damn obvious leak in the memchunk
3047 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3049 * check/Makefile.am:
3050 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3051 plug mem-leak, re-add to valgrindable tests
3053 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3056 unbreak the build for those who have chronic arthritis
3057 and typing "make check" is just too taxing on the hands
3059 2005-09-20 Andy Wingo <wingo@pobox.com>
3061 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3062 really want it out, you should fix plugins at the same time.
3064 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3067 * docs/gst/gstreamer-sections.txt:
3069 added missing symbols to api docs
3070 disable ref-count hack if we have glib >= 2.8
3072 2005-09-19 David Schleef <ds@schleef.org>
3074 * docs/gst/Makefile.am: Ignore a few more internal headers
3075 * docs/gst/gstreamer-docs.sgml: Remove old sections
3076 * docs/gst/gstreamer-sections.txt: Remove old sections
3077 * docs/gst/tmpl/gstobject.sgml: update
3078 * docs/gst/tmpl/gstplugin.sgml: update
3079 * docs/gst/tmpl/gstpluginfeature.sgml: update
3080 * docs/random/ds/0.9-suggested-changes: update.
3081 * gst/Makefile.am: remove memchunk and trashstack, since they're
3083 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3084 * gst/gst.h: don't include some headers
3085 * gst/gstchildproxy.c: add gstmarshal.h
3086 * gst/gstclock.c: Don't use memchunks
3087 * gst/gstminiobject.c: Add some docs
3088 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3089 * gst/gstobject.h: same
3090 * gst/gstplugin.c: include gstmacros.h
3091 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3092 * gst/gstquery.c: don't use memchunks
3093 * gst/gstregistry.c: rename gst_registry_deinit()
3094 * gst/gstregistry.h: same
3096 2005-09-19 David Schleef <ds@schleef.org>
3098 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3099 * docs/libs/gstreamer-libs-sections.txt:
3100 * docs/libs/tmpl/gstgetbits.sgml:
3101 * docs/libs/tmpl/gstputbits.sgml:
3103 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3105 * win32/gstenumtypes.c:
3106 * win32/gstenumtypes.h:
3109 2005-09-19 Wim Taymans <wim@fluendo.com>
3111 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3112 Automatically PAUSE and RESUME a pipeline when a flushing seek
3115 2005-09-19 Andy Wingo <wingo@pobox.com>
3117 * gst/gstregistry.h: Spacing fixen.
3119 2005-09-19 Wim Taymans <wim@fluendo.com>
3121 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3122 Handle state change failure more correctly.
3124 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3126 * check/Makefile.am:
3127 * check/pipelines/cleanup.c: (run_pipeline):
3128 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3130 enable cleanup again after fixing the leak
3132 some more info on docs
3134 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3136 * check/Makefile.am:
3137 re-enable tests now that leaks are plugged
3139 * check/gst/gstbin.c:
3140 * check/gst/gstpipeline.c:
3141 add some more tests while fixing leaks
3143 make sure binaries are uptodate when valgrinding/gdbing
3145 * gst/gstelementfactory.c:
3146 remove a ref too many, and add a FIXME for when we get
3147 round to disposing of classes
3149 fix the refcounting when loading a plugin from a file and
3150 the code pretends that the pointer is the same even though
3151 of course it can change
3152 * gst/gstpluginfeature.c:
3153 unref plugins marked cached (a bit confusing as a name)
3154 as the docs state should be done
3155 various doc additions to explain refcounting
3156 * gst/gstregistry.c:
3157 * gst/gstregistryxml.c:
3160 2005-09-19 Wim Taymans <wim@fluendo.com>
3162 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3163 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3164 (send_messages), (GST_START_TEST), (gstbus_suite):
3165 * check/gst/gstpipeline.c: (GST_START_TEST):
3166 * check/pipelines/cleanup.c: (run_pipeline):
3167 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3169 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3170 (gst_bus_source_check), (gst_bus_source_dispatch),
3171 (gst_bus_create_watch), (gst_bus_add_watch_full),
3172 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3174 * tools/gst-launch.c: (event_loop):
3175 * tools/gst-md5sum.c: (event_loop):
3176 GstBusHandler -> GstBusFunc, return value has the same meaning as
3177 any other GSource (FALSE == remove source).
3178 _add_watch() and _add_watch_full() now take a MessageType mask to
3179 only handle specific types of messages.
3180 _poll() returns the GstMessage instead of the message type to avoid
3182 _have_pending() takes a MessageType mask now too.
3183 Added testsuite for multiple bus watches.
3184 Fix testsuites and applications for new bus API.
3186 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3188 * check/Makefile.am:
3189 mark a bunch of the tests as to fix until we fix them
3191 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3194 use GST_PLUGIN settings for valgrind tests as well, so we're
3195 valgrinding the correct thing
3196 * gst/gst.c: (init_post):
3199 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3201 * gst/gst.c: (init_post), (gst_deinit):
3202 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3203 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3204 * gst/gstindex.c: (gst_index_factory_class_init),
3205 (gst_index_factory_finalize):
3206 * gst/gstobject.c: (gst_object_dispose):
3207 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3208 (gst_plugin_load_file), (gst_plugin_desc_free):
3209 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3210 (gst_plugin_feature_finalize):
3211 * gst/gstregistry.c: (gst_registry_class_init),
3212 (gst_registry_init), (gst_registry_finalize),
3213 (gst_registry_get_default), (gst_registry_deinit):
3214 * gst/gstregistry.h:
3215 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3216 various cleanups and memleak plugging. make valgrind is happy now.
3218 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3221 add a check-valgrind target
3223 2005-09-18 David Schleef <ds@schleef.org>
3225 * tools/gst-inspect.c: Revert the GOption code.
3227 2005-09-17 David Schleef <ds@schleef.org>
3229 * check/Makefile.am: Fix environment variables.
3230 * check/gst/gstplugin.c: Fix for API changes.
3231 * tools/gst-inspect.c: Fix for API changes.
3232 * tools/gst-xmlinspect.c: Fix for API changes.
3233 * gst/gstelementfactory.c:
3236 * gst/gstpluginfeature.c:
3237 * gst/gstpluginfeature.h:
3238 * gst/gstregistry.c:
3239 * gst/gstregistry.h:
3240 * gst/gstregistryxml.c:
3241 * gst/gsttypefind.c:
3242 * gst/gsttypefindfactory.c:
3243 * gst/indexers/gstfileindex.c:
3244 * gst/indexers/gstmemindex.c:
3245 * gst/schedulers/Makefile.am:
3246 Change registry to keep track of both plugins and features,
3247 removing the feature tracking from plugins themselves.
3249 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3251 * check/Makefile.am:
3252 * tools/gst-register.1.in:
3255 2005-09-15 David Schleef <ds@schleef.org>
3257 * check/gst/gstplugin.c:
3258 * gst/gstelementfactory.c:
3260 * gst/gstpluginfeature.c:
3261 * gst/gstregistry.c:
3262 Getting tired of debugging. Disabled all the unreffing of
3263 plugins and features, which fixes the segfaults, but of
3264 course leaks like crazy. At least playbin works.
3266 2005-09-15 David Schleef <ds@schleef.org>
3268 * check/gst/gstplugin.c: (register_check_elements),
3269 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3271 * gst/elements/gsttypefindelement.c: Fix refcounting.
3272 * gst/gsttypefind.c:
3273 * gst/gsttypefindfactory.c:
3274 * gst/gsttypefindfactory.h:
3276 2005-09-15 David Schleef <ds@schleef.org>
3278 * gst/gstindex.c: get refcounting correct.
3279 * gst/gstregistry.c: Handle the case where a feature/plugin is
3282 2005-09-15 David Schleef <ds@schleef.org>
3284 * check/Makefile.am:
3285 * check/gst/gstplugin.c: Add test
3286 * gst/gstplugin.c: Fix problems noticed by testsuite
3288 * gst/gstregistry.c:
3289 * gst/gstregistry.h:
3291 2005-09-15 David Schleef <ds@schleef.org>
3293 * gst/gstplugin.c: Implement semi-decent recounting and locking
3294 in plugins and plugin features.
3296 * gst/gstpluginfeature.c:
3297 * gst/gstpluginfeature.h:
3298 * gst/gstregistry.c:
3300 2005-09-15 Michael Smith <msmith@fluendo.com>
3302 * gst/gstregistry.c: (gst_registry_get_feature_list):
3303 Implement this. Makes oggdemux work; decodebin still broken.
3305 2005-09-14 David Schleef <ds@schleef.org>
3307 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3309 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3310 * gst/check/Makefile.am:
3311 * libs/gst/controller/Makefile.am:
3312 * libs/gst/dataprotocol/Makefile.am:
3314 2005-09-14 David Schleef <ds@schleef.org>
3316 * configure.ac: Remove getbits library. Nothing uses it, and
3317 it should be in something like liboil if someone did want
3319 * libs/gst/Makefile.am:
3320 * libs/gst/getbits/Makefile.am:
3321 * libs/gst/getbits/gbtest.c:
3322 * libs/gst/getbits/getbits.c:
3323 * libs/gst/getbits/getbits.h:
3324 * libs/gst/getbits/gstgetbits_generic.c:
3325 * libs/gst/getbits/gstgetbits_i386.s:
3326 * libs/gst/getbits/gstgetbits_inl.h:
3328 2005-09-14 David Schleef <ds@schleef.org>
3330 * gst/Makefile.am: Dist glib-compat.h
3332 2005-09-14 David Schleef <ds@schleef.org>
3334 * configure.ac: Remove gst/registries, since it's no longer used.
3335 * gst/registries/Makefile.am:
3336 * gst/registries/gstlibxmlregistry.c:
3337 * gst/registries/gstlibxmlregistry.h:
3338 * gst/registries/gstxmlregistry.c:
3339 * gst/registries/gstxmlregistry.h:
3340 * gst/registries/registrytest.c:
3342 2005-09-14 David Schleef <ds@schleef.org>
3344 * gst/glib-compat.h:
3345 * gst/gstregistryxml.c:
3346 Convergence is near. Seriously.
3348 2005-09-14 David Schleef <ds@schleef.org>
3350 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3351 * gst/glib-compat.h:
3352 Attempt #4 to appease the buildbots.
3354 2005-09-14 David Schleef <ds@schleef.org>
3356 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3359 2005-09-14 David Schleef <ds@schleef.org>
3361 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3364 2005-09-14 David Schleef <ds@schleef.org>
3366 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3369 2005-09-14 David Schleef <ds@schleef.org>
3371 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3372 * gst/glib-compat.h: Add some functions that are in newer versions
3373 of glib than we care to require.
3374 * gst/gstregistryxml.c: Use them.
3376 2005-09-14 David Schleef <ds@schleef.org>
3378 * po/POTFILES.in: remove gst-register.c
3380 2005-09-14 David Schleef <ds@schleef.org>
3382 * docs/gst/gstreamer-docs.sgml:
3383 * docs/gst/gstreamer-sections.txt:
3384 * docs/gst/gstreamer.types:
3385 * docs/gst/tmpl/gstelement.sgml:
3386 * docs/gst/tmpl/gstplugin.sgml:
3387 * docs/gst/tmpl/gstpluginfeature.sgml:
3388 Documentation updates for registry changes.
3390 2005-09-14 David Schleef <ds@schleef.org>
3392 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3393 because we don't require glib-2.8.
3395 2005-09-14 David Schleef <ds@schleef.org>
3397 * gst/gstregistryxml.c: Added. Essentially moved out of the
3398 registries directory.
3400 2005-09-14 David Schleef <ds@schleef.org>
3402 * check/Makefile.am:
3403 * check/generic/states.c:
3407 * gst/gst_private.h:
3408 * gst/gstelementfactory.c:
3413 * gst/gstpluginfeature.c:
3414 * gst/gstpluginfeature.h:
3415 * gst/gstregistry.c:
3416 * gst/gstregistry.h:
3417 * gst/gstregistrypool.c: remove
3418 * gst/gstregistrypool.h: remove
3419 * gst/gsttypefind.c:
3420 * gst/gsttypefindfactory.c:
3422 * tools/Makefile.am:
3423 * tools/gst-compprep.c:
3424 * tools/gst-inspect.c:
3425 * tools/gst-register.c: remove
3426 * tools/gst-xmlinspect.c:
3427 Registry rewrite. Changes registry from being a file created
3428 by a tool into a simple cache file created automatically by
3429 libgstreamer. Removed gst-register (because it's no longer
3430 needed). Remove registry pools, because we only have one
3431 registry implementation (XML). Fix up other subsystems as
3434 2005-09-13 Michael Smith <msmith@fluendo.com>
3436 * gst/gstconfig.h.in:
3437 Don't Use windows linking attributes for MinGW. Fixes #316157
3439 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3441 * gst/gstutils.c: (set_state_async_thread_func),
3442 (gst_element_set_state_async):
3443 Apparently people think it's better if this function doesn't
3444 try to set the state to whatever state was asked for on the first
3445 call to this function for any object. Seriously.
3447 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3449 * check/gst/gstpipeline.c: (GST_START_TEST):
3450 * docs/gst/gstreamer-sections.txt:
3451 * gst/gstutils.c: (set_state_async_thread_func),
3452 (gst_element_set_state_async):
3454 add a "gst_element_set_state_async" method that
3455 sets the state and starts a thread to make sure the state
3456 change completes as best as it can
3458 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3460 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3461 codify design+behaviour in testsuite after discussion
3463 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3465 * docs/gst/tmpl/gstelement.sgml:
3466 * docs/manual/appendix-quotes.xml:
3468 * gst/gstelement.c: (gst_element_set_state):
3471 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3473 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3474 (gst_base_transform_prepare_output_buf),
3475 (gst_base_transform_handle_buffer):
3476 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3477 (gst_capsfilter_prepare_buf):
3478 Remove the requirement for sub-classes to call the parent
3479 implementation of prepare_output_buffer with a wrapper function.
3482 * gst/gsttagsetter.h:
3485 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3487 * docs/gst/gstreamer-sections.txt:
3490 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3492 * docs/gst/gstreamer-sections.txt:
3493 * docs/gst/tmpl/gstelement.sgml:
3494 * docs/gst/tmpl/gstplugin.sgml:
3495 * gst/gstminiobject.c:
3497 docs now stop throwing warnings
3499 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3501 * docs/gst/gstreamer-sections.txt:
3502 * docs/gst/gstreamer.types:
3503 * docs/gst/tmpl/gstpad.sgml:
3504 * docs/gst/tmpl/gsttypes.sgml:
3505 * gst/base/gstadapter.h:
3506 * gst/base/gstbasesink.h:
3507 * gst/base/gstbasesrc.h:
3517 * gst/gststructure.c:
3518 * gst/registries/gstlibxmlregistry.h:
3519 various documentation fixes
3521 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3523 * docs/gst/gstreamer-sections.txt:
3524 * docs/gst/tmpl/gstvalue.sgml:
3525 rearrange gstvalue section
3526 * gst/gstutils.c: (gst_element_state_get_name):
3528 * gst/gstvalue.c: (_gst_value_initialize):
3532 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3534 * check/gst-libs/controller.c:
3536 * gst/base/gstbasetransform.c:
3537 (gst_base_transform_default_prepare_buf),
3538 (gst_base_transform_handle_buffer):
3539 * gst/base/gstbasetransform.h:
3540 Some more basetransform changes and fixes to enable sub-classes
3541 that modify buffer metadata only.
3542 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3543 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3544 (gst_capsfilter_prepare_buf):
3545 If the output pad has fixed allowed caps and input buffers
3546 don't have any, set the fixed caps on outgoing buffers.
3548 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3549 * check/elements/identity.c: (GST_START_TEST):
3550 Make the error a little clearer when the test fails because
3551 identity made a copy of the buffer.
3552 * docs/gst/gstreamer-sections.txt:
3553 New symbols in gstbasetransform.h
3554 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3555 (gst_base_transform_init), (gst_base_transform_transform_size),
3556 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3557 (gst_base_transform_default_prepare_buf),
3558 (gst_base_transform_get_unit_size),
3559 (gst_base_transform_buffer_alloc),
3560 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3561 (gst_base_transform_change_state),
3562 (gst_base_transform_set_passthrough),
3563 (gst_base_transform_set_in_place),
3564 (gst_base_transform_is_in_place):
3565 * gst/base/gstbasetransform.h:
3566 Change BaseTransform to separate in_place operate from same_caps
3567 output. in_place implies that the element can perform the transform
3568 on incoming buffers in-place, even if the caps on the output are
3570 Sub-class elements can now implement special buffer allocation
3571 methods for outgoing buffers if they wish to.
3572 Big documentation addition.
3573 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3574 * gst/elements/gstelements.c:
3575 Changes for basetransform modifications.
3576 * gst/elements/Makefile.am:
3577 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3578 Compile fix. Extra debug output.
3580 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3582 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3584 add tests for valid pad naming
3585 * gst/check/gstcheck.c: (gst_check_log_message_func),
3586 (gst_check_log_critical_func):
3588 remove printing of code, it is fragile when the code contains
3589 % and the line number is enough info
3590 * gst/check/gstcheck.h:
3591 * gst/gstpad.c: (gst_pad_template_new):
3594 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3597 say what CHECK flags we use
3598 * docs/libs/gstreamer-libs.types:
3599 * libs/gst/controller/Makefile.am:
3600 * libs/gst/controller/gst-controller.c:
3601 * libs/gst/controller/gst-controller.h:
3602 * libs/gst/controller/gst-helper.c:
3603 * libs/gst/controller/gst-interpolation.c:
3604 * libs/gst/controller/gstcontroller.c:
3605 * libs/gst/controller/gsthelper.c:
3606 * libs/gst/controller/gstinterpolation.c:
3607 * tools/gst-inspect.c: (print_plugin_info):
3608 we don't use dashes in header names
3610 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3612 * check/Makefile.am:
3613 * check/gst/.cvsignore:
3614 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3615 (gst_pipeline_suite), (main):
3616 adding a test for pipelines and state changes
3617 * gst/gstutils.c: (get_state_func):
3619 * gstreamer.spec.in:
3622 2005-09-08 Michael Smith <msmith@fluendo.com>
3624 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3625 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3626 (gst_file_src_is_seekable), (gst_file_src_get_size),
3627 (gst_file_src_start):
3628 * gst/elements/gstfilesrc.h:
3629 Various fixes for unseekable, unmmapable, and non-normal files, so
3630 that fallback to read() rather than mmap() works.
3631 * gst/gstevent.c: (gst_event_new_newsegment):
3632 Allow newsegment events with segment_start == segment_end, as will
3633 correctly happen if you use filesrc on a zero-size file, for
3636 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3638 * gst/gstplugin.c: (gst_plugin_load_file):
3639 Call g_module_close when we don't load the module
3641 * gst/registries/gstlibxmlregistry.c:
3642 (gst_xml_registry_get_property):
3643 Port leak fix from 0.8
3645 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3647 * docs/gst/gstreamer-docs.sgml:
3648 * docs/gst/tmpl/.cvsignore:
3649 * docs/gst/tmpl/gsttrace.sgml:
3650 * docs/gst/tmpl/gsttrashstack.sgml:
3659 * gst/gsttaginterface.c:
3660 * gst/gsttaginterface.h:
3663 * gst/gsttagsetter.c:
3664 * gst/gsttagsetter.h:
3667 * gst/gsttrashstack.c:
3668 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3669 inlined docs for gsttrace, gsttrashstack
3671 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3674 * gst/elements/gstbufferstore.h:
3675 * gst/elements/gsttypefindelement.c:
3676 * gst/elements/gsttypefindelement.h:
3678 * gst/gsttypefind.c:
3679 * gst/gsttypefind.h:
3680 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3681 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3682 (gst_type_find_factory_dispose),
3683 (gst_type_find_factory_unload_thyself),
3684 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3685 (gst_type_find_factory_get_caps),
3686 (gst_type_find_factory_get_extensions),
3687 (gst_type_find_factory_call_function):
3688 * gst/gsttypefindfactory.h:
3689 * gst/registries/gstlibxmlregistry.c:
3690 * gst/registries/gstxmlregistry.c:
3691 splitted gsttypefind into gsttypefind, gsttypefindfactory
3693 2005-09-07 Andy Wingo <wingo@pobox.com>
3695 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3696 condition whereby the pad's task function is entered before the
3697 pad_mode variable was set.
3699 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3701 * gst/gstpad.c: (gst_pad_alloc_buffer):
3702 Catch misbehaving pad_alloc functions that don't
3703 set up caps and do it for them.
3705 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3707 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3709 * docs/gst/tmpl/.cvsignore:
3710 * docs/gst/tmpl/gstmemchunk.sgml:
3711 * docs/gst/tmpl/gstparse.sgml:
3712 * docs/gst/tmpl/gsttaglist.sgml:
3713 * docs/gst/tmpl/gsttagsetter.sgml:
3714 * docs/gst/tmpl/gsttypefind.sgml:
3715 * docs/gst/tmpl/gsttypefindfactory.sgml:
3716 * gst/gstmemchunk.c:
3719 * gst/gsttaginterface.c:
3720 * gst/gsttypefind.c:
3721 * gst/gsttypefind.h:
3724 === release 0.9.2 ===
3726 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3731 releasing 0.9.2, "South"
3733 2005-09-05 Andy Wingo <wingo@pobox.com>
3735 * gst/registries/gstxmlregistry.h:
3736 * gst/registries/gstxmlregistry.c: Um... resurrect...
3738 * gst/registries/gstxmlregistry.h:
3739 * gst/registries/gstxmlregistry.c: and update to newer API.
3740 Incidentally they should be a bit faster now that they don't have
3743 2005-09-05 Andy Wingo <wingo@pobox.com>
3745 * gst/registries/gstxmlregistry.h:
3746 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3747 replaced by the libxml registry a while back
3749 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3751 * docs/gst/tmpl/gstplugin.sgml:
3752 * gst/elements/gstelements.c:
3754 * gst/gstplugin.c: (gst_plugin_register_func),
3755 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3756 (gst_plugin_get_source):
3758 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3759 (gst_xml_registry_save_plugin):
3760 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3761 (gst_xml_registry_save_plugin):
3762 * tools/gst-inspect.c: (print_plugin_info):
3763 add a "source" plugin description field, to represent the source
3764 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3765 will set it to PACKAGE, which is automake's idea of the name of
3768 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3774 * docs/faq/Makefile.am:
3775 * docs/gst/tmpl/gstelement.sgml:
3776 * docs/gst/tmpl/gsttypes.sgml:
3777 * docs/htmlinstall.mak:
3778 * docs/manual/Makefile.am:
3779 * docs/pwg/Makefile.am:
3780 reorganize doc build a little
3781 split out docbook and gtk-doc stuff
3782 have two separate --enable's and enable them through autogen
3783 but disable by default in configure (to be similar to other
3785 * gstreamer.spec.in:
3786 clean up docs install
3806 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3808 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3811 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3812 (gst_fake_sink_change_state):
3813 Make state change function thread-safe.
3815 * gst/gstpad.c: (gst_pad_alloc_buffer):
3816 Set offset on generic buffer allocated by fallback.
3818 2005-09-03 Stefan Kost <ensonic@users.sf.net>
3820 * docs/gst/gstreamer-sections.txt:
3821 * docs/gst/tmpl/gstelement.sgml:
3823 * libs/gst/controller/gst-controller.c:
3824 (gst_controlled_property_set_interpolation_mode),
3825 (gst_controlled_property_new),
3826 (gst_controller_find_controlled_property):
3827 run the wingo-magic script against the docs
3829 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3831 * docs/gst/gstreamer-docs.sgml:
3832 * docs/gst/gstreamer-sections.txt:
3833 * docs/gst/tmpl/.cvsignore:
3834 * docs/gst/tmpl/gstelementdetails.sgml:
3835 * docs/gst/tmpl/gstelementfactory.sgml:
3838 * gst/gstelementfactory.c:
3839 * gst/gstelementfactory.h:
3840 merged elementdetails docs into elementfactory docs
3843 2005-09-02 Andy Wingo <wingo@pobox.com>
3845 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
3846 consider this enum an enum and not a flags.
3848 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3850 * docs/gst/gstreamer-docs.sgml:
3851 * docs/gst/tmpl/.cvsignore:
3852 * docs/gst/tmpl/gstghostpad.sgml:
3853 * docs/gst/tmpl/gstiterator.sgml:
3854 * docs/gst/tmpl/gstmacros.sgml:
3855 * docs/gst/tmpl/gstrealpad.sgml:
3856 * docs/gst/tmpl/gstregistry.sgml:
3857 * docs/gst/tmpl/gstregistrypool.sgml:
3858 * docs/gst/tmpl/gststructure.sgml:
3859 * docs/gst/tmpl/gstsystemclock.sgml:
3860 * docs/gst/tmpl/gsttrace.sgml:
3861 * gst/gstghostpad.c:
3863 * gst/gstmemchunk.c:
3864 * gst/gstmemchunk.h:
3866 * gst/gstregistry.c:
3867 * gst/gstregistrypool.c:
3868 * gst/gststructure.c:
3869 * gst/gstsystemclock.c:
3872 2005-09-02 Andy Wingo <wingo@pobox.com>
3874 * gst/gstelement.h (GstState): Renamed from GstElementState,
3875 changed to be a normal enum instead of flags.
3876 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
3877 munged to be GST_STATE_CHANGE_*.
3878 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
3879 work with the new state representation.
3880 (GstStateChange): New enumeration of possible state transitions.
3881 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
3882 (GstElementClass::change_state): Pass the GstStateChange along as
3883 an argument. Helps language bindings, so they don't have to use
3884 tricky lock-needing macros like GST_STATE_CHANGE ().
3886 * scripts/update-states (file): New script. Run it on a file to
3887 update it for state naming and API changes. Updates files in
3890 * All files updated for the new API.
3892 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
3894 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
3895 * gst/gstutils.c: (gst_util_set_value_from_string),
3896 (gst_util_set_object_arg):
3897 fix a bunch of unchecked return values
3898 * tools/gst-complete.c: (main):
3899 * gstreamer.spec.in:
3902 2005-09-01 Wim Taymans <wim@fluendo.com>
3904 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3905 (gst_base_sink_event), (gst_base_sink_do_sync),
3906 (gst_base_sink_handle_event):
3907 * gst/base/gstbasesink.h:
3908 Handle newsegments more correctly.
3913 * gst/gstevent.c: (gst_event_new_newsegment):
3914 A newsegment cannot have a start_time of -1
3916 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
3918 * win32/gstenumtypes.c:
3919 * win32/gstenumtypes.h:
3922 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3924 * libs/gst/controller/gst-controller.c:
3925 (gst_controlled_property_set_interpolation_mode),
3926 (gst_controlled_property_new):
3929 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
3931 * docs/faq/gst-uninstalled:
3936 * gst/gstutils.c: (gst_element_link_filtered):
3938 add gst_element_link_filtered
3940 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3942 * docs/gst/gstreamer-docs.sgml:
3943 * docs/gst/gstreamer-sections.txt:
3944 * docs/gst/tmpl/.cvsignore:
3945 * docs/gst/tmpl/gsterror.sgml:
3946 * docs/gst/tmpl/gstfilter.sgml:
3947 * docs/gst/tmpl/gsturihandler.sgml:
3948 * docs/gst/tmpl/gsturitype.sgml:
3949 * docs/gst/tmpl/gstutils.sgml:
3950 * docs/gst/tmpl/gstxml.sgml:
3958 inlined more docs, fixed double id-ref
3960 2005-08-31 Wim Taymans <wim@fluendo.com>
3962 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3963 (gst_base_transform_handle_buffer):
3964 Passthrough elements don't need the caps as they don't care.
3966 2005-08-31 Wim Taymans <wim@fluendo.com>
3968 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3969 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
3970 Don't leak refcounts on buffers.
3972 2005-08-31 Wim Taymans <wim@fluendo.com>
3974 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
3975 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
3976 (gst_base_transform_chain), (gst_base_transform_change_state):
3977 * gst/base/gstbasetransform.h:
3978 Handle the case where we are not negotiated more gracefully.
3980 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
3982 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
3983 (gst_file_src_map_region):
3984 Set READONLY flag on mmap'ed buffers, otherwise
3985 gst_buffer_make_writable() won't work properly (#314708).
3987 2005-08-31 Wim Taymans <wim@fluendo.com>
3989 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
3990 passthrough elements can even do inplace on non writable
3991 buffers (as they don't touch them).
3993 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3995 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3996 (gst_test_mono_source_set_property),
3997 (gst_test_mono_source_class_init), (GST_START_TEST),
3998 (gst_controller_suite):
3999 more tests (hehe I have the most)
4001 describe popping messages whenusing mulltiple sources
4002 * libs/gst/controller/gst-controller.c:
4003 (gst_controlled_property_set_interpolation_mode),
4004 (gst_controlled_property_new):
4005 * libs/gst/controller/gst-controller.h:
4006 * libs/gst/controller/gst-interpolation.c:
4007 implement boolean properties
4009 2005-08-31 Wim Taymans <wim@fluendo.com>
4011 * gst/gstminiobject.c: (gst_mini_object_ref):
4012 Cannot assert that the refcount has to be positive
4013 since a disposed object can be resurrected.
4015 2005-08-31 Wim Taymans <wim@fluendo.com>
4017 * gst/gstpad.c: (gst_pad_init):
4018 Revert change, need to first fix badly behaving
4021 2005-08-30 Wim Taymans <wim@fluendo.com>
4023 * check/elements/fakesrc.c: (setup_fakesrc):
4024 * check/elements/identity.c: (setup_identity):
4025 Activate pads before using them.
4027 2005-08-30 Wim Taymans <wim@fluendo.com>
4029 * gst/base/gstadapter.c: (gst_adapter_flush):
4030 Flushing out 0 bytes is ok for this function.
4032 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4033 no newsegment gives a warning and sets the start/stop to
4036 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4037 (gst_base_transform_set_passthrough):
4040 * gst/gstminiobject.c: (gst_mini_object_ref):
4041 Check refcount here too.
4043 * gst/gstpad.c: (gst_pad_init):
4044 Pads are initially flushing and refusing data.
4046 * gst/gstutils.c: (gst_element_link_pads_filtered):
4047 When adding a capsfilter element make sure it has the
4048 same state as the parent bin.
4050 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4052 * docs/gst/tmpl/.cvsignore:
4053 * docs/gst/tmpl/gstformat.sgml:
4054 * docs/gst/tmpl/gstversion.sgml:
4058 * gst/gstversion.h.in:
4059 more docs and two more inlined
4061 2005-08-30 Wim Taymans <wim@fluendo.com>
4063 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4064 Don't sync to clock.
4066 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4068 * docs/gst/gstreamer-sections.txt:
4069 ultral33t func10ns deserve to appear in the docs actually
4070 * docs/gst/tmpl/.cvsignore:
4071 * docs/gst/tmpl/gstcompat.sgml:
4072 * docs/gst/tmpl/gstconfig.sgml:
4073 * gst/check/gstcheck.c:
4075 * gst/gstconfig.h.in:
4078 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4080 * docs/gst/tmpl/.cvsignore:
4081 * docs/gst/tmpl/gstquery.sgml:
4082 * docs/gst/tmpl/gstutils.sgml:
4085 inlined and extended docs
4087 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4089 * check/gst-libs/controller.c: (GST_START_TEST),
4090 (gst_controller_suite):
4092 * docs/gst/tmpl/gstutils.sgml:
4093 * docs/libs/gstreamer-libs-sections.txt:
4094 * docs/libs/tmpl/gstdataprotocol.sgml:
4096 * examples/controller/audio-example.c: (main):
4097 controller example works now
4100 * tools/gst-inspect.c: (print_element_properties_info):
4101 show param spec flags
4103 2005-08-29 Andy Wingo <wingo@pobox.com>
4105 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4107 2005-08-28 Andy Wingo <wingo@pobox.com>
4109 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4110 as having two arguments instead of just one. Allows superclasses
4111 to access information on subclasses -- see the terrible for() loop
4112 in gtype.c:g_type_create_instance for the reason why. All callers
4115 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4117 * docs/design/part-messages.txt:
4119 * docs/gst/tmpl/.cvsignore:
4120 * docs/gst/tmpl/gstcaps.sgml:
4121 * docs/gst/tmpl/gstclock.sgml:
4128 added descriptions for bus and message
4129 inline caps and clock docs
4131 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4137 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4139 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4142 2005-08-26 Andy Wingo <wingo@pobox.com>
4144 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4145 element_set_state's return val.
4146 (test_2_elements): Add test that's been disabled for months.
4148 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4149 can-activate-pull properties.
4151 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4152 can-activate-pull properties. Implement is_seekable so fakesrc can
4153 operate in pull mode.
4155 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4157 (gst_base_sink_activate, gst_base_sink_activate_pull)
4158 (gst_base_sink_activate_push): Make activation mode choosing work.
4160 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4161 is right. Make pull mode work. Post an eos before pausing in pull
4163 (gst_base_sink_change_state): Pay attention to the core's
4164 change_state() return val.
4166 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4167 has-getrange properties. Cleanups.
4169 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4170 has_getrange and replace with can_activate_pull and
4173 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4174 locking comments. Remove has_loop, has_chain and replace with
4175 can_activate_pull and can_activate_push.
4177 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4180 * examples/Makefile.am:
4181 * examples/metadata/Makefile.am:
4182 * examples/metadata/read-metadata.c: (message_loop),
4183 (have_pad_handler), (make_pipeline), (print_tag), (main):
4184 Add metadata reading example that loops over a list of filenames,
4185 dumping any tags found.
4187 * gst/gstbus.c: (gst_bus_dispose):
4188 * gst/gstelement.c: (gst_element_dispose):
4189 Release a few potentially-held references in dispose.
4191 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4193 * docs/gst/tmpl/gstminiobject.sgml:
4194 do *not* add tmpl/*.sgml files to CVS!
4196 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4198 * libs/gst/bytestream/.cvsignore:
4199 * libs/gst/bytestream/Makefile.am:
4200 * libs/gst/bytestream/adapter.c:
4201 * libs/gst/bytestream/adapter.h:
4202 * libs/gst/bytestream/bytestream.c:
4203 * libs/gst/bytestream/bytestream.h:
4204 * libs/gst/bytestream/filepad.c:
4205 * libs/gst/bytestream/filepad.h:
4206 removing obsolete files
4208 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4210 * docs/gst/gstreamer-docs.sgml:
4211 * docs/libs/gstreamer-libs-docs.sgml:
4212 disabed additional index entries again, as this makes docs-gen just
4213 slow and they aren't useful yet
4214 * docs/libs/gstreamer-libs-sections.txt:
4215 little -section.txt cleanup for libs
4217 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4219 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4220 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4221 fix up some debugging
4222 (gst_base_transform_get_unit_size),
4223 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4224 (gst_base_transform_handle_buffer):
4225 * gst/base/gstbasetransform.h:
4226 handle and store timed NEWSEGMENT events so that subclasses that
4227 calculate time by counting samples have a segment_start time they
4228 need to add to their timestamps - see audioresample
4230 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4233 removed ';' from the end of macro defs
4234 * docs/gst/gstreamer-docs.sgml:
4235 * docs/gst/gstreamer-sections.txt:
4236 * docs/gst/tmpl/.cvsignore:
4238 * gst/gstelement.c: (gst_element_class_init),
4239 (gst_element_set_state), (activate_pads),
4240 (gst_element_save_thyself):
4241 * gst/gstevent.c: (gst_event_new_newsegment):
4243 * gst/gstiterator.c:
4244 * gst/gstiterator.h:
4247 * gst/gstutils.c: (gst_pad_query_convert):
4249 fixed parameter name mismatches between source, header and docs
4250 added some more docs, resolved the last batch of unused elements in
4251 docs (now someone needs to doc them)
4253 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4255 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4256 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4257 don't walk through the plugins backwards. Where is all this
4258 reversed logic coming from ?
4260 2005-08-25 Wim Taymans <wim@fluendo.com>
4262 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4263 (gst_base_transform_transform_size),
4264 (gst_base_transform_configure_caps),
4265 (gst_base_transform_get_unit_size),
4266 (gst_base_transform_buffer_alloc),
4267 (gst_base_transform_change_state):
4268 * gst/base/gstbasetransform.h:
4269 Cache caps unit_size.
4270 Make sure we cannot negotiate up and downstream at the
4273 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4275 * gst/gst.c: (init_pre), (init_post):
4276 register the installed plugin path after the env var
4277 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4278 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4279 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4280 directories, so the tests can prefer uninstalled over installed
4282 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4284 * gst/base/gstbasetransform.h:
4289 2005-08-25 Wim Taymans <wim@fluendo.com>
4291 * gst/gstbin.c: (bin_bus_handler):
4292 Be a bit more conservative about the posted message.
4294 * gst/gstbus.c: (gst_bus_post):
4295 Some cleanups, warn wrong return values.
4297 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4299 * check/gst/gstbin.c: (GST_START_TEST):
4300 * gst/gstbin.c: (bin_bus_handler):
4301 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4302 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4303 (gst_message_new_warning), (gst_message_new_tag),
4304 (gst_message_new_state_changed), (gst_message_new_segment_start),
4305 (gst_message_new_segment_done), (gst_message_new_custom):
4307 * tools/gst-launch.c: (event_loop):
4308 * tools/gst-md5sum.c: (event_loop):
4309 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4311 2005-08-25 Wim Taymans <wim@fluendo.com>
4313 * check/generic/states.c: (GST_START_TEST):
4314 Cleanup can be done at the end.
4316 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4317 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4318 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4319 Oh boy.. Thanks for finding this, Thomas.
4321 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4323 * docs/gst/gstreamer.types:
4326 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4328 * docs/gst/gstreamer-docs.sgml:
4329 * docs/gst/gstreamer-sections.txt:
4330 * docs/gst/tmpl/.cvsignore:
4332 * gst/gstiterator.c:
4334 * gst/registries/gstxmlregistry.h:
4335 added missing classes and symbols (123 more to go)
4336 removed removed symbols from section file
4337 fixed many doc-comments
4339 2005-08-24 Wim Taymans <wim@fluendo.com>
4341 * check/generic/states.c: (GST_START_TEST):
4342 Make sure all tasks are stopped.
4344 * check/gst/gstbin.c: (GST_START_TEST):
4345 Unref after usage for proper valgrinding.
4347 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4348 Really wait for the task to stop before destroying the
4351 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4352 (gst_queue_src_activate_push):
4353 Small cleanups. Don't stop the task when we did not start
4356 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4357 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4358 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4361 Protect the stream lock with the object lock.
4362 Disallow setting the stream lock when running.
4363 Add cleanup_all to wait for the threadpool to finish.
4364 Remove code to autoallocate a mutex if none was provided.
4365 Add _join() to wait for a task to stop.
4366 Protect the thread pool with a global lock.
4368 2005-08-24 Wim Taymans <wim@fluendo.com>
4370 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4371 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4372 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4373 * gst/base/gstbasesink.h:
4374 Handle newsegment events correctly.
4375 Drop buffers out of the segment range.
4377 2005-08-22 Andy Wingo <wingo@pobox.com>
4379 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4380 macro, implements an interface and gstimplementsinterface for a
4383 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4385 * check/Makefile.am:
4386 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4387 add a test that does a bunch of state changes on elements
4388 needs some fixing for valgrind
4389 * check/states/sinks.c: (gst_object_suite):
4392 add prototype for gst_caps_is_equal_fixed
4394 * gst/gstregistrypool.c:
4397 2005-08-24 Andy Wingo <wingo@pobox.com>
4399 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4400 convert a negative value. Doesn't make much sense. Mostly this is
4401 here to force callers to ensure -1 maps to -1.
4403 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4405 * docs/pwg/advanced-types.xml:
4406 Well done to Michael for catching my deliberate introduction
4407 of this spelling mistake.
4408 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4410 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4411 unlink pads before removing the element from the bin.
4413 2005-08-24 Andy Wingo <wingo@pobox.com>
4415 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4416 the same thing as GST_DEBUG=*:4.
4417 (parse_debug_level, parse_debug_category): New helper parsers.
4419 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4421 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4422 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4423 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4424 (gst_base_transform_buffer_alloc),
4425 (gst_base_transform_handle_buffer):
4426 use gboolean return values and pointers to size so we can use the
4427 full GST_BUFFER_SIZE range (guint) for buffer sizes
4428 use GstPadDirection for transform_caps
4429 * gst/base/gstbasetransform.h:
4430 rename get_size to get_unit_size since that's what it is
4431 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4432 use GstPadDirection for transform_caps
4433 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4435 cleanup and debugging
4437 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4439 * gst/gstelement.c: (gst_element_class_init),
4440 (gst_element_set_state), (activate_pads),
4441 (gst_element_save_thyself):
4442 * tools/gst-compprep.c: (main):
4443 * tools/gst-inspect.c: (print_element_properties_info):
4444 * tools/gst-xmlinspect.c: (print_element_properties):
4445 Fixed long standing mem-leak
4447 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4449 * check/gst/gstbin.c: (GST_START_TEST):
4450 * gst/gstbin.c: (bin_bus_handler):
4451 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4452 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4453 (gst_message_new_warning), (gst_message_new_tag),
4454 (gst_message_new_state_changed), (gst_message_new_segment_start),
4455 (gst_message_new_segment_done), (gst_message_new_custom):
4457 * tools/gst-launch.c: (event_loop):
4458 * tools/gst-md5sum.c: (event_loop):
4459 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4460 that applications can sensibly post custom messages with references
4461 to their own objects.
4463 2005-08-24 Andy Wingo <wingo@pobox.com>
4465 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4468 2005-08-24 Wim Taymans <wim@fluendo.com>
4470 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4471 (gst_base_transform_transform_caps),
4472 (gst_base_transform_transform_size),
4473 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4474 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4475 (gst_base_transform_handle_buffer):
4476 * gst/base/gstbasetransform.h:
4477 Many fixes and new features added by Thomas. Can now also do
4478 transforms with variable sizes and a custom fixate_caps function.
4480 2005-08-24 Wim Taymans <wim@fluendo.com>
4482 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4486 Cast to ClockTime before formatting to time.
4491 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4493 * check/gst-libs/controller.c: (GST_START_TEST),
4494 (gst_controller_suite):
4495 * docs/gst/tmpl/gstcaps.sgml:
4496 * docs/gst/tmpl/gstghostpad.sgml:
4497 * docs/gst/tmpl/gstquery.sgml:
4498 * docs/gst/tmpl/gstutils.sgml:
4499 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4500 (gst_object_sink_values), (gst_object_get_value_arrays),
4501 (gst_object_get_value_array):
4502 gracefully handle helper method calls to objects that are not beeing
4503 controlled, added test case for that
4505 2005-08-23 Wim Taymans <wim@fluendo.com>
4507 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4508 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4509 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4510 (gst_event_parse_qos), (gst_event_new_seek),
4511 (gst_event_parse_seek):
4513 Some more debugging output and doc cleanups.
4515 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4516 Fix possible deadlock.
4518 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4520 * docs/gst/gstreamer-docs.sgml:
4521 * docs/gst/gstreamer-sections.txt:
4522 * docs/gst/gstreamer.types:
4523 * docs/gst/tmpl/.cvsignore:
4528 added 100 symbols from gstreamer-unused.txt to the right sections
4529 fixed more broken comments
4530 added GstBus to docs
4532 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4534 * docs/gst/gstreamer-sections.txt:
4535 * docs/gst/tmpl/.cvsignore:
4536 * docs/gst/tmpl/gstbin.sgml:
4537 * docs/gst/tmpl/gstbuffer.sgml:
4538 * gst/base/gstbasesrc.c:
4539 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4542 * tools/gst-launch.1.in:
4543 inlined more doc comments, added missing comments and fixed comments
4546 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4548 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4552 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4554 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4555 * gst/gststructure.h:
4556 add a fixate function for booleans; add a FIXME that these func
4557 names should probably be gst_structure_fixate_*
4559 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4561 * docs/gst/gstreamer-docs.sgml:
4562 * docs/gst/gstreamer-sections.txt:
4564 * gst/gstbin.c: (gst_bin_get_type),
4565 (gst_bin_child_proxy_get_child_by_index),
4566 (gst_bin_child_proxy_get_children_count),
4567 (gst_bin_child_proxy_init):
4568 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4569 (gst_child_proxy_get_child_by_index),
4570 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4571 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4572 (gst_child_proxy_get), (gst_child_proxy_set_property),
4573 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4574 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4575 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4576 * gst/gstchildproxy.h:
4577 * gst/parse/grammar.y:
4578 * tools/gst-inspect.c: (print_interfaces),
4579 (print_element_properties_info), (print_element_info):
4580 ported gstchildproxy over from 0.8
4581 ported gst-inspect fixes and enhancements over from 0.8
4583 2005-08-22 Wim Taymans <wim@fluendo.com>
4585 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4586 (gst_base_transform_handle_buffer):
4587 Also call the transform function if we have ANY caps.
4589 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4592 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4594 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4595 Don't pretend to handle seek events if the source is not seekable
4597 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4599 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4600 Remove extra parameter to debug output
4602 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4603 (gst_base_src_do_seek), (gst_base_src_activate_push):
4604 Fix seek event handling.
4606 * gst/gstpipeline.c: (gst_pipeline_change_state):
4607 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4608 (gst_queue_src_activate_push):
4609 Don't start the src pad task on FLUSH_STOP if the pad
4613 2005-08-22 Wim Taymans <wim@fluendo.com>
4615 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4616 Added check for gst_static_caps_get() refcounting.
4618 2005-08-22 Wim Taymans <wim@fluendo.com>
4620 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4621 Make _static_caps_get() refcounting sane.
4623 * gst/gstelement.c: (gst_element_set_state):
4624 Add g_return_val_if_fail() to protect against segfaults.
4626 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4628 * docs/gst/tmpl/gstevent.sgml:
4631 inlined remaining docs, added missing doc comments
4633 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4635 * check/gst/gstbin.c: (GST_START_TEST):
4636 since we don't know when preroll is done, use refcount range
4638 * gst/check/gstcheck.h:
4639 add macro for checking refcount range
4641 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4643 * check/Makefile.am:
4644 clean up environment for when registry gets built versus
4645 when actual tests are run; valgrind seems to not report
4646 leaks if GST_PLUGIN_PATH is set to some specific values
4647 * check/gst/gstbin.c: (GST_START_TEST):
4648 add more refcounting checks; maybe this exposes a
4651 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4652 * gst/check/gstcheck.h:
4653 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4654 (gst_bin_change_state):
4655 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4656 add/fix debugging/whitespace
4658 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4660 * check/gst/gstevent.c: (event_probe), (test_event),
4662 Er, don't call gst_bin_watch_for_state_change you idiot.
4664 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4666 * check/Makefile.am:
4667 Use CHECK_CFLAGS and CHECK_LIBS
4668 * check/gst/gstevent.c: (event_probe), (test_event),
4671 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4672 (gst_base_src_start), (gst_base_src_stop),
4673 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4674 (gst_base_src_change_state):
4675 Sprinkle gst_base_src_stop liberally around error paths to fix
4676 problems reusing a source after failed state changes.
4677 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4678 (helper_find_suggest), (gst_type_find_helper):
4679 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4681 * docs/gst/tmpl/gstevent.sgml:
4682 Migrate part of the docs from the SGML file. Wait for ensonic to
4683 tell me how I did it wrong ;)
4684 * tools/gst-typefind.c: (main):
4685 Extra robustness to state changes between files.
4687 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4689 * check/Makefile.am:
4690 don't valgrind the controller test - it's leaking - Stefan, HELP
4691 * gst/check/gstcheck.c: (gst_check_message_error),
4692 (gst_check_chain_func), (gst_check_setup_element),
4693 (gst_check_teardown_element), (gst_check_setup_src_pad),
4694 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4695 (gst_check_teardown_sink_pad):
4696 * gst/check/gstcheck.h:
4697 add a bunch of methods to set up elements, and src and sink pads
4698 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4699 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4704 whitespace/doc fixes
4706 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4709 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4710 be handled by the application and not always printed as well
4712 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4714 * check/Makefile.am:
4716 * gst/check/gstcheck.c: (gst_check_message_error):
4717 * gst/check/gstcheck.h:
4718 add a fail_unless_equals_int
4719 add fail_unless for error messages
4721 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4723 * check/Makefile.am:
4725 * common/Makefile.am:
4728 factor out some of the common stuff so we can use it
4730 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4732 * check/Makefile.am:
4733 * check/gst/gstiterator.c: (GST_START_TEST):
4734 * check/gst/gstsystemclock.c: (GST_START_TEST),
4735 (gst_systemclock_suite):
4736 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4740 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4742 * check/elements/.cvsignore:
4743 * check/elements/gstfakesrc.c:
4744 rename to name of element
4745 * check/elements/identity.c: (chain_func), (event_func),
4746 (setup_identity), (cleanup_identity), (GST_START_TEST),
4747 (identity_suite), (main):
4748 add a test for identity
4749 * check/Makefile.am:
4750 * pkgconfig/Makefile.am:
4751 * pkgconfig/gstreamer-check.pc.in:
4752 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4756 move the check stuff to a library that gets installed
4757 * check/gst-libs/controller.c: (GST_START_TEST):
4758 * check/gst-libs/gdp.c:
4759 * check/gst/gst.c: (GST_START_TEST):
4760 * check/gst/gstbin.c:
4761 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4762 * check/gst/gstbus.c:
4763 * check/gst/gstcaps.c: (GST_START_TEST):
4764 * check/gst/gstelement.c:
4765 * check/gst/gstghostpad.c:
4766 * check/gst/gstiterator.c:
4767 * check/gst/gstmessage.c:
4768 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4769 * check/gst/gstobject.c:
4770 * check/gst/gstpad.c: (GST_START_TEST):
4771 * check/gst/gststructure.c: (GST_START_TEST):
4772 * check/gst/gstsystemclock.c: (GST_START_TEST),
4773 (gst_systemclock_suite):
4774 * check/gst/gsttag.c: (gst_tag_suite):
4775 * check/gst/gstvalue.c:
4776 * check/pipelines/cleanup.c:
4777 * check/pipelines/simple_launch_lines.c:
4778 * check/states/sinks.c:
4779 change include statement
4781 * docs/gst/gstreamer-sections.txt:
4782 * docs/gst/tmpl/gstpad.sgml:
4783 document more pad stuff
4784 * gst/gstminiobject.c: (gst_mini_object_ref),
4785 (gst_mini_object_unref):
4788 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4790 * docs/gst/tmpl/gst.sgml:
4792 eliminate another tmpl file, fix spelling in the long-description
4794 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4796 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4797 (test_event), (timediff), (gstevents_suite):
4798 Should fix build on 64-bit arch's
4800 2005-08-18 Andy Wingo <wingo@pobox.com>
4802 Make sure that when a pipeline goes to PLAYING, that data has
4803 actually hit the sink.
4805 * check/states/sinks.c (test_sink): A sink that doesn't get any
4806 data shouldn't return SUCCESS for going to either PLAYING or
4807 PAUSED. Test also the return values on the way back down.
4809 * gst/gstelement.c (gst_element_set_state): When changing the
4810 state of an element currently changing state asynchronously, go to
4811 lost-state after commiting the pending state. Makes future calls
4812 to get_state continue to return ASYNC.
4814 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
4815 ASYNC when going to PLAYING if we still don't have preroll, as can
4816 happen with live sources.
4818 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4820 * docs/pwg/advanced-types.xml:
4821 Hack long paragraph into 2 chunks as a workaround for buggy
4822 jadetex version in sid and breezy that loops infinitely and
4825 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4827 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4828 (test_event), (timediff), (gstevents_suite):
4829 Provide more error margin in clock measurements to allow for
4830 g_get_current_time inaccuracies.
4832 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4834 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4835 (test_event), (timediff), (gstevents_suite):
4836 Fix error message output so I might be able to tell why the
4837 test works here but fails on the build farm.
4839 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4841 * check/Makefile.am:
4842 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4843 (test_event), (timediff), (gstevents_suite), (main):
4846 * docs/design/part-seeking.txt:
4849 * docs/gst/tmpl/gstevent.sgml:
4850 * docs/gst/tmpl/gstfakesrc.sgml:
4853 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4854 Treat a buffer-without-newsegment the same as a receiving
4855 a newsegment not in time format, and disable syncing to the clock
4858 * gst/gstbus.c: (gst_bus_set_sync_handler):
4859 Assert if anyone tries to replace the existing sync_handler for bus,
4860 as only the owner should be setting it.
4863 Have a fixed set of custom event enums with events identified by
4864 their structure name (as in 0.8), rather than a free-for-all
4865 allowing collisions between enum values from different plugins.
4867 * gst/gstpad.c: (gst_pad_class_init):
4870 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4871 Handle out-of-band downstream events from the sending thread.
4873 2005-08-17 Andy Wingo <wingo@pobox.com>
4875 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
4876 play-timeout==0 to mean no timeout at all. In that case, don't
4877 bother with a get_state or a warning, just return directly, even
4880 * gst/base/gstbasetransform.c: Debug changes.
4883 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
4884 ensure bins post state change messages. A bit of a hack but I can't
4885 think of a way to avoid it.
4887 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
4889 2005-08-16 Andy Wingo <wingo@pobox.com>
4891 * gst/base/gstadapter.h:
4892 * gst/base/gstadapter.c (gst_adapter_take): New function, like
4893 peek() but you own the data. Not terribly efficient atm.
4895 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4897 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
4898 (gst_element_found_tags):
4900 Add two utility functions for tag handling.
4902 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4904 * docs/manual/advanced-dataaccess.xml:
4905 * docs/manual/basics-helloworld.xml:
4906 Fix docs to use _bin_add() before _link(), which fixes the examples
4907 with recent core versions (reported by Madhan Raj M
4908 <raj_madan@rediffmail.com>, #313199).
4910 2005-08-16 Wim Taymans <wim@fluendo.com>
4912 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4913 Added subtract checks.
4915 * docs/design/part-events.txt:
4916 Some more docs about newsegment
4918 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4921 * gst/gstcaps.c: (gst_caps_to_string):
4922 Add comments, cleanups.
4924 * gst/gstelement.c: (gst_element_save_thyself):
4927 * gst/gstvalue.c: (gst_value_collect_int_range),
4928 (gst_string_unwrap), (gst_value_union_int_int_range),
4929 (gst_value_union_int_range_int_range),
4930 (gst_value_intersect_int_int_range),
4931 (gst_value_intersect_int_range_int_range),
4932 (gst_value_intersect_double_double_range),
4933 (gst_value_intersect_double_range_double_range),
4934 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
4935 (gst_value_subtract_int_range_int),
4936 (gst_value_subtract_double_range_double),
4937 (gst_value_subtract_double_range_double_range),
4938 (gst_value_subtract_from_list), (gst_value_subtract_list),
4939 (gst_value_can_compare), (gst_value_compare_fraction):
4940 Cleanups, add comments, remove unneeded asserts.
4942 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4944 * tools/gst-launch.c: (event_loop):
4945 don't convert NULL structures to strings
4947 2005-08-15 Stefan Kost <ensonic@users.sf.net>
4949 * docs/gst/gstreamer-sections.txt:
4950 made some defines private
4951 * docs/gst/tmpl/gstconfig.sgml:
4952 * docs/gst/tmpl/gstqueue.sgml:
4953 * docs/gst/tmpl/gsttaglist.sgml:
4954 * docs/gst/tmpl/gsttypes.sgml:
4955 * docs/gst/tmpl/gstutils.sgml:
4956 * docs/pwg/appendix-porting.xml:
4957 * gst/base/gstbasesink.h:
4958 * gst/base/gstbasesrc.c:
4959 * gst/base/gstbasesrc.h:
4960 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
4961 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
4962 * gst/gstelement.c: (gst_element_class_init):
4963 * gst/gstpad.c: (gst_pad_class_init):
4964 * gst/gstqueue.c: (gst_queue_class_init):
4965 * gst/gstxml.c: (gst_xml_class_init):
4966 documented all undocumented signal inline
4967 * libs/gst/controller/gst-controller.h:
4970 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4972 * docs/pwg/appendix-porting.xml:
4973 Document _set_link_function -> _set_setcaps_function.
4975 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4977 * check/Makefile.am:
4978 add a .check target for running the check
4979 * check/gst-libs/controller.c: (GST_START_TEST):
4981 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4982 complete checks for gstbuffer; would be nice if I could get the
4983 gcov stuff to work so I can see if I actually completed gstbuffer.c
4985 add ASSERT_BUFFER_REFCOUNT
4987 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
4989 * docs/gst/gstreamer-sections.txt:
4990 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
4992 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
4993 spew out a warning if a tag that is already registered
4994 is re-registered, unless it is re-registered with a
4995 different type (#308438).
4997 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
4999 * docs/pwg/appendix-porting.xml:
5000 * docs/pwg/building-state.xml:
5001 Add some paragraphs about state changes in 0.9 to the PWG
5002 and the porting guide, in particular about the new meaning
5003 of GST_STATE_PAUSED and how to write state change functions
5004 with concurrent access by multiple threads in mind.
5006 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5008 * docs/gst/gstreamer-docs.sgml:
5009 * docs/libs/gstreamer-libs-docs.sgml:
5010 added deprecation and since indexes
5011 * libs/gst/controller/gst-controller.c:
5012 * libs/gst/controller/gst-helper.c:
5016 2005-08-11 Wim Taymans <wim@fluendo.com>
5018 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5019 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5020 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5021 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5022 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5023 (gst_ghost_pad_set_target):
5024 Actually implement (re)setting the target on a ghostpad
5025 as described in the docs.
5027 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5029 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5030 Check whether GST_DEBUG_NO_COLOR environment variable is
5031 set and disable coloured debug output if that is the case.
5033 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5035 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5036 (gst_type_find_helper):
5037 The memory returned by gst_type_find_peek() needs to
5038 stay valid until the end of a typefind function, and
5039 typefind functions may keep results from different
5040 offsets around, so we can't just unref the buffer from
5041 the previous _peek(), but have to save all buffers
5042 returned by _peek() until typefinding is done and only
5045 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5047 * docs/gst/gstreamer-sections.txt:
5049 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5051 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5053 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5054 Fix a pretty good memleak.
5056 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5058 * gst/gstiterator.h:
5059 Fix wrong include and 'make distcheck'.
5061 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5063 * gst/gstbin.c: (bin_bus_handler):
5064 Use gst_element_post_message() instead.
5066 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5068 * gst/base/gstadapter.h:
5069 * gst/base/gstbasesink.h:
5070 * gst/base/gstbasesrc.h:
5071 * gst/base/gstbasetransform.h:
5072 * gst/base/gstcollectpads.h:
5073 * gst/base/gstpushsrc.h:
5074 * gst/gstiterator.h:
5075 Add padding to our base elements' class and instance structs and
5076 to GstIterator (you will need to rebuild all plugins and apps!)
5078 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5080 * gst/gstbin.c: (bin_bus_handler):
5081 Make default message forwarding from child->bus to bin->bus
5082 threadsafe and make it not emit warnings if the parent has no bus.
5084 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5086 * gst/gstelement.c: (activate_pads):
5087 On paused->ready, set pad->caps to NULL, as is the documented
5088 behaviour in this state change. Fixes playback of series of
5089 media files when visualization is enabled in Totem.
5091 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5093 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5094 Allow NULL as filter-caps (which means "any").
5096 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5098 * docs/libs/gstreamer-libs-sections.txt:
5099 * libs/gst/controller/gst-controller.c:
5100 * libs/gst/controller/gst-controller.h:
5101 * libs/gst/controller/gst-helper.c:
5102 adding more entries to the docs and fix small doc-bugs
5104 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5106 * docs/gst/gstreamer-docs.sgml:
5107 * docs/gst/gstreamer-sections.txt:
5108 * docs/gst/gstreamer.types:
5109 * docs/gst/tmpl/gstbasesink.sgml:
5110 * docs/gst/tmpl/gstbasesrc.sgml:
5111 * docs/gst/tmpl/gstbasetransform.sgml:
5112 * docs/gst/tmpl/gstfakesrc.sgml:
5113 * gst/base/gstcollectpads.c:
5114 * gst/base/gstcollectpads.h:
5115 * libs/gst/controller/gst-controller.c:
5116 * libs/gst/controller/gst-controller.h:
5117 * libs/gst/controller/gst-helper.c:
5118 * libs/gst/controller/gst-interpolation.c:
5119 * libs/gst/controller/lib.c:
5120 added long/short desc for controller docs
5121 added collectpads base class docs
5122 added correct includes to base-class docs
5124 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5126 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5127 (gst_test_mono_source_set_property),
5128 (gst_test_mono_source_class_init), (GST_START_TEST),
5129 (gst_controller_suite):
5130 * docs/gst/gstreamer-docs.sgml:
5131 * docs/gst/gstreamer-sections.txt:
5132 * docs/gst/gstreamer.types:
5133 * docs/libs/gstreamer-libs-docs.sgml:
5134 * docs/libs/gstreamer-libs-sections.txt:
5135 * gst/base/gstadapter.c:
5136 * libs/gst/controller/gst-controller.c:
5137 (gst_controlled_property_new), (gst_controlled_property_free),
5138 (gst_controller_new_valist),
5139 (gst_controller_remove_properties_valist),
5140 (gst_controller_sink_values), (_gst_controller_finalize):
5141 * libs/gst/controller/gst-controller.h:
5142 * libs/gst/controller/gst-helper.c:
5143 (gst_object_control_properties), (gst_object_uncontrol_properties),
5144 (gst_object_get_controller), (gst_object_set_controller),
5145 (gst_object_sink_values), (gst_object_get_value_arrays),
5146 (gst_object_get_value_array):
5147 more tests (and fixes) for the controller
5148 more docs for the controller
5149 integrated companies docs for the adapter
5151 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5153 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5154 (GST_START_TEST), (fakesrc_suite):
5155 add tests for sizetype
5157 2005-08-04 Andy Wingo <wingo@pobox.com>
5159 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5160 fixes buffer_alloc proxying among other things.
5162 * gst/base/gstbasetransform.c:
5163 * gst/base/gstbasetransform.h:
5164 Revert patch to gstbasetransform from 7-28 removing
5167 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5168 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5169 Semantics changed, should return not the size of the output buffer
5170 but the byte size of a buffer with a given caps.
5172 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5174 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5175 out) are not the pad caps until setcaps finishes.
5176 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5177 not-in-place case as well. Deal with changing from in-place to
5178 not-in-place within calling pad_alloc_buffer. Still a bit
5179 concerned about the overhead here...
5181 2005-08-03 Andy Wingo <wingo@pobox.com>
5183 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5184 fixating is an error.
5186 2005-08-04 Edward Hervey <edward@fluendo.com>
5188 * gst/base/gstadapter.h:
5189 Added gst_adapter_get_type() to the header
5191 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5193 * check/Makefile.am:
5194 * check/gst-libs/controller.c:
5195 * libs/gst/controller/gst-controller.c:
5196 (gst_controller_new_valist):
5197 added check test suite for the controller
5198 * gst/base/gstpushsrc.c:
5201 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5203 * docs/gst/Makefile.am:
5204 * docs/gst/gstreamer-docs.sgml:
5205 * docs/gst/gstreamer-sections.txt:
5206 * docs/gst/gstreamer.types:
5207 * docs/gst/tmpl/gstfakesrc.sgml:
5209 * gst/base/gstbasesink.c:
5210 * gst/base/gstbasesink.h:
5211 * gst/base/gstbasesrc.c:
5212 * gst/base/gstbasesrc.h:
5213 * gst/base/gstbasetransform.c:
5214 * gst/base/gstpushsrc.c:
5215 * gst/base/gstpushsrc.h:
5216 add short/long description docs to base classes
5217 add pushsrc to the docs
5218 remove consolidated doc fragments
5220 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5223 * docs/libs/Makefile.am:
5224 * docs/libs/gstreamer-libs-docs.sgml:
5225 * docs/libs/gstreamer-libs-sections.txt:
5226 * docs/libs/gstreamer-libs.types:
5227 * examples/Makefile.am:
5228 * examples/controller/.cvsignore:
5229 * examples/controller/Makefile.am:
5230 * examples/controller/audio-example.c: (main):
5231 * libs/gst/Makefile.am:
5232 * libs/gst/controller/.cvsignore:
5233 * libs/gst/controller/Makefile.am:
5234 * libs/gst/controller/gst-controller.c:
5235 (on_object_controlled_property_changed), (gst_timed_value_compare),
5236 (gst_timed_value_find),
5237 (gst_controlled_property_set_interpolation_mode),
5238 (gst_controlled_property_new), (gst_controlled_property_free),
5239 (gst_controller_find_controlled_property),
5240 (gst_controller_new_valist), (gst_controller_new),
5241 (gst_controller_remove_properties_valist),
5242 (gst_controller_remove_properties), (gst_controller_set),
5243 (gst_controller_set_from_list), (gst_controller_unset),
5244 (gst_controller_get), (gst_controller_get_all),
5245 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5246 (gst_controller_get_value_array),
5247 (gst_controller_set_interpolation_mode),
5248 (_gst_controller_finalize), (_gst_controller_init),
5249 (_gst_controller_class_init), (gst_controller_get_type):
5250 * libs/gst/controller/gst-controller.h:
5251 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5252 (g_object_uncontrol_properties), (g_object_get_controller),
5253 (g_object_set_controller), (g_object_sink_values),
5254 (g_object_get_value_arrays), (g_object_get_value_array):
5255 * libs/gst/controller/gst-interpolation.c:
5256 (gst_controlled_property_find_timed_value_node),
5257 (interpolate_none_get), (interpolate_trigger_get),
5258 (interpolate_trigger_get_value_array):
5259 * libs/gst/controller/lib.c: (gst_controller_init):
5260 * pkgconfig/Makefile.am:
5261 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5262 * pkgconfig/gstreamer-control.pc.in:
5263 * testsuite/Makefile.am:
5264 * testsuite/controller/.cvsignore:
5265 * testsuite/controller/Makefile.am:
5266 * testsuite/controller/interpolator.c: (main):
5267 added controller code
5268 removed dparam pc files
5270 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5271 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5272 (gst_collectpads_stop):
5273 Broadcast the condition when shutting down, to make sure we wake all
5274 threads up. Shut down pads on finalize, for safety.
5276 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5277 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5278 (gst_base_transform_handle_buffer),
5279 (gst_base_transform_change_state):
5280 Handle PAUSED->READY->PAUSED transition after negotiation
5282 * gst/gstmessage.c: (gst_message_init):
5283 Extra piece of debug for new messages.
5285 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5288 * docs/gst/tmpl/gstbasesrc.sgml:
5289 * docs/gst/tmpl/gstelement.sgml:
5290 * docs/gst/tmpl/gstevent.sgml:
5291 * docs/gst/tmpl/gstfakesrc.sgml:
5292 * docs/gst/tmpl/gstformat.sgml:
5293 * docs/gst/tmpl/gstghostpad.sgml:
5294 * docs/gst/tmpl/gstpad.sgml:
5295 * docs/gst/tmpl/gstquery.sgml:
5296 * docs/gst/tmpl/gststructure.sgml:
5297 * docs/gst/tmpl/gsttaglist.sgml:
5298 * docs/gst/tmpl/gstvalue.sgml:
5299 * docs/libs/gstreamer-libs-docs.sgml:
5300 * docs/libs/gstreamer-libs-sections.txt:
5301 * docs/libs/gstreamer-libs.types:
5302 * libs/gst/Makefile.am:
5303 * libs/gst/control/.cvsignore:
5304 * libs/gst/control/Makefile.am:
5305 * libs/gst/control/control.c:
5306 * libs/gst/control/control.h:
5307 * libs/gst/control/dparam.c:
5308 * libs/gst/control/dparam.h:
5309 * libs/gst/control/dparam_smooth.c:
5310 * libs/gst/control/dparam_smooth.h:
5311 * libs/gst/control/dparamcommon.h:
5312 * libs/gst/control/dparammanager.c:
5313 * libs/gst/control/dparammanager.h:
5314 * libs/gst/control/dplinearinterp.c:
5315 * libs/gst/control/dplinearinterp.h:
5316 * libs/gst/control/unitconvert.c:
5317 * libs/gst/control/unitconvert.h:
5318 * testsuite/Makefile.am:
5319 * testsuite/dynparams/.cvsignore:
5320 * testsuite/dynparams/Makefile.am:
5321 * testsuite/dynparams/dparamstest.c:
5322 * tools/Makefile.am:
5323 * tools/gst-inspect.c: (print_element_info), (main):
5324 * tools/gst-xmlinspect.c: (print_element_info), (main):
5325 deactivate and remove dparams (libgstcontrol)
5327 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5329 * gst/elements/gsttypefindelement.c:
5330 (gst_type_find_element_have_type), (gst_type_find_element_init),
5331 (stop_typefinding), (gst_type_find_element_handle_event),
5332 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5333 * gst/elements/gsttypefindelement.h:
5334 Set caps on all outgoing buffers, not just the first one.
5336 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5338 * gst/elements/gsttypefindelement.c:
5339 (gst_type_find_element_have_type),
5340 (gst_type_find_element_check_set_buffer_caps),
5341 (gst_type_find_element_init), (stop_typefinding),
5342 (gst_type_find_element_handle_event),
5343 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5344 * gst/elements/gsttypefindelement.h:
5345 Set caps on first outgoing buffer when we've found the type.
5347 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5349 * docs/gst/gstreamer-docs.sgml:
5350 * docs/gst/gstreamer-sections.txt:
5351 * docs/gst/tmpl/gstscheduler.sgml:
5352 * docs/gst/tmpl/gstschedulerfactory.sgml:
5353 Remove some old cruft from docs.
5355 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5358 Fix inline docs for GstPadLinkReturn.
5360 * gst/gststructure.c: (gst_structure_has_name):
5361 * gst/gststructure.h:
5362 * docs/gst/gstreamer-sections.txt:
5363 New API: gst_structure_has_name().
5365 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5368 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5369 and _LARGEFILE_SOURCE in config.h as required. Do not
5370 export those flags in our .pc files any longer (#142209).
5372 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5374 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5375 (gst_file_sink_do_seek), (gst_file_sink_event),
5376 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5377 Redo seek/tell calls with large file support in mind; add some
5378 debugging messages; add log message that tells us when large
5379 file support is unavailable or not enabled for some reason.
5381 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5382 Add log message that tells us when large file support
5383 is unavailable or not enabled for some reason.
5385 2005-07-29 Wim Taymans <wim@fluendo.com>
5387 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5388 Added test for removing an element with ghostpad from a bin.
5389 Fixed test as current implementation does the right thing.
5391 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5392 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5393 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5394 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5395 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5396 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5397 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5398 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5399 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5400 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5401 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5402 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5403 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5404 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5405 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5406 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5407 * gst/gstghostpad.h:
5408 Clean up ghostpads, remove properties for internal stuff.
5411 Prepare for switching targets, not all use cases work yet.
5413 2005-07-29 Wim Taymans <wim@fluendo.com>
5415 * docs/design/part-gstghostpad.txt:
5418 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5419 (gst_bin_remove_func):
5420 Unlinking pads while holding the bin LOCK is not a good
5423 * gst/gstpad.c: (gst_pad_class_init),
5424 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5425 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5426 No prob setting template after creating the pad.
5428 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5430 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5431 (gst_bus_peek), (gst_bus_source_dispatch),
5432 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5433 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5434 gst_bus_poll may be called from other threads. Handle
5435 this nicely by not making poll_data disappear off the
5436 stack once gst_bus_poll returns.
5437 gst_bus_peek now increments the refcount on the returned
5440 2005-07-29 Wim Taymans <wim@fluendo.com>
5442 * docs/design/part-gstghostpad.txt:
5443 Overview of current GhostPad datastructures and use
5444 cases for changing the target.
5446 2005-07-28 Wim Taymans <wim@fluendo.com>
5448 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5449 Added checks for hierarchy consistency whan adding linked
5452 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5453 Added check to test element scheduling without bin/pipeline.
5455 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5456 First add elements to bin, then link.
5458 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5459 (gst_bin_remove_func):
5460 Unlink pads from elements added/removed from bin to maintain
5461 hierarchy consistency.
5463 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5465 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5466 (gst_base_transform_handle_buffer):
5467 * gst/base/gstbasetransform.h:
5468 Remove broken delay_configure (fixes renegotiation of software
5469 scaling pipelines); remove some leftover printf()s.
5471 2005-07-28 Wim Taymans <wim@fluendo.com>
5473 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5474 Added some more tests for wrong hierarchy
5476 * docs/design/part-overview.txt:
5479 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5482 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5483 (gst_element_dispose):
5486 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5487 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5488 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5489 (gst_pad_set_caps), (gst_pad_send_event):
5490 Check for correct hierarchy when linking pads. Moving to
5491 strict requirement for ghostpads when linking elements in
5495 Clean ups. Added WRONG_HIERARCHY return value.
5497 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5499 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5500 Better debug if no transform is possible.
5502 2005-07-27 Wim Taymans <wim@fluendo.com>
5504 * docs/random/wtay/network-transp:
5507 2005-07-27 Wim Taymans <wim@fluendo.com>
5509 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5510 (gst_dp_event_from_packet):
5511 Fix serialization of seek events.
5513 2005-07-27 Wim Taymans <wim@fluendo.com>
5515 * check/gst-libs/gdp.c: (GST_START_TEST):
5516 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5517 Fix compilation and fix event serialization.
5519 2005-07-27 Wim Taymans <wim@fluendo.com>
5522 * docs/design/part-TODO.txt:
5523 * docs/design/part-events.txt:
5526 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5527 (gst_base_sink_event), (gst_base_sink_do_sync),
5528 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5529 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5530 (gst_base_src_do_seek), (gst_base_src_event_handler),
5531 (gst_base_src_loop):
5532 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5533 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5534 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5535 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5536 (gst_base_transform_set_passthrough),
5537 (gst_base_transform_is_passthrough):
5538 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5539 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5545 * gst/gstelement.c: (gst_element_seek):
5547 Update gst_element_seek.
5549 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5550 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5551 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5552 (gst_event_new_eos), (gst_event_new_newsegment),
5553 (gst_event_parse_newsegment), (gst_event_new_tag),
5554 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5555 (gst_event_parse_qos), (gst_event_new_seek),
5556 (gst_event_parse_seek), (gst_event_new_navigation):
5558 Make GstEvent use GstStructure. Add parsing code, make sure the
5559 API is sufficiently generic.
5560 Mark possible directions of events and serialization.
5562 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5563 (_gst_message_copy), (gst_message_new_segment_start),
5564 (gst_message_new_segment_done), (gst_message_new_custom),
5565 (gst_message_parse_segment_start),
5566 (gst_message_parse_segment_done):
5569 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5570 (gst_pad_set_caps), (gst_pad_send_event):
5571 Update for new events.
5572 Catch events sent in wrong directions.
5574 * gst/gstqueue.c: (gst_queue_link_src),
5575 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5576 (gst_queue_handle_src_query):
5581 Remove event code from this file.
5583 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5584 (gst_dp_event_from_packet):
5587 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5589 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5590 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5591 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5592 Make debugging actually useful.
5594 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5596 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5597 (gst_pad_fixate_caps):
5598 Implement default fixation once again, so that gst_pad_fixate()
5599 actually does anything at all. This probably needs to be some
5600 sort of a last resort, and use profile-based fixation first, but
5601 since that doesn't exist yet, this is the best we have. Fixes
5602 visualization in Totem.
5604 2005-07-22 Wim Taymans <wim@fluendo.com>
5606 * docs/design/part-events.txt:
5609 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5610 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5611 (gst_base_sink_activate_pull):
5614 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5615 (gst_fake_src_create):
5616 Fix handoff marshall.
5618 * gst/elements/gstidentity.c: (gst_identity_class_init),
5619 (gst_identity_transform_ip):
5620 We're a real inplace element.
5622 * gst/gstbus.c: (gst_bus_post):
5623 Added some comments.
5625 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5626 * tests/muxing/case1.c: (main):
5627 * tests/sched/dynamic-pipeline.c: (main):
5628 * tests/sched/interrupt1.c: (main):
5629 * tests/sched/interrupt2.c: (main):
5630 * tests/sched/interrupt3.c: (main):
5631 * tests/sched/runxml.c: (main):
5632 * tests/sched/sched-stress.c: (main):
5633 * tests/seeking/seeking1.c: (event_received), (main):
5634 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5636 * tests/threadstate/threadstate3.c: (main):
5637 * tests/threadstate/threadstate4.c: (main):
5638 * tests/threadstate/threadstate5.c: (main):
5641 2005-07-21 Wim Taymans <wim@fluendo.com>
5643 * docs/design/part-seeking.txt:
5644 Some small additions.
5646 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5647 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5648 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5649 * gst/base/gstbasesink.h:
5650 discont values are gint64, handle the math correctly.
5652 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5653 Make the basesrc report error if the source pad is not linked.
5655 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5656 (gst_queue_loop), (gst_queue_handle_src_query),
5657 (gst_queue_src_activate_push):
5658 Make queue collect data even if the srcpad is not linked.
5659 Start pushing out data as soon as it is linked.
5661 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5663 Added gst_flow_get_name() to ease error reporting.
5665 2005-07-20 Wim Taymans <wim@fluendo.com>
5667 * gst/gstmessage.c: (gst_message_new_segment_start),
5668 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5669 (gst_message_parse_segment_done):
5671 Added a bunch of messages for advanced seeking.
5673 * gst/parse/grammar.y:
5674 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5675 (gst_dpman_state_changed):
5676 Fix some new-pad -> pad-added signals
5678 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5680 * docs/manual/appendix-porting.xml:
5681 * docs/pwg/appendix-porting.xml:
5682 Document new-pad/state-change signal renames and the FixedList
5685 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5687 * docs/manual/advanced-autoplugging.xml:
5688 * docs/manual/basics-helloworld.xml:
5689 * docs/manual/basics-pads.xml:
5690 * docs/random/ds/0.9-suggested-changes:
5691 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5696 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5697 (gst_structure_parse_array), (gst_structure_parse_value):
5698 * gst/gstvalue.c: (gst_type_is_fixed),
5699 (gst_value_list_prepend_value), (gst_value_list_append_value),
5700 (gst_value_list_get_size), (gst_value_list_get_value),
5701 (gst_value_transform_array_string), (gst_value_serialize_array),
5702 (gst_value_deserialize_array), (gst_value_intersect_array),
5703 (gst_value_is_fixed), (_gst_value_initialize):
5705 GstElement::new-pad -> pad-added, GstElement::state-change ->
5706 state-changed, GstValueFixedList -> GstValueArray, add format and
5707 flags as their own arguments in gst_element_seek() (should improve
5708 "bindeability"), remove function generators since they don't work
5709 under a whole bunch of compilers (they were deprecated already
5712 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5714 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5715 (_gst_debug_register_funcptr):
5717 Fix illegal cast on some platforms (#309253).
5719 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5721 * gst/gstmessage.c: (gst_message_new_custom):
5723 Add _new_custom, make _new_application a macro to _new_custom.
5725 2005-07-20 Wim Taymans <wim@fluendo.com>
5727 * gst/base/gstbasesrc.c: (gst_base_src_init),
5728 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5729 * gst/base/gstbasesrc.h:
5730 Add a gboolean to decide when to push out a discont.
5732 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5733 (gst_queue_loop), (gst_queue_handle_src_query),
5734 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5735 (gst_queue_set_property), (gst_queue_get_property):
5738 * tests/threadstate/threadstate1.c: (main):
5739 Make a thread test compile and run... very silly..
5742 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5744 * docs/manual/appendix-porting.xml:
5745 Mention removal of libgstgconf-0.9.la and existence of gconf
5748 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5750 * docs/pwg/advanced-clock.xml:
5751 * docs/pwg/appendix-porting.xml:
5752 * docs/pwg/intro-preface.xml:
5753 * docs/pwg/other-base.xml:
5754 * docs/pwg/other-manager.xml:
5755 * docs/pwg/other-nton.xml:
5756 * docs/pwg/other-ntoone.xml:
5757 * docs/pwg/other-oneton.xml:
5759 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5760 demuxer), remove n-to-n (was never written), fix some code examples
5761 and links and update the porting section to include all this.
5763 2005-07-19 Wim Taymans <wim@fluendo.com>
5765 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5766 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5767 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5768 (gst_queue_src_activate_push), (gst_queue_change_state),
5769 (gst_queue_get_property):
5771 Propagate GstFlowReturn more intelligently upstream and output
5772 an ERROR/EOS when streaming stopped due to fatal error.
5774 2005-07-19 Wim Taymans <wim@fluendo.com>
5776 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5777 Don't block forever for the state change to complete, the
5778 pipeline already did with a sensible timeout.
5780 2005-07-19 Wim Taymans <wim@fluendo.com>
5782 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5783 Make sure we never call the create function is we
5786 2005-07-19 Andy Wingo <wingo@pobox.com>
5788 * gst/parse/parse.l: Attempt to solve bug #172815.
5790 2005-07-19 Wim Taymans <wim@fluendo.com>
5792 * docs/design/part-clocks.txt:
5793 * docs/design/part-events.txt:
5794 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5796 Only update the seeking values when we are not
5799 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5801 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5802 Oops, ignore the result of gst_pad_push_event here.
5804 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5806 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5807 (gst_base_src_activate_push):
5808 Send discont event from the loop function, as pads
5809 aren't activated yet in the activate_push handler.
5811 * gst/gstbin.c: (bin_bus_handler):
5812 Don't leak element name.
5814 2005-07-18 Andy Wingo <wingo@pobox.com>
5816 * configure.ac: Use AS_LIBTOOL_TAGS.
5818 2005-07-18 Wim Taymans <wim@fluendo.com>
5820 * docs/gst/gstreamer.types:
5821 Remove deleted types.
5823 2005-07-18 Wim Taymans <wim@fluendo.com>
5825 * check/elements/gstfakesrc.c: (GST_START_TEST):
5828 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
5829 (init_popt_callback):
5831 * gst/gst_private.h:
5832 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
5833 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
5836 * gst/gstconfig.h.in:
5837 * gst/gstelement.c: (gst_element_class_init),
5838 (gst_element_set_base_time), (gst_element_get_base_time),
5839 (iterator_fold_with_resync), (gst_element_change_state),
5840 (gst_element_dispose), (gst_element_get_bus):
5842 * gst/gstelementfactory.h:
5843 * gst/gsterror.c: (_gst_core_errors_init):
5846 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5848 * gst/gstinfo.c: (_gst_debug_init):
5849 * gst/gstmessage.c: (_gst_message_copy):
5851 * gst/gstminiobject.h:
5854 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5855 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
5858 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5859 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5860 (gst_pipeline_get_last_stream_time):
5861 * gst/gstpipeline.h:
5862 * gst/gstpluginfeature.h:
5864 * gst/gstscheduler.c:
5865 * gst/gstscheduler.h:
5866 * gst/gststructure.h:
5867 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
5868 (gst_task_finalize), (gst_task_func), (gst_task_create),
5869 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
5870 (gst_task_stop), (gst_task_pause):
5872 * gst/gsttypefind.h:
5874 * gst/registries/gstlibxmlregistry.c: (load_feature),
5875 (gst_xml_registry_load), (gst_xml_registry_save_feature):
5876 * gst/registries/gstxmlregistry.c:
5877 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
5878 * gst/schedulers/threadscheduler.c:
5879 * libs/gst/control/dparammanager.h:
5880 * tools/gst-inspect.c: (print_element_list),
5881 (print_plugin_features), (print_element_features):
5882 * tools/gst-xmlinspect.c: (print_element_list),
5883 (print_plugin_info), (main):
5884 Removed plugable schedulers.
5885 Removed Scheduler/Manager from elements.
5886 Removed gsttypes.h, rearranged includes.
5887 Removed dependency pad<->element, element<>pipeline, and
5888 various others, fix includes.
5889 implement gst_pad_get_parent() with gst_object_get_parent()
5890 Make GstTask sefcontained.
5891 Fix _get_state() on GstBin, it did not return ASYNC with a 0
5893 Fix endless loop in iterator_fold_with_resync.
5896 2005-07-18 Wim Taymans <wim@fluendo.com>
5902 2005-07-18 Wim Taymans <wim@fluendo.com>
5907 2005-07-18 Wim Taymans <wim@fluendo.com>
5913 2005-07-18 Wim Taymans <wim@fluendo.com>
5915 * docs/design/part-dynamic.txt:
5916 * docs/design/part-events.txt:
5917 * docs/design/part-seeking.txt:
5918 Some more docs in the works.
5920 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5921 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
5922 (gst_base_transform_setcaps), (gst_base_transform_get_size),
5923 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5924 (gst_base_transform_handle_buffer),
5925 (gst_base_transform_sink_activate_push),
5926 (gst_base_transform_src_activate_pull),
5927 (gst_base_transform_set_passthrough),
5928 (gst_base_transform_is_passthrough):
5931 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
5934 * gst/gstevent.c: (gst_event_finalize):
5937 * gst/gstutils.c: (gst_element_unlink),
5938 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
5939 (gst_pad_proxy_setcaps):
5941 Add _get_parent_element() to get a pads parent as an element.
5943 2005-07-18 Wim Taymans <wim@fluendo.com>
5945 * check/gst/gstbin.c: (GST_START_TEST):
5948 2005-07-18 Wim Taymans <wim@fluendo.com>
5950 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5951 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5952 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5953 (gst_base_sink_event), (gst_base_sink_do_sync),
5954 (gst_base_sink_chain), (gst_base_sink_loop),
5955 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
5956 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5958 Fix logic for returning ASYNC when not prerolled.
5960 2005-07-18 Wim Taymans <wim@fluendo.com>
5962 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5963 Fix nasty refcount bug.
5965 2005-07-16 Philippe Khalaf <burger@speedy.org>
5967 * gst/elements/gstfdsrc.c:
5968 * gst/elements/gstfdsrc.h:
5969 * gst/elements/gstelements.c:
5970 * gst/elements/Makefile.am:
5971 Ported fdsrc to 0.9.
5973 2005-07-16 Wim Taymans <wim@fluendo.com>
5975 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5976 (gst_base_sink_do_sync):
5979 2005-07-16 Wim Taymans <wim@fluendo.com>
5981 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5982 (gst_base_sink_event), (gst_base_sink_get_times),
5983 (gst_base_sink_do_sync), (gst_base_sink_change_state):
5984 * gst/base/gstbasesink.h:
5985 Store and use discont values when syncing buffers as described
5988 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5989 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
5990 (gst_base_src_activate_push):
5991 Push discont event when starting.
5993 * gst/elements/gstidentity.c: (gst_identity_transform):
5996 * gst/gstbin.c: (gst_bin_change_state):
5997 Small cleanups in base_time distribution.
5999 * gst/gstelement.c: (gst_element_set_base_time),
6000 (gst_element_get_base_time), (gst_element_change_state):
6002 Added methods for the base_time of the element.
6005 * gst/gstpipeline.c: (gst_pipeline_send_event),
6006 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6007 (gst_pipeline_get_last_stream_time):
6008 * gst/gstpipeline.h:
6010 Handle seeking as described in design doc, remove stream_time
6012 Cleanups clock and stream_time selection code. Added accessors
6013 for the stream_time.
6016 2005-07-16 Andy Wingo <wingo@pobox.com>
6018 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6021 2005-07-16 Wim Taymans <wim@fluendo.com>
6023 * check/gst/gstbin.c: (GST_START_TEST):
6024 Make elements silent as the deep_notify refs the
6025 parent, which might make the test fail.
6027 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6028 Don't hold the lock for too long.
6030 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6032 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6033 Don't unref the caps we passed to gst_caps_make_writable() after
6034 passing them. gst_caps_make_writable() will do that for us.
6036 2005-07-15 Andy Wingo <wingo@pobox.com>
6038 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6041 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6042 own marshalling function for the handoff signal. Properly type the
6043 buffer as a buffer. Fixes some warnings. Should do a more general
6045 (gst_identity_class_init): Plug into the right marshaller.
6047 2005-07-15 Wim Taymans <wim@fluendo.com>
6049 * docs/design/part-TODO.txt:
6050 * docs/design/part-clocks.txt:
6051 * docs/design/part-element-sink.txt:
6052 * docs/design/part-events.txt:
6053 * docs/design/part-gstpipeline.txt:
6054 Updated docs, mostly DISCONT related.
6056 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6058 * docs/pwg/building-pads.xml:
6059 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6061 2005-07-15 Andy Wingo <wingo@pobox.com>
6063 * tools/gst-typefind.c: Update, add copyright block.
6065 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6066 Normalize and truncate caps before fixation.
6069 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6070 discards all but the first structure from its argument.
6072 2005-07-15 Wim Taymans <wim@fluendo.com>
6074 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6075 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6076 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6077 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6078 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6079 (gst_base_transform_chain), (gst_base_transform_change_state),
6080 (gst_base_transform_set_passthrough),
6081 (gst_base_transform_is_passthrough):
6082 * gst/base/gstbasetransform.h:
6083 Make passthrough work using the bufferpools.
6084 Changed API a bit, subclasses have to write into a buffer
6085 provided by the base class.
6086 More debug info in nego functions.
6088 * gst/elements/gstidentity.c: (gst_identity_init),
6089 (gst_identity_transform):
6090 Port to new base class.
6092 2005-07-15 Wim Taymans <wim@fluendo.com>
6094 * gst/gstmessage.c: (gst_message_new_state_changed):
6095 * tools/gst-launch.c: (event_loop), (main):
6096 Totally dump messages in -launch with the -m option.
6097 Fix message name for State messages,
6099 2005-07-14 Wim Taymans <wim@fluendo.com>
6101 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6102 Post error messages on errors.
6104 2005-07-14 Wim Taymans <wim@fluendo.com>
6106 * gst/gstcaps.c: (gst_caps_do_simplify):
6110 Define error for stream stopped.
6112 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6113 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6114 Do proper return values.
6116 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6117 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6118 (gst_pad_get_range):
6119 Better return values.
6122 Reorganise return values, add macro to check for fatal errors.
6124 * gst/gstqueue.c: (gst_queue_chain):
6125 Return proper GstFlowReturn values,
6127 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6129 * docs/gst/gstreamer-sections.txt:
6130 * docs/gst/gstreamer.types:
6131 * docs/gst/tmpl/gst.sgml:
6132 * docs/gst/tmpl/gstbasesink.sgml:
6133 * docs/gst/tmpl/gstbasesrc.sgml:
6134 * docs/gst/tmpl/gstbasetransform.sgml:
6135 * docs/gst/tmpl/gstbin.sgml:
6136 * docs/gst/tmpl/gstbuffer.sgml:
6137 * docs/gst/tmpl/gstcaps.sgml:
6138 * docs/gst/tmpl/gstclock.sgml:
6139 * docs/gst/tmpl/gstcompat.sgml:
6140 * docs/gst/tmpl/gstconfig.sgml:
6141 * docs/gst/tmpl/gstelement.sgml:
6142 * docs/gst/tmpl/gstelementdetails.sgml:
6143 * docs/gst/tmpl/gstelementfactory.sgml:
6144 * docs/gst/tmpl/gstenumtypes.sgml:
6145 * docs/gst/tmpl/gsterror.sgml:
6146 * docs/gst/tmpl/gstevent.sgml:
6147 * docs/gst/tmpl/gstfakesink.sgml:
6148 * docs/gst/tmpl/gstfakesrc.sgml:
6149 * docs/gst/tmpl/gstfilesink.sgml:
6150 * docs/gst/tmpl/gstfilesrc.sgml:
6151 * docs/gst/tmpl/gstfilter.sgml:
6152 * docs/gst/tmpl/gstformat.sgml:
6153 * docs/gst/tmpl/gstghostpad.sgml:
6154 * docs/gst/tmpl/gstimplementsinterface.sgml:
6155 * docs/gst/tmpl/gstindex.sgml:
6156 * docs/gst/tmpl/gstindexfactory.sgml:
6157 * docs/gst/tmpl/gstinfo.sgml:
6158 * docs/gst/tmpl/gstiterator.sgml:
6159 * docs/gst/tmpl/gstmacros.sgml:
6160 * docs/gst/tmpl/gstmemchunk.sgml:
6161 * docs/gst/tmpl/gstminiobject.sgml:
6162 * docs/gst/tmpl/gstobject.sgml:
6163 * docs/gst/tmpl/gstpad.sgml:
6164 * docs/gst/tmpl/gstpadtemplate.sgml:
6165 * docs/gst/tmpl/gstparse.sgml:
6166 * docs/gst/tmpl/gstpipeline.sgml:
6167 * docs/gst/tmpl/gstplugin.sgml:
6168 * docs/gst/tmpl/gstpluginfeature.sgml:
6169 * docs/gst/tmpl/gstquery.sgml:
6170 * docs/gst/tmpl/gstqueue.sgml:
6171 * docs/gst/tmpl/gstregistry.sgml:
6172 * docs/gst/tmpl/gstregistrypool.sgml:
6173 * docs/gst/tmpl/gstscheduler.sgml:
6174 * docs/gst/tmpl/gstschedulerfactory.sgml:
6175 * docs/gst/tmpl/gststructure.sgml:
6176 * docs/gst/tmpl/gstsystemclock.sgml:
6177 * docs/gst/tmpl/gsttaglist.sgml:
6178 * docs/gst/tmpl/gsttagsetter.sgml:
6179 * docs/gst/tmpl/gsttrace.sgml:
6180 * docs/gst/tmpl/gsttrashstack.sgml:
6181 * docs/gst/tmpl/gsttypefind.sgml:
6182 * docs/gst/tmpl/gsttypefindfactory.sgml:
6183 * docs/gst/tmpl/gsttypes.sgml:
6184 * docs/gst/tmpl/gsturihandler.sgml:
6185 * docs/gst/tmpl/gsturitype.sgml:
6186 * docs/gst/tmpl/gstutils.sgml:
6187 * docs/gst/tmpl/gstvalue.sgml:
6188 * docs/gst/tmpl/gstversion.sgml:
6189 * docs/gst/tmpl/gstxml.sgml:
6190 * docs/libs/tmpl/gstcontrol.sgml:
6191 * docs/libs/tmpl/gstdataprotocol.sgml:
6192 * docs/libs/tmpl/gstdparam.sgml:
6193 * docs/libs/tmpl/gstdplinint.sgml:
6194 * docs/libs/tmpl/gstdpman.sgml:
6195 * docs/libs/tmpl/gstdpsmooth.sgml:
6196 * docs/libs/tmpl/gstgetbits.sgml:
6197 * docs/libs/tmpl/gstunitconvert.sgml:
6198 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6199 (gst_push_src_base_init), (gst_push_src_class_init),
6200 (gst_push_src_init), (gst_push_src_create):
6201 * gst/base/gstpushsrc.h:
6202 * gst/elements/gstelements.c:
6203 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6204 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6205 (gst_fake_sink_init), (gst_fake_sink_set_property),
6206 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6207 (gst_fake_sink_event), (gst_fake_sink_preroll),
6208 (gst_fake_sink_render), (gst_fake_sink_change_state):
6209 * gst/elements/gstfakesink.h:
6210 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6211 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6212 (gst_fake_src_base_init), (gst_fake_src_class_init),
6213 (gst_fake_src_init), (gst_fake_src_event_handler),
6214 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6215 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6216 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6217 (gst_fake_src_create_buffer), (gst_fake_src_create),
6218 (gst_fake_src_start), (gst_fake_src_stop):
6219 * gst/elements/gstfakesrc.h:
6220 * gst/elements/gstfilesink.c: (_do_init),
6221 (gst_file_sink_base_init), (gst_file_sink_class_init),
6222 (gst_file_sink_init), (gst_file_sink_dispose),
6223 (gst_file_sink_set_location), (gst_file_sink_set_property),
6224 (gst_file_sink_get_property), (gst_file_sink_open_file),
6225 (gst_file_sink_close_file), (gst_file_sink_query),
6226 (gst_file_sink_event), (gst_file_sink_render),
6227 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6228 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6229 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6230 * gst/elements/gstfilesink.h:
6231 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6232 (gst_file_src_class_init), (gst_file_src_init),
6233 (gst_file_src_finalize), (gst_file_src_set_location),
6234 (gst_file_src_set_property), (gst_file_src_get_property),
6235 (gst_file_src_map_region), (gst_file_src_map_small_region),
6236 (gst_file_src_create_mmap), (gst_file_src_create_read),
6237 (gst_file_src_create), (gst_file_src_is_seekable),
6238 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6239 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6240 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6241 (gst_file_src_uri_handler_init):
6242 * gst/elements/gstfilesrc.h:
6243 more autistic cleanliness in functions/names/defines
6245 2005-07-13 Andy Wingo <wingo@pobox.com>
6247 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6248 source couldn't negotiate.
6250 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6254 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6255 function. I am channeling Hades. Put your boots on suckers!!!
6257 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6259 * testsuite/caps/Makefile.am:
6260 * testsuite/caps/value_compare.c:
6261 * testsuite/caps/value_intersect.c:
6262 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6263 move two testsuite apps over to the check dir
6265 2005-07-12 Wim Taymans <wim@fluendo.com>
6267 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6268 Added more debug info in the negotiate process.
6271 Prepare for segment playback.
6273 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6279 * tools/gst-launch.c: (main):
6280 NULL pipeline on errors.
6282 2005-07-12 Andy Wingo <wingo@pobox.com>
6284 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6285 not it comes from a malloc region. Make sure our copy gets freed.
6287 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6289 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6290 * check/gst/gstmessage.c: (GST_START_TEST):
6291 * check/gst/gststructure.c: (GST_START_TEST),
6292 (gst_structure_suite), (main):
6294 * gst/gstelement.c: (gst_element_message_full):
6295 clean up GError and debug string now that they get copied
6296 * gst/gstmessage.c: (gst_message_new_error),
6297 (gst_message_new_warning), (gst_message_parse_error),
6298 (gst_message_parse_warning):
6299 use GST_TYPE_G_ERROR for structure_new, and take copies of
6300 arguments, so that we don't mess up refcounting
6302 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6304 * check/Makefile.am:
6305 add per-test valgrind targets
6306 * check/gst-libs/gdp.c: (GST_START_TEST),
6307 (gst_data_protocol_suite), (main):
6310 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6312 * check/Makefile.am:
6313 instate more valgrindable tests
6314 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6315 (GST_START_TEST), (fakesrc_suite):
6316 * check/gst/gstpad.c: (GST_START_TEST):
6317 * check/gst/gststructure.c: (GST_START_TEST):
6319 * docs/gst/tmpl/gstminiobject.sgml:
6320 * gst/gstpad.c: (gst_pad_finalize):
6321 fix the static mutex leak
6323 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6325 * check/Makefile.am:
6326 add two more tests for valgrinding
6327 * check/gst/gstvalue.c: (GST_START_TEST):
6328 test refcount of deserialized buffer, found a leak
6329 * docs/gst/gstreamer-docs.sgml:
6330 * docs/gst/gstreamer-sections.txt:
6331 * docs/gst/gstreamer.types:
6332 * docs/gst/tmpl/gstminiobject.sgml:
6333 add miniobject to docs
6334 * gst/gstminiobject.c:
6336 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6337 (gst_string_unwrap):
6338 fix a hard-to-find invalid write for one of the tests
6339 fix a leak for deserialized buffers
6341 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6343 * docs/pwg/advanced-events.xml:
6344 * docs/pwg/advanced-request.xml:
6345 * docs/pwg/advanced-scheduling.xml:
6346 * docs/pwg/appendix-porting.xml:
6347 * docs/pwg/building-boiler.xml:
6348 * docs/pwg/intro-preface.xml:
6349 * docs/pwg/other-ntoone.xml:
6350 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6351 of example code and explanation for pad activation, loop() and
6352 getrange() functions and a bit more. Remove old comments pointing
6354 * examples/pwg/Makefile.am:
6355 Add loop/getrange examples.
6357 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6360 check for valgrind binary + some fixes
6362 valgrind suppressions for the tests
6363 * check/Makefile.am:
6364 add a valgrind: target that valgrinds the unit tests
6365 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6366 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6367 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6368 * check/gst/gstghostpad.c:
6370 * check/gst/gstdata.c:
6372 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6373 (thread_unref), (gst_mini_object_suite), (main):
6375 * gst/gst.c: (gst_deinit):
6377 add a method to clean up.
6378 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6379 (gst_system_clock_obtain):
6380 allow for disposing the system clock.
6381 * tools/gst-launch.c: (main):
6384 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6386 * docs/gst/tmpl/gstbasesrc.sgml:
6387 * docs/gst/tmpl/gstfakesrc.sgml:
6388 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6389 (gst_base_src_init), (gst_base_src_set_property),
6390 (gst_base_src_get_property), (gst_base_src_get_range),
6391 (gst_base_src_start):
6392 * gst/base/gstbasesrc.h:
6393 add num-buffers property
6394 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6395 (gst_fakesrc_init), (gst_fakesrc_set_property),
6396 (gst_fakesrc_get_property), (gst_fakesrc_create),
6397 (gst_fakesrc_start):
6398 remove num-buffers property
6400 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6402 * docs/gst/gstreamer-sections.txt:
6403 * docs/gst/tmpl/gstbasesink.sgml:
6404 * docs/gst/tmpl/gstbasesrc.sgml:
6405 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6406 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6407 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6408 (gst_base_sink_set_property), (gst_base_sink_get_property),
6409 (gst_base_sink_handle_object), (gst_base_sink_event),
6410 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6411 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6412 (gst_base_sink_loop), (gst_base_sink_deactivate),
6413 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6414 (gst_base_sink_change_state):
6415 * gst/base/gstbasesink.h:
6416 * gst/base/gstbasesrc.h:
6417 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6418 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6419 (gst_filesink_init):
6420 more macro splitting
6422 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6424 * gst/gstelement.c: (gst_element_get_bus):
6426 * tools/gst-launch.c: (check_intr), (event_loop):
6429 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6431 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6434 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6436 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6437 (gst_base_src_finalize):
6438 add finalize method and clean up properly
6439 * gst/gstpipeline.c: (gst_pipeline_dispose):
6442 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6444 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6446 add more things to check
6447 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6451 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6453 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6454 (GST_START_TEST), (fakesrc_suite):
6455 * check/gst-libs/gdp.c: (GST_START_TEST):
6456 * check/gst/gst.c: (GST_START_TEST):
6457 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6458 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6459 * check/gst/gstbus.c: (GST_START_TEST):
6460 * check/gst/gstcaps.c: (GST_START_TEST):
6461 * check/gst/gstdata.c: (GST_START_TEST):
6462 * check/gst/gstelement.c: (GST_START_TEST):
6463 * check/gst/gstghostpad.c: (GST_START_TEST):
6464 * check/gst/gstiterator.c: (GST_START_TEST):
6465 * check/gst/gstmessage.c: (GST_START_TEST):
6466 * check/gst/gstobject.c: (GST_START_TEST):
6467 * check/gst/gstpad.c: (GST_START_TEST):
6468 * check/gst/gststructure.c: (GST_START_TEST):
6469 * check/gst/gstsystemclock.c: (GST_START_TEST),
6470 (gst_systemclock_suite):
6471 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6472 * check/gst/gstvalue.c: (GST_START_TEST):
6473 * check/pipelines/cleanup.c: (GST_START_TEST):
6474 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6475 * check/states/sinks.c: (GST_START_TEST):
6476 * check/gstcheck.c: (gst_check_init):
6478 add debugging category
6479 use GST_START_TEST now, so we add a debug line
6481 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6483 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6484 add test for state change message on a bin
6485 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6487 * gst/gstbin.c: (gst_bin_init):
6488 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6489 * gst/gstelement.c: (gst_element_post_message),
6490 (gst_element_set_state):
6491 * gst/gstelementfactory.c: (gst_element_factory_create):
6492 * gst/gstmessage.c: (gst_message_new):
6493 * gst/gstscheduler.c:
6494 various debugging additions and cleanups
6496 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6498 * check/Makefile.am:
6499 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6501 adding tests for elements
6502 * gst/gstelement.c: (gst_element_dispose):
6504 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6506 * gst/registries/gstlibxmlregistry.c: (load_feature):
6507 plug more leaks. A simple gst_init() now is leakfree, yay.
6509 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6511 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6512 (gst_xml_registry_load):
6513 plug another memleak
6515 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6518 use GST_SET_ERROR_CFLAGS
6520 change to ERROR_CFLAGS
6522 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6525 make GST_ERROR_CFLAGS overridable and re-enable Werror
6527 add a note about error CFLAGS
6528 * docs/gst/tmpl/gstfakesrc.sgml:
6529 * gst/elements/gstfakesrc.c:
6530 comment out some unused code
6531 * gst/gst.c: (split_and_iterate):
6532 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6536 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6538 * common/Makefile.am:
6539 * common/gtk-doc.mak:
6540 * docs/gst/Makefile.am:
6541 factor out gtk-doc.mak
6543 2005-07-07 Wim Taymans <wim@fluendo.com>
6545 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6546 (gst_thread_scheduler_dispose):
6547 Unlock the STREAM_LOCK completely.
6549 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6551 * check/Makefile.am:
6552 * check/elements/.cvsignore:
6553 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6554 (START_TEST), (fakesrc_suite), (main):
6555 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6556 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6557 (gst_fakesrc_create), (gst_fakesrc_start):
6558 * gst/elements/gstfakesrc.h:
6559 adding a first element test
6561 2005-07-07 Andy Wingo <wingo@pobox.com>
6563 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6566 2005-07-07 Wim Taymans <wim@fluendo.com>
6572 2005-07-07 Wim Taymans <wim@fluendo.com>
6574 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6575 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6576 Allow subclasses to implement their own negotiation.
6578 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6580 * docs/design/part-gstbin.txt:
6581 * docs/design/part-gstpipeline.txt:
6582 Update design notes to reflect the movement of
6583 responsibility for bus handling from GstPipeline to
6586 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6589 Remove unnecessary queue2/3/4 examples.
6591 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6593 * examples/Makefile.am:
6594 * examples/helloworld/helloworld.c: (event_loop), (main):
6595 * examples/queue/queue.c: (event_loop), (main):
6596 * examples/queue2/queue2.c: (main):
6597 Update a couple of the examples to work again.
6599 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6600 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6601 Spelling corrections and extra debug.
6603 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6604 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6605 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6607 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6608 (gst_pipeline_change_state):
6609 * gst/gstpipeline.h:
6610 Move the bus handler for children to the GstBin, and create a
6611 separate bus for receiving messages from children to the one the
6612 bus sends 'upwards' on.
6614 2005-07-06 Wim Taymans <wim@fluendo.com>
6617 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6618 (gst_base_sink_handle_object), (gst_base_sink_loop),
6619 (gst_base_sink_change_state):
6620 * gst/base/gstbasesink.h:
6621 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6622 (gst_base_src_init), (gst_base_src_setcaps),
6623 (gst_base_src_getcaps), (gst_base_src_loop),
6624 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6625 (gst_base_src_start), (gst_base_src_change_state):
6626 * gst/base/gstbasesrc.h:
6627 Make basesrc negotiate.
6628 Handle the case where preroll fails in basesink.
6631 2005-07-06 Wim Taymans <wim@fluendo.com>
6633 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6634 Implement the fixate function.
6635 Clean up acceptcaps.
6637 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6639 * docs/pwg/building-filterfactory.xml:
6641 Remove never-written filter-factory chapter; I'll add the various
6642 base classes to part 4 ("other element types") later on.
6644 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6646 * docs/pwg/advanced-negotiation.xml:
6647 * docs/pwg/building-boiler.xml:
6648 * docs/pwg/building-pads.xml:
6650 * examples/pwg/Makefile.am:
6651 Add a chapter on caps negotiation, simplify the original code
6652 samples a bit w.r.t. caps negotiation, add link to the advanced
6653 section. Add a bunch of examples showing different use cases of
6654 different types of caps negotiation. Upstream renegotiation isn't
6655 fully documented yet since nobody knows how that works.
6657 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6659 * check/gst/gstpad.c:
6661 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6662 if pad has no parent, return NULL as list of internal links
6664 2005-07-05 Andy Wingo <wingo@pobox.com>
6666 * gst/elements/gstfilesrc.c:
6667 * gst/elements/gstfakesrc.c:
6668 * gst/base/gstpushsrc.c:
6669 * gst/base/gstbasesrc.h:
6670 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6672 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6675 better report generation target (lcov needs a patch)
6677 2005-07-05 Andy Wingo <wingo@pobox.com>
6679 * gst/elements, testsuite: Null if we got it...
6681 2005-07-05 Wim Taymans <wim@fluendo.com>
6684 * libs/gst/dataprotocol/Makefile.am:
6685 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6686 * libs/gst/dataprotocol/dataprotocol.h:
6687 * pkgconfig/Makefile.am:
6688 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6689 * pkgconfig/gstreamer-dataprotocol.pc.in:
6690 Ported dataprotol to 0.9.
6691 Added pkgconfig files.
6693 2005-07-05 Andy Wingo <wingo@pobox.com>
6695 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6696 Default to returning TRUE for the case when tranform_caps returns
6697 a fixed caps, like for identity or volume.
6699 * check/gst/gstbus.c (pound_bus_with_messages):
6700 * check/gst/gstmessage.c (START_TEST):
6701 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6704 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6705 logic weaks here: always run transform_caps, trying passthrough
6706 operation only if the original caps intersects with the transform.
6708 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6709 source and sink caps.
6711 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6712 Intersect the peer caps with the pad template before going into
6714 (gst_base_transform_transform_caps): More debugging.
6716 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6719 2005-07-04 Edward Hervey <edward@fluendo.com>
6723 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6726 2005-07-04 Andy Wingo <wingo@pobox.com>
6728 * check/gst/gstpad.c: Only set explicit caps on pads.
6730 2005-07-01 Andy Wingo <wingo@pobox.com>
6732 * tests/network-clock.scm: Commentary update.
6734 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6735 Didn't really make sense, not implementable with basetransform,
6737 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6738 attempt at implementing the sync property, needs an unlock method.
6740 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6741 New func, by default returns the same caps (the identity
6743 (gst_base_transform_getcaps): Uses transform_caps to return
6745 (gst_base_transform_setcaps): Complicated logic to get caps on
6746 both pads, even if they are different, and to call set_caps once
6747 for every time both pads get their caps set.
6748 (gst_base_transform_handle_buffer): Give the ref to the transform
6749 function. Allows in-place modification of the buffer.
6751 * gst/base/gstbasetransform.h (transform_caps): New class method.
6752 Given caps on one side, what can I do on the other.
6753 (set_caps): Take two caps, one for each side of the element.
6756 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6757 caps in place. This is safe because we can check the mutability of
6758 the caps, and a good idea because fixate functions are just called
6759 as a matter of last resort. (Not actually implemented.)
6760 (gst_pad_set_caps): If the caps we're setting is actually the same
6761 as the existing pad caps, just update the pointer without calling
6762 setcaps. Assert that caps is either NULL or fixed, as per the
6765 * gst/gstghostpad.c: Update for fixate changes.
6767 2005-07-02 Andy Wingo <wingo@pobox.com>
6770 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6771 two refcounts makes it immutable, which is enough. Doc more.
6773 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6775 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6776 Put the mini_object into GValue as a mini_object,
6777 not a gpointer, since that's how we declared
6780 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6782 * examples/pwg/Makefile.am:
6785 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6787 * docs/pwg/building-testapp.xml:
6789 * examples/pwg/Makefile.am:
6792 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6795 * examples/Makefile.am:
6796 * examples/pwg/Makefile.am:
6797 * examples/pwg/extract.pl:
6798 Enable building the PWG examples.
6799 * docs/pwg/advanced-interfaces.xml:
6800 Add URI interface stub.
6801 * docs/pwg/advanced-types.xml:
6802 * docs/pwg/other-autoplugger.xml:
6803 * docs/pwg/appendix-porting.xml:
6805 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6806 * docs/pwg/building-boiler.xml:
6807 * docs/pwg/building-chainfn.xml:
6808 * docs/pwg/building-pads.xml:
6809 * docs/pwg/building-props.xml:
6810 * docs/pwg/building-state.xml:
6811 * docs/pwg/building-testapp.xml:
6812 Update the building-*.xml parts for 0.9 changes. All examples
6813 code blocks compile in examples/pwg/*.
6815 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6817 * docs/manual/advanced-autoplugging.xml:
6818 * docs/manual/appendix-checklist.xml:
6819 * docs/manual/appendix-integration.xml:
6820 * docs/manual/highlevel-components.xml:
6821 Fix playbin/decodebin examples, update docs a bit, mention bus
6822 instead of signals in various places, mention kmplayer and
6823 kaffeine since they have a working GStreamer backend in the KDE
6826 2005-06-30 Wim Taymans <wim@fluendo.com>
6829 * docs/design/draft-ghostpads.txt:
6830 * docs/design/draft-push-pull.txt:
6831 * docs/design/draft-query.txt:
6832 * docs/design/part-TODO.txt:
6833 * docs/design/part-query.txt:
6834 Added CHANGES-0.9 doc, updated status of other docs.
6839 2005-06-30 Wim Taymans <wim@fluendo.com>
6841 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6842 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6843 (gst_base_sink_change_state):
6844 * gst/base/gstbasesink.h:
6845 Some tweaks, only EOS and a buffer complete a preroll.
6847 2005-06-30 Andy Wingo <wingo@pobox.com>
6849 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
6850 activate_push down to the internal pad as well.
6852 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
6854 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6856 * gst/gsttaginterface.c:
6857 Some documentation fixes (#307394 and #307397).
6859 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
6861 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6863 * gst/gstvalue.c: (gst_value_intersect_list):
6864 Fix memleak (#309125).
6866 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6868 * docs/manual/advanced-dataaccess.xml:
6869 Fix fakesrc example to compile; doesn't work, bug somewhere...?
6870 * docs/manual/basics-pads.xml:
6871 Add reference for filtered caps to above chapter.
6873 2005-06-30 Wim Taymans <wim@fluendo.com>
6875 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
6876 (gst_bin_change_state):
6878 Lame attempt at making the state change function a bit
6881 2005-06-30 Wim Taymans <wim@fluendo.com>
6883 * docs/design/part-clocks.txt:
6884 * docs/design/part-element-sink.txt:
6885 * docs/design/part-events.txt:
6886 * docs/design/part-preroll.txt:
6887 * docs/design/part-states.txt:
6888 Some more tweeks and additions to the docs.
6890 2005-06-30 Wim Taymans <wim@fluendo.com>
6892 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6893 (default_have_data), (gst_pad_class_init), (gst_pad_init),
6894 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6895 (gst_pad_check_pull_range), (gst_pad_get_range),
6896 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
6898 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
6899 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6900 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6901 (gst_pad_remove_buffer_probe):
6902 Removed atomic operations, use existing LOCK.
6903 Move exception handling out of main code path.
6905 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6907 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6908 (silly_return_true_function), (gst_pad_class_init),
6909 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6910 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
6911 (gst_pad_send_event):
6912 Fix accumulator, add default value by using _emitv() instead
6913 of _emit() for signal emission.
6915 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6917 * docs/manual/advanced-dataaccess.xml:
6918 * examples/manual/Makefile.am:
6920 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
6923 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
6925 * gst/elements/gstfilesink.c: (gst_filesink_render):
6926 Simplify code so that we don't have to handle short
6927 writes and return GST_FLOW_ERROR if an error occured.
6929 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6931 * docs/gst/gstreamer-docs.sgml:
6934 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6936 * docs/gst/gstreamer-sections.txt:
6937 * docs/gst/tmpl/gstpad.sgml:
6938 * docs/gst/tmpl/gstprobe.sgml:
6940 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6941 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
6942 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6943 (gst_pad_push_event), (gst_pad_send_event):
6945 * gst/gstutils.c: (gst_pad_add_data_probe),
6946 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6947 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6948 (gst_pad_remove_buffer_probe):
6950 Remove old probes, add new g-signal-based probes and some utility
6953 2005-06-29 Edward Hervey <edward@fluendo.com>
6955 * gst/gstelementfactory.c:
6958 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
6959 the definition to the header file.
6961 2005-06-29 Andy Wingo <wingo@pobox.com>
6963 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
6964 plugins from the source directory.
6966 2005-06-29 Wim Taymans <wim@fluendo.com>
6968 * docs/gst/tmpl/gstbuffer.sgml:
6969 * docs/gst/tmpl/gstclock.sgml:
6970 Some fixings for blantently wrong text.
6972 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6974 * check/Makefile.am:
6975 * gst/gst.c: (add_path_func), (init_pre):
6976 * gst/gstregistry.c: (gst_registry_add_path):
6977 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
6978 only scan the GST_PLUGIN_PATH locations, and not add
6981 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6983 * docs/gst/gstreamer-sections.txt:
6984 * docs/gst/tmpl/gstbasesrc.sgml:
6991 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6993 * docs/manual/advanced-autoplugging.xml:
6994 Fix autoplugging example.
6996 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6998 * docs/manual/advanced-autoplugging.xml:
6999 * docs/manual/mime-world.fig:
7000 Try to get autoplugging working, fix type detection. Fix text
7001 in hello-world image.
7003 2005-06-29 Wim Taymans <wim@fluendo.com>
7005 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7006 (gst_base_sink_change_state):
7010 map SIGNAL and BROADCAST to the right function.
7013 Remove redundant braces.
7015 * gst/gstpad.c: (gst_pad_set_caps):
7016 Don't call setcaps function when reseting caps to NULL.
7018 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7019 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7020 (gst_system_clock_id_unschedule):
7021 Use BROADCAST as this is what we do.
7023 2005-06-29 Wim Taymans <wim@fluendo.com>
7025 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7026 We are actually prerolling before commiting the state
7029 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7031 * docs/manual/advanced-clocks.xml:
7032 * docs/manual/advanced-interfaces.xml:
7033 * docs/manual/advanced-metadata.xml:
7034 * docs/manual/advanced-position.xml:
7035 * docs/manual/advanced-schedulers.xml:
7036 * docs/manual/advanced-threads.xml:
7037 * docs/manual/appendix-porting.xml:
7038 * docs/manual/basics-bins.xml:
7039 * docs/manual/basics-bus.xml:
7040 * docs/manual/basics-elements.xml:
7041 * docs/manual/basics-helloworld.xml:
7042 * docs/manual/basics-pads.xml:
7043 * docs/manual/highlevel-components.xml:
7044 * docs/manual/manual.xml:
7045 * docs/manual/thread.fig:
7046 Update (until threads/scheduling) Application Development Manual;
7047 remove GstThread, add GstBus, add simple porting checklist, add
7048 documentation for tag writing, clocks, make all examples until this
7049 part compile and run.
7050 * examples/manual/Makefile.am:
7051 Update from changes to Application Development Manual; add bus
7052 example, remove thread example.
7054 2005-06-28 Wim Taymans <wim@fluendo.com>
7056 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7057 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7058 (gst_bus_source_dispatch):
7059 Add debugging messages.
7060 Make internal methods static.
7061 Handle the case where the bus is flushed in the handler.
7063 * gst/gstelement.c: (gst_element_get_bus):
7064 Fix refcount in _get_bus();
7066 * gst/gstpipeline.c: (gst_pipeline_change_state),
7067 (gst_pipeline_get_clock_func):
7068 Clock refcounting fixes.
7069 Handle the case where preroll timed out more gracefully.
7071 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7072 Clean up the internal thread in dispose. This is needed
7073 for subclasses that actually get disposed.
7075 * gst/schedulers/threadscheduler.c:
7076 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7077 (gst_thread_scheduler_dispose):
7078 Free thread pool in dispose.
7080 2005-06-28 Andy Wingo <wingo@pobox.com>
7082 * tests/network-clock-utils.scm (debug, print-event): New utils.
7084 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7085 (*packet-loss*): Unified loss probability.
7086 (network-time): Report out-of-band events.
7088 * tests/plot-data: Add support for out-of-band events. Hack it
7089 into this script instead of passing it down the pipe; should fix
7092 2005-06-28 Wim Taymans <wim@fluendo.com>
7094 * docs/gst/gstreamer.types:
7095 * docs/gst/tmpl/gstbasesrc.sgml:
7096 * docs/gst/tmpl/gstpad.sgml:
7099 2005-06-28 Wim Taymans <wim@fluendo.com>
7101 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7102 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7103 (gst_proxy_pad_do_fixatecaps):
7104 Correctly proxy the check_pull_range function.
7106 2005-06-28 Andy Wingo <wingo@pobox.com>
7108 * tests/network-clock.scm: Removed need for slib.
7110 2005-06-28 Wim Taymans <wim@fluendo.com>
7112 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7113 (gst_basesink_preroll_queue_flush):
7114 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7115 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7116 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7117 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7118 (gst_proxy_pad_set_property):
7121 * gst/gstqueue.c: (gst_queue_init):
7122 The deprecated pad loop function is removed now.
7124 2005-06-28 Andy Wingo <wingo@pobox.com>
7126 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7127 New parameters, simulate network packet loss.
7129 * tests/network-clock-utils.scm: Initialize the RNG.
7131 2005-06-28 Wim Taymans <wim@fluendo.com>
7133 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7134 (gst_basesink_event), (gst_basesink_deactivate):
7135 Flushing the preroll queue always needs to unlock the waiters.
7137 2005-06-28 Edward Hervey <edward@fluendo.com>
7139 * gst/gstpipeline.c: (gst_pipeline_send_event):
7140 Wheen a seek was successful on a pipeline, set the stream_time to the
7141 seek offset in order to have a synchronized stream_time.
7143 2005-06-28 Wim Taymans <wim@fluendo.com>
7145 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7146 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7147 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7148 (gst_proxy_pad_do_fixatecaps):
7149 Call wrapper function instead of just calling the function
7150 pointers. This takes care of any locking and whatmore.
7152 2005-06-28 Wim Taymans <wim@fluendo.com>
7154 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7155 (gst_pad_pull_range):
7157 CONNECTED -> LINKED.
7159 2005-06-28 Andy Wingo <wingo@pobox.com>
7161 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7162 source-munging commit!!!
7164 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7165 (gst_object_sink): Take gpointer arguments, not GstObject --
7166 avoids casts. Like GLib.
7168 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7171 2005-06-27 Andy Wingo <wingo@pobox.com>
7173 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7176 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7177 returns a sorted copy of the trace list.
7178 (gst_alloc_trace_print_live): New API, only prints traces with
7179 live objects. Sort the list.
7180 (gst_alloc_trace_print_all): Sort the list.
7181 (gst_alloc_trace_print): Align columns.
7183 * gst/elements/gstttypefindelement.c:
7184 * gst/elements/gsttee.c:
7185 * gst/base/gstbasesrc.c:
7186 * gst/base/gstbasesink.c:
7187 * gst/base/gstbasetransform.c:
7188 * gst/gstqueue.c: Adapt for pad activation changes.
7190 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7192 (gst_pipeline_dispose): Drop ref on sched.
7194 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7195 (gst_pad_activate_default): Push mode by default.
7196 (pre_activate_switch, post_activate_switch): New stubs, things to
7197 do before and after switching activation modes on pads.
7198 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7199 the pad's activate function to choose which mode to activate.
7200 Shortcut on deactivation and call the right function directly.
7201 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7203 (gst_pad_activate_push): New API, same for push mode.
7204 (gst_pad_set_activate_function)
7205 (gst_pad_set_activatepull_function)
7206 (gst_pad_set_activatepush_function): Setters for new API.
7208 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7209 Trace all miniobjects.
7210 (gst_mini_object_make_writable): Unref the arg if we copy, like
7211 gst_caps_make_writable.
7213 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7215 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7216 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7217 Adapt for new pad API.
7219 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7222 * gst/gstelement.c (gst_element_iterate_src_pads)
7223 (gst_element_iterate_sink_pads): New API functions.
7225 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7226 should fold into gstiterator.c in some form.
7227 (gst_element_pads_activate): Simplified via use of fold and
7228 delegation of decisions to gstpad->activate.
7230 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7233 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7234 class once in init, like gstmessage. Didn't run into this issue
7235 but it seems correct. Don't initialize a trace, gstminiobject does
7238 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7239 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7241 (assert_live_count): New util function, uses alloc traces to check
7244 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7245 To be modified when unlink drops the internal pad.
7247 2005-06-27 Wim Taymans <wim@fluendo.com>
7249 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7250 (gst_bin_change_state):
7251 Cleanup the get_state() function a little, make sure it
7252 iterates the same set of elements.
7253 Added stub iterate_state_order().
7255 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7257 * docs/gst/gstreamer-docs.sgml:
7258 * docs/gst/gstreamer-sections.txt:
7259 * docs/gst/gstreamer.types:
7260 * docs/gst/tmpl/gstbasesink.sgml:
7261 * docs/gst/tmpl/gstbasesrc.sgml:
7262 * docs/gst/tmpl/gstbasetransform.sgml:
7263 * docs/gst/tmpl/gstelement.sgml:
7264 * docs/gst/tmpl/gstiterator.sgml:
7265 * gst/base/gstbasesrc.c:
7266 * gst/base/gstbasesrc.h:
7267 * gst/base/gstbasetransform.h:
7269 * gst/gstiterator.h:
7270 adding basetransform and iterator docs
7272 2005-06-27 Andy Wingo <wingo@pobox.com>
7274 * docs/design/part-activation.txt: Notes on how activation should
7275 work -- not quite implemented yet.
7277 2005-06-25 Wim Taymans <wim@fluendo.com>
7279 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7280 At least get the chain function correct, needs more
7283 2005-06-25 Wim Taymans <wim@fluendo.com>
7285 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7286 (gst_basesink_handle_object), (gst_basesink_event),
7287 (gst_basesink_do_sync), (gst_basesink_handle_event),
7288 (gst_basesink_change_state):
7290 Right, two problems here: ghostpads don't take locks and
7291 glib _rec_mutex_lock_full() with depth==0 still locks.
7292 Catch illegal locking and g_warn them.
7294 2005-06-25 Wim Taymans <wim@fluendo.com>
7296 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7297 Have to check for completion now...
7299 2005-06-25 Wim Taymans <wim@fluendo.com>
7301 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7302 (gst_basesink_handle_object), (gst_basesink_event),
7303 (gst_basesink_do_sync), (gst_basesink_handle_event),
7304 (gst_basesink_change_state):
7306 Unlock STREAM_LOCK whatever the recursion was.
7308 2005-06-25 Wim Taymans <wim@fluendo.com>
7310 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7311 (gst_basesink_preroll_queue_empty),
7312 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7313 (gst_basesink_event), (gst_basesink_do_sync),
7314 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7315 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7316 (gst_basesink_change_state):
7317 Reworked the base sink, handle event and buffer serialisation
7318 correctly and removed possible deadlock.
7319 Handle EOS correctly.
7321 2005-06-25 Wim Taymans <wim@fluendo.com>
7323 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7324 (gst_pipeline_change_state):
7325 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7326 Allow elements to post EOS in the state change function.
7327 Fix up -launch, make it exit the poll loop when the
7328 pipeline actually changed state.
7329 Fix up warning parsing in -launch.
7331 2005-06-25 Wim Taymans <wim@fluendo.com>
7333 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7334 (gst_tee_sink_activate):
7335 Core takes STREAM_LOCK for us now.
7337 2005-06-25 Wim Taymans <wim@fluendo.com>
7339 * gst/gstelement.c: (gst_element_get_state_func),
7340 (gst_element_set_state):
7342 * gst/gstmessage.c: (gst_message_parse_error),
7343 (gst_message_parse_warning):
7344 Keep track of current target state while performing a state
7345 change so that subclasses can do something interesting.
7346 Fix parsing of warning/error messages when GError is NULL.
7348 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7350 * docs/gst/Makefile.am:
7351 * docs/gst/gstreamer-docs.sgml:
7352 * docs/gst/gstreamer-sections.txt:
7353 * docs/gst/gstreamer.types:
7354 * docs/gst/tmpl/gstbasesink.sgml:
7355 * docs/gst/tmpl/gstbasesrc.sgml:
7356 * docs/gst/tmpl/gstbin.sgml:
7357 * docs/gst/tmpl/gstcompat.sgml:
7358 * docs/gst/tmpl/gstfakesink.sgml:
7359 * docs/gst/tmpl/gstfakesrc.sgml:
7360 * docs/gst/tmpl/gstfilesink.sgml:
7361 * docs/gst/tmpl/gstfilesrc.sgml:
7362 * docs/gst/tmpl/gstindex.sgml:
7363 * docs/manual/appendix-quotes.xml:
7364 * gst/base/gstbasesrc.h:
7365 * gst/elements/gstfakesrc.h:
7367 start pulling in base classes and elements in our docs
7369 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7371 * docs/gst/Makefile.am:
7372 * docs/libs/Makefile.am:
7373 fixed make distcheck with gtk-doc 1.3
7375 2005-06-23 Wim Taymans <wim@fluendo.com>
7377 * gst/gstelement.c: (gst_element_get_state_func),
7378 (gst_element_set_state), (gst_element_change_state):
7379 When the state did not change, also report NO_PREROLL
7382 2005-06-23 Wim Taymans <wim@fluendo.com>
7384 * gst/gstpad.c: (gst_pad_event_default):
7385 * gst/gstqueue.c: (gst_queue_loop):
7386 No unsafe task pausing please.
7388 2005-06-23 Wim Taymans <wim@fluendo.com>
7390 * gst/schedulers/threadscheduler.c:
7391 (gst_thread_scheduler_task_start),
7392 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7393 Ref the task before pushing it on the threadpool. This
7394 makes sure that we have a ref when the threadfunction is
7397 2005-06-23 Andy Wingo <wingo@pobox.com>
7399 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7400 offset is greater than the file's size.
7402 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7403 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7404 * gst/gstobject.c (gst_object_class_init): Make the class lock
7405 recursive. Wim won't let me drop deep_notify. Decodebin works
7408 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7409 internal pad, and hacks accordingly. Doesn't do it on the target
7410 pad because we change its caps. Probably catches all cases of
7412 (gst_ghost_pad_set_property): Connect to notify::caps as
7415 * tests/network-clock.scm (plot-simulation): Pipe data to the
7416 elite python skript.
7418 * tests/network-clock-utils.scm (define-parameter): New macro,
7419 defines a parameter that can be set via the command line.
7420 (set-parameter!, parse-parameter-arguments): Command line args
7423 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7426 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7428 * gst/elements/gsttypefindelement.c:
7429 (gst_type_find_element_handle_event):
7430 Don't restart typefinding on a discont.
7431 * gst/gstelement.c: (gst_element_set_state):
7433 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7434 Allow changing mode of an active pad.
7436 * gst/registries/gstlibxmlregistry.c: (load_feature):
7437 Don't cast a static pad template to a normal pad template.
7439 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7441 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7442 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7443 remove gst_strtoll completely, since it didn't actually do
7444 anything more than what g_ascii_strtoull already does.
7445 check for range errors when deserializing
7446 do a cast for the unsigned cases; but further fixing needs
7447 a decision on what the interpretation of "(int)" and
7448 deserialization should be for values that fall outside the
7449 type's boundaries (ie, refuse, or interpret as casting)
7451 2005-06-23 Wim Taymans <wim@fluendo.com>
7453 * check/Makefile.am:
7454 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7455 * docs/design/part-live-source.txt:
7456 * docs/design/part-states.txt:
7457 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7458 (gst_basesrc_set_live), (gst_basesrc_is_live),
7459 (gst_basesrc_get_range), (gst_basesrc_activate),
7460 (gst_basesrc_change_state):
7461 * gst/base/gstbasesrc.h:
7462 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7463 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7464 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7465 * gst/gstelement.c: (gst_element_get_state_func),
7466 (gst_element_set_state):
7469 * tools/gst-launch.c: (event_loop), (main):
7470 Added support for live sources and other elements that
7472 Updated design docs, added live-source design doc.
7473 Implemented live source functionality in basesrc
7474 Fix error condition in _bin_get_state()
7475 Implement live source handling in -launch.
7476 Added check for live sources.
7477 Fixed case in GstBin where elements were changed state
7481 2005-06-23 Andy Wingo <wingo@pobox.com>
7483 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7486 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7487 gst_caps_replace takes care of this for us.
7489 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7490 gst_pad_set_caps on the target, not just its setcaps() function.
7492 * tests/network-clock.scm:
7493 * tests/network-clock-utils.scm: A network clock simulator.
7494 Something of an algorithmic testbed before doing something in C.
7496 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7498 * check/Makefile.am:
7499 * check/gst/capslist.h:
7500 copy over from 0.8, and add two with bitmasks specified with
7502 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7503 add test to parse everything from capslist.h
7504 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7506 add test for structure deserialization
7507 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7508 add tests for deserialization of strings to int types
7509 * gst/gststructure.c: (gst_structure_nth_field_name):
7510 * gst/gststructure.h:
7511 add a way to get the name of a field referenced by index
7512 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7513 instead of checking if the resulting long long lies between
7514 min and max, we check if the long long would fit into
7515 a number of bytes for the final type.
7516 This fixes cases where a string represents 2^32 - 1, which
7517 when cast to int would be the (valid) -1, but is bigger than
7520 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7522 * gst/parse/grammar.y:
7523 add a log line for type deserialization
7525 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7527 * check/gst/gstvalue.c: (START_TEST):
7528 * gst/gstvalue.c: (gst_value_deserialize):
7529 return long long, not int, so gint64 deserialization actually
7530 works. Is there any flag that makes the compiler check this ?
7533 2005-06-22 Wim Taymans <wim@fluendo.com>
7536 Added convenience macros for setting buffers in GValue.
7538 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7540 * check/gst/.cvsignore:
7541 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7542 add a test deserializing int64, and comment part out because
7545 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7547 * check/Makefile.am:
7548 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7549 * testsuite/Makefile.am:
7550 * testsuite/caps/Makefile.am:
7551 * testsuite/caps/value_serialize.c:
7552 * testsuite/test_gst_init.c:
7553 move a value_serialize test over
7555 2005-06-20 Wim Taymans <wim@fluendo.com>
7560 * gst/gstvalue.c: (gst_value_compare_buffer),
7561 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7562 (gst_value_compare_flags), (gst_value_serialize_flags),
7563 (gst_value_deserialize_flags), (_gst_value_initialize):
7564 Fix serialisation of buffers, they are not boxed types anymore
7566 2005-06-20 Wim Taymans <wim@fluendo.com>
7568 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7569 Testcase to show error in buffer-on-caps serialisation.
7571 2005-06-20 Andy Wingo <wingo@pobox.com>
7573 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7574 will be adding to later.
7576 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7577 if its socks fill with rocks.
7578 (gst_system_clock_obtain): Set the name on object construction.
7579 Avoid double-checked locking.
7581 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7583 * gst/gsturi.c: (gst_element_make_from_uri):
7584 Fix potential endless loop.
7586 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7588 * check/Makefile.am:
7590 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7592 move over from testsuite dir and clean up
7595 * testsuite/Makefile.am:
7596 * testsuite/tags/.cvsignore:
7597 * testsuite/tags/Makefile.am:
7598 * testsuite/tags/merge.c:
7599 remove testsuite/tags
7601 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7603 * docs/gst/gstreamer-sections.txt:
7604 * docs/gst/tmpl/gstenumtypes.sgml:
7605 * win32/gstenumtypes.c:
7606 clean up documentation build a little
7608 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7611 add macros for checking refcounts on objects and caps
7612 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7613 add some more unit tests
7614 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7615 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7616 fix leaked refcounts (I hope :)) so unittest works
7620 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7622 * configure.ac: back to HEAD
7624 === release 0.9.1 ===
7626 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7632 2005-06-17 Andy Wingo <wingo@pobox.com>
7634 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7635 assert; it's always possible that the pad gets deactivated in
7636 between the checks in gstpad.c and the implementation. Rely on
7637 finish_preroll() to return a FLUSHING or similar instead of on the
7640 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7641 clock and post an EOS message if we come out of finish_preroll in
7644 2005-06-16 David Schleef <ds@schleef.org>
7646 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7647 (gst_capsfilter_set_property): Allow NULL as possible value
7648 for filter_caps property, indicating GST_CAPS_ANY.
7650 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7652 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7654 * gst/schedulers/Makefile.am:
7656 * gstreamer.spec.in:
7659 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7661 * gstreamer.spec.in:
7664 2005-06-08 Andy Wingo <wingo@pobox.com>
7666 * gst/gstutils.c: RPAD fixes all around.
7667 (gst_element_link_pads): Refcounting fixes.
7669 * tools/gst-inspect.c:
7670 * tools/gst-xmlinspect.c:
7672 * gst/base/gsttypefindhelper.c:
7673 * gst/base/gstbasesink.c:
7674 * gst/gstqueue.c: RPAD fixes.
7676 * gst/gstghostpad.h:
7677 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7678 pads. The tricky thing is they provide both source and sink
7679 interfaces, since they proxy the internal pad for the external
7680 pad, and vice versa. Implement with lower-level ProxyPad objects,
7681 with the interior proxy pad as a child of the exterior ghost pad.
7682 Should write a doc on this.
7684 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7685 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7688 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7689 pads are real pads. No ghost pads in this file. Not documenting
7690 the myriad s/RPAD/PAD/ and REALIZE fixes.
7691 (gst_pad_class_init): Add properties for "direction" and
7692 "template". Both are construct-only, so they can't change during
7693 the life of the pad. Fixes properly deriving from GstPad.
7694 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7695 derived objects, just set properties when creating the objects via
7697 (gst_pad_get_parent): Implement as a function, return NULL if the
7698 parent is not an element.
7699 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7700 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7702 * gst/gstobject.c (gst_object_class_init): Make name a construct
7703 property. Don't set it in the object init.
7705 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7706 with UNKNOWN direction.
7707 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7708 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7709 (gst_element_remove_pad): Remove ghost-pad special cases.
7710 (gst_element_pads_activate): Remove rpad cruft.
7712 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7713 catch the pad's-parent-not-an-element case.
7715 * gst/gst.h: Include gstghostpad.h.
7717 * gst/gst.c (init_post): No more real, ghost pads.
7719 * gst/Makefile.am: Add gstghostpad.[ch].
7721 * check/Makefile.am:
7722 * check/gst/gstbin.c:
7723 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7724 into a bin creates ghost pads, and that the refcounts are right.
7725 Partly moved from gstbin.c.
7727 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7729 * check/gst-libs/.cvsignore:
7730 * check/gst/.cvsignore:
7731 * check/pipelines/.cvsignore:
7733 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7734 (START_TEST), (cleanup_suite), (main):
7735 add some tests related to cleanup after running pipelines
7737 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7739 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7740 add a testsuite for GstBuffer
7742 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7744 * gst/gstminiobject.h:
7745 add defines for accessing the refcount
7747 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7749 * Makefile.am: added support for html unit test coverage reports
7751 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7753 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7754 Free existing caps if the capsfilter changes. Add a FIXME about
7755 setting those caps on the pads.
7757 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7758 Before adding a ghost pad to a parent bin, check that there isn't
7759 already one for the element on the bin. Prevents infinite recursion
7760 when using decodebin in parse pipelines. Andy says he'll rewrite the
7761 way this works anyway, so ignore the hack.
7763 2005-06-02 Andy Wingo <wingo@pobox.com>
7765 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7766 file size, pass it on to the type find helper.
7768 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7769 segment_start and segment_end properly according to the seek
7770 method. Segment_end is still a bit flaky because offset can be
7771 negative for CUR and END cases, but it takes -1 as an "unset"
7774 2005-06-02 Wim Taymans <wim@fluendo.com>
7776 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7777 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7778 (gst_basesink_activate):
7779 * gst/base/gstbasesink.h:
7780 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7781 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7782 (gst_pad_query), (gst_pad_start_task):
7784 * gst/gstqueue.c: (gst_queue_bufferalloc),
7785 (gst_queue_handle_sink_event), (gst_queue_chain):
7786 Bufferalloc: return GstFlowReturn to more accuratly report
7787 why allocation failed.
7789 2005-06-02 Wim Taymans <wim@fluendo.com>
7791 * gst/gstpipeline.c: (gst_pipeline_send_event):
7792 Take snapshot of state without blocking.
7794 2005-06-02 Wim Taymans <wim@fluendo.com>
7796 * docs/design/part-TODO.txt:
7797 * docs/design/part-caps.txt:
7798 * docs/design/part-clocks.txt:
7799 * docs/design/part-negotiation.txt:
7800 * docs/design/part-preroll.txt:
7803 2005-05-30 Wim Taymans <wim@fluendo.com>
7805 * gst/elements/gstidentity.c: (gst_identity_event),
7806 (gst_identity_transform), (gst_identity_get_property):
7807 Protect last_message property as it is accessed from
7810 2005-05-30 Wim Taymans <wim@fluendo.com>
7812 * gst/gstelement.c: (gst_element_init),
7813 (gst_element_pads_activate), (gst_element_change_state):
7814 Slicker pad activation code.
7816 2005-05-30 Wim Taymans <wim@fluendo.com>
7820 * gst/gstelementfactory.h:
7822 Move elementfactory methods to separate .h file.
7824 2005-05-30 Wim Taymans <wim@fluendo.com>
7826 * docs/design/part-overview.txt:
7827 * gst/gstsystemclock.h:
7828 Small typo fixes, doc updates.
7830 2005-05-30 Wim Taymans <wim@fluendo.com>
7832 * gst/gst.c: (gst_init_get_popt_table), (init_post),
7833 (init_popt_callback):
7834 Remove cpu-opt flag.
7836 2005-05-30 Wim Taymans <wim@fluendo.com>
7838 * gst/gstbuffer.c: (gst_subbuffer_finalize),
7839 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
7841 Avoid typechecking in places where not needed.
7842 Added accessor for malloc_data.
7844 2005-05-30 Wim Taymans <wim@fluendo.com>
7846 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
7847 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
7848 (gst_pad_configure_sink), (gst_pad_configure_src),
7849 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
7850 (gst_pad_start_task):
7851 Propagate errors from _set_caps() in configure_src/sink
7852 functions instead of returning TRUE.
7853 FLUSH events can travel up and downstream
7856 2005-05-30 Wim Taymans <wim@fluendo.com>
7858 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7859 (gst_basesink_activate):
7860 Handle EOS in preroll.
7862 2005-05-30 Wim Taymans <wim@fluendo.com>
7864 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7865 (gst_queue_loop), (gst_queue_handle_src_event):
7866 Remove old pieces of code
7867 Flushing the queue in an upstream event is a very bad idea.
7869 2005-05-26 Andy Wingo <wingo@pobox.com>
7871 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
7872 gst_value_set_mini_object so as to add a ref on the object (which
7873 will be removed when the value is unset).
7875 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
7876 arg type in ::handoff.
7878 * gst/gstelement.c (gst_element_change_state): Also deactivate
7879 pads in READY->NULL, just in case the element didn't make it to
7880 PAUSED. Wingo tested, Wim approved.
7882 2005-05-26 Wim Taymans <wim@fluendo.com>
7884 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7885 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7886 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
7887 A flushing pad cannot be used to alloc_buffer from.
7889 2005-05-26 Wim Taymans <wim@fluendo.com>
7891 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7892 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
7893 (gst_bus_source_dispatch), (gst_bus_source_finalize),
7894 (gst_bus_create_watch), (gst_bus_add_watch_full):
7896 Implement a real GSource and use g_main_context_wakeup() to
7897 signal new messages instead of the socketpair.
7899 2005-05-25 Wim Taymans <wim@fluendo.com>
7901 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
7902 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
7903 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7904 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7905 (gst_pad_send_event), (gst_pad_start_task):
7906 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
7907 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7908 (gst_queue_sink_activate), (gst_queue_src_activate),
7909 (gst_queue_change_state):
7911 Fix state changes for non sinks. We now change sinks, then elements
7912 with unconnected srcpads, then the rest.
7913 More efficient queue unlocking in flush and state changes.
7914 Set the pad activate mode even if it does not have an activate
7917 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7919 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
7920 Don't go in pull mode for non-seekable sources.
7921 * gst/elements/gsttypefindelement.h:
7922 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7923 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
7924 (free_entry), (stop_typefinding),
7925 (gst_type_find_element_handle_event), (find_peek),
7926 (gst_type_find_element_chain), (do_pull_typefind),
7927 (gst_type_find_element_change_state):
7928 Allow typefinding (w/o seeking) in push-mode, simplified version
7930 * gst/gstutils.c: (gst_buffer_join):
7932 gst_buffer_join() from 0.8.
7934 2005-05-25 Wim Taymans <wim@fluendo.com>
7936 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7937 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7938 (gst_pad_send_event), (gst_pad_start_task):
7939 Disable attempt at mode switching until it is figured out.
7941 2005-05-25 Wim Taymans <wim@fluendo.com>
7943 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
7944 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7945 (gst_basesink_finish_preroll), (gst_basesink_chain),
7946 (gst_basesink_loop), (gst_basesink_activate),
7947 (gst_basesink_change_state):
7948 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
7949 (gst_basesrc_get_range), (gst_basesrc_loop),
7950 (gst_basesrc_activate):
7951 * gst/elements/gsttee.c: (gst_tee_sink_activate):
7952 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7953 (gst_real_pad_init), (gst_real_pad_set_property),
7954 (gst_real_pad_get_property), (gst_pad_set_active),
7955 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
7956 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
7957 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
7958 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
7959 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7960 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
7961 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
7962 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7963 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
7964 (gst_pad_stop_task):
7966 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7967 (gst_queue_loop), (gst_queue_src_activate):
7968 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
7969 (gst_task_get_state):
7971 * gst/schedulers/threadscheduler.c:
7972 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
7973 Implement gst_pad_pause/start/stop_task(), take STREAM lock
7975 Remove ACTIVE pad flag, use FLUSHING everywhere
7976 Added _pad_chain(), _pad_get_range() to call chain/getrange
7978 Add locks around IS_FLUSHING when reading.
7979 Take STREAM lock in chain(), get_range() functions so plugins
7980 don't need to take it anymore.
7984 2005-05-25 Wim Taymans <wim@fluendo.com>
7986 * tools/gst-launch.c: (event_loop):
7987 Unref message after using its contents instead of
7990 2005-05-24 Wim Taymans <wim@fluendo.com>
7992 * docs/design/draft-ghostpads.txt:
7993 * docs/design/draft-push-pull.txt:
7994 * docs/design/draft-query.txt:
7995 * docs/design/part-overview.txt:
7996 Docs updates, added general overview doc.
7998 2005-05-21 David Schleef <ds@schleef.org>
8000 * docs/gst/tmpl/old/GstBin.sgml:
8001 * docs/gst/tmpl/old/GstBuffer.sgml:
8002 * docs/gst/tmpl/old/GstCaps.sgml:
8003 * docs/gst/tmpl/old/GstClock.sgml:
8004 * docs/gst/tmpl/old/GstCompat.sgml:
8005 * docs/gst/tmpl/old/GstData.sgml:
8006 * docs/gst/tmpl/old/GstElement.sgml:
8007 * docs/gst/tmpl/old/GstEvent.sgml:
8008 * docs/gst/tmpl/old/GstIndex.sgml:
8009 * docs/gst/tmpl/old/GstStructure.sgml:
8010 * docs/gst/tmpl/old/GstTag.sgml:
8011 * docs/gst/tmpl/old/cothreads.sgml:
8012 * docs/gst/tmpl/old/cothreads_compat.sgml:
8013 * docs/gst/tmpl/old/gettext.sgml:
8014 * docs/gst/tmpl/old/gobject2gtk.sgml:
8015 * docs/gst/tmpl/old/grammar.tab.sgml:
8016 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8017 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8018 * docs/gst/tmpl/old/gst_private.sgml:
8019 * docs/gst/tmpl/old/gstaggregator.sgml:
8020 * docs/gst/tmpl/old/gstarch.sgml:
8021 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8022 * docs/gst/tmpl/old/gstbufferstore.sgml:
8023 * docs/gst/tmpl/old/gstdata_private.sgml:
8024 * docs/gst/tmpl/old/gstdisksink.sgml:
8025 * docs/gst/tmpl/old/gstdisksrc.sgml:
8026 * docs/gst/tmpl/old/gstelementfactory.sgml:
8027 * docs/gst/tmpl/old/gstextratypes.sgml:
8028 * docs/gst/tmpl/old/gstfakesink.sgml:
8029 * docs/gst/tmpl/old/gstfakesrc.sgml:
8030 * docs/gst/tmpl/old/gstfdsink.sgml:
8031 * docs/gst/tmpl/old/gstfdsrc.sgml:
8032 * docs/gst/tmpl/old/gstfilesink.sgml:
8033 * docs/gst/tmpl/old/gstfilesrc.sgml:
8034 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8035 * docs/gst/tmpl/old/gstidentity.sgml:
8036 * docs/gst/tmpl/old/gstindexfactory.sgml:
8037 * docs/gst/tmpl/old/gstmarshal.sgml:
8038 * docs/gst/tmpl/old/gstmd5sink.sgml:
8039 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8040 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8041 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8042 * docs/gst/tmpl/old/gstpipefilter.sgml:
8043 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8044 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8045 * docs/gst/tmpl/old/gstshaper.sgml:
8046 * docs/gst/tmpl/old/gstspider.sgml:
8047 * docs/gst/tmpl/old/gstspideridentity.sgml:
8048 * docs/gst/tmpl/old/gststatistics.sgml:
8049 * docs/gst/tmpl/old/gsttee.sgml:
8050 * docs/gst/tmpl/old/gsttimecache.sgml:
8051 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8052 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8053 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8054 * docs/gst/tmpl/old/types.sgml:
8055 I didn't intend to add these or check them in.
8057 2005-05-19 David Schleef <ds@schleef.org>
8059 * configure.ac: Use -no-common everywhere. In a sane world, it
8060 would be the default in libtool, because without it, you can't
8061 build DLLs on Windows.
8062 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8063 * docs/gst/gstreamer-sections.txt:
8064 * docs/gst/tmpl/gstcpu.sgml:
8065 * docs/gst/tmpl/gstdata.sgml:
8066 * docs/gst/tmpl/gstthread.sgml:
8068 2005-05-19 David Schleef <ds@schleef.org>
8070 * gst/gstminiobject.c: (gst_value_set_mini_object),
8071 (gst_value_take_mini_object), (gst_value_get_mini_object):
8072 * gst/gstminiobject.h: Add GValue set/get functions.
8074 2005-05-19 Wim Taymans <wim@fluendo.com>
8076 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8077 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8078 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8080 * gst/gstbus.c: (gst_bus_post):
8081 * gst/gstelement.c: (gst_element_get_random_pad):
8082 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8083 Make subbufer unref the parent in finalize.
8084 some more debugging info.
8087 2005-05-19 Wim Taymans <wim@fluendo.com>
8089 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8090 (gst_basesink_init), (gst_basesink_finalize),
8091 (gst_basesink_activate), (gst_basesink_change_state):
8092 Don't free preroll queue too early.
8094 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8098 Hi, I'm outdated. Please shoot me.
8100 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8102 * gst/gstpipeline.c: (gst_pipeline_send_event):
8103 Do not access variables after they have been deleted.
8105 2005-05-19 Wim Taymans <wim@fluendo.com>
8107 * tools/gst-inspect.c: (print_plugin_features):
8108 A plugin feature does unfortunatly not use the
8111 2005-05-18 Wim Taymans <wim@fluendo.com>
8113 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8114 Port _span() functions to new subbuffers.
8116 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8118 * gst/gstbin.c: (gst_bin_add_func):
8119 Fix clock settery in bins when adding kids after the clock has
8122 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8124 * gst/elements/gstidentity.c: (gst_identity_class_init):
8125 Workaround until signals support GstMiniObject.
8127 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8130 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8132 2005-05-18 Wim Taymans <wim@fluendo.com>
8134 * gst/base/Makefile.am:
8135 * gst/base/gstadapter.c: (gst_adapter_base_init),
8136 (gst_adapter_class_init), (gst_adapter_init),
8137 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8138 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8139 (gst_adapter_flush), (gst_adapter_available),
8140 (gst_adapter_available_fast):
8141 * gst/base/gstadapter.h:
8142 Ported and added adapter to the base classes.
8144 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8148 Make sure the class is reffed/unreffed once before threads can be
8149 used. Fixes #304551.
8151 2005-05-17 Wim Taymans <wim@fluendo.com>
8153 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8154 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8155 * gst/gstminiobject.c: (gst_mini_object_get_type),
8156 (gst_mini_object_free):
8157 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8158 (gst_pad_push), (gst_pad_push_event):
8159 * gst/gstqueue.c: (gst_queue_change_state):
8160 Don't queue buffers in basesink when we are flushing.
8161 Unref buffer when flushing in basesink.
8162 Flush queue when going to READY
8163 Unref buffer when _push() returns an error.
8164 Don't free MiniObject instance when refcount is incremented
8165 in _finalize() so that we can recover objects.
8167 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8169 * docs/manual/advanced-schedulers.xml:
8170 * docs/manual/appendix-checklist.xml:
8171 * docs/pwg/advanced-clock.xml:
8172 * docs/pwg/advanced-interfaces.xml:
8173 * docs/pwg/advanced-request.xml:
8174 * docs/pwg/advanced-types.xml:
8175 * docs/pwg/intro-preface.xml:
8176 * examples/plugins/example.c: (gst_example_get_type),
8177 (gst_example_class_init), (gst_example_chain),
8178 (gst_example_set_property), (gst_example_get_property),
8179 (gst_example_change_state), (plugin_init):
8180 * examples/plugins/example.h:
8183 2005-05-17 Wim Taymans <wim@fluendo.com>
8185 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8186 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8187 * gst/gstqueue.c: (gst_queue_change_state):
8188 Clear queue when going to READY.
8189 Remove IN_SETCAPS flag too.
8191 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8193 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8194 Remove implicit cast from gboolean to GstElementStateReturn;
8195 make sure we still return failure in paused => ready case if
8196 the parent class fails to change state and our own stop
8199 2005-05-17 Wim Taymans <wim@fluendo.com>
8201 * tools/gst-launch.c: (event_loop):
8202 Message was unreffed too soon.
8204 2005-05-16 Andy Wingo <wingo@pobox.com>
8206 * gst/gstbin.c (sink_iterator_filter): Err... um...
8208 * check/gst/gstbin.c (test_ghost_pads): New test for the
8209 ghosting-if-elements-not-in-same-bin behavior.
8211 2005-05-16 David Schleef <ds@schleef.org>
8213 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8214 accessing refcount directly.
8216 2005-05-15 David Schleef <ds@schleef.org>
8218 * check/Makefile.am: remove GstData checks
8219 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8220 * gst/Makefile.am: add miniobject, remove data
8221 * gst/gst.h: add miniobject, remove data
8222 * gst/gstdata.c: remove
8223 * gst/gstdata.h: remove
8224 * gst/gstdata_private.h: remove
8225 * gst/gsttypes.h: remove GstEvent and GstMessage
8226 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8227 * gst/gstmarshal.list: change BOXED -> OBJECT
8229 Implement GstMiniObject.
8230 * gst/gstminiobject.c:
8231 * gst/gstminiobject.h:
8233 Modify to be subclasses of GstMiniObject.
8234 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8235 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8236 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8237 (gst_subbuffer_get_type), (gst_subbuffer_init),
8238 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8241 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8242 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8243 (_gst_event_copy), (gst_event_new):
8245 * gst/gstmessage.c: (_gst_message_initialize),
8246 (gst_message_get_type), (gst_message_class_init),
8247 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8248 (gst_message_new), (gst_message_new_error),
8249 (gst_message_new_warning), (gst_message_new_tag),
8250 (gst_message_new_state_changed), (gst_message_new_application):
8252 * gst/gstprobe.c: (gst_probe_perform),
8253 (gst_probe_dispatcher_dispatch):
8255 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8256 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8257 (_gst_query_copy), (gst_query_new):
8259 Update elements for GstData -> GstMiniObject changes
8261 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8262 (gst_queue_chain), (gst_queue_loop):
8263 * gst/elements/gstbufferstore.c:
8264 (gst_buffer_store_add_buffer_func),
8265 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8266 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8267 (gst_fakesink_render):
8268 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8269 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8270 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8271 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8272 (gst_filesrc_create_read):
8273 * gst/elements/gstidentity.c: (gst_identity_class_init):
8274 * gst/elements/gsttypefindelement.c:
8275 (gst_type_find_element_src_event), (free_entry_buffers),
8276 (gst_type_find_element_handle_event):
8277 * libs/gst/dataprotocol/dataprotocol.c:
8278 (gst_dp_header_from_buffer):
8279 * libs/gst/dataprotocol/dataprotocol.h:
8280 * libs/gst/dataprotocol/dp-private.h:
8282 2005-05-15 David Schleef <ds@schleef.org>
8284 * gst/elements/gstelements.c: Don't include headers that were
8287 2005-05-15 David Schleef <ds@schleef.org>
8289 * gst/elements/Makefile.am: Remove some elements that don't
8290 need to be in the core (or even exist at all).
8291 * gst/elements/gstaggregator.c:
8292 * gst/elements/gstaggregator.h:
8293 * gst/elements/gstmd5sink.c:
8294 * gst/elements/gstmd5sink.h:
8295 * gst/elements/gstmultifilesrc.c:
8296 * gst/elements/gstmultifilesrc.h:
8297 * gst/elements/gstpipefilter.c:
8298 * gst/elements/gstpipefilter.h:
8299 * gst/elements/gstshaper.c:
8300 * gst/elements/gstshaper.h:
8301 * gst/elements/gststatistics.c:
8302 * gst/elements/gststatistics.h:
8303 * po/POTFILES.in: Remove above files.
8305 2005-05-14 Andy Wingo <wingo@pobox.com>
8307 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8308 so as to get the refs right.
8309 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8310 unreffing objects that don't pass the filter.
8312 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8313 gst_element_set_bus.
8314 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8315 normal cases, this will destroy the bus.
8317 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8320 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8323 2005-05-13 Andy Wingo <wingo@pobox.com>
8325 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8326 gst_pad_link, call pad_link_maybe_ghosting,
8327 (pad_link_maybe_ghosting): Links pads, making sure that the
8328 elements being linked are in the same bin.
8329 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8330 Helpers for pad_link_maybe_ghosting.
8332 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8335 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8337 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8339 * docs/design/part-element-source.txt:
8342 2005-05-12 Wim Taymans <wim@fluendo.com>
8344 * gst/base/gstbasesink.c: (gst_basesink_init),
8345 (gst_basesink_activate):
8346 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8347 (gst_basesrc_is_seekable):
8348 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8349 (bin_element_is_sink), (gst_bin_change_state):
8350 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8352 Identify sinks by their flag to avoid overly complicated
8354 Do state changes even for elements not reachable from the
8356 BaseSink is a sink now :)
8357 Some more debugging info in the basesrc.
8360 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8362 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8363 Implement _query on a bin, similar to _send_event.
8365 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8367 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8368 Discont event offset format should be GST_FORMAT_BYTES,
8369 not GST_FORMAT_TIME.
8371 2005-05-12 Wim Taymans <wim@fluendo.com>
8373 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8374 Same fix as Ronald's but without the signal.
8376 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8378 * gst/gstutils.c: (gst_element_query_position):
8379 No, an element is not a pad.
8381 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8383 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8384 (gst_bin_get_state):
8385 If a child is removed from a bin while we remove the child from
8386 the bin and while we're retrieving its state, signal this to the
8387 get_state function so we abort the wait (instead of waiting for
8388 a timeout) and can immediately re-iterate over all other elements.
8390 2005-05-12 Wim Taymans <wim@fluendo.com>
8392 * gst/base/Makefile.am:
8393 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8394 (gst_basesrc_start):
8395 * gst/base/gstbasesrc.h:
8396 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8397 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8398 (gst_pushsrc_init), (gst_pushsrc_create):
8399 * gst/base/gstpushsrc.h:
8400 Added is_seekable to BaseSrc
8401 Added simple PushSrc.
8403 2005-05-11 Wim Taymans <wim@fluendo.com>
8405 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8406 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8407 (gst_element_link_pads), (gst_element_query_position),
8408 (gst_element_query_convert), (intersect_caps_func),
8409 (gst_pad_query_position), (gst_pad_query_convert):
8410 Fix refcounting in utils function.
8411 No point in trying to activate a pad when it's added, it could
8412 be added from the state change function and then we deadlock, the
8413 element has to decide what to do.
8415 2005-05-10 Andy Wingo <wingo@pobox.com>
8417 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8418 *all* the arguments.
8420 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8421 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8422 lock (according to the docs -- if this is wrong change the docs).
8424 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8425 flush messages in the NULL state.
8427 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8428 message immediately and return.
8429 (gst_bus_set_flushing): New function. If a bus is flushing, it
8430 flushes out any queued messages and immediately unrefs new
8431 messages. This is so when an element goes to NULL, all of the
8432 unhandled messages coming from it can be freed, and their
8433 references to the element dropped. In other words: message source
8434 ref considered harmful :P
8436 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8437 we're finished with it.
8439 * gst/gstmessage.c (gst_message_new_state_changed):
8441 2005-05-10 Wim Taymans <wim@fluendo.com>
8443 * gst/gstvalue.c: (gst_value_compare_flags),
8444 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8445 (_gst_value_initialize):
8446 Added flags serialize/deserialize/compare code.
8448 2005-05-09 Andy Wingo <wingo@pobox.com>
8450 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8451 Intersect the peer's caps with our caps.
8453 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8455 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8456 * gst/elements/gsttypefindelement.c: (find_peek):
8457 Handle negative offsets better. Fixes decodebin.
8459 2005-05-09 Wim Taymans <wim@fluendo.com>
8461 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8462 (gst_base_transform_event):
8463 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8464 Implement accept_caps.
8465 Fix silly lock/unlock mismatch in base class.
8467 2005-05-09 Wim Taymans <wim@fluendo.com>
8469 * docs/design/draft-push-pull.txt:
8470 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8471 * gst/elements/gstfilesink.c: (gst_filesink_init),
8472 (gst_filesink_query):
8473 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8474 (gst_type_find_handle_src_query), (find_element_get_length):
8475 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8479 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8480 (gst_real_pad_get_caps_unlocked),
8481 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8482 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8483 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8484 (gst_real_pad_dispose), (gst_real_pad_finalize),
8485 (gst_pad_load_and_link), (gst_pad_save_thyself),
8486 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8487 (gst_pad_check_pull_range), (gst_pad_pull_range),
8488 (gst_pad_template_get_type), (gst_pad_template_class_init),
8489 (gst_pad_template_init), (gst_pad_template_dispose),
8490 (name_is_valid), (gst_static_pad_template_get),
8491 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8492 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8493 (gst_pad_get_element_private), (gst_pad_start_task),
8494 (gst_pad_pause_task), (gst_pad_stop_task),
8495 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8496 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8497 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8498 (gst_ghost_pad_new):
8500 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8501 (gst_query_new_position), (gst_query_set_position),
8502 (gst_query_parse_position), (gst_query_new_convert),
8503 (gst_query_set_convert), (gst_query_parse_convert):
8505 * gst/gstqueryutils.c:
8506 * gst/gstqueryutils.h:
8507 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8508 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8509 (gst_queue_handle_src_query):
8510 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8511 (gst_element_query_position), (gst_element_query_convert),
8512 (intersect_caps_func), (gst_pad_query_position),
8513 (gst_pad_query_convert):
8515 * tools/gst-inspect.c: (print_pad_info):
8516 * tools/gst-xmlinspect.c: (print_element_info):
8517 Remove old query functions. Ported old code.
8518 Added position/convert helper functions to gstutils.
8519 Reordered gstpad.c code, grouping relevant things.
8520 Remove gst_message_new(), always need to speficy a specific
8524 2005-05-09 Andy Wingo <wingo@pobox.com>
8526 * gst/gstiterator.h: Add some includes.
8528 * gst/gstqueryutils.h: Include more headers.
8531 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8532 some uses of gst_pad_query.
8534 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8535 NULL out parameters.
8536 (gst_query_new_position): New proc, allocates a new position
8539 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8540 gstqueryutils.c to the build.
8542 * gst/gststructure.c (gst_structure_set_valist): Implement with
8543 the generic G_VALUE_COLLECT.
8545 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8547 * gst/Makefile.am: (gst_headers):
8548 Added gstqueryutils.h to the list of headers to install, that was
8549 a 'nachty' move wingo :)
8551 2005-05-06 Andy Wingo <wingo@pobox.com>
8554 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8555 GstData, init a memchunk.
8556 (standard_definitions): Add a few query types, deprecate a few.
8557 (gst_query_get_type): New proc.
8558 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8560 (gst_query_new_application, gst_query_get_structure): New public
8563 * docs/design/draft-query.txt: Removed LINKS from the query types,
8564 because all the rest can be dispatched to other pads -- seemed
8565 ugly to have a query that couldn't be dispatched. internal_links
8566 is fine as a pad method.
8568 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8569 in gstpad.c, but maintain binary compatibility for the moment.
8570 Will fix before 0.9 is out.
8572 * gst/gstqueryutils.c:
8573 * gst/gstqueryutils.h: New files, implement 3 methods for each
8574 query type: parse_query, parse_response, and set. Probably need an
8577 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8579 * gst/elements/gstfilesink.c (gst_filesink_query2):
8580 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8581 query_types, and formats methods.
8583 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8584 (gst_pad_set_query2_function): New functions.
8585 (gst_real_pad_init): Set query2_default as the default query2
8586 function. Basically just dispatches to internally linked pads.
8590 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8591 without using the atomic operations. Only one thread can possibly
8592 be accessing the data at this point. Changed so as to avoid
8593 gst_atomic operations.
8595 2005-05-06 Wim Taymans <wim@fluendo.com>
8597 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8598 Also set caps if we use the fallback buffer alloc.
8600 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8602 * docs/gst/Makefile.am:
8603 * docs/gst/gstreamer-docs.sgml:
8604 * docs/gst/gstreamer-sections.txt:
8605 * docs/gst/tmpl/gstatomic.sgml:
8606 * docs/gst/tmpl/gstmemchunk.sgml:
8607 * testsuite/elements/struct_i386.h:
8608 * win32/GStreamer.vcproj:
8610 Purge GstAtomic stuff from docs and win32 makefiles as well
8612 2005-05-06 Wim Taymans <wim@fluendo.com>
8614 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8615 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8616 * gst/gstpad.c: (gst_pad_peer_get_caps):
8617 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8618 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8619 (gst_queue_src_activate), (gst_queue_change_state):
8621 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8622 (intersect_caps_func):
8623 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8624 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8625 Some fixes for the peer_get_caps() change.
8627 2005-05-06 Wim Taymans <wim@fluendo.com>
8629 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8630 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8631 (gst_basesink_activate):
8632 Actually do something with error codes returned from the push
8635 2005-05-06 Wim Taymans <wim@fluendo.com>
8637 * docs/design/part-element-sink.txt:
8638 * docs/design/part-element-source.txt:
8639 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8640 (gst_basesink_event), (gst_basesink_activate):
8641 * gst/base/gstbasesink.h:
8642 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8643 (gst_basesrc_activate):
8644 * gst/base/gstbasesrc.h:
8645 * gst/gstelement.c: (gst_element_pads_activate):
8646 Some more documentation.
8647 Fixed scheduling decision in _pads_activate().
8649 2005-05-05 Andy Wingo <wingo@pobox.com>
8651 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8654 2005-05-05 Wim Taymans <wim@fluendo.com>
8656 * gst/base/Makefile.am:
8657 * gst/base/gstbasesink.h:
8658 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8659 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8660 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8661 (gst_collectpads_class_init), (gst_collectpads_init),
8662 (gst_collectpads_finalize), (gst_collectpads_new),
8663 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8664 (find_pad), (gst_collectpads_remove_pad),
8665 (gst_collectpads_is_active), (gst_collectpads_collect),
8666 (gst_collectpads_collect_range), (gst_collectpads_start),
8667 (gst_collectpads_stop), (gst_collectpads_peek),
8668 (gst_collectpads_pop), (gst_collectpads_available),
8669 (gst_collectpads_read), (gst_collectpads_flush),
8670 (gst_collectpads_chain):
8671 * gst/base/gstcollectpads.h:
8672 * gst/elements/Makefile.am:
8673 * gst/elements/gstelements.c:
8674 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8675 (gst_fakesink_get_times), (gst_fakesink_event),
8676 (gst_fakesink_preroll), (gst_fakesink_render):
8677 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8678 (gst_filesink_init), (gst_filesink_set_location),
8679 (gst_filesink_open_file), (gst_filesink_close_file),
8680 (gst_filesink_pad_query), (gst_filesink_event),
8681 (gst_filesink_render), (gst_filesink_change_state):
8682 * gst/elements/gstfilesink.h:
8683 Added object to help in making collect pad based elements.
8685 Make event function in sink baseclass return gboolean.
8687 2005-05-05 Wim Taymans <wim@fluendo.com>
8689 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8690 (gst_bin_get_by_name):
8692 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8693 (gst_clock_finalize):
8694 * gst/gstdata.c: (gst_data_replace):
8696 * gst/gstelement.c: (gst_element_request_pad),
8697 (gst_element_pads_activate):
8698 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8700 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8701 (gst_pad_set_checkgetrange_function),
8702 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8703 (gst_pad_check_pull_range), (gst_pad_pull_range),
8704 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8705 (gst_pad_pause_task), (gst_pad_stop_task):
8706 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8707 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8708 Fix name lookup in GstBin.
8709 Added _data_replace() function and _buffer_replace()
8710 Use finalize method to clean up clock.
8711 Fix refcounting on request pads.
8712 Fix pad schedule mode error.
8713 Some more object refcounting debug info,
8716 2005-05-04 Andy Wingo <wingo@pobox.com>
8718 * check/Makefile.am:
8719 * docs/gst/tmpl/gstatomic.sgml:
8720 * docs/gst/tmpl/gstplugin.sgml:
8721 * gst/base/gstbasesink.c: (gst_basesink_activate):
8722 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8723 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8724 (gst_basesrc_query), (gst_basesrc_set_property),
8725 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8726 (gst_basesrc_activate):
8727 * gst/base/gstbasesrc.h:
8728 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8729 (gst_base_transform_src_activate):
8730 * gst/elements/gstelements.c:
8731 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8732 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8733 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8734 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8735 (gst_type_find_element_checkgetrange),
8736 (gst_type_find_element_activate):
8737 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8738 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8739 (gst_caps_load_thyself):
8740 * gst/gstelement.c: (gst_element_pads_activate),
8741 (gst_element_save_thyself), (gst_element_restore_thyself):
8742 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8743 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8745 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8746 (gst_xml_parse_file), (gst_xml_parse_memory),
8747 (gst_xml_get_element), (gst_xml_make_element):
8748 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8749 (_file_index_id_save_xml), (gst_file_index_commit):
8750 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8751 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8753 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8754 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8755 * tools/gst-complete.c: (main):
8756 * tools/gst-compprep.c: (main):
8757 * tools/gst-inspect.c: (print_element_properties_info):
8758 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8759 * tools/gst-xmlinspect.c: (print_element_properties):
8762 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8764 * gst/gstplugin.c: (gst_plugin_check_module),
8765 (gst_plugin_check_file), (gst_plugin_load_file):
8766 apply patch from #172526 to make register work on MacOSX
8768 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8770 * docs/gst/tmpl/gstconfig.sgml:
8771 * gst/gstconfig.h.in:
8772 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8773 * testsuite/debug/printf_extension.c: (main):
8774 Do not use GST_PTR_FORMAT on pointers to types with
8775 sizeof < sizeof(gpointer). Fixes test on 64-bit
8776 * testsuite/elements/property.h:
8777 use correct printf format
8779 2005-05-02 Wim Taymans <wim@fluendo.com>
8781 * docs/design/draft-push-pull.txt:
8782 * docs/design/draft-query.txt:
8783 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8784 (gst_basesrc_start):
8785 Added draft for new query API.
8786 Added draft for better selecting scheduling methods.
8787 Make basesrc ignore length if the subclass does not support
8790 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8793 possible fixes for automake-1.5 - _LIBADD is reserved
8795 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8797 * docs/faq/Makefile.am:
8798 * docs/manual/Makefile.am:
8800 * docs/pwg/Makefile.am:
8802 possible fixes for automake-1.5
8804 2005-04-28 Wim Taymans <wim@fluendo.com>
8806 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8807 (gst_basesink_pad_getcaps), (gst_basesink_init),
8808 (gst_basesink_do_sync):
8809 * gst/gstclock.c: (gst_clock_entry_new):
8810 * gst/gstevent.c: (gst_event_discont_get_value):
8811 * gst/gstpipeline.c: (pipeline_bus_handler),
8812 (gst_pipeline_change_state):
8813 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8814 Better debugging of clocking info.
8815 Allow NULL values when getting discont values.
8817 2005-04-27 Wim Taymans <wim@fluendo.com>
8819 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8820 * check/gst/gstpad.c: (gst_pad_suite):
8821 Increase timeout for checks.
8823 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8825 * check/Makefile.am:
8826 fix the broken rule for cleanup. Apparently this rule is
8827 only needed on FC2, so maybe this warrants further autotool
8830 2005-04-26 Wim Taymans <wim@fluendo.com>
8832 * gst/gsttrashstack.h:
8833 Ooohh. a nasty one! After having a failed pop() from the stack,
8834 it's possible that the stack is empty. In that case, don't
8835 follow the NULL pointer.
8837 2005-04-25 Wim Taymans <wim@fluendo.com>
8839 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8840 (gst_pad_set_checkgetrange_function),
8841 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
8842 (gst_pad_check_pull_range), (gst_pad_pull_range),
8843 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8844 (gst_pad_pause_task), (gst_pad_stop_task):
8845 * gst/gstplugin.c: (gst_plugin_load):
8847 Remove gst_library_load as it does more harm than good with
8848 the new g_module flags.
8849 Revert bogus caps template check in pad linking, pad caps
8850 are important when linking not the template, which is more
8851 general than the current caps.
8853 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8855 * gst/autoplug/.cvsignore:
8856 * gst/autoplug/Makefile.am:
8857 * gst/autoplug/gstsearchfuncs.c:
8858 * gst/autoplug/gstsearchfuncs.h:
8859 * gst/autoplug/gstspider.c:
8860 * gst/autoplug/gstspider.h:
8861 * gst/autoplug/gstspideridentity.c:
8862 * gst/autoplug/gstspideridentity.h:
8863 * gst/autoplug/spidertest.c:
8866 2005-04-25 Wim Taymans <wim@fluendo.com>
8868 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8869 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8870 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
8871 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
8873 Added stubs for unimplemented functions.
8875 2005-04-24 David Schleef <ds@schleef.org>
8877 * gst/gstpad.h: Disable some unimplemented functions. Wim,
8880 2005-04-24 David Schleef <ds@schleef.org>
8882 Convert everything from GstAtomicInt to g_atomic_int_*, and
8887 * gst/gstatomic_impl.h:
8895 * gst/gstdata_private.h:
8902 * gst/gststructure.c:
8903 * gst/gststructure.h:
8904 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
8907 2005-04-24 David Schleef <ds@schleef.org>
8909 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
8910 make the regressions tests work. Remove some code that is no
8912 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
8913 Disable warning for pads without templates.
8915 2005-04-24 David Schleef <ds@schleef.org>
8917 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
8918 functions that handle filtered links.
8919 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
8921 * gst/gstutils.c: Fix/remove utility functions that handle
8924 * gst/gstvalue.c: Add serialization/deserialization of caps
8925 * gst/parse/grammar.y: Ignore filtered caps when linking. This
8926 requires fixing so that the filter caps notation creates
8927 a capsfilter element and sets the filter_caps property. I
8928 think everyone probably wants to keep the shorthand notation.
8929 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
8930 * docs/gst/tmpl/gstpad.sgml:
8932 * gst/elements/gstelements.c: Register capsfilter element.
8933 * gst/Makefile.am: fix spacing
8934 * docs/random/ds/0.9-suggested-changes: random
8936 2005-04-23 David Schleef <ds@schleef.org>
8938 * gst/elements/Makefile.am:
8939 * gst/elements/gstcapsfilter.c: New element that acts like an
8940 identity, but filters caps. Will eventually replace filtered
8941 caps in pad linking.
8942 * gst/gstutils.c: (gst_element_create_all_pads): New function
8943 to create all the ALWAYS pads that are registered with an
8944 element class. This functionality should eventually be
8945 merged in with GstElement initialization.
8947 * testsuite/trigger/README: part of trigger test code that should
8948 have been checked in a long time ago.
8950 2005-04-23 David Schleef <ds@schleef.org>
8952 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
8953 needed with new versions of libtool (nobody will confirm this),
8954 and hard to carry around.
8955 * gst/autoplug/Makefile.am:
8956 * gst/base/Makefile.am:
8957 * gst/elements/Makefile.am:
8958 * gst/indexers/Makefile.am:
8959 * gst/schedulers/Makefile.am:
8960 * libs/gst/bytestream/Makefile.am:
8961 * libs/gst/control/Makefile.am:
8962 * libs/gst/dataprotocol/Makefile.am:
8963 * libs/gst/getbits/Makefile.am:
8965 2005-04-21 Wim Taymans <wim@fluendo.com>
8967 * docs/design/draft-push-pull.txt:
8968 * docs/design/part-MT-refcounting.txt:
8969 * docs/design/part-TODO.txt:
8970 * docs/design/part-caps.txt:
8971 * docs/design/part-events.txt:
8972 * docs/design/part-gstbus.txt:
8973 * docs/design/part-gstpipeline.txt:
8974 * docs/design/part-messages.txt:
8975 * docs/design/part-push-pull.txt:
8976 * docs/design/part-query.txt:
8979 2005-04-21 Wim Taymans <wim@fluendo.com>
8981 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
8982 (gst_message_new), (gst_message_new_error),
8983 (gst_message_new_warning), (gst_message_new_tag),
8984 (gst_message_new_state_changed), (gst_message_new_application),
8985 (gst_message_get_structure):
8987 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8988 (gst_structure_copy_conditional):
8989 Use parent refcount in GstMessage to ensure GstStructure
8991 Cleaned up headers a bit.
8994 2005-04-20 Wim Taymans <wim@fluendo.com>
8996 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8997 (gst_basesink_pad_getcaps), (gst_basesink_init),
8998 (gst_basesink_chain_unlocked):
8999 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9000 (gst_type_find_helper):
9001 * gst/elements/gsttypefindelement.c:
9002 (gst_type_find_element_have_type), (gst_type_find_element_init),
9003 (stop_typefinding), (gst_type_find_element_handle_event),
9004 (find_suggest), (gst_type_find_element_chain),
9005 (gst_type_find_element_checkgetrange),
9006 (gst_type_find_element_getrange), (do_typefind),
9007 (gst_type_find_element_activate):
9008 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9009 (gst_buffer_default_free), (gst_buffer_default_copy),
9010 (gst_buffer_set_caps):
9011 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9013 * gst/gstmessage.c: (gst_message_new),
9014 (gst_message_new_state_changed):
9015 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9016 (gst_pad_set_checkgetrange_function),
9017 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9018 (gst_pad_set_caps), (gst_pad_check_pull_range),
9019 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9021 * gst/gsttypefind.c: (gst_type_find_register):
9022 Make gst_caps_replace() work like other _replace() functions.
9023 Use _caps_replace() where possible.
9024 Make sure _message_new() initialises its field.
9025 Add gst_static_pad_template_get_caps()
9028 2005-04-18 Andy Wingo <wingo@pobox.com>
9030 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9031 on the peer, not the pad. I think that was a typo. Pass an extra
9032 arg to see if random access is possible. Activate the pads as
9033 PULL_RANGE if possible.
9035 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9037 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9038 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9041 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9043 * docs/faq/using.xml:
9044 Add note on gstreamer-properties (#154996).
9046 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9048 * docs/random/bbb/optional-properties:
9049 Some analysis on optional properties.
9051 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9053 * docs/gst/tmpl/gstelementfactory.sgml:
9055 * gst/gstelementfactory.c: (gst_element_factory_init),
9056 (gst_element_factory_cleanup), (gst_element_register),
9057 (__gst_element_factory_add_static_pad_template),
9058 (gst_element_factory_get_static_pad_templates),
9059 (gst_element_factory_can_src_caps),
9060 (gst_element_factory_can_sink_caps):
9061 * gst/registries/Makefile.am:
9062 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9063 (gst_xml_registry_class_init), (gst_xml_registry_init),
9064 (gst_xml_registry_new), (gst_xml_registry_set_property),
9065 (gst_xml_registry_get_property), (get_time), (make_dir),
9066 (gst_xml_registry_get_perms_func),
9067 (plugin_times_older_than_recurse), (plugin_times_older_than),
9068 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9069 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9070 (add_to_char_array), (read_string), (read_uint), (read_enum),
9071 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9072 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9073 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9074 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9075 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9076 (gst_xml_registry_rebuild):
9077 * gst/registries/gstlibxmlregistry.h:
9078 * tools/gst-compprep.c: (main):
9079 * tools/gst-inspect.c: (print_pad_templates_info):
9080 * tools/gst-xmlinspect.c: (print_element_info):
9081 Use libxml2 for registry parsing, use staticpadtemplates in
9082 elementfactories. Makes gst_init() +/- 10x faster.
9084 2005-04-12 Wim Taymans <wim@fluendo.com>
9086 * gst/base/Makefile.am:
9087 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9088 (gst_basesink_pad_getcaps), (gst_basesink_init),
9089 (gst_basesink_event), (gst_basesink_change_state):
9090 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9091 (gst_basesrc_init), (gst_basesrc_query),
9092 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9093 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9094 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9095 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9096 (gst_basesrc_stop), (gst_basesrc_activate),
9097 (gst_basesrc_change_state):
9098 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9099 (helper_find_suggest), (gst_type_find_helper):
9100 * gst/base/gsttypefindhelper.h:
9101 * gst/elements/Makefile.am:
9102 * gst/elements/gstelements.c:
9103 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9104 (gst_fakesink_get_times), (gst_fakesink_event),
9105 (gst_fakesink_preroll), (gst_fakesink_render):
9106 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9107 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9108 (gst_fakesrc_get_property), (gst_fakesrc_create),
9109 (gst_fakesrc_start), (gst_fakesrc_stop):
9110 * gst/elements/gstfakesrc.h:
9111 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9112 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9113 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9114 (gst_filesrc_create_read), (gst_filesrc_create),
9115 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9116 (gst_filesrc_start):
9117 * gst/elements/gsttypefindelement.c:
9118 (gst_type_find_element_have_type), (gst_type_find_element_init),
9119 (start_typefinding), (stop_typefinding), (push_buffer_store),
9120 (gst_type_find_element_handle_event),
9121 (gst_type_find_element_chain),
9122 (gst_type_find_element_checkgetrange),
9123 (gst_type_find_element_getrange), (do_typefind),
9124 (gst_type_find_element_activate),
9125 (gst_type_find_element_change_state):
9126 * gst/elements/gsttypefindelement.h:
9127 * gst/gstpipeline.c: (pipeline_bus_handler):
9128 Added typefind helper.
9129 Small preroll fix in the base sink.
9130 Disable typefind code in basesrc.
9131 Crude port of typefindelement.
9135 2005-04-11 Wim Taymans <wim@fluendo.com>
9137 * check/gst/gstbus.c: (gstbus_suite):
9138 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9140 Fix up the timeout so that the test does not fail.
9142 2005-04-06 Wim Taymans <wim@fluendo.com>
9145 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9146 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9147 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9148 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9149 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9150 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9151 (gst_basesrc_stop), (gst_basesrc_activate),
9152 (gst_basesrc_change_state), (basesrc_find_peek),
9153 (basesrc_find_suggest), (gst_basesrc_type_find):
9154 * gst/base/gstbasesrc.h:
9155 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9156 (gst_filesrc_class_init), (gst_filesrc_init),
9157 (gst_filesrc_finalize), (gst_filesrc_set_location),
9158 (gst_filesrc_set_property), (gst_filesrc_get_property),
9159 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9160 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9161 (gst_filesrc_create_read), (gst_filesrc_create),
9162 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9163 * gst/elements/gstfilesrc.h:
9164 * gst/gstelement.c: (gst_element_get_state_func),
9165 (gst_element_lost_state), (gst_element_pads_activate):
9166 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9167 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9168 (gst_pad_pull_range):
9170 More work on the generic source base class, implement seeking,
9172 Make filesrc extend the base source class.
9173 Added gst_pad_set_checkgetrange_function to GstPad.
9175 2005-04-06 Andy Wingo <wingo@pobox.com>
9177 * pkgconfig/gstreamer-base.pc.in:
9178 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9180 * pkgconfig/Makefile.am:
9181 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9183 2005-04-04 Wim Taymans <wim@fluendo.com>
9185 * gst/base/Makefile.am:
9187 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9188 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9189 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9190 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9191 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9192 (gst_basesrc_base_init), (gst_basesrc_class_init),
9193 (gst_basesrc_init), (gst_basesrc_get_formats),
9194 (gst_basesrc_get_query_types), (gst_basesrc_query),
9195 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9196 (gst_basesrc_set_property), (gst_basesrc_get_property),
9197 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9198 (gst_basesrc_loop), (gst_basesrc_activate),
9199 (gst_basesrc_change_state):
9200 * gst/base/gstbasesrc.h:
9201 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9202 (gst_fakesrc_class_init), (gst_fakesrc_init),
9203 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9204 (gst_fakesrc_get_property), (gst_fakesrc_create):
9205 * gst/elements/gstfakesrc.h:
9206 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9207 (gst_filesrc_open_file), (gst_filesrc_loop),
9208 (gst_filesrc_activate), (filesrc_find_peek),
9209 (gst_filesrc_type_find):
9210 Made base source class, make fakesrc extend it.
9211 Add comments to basesink class.
9212 Some filesrc cleanup.
9214 2005-03-31 David Schleef <ds@schleef.org>
9216 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9217 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9218 expected to link against libgstreamer.
9219 * gst/base/Makefile.am: link against libgstreamer
9220 * gst/elements/Makefile.am: same
9222 2005-03-31 Andy Wingo <wingo@pobox.com>
9224 * tests/instantiate/Makefile.am:
9225 * tests/instantiate/caps.c: Add test to test speed of caps copy
9228 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9229 GMemChunk to be fair.
9231 * gst/gsttrashstack.h: Remove warning about using the fallback
9232 trash stack implementation, it's still faster than malloc.
9234 2005-03-30 Andy Wingo <wingo@pobox.com>
9236 * tests/complexity.c: Add a copyright.
9238 2005-03-31 Wim Taymans <wim@fluendo.com>
9240 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9241 (gst_base_transform_class_init), (gst_base_transform_init),
9242 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9243 (gst_base_transform_get_property),
9244 (gst_base_transform_sink_activate),
9245 (gst_base_transform_src_activate),
9246 (gst_base_transform_change_state):
9247 * gst/base/gstbasetransform.h:
9248 * gst/elements/gstidentity.c: (gst_identity_class_init),
9249 (gst_identity_event), (gst_identity_check_perfect),
9250 (gst_identity_transform), (gst_identity_start),
9251 (gst_identity_stop):
9252 Added start/stop methods to transform base class so subclasses
9253 don't need to deal with state changes even.
9255 2005-03-31 Wim Taymans <wim@fluendo.com>
9257 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9258 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9260 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9261 (gst_pad_pull_range):
9262 Added rate to the discont event to prepare for variable speed
9263 and reverse playback.
9265 2005-03-29 David Schleef <ds@schleef.org>
9268 * testsuite/trigger/Makefile.am:
9269 * testsuite/trigger/trigger.c: A little example program to show
9270 how trigger-based elements can work.
9272 2005-03-29 Wim Taymans <wim@fluendo.com>
9274 * gst/base/Makefile.am:
9276 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9277 (gst_basesink_base_init), (gst_basesink_class_init),
9278 (gst_basesink_pad_getcaps), (gst_basesink_init),
9279 (gst_basesink_activate), (gst_basesink_change_state):
9280 * gst/base/gstbasesink.h:
9281 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9282 (gst_base_transform_base_init), (gst_base_transform_finalize),
9283 (gst_base_transform_class_init), (gst_base_transform_init),
9284 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9285 (gst_base_transform_event), (gst_base_transform_getrange),
9286 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9287 (gst_base_transform_set_property),
9288 (gst_base_transform_get_property),
9289 (gst_base_transform_sink_activate),
9290 (gst_base_transform_src_activate),
9291 (gst_base_transform_change_state):
9292 * gst/base/gstbasetransform.h:
9293 * gst/elements/gstidentity.c: (gst_identity_finalize),
9294 (gst_identity_class_init), (gst_identity_init),
9295 (gst_identity_event), (gst_identity_check_perfect),
9296 (gst_identity_transform), (gst_identity_set_property),
9297 (gst_identity_get_property), (gst_identity_change_state):
9298 * gst/elements/gstidentity.h:
9299 * gst/gstelement.c: (gst_element_get_state_func),
9300 (gst_element_lost_state), (gst_element_pads_activate):
9301 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9302 (gst_pad_check_pull_range), (gst_pad_pull_range):
9304 Simplify pad activation.
9305 Added function to check if pull_range can be performed.
9306 Error out when pulling inactive or flushing pads.
9307 Removed const from refcounted types as it does not make sense.
9308 Simplify pad templates in basesink
9309 Added base class for simple 1-to-1 transforms.
9310 Make identity subclass the base transform.
9312 2005-03-29 Andy Wingo <wingo@pobox.com>
9314 * docs/libs/gstreamer-libs-overrides.txt:
9315 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9316 really don't understand what's going on, but like whatever. I want
9319 * docs/gst/Makefile.am:
9320 * docs/libs/Makefile.am: Dist the overrides files.
9322 * check/Makefile.am (clean-local): Remove .libs directories.
9324 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9325 elements to EXTRA_DIST, so po/ files are happy.
9327 * po/POTFILES.in: Er, remove it here.
9329 * po/POTFILES: Remove gstspider.c.
9331 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9333 * docs/libs/gstreamer-libs-docs.sgml:
9334 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9337 * tests/complexity.c (main): Set the length of the preroll queue
9338 on the sinks to prevent a lockup.
9340 * libs/gst/dataprotocol/Makefile.am:
9341 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9342 the same as the one in check/gst-libs/gdp.c.
9344 * po/, docs/gst/: Commit automatic changes to docs and po files.
9346 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9347 the versioned libgstbase.
9349 * check/Makefile.am: Depend on an unversioned gst-register, seems
9350 to make autoconf happier.
9352 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9354 2005-03-28 Wim Taymans <wim@fluendo.com>
9357 * docs/design/part-gstelement.txt:
9358 * docs/design/part-negotiation.txt:
9359 * docs/design/part-preroll.txt:
9360 * docs/design/part-scheduling.txt:
9361 * docs/design/part-states.txt:
9363 * gst/base/Makefile.am:
9365 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9366 (gst_basesink_base_init), (gst_basesink_class_init),
9367 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9368 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9369 (gst_basesink_set_pad_functions),
9370 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9371 (gst_basesink_set_property), (gst_basesink_get_property),
9372 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9373 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9374 (gst_basesink_preroll_queue_push),
9375 (gst_basesink_preroll_queue_empty),
9376 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9377 (gst_basesink_event), (gst_basesink_get_times),
9378 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9379 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9380 (gst_basesink_loop), (gst_basesink_activate),
9381 (gst_basesink_change_state):
9382 * gst/base/gstbasesink.h:
9383 * gst/elements/Makefile.am:
9384 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9385 (gst_fakesink_class_init), (gst_fakesink_init),
9386 (gst_fakesink_set_property), (gst_fakesink_get_property),
9387 (gst_fakesink_get_times), (gst_fakesink_event),
9388 (gst_fakesink_preroll), (gst_fakesink_render),
9389 (gst_fakesink_change_state):
9390 * gst/elements/gstfakesink.h:
9391 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9392 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9393 * gst/gstelement.c: (gst_element_add_pad),
9394 (gst_element_get_state_func), (gst_element_abort_state),
9395 (gst_element_commit_state), (gst_element_lost_state),
9396 (gst_element_set_state), (gst_element_pads_activate):
9397 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9398 * gst/gstpipeline.c: (gst_pipeline_send_event),
9399 (gst_pipeline_change_state):
9400 Added state change code.
9402 Added sink base class, make fakesink extend the base class.
9403 Small cleanups in GstPipeline.
9405 2005-03-26 David Schleef <ds@schleef.org>
9407 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9408 is broken and should be implemented in a different library.
9409 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9410 * gst/gst.h: remove gstcpu.h
9411 * gst/gstcpu.c: remove
9412 * gst/gstcpu.h: remove
9413 * gst/Makefile.am.future: Remove this file. It's ancient.
9415 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9417 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9418 (gst_bin_send_event):
9419 Add default event/set_manager handlers. The set_manager handler
9420 takes care that the manager is distributed over kids that were
9421 already in the bin before the manager was set. The event handler
9422 is a utility virtual function that sends the event over all sinks,
9423 so that gst_element_send_event (bin, event); has the expected
9425 * gst/gstpad.c: (gst_pad_event_default):
9426 Re-install default event handling for discontinuities, so that
9427 seeking works without requiring hacks in applications or extra
9429 * gst/gstpipeline.c: (gst_pipeline_class_init),
9430 (gst_pipeline_send_event):
9431 Half hack, half utility: set a pipeline to PAUSED for seek events,
9432 since that is the only way we can guarantee a/v sync. Means that
9433 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9434 and it "just works".
9436 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9438 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9439 Lock/unlock mismatch.
9441 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9443 * docs/faq/gst-uninstalled:
9444 add gst-plugins-base
9445 * docs/gst/Makefile.am:
9446 don't error out until docs are fixed
9447 * docs/gst/gstreamer.types:
9450 2005-03-22 Wim Taymans <wim@fluendo.com>
9452 * check/Makefile.am:
9453 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9454 * gst/gststructure.c: (gst_structure_set_valist),
9455 (gst_structure_copy_conditional):
9456 Activated more tests.
9458 Added G_TYPE_POINTER to GstStructure.
9461 2005-03-22 Wim Taymans <wim@fluendo.com>
9463 * docs/design/part-TODO.txt:
9464 * docs/design/part-events.txt:
9465 * docs/design/part-gstbin.txt:
9466 * docs/design/part-gstbus.txt:
9467 * docs/design/part-gstpipeline.txt:
9468 * docs/design/part-messages.txt:
9473 2005-03-21 Wim Taymans <wim@fluendo.com>
9475 * gst/gstbus.c: (gst_bus_post):
9476 Fix copy-and-paste error.
9478 2005-03-21 Wim Taymans <wim@fluendo.com>
9480 * check/Makefile.am:
9482 * gst/elements/Makefile.am:
9483 * gst/elements/gstelements.c:
9484 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9485 (gst_fakesink_event), (gst_fakesink_chain):
9486 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9487 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9488 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9489 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9490 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9491 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9492 (gst_fakesrc_loop), (gst_fakesrc_activate),
9493 (gst_fakesrc_change_state):
9494 * gst/elements/gstfakesrc.h:
9495 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9496 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9497 (gst_filesrc_open_file), (gst_filesrc_loop),
9498 (gst_filesrc_activate), (gst_filesrc_change_state),
9499 (filesrc_find_peek), (filesrc_find_suggest),
9500 (gst_filesrc_type_find):
9501 * gst/elements/gstidentity.c: (gst_identity_finalize),
9502 (gst_identity_class_init), (gst_identity_init),
9503 (gst_identity_proxy_getcaps), (identity_queue_push),
9504 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9505 (gst_identity_getrange), (gst_identity_chain),
9506 (gst_identity_sink_loop), (gst_identity_src_loop),
9507 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9508 (gst_identity_set_property), (gst_identity_get_property),
9509 (gst_identity_change_state):
9510 * gst/elements/gstidentity.h:
9511 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9512 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9513 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9514 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9515 (gst_tee_sink_activate):
9516 * gst/elements/gsttee.h:
9517 * gst/gst.c: (gst_register_core_elements), (init_post):
9519 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9520 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9521 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9522 (gst_bin_change_state):
9524 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9525 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9526 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9527 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9528 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9529 (bus_watch_callback), (bus_watch_destroy),
9530 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9531 (poll_timeout), (gst_bus_poll):
9535 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9536 (gst_element_post_message), (gst_element_message_full),
9537 (gst_element_get_state_func), (gst_element_get_state),
9538 (gst_element_abort_state), (gst_element_commit_state),
9539 (gst_element_lost_state), (gst_element_set_state),
9540 (gst_element_pads_activate), (gst_element_change_state),
9541 (gst_element_dispose), (gst_element_set_manager_func),
9542 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9543 (gst_element_set_manager), (gst_element_get_manager),
9544 (gst_element_set_bus), (gst_element_get_bus),
9545 (gst_element_set_scheduler), (gst_element_get_scheduler):
9547 * gst/gstevent.c: (gst_event_new_segment_seek),
9548 (gst_event_new_flush):
9550 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9551 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9552 (gst_message_new_eos), (gst_message_new_error),
9553 (gst_message_new_warning), (gst_message_new_tag),
9554 (gst_message_new_state_changed), (gst_message_new_application),
9555 (gst_message_get_structure), (gst_message_parse_tag),
9556 (gst_message_parse_state_changed), (gst_message_parse_error),
9557 (gst_message_parse_warning):
9559 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9560 (gst_real_pad_set_property), (gst_pad_set_active),
9561 (gst_pad_is_active), (gst_pad_set_blocked_async),
9562 (gst_pad_set_blocked), (gst_pad_is_blocked),
9563 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9564 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9565 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9566 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9567 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9568 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9569 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9570 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9571 (gst_pad_set_caps), (gst_pad_configure_sink),
9572 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9573 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9574 (gst_real_pad_dispose), (gst_real_pad_finalize),
9575 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9576 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9577 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9579 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9580 (pipeline_bus_handler), (gst_pipeline_change_state),
9581 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9582 * gst/gstpipeline.h:
9584 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9585 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9586 (gst_queue_link_src), (gst_queue_bufferalloc),
9587 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9588 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9589 (gst_queue_loop), (gst_queue_handle_src_event),
9590 (gst_queue_handle_src_query), (gst_queue_src_activate),
9591 (gst_queue_change_state):
9593 * gst/gstscheduler.c: (gst_scheduler_init),
9594 (gst_scheduler_dispose), (gst_scheduler_create_task),
9595 (gst_scheduler_factory_create):
9596 * gst/gstscheduler.h:
9597 * gst/gststructure.c: (gst_structure_get_type),
9598 (gst_structure_copy_conditional):
9599 * gst/gststructure.h:
9600 * gst/gsttaginterface.h:
9601 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9602 (gst_task_init), (gst_task_dispose), (gst_task_create),
9603 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9609 * gst/schedulers/Makefile.am:
9610 * gst/schedulers/cothreads_compat.h:
9611 * gst/schedulers/entryscheduler.c:
9612 * gst/schedulers/faircothreads.c:
9613 * gst/schedulers/faircothreads.h:
9614 * gst/schedulers/fairscheduler.c:
9615 * gst/schedulers/gstbasicscheduler.c:
9616 * gst/schedulers/gstoptimalscheduler.c:
9617 * gst/schedulers/gthread-cothreads.h:
9618 * gst/schedulers/threadscheduler.c:
9619 (gst_thread_scheduler_task_get_type),
9620 (gst_thread_scheduler_task_class_init),
9621 (gst_thread_scheduler_task_init),
9622 (gst_thread_scheduler_task_start),
9623 (gst_thread_scheduler_task_stop),
9624 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9625 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9626 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9627 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9629 * libs/gst/Makefile.am:
9630 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9631 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9632 (gst_file_pad_parent_set):
9633 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9634 (gst_dp_event_from_packet):
9635 * tests/complexity.c: (main):
9636 * tests/mass_elements.c: (main):
9637 * testsuite/states/locked.c: (message_received), (main):
9638 * testsuite/states/parent.c: (main):
9639 * tools/gst-inspect.c: (print_element_flag_info),
9640 (print_implementation_info), (print_pad_info):
9641 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9643 * tools/gst-md5sum.c: (event_loop), (main):
9644 * tools/gst-typefind.c: (main):
9645 * tools/gst-xmlinspect.c: (print_element_info):
9647 Added GstBus for mainloop integration.
9648 Added GstMessage for sending notifications on the bus.
9649 Added GstTask as an abstraction for pipeline entry points.
9652 Simplified GstQueue for multithreaded core.
9653 Made _link threadsafe, removed old capsnego.
9654 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9655 Added pad blocking functions.
9656 Reworked scheduling functions in GstPad to prepare for
9657 scheduling updates soon.
9658 Moved events out of data stream.
9659 Simplified GstEvent types.
9660 Added return values to push/pull.
9661 Removed clocking from GstElement.
9662 Added prototypes for state change function for next merge.
9663 Removed iterate from bins and state change management.
9664 Fixed some elements, disabled others for now.
9665 Fixed -inspect and -launch.
9666 Added check for GstBus.
9668 2005-03-10 Wim Taymans <wim@fluendo.com>
9670 * docs/design/part-MT-refcounting.txt:
9671 * docs/design/part-clocks.txt:
9672 * docs/design/part-gstelement.txt:
9673 * docs/design/part-gstobject.txt:
9674 * docs/design/part-standards.txt:
9675 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9676 (gst_bin_remove_func), (gst_bin_remove):
9680 * testsuite/clock/clock1.c: (main):
9681 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9683 * testsuite/dlopen/loadgst.c: (do_test):
9684 * testsuite/refcounting/bin.c: (add_remove_test1),
9685 (add_remove_test2), (main):
9686 * testsuite/refcounting/element.c: (main):
9687 * testsuite/refcounting/element_pad.c: (main):
9688 * testsuite/refcounting/pad.c: (main):
9689 * tools/gst-launch.c: (sigint_handler_sighandler):
9690 * tools/gst-typefind.c: (main):
9692 Added doc about clock.
9693 removed gst_bin_iterate_recurse_up(), marked methods
9695 Fix more testsuites.
9697 2005-03-09 Wim Taymans <wim@fluendo.com>
9699 * gst/gstpad.c: (gst_pad_get_direction),
9700 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9701 (gst_pad_collect_valist):
9702 * testsuite/bins/interface.c: (main):
9703 * testsuite/caps/audioscale.c: (test_caps):
9704 * testsuite/caps/caps.c: (test1), (test2), (test3):
9705 * testsuite/caps/deserialize.c: (main):
9706 * testsuite/caps/enumcaps.c: (main):
9707 * testsuite/caps/filtercaps.c: (main):
9708 * testsuite/caps/intersect2.c: (main):
9709 * testsuite/caps/random.c: (main):
9710 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9711 * testsuite/caps/sets.c: (check_caps):
9712 * testsuite/caps/simplify.c: (check_caps), (main):
9713 * testsuite/caps/subtract.c: (check_caps):
9714 Fix _pad_get_direction wrt ghostpads.
9717 2005-03-09 Wim Taymans <wim@fluendo.com>
9719 * check/Makefile.am:
9720 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9721 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9722 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9723 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9724 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9725 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9726 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9727 (bin_element_is_sink), (gst_bin_iterate_sinks),
9728 (gst_bin_iterate_all_by_interface):
9730 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9731 (gst_element_change_state), (gst_element_dispose),
9732 (gst_element_finalize), (gst_element_set_loop_function):
9734 * gst/gstiterator.c: (find_custom_fold_func):
9735 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9736 (gst_pad_collectv), (gst_pad_collect_valist),
9737 (gst_pad_template_new):
9738 * gst/gstpipeline.c: (gst_pipeline_class_init),
9739 (gst_pipeline_dispose), (gst_pipeline_set_property),
9740 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9741 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9742 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9744 * gst/schedulers/entryscheduler.c:
9745 * gst/schedulers/gstbasicscheduler.c:
9746 (gst_basic_scheduler_cothreaded_chain),
9747 (gst_basic_scheduler_chain_add_element):
9748 * testsuite/bins/interface.c: (main):
9750 Added GstSystemClock test.
9751 Implemented clock distribution code in GstBin.
9752 Implemented iterate sinks method for future use.
9753 Rearranged gstelement.h
9754 Fix GstIterator comparison bug.
9755 Moved some code to GstPipeline, mostly clocking related.
9757 2005-03-09 Wim Taymans <wim@fluendo.com>
9760 * gst/gst_private.h:
9761 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9762 (gst_bin_remove_func), (gst_bin_remove),
9763 (gst_bin_get_by_name_recurse_up):
9764 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9765 (gst_clock_id_compare_func), (gst_clock_id_wait),
9766 (gst_clock_id_wait_async), (gst_clock_init),
9767 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9769 * gst/gstinfo.c: (_gst_debug_init):
9771 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9772 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9774 Bump version number, we're now 0.9.0
9775 Add future debugging category.
9776 Fix NULL _unref() in _get_by_name_recurse_up
9780 2005-03-08 Wim Taymans <wim@fluendo.com>
9782 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9783 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9784 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9785 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9786 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9787 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9788 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9789 * gst/elements/gstidentity.c: (gst_identity_class_init):
9790 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9791 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9792 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9793 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9794 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9796 * gst/gstelement.c: (gst_element_class_init),
9797 (gst_element_base_class_init), (gst_element_init),
9798 (gst_element_get_random_pad), (gst_element_wait_state_change),
9799 (gst_element_change_state), (gst_element_dispose),
9800 (gst_element_finalize), (gst_element_set_loop_function):
9802 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9803 * gst/gstthread.c: (gst_thread_class_init),
9804 (gst_thread_release_children_locks), (gst_thread_change_state):
9805 * gst/schedulers/gstbasicscheduler.c:
9806 (gst_basic_scheduler_loopfunc_wrapper),
9807 (gst_basic_scheduler_chain_wrapper),
9808 (gst_basic_scheduler_src_wrapper),
9809 (gst_basic_scheduler_remove_element):
9810 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9811 Remove threadsafe properties. Fix elements because GObject
9812 complains when installing a property before declaring a
9813 set/get_property handler.
9814 Rearrange gstelement.h file, use STATE macros for state locks.
9815 Free mutexes in the finalize method instead of dispose.
9817 2005-03-08 Wim Taymans <wim@fluendo.com>
9819 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9820 * gst/gstthread.c: (gst_thread_release_children_locks):
9821 Added parentage check.
9822 Fix build og GstThread again.
9824 2005-03-08 Wim Taymans <wim@fluendo.com>
9826 * docs/design/part-MT-refcounting.txt:
9827 * docs/design/part-conventions.txt:
9828 * docs/design/part-gstobject.txt:
9829 * docs/design/part-relations.txt:
9830 * docs/design/part-standards.txt:
9831 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9832 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
9833 (gst_bin_get_by_name), (gst_bin_get_by_interface),
9834 (gst_bin_iterate_all_by_interface):
9837 * gst/gstelement.c: (gst_element_class_init),
9838 (gst_element_change_state), (gst_element_set_loop_function):
9840 * gst/gstiterator.c:
9841 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
9842 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
9843 (gst_object_dispatch_properties_changed), (gst_object_set_name),
9844 (gst_object_set_parent), (gst_object_unparent),
9845 (gst_object_check_uniqueness):
9847 Docs updates, clean up some headers.
9849 2005-03-07 Wim Taymans <wim@fluendo.com>
9852 * check/Makefile.am:
9853 * check/gst-libs/.cvsignore:
9854 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
9855 * check/gst/.cvsignore:
9856 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
9857 (START_TEST), (gstbus_suite), (main):
9858 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
9859 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
9860 (gst_data_suite), (main):
9861 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
9862 (add_fold_func), (gstiterator_suite), (main):
9863 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
9864 (thread_name_object), (thread_name_object_default),
9865 (gst_object_name_compare), (gst_object_suite), (main):
9866 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
9867 (gst_pad_suite), (main):
9868 * check/gstcheck.c: (gst_check_log_message_func),
9869 (gst_check_log_critical_func), (gst_check_init):
9871 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
9872 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
9875 2005-03-07 Wim Taymans <wim@fluendo.com>
9877 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9878 (gst_list_iterator_next), (gst_list_iterator_resync),
9879 (gst_list_iterator_free), (gst_iterator_new_list),
9880 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
9881 (gst_iterator_free), (gst_iterator_push), (filter_next),
9882 (filter_resync), (filter_uninit), (filter_free),
9883 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
9884 (gst_iterator_foreach), (find_custom_fold_func),
9885 (gst_iterator_find_custom):
9886 * gst/gstiterator.h:
9887 Added missing files.
9889 2005-03-07 Wim Taymans <wim@fluendo.com>
9893 * docs/design/part-MT-refcounting.txt:
9894 * docs/design/part-conventions.txt:
9895 * docs/design/part-gstobject.txt:
9896 * docs/design/part-relations.txt:
9897 * examples/mixer/mixer.c: (main):
9898 * examples/thread/thread.c: (eos), (main):
9900 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
9901 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
9902 (gst_spider_plug_from_srcpad):
9903 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
9904 (gst_spider_identity_change_state),
9905 (gst_spider_identity_sink_loop_type_finding):
9906 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
9907 * gst/elements/gstidentity.c: (gst_identity_init):
9908 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
9909 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
9910 * gst/elements/gsttypefindelement.c: (free_entry):
9913 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
9914 (gst_bin_set_clock_func), (gst_bin_auto_clock),
9915 (gst_bin_set_index), (gst_bin_set_element_sched),
9916 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
9917 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
9918 (gst_bin_iterate_elements), (iterate_child_recurse),
9919 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
9920 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
9921 (compare_interface), (gst_bin_get_by_interface),
9922 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
9924 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
9925 (gst_buffer_default_free), (gst_buffer_default_copy),
9926 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
9927 (gst_buffer_create_sub):
9929 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
9930 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
9931 (gst_caps_unref), (gst_static_caps_get),
9932 (gst_caps_remove_and_get_structure), (gst_caps_append),
9933 (gst_caps_append_structure), (gst_caps_remove_structure),
9934 (gst_caps_copy_nth), (gst_caps_set_simple),
9935 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
9936 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
9937 (gst_caps_structure_intersect_field), (gst_caps_intersect),
9938 (gst_caps_structure_subtract_field), (gst_caps_subtract),
9939 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
9940 (gst_caps_structure_figure_out_union),
9941 (gst_caps_switch_structures), (gst_caps_do_simplify),
9942 (gst_caps_replace), (gst_caps_from_string),
9943 (gst_caps_copy_conditional):
9945 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
9946 (_gst_clock_id_free), (gst_clock_id_unref),
9947 (gst_clock_id_compare_func), (gst_clock_id_wait),
9948 (gst_clock_id_wait_async), (gst_clock_class_init),
9949 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
9950 (gst_clock_get_time), (gst_clock_set_time_adjust),
9951 (gst_clock_set_property), (gst_clock_get_property):
9954 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
9955 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
9957 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9958 (gst_element_requires_clock), (gst_element_provides_clock),
9959 (gst_element_set_clock), (gst_element_clock_wait),
9960 (gst_element_wait), (gst_element_set_time_delay),
9961 (gst_element_is_indexable), (gst_element_add_pad),
9962 (gst_element_add_ghost_pad), (gst_element_remove_pad),
9963 (pad_compare_name), (gst_element_get_static_pad),
9964 (gst_element_request_pad), (gst_element_get_request_pad),
9965 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
9966 (gst_element_class_get_pad_template_list),
9967 (gst_element_class_get_pad_template), (gst_element_error_func),
9968 (gst_element_get_random_pad), (gst_element_get_event_masks),
9969 (gst_element_send_event), (gst_element_seek),
9970 (gst_element_get_query_types), (gst_element_query),
9971 (gst_element_get_formats), (gst_element_convert),
9972 (gst_element_is_locked_state), (gst_element_set_locked_state),
9973 (gst_element_sync_state_with_parent), (gst_element_change_state),
9974 (gst_element_finalize), (gst_element_yield),
9975 (gst_element_interrupt), (gst_element_set_scheduler),
9976 (gst_element_get_scheduler), (gst_element_set_loop_function):
9979 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
9980 (gst_format_get_by_nick), (gst_format_get_details),
9981 (gst_format_iterate_definitions):
9983 * gst/gstindex.c: (gst_index_gtype_resolver):
9986 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
9987 (gst_mem_chunk_free):
9988 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9989 (gst_object_ref), (gst_object_unref), (gst_object_sink),
9990 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
9991 (gst_object_dispatch_properties_changed),
9992 (gst_object_set_name_default), (gst_object_set_name),
9993 (gst_object_get_name), (gst_object_set_name_prefix),
9994 (gst_object_get_name_prefix), (gst_object_set_parent),
9995 (gst_object_get_parent), (gst_object_unparent),
9996 (gst_object_check_uniqueness), (gst_object_save_thyself),
9997 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
9998 (gst_object_set_property), (gst_object_get_property),
9999 (gst_object_get_path_string):
10001 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10002 (gst_real_pad_init), (gst_real_pad_get_property),
10003 (gst_pad_custom_new), (gst_pad_get_direction),
10004 (gst_pad_set_active), (gst_pad_is_active),
10005 (gst_pad_set_event_function), (gst_pad_is_linked),
10006 (gst_pad_link_free), (gst_pad_link_intersect),
10007 (gst_pad_link_fixate), (gst_pad_set_caps),
10008 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10009 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10010 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10011 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10012 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10013 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10014 (gst_pad_realize), (gst_pad_get_allowed_caps),
10015 (gst_real_pad_dispose), (gst_real_pad_finalize),
10016 (gst_pad_collectv), (gst_pad_collect_valist),
10017 (gst_pad_template_dispose), (gst_pad_template_new),
10018 (gst_pad_get_internal_links):
10020 * gst/gstpipeline.c: (gst_pipeline_dispose),
10021 (gst_pipeline_change_state):
10022 * gst/gstpipeline.h:
10024 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10025 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10026 * gst/gstpluginfeature.h:
10027 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10028 * gst/gstquery.c: (_gst_query_type_initialize),
10029 (gst_query_type_register), (gst_query_type_get_by_nick),
10030 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10032 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10033 * gst/gstscheduler.c: (gst_scheduler_add_element),
10034 (gst_scheduler_factory_create):
10035 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10036 (gst_structure_free), (gst_structure_set_name),
10037 (gst_structure_id_set_value), (gst_structure_set_value),
10038 (gst_structure_set_valist), (gst_structure_remove_field),
10039 (gst_structure_remove_fields),
10040 (gst_structure_remove_fields_valist),
10041 (gst_structure_remove_all_fields), (gst_structure_foreach),
10042 (gst_structure_map_in_place),
10043 (gst_caps_structure_fixate_field_nearest_int),
10044 (gst_caps_structure_fixate_field_nearest_double):
10045 * gst/gststructure.h:
10046 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10047 (gst_system_clock_init), (gst_system_clock_dispose),
10048 (gst_system_clock_async_thread),
10049 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10050 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10051 * gst/gstsystemclock.h:
10052 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10053 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10054 * gst/gsttaginterface.c:
10055 * gst/gstthread.c: (gst_thread_dispose),
10056 (gst_thread_release_children_locks), (gst_thread_change_state),
10057 (gst_thread_main_loop):
10058 * gst/gsttrashstack.h:
10059 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10061 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10062 (gst_element_request_pad), (gst_element_get_pad_from_template),
10063 (gst_element_request_compatible_pad),
10064 (gst_element_get_compatible_pad_filtered),
10065 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10066 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10067 (gst_element_link_many), (gst_element_link),
10068 (gst_element_link_pads), (gst_element_unlink_pads),
10069 (gst_element_unlink_many), (gst_element_unlink),
10070 (gst_pad_can_link_filtered), (gst_pad_can_link),
10071 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10072 (gst_object_default_error), (gst_bin_add_many),
10073 (gst_bin_remove_many), (gst_element_populate_std_props),
10074 (gst_element_class_install_std_props), (gst_buffer_merge),
10075 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10076 (link_fold_func), (gst_pad_proxy_setcaps):
10078 * gst/gstvalue.c: (gst_value_deserialize_string):
10079 * gst/parse/grammar.y:
10080 * gst/schedulers/gstbasicscheduler.c:
10081 (gst_basic_scheduler_cothreaded_chain),
10082 (gst_basic_scheduler_chain_recursive_add),
10083 (gst_basic_scheduler_pad_link):
10084 * gst/schedulers/gstoptimalscheduler.c:
10085 (get_group_schedule_function),
10086 (gst_opt_scheduler_state_transition),
10087 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10088 * libs/gst/bytestream/bytestream.c:
10089 * libs/gst/dataprotocol/dataprotocol.c:
10090 (gst_dp_header_from_buffer):
10093 * tests/threadstate/threadstate2.c: (eos):
10094 * tools/gst-compprep.c: (main):
10095 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10096 (print_pad_info), (print_children_info):
10097 * tools/gst-launch.c: (idle_func), (main):
10098 * tools/gst-md5sum.c: (idle_func), (main):
10099 * tools/gst-xmlinspect.c: (print_element_info):
10100 First THREADED backport attempt, focusing on adding locks and
10101 making sure the API is threadsafe. Needs more work. More docs
10104 2005-02-24 Andy Wingo <wingo@pobox.com>
10106 * tests/bench-complexity.scm:
10107 * tests/complexity.gnuplot: New files, good for running complexity
10110 * tests/Makefile.am:
10111 * tests/complexity.c: New test, sets up N elements, at each level
10112 teeing into M streams per element. Eeeenteresting.
10114 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10115 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10116 running bench-mass_elements.scm.
10118 * tests/bench-mass_elements.scm: New script, runs mass_elements
10119 for various numbers of identities, outputting the results to a
10120 file. Requires guile 1.6. Just for testing.
10122 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10124 * gst/schedulers/fairscheduler.c:
10125 compile with debug disabled
10127 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10130 hunting season on 0.9 is now OPEN