1 2005-11-03 Julien MOUTTE <julien@moutte.net>
3 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
5 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7 * docs/manual/advanced-position.xml:
8 Update seek example and explanations to current 0.9 API.
10 * gst/elements/gsttypefindelement.c:
11 (gst_type_find_element_activate):
12 Remove FIXME comment now that the found caps
15 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
17 * gst/gstregistryxml.c: (load_feature):
18 Add another GST_STR_NULL instance
20 2005-11-02 Edward Hervey <edward@fluendo.com>
22 * gst/gstpad.c: (handle_pad_block):
23 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
25 2005-11-02 Wim Taymans <wim@fluendo.com>
30 * gst/gstelement.c: (gst_element_commit_state):
34 Mention that the returned element is reffed in the docs.
36 2005-11-02 Wim Taymans <wim@fluendo.com>
38 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
39 (gst_pad_push), (gst_pad_push_event):
40 Unlock blocked pads when they are flushed.
42 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
45 * docs/gst/gstreamer-sections.txt:
48 * gst/gstregistry.c: (gst_registry_scan_path_level):
49 fix for a nasty little missed situation where an installed plug-in
50 which was in the cache did not get overridden by an uninstalled one
51 which was earlier in the plugin path because the newly created plugin
52 for the uninstalled one (not in the registry) didn't get its
53 ->registered set to TRUE
55 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
57 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
58 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
59 (gst_collectpads_is_active), (gst_collectpads_collect),
60 (gst_collectpads_collect_range), (gst_collectpads_start),
61 (gst_collectpads_stop), (gst_collectpads_peek),
62 (gst_collectpads_pop), (gst_collectpads_available),
63 (gst_collectpads_read), (gst_collectpads_flush):
64 Guard public API with assertions.
67 Fix docs for gst_pad_set_link_function().
69 2005-11-02 Johan Dahlin <johan@gnome.org>
71 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
72 Unref found_caps after we used it.
74 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
76 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
77 Don't try to ref NULL.
79 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
81 * win32/common/config.h.in:
82 provide a GST_FUNCTION that just gives a string for now
84 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
86 * win32/common/gstenumtypes.c: (register_gst_object_flags),
87 (gst_object_flags_get_type), (register_gst_bin_flags),
88 (gst_bin_flags_get_type), (register_gst_buffer_flag),
89 (gst_buffer_flag_get_type), (register_gst_bus_flags),
90 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
91 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
92 (gst_clock_return_get_type), (register_gst_clock_entry_type),
93 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
94 (gst_clock_flags_get_type), (register_gst_state),
95 (gst_state_get_type), (register_gst_state_change_return),
96 (gst_state_change_return_get_type), (register_gst_state_change),
97 (gst_state_change_get_type), (register_gst_element_flags),
98 (gst_element_flags_get_type), (register_gst_core_error),
99 (gst_core_error_get_type), (register_gst_library_error),
100 (gst_library_error_get_type), (register_gst_resource_error),
101 (gst_resource_error_get_type), (register_gst_stream_error),
102 (gst_stream_error_get_type), (register_gst_event_type),
103 (gst_event_type_get_type), (register_gst_seek_type),
104 (gst_seek_type_get_type), (register_gst_seek_flags),
105 (gst_seek_flags_get_type), (register_gst_format),
106 (gst_format_get_type), (register_gst_index_certainty),
107 (gst_index_certainty_get_type), (register_gst_index_entry_type),
108 (gst_index_entry_type_get_type),
109 (register_gst_index_lookup_method),
110 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
111 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
112 (gst_index_resolver_method_get_type), (register_gst_index_flags),
113 (gst_index_flags_get_type), (register_gst_debug_level),
114 (gst_debug_level_get_type), (register_gst_debug_color_flags),
115 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
116 (gst_iterator_result_get_type), (register_gst_iterator_item),
117 (gst_iterator_item_get_type), (register_gst_message_type),
118 (gst_message_type_get_type), (register_gst_mini_object_flags),
119 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
120 (gst_pad_link_return_get_type), (register_gst_flow_return),
121 (gst_flow_return_get_type), (register_gst_activate_mode),
122 (gst_activate_mode_get_type), (register_gst_pad_direction),
123 (gst_pad_direction_get_type), (register_gst_pad_flags),
124 (gst_pad_flags_get_type), (register_gst_pad_presence),
125 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
126 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
127 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
128 (gst_plugin_error_get_type), (register_gst_plugin_flags),
129 (gst_plugin_flags_get_type), (register_gst_rank),
130 (gst_rank_get_type), (register_gst_query_type),
131 (gst_query_type_get_type), (register_gst_tag_merge_mode),
132 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
133 (gst_tag_flag_get_type), (register_gst_task_state),
134 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
135 (gst_alloc_trace_flags_get_type),
136 (register_gst_type_find_probability),
137 (gst_type_find_probability_get_type), (register_gst_uri_type),
138 (gst_uri_type_get_type), (register_gst_parse_error),
139 (gst_parse_error_get_type):
140 * win32/common/gstversion.h:
143 2005-11-01 Luca Ognibene <luogni@tin.it>
146 fix docs. popt is dead, long live GOption.
148 2005-10-31 Wim Taymans <wim@fluendo.com>
153 2005-10-31 Andy Wingo <wingo@pobox.com>
157 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
159 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
160 need to serialize property notifications on GLib 2.8. GLib 2.6 has
161 the possibility of deadlocks here if code calling notify() or
162 set() has a lock that can be taken in another notify handler (ABBA
163 with class lock and e.g. python GIL state lock).
165 2005-10-28 Julien MOUTTE <julien@moutte.net>
167 * gst/gstbus.c: Doc updates.
169 2005-10-28 Wim Taymans <wim@fluendo.com>
171 * docs/design/part-TODO.txt:
173 * gst/gstsystemclock.c:
174 * gst/gstsystemclock.h:
177 2005-10-28 Edward Hervey <edward@fluendo.com>
179 * docs/gst/gstreamer-docs.sgml:
180 * docs/gst/gstreamer-sections.txt:
181 the GstURIType documentation page is private, it only defines GstURIType
182 which should be defined in the GstURIHandler page
184 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
186 * gst/gstbin.c: (gst_bin_class_init):
189 Documentation updates.
191 2005-10-28 Wim Taymans <wim@fluendo.com>
193 * docs/gst/gstreamer-sections.txt:
196 Documented the clocks.
198 2005-10-28 Stefan Kost <ensonic@users.sf.net>
200 * docs/gst/gstreamer-sections.txt:
201 move some macros to private sections
202 * gst/gstminiobject.c:
203 * gst/gstminiobject.h:
204 add descriptions provided by ds and some more
206 mark macro as to be removed
208 2005-10-28 Wim Taymans <wim@fluendo.com>
210 * docs/design/part-TODO.txt:
213 * gst/gstiterator.c: (gst_iterator_fold),
214 (gst_iterator_find_custom):
218 2005-10-28 Wim Taymans <wim@fluendo.com>
220 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
221 (gst_base_transform_init):
224 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
225 An EOS event marks the queue as completely filled.
227 2005-10-27 Wim Taymans <wim@fluendo.com>
229 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
230 (gst_base_sink_do_sync), (gst_base_sink_get_position):
233 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
234 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
235 (gst_base_transform_event), (gst_base_transform_getrange),
236 (gst_base_transform_chain):
237 * gst/base/gstbasetransform.h:
239 Protect transform and concurrent buffer alloc with a new lock.
240 Try not to break ABI/API.
242 2005-10-27 Wim Taymans <wim@fluendo.com>
244 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
245 (gst_base_src_init), (gst_base_src_query),
246 (gst_base_src_default_newsegment),
247 (gst_base_src_configure_segment), (gst_base_src_do_seek),
248 (gst_base_src_send_event), (gst_base_src_event_handler),
249 (gst_base_src_pad_get_range), (gst_base_src_loop),
250 (gst_base_src_unlock), (gst_base_src_default_negotiate),
251 (gst_base_src_start), (gst_base_src_deactivate),
252 (gst_base_src_activate_push), (gst_base_src_change_state):
253 Move some stuff around and cleanup things.
255 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
257 * gst/base/gstbasesrc.c: (gst_base_src_query):
258 Add missing break statements.
260 2005-10-27 Wim Taymans <wim@fluendo.com>
262 * check/gst/gstbin.c: (GST_START_TEST):
263 An extra refcount is taken in basesrc.
265 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
266 (gst_base_src_get_range), (gst_base_src_pad_get_range),
268 Small cleanups, check for flushing after being unlocked from the
269 LIVE_LOCK. take refcounts correctly (not yet everywhere).
270 Don't send out EOS when going to READY.
272 2005-10-27 Wim Taymans <wim@fluendo.com>
274 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
275 (gst_base_sink_get_position):
278 * gst/gstbin.c: (message_check), (bin_replace_message),
279 (bin_remove_messages), (is_eos), (gst_bin_add_func),
280 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
281 (bin_query_duration_init), (bin_query_duration_fold),
282 (bin_query_duration_done), (bin_query_generic_fold),
284 * tools/gst-launch.c: (main):
287 2005-10-26 Stefan Kost <ensonic@users.sf.net>
289 * examples/controller/audio-example.c: (main):
290 * examples/queue/queue.c: (event_loop):
291 * gst/base/gstbasetransform.h:
292 * gst/gstelement.c: (gst_element_send_event):
294 * gst/gstpad.c: (gst_pad_send_event):
297 changing log priority in error situations
299 2005-10-25 Wim Taymans <wim@fluendo.com>
301 * gst/gstbin.c: (message_check), (bin_replace_message),
302 (bin_remove_messages), (is_eos), (gst_bin_add_func),
303 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
304 (bin_query_duration_init), (bin_query_duration_fold),
305 (bin_query_duration_done), (bin_query_generic_fold),
307 Some doc and debug updates.
308 Cache previously requested query DURATION for speed. invalidate
309 cached duration if element posts a DURATION message.
311 2005-10-25 Wim Taymans <wim@fluendo.com>
313 * docs/design/part-TODO.txt:
316 * gst/gstbin.c: (message_check), (bin_replace_message),
317 (bin_remove_messages), (is_eos), (gst_bin_add_func),
318 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
319 (bin_query_duration_init), (bin_query_duration_fold),
320 (bin_query_duration_done), (bin_query_generic_fold),
322 Handle SEGMENT_START/DONE messages correctly.
323 More evolved query algorithm that handles duration queries
326 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
327 (gst_element_get_state_func), (gst_element_abort_state),
328 (gst_element_commit_state), (gst_element_lost_state):
334 2005-10-25 Wim Taymans <wim@fluendo.com>
336 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
337 Don't use invalid stream_time.
339 * gst/gstevent.c: (gst_event_new_newsegment):
340 stream_time in newsegment cannot be undefined.
342 2005-10-24 Wim Taymans <wim@fluendo.com>
347 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
349 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
351 2005-10-24 Stefan Kost <ensonic@users.sf.net>
353 * docs/libs/tmpl/gstdparam.sgml:
354 * docs/libs/tmpl/gstdplinint.sgml:
355 * docs/libs/tmpl/gstdpman.sgml:
356 * docs/libs/tmpl/gstdpsmooth.sgml:
357 * docs/libs/tmpl/gstunitconvert.sgml:
360 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
365 === release 0.9.4 ===
367 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
370 releasing 0.9.4, "Tyrannosaurus Rex"
372 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
374 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
375 (gst_file_sink_get_current_offset):
376 Use fseeko() and ftello() if available. When falling back on
377 lseek() to get the current offset, fflush() first to make sure
378 everything is up-to-date and we get the right offset.
380 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
382 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
383 * gst/base/gstbasesrc.c: (gst_base_src_loop):
384 * gst/gsterror.c: (_gst_stream_errors_init):
386 * gst/gstqueue.c: (gst_queue_loop):
388 remove prematurely added error category and clean up the instances
390 2005-10-21 Wim Taymans <wim@fluendo.com>
392 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
393 (gst_base_sink_get_position), (gst_base_sink_query),
394 (gst_base_sink_change_state):
395 Simply set the right flag when going to playing, that's all
396 we need to do instead of calling a function inside the object
397 lock (that could take the lock as well and deadlock)
399 2005-10-21 Wim Taymans <wim@fluendo.com>
401 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
403 Don't warn, the peer element knows what to do best when
404 the seek failed, it might try something else.
406 2005-10-21 Wim Taymans <wim@fluendo.com>
408 * gst/base/gstbasesrc.c: (gst_base_src_init),
409 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
412 2005-10-21 Wim Taymans <wim@fluendo.com>
414 * docs/design/part-segments.txt:
417 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
418 Correctly set caps, even on the subbufer.
420 2005-10-21 Wim Taymans <wim@fluendo.com>
422 * docs/gst/gstreamer-docs.sgml:
423 * docs/gst/gstreamer-sections.txt:
430 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
434 And 2% more doc coverage.
436 2005-10-21 Andy Wingo <wingo@pobox.com>
438 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
441 2005-10-20 Wim Taymans <wim@fluendo.com>
443 * gst/gsterror.c: (gst_error_get_message):
446 * gst/gststructure.c:
451 2005-10-20 Wim Taymans <wim@fluendo.com>
456 Another 1% more coverage.
458 2005-10-20 Wim Taymans <wim@fluendo.com>
460 * docs/gst/gstreamer-sections.txt:
461 * gst/gstelement.c: (gst_element_get_state_func),
462 (gst_element_abort_state), (gst_element_commit_state),
463 (gst_element_lost_state):
465 * gst/gstquery.c: (gst_query_set_position),
466 (gst_query_parse_position), (gst_query_set_duration),
467 (gst_query_parse_duration), (gst_query_new_convert):
469 Yay! 1% more docs coverage.
471 2005-10-20 Wim Taymans <wim@fluendo.com>
474 * gst/gstquery.c: (gst_query_set_position),
475 (gst_query_parse_position), (gst_query_set_duration),
476 (gst_query_parse_duration), (gst_query_new_convert):
478 * gst/gstutils.c: (gst_element_query_convert):
480 Docs and consistency fixes.
482 2005-10-20 Wim Taymans <wim@fluendo.com>
488 2005-10-20 Wim Taymans <wim@fluendo.com>
490 * gst/gstbin.c: (message_check), (bin_replace_message),
491 (bin_remove_messages), (is_eos), (gst_bin_add_func),
492 (update_degree), (gst_bin_sort_iterator_next),
493 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
494 Reworked the message handling a bit, cache the messages instead of
495 only the senders. alows us to do more in the future.
497 2005-10-20 Wim Taymans <wim@fluendo.com>
499 * docs/design/part-TODO.txt:
502 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
503 (gst_base_sink_query):
504 Don't use clock time to report position when in EOS.
506 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
508 * tools/gst-inspect.c: (print_interfaces),
509 (print_element_properties_info), (print_element_info):
510 Fix interface output with gst-inspect -a; don't print
511 newlines after double/float properties.
513 2005-10-20 Wim Taymans <wim@fluendo.com>
515 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
516 (gst_base_sink_query):
517 Speed up current position calculation.
519 * gst/base/gstbasesrc.c: (gst_base_src_query),
520 (gst_base_src_default_newsegment):
521 Correctly set stream position in newsegment.
523 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
524 (update_degree), (gst_bin_sort_iterator_next),
525 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
526 * gst/gstmessage.c: (gst_message_new_custom):
527 Clean up debugging info
529 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
530 (gst_queue_loop), (gst_queue_handle_src_query):
533 2005-10-19 Wim Taymans <wim@fluendo.com>
535 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
536 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
537 Fix query handling again.
539 2005-10-19 Wim Taymans <wim@fluendo.com>
541 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
542 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
543 * gst/base/gstbasesrc.c: (gst_base_src_query):
544 * gst/elements/gstfilesink.c: (gst_file_sink_query):
545 * gst/elements/gsttypefindelement.c:
546 (gst_type_find_handle_src_query), (find_element_get_length),
547 (gst_type_find_element_activate):
550 * gst/gstquery.c: (gst_query_new_position),
551 (gst_query_set_position), (gst_query_parse_position),
552 (gst_query_new_duration), (gst_query_set_duration),
553 (gst_query_parse_duration), (gst_query_set_segment),
554 (gst_query_parse_segment):
556 Bundling query position/duration is not a good idea since duration
557 does not change much and we don't want to recalculate it for every
558 position query, so they are separated again..
559 Base value in segment query is not needed.
561 * gst/gstqueue.c: (gst_queue_handle_src_query):
562 * gst/gstutils.c: (gst_element_query_position),
563 (gst_element_query_duration), (gst_pad_query_position),
564 (gst_pad_query_duration):
566 Updates for query API change.
567 Added some docs here and there.
569 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
571 * check/gst/gstbin.c: (GST_START_TEST):
572 * check/gst/gstghostpad.c: (GST_START_TEST):
573 * check/pipelines/cleanup.c: (GST_START_TEST):
574 wait on thread to die so we can check refcount correctly
576 2005-10-18 Wim Taymans <wim@fluendo.com>
578 * check/pipelines/stress.c: (GST_START_TEST):
579 Make check a little more time consuming.
581 2005-10-18 Wim Taymans <wim@fluendo.com>
584 * check/pipelines/stress.c: (GST_START_TEST),
585 (simple_launch_lines_suite), (main):
586 Small state change torture test.
588 * docs/design/part-states.txt:
589 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
590 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
591 (gst_base_sink_change_state):
592 Never take state lock from streaming thread, clean up ugly
593 hacks. Unfortunatly core does not yet support nice ways to
596 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
598 Start state recalc if a STATE_DIRTY message is posted, but only
601 * gst/gstelement.c: (gst_element_sync_state_with_parent),
602 (gst_element_get_state_func), (gst_element_abort_state),
603 (gst_element_commit_state), (gst_element_lost_state),
604 (gst_element_set_state_func), (gst_element_change_state):
606 State variables are now protected with the LOCK, the state
607 lock is only used to serialize _set_state().
609 2005-10-18 Wim Taymans <wim@fluendo.com>
611 * check/gst/gstbin.c: (GST_START_TEST):
612 * check/gst/gstmessage.c: (GST_START_TEST):
613 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
614 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
616 * gst/gstelement.c: (gst_element_abort_state),
617 (gst_element_commit_state), (gst_element_lost_state):
618 * gst/gstmessage.c: (gst_message_new_state_changed),
619 (gst_message_new_state_dirty), (gst_message_new_segment_start),
620 (gst_message_new_segment_done), (gst_message_new_duration),
621 (gst_message_parse_state_changed),
622 (gst_message_parse_segment_start),
623 (gst_message_parse_segment_done), (gst_message_parse_duration):
625 * tools/gst-launch.c: (event_loop):
626 Seriously, this is better than a previous commit as we only need
627 to notify the fact that an element changed state in a streaming
628 thread, marking the state of the parents dirty, hence the
629 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
632 2005-10-18 Wim Taymans <wim@fluendo.com>
634 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
635 (gst_bin_recalc_func):
636 * gst/gstelement.c: (gst_element_set_clock),
637 (gst_element_abort_state), (gst_element_lost_state):
638 Cleanups, prepare for state change fixes.
640 2005-10-18 Wim Taymans <wim@fluendo.com>
643 * gst/gstelement.c: (gst_element_class_init),
644 (gst_element_set_state), (gst_element_set_state_func):
647 GThreadPool in GstBinClass to monitor async state changes.
648 state_cookie in GstElement to detect concurrent gst/set state.
649 set_state is now virtual too in case a very complicated element
650 has to be constructed.
652 2005-10-18 Wim Taymans <wim@fluendo.com>
654 * check/gst/gstbin.c: (GST_START_TEST):
655 * check/gst/gstmessage.c: (GST_START_TEST):
656 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
657 * gst/gstbin.c: (bin_bus_handler):
658 * gst/gstelement.c: (gst_element_commit_state),
659 (gst_element_lost_state):
660 * gst/gstmessage.c: (gst_message_new_state_changed),
661 (gst_message_new_segment_start), (gst_message_new_segment_done),
662 (gst_message_new_duration), (gst_message_parse_state_changed),
663 (gst_message_parse_segment_start),
664 (gst_message_parse_segment_done), (gst_message_parse_duration):
666 * tools/gst-launch.c: (event_loop):
667 Make messages future proof.
668 state-change gets a flag if it was a message comming from the
670 segment-start/stop can also be specified in other formats.
671 A message to notify an app that a pipeline changed playback
673 Also fix a GstMessage leak in -launch
675 2005-10-18 Andy Wingo <wingo@pobox.com>
677 * gst/gstelement.c (gst_element_dispose): More helpful message.
679 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
681 * gst/gstregistry.c: (gst_registry_scan_path_level):
682 unref a plug-in we get that was already initialized
684 2005-10-18 Stefan Kost <ensonic@users.sf.net>
686 * docs/gst/gstreamer-sections.txt:
687 * docs/libs/gstreamer-libs-sections.txt:
692 2005-10-17 Andy Wingo <wingo@pobox.com>
694 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
697 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
699 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
701 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
702 (gst_element_get_state_func): Better debug message.
703 (gst_element_commit_state): s/INFO/DEBUG/.
704 (gst_element_lost_state, gst_element_change_state):
706 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
707 (gst_message_new_custom): s/INFO/LOG/.
709 2005-10-17 Michael Smith <msmith@fluendo.com>
711 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
712 Check if end time is valid using end time, not start time.
714 2005-10-17 Stefan Kost <ensonic@users.sf.net>
716 * check/gst-libs/controller.c: (GST_START_TEST),
717 (gst_controller_suite):
718 * libs/gst/controller/gstcontroller.c:
719 (gst_controlled_property_set_interpolation_mode):
720 * libs/gst/controller/gstcontroller.h:
721 * libs/gst/controller/gstinterpolation.c:
722 * testsuite/controller/.cvsignore:
723 * testsuite/controller/Makefile.am:
724 * testsuite/controller/interpolator.c:
725 merge controller testsuites
727 remove mem-chunk from docs
729 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
733 * gst/gsttrashstack.c:
734 * gst/gsttrashstack.h:
735 out. get out. you're fired. to the Attic !
737 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
739 * gst/gstcaps.c: (gst_caps_intersect):
740 fix signedness issues in a (hopefully) correct way
741 * gst/gstelement.c: (gst_element_pads_activate):
743 * gst/gstobject.c: (gst_object_set_parent):
746 2005-10-17 Julien MOUTTE <julien@moutte.net>
748 * gst/gstvalue.h: Fix prototypes.
750 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
752 * docs/gst/gstreamer-sections.txt:
753 * gst/gst.c: (gst_version_string):
755 * gst/gstversion.h.in:
756 * win32/common/libgstreamer.def:
757 add gst_version_string ()
759 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
763 * gst/gst.c: (init_post):
764 * win32/common/config.h.in:
766 * gst/gstcaps.c: (gst_caps_intersect):
767 use gint64, the range could be bigger than a guint
769 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
772 document potential problem in 2038
774 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
776 * gst/gstcaps.c: (gst_caps_intersect):
777 Fix guint j diving under 0
779 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
782 * win32/common/config.h:
783 * win32/common/config.h.in:
784 check for process.h, declares getpid() on Windows
786 include process.h if we have it
787 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
789 fix signedness issues
790 * win32/common/libgstreamer.def:
793 2005-10-16 Julien MOUTTE <julien@moutte.net>
795 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
796 fix. Because of unsigned ints, caps intersection was going nuts and
797 trying to access structures with G_MAXUINT index. That fixes
798 videotestsrc ! ffmpegcolorspace ! fakesink
799 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
802 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
805 use the gettext macro
806 * gst/elements/gstelements.c:
808 * gst/indexers/gstindexers.c:
809 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
810 * win32/common/config.h:
812 * win32/common/config.h.in:
813 add the template to generate config.h
814 * win32/common/gstenumtypes.c:
815 * win32/common/gstversion.h:
818 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
820 * gst/gst.c: (gst_version):
821 * gst/gstversion.h.in:
824 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
827 Oops, add missing closing bracket.
829 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
832 use common m4's for argument checking
834 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
836 * docs/gst/gstreamer-sections.txt:
838 Add GST_EVENT_TYPE_NAME() macro.
840 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
843 * gst/gstpluginfeature.c:
845 privatize more symbols
847 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
850 add srcdir, builddir includes to GST_ALL_CFLAGS, since
851 everything that uses GStreamer API should have the includes
853 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
855 * docs/gst/gstreamer-sections.txt:
856 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
858 give each value a _get_type, removes the DATA exports
860 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
864 remove _gst_registry_auto_load, not used anymore
865 * gst/gstbin.c: (gst_bin_get_type):
867 * gst/gstelement.c: (gst_element_get_type):
869 * gst/gstobject.c: (gst_object_get_type):
871 * gst/gstpad.c: (gst_pad_get_type):
873 make _get_type functions similar, fixes data export from library
875 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
878 correctly make conditionals
879 * gst/elements/Makefile.am:
880 * gst/elements/gstelements.c:
881 fix typo causing fdsrc not to build
883 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
885 * testsuite/Makefile.am:
886 * testsuite/bytestream/.cvsignore:
887 * testsuite/bytestream/Makefile.am:
888 * testsuite/bytestream/filepadsink.c:
889 * testsuite/bytestream/gstbstest.c:
890 * testsuite/bytestream/test1.c:
891 * testsuite/bytestream/testfile1:
892 * testsuite/caps/normalisation.c:
893 * testsuite/caps/random.c: (main):
894 * testsuite/cleanup/.cvsignore:
895 * testsuite/cleanup/Makefile.am:
896 * testsuite/cleanup/cleanup1.c:
897 * testsuite/cleanup/cleanup2.c:
898 * testsuite/cleanup/cleanup3.c:
899 * testsuite/cleanup/cleanup4.c:
900 * testsuite/cleanup/cleanup5.c:
901 * testsuite/controller/interpolator.c:
902 * testsuite/debug/printf_extension.c: (main):
903 * testsuite/elements/tee.c:
904 * testsuite/negotiation/.cvsignore:
905 * testsuite/negotiation/Makefile.am:
906 * testsuite/negotiation/pad_link.c:
907 * testsuite/pad/Makefile.am:
908 * testsuite/pad/chainnopull.c:
909 * testsuite/pad/getnopush.c:
910 * testsuite/pad/link.c:
911 * testsuite/refcounting/sched.c: (create_pipeline):
912 * testsuite/registry/Makefile.am:
913 * testsuite/registry/gst-print-formats.c:
914 * testsuite/schedulers/.cvsignore:
915 * testsuite/schedulers/142183-2.c:
916 * testsuite/schedulers/142183.c:
917 * testsuite/schedulers/143777-2.c:
918 * testsuite/schedulers/143777.c:
919 * testsuite/schedulers/147713.c:
920 * testsuite/schedulers/147819.c:
921 * testsuite/schedulers/147894-2.c:
922 * testsuite/schedulers/147894.c:
923 * testsuite/schedulers/Makefile.am:
924 * testsuite/schedulers/group_link.c:
925 * testsuite/schedulers/queue_link.c:
926 * testsuite/schedulers/relink.c:
927 * testsuite/schedulers/unlink.c:
928 * testsuite/schedulers/unref.c:
929 * testsuite/schedulers/useless_iteration.c:
930 * testsuite/states/bin.c:
931 clean out/remove some stuff from the testsuite directories
933 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
936 check for some headers
937 * gst/elements/Makefile.am:
938 * gst/elements/gstelements.c:
939 don't compile fdsrc without sys/socket.h
940 * gst/indexers/Makefile.am:
941 * gst/indexers/gstindexers.c: (plugin_init):
942 don't compile fileindex without mmap
944 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
952 * docs/gst/Makefile.am:
953 * examples/helloworld/Makefile.am:
955 * gst/base/Makefile.am:
956 * gst/check/Makefile.am:
957 * gst/elements/Makefile.am:
958 * gst/indexers/Makefile.am:
959 * gst/parse/Makefile.am:
960 * libs/gst/controller/Makefile.am:
961 * libs/gst/dataprotocol/Makefile.am:
962 * examples/helloworld/helloworld.c: (event_loop):
963 compile fixes, though it's not being compiled currently
965 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
967 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
968 Add some simple tests for the new taglist date API.
970 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
972 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
973 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
974 Beautify 'last-message' output: print 'none' for buffer timestamps
975 and durations if none is set; improve alignment with next messages.
977 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
979 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
980 * gst/gstpluginfeature.h:
981 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
983 * docs/gst/gstreamer-sections.txt:
984 Add new API to check plugin feature version requirements.
986 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
987 Some basic tests for the above.
989 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
991 * gst/gststructure.c: (gst_structure_to_string):
992 guard against NULL printf - happens when for example
993 a message structure with GstClock gets serialized
995 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
997 * gst/base/gstcollectpads.c: (gst_collectpads_event):
998 Fix presumable copy'n'pasto.
1000 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1002 * gst/elements/gstfakesrc.h:
1003 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1004 * gst/elements/gsttypefindelement.c:
1006 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1007 I wonder if this could actually write +2GB files before
1009 2005-10-13 Andy Wingo <wingo@pobox.com>
1011 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1012 Fix Timmeke Waymans bug.
1013 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1014 string of the proper length to gst_caps_from_string. There's a
1015 potential for, before this fix, that this could cause someone
1016 connecting over the network to cause a segfault if the payload is
1019 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1021 * docs/design/draft-push-pull.txt:
1022 * docs/design/part-overview.txt:
1023 * docs/random/TODO-pre-0.9:
1024 * docs/random/old/ChangeLog.gstreamer:
1025 * gst/base/gstpushsrc.c:
1029 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1031 * gst/glib-compat.c: (gst_flags_get_first_value):
1032 * gst/glib-compat.h:
1033 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1034 (gst_value_compare_double), (gst_value_serialize_flags):
1035 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1038 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1040 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1041 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1043 * tools/gst-launch.c: (event_loop):
1044 print out clock nicely
1046 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1048 * docs/gst/gstreamer-sections.txt:
1050 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1051 (gst_tag_list_get_date_index):
1052 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1053 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1055 2005-10-13 Julien MOUTTE <julien@moutte.net>
1057 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1058 (gst_collectpads_chain):
1059 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1062 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1064 * docs/gst/gstreamer-sections.txt:
1067 * tools/gst-inspect.c: (main):
1068 * tools/gst-launch.c: (main):
1069 * tools/gst-run.c: (main):
1070 * tools/gst-xmlinspect.c: (main):
1071 fix GOption context leaks
1074 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1078 * win32/common/config.h:
1080 * win32/vs6/grammar.dsp:
1081 * win32/vs6/libgstelements.dsp:
1082 * win32/vs6/libgstreamer.dsp:
1085 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1087 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1088 * gst/base/gstbasesrc.c: (gst_base_src_query):
1089 fix more guint64<->gdouble conversions
1091 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1094 add win32-update target
1095 * win32/common/gstconfig.h:
1096 * win32/common/gstenumtypes.c:
1097 * win32/common/gstenumtypes.h:
1098 * win32/common/gstversion.h:
1099 add files that visual studio can't generate
1101 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1104 add a win32-update target
1107 2005-10-12 Wim Taymans <wim@fluendo.com>
1109 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1110 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1111 * gst/gstelement.c: (gst_element_commit_state),
1112 (gst_element_set_state):
1113 Protect flags with proper lock.
1114 unref provided cached clock in dispose.
1116 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1119 * gst/gstminiobject.h:
1121 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1122 removed unused flags from miniobject
1125 2005-10-12 Wim Taymans <wim@fluendo.com>
1127 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1128 (gst_file_sink_event), (gst_file_sink_render):
1129 Flush before seeking.
1131 2005-10-12 Andy Wingo <wingo@pobox.com>
1133 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1134 always been the case.
1136 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1138 * check/gst/gstbin.c: (GST_START_TEST):
1139 * docs/gst/gstreamer-sections.txt:
1140 * gst/base/gstbasesink.c: (gst_base_sink_init):
1141 * gst/base/gstbasesrc.c: (gst_base_src_init),
1142 (gst_base_src_get_range), (gst_base_src_check_get_range),
1143 (gst_base_src_start), (gst_base_src_stop):
1144 * gst/base/gstbasesrc.h:
1145 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1146 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1147 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1151 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1153 * gst/gstelement.c: (gst_element_is_locked_state),
1154 (gst_element_set_locked_state), (gst_element_commit_state),
1155 (gst_element_set_state):
1157 * gst/gstindex.c: (gst_index_init):
1159 * gst/gstminiobject.h:
1160 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1161 (gst_object_set_parent):
1163 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1164 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1166 * gst/gstpadtemplate.h:
1167 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1168 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1169 * gst/gstpipeline.h:
1170 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1171 (gst_file_index_commit):
1172 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1173 * testsuite/pad/link.c: (gst_test_src_init),
1174 (gst_test_filter_init), (gst_test_sink_init):
1175 * testsuite/states/locked.c: (main):
1176 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1177 moved bitshift from macro to enum definition
1179 2005-10-12 Wim Taymans <wim@fluendo.com>
1181 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1182 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1183 (gst_file_sink_render):
1184 Some more debugging info.
1186 2005-10-12 Wim Taymans <wim@fluendo.com>
1188 * docs/design/part-states.txt:
1189 * tools/gst-launch.c: (main):
1191 Revert non-intentional change.
1193 2005-10-12 Wim Taymans <wim@fluendo.com>
1195 * check/gst/gstbin.c: (GST_START_TEST):
1196 * check/gst/gstelement.c: (GST_START_TEST):
1197 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1198 * check/gst/gstghostpad.c: (GST_START_TEST):
1199 * check/gst/gstpipeline.c: (GST_START_TEST):
1200 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1201 * check/states/sinks.c: (GST_START_TEST):
1202 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1203 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1204 (gst_bin_remove_func), (gst_bin_get_state_func),
1205 (gst_bin_recalc_state), (gst_bin_change_state_func),
1207 * gst/gstelement.c: (gst_element_get_state_func),
1208 (gst_element_get_state), (gst_element_abort_state),
1209 (gst_element_commit_state), (gst_element_set_state),
1210 (gst_element_change_state), (gst_element_change_state_func):
1212 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1213 (gst_pipeline_provide_clock_func):
1214 * gst/gstutils.c: (gst_element_link_pads_filtered):
1215 * tools/gst-launch.c: (main):
1216 * tools/gst-typefind.c: (main):
1217 Use GstClockTime in _get_state() instead of GTimeVal.
1218 Remove old code in gstutils.c
1220 2005-10-12 Andy Wingo <wingo@pobox.com>
1222 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1225 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1226 there is no task. Shouldn't affect any code, as nothing in our
1227 plugins checks this return value.
1228 (gst_pad_stop_task): Also take the stream lock if the pad has no
1231 2005-10-12 Wim Taymans <wim@fluendo.com>
1233 * gst/gstpad.c: (pre_activate), (post_activate),
1234 (gst_pad_activate_pull), (gst_pad_activate_push):
1235 Cleanup activation code. Reset old state if
1238 2005-10-12 Wim Taymans <wim@fluendo.com>
1240 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1241 (gst_base_sink_change_state):
1242 No need to prerol after receiving EOS.
1244 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1245 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1246 * gst/elements/gstidentity.c: (gst_identity_event):
1247 Print events more verbosely.
1249 2005-10-12 Wim Taymans <wim@fluendo.com>
1251 * check/Makefile.am:
1252 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1253 * check/states/sinks2.c:
1254 Moved sinks2 testcode in sinks check.
1256 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1257 (gst_bin_remove_func), (gst_bin_recalc_state),
1258 (gst_bin_change_state_func), (bin_bus_handler):
1259 Fix potential race condition when _get_state() iterated over an
1260 ASYNC element right before it posted a state completion.
1263 Do proper cast here.
1265 * gst/gstevent.c: (gst_event_new_newsegment),
1266 (gst_event_parse_newsegment):
1267 A playback rate of 0.0 is not allowed.
1269 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1271 * win32/common/config.h:
1272 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1273 (_trewinddir), (_ttelldir), (_tseekdir):
1274 * win32/common/dirent.h:
1275 * win32/common/gtchar.h:
1276 * win32/common/libgstbase.def:
1277 * win32/common/libgstreamer.def:
1278 * win32/vs6/grammar.dsp:
1279 * win32/vs6/gst_inspect.dsp:
1280 * win32/vs6/gst_launch.dsp:
1281 * win32/vs6/gstreamer.dsw:
1282 * win32/vs6/libgstbase.dsp:
1283 * win32/vs6/libgstelements.dsp:
1284 * win32/vs6/libgstreamer.dsp:
1285 Visual Studio 6 project files, and a new common directory.
1288 2005-10-11 Wim Taymans <wim@fluendo.com>
1290 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1291 (gst_base_sink_do_sync), (gst_base_sink_query),
1292 (gst_base_sink_change_state):
1293 * gst/base/gstbasesink.h:
1294 Correctly parse newsegment info.
1296 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1298 * gst/gst.c: (init_post):
1299 split plugin paths correctly
1301 2005-10-11 Wim Taymans <wim@fluendo.com>
1303 * check/gst/gstevent.c: (GST_START_TEST):
1304 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1305 (gst_base_sink_change_state):
1306 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1307 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1308 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1309 * gst/gstevent.c: (gst_event_new_newsegment),
1310 (gst_event_parse_newsegment):
1312 Added extra flag to newsegment for future API freeze.
1313 Updated check and base elements.
1315 2005-10-11 Julien MOUTTE <julien@moutte.net>
1317 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1318 (gst_collectpads_add_pad), (gst_collectpads_pop),
1319 (gst_collectpads_event), (gst_collectpads_chain):
1320 * gst/base/gstcollectpads.h: Handle EOS correctly.
1322 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1324 * tools/gst-launch.c: (main):
1325 more null protecting
1327 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1329 * gst/gst-i18n-lib.h:
1330 check for ENABLE_NLS, not GETTEXT_PACKAGE
1331 * gst/gstregistry.c: (gst_registry_add_plugin),
1332 (gst_registry_scan_path_level),
1333 (_gst_registry_remove_cache_plugins):
1334 protect possibly NULL strings
1335 * gst/parse/types.h:
1336 config.h already included before
1337 * tools/gst-inspect.c: (main):
1338 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1339 check for ENABLE_NLS, not GETTEXT_PACKAGE
1340 * tools/gst-launch.c: (main):
1341 check for ENABLE_NLS, not GETTEXT_PACKAGE
1343 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1346 if we don't have glib, fail before testing 2.8
1347 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1348 fix a leak, should fix plugins-base testsuite
1350 2005-10-11 Andy Wingo <wingo@pobox.com>
1352 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1353 take the mode we're going to as an arg. Go head and set the mode
1354 and flushing flags now, so that if the activate function starts a
1355 thread all the flags will be in the right state.
1356 (post_activate): Renamed also. Just handle making sure streaming
1357 finishes for the deactivation case, and setting the deactivated
1359 (gst_pad_set_active): Complain loudly if deactivation fails.
1360 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1361 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1362 remove the terrible hack.
1364 2005-10-11 Wim Taymans <wim@fluendo.com>
1366 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1367 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1368 (gst_bin_recalc_state), (gst_bin_change_state_func),
1369 (gst_bin_dispose), (bin_bus_handler):
1371 Prepare to make current EOS message queue more generic.
1374 * gst/gstevent.c: (gst_event_new_newsegment),
1375 (gst_event_parse_newsegment):
1377 Rename base to stream_time.
1382 2005-10-11 Wim Taymans <wim@fluendo.com>
1384 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1385 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1386 (gst_bin_change_state_func), (bin_bus_handler):
1388 Work on proper clock selection.
1390 2005-10-11 Edward Hervey <edward@fluendo.com>
1392 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1393 * libs/gst/controller/gstcontroller.h:
1394 Added GList* version of _remove_properties() in order to be able to wrap
1397 2005-10-11 Wim Taymans <wim@fluendo.com>
1399 * docs/design/part-states.txt:
1402 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1403 (gst_bin_change_state_func), (bin_bus_handler):
1404 Doc updates. Don't distribute the same clock over and over again.
1410 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1411 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1412 (gst_pad_send_event):
1414 Make probe emission threadsafe again.
1415 Register quarks and move _get_name() from utils.
1418 * gst/gstpipeline.c: (gst_pipeline_class_init),
1419 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1420 Only redistribute the clock of it changed.
1422 * gst/gstsystemclock.h:
1427 Moved the _flow_get_name() to GstPad.
1429 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1431 * check/gst-libs/gdp.c: (GST_START_TEST):
1432 * check/gst/gstcaps.c: (GST_START_TEST):
1433 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1434 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1435 (gst_dp_packet_from_caps):
1436 fix more valgrind warnings before turning up the heat
1438 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1440 * gst/parse/grammar.y:
1441 some cleanup before the hacking
1443 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1445 * gst/base/gstbasesrc.c: (gst_base_src_query):
1447 * gst/gstutils.c: (gst_guint64_to_gdouble),
1448 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1450 externalize, basesrc uses it
1451 obviously the implementation needs testing
1453 2005-10-10 Wim Taymans <wim@fluendo.com>
1455 * tests/sched/Makefile.am:
1456 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1457 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1459 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1461 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1462 apparently converting from guint64 to double is not implemented
1465 2005-10-10 Wim Taymans <wim@fluendo.com>
1467 * check/Makefile.am:
1468 * check/generic/states.c: (GST_START_TEST):
1469 * check/gst/gstbin.c: (GST_START_TEST):
1470 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1471 * check/states/sinks.c: (GST_START_TEST):
1472 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1474 Check fixes, use API as stated in design docs, remove hacks.
1476 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1477 (gst_base_sink_change_state):
1478 Catch stopping our task while we're shutting down.
1480 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1481 (gst_bin_remove_func), (gst_bin_get_state_func),
1482 (gst_bin_recalc_state), (gst_bin_change_state_func),
1485 * gst/gstelement.c: (gst_element_init),
1486 (gst_element_get_state_func), (gst_element_abort_state),
1487 (gst_element_commit_state), (gst_element_lost_state),
1488 (gst_element_set_state), (gst_element_change_state),
1489 (gst_element_change_state_func):
1491 New state change algorithm (see #318116)
1493 * gst/gstpipeline.c: (gst_pipeline_class_init),
1494 (gst_pipeline_init), (gst_pipeline_set_property),
1495 (gst_pipeline_get_property), (do_pipeline_seek),
1496 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1497 * gst/gstpipeline.h:
1498 Remove crude state change hacks.
1503 * tools/gst-launch.c: (main):
1504 Fixes for state change. Needs some more work to fully use the
1507 2005-10-10 Andy Wingo <wingo@pobox.com>
1509 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1511 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1512 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1515 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1517 * gst/gstiterator.c: (gst_iterator_new):
1518 Fix my previous commit: GTypes passed to gst_iterator_new()
1519 can be fundamental types.
1521 2005-10-10 Wim Taymans <wim@fluendo.com>
1523 * gst/gstelement.c: (gst_element_iterate_pad_list),
1524 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1525 (gst_element_iterate_sink_pads):
1526 Use src/sink pads lists for the respective iterators instead
1529 2005-10-10 Andy Wingo <wingo@pobox.com>
1531 Merged in popt removal + GOption addition patch from Ronald, bug
1534 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1535 GstElement macros around, remove popt-related symbols, add goption
1538 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1540 * docs/gst/Makefile.am:
1541 * docs/libs/Makefile.am: No POPT_CFLAGS.
1543 * examples/manual/Makefile.am:
1544 * docs/manual/basics-init.xml: Doc updates with an example.
1546 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1547 (gst_init), (parse_one_option), (parse_goption_arg):
1548 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1549 bit of hand merging and debugging to get the GOption stuff working
1552 * tests/Makefile.am:
1553 * tools/Makefile.am:
1554 * tools/gst-inspect.c: (main):
1555 * tools/gst-launch.c: (main):
1556 * tools/gst-run.c: (main):
1557 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1559 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1561 * gst/gstiterator.c: (gst_iterator_new):
1562 Add assertions to make sure passed GType is likely to really
1563 be a GType (as the compiler won't catch it if the size and
1564 GType arguments get mixed up, see #318447).
1566 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1568 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1570 * gst/gstbin.c: (gst_bin_iterate_sorted):
1571 Pass GType and size arguments to gst_iterator_new() in the right
1572 order (maybe we should make _new() take the GType as first argument
1573 just like _new_list()?) (#318447).
1576 2005-10-10 Wim Taymans <wim@fluendo.com>
1578 * gst/gstelement.c: (gst_element_finalize):
1579 And free the GStaticRecMutex too
1581 2005-10-10 Andy Wingo <wingo@pobox.com>
1583 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1584 Allocate and free the mutex properly.
1586 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1588 (GstElement): The state_lock is now recursive. Rebuild your
1589 plugins, suckers. Old macros adapted.
1591 * docs/gst/gstreamer-sections.txt: Doc updates.
1594 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1595 (g_static_rec_cond_wait): Ported from state changes patch, while
1596 we wait on bug #317802 to be solved in a well-distributed GLib.
1598 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1599 gst_element_change_state, variable name changes.
1600 (gst_element_change_state): Split out of gst_element_set_state in
1601 preparation for the state change merge. Doesn't pay attention to
1602 the 'transition' argument.
1603 (gst_element_set_state): Updates, hopefully purely cosmetic.
1604 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1606 (gst_element_get_state_func): Renamed from get_state, cosmetic
1609 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1611 * gst/elements/gstelements.c:
1612 * win32/GStreamer.vcproj:
1614 * win32/dirent.c: (_tseekdir):
1615 * win32/gst-inspect.vcproj:
1616 * win32/gst-launch.vcproj:
1617 * win32/gstconfig.h:
1618 * win32/gstelements.vcproj:
1619 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1620 * win32/gstreamer.def:
1622 updates for the win32 build (patch from Sebastien Moutte)
1624 2005-10-10 Andy Wingo <wingo@pobox.com>
1626 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1627 gst_bin_get_state, cleaned up (but no logic changes).
1628 (bin_element_is_sink): Comment updates.
1629 (sink_iterator_filter): Remove needless cast.
1630 (gst_bin_iterate_sinks): Doc update.
1631 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1632 cleaned up (but no logic changes).
1634 * check/states/sinks.c (test_src_sink): Cleanups from the state
1636 (test_livesrc_sink): Sync on the state.
1638 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1639 the state change patch.
1641 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1644 * check/gst/gstbin.c: Merge in some style fixes and additional
1645 checks from Wim's state change patch.
1647 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1649 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1650 (gst_type_find_helper):
1651 Check whether we have the requested data already in our list of
1652 cached buffers before pulling a new buffer; also make the buffer
1653 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1655 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1660 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1661 don't use long long, it's not portable. Replacing with
1662 gint64 seems to work; let's hope no skeletons fall out of the closet.
1664 2005-10-10 Andy Wingo <wingo@pobox.com>
1666 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1668 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1670 * docs/gst/gstreamer-sections.txt:
1675 * gst/gstmessage.c: (gst_message_parse_state_changed):
1678 more docs, fix compilation
1680 2005-10-09 Philippe Khalaf <burger@speedy.org>
1682 Fixed a few forgotten variables on previous commit
1684 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1686 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1687 Fix evil typefind crasher: getrange() might return a short
1688 buffer at the end of a file, but gst_type_find_peek() must
1689 either return the full data as requested or NULL, but
1690 never a short buffer.
1692 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1694 * gst/gstmessage.c: (gst_message_new_state_changed),
1695 (gst_message_parse_state_changed):
1697 don't use "new", it's a C++ keyword
1699 2005-10-08 Wim Taymans <wim@fluendo.com>
1701 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1702 * gst/gstelement.c: (gst_element_post_message):
1703 * gst/gstpipeline.c: (gst_pipeline_change_state):
1704 Small docs and debug updates.
1706 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1708 * docs/gst/gstreamer-sections.txt:
1709 * gst/gstelementfactory.c:
1714 2005-10-08 Wim Taymans <wim@fluendo.com>
1716 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1717 (gst_bin_dispose), (bin_bus_handler):
1718 Fix typos, add comments.
1719 Clear EOS list when going to PAUSED from any direction and do it
1720 in a threadsafe way.
1721 Get base time in a threadsafe way too.
1722 Fix confusing debug in the change_state function.
1723 Various other small cleanups.
1725 * gst/gstelement.c: (gst_element_post_message):
1726 Fix very verbose bus posting code.
1728 * gst/gstpipeline.c: (gst_pipeline_class_init),
1729 (gst_pipeline_set_property), (gst_pipeline_get_property),
1730 (gst_pipeline_change_state):
1731 Small ARG_ -> PROP_ cleanup
1733 2005-10-08 Wim Taymans <wim@fluendo.com>
1735 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1736 Do a less CPU demanding EOS check because we can.
1738 2005-10-08 Wim Taymans <wim@fluendo.com>
1740 * libs/gst/dataprotocol/dataprotocol.c:
1741 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1742 (gst_dp_packet_from_event):
1743 * libs/gst/dataprotocol/dataprotocol.h:
1744 * libs/gst/dataprotocol/dp-private.h:
1745 It's about time we bump the version number.
1746 Since event types don't fit in the guint8 anymore describing
1747 the payload type, make payload type 16 bits wide.
1749 2005-10-08 Wim Taymans <wim@fluendo.com>
1751 * docs/design/part-TODO.txt:
1752 * docs/design/part-clocks.txt:
1753 * docs/design/part-events.txt:
1754 * docs/design/part-gstbin.txt:
1755 * docs/design/part-gstelement.txt:
1756 * docs/design/part-gstpipeline.txt:
1757 * docs/design/part-live-source.txt:
1758 * docs/design/part-messages.txt:
1759 * docs/design/part-overview.txt:
1760 * docs/design/part-states.txt:
1763 2005-10-08 Wim Taymans <wim@fluendo.com>
1767 Fix event quark registration.
1768 Add some space between events so we can insert them in the
1771 2005-10-08 Wim Taymans <wim@fluendo.com>
1773 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1774 (gst_base_sink_handle_buffer):
1781 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1782 (gst_queue_set_property), (gst_queue_get_property):
1784 Remove old unused properties.
1786 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1787 * docs/gst/gstreamer-sections.txt:
1790 * gst/gstminiobject.c:
1791 * gst/gstminiobject.h:
1795 lots of new docs and doc fixes
1797 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1799 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1801 * gst/gstregistry.c: (gst_registry_lookup_locked),
1802 (gst_registry_scan_path_level):
1803 * gst/gstregistryxml.c: (load_plugin):
1804 Only ever load one plugin for a given plugin basename.
1805 This ensures correct overriding of GST_PLUGIN_PATH over
1806 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1807 system installed plugins.
1809 2005-10-08 Wim Taymans <wim@fluendo.com>
1811 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1812 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1813 Prepare for doing QOS.
1815 2005-10-08 Wim Taymans <wim@fluendo.com>
1817 * check/gst/gstbin.c: (GST_START_TEST):
1818 * check/pipelines/cleanup.c: (GST_START_TEST):
1819 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1820 Allow new clock message too.
1822 2005-10-08 Wim Taymans <wim@fluendo.com>
1824 * gst/gstmessage.c: (gst_message_new_error),
1825 (gst_message_new_warning), (gst_message_new_tag),
1826 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1827 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1828 (gst_message_new_segment_start), (gst_message_new_segment_done),
1829 (gst_message_parse_state_changed),
1830 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1831 (gst_message_parse_new_clock):
1833 Also carry the clock in question.
1835 2005-10-08 Wim Taymans <wim@fluendo.com>
1837 * gst/gstmessage.c: (gst_message_new_custom),
1838 (gst_message_new_eos), (gst_message_new_error),
1839 (gst_message_new_warning), (gst_message_new_tag),
1840 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1841 (gst_message_new_new_clock), (gst_message_new_segment_start),
1842 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1843 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1846 Added clock related messages.
1848 * gst/gstpipeline.c: (gst_pipeline_change_state):
1849 Post message when the clock changed.
1851 * tools/gst-launch.c: (event_loop):
1854 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
1856 * tools/gst-inspect.c: (print_element_properties_info):
1857 Can't pass NULL strings to g_print() on windows.
1859 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1862 * docs/gst/Makefile.am:
1863 * docs/gst/gstreamer-docs.sgml:
1864 * docs/gst/running.xml:
1865 * docs/version.entities.in:
1866 add a chapter on running GStreamer.
1867 document GST_DEBUG and GST_PLUGIN* env vars
1869 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1874 remove PLUGINS_BUILDDIR stuff
1875 * gst/gst.c: (init_post):
1876 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
1878 remove, it was condescending and not needed
1880 2005-10-08 Wim Taymans <wim@fluendo.com>
1882 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1883 (gst_base_sink_handle_object), (gst_base_sink_event),
1884 (gst_base_sink_wait), (gst_base_sink_handle_event),
1885 (gst_base_sink_change_state):
1886 * gst/base/gstbasesink.h:
1887 Repost EOS message while going to PLAYING if still EOS.
1888 Make sure that when receiving a FLUSH_START we don't attempt
1889 to sync on the clock anymore.
1891 2005-10-08 Wim Taymans <wim@fluendo.com>
1893 * tools/gst-launch.c: (event_loop):
1894 Better message printout.
1896 2005-10-08 Wim Taymans <wim@fluendo.com>
1898 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
1899 (gst_bin_child_proxy_get_children_count):
1900 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1901 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
1902 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
1903 (gst_child_proxy_set_valist):
1904 * gst/parse/grammar.y:
1905 Make ChildProxy threadsafe and fix mem leaks.
1907 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1909 * gst/gst.c: (init_post):
1910 debug the GST_PLUGIN_ env vars
1912 2005-10-08 Wim Taymans <wim@fluendo.com>
1914 * check/gst/gstbin.c: (GST_START_TEST):
1915 * check/gst/gstmessage.c: (GST_START_TEST):
1916 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1917 * gst/gstelement.c: (gst_element_commit_state),
1918 (gst_element_lost_state):
1919 * gst/gstmessage.c: (gst_message_new_state_changed),
1920 (gst_message_parse_state_changed):
1922 * tools/gst-launch.c: (event_loop):
1923 Added extra field to STATE_CHANGE message with the pending
1924 state, which will be different from the new state soon.
1926 2005-10-08 Wim Taymans <wim@fluendo.com>
1928 * gst/gstbus.c: (gst_bus_pop):
1930 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1931 Small cleanups and doc updates.
1933 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1935 * gst/gst.c: (init_pre):
1936 * gst/gstbin.c: (gst_bin_add_func):
1937 log distributing clocks and base time
1938 * gst/gstregistry.c: (gst_registry_add_plugin),
1939 (gst_registry_scan_path_level), (gst_registry_scan_path):
1940 clean up the debugging output a little
1941 * gst/gstutils.c: (gst_element_state_get_name):
1942 warn about a memleak (I've actually seen this be used, though
1943 it was probably a bug)
1945 2005-10-07 Wim Taymans <wim@fluendo.com>
1947 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1948 (gst_base_src_init), (gst_base_src_default_newsegment),
1949 (gst_base_src_newsegment), (gst_base_src_do_seek),
1950 (gst_base_src_loop), (gst_base_src_start):
1951 * gst/base/gstbasesrc.h:
1952 Make the newsegment event customizable by subclasses.
1954 2005-10-07 Wim Taymans <wim@fluendo.com>
1956 * gst/gstevent.c: (gst_event_new_buffersize),
1957 (gst_event_parse_buffersize):
1959 New event for future idea.
1961 2005-10-07 Andy Wingo <wingo@pobox.com>
1963 * gst/gstelement.c (gst_element_post_message): Doc update.
1965 * docs/gst/gstreamer-sections.txt: Update.
1967 * gst/gstmessage.c (gst_message_new_application): Made into a
1968 function like honest API calls.
1969 (gst_message_new_element): New message type.
1971 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
1973 * check/elements/fakesrc.c (test_no_preroll): New check, checks
1974 that setting a live fakesrc to PAUSED returns NO_PREROLL both
1977 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
1978 NO_PREROLL from gst_element_change_state to fall through.
1980 2005-10-07 Wim Taymans <wim@fluendo.com>
1982 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
1983 (gst_ghost_pad_do_activate_push):
1984 Activating a ghostpad with no internal pad in push mode
1987 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
1990 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
1991 Fixes compilation on Windows.
1993 2005-10-07 Michael Smith <msmith@fluendo.com>
1995 * tools/gst-inspect.c:
1996 Print out feature and plugin count at the end when printing out
1999 2005-10-04 Michael Smith <msmith@fluendo.com>
2001 * gst/gsterror.c: (_gst_stream_errors_init):
2002 Add another error string used in a few existing plugins.
2005 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2006 * tools/gst-inspect.c: (print_element_info):
2007 When a feature disappears from a plugin (and the feature exists in
2008 the cached registry file), things went horribly wrong. This isn't a
2009 complete fix, we should actually be removing the 'missing' features
2010 from the features list when we load the actual plugin. That's not
2013 2005-10-04 Johan Dahlin <johan@gnome.org>
2015 * check/gst/gstiterator.c: (GST_START_TEST):
2016 * gst/gstbin.c: (gst_bin_iterate_elements),
2017 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2018 * gst/gstelement.c: (gst_element_iterate_pads):
2019 * gst/gstformat.c: (gst_format_iterate_definitions):
2020 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2021 (gst_iterator_new_list), (gst_iterator_filter):
2022 * gst/gstiterator.h:
2023 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2024 Add a GType to GstIterator, update callsites and tests.
2026 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2028 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2029 give events a chance to be handled by event probes when the pad
2032 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2034 * gst/gstevent.c: (gst_event_type_get_name),
2035 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2037 add string representations for event types
2039 2005-10-06 Wim Taymans <wim@fluendo.com>
2041 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2042 Don't use NULL pointers.
2044 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2046 * gst/gst_private.h:
2050 * gst/gstpluginfeature.c:
2051 widen the debug category in output to fit the biggest one we have
2052 add a bus category and use it
2053 play with the colors
2054 fix up some categories
2056 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2058 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2059 add push activation of sink ghost pads.
2060 Andye, please verify
2062 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2064 * gst/gstutils.c: (gst_element_link_pads):
2065 fix a bug in the case where neither element has a pad
2066 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2067 add a test for that case
2069 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2071 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2072 emit have-data before checking for peers. This allows
2073 for probe handlers to connect elements. This helps autopluggers.
2074 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2076 add six checks, linked/unlinked with no/true/false probe
2078 2005-10-04 Wim Taymans <wim@fluendo.com>
2080 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2081 (gst_fake_sink_event), (gst_fake_sink_preroll),
2082 (gst_fake_sink_render), (gst_fake_sink_change_state):
2083 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2084 (gst_fake_src_get_property), (gst_fake_src_create),
2085 (gst_fake_src_stop):
2086 * gst/elements/gstidentity.c: (gst_identity_stop):
2087 Protect last_message with lock.
2089 2005-10-04 Edward Hervey <edward@fluendo.com>
2092 Added precision in the comments for GST_FORMAT_DEFAULT
2094 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2096 * tools/gst-launch.c: (main):
2097 Don't try to run erroneous pipelines.
2099 2005-10-04 Julien MOUTTE <julien@moutte.net>
2101 * gst/gstbus.c: We don't need this header.
2103 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2108 === release 0.9.3 ===
2110 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2114 Releasing 0.9.3, "Unregistered"
2116 2005-10-03 Andy Wingo <wingo@pobox.com>
2118 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2119 whereby calling a pad's activatepush() function can start a thread
2120 that starts to push or pull before the pad gets the FLUSHING flag
2121 unset. Hack around it by holding the stream lock until the flag is
2122 set. Need to replace this with a proper solution. Together with
2123 the ghost pad fixes, this fixes mp3 playing/tagreading.
2125 * docs/design/part-gstghostpad.txt: Add a note about activation of
2126 proxy pads outside of ghost pads.
2128 * gst/gstghostpad.c: Implement the ghost pad activation design.
2130 2005-10-02 Andy Wingo <wingo@pobox.com>
2132 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2133 It is volatile, after all.
2135 * docs/design/part-gstghostpad.txt: Flesh out activation with
2138 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2141 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2144 Fix (unused) AM_CONDITIONAL tests.
2146 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2148 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2150 * gst/gstutils.c: (gst_pad_query_convert):
2151 Add assertion that makes sure src_val is >=0, just like
2152 gst_query_new_convert() has. (#315895)
2154 2005-09-30 Edward Hervey <edward@fluendo.com>
2156 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2157 Let's not iterate pads we're not interested in, it avoids getting
2158 sky-high refcounts on sinkpad.
2160 2005-09-30 Wim Taymans <wim@fluendo.com>
2162 * gst/gstelement.c: (gst_element_set_state),
2163 (gst_element_change_state):
2164 Small tweak, element in ASYNC remains ASYNC.
2166 2005-09-30 Wim Taymans <wim@fluendo.com>
2168 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2169 Only error is an error.
2171 * gst/gstbin.c: (gst_bin_change_state):
2174 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2175 Also call pad_block in pad alloc.
2177 * gst/gstutils.c: (gst_flow_get_name):
2180 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2182 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2183 (gst_base_src_get_range):
2184 Fix documentation typos. Add some more debug info.
2186 2005-09-29 David Schleef <ds@schleef.org>
2188 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2189 more end-user friendly.
2190 * tools/gst-inspect.c: (main): Check if command-line argument is
2191 a file and attempt to load that file as a plugin.
2193 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2195 * check/gst/gstbin.c:
2196 * check/states/sinks.c:
2197 fix tests for the new warning
2198 * check/gst/gstpipeline.c:
2199 add a test for pipeline and bus interaction
2201 elements should be NULL if they get disposed; add a warning if not
2203 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2206 for 2.6 refcounting, make debug log more correct by printing
2207 the actual refcounts at the time of swap (Wim)
2209 2005-09-29 Andy Wingo <wingo@pobox.com>
2211 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2212 removes signal watches previously added via
2213 gst_bus_add_signal_watch.
2214 (gst_bus_add_signal_watch): Don't return the source id, just store
2215 it on the bus if there wasn't an id already.
2217 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2218 add_signal_watch and remove_signal_watch.
2220 2005-09-29 Edward Hervey <edward@fluendo.com>
2222 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2223 Better if we actually iterate the list :)
2225 2005-09-29 Wim Taymans <wim@fluendo.com>
2227 * check/gst/gstbin.c: (GST_START_TEST):
2228 Change for new bus API.
2230 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2231 (send_messages), (GST_START_TEST), (gstbus_suite):
2232 Change for new bus signal API.
2234 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2235 (gst_bus_source_prepare), (gst_bus_source_check),
2236 (gst_bus_create_watch), (gst_bus_add_watch_full),
2237 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2238 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2240 Remove support for multiple GSources operating on different
2241 message types as it is too complex and unneeded when using
2243 Added support for receiving signals from the bus.
2245 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2247 * docs/libs/tmpl/gstdataprotocol.sgml:
2248 * docs/manual/advanced-dataaccess.xml:
2249 * gst/elements/gstcapsfilter.c:
2251 rename filter-caps to caps property
2253 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2255 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2256 More robust fraction string parsing.
2258 * docs/pwg/appendix-porting.xml:
2259 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2261 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2263 * gst/gstcaps.c: (gst_caps_do_simplify):
2264 Thou shalt not free a structure and then continue using it
2265 in the next loop iteration.
2267 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2269 Add test case for caps simplification.
2271 2005-09-29 Wim Taymans <wim@fluendo.com>
2273 * check/gst/gstbin.c: (GST_START_TEST):
2276 2005-09-29 Wim Taymans <wim@fluendo.com>
2278 * check/gst/gstbin.c: (GST_START_TEST):
2281 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2282 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2283 (find_element), (gst_bin_sort_iterator_next),
2284 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2285 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2286 (gst_bin_change_state), (gst_bin_dispose):
2287 A bin does not have a bus, it gets the bus from the parent.
2289 * gst/gstelement.c: (gst_element_requires_clock),
2290 (gst_element_provides_clock), (gst_element_is_indexable),
2291 (gst_element_is_locked_state), (gst_element_change_state),
2292 (gst_element_set_bus_func):
2295 * gst/gstpipeline.c: (gst_pipeline_class_init),
2296 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2297 The pipeline provides a bus.
2299 2005-09-28 Johan Dahlin <johan@gnome.org>
2301 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2302 gst_structure_get_enum instead of gst_structure_get_int
2304 * gst/gststructure.c (gst_structure_get_enum): Impl.
2306 * gst/gststructure.h (gst_structure_get_enum): Add
2308 * docs/gst/gstreamer-sections.txt: Ditto
2310 * gst/gstmessage.c (gst_message_new_state_changed): Use
2311 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2312 which does introspection.
2313 Reviewed by Christian Schaller
2315 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2317 * gst/gstinfo.c: (gst_debug_log_default):
2318 don't do dummy g_strdup()s
2319 * libs/gst/controller/gstcontroller.c:
2320 (on_object_controlled_property_changed),
2321 (gst_controlled_property_new), (gst_controller_new_valist),
2322 (gst_controller_new_list),
2323 (gst_controller_remove_properties_valist), (gst_controller_set),
2324 (gst_controller_get), (gst_controller_sync_values),
2325 (gst_controller_get_value_array), (_gst_controller_class_init),
2326 (gst_controller_get_type):
2327 * libs/gst/controller/gstcontroller.h:
2328 * libs/gst/controller/gstinterpolation.c:
2329 (gst_controlled_property_find_timed_value_node):
2330 convert // to /**/ comments
2332 2005-09-28 Wim Taymans <wim@fluendo.com>
2334 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2335 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2336 (gst_bus_sync_signal_handler):
2338 Added async-message and sync-message signals to the bus.
2339 Added helper BusFunc to emit signals for all posted messages.
2341 * gst/gstmessage.c: (gst_message_type_get_name),
2342 (gst_message_type_to_quark), (gst_message_get_type):
2344 Register quarks for message names.
2346 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2348 * docs/libs/gstreamer-libs-sections.txt:
2349 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2350 (gst_controller_new_list):
2351 * libs/gst/controller/gstcontroller.h:
2352 added another constructor for language bindings
2354 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2356 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2360 * gst/gstinfo.c: (_gst_debug_init):
2361 slightly more readable color for refcount debugging
2363 2005-09-28 Wim Taymans <wim@fluendo.com>
2365 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2366 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2367 (find_element), (gst_bin_sort_iterator_next),
2368 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2369 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2370 (gst_bin_change_state), (gst_bin_dispose):
2371 Small doc fixes. get_clock -> provide_clock.
2373 * gst/gstelement.c: (gst_element_class_init),
2374 (gst_element_provides_clock), (gst_element_provide_clock),
2375 (gst_element_get_clock), (gst_element_commit_state),
2376 (gst_element_lost_state):
2378 Make get/set_clock() symetric. Add provide_clock vmethod since
2379 that is actually what this function does.
2381 * gst/gstpipeline.c: (gst_pipeline_class_init),
2382 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2383 (gst_pipeline_get_clock):
2384 get_clock -> provide_clock.
2386 2005-09-28 Andy Wingo <wingo@pobox.com>
2388 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2389 lieu of real docs...
2391 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2393 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2395 * gst/elements/gstcapsfilter.c:
2396 * gst/elements/gstfakesink.c:
2397 * gst/elements/gstfakesrc.c:
2398 * gst/elements/gstfdsink.c:
2399 * gst/elements/gstfdsrc.c:
2400 * gst/elements/gstfilesink.c:
2401 * gst/elements/gstfilesrc.c:
2402 * gst/elements/gstidentity.c:
2403 * gst/elements/gsttee.c:
2404 * gst/elements/gsttypefindelement.c:
2405 Make element details static.
2407 2005-09-28 Wim Taymans <wim@fluendo.com>
2409 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2410 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2411 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2412 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2413 (gst_bin_change_state), (gst_bin_dispose):
2414 Some documentation updates.
2415 Clean up dispose handlers.
2417 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2418 * gst/gstpad.c: (gst_pad_dispose):
2419 Clean up dispose handler.
2421 * gst/gstpipeline.c: (gst_pipeline_change_state):
2422 Removed spurious UNLOCK.
2424 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2426 * docs/gst/gstreamer-sections.txt:
2427 * gst/base/gstbasesrc.h:
2432 * gst/gstpipeline.c:
2433 * gst/gstpipeline.h:
2436 added two new functions to the docs
2437 documents all undocumented GstXXXFlags
2438 completed some incomplete docs
2440 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2442 * gst/gstbin.c: (gst_bin_dispose):
2443 * gst/gstelement.c: (gst_element_dispose):
2444 remove now useless and leaky resurrection code in dispose
2445 * gst/base/gstbasesrc.c: (gst_base_src_init):
2446 * gst/gstelementfactory.c: (gst_element_factory_create):
2447 * gst/gstobject.c: (gst_object_set_parent):
2450 2005-09-27 Wim Taymans <wim@fluendo.com>
2452 * docs/design/part-TODO.txt:
2455 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2456 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2457 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2458 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2459 (gst_bin_change_state):
2461 Remove element variable, we keep element info in the iterator now.
2463 2005-09-27 Andy Wingo <wingo@pobox.com>
2465 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2468 2005-09-27 Wim Taymans <wim@fluendo.com>
2470 * check/gst/gstbin.c: (GST_START_TEST):
2471 Enable check that works now.
2473 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2474 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2475 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2476 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2477 (gst_bin_change_state):
2479 Redid the state change algorithm using a topological sort algo.
2480 Handles all cases correctly.
2481 Exposed iterator for state change order.
2484 Temp storage for state changes. Need to get rid of this soon.
2486 2005-09-27 Wim Taymans <wim@fluendo.com>
2488 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2489 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2490 (link_fold_func), (gst_pad_proxy_setcaps):
2491 Leak fixes, the fold functions need to unref the passed object and
2492 _get_parent_*() returns ref to parent.
2494 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2496 * check/gst/gstbuffer.c: (test_make_writable):
2497 Plug leak in test case and fix 'make check-valgrind'
2499 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2501 * gst/gstbuffer.c: (gst_subbuffer_init):
2502 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2503 works correctly in all circumstances (we could have just copied
2504 the parent buffer's readonly flag, but conceptually it seems
2505 cleaner to mark all subbuffers as read-only). (based on patch
2506 by Alessandro Decina, #314710).
2508 * check/gst/gstbuffer.c: (create_read_only_buffer),
2509 (test_make_writable), (test_subbuffer_make_writable),
2511 Add some tests for gst_buffer_make_writable().
2513 2005-09-27 Wim Taymans <wim@fluendo.com>
2515 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2516 use gst_object_has_ancestor().
2518 * gst/gstobject.c: (gst_object_has_ancestor):
2520 gst_object_has_ancestor() copied from gstbin.c as it is a
2523 * tests/instantiate/create.c: (create_all_elements):
2524 * tests/lat.c: (handoff_src), (handoff_sink):
2525 * tests/sched/runxml.c: (main):
2526 * tests/seeking/seeking1.c: (main):
2527 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2529 Fix compilation of some tests.
2531 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2534 Remove comment. GST_TYPE_G_ERROR is here to stay,
2535 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2538 2005-09-26 Wim Taymans <wim@fluendo.com>
2540 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2541 Added check that shows error in state change order.
2543 2005-09-26 Wim Taymans <wim@fluendo.com>
2545 * gst/gstbin.c: (gst_bin_change_state):
2546 Make state change function use 3 queues again, we were
2547 adding elements in the wrong order.
2549 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2552 * gst/gstpad.c: (gst_pad_dispose):
2553 Added some debug info first.
2555 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2557 * docs/design/draft-push-pull.txt:
2558 * docs/design/part-events.txt:
2559 * docs/design/part-overview.txt:
2560 * docs/design/part-scheduling.txt:
2561 Replace all _pull_region() with _pull_range()
2563 2005-09-26 Andy Wingo <wingo@pobox.com>
2565 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2567 * check/gst-libs/controller.c: Update for controller api change.
2570 * tests/Makefile.am:
2571 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2572 over by GLib bug 118439.
2574 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2575 routines to a function.
2577 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2579 * libs/gst/controller/gsthelper.c:
2580 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2581 (gst_object_sync_values): Renamed from sink_values. Ugh.
2583 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2585 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2586 Renamed from controller_key, as it is exported.
2588 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2590 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2595 * gst/gstpadtemplate.h:
2598 * gst/gstqueryutils.c:
2599 * gst/gstqueryutils.h:
2600 remove queryutils headers after moving the two used functions
2601 to gstquery. also fixes build problem for gstsiddec
2603 2005-09-26 Michael Smith <msmith@fluendo.com>
2605 * tools/gst-launch.1.in:
2606 Correct documentation in manpage of debug syntax
2608 2005-09-26 Wim Taymans <wim@fluendo.com>
2610 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2611 (gst_base_src_is_seekable), (gst_base_src_change_state):
2612 Some more debugging info.
2614 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2616 * docs/gst/gstreamer-sections.txt:
2617 * gst/base/gstbasetransform.h:
2621 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2623 * docs/gst/.cvsignore:
2624 * docs/gst/tmpl/.cvsignore:
2625 * docs/gst/tmpl/gstpipeline.sgml:
2626 * docs/gst/tmpl/gstplugin.sgml:
2627 * gst/gstpipeline.c:
2630 inlined the last two docs files
2631 removed the tmpl directory from cvs (no more conflicts here!)
2633 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2635 * docs/gst/gstreamer-sections.txt:
2636 * docs/gst/tmpl/.cvsignore:
2637 * docs/gst/tmpl/gstpad.sgml:
2638 * docs/gst/tmpl/gstpadtemplate.sgml:
2640 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2641 (gst_pad_finalize), (gst_pad_set_pad_template):
2643 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2644 (gst_pad_template_class_init), (gst_pad_template_init),
2645 (gst_pad_template_dispose), (name_is_valid),
2646 (gst_static_pad_template_get), (gst_pad_template_new),
2647 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2648 (gst_pad_template_pad_created):
2649 * gst/gstpadtemplate.h:
2650 inlined two more docs
2651 factored gstpadtemplate out of gstpad
2653 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2655 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2656 (test_children_state_change_order_semi_sink):
2657 Fix test case: we can't rely on a fixed state change order when
2658 going from READY => PAUSED because the sink might commit its
2659 new state first when the first buffer created by the source
2660 reaches the sink before the source has finished its change state.
2661 (Test case still fails at times, see #316856, comment 5 onwards)
2663 2005-09-24 Wim Taymans <wim@fluendo.com>
2665 * docs/design/part-events.txt:
2666 * docs/design/part-gstbus.txt:
2667 * docs/design/part-gstpipeline.txt:
2668 * docs/design/part-messages.txt:
2669 * docs/design/part-overview.txt:
2670 * docs/design/part-segments.txt:
2677 * gst/gstiterator.c:
2678 Various documentation updates.
2680 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2683 Well, that's embarassing. Luckily we weren't using
2684 GST_CLOCK_DIFF anywhere.
2686 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2688 * common/gtk-doc.mak:
2689 don't fail on building XML, FC4 slave shows a bunch of doc
2690 missing bits that I don't get
2692 * gst/gstpipeline.c:
2693 * gst/gststructure.c:
2696 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2698 * docs/design/part-gstbin.txt:
2699 * docs/design/part-gstbus.txt:
2701 Add blurb about how the bus goes into flushing mode and
2702 drops all messages when its bin goes from READY into NULL
2705 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2707 * docs/gst/gstreamer-sections.txt:
2708 * gst/gststructure.c: (gst_structure_get_clock_time):
2709 * gst/gststructure.h:
2710 add a method to get a GstClockTime out of a structure
2712 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2714 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2715 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2716 Added test to check state change order in bins (can still be made
2717 to fail here under heavy disk load; bails out with 'Push on pad
2718 fakesink:sink0, but it was not activated in push mode').
2720 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2721 Fix state change order when there is only a semi sink (#316856)
2723 * gst/gstbus.c: (gst_bus_class_init):
2724 Use _class_peek_parent(), not _class_ref(); fix docs to say
2725 'default main context' instead of 'mainloop' where that is
2728 * gst/gstelement.c: (gst_element_commit_state),
2729 (gst_element_set_state):
2730 Fix typos in debug messages
2732 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2735 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2736 * gst/gstpluginfeature.c:
2739 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2740 change an assert into an error until it gets fixed properly
2742 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2744 * docs/gst/gstreamer-sections.txt:
2745 * docs/gst/tmpl/.cvsignore:
2746 * docs/gst/tmpl/gstelement.sgml:
2747 * docs/gst/tmpl/gstinfo.sgml:
2748 * docs/gst/tmpl/gstobject.sgml:
2753 * gst/gstobject.c: (gst_object_class_init):
2755 inlined 3 more biiiig doc files and added some missing docs on the fly
2757 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2759 * check/gst/.cvsignore:
2760 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2761 * gst/gstregistryxml.c: (load_plugin),
2762 (gst_registry_xml_save_plugin):
2763 put back source in registry. add checks for find_plugin.
2764 * testsuite/states/bin.c: (assert_state), (empty_bin),
2765 (test_adding_one_element), (main):
2766 * testsuite/states/locked.c: (main):
2767 some compile/run fixes
2769 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2771 * check/gst/gstvalue.c: (GST_START_TEST):
2772 fix leaks in the test itself
2774 2005-09-22 Wim Taymans <wim@fluendo.com>
2776 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2777 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2778 (gst_base_sink_query):
2779 Prepare for more accurate position reporting and query
2782 * gst/gstelement.c: (gst_element_send_event),
2783 (gst_element_set_state):
2786 2005-09-22 Wim Taymans <wim@fluendo.com>
2788 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2789 (gst_query_parse_segment):
2792 Add segment query for future use.
2794 2005-09-22 Wim Taymans <wim@fluendo.com>
2796 * gst/gstbin.c: (gst_bin_add_func):
2797 Some more debug info.
2799 * gst/gstelement.c: (gst_element_send_event):
2803 Don't know how flags got broken.
2808 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2810 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2811 Add simplistic test suite for GST_TYPE_DATE serialisation and
2814 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2816 * docs/gst/gstreamer-sections.txt:
2817 * gst/gststructure.c: (gst_structure_set_valist),
2818 (gst_structure_get_date):
2819 * gst/gststructure.h:
2820 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2821 (gst_date_copy), (gst_value_compare_date),
2822 (gst_value_serialize_date), (gst_value_deserialize_date),
2823 (gst_value_transform_date_string),
2824 (gst_value_transform_string_date), (_gst_value_initialize):
2826 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2827 bunch of utility functions along with a hack that checks that
2828 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2829 is required. Part of the grand scheme in #170777.
2831 2005-09-22 Andy Wingo <wingo@pobox.com>
2833 * gst/gstconfig.h.in: Psych out gtk-doc.
2835 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2837 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2839 * tools/gst-inspect.c (print_element_list): Plug some
2840 inconsequential leaks.
2842 * gst/gstregistry.c (gst_registry_get_default): Doc.
2844 * check/gst/gstplugin.c:
2845 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2846 * gst/gstelementfactory.c (gst_element_factory_create):
2847 * gst/gstindexfactory.c (gst_index_factory_create): Update for
2850 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
2851 (gst_plugin_feature_load): Doc, don't eat refs.
2853 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
2854 (gst_plugin_list_free): Doc.
2855 (gst_plugin_load_file): Doc updates.
2857 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
2858 accessors returning refcounted objects, return a ref.
2860 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
2861 accessor for caps. IDEMPOTENCE. Oh yes.
2863 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
2865 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2867 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2868 (_gst_debug_register_funcptr):
2869 Add mutex to serialise access to the hash table with
2870 the function pointer => function name string mapping;
2871 make that hash table static scope (#316809).
2873 * gst/registries/.cvsignore:
2874 Remove left-over file.
2876 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2878 * docs/pwg/appendix-porting.xml:
2879 And something about newsegment events and caps-on-buffers to
2880 the porting guide (feel free to improve).
2882 2005-09-21 Andy Wingo <wingo@pobox.com>
2884 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
2885 data and event probes on the same pad.
2886 (test_buffer_probe_once): Test that removing probes from within
2887 the probe functions works.
2889 2005-09-21 Andy Wingo <wingo@pobox.com>
2891 * check/gst/gstutils.c: New file.
2892 (test_buffer_probe_n_times): A simple buffer probe test. More to
2895 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
2896 have-data::buffer, not have-data.
2897 (gst_pad_add_event_probe): Likewise for have-data::event.
2898 (gst_pad_add_data_probe): More docs. The part about 'resolving the
2899 peer' isn't quite right yet though.
2900 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
2901 (gst_pad_remove_data_probe): Change to take the guint handler_id
2902 as their arg, not the function+data, which is more glib-like.
2904 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
2905 the signal emission to indicate if the data is a buffer or an
2907 (gst_pad_get_type): Initialize buffer and event quarks.
2908 (gst_pad_class_init): have-data is now a detailed signal, yes it
2911 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2913 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2914 * gst/gstutils.c: (gst_util_set_value_from_string),
2915 (gst_util_set_object_arg):
2916 Don't put functional code in g_return_if_fail() or
2917 g_return_val_if_fail() statements, otherwise things will
2918 break when G_DISABLE_CHECKS is defined during compilation.
2920 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2922 * docs/gst/tmpl/.cvsignore:
2923 * docs/gst/tmpl/gstvalue.sgml:
2926 inlied another one and added some obvious docs
2928 2005-09-21 Wim Taymans <wim@fluendo.com>
2930 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
2931 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
2932 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
2933 (gst_fdsrc_get_property), (gst_fdsrc_create):
2934 * gst/elements/gstfdsrc.h:
2935 Properly implement fdsrc. Removed signal and timeout,
2936 better implemented somewhere else.
2938 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2940 * docs/gst/tmpl/.cvsignore:
2941 * docs/gst/tmpl/gstimplementsinterface.sgml:
2942 * gst/gstinterface.c:
2945 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2947 * docs/gst/gstreamer-sections.txt:
2948 * docs/gst/tmpl/.cvsignore:
2949 * docs/gst/tmpl/gstenumtypes.sgml:
2950 remove obsolete doc file
2952 2005-09-21 David Schleef <ds@schleef.org>
2954 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
2955 little beer, fix a little leak.
2957 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2959 * docs/gst/gstreamer-docs.sgml:
2960 * docs/gst/gstreamer-sections.txt:
2961 * docs/gst/tmpl/.cvsignore:
2966 * gst/gstindex.c: (gst_index_class_init):
2968 * gst/gstindexfactory.c: (gst_index_factory_get_type),
2969 (gst_index_factory_class_init), (gst_index_factory_init),
2970 (gst_index_factory_finalize), (gst_index_factory_new),
2971 (gst_index_factory_destroy), (gst_index_factory_find),
2972 (gst_index_factory_create), (gst_index_factory_make):
2973 * gst/gstindexfactory.h:
2974 * gst/gstpluginfeature.c:
2975 * gst/gstpluginfeature.h:
2976 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2977 more docs inlined, splitted gstindex.{c,h}
2979 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2981 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2984 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2986 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2987 Set sync to FALSE by default.
2989 2005-09-20 Wim Taymans <wim@fluendo.com>
2991 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2992 (gst_base_sink_init):
2993 Make sync property settable from subclass.
2995 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2996 (gst_fake_sink_change_state):
2997 Set sync to FALSE by default.
2999 2005-09-20 Wim Taymans <wim@fluendo.com>
3001 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3002 * tools/gst-launch.c: (main):
3003 The timeout handler should have lower priority than the source
3004 so we don't timeout before popping a message with 0 timeout.
3005 Dump error messages after failed state change.
3007 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3009 * tools/gst-inspect.c: (print_element_properties_info):
3012 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3014 * check/gst/gstevent.c:
3015 * gst/elements/gstfakesink.c:
3016 * gst/elements/gstfakesink.h:
3017 remove the sync property from fakesink.
3018 has the side effect of setting sync TRUE
3019 for fakesink, which is a change. Anyone who knows how
3020 to fix this nicely in a GObject-y way, feel free.
3022 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3024 * docs/gst/gstreamer-docs.sgml:
3025 remove probe refsection
3027 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3029 * check/Makefile.am:
3030 disable valgrinding the controller test again
3031 * docs/gst/gstreamer-sections.txt:
3032 update for api-changes
3034 2005-09-20 Wim Taymans <wim@fluendo.com>
3036 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3037 (gst_base_sink_set_property), (gst_base_sink_get_property),
3038 (gst_base_sink_do_sync):
3039 * gst/base/gstbasesink.h:
3040 Added sync property to basesink to disable clock sync.
3042 2005-09-20 Andy Wingo <wingo@pobox.com>
3044 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3045 eating the caller's refcount.
3047 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3048 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3051 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3052 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3053 of GLib 2.8 public, so we can know which refcount to check in
3056 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3057 (gst_object_init): Only set the gst refcount if we're going ahead
3058 with the refcount hack.
3060 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3062 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3063 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3064 more leaks plumbed, added more debug-logging
3068 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3071 remove include of gstmemchunk.h
3073 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3075 * gst/gstclock.c: (_gst_clock_id_free):
3076 Commit from the Political Party For More Atomic CVS Commits,
3077 so that people don't waste too much of their day fishing
3078 out obvious leaks out of massive commits.
3079 Oh, and fix a pretty damn obvious leak in the memchunk
3082 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3084 * check/Makefile.am:
3085 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3086 plug mem-leak, re-add to valgrindable tests
3088 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3091 unbreak the build for those who have chronic arthritis
3092 and typing "make check" is just too taxing on the hands
3094 2005-09-20 Andy Wingo <wingo@pobox.com>
3096 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3097 really want it out, you should fix plugins at the same time.
3099 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3102 * docs/gst/gstreamer-sections.txt:
3104 added missing symbols to api docs
3105 disable ref-count hack if we have glib >= 2.8
3107 2005-09-19 David Schleef <ds@schleef.org>
3109 * docs/gst/Makefile.am: Ignore a few more internal headers
3110 * docs/gst/gstreamer-docs.sgml: Remove old sections
3111 * docs/gst/gstreamer-sections.txt: Remove old sections
3112 * docs/gst/tmpl/gstobject.sgml: update
3113 * docs/gst/tmpl/gstplugin.sgml: update
3114 * docs/gst/tmpl/gstpluginfeature.sgml: update
3115 * docs/random/ds/0.9-suggested-changes: update.
3116 * gst/Makefile.am: remove memchunk and trashstack, since they're
3118 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3119 * gst/gst.h: don't include some headers
3120 * gst/gstchildproxy.c: add gstmarshal.h
3121 * gst/gstclock.c: Don't use memchunks
3122 * gst/gstminiobject.c: Add some docs
3123 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3124 * gst/gstobject.h: same
3125 * gst/gstplugin.c: include gstmacros.h
3126 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3127 * gst/gstquery.c: don't use memchunks
3128 * gst/gstregistry.c: rename gst_registry_deinit()
3129 * gst/gstregistry.h: same
3131 2005-09-19 David Schleef <ds@schleef.org>
3133 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3134 * docs/libs/gstreamer-libs-sections.txt:
3135 * docs/libs/tmpl/gstgetbits.sgml:
3136 * docs/libs/tmpl/gstputbits.sgml:
3138 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3140 * win32/gstenumtypes.c:
3141 * win32/gstenumtypes.h:
3144 2005-09-19 Wim Taymans <wim@fluendo.com>
3146 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3147 Automatically PAUSE and RESUME a pipeline when a flushing seek
3150 2005-09-19 Andy Wingo <wingo@pobox.com>
3152 * gst/gstregistry.h: Spacing fixen.
3154 2005-09-19 Wim Taymans <wim@fluendo.com>
3156 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3157 Handle state change failure more correctly.
3159 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3161 * check/Makefile.am:
3162 * check/pipelines/cleanup.c: (run_pipeline):
3163 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3165 enable cleanup again after fixing the leak
3167 some more info on docs
3169 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3171 * check/Makefile.am:
3172 re-enable tests now that leaks are plugged
3174 * check/gst/gstbin.c:
3175 * check/gst/gstpipeline.c:
3176 add some more tests while fixing leaks
3178 make sure binaries are uptodate when valgrinding/gdbing
3180 * gst/gstelementfactory.c:
3181 remove a ref too many, and add a FIXME for when we get
3182 round to disposing of classes
3184 fix the refcounting when loading a plugin from a file and
3185 the code pretends that the pointer is the same even though
3186 of course it can change
3187 * gst/gstpluginfeature.c:
3188 unref plugins marked cached (a bit confusing as a name)
3189 as the docs state should be done
3190 various doc additions to explain refcounting
3191 * gst/gstregistry.c:
3192 * gst/gstregistryxml.c:
3195 2005-09-19 Wim Taymans <wim@fluendo.com>
3197 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3198 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3199 (send_messages), (GST_START_TEST), (gstbus_suite):
3200 * check/gst/gstpipeline.c: (GST_START_TEST):
3201 * check/pipelines/cleanup.c: (run_pipeline):
3202 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3204 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3205 (gst_bus_source_check), (gst_bus_source_dispatch),
3206 (gst_bus_create_watch), (gst_bus_add_watch_full),
3207 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3209 * tools/gst-launch.c: (event_loop):
3210 * tools/gst-md5sum.c: (event_loop):
3211 GstBusHandler -> GstBusFunc, return value has the same meaning as
3212 any other GSource (FALSE == remove source).
3213 _add_watch() and _add_watch_full() now take a MessageType mask to
3214 only handle specific types of messages.
3215 _poll() returns the GstMessage instead of the message type to avoid
3217 _have_pending() takes a MessageType mask now too.
3218 Added testsuite for multiple bus watches.
3219 Fix testsuites and applications for new bus API.
3221 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3223 * check/Makefile.am:
3224 mark a bunch of the tests as to fix until we fix them
3226 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3229 use GST_PLUGIN settings for valgrind tests as well, so we're
3230 valgrinding the correct thing
3231 * gst/gst.c: (init_post):
3234 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3236 * gst/gst.c: (init_post), (gst_deinit):
3237 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3238 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3239 * gst/gstindex.c: (gst_index_factory_class_init),
3240 (gst_index_factory_finalize):
3241 * gst/gstobject.c: (gst_object_dispose):
3242 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3243 (gst_plugin_load_file), (gst_plugin_desc_free):
3244 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3245 (gst_plugin_feature_finalize):
3246 * gst/gstregistry.c: (gst_registry_class_init),
3247 (gst_registry_init), (gst_registry_finalize),
3248 (gst_registry_get_default), (gst_registry_deinit):
3249 * gst/gstregistry.h:
3250 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3251 various cleanups and memleak plugging. make valgrind is happy now.
3253 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3256 add a check-valgrind target
3258 2005-09-18 David Schleef <ds@schleef.org>
3260 * tools/gst-inspect.c: Revert the GOption code.
3262 2005-09-17 David Schleef <ds@schleef.org>
3264 * check/Makefile.am: Fix environment variables.
3265 * check/gst/gstplugin.c: Fix for API changes.
3266 * tools/gst-inspect.c: Fix for API changes.
3267 * tools/gst-xmlinspect.c: Fix for API changes.
3268 * gst/gstelementfactory.c:
3271 * gst/gstpluginfeature.c:
3272 * gst/gstpluginfeature.h:
3273 * gst/gstregistry.c:
3274 * gst/gstregistry.h:
3275 * gst/gstregistryxml.c:
3276 * gst/gsttypefind.c:
3277 * gst/gsttypefindfactory.c:
3278 * gst/indexers/gstfileindex.c:
3279 * gst/indexers/gstmemindex.c:
3280 * gst/schedulers/Makefile.am:
3281 Change registry to keep track of both plugins and features,
3282 removing the feature tracking from plugins themselves.
3284 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3286 * check/Makefile.am:
3287 * tools/gst-register.1.in:
3290 2005-09-15 David Schleef <ds@schleef.org>
3292 * check/gst/gstplugin.c:
3293 * gst/gstelementfactory.c:
3295 * gst/gstpluginfeature.c:
3296 * gst/gstregistry.c:
3297 Getting tired of debugging. Disabled all the unreffing of
3298 plugins and features, which fixes the segfaults, but of
3299 course leaks like crazy. At least playbin works.
3301 2005-09-15 David Schleef <ds@schleef.org>
3303 * check/gst/gstplugin.c: (register_check_elements),
3304 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3306 * gst/elements/gsttypefindelement.c: Fix refcounting.
3307 * gst/gsttypefind.c:
3308 * gst/gsttypefindfactory.c:
3309 * gst/gsttypefindfactory.h:
3311 2005-09-15 David Schleef <ds@schleef.org>
3313 * gst/gstindex.c: get refcounting correct.
3314 * gst/gstregistry.c: Handle the case where a feature/plugin is
3317 2005-09-15 David Schleef <ds@schleef.org>
3319 * check/Makefile.am:
3320 * check/gst/gstplugin.c: Add test
3321 * gst/gstplugin.c: Fix problems noticed by testsuite
3323 * gst/gstregistry.c:
3324 * gst/gstregistry.h:
3326 2005-09-15 David Schleef <ds@schleef.org>
3328 * gst/gstplugin.c: Implement semi-decent recounting and locking
3329 in plugins and plugin features.
3331 * gst/gstpluginfeature.c:
3332 * gst/gstpluginfeature.h:
3333 * gst/gstregistry.c:
3335 2005-09-15 Michael Smith <msmith@fluendo.com>
3337 * gst/gstregistry.c: (gst_registry_get_feature_list):
3338 Implement this. Makes oggdemux work; decodebin still broken.
3340 2005-09-14 David Schleef <ds@schleef.org>
3342 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3344 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3345 * gst/check/Makefile.am:
3346 * libs/gst/controller/Makefile.am:
3347 * libs/gst/dataprotocol/Makefile.am:
3349 2005-09-14 David Schleef <ds@schleef.org>
3351 * configure.ac: Remove getbits library. Nothing uses it, and
3352 it should be in something like liboil if someone did want
3354 * libs/gst/Makefile.am:
3355 * libs/gst/getbits/Makefile.am:
3356 * libs/gst/getbits/gbtest.c:
3357 * libs/gst/getbits/getbits.c:
3358 * libs/gst/getbits/getbits.h:
3359 * libs/gst/getbits/gstgetbits_generic.c:
3360 * libs/gst/getbits/gstgetbits_i386.s:
3361 * libs/gst/getbits/gstgetbits_inl.h:
3363 2005-09-14 David Schleef <ds@schleef.org>
3365 * gst/Makefile.am: Dist glib-compat.h
3367 2005-09-14 David Schleef <ds@schleef.org>
3369 * configure.ac: Remove gst/registries, since it's no longer used.
3370 * gst/registries/Makefile.am:
3371 * gst/registries/gstlibxmlregistry.c:
3372 * gst/registries/gstlibxmlregistry.h:
3373 * gst/registries/gstxmlregistry.c:
3374 * gst/registries/gstxmlregistry.h:
3375 * gst/registries/registrytest.c:
3377 2005-09-14 David Schleef <ds@schleef.org>
3379 * gst/glib-compat.h:
3380 * gst/gstregistryxml.c:
3381 Convergence is near. Seriously.
3383 2005-09-14 David Schleef <ds@schleef.org>
3385 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3386 * gst/glib-compat.h:
3387 Attempt #4 to appease the buildbots.
3389 2005-09-14 David Schleef <ds@schleef.org>
3391 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3394 2005-09-14 David Schleef <ds@schleef.org>
3396 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3399 2005-09-14 David Schleef <ds@schleef.org>
3401 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3404 2005-09-14 David Schleef <ds@schleef.org>
3406 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3407 * gst/glib-compat.h: Add some functions that are in newer versions
3408 of glib than we care to require.
3409 * gst/gstregistryxml.c: Use them.
3411 2005-09-14 David Schleef <ds@schleef.org>
3413 * po/POTFILES.in: remove gst-register.c
3415 2005-09-14 David Schleef <ds@schleef.org>
3417 * docs/gst/gstreamer-docs.sgml:
3418 * docs/gst/gstreamer-sections.txt:
3419 * docs/gst/gstreamer.types:
3420 * docs/gst/tmpl/gstelement.sgml:
3421 * docs/gst/tmpl/gstplugin.sgml:
3422 * docs/gst/tmpl/gstpluginfeature.sgml:
3423 Documentation updates for registry changes.
3425 2005-09-14 David Schleef <ds@schleef.org>
3427 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3428 because we don't require glib-2.8.
3430 2005-09-14 David Schleef <ds@schleef.org>
3432 * gst/gstregistryxml.c: Added. Essentially moved out of the
3433 registries directory.
3435 2005-09-14 David Schleef <ds@schleef.org>
3437 * check/Makefile.am:
3438 * check/generic/states.c:
3442 * gst/gst_private.h:
3443 * gst/gstelementfactory.c:
3448 * gst/gstpluginfeature.c:
3449 * gst/gstpluginfeature.h:
3450 * gst/gstregistry.c:
3451 * gst/gstregistry.h:
3452 * gst/gstregistrypool.c: remove
3453 * gst/gstregistrypool.h: remove
3454 * gst/gsttypefind.c:
3455 * gst/gsttypefindfactory.c:
3457 * tools/Makefile.am:
3458 * tools/gst-compprep.c:
3459 * tools/gst-inspect.c:
3460 * tools/gst-register.c: remove
3461 * tools/gst-xmlinspect.c:
3462 Registry rewrite. Changes registry from being a file created
3463 by a tool into a simple cache file created automatically by
3464 libgstreamer. Removed gst-register (because it's no longer
3465 needed). Remove registry pools, because we only have one
3466 registry implementation (XML). Fix up other subsystems as
3469 2005-09-13 Michael Smith <msmith@fluendo.com>
3471 * gst/gstconfig.h.in:
3472 Don't Use windows linking attributes for MinGW. Fixes #316157
3474 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3476 * gst/gstutils.c: (set_state_async_thread_func),
3477 (gst_element_set_state_async):
3478 Apparently people think it's better if this function doesn't
3479 try to set the state to whatever state was asked for on the first
3480 call to this function for any object. Seriously.
3482 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3484 * check/gst/gstpipeline.c: (GST_START_TEST):
3485 * docs/gst/gstreamer-sections.txt:
3486 * gst/gstutils.c: (set_state_async_thread_func),
3487 (gst_element_set_state_async):
3489 add a "gst_element_set_state_async" method that
3490 sets the state and starts a thread to make sure the state
3491 change completes as best as it can
3493 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3495 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3496 codify design+behaviour in testsuite after discussion
3498 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3500 * docs/gst/tmpl/gstelement.sgml:
3501 * docs/manual/appendix-quotes.xml:
3503 * gst/gstelement.c: (gst_element_set_state):
3506 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3508 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3509 (gst_base_transform_prepare_output_buf),
3510 (gst_base_transform_handle_buffer):
3511 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3512 (gst_capsfilter_prepare_buf):
3513 Remove the requirement for sub-classes to call the parent
3514 implementation of prepare_output_buffer with a wrapper function.
3517 * gst/gsttagsetter.h:
3520 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3522 * docs/gst/gstreamer-sections.txt:
3525 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3527 * docs/gst/gstreamer-sections.txt:
3528 * docs/gst/tmpl/gstelement.sgml:
3529 * docs/gst/tmpl/gstplugin.sgml:
3530 * gst/gstminiobject.c:
3532 docs now stop throwing warnings
3534 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3536 * docs/gst/gstreamer-sections.txt:
3537 * docs/gst/gstreamer.types:
3538 * docs/gst/tmpl/gstpad.sgml:
3539 * docs/gst/tmpl/gsttypes.sgml:
3540 * gst/base/gstadapter.h:
3541 * gst/base/gstbasesink.h:
3542 * gst/base/gstbasesrc.h:
3552 * gst/gststructure.c:
3553 * gst/registries/gstlibxmlregistry.h:
3554 various documentation fixes
3556 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3558 * docs/gst/gstreamer-sections.txt:
3559 * docs/gst/tmpl/gstvalue.sgml:
3560 rearrange gstvalue section
3561 * gst/gstutils.c: (gst_element_state_get_name):
3563 * gst/gstvalue.c: (_gst_value_initialize):
3567 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3569 * check/gst-libs/controller.c:
3571 * gst/base/gstbasetransform.c:
3572 (gst_base_transform_default_prepare_buf),
3573 (gst_base_transform_handle_buffer):
3574 * gst/base/gstbasetransform.h:
3575 Some more basetransform changes and fixes to enable sub-classes
3576 that modify buffer metadata only.
3577 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3578 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3579 (gst_capsfilter_prepare_buf):
3580 If the output pad has fixed allowed caps and input buffers
3581 don't have any, set the fixed caps on outgoing buffers.
3583 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3584 * check/elements/identity.c: (GST_START_TEST):
3585 Make the error a little clearer when the test fails because
3586 identity made a copy of the buffer.
3587 * docs/gst/gstreamer-sections.txt:
3588 New symbols in gstbasetransform.h
3589 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3590 (gst_base_transform_init), (gst_base_transform_transform_size),
3591 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3592 (gst_base_transform_default_prepare_buf),
3593 (gst_base_transform_get_unit_size),
3594 (gst_base_transform_buffer_alloc),
3595 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3596 (gst_base_transform_change_state),
3597 (gst_base_transform_set_passthrough),
3598 (gst_base_transform_set_in_place),
3599 (gst_base_transform_is_in_place):
3600 * gst/base/gstbasetransform.h:
3601 Change BaseTransform to separate in_place operate from same_caps
3602 output. in_place implies that the element can perform the transform
3603 on incoming buffers in-place, even if the caps on the output are
3605 Sub-class elements can now implement special buffer allocation
3606 methods for outgoing buffers if they wish to.
3607 Big documentation addition.
3608 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3609 * gst/elements/gstelements.c:
3610 Changes for basetransform modifications.
3611 * gst/elements/Makefile.am:
3612 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3613 Compile fix. Extra debug output.
3615 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3617 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3619 add tests for valid pad naming
3620 * gst/check/gstcheck.c: (gst_check_log_message_func),
3621 (gst_check_log_critical_func):
3623 remove printing of code, it is fragile when the code contains
3624 % and the line number is enough info
3625 * gst/check/gstcheck.h:
3626 * gst/gstpad.c: (gst_pad_template_new):
3629 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3632 say what CHECK flags we use
3633 * docs/libs/gstreamer-libs.types:
3634 * libs/gst/controller/Makefile.am:
3635 * libs/gst/controller/gst-controller.c:
3636 * libs/gst/controller/gst-controller.h:
3637 * libs/gst/controller/gst-helper.c:
3638 * libs/gst/controller/gst-interpolation.c:
3639 * libs/gst/controller/gstcontroller.c:
3640 * libs/gst/controller/gsthelper.c:
3641 * libs/gst/controller/gstinterpolation.c:
3642 * tools/gst-inspect.c: (print_plugin_info):
3643 we don't use dashes in header names
3645 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3647 * check/Makefile.am:
3648 * check/gst/.cvsignore:
3649 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3650 (gst_pipeline_suite), (main):
3651 adding a test for pipelines and state changes
3652 * gst/gstutils.c: (get_state_func):
3654 * gstreamer.spec.in:
3657 2005-09-08 Michael Smith <msmith@fluendo.com>
3659 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3660 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3661 (gst_file_src_is_seekable), (gst_file_src_get_size),
3662 (gst_file_src_start):
3663 * gst/elements/gstfilesrc.h:
3664 Various fixes for unseekable, unmmapable, and non-normal files, so
3665 that fallback to read() rather than mmap() works.
3666 * gst/gstevent.c: (gst_event_new_newsegment):
3667 Allow newsegment events with segment_start == segment_end, as will
3668 correctly happen if you use filesrc on a zero-size file, for
3671 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3673 * gst/gstplugin.c: (gst_plugin_load_file):
3674 Call g_module_close when we don't load the module
3676 * gst/registries/gstlibxmlregistry.c:
3677 (gst_xml_registry_get_property):
3678 Port leak fix from 0.8
3680 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3682 * docs/gst/gstreamer-docs.sgml:
3683 * docs/gst/tmpl/.cvsignore:
3684 * docs/gst/tmpl/gsttrace.sgml:
3685 * docs/gst/tmpl/gsttrashstack.sgml:
3694 * gst/gsttaginterface.c:
3695 * gst/gsttaginterface.h:
3698 * gst/gsttagsetter.c:
3699 * gst/gsttagsetter.h:
3702 * gst/gsttrashstack.c:
3703 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3704 inlined docs for gsttrace, gsttrashstack
3706 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3709 * gst/elements/gstbufferstore.h:
3710 * gst/elements/gsttypefindelement.c:
3711 * gst/elements/gsttypefindelement.h:
3713 * gst/gsttypefind.c:
3714 * gst/gsttypefind.h:
3715 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3716 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3717 (gst_type_find_factory_dispose),
3718 (gst_type_find_factory_unload_thyself),
3719 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3720 (gst_type_find_factory_get_caps),
3721 (gst_type_find_factory_get_extensions),
3722 (gst_type_find_factory_call_function):
3723 * gst/gsttypefindfactory.h:
3724 * gst/registries/gstlibxmlregistry.c:
3725 * gst/registries/gstxmlregistry.c:
3726 splitted gsttypefind into gsttypefind, gsttypefindfactory
3728 2005-09-07 Andy Wingo <wingo@pobox.com>
3730 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3731 condition whereby the pad's task function is entered before the
3732 pad_mode variable was set.
3734 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3736 * gst/gstpad.c: (gst_pad_alloc_buffer):
3737 Catch misbehaving pad_alloc functions that don't
3738 set up caps and do it for them.
3740 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3742 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3744 * docs/gst/tmpl/.cvsignore:
3745 * docs/gst/tmpl/gstmemchunk.sgml:
3746 * docs/gst/tmpl/gstparse.sgml:
3747 * docs/gst/tmpl/gsttaglist.sgml:
3748 * docs/gst/tmpl/gsttagsetter.sgml:
3749 * docs/gst/tmpl/gsttypefind.sgml:
3750 * docs/gst/tmpl/gsttypefindfactory.sgml:
3751 * gst/gstmemchunk.c:
3754 * gst/gsttaginterface.c:
3755 * gst/gsttypefind.c:
3756 * gst/gsttypefind.h:
3759 === release 0.9.2 ===
3761 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3766 releasing 0.9.2, "South"
3768 2005-09-05 Andy Wingo <wingo@pobox.com>
3770 * gst/registries/gstxmlregistry.h:
3771 * gst/registries/gstxmlregistry.c: Um... resurrect...
3773 * gst/registries/gstxmlregistry.h:
3774 * gst/registries/gstxmlregistry.c: and update to newer API.
3775 Incidentally they should be a bit faster now that they don't have
3778 2005-09-05 Andy Wingo <wingo@pobox.com>
3780 * gst/registries/gstxmlregistry.h:
3781 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3782 replaced by the libxml registry a while back
3784 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3786 * docs/gst/tmpl/gstplugin.sgml:
3787 * gst/elements/gstelements.c:
3789 * gst/gstplugin.c: (gst_plugin_register_func),
3790 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3791 (gst_plugin_get_source):
3793 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3794 (gst_xml_registry_save_plugin):
3795 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3796 (gst_xml_registry_save_plugin):
3797 * tools/gst-inspect.c: (print_plugin_info):
3798 add a "source" plugin description field, to represent the source
3799 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3800 will set it to PACKAGE, which is automake's idea of the name of
3803 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3809 * docs/faq/Makefile.am:
3810 * docs/gst/tmpl/gstelement.sgml:
3811 * docs/gst/tmpl/gsttypes.sgml:
3812 * docs/htmlinstall.mak:
3813 * docs/manual/Makefile.am:
3814 * docs/pwg/Makefile.am:
3815 reorganize doc build a little
3816 split out docbook and gtk-doc stuff
3817 have two separate --enable's and enable them through autogen
3818 but disable by default in configure (to be similar to other
3820 * gstreamer.spec.in:
3821 clean up docs install
3841 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3843 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3846 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3847 (gst_fake_sink_change_state):
3848 Make state change function thread-safe.
3850 * gst/gstpad.c: (gst_pad_alloc_buffer):
3851 Set offset on generic buffer allocated by fallback.
3853 2005-09-03 Stefan Kost <ensonic@users.sf.net>
3855 * docs/gst/gstreamer-sections.txt:
3856 * docs/gst/tmpl/gstelement.sgml:
3858 * libs/gst/controller/gst-controller.c:
3859 (gst_controlled_property_set_interpolation_mode),
3860 (gst_controlled_property_new),
3861 (gst_controller_find_controlled_property):
3862 run the wingo-magic script against the docs
3864 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3866 * docs/gst/gstreamer-docs.sgml:
3867 * docs/gst/gstreamer-sections.txt:
3868 * docs/gst/tmpl/.cvsignore:
3869 * docs/gst/tmpl/gstelementdetails.sgml:
3870 * docs/gst/tmpl/gstelementfactory.sgml:
3873 * gst/gstelementfactory.c:
3874 * gst/gstelementfactory.h:
3875 merged elementdetails docs into elementfactory docs
3878 2005-09-02 Andy Wingo <wingo@pobox.com>
3880 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
3881 consider this enum an enum and not a flags.
3883 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3885 * docs/gst/gstreamer-docs.sgml:
3886 * docs/gst/tmpl/.cvsignore:
3887 * docs/gst/tmpl/gstghostpad.sgml:
3888 * docs/gst/tmpl/gstiterator.sgml:
3889 * docs/gst/tmpl/gstmacros.sgml:
3890 * docs/gst/tmpl/gstrealpad.sgml:
3891 * docs/gst/tmpl/gstregistry.sgml:
3892 * docs/gst/tmpl/gstregistrypool.sgml:
3893 * docs/gst/tmpl/gststructure.sgml:
3894 * docs/gst/tmpl/gstsystemclock.sgml:
3895 * docs/gst/tmpl/gsttrace.sgml:
3896 * gst/gstghostpad.c:
3898 * gst/gstmemchunk.c:
3899 * gst/gstmemchunk.h:
3901 * gst/gstregistry.c:
3902 * gst/gstregistrypool.c:
3903 * gst/gststructure.c:
3904 * gst/gstsystemclock.c:
3907 2005-09-02 Andy Wingo <wingo@pobox.com>
3909 * gst/gstelement.h (GstState): Renamed from GstElementState,
3910 changed to be a normal enum instead of flags.
3911 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
3912 munged to be GST_STATE_CHANGE_*.
3913 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
3914 work with the new state representation.
3915 (GstStateChange): New enumeration of possible state transitions.
3916 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
3917 (GstElementClass::change_state): Pass the GstStateChange along as
3918 an argument. Helps language bindings, so they don't have to use
3919 tricky lock-needing macros like GST_STATE_CHANGE ().
3921 * scripts/update-states (file): New script. Run it on a file to
3922 update it for state naming and API changes. Updates files in
3925 * All files updated for the new API.
3927 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
3929 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
3930 * gst/gstutils.c: (gst_util_set_value_from_string),
3931 (gst_util_set_object_arg):
3932 fix a bunch of unchecked return values
3933 * tools/gst-complete.c: (main):
3934 * gstreamer.spec.in:
3937 2005-09-01 Wim Taymans <wim@fluendo.com>
3939 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3940 (gst_base_sink_event), (gst_base_sink_do_sync),
3941 (gst_base_sink_handle_event):
3942 * gst/base/gstbasesink.h:
3943 Handle newsegments more correctly.
3948 * gst/gstevent.c: (gst_event_new_newsegment):
3949 A newsegment cannot have a start_time of -1
3951 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
3953 * win32/gstenumtypes.c:
3954 * win32/gstenumtypes.h:
3957 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3959 * libs/gst/controller/gst-controller.c:
3960 (gst_controlled_property_set_interpolation_mode),
3961 (gst_controlled_property_new):
3964 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
3966 * docs/faq/gst-uninstalled:
3971 * gst/gstutils.c: (gst_element_link_filtered):
3973 add gst_element_link_filtered
3975 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3977 * docs/gst/gstreamer-docs.sgml:
3978 * docs/gst/gstreamer-sections.txt:
3979 * docs/gst/tmpl/.cvsignore:
3980 * docs/gst/tmpl/gsterror.sgml:
3981 * docs/gst/tmpl/gstfilter.sgml:
3982 * docs/gst/tmpl/gsturihandler.sgml:
3983 * docs/gst/tmpl/gsturitype.sgml:
3984 * docs/gst/tmpl/gstutils.sgml:
3985 * docs/gst/tmpl/gstxml.sgml:
3993 inlined more docs, fixed double id-ref
3995 2005-08-31 Wim Taymans <wim@fluendo.com>
3997 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3998 (gst_base_transform_handle_buffer):
3999 Passthrough elements don't need the caps as they don't care.
4001 2005-08-31 Wim Taymans <wim@fluendo.com>
4003 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4004 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4005 Don't leak refcounts on buffers.
4007 2005-08-31 Wim Taymans <wim@fluendo.com>
4009 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4010 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4011 (gst_base_transform_chain), (gst_base_transform_change_state):
4012 * gst/base/gstbasetransform.h:
4013 Handle the case where we are not negotiated more gracefully.
4015 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4017 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4018 (gst_file_src_map_region):
4019 Set READONLY flag on mmap'ed buffers, otherwise
4020 gst_buffer_make_writable() won't work properly (#314708).
4022 2005-08-31 Wim Taymans <wim@fluendo.com>
4024 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4025 passthrough elements can even do inplace on non writable
4026 buffers (as they don't touch them).
4028 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4030 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4031 (gst_test_mono_source_set_property),
4032 (gst_test_mono_source_class_init), (GST_START_TEST),
4033 (gst_controller_suite):
4034 more tests (hehe I have the most)
4036 describe popping messages whenusing mulltiple sources
4037 * libs/gst/controller/gst-controller.c:
4038 (gst_controlled_property_set_interpolation_mode),
4039 (gst_controlled_property_new):
4040 * libs/gst/controller/gst-controller.h:
4041 * libs/gst/controller/gst-interpolation.c:
4042 implement boolean properties
4044 2005-08-31 Wim Taymans <wim@fluendo.com>
4046 * gst/gstminiobject.c: (gst_mini_object_ref):
4047 Cannot assert that the refcount has to be positive
4048 since a disposed object can be resurrected.
4050 2005-08-31 Wim Taymans <wim@fluendo.com>
4052 * gst/gstpad.c: (gst_pad_init):
4053 Revert change, need to first fix badly behaving
4056 2005-08-30 Wim Taymans <wim@fluendo.com>
4058 * check/elements/fakesrc.c: (setup_fakesrc):
4059 * check/elements/identity.c: (setup_identity):
4060 Activate pads before using them.
4062 2005-08-30 Wim Taymans <wim@fluendo.com>
4064 * gst/base/gstadapter.c: (gst_adapter_flush):
4065 Flushing out 0 bytes is ok for this function.
4067 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4068 no newsegment gives a warning and sets the start/stop to
4071 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4072 (gst_base_transform_set_passthrough):
4075 * gst/gstminiobject.c: (gst_mini_object_ref):
4076 Check refcount here too.
4078 * gst/gstpad.c: (gst_pad_init):
4079 Pads are initially flushing and refusing data.
4081 * gst/gstutils.c: (gst_element_link_pads_filtered):
4082 When adding a capsfilter element make sure it has the
4083 same state as the parent bin.
4085 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4087 * docs/gst/tmpl/.cvsignore:
4088 * docs/gst/tmpl/gstformat.sgml:
4089 * docs/gst/tmpl/gstversion.sgml:
4093 * gst/gstversion.h.in:
4094 more docs and two more inlined
4096 2005-08-30 Wim Taymans <wim@fluendo.com>
4098 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4099 Don't sync to clock.
4101 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4103 * docs/gst/gstreamer-sections.txt:
4104 ultral33t func10ns deserve to appear in the docs actually
4105 * docs/gst/tmpl/.cvsignore:
4106 * docs/gst/tmpl/gstcompat.sgml:
4107 * docs/gst/tmpl/gstconfig.sgml:
4108 * gst/check/gstcheck.c:
4110 * gst/gstconfig.h.in:
4113 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4115 * docs/gst/tmpl/.cvsignore:
4116 * docs/gst/tmpl/gstquery.sgml:
4117 * docs/gst/tmpl/gstutils.sgml:
4120 inlined and extended docs
4122 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4124 * check/gst-libs/controller.c: (GST_START_TEST),
4125 (gst_controller_suite):
4127 * docs/gst/tmpl/gstutils.sgml:
4128 * docs/libs/gstreamer-libs-sections.txt:
4129 * docs/libs/tmpl/gstdataprotocol.sgml:
4131 * examples/controller/audio-example.c: (main):
4132 controller example works now
4135 * tools/gst-inspect.c: (print_element_properties_info):
4136 show param spec flags
4138 2005-08-29 Andy Wingo <wingo@pobox.com>
4140 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4142 2005-08-28 Andy Wingo <wingo@pobox.com>
4144 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4145 as having two arguments instead of just one. Allows superclasses
4146 to access information on subclasses -- see the terrible for() loop
4147 in gtype.c:g_type_create_instance for the reason why. All callers
4150 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4152 * docs/design/part-messages.txt:
4154 * docs/gst/tmpl/.cvsignore:
4155 * docs/gst/tmpl/gstcaps.sgml:
4156 * docs/gst/tmpl/gstclock.sgml:
4163 added descriptions for bus and message
4164 inline caps and clock docs
4166 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4172 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4174 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4177 2005-08-26 Andy Wingo <wingo@pobox.com>
4179 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4180 element_set_state's return val.
4181 (test_2_elements): Add test that's been disabled for months.
4183 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4184 can-activate-pull properties.
4186 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4187 can-activate-pull properties. Implement is_seekable so fakesrc can
4188 operate in pull mode.
4190 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4192 (gst_base_sink_activate, gst_base_sink_activate_pull)
4193 (gst_base_sink_activate_push): Make activation mode choosing work.
4195 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4196 is right. Make pull mode work. Post an eos before pausing in pull
4198 (gst_base_sink_change_state): Pay attention to the core's
4199 change_state() return val.
4201 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4202 has-getrange properties. Cleanups.
4204 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4205 has_getrange and replace with can_activate_pull and
4208 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4209 locking comments. Remove has_loop, has_chain and replace with
4210 can_activate_pull and can_activate_push.
4212 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4215 * examples/Makefile.am:
4216 * examples/metadata/Makefile.am:
4217 * examples/metadata/read-metadata.c: (message_loop),
4218 (have_pad_handler), (make_pipeline), (print_tag), (main):
4219 Add metadata reading example that loops over a list of filenames,
4220 dumping any tags found.
4222 * gst/gstbus.c: (gst_bus_dispose):
4223 * gst/gstelement.c: (gst_element_dispose):
4224 Release a few potentially-held references in dispose.
4226 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4228 * docs/gst/tmpl/gstminiobject.sgml:
4229 do *not* add tmpl/*.sgml files to CVS!
4231 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4233 * libs/gst/bytestream/.cvsignore:
4234 * libs/gst/bytestream/Makefile.am:
4235 * libs/gst/bytestream/adapter.c:
4236 * libs/gst/bytestream/adapter.h:
4237 * libs/gst/bytestream/bytestream.c:
4238 * libs/gst/bytestream/bytestream.h:
4239 * libs/gst/bytestream/filepad.c:
4240 * libs/gst/bytestream/filepad.h:
4241 removing obsolete files
4243 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4245 * docs/gst/gstreamer-docs.sgml:
4246 * docs/libs/gstreamer-libs-docs.sgml:
4247 disabed additional index entries again, as this makes docs-gen just
4248 slow and they aren't useful yet
4249 * docs/libs/gstreamer-libs-sections.txt:
4250 little -section.txt cleanup for libs
4252 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4254 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4255 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4256 fix up some debugging
4257 (gst_base_transform_get_unit_size),
4258 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4259 (gst_base_transform_handle_buffer):
4260 * gst/base/gstbasetransform.h:
4261 handle and store timed NEWSEGMENT events so that subclasses that
4262 calculate time by counting samples have a segment_start time they
4263 need to add to their timestamps - see audioresample
4265 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4268 removed ';' from the end of macro defs
4269 * docs/gst/gstreamer-docs.sgml:
4270 * docs/gst/gstreamer-sections.txt:
4271 * docs/gst/tmpl/.cvsignore:
4273 * gst/gstelement.c: (gst_element_class_init),
4274 (gst_element_set_state), (activate_pads),
4275 (gst_element_save_thyself):
4276 * gst/gstevent.c: (gst_event_new_newsegment):
4278 * gst/gstiterator.c:
4279 * gst/gstiterator.h:
4282 * gst/gstutils.c: (gst_pad_query_convert):
4284 fixed parameter name mismatches between source, header and docs
4285 added some more docs, resolved the last batch of unused elements in
4286 docs (now someone needs to doc them)
4288 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4290 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4291 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4292 don't walk through the plugins backwards. Where is all this
4293 reversed logic coming from ?
4295 2005-08-25 Wim Taymans <wim@fluendo.com>
4297 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4298 (gst_base_transform_transform_size),
4299 (gst_base_transform_configure_caps),
4300 (gst_base_transform_get_unit_size),
4301 (gst_base_transform_buffer_alloc),
4302 (gst_base_transform_change_state):
4303 * gst/base/gstbasetransform.h:
4304 Cache caps unit_size.
4305 Make sure we cannot negotiate up and downstream at the
4308 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4310 * gst/gst.c: (init_pre), (init_post):
4311 register the installed plugin path after the env var
4312 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4313 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4314 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4315 directories, so the tests can prefer uninstalled over installed
4317 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4319 * gst/base/gstbasetransform.h:
4324 2005-08-25 Wim Taymans <wim@fluendo.com>
4326 * gst/gstbin.c: (bin_bus_handler):
4327 Be a bit more conservative about the posted message.
4329 * gst/gstbus.c: (gst_bus_post):
4330 Some cleanups, warn wrong return values.
4332 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4334 * check/gst/gstbin.c: (GST_START_TEST):
4335 * gst/gstbin.c: (bin_bus_handler):
4336 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4337 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4338 (gst_message_new_warning), (gst_message_new_tag),
4339 (gst_message_new_state_changed), (gst_message_new_segment_start),
4340 (gst_message_new_segment_done), (gst_message_new_custom):
4342 * tools/gst-launch.c: (event_loop):
4343 * tools/gst-md5sum.c: (event_loop):
4344 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4346 2005-08-25 Wim Taymans <wim@fluendo.com>
4348 * check/generic/states.c: (GST_START_TEST):
4349 Cleanup can be done at the end.
4351 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4352 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4353 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4354 Oh boy.. Thanks for finding this, Thomas.
4356 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4358 * docs/gst/gstreamer.types:
4361 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4363 * docs/gst/gstreamer-docs.sgml:
4364 * docs/gst/gstreamer-sections.txt:
4365 * docs/gst/tmpl/.cvsignore:
4367 * gst/gstiterator.c:
4369 * gst/registries/gstxmlregistry.h:
4370 added missing classes and symbols (123 more to go)
4371 removed removed symbols from section file
4372 fixed many doc-comments
4374 2005-08-24 Wim Taymans <wim@fluendo.com>
4376 * check/generic/states.c: (GST_START_TEST):
4377 Make sure all tasks are stopped.
4379 * check/gst/gstbin.c: (GST_START_TEST):
4380 Unref after usage for proper valgrinding.
4382 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4383 Really wait for the task to stop before destroying the
4386 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4387 (gst_queue_src_activate_push):
4388 Small cleanups. Don't stop the task when we did not start
4391 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4392 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4393 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4396 Protect the stream lock with the object lock.
4397 Disallow setting the stream lock when running.
4398 Add cleanup_all to wait for the threadpool to finish.
4399 Remove code to autoallocate a mutex if none was provided.
4400 Add _join() to wait for a task to stop.
4401 Protect the thread pool with a global lock.
4403 2005-08-24 Wim Taymans <wim@fluendo.com>
4405 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4406 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4407 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4408 * gst/base/gstbasesink.h:
4409 Handle newsegment events correctly.
4410 Drop buffers out of the segment range.
4412 2005-08-22 Andy Wingo <wingo@pobox.com>
4414 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4415 macro, implements an interface and gstimplementsinterface for a
4418 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4420 * check/Makefile.am:
4421 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4422 add a test that does a bunch of state changes on elements
4423 needs some fixing for valgrind
4424 * check/states/sinks.c: (gst_object_suite):
4427 add prototype for gst_caps_is_equal_fixed
4429 * gst/gstregistrypool.c:
4432 2005-08-24 Andy Wingo <wingo@pobox.com>
4434 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4435 convert a negative value. Doesn't make much sense. Mostly this is
4436 here to force callers to ensure -1 maps to -1.
4438 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4440 * docs/pwg/advanced-types.xml:
4441 Well done to Michael for catching my deliberate introduction
4442 of this spelling mistake.
4443 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4445 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4446 unlink pads before removing the element from the bin.
4448 2005-08-24 Andy Wingo <wingo@pobox.com>
4450 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4451 the same thing as GST_DEBUG=*:4.
4452 (parse_debug_level, parse_debug_category): New helper parsers.
4454 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4456 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4457 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4458 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4459 (gst_base_transform_buffer_alloc),
4460 (gst_base_transform_handle_buffer):
4461 use gboolean return values and pointers to size so we can use the
4462 full GST_BUFFER_SIZE range (guint) for buffer sizes
4463 use GstPadDirection for transform_caps
4464 * gst/base/gstbasetransform.h:
4465 rename get_size to get_unit_size since that's what it is
4466 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4467 use GstPadDirection for transform_caps
4468 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4470 cleanup and debugging
4472 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4474 * gst/gstelement.c: (gst_element_class_init),
4475 (gst_element_set_state), (activate_pads),
4476 (gst_element_save_thyself):
4477 * tools/gst-compprep.c: (main):
4478 * tools/gst-inspect.c: (print_element_properties_info):
4479 * tools/gst-xmlinspect.c: (print_element_properties):
4480 Fixed long standing mem-leak
4482 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4484 * check/gst/gstbin.c: (GST_START_TEST):
4485 * gst/gstbin.c: (bin_bus_handler):
4486 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4487 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4488 (gst_message_new_warning), (gst_message_new_tag),
4489 (gst_message_new_state_changed), (gst_message_new_segment_start),
4490 (gst_message_new_segment_done), (gst_message_new_custom):
4492 * tools/gst-launch.c: (event_loop):
4493 * tools/gst-md5sum.c: (event_loop):
4494 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4495 that applications can sensibly post custom messages with references
4496 to their own objects.
4498 2005-08-24 Andy Wingo <wingo@pobox.com>
4500 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4503 2005-08-24 Wim Taymans <wim@fluendo.com>
4505 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4506 (gst_base_transform_transform_caps),
4507 (gst_base_transform_transform_size),
4508 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4509 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4510 (gst_base_transform_handle_buffer):
4511 * gst/base/gstbasetransform.h:
4512 Many fixes and new features added by Thomas. Can now also do
4513 transforms with variable sizes and a custom fixate_caps function.
4515 2005-08-24 Wim Taymans <wim@fluendo.com>
4517 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4521 Cast to ClockTime before formatting to time.
4526 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4528 * check/gst-libs/controller.c: (GST_START_TEST),
4529 (gst_controller_suite):
4530 * docs/gst/tmpl/gstcaps.sgml:
4531 * docs/gst/tmpl/gstghostpad.sgml:
4532 * docs/gst/tmpl/gstquery.sgml:
4533 * docs/gst/tmpl/gstutils.sgml:
4534 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4535 (gst_object_sink_values), (gst_object_get_value_arrays),
4536 (gst_object_get_value_array):
4537 gracefully handle helper method calls to objects that are not beeing
4538 controlled, added test case for that
4540 2005-08-23 Wim Taymans <wim@fluendo.com>
4542 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4543 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4544 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4545 (gst_event_parse_qos), (gst_event_new_seek),
4546 (gst_event_parse_seek):
4548 Some more debugging output and doc cleanups.
4550 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4551 Fix possible deadlock.
4553 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4555 * docs/gst/gstreamer-docs.sgml:
4556 * docs/gst/gstreamer-sections.txt:
4557 * docs/gst/gstreamer.types:
4558 * docs/gst/tmpl/.cvsignore:
4563 added 100 symbols from gstreamer-unused.txt to the right sections
4564 fixed more broken comments
4565 added GstBus to docs
4567 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4569 * docs/gst/gstreamer-sections.txt:
4570 * docs/gst/tmpl/.cvsignore:
4571 * docs/gst/tmpl/gstbin.sgml:
4572 * docs/gst/tmpl/gstbuffer.sgml:
4573 * gst/base/gstbasesrc.c:
4574 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4577 * tools/gst-launch.1.in:
4578 inlined more doc comments, added missing comments and fixed comments
4581 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4583 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4587 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4589 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4590 * gst/gststructure.h:
4591 add a fixate function for booleans; add a FIXME that these func
4592 names should probably be gst_structure_fixate_*
4594 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4596 * docs/gst/gstreamer-docs.sgml:
4597 * docs/gst/gstreamer-sections.txt:
4599 * gst/gstbin.c: (gst_bin_get_type),
4600 (gst_bin_child_proxy_get_child_by_index),
4601 (gst_bin_child_proxy_get_children_count),
4602 (gst_bin_child_proxy_init):
4603 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4604 (gst_child_proxy_get_child_by_index),
4605 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4606 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4607 (gst_child_proxy_get), (gst_child_proxy_set_property),
4608 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4609 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4610 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4611 * gst/gstchildproxy.h:
4612 * gst/parse/grammar.y:
4613 * tools/gst-inspect.c: (print_interfaces),
4614 (print_element_properties_info), (print_element_info):
4615 ported gstchildproxy over from 0.8
4616 ported gst-inspect fixes and enhancements over from 0.8
4618 2005-08-22 Wim Taymans <wim@fluendo.com>
4620 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4621 (gst_base_transform_handle_buffer):
4622 Also call the transform function if we have ANY caps.
4624 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4627 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4629 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4630 Don't pretend to handle seek events if the source is not seekable
4632 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4634 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4635 Remove extra parameter to debug output
4637 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4638 (gst_base_src_do_seek), (gst_base_src_activate_push):
4639 Fix seek event handling.
4641 * gst/gstpipeline.c: (gst_pipeline_change_state):
4642 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4643 (gst_queue_src_activate_push):
4644 Don't start the src pad task on FLUSH_STOP if the pad
4648 2005-08-22 Wim Taymans <wim@fluendo.com>
4650 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4651 Added check for gst_static_caps_get() refcounting.
4653 2005-08-22 Wim Taymans <wim@fluendo.com>
4655 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4656 Make _static_caps_get() refcounting sane.
4658 * gst/gstelement.c: (gst_element_set_state):
4659 Add g_return_val_if_fail() to protect against segfaults.
4661 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4663 * docs/gst/tmpl/gstevent.sgml:
4666 inlined remaining docs, added missing doc comments
4668 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4670 * check/gst/gstbin.c: (GST_START_TEST):
4671 since we don't know when preroll is done, use refcount range
4673 * gst/check/gstcheck.h:
4674 add macro for checking refcount range
4676 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4678 * check/Makefile.am:
4679 clean up environment for when registry gets built versus
4680 when actual tests are run; valgrind seems to not report
4681 leaks if GST_PLUGIN_PATH is set to some specific values
4682 * check/gst/gstbin.c: (GST_START_TEST):
4683 add more refcounting checks; maybe this exposes a
4686 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4687 * gst/check/gstcheck.h:
4688 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4689 (gst_bin_change_state):
4690 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4691 add/fix debugging/whitespace
4693 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4695 * check/gst/gstevent.c: (event_probe), (test_event),
4697 Er, don't call gst_bin_watch_for_state_change you idiot.
4699 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4701 * check/Makefile.am:
4702 Use CHECK_CFLAGS and CHECK_LIBS
4703 * check/gst/gstevent.c: (event_probe), (test_event),
4706 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4707 (gst_base_src_start), (gst_base_src_stop),
4708 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4709 (gst_base_src_change_state):
4710 Sprinkle gst_base_src_stop liberally around error paths to fix
4711 problems reusing a source after failed state changes.
4712 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4713 (helper_find_suggest), (gst_type_find_helper):
4714 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4716 * docs/gst/tmpl/gstevent.sgml:
4717 Migrate part of the docs from the SGML file. Wait for ensonic to
4718 tell me how I did it wrong ;)
4719 * tools/gst-typefind.c: (main):
4720 Extra robustness to state changes between files.
4722 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4724 * check/Makefile.am:
4725 don't valgrind the controller test - it's leaking - Stefan, HELP
4726 * gst/check/gstcheck.c: (gst_check_message_error),
4727 (gst_check_chain_func), (gst_check_setup_element),
4728 (gst_check_teardown_element), (gst_check_setup_src_pad),
4729 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4730 (gst_check_teardown_sink_pad):
4731 * gst/check/gstcheck.h:
4732 add a bunch of methods to set up elements, and src and sink pads
4733 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4734 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4739 whitespace/doc fixes
4741 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4744 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4745 be handled by the application and not always printed as well
4747 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4749 * check/Makefile.am:
4751 * gst/check/gstcheck.c: (gst_check_message_error):
4752 * gst/check/gstcheck.h:
4753 add a fail_unless_equals_int
4754 add fail_unless for error messages
4756 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4758 * check/Makefile.am:
4760 * common/Makefile.am:
4763 factor out some of the common stuff so we can use it
4765 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4767 * check/Makefile.am:
4768 * check/gst/gstiterator.c: (GST_START_TEST):
4769 * check/gst/gstsystemclock.c: (GST_START_TEST),
4770 (gst_systemclock_suite):
4771 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4775 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4777 * check/elements/.cvsignore:
4778 * check/elements/gstfakesrc.c:
4779 rename to name of element
4780 * check/elements/identity.c: (chain_func), (event_func),
4781 (setup_identity), (cleanup_identity), (GST_START_TEST),
4782 (identity_suite), (main):
4783 add a test for identity
4784 * check/Makefile.am:
4785 * pkgconfig/Makefile.am:
4786 * pkgconfig/gstreamer-check.pc.in:
4787 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4791 move the check stuff to a library that gets installed
4792 * check/gst-libs/controller.c: (GST_START_TEST):
4793 * check/gst-libs/gdp.c:
4794 * check/gst/gst.c: (GST_START_TEST):
4795 * check/gst/gstbin.c:
4796 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4797 * check/gst/gstbus.c:
4798 * check/gst/gstcaps.c: (GST_START_TEST):
4799 * check/gst/gstelement.c:
4800 * check/gst/gstghostpad.c:
4801 * check/gst/gstiterator.c:
4802 * check/gst/gstmessage.c:
4803 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4804 * check/gst/gstobject.c:
4805 * check/gst/gstpad.c: (GST_START_TEST):
4806 * check/gst/gststructure.c: (GST_START_TEST):
4807 * check/gst/gstsystemclock.c: (GST_START_TEST),
4808 (gst_systemclock_suite):
4809 * check/gst/gsttag.c: (gst_tag_suite):
4810 * check/gst/gstvalue.c:
4811 * check/pipelines/cleanup.c:
4812 * check/pipelines/simple_launch_lines.c:
4813 * check/states/sinks.c:
4814 change include statement
4816 * docs/gst/gstreamer-sections.txt:
4817 * docs/gst/tmpl/gstpad.sgml:
4818 document more pad stuff
4819 * gst/gstminiobject.c: (gst_mini_object_ref),
4820 (gst_mini_object_unref):
4823 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4825 * docs/gst/tmpl/gst.sgml:
4827 eliminate another tmpl file, fix spelling in the long-description
4829 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4831 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4832 (test_event), (timediff), (gstevents_suite):
4833 Should fix build on 64-bit arch's
4835 2005-08-18 Andy Wingo <wingo@pobox.com>
4837 Make sure that when a pipeline goes to PLAYING, that data has
4838 actually hit the sink.
4840 * check/states/sinks.c (test_sink): A sink that doesn't get any
4841 data shouldn't return SUCCESS for going to either PLAYING or
4842 PAUSED. Test also the return values on the way back down.
4844 * gst/gstelement.c (gst_element_set_state): When changing the
4845 state of an element currently changing state asynchronously, go to
4846 lost-state after commiting the pending state. Makes future calls
4847 to get_state continue to return ASYNC.
4849 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
4850 ASYNC when going to PLAYING if we still don't have preroll, as can
4851 happen with live sources.
4853 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4855 * docs/pwg/advanced-types.xml:
4856 Hack long paragraph into 2 chunks as a workaround for buggy
4857 jadetex version in sid and breezy that loops infinitely and
4860 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4862 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4863 (test_event), (timediff), (gstevents_suite):
4864 Provide more error margin in clock measurements to allow for
4865 g_get_current_time inaccuracies.
4867 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4869 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4870 (test_event), (timediff), (gstevents_suite):
4871 Fix error message output so I might be able to tell why the
4872 test works here but fails on the build farm.
4874 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4876 * check/Makefile.am:
4877 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4878 (test_event), (timediff), (gstevents_suite), (main):
4881 * docs/design/part-seeking.txt:
4884 * docs/gst/tmpl/gstevent.sgml:
4885 * docs/gst/tmpl/gstfakesrc.sgml:
4888 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4889 Treat a buffer-without-newsegment the same as a receiving
4890 a newsegment not in time format, and disable syncing to the clock
4893 * gst/gstbus.c: (gst_bus_set_sync_handler):
4894 Assert if anyone tries to replace the existing sync_handler for bus,
4895 as only the owner should be setting it.
4898 Have a fixed set of custom event enums with events identified by
4899 their structure name (as in 0.8), rather than a free-for-all
4900 allowing collisions between enum values from different plugins.
4902 * gst/gstpad.c: (gst_pad_class_init):
4905 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4906 Handle out-of-band downstream events from the sending thread.
4908 2005-08-17 Andy Wingo <wingo@pobox.com>
4910 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
4911 play-timeout==0 to mean no timeout at all. In that case, don't
4912 bother with a get_state or a warning, just return directly, even
4915 * gst/base/gstbasetransform.c: Debug changes.
4918 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
4919 ensure bins post state change messages. A bit of a hack but I can't
4920 think of a way to avoid it.
4922 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
4924 2005-08-16 Andy Wingo <wingo@pobox.com>
4926 * gst/base/gstadapter.h:
4927 * gst/base/gstadapter.c (gst_adapter_take): New function, like
4928 peek() but you own the data. Not terribly efficient atm.
4930 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4932 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
4933 (gst_element_found_tags):
4935 Add two utility functions for tag handling.
4937 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4939 * docs/manual/advanced-dataaccess.xml:
4940 * docs/manual/basics-helloworld.xml:
4941 Fix docs to use _bin_add() before _link(), which fixes the examples
4942 with recent core versions (reported by Madhan Raj M
4943 <raj_madan@rediffmail.com>, #313199).
4945 2005-08-16 Wim Taymans <wim@fluendo.com>
4947 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4948 Added subtract checks.
4950 * docs/design/part-events.txt:
4951 Some more docs about newsegment
4953 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4956 * gst/gstcaps.c: (gst_caps_to_string):
4957 Add comments, cleanups.
4959 * gst/gstelement.c: (gst_element_save_thyself):
4962 * gst/gstvalue.c: (gst_value_collect_int_range),
4963 (gst_string_unwrap), (gst_value_union_int_int_range),
4964 (gst_value_union_int_range_int_range),
4965 (gst_value_intersect_int_int_range),
4966 (gst_value_intersect_int_range_int_range),
4967 (gst_value_intersect_double_double_range),
4968 (gst_value_intersect_double_range_double_range),
4969 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
4970 (gst_value_subtract_int_range_int),
4971 (gst_value_subtract_double_range_double),
4972 (gst_value_subtract_double_range_double_range),
4973 (gst_value_subtract_from_list), (gst_value_subtract_list),
4974 (gst_value_can_compare), (gst_value_compare_fraction):
4975 Cleanups, add comments, remove unneeded asserts.
4977 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4979 * tools/gst-launch.c: (event_loop):
4980 don't convert NULL structures to strings
4982 2005-08-15 Stefan Kost <ensonic@users.sf.net>
4984 * docs/gst/gstreamer-sections.txt:
4985 made some defines private
4986 * docs/gst/tmpl/gstconfig.sgml:
4987 * docs/gst/tmpl/gstqueue.sgml:
4988 * docs/gst/tmpl/gsttaglist.sgml:
4989 * docs/gst/tmpl/gsttypes.sgml:
4990 * docs/gst/tmpl/gstutils.sgml:
4991 * docs/pwg/appendix-porting.xml:
4992 * gst/base/gstbasesink.h:
4993 * gst/base/gstbasesrc.c:
4994 * gst/base/gstbasesrc.h:
4995 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
4996 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
4997 * gst/gstelement.c: (gst_element_class_init):
4998 * gst/gstpad.c: (gst_pad_class_init):
4999 * gst/gstqueue.c: (gst_queue_class_init):
5000 * gst/gstxml.c: (gst_xml_class_init):
5001 documented all undocumented signal inline
5002 * libs/gst/controller/gst-controller.h:
5005 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5007 * docs/pwg/appendix-porting.xml:
5008 Document _set_link_function -> _set_setcaps_function.
5010 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5012 * check/Makefile.am:
5013 add a .check target for running the check
5014 * check/gst-libs/controller.c: (GST_START_TEST):
5016 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5017 complete checks for gstbuffer; would be nice if I could get the
5018 gcov stuff to work so I can see if I actually completed gstbuffer.c
5020 add ASSERT_BUFFER_REFCOUNT
5022 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5024 * docs/gst/gstreamer-sections.txt:
5025 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5027 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5028 spew out a warning if a tag that is already registered
5029 is re-registered, unless it is re-registered with a
5030 different type (#308438).
5032 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5034 * docs/pwg/appendix-porting.xml:
5035 * docs/pwg/building-state.xml:
5036 Add some paragraphs about state changes in 0.9 to the PWG
5037 and the porting guide, in particular about the new meaning
5038 of GST_STATE_PAUSED and how to write state change functions
5039 with concurrent access by multiple threads in mind.
5041 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5043 * docs/gst/gstreamer-docs.sgml:
5044 * docs/libs/gstreamer-libs-docs.sgml:
5045 added deprecation and since indexes
5046 * libs/gst/controller/gst-controller.c:
5047 * libs/gst/controller/gst-helper.c:
5051 2005-08-11 Wim Taymans <wim@fluendo.com>
5053 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5054 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5055 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5056 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5057 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5058 (gst_ghost_pad_set_target):
5059 Actually implement (re)setting the target on a ghostpad
5060 as described in the docs.
5062 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5064 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5065 Check whether GST_DEBUG_NO_COLOR environment variable is
5066 set and disable coloured debug output if that is the case.
5068 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5070 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5071 (gst_type_find_helper):
5072 The memory returned by gst_type_find_peek() needs to
5073 stay valid until the end of a typefind function, and
5074 typefind functions may keep results from different
5075 offsets around, so we can't just unref the buffer from
5076 the previous _peek(), but have to save all buffers
5077 returned by _peek() until typefinding is done and only
5080 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5082 * docs/gst/gstreamer-sections.txt:
5084 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5086 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5088 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5089 Fix a pretty good memleak.
5091 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5093 * gst/gstiterator.h:
5094 Fix wrong include and 'make distcheck'.
5096 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5098 * gst/gstbin.c: (bin_bus_handler):
5099 Use gst_element_post_message() instead.
5101 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5103 * gst/base/gstadapter.h:
5104 * gst/base/gstbasesink.h:
5105 * gst/base/gstbasesrc.h:
5106 * gst/base/gstbasetransform.h:
5107 * gst/base/gstcollectpads.h:
5108 * gst/base/gstpushsrc.h:
5109 * gst/gstiterator.h:
5110 Add padding to our base elements' class and instance structs and
5111 to GstIterator (you will need to rebuild all plugins and apps!)
5113 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5115 * gst/gstbin.c: (bin_bus_handler):
5116 Make default message forwarding from child->bus to bin->bus
5117 threadsafe and make it not emit warnings if the parent has no bus.
5119 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5121 * gst/gstelement.c: (activate_pads):
5122 On paused->ready, set pad->caps to NULL, as is the documented
5123 behaviour in this state change. Fixes playback of series of
5124 media files when visualization is enabled in Totem.
5126 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5128 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5129 Allow NULL as filter-caps (which means "any").
5131 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5133 * docs/libs/gstreamer-libs-sections.txt:
5134 * libs/gst/controller/gst-controller.c:
5135 * libs/gst/controller/gst-controller.h:
5136 * libs/gst/controller/gst-helper.c:
5137 adding more entries to the docs and fix small doc-bugs
5139 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5141 * docs/gst/gstreamer-docs.sgml:
5142 * docs/gst/gstreamer-sections.txt:
5143 * docs/gst/gstreamer.types:
5144 * docs/gst/tmpl/gstbasesink.sgml:
5145 * docs/gst/tmpl/gstbasesrc.sgml:
5146 * docs/gst/tmpl/gstbasetransform.sgml:
5147 * docs/gst/tmpl/gstfakesrc.sgml:
5148 * gst/base/gstcollectpads.c:
5149 * gst/base/gstcollectpads.h:
5150 * libs/gst/controller/gst-controller.c:
5151 * libs/gst/controller/gst-controller.h:
5152 * libs/gst/controller/gst-helper.c:
5153 * libs/gst/controller/gst-interpolation.c:
5154 * libs/gst/controller/lib.c:
5155 added long/short desc for controller docs
5156 added collectpads base class docs
5157 added correct includes to base-class docs
5159 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5161 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5162 (gst_test_mono_source_set_property),
5163 (gst_test_mono_source_class_init), (GST_START_TEST),
5164 (gst_controller_suite):
5165 * docs/gst/gstreamer-docs.sgml:
5166 * docs/gst/gstreamer-sections.txt:
5167 * docs/gst/gstreamer.types:
5168 * docs/libs/gstreamer-libs-docs.sgml:
5169 * docs/libs/gstreamer-libs-sections.txt:
5170 * gst/base/gstadapter.c:
5171 * libs/gst/controller/gst-controller.c:
5172 (gst_controlled_property_new), (gst_controlled_property_free),
5173 (gst_controller_new_valist),
5174 (gst_controller_remove_properties_valist),
5175 (gst_controller_sink_values), (_gst_controller_finalize):
5176 * libs/gst/controller/gst-controller.h:
5177 * libs/gst/controller/gst-helper.c:
5178 (gst_object_control_properties), (gst_object_uncontrol_properties),
5179 (gst_object_get_controller), (gst_object_set_controller),
5180 (gst_object_sink_values), (gst_object_get_value_arrays),
5181 (gst_object_get_value_array):
5182 more tests (and fixes) for the controller
5183 more docs for the controller
5184 integrated companies docs for the adapter
5186 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5188 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5189 (GST_START_TEST), (fakesrc_suite):
5190 add tests for sizetype
5192 2005-08-04 Andy Wingo <wingo@pobox.com>
5194 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5195 fixes buffer_alloc proxying among other things.
5197 * gst/base/gstbasetransform.c:
5198 * gst/base/gstbasetransform.h:
5199 Revert patch to gstbasetransform from 7-28 removing
5202 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5203 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5204 Semantics changed, should return not the size of the output buffer
5205 but the byte size of a buffer with a given caps.
5207 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5209 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5210 out) are not the pad caps until setcaps finishes.
5211 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5212 not-in-place case as well. Deal with changing from in-place to
5213 not-in-place within calling pad_alloc_buffer. Still a bit
5214 concerned about the overhead here...
5216 2005-08-03 Andy Wingo <wingo@pobox.com>
5218 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5219 fixating is an error.
5221 2005-08-04 Edward Hervey <edward@fluendo.com>
5223 * gst/base/gstadapter.h:
5224 Added gst_adapter_get_type() to the header
5226 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5228 * check/Makefile.am:
5229 * check/gst-libs/controller.c:
5230 * libs/gst/controller/gst-controller.c:
5231 (gst_controller_new_valist):
5232 added check test suite for the controller
5233 * gst/base/gstpushsrc.c:
5236 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5238 * docs/gst/Makefile.am:
5239 * docs/gst/gstreamer-docs.sgml:
5240 * docs/gst/gstreamer-sections.txt:
5241 * docs/gst/gstreamer.types:
5242 * docs/gst/tmpl/gstfakesrc.sgml:
5244 * gst/base/gstbasesink.c:
5245 * gst/base/gstbasesink.h:
5246 * gst/base/gstbasesrc.c:
5247 * gst/base/gstbasesrc.h:
5248 * gst/base/gstbasetransform.c:
5249 * gst/base/gstpushsrc.c:
5250 * gst/base/gstpushsrc.h:
5251 add short/long description docs to base classes
5252 add pushsrc to the docs
5253 remove consolidated doc fragments
5255 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5258 * docs/libs/Makefile.am:
5259 * docs/libs/gstreamer-libs-docs.sgml:
5260 * docs/libs/gstreamer-libs-sections.txt:
5261 * docs/libs/gstreamer-libs.types:
5262 * examples/Makefile.am:
5263 * examples/controller/.cvsignore:
5264 * examples/controller/Makefile.am:
5265 * examples/controller/audio-example.c: (main):
5266 * libs/gst/Makefile.am:
5267 * libs/gst/controller/.cvsignore:
5268 * libs/gst/controller/Makefile.am:
5269 * libs/gst/controller/gst-controller.c:
5270 (on_object_controlled_property_changed), (gst_timed_value_compare),
5271 (gst_timed_value_find),
5272 (gst_controlled_property_set_interpolation_mode),
5273 (gst_controlled_property_new), (gst_controlled_property_free),
5274 (gst_controller_find_controlled_property),
5275 (gst_controller_new_valist), (gst_controller_new),
5276 (gst_controller_remove_properties_valist),
5277 (gst_controller_remove_properties), (gst_controller_set),
5278 (gst_controller_set_from_list), (gst_controller_unset),
5279 (gst_controller_get), (gst_controller_get_all),
5280 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5281 (gst_controller_get_value_array),
5282 (gst_controller_set_interpolation_mode),
5283 (_gst_controller_finalize), (_gst_controller_init),
5284 (_gst_controller_class_init), (gst_controller_get_type):
5285 * libs/gst/controller/gst-controller.h:
5286 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5287 (g_object_uncontrol_properties), (g_object_get_controller),
5288 (g_object_set_controller), (g_object_sink_values),
5289 (g_object_get_value_arrays), (g_object_get_value_array):
5290 * libs/gst/controller/gst-interpolation.c:
5291 (gst_controlled_property_find_timed_value_node),
5292 (interpolate_none_get), (interpolate_trigger_get),
5293 (interpolate_trigger_get_value_array):
5294 * libs/gst/controller/lib.c: (gst_controller_init):
5295 * pkgconfig/Makefile.am:
5296 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5297 * pkgconfig/gstreamer-control.pc.in:
5298 * testsuite/Makefile.am:
5299 * testsuite/controller/.cvsignore:
5300 * testsuite/controller/Makefile.am:
5301 * testsuite/controller/interpolator.c: (main):
5302 added controller code
5303 removed dparam pc files
5305 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5306 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5307 (gst_collectpads_stop):
5308 Broadcast the condition when shutting down, to make sure we wake all
5309 threads up. Shut down pads on finalize, for safety.
5311 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5312 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5313 (gst_base_transform_handle_buffer),
5314 (gst_base_transform_change_state):
5315 Handle PAUSED->READY->PAUSED transition after negotiation
5317 * gst/gstmessage.c: (gst_message_init):
5318 Extra piece of debug for new messages.
5320 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5323 * docs/gst/tmpl/gstbasesrc.sgml:
5324 * docs/gst/tmpl/gstelement.sgml:
5325 * docs/gst/tmpl/gstevent.sgml:
5326 * docs/gst/tmpl/gstfakesrc.sgml:
5327 * docs/gst/tmpl/gstformat.sgml:
5328 * docs/gst/tmpl/gstghostpad.sgml:
5329 * docs/gst/tmpl/gstpad.sgml:
5330 * docs/gst/tmpl/gstquery.sgml:
5331 * docs/gst/tmpl/gststructure.sgml:
5332 * docs/gst/tmpl/gsttaglist.sgml:
5333 * docs/gst/tmpl/gstvalue.sgml:
5334 * docs/libs/gstreamer-libs-docs.sgml:
5335 * docs/libs/gstreamer-libs-sections.txt:
5336 * docs/libs/gstreamer-libs.types:
5337 * libs/gst/Makefile.am:
5338 * libs/gst/control/.cvsignore:
5339 * libs/gst/control/Makefile.am:
5340 * libs/gst/control/control.c:
5341 * libs/gst/control/control.h:
5342 * libs/gst/control/dparam.c:
5343 * libs/gst/control/dparam.h:
5344 * libs/gst/control/dparam_smooth.c:
5345 * libs/gst/control/dparam_smooth.h:
5346 * libs/gst/control/dparamcommon.h:
5347 * libs/gst/control/dparammanager.c:
5348 * libs/gst/control/dparammanager.h:
5349 * libs/gst/control/dplinearinterp.c:
5350 * libs/gst/control/dplinearinterp.h:
5351 * libs/gst/control/unitconvert.c:
5352 * libs/gst/control/unitconvert.h:
5353 * testsuite/Makefile.am:
5354 * testsuite/dynparams/.cvsignore:
5355 * testsuite/dynparams/Makefile.am:
5356 * testsuite/dynparams/dparamstest.c:
5357 * tools/Makefile.am:
5358 * tools/gst-inspect.c: (print_element_info), (main):
5359 * tools/gst-xmlinspect.c: (print_element_info), (main):
5360 deactivate and remove dparams (libgstcontrol)
5362 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5364 * gst/elements/gsttypefindelement.c:
5365 (gst_type_find_element_have_type), (gst_type_find_element_init),
5366 (stop_typefinding), (gst_type_find_element_handle_event),
5367 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5368 * gst/elements/gsttypefindelement.h:
5369 Set caps on all outgoing buffers, not just the first one.
5371 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5373 * gst/elements/gsttypefindelement.c:
5374 (gst_type_find_element_have_type),
5375 (gst_type_find_element_check_set_buffer_caps),
5376 (gst_type_find_element_init), (stop_typefinding),
5377 (gst_type_find_element_handle_event),
5378 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5379 * gst/elements/gsttypefindelement.h:
5380 Set caps on first outgoing buffer when we've found the type.
5382 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5384 * docs/gst/gstreamer-docs.sgml:
5385 * docs/gst/gstreamer-sections.txt:
5386 * docs/gst/tmpl/gstscheduler.sgml:
5387 * docs/gst/tmpl/gstschedulerfactory.sgml:
5388 Remove some old cruft from docs.
5390 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5393 Fix inline docs for GstPadLinkReturn.
5395 * gst/gststructure.c: (gst_structure_has_name):
5396 * gst/gststructure.h:
5397 * docs/gst/gstreamer-sections.txt:
5398 New API: gst_structure_has_name().
5400 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5403 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5404 and _LARGEFILE_SOURCE in config.h as required. Do not
5405 export those flags in our .pc files any longer (#142209).
5407 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5409 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5410 (gst_file_sink_do_seek), (gst_file_sink_event),
5411 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5412 Redo seek/tell calls with large file support in mind; add some
5413 debugging messages; add log message that tells us when large
5414 file support is unavailable or not enabled for some reason.
5416 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5417 Add log message that tells us when large file support
5418 is unavailable or not enabled for some reason.
5420 2005-07-29 Wim Taymans <wim@fluendo.com>
5422 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5423 Added test for removing an element with ghostpad from a bin.
5424 Fixed test as current implementation does the right thing.
5426 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5427 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5428 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5429 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5430 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5431 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5432 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5433 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5434 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5435 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5436 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5437 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5438 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5439 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5440 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5441 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5442 * gst/gstghostpad.h:
5443 Clean up ghostpads, remove properties for internal stuff.
5446 Prepare for switching targets, not all use cases work yet.
5448 2005-07-29 Wim Taymans <wim@fluendo.com>
5450 * docs/design/part-gstghostpad.txt:
5453 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5454 (gst_bin_remove_func):
5455 Unlinking pads while holding the bin LOCK is not a good
5458 * gst/gstpad.c: (gst_pad_class_init),
5459 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5460 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5461 No prob setting template after creating the pad.
5463 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5465 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5466 (gst_bus_peek), (gst_bus_source_dispatch),
5467 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5468 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5469 gst_bus_poll may be called from other threads. Handle
5470 this nicely by not making poll_data disappear off the
5471 stack once gst_bus_poll returns.
5472 gst_bus_peek now increments the refcount on the returned
5475 2005-07-29 Wim Taymans <wim@fluendo.com>
5477 * docs/design/part-gstghostpad.txt:
5478 Overview of current GhostPad datastructures and use
5479 cases for changing the target.
5481 2005-07-28 Wim Taymans <wim@fluendo.com>
5483 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5484 Added checks for hierarchy consistency whan adding linked
5487 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5488 Added check to test element scheduling without bin/pipeline.
5490 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5491 First add elements to bin, then link.
5493 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5494 (gst_bin_remove_func):
5495 Unlink pads from elements added/removed from bin to maintain
5496 hierarchy consistency.
5498 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5500 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5501 (gst_base_transform_handle_buffer):
5502 * gst/base/gstbasetransform.h:
5503 Remove broken delay_configure (fixes renegotiation of software
5504 scaling pipelines); remove some leftover printf()s.
5506 2005-07-28 Wim Taymans <wim@fluendo.com>
5508 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5509 Added some more tests for wrong hierarchy
5511 * docs/design/part-overview.txt:
5514 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5517 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5518 (gst_element_dispose):
5521 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5522 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5523 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5524 (gst_pad_set_caps), (gst_pad_send_event):
5525 Check for correct hierarchy when linking pads. Moving to
5526 strict requirement for ghostpads when linking elements in
5530 Clean ups. Added WRONG_HIERARCHY return value.
5532 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5534 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5535 Better debug if no transform is possible.
5537 2005-07-27 Wim Taymans <wim@fluendo.com>
5539 * docs/random/wtay/network-transp:
5542 2005-07-27 Wim Taymans <wim@fluendo.com>
5544 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5545 (gst_dp_event_from_packet):
5546 Fix serialization of seek events.
5548 2005-07-27 Wim Taymans <wim@fluendo.com>
5550 * check/gst-libs/gdp.c: (GST_START_TEST):
5551 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5552 Fix compilation and fix event serialization.
5554 2005-07-27 Wim Taymans <wim@fluendo.com>
5557 * docs/design/part-TODO.txt:
5558 * docs/design/part-events.txt:
5561 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5562 (gst_base_sink_event), (gst_base_sink_do_sync),
5563 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5564 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5565 (gst_base_src_do_seek), (gst_base_src_event_handler),
5566 (gst_base_src_loop):
5567 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5568 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5569 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5570 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5571 (gst_base_transform_set_passthrough),
5572 (gst_base_transform_is_passthrough):
5573 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5574 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5580 * gst/gstelement.c: (gst_element_seek):
5582 Update gst_element_seek.
5584 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5585 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5586 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5587 (gst_event_new_eos), (gst_event_new_newsegment),
5588 (gst_event_parse_newsegment), (gst_event_new_tag),
5589 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5590 (gst_event_parse_qos), (gst_event_new_seek),
5591 (gst_event_parse_seek), (gst_event_new_navigation):
5593 Make GstEvent use GstStructure. Add parsing code, make sure the
5594 API is sufficiently generic.
5595 Mark possible directions of events and serialization.
5597 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5598 (_gst_message_copy), (gst_message_new_segment_start),
5599 (gst_message_new_segment_done), (gst_message_new_custom),
5600 (gst_message_parse_segment_start),
5601 (gst_message_parse_segment_done):
5604 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5605 (gst_pad_set_caps), (gst_pad_send_event):
5606 Update for new events.
5607 Catch events sent in wrong directions.
5609 * gst/gstqueue.c: (gst_queue_link_src),
5610 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5611 (gst_queue_handle_src_query):
5616 Remove event code from this file.
5618 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5619 (gst_dp_event_from_packet):
5622 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5624 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5625 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5626 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5627 Make debugging actually useful.
5629 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5631 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5632 (gst_pad_fixate_caps):
5633 Implement default fixation once again, so that gst_pad_fixate()
5634 actually does anything at all. This probably needs to be some
5635 sort of a last resort, and use profile-based fixation first, but
5636 since that doesn't exist yet, this is the best we have. Fixes
5637 visualization in Totem.
5639 2005-07-22 Wim Taymans <wim@fluendo.com>
5641 * docs/design/part-events.txt:
5644 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5645 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5646 (gst_base_sink_activate_pull):
5649 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5650 (gst_fake_src_create):
5651 Fix handoff marshall.
5653 * gst/elements/gstidentity.c: (gst_identity_class_init),
5654 (gst_identity_transform_ip):
5655 We're a real inplace element.
5657 * gst/gstbus.c: (gst_bus_post):
5658 Added some comments.
5660 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5661 * tests/muxing/case1.c: (main):
5662 * tests/sched/dynamic-pipeline.c: (main):
5663 * tests/sched/interrupt1.c: (main):
5664 * tests/sched/interrupt2.c: (main):
5665 * tests/sched/interrupt3.c: (main):
5666 * tests/sched/runxml.c: (main):
5667 * tests/sched/sched-stress.c: (main):
5668 * tests/seeking/seeking1.c: (event_received), (main):
5669 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5671 * tests/threadstate/threadstate3.c: (main):
5672 * tests/threadstate/threadstate4.c: (main):
5673 * tests/threadstate/threadstate5.c: (main):
5676 2005-07-21 Wim Taymans <wim@fluendo.com>
5678 * docs/design/part-seeking.txt:
5679 Some small additions.
5681 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5682 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5683 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5684 * gst/base/gstbasesink.h:
5685 discont values are gint64, handle the math correctly.
5687 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5688 Make the basesrc report error if the source pad is not linked.
5690 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5691 (gst_queue_loop), (gst_queue_handle_src_query),
5692 (gst_queue_src_activate_push):
5693 Make queue collect data even if the srcpad is not linked.
5694 Start pushing out data as soon as it is linked.
5696 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5698 Added gst_flow_get_name() to ease error reporting.
5700 2005-07-20 Wim Taymans <wim@fluendo.com>
5702 * gst/gstmessage.c: (gst_message_new_segment_start),
5703 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5704 (gst_message_parse_segment_done):
5706 Added a bunch of messages for advanced seeking.
5708 * gst/parse/grammar.y:
5709 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5710 (gst_dpman_state_changed):
5711 Fix some new-pad -> pad-added signals
5713 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5715 * docs/manual/appendix-porting.xml:
5716 * docs/pwg/appendix-porting.xml:
5717 Document new-pad/state-change signal renames and the FixedList
5720 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5722 * docs/manual/advanced-autoplugging.xml:
5723 * docs/manual/basics-helloworld.xml:
5724 * docs/manual/basics-pads.xml:
5725 * docs/random/ds/0.9-suggested-changes:
5726 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5731 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5732 (gst_structure_parse_array), (gst_structure_parse_value):
5733 * gst/gstvalue.c: (gst_type_is_fixed),
5734 (gst_value_list_prepend_value), (gst_value_list_append_value),
5735 (gst_value_list_get_size), (gst_value_list_get_value),
5736 (gst_value_transform_array_string), (gst_value_serialize_array),
5737 (gst_value_deserialize_array), (gst_value_intersect_array),
5738 (gst_value_is_fixed), (_gst_value_initialize):
5740 GstElement::new-pad -> pad-added, GstElement::state-change ->
5741 state-changed, GstValueFixedList -> GstValueArray, add format and
5742 flags as their own arguments in gst_element_seek() (should improve
5743 "bindeability"), remove function generators since they don't work
5744 under a whole bunch of compilers (they were deprecated already
5747 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5749 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5750 (_gst_debug_register_funcptr):
5752 Fix illegal cast on some platforms (#309253).
5754 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5756 * gst/gstmessage.c: (gst_message_new_custom):
5758 Add _new_custom, make _new_application a macro to _new_custom.
5760 2005-07-20 Wim Taymans <wim@fluendo.com>
5762 * gst/base/gstbasesrc.c: (gst_base_src_init),
5763 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5764 * gst/base/gstbasesrc.h:
5765 Add a gboolean to decide when to push out a discont.
5767 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5768 (gst_queue_loop), (gst_queue_handle_src_query),
5769 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5770 (gst_queue_set_property), (gst_queue_get_property):
5773 * tests/threadstate/threadstate1.c: (main):
5774 Make a thread test compile and run... very silly..
5777 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5779 * docs/manual/appendix-porting.xml:
5780 Mention removal of libgstgconf-0.9.la and existence of gconf
5783 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5785 * docs/pwg/advanced-clock.xml:
5786 * docs/pwg/appendix-porting.xml:
5787 * docs/pwg/intro-preface.xml:
5788 * docs/pwg/other-base.xml:
5789 * docs/pwg/other-manager.xml:
5790 * docs/pwg/other-nton.xml:
5791 * docs/pwg/other-ntoone.xml:
5792 * docs/pwg/other-oneton.xml:
5794 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5795 demuxer), remove n-to-n (was never written), fix some code examples
5796 and links and update the porting section to include all this.
5798 2005-07-19 Wim Taymans <wim@fluendo.com>
5800 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5801 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5802 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5803 (gst_queue_src_activate_push), (gst_queue_change_state),
5804 (gst_queue_get_property):
5806 Propagate GstFlowReturn more intelligently upstream and output
5807 an ERROR/EOS when streaming stopped due to fatal error.
5809 2005-07-19 Wim Taymans <wim@fluendo.com>
5811 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5812 Don't block forever for the state change to complete, the
5813 pipeline already did with a sensible timeout.
5815 2005-07-19 Wim Taymans <wim@fluendo.com>
5817 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5818 Make sure we never call the create function is we
5821 2005-07-19 Andy Wingo <wingo@pobox.com>
5823 * gst/parse/parse.l: Attempt to solve bug #172815.
5825 2005-07-19 Wim Taymans <wim@fluendo.com>
5827 * docs/design/part-clocks.txt:
5828 * docs/design/part-events.txt:
5829 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5831 Only update the seeking values when we are not
5834 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5836 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5837 Oops, ignore the result of gst_pad_push_event here.
5839 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5841 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5842 (gst_base_src_activate_push):
5843 Send discont event from the loop function, as pads
5844 aren't activated yet in the activate_push handler.
5846 * gst/gstbin.c: (bin_bus_handler):
5847 Don't leak element name.
5849 2005-07-18 Andy Wingo <wingo@pobox.com>
5851 * configure.ac: Use AS_LIBTOOL_TAGS.
5853 2005-07-18 Wim Taymans <wim@fluendo.com>
5855 * docs/gst/gstreamer.types:
5856 Remove deleted types.
5858 2005-07-18 Wim Taymans <wim@fluendo.com>
5860 * check/elements/gstfakesrc.c: (GST_START_TEST):
5863 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
5864 (init_popt_callback):
5866 * gst/gst_private.h:
5867 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
5868 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
5871 * gst/gstconfig.h.in:
5872 * gst/gstelement.c: (gst_element_class_init),
5873 (gst_element_set_base_time), (gst_element_get_base_time),
5874 (iterator_fold_with_resync), (gst_element_change_state),
5875 (gst_element_dispose), (gst_element_get_bus):
5877 * gst/gstelementfactory.h:
5878 * gst/gsterror.c: (_gst_core_errors_init):
5881 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5883 * gst/gstinfo.c: (_gst_debug_init):
5884 * gst/gstmessage.c: (_gst_message_copy):
5886 * gst/gstminiobject.h:
5889 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5890 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
5893 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5894 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5895 (gst_pipeline_get_last_stream_time):
5896 * gst/gstpipeline.h:
5897 * gst/gstpluginfeature.h:
5899 * gst/gstscheduler.c:
5900 * gst/gstscheduler.h:
5901 * gst/gststructure.h:
5902 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
5903 (gst_task_finalize), (gst_task_func), (gst_task_create),
5904 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
5905 (gst_task_stop), (gst_task_pause):
5907 * gst/gsttypefind.h:
5909 * gst/registries/gstlibxmlregistry.c: (load_feature),
5910 (gst_xml_registry_load), (gst_xml_registry_save_feature):
5911 * gst/registries/gstxmlregistry.c:
5912 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
5913 * gst/schedulers/threadscheduler.c:
5914 * libs/gst/control/dparammanager.h:
5915 * tools/gst-inspect.c: (print_element_list),
5916 (print_plugin_features), (print_element_features):
5917 * tools/gst-xmlinspect.c: (print_element_list),
5918 (print_plugin_info), (main):
5919 Removed plugable schedulers.
5920 Removed Scheduler/Manager from elements.
5921 Removed gsttypes.h, rearranged includes.
5922 Removed dependency pad<->element, element<>pipeline, and
5923 various others, fix includes.
5924 implement gst_pad_get_parent() with gst_object_get_parent()
5925 Make GstTask sefcontained.
5926 Fix _get_state() on GstBin, it did not return ASYNC with a 0
5928 Fix endless loop in iterator_fold_with_resync.
5931 2005-07-18 Wim Taymans <wim@fluendo.com>
5937 2005-07-18 Wim Taymans <wim@fluendo.com>
5942 2005-07-18 Wim Taymans <wim@fluendo.com>
5948 2005-07-18 Wim Taymans <wim@fluendo.com>
5950 * docs/design/part-dynamic.txt:
5951 * docs/design/part-events.txt:
5952 * docs/design/part-seeking.txt:
5953 Some more docs in the works.
5955 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5956 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
5957 (gst_base_transform_setcaps), (gst_base_transform_get_size),
5958 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5959 (gst_base_transform_handle_buffer),
5960 (gst_base_transform_sink_activate_push),
5961 (gst_base_transform_src_activate_pull),
5962 (gst_base_transform_set_passthrough),
5963 (gst_base_transform_is_passthrough):
5966 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
5969 * gst/gstevent.c: (gst_event_finalize):
5972 * gst/gstutils.c: (gst_element_unlink),
5973 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
5974 (gst_pad_proxy_setcaps):
5976 Add _get_parent_element() to get a pads parent as an element.
5978 2005-07-18 Wim Taymans <wim@fluendo.com>
5980 * check/gst/gstbin.c: (GST_START_TEST):
5983 2005-07-18 Wim Taymans <wim@fluendo.com>
5985 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5986 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5987 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5988 (gst_base_sink_event), (gst_base_sink_do_sync),
5989 (gst_base_sink_chain), (gst_base_sink_loop),
5990 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
5991 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5993 Fix logic for returning ASYNC when not prerolled.
5995 2005-07-18 Wim Taymans <wim@fluendo.com>
5997 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5998 Fix nasty refcount bug.
6000 2005-07-16 Philippe Khalaf <burger@speedy.org>
6002 * gst/elements/gstfdsrc.c:
6003 * gst/elements/gstfdsrc.h:
6004 * gst/elements/gstelements.c:
6005 * gst/elements/Makefile.am:
6006 Ported fdsrc to 0.9.
6008 2005-07-16 Wim Taymans <wim@fluendo.com>
6010 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6011 (gst_base_sink_do_sync):
6014 2005-07-16 Wim Taymans <wim@fluendo.com>
6016 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6017 (gst_base_sink_event), (gst_base_sink_get_times),
6018 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6019 * gst/base/gstbasesink.h:
6020 Store and use discont values when syncing buffers as described
6023 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6024 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6025 (gst_base_src_activate_push):
6026 Push discont event when starting.
6028 * gst/elements/gstidentity.c: (gst_identity_transform):
6031 * gst/gstbin.c: (gst_bin_change_state):
6032 Small cleanups in base_time distribution.
6034 * gst/gstelement.c: (gst_element_set_base_time),
6035 (gst_element_get_base_time), (gst_element_change_state):
6037 Added methods for the base_time of the element.
6040 * gst/gstpipeline.c: (gst_pipeline_send_event),
6041 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6042 (gst_pipeline_get_last_stream_time):
6043 * gst/gstpipeline.h:
6045 Handle seeking as described in design doc, remove stream_time
6047 Cleanups clock and stream_time selection code. Added accessors
6048 for the stream_time.
6051 2005-07-16 Andy Wingo <wingo@pobox.com>
6053 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6056 2005-07-16 Wim Taymans <wim@fluendo.com>
6058 * check/gst/gstbin.c: (GST_START_TEST):
6059 Make elements silent as the deep_notify refs the
6060 parent, which might make the test fail.
6062 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6063 Don't hold the lock for too long.
6065 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6067 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6068 Don't unref the caps we passed to gst_caps_make_writable() after
6069 passing them. gst_caps_make_writable() will do that for us.
6071 2005-07-15 Andy Wingo <wingo@pobox.com>
6073 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6076 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6077 own marshalling function for the handoff signal. Properly type the
6078 buffer as a buffer. Fixes some warnings. Should do a more general
6080 (gst_identity_class_init): Plug into the right marshaller.
6082 2005-07-15 Wim Taymans <wim@fluendo.com>
6084 * docs/design/part-TODO.txt:
6085 * docs/design/part-clocks.txt:
6086 * docs/design/part-element-sink.txt:
6087 * docs/design/part-events.txt:
6088 * docs/design/part-gstpipeline.txt:
6089 Updated docs, mostly DISCONT related.
6091 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6093 * docs/pwg/building-pads.xml:
6094 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6096 2005-07-15 Andy Wingo <wingo@pobox.com>
6098 * tools/gst-typefind.c: Update, add copyright block.
6100 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6101 Normalize and truncate caps before fixation.
6104 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6105 discards all but the first structure from its argument.
6107 2005-07-15 Wim Taymans <wim@fluendo.com>
6109 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6110 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6111 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6112 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6113 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6114 (gst_base_transform_chain), (gst_base_transform_change_state),
6115 (gst_base_transform_set_passthrough),
6116 (gst_base_transform_is_passthrough):
6117 * gst/base/gstbasetransform.h:
6118 Make passthrough work using the bufferpools.
6119 Changed API a bit, subclasses have to write into a buffer
6120 provided by the base class.
6121 More debug info in nego functions.
6123 * gst/elements/gstidentity.c: (gst_identity_init),
6124 (gst_identity_transform):
6125 Port to new base class.
6127 2005-07-15 Wim Taymans <wim@fluendo.com>
6129 * gst/gstmessage.c: (gst_message_new_state_changed):
6130 * tools/gst-launch.c: (event_loop), (main):
6131 Totally dump messages in -launch with the -m option.
6132 Fix message name for State messages,
6134 2005-07-14 Wim Taymans <wim@fluendo.com>
6136 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6137 Post error messages on errors.
6139 2005-07-14 Wim Taymans <wim@fluendo.com>
6141 * gst/gstcaps.c: (gst_caps_do_simplify):
6145 Define error for stream stopped.
6147 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6148 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6149 Do proper return values.
6151 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6152 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6153 (gst_pad_get_range):
6154 Better return values.
6157 Reorganise return values, add macro to check for fatal errors.
6159 * gst/gstqueue.c: (gst_queue_chain):
6160 Return proper GstFlowReturn values,
6162 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6164 * docs/gst/gstreamer-sections.txt:
6165 * docs/gst/gstreamer.types:
6166 * docs/gst/tmpl/gst.sgml:
6167 * docs/gst/tmpl/gstbasesink.sgml:
6168 * docs/gst/tmpl/gstbasesrc.sgml:
6169 * docs/gst/tmpl/gstbasetransform.sgml:
6170 * docs/gst/tmpl/gstbin.sgml:
6171 * docs/gst/tmpl/gstbuffer.sgml:
6172 * docs/gst/tmpl/gstcaps.sgml:
6173 * docs/gst/tmpl/gstclock.sgml:
6174 * docs/gst/tmpl/gstcompat.sgml:
6175 * docs/gst/tmpl/gstconfig.sgml:
6176 * docs/gst/tmpl/gstelement.sgml:
6177 * docs/gst/tmpl/gstelementdetails.sgml:
6178 * docs/gst/tmpl/gstelementfactory.sgml:
6179 * docs/gst/tmpl/gstenumtypes.sgml:
6180 * docs/gst/tmpl/gsterror.sgml:
6181 * docs/gst/tmpl/gstevent.sgml:
6182 * docs/gst/tmpl/gstfakesink.sgml:
6183 * docs/gst/tmpl/gstfakesrc.sgml:
6184 * docs/gst/tmpl/gstfilesink.sgml:
6185 * docs/gst/tmpl/gstfilesrc.sgml:
6186 * docs/gst/tmpl/gstfilter.sgml:
6187 * docs/gst/tmpl/gstformat.sgml:
6188 * docs/gst/tmpl/gstghostpad.sgml:
6189 * docs/gst/tmpl/gstimplementsinterface.sgml:
6190 * docs/gst/tmpl/gstindex.sgml:
6191 * docs/gst/tmpl/gstindexfactory.sgml:
6192 * docs/gst/tmpl/gstinfo.sgml:
6193 * docs/gst/tmpl/gstiterator.sgml:
6194 * docs/gst/tmpl/gstmacros.sgml:
6195 * docs/gst/tmpl/gstmemchunk.sgml:
6196 * docs/gst/tmpl/gstminiobject.sgml:
6197 * docs/gst/tmpl/gstobject.sgml:
6198 * docs/gst/tmpl/gstpad.sgml:
6199 * docs/gst/tmpl/gstpadtemplate.sgml:
6200 * docs/gst/tmpl/gstparse.sgml:
6201 * docs/gst/tmpl/gstpipeline.sgml:
6202 * docs/gst/tmpl/gstplugin.sgml:
6203 * docs/gst/tmpl/gstpluginfeature.sgml:
6204 * docs/gst/tmpl/gstquery.sgml:
6205 * docs/gst/tmpl/gstqueue.sgml:
6206 * docs/gst/tmpl/gstregistry.sgml:
6207 * docs/gst/tmpl/gstregistrypool.sgml:
6208 * docs/gst/tmpl/gstscheduler.sgml:
6209 * docs/gst/tmpl/gstschedulerfactory.sgml:
6210 * docs/gst/tmpl/gststructure.sgml:
6211 * docs/gst/tmpl/gstsystemclock.sgml:
6212 * docs/gst/tmpl/gsttaglist.sgml:
6213 * docs/gst/tmpl/gsttagsetter.sgml:
6214 * docs/gst/tmpl/gsttrace.sgml:
6215 * docs/gst/tmpl/gsttrashstack.sgml:
6216 * docs/gst/tmpl/gsttypefind.sgml:
6217 * docs/gst/tmpl/gsttypefindfactory.sgml:
6218 * docs/gst/tmpl/gsttypes.sgml:
6219 * docs/gst/tmpl/gsturihandler.sgml:
6220 * docs/gst/tmpl/gsturitype.sgml:
6221 * docs/gst/tmpl/gstutils.sgml:
6222 * docs/gst/tmpl/gstvalue.sgml:
6223 * docs/gst/tmpl/gstversion.sgml:
6224 * docs/gst/tmpl/gstxml.sgml:
6225 * docs/libs/tmpl/gstcontrol.sgml:
6226 * docs/libs/tmpl/gstdataprotocol.sgml:
6227 * docs/libs/tmpl/gstdparam.sgml:
6228 * docs/libs/tmpl/gstdplinint.sgml:
6229 * docs/libs/tmpl/gstdpman.sgml:
6230 * docs/libs/tmpl/gstdpsmooth.sgml:
6231 * docs/libs/tmpl/gstgetbits.sgml:
6232 * docs/libs/tmpl/gstunitconvert.sgml:
6233 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6234 (gst_push_src_base_init), (gst_push_src_class_init),
6235 (gst_push_src_init), (gst_push_src_create):
6236 * gst/base/gstpushsrc.h:
6237 * gst/elements/gstelements.c:
6238 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6239 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6240 (gst_fake_sink_init), (gst_fake_sink_set_property),
6241 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6242 (gst_fake_sink_event), (gst_fake_sink_preroll),
6243 (gst_fake_sink_render), (gst_fake_sink_change_state):
6244 * gst/elements/gstfakesink.h:
6245 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6246 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6247 (gst_fake_src_base_init), (gst_fake_src_class_init),
6248 (gst_fake_src_init), (gst_fake_src_event_handler),
6249 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6250 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6251 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6252 (gst_fake_src_create_buffer), (gst_fake_src_create),
6253 (gst_fake_src_start), (gst_fake_src_stop):
6254 * gst/elements/gstfakesrc.h:
6255 * gst/elements/gstfilesink.c: (_do_init),
6256 (gst_file_sink_base_init), (gst_file_sink_class_init),
6257 (gst_file_sink_init), (gst_file_sink_dispose),
6258 (gst_file_sink_set_location), (gst_file_sink_set_property),
6259 (gst_file_sink_get_property), (gst_file_sink_open_file),
6260 (gst_file_sink_close_file), (gst_file_sink_query),
6261 (gst_file_sink_event), (gst_file_sink_render),
6262 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6263 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6264 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6265 * gst/elements/gstfilesink.h:
6266 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6267 (gst_file_src_class_init), (gst_file_src_init),
6268 (gst_file_src_finalize), (gst_file_src_set_location),
6269 (gst_file_src_set_property), (gst_file_src_get_property),
6270 (gst_file_src_map_region), (gst_file_src_map_small_region),
6271 (gst_file_src_create_mmap), (gst_file_src_create_read),
6272 (gst_file_src_create), (gst_file_src_is_seekable),
6273 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6274 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6275 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6276 (gst_file_src_uri_handler_init):
6277 * gst/elements/gstfilesrc.h:
6278 more autistic cleanliness in functions/names/defines
6280 2005-07-13 Andy Wingo <wingo@pobox.com>
6282 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6283 source couldn't negotiate.
6285 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6289 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6290 function. I am channeling Hades. Put your boots on suckers!!!
6292 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6294 * testsuite/caps/Makefile.am:
6295 * testsuite/caps/value_compare.c:
6296 * testsuite/caps/value_intersect.c:
6297 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6298 move two testsuite apps over to the check dir
6300 2005-07-12 Wim Taymans <wim@fluendo.com>
6302 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6303 Added more debug info in the negotiate process.
6306 Prepare for segment playback.
6308 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6314 * tools/gst-launch.c: (main):
6315 NULL pipeline on errors.
6317 2005-07-12 Andy Wingo <wingo@pobox.com>
6319 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6320 not it comes from a malloc region. Make sure our copy gets freed.
6322 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6324 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6325 * check/gst/gstmessage.c: (GST_START_TEST):
6326 * check/gst/gststructure.c: (GST_START_TEST),
6327 (gst_structure_suite), (main):
6329 * gst/gstelement.c: (gst_element_message_full):
6330 clean up GError and debug string now that they get copied
6331 * gst/gstmessage.c: (gst_message_new_error),
6332 (gst_message_new_warning), (gst_message_parse_error),
6333 (gst_message_parse_warning):
6334 use GST_TYPE_G_ERROR for structure_new, and take copies of
6335 arguments, so that we don't mess up refcounting
6337 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6339 * check/Makefile.am:
6340 add per-test valgrind targets
6341 * check/gst-libs/gdp.c: (GST_START_TEST),
6342 (gst_data_protocol_suite), (main):
6345 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6347 * check/Makefile.am:
6348 instate more valgrindable tests
6349 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6350 (GST_START_TEST), (fakesrc_suite):
6351 * check/gst/gstpad.c: (GST_START_TEST):
6352 * check/gst/gststructure.c: (GST_START_TEST):
6354 * docs/gst/tmpl/gstminiobject.sgml:
6355 * gst/gstpad.c: (gst_pad_finalize):
6356 fix the static mutex leak
6358 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6360 * check/Makefile.am:
6361 add two more tests for valgrinding
6362 * check/gst/gstvalue.c: (GST_START_TEST):
6363 test refcount of deserialized buffer, found a leak
6364 * docs/gst/gstreamer-docs.sgml:
6365 * docs/gst/gstreamer-sections.txt:
6366 * docs/gst/gstreamer.types:
6367 * docs/gst/tmpl/gstminiobject.sgml:
6368 add miniobject to docs
6369 * gst/gstminiobject.c:
6371 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6372 (gst_string_unwrap):
6373 fix a hard-to-find invalid write for one of the tests
6374 fix a leak for deserialized buffers
6376 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6378 * docs/pwg/advanced-events.xml:
6379 * docs/pwg/advanced-request.xml:
6380 * docs/pwg/advanced-scheduling.xml:
6381 * docs/pwg/appendix-porting.xml:
6382 * docs/pwg/building-boiler.xml:
6383 * docs/pwg/intro-preface.xml:
6384 * docs/pwg/other-ntoone.xml:
6385 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6386 of example code and explanation for pad activation, loop() and
6387 getrange() functions and a bit more. Remove old comments pointing
6389 * examples/pwg/Makefile.am:
6390 Add loop/getrange examples.
6392 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6395 check for valgrind binary + some fixes
6397 valgrind suppressions for the tests
6398 * check/Makefile.am:
6399 add a valgrind: target that valgrinds the unit tests
6400 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6401 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6402 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6403 * check/gst/gstghostpad.c:
6405 * check/gst/gstdata.c:
6407 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6408 (thread_unref), (gst_mini_object_suite), (main):
6410 * gst/gst.c: (gst_deinit):
6412 add a method to clean up.
6413 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6414 (gst_system_clock_obtain):
6415 allow for disposing the system clock.
6416 * tools/gst-launch.c: (main):
6419 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6421 * docs/gst/tmpl/gstbasesrc.sgml:
6422 * docs/gst/tmpl/gstfakesrc.sgml:
6423 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6424 (gst_base_src_init), (gst_base_src_set_property),
6425 (gst_base_src_get_property), (gst_base_src_get_range),
6426 (gst_base_src_start):
6427 * gst/base/gstbasesrc.h:
6428 add num-buffers property
6429 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6430 (gst_fakesrc_init), (gst_fakesrc_set_property),
6431 (gst_fakesrc_get_property), (gst_fakesrc_create),
6432 (gst_fakesrc_start):
6433 remove num-buffers property
6435 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6437 * docs/gst/gstreamer-sections.txt:
6438 * docs/gst/tmpl/gstbasesink.sgml:
6439 * docs/gst/tmpl/gstbasesrc.sgml:
6440 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6441 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6442 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6443 (gst_base_sink_set_property), (gst_base_sink_get_property),
6444 (gst_base_sink_handle_object), (gst_base_sink_event),
6445 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6446 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6447 (gst_base_sink_loop), (gst_base_sink_deactivate),
6448 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6449 (gst_base_sink_change_state):
6450 * gst/base/gstbasesink.h:
6451 * gst/base/gstbasesrc.h:
6452 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6453 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6454 (gst_filesink_init):
6455 more macro splitting
6457 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6459 * gst/gstelement.c: (gst_element_get_bus):
6461 * tools/gst-launch.c: (check_intr), (event_loop):
6464 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6466 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6469 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6471 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6472 (gst_base_src_finalize):
6473 add finalize method and clean up properly
6474 * gst/gstpipeline.c: (gst_pipeline_dispose):
6477 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6479 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6481 add more things to check
6482 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6486 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6488 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6489 (GST_START_TEST), (fakesrc_suite):
6490 * check/gst-libs/gdp.c: (GST_START_TEST):
6491 * check/gst/gst.c: (GST_START_TEST):
6492 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6493 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6494 * check/gst/gstbus.c: (GST_START_TEST):
6495 * check/gst/gstcaps.c: (GST_START_TEST):
6496 * check/gst/gstdata.c: (GST_START_TEST):
6497 * check/gst/gstelement.c: (GST_START_TEST):
6498 * check/gst/gstghostpad.c: (GST_START_TEST):
6499 * check/gst/gstiterator.c: (GST_START_TEST):
6500 * check/gst/gstmessage.c: (GST_START_TEST):
6501 * check/gst/gstobject.c: (GST_START_TEST):
6502 * check/gst/gstpad.c: (GST_START_TEST):
6503 * check/gst/gststructure.c: (GST_START_TEST):
6504 * check/gst/gstsystemclock.c: (GST_START_TEST),
6505 (gst_systemclock_suite):
6506 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6507 * check/gst/gstvalue.c: (GST_START_TEST):
6508 * check/pipelines/cleanup.c: (GST_START_TEST):
6509 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6510 * check/states/sinks.c: (GST_START_TEST):
6511 * check/gstcheck.c: (gst_check_init):
6513 add debugging category
6514 use GST_START_TEST now, so we add a debug line
6516 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6518 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6519 add test for state change message on a bin
6520 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6522 * gst/gstbin.c: (gst_bin_init):
6523 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6524 * gst/gstelement.c: (gst_element_post_message),
6525 (gst_element_set_state):
6526 * gst/gstelementfactory.c: (gst_element_factory_create):
6527 * gst/gstmessage.c: (gst_message_new):
6528 * gst/gstscheduler.c:
6529 various debugging additions and cleanups
6531 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6533 * check/Makefile.am:
6534 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6536 adding tests for elements
6537 * gst/gstelement.c: (gst_element_dispose):
6539 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6541 * gst/registries/gstlibxmlregistry.c: (load_feature):
6542 plug more leaks. A simple gst_init() now is leakfree, yay.
6544 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6546 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6547 (gst_xml_registry_load):
6548 plug another memleak
6550 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6553 use GST_SET_ERROR_CFLAGS
6555 change to ERROR_CFLAGS
6557 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6560 make GST_ERROR_CFLAGS overridable and re-enable Werror
6562 add a note about error CFLAGS
6563 * docs/gst/tmpl/gstfakesrc.sgml:
6564 * gst/elements/gstfakesrc.c:
6565 comment out some unused code
6566 * gst/gst.c: (split_and_iterate):
6567 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6571 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6573 * common/Makefile.am:
6574 * common/gtk-doc.mak:
6575 * docs/gst/Makefile.am:
6576 factor out gtk-doc.mak
6578 2005-07-07 Wim Taymans <wim@fluendo.com>
6580 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6581 (gst_thread_scheduler_dispose):
6582 Unlock the STREAM_LOCK completely.
6584 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6586 * check/Makefile.am:
6587 * check/elements/.cvsignore:
6588 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6589 (START_TEST), (fakesrc_suite), (main):
6590 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6591 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6592 (gst_fakesrc_create), (gst_fakesrc_start):
6593 * gst/elements/gstfakesrc.h:
6594 adding a first element test
6596 2005-07-07 Andy Wingo <wingo@pobox.com>
6598 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6601 2005-07-07 Wim Taymans <wim@fluendo.com>
6607 2005-07-07 Wim Taymans <wim@fluendo.com>
6609 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6610 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6611 Allow subclasses to implement their own negotiation.
6613 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6615 * docs/design/part-gstbin.txt:
6616 * docs/design/part-gstpipeline.txt:
6617 Update design notes to reflect the movement of
6618 responsibility for bus handling from GstPipeline to
6621 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6624 Remove unnecessary queue2/3/4 examples.
6626 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6628 * examples/Makefile.am:
6629 * examples/helloworld/helloworld.c: (event_loop), (main):
6630 * examples/queue/queue.c: (event_loop), (main):
6631 * examples/queue2/queue2.c: (main):
6632 Update a couple of the examples to work again.
6634 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6635 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6636 Spelling corrections and extra debug.
6638 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6639 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6640 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6642 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6643 (gst_pipeline_change_state):
6644 * gst/gstpipeline.h:
6645 Move the bus handler for children to the GstBin, and create a
6646 separate bus for receiving messages from children to the one the
6647 bus sends 'upwards' on.
6649 2005-07-06 Wim Taymans <wim@fluendo.com>
6652 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6653 (gst_base_sink_handle_object), (gst_base_sink_loop),
6654 (gst_base_sink_change_state):
6655 * gst/base/gstbasesink.h:
6656 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6657 (gst_base_src_init), (gst_base_src_setcaps),
6658 (gst_base_src_getcaps), (gst_base_src_loop),
6659 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6660 (gst_base_src_start), (gst_base_src_change_state):
6661 * gst/base/gstbasesrc.h:
6662 Make basesrc negotiate.
6663 Handle the case where preroll fails in basesink.
6666 2005-07-06 Wim Taymans <wim@fluendo.com>
6668 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6669 Implement the fixate function.
6670 Clean up acceptcaps.
6672 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6674 * docs/pwg/building-filterfactory.xml:
6676 Remove never-written filter-factory chapter; I'll add the various
6677 base classes to part 4 ("other element types") later on.
6679 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6681 * docs/pwg/advanced-negotiation.xml:
6682 * docs/pwg/building-boiler.xml:
6683 * docs/pwg/building-pads.xml:
6685 * examples/pwg/Makefile.am:
6686 Add a chapter on caps negotiation, simplify the original code
6687 samples a bit w.r.t. caps negotiation, add link to the advanced
6688 section. Add a bunch of examples showing different use cases of
6689 different types of caps negotiation. Upstream renegotiation isn't
6690 fully documented yet since nobody knows how that works.
6692 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6694 * check/gst/gstpad.c:
6696 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6697 if pad has no parent, return NULL as list of internal links
6699 2005-07-05 Andy Wingo <wingo@pobox.com>
6701 * gst/elements/gstfilesrc.c:
6702 * gst/elements/gstfakesrc.c:
6703 * gst/base/gstpushsrc.c:
6704 * gst/base/gstbasesrc.h:
6705 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6707 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6710 better report generation target (lcov needs a patch)
6712 2005-07-05 Andy Wingo <wingo@pobox.com>
6714 * gst/elements, testsuite: Null if we got it...
6716 2005-07-05 Wim Taymans <wim@fluendo.com>
6719 * libs/gst/dataprotocol/Makefile.am:
6720 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6721 * libs/gst/dataprotocol/dataprotocol.h:
6722 * pkgconfig/Makefile.am:
6723 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6724 * pkgconfig/gstreamer-dataprotocol.pc.in:
6725 Ported dataprotol to 0.9.
6726 Added pkgconfig files.
6728 2005-07-05 Andy Wingo <wingo@pobox.com>
6730 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6731 Default to returning TRUE for the case when tranform_caps returns
6732 a fixed caps, like for identity or volume.
6734 * check/gst/gstbus.c (pound_bus_with_messages):
6735 * check/gst/gstmessage.c (START_TEST):
6736 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6739 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6740 logic weaks here: always run transform_caps, trying passthrough
6741 operation only if the original caps intersects with the transform.
6743 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6744 source and sink caps.
6746 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6747 Intersect the peer caps with the pad template before going into
6749 (gst_base_transform_transform_caps): More debugging.
6751 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6754 2005-07-04 Edward Hervey <edward@fluendo.com>
6758 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6761 2005-07-04 Andy Wingo <wingo@pobox.com>
6763 * check/gst/gstpad.c: Only set explicit caps on pads.
6765 2005-07-01 Andy Wingo <wingo@pobox.com>
6767 * tests/network-clock.scm: Commentary update.
6769 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6770 Didn't really make sense, not implementable with basetransform,
6772 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6773 attempt at implementing the sync property, needs an unlock method.
6775 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6776 New func, by default returns the same caps (the identity
6778 (gst_base_transform_getcaps): Uses transform_caps to return
6780 (gst_base_transform_setcaps): Complicated logic to get caps on
6781 both pads, even if they are different, and to call set_caps once
6782 for every time both pads get their caps set.
6783 (gst_base_transform_handle_buffer): Give the ref to the transform
6784 function. Allows in-place modification of the buffer.
6786 * gst/base/gstbasetransform.h (transform_caps): New class method.
6787 Given caps on one side, what can I do on the other.
6788 (set_caps): Take two caps, one for each side of the element.
6791 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6792 caps in place. This is safe because we can check the mutability of
6793 the caps, and a good idea because fixate functions are just called
6794 as a matter of last resort. (Not actually implemented.)
6795 (gst_pad_set_caps): If the caps we're setting is actually the same
6796 as the existing pad caps, just update the pointer without calling
6797 setcaps. Assert that caps is either NULL or fixed, as per the
6800 * gst/gstghostpad.c: Update for fixate changes.
6802 2005-07-02 Andy Wingo <wingo@pobox.com>
6805 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6806 two refcounts makes it immutable, which is enough. Doc more.
6808 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6810 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6811 Put the mini_object into GValue as a mini_object,
6812 not a gpointer, since that's how we declared
6815 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6817 * examples/pwg/Makefile.am:
6820 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6822 * docs/pwg/building-testapp.xml:
6824 * examples/pwg/Makefile.am:
6827 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6830 * examples/Makefile.am:
6831 * examples/pwg/Makefile.am:
6832 * examples/pwg/extract.pl:
6833 Enable building the PWG examples.
6834 * docs/pwg/advanced-interfaces.xml:
6835 Add URI interface stub.
6836 * docs/pwg/advanced-types.xml:
6837 * docs/pwg/other-autoplugger.xml:
6838 * docs/pwg/appendix-porting.xml:
6840 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6841 * docs/pwg/building-boiler.xml:
6842 * docs/pwg/building-chainfn.xml:
6843 * docs/pwg/building-pads.xml:
6844 * docs/pwg/building-props.xml:
6845 * docs/pwg/building-state.xml:
6846 * docs/pwg/building-testapp.xml:
6847 Update the building-*.xml parts for 0.9 changes. All examples
6848 code blocks compile in examples/pwg/*.
6850 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6852 * docs/manual/advanced-autoplugging.xml:
6853 * docs/manual/appendix-checklist.xml:
6854 * docs/manual/appendix-integration.xml:
6855 * docs/manual/highlevel-components.xml:
6856 Fix playbin/decodebin examples, update docs a bit, mention bus
6857 instead of signals in various places, mention kmplayer and
6858 kaffeine since they have a working GStreamer backend in the KDE
6861 2005-06-30 Wim Taymans <wim@fluendo.com>
6864 * docs/design/draft-ghostpads.txt:
6865 * docs/design/draft-push-pull.txt:
6866 * docs/design/draft-query.txt:
6867 * docs/design/part-TODO.txt:
6868 * docs/design/part-query.txt:
6869 Added CHANGES-0.9 doc, updated status of other docs.
6874 2005-06-30 Wim Taymans <wim@fluendo.com>
6876 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6877 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6878 (gst_base_sink_change_state):
6879 * gst/base/gstbasesink.h:
6880 Some tweaks, only EOS and a buffer complete a preroll.
6882 2005-06-30 Andy Wingo <wingo@pobox.com>
6884 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
6885 activate_push down to the internal pad as well.
6887 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
6889 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6891 * gst/gsttaginterface.c:
6892 Some documentation fixes (#307394 and #307397).
6894 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
6896 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6898 * gst/gstvalue.c: (gst_value_intersect_list):
6899 Fix memleak (#309125).
6901 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6903 * docs/manual/advanced-dataaccess.xml:
6904 Fix fakesrc example to compile; doesn't work, bug somewhere...?
6905 * docs/manual/basics-pads.xml:
6906 Add reference for filtered caps to above chapter.
6908 2005-06-30 Wim Taymans <wim@fluendo.com>
6910 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
6911 (gst_bin_change_state):
6913 Lame attempt at making the state change function a bit
6916 2005-06-30 Wim Taymans <wim@fluendo.com>
6918 * docs/design/part-clocks.txt:
6919 * docs/design/part-element-sink.txt:
6920 * docs/design/part-events.txt:
6921 * docs/design/part-preroll.txt:
6922 * docs/design/part-states.txt:
6923 Some more tweeks and additions to the docs.
6925 2005-06-30 Wim Taymans <wim@fluendo.com>
6927 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6928 (default_have_data), (gst_pad_class_init), (gst_pad_init),
6929 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6930 (gst_pad_check_pull_range), (gst_pad_get_range),
6931 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
6933 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
6934 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6935 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6936 (gst_pad_remove_buffer_probe):
6937 Removed atomic operations, use existing LOCK.
6938 Move exception handling out of main code path.
6940 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6942 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6943 (silly_return_true_function), (gst_pad_class_init),
6944 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6945 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
6946 (gst_pad_send_event):
6947 Fix accumulator, add default value by using _emitv() instead
6948 of _emit() for signal emission.
6950 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6952 * docs/manual/advanced-dataaccess.xml:
6953 * examples/manual/Makefile.am:
6955 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
6958 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
6960 * gst/elements/gstfilesink.c: (gst_filesink_render):
6961 Simplify code so that we don't have to handle short
6962 writes and return GST_FLOW_ERROR if an error occured.
6964 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6966 * docs/gst/gstreamer-docs.sgml:
6969 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6971 * docs/gst/gstreamer-sections.txt:
6972 * docs/gst/tmpl/gstpad.sgml:
6973 * docs/gst/tmpl/gstprobe.sgml:
6975 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6976 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
6977 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6978 (gst_pad_push_event), (gst_pad_send_event):
6980 * gst/gstutils.c: (gst_pad_add_data_probe),
6981 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6982 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6983 (gst_pad_remove_buffer_probe):
6985 Remove old probes, add new g-signal-based probes and some utility
6988 2005-06-29 Edward Hervey <edward@fluendo.com>
6990 * gst/gstelementfactory.c:
6993 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
6994 the definition to the header file.
6996 2005-06-29 Andy Wingo <wingo@pobox.com>
6998 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
6999 plugins from the source directory.
7001 2005-06-29 Wim Taymans <wim@fluendo.com>
7003 * docs/gst/tmpl/gstbuffer.sgml:
7004 * docs/gst/tmpl/gstclock.sgml:
7005 Some fixings for blantently wrong text.
7007 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7009 * check/Makefile.am:
7010 * gst/gst.c: (add_path_func), (init_pre):
7011 * gst/gstregistry.c: (gst_registry_add_path):
7012 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7013 only scan the GST_PLUGIN_PATH locations, and not add
7016 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7018 * docs/gst/gstreamer-sections.txt:
7019 * docs/gst/tmpl/gstbasesrc.sgml:
7026 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7028 * docs/manual/advanced-autoplugging.xml:
7029 Fix autoplugging example.
7031 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7033 * docs/manual/advanced-autoplugging.xml:
7034 * docs/manual/mime-world.fig:
7035 Try to get autoplugging working, fix type detection. Fix text
7036 in hello-world image.
7038 2005-06-29 Wim Taymans <wim@fluendo.com>
7040 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7041 (gst_base_sink_change_state):
7045 map SIGNAL and BROADCAST to the right function.
7048 Remove redundant braces.
7050 * gst/gstpad.c: (gst_pad_set_caps):
7051 Don't call setcaps function when reseting caps to NULL.
7053 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7054 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7055 (gst_system_clock_id_unschedule):
7056 Use BROADCAST as this is what we do.
7058 2005-06-29 Wim Taymans <wim@fluendo.com>
7060 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7061 We are actually prerolling before commiting the state
7064 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7066 * docs/manual/advanced-clocks.xml:
7067 * docs/manual/advanced-interfaces.xml:
7068 * docs/manual/advanced-metadata.xml:
7069 * docs/manual/advanced-position.xml:
7070 * docs/manual/advanced-schedulers.xml:
7071 * docs/manual/advanced-threads.xml:
7072 * docs/manual/appendix-porting.xml:
7073 * docs/manual/basics-bins.xml:
7074 * docs/manual/basics-bus.xml:
7075 * docs/manual/basics-elements.xml:
7076 * docs/manual/basics-helloworld.xml:
7077 * docs/manual/basics-pads.xml:
7078 * docs/manual/highlevel-components.xml:
7079 * docs/manual/manual.xml:
7080 * docs/manual/thread.fig:
7081 Update (until threads/scheduling) Application Development Manual;
7082 remove GstThread, add GstBus, add simple porting checklist, add
7083 documentation for tag writing, clocks, make all examples until this
7084 part compile and run.
7085 * examples/manual/Makefile.am:
7086 Update from changes to Application Development Manual; add bus
7087 example, remove thread example.
7089 2005-06-28 Wim Taymans <wim@fluendo.com>
7091 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7092 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7093 (gst_bus_source_dispatch):
7094 Add debugging messages.
7095 Make internal methods static.
7096 Handle the case where the bus is flushed in the handler.
7098 * gst/gstelement.c: (gst_element_get_bus):
7099 Fix refcount in _get_bus();
7101 * gst/gstpipeline.c: (gst_pipeline_change_state),
7102 (gst_pipeline_get_clock_func):
7103 Clock refcounting fixes.
7104 Handle the case where preroll timed out more gracefully.
7106 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7107 Clean up the internal thread in dispose. This is needed
7108 for subclasses that actually get disposed.
7110 * gst/schedulers/threadscheduler.c:
7111 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7112 (gst_thread_scheduler_dispose):
7113 Free thread pool in dispose.
7115 2005-06-28 Andy Wingo <wingo@pobox.com>
7117 * tests/network-clock-utils.scm (debug, print-event): New utils.
7119 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7120 (*packet-loss*): Unified loss probability.
7121 (network-time): Report out-of-band events.
7123 * tests/plot-data: Add support for out-of-band events. Hack it
7124 into this script instead of passing it down the pipe; should fix
7127 2005-06-28 Wim Taymans <wim@fluendo.com>
7129 * docs/gst/gstreamer.types:
7130 * docs/gst/tmpl/gstbasesrc.sgml:
7131 * docs/gst/tmpl/gstpad.sgml:
7134 2005-06-28 Wim Taymans <wim@fluendo.com>
7136 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7137 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7138 (gst_proxy_pad_do_fixatecaps):
7139 Correctly proxy the check_pull_range function.
7141 2005-06-28 Andy Wingo <wingo@pobox.com>
7143 * tests/network-clock.scm: Removed need for slib.
7145 2005-06-28 Wim Taymans <wim@fluendo.com>
7147 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7148 (gst_basesink_preroll_queue_flush):
7149 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7150 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7151 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7152 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7153 (gst_proxy_pad_set_property):
7156 * gst/gstqueue.c: (gst_queue_init):
7157 The deprecated pad loop function is removed now.
7159 2005-06-28 Andy Wingo <wingo@pobox.com>
7161 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7162 New parameters, simulate network packet loss.
7164 * tests/network-clock-utils.scm: Initialize the RNG.
7166 2005-06-28 Wim Taymans <wim@fluendo.com>
7168 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7169 (gst_basesink_event), (gst_basesink_deactivate):
7170 Flushing the preroll queue always needs to unlock the waiters.
7172 2005-06-28 Edward Hervey <edward@fluendo.com>
7174 * gst/gstpipeline.c: (gst_pipeline_send_event):
7175 Wheen a seek was successful on a pipeline, set the stream_time to the
7176 seek offset in order to have a synchronized stream_time.
7178 2005-06-28 Wim Taymans <wim@fluendo.com>
7180 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7181 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7182 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7183 (gst_proxy_pad_do_fixatecaps):
7184 Call wrapper function instead of just calling the function
7185 pointers. This takes care of any locking and whatmore.
7187 2005-06-28 Wim Taymans <wim@fluendo.com>
7189 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7190 (gst_pad_pull_range):
7192 CONNECTED -> LINKED.
7194 2005-06-28 Andy Wingo <wingo@pobox.com>
7196 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7197 source-munging commit!!!
7199 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7200 (gst_object_sink): Take gpointer arguments, not GstObject --
7201 avoids casts. Like GLib.
7203 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7206 2005-06-27 Andy Wingo <wingo@pobox.com>
7208 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7211 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7212 returns a sorted copy of the trace list.
7213 (gst_alloc_trace_print_live): New API, only prints traces with
7214 live objects. Sort the list.
7215 (gst_alloc_trace_print_all): Sort the list.
7216 (gst_alloc_trace_print): Align columns.
7218 * gst/elements/gstttypefindelement.c:
7219 * gst/elements/gsttee.c:
7220 * gst/base/gstbasesrc.c:
7221 * gst/base/gstbasesink.c:
7222 * gst/base/gstbasetransform.c:
7223 * gst/gstqueue.c: Adapt for pad activation changes.
7225 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7227 (gst_pipeline_dispose): Drop ref on sched.
7229 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7230 (gst_pad_activate_default): Push mode by default.
7231 (pre_activate_switch, post_activate_switch): New stubs, things to
7232 do before and after switching activation modes on pads.
7233 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7234 the pad's activate function to choose which mode to activate.
7235 Shortcut on deactivation and call the right function directly.
7236 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7238 (gst_pad_activate_push): New API, same for push mode.
7239 (gst_pad_set_activate_function)
7240 (gst_pad_set_activatepull_function)
7241 (gst_pad_set_activatepush_function): Setters for new API.
7243 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7244 Trace all miniobjects.
7245 (gst_mini_object_make_writable): Unref the arg if we copy, like
7246 gst_caps_make_writable.
7248 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7250 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7251 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7252 Adapt for new pad API.
7254 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7257 * gst/gstelement.c (gst_element_iterate_src_pads)
7258 (gst_element_iterate_sink_pads): New API functions.
7260 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7261 should fold into gstiterator.c in some form.
7262 (gst_element_pads_activate): Simplified via use of fold and
7263 delegation of decisions to gstpad->activate.
7265 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7268 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7269 class once in init, like gstmessage. Didn't run into this issue
7270 but it seems correct. Don't initialize a trace, gstminiobject does
7273 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7274 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7276 (assert_live_count): New util function, uses alloc traces to check
7279 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7280 To be modified when unlink drops the internal pad.
7282 2005-06-27 Wim Taymans <wim@fluendo.com>
7284 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7285 (gst_bin_change_state):
7286 Cleanup the get_state() function a little, make sure it
7287 iterates the same set of elements.
7288 Added stub iterate_state_order().
7290 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7292 * docs/gst/gstreamer-docs.sgml:
7293 * docs/gst/gstreamer-sections.txt:
7294 * docs/gst/gstreamer.types:
7295 * docs/gst/tmpl/gstbasesink.sgml:
7296 * docs/gst/tmpl/gstbasesrc.sgml:
7297 * docs/gst/tmpl/gstbasetransform.sgml:
7298 * docs/gst/tmpl/gstelement.sgml:
7299 * docs/gst/tmpl/gstiterator.sgml:
7300 * gst/base/gstbasesrc.c:
7301 * gst/base/gstbasesrc.h:
7302 * gst/base/gstbasetransform.h:
7304 * gst/gstiterator.h:
7305 adding basetransform and iterator docs
7307 2005-06-27 Andy Wingo <wingo@pobox.com>
7309 * docs/design/part-activation.txt: Notes on how activation should
7310 work -- not quite implemented yet.
7312 2005-06-25 Wim Taymans <wim@fluendo.com>
7314 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7315 At least get the chain function correct, needs more
7318 2005-06-25 Wim Taymans <wim@fluendo.com>
7320 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7321 (gst_basesink_handle_object), (gst_basesink_event),
7322 (gst_basesink_do_sync), (gst_basesink_handle_event),
7323 (gst_basesink_change_state):
7325 Right, two problems here: ghostpads don't take locks and
7326 glib _rec_mutex_lock_full() with depth==0 still locks.
7327 Catch illegal locking and g_warn them.
7329 2005-06-25 Wim Taymans <wim@fluendo.com>
7331 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7332 Have to check for completion now...
7334 2005-06-25 Wim Taymans <wim@fluendo.com>
7336 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7337 (gst_basesink_handle_object), (gst_basesink_event),
7338 (gst_basesink_do_sync), (gst_basesink_handle_event),
7339 (gst_basesink_change_state):
7341 Unlock STREAM_LOCK whatever the recursion was.
7343 2005-06-25 Wim Taymans <wim@fluendo.com>
7345 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7346 (gst_basesink_preroll_queue_empty),
7347 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7348 (gst_basesink_event), (gst_basesink_do_sync),
7349 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7350 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7351 (gst_basesink_change_state):
7352 Reworked the base sink, handle event and buffer serialisation
7353 correctly and removed possible deadlock.
7354 Handle EOS correctly.
7356 2005-06-25 Wim Taymans <wim@fluendo.com>
7358 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7359 (gst_pipeline_change_state):
7360 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7361 Allow elements to post EOS in the state change function.
7362 Fix up -launch, make it exit the poll loop when the
7363 pipeline actually changed state.
7364 Fix up warning parsing in -launch.
7366 2005-06-25 Wim Taymans <wim@fluendo.com>
7368 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7369 (gst_tee_sink_activate):
7370 Core takes STREAM_LOCK for us now.
7372 2005-06-25 Wim Taymans <wim@fluendo.com>
7374 * gst/gstelement.c: (gst_element_get_state_func),
7375 (gst_element_set_state):
7377 * gst/gstmessage.c: (gst_message_parse_error),
7378 (gst_message_parse_warning):
7379 Keep track of current target state while performing a state
7380 change so that subclasses can do something interesting.
7381 Fix parsing of warning/error messages when GError is NULL.
7383 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7385 * docs/gst/Makefile.am:
7386 * docs/gst/gstreamer-docs.sgml:
7387 * docs/gst/gstreamer-sections.txt:
7388 * docs/gst/gstreamer.types:
7389 * docs/gst/tmpl/gstbasesink.sgml:
7390 * docs/gst/tmpl/gstbasesrc.sgml:
7391 * docs/gst/tmpl/gstbin.sgml:
7392 * docs/gst/tmpl/gstcompat.sgml:
7393 * docs/gst/tmpl/gstfakesink.sgml:
7394 * docs/gst/tmpl/gstfakesrc.sgml:
7395 * docs/gst/tmpl/gstfilesink.sgml:
7396 * docs/gst/tmpl/gstfilesrc.sgml:
7397 * docs/gst/tmpl/gstindex.sgml:
7398 * docs/manual/appendix-quotes.xml:
7399 * gst/base/gstbasesrc.h:
7400 * gst/elements/gstfakesrc.h:
7402 start pulling in base classes and elements in our docs
7404 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7406 * docs/gst/Makefile.am:
7407 * docs/libs/Makefile.am:
7408 fixed make distcheck with gtk-doc 1.3
7410 2005-06-23 Wim Taymans <wim@fluendo.com>
7412 * gst/gstelement.c: (gst_element_get_state_func),
7413 (gst_element_set_state), (gst_element_change_state):
7414 When the state did not change, also report NO_PREROLL
7417 2005-06-23 Wim Taymans <wim@fluendo.com>
7419 * gst/gstpad.c: (gst_pad_event_default):
7420 * gst/gstqueue.c: (gst_queue_loop):
7421 No unsafe task pausing please.
7423 2005-06-23 Wim Taymans <wim@fluendo.com>
7425 * gst/schedulers/threadscheduler.c:
7426 (gst_thread_scheduler_task_start),
7427 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7428 Ref the task before pushing it on the threadpool. This
7429 makes sure that we have a ref when the threadfunction is
7432 2005-06-23 Andy Wingo <wingo@pobox.com>
7434 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7435 offset is greater than the file's size.
7437 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7438 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7439 * gst/gstobject.c (gst_object_class_init): Make the class lock
7440 recursive. Wim won't let me drop deep_notify. Decodebin works
7443 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7444 internal pad, and hacks accordingly. Doesn't do it on the target
7445 pad because we change its caps. Probably catches all cases of
7447 (gst_ghost_pad_set_property): Connect to notify::caps as
7450 * tests/network-clock.scm (plot-simulation): Pipe data to the
7451 elite python skript.
7453 * tests/network-clock-utils.scm (define-parameter): New macro,
7454 defines a parameter that can be set via the command line.
7455 (set-parameter!, parse-parameter-arguments): Command line args
7458 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7461 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7463 * gst/elements/gsttypefindelement.c:
7464 (gst_type_find_element_handle_event):
7465 Don't restart typefinding on a discont.
7466 * gst/gstelement.c: (gst_element_set_state):
7468 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7469 Allow changing mode of an active pad.
7471 * gst/registries/gstlibxmlregistry.c: (load_feature):
7472 Don't cast a static pad template to a normal pad template.
7474 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7476 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7477 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7478 remove gst_strtoll completely, since it didn't actually do
7479 anything more than what g_ascii_strtoull already does.
7480 check for range errors when deserializing
7481 do a cast for the unsigned cases; but further fixing needs
7482 a decision on what the interpretation of "(int)" and
7483 deserialization should be for values that fall outside the
7484 type's boundaries (ie, refuse, or interpret as casting)
7486 2005-06-23 Wim Taymans <wim@fluendo.com>
7488 * check/Makefile.am:
7489 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7490 * docs/design/part-live-source.txt:
7491 * docs/design/part-states.txt:
7492 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7493 (gst_basesrc_set_live), (gst_basesrc_is_live),
7494 (gst_basesrc_get_range), (gst_basesrc_activate),
7495 (gst_basesrc_change_state):
7496 * gst/base/gstbasesrc.h:
7497 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7498 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7499 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7500 * gst/gstelement.c: (gst_element_get_state_func),
7501 (gst_element_set_state):
7504 * tools/gst-launch.c: (event_loop), (main):
7505 Added support for live sources and other elements that
7507 Updated design docs, added live-source design doc.
7508 Implemented live source functionality in basesrc
7509 Fix error condition in _bin_get_state()
7510 Implement live source handling in -launch.
7511 Added check for live sources.
7512 Fixed case in GstBin where elements were changed state
7516 2005-06-23 Andy Wingo <wingo@pobox.com>
7518 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7521 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7522 gst_caps_replace takes care of this for us.
7524 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7525 gst_pad_set_caps on the target, not just its setcaps() function.
7527 * tests/network-clock.scm:
7528 * tests/network-clock-utils.scm: A network clock simulator.
7529 Something of an algorithmic testbed before doing something in C.
7531 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7533 * check/Makefile.am:
7534 * check/gst/capslist.h:
7535 copy over from 0.8, and add two with bitmasks specified with
7537 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7538 add test to parse everything from capslist.h
7539 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7541 add test for structure deserialization
7542 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7543 add tests for deserialization of strings to int types
7544 * gst/gststructure.c: (gst_structure_nth_field_name):
7545 * gst/gststructure.h:
7546 add a way to get the name of a field referenced by index
7547 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7548 instead of checking if the resulting long long lies between
7549 min and max, we check if the long long would fit into
7550 a number of bytes for the final type.
7551 This fixes cases where a string represents 2^32 - 1, which
7552 when cast to int would be the (valid) -1, but is bigger than
7555 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7557 * gst/parse/grammar.y:
7558 add a log line for type deserialization
7560 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7562 * check/gst/gstvalue.c: (START_TEST):
7563 * gst/gstvalue.c: (gst_value_deserialize):
7564 return long long, not int, so gint64 deserialization actually
7565 works. Is there any flag that makes the compiler check this ?
7568 2005-06-22 Wim Taymans <wim@fluendo.com>
7571 Added convenience macros for setting buffers in GValue.
7573 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7575 * check/gst/.cvsignore:
7576 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7577 add a test deserializing int64, and comment part out because
7580 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7582 * check/Makefile.am:
7583 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7584 * testsuite/Makefile.am:
7585 * testsuite/caps/Makefile.am:
7586 * testsuite/caps/value_serialize.c:
7587 * testsuite/test_gst_init.c:
7588 move a value_serialize test over
7590 2005-06-20 Wim Taymans <wim@fluendo.com>
7595 * gst/gstvalue.c: (gst_value_compare_buffer),
7596 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7597 (gst_value_compare_flags), (gst_value_serialize_flags),
7598 (gst_value_deserialize_flags), (_gst_value_initialize):
7599 Fix serialisation of buffers, they are not boxed types anymore
7601 2005-06-20 Wim Taymans <wim@fluendo.com>
7603 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7604 Testcase to show error in buffer-on-caps serialisation.
7606 2005-06-20 Andy Wingo <wingo@pobox.com>
7608 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7609 will be adding to later.
7611 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7612 if its socks fill with rocks.
7613 (gst_system_clock_obtain): Set the name on object construction.
7614 Avoid double-checked locking.
7616 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7618 * gst/gsturi.c: (gst_element_make_from_uri):
7619 Fix potential endless loop.
7621 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7623 * check/Makefile.am:
7625 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7627 move over from testsuite dir and clean up
7630 * testsuite/Makefile.am:
7631 * testsuite/tags/.cvsignore:
7632 * testsuite/tags/Makefile.am:
7633 * testsuite/tags/merge.c:
7634 remove testsuite/tags
7636 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7638 * docs/gst/gstreamer-sections.txt:
7639 * docs/gst/tmpl/gstenumtypes.sgml:
7640 * win32/gstenumtypes.c:
7641 clean up documentation build a little
7643 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7646 add macros for checking refcounts on objects and caps
7647 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7648 add some more unit tests
7649 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7650 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7651 fix leaked refcounts (I hope :)) so unittest works
7655 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7657 * configure.ac: back to HEAD
7659 === release 0.9.1 ===
7661 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7667 2005-06-17 Andy Wingo <wingo@pobox.com>
7669 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7670 assert; it's always possible that the pad gets deactivated in
7671 between the checks in gstpad.c and the implementation. Rely on
7672 finish_preroll() to return a FLUSHING or similar instead of on the
7675 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7676 clock and post an EOS message if we come out of finish_preroll in
7679 2005-06-16 David Schleef <ds@schleef.org>
7681 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7682 (gst_capsfilter_set_property): Allow NULL as possible value
7683 for filter_caps property, indicating GST_CAPS_ANY.
7685 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7687 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7689 * gst/schedulers/Makefile.am:
7691 * gstreamer.spec.in:
7694 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7696 * gstreamer.spec.in:
7699 2005-06-08 Andy Wingo <wingo@pobox.com>
7701 * gst/gstutils.c: RPAD fixes all around.
7702 (gst_element_link_pads): Refcounting fixes.
7704 * tools/gst-inspect.c:
7705 * tools/gst-xmlinspect.c:
7707 * gst/base/gsttypefindhelper.c:
7708 * gst/base/gstbasesink.c:
7709 * gst/gstqueue.c: RPAD fixes.
7711 * gst/gstghostpad.h:
7712 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7713 pads. The tricky thing is they provide both source and sink
7714 interfaces, since they proxy the internal pad for the external
7715 pad, and vice versa. Implement with lower-level ProxyPad objects,
7716 with the interior proxy pad as a child of the exterior ghost pad.
7717 Should write a doc on this.
7719 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7720 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7723 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7724 pads are real pads. No ghost pads in this file. Not documenting
7725 the myriad s/RPAD/PAD/ and REALIZE fixes.
7726 (gst_pad_class_init): Add properties for "direction" and
7727 "template". Both are construct-only, so they can't change during
7728 the life of the pad. Fixes properly deriving from GstPad.
7729 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7730 derived objects, just set properties when creating the objects via
7732 (gst_pad_get_parent): Implement as a function, return NULL if the
7733 parent is not an element.
7734 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7735 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7737 * gst/gstobject.c (gst_object_class_init): Make name a construct
7738 property. Don't set it in the object init.
7740 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7741 with UNKNOWN direction.
7742 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7743 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7744 (gst_element_remove_pad): Remove ghost-pad special cases.
7745 (gst_element_pads_activate): Remove rpad cruft.
7747 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7748 catch the pad's-parent-not-an-element case.
7750 * gst/gst.h: Include gstghostpad.h.
7752 * gst/gst.c (init_post): No more real, ghost pads.
7754 * gst/Makefile.am: Add gstghostpad.[ch].
7756 * check/Makefile.am:
7757 * check/gst/gstbin.c:
7758 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7759 into a bin creates ghost pads, and that the refcounts are right.
7760 Partly moved from gstbin.c.
7762 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7764 * check/gst-libs/.cvsignore:
7765 * check/gst/.cvsignore:
7766 * check/pipelines/.cvsignore:
7768 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7769 (START_TEST), (cleanup_suite), (main):
7770 add some tests related to cleanup after running pipelines
7772 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7774 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7775 add a testsuite for GstBuffer
7777 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7779 * gst/gstminiobject.h:
7780 add defines for accessing the refcount
7782 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7784 * Makefile.am: added support for html unit test coverage reports
7786 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7788 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7789 Free existing caps if the capsfilter changes. Add a FIXME about
7790 setting those caps on the pads.
7792 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7793 Before adding a ghost pad to a parent bin, check that there isn't
7794 already one for the element on the bin. Prevents infinite recursion
7795 when using decodebin in parse pipelines. Andy says he'll rewrite the
7796 way this works anyway, so ignore the hack.
7798 2005-06-02 Andy Wingo <wingo@pobox.com>
7800 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7801 file size, pass it on to the type find helper.
7803 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7804 segment_start and segment_end properly according to the seek
7805 method. Segment_end is still a bit flaky because offset can be
7806 negative for CUR and END cases, but it takes -1 as an "unset"
7809 2005-06-02 Wim Taymans <wim@fluendo.com>
7811 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7812 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7813 (gst_basesink_activate):
7814 * gst/base/gstbasesink.h:
7815 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7816 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7817 (gst_pad_query), (gst_pad_start_task):
7819 * gst/gstqueue.c: (gst_queue_bufferalloc),
7820 (gst_queue_handle_sink_event), (gst_queue_chain):
7821 Bufferalloc: return GstFlowReturn to more accuratly report
7822 why allocation failed.
7824 2005-06-02 Wim Taymans <wim@fluendo.com>
7826 * gst/gstpipeline.c: (gst_pipeline_send_event):
7827 Take snapshot of state without blocking.
7829 2005-06-02 Wim Taymans <wim@fluendo.com>
7831 * docs/design/part-TODO.txt:
7832 * docs/design/part-caps.txt:
7833 * docs/design/part-clocks.txt:
7834 * docs/design/part-negotiation.txt:
7835 * docs/design/part-preroll.txt:
7838 2005-05-30 Wim Taymans <wim@fluendo.com>
7840 * gst/elements/gstidentity.c: (gst_identity_event),
7841 (gst_identity_transform), (gst_identity_get_property):
7842 Protect last_message property as it is accessed from
7845 2005-05-30 Wim Taymans <wim@fluendo.com>
7847 * gst/gstelement.c: (gst_element_init),
7848 (gst_element_pads_activate), (gst_element_change_state):
7849 Slicker pad activation code.
7851 2005-05-30 Wim Taymans <wim@fluendo.com>
7855 * gst/gstelementfactory.h:
7857 Move elementfactory methods to separate .h file.
7859 2005-05-30 Wim Taymans <wim@fluendo.com>
7861 * docs/design/part-overview.txt:
7862 * gst/gstsystemclock.h:
7863 Small typo fixes, doc updates.
7865 2005-05-30 Wim Taymans <wim@fluendo.com>
7867 * gst/gst.c: (gst_init_get_popt_table), (init_post),
7868 (init_popt_callback):
7869 Remove cpu-opt flag.
7871 2005-05-30 Wim Taymans <wim@fluendo.com>
7873 * gst/gstbuffer.c: (gst_subbuffer_finalize),
7874 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
7876 Avoid typechecking in places where not needed.
7877 Added accessor for malloc_data.
7879 2005-05-30 Wim Taymans <wim@fluendo.com>
7881 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
7882 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
7883 (gst_pad_configure_sink), (gst_pad_configure_src),
7884 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
7885 (gst_pad_start_task):
7886 Propagate errors from _set_caps() in configure_src/sink
7887 functions instead of returning TRUE.
7888 FLUSH events can travel up and downstream
7891 2005-05-30 Wim Taymans <wim@fluendo.com>
7893 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7894 (gst_basesink_activate):
7895 Handle EOS in preroll.
7897 2005-05-30 Wim Taymans <wim@fluendo.com>
7899 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7900 (gst_queue_loop), (gst_queue_handle_src_event):
7901 Remove old pieces of code
7902 Flushing the queue in an upstream event is a very bad idea.
7904 2005-05-26 Andy Wingo <wingo@pobox.com>
7906 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
7907 gst_value_set_mini_object so as to add a ref on the object (which
7908 will be removed when the value is unset).
7910 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
7911 arg type in ::handoff.
7913 * gst/gstelement.c (gst_element_change_state): Also deactivate
7914 pads in READY->NULL, just in case the element didn't make it to
7915 PAUSED. Wingo tested, Wim approved.
7917 2005-05-26 Wim Taymans <wim@fluendo.com>
7919 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7920 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7921 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
7922 A flushing pad cannot be used to alloc_buffer from.
7924 2005-05-26 Wim Taymans <wim@fluendo.com>
7926 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7927 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
7928 (gst_bus_source_dispatch), (gst_bus_source_finalize),
7929 (gst_bus_create_watch), (gst_bus_add_watch_full):
7931 Implement a real GSource and use g_main_context_wakeup() to
7932 signal new messages instead of the socketpair.
7934 2005-05-25 Wim Taymans <wim@fluendo.com>
7936 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
7937 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
7938 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7939 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7940 (gst_pad_send_event), (gst_pad_start_task):
7941 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
7942 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7943 (gst_queue_sink_activate), (gst_queue_src_activate),
7944 (gst_queue_change_state):
7946 Fix state changes for non sinks. We now change sinks, then elements
7947 with unconnected srcpads, then the rest.
7948 More efficient queue unlocking in flush and state changes.
7949 Set the pad activate mode even if it does not have an activate
7952 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7954 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
7955 Don't go in pull mode for non-seekable sources.
7956 * gst/elements/gsttypefindelement.h:
7957 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7958 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
7959 (free_entry), (stop_typefinding),
7960 (gst_type_find_element_handle_event), (find_peek),
7961 (gst_type_find_element_chain), (do_pull_typefind),
7962 (gst_type_find_element_change_state):
7963 Allow typefinding (w/o seeking) in push-mode, simplified version
7965 * gst/gstutils.c: (gst_buffer_join):
7967 gst_buffer_join() from 0.8.
7969 2005-05-25 Wim Taymans <wim@fluendo.com>
7971 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7972 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7973 (gst_pad_send_event), (gst_pad_start_task):
7974 Disable attempt at mode switching until it is figured out.
7976 2005-05-25 Wim Taymans <wim@fluendo.com>
7978 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
7979 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7980 (gst_basesink_finish_preroll), (gst_basesink_chain),
7981 (gst_basesink_loop), (gst_basesink_activate),
7982 (gst_basesink_change_state):
7983 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
7984 (gst_basesrc_get_range), (gst_basesrc_loop),
7985 (gst_basesrc_activate):
7986 * gst/elements/gsttee.c: (gst_tee_sink_activate):
7987 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7988 (gst_real_pad_init), (gst_real_pad_set_property),
7989 (gst_real_pad_get_property), (gst_pad_set_active),
7990 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
7991 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
7992 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
7993 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
7994 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7995 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
7996 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
7997 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7998 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
7999 (gst_pad_stop_task):
8001 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8002 (gst_queue_loop), (gst_queue_src_activate):
8003 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8004 (gst_task_get_state):
8006 * gst/schedulers/threadscheduler.c:
8007 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8008 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8010 Remove ACTIVE pad flag, use FLUSHING everywhere
8011 Added _pad_chain(), _pad_get_range() to call chain/getrange
8013 Add locks around IS_FLUSHING when reading.
8014 Take STREAM lock in chain(), get_range() functions so plugins
8015 don't need to take it anymore.
8019 2005-05-25 Wim Taymans <wim@fluendo.com>
8021 * tools/gst-launch.c: (event_loop):
8022 Unref message after using its contents instead of
8025 2005-05-24 Wim Taymans <wim@fluendo.com>
8027 * docs/design/draft-ghostpads.txt:
8028 * docs/design/draft-push-pull.txt:
8029 * docs/design/draft-query.txt:
8030 * docs/design/part-overview.txt:
8031 Docs updates, added general overview doc.
8033 2005-05-21 David Schleef <ds@schleef.org>
8035 * docs/gst/tmpl/old/GstBin.sgml:
8036 * docs/gst/tmpl/old/GstBuffer.sgml:
8037 * docs/gst/tmpl/old/GstCaps.sgml:
8038 * docs/gst/tmpl/old/GstClock.sgml:
8039 * docs/gst/tmpl/old/GstCompat.sgml:
8040 * docs/gst/tmpl/old/GstData.sgml:
8041 * docs/gst/tmpl/old/GstElement.sgml:
8042 * docs/gst/tmpl/old/GstEvent.sgml:
8043 * docs/gst/tmpl/old/GstIndex.sgml:
8044 * docs/gst/tmpl/old/GstStructure.sgml:
8045 * docs/gst/tmpl/old/GstTag.sgml:
8046 * docs/gst/tmpl/old/cothreads.sgml:
8047 * docs/gst/tmpl/old/cothreads_compat.sgml:
8048 * docs/gst/tmpl/old/gettext.sgml:
8049 * docs/gst/tmpl/old/gobject2gtk.sgml:
8050 * docs/gst/tmpl/old/grammar.tab.sgml:
8051 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8052 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8053 * docs/gst/tmpl/old/gst_private.sgml:
8054 * docs/gst/tmpl/old/gstaggregator.sgml:
8055 * docs/gst/tmpl/old/gstarch.sgml:
8056 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8057 * docs/gst/tmpl/old/gstbufferstore.sgml:
8058 * docs/gst/tmpl/old/gstdata_private.sgml:
8059 * docs/gst/tmpl/old/gstdisksink.sgml:
8060 * docs/gst/tmpl/old/gstdisksrc.sgml:
8061 * docs/gst/tmpl/old/gstelementfactory.sgml:
8062 * docs/gst/tmpl/old/gstextratypes.sgml:
8063 * docs/gst/tmpl/old/gstfakesink.sgml:
8064 * docs/gst/tmpl/old/gstfakesrc.sgml:
8065 * docs/gst/tmpl/old/gstfdsink.sgml:
8066 * docs/gst/tmpl/old/gstfdsrc.sgml:
8067 * docs/gst/tmpl/old/gstfilesink.sgml:
8068 * docs/gst/tmpl/old/gstfilesrc.sgml:
8069 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8070 * docs/gst/tmpl/old/gstidentity.sgml:
8071 * docs/gst/tmpl/old/gstindexfactory.sgml:
8072 * docs/gst/tmpl/old/gstmarshal.sgml:
8073 * docs/gst/tmpl/old/gstmd5sink.sgml:
8074 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8075 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8076 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8077 * docs/gst/tmpl/old/gstpipefilter.sgml:
8078 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8079 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8080 * docs/gst/tmpl/old/gstshaper.sgml:
8081 * docs/gst/tmpl/old/gstspider.sgml:
8082 * docs/gst/tmpl/old/gstspideridentity.sgml:
8083 * docs/gst/tmpl/old/gststatistics.sgml:
8084 * docs/gst/tmpl/old/gsttee.sgml:
8085 * docs/gst/tmpl/old/gsttimecache.sgml:
8086 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8087 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8088 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8089 * docs/gst/tmpl/old/types.sgml:
8090 I didn't intend to add these or check them in.
8092 2005-05-19 David Schleef <ds@schleef.org>
8094 * configure.ac: Use -no-common everywhere. In a sane world, it
8095 would be the default in libtool, because without it, you can't
8096 build DLLs on Windows.
8097 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8098 * docs/gst/gstreamer-sections.txt:
8099 * docs/gst/tmpl/gstcpu.sgml:
8100 * docs/gst/tmpl/gstdata.sgml:
8101 * docs/gst/tmpl/gstthread.sgml:
8103 2005-05-19 David Schleef <ds@schleef.org>
8105 * gst/gstminiobject.c: (gst_value_set_mini_object),
8106 (gst_value_take_mini_object), (gst_value_get_mini_object):
8107 * gst/gstminiobject.h: Add GValue set/get functions.
8109 2005-05-19 Wim Taymans <wim@fluendo.com>
8111 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8112 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8113 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8115 * gst/gstbus.c: (gst_bus_post):
8116 * gst/gstelement.c: (gst_element_get_random_pad):
8117 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8118 Make subbufer unref the parent in finalize.
8119 some more debugging info.
8122 2005-05-19 Wim Taymans <wim@fluendo.com>
8124 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8125 (gst_basesink_init), (gst_basesink_finalize),
8126 (gst_basesink_activate), (gst_basesink_change_state):
8127 Don't free preroll queue too early.
8129 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8133 Hi, I'm outdated. Please shoot me.
8135 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8137 * gst/gstpipeline.c: (gst_pipeline_send_event):
8138 Do not access variables after they have been deleted.
8140 2005-05-19 Wim Taymans <wim@fluendo.com>
8142 * tools/gst-inspect.c: (print_plugin_features):
8143 A plugin feature does unfortunatly not use the
8146 2005-05-18 Wim Taymans <wim@fluendo.com>
8148 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8149 Port _span() functions to new subbuffers.
8151 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8153 * gst/gstbin.c: (gst_bin_add_func):
8154 Fix clock settery in bins when adding kids after the clock has
8157 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8159 * gst/elements/gstidentity.c: (gst_identity_class_init):
8160 Workaround until signals support GstMiniObject.
8162 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8165 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8167 2005-05-18 Wim Taymans <wim@fluendo.com>
8169 * gst/base/Makefile.am:
8170 * gst/base/gstadapter.c: (gst_adapter_base_init),
8171 (gst_adapter_class_init), (gst_adapter_init),
8172 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8173 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8174 (gst_adapter_flush), (gst_adapter_available),
8175 (gst_adapter_available_fast):
8176 * gst/base/gstadapter.h:
8177 Ported and added adapter to the base classes.
8179 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8183 Make sure the class is reffed/unreffed once before threads can be
8184 used. Fixes #304551.
8186 2005-05-17 Wim Taymans <wim@fluendo.com>
8188 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8189 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8190 * gst/gstminiobject.c: (gst_mini_object_get_type),
8191 (gst_mini_object_free):
8192 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8193 (gst_pad_push), (gst_pad_push_event):
8194 * gst/gstqueue.c: (gst_queue_change_state):
8195 Don't queue buffers in basesink when we are flushing.
8196 Unref buffer when flushing in basesink.
8197 Flush queue when going to READY
8198 Unref buffer when _push() returns an error.
8199 Don't free MiniObject instance when refcount is incremented
8200 in _finalize() so that we can recover objects.
8202 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8204 * docs/manual/advanced-schedulers.xml:
8205 * docs/manual/appendix-checklist.xml:
8206 * docs/pwg/advanced-clock.xml:
8207 * docs/pwg/advanced-interfaces.xml:
8208 * docs/pwg/advanced-request.xml:
8209 * docs/pwg/advanced-types.xml:
8210 * docs/pwg/intro-preface.xml:
8211 * examples/plugins/example.c: (gst_example_get_type),
8212 (gst_example_class_init), (gst_example_chain),
8213 (gst_example_set_property), (gst_example_get_property),
8214 (gst_example_change_state), (plugin_init):
8215 * examples/plugins/example.h:
8218 2005-05-17 Wim Taymans <wim@fluendo.com>
8220 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8221 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8222 * gst/gstqueue.c: (gst_queue_change_state):
8223 Clear queue when going to READY.
8224 Remove IN_SETCAPS flag too.
8226 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8228 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8229 Remove implicit cast from gboolean to GstElementStateReturn;
8230 make sure we still return failure in paused => ready case if
8231 the parent class fails to change state and our own stop
8234 2005-05-17 Wim Taymans <wim@fluendo.com>
8236 * tools/gst-launch.c: (event_loop):
8237 Message was unreffed too soon.
8239 2005-05-16 Andy Wingo <wingo@pobox.com>
8241 * gst/gstbin.c (sink_iterator_filter): Err... um...
8243 * check/gst/gstbin.c (test_ghost_pads): New test for the
8244 ghosting-if-elements-not-in-same-bin behavior.
8246 2005-05-16 David Schleef <ds@schleef.org>
8248 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8249 accessing refcount directly.
8251 2005-05-15 David Schleef <ds@schleef.org>
8253 * check/Makefile.am: remove GstData checks
8254 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8255 * gst/Makefile.am: add miniobject, remove data
8256 * gst/gst.h: add miniobject, remove data
8257 * gst/gstdata.c: remove
8258 * gst/gstdata.h: remove
8259 * gst/gstdata_private.h: remove
8260 * gst/gsttypes.h: remove GstEvent and GstMessage
8261 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8262 * gst/gstmarshal.list: change BOXED -> OBJECT
8264 Implement GstMiniObject.
8265 * gst/gstminiobject.c:
8266 * gst/gstminiobject.h:
8268 Modify to be subclasses of GstMiniObject.
8269 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8270 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8271 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8272 (gst_subbuffer_get_type), (gst_subbuffer_init),
8273 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8276 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8277 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8278 (_gst_event_copy), (gst_event_new):
8280 * gst/gstmessage.c: (_gst_message_initialize),
8281 (gst_message_get_type), (gst_message_class_init),
8282 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8283 (gst_message_new), (gst_message_new_error),
8284 (gst_message_new_warning), (gst_message_new_tag),
8285 (gst_message_new_state_changed), (gst_message_new_application):
8287 * gst/gstprobe.c: (gst_probe_perform),
8288 (gst_probe_dispatcher_dispatch):
8290 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8291 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8292 (_gst_query_copy), (gst_query_new):
8294 Update elements for GstData -> GstMiniObject changes
8296 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8297 (gst_queue_chain), (gst_queue_loop):
8298 * gst/elements/gstbufferstore.c:
8299 (gst_buffer_store_add_buffer_func),
8300 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8301 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8302 (gst_fakesink_render):
8303 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8304 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8305 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8306 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8307 (gst_filesrc_create_read):
8308 * gst/elements/gstidentity.c: (gst_identity_class_init):
8309 * gst/elements/gsttypefindelement.c:
8310 (gst_type_find_element_src_event), (free_entry_buffers),
8311 (gst_type_find_element_handle_event):
8312 * libs/gst/dataprotocol/dataprotocol.c:
8313 (gst_dp_header_from_buffer):
8314 * libs/gst/dataprotocol/dataprotocol.h:
8315 * libs/gst/dataprotocol/dp-private.h:
8317 2005-05-15 David Schleef <ds@schleef.org>
8319 * gst/elements/gstelements.c: Don't include headers that were
8322 2005-05-15 David Schleef <ds@schleef.org>
8324 * gst/elements/Makefile.am: Remove some elements that don't
8325 need to be in the core (or even exist at all).
8326 * gst/elements/gstaggregator.c:
8327 * gst/elements/gstaggregator.h:
8328 * gst/elements/gstmd5sink.c:
8329 * gst/elements/gstmd5sink.h:
8330 * gst/elements/gstmultifilesrc.c:
8331 * gst/elements/gstmultifilesrc.h:
8332 * gst/elements/gstpipefilter.c:
8333 * gst/elements/gstpipefilter.h:
8334 * gst/elements/gstshaper.c:
8335 * gst/elements/gstshaper.h:
8336 * gst/elements/gststatistics.c:
8337 * gst/elements/gststatistics.h:
8338 * po/POTFILES.in: Remove above files.
8340 2005-05-14 Andy Wingo <wingo@pobox.com>
8342 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8343 so as to get the refs right.
8344 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8345 unreffing objects that don't pass the filter.
8347 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8348 gst_element_set_bus.
8349 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8350 normal cases, this will destroy the bus.
8352 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8355 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8358 2005-05-13 Andy Wingo <wingo@pobox.com>
8360 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8361 gst_pad_link, call pad_link_maybe_ghosting,
8362 (pad_link_maybe_ghosting): Links pads, making sure that the
8363 elements being linked are in the same bin.
8364 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8365 Helpers for pad_link_maybe_ghosting.
8367 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8370 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8372 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8374 * docs/design/part-element-source.txt:
8377 2005-05-12 Wim Taymans <wim@fluendo.com>
8379 * gst/base/gstbasesink.c: (gst_basesink_init),
8380 (gst_basesink_activate):
8381 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8382 (gst_basesrc_is_seekable):
8383 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8384 (bin_element_is_sink), (gst_bin_change_state):
8385 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8387 Identify sinks by their flag to avoid overly complicated
8389 Do state changes even for elements not reachable from the
8391 BaseSink is a sink now :)
8392 Some more debugging info in the basesrc.
8395 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8397 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8398 Implement _query on a bin, similar to _send_event.
8400 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8402 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8403 Discont event offset format should be GST_FORMAT_BYTES,
8404 not GST_FORMAT_TIME.
8406 2005-05-12 Wim Taymans <wim@fluendo.com>
8408 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8409 Same fix as Ronald's but without the signal.
8411 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8413 * gst/gstutils.c: (gst_element_query_position):
8414 No, an element is not a pad.
8416 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8418 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8419 (gst_bin_get_state):
8420 If a child is removed from a bin while we remove the child from
8421 the bin and while we're retrieving its state, signal this to the
8422 get_state function so we abort the wait (instead of waiting for
8423 a timeout) and can immediately re-iterate over all other elements.
8425 2005-05-12 Wim Taymans <wim@fluendo.com>
8427 * gst/base/Makefile.am:
8428 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8429 (gst_basesrc_start):
8430 * gst/base/gstbasesrc.h:
8431 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8432 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8433 (gst_pushsrc_init), (gst_pushsrc_create):
8434 * gst/base/gstpushsrc.h:
8435 Added is_seekable to BaseSrc
8436 Added simple PushSrc.
8438 2005-05-11 Wim Taymans <wim@fluendo.com>
8440 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8441 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8442 (gst_element_link_pads), (gst_element_query_position),
8443 (gst_element_query_convert), (intersect_caps_func),
8444 (gst_pad_query_position), (gst_pad_query_convert):
8445 Fix refcounting in utils function.
8446 No point in trying to activate a pad when it's added, it could
8447 be added from the state change function and then we deadlock, the
8448 element has to decide what to do.
8450 2005-05-10 Andy Wingo <wingo@pobox.com>
8452 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8453 *all* the arguments.
8455 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8456 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8457 lock (according to the docs -- if this is wrong change the docs).
8459 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8460 flush messages in the NULL state.
8462 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8463 message immediately and return.
8464 (gst_bus_set_flushing): New function. If a bus is flushing, it
8465 flushes out any queued messages and immediately unrefs new
8466 messages. This is so when an element goes to NULL, all of the
8467 unhandled messages coming from it can be freed, and their
8468 references to the element dropped. In other words: message source
8469 ref considered harmful :P
8471 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8472 we're finished with it.
8474 * gst/gstmessage.c (gst_message_new_state_changed):
8476 2005-05-10 Wim Taymans <wim@fluendo.com>
8478 * gst/gstvalue.c: (gst_value_compare_flags),
8479 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8480 (_gst_value_initialize):
8481 Added flags serialize/deserialize/compare code.
8483 2005-05-09 Andy Wingo <wingo@pobox.com>
8485 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8486 Intersect the peer's caps with our caps.
8488 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8490 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8491 * gst/elements/gsttypefindelement.c: (find_peek):
8492 Handle negative offsets better. Fixes decodebin.
8494 2005-05-09 Wim Taymans <wim@fluendo.com>
8496 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8497 (gst_base_transform_event):
8498 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8499 Implement accept_caps.
8500 Fix silly lock/unlock mismatch in base class.
8502 2005-05-09 Wim Taymans <wim@fluendo.com>
8504 * docs/design/draft-push-pull.txt:
8505 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8506 * gst/elements/gstfilesink.c: (gst_filesink_init),
8507 (gst_filesink_query):
8508 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8509 (gst_type_find_handle_src_query), (find_element_get_length):
8510 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8514 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8515 (gst_real_pad_get_caps_unlocked),
8516 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8517 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8518 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8519 (gst_real_pad_dispose), (gst_real_pad_finalize),
8520 (gst_pad_load_and_link), (gst_pad_save_thyself),
8521 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8522 (gst_pad_check_pull_range), (gst_pad_pull_range),
8523 (gst_pad_template_get_type), (gst_pad_template_class_init),
8524 (gst_pad_template_init), (gst_pad_template_dispose),
8525 (name_is_valid), (gst_static_pad_template_get),
8526 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8527 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8528 (gst_pad_get_element_private), (gst_pad_start_task),
8529 (gst_pad_pause_task), (gst_pad_stop_task),
8530 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8531 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8532 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8533 (gst_ghost_pad_new):
8535 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8536 (gst_query_new_position), (gst_query_set_position),
8537 (gst_query_parse_position), (gst_query_new_convert),
8538 (gst_query_set_convert), (gst_query_parse_convert):
8540 * gst/gstqueryutils.c:
8541 * gst/gstqueryutils.h:
8542 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8543 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8544 (gst_queue_handle_src_query):
8545 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8546 (gst_element_query_position), (gst_element_query_convert),
8547 (intersect_caps_func), (gst_pad_query_position),
8548 (gst_pad_query_convert):
8550 * tools/gst-inspect.c: (print_pad_info):
8551 * tools/gst-xmlinspect.c: (print_element_info):
8552 Remove old query functions. Ported old code.
8553 Added position/convert helper functions to gstutils.
8554 Reordered gstpad.c code, grouping relevant things.
8555 Remove gst_message_new(), always need to speficy a specific
8559 2005-05-09 Andy Wingo <wingo@pobox.com>
8561 * gst/gstiterator.h: Add some includes.
8563 * gst/gstqueryutils.h: Include more headers.
8566 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8567 some uses of gst_pad_query.
8569 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8570 NULL out parameters.
8571 (gst_query_new_position): New proc, allocates a new position
8574 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8575 gstqueryutils.c to the build.
8577 * gst/gststructure.c (gst_structure_set_valist): Implement with
8578 the generic G_VALUE_COLLECT.
8580 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8582 * gst/Makefile.am: (gst_headers):
8583 Added gstqueryutils.h to the list of headers to install, that was
8584 a 'nachty' move wingo :)
8586 2005-05-06 Andy Wingo <wingo@pobox.com>
8589 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8590 GstData, init a memchunk.
8591 (standard_definitions): Add a few query types, deprecate a few.
8592 (gst_query_get_type): New proc.
8593 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8595 (gst_query_new_application, gst_query_get_structure): New public
8598 * docs/design/draft-query.txt: Removed LINKS from the query types,
8599 because all the rest can be dispatched to other pads -- seemed
8600 ugly to have a query that couldn't be dispatched. internal_links
8601 is fine as a pad method.
8603 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8604 in gstpad.c, but maintain binary compatibility for the moment.
8605 Will fix before 0.9 is out.
8607 * gst/gstqueryutils.c:
8608 * gst/gstqueryutils.h: New files, implement 3 methods for each
8609 query type: parse_query, parse_response, and set. Probably need an
8612 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8614 * gst/elements/gstfilesink.c (gst_filesink_query2):
8615 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8616 query_types, and formats methods.
8618 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8619 (gst_pad_set_query2_function): New functions.
8620 (gst_real_pad_init): Set query2_default as the default query2
8621 function. Basically just dispatches to internally linked pads.
8625 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8626 without using the atomic operations. Only one thread can possibly
8627 be accessing the data at this point. Changed so as to avoid
8628 gst_atomic operations.
8630 2005-05-06 Wim Taymans <wim@fluendo.com>
8632 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8633 Also set caps if we use the fallback buffer alloc.
8635 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8637 * docs/gst/Makefile.am:
8638 * docs/gst/gstreamer-docs.sgml:
8639 * docs/gst/gstreamer-sections.txt:
8640 * docs/gst/tmpl/gstatomic.sgml:
8641 * docs/gst/tmpl/gstmemchunk.sgml:
8642 * testsuite/elements/struct_i386.h:
8643 * win32/GStreamer.vcproj:
8645 Purge GstAtomic stuff from docs and win32 makefiles as well
8647 2005-05-06 Wim Taymans <wim@fluendo.com>
8649 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8650 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8651 * gst/gstpad.c: (gst_pad_peer_get_caps):
8652 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8653 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8654 (gst_queue_src_activate), (gst_queue_change_state):
8656 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8657 (intersect_caps_func):
8658 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8659 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8660 Some fixes for the peer_get_caps() change.
8662 2005-05-06 Wim Taymans <wim@fluendo.com>
8664 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8665 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8666 (gst_basesink_activate):
8667 Actually do something with error codes returned from the push
8670 2005-05-06 Wim Taymans <wim@fluendo.com>
8672 * docs/design/part-element-sink.txt:
8673 * docs/design/part-element-source.txt:
8674 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8675 (gst_basesink_event), (gst_basesink_activate):
8676 * gst/base/gstbasesink.h:
8677 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8678 (gst_basesrc_activate):
8679 * gst/base/gstbasesrc.h:
8680 * gst/gstelement.c: (gst_element_pads_activate):
8681 Some more documentation.
8682 Fixed scheduling decision in _pads_activate().
8684 2005-05-05 Andy Wingo <wingo@pobox.com>
8686 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8689 2005-05-05 Wim Taymans <wim@fluendo.com>
8691 * gst/base/Makefile.am:
8692 * gst/base/gstbasesink.h:
8693 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8694 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8695 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8696 (gst_collectpads_class_init), (gst_collectpads_init),
8697 (gst_collectpads_finalize), (gst_collectpads_new),
8698 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8699 (find_pad), (gst_collectpads_remove_pad),
8700 (gst_collectpads_is_active), (gst_collectpads_collect),
8701 (gst_collectpads_collect_range), (gst_collectpads_start),
8702 (gst_collectpads_stop), (gst_collectpads_peek),
8703 (gst_collectpads_pop), (gst_collectpads_available),
8704 (gst_collectpads_read), (gst_collectpads_flush),
8705 (gst_collectpads_chain):
8706 * gst/base/gstcollectpads.h:
8707 * gst/elements/Makefile.am:
8708 * gst/elements/gstelements.c:
8709 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8710 (gst_fakesink_get_times), (gst_fakesink_event),
8711 (gst_fakesink_preroll), (gst_fakesink_render):
8712 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8713 (gst_filesink_init), (gst_filesink_set_location),
8714 (gst_filesink_open_file), (gst_filesink_close_file),
8715 (gst_filesink_pad_query), (gst_filesink_event),
8716 (gst_filesink_render), (gst_filesink_change_state):
8717 * gst/elements/gstfilesink.h:
8718 Added object to help in making collect pad based elements.
8720 Make event function in sink baseclass return gboolean.
8722 2005-05-05 Wim Taymans <wim@fluendo.com>
8724 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8725 (gst_bin_get_by_name):
8727 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8728 (gst_clock_finalize):
8729 * gst/gstdata.c: (gst_data_replace):
8731 * gst/gstelement.c: (gst_element_request_pad),
8732 (gst_element_pads_activate):
8733 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8735 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8736 (gst_pad_set_checkgetrange_function),
8737 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8738 (gst_pad_check_pull_range), (gst_pad_pull_range),
8739 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8740 (gst_pad_pause_task), (gst_pad_stop_task):
8741 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8742 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8743 Fix name lookup in GstBin.
8744 Added _data_replace() function and _buffer_replace()
8745 Use finalize method to clean up clock.
8746 Fix refcounting on request pads.
8747 Fix pad schedule mode error.
8748 Some more object refcounting debug info,
8751 2005-05-04 Andy Wingo <wingo@pobox.com>
8753 * check/Makefile.am:
8754 * docs/gst/tmpl/gstatomic.sgml:
8755 * docs/gst/tmpl/gstplugin.sgml:
8756 * gst/base/gstbasesink.c: (gst_basesink_activate):
8757 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8758 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8759 (gst_basesrc_query), (gst_basesrc_set_property),
8760 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8761 (gst_basesrc_activate):
8762 * gst/base/gstbasesrc.h:
8763 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8764 (gst_base_transform_src_activate):
8765 * gst/elements/gstelements.c:
8766 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8767 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8768 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8769 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8770 (gst_type_find_element_checkgetrange),
8771 (gst_type_find_element_activate):
8772 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8773 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8774 (gst_caps_load_thyself):
8775 * gst/gstelement.c: (gst_element_pads_activate),
8776 (gst_element_save_thyself), (gst_element_restore_thyself):
8777 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8778 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8780 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8781 (gst_xml_parse_file), (gst_xml_parse_memory),
8782 (gst_xml_get_element), (gst_xml_make_element):
8783 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8784 (_file_index_id_save_xml), (gst_file_index_commit):
8785 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8786 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8788 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8789 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8790 * tools/gst-complete.c: (main):
8791 * tools/gst-compprep.c: (main):
8792 * tools/gst-inspect.c: (print_element_properties_info):
8793 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8794 * tools/gst-xmlinspect.c: (print_element_properties):
8797 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8799 * gst/gstplugin.c: (gst_plugin_check_module),
8800 (gst_plugin_check_file), (gst_plugin_load_file):
8801 apply patch from #172526 to make register work on MacOSX
8803 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8805 * docs/gst/tmpl/gstconfig.sgml:
8806 * gst/gstconfig.h.in:
8807 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8808 * testsuite/debug/printf_extension.c: (main):
8809 Do not use GST_PTR_FORMAT on pointers to types with
8810 sizeof < sizeof(gpointer). Fixes test on 64-bit
8811 * testsuite/elements/property.h:
8812 use correct printf format
8814 2005-05-02 Wim Taymans <wim@fluendo.com>
8816 * docs/design/draft-push-pull.txt:
8817 * docs/design/draft-query.txt:
8818 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8819 (gst_basesrc_start):
8820 Added draft for new query API.
8821 Added draft for better selecting scheduling methods.
8822 Make basesrc ignore length if the subclass does not support
8825 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8828 possible fixes for automake-1.5 - _LIBADD is reserved
8830 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8832 * docs/faq/Makefile.am:
8833 * docs/manual/Makefile.am:
8835 * docs/pwg/Makefile.am:
8837 possible fixes for automake-1.5
8839 2005-04-28 Wim Taymans <wim@fluendo.com>
8841 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8842 (gst_basesink_pad_getcaps), (gst_basesink_init),
8843 (gst_basesink_do_sync):
8844 * gst/gstclock.c: (gst_clock_entry_new):
8845 * gst/gstevent.c: (gst_event_discont_get_value):
8846 * gst/gstpipeline.c: (pipeline_bus_handler),
8847 (gst_pipeline_change_state):
8848 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8849 Better debugging of clocking info.
8850 Allow NULL values when getting discont values.
8852 2005-04-27 Wim Taymans <wim@fluendo.com>
8854 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8855 * check/gst/gstpad.c: (gst_pad_suite):
8856 Increase timeout for checks.
8858 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8860 * check/Makefile.am:
8861 fix the broken rule for cleanup. Apparently this rule is
8862 only needed on FC2, so maybe this warrants further autotool
8865 2005-04-26 Wim Taymans <wim@fluendo.com>
8867 * gst/gsttrashstack.h:
8868 Ooohh. a nasty one! After having a failed pop() from the stack,
8869 it's possible that the stack is empty. In that case, don't
8870 follow the NULL pointer.
8872 2005-04-25 Wim Taymans <wim@fluendo.com>
8874 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8875 (gst_pad_set_checkgetrange_function),
8876 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
8877 (gst_pad_check_pull_range), (gst_pad_pull_range),
8878 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8879 (gst_pad_pause_task), (gst_pad_stop_task):
8880 * gst/gstplugin.c: (gst_plugin_load):
8882 Remove gst_library_load as it does more harm than good with
8883 the new g_module flags.
8884 Revert bogus caps template check in pad linking, pad caps
8885 are important when linking not the template, which is more
8886 general than the current caps.
8888 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8890 * gst/autoplug/.cvsignore:
8891 * gst/autoplug/Makefile.am:
8892 * gst/autoplug/gstsearchfuncs.c:
8893 * gst/autoplug/gstsearchfuncs.h:
8894 * gst/autoplug/gstspider.c:
8895 * gst/autoplug/gstspider.h:
8896 * gst/autoplug/gstspideridentity.c:
8897 * gst/autoplug/gstspideridentity.h:
8898 * gst/autoplug/spidertest.c:
8901 2005-04-25 Wim Taymans <wim@fluendo.com>
8903 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8904 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8905 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
8906 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
8908 Added stubs for unimplemented functions.
8910 2005-04-24 David Schleef <ds@schleef.org>
8912 * gst/gstpad.h: Disable some unimplemented functions. Wim,
8915 2005-04-24 David Schleef <ds@schleef.org>
8917 Convert everything from GstAtomicInt to g_atomic_int_*, and
8922 * gst/gstatomic_impl.h:
8930 * gst/gstdata_private.h:
8937 * gst/gststructure.c:
8938 * gst/gststructure.h:
8939 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
8942 2005-04-24 David Schleef <ds@schleef.org>
8944 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
8945 make the regressions tests work. Remove some code that is no
8947 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
8948 Disable warning for pads without templates.
8950 2005-04-24 David Schleef <ds@schleef.org>
8952 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
8953 functions that handle filtered links.
8954 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
8956 * gst/gstutils.c: Fix/remove utility functions that handle
8959 * gst/gstvalue.c: Add serialization/deserialization of caps
8960 * gst/parse/grammar.y: Ignore filtered caps when linking. This
8961 requires fixing so that the filter caps notation creates
8962 a capsfilter element and sets the filter_caps property. I
8963 think everyone probably wants to keep the shorthand notation.
8964 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
8965 * docs/gst/tmpl/gstpad.sgml:
8967 * gst/elements/gstelements.c: Register capsfilter element.
8968 * gst/Makefile.am: fix spacing
8969 * docs/random/ds/0.9-suggested-changes: random
8971 2005-04-23 David Schleef <ds@schleef.org>
8973 * gst/elements/Makefile.am:
8974 * gst/elements/gstcapsfilter.c: New element that acts like an
8975 identity, but filters caps. Will eventually replace filtered
8976 caps in pad linking.
8977 * gst/gstutils.c: (gst_element_create_all_pads): New function
8978 to create all the ALWAYS pads that are registered with an
8979 element class. This functionality should eventually be
8980 merged in with GstElement initialization.
8982 * testsuite/trigger/README: part of trigger test code that should
8983 have been checked in a long time ago.
8985 2005-04-23 David Schleef <ds@schleef.org>
8987 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
8988 needed with new versions of libtool (nobody will confirm this),
8989 and hard to carry around.
8990 * gst/autoplug/Makefile.am:
8991 * gst/base/Makefile.am:
8992 * gst/elements/Makefile.am:
8993 * gst/indexers/Makefile.am:
8994 * gst/schedulers/Makefile.am:
8995 * libs/gst/bytestream/Makefile.am:
8996 * libs/gst/control/Makefile.am:
8997 * libs/gst/dataprotocol/Makefile.am:
8998 * libs/gst/getbits/Makefile.am:
9000 2005-04-21 Wim Taymans <wim@fluendo.com>
9002 * docs/design/draft-push-pull.txt:
9003 * docs/design/part-MT-refcounting.txt:
9004 * docs/design/part-TODO.txt:
9005 * docs/design/part-caps.txt:
9006 * docs/design/part-events.txt:
9007 * docs/design/part-gstbus.txt:
9008 * docs/design/part-gstpipeline.txt:
9009 * docs/design/part-messages.txt:
9010 * docs/design/part-push-pull.txt:
9011 * docs/design/part-query.txt:
9014 2005-04-21 Wim Taymans <wim@fluendo.com>
9016 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9017 (gst_message_new), (gst_message_new_error),
9018 (gst_message_new_warning), (gst_message_new_tag),
9019 (gst_message_new_state_changed), (gst_message_new_application),
9020 (gst_message_get_structure):
9022 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9023 (gst_structure_copy_conditional):
9024 Use parent refcount in GstMessage to ensure GstStructure
9026 Cleaned up headers a bit.
9029 2005-04-20 Wim Taymans <wim@fluendo.com>
9031 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9032 (gst_basesink_pad_getcaps), (gst_basesink_init),
9033 (gst_basesink_chain_unlocked):
9034 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9035 (gst_type_find_helper):
9036 * gst/elements/gsttypefindelement.c:
9037 (gst_type_find_element_have_type), (gst_type_find_element_init),
9038 (stop_typefinding), (gst_type_find_element_handle_event),
9039 (find_suggest), (gst_type_find_element_chain),
9040 (gst_type_find_element_checkgetrange),
9041 (gst_type_find_element_getrange), (do_typefind),
9042 (gst_type_find_element_activate):
9043 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9044 (gst_buffer_default_free), (gst_buffer_default_copy),
9045 (gst_buffer_set_caps):
9046 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9048 * gst/gstmessage.c: (gst_message_new),
9049 (gst_message_new_state_changed):
9050 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9051 (gst_pad_set_checkgetrange_function),
9052 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9053 (gst_pad_set_caps), (gst_pad_check_pull_range),
9054 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9056 * gst/gsttypefind.c: (gst_type_find_register):
9057 Make gst_caps_replace() work like other _replace() functions.
9058 Use _caps_replace() where possible.
9059 Make sure _message_new() initialises its field.
9060 Add gst_static_pad_template_get_caps()
9063 2005-04-18 Andy Wingo <wingo@pobox.com>
9065 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9066 on the peer, not the pad. I think that was a typo. Pass an extra
9067 arg to see if random access is possible. Activate the pads as
9068 PULL_RANGE if possible.
9070 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9072 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9073 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9076 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9078 * docs/faq/using.xml:
9079 Add note on gstreamer-properties (#154996).
9081 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9083 * docs/random/bbb/optional-properties:
9084 Some analysis on optional properties.
9086 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9088 * docs/gst/tmpl/gstelementfactory.sgml:
9090 * gst/gstelementfactory.c: (gst_element_factory_init),
9091 (gst_element_factory_cleanup), (gst_element_register),
9092 (__gst_element_factory_add_static_pad_template),
9093 (gst_element_factory_get_static_pad_templates),
9094 (gst_element_factory_can_src_caps),
9095 (gst_element_factory_can_sink_caps):
9096 * gst/registries/Makefile.am:
9097 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9098 (gst_xml_registry_class_init), (gst_xml_registry_init),
9099 (gst_xml_registry_new), (gst_xml_registry_set_property),
9100 (gst_xml_registry_get_property), (get_time), (make_dir),
9101 (gst_xml_registry_get_perms_func),
9102 (plugin_times_older_than_recurse), (plugin_times_older_than),
9103 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9104 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9105 (add_to_char_array), (read_string), (read_uint), (read_enum),
9106 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9107 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9108 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9109 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9110 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9111 (gst_xml_registry_rebuild):
9112 * gst/registries/gstlibxmlregistry.h:
9113 * tools/gst-compprep.c: (main):
9114 * tools/gst-inspect.c: (print_pad_templates_info):
9115 * tools/gst-xmlinspect.c: (print_element_info):
9116 Use libxml2 for registry parsing, use staticpadtemplates in
9117 elementfactories. Makes gst_init() +/- 10x faster.
9119 2005-04-12 Wim Taymans <wim@fluendo.com>
9121 * gst/base/Makefile.am:
9122 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9123 (gst_basesink_pad_getcaps), (gst_basesink_init),
9124 (gst_basesink_event), (gst_basesink_change_state):
9125 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9126 (gst_basesrc_init), (gst_basesrc_query),
9127 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9128 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9129 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9130 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9131 (gst_basesrc_stop), (gst_basesrc_activate),
9132 (gst_basesrc_change_state):
9133 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9134 (helper_find_suggest), (gst_type_find_helper):
9135 * gst/base/gsttypefindhelper.h:
9136 * gst/elements/Makefile.am:
9137 * gst/elements/gstelements.c:
9138 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9139 (gst_fakesink_get_times), (gst_fakesink_event),
9140 (gst_fakesink_preroll), (gst_fakesink_render):
9141 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9142 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9143 (gst_fakesrc_get_property), (gst_fakesrc_create),
9144 (gst_fakesrc_start), (gst_fakesrc_stop):
9145 * gst/elements/gstfakesrc.h:
9146 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9147 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9148 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9149 (gst_filesrc_create_read), (gst_filesrc_create),
9150 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9151 (gst_filesrc_start):
9152 * gst/elements/gsttypefindelement.c:
9153 (gst_type_find_element_have_type), (gst_type_find_element_init),
9154 (start_typefinding), (stop_typefinding), (push_buffer_store),
9155 (gst_type_find_element_handle_event),
9156 (gst_type_find_element_chain),
9157 (gst_type_find_element_checkgetrange),
9158 (gst_type_find_element_getrange), (do_typefind),
9159 (gst_type_find_element_activate),
9160 (gst_type_find_element_change_state):
9161 * gst/elements/gsttypefindelement.h:
9162 * gst/gstpipeline.c: (pipeline_bus_handler):
9163 Added typefind helper.
9164 Small preroll fix in the base sink.
9165 Disable typefind code in basesrc.
9166 Crude port of typefindelement.
9170 2005-04-11 Wim Taymans <wim@fluendo.com>
9172 * check/gst/gstbus.c: (gstbus_suite):
9173 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9175 Fix up the timeout so that the test does not fail.
9177 2005-04-06 Wim Taymans <wim@fluendo.com>
9180 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9181 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9182 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9183 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9184 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9185 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9186 (gst_basesrc_stop), (gst_basesrc_activate),
9187 (gst_basesrc_change_state), (basesrc_find_peek),
9188 (basesrc_find_suggest), (gst_basesrc_type_find):
9189 * gst/base/gstbasesrc.h:
9190 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9191 (gst_filesrc_class_init), (gst_filesrc_init),
9192 (gst_filesrc_finalize), (gst_filesrc_set_location),
9193 (gst_filesrc_set_property), (gst_filesrc_get_property),
9194 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9195 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9196 (gst_filesrc_create_read), (gst_filesrc_create),
9197 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9198 * gst/elements/gstfilesrc.h:
9199 * gst/gstelement.c: (gst_element_get_state_func),
9200 (gst_element_lost_state), (gst_element_pads_activate):
9201 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9202 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9203 (gst_pad_pull_range):
9205 More work on the generic source base class, implement seeking,
9207 Make filesrc extend the base source class.
9208 Added gst_pad_set_checkgetrange_function to GstPad.
9210 2005-04-06 Andy Wingo <wingo@pobox.com>
9212 * pkgconfig/gstreamer-base.pc.in:
9213 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9215 * pkgconfig/Makefile.am:
9216 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9218 2005-04-04 Wim Taymans <wim@fluendo.com>
9220 * gst/base/Makefile.am:
9222 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9223 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9224 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9225 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9226 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9227 (gst_basesrc_base_init), (gst_basesrc_class_init),
9228 (gst_basesrc_init), (gst_basesrc_get_formats),
9229 (gst_basesrc_get_query_types), (gst_basesrc_query),
9230 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9231 (gst_basesrc_set_property), (gst_basesrc_get_property),
9232 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9233 (gst_basesrc_loop), (gst_basesrc_activate),
9234 (gst_basesrc_change_state):
9235 * gst/base/gstbasesrc.h:
9236 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9237 (gst_fakesrc_class_init), (gst_fakesrc_init),
9238 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9239 (gst_fakesrc_get_property), (gst_fakesrc_create):
9240 * gst/elements/gstfakesrc.h:
9241 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9242 (gst_filesrc_open_file), (gst_filesrc_loop),
9243 (gst_filesrc_activate), (filesrc_find_peek),
9244 (gst_filesrc_type_find):
9245 Made base source class, make fakesrc extend it.
9246 Add comments to basesink class.
9247 Some filesrc cleanup.
9249 2005-03-31 David Schleef <ds@schleef.org>
9251 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9252 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9253 expected to link against libgstreamer.
9254 * gst/base/Makefile.am: link against libgstreamer
9255 * gst/elements/Makefile.am: same
9257 2005-03-31 Andy Wingo <wingo@pobox.com>
9259 * tests/instantiate/Makefile.am:
9260 * tests/instantiate/caps.c: Add test to test speed of caps copy
9263 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9264 GMemChunk to be fair.
9266 * gst/gsttrashstack.h: Remove warning about using the fallback
9267 trash stack implementation, it's still faster than malloc.
9269 2005-03-30 Andy Wingo <wingo@pobox.com>
9271 * tests/complexity.c: Add a copyright.
9273 2005-03-31 Wim Taymans <wim@fluendo.com>
9275 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9276 (gst_base_transform_class_init), (gst_base_transform_init),
9277 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9278 (gst_base_transform_get_property),
9279 (gst_base_transform_sink_activate),
9280 (gst_base_transform_src_activate),
9281 (gst_base_transform_change_state):
9282 * gst/base/gstbasetransform.h:
9283 * gst/elements/gstidentity.c: (gst_identity_class_init),
9284 (gst_identity_event), (gst_identity_check_perfect),
9285 (gst_identity_transform), (gst_identity_start),
9286 (gst_identity_stop):
9287 Added start/stop methods to transform base class so subclasses
9288 don't need to deal with state changes even.
9290 2005-03-31 Wim Taymans <wim@fluendo.com>
9292 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9293 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9295 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9296 (gst_pad_pull_range):
9297 Added rate to the discont event to prepare for variable speed
9298 and reverse playback.
9300 2005-03-29 David Schleef <ds@schleef.org>
9303 * testsuite/trigger/Makefile.am:
9304 * testsuite/trigger/trigger.c: A little example program to show
9305 how trigger-based elements can work.
9307 2005-03-29 Wim Taymans <wim@fluendo.com>
9309 * gst/base/Makefile.am:
9311 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9312 (gst_basesink_base_init), (gst_basesink_class_init),
9313 (gst_basesink_pad_getcaps), (gst_basesink_init),
9314 (gst_basesink_activate), (gst_basesink_change_state):
9315 * gst/base/gstbasesink.h:
9316 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9317 (gst_base_transform_base_init), (gst_base_transform_finalize),
9318 (gst_base_transform_class_init), (gst_base_transform_init),
9319 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9320 (gst_base_transform_event), (gst_base_transform_getrange),
9321 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9322 (gst_base_transform_set_property),
9323 (gst_base_transform_get_property),
9324 (gst_base_transform_sink_activate),
9325 (gst_base_transform_src_activate),
9326 (gst_base_transform_change_state):
9327 * gst/base/gstbasetransform.h:
9328 * gst/elements/gstidentity.c: (gst_identity_finalize),
9329 (gst_identity_class_init), (gst_identity_init),
9330 (gst_identity_event), (gst_identity_check_perfect),
9331 (gst_identity_transform), (gst_identity_set_property),
9332 (gst_identity_get_property), (gst_identity_change_state):
9333 * gst/elements/gstidentity.h:
9334 * gst/gstelement.c: (gst_element_get_state_func),
9335 (gst_element_lost_state), (gst_element_pads_activate):
9336 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9337 (gst_pad_check_pull_range), (gst_pad_pull_range):
9339 Simplify pad activation.
9340 Added function to check if pull_range can be performed.
9341 Error out when pulling inactive or flushing pads.
9342 Removed const from refcounted types as it does not make sense.
9343 Simplify pad templates in basesink
9344 Added base class for simple 1-to-1 transforms.
9345 Make identity subclass the base transform.
9347 2005-03-29 Andy Wingo <wingo@pobox.com>
9349 * docs/libs/gstreamer-libs-overrides.txt:
9350 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9351 really don't understand what's going on, but like whatever. I want
9354 * docs/gst/Makefile.am:
9355 * docs/libs/Makefile.am: Dist the overrides files.
9357 * check/Makefile.am (clean-local): Remove .libs directories.
9359 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9360 elements to EXTRA_DIST, so po/ files are happy.
9362 * po/POTFILES.in: Er, remove it here.
9364 * po/POTFILES: Remove gstspider.c.
9366 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9368 * docs/libs/gstreamer-libs-docs.sgml:
9369 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9372 * tests/complexity.c (main): Set the length of the preroll queue
9373 on the sinks to prevent a lockup.
9375 * libs/gst/dataprotocol/Makefile.am:
9376 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9377 the same as the one in check/gst-libs/gdp.c.
9379 * po/, docs/gst/: Commit automatic changes to docs and po files.
9381 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9382 the versioned libgstbase.
9384 * check/Makefile.am: Depend on an unversioned gst-register, seems
9385 to make autoconf happier.
9387 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9389 2005-03-28 Wim Taymans <wim@fluendo.com>
9392 * docs/design/part-gstelement.txt:
9393 * docs/design/part-negotiation.txt:
9394 * docs/design/part-preroll.txt:
9395 * docs/design/part-scheduling.txt:
9396 * docs/design/part-states.txt:
9398 * gst/base/Makefile.am:
9400 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9401 (gst_basesink_base_init), (gst_basesink_class_init),
9402 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9403 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9404 (gst_basesink_set_pad_functions),
9405 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9406 (gst_basesink_set_property), (gst_basesink_get_property),
9407 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9408 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9409 (gst_basesink_preroll_queue_push),
9410 (gst_basesink_preroll_queue_empty),
9411 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9412 (gst_basesink_event), (gst_basesink_get_times),
9413 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9414 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9415 (gst_basesink_loop), (gst_basesink_activate),
9416 (gst_basesink_change_state):
9417 * gst/base/gstbasesink.h:
9418 * gst/elements/Makefile.am:
9419 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9420 (gst_fakesink_class_init), (gst_fakesink_init),
9421 (gst_fakesink_set_property), (gst_fakesink_get_property),
9422 (gst_fakesink_get_times), (gst_fakesink_event),
9423 (gst_fakesink_preroll), (gst_fakesink_render),
9424 (gst_fakesink_change_state):
9425 * gst/elements/gstfakesink.h:
9426 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9427 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9428 * gst/gstelement.c: (gst_element_add_pad),
9429 (gst_element_get_state_func), (gst_element_abort_state),
9430 (gst_element_commit_state), (gst_element_lost_state),
9431 (gst_element_set_state), (gst_element_pads_activate):
9432 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9433 * gst/gstpipeline.c: (gst_pipeline_send_event),
9434 (gst_pipeline_change_state):
9435 Added state change code.
9437 Added sink base class, make fakesink extend the base class.
9438 Small cleanups in GstPipeline.
9440 2005-03-26 David Schleef <ds@schleef.org>
9442 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9443 is broken and should be implemented in a different library.
9444 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9445 * gst/gst.h: remove gstcpu.h
9446 * gst/gstcpu.c: remove
9447 * gst/gstcpu.h: remove
9448 * gst/Makefile.am.future: Remove this file. It's ancient.
9450 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9452 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9453 (gst_bin_send_event):
9454 Add default event/set_manager handlers. The set_manager handler
9455 takes care that the manager is distributed over kids that were
9456 already in the bin before the manager was set. The event handler
9457 is a utility virtual function that sends the event over all sinks,
9458 so that gst_element_send_event (bin, event); has the expected
9460 * gst/gstpad.c: (gst_pad_event_default):
9461 Re-install default event handling for discontinuities, so that
9462 seeking works without requiring hacks in applications or extra
9464 * gst/gstpipeline.c: (gst_pipeline_class_init),
9465 (gst_pipeline_send_event):
9466 Half hack, half utility: set a pipeline to PAUSED for seek events,
9467 since that is the only way we can guarantee a/v sync. Means that
9468 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9469 and it "just works".
9471 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9473 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9474 Lock/unlock mismatch.
9476 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9478 * docs/faq/gst-uninstalled:
9479 add gst-plugins-base
9480 * docs/gst/Makefile.am:
9481 don't error out until docs are fixed
9482 * docs/gst/gstreamer.types:
9485 2005-03-22 Wim Taymans <wim@fluendo.com>
9487 * check/Makefile.am:
9488 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9489 * gst/gststructure.c: (gst_structure_set_valist),
9490 (gst_structure_copy_conditional):
9491 Activated more tests.
9493 Added G_TYPE_POINTER to GstStructure.
9496 2005-03-22 Wim Taymans <wim@fluendo.com>
9498 * docs/design/part-TODO.txt:
9499 * docs/design/part-events.txt:
9500 * docs/design/part-gstbin.txt:
9501 * docs/design/part-gstbus.txt:
9502 * docs/design/part-gstpipeline.txt:
9503 * docs/design/part-messages.txt:
9508 2005-03-21 Wim Taymans <wim@fluendo.com>
9510 * gst/gstbus.c: (gst_bus_post):
9511 Fix copy-and-paste error.
9513 2005-03-21 Wim Taymans <wim@fluendo.com>
9515 * check/Makefile.am:
9517 * gst/elements/Makefile.am:
9518 * gst/elements/gstelements.c:
9519 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9520 (gst_fakesink_event), (gst_fakesink_chain):
9521 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9522 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9523 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9524 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9525 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9526 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9527 (gst_fakesrc_loop), (gst_fakesrc_activate),
9528 (gst_fakesrc_change_state):
9529 * gst/elements/gstfakesrc.h:
9530 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9531 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9532 (gst_filesrc_open_file), (gst_filesrc_loop),
9533 (gst_filesrc_activate), (gst_filesrc_change_state),
9534 (filesrc_find_peek), (filesrc_find_suggest),
9535 (gst_filesrc_type_find):
9536 * gst/elements/gstidentity.c: (gst_identity_finalize),
9537 (gst_identity_class_init), (gst_identity_init),
9538 (gst_identity_proxy_getcaps), (identity_queue_push),
9539 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9540 (gst_identity_getrange), (gst_identity_chain),
9541 (gst_identity_sink_loop), (gst_identity_src_loop),
9542 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9543 (gst_identity_set_property), (gst_identity_get_property),
9544 (gst_identity_change_state):
9545 * gst/elements/gstidentity.h:
9546 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9547 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9548 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9549 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9550 (gst_tee_sink_activate):
9551 * gst/elements/gsttee.h:
9552 * gst/gst.c: (gst_register_core_elements), (init_post):
9554 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9555 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9556 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9557 (gst_bin_change_state):
9559 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9560 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9561 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9562 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9563 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9564 (bus_watch_callback), (bus_watch_destroy),
9565 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9566 (poll_timeout), (gst_bus_poll):
9570 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9571 (gst_element_post_message), (gst_element_message_full),
9572 (gst_element_get_state_func), (gst_element_get_state),
9573 (gst_element_abort_state), (gst_element_commit_state),
9574 (gst_element_lost_state), (gst_element_set_state),
9575 (gst_element_pads_activate), (gst_element_change_state),
9576 (gst_element_dispose), (gst_element_set_manager_func),
9577 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9578 (gst_element_set_manager), (gst_element_get_manager),
9579 (gst_element_set_bus), (gst_element_get_bus),
9580 (gst_element_set_scheduler), (gst_element_get_scheduler):
9582 * gst/gstevent.c: (gst_event_new_segment_seek),
9583 (gst_event_new_flush):
9585 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9586 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9587 (gst_message_new_eos), (gst_message_new_error),
9588 (gst_message_new_warning), (gst_message_new_tag),
9589 (gst_message_new_state_changed), (gst_message_new_application),
9590 (gst_message_get_structure), (gst_message_parse_tag),
9591 (gst_message_parse_state_changed), (gst_message_parse_error),
9592 (gst_message_parse_warning):
9594 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9595 (gst_real_pad_set_property), (gst_pad_set_active),
9596 (gst_pad_is_active), (gst_pad_set_blocked_async),
9597 (gst_pad_set_blocked), (gst_pad_is_blocked),
9598 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9599 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9600 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9601 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9602 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9603 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9604 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9605 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9606 (gst_pad_set_caps), (gst_pad_configure_sink),
9607 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9608 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9609 (gst_real_pad_dispose), (gst_real_pad_finalize),
9610 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9611 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9612 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9614 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9615 (pipeline_bus_handler), (gst_pipeline_change_state),
9616 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9617 * gst/gstpipeline.h:
9619 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9620 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9621 (gst_queue_link_src), (gst_queue_bufferalloc),
9622 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9623 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9624 (gst_queue_loop), (gst_queue_handle_src_event),
9625 (gst_queue_handle_src_query), (gst_queue_src_activate),
9626 (gst_queue_change_state):
9628 * gst/gstscheduler.c: (gst_scheduler_init),
9629 (gst_scheduler_dispose), (gst_scheduler_create_task),
9630 (gst_scheduler_factory_create):
9631 * gst/gstscheduler.h:
9632 * gst/gststructure.c: (gst_structure_get_type),
9633 (gst_structure_copy_conditional):
9634 * gst/gststructure.h:
9635 * gst/gsttaginterface.h:
9636 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9637 (gst_task_init), (gst_task_dispose), (gst_task_create),
9638 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9644 * gst/schedulers/Makefile.am:
9645 * gst/schedulers/cothreads_compat.h:
9646 * gst/schedulers/entryscheduler.c:
9647 * gst/schedulers/faircothreads.c:
9648 * gst/schedulers/faircothreads.h:
9649 * gst/schedulers/fairscheduler.c:
9650 * gst/schedulers/gstbasicscheduler.c:
9651 * gst/schedulers/gstoptimalscheduler.c:
9652 * gst/schedulers/gthread-cothreads.h:
9653 * gst/schedulers/threadscheduler.c:
9654 (gst_thread_scheduler_task_get_type),
9655 (gst_thread_scheduler_task_class_init),
9656 (gst_thread_scheduler_task_init),
9657 (gst_thread_scheduler_task_start),
9658 (gst_thread_scheduler_task_stop),
9659 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9660 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9661 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9662 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9664 * libs/gst/Makefile.am:
9665 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9666 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9667 (gst_file_pad_parent_set):
9668 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9669 (gst_dp_event_from_packet):
9670 * tests/complexity.c: (main):
9671 * tests/mass_elements.c: (main):
9672 * testsuite/states/locked.c: (message_received), (main):
9673 * testsuite/states/parent.c: (main):
9674 * tools/gst-inspect.c: (print_element_flag_info),
9675 (print_implementation_info), (print_pad_info):
9676 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9678 * tools/gst-md5sum.c: (event_loop), (main):
9679 * tools/gst-typefind.c: (main):
9680 * tools/gst-xmlinspect.c: (print_element_info):
9682 Added GstBus for mainloop integration.
9683 Added GstMessage for sending notifications on the bus.
9684 Added GstTask as an abstraction for pipeline entry points.
9687 Simplified GstQueue for multithreaded core.
9688 Made _link threadsafe, removed old capsnego.
9689 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9690 Added pad blocking functions.
9691 Reworked scheduling functions in GstPad to prepare for
9692 scheduling updates soon.
9693 Moved events out of data stream.
9694 Simplified GstEvent types.
9695 Added return values to push/pull.
9696 Removed clocking from GstElement.
9697 Added prototypes for state change function for next merge.
9698 Removed iterate from bins and state change management.
9699 Fixed some elements, disabled others for now.
9700 Fixed -inspect and -launch.
9701 Added check for GstBus.
9703 2005-03-10 Wim Taymans <wim@fluendo.com>
9705 * docs/design/part-MT-refcounting.txt:
9706 * docs/design/part-clocks.txt:
9707 * docs/design/part-gstelement.txt:
9708 * docs/design/part-gstobject.txt:
9709 * docs/design/part-standards.txt:
9710 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9711 (gst_bin_remove_func), (gst_bin_remove):
9715 * testsuite/clock/clock1.c: (main):
9716 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9718 * testsuite/dlopen/loadgst.c: (do_test):
9719 * testsuite/refcounting/bin.c: (add_remove_test1),
9720 (add_remove_test2), (main):
9721 * testsuite/refcounting/element.c: (main):
9722 * testsuite/refcounting/element_pad.c: (main):
9723 * testsuite/refcounting/pad.c: (main):
9724 * tools/gst-launch.c: (sigint_handler_sighandler):
9725 * tools/gst-typefind.c: (main):
9727 Added doc about clock.
9728 removed gst_bin_iterate_recurse_up(), marked methods
9730 Fix more testsuites.
9732 2005-03-09 Wim Taymans <wim@fluendo.com>
9734 * gst/gstpad.c: (gst_pad_get_direction),
9735 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9736 (gst_pad_collect_valist):
9737 * testsuite/bins/interface.c: (main):
9738 * testsuite/caps/audioscale.c: (test_caps):
9739 * testsuite/caps/caps.c: (test1), (test2), (test3):
9740 * testsuite/caps/deserialize.c: (main):
9741 * testsuite/caps/enumcaps.c: (main):
9742 * testsuite/caps/filtercaps.c: (main):
9743 * testsuite/caps/intersect2.c: (main):
9744 * testsuite/caps/random.c: (main):
9745 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9746 * testsuite/caps/sets.c: (check_caps):
9747 * testsuite/caps/simplify.c: (check_caps), (main):
9748 * testsuite/caps/subtract.c: (check_caps):
9749 Fix _pad_get_direction wrt ghostpads.
9752 2005-03-09 Wim Taymans <wim@fluendo.com>
9754 * check/Makefile.am:
9755 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9756 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9757 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9758 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9759 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9760 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9761 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9762 (bin_element_is_sink), (gst_bin_iterate_sinks),
9763 (gst_bin_iterate_all_by_interface):
9765 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9766 (gst_element_change_state), (gst_element_dispose),
9767 (gst_element_finalize), (gst_element_set_loop_function):
9769 * gst/gstiterator.c: (find_custom_fold_func):
9770 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9771 (gst_pad_collectv), (gst_pad_collect_valist),
9772 (gst_pad_template_new):
9773 * gst/gstpipeline.c: (gst_pipeline_class_init),
9774 (gst_pipeline_dispose), (gst_pipeline_set_property),
9775 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9776 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9777 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9779 * gst/schedulers/entryscheduler.c:
9780 * gst/schedulers/gstbasicscheduler.c:
9781 (gst_basic_scheduler_cothreaded_chain),
9782 (gst_basic_scheduler_chain_add_element):
9783 * testsuite/bins/interface.c: (main):
9785 Added GstSystemClock test.
9786 Implemented clock distribution code in GstBin.
9787 Implemented iterate sinks method for future use.
9788 Rearranged gstelement.h
9789 Fix GstIterator comparison bug.
9790 Moved some code to GstPipeline, mostly clocking related.
9792 2005-03-09 Wim Taymans <wim@fluendo.com>
9795 * gst/gst_private.h:
9796 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9797 (gst_bin_remove_func), (gst_bin_remove),
9798 (gst_bin_get_by_name_recurse_up):
9799 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9800 (gst_clock_id_compare_func), (gst_clock_id_wait),
9801 (gst_clock_id_wait_async), (gst_clock_init),
9802 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9804 * gst/gstinfo.c: (_gst_debug_init):
9806 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9807 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9809 Bump version number, we're now 0.9.0
9810 Add future debugging category.
9811 Fix NULL _unref() in _get_by_name_recurse_up
9815 2005-03-08 Wim Taymans <wim@fluendo.com>
9817 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9818 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9819 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9820 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9821 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9822 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9823 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9824 * gst/elements/gstidentity.c: (gst_identity_class_init):
9825 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9826 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9827 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9828 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9829 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9831 * gst/gstelement.c: (gst_element_class_init),
9832 (gst_element_base_class_init), (gst_element_init),
9833 (gst_element_get_random_pad), (gst_element_wait_state_change),
9834 (gst_element_change_state), (gst_element_dispose),
9835 (gst_element_finalize), (gst_element_set_loop_function):
9837 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9838 * gst/gstthread.c: (gst_thread_class_init),
9839 (gst_thread_release_children_locks), (gst_thread_change_state):
9840 * gst/schedulers/gstbasicscheduler.c:
9841 (gst_basic_scheduler_loopfunc_wrapper),
9842 (gst_basic_scheduler_chain_wrapper),
9843 (gst_basic_scheduler_src_wrapper),
9844 (gst_basic_scheduler_remove_element):
9845 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9846 Remove threadsafe properties. Fix elements because GObject
9847 complains when installing a property before declaring a
9848 set/get_property handler.
9849 Rearrange gstelement.h file, use STATE macros for state locks.
9850 Free mutexes in the finalize method instead of dispose.
9852 2005-03-08 Wim Taymans <wim@fluendo.com>
9854 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9855 * gst/gstthread.c: (gst_thread_release_children_locks):
9856 Added parentage check.
9857 Fix build og GstThread again.
9859 2005-03-08 Wim Taymans <wim@fluendo.com>
9861 * docs/design/part-MT-refcounting.txt:
9862 * docs/design/part-conventions.txt:
9863 * docs/design/part-gstobject.txt:
9864 * docs/design/part-relations.txt:
9865 * docs/design/part-standards.txt:
9866 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9867 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
9868 (gst_bin_get_by_name), (gst_bin_get_by_interface),
9869 (gst_bin_iterate_all_by_interface):
9872 * gst/gstelement.c: (gst_element_class_init),
9873 (gst_element_change_state), (gst_element_set_loop_function):
9875 * gst/gstiterator.c:
9876 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
9877 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
9878 (gst_object_dispatch_properties_changed), (gst_object_set_name),
9879 (gst_object_set_parent), (gst_object_unparent),
9880 (gst_object_check_uniqueness):
9882 Docs updates, clean up some headers.
9884 2005-03-07 Wim Taymans <wim@fluendo.com>
9887 * check/Makefile.am:
9888 * check/gst-libs/.cvsignore:
9889 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
9890 * check/gst/.cvsignore:
9891 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
9892 (START_TEST), (gstbus_suite), (main):
9893 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
9894 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
9895 (gst_data_suite), (main):
9896 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
9897 (add_fold_func), (gstiterator_suite), (main):
9898 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
9899 (thread_name_object), (thread_name_object_default),
9900 (gst_object_name_compare), (gst_object_suite), (main):
9901 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
9902 (gst_pad_suite), (main):
9903 * check/gstcheck.c: (gst_check_log_message_func),
9904 (gst_check_log_critical_func), (gst_check_init):
9906 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
9907 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
9910 2005-03-07 Wim Taymans <wim@fluendo.com>
9912 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9913 (gst_list_iterator_next), (gst_list_iterator_resync),
9914 (gst_list_iterator_free), (gst_iterator_new_list),
9915 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
9916 (gst_iterator_free), (gst_iterator_push), (filter_next),
9917 (filter_resync), (filter_uninit), (filter_free),
9918 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
9919 (gst_iterator_foreach), (find_custom_fold_func),
9920 (gst_iterator_find_custom):
9921 * gst/gstiterator.h:
9922 Added missing files.
9924 2005-03-07 Wim Taymans <wim@fluendo.com>
9928 * docs/design/part-MT-refcounting.txt:
9929 * docs/design/part-conventions.txt:
9930 * docs/design/part-gstobject.txt:
9931 * docs/design/part-relations.txt:
9932 * examples/mixer/mixer.c: (main):
9933 * examples/thread/thread.c: (eos), (main):
9935 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
9936 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
9937 (gst_spider_plug_from_srcpad):
9938 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
9939 (gst_spider_identity_change_state),
9940 (gst_spider_identity_sink_loop_type_finding):
9941 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
9942 * gst/elements/gstidentity.c: (gst_identity_init):
9943 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
9944 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
9945 * gst/elements/gsttypefindelement.c: (free_entry):
9948 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
9949 (gst_bin_set_clock_func), (gst_bin_auto_clock),
9950 (gst_bin_set_index), (gst_bin_set_element_sched),
9951 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
9952 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
9953 (gst_bin_iterate_elements), (iterate_child_recurse),
9954 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
9955 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
9956 (compare_interface), (gst_bin_get_by_interface),
9957 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
9959 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
9960 (gst_buffer_default_free), (gst_buffer_default_copy),
9961 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
9962 (gst_buffer_create_sub):
9964 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
9965 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
9966 (gst_caps_unref), (gst_static_caps_get),
9967 (gst_caps_remove_and_get_structure), (gst_caps_append),
9968 (gst_caps_append_structure), (gst_caps_remove_structure),
9969 (gst_caps_copy_nth), (gst_caps_set_simple),
9970 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
9971 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
9972 (gst_caps_structure_intersect_field), (gst_caps_intersect),
9973 (gst_caps_structure_subtract_field), (gst_caps_subtract),
9974 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
9975 (gst_caps_structure_figure_out_union),
9976 (gst_caps_switch_structures), (gst_caps_do_simplify),
9977 (gst_caps_replace), (gst_caps_from_string),
9978 (gst_caps_copy_conditional):
9980 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
9981 (_gst_clock_id_free), (gst_clock_id_unref),
9982 (gst_clock_id_compare_func), (gst_clock_id_wait),
9983 (gst_clock_id_wait_async), (gst_clock_class_init),
9984 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
9985 (gst_clock_get_time), (gst_clock_set_time_adjust),
9986 (gst_clock_set_property), (gst_clock_get_property):
9989 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
9990 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
9992 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9993 (gst_element_requires_clock), (gst_element_provides_clock),
9994 (gst_element_set_clock), (gst_element_clock_wait),
9995 (gst_element_wait), (gst_element_set_time_delay),
9996 (gst_element_is_indexable), (gst_element_add_pad),
9997 (gst_element_add_ghost_pad), (gst_element_remove_pad),
9998 (pad_compare_name), (gst_element_get_static_pad),
9999 (gst_element_request_pad), (gst_element_get_request_pad),
10000 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10001 (gst_element_class_get_pad_template_list),
10002 (gst_element_class_get_pad_template), (gst_element_error_func),
10003 (gst_element_get_random_pad), (gst_element_get_event_masks),
10004 (gst_element_send_event), (gst_element_seek),
10005 (gst_element_get_query_types), (gst_element_query),
10006 (gst_element_get_formats), (gst_element_convert),
10007 (gst_element_is_locked_state), (gst_element_set_locked_state),
10008 (gst_element_sync_state_with_parent), (gst_element_change_state),
10009 (gst_element_finalize), (gst_element_yield),
10010 (gst_element_interrupt), (gst_element_set_scheduler),
10011 (gst_element_get_scheduler), (gst_element_set_loop_function):
10012 * gst/gstelement.h:
10014 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10015 (gst_format_get_by_nick), (gst_format_get_details),
10016 (gst_format_iterate_definitions):
10018 * gst/gstindex.c: (gst_index_gtype_resolver):
10021 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10022 (gst_mem_chunk_free):
10023 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10024 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10025 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10026 (gst_object_dispatch_properties_changed),
10027 (gst_object_set_name_default), (gst_object_set_name),
10028 (gst_object_get_name), (gst_object_set_name_prefix),
10029 (gst_object_get_name_prefix), (gst_object_set_parent),
10030 (gst_object_get_parent), (gst_object_unparent),
10031 (gst_object_check_uniqueness), (gst_object_save_thyself),
10032 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10033 (gst_object_set_property), (gst_object_get_property),
10034 (gst_object_get_path_string):
10036 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10037 (gst_real_pad_init), (gst_real_pad_get_property),
10038 (gst_pad_custom_new), (gst_pad_get_direction),
10039 (gst_pad_set_active), (gst_pad_is_active),
10040 (gst_pad_set_event_function), (gst_pad_is_linked),
10041 (gst_pad_link_free), (gst_pad_link_intersect),
10042 (gst_pad_link_fixate), (gst_pad_set_caps),
10043 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10044 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10045 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10046 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10047 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10048 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10049 (gst_pad_realize), (gst_pad_get_allowed_caps),
10050 (gst_real_pad_dispose), (gst_real_pad_finalize),
10051 (gst_pad_collectv), (gst_pad_collect_valist),
10052 (gst_pad_template_dispose), (gst_pad_template_new),
10053 (gst_pad_get_internal_links):
10055 * gst/gstpipeline.c: (gst_pipeline_dispose),
10056 (gst_pipeline_change_state):
10057 * gst/gstpipeline.h:
10059 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10060 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10061 * gst/gstpluginfeature.h:
10062 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10063 * gst/gstquery.c: (_gst_query_type_initialize),
10064 (gst_query_type_register), (gst_query_type_get_by_nick),
10065 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10067 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10068 * gst/gstscheduler.c: (gst_scheduler_add_element),
10069 (gst_scheduler_factory_create):
10070 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10071 (gst_structure_free), (gst_structure_set_name),
10072 (gst_structure_id_set_value), (gst_structure_set_value),
10073 (gst_structure_set_valist), (gst_structure_remove_field),
10074 (gst_structure_remove_fields),
10075 (gst_structure_remove_fields_valist),
10076 (gst_structure_remove_all_fields), (gst_structure_foreach),
10077 (gst_structure_map_in_place),
10078 (gst_caps_structure_fixate_field_nearest_int),
10079 (gst_caps_structure_fixate_field_nearest_double):
10080 * gst/gststructure.h:
10081 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10082 (gst_system_clock_init), (gst_system_clock_dispose),
10083 (gst_system_clock_async_thread),
10084 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10085 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10086 * gst/gstsystemclock.h:
10087 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10088 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10089 * gst/gsttaginterface.c:
10090 * gst/gstthread.c: (gst_thread_dispose),
10091 (gst_thread_release_children_locks), (gst_thread_change_state),
10092 (gst_thread_main_loop):
10093 * gst/gsttrashstack.h:
10094 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10096 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10097 (gst_element_request_pad), (gst_element_get_pad_from_template),
10098 (gst_element_request_compatible_pad),
10099 (gst_element_get_compatible_pad_filtered),
10100 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10101 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10102 (gst_element_link_many), (gst_element_link),
10103 (gst_element_link_pads), (gst_element_unlink_pads),
10104 (gst_element_unlink_many), (gst_element_unlink),
10105 (gst_pad_can_link_filtered), (gst_pad_can_link),
10106 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10107 (gst_object_default_error), (gst_bin_add_many),
10108 (gst_bin_remove_many), (gst_element_populate_std_props),
10109 (gst_element_class_install_std_props), (gst_buffer_merge),
10110 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10111 (link_fold_func), (gst_pad_proxy_setcaps):
10113 * gst/gstvalue.c: (gst_value_deserialize_string):
10114 * gst/parse/grammar.y:
10115 * gst/schedulers/gstbasicscheduler.c:
10116 (gst_basic_scheduler_cothreaded_chain),
10117 (gst_basic_scheduler_chain_recursive_add),
10118 (gst_basic_scheduler_pad_link):
10119 * gst/schedulers/gstoptimalscheduler.c:
10120 (get_group_schedule_function),
10121 (gst_opt_scheduler_state_transition),
10122 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10123 * libs/gst/bytestream/bytestream.c:
10124 * libs/gst/dataprotocol/dataprotocol.c:
10125 (gst_dp_header_from_buffer):
10128 * tests/threadstate/threadstate2.c: (eos):
10129 * tools/gst-compprep.c: (main):
10130 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10131 (print_pad_info), (print_children_info):
10132 * tools/gst-launch.c: (idle_func), (main):
10133 * tools/gst-md5sum.c: (idle_func), (main):
10134 * tools/gst-xmlinspect.c: (print_element_info):
10135 First THREADED backport attempt, focusing on adding locks and
10136 making sure the API is threadsafe. Needs more work. More docs
10139 2005-02-24 Andy Wingo <wingo@pobox.com>
10141 * tests/bench-complexity.scm:
10142 * tests/complexity.gnuplot: New files, good for running complexity
10145 * tests/Makefile.am:
10146 * tests/complexity.c: New test, sets up N elements, at each level
10147 teeing into M streams per element. Eeeenteresting.
10149 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10150 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10151 running bench-mass_elements.scm.
10153 * tests/bench-mass_elements.scm: New script, runs mass_elements
10154 for various numbers of identities, outputting the results to a
10155 file. Requires guile 1.6. Just for testing.
10157 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10159 * gst/schedulers/fairscheduler.c:
10160 compile with debug disabled
10162 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10165 hunting season on 0.9 is now OPEN