1 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3 * gst/gstregistryxml.c: (load_feature):
4 Add another GST_STR_NULL instance
6 2005-11-02 Edward Hervey <edward@fluendo.com>
8 * gst/gstpad.c: (handle_pad_block):
9 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
11 2005-11-02 Wim Taymans <wim@fluendo.com>
16 * gst/gstelement.c: (gst_element_commit_state):
20 Mention that the returned element is reffed in the docs.
22 2005-11-02 Wim Taymans <wim@fluendo.com>
24 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
25 (gst_pad_push), (gst_pad_push_event):
26 Unlock blocked pads when they are flushed.
28 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
31 * docs/gst/gstreamer-sections.txt:
34 * gst/gstregistry.c: (gst_registry_scan_path_level):
35 fix for a nasty little missed situation where an installed plug-in
36 which was in the cache did not get overridden by an uninstalled one
37 which was earlier in the plugin path because the newly created plugin
38 for the uninstalled one (not in the registry) didn't get its
39 ->registered set to TRUE
41 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
43 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
44 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
45 (gst_collectpads_is_active), (gst_collectpads_collect),
46 (gst_collectpads_collect_range), (gst_collectpads_start),
47 (gst_collectpads_stop), (gst_collectpads_peek),
48 (gst_collectpads_pop), (gst_collectpads_available),
49 (gst_collectpads_read), (gst_collectpads_flush):
50 Guard public API with assertions.
53 Fix docs for gst_pad_set_link_function().
55 2005-11-02 Johan Dahlin <johan@gnome.org>
57 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
58 Unref found_caps after we used it.
60 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
62 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
63 Don't try to ref NULL.
65 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
67 * win32/common/config.h.in:
68 provide a GST_FUNCTION that just gives a string for now
70 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
72 * win32/common/gstenumtypes.c: (register_gst_object_flags),
73 (gst_object_flags_get_type), (register_gst_bin_flags),
74 (gst_bin_flags_get_type), (register_gst_buffer_flag),
75 (gst_buffer_flag_get_type), (register_gst_bus_flags),
76 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
77 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
78 (gst_clock_return_get_type), (register_gst_clock_entry_type),
79 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
80 (gst_clock_flags_get_type), (register_gst_state),
81 (gst_state_get_type), (register_gst_state_change_return),
82 (gst_state_change_return_get_type), (register_gst_state_change),
83 (gst_state_change_get_type), (register_gst_element_flags),
84 (gst_element_flags_get_type), (register_gst_core_error),
85 (gst_core_error_get_type), (register_gst_library_error),
86 (gst_library_error_get_type), (register_gst_resource_error),
87 (gst_resource_error_get_type), (register_gst_stream_error),
88 (gst_stream_error_get_type), (register_gst_event_type),
89 (gst_event_type_get_type), (register_gst_seek_type),
90 (gst_seek_type_get_type), (register_gst_seek_flags),
91 (gst_seek_flags_get_type), (register_gst_format),
92 (gst_format_get_type), (register_gst_index_certainty),
93 (gst_index_certainty_get_type), (register_gst_index_entry_type),
94 (gst_index_entry_type_get_type),
95 (register_gst_index_lookup_method),
96 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
97 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
98 (gst_index_resolver_method_get_type), (register_gst_index_flags),
99 (gst_index_flags_get_type), (register_gst_debug_level),
100 (gst_debug_level_get_type), (register_gst_debug_color_flags),
101 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
102 (gst_iterator_result_get_type), (register_gst_iterator_item),
103 (gst_iterator_item_get_type), (register_gst_message_type),
104 (gst_message_type_get_type), (register_gst_mini_object_flags),
105 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
106 (gst_pad_link_return_get_type), (register_gst_flow_return),
107 (gst_flow_return_get_type), (register_gst_activate_mode),
108 (gst_activate_mode_get_type), (register_gst_pad_direction),
109 (gst_pad_direction_get_type), (register_gst_pad_flags),
110 (gst_pad_flags_get_type), (register_gst_pad_presence),
111 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
112 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
113 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
114 (gst_plugin_error_get_type), (register_gst_plugin_flags),
115 (gst_plugin_flags_get_type), (register_gst_rank),
116 (gst_rank_get_type), (register_gst_query_type),
117 (gst_query_type_get_type), (register_gst_tag_merge_mode),
118 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
119 (gst_tag_flag_get_type), (register_gst_task_state),
120 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
121 (gst_alloc_trace_flags_get_type),
122 (register_gst_type_find_probability),
123 (gst_type_find_probability_get_type), (register_gst_uri_type),
124 (gst_uri_type_get_type), (register_gst_parse_error),
125 (gst_parse_error_get_type):
126 * win32/common/gstversion.h:
129 2005-11-01 Luca Ognibene <luogni@tin.it>
132 fix docs. popt is dead, long live GOption.
134 2005-10-31 Wim Taymans <wim@fluendo.com>
139 2005-10-31 Andy Wingo <wingo@pobox.com>
143 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
145 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
146 need to serialize property notifications on GLib 2.8. GLib 2.6 has
147 the possibility of deadlocks here if code calling notify() or
148 set() has a lock that can be taken in another notify handler (ABBA
149 with class lock and e.g. python GIL state lock).
151 2005-10-28 Julien MOUTTE <julien@moutte.net>
153 * gst/gstbus.c: Doc updates.
155 2005-10-28 Wim Taymans <wim@fluendo.com>
157 * docs/design/part-TODO.txt:
159 * gst/gstsystemclock.c:
160 * gst/gstsystemclock.h:
163 2005-10-28 Edward Hervey <edward@fluendo.com>
165 * docs/gst/gstreamer-docs.sgml:
166 * docs/gst/gstreamer-sections.txt:
167 the GstURIType documentation page is private, it only defines GstURIType
168 which should be defined in the GstURIHandler page
170 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
172 * gst/gstbin.c: (gst_bin_class_init):
175 Documentation updates.
177 2005-10-28 Wim Taymans <wim@fluendo.com>
179 * docs/gst/gstreamer-sections.txt:
182 Documented the clocks.
184 2005-10-28 Stefan Kost <ensonic@users.sf.net>
186 * docs/gst/gstreamer-sections.txt:
187 move some macros to private sections
188 * gst/gstminiobject.c:
189 * gst/gstminiobject.h:
190 add descriptions provided by ds and some more
192 mark macro as to be removed
194 2005-10-28 Wim Taymans <wim@fluendo.com>
196 * docs/design/part-TODO.txt:
199 * gst/gstiterator.c: (gst_iterator_fold),
200 (gst_iterator_find_custom):
204 2005-10-28 Wim Taymans <wim@fluendo.com>
206 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
207 (gst_base_transform_init):
210 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
211 An EOS event marks the queue as completely filled.
213 2005-10-27 Wim Taymans <wim@fluendo.com>
215 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
216 (gst_base_sink_do_sync), (gst_base_sink_get_position):
219 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
220 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
221 (gst_base_transform_event), (gst_base_transform_getrange),
222 (gst_base_transform_chain):
223 * gst/base/gstbasetransform.h:
225 Protect transform and concurrent buffer alloc with a new lock.
226 Try not to break ABI/API.
228 2005-10-27 Wim Taymans <wim@fluendo.com>
230 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
231 (gst_base_src_init), (gst_base_src_query),
232 (gst_base_src_default_newsegment),
233 (gst_base_src_configure_segment), (gst_base_src_do_seek),
234 (gst_base_src_send_event), (gst_base_src_event_handler),
235 (gst_base_src_pad_get_range), (gst_base_src_loop),
236 (gst_base_src_unlock), (gst_base_src_default_negotiate),
237 (gst_base_src_start), (gst_base_src_deactivate),
238 (gst_base_src_activate_push), (gst_base_src_change_state):
239 Move some stuff around and cleanup things.
241 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
243 * gst/base/gstbasesrc.c: (gst_base_src_query):
244 Add missing break statements.
246 2005-10-27 Wim Taymans <wim@fluendo.com>
248 * check/gst/gstbin.c: (GST_START_TEST):
249 An extra refcount is taken in basesrc.
251 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
252 (gst_base_src_get_range), (gst_base_src_pad_get_range),
254 Small cleanups, check for flushing after being unlocked from the
255 LIVE_LOCK. take refcounts correctly (not yet everywhere).
256 Don't send out EOS when going to READY.
258 2005-10-27 Wim Taymans <wim@fluendo.com>
260 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
261 (gst_base_sink_get_position):
264 * gst/gstbin.c: (message_check), (bin_replace_message),
265 (bin_remove_messages), (is_eos), (gst_bin_add_func),
266 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
267 (bin_query_duration_init), (bin_query_duration_fold),
268 (bin_query_duration_done), (bin_query_generic_fold),
270 * tools/gst-launch.c: (main):
273 2005-10-26 Stefan Kost <ensonic@users.sf.net>
275 * examples/controller/audio-example.c: (main):
276 * examples/queue/queue.c: (event_loop):
277 * gst/base/gstbasetransform.h:
278 * gst/gstelement.c: (gst_element_send_event):
280 * gst/gstpad.c: (gst_pad_send_event):
283 changing log priority in error situations
285 2005-10-25 Wim Taymans <wim@fluendo.com>
287 * gst/gstbin.c: (message_check), (bin_replace_message),
288 (bin_remove_messages), (is_eos), (gst_bin_add_func),
289 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
290 (bin_query_duration_init), (bin_query_duration_fold),
291 (bin_query_duration_done), (bin_query_generic_fold),
293 Some doc and debug updates.
294 Cache previously requested query DURATION for speed. invalidate
295 cached duration if element posts a DURATION message.
297 2005-10-25 Wim Taymans <wim@fluendo.com>
299 * docs/design/part-TODO.txt:
302 * gst/gstbin.c: (message_check), (bin_replace_message),
303 (bin_remove_messages), (is_eos), (gst_bin_add_func),
304 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
305 (bin_query_duration_init), (bin_query_duration_fold),
306 (bin_query_duration_done), (bin_query_generic_fold),
308 Handle SEGMENT_START/DONE messages correctly.
309 More evolved query algorithm that handles duration queries
312 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
313 (gst_element_get_state_func), (gst_element_abort_state),
314 (gst_element_commit_state), (gst_element_lost_state):
320 2005-10-25 Wim Taymans <wim@fluendo.com>
322 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
323 Don't use invalid stream_time.
325 * gst/gstevent.c: (gst_event_new_newsegment):
326 stream_time in newsegment cannot be undefined.
328 2005-10-24 Wim Taymans <wim@fluendo.com>
333 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
335 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
337 2005-10-24 Stefan Kost <ensonic@users.sf.net>
339 * docs/libs/tmpl/gstdparam.sgml:
340 * docs/libs/tmpl/gstdplinint.sgml:
341 * docs/libs/tmpl/gstdpman.sgml:
342 * docs/libs/tmpl/gstdpsmooth.sgml:
343 * docs/libs/tmpl/gstunitconvert.sgml:
346 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
351 === release 0.9.4 ===
353 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
356 releasing 0.9.4, "Tyrannosaurus Rex"
358 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
360 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
361 (gst_file_sink_get_current_offset):
362 Use fseeko() and ftello() if available. When falling back on
363 lseek() to get the current offset, fflush() first to make sure
364 everything is up-to-date and we get the right offset.
366 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
368 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
369 * gst/base/gstbasesrc.c: (gst_base_src_loop):
370 * gst/gsterror.c: (_gst_stream_errors_init):
372 * gst/gstqueue.c: (gst_queue_loop):
374 remove prematurely added error category and clean up the instances
376 2005-10-21 Wim Taymans <wim@fluendo.com>
378 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
379 (gst_base_sink_get_position), (gst_base_sink_query),
380 (gst_base_sink_change_state):
381 Simply set the right flag when going to playing, that's all
382 we need to do instead of calling a function inside the object
383 lock (that could take the lock as well and deadlock)
385 2005-10-21 Wim Taymans <wim@fluendo.com>
387 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
389 Don't warn, the peer element knows what to do best when
390 the seek failed, it might try something else.
392 2005-10-21 Wim Taymans <wim@fluendo.com>
394 * gst/base/gstbasesrc.c: (gst_base_src_init),
395 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
398 2005-10-21 Wim Taymans <wim@fluendo.com>
400 * docs/design/part-segments.txt:
403 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
404 Correctly set caps, even on the subbufer.
406 2005-10-21 Wim Taymans <wim@fluendo.com>
408 * docs/gst/gstreamer-docs.sgml:
409 * docs/gst/gstreamer-sections.txt:
416 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
420 And 2% more doc coverage.
422 2005-10-21 Andy Wingo <wingo@pobox.com>
424 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
427 2005-10-20 Wim Taymans <wim@fluendo.com>
429 * gst/gsterror.c: (gst_error_get_message):
432 * gst/gststructure.c:
437 2005-10-20 Wim Taymans <wim@fluendo.com>
442 Another 1% more coverage.
444 2005-10-20 Wim Taymans <wim@fluendo.com>
446 * docs/gst/gstreamer-sections.txt:
447 * gst/gstelement.c: (gst_element_get_state_func),
448 (gst_element_abort_state), (gst_element_commit_state),
449 (gst_element_lost_state):
451 * gst/gstquery.c: (gst_query_set_position),
452 (gst_query_parse_position), (gst_query_set_duration),
453 (gst_query_parse_duration), (gst_query_new_convert):
455 Yay! 1% more docs coverage.
457 2005-10-20 Wim Taymans <wim@fluendo.com>
460 * gst/gstquery.c: (gst_query_set_position),
461 (gst_query_parse_position), (gst_query_set_duration),
462 (gst_query_parse_duration), (gst_query_new_convert):
464 * gst/gstutils.c: (gst_element_query_convert):
466 Docs and consistency fixes.
468 2005-10-20 Wim Taymans <wim@fluendo.com>
474 2005-10-20 Wim Taymans <wim@fluendo.com>
476 * gst/gstbin.c: (message_check), (bin_replace_message),
477 (bin_remove_messages), (is_eos), (gst_bin_add_func),
478 (update_degree), (gst_bin_sort_iterator_next),
479 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
480 Reworked the message handling a bit, cache the messages instead of
481 only the senders. alows us to do more in the future.
483 2005-10-20 Wim Taymans <wim@fluendo.com>
485 * docs/design/part-TODO.txt:
488 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
489 (gst_base_sink_query):
490 Don't use clock time to report position when in EOS.
492 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
494 * tools/gst-inspect.c: (print_interfaces),
495 (print_element_properties_info), (print_element_info):
496 Fix interface output with gst-inspect -a; don't print
497 newlines after double/float properties.
499 2005-10-20 Wim Taymans <wim@fluendo.com>
501 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
502 (gst_base_sink_query):
503 Speed up current position calculation.
505 * gst/base/gstbasesrc.c: (gst_base_src_query),
506 (gst_base_src_default_newsegment):
507 Correctly set stream position in newsegment.
509 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
510 (update_degree), (gst_bin_sort_iterator_next),
511 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
512 * gst/gstmessage.c: (gst_message_new_custom):
513 Clean up debugging info
515 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
516 (gst_queue_loop), (gst_queue_handle_src_query):
519 2005-10-19 Wim Taymans <wim@fluendo.com>
521 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
522 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
523 Fix query handling again.
525 2005-10-19 Wim Taymans <wim@fluendo.com>
527 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
528 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
529 * gst/base/gstbasesrc.c: (gst_base_src_query):
530 * gst/elements/gstfilesink.c: (gst_file_sink_query):
531 * gst/elements/gsttypefindelement.c:
532 (gst_type_find_handle_src_query), (find_element_get_length),
533 (gst_type_find_element_activate):
536 * gst/gstquery.c: (gst_query_new_position),
537 (gst_query_set_position), (gst_query_parse_position),
538 (gst_query_new_duration), (gst_query_set_duration),
539 (gst_query_parse_duration), (gst_query_set_segment),
540 (gst_query_parse_segment):
542 Bundling query position/duration is not a good idea since duration
543 does not change much and we don't want to recalculate it for every
544 position query, so they are separated again..
545 Base value in segment query is not needed.
547 * gst/gstqueue.c: (gst_queue_handle_src_query):
548 * gst/gstutils.c: (gst_element_query_position),
549 (gst_element_query_duration), (gst_pad_query_position),
550 (gst_pad_query_duration):
552 Updates for query API change.
553 Added some docs here and there.
555 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
557 * check/gst/gstbin.c: (GST_START_TEST):
558 * check/gst/gstghostpad.c: (GST_START_TEST):
559 * check/pipelines/cleanup.c: (GST_START_TEST):
560 wait on thread to die so we can check refcount correctly
562 2005-10-18 Wim Taymans <wim@fluendo.com>
564 * check/pipelines/stress.c: (GST_START_TEST):
565 Make check a little more time consuming.
567 2005-10-18 Wim Taymans <wim@fluendo.com>
570 * check/pipelines/stress.c: (GST_START_TEST),
571 (simple_launch_lines_suite), (main):
572 Small state change torture test.
574 * docs/design/part-states.txt:
575 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
576 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
577 (gst_base_sink_change_state):
578 Never take state lock from streaming thread, clean up ugly
579 hacks. Unfortunatly core does not yet support nice ways to
582 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
584 Start state recalc if a STATE_DIRTY message is posted, but only
587 * gst/gstelement.c: (gst_element_sync_state_with_parent),
588 (gst_element_get_state_func), (gst_element_abort_state),
589 (gst_element_commit_state), (gst_element_lost_state),
590 (gst_element_set_state_func), (gst_element_change_state):
592 State variables are now protected with the LOCK, the state
593 lock is only used to serialize _set_state().
595 2005-10-18 Wim Taymans <wim@fluendo.com>
597 * check/gst/gstbin.c: (GST_START_TEST):
598 * check/gst/gstmessage.c: (GST_START_TEST):
599 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
600 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
602 * gst/gstelement.c: (gst_element_abort_state),
603 (gst_element_commit_state), (gst_element_lost_state):
604 * gst/gstmessage.c: (gst_message_new_state_changed),
605 (gst_message_new_state_dirty), (gst_message_new_segment_start),
606 (gst_message_new_segment_done), (gst_message_new_duration),
607 (gst_message_parse_state_changed),
608 (gst_message_parse_segment_start),
609 (gst_message_parse_segment_done), (gst_message_parse_duration):
611 * tools/gst-launch.c: (event_loop):
612 Seriously, this is better than a previous commit as we only need
613 to notify the fact that an element changed state in a streaming
614 thread, marking the state of the parents dirty, hence the
615 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
618 2005-10-18 Wim Taymans <wim@fluendo.com>
620 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
621 (gst_bin_recalc_func):
622 * gst/gstelement.c: (gst_element_set_clock),
623 (gst_element_abort_state), (gst_element_lost_state):
624 Cleanups, prepare for state change fixes.
626 2005-10-18 Wim Taymans <wim@fluendo.com>
629 * gst/gstelement.c: (gst_element_class_init),
630 (gst_element_set_state), (gst_element_set_state_func):
633 GThreadPool in GstBinClass to monitor async state changes.
634 state_cookie in GstElement to detect concurrent gst/set state.
635 set_state is now virtual too in case a very complicated element
636 has to be constructed.
638 2005-10-18 Wim Taymans <wim@fluendo.com>
640 * check/gst/gstbin.c: (GST_START_TEST):
641 * check/gst/gstmessage.c: (GST_START_TEST):
642 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
643 * gst/gstbin.c: (bin_bus_handler):
644 * gst/gstelement.c: (gst_element_commit_state),
645 (gst_element_lost_state):
646 * gst/gstmessage.c: (gst_message_new_state_changed),
647 (gst_message_new_segment_start), (gst_message_new_segment_done),
648 (gst_message_new_duration), (gst_message_parse_state_changed),
649 (gst_message_parse_segment_start),
650 (gst_message_parse_segment_done), (gst_message_parse_duration):
652 * tools/gst-launch.c: (event_loop):
653 Make messages future proof.
654 state-change gets a flag if it was a message comming from the
656 segment-start/stop can also be specified in other formats.
657 A message to notify an app that a pipeline changed playback
659 Also fix a GstMessage leak in -launch
661 2005-10-18 Andy Wingo <wingo@pobox.com>
663 * gst/gstelement.c (gst_element_dispose): More helpful message.
665 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
667 * gst/gstregistry.c: (gst_registry_scan_path_level):
668 unref a plug-in we get that was already initialized
670 2005-10-18 Stefan Kost <ensonic@users.sf.net>
672 * docs/gst/gstreamer-sections.txt:
673 * docs/libs/gstreamer-libs-sections.txt:
678 2005-10-17 Andy Wingo <wingo@pobox.com>
680 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
683 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
685 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
687 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
688 (gst_element_get_state_func): Better debug message.
689 (gst_element_commit_state): s/INFO/DEBUG/.
690 (gst_element_lost_state, gst_element_change_state):
692 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
693 (gst_message_new_custom): s/INFO/LOG/.
695 2005-10-17 Michael Smith <msmith@fluendo.com>
697 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
698 Check if end time is valid using end time, not start time.
700 2005-10-17 Stefan Kost <ensonic@users.sf.net>
702 * check/gst-libs/controller.c: (GST_START_TEST),
703 (gst_controller_suite):
704 * libs/gst/controller/gstcontroller.c:
705 (gst_controlled_property_set_interpolation_mode):
706 * libs/gst/controller/gstcontroller.h:
707 * libs/gst/controller/gstinterpolation.c:
708 * testsuite/controller/.cvsignore:
709 * testsuite/controller/Makefile.am:
710 * testsuite/controller/interpolator.c:
711 merge controller testsuites
713 remove mem-chunk from docs
715 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
719 * gst/gsttrashstack.c:
720 * gst/gsttrashstack.h:
721 out. get out. you're fired. to the Attic !
723 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
725 * gst/gstcaps.c: (gst_caps_intersect):
726 fix signedness issues in a (hopefully) correct way
727 * gst/gstelement.c: (gst_element_pads_activate):
729 * gst/gstobject.c: (gst_object_set_parent):
732 2005-10-17 Julien MOUTTE <julien@moutte.net>
734 * gst/gstvalue.h: Fix prototypes.
736 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
738 * docs/gst/gstreamer-sections.txt:
739 * gst/gst.c: (gst_version_string):
741 * gst/gstversion.h.in:
742 * win32/common/libgstreamer.def:
743 add gst_version_string ()
745 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
749 * gst/gst.c: (init_post):
750 * win32/common/config.h.in:
752 * gst/gstcaps.c: (gst_caps_intersect):
753 use gint64, the range could be bigger than a guint
755 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
758 document potential problem in 2038
760 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
762 * gst/gstcaps.c: (gst_caps_intersect):
763 Fix guint j diving under 0
765 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
768 * win32/common/config.h:
769 * win32/common/config.h.in:
770 check for process.h, declares getpid() on Windows
772 include process.h if we have it
773 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
775 fix signedness issues
776 * win32/common/libgstreamer.def:
779 2005-10-16 Julien MOUTTE <julien@moutte.net>
781 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
782 fix. Because of unsigned ints, caps intersection was going nuts and
783 trying to access structures with G_MAXUINT index. That fixes
784 videotestsrc ! ffmpegcolorspace ! fakesink
785 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
788 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
791 use the gettext macro
792 * gst/elements/gstelements.c:
794 * gst/indexers/gstindexers.c:
795 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
796 * win32/common/config.h:
798 * win32/common/config.h.in:
799 add the template to generate config.h
800 * win32/common/gstenumtypes.c:
801 * win32/common/gstversion.h:
804 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
806 * gst/gst.c: (gst_version):
807 * gst/gstversion.h.in:
810 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
813 Oops, add missing closing bracket.
815 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
818 use common m4's for argument checking
820 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
822 * docs/gst/gstreamer-sections.txt:
824 Add GST_EVENT_TYPE_NAME() macro.
826 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
829 * gst/gstpluginfeature.c:
831 privatize more symbols
833 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
836 add srcdir, builddir includes to GST_ALL_CFLAGS, since
837 everything that uses GStreamer API should have the includes
839 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
841 * docs/gst/gstreamer-sections.txt:
842 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
844 give each value a _get_type, removes the DATA exports
846 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
850 remove _gst_registry_auto_load, not used anymore
851 * gst/gstbin.c: (gst_bin_get_type):
853 * gst/gstelement.c: (gst_element_get_type):
855 * gst/gstobject.c: (gst_object_get_type):
857 * gst/gstpad.c: (gst_pad_get_type):
859 make _get_type functions similar, fixes data export from library
861 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
864 correctly make conditionals
865 * gst/elements/Makefile.am:
866 * gst/elements/gstelements.c:
867 fix typo causing fdsrc not to build
869 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
871 * testsuite/Makefile.am:
872 * testsuite/bytestream/.cvsignore:
873 * testsuite/bytestream/Makefile.am:
874 * testsuite/bytestream/filepadsink.c:
875 * testsuite/bytestream/gstbstest.c:
876 * testsuite/bytestream/test1.c:
877 * testsuite/bytestream/testfile1:
878 * testsuite/caps/normalisation.c:
879 * testsuite/caps/random.c: (main):
880 * testsuite/cleanup/.cvsignore:
881 * testsuite/cleanup/Makefile.am:
882 * testsuite/cleanup/cleanup1.c:
883 * testsuite/cleanup/cleanup2.c:
884 * testsuite/cleanup/cleanup3.c:
885 * testsuite/cleanup/cleanup4.c:
886 * testsuite/cleanup/cleanup5.c:
887 * testsuite/controller/interpolator.c:
888 * testsuite/debug/printf_extension.c: (main):
889 * testsuite/elements/tee.c:
890 * testsuite/negotiation/.cvsignore:
891 * testsuite/negotiation/Makefile.am:
892 * testsuite/negotiation/pad_link.c:
893 * testsuite/pad/Makefile.am:
894 * testsuite/pad/chainnopull.c:
895 * testsuite/pad/getnopush.c:
896 * testsuite/pad/link.c:
897 * testsuite/refcounting/sched.c: (create_pipeline):
898 * testsuite/registry/Makefile.am:
899 * testsuite/registry/gst-print-formats.c:
900 * testsuite/schedulers/.cvsignore:
901 * testsuite/schedulers/142183-2.c:
902 * testsuite/schedulers/142183.c:
903 * testsuite/schedulers/143777-2.c:
904 * testsuite/schedulers/143777.c:
905 * testsuite/schedulers/147713.c:
906 * testsuite/schedulers/147819.c:
907 * testsuite/schedulers/147894-2.c:
908 * testsuite/schedulers/147894.c:
909 * testsuite/schedulers/Makefile.am:
910 * testsuite/schedulers/group_link.c:
911 * testsuite/schedulers/queue_link.c:
912 * testsuite/schedulers/relink.c:
913 * testsuite/schedulers/unlink.c:
914 * testsuite/schedulers/unref.c:
915 * testsuite/schedulers/useless_iteration.c:
916 * testsuite/states/bin.c:
917 clean out/remove some stuff from the testsuite directories
919 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
922 check for some headers
923 * gst/elements/Makefile.am:
924 * gst/elements/gstelements.c:
925 don't compile fdsrc without sys/socket.h
926 * gst/indexers/Makefile.am:
927 * gst/indexers/gstindexers.c: (plugin_init):
928 don't compile fileindex without mmap
930 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
938 * docs/gst/Makefile.am:
939 * examples/helloworld/Makefile.am:
941 * gst/base/Makefile.am:
942 * gst/check/Makefile.am:
943 * gst/elements/Makefile.am:
944 * gst/indexers/Makefile.am:
945 * gst/parse/Makefile.am:
946 * libs/gst/controller/Makefile.am:
947 * libs/gst/dataprotocol/Makefile.am:
948 * examples/helloworld/helloworld.c: (event_loop):
949 compile fixes, though it's not being compiled currently
951 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
953 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
954 Add some simple tests for the new taglist date API.
956 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
958 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
959 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
960 Beautify 'last-message' output: print 'none' for buffer timestamps
961 and durations if none is set; improve alignment with next messages.
963 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
965 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
966 * gst/gstpluginfeature.h:
967 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
969 * docs/gst/gstreamer-sections.txt:
970 Add new API to check plugin feature version requirements.
972 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
973 Some basic tests for the above.
975 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
977 * gst/gststructure.c: (gst_structure_to_string):
978 guard against NULL printf - happens when for example
979 a message structure with GstClock gets serialized
981 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
983 * gst/base/gstcollectpads.c: (gst_collectpads_event):
984 Fix presumable copy'n'pasto.
986 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
988 * gst/elements/gstfakesrc.h:
989 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
990 * gst/elements/gsttypefindelement.c:
992 * gst/elements/gstfilesink.c: (gst_file_sink_render):
993 I wonder if this could actually write +2GB files before
995 2005-10-13 Andy Wingo <wingo@pobox.com>
997 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
998 Fix Timmeke Waymans bug.
999 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1000 string of the proper length to gst_caps_from_string. There's a
1001 potential for, before this fix, that this could cause someone
1002 connecting over the network to cause a segfault if the payload is
1005 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1007 * docs/design/draft-push-pull.txt:
1008 * docs/design/part-overview.txt:
1009 * docs/random/TODO-pre-0.9:
1010 * docs/random/old/ChangeLog.gstreamer:
1011 * gst/base/gstpushsrc.c:
1015 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1017 * gst/glib-compat.c: (gst_flags_get_first_value):
1018 * gst/glib-compat.h:
1019 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1020 (gst_value_compare_double), (gst_value_serialize_flags):
1021 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1024 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1026 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1027 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1029 * tools/gst-launch.c: (event_loop):
1030 print out clock nicely
1032 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1034 * docs/gst/gstreamer-sections.txt:
1036 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1037 (gst_tag_list_get_date_index):
1038 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1039 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1041 2005-10-13 Julien MOUTTE <julien@moutte.net>
1043 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1044 (gst_collectpads_chain):
1045 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1048 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1050 * docs/gst/gstreamer-sections.txt:
1053 * tools/gst-inspect.c: (main):
1054 * tools/gst-launch.c: (main):
1055 * tools/gst-run.c: (main):
1056 * tools/gst-xmlinspect.c: (main):
1057 fix GOption context leaks
1060 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1064 * win32/common/config.h:
1066 * win32/vs6/grammar.dsp:
1067 * win32/vs6/libgstelements.dsp:
1068 * win32/vs6/libgstreamer.dsp:
1071 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1073 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1074 * gst/base/gstbasesrc.c: (gst_base_src_query):
1075 fix more guint64<->gdouble conversions
1077 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1080 add win32-update target
1081 * win32/common/gstconfig.h:
1082 * win32/common/gstenumtypes.c:
1083 * win32/common/gstenumtypes.h:
1084 * win32/common/gstversion.h:
1085 add files that visual studio can't generate
1087 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1090 add a win32-update target
1093 2005-10-12 Wim Taymans <wim@fluendo.com>
1095 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1096 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1097 * gst/gstelement.c: (gst_element_commit_state),
1098 (gst_element_set_state):
1099 Protect flags with proper lock.
1100 unref provided cached clock in dispose.
1102 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1105 * gst/gstminiobject.h:
1107 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1108 removed unused flags from miniobject
1111 2005-10-12 Wim Taymans <wim@fluendo.com>
1113 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1114 (gst_file_sink_event), (gst_file_sink_render):
1115 Flush before seeking.
1117 2005-10-12 Andy Wingo <wingo@pobox.com>
1119 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1120 always been the case.
1122 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1124 * check/gst/gstbin.c: (GST_START_TEST):
1125 * docs/gst/gstreamer-sections.txt:
1126 * gst/base/gstbasesink.c: (gst_base_sink_init):
1127 * gst/base/gstbasesrc.c: (gst_base_src_init),
1128 (gst_base_src_get_range), (gst_base_src_check_get_range),
1129 (gst_base_src_start), (gst_base_src_stop):
1130 * gst/base/gstbasesrc.h:
1131 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1132 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1133 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1137 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1139 * gst/gstelement.c: (gst_element_is_locked_state),
1140 (gst_element_set_locked_state), (gst_element_commit_state),
1141 (gst_element_set_state):
1143 * gst/gstindex.c: (gst_index_init):
1145 * gst/gstminiobject.h:
1146 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1147 (gst_object_set_parent):
1149 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1150 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1152 * gst/gstpadtemplate.h:
1153 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1154 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1155 * gst/gstpipeline.h:
1156 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1157 (gst_file_index_commit):
1158 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1159 * testsuite/pad/link.c: (gst_test_src_init),
1160 (gst_test_filter_init), (gst_test_sink_init):
1161 * testsuite/states/locked.c: (main):
1162 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1163 moved bitshift from macro to enum definition
1165 2005-10-12 Wim Taymans <wim@fluendo.com>
1167 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1168 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1169 (gst_file_sink_render):
1170 Some more debugging info.
1172 2005-10-12 Wim Taymans <wim@fluendo.com>
1174 * docs/design/part-states.txt:
1175 * tools/gst-launch.c: (main):
1177 Revert non-intentional change.
1179 2005-10-12 Wim Taymans <wim@fluendo.com>
1181 * check/gst/gstbin.c: (GST_START_TEST):
1182 * check/gst/gstelement.c: (GST_START_TEST):
1183 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1184 * check/gst/gstghostpad.c: (GST_START_TEST):
1185 * check/gst/gstpipeline.c: (GST_START_TEST):
1186 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1187 * check/states/sinks.c: (GST_START_TEST):
1188 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1189 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1190 (gst_bin_remove_func), (gst_bin_get_state_func),
1191 (gst_bin_recalc_state), (gst_bin_change_state_func),
1193 * gst/gstelement.c: (gst_element_get_state_func),
1194 (gst_element_get_state), (gst_element_abort_state),
1195 (gst_element_commit_state), (gst_element_set_state),
1196 (gst_element_change_state), (gst_element_change_state_func):
1198 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1199 (gst_pipeline_provide_clock_func):
1200 * gst/gstutils.c: (gst_element_link_pads_filtered):
1201 * tools/gst-launch.c: (main):
1202 * tools/gst-typefind.c: (main):
1203 Use GstClockTime in _get_state() instead of GTimeVal.
1204 Remove old code in gstutils.c
1206 2005-10-12 Andy Wingo <wingo@pobox.com>
1208 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1211 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1212 there is no task. Shouldn't affect any code, as nothing in our
1213 plugins checks this return value.
1214 (gst_pad_stop_task): Also take the stream lock if the pad has no
1217 2005-10-12 Wim Taymans <wim@fluendo.com>
1219 * gst/gstpad.c: (pre_activate), (post_activate),
1220 (gst_pad_activate_pull), (gst_pad_activate_push):
1221 Cleanup activation code. Reset old state if
1224 2005-10-12 Wim Taymans <wim@fluendo.com>
1226 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1227 (gst_base_sink_change_state):
1228 No need to prerol after receiving EOS.
1230 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1231 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1232 * gst/elements/gstidentity.c: (gst_identity_event):
1233 Print events more verbosely.
1235 2005-10-12 Wim Taymans <wim@fluendo.com>
1237 * check/Makefile.am:
1238 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1239 * check/states/sinks2.c:
1240 Moved sinks2 testcode in sinks check.
1242 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1243 (gst_bin_remove_func), (gst_bin_recalc_state),
1244 (gst_bin_change_state_func), (bin_bus_handler):
1245 Fix potential race condition when _get_state() iterated over an
1246 ASYNC element right before it posted a state completion.
1249 Do proper cast here.
1251 * gst/gstevent.c: (gst_event_new_newsegment),
1252 (gst_event_parse_newsegment):
1253 A playback rate of 0.0 is not allowed.
1255 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1257 * win32/common/config.h:
1258 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1259 (_trewinddir), (_ttelldir), (_tseekdir):
1260 * win32/common/dirent.h:
1261 * win32/common/gtchar.h:
1262 * win32/common/libgstbase.def:
1263 * win32/common/libgstreamer.def:
1264 * win32/vs6/grammar.dsp:
1265 * win32/vs6/gst_inspect.dsp:
1266 * win32/vs6/gst_launch.dsp:
1267 * win32/vs6/gstreamer.dsw:
1268 * win32/vs6/libgstbase.dsp:
1269 * win32/vs6/libgstelements.dsp:
1270 * win32/vs6/libgstreamer.dsp:
1271 Visual Studio 6 project files, and a new common directory.
1274 2005-10-11 Wim Taymans <wim@fluendo.com>
1276 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1277 (gst_base_sink_do_sync), (gst_base_sink_query),
1278 (gst_base_sink_change_state):
1279 * gst/base/gstbasesink.h:
1280 Correctly parse newsegment info.
1282 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1284 * gst/gst.c: (init_post):
1285 split plugin paths correctly
1287 2005-10-11 Wim Taymans <wim@fluendo.com>
1289 * check/gst/gstevent.c: (GST_START_TEST):
1290 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1291 (gst_base_sink_change_state):
1292 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1293 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1294 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1295 * gst/gstevent.c: (gst_event_new_newsegment),
1296 (gst_event_parse_newsegment):
1298 Added extra flag to newsegment for future API freeze.
1299 Updated check and base elements.
1301 2005-10-11 Julien MOUTTE <julien@moutte.net>
1303 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1304 (gst_collectpads_add_pad), (gst_collectpads_pop),
1305 (gst_collectpads_event), (gst_collectpads_chain):
1306 * gst/base/gstcollectpads.h: Handle EOS correctly.
1308 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1310 * tools/gst-launch.c: (main):
1311 more null protecting
1313 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1315 * gst/gst-i18n-lib.h:
1316 check for ENABLE_NLS, not GETTEXT_PACKAGE
1317 * gst/gstregistry.c: (gst_registry_add_plugin),
1318 (gst_registry_scan_path_level),
1319 (_gst_registry_remove_cache_plugins):
1320 protect possibly NULL strings
1321 * gst/parse/types.h:
1322 config.h already included before
1323 * tools/gst-inspect.c: (main):
1324 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1325 check for ENABLE_NLS, not GETTEXT_PACKAGE
1326 * tools/gst-launch.c: (main):
1327 check for ENABLE_NLS, not GETTEXT_PACKAGE
1329 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1332 if we don't have glib, fail before testing 2.8
1333 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1334 fix a leak, should fix plugins-base testsuite
1336 2005-10-11 Andy Wingo <wingo@pobox.com>
1338 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1339 take the mode we're going to as an arg. Go head and set the mode
1340 and flushing flags now, so that if the activate function starts a
1341 thread all the flags will be in the right state.
1342 (post_activate): Renamed also. Just handle making sure streaming
1343 finishes for the deactivation case, and setting the deactivated
1345 (gst_pad_set_active): Complain loudly if deactivation fails.
1346 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1347 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1348 remove the terrible hack.
1350 2005-10-11 Wim Taymans <wim@fluendo.com>
1352 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1353 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1354 (gst_bin_recalc_state), (gst_bin_change_state_func),
1355 (gst_bin_dispose), (bin_bus_handler):
1357 Prepare to make current EOS message queue more generic.
1360 * gst/gstevent.c: (gst_event_new_newsegment),
1361 (gst_event_parse_newsegment):
1363 Rename base to stream_time.
1368 2005-10-11 Wim Taymans <wim@fluendo.com>
1370 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1371 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1372 (gst_bin_change_state_func), (bin_bus_handler):
1374 Work on proper clock selection.
1376 2005-10-11 Edward Hervey <edward@fluendo.com>
1378 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1379 * libs/gst/controller/gstcontroller.h:
1380 Added GList* version of _remove_properties() in order to be able to wrap
1383 2005-10-11 Wim Taymans <wim@fluendo.com>
1385 * docs/design/part-states.txt:
1388 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1389 (gst_bin_change_state_func), (bin_bus_handler):
1390 Doc updates. Don't distribute the same clock over and over again.
1396 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1397 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1398 (gst_pad_send_event):
1400 Make probe emission threadsafe again.
1401 Register quarks and move _get_name() from utils.
1404 * gst/gstpipeline.c: (gst_pipeline_class_init),
1405 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1406 Only redistribute the clock of it changed.
1408 * gst/gstsystemclock.h:
1413 Moved the _flow_get_name() to GstPad.
1415 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1417 * check/gst-libs/gdp.c: (GST_START_TEST):
1418 * check/gst/gstcaps.c: (GST_START_TEST):
1419 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1420 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1421 (gst_dp_packet_from_caps):
1422 fix more valgrind warnings before turning up the heat
1424 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1426 * gst/parse/grammar.y:
1427 some cleanup before the hacking
1429 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1431 * gst/base/gstbasesrc.c: (gst_base_src_query):
1433 * gst/gstutils.c: (gst_guint64_to_gdouble),
1434 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1436 externalize, basesrc uses it
1437 obviously the implementation needs testing
1439 2005-10-10 Wim Taymans <wim@fluendo.com>
1441 * tests/sched/Makefile.am:
1442 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1443 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1445 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1447 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1448 apparently converting from guint64 to double is not implemented
1451 2005-10-10 Wim Taymans <wim@fluendo.com>
1453 * check/Makefile.am:
1454 * check/generic/states.c: (GST_START_TEST):
1455 * check/gst/gstbin.c: (GST_START_TEST):
1456 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1457 * check/states/sinks.c: (GST_START_TEST):
1458 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1460 Check fixes, use API as stated in design docs, remove hacks.
1462 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1463 (gst_base_sink_change_state):
1464 Catch stopping our task while we're shutting down.
1466 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1467 (gst_bin_remove_func), (gst_bin_get_state_func),
1468 (gst_bin_recalc_state), (gst_bin_change_state_func),
1471 * gst/gstelement.c: (gst_element_init),
1472 (gst_element_get_state_func), (gst_element_abort_state),
1473 (gst_element_commit_state), (gst_element_lost_state),
1474 (gst_element_set_state), (gst_element_change_state),
1475 (gst_element_change_state_func):
1477 New state change algorithm (see #318116)
1479 * gst/gstpipeline.c: (gst_pipeline_class_init),
1480 (gst_pipeline_init), (gst_pipeline_set_property),
1481 (gst_pipeline_get_property), (do_pipeline_seek),
1482 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1483 * gst/gstpipeline.h:
1484 Remove crude state change hacks.
1489 * tools/gst-launch.c: (main):
1490 Fixes for state change. Needs some more work to fully use the
1493 2005-10-10 Andy Wingo <wingo@pobox.com>
1495 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1497 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1498 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1501 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1503 * gst/gstiterator.c: (gst_iterator_new):
1504 Fix my previous commit: GTypes passed to gst_iterator_new()
1505 can be fundamental types.
1507 2005-10-10 Wim Taymans <wim@fluendo.com>
1509 * gst/gstelement.c: (gst_element_iterate_pad_list),
1510 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1511 (gst_element_iterate_sink_pads):
1512 Use src/sink pads lists for the respective iterators instead
1515 2005-10-10 Andy Wingo <wingo@pobox.com>
1517 Merged in popt removal + GOption addition patch from Ronald, bug
1520 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1521 GstElement macros around, remove popt-related symbols, add goption
1524 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1526 * docs/gst/Makefile.am:
1527 * docs/libs/Makefile.am: No POPT_CFLAGS.
1529 * examples/manual/Makefile.am:
1530 * docs/manual/basics-init.xml: Doc updates with an example.
1532 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1533 (gst_init), (parse_one_option), (parse_goption_arg):
1534 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1535 bit of hand merging and debugging to get the GOption stuff working
1538 * tests/Makefile.am:
1539 * tools/Makefile.am:
1540 * tools/gst-inspect.c: (main):
1541 * tools/gst-launch.c: (main):
1542 * tools/gst-run.c: (main):
1543 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1545 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1547 * gst/gstiterator.c: (gst_iterator_new):
1548 Add assertions to make sure passed GType is likely to really
1549 be a GType (as the compiler won't catch it if the size and
1550 GType arguments get mixed up, see #318447).
1552 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1554 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1556 * gst/gstbin.c: (gst_bin_iterate_sorted):
1557 Pass GType and size arguments to gst_iterator_new() in the right
1558 order (maybe we should make _new() take the GType as first argument
1559 just like _new_list()?) (#318447).
1562 2005-10-10 Wim Taymans <wim@fluendo.com>
1564 * gst/gstelement.c: (gst_element_finalize):
1565 And free the GStaticRecMutex too
1567 2005-10-10 Andy Wingo <wingo@pobox.com>
1569 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1570 Allocate and free the mutex properly.
1572 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1574 (GstElement): The state_lock is now recursive. Rebuild your
1575 plugins, suckers. Old macros adapted.
1577 * docs/gst/gstreamer-sections.txt: Doc updates.
1580 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1581 (g_static_rec_cond_wait): Ported from state changes patch, while
1582 we wait on bug #317802 to be solved in a well-distributed GLib.
1584 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1585 gst_element_change_state, variable name changes.
1586 (gst_element_change_state): Split out of gst_element_set_state in
1587 preparation for the state change merge. Doesn't pay attention to
1588 the 'transition' argument.
1589 (gst_element_set_state): Updates, hopefully purely cosmetic.
1590 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1592 (gst_element_get_state_func): Renamed from get_state, cosmetic
1595 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1597 * gst/elements/gstelements.c:
1598 * win32/GStreamer.vcproj:
1600 * win32/dirent.c: (_tseekdir):
1601 * win32/gst-inspect.vcproj:
1602 * win32/gst-launch.vcproj:
1603 * win32/gstconfig.h:
1604 * win32/gstelements.vcproj:
1605 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1606 * win32/gstreamer.def:
1608 updates for the win32 build (patch from Sebastien Moutte)
1610 2005-10-10 Andy Wingo <wingo@pobox.com>
1612 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1613 gst_bin_get_state, cleaned up (but no logic changes).
1614 (bin_element_is_sink): Comment updates.
1615 (sink_iterator_filter): Remove needless cast.
1616 (gst_bin_iterate_sinks): Doc update.
1617 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1618 cleaned up (but no logic changes).
1620 * check/states/sinks.c (test_src_sink): Cleanups from the state
1622 (test_livesrc_sink): Sync on the state.
1624 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1625 the state change patch.
1627 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1630 * check/gst/gstbin.c: Merge in some style fixes and additional
1631 checks from Wim's state change patch.
1633 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1635 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1636 (gst_type_find_helper):
1637 Check whether we have the requested data already in our list of
1638 cached buffers before pulling a new buffer; also make the buffer
1639 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1641 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1646 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1647 don't use long long, it's not portable. Replacing with
1648 gint64 seems to work; let's hope no skeletons fall out of the closet.
1650 2005-10-10 Andy Wingo <wingo@pobox.com>
1652 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1654 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1656 * docs/gst/gstreamer-sections.txt:
1661 * gst/gstmessage.c: (gst_message_parse_state_changed):
1664 more docs, fix compilation
1666 2005-10-09 Philippe Khalaf <burger@speedy.org>
1668 Fixed a few forgotten variables on previous commit
1670 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1672 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1673 Fix evil typefind crasher: getrange() might return a short
1674 buffer at the end of a file, but gst_type_find_peek() must
1675 either return the full data as requested or NULL, but
1676 never a short buffer.
1678 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1680 * gst/gstmessage.c: (gst_message_new_state_changed),
1681 (gst_message_parse_state_changed):
1683 don't use "new", it's a C++ keyword
1685 2005-10-08 Wim Taymans <wim@fluendo.com>
1687 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1688 * gst/gstelement.c: (gst_element_post_message):
1689 * gst/gstpipeline.c: (gst_pipeline_change_state):
1690 Small docs and debug updates.
1692 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1694 * docs/gst/gstreamer-sections.txt:
1695 * gst/gstelementfactory.c:
1700 2005-10-08 Wim Taymans <wim@fluendo.com>
1702 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1703 (gst_bin_dispose), (bin_bus_handler):
1704 Fix typos, add comments.
1705 Clear EOS list when going to PAUSED from any direction and do it
1706 in a threadsafe way.
1707 Get base time in a threadsafe way too.
1708 Fix confusing debug in the change_state function.
1709 Various other small cleanups.
1711 * gst/gstelement.c: (gst_element_post_message):
1712 Fix very verbose bus posting code.
1714 * gst/gstpipeline.c: (gst_pipeline_class_init),
1715 (gst_pipeline_set_property), (gst_pipeline_get_property),
1716 (gst_pipeline_change_state):
1717 Small ARG_ -> PROP_ cleanup
1719 2005-10-08 Wim Taymans <wim@fluendo.com>
1721 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1722 Do a less CPU demanding EOS check because we can.
1724 2005-10-08 Wim Taymans <wim@fluendo.com>
1726 * libs/gst/dataprotocol/dataprotocol.c:
1727 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1728 (gst_dp_packet_from_event):
1729 * libs/gst/dataprotocol/dataprotocol.h:
1730 * libs/gst/dataprotocol/dp-private.h:
1731 It's about time we bump the version number.
1732 Since event types don't fit in the guint8 anymore describing
1733 the payload type, make payload type 16 bits wide.
1735 2005-10-08 Wim Taymans <wim@fluendo.com>
1737 * docs/design/part-TODO.txt:
1738 * docs/design/part-clocks.txt:
1739 * docs/design/part-events.txt:
1740 * docs/design/part-gstbin.txt:
1741 * docs/design/part-gstelement.txt:
1742 * docs/design/part-gstpipeline.txt:
1743 * docs/design/part-live-source.txt:
1744 * docs/design/part-messages.txt:
1745 * docs/design/part-overview.txt:
1746 * docs/design/part-states.txt:
1749 2005-10-08 Wim Taymans <wim@fluendo.com>
1753 Fix event quark registration.
1754 Add some space between events so we can insert them in the
1757 2005-10-08 Wim Taymans <wim@fluendo.com>
1759 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1760 (gst_base_sink_handle_buffer):
1767 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1768 (gst_queue_set_property), (gst_queue_get_property):
1770 Remove old unused properties.
1772 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1773 * docs/gst/gstreamer-sections.txt:
1776 * gst/gstminiobject.c:
1777 * gst/gstminiobject.h:
1781 lots of new docs and doc fixes
1783 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1785 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1787 * gst/gstregistry.c: (gst_registry_lookup_locked),
1788 (gst_registry_scan_path_level):
1789 * gst/gstregistryxml.c: (load_plugin):
1790 Only ever load one plugin for a given plugin basename.
1791 This ensures correct overriding of GST_PLUGIN_PATH over
1792 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1793 system installed plugins.
1795 2005-10-08 Wim Taymans <wim@fluendo.com>
1797 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1798 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1799 Prepare for doing QOS.
1801 2005-10-08 Wim Taymans <wim@fluendo.com>
1803 * check/gst/gstbin.c: (GST_START_TEST):
1804 * check/pipelines/cleanup.c: (GST_START_TEST):
1805 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1806 Allow new clock message too.
1808 2005-10-08 Wim Taymans <wim@fluendo.com>
1810 * gst/gstmessage.c: (gst_message_new_error),
1811 (gst_message_new_warning), (gst_message_new_tag),
1812 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1813 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1814 (gst_message_new_segment_start), (gst_message_new_segment_done),
1815 (gst_message_parse_state_changed),
1816 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1817 (gst_message_parse_new_clock):
1819 Also carry the clock in question.
1821 2005-10-08 Wim Taymans <wim@fluendo.com>
1823 * gst/gstmessage.c: (gst_message_new_custom),
1824 (gst_message_new_eos), (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_new_clock), (gst_message_new_segment_start),
1828 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1829 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1832 Added clock related messages.
1834 * gst/gstpipeline.c: (gst_pipeline_change_state):
1835 Post message when the clock changed.
1837 * tools/gst-launch.c: (event_loop):
1840 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
1842 * tools/gst-inspect.c: (print_element_properties_info):
1843 Can't pass NULL strings to g_print() on windows.
1845 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1848 * docs/gst/Makefile.am:
1849 * docs/gst/gstreamer-docs.sgml:
1850 * docs/gst/running.xml:
1851 * docs/version.entities.in:
1852 add a chapter on running GStreamer.
1853 document GST_DEBUG and GST_PLUGIN* env vars
1855 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1860 remove PLUGINS_BUILDDIR stuff
1861 * gst/gst.c: (init_post):
1862 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
1864 remove, it was condescending and not needed
1866 2005-10-08 Wim Taymans <wim@fluendo.com>
1868 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1869 (gst_base_sink_handle_object), (gst_base_sink_event),
1870 (gst_base_sink_wait), (gst_base_sink_handle_event),
1871 (gst_base_sink_change_state):
1872 * gst/base/gstbasesink.h:
1873 Repost EOS message while going to PLAYING if still EOS.
1874 Make sure that when receiving a FLUSH_START we don't attempt
1875 to sync on the clock anymore.
1877 2005-10-08 Wim Taymans <wim@fluendo.com>
1879 * tools/gst-launch.c: (event_loop):
1880 Better message printout.
1882 2005-10-08 Wim Taymans <wim@fluendo.com>
1884 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
1885 (gst_bin_child_proxy_get_children_count):
1886 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1887 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
1888 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
1889 (gst_child_proxy_set_valist):
1890 * gst/parse/grammar.y:
1891 Make ChildProxy threadsafe and fix mem leaks.
1893 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1895 * gst/gst.c: (init_post):
1896 debug the GST_PLUGIN_ env vars
1898 2005-10-08 Wim Taymans <wim@fluendo.com>
1900 * check/gst/gstbin.c: (GST_START_TEST):
1901 * check/gst/gstmessage.c: (GST_START_TEST):
1902 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1903 * gst/gstelement.c: (gst_element_commit_state),
1904 (gst_element_lost_state):
1905 * gst/gstmessage.c: (gst_message_new_state_changed),
1906 (gst_message_parse_state_changed):
1908 * tools/gst-launch.c: (event_loop):
1909 Added extra field to STATE_CHANGE message with the pending
1910 state, which will be different from the new state soon.
1912 2005-10-08 Wim Taymans <wim@fluendo.com>
1914 * gst/gstbus.c: (gst_bus_pop):
1916 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1917 Small cleanups and doc updates.
1919 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1921 * gst/gst.c: (init_pre):
1922 * gst/gstbin.c: (gst_bin_add_func):
1923 log distributing clocks and base time
1924 * gst/gstregistry.c: (gst_registry_add_plugin),
1925 (gst_registry_scan_path_level), (gst_registry_scan_path):
1926 clean up the debugging output a little
1927 * gst/gstutils.c: (gst_element_state_get_name):
1928 warn about a memleak (I've actually seen this be used, though
1929 it was probably a bug)
1931 2005-10-07 Wim Taymans <wim@fluendo.com>
1933 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1934 (gst_base_src_init), (gst_base_src_default_newsegment),
1935 (gst_base_src_newsegment), (gst_base_src_do_seek),
1936 (gst_base_src_loop), (gst_base_src_start):
1937 * gst/base/gstbasesrc.h:
1938 Make the newsegment event customizable by subclasses.
1940 2005-10-07 Wim Taymans <wim@fluendo.com>
1942 * gst/gstevent.c: (gst_event_new_buffersize),
1943 (gst_event_parse_buffersize):
1945 New event for future idea.
1947 2005-10-07 Andy Wingo <wingo@pobox.com>
1949 * gst/gstelement.c (gst_element_post_message): Doc update.
1951 * docs/gst/gstreamer-sections.txt: Update.
1953 * gst/gstmessage.c (gst_message_new_application): Made into a
1954 function like honest API calls.
1955 (gst_message_new_element): New message type.
1957 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
1959 * check/elements/fakesrc.c (test_no_preroll): New check, checks
1960 that setting a live fakesrc to PAUSED returns NO_PREROLL both
1963 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
1964 NO_PREROLL from gst_element_change_state to fall through.
1966 2005-10-07 Wim Taymans <wim@fluendo.com>
1968 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
1969 (gst_ghost_pad_do_activate_push):
1970 Activating a ghostpad with no internal pad in push mode
1973 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
1976 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
1977 Fixes compilation on Windows.
1979 2005-10-07 Michael Smith <msmith@fluendo.com>
1981 * tools/gst-inspect.c:
1982 Print out feature and plugin count at the end when printing out
1985 2005-10-04 Michael Smith <msmith@fluendo.com>
1987 * gst/gsterror.c: (_gst_stream_errors_init):
1988 Add another error string used in a few existing plugins.
1991 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1992 * tools/gst-inspect.c: (print_element_info):
1993 When a feature disappears from a plugin (and the feature exists in
1994 the cached registry file), things went horribly wrong. This isn't a
1995 complete fix, we should actually be removing the 'missing' features
1996 from the features list when we load the actual plugin. That's not
1999 2005-10-04 Johan Dahlin <johan@gnome.org>
2001 * check/gst/gstiterator.c: (GST_START_TEST):
2002 * gst/gstbin.c: (gst_bin_iterate_elements),
2003 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2004 * gst/gstelement.c: (gst_element_iterate_pads):
2005 * gst/gstformat.c: (gst_format_iterate_definitions):
2006 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2007 (gst_iterator_new_list), (gst_iterator_filter):
2008 * gst/gstiterator.h:
2009 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2010 Add a GType to GstIterator, update callsites and tests.
2012 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2014 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2015 give events a chance to be handled by event probes when the pad
2018 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2020 * gst/gstevent.c: (gst_event_type_get_name),
2021 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2023 add string representations for event types
2025 2005-10-06 Wim Taymans <wim@fluendo.com>
2027 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2028 Don't use NULL pointers.
2030 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2032 * gst/gst_private.h:
2036 * gst/gstpluginfeature.c:
2037 widen the debug category in output to fit the biggest one we have
2038 add a bus category and use it
2039 play with the colors
2040 fix up some categories
2042 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2044 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2045 add push activation of sink ghost pads.
2046 Andye, please verify
2048 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2050 * gst/gstutils.c: (gst_element_link_pads):
2051 fix a bug in the case where neither element has a pad
2052 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2053 add a test for that case
2055 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2057 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2058 emit have-data before checking for peers. This allows
2059 for probe handlers to connect elements. This helps autopluggers.
2060 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2062 add six checks, linked/unlinked with no/true/false probe
2064 2005-10-04 Wim Taymans <wim@fluendo.com>
2066 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2067 (gst_fake_sink_event), (gst_fake_sink_preroll),
2068 (gst_fake_sink_render), (gst_fake_sink_change_state):
2069 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2070 (gst_fake_src_get_property), (gst_fake_src_create),
2071 (gst_fake_src_stop):
2072 * gst/elements/gstidentity.c: (gst_identity_stop):
2073 Protect last_message with lock.
2075 2005-10-04 Edward Hervey <edward@fluendo.com>
2078 Added precision in the comments for GST_FORMAT_DEFAULT
2080 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2082 * tools/gst-launch.c: (main):
2083 Don't try to run erroneous pipelines.
2085 2005-10-04 Julien MOUTTE <julien@moutte.net>
2087 * gst/gstbus.c: We don't need this header.
2089 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2094 === release 0.9.3 ===
2096 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2100 Releasing 0.9.3, "Unregistered"
2102 2005-10-03 Andy Wingo <wingo@pobox.com>
2104 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2105 whereby calling a pad's activatepush() function can start a thread
2106 that starts to push or pull before the pad gets the FLUSHING flag
2107 unset. Hack around it by holding the stream lock until the flag is
2108 set. Need to replace this with a proper solution. Together with
2109 the ghost pad fixes, this fixes mp3 playing/tagreading.
2111 * docs/design/part-gstghostpad.txt: Add a note about activation of
2112 proxy pads outside of ghost pads.
2114 * gst/gstghostpad.c: Implement the ghost pad activation design.
2116 2005-10-02 Andy Wingo <wingo@pobox.com>
2118 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2119 It is volatile, after all.
2121 * docs/design/part-gstghostpad.txt: Flesh out activation with
2124 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2127 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2130 Fix (unused) AM_CONDITIONAL tests.
2132 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2134 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2136 * gst/gstutils.c: (gst_pad_query_convert):
2137 Add assertion that makes sure src_val is >=0, just like
2138 gst_query_new_convert() has. (#315895)
2140 2005-09-30 Edward Hervey <edward@fluendo.com>
2142 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2143 Let's not iterate pads we're not interested in, it avoids getting
2144 sky-high refcounts on sinkpad.
2146 2005-09-30 Wim Taymans <wim@fluendo.com>
2148 * gst/gstelement.c: (gst_element_set_state),
2149 (gst_element_change_state):
2150 Small tweak, element in ASYNC remains ASYNC.
2152 2005-09-30 Wim Taymans <wim@fluendo.com>
2154 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2155 Only error is an error.
2157 * gst/gstbin.c: (gst_bin_change_state):
2160 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2161 Also call pad_block in pad alloc.
2163 * gst/gstutils.c: (gst_flow_get_name):
2166 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2168 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2169 (gst_base_src_get_range):
2170 Fix documentation typos. Add some more debug info.
2172 2005-09-29 David Schleef <ds@schleef.org>
2174 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2175 more end-user friendly.
2176 * tools/gst-inspect.c: (main): Check if command-line argument is
2177 a file and attempt to load that file as a plugin.
2179 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2181 * check/gst/gstbin.c:
2182 * check/states/sinks.c:
2183 fix tests for the new warning
2184 * check/gst/gstpipeline.c:
2185 add a test for pipeline and bus interaction
2187 elements should be NULL if they get disposed; add a warning if not
2189 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2192 for 2.6 refcounting, make debug log more correct by printing
2193 the actual refcounts at the time of swap (Wim)
2195 2005-09-29 Andy Wingo <wingo@pobox.com>
2197 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2198 removes signal watches previously added via
2199 gst_bus_add_signal_watch.
2200 (gst_bus_add_signal_watch): Don't return the source id, just store
2201 it on the bus if there wasn't an id already.
2203 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2204 add_signal_watch and remove_signal_watch.
2206 2005-09-29 Edward Hervey <edward@fluendo.com>
2208 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2209 Better if we actually iterate the list :)
2211 2005-09-29 Wim Taymans <wim@fluendo.com>
2213 * check/gst/gstbin.c: (GST_START_TEST):
2214 Change for new bus API.
2216 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2217 (send_messages), (GST_START_TEST), (gstbus_suite):
2218 Change for new bus signal API.
2220 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2221 (gst_bus_source_prepare), (gst_bus_source_check),
2222 (gst_bus_create_watch), (gst_bus_add_watch_full),
2223 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2224 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2226 Remove support for multiple GSources operating on different
2227 message types as it is too complex and unneeded when using
2229 Added support for receiving signals from the bus.
2231 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2233 * docs/libs/tmpl/gstdataprotocol.sgml:
2234 * docs/manual/advanced-dataaccess.xml:
2235 * gst/elements/gstcapsfilter.c:
2237 rename filter-caps to caps property
2239 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2241 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2242 More robust fraction string parsing.
2244 * docs/pwg/appendix-porting.xml:
2245 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2247 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2249 * gst/gstcaps.c: (gst_caps_do_simplify):
2250 Thou shalt not free a structure and then continue using it
2251 in the next loop iteration.
2253 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2255 Add test case for caps simplification.
2257 2005-09-29 Wim Taymans <wim@fluendo.com>
2259 * check/gst/gstbin.c: (GST_START_TEST):
2262 2005-09-29 Wim Taymans <wim@fluendo.com>
2264 * check/gst/gstbin.c: (GST_START_TEST):
2267 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2268 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2269 (find_element), (gst_bin_sort_iterator_next),
2270 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2271 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2272 (gst_bin_change_state), (gst_bin_dispose):
2273 A bin does not have a bus, it gets the bus from the parent.
2275 * gst/gstelement.c: (gst_element_requires_clock),
2276 (gst_element_provides_clock), (gst_element_is_indexable),
2277 (gst_element_is_locked_state), (gst_element_change_state),
2278 (gst_element_set_bus_func):
2281 * gst/gstpipeline.c: (gst_pipeline_class_init),
2282 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2283 The pipeline provides a bus.
2285 2005-09-28 Johan Dahlin <johan@gnome.org>
2287 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2288 gst_structure_get_enum instead of gst_structure_get_int
2290 * gst/gststructure.c (gst_structure_get_enum): Impl.
2292 * gst/gststructure.h (gst_structure_get_enum): Add
2294 * docs/gst/gstreamer-sections.txt: Ditto
2296 * gst/gstmessage.c (gst_message_new_state_changed): Use
2297 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2298 which does introspection.
2299 Reviewed by Christian Schaller
2301 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2303 * gst/gstinfo.c: (gst_debug_log_default):
2304 don't do dummy g_strdup()s
2305 * libs/gst/controller/gstcontroller.c:
2306 (on_object_controlled_property_changed),
2307 (gst_controlled_property_new), (gst_controller_new_valist),
2308 (gst_controller_new_list),
2309 (gst_controller_remove_properties_valist), (gst_controller_set),
2310 (gst_controller_get), (gst_controller_sync_values),
2311 (gst_controller_get_value_array), (_gst_controller_class_init),
2312 (gst_controller_get_type):
2313 * libs/gst/controller/gstcontroller.h:
2314 * libs/gst/controller/gstinterpolation.c:
2315 (gst_controlled_property_find_timed_value_node):
2316 convert // to /**/ comments
2318 2005-09-28 Wim Taymans <wim@fluendo.com>
2320 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2321 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2322 (gst_bus_sync_signal_handler):
2324 Added async-message and sync-message signals to the bus.
2325 Added helper BusFunc to emit signals for all posted messages.
2327 * gst/gstmessage.c: (gst_message_type_get_name),
2328 (gst_message_type_to_quark), (gst_message_get_type):
2330 Register quarks for message names.
2332 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2334 * docs/libs/gstreamer-libs-sections.txt:
2335 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2336 (gst_controller_new_list):
2337 * libs/gst/controller/gstcontroller.h:
2338 added another constructor for language bindings
2340 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2342 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2346 * gst/gstinfo.c: (_gst_debug_init):
2347 slightly more readable color for refcount debugging
2349 2005-09-28 Wim Taymans <wim@fluendo.com>
2351 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2352 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2353 (find_element), (gst_bin_sort_iterator_next),
2354 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2355 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2356 (gst_bin_change_state), (gst_bin_dispose):
2357 Small doc fixes. get_clock -> provide_clock.
2359 * gst/gstelement.c: (gst_element_class_init),
2360 (gst_element_provides_clock), (gst_element_provide_clock),
2361 (gst_element_get_clock), (gst_element_commit_state),
2362 (gst_element_lost_state):
2364 Make get/set_clock() symetric. Add provide_clock vmethod since
2365 that is actually what this function does.
2367 * gst/gstpipeline.c: (gst_pipeline_class_init),
2368 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2369 (gst_pipeline_get_clock):
2370 get_clock -> provide_clock.
2372 2005-09-28 Andy Wingo <wingo@pobox.com>
2374 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2375 lieu of real docs...
2377 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2379 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2381 * gst/elements/gstcapsfilter.c:
2382 * gst/elements/gstfakesink.c:
2383 * gst/elements/gstfakesrc.c:
2384 * gst/elements/gstfdsink.c:
2385 * gst/elements/gstfdsrc.c:
2386 * gst/elements/gstfilesink.c:
2387 * gst/elements/gstfilesrc.c:
2388 * gst/elements/gstidentity.c:
2389 * gst/elements/gsttee.c:
2390 * gst/elements/gsttypefindelement.c:
2391 Make element details static.
2393 2005-09-28 Wim Taymans <wim@fluendo.com>
2395 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2396 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2397 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2398 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2399 (gst_bin_change_state), (gst_bin_dispose):
2400 Some documentation updates.
2401 Clean up dispose handlers.
2403 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2404 * gst/gstpad.c: (gst_pad_dispose):
2405 Clean up dispose handler.
2407 * gst/gstpipeline.c: (gst_pipeline_change_state):
2408 Removed spurious UNLOCK.
2410 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2412 * docs/gst/gstreamer-sections.txt:
2413 * gst/base/gstbasesrc.h:
2418 * gst/gstpipeline.c:
2419 * gst/gstpipeline.h:
2422 added two new functions to the docs
2423 documents all undocumented GstXXXFlags
2424 completed some incomplete docs
2426 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2428 * gst/gstbin.c: (gst_bin_dispose):
2429 * gst/gstelement.c: (gst_element_dispose):
2430 remove now useless and leaky resurrection code in dispose
2431 * gst/base/gstbasesrc.c: (gst_base_src_init):
2432 * gst/gstelementfactory.c: (gst_element_factory_create):
2433 * gst/gstobject.c: (gst_object_set_parent):
2436 2005-09-27 Wim Taymans <wim@fluendo.com>
2438 * docs/design/part-TODO.txt:
2441 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2442 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2443 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2444 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2445 (gst_bin_change_state):
2447 Remove element variable, we keep element info in the iterator now.
2449 2005-09-27 Andy Wingo <wingo@pobox.com>
2451 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2454 2005-09-27 Wim Taymans <wim@fluendo.com>
2456 * check/gst/gstbin.c: (GST_START_TEST):
2457 Enable check that works now.
2459 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2460 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2461 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2462 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2463 (gst_bin_change_state):
2465 Redid the state change algorithm using a topological sort algo.
2466 Handles all cases correctly.
2467 Exposed iterator for state change order.
2470 Temp storage for state changes. Need to get rid of this soon.
2472 2005-09-27 Wim Taymans <wim@fluendo.com>
2474 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2475 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2476 (link_fold_func), (gst_pad_proxy_setcaps):
2477 Leak fixes, the fold functions need to unref the passed object and
2478 _get_parent_*() returns ref to parent.
2480 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2482 * check/gst/gstbuffer.c: (test_make_writable):
2483 Plug leak in test case and fix 'make check-valgrind'
2485 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2487 * gst/gstbuffer.c: (gst_subbuffer_init):
2488 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2489 works correctly in all circumstances (we could have just copied
2490 the parent buffer's readonly flag, but conceptually it seems
2491 cleaner to mark all subbuffers as read-only). (based on patch
2492 by Alessandro Decina, #314710).
2494 * check/gst/gstbuffer.c: (create_read_only_buffer),
2495 (test_make_writable), (test_subbuffer_make_writable),
2497 Add some tests for gst_buffer_make_writable().
2499 2005-09-27 Wim Taymans <wim@fluendo.com>
2501 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2502 use gst_object_has_ancestor().
2504 * gst/gstobject.c: (gst_object_has_ancestor):
2506 gst_object_has_ancestor() copied from gstbin.c as it is a
2509 * tests/instantiate/create.c: (create_all_elements):
2510 * tests/lat.c: (handoff_src), (handoff_sink):
2511 * tests/sched/runxml.c: (main):
2512 * tests/seeking/seeking1.c: (main):
2513 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2515 Fix compilation of some tests.
2517 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2520 Remove comment. GST_TYPE_G_ERROR is here to stay,
2521 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2524 2005-09-26 Wim Taymans <wim@fluendo.com>
2526 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2527 Added check that shows error in state change order.
2529 2005-09-26 Wim Taymans <wim@fluendo.com>
2531 * gst/gstbin.c: (gst_bin_change_state):
2532 Make state change function use 3 queues again, we were
2533 adding elements in the wrong order.
2535 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2538 * gst/gstpad.c: (gst_pad_dispose):
2539 Added some debug info first.
2541 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2543 * docs/design/draft-push-pull.txt:
2544 * docs/design/part-events.txt:
2545 * docs/design/part-overview.txt:
2546 * docs/design/part-scheduling.txt:
2547 Replace all _pull_region() with _pull_range()
2549 2005-09-26 Andy Wingo <wingo@pobox.com>
2551 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2553 * check/gst-libs/controller.c: Update for controller api change.
2556 * tests/Makefile.am:
2557 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2558 over by GLib bug 118439.
2560 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2561 routines to a function.
2563 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2565 * libs/gst/controller/gsthelper.c:
2566 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2567 (gst_object_sync_values): Renamed from sink_values. Ugh.
2569 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2571 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2572 Renamed from controller_key, as it is exported.
2574 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2576 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2581 * gst/gstpadtemplate.h:
2584 * gst/gstqueryutils.c:
2585 * gst/gstqueryutils.h:
2586 remove queryutils headers after moving the two used functions
2587 to gstquery. also fixes build problem for gstsiddec
2589 2005-09-26 Michael Smith <msmith@fluendo.com>
2591 * tools/gst-launch.1.in:
2592 Correct documentation in manpage of debug syntax
2594 2005-09-26 Wim Taymans <wim@fluendo.com>
2596 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2597 (gst_base_src_is_seekable), (gst_base_src_change_state):
2598 Some more debugging info.
2600 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2602 * docs/gst/gstreamer-sections.txt:
2603 * gst/base/gstbasetransform.h:
2607 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2609 * docs/gst/.cvsignore:
2610 * docs/gst/tmpl/.cvsignore:
2611 * docs/gst/tmpl/gstpipeline.sgml:
2612 * docs/gst/tmpl/gstplugin.sgml:
2613 * gst/gstpipeline.c:
2616 inlined the last two docs files
2617 removed the tmpl directory from cvs (no more conflicts here!)
2619 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2621 * docs/gst/gstreamer-sections.txt:
2622 * docs/gst/tmpl/.cvsignore:
2623 * docs/gst/tmpl/gstpad.sgml:
2624 * docs/gst/tmpl/gstpadtemplate.sgml:
2626 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2627 (gst_pad_finalize), (gst_pad_set_pad_template):
2629 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2630 (gst_pad_template_class_init), (gst_pad_template_init),
2631 (gst_pad_template_dispose), (name_is_valid),
2632 (gst_static_pad_template_get), (gst_pad_template_new),
2633 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2634 (gst_pad_template_pad_created):
2635 * gst/gstpadtemplate.h:
2636 inlined two more docs
2637 factored gstpadtemplate out of gstpad
2639 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2641 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2642 (test_children_state_change_order_semi_sink):
2643 Fix test case: we can't rely on a fixed state change order when
2644 going from READY => PAUSED because the sink might commit its
2645 new state first when the first buffer created by the source
2646 reaches the sink before the source has finished its change state.
2647 (Test case still fails at times, see #316856, comment 5 onwards)
2649 2005-09-24 Wim Taymans <wim@fluendo.com>
2651 * docs/design/part-events.txt:
2652 * docs/design/part-gstbus.txt:
2653 * docs/design/part-gstpipeline.txt:
2654 * docs/design/part-messages.txt:
2655 * docs/design/part-overview.txt:
2656 * docs/design/part-segments.txt:
2663 * gst/gstiterator.c:
2664 Various documentation updates.
2666 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2669 Well, that's embarassing. Luckily we weren't using
2670 GST_CLOCK_DIFF anywhere.
2672 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2674 * common/gtk-doc.mak:
2675 don't fail on building XML, FC4 slave shows a bunch of doc
2676 missing bits that I don't get
2678 * gst/gstpipeline.c:
2679 * gst/gststructure.c:
2682 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2684 * docs/design/part-gstbin.txt:
2685 * docs/design/part-gstbus.txt:
2687 Add blurb about how the bus goes into flushing mode and
2688 drops all messages when its bin goes from READY into NULL
2691 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2693 * docs/gst/gstreamer-sections.txt:
2694 * gst/gststructure.c: (gst_structure_get_clock_time):
2695 * gst/gststructure.h:
2696 add a method to get a GstClockTime out of a structure
2698 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2700 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2701 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2702 Added test to check state change order in bins (can still be made
2703 to fail here under heavy disk load; bails out with 'Push on pad
2704 fakesink:sink0, but it was not activated in push mode').
2706 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2707 Fix state change order when there is only a semi sink (#316856)
2709 * gst/gstbus.c: (gst_bus_class_init):
2710 Use _class_peek_parent(), not _class_ref(); fix docs to say
2711 'default main context' instead of 'mainloop' where that is
2714 * gst/gstelement.c: (gst_element_commit_state),
2715 (gst_element_set_state):
2716 Fix typos in debug messages
2718 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2721 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2722 * gst/gstpluginfeature.c:
2725 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2726 change an assert into an error until it gets fixed properly
2728 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2730 * docs/gst/gstreamer-sections.txt:
2731 * docs/gst/tmpl/.cvsignore:
2732 * docs/gst/tmpl/gstelement.sgml:
2733 * docs/gst/tmpl/gstinfo.sgml:
2734 * docs/gst/tmpl/gstobject.sgml:
2739 * gst/gstobject.c: (gst_object_class_init):
2741 inlined 3 more biiiig doc files and added some missing docs on the fly
2743 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2745 * check/gst/.cvsignore:
2746 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2747 * gst/gstregistryxml.c: (load_plugin),
2748 (gst_registry_xml_save_plugin):
2749 put back source in registry. add checks for find_plugin.
2750 * testsuite/states/bin.c: (assert_state), (empty_bin),
2751 (test_adding_one_element), (main):
2752 * testsuite/states/locked.c: (main):
2753 some compile/run fixes
2755 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2757 * check/gst/gstvalue.c: (GST_START_TEST):
2758 fix leaks in the test itself
2760 2005-09-22 Wim Taymans <wim@fluendo.com>
2762 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2763 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2764 (gst_base_sink_query):
2765 Prepare for more accurate position reporting and query
2768 * gst/gstelement.c: (gst_element_send_event),
2769 (gst_element_set_state):
2772 2005-09-22 Wim Taymans <wim@fluendo.com>
2774 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2775 (gst_query_parse_segment):
2778 Add segment query for future use.
2780 2005-09-22 Wim Taymans <wim@fluendo.com>
2782 * gst/gstbin.c: (gst_bin_add_func):
2783 Some more debug info.
2785 * gst/gstelement.c: (gst_element_send_event):
2789 Don't know how flags got broken.
2794 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2796 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2797 Add simplistic test suite for GST_TYPE_DATE serialisation and
2800 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2802 * docs/gst/gstreamer-sections.txt:
2803 * gst/gststructure.c: (gst_structure_set_valist),
2804 (gst_structure_get_date):
2805 * gst/gststructure.h:
2806 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2807 (gst_date_copy), (gst_value_compare_date),
2808 (gst_value_serialize_date), (gst_value_deserialize_date),
2809 (gst_value_transform_date_string),
2810 (gst_value_transform_string_date), (_gst_value_initialize):
2812 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2813 bunch of utility functions along with a hack that checks that
2814 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2815 is required. Part of the grand scheme in #170777.
2817 2005-09-22 Andy Wingo <wingo@pobox.com>
2819 * gst/gstconfig.h.in: Psych out gtk-doc.
2821 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2823 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2825 * tools/gst-inspect.c (print_element_list): Plug some
2826 inconsequential leaks.
2828 * gst/gstregistry.c (gst_registry_get_default): Doc.
2830 * check/gst/gstplugin.c:
2831 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2832 * gst/gstelementfactory.c (gst_element_factory_create):
2833 * gst/gstindexfactory.c (gst_index_factory_create): Update for
2836 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
2837 (gst_plugin_feature_load): Doc, don't eat refs.
2839 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
2840 (gst_plugin_list_free): Doc.
2841 (gst_plugin_load_file): Doc updates.
2843 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
2844 accessors returning refcounted objects, return a ref.
2846 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
2847 accessor for caps. IDEMPOTENCE. Oh yes.
2849 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
2851 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2853 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2854 (_gst_debug_register_funcptr):
2855 Add mutex to serialise access to the hash table with
2856 the function pointer => function name string mapping;
2857 make that hash table static scope (#316809).
2859 * gst/registries/.cvsignore:
2860 Remove left-over file.
2862 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2864 * docs/pwg/appendix-porting.xml:
2865 And something about newsegment events and caps-on-buffers to
2866 the porting guide (feel free to improve).
2868 2005-09-21 Andy Wingo <wingo@pobox.com>
2870 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
2871 data and event probes on the same pad.
2872 (test_buffer_probe_once): Test that removing probes from within
2873 the probe functions works.
2875 2005-09-21 Andy Wingo <wingo@pobox.com>
2877 * check/gst/gstutils.c: New file.
2878 (test_buffer_probe_n_times): A simple buffer probe test. More to
2881 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
2882 have-data::buffer, not have-data.
2883 (gst_pad_add_event_probe): Likewise for have-data::event.
2884 (gst_pad_add_data_probe): More docs. The part about 'resolving the
2885 peer' isn't quite right yet though.
2886 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
2887 (gst_pad_remove_data_probe): Change to take the guint handler_id
2888 as their arg, not the function+data, which is more glib-like.
2890 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
2891 the signal emission to indicate if the data is a buffer or an
2893 (gst_pad_get_type): Initialize buffer and event quarks.
2894 (gst_pad_class_init): have-data is now a detailed signal, yes it
2897 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2899 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2900 * gst/gstutils.c: (gst_util_set_value_from_string),
2901 (gst_util_set_object_arg):
2902 Don't put functional code in g_return_if_fail() or
2903 g_return_val_if_fail() statements, otherwise things will
2904 break when G_DISABLE_CHECKS is defined during compilation.
2906 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2908 * docs/gst/tmpl/.cvsignore:
2909 * docs/gst/tmpl/gstvalue.sgml:
2912 inlied another one and added some obvious docs
2914 2005-09-21 Wim Taymans <wim@fluendo.com>
2916 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
2917 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
2918 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
2919 (gst_fdsrc_get_property), (gst_fdsrc_create):
2920 * gst/elements/gstfdsrc.h:
2921 Properly implement fdsrc. Removed signal and timeout,
2922 better implemented somewhere else.
2924 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2926 * docs/gst/tmpl/.cvsignore:
2927 * docs/gst/tmpl/gstimplementsinterface.sgml:
2928 * gst/gstinterface.c:
2931 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2933 * docs/gst/gstreamer-sections.txt:
2934 * docs/gst/tmpl/.cvsignore:
2935 * docs/gst/tmpl/gstenumtypes.sgml:
2936 remove obsolete doc file
2938 2005-09-21 David Schleef <ds@schleef.org>
2940 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
2941 little beer, fix a little leak.
2943 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2945 * docs/gst/gstreamer-docs.sgml:
2946 * docs/gst/gstreamer-sections.txt:
2947 * docs/gst/tmpl/.cvsignore:
2952 * gst/gstindex.c: (gst_index_class_init):
2954 * gst/gstindexfactory.c: (gst_index_factory_get_type),
2955 (gst_index_factory_class_init), (gst_index_factory_init),
2956 (gst_index_factory_finalize), (gst_index_factory_new),
2957 (gst_index_factory_destroy), (gst_index_factory_find),
2958 (gst_index_factory_create), (gst_index_factory_make):
2959 * gst/gstindexfactory.h:
2960 * gst/gstpluginfeature.c:
2961 * gst/gstpluginfeature.h:
2962 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2963 more docs inlined, splitted gstindex.{c,h}
2965 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2967 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2970 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2972 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2973 Set sync to FALSE by default.
2975 2005-09-20 Wim Taymans <wim@fluendo.com>
2977 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2978 (gst_base_sink_init):
2979 Make sync property settable from subclass.
2981 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2982 (gst_fake_sink_change_state):
2983 Set sync to FALSE by default.
2985 2005-09-20 Wim Taymans <wim@fluendo.com>
2987 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
2988 * tools/gst-launch.c: (main):
2989 The timeout handler should have lower priority than the source
2990 so we don't timeout before popping a message with 0 timeout.
2991 Dump error messages after failed state change.
2993 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2995 * tools/gst-inspect.c: (print_element_properties_info):
2998 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3000 * check/gst/gstevent.c:
3001 * gst/elements/gstfakesink.c:
3002 * gst/elements/gstfakesink.h:
3003 remove the sync property from fakesink.
3004 has the side effect of setting sync TRUE
3005 for fakesink, which is a change. Anyone who knows how
3006 to fix this nicely in a GObject-y way, feel free.
3008 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3010 * docs/gst/gstreamer-docs.sgml:
3011 remove probe refsection
3013 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3015 * check/Makefile.am:
3016 disable valgrinding the controller test again
3017 * docs/gst/gstreamer-sections.txt:
3018 update for api-changes
3020 2005-09-20 Wim Taymans <wim@fluendo.com>
3022 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3023 (gst_base_sink_set_property), (gst_base_sink_get_property),
3024 (gst_base_sink_do_sync):
3025 * gst/base/gstbasesink.h:
3026 Added sync property to basesink to disable clock sync.
3028 2005-09-20 Andy Wingo <wingo@pobox.com>
3030 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3031 eating the caller's refcount.
3033 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3034 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3037 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3038 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3039 of GLib 2.8 public, so we can know which refcount to check in
3042 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3043 (gst_object_init): Only set the gst refcount if we're going ahead
3044 with the refcount hack.
3046 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3048 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3049 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3050 more leaks plumbed, added more debug-logging
3054 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3057 remove include of gstmemchunk.h
3059 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3061 * gst/gstclock.c: (_gst_clock_id_free):
3062 Commit from the Political Party For More Atomic CVS Commits,
3063 so that people don't waste too much of their day fishing
3064 out obvious leaks out of massive commits.
3065 Oh, and fix a pretty damn obvious leak in the memchunk
3068 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3070 * check/Makefile.am:
3071 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3072 plug mem-leak, re-add to valgrindable tests
3074 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3077 unbreak the build for those who have chronic arthritis
3078 and typing "make check" is just too taxing on the hands
3080 2005-09-20 Andy Wingo <wingo@pobox.com>
3082 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3083 really want it out, you should fix plugins at the same time.
3085 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3088 * docs/gst/gstreamer-sections.txt:
3090 added missing symbols to api docs
3091 disable ref-count hack if we have glib >= 2.8
3093 2005-09-19 David Schleef <ds@schleef.org>
3095 * docs/gst/Makefile.am: Ignore a few more internal headers
3096 * docs/gst/gstreamer-docs.sgml: Remove old sections
3097 * docs/gst/gstreamer-sections.txt: Remove old sections
3098 * docs/gst/tmpl/gstobject.sgml: update
3099 * docs/gst/tmpl/gstplugin.sgml: update
3100 * docs/gst/tmpl/gstpluginfeature.sgml: update
3101 * docs/random/ds/0.9-suggested-changes: update.
3102 * gst/Makefile.am: remove memchunk and trashstack, since they're
3104 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3105 * gst/gst.h: don't include some headers
3106 * gst/gstchildproxy.c: add gstmarshal.h
3107 * gst/gstclock.c: Don't use memchunks
3108 * gst/gstminiobject.c: Add some docs
3109 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3110 * gst/gstobject.h: same
3111 * gst/gstplugin.c: include gstmacros.h
3112 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3113 * gst/gstquery.c: don't use memchunks
3114 * gst/gstregistry.c: rename gst_registry_deinit()
3115 * gst/gstregistry.h: same
3117 2005-09-19 David Schleef <ds@schleef.org>
3119 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3120 * docs/libs/gstreamer-libs-sections.txt:
3121 * docs/libs/tmpl/gstgetbits.sgml:
3122 * docs/libs/tmpl/gstputbits.sgml:
3124 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3126 * win32/gstenumtypes.c:
3127 * win32/gstenumtypes.h:
3130 2005-09-19 Wim Taymans <wim@fluendo.com>
3132 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3133 Automatically PAUSE and RESUME a pipeline when a flushing seek
3136 2005-09-19 Andy Wingo <wingo@pobox.com>
3138 * gst/gstregistry.h: Spacing fixen.
3140 2005-09-19 Wim Taymans <wim@fluendo.com>
3142 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3143 Handle state change failure more correctly.
3145 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3147 * check/Makefile.am:
3148 * check/pipelines/cleanup.c: (run_pipeline):
3149 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3151 enable cleanup again after fixing the leak
3153 some more info on docs
3155 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3157 * check/Makefile.am:
3158 re-enable tests now that leaks are plugged
3160 * check/gst/gstbin.c:
3161 * check/gst/gstpipeline.c:
3162 add some more tests while fixing leaks
3164 make sure binaries are uptodate when valgrinding/gdbing
3166 * gst/gstelementfactory.c:
3167 remove a ref too many, and add a FIXME for when we get
3168 round to disposing of classes
3170 fix the refcounting when loading a plugin from a file and
3171 the code pretends that the pointer is the same even though
3172 of course it can change
3173 * gst/gstpluginfeature.c:
3174 unref plugins marked cached (a bit confusing as a name)
3175 as the docs state should be done
3176 various doc additions to explain refcounting
3177 * gst/gstregistry.c:
3178 * gst/gstregistryxml.c:
3181 2005-09-19 Wim Taymans <wim@fluendo.com>
3183 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3184 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3185 (send_messages), (GST_START_TEST), (gstbus_suite):
3186 * check/gst/gstpipeline.c: (GST_START_TEST):
3187 * check/pipelines/cleanup.c: (run_pipeline):
3188 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3190 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3191 (gst_bus_source_check), (gst_bus_source_dispatch),
3192 (gst_bus_create_watch), (gst_bus_add_watch_full),
3193 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3195 * tools/gst-launch.c: (event_loop):
3196 * tools/gst-md5sum.c: (event_loop):
3197 GstBusHandler -> GstBusFunc, return value has the same meaning as
3198 any other GSource (FALSE == remove source).
3199 _add_watch() and _add_watch_full() now take a MessageType mask to
3200 only handle specific types of messages.
3201 _poll() returns the GstMessage instead of the message type to avoid
3203 _have_pending() takes a MessageType mask now too.
3204 Added testsuite for multiple bus watches.
3205 Fix testsuites and applications for new bus API.
3207 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3209 * check/Makefile.am:
3210 mark a bunch of the tests as to fix until we fix them
3212 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3215 use GST_PLUGIN settings for valgrind tests as well, so we're
3216 valgrinding the correct thing
3217 * gst/gst.c: (init_post):
3220 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3222 * gst/gst.c: (init_post), (gst_deinit):
3223 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3224 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3225 * gst/gstindex.c: (gst_index_factory_class_init),
3226 (gst_index_factory_finalize):
3227 * gst/gstobject.c: (gst_object_dispose):
3228 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3229 (gst_plugin_load_file), (gst_plugin_desc_free):
3230 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3231 (gst_plugin_feature_finalize):
3232 * gst/gstregistry.c: (gst_registry_class_init),
3233 (gst_registry_init), (gst_registry_finalize),
3234 (gst_registry_get_default), (gst_registry_deinit):
3235 * gst/gstregistry.h:
3236 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3237 various cleanups and memleak plugging. make valgrind is happy now.
3239 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3242 add a check-valgrind target
3244 2005-09-18 David Schleef <ds@schleef.org>
3246 * tools/gst-inspect.c: Revert the GOption code.
3248 2005-09-17 David Schleef <ds@schleef.org>
3250 * check/Makefile.am: Fix environment variables.
3251 * check/gst/gstplugin.c: Fix for API changes.
3252 * tools/gst-inspect.c: Fix for API changes.
3253 * tools/gst-xmlinspect.c: Fix for API changes.
3254 * gst/gstelementfactory.c:
3257 * gst/gstpluginfeature.c:
3258 * gst/gstpluginfeature.h:
3259 * gst/gstregistry.c:
3260 * gst/gstregistry.h:
3261 * gst/gstregistryxml.c:
3262 * gst/gsttypefind.c:
3263 * gst/gsttypefindfactory.c:
3264 * gst/indexers/gstfileindex.c:
3265 * gst/indexers/gstmemindex.c:
3266 * gst/schedulers/Makefile.am:
3267 Change registry to keep track of both plugins and features,
3268 removing the feature tracking from plugins themselves.
3270 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3272 * check/Makefile.am:
3273 * tools/gst-register.1.in:
3276 2005-09-15 David Schleef <ds@schleef.org>
3278 * check/gst/gstplugin.c:
3279 * gst/gstelementfactory.c:
3281 * gst/gstpluginfeature.c:
3282 * gst/gstregistry.c:
3283 Getting tired of debugging. Disabled all the unreffing of
3284 plugins and features, which fixes the segfaults, but of
3285 course leaks like crazy. At least playbin works.
3287 2005-09-15 David Schleef <ds@schleef.org>
3289 * check/gst/gstplugin.c: (register_check_elements),
3290 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3292 * gst/elements/gsttypefindelement.c: Fix refcounting.
3293 * gst/gsttypefind.c:
3294 * gst/gsttypefindfactory.c:
3295 * gst/gsttypefindfactory.h:
3297 2005-09-15 David Schleef <ds@schleef.org>
3299 * gst/gstindex.c: get refcounting correct.
3300 * gst/gstregistry.c: Handle the case where a feature/plugin is
3303 2005-09-15 David Schleef <ds@schleef.org>
3305 * check/Makefile.am:
3306 * check/gst/gstplugin.c: Add test
3307 * gst/gstplugin.c: Fix problems noticed by testsuite
3309 * gst/gstregistry.c:
3310 * gst/gstregistry.h:
3312 2005-09-15 David Schleef <ds@schleef.org>
3314 * gst/gstplugin.c: Implement semi-decent recounting and locking
3315 in plugins and plugin features.
3317 * gst/gstpluginfeature.c:
3318 * gst/gstpluginfeature.h:
3319 * gst/gstregistry.c:
3321 2005-09-15 Michael Smith <msmith@fluendo.com>
3323 * gst/gstregistry.c: (gst_registry_get_feature_list):
3324 Implement this. Makes oggdemux work; decodebin still broken.
3326 2005-09-14 David Schleef <ds@schleef.org>
3328 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3330 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3331 * gst/check/Makefile.am:
3332 * libs/gst/controller/Makefile.am:
3333 * libs/gst/dataprotocol/Makefile.am:
3335 2005-09-14 David Schleef <ds@schleef.org>
3337 * configure.ac: Remove getbits library. Nothing uses it, and
3338 it should be in something like liboil if someone did want
3340 * libs/gst/Makefile.am:
3341 * libs/gst/getbits/Makefile.am:
3342 * libs/gst/getbits/gbtest.c:
3343 * libs/gst/getbits/getbits.c:
3344 * libs/gst/getbits/getbits.h:
3345 * libs/gst/getbits/gstgetbits_generic.c:
3346 * libs/gst/getbits/gstgetbits_i386.s:
3347 * libs/gst/getbits/gstgetbits_inl.h:
3349 2005-09-14 David Schleef <ds@schleef.org>
3351 * gst/Makefile.am: Dist glib-compat.h
3353 2005-09-14 David Schleef <ds@schleef.org>
3355 * configure.ac: Remove gst/registries, since it's no longer used.
3356 * gst/registries/Makefile.am:
3357 * gst/registries/gstlibxmlregistry.c:
3358 * gst/registries/gstlibxmlregistry.h:
3359 * gst/registries/gstxmlregistry.c:
3360 * gst/registries/gstxmlregistry.h:
3361 * gst/registries/registrytest.c:
3363 2005-09-14 David Schleef <ds@schleef.org>
3365 * gst/glib-compat.h:
3366 * gst/gstregistryxml.c:
3367 Convergence is near. Seriously.
3369 2005-09-14 David Schleef <ds@schleef.org>
3371 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3372 * gst/glib-compat.h:
3373 Attempt #4 to appease the buildbots.
3375 2005-09-14 David Schleef <ds@schleef.org>
3377 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3380 2005-09-14 David Schleef <ds@schleef.org>
3382 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3385 2005-09-14 David Schleef <ds@schleef.org>
3387 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3390 2005-09-14 David Schleef <ds@schleef.org>
3392 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3393 * gst/glib-compat.h: Add some functions that are in newer versions
3394 of glib than we care to require.
3395 * gst/gstregistryxml.c: Use them.
3397 2005-09-14 David Schleef <ds@schleef.org>
3399 * po/POTFILES.in: remove gst-register.c
3401 2005-09-14 David Schleef <ds@schleef.org>
3403 * docs/gst/gstreamer-docs.sgml:
3404 * docs/gst/gstreamer-sections.txt:
3405 * docs/gst/gstreamer.types:
3406 * docs/gst/tmpl/gstelement.sgml:
3407 * docs/gst/tmpl/gstplugin.sgml:
3408 * docs/gst/tmpl/gstpluginfeature.sgml:
3409 Documentation updates for registry changes.
3411 2005-09-14 David Schleef <ds@schleef.org>
3413 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3414 because we don't require glib-2.8.
3416 2005-09-14 David Schleef <ds@schleef.org>
3418 * gst/gstregistryxml.c: Added. Essentially moved out of the
3419 registries directory.
3421 2005-09-14 David Schleef <ds@schleef.org>
3423 * check/Makefile.am:
3424 * check/generic/states.c:
3428 * gst/gst_private.h:
3429 * gst/gstelementfactory.c:
3434 * gst/gstpluginfeature.c:
3435 * gst/gstpluginfeature.h:
3436 * gst/gstregistry.c:
3437 * gst/gstregistry.h:
3438 * gst/gstregistrypool.c: remove
3439 * gst/gstregistrypool.h: remove
3440 * gst/gsttypefind.c:
3441 * gst/gsttypefindfactory.c:
3443 * tools/Makefile.am:
3444 * tools/gst-compprep.c:
3445 * tools/gst-inspect.c:
3446 * tools/gst-register.c: remove
3447 * tools/gst-xmlinspect.c:
3448 Registry rewrite. Changes registry from being a file created
3449 by a tool into a simple cache file created automatically by
3450 libgstreamer. Removed gst-register (because it's no longer
3451 needed). Remove registry pools, because we only have one
3452 registry implementation (XML). Fix up other subsystems as
3455 2005-09-13 Michael Smith <msmith@fluendo.com>
3457 * gst/gstconfig.h.in:
3458 Don't Use windows linking attributes for MinGW. Fixes #316157
3460 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3462 * gst/gstutils.c: (set_state_async_thread_func),
3463 (gst_element_set_state_async):
3464 Apparently people think it's better if this function doesn't
3465 try to set the state to whatever state was asked for on the first
3466 call to this function for any object. Seriously.
3468 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3470 * check/gst/gstpipeline.c: (GST_START_TEST):
3471 * docs/gst/gstreamer-sections.txt:
3472 * gst/gstutils.c: (set_state_async_thread_func),
3473 (gst_element_set_state_async):
3475 add a "gst_element_set_state_async" method that
3476 sets the state and starts a thread to make sure the state
3477 change completes as best as it can
3479 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3481 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3482 codify design+behaviour in testsuite after discussion
3484 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3486 * docs/gst/tmpl/gstelement.sgml:
3487 * docs/manual/appendix-quotes.xml:
3489 * gst/gstelement.c: (gst_element_set_state):
3492 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3494 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3495 (gst_base_transform_prepare_output_buf),
3496 (gst_base_transform_handle_buffer):
3497 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3498 (gst_capsfilter_prepare_buf):
3499 Remove the requirement for sub-classes to call the parent
3500 implementation of prepare_output_buffer with a wrapper function.
3503 * gst/gsttagsetter.h:
3506 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3508 * docs/gst/gstreamer-sections.txt:
3511 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3513 * docs/gst/gstreamer-sections.txt:
3514 * docs/gst/tmpl/gstelement.sgml:
3515 * docs/gst/tmpl/gstplugin.sgml:
3516 * gst/gstminiobject.c:
3518 docs now stop throwing warnings
3520 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3522 * docs/gst/gstreamer-sections.txt:
3523 * docs/gst/gstreamer.types:
3524 * docs/gst/tmpl/gstpad.sgml:
3525 * docs/gst/tmpl/gsttypes.sgml:
3526 * gst/base/gstadapter.h:
3527 * gst/base/gstbasesink.h:
3528 * gst/base/gstbasesrc.h:
3538 * gst/gststructure.c:
3539 * gst/registries/gstlibxmlregistry.h:
3540 various documentation fixes
3542 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3544 * docs/gst/gstreamer-sections.txt:
3545 * docs/gst/tmpl/gstvalue.sgml:
3546 rearrange gstvalue section
3547 * gst/gstutils.c: (gst_element_state_get_name):
3549 * gst/gstvalue.c: (_gst_value_initialize):
3553 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3555 * check/gst-libs/controller.c:
3557 * gst/base/gstbasetransform.c:
3558 (gst_base_transform_default_prepare_buf),
3559 (gst_base_transform_handle_buffer):
3560 * gst/base/gstbasetransform.h:
3561 Some more basetransform changes and fixes to enable sub-classes
3562 that modify buffer metadata only.
3563 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3564 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3565 (gst_capsfilter_prepare_buf):
3566 If the output pad has fixed allowed caps and input buffers
3567 don't have any, set the fixed caps on outgoing buffers.
3569 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3570 * check/elements/identity.c: (GST_START_TEST):
3571 Make the error a little clearer when the test fails because
3572 identity made a copy of the buffer.
3573 * docs/gst/gstreamer-sections.txt:
3574 New symbols in gstbasetransform.h
3575 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3576 (gst_base_transform_init), (gst_base_transform_transform_size),
3577 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3578 (gst_base_transform_default_prepare_buf),
3579 (gst_base_transform_get_unit_size),
3580 (gst_base_transform_buffer_alloc),
3581 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3582 (gst_base_transform_change_state),
3583 (gst_base_transform_set_passthrough),
3584 (gst_base_transform_set_in_place),
3585 (gst_base_transform_is_in_place):
3586 * gst/base/gstbasetransform.h:
3587 Change BaseTransform to separate in_place operate from same_caps
3588 output. in_place implies that the element can perform the transform
3589 on incoming buffers in-place, even if the caps on the output are
3591 Sub-class elements can now implement special buffer allocation
3592 methods for outgoing buffers if they wish to.
3593 Big documentation addition.
3594 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3595 * gst/elements/gstelements.c:
3596 Changes for basetransform modifications.
3597 * gst/elements/Makefile.am:
3598 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3599 Compile fix. Extra debug output.
3601 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3603 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3605 add tests for valid pad naming
3606 * gst/check/gstcheck.c: (gst_check_log_message_func),
3607 (gst_check_log_critical_func):
3609 remove printing of code, it is fragile when the code contains
3610 % and the line number is enough info
3611 * gst/check/gstcheck.h:
3612 * gst/gstpad.c: (gst_pad_template_new):
3615 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3618 say what CHECK flags we use
3619 * docs/libs/gstreamer-libs.types:
3620 * libs/gst/controller/Makefile.am:
3621 * libs/gst/controller/gst-controller.c:
3622 * libs/gst/controller/gst-controller.h:
3623 * libs/gst/controller/gst-helper.c:
3624 * libs/gst/controller/gst-interpolation.c:
3625 * libs/gst/controller/gstcontroller.c:
3626 * libs/gst/controller/gsthelper.c:
3627 * libs/gst/controller/gstinterpolation.c:
3628 * tools/gst-inspect.c: (print_plugin_info):
3629 we don't use dashes in header names
3631 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3633 * check/Makefile.am:
3634 * check/gst/.cvsignore:
3635 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3636 (gst_pipeline_suite), (main):
3637 adding a test for pipelines and state changes
3638 * gst/gstutils.c: (get_state_func):
3640 * gstreamer.spec.in:
3643 2005-09-08 Michael Smith <msmith@fluendo.com>
3645 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3646 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3647 (gst_file_src_is_seekable), (gst_file_src_get_size),
3648 (gst_file_src_start):
3649 * gst/elements/gstfilesrc.h:
3650 Various fixes for unseekable, unmmapable, and non-normal files, so
3651 that fallback to read() rather than mmap() works.
3652 * gst/gstevent.c: (gst_event_new_newsegment):
3653 Allow newsegment events with segment_start == segment_end, as will
3654 correctly happen if you use filesrc on a zero-size file, for
3657 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3659 * gst/gstplugin.c: (gst_plugin_load_file):
3660 Call g_module_close when we don't load the module
3662 * gst/registries/gstlibxmlregistry.c:
3663 (gst_xml_registry_get_property):
3664 Port leak fix from 0.8
3666 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3668 * docs/gst/gstreamer-docs.sgml:
3669 * docs/gst/tmpl/.cvsignore:
3670 * docs/gst/tmpl/gsttrace.sgml:
3671 * docs/gst/tmpl/gsttrashstack.sgml:
3680 * gst/gsttaginterface.c:
3681 * gst/gsttaginterface.h:
3684 * gst/gsttagsetter.c:
3685 * gst/gsttagsetter.h:
3688 * gst/gsttrashstack.c:
3689 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3690 inlined docs for gsttrace, gsttrashstack
3692 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3695 * gst/elements/gstbufferstore.h:
3696 * gst/elements/gsttypefindelement.c:
3697 * gst/elements/gsttypefindelement.h:
3699 * gst/gsttypefind.c:
3700 * gst/gsttypefind.h:
3701 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3702 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3703 (gst_type_find_factory_dispose),
3704 (gst_type_find_factory_unload_thyself),
3705 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3706 (gst_type_find_factory_get_caps),
3707 (gst_type_find_factory_get_extensions),
3708 (gst_type_find_factory_call_function):
3709 * gst/gsttypefindfactory.h:
3710 * gst/registries/gstlibxmlregistry.c:
3711 * gst/registries/gstxmlregistry.c:
3712 splitted gsttypefind into gsttypefind, gsttypefindfactory
3714 2005-09-07 Andy Wingo <wingo@pobox.com>
3716 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3717 condition whereby the pad's task function is entered before the
3718 pad_mode variable was set.
3720 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3722 * gst/gstpad.c: (gst_pad_alloc_buffer):
3723 Catch misbehaving pad_alloc functions that don't
3724 set up caps and do it for them.
3726 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3728 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3730 * docs/gst/tmpl/.cvsignore:
3731 * docs/gst/tmpl/gstmemchunk.sgml:
3732 * docs/gst/tmpl/gstparse.sgml:
3733 * docs/gst/tmpl/gsttaglist.sgml:
3734 * docs/gst/tmpl/gsttagsetter.sgml:
3735 * docs/gst/tmpl/gsttypefind.sgml:
3736 * docs/gst/tmpl/gsttypefindfactory.sgml:
3737 * gst/gstmemchunk.c:
3740 * gst/gsttaginterface.c:
3741 * gst/gsttypefind.c:
3742 * gst/gsttypefind.h:
3745 === release 0.9.2 ===
3747 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3752 releasing 0.9.2, "South"
3754 2005-09-05 Andy Wingo <wingo@pobox.com>
3756 * gst/registries/gstxmlregistry.h:
3757 * gst/registries/gstxmlregistry.c: Um... resurrect...
3759 * gst/registries/gstxmlregistry.h:
3760 * gst/registries/gstxmlregistry.c: and update to newer API.
3761 Incidentally they should be a bit faster now that they don't have
3764 2005-09-05 Andy Wingo <wingo@pobox.com>
3766 * gst/registries/gstxmlregistry.h:
3767 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3768 replaced by the libxml registry a while back
3770 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3772 * docs/gst/tmpl/gstplugin.sgml:
3773 * gst/elements/gstelements.c:
3775 * gst/gstplugin.c: (gst_plugin_register_func),
3776 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3777 (gst_plugin_get_source):
3779 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3780 (gst_xml_registry_save_plugin):
3781 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3782 (gst_xml_registry_save_plugin):
3783 * tools/gst-inspect.c: (print_plugin_info):
3784 add a "source" plugin description field, to represent the source
3785 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3786 will set it to PACKAGE, which is automake's idea of the name of
3789 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3795 * docs/faq/Makefile.am:
3796 * docs/gst/tmpl/gstelement.sgml:
3797 * docs/gst/tmpl/gsttypes.sgml:
3798 * docs/htmlinstall.mak:
3799 * docs/manual/Makefile.am:
3800 * docs/pwg/Makefile.am:
3801 reorganize doc build a little
3802 split out docbook and gtk-doc stuff
3803 have two separate --enable's and enable them through autogen
3804 but disable by default in configure (to be similar to other
3806 * gstreamer.spec.in:
3807 clean up docs install
3827 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3829 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3832 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3833 (gst_fake_sink_change_state):
3834 Make state change function thread-safe.
3836 * gst/gstpad.c: (gst_pad_alloc_buffer):
3837 Set offset on generic buffer allocated by fallback.
3839 2005-09-03 Stefan Kost <ensonic@users.sf.net>
3841 * docs/gst/gstreamer-sections.txt:
3842 * docs/gst/tmpl/gstelement.sgml:
3844 * libs/gst/controller/gst-controller.c:
3845 (gst_controlled_property_set_interpolation_mode),
3846 (gst_controlled_property_new),
3847 (gst_controller_find_controlled_property):
3848 run the wingo-magic script against the docs
3850 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3852 * docs/gst/gstreamer-docs.sgml:
3853 * docs/gst/gstreamer-sections.txt:
3854 * docs/gst/tmpl/.cvsignore:
3855 * docs/gst/tmpl/gstelementdetails.sgml:
3856 * docs/gst/tmpl/gstelementfactory.sgml:
3859 * gst/gstelementfactory.c:
3860 * gst/gstelementfactory.h:
3861 merged elementdetails docs into elementfactory docs
3864 2005-09-02 Andy Wingo <wingo@pobox.com>
3866 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
3867 consider this enum an enum and not a flags.
3869 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3871 * docs/gst/gstreamer-docs.sgml:
3872 * docs/gst/tmpl/.cvsignore:
3873 * docs/gst/tmpl/gstghostpad.sgml:
3874 * docs/gst/tmpl/gstiterator.sgml:
3875 * docs/gst/tmpl/gstmacros.sgml:
3876 * docs/gst/tmpl/gstrealpad.sgml:
3877 * docs/gst/tmpl/gstregistry.sgml:
3878 * docs/gst/tmpl/gstregistrypool.sgml:
3879 * docs/gst/tmpl/gststructure.sgml:
3880 * docs/gst/tmpl/gstsystemclock.sgml:
3881 * docs/gst/tmpl/gsttrace.sgml:
3882 * gst/gstghostpad.c:
3884 * gst/gstmemchunk.c:
3885 * gst/gstmemchunk.h:
3887 * gst/gstregistry.c:
3888 * gst/gstregistrypool.c:
3889 * gst/gststructure.c:
3890 * gst/gstsystemclock.c:
3893 2005-09-02 Andy Wingo <wingo@pobox.com>
3895 * gst/gstelement.h (GstState): Renamed from GstElementState,
3896 changed to be a normal enum instead of flags.
3897 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
3898 munged to be GST_STATE_CHANGE_*.
3899 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
3900 work with the new state representation.
3901 (GstStateChange): New enumeration of possible state transitions.
3902 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
3903 (GstElementClass::change_state): Pass the GstStateChange along as
3904 an argument. Helps language bindings, so they don't have to use
3905 tricky lock-needing macros like GST_STATE_CHANGE ().
3907 * scripts/update-states (file): New script. Run it on a file to
3908 update it for state naming and API changes. Updates files in
3911 * All files updated for the new API.
3913 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
3915 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
3916 * gst/gstutils.c: (gst_util_set_value_from_string),
3917 (gst_util_set_object_arg):
3918 fix a bunch of unchecked return values
3919 * tools/gst-complete.c: (main):
3920 * gstreamer.spec.in:
3923 2005-09-01 Wim Taymans <wim@fluendo.com>
3925 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3926 (gst_base_sink_event), (gst_base_sink_do_sync),
3927 (gst_base_sink_handle_event):
3928 * gst/base/gstbasesink.h:
3929 Handle newsegments more correctly.
3934 * gst/gstevent.c: (gst_event_new_newsegment):
3935 A newsegment cannot have a start_time of -1
3937 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
3939 * win32/gstenumtypes.c:
3940 * win32/gstenumtypes.h:
3943 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3945 * libs/gst/controller/gst-controller.c:
3946 (gst_controlled_property_set_interpolation_mode),
3947 (gst_controlled_property_new):
3950 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
3952 * docs/faq/gst-uninstalled:
3957 * gst/gstutils.c: (gst_element_link_filtered):
3959 add gst_element_link_filtered
3961 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3963 * docs/gst/gstreamer-docs.sgml:
3964 * docs/gst/gstreamer-sections.txt:
3965 * docs/gst/tmpl/.cvsignore:
3966 * docs/gst/tmpl/gsterror.sgml:
3967 * docs/gst/tmpl/gstfilter.sgml:
3968 * docs/gst/tmpl/gsturihandler.sgml:
3969 * docs/gst/tmpl/gsturitype.sgml:
3970 * docs/gst/tmpl/gstutils.sgml:
3971 * docs/gst/tmpl/gstxml.sgml:
3979 inlined more docs, fixed double id-ref
3981 2005-08-31 Wim Taymans <wim@fluendo.com>
3983 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3984 (gst_base_transform_handle_buffer):
3985 Passthrough elements don't need the caps as they don't care.
3987 2005-08-31 Wim Taymans <wim@fluendo.com>
3989 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3990 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
3991 Don't leak refcounts on buffers.
3993 2005-08-31 Wim Taymans <wim@fluendo.com>
3995 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
3996 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
3997 (gst_base_transform_chain), (gst_base_transform_change_state):
3998 * gst/base/gstbasetransform.h:
3999 Handle the case where we are not negotiated more gracefully.
4001 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4003 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4004 (gst_file_src_map_region):
4005 Set READONLY flag on mmap'ed buffers, otherwise
4006 gst_buffer_make_writable() won't work properly (#314708).
4008 2005-08-31 Wim Taymans <wim@fluendo.com>
4010 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4011 passthrough elements can even do inplace on non writable
4012 buffers (as they don't touch them).
4014 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4016 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4017 (gst_test_mono_source_set_property),
4018 (gst_test_mono_source_class_init), (GST_START_TEST),
4019 (gst_controller_suite):
4020 more tests (hehe I have the most)
4022 describe popping messages whenusing mulltiple sources
4023 * libs/gst/controller/gst-controller.c:
4024 (gst_controlled_property_set_interpolation_mode),
4025 (gst_controlled_property_new):
4026 * libs/gst/controller/gst-controller.h:
4027 * libs/gst/controller/gst-interpolation.c:
4028 implement boolean properties
4030 2005-08-31 Wim Taymans <wim@fluendo.com>
4032 * gst/gstminiobject.c: (gst_mini_object_ref):
4033 Cannot assert that the refcount has to be positive
4034 since a disposed object can be resurrected.
4036 2005-08-31 Wim Taymans <wim@fluendo.com>
4038 * gst/gstpad.c: (gst_pad_init):
4039 Revert change, need to first fix badly behaving
4042 2005-08-30 Wim Taymans <wim@fluendo.com>
4044 * check/elements/fakesrc.c: (setup_fakesrc):
4045 * check/elements/identity.c: (setup_identity):
4046 Activate pads before using them.
4048 2005-08-30 Wim Taymans <wim@fluendo.com>
4050 * gst/base/gstadapter.c: (gst_adapter_flush):
4051 Flushing out 0 bytes is ok for this function.
4053 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4054 no newsegment gives a warning and sets the start/stop to
4057 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4058 (gst_base_transform_set_passthrough):
4061 * gst/gstminiobject.c: (gst_mini_object_ref):
4062 Check refcount here too.
4064 * gst/gstpad.c: (gst_pad_init):
4065 Pads are initially flushing and refusing data.
4067 * gst/gstutils.c: (gst_element_link_pads_filtered):
4068 When adding a capsfilter element make sure it has the
4069 same state as the parent bin.
4071 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4073 * docs/gst/tmpl/.cvsignore:
4074 * docs/gst/tmpl/gstformat.sgml:
4075 * docs/gst/tmpl/gstversion.sgml:
4079 * gst/gstversion.h.in:
4080 more docs and two more inlined
4082 2005-08-30 Wim Taymans <wim@fluendo.com>
4084 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4085 Don't sync to clock.
4087 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4089 * docs/gst/gstreamer-sections.txt:
4090 ultral33t func10ns deserve to appear in the docs actually
4091 * docs/gst/tmpl/.cvsignore:
4092 * docs/gst/tmpl/gstcompat.sgml:
4093 * docs/gst/tmpl/gstconfig.sgml:
4094 * gst/check/gstcheck.c:
4096 * gst/gstconfig.h.in:
4099 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4101 * docs/gst/tmpl/.cvsignore:
4102 * docs/gst/tmpl/gstquery.sgml:
4103 * docs/gst/tmpl/gstutils.sgml:
4106 inlined and extended docs
4108 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4110 * check/gst-libs/controller.c: (GST_START_TEST),
4111 (gst_controller_suite):
4113 * docs/gst/tmpl/gstutils.sgml:
4114 * docs/libs/gstreamer-libs-sections.txt:
4115 * docs/libs/tmpl/gstdataprotocol.sgml:
4117 * examples/controller/audio-example.c: (main):
4118 controller example works now
4121 * tools/gst-inspect.c: (print_element_properties_info):
4122 show param spec flags
4124 2005-08-29 Andy Wingo <wingo@pobox.com>
4126 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4128 2005-08-28 Andy Wingo <wingo@pobox.com>
4130 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4131 as having two arguments instead of just one. Allows superclasses
4132 to access information on subclasses -- see the terrible for() loop
4133 in gtype.c:g_type_create_instance for the reason why. All callers
4136 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4138 * docs/design/part-messages.txt:
4140 * docs/gst/tmpl/.cvsignore:
4141 * docs/gst/tmpl/gstcaps.sgml:
4142 * docs/gst/tmpl/gstclock.sgml:
4149 added descriptions for bus and message
4150 inline caps and clock docs
4152 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4158 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4160 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4163 2005-08-26 Andy Wingo <wingo@pobox.com>
4165 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4166 element_set_state's return val.
4167 (test_2_elements): Add test that's been disabled for months.
4169 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4170 can-activate-pull properties.
4172 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4173 can-activate-pull properties. Implement is_seekable so fakesrc can
4174 operate in pull mode.
4176 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4178 (gst_base_sink_activate, gst_base_sink_activate_pull)
4179 (gst_base_sink_activate_push): Make activation mode choosing work.
4181 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4182 is right. Make pull mode work. Post an eos before pausing in pull
4184 (gst_base_sink_change_state): Pay attention to the core's
4185 change_state() return val.
4187 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4188 has-getrange properties. Cleanups.
4190 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4191 has_getrange and replace with can_activate_pull and
4194 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4195 locking comments. Remove has_loop, has_chain and replace with
4196 can_activate_pull and can_activate_push.
4198 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4201 * examples/Makefile.am:
4202 * examples/metadata/Makefile.am:
4203 * examples/metadata/read-metadata.c: (message_loop),
4204 (have_pad_handler), (make_pipeline), (print_tag), (main):
4205 Add metadata reading example that loops over a list of filenames,
4206 dumping any tags found.
4208 * gst/gstbus.c: (gst_bus_dispose):
4209 * gst/gstelement.c: (gst_element_dispose):
4210 Release a few potentially-held references in dispose.
4212 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4214 * docs/gst/tmpl/gstminiobject.sgml:
4215 do *not* add tmpl/*.sgml files to CVS!
4217 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4219 * libs/gst/bytestream/.cvsignore:
4220 * libs/gst/bytestream/Makefile.am:
4221 * libs/gst/bytestream/adapter.c:
4222 * libs/gst/bytestream/adapter.h:
4223 * libs/gst/bytestream/bytestream.c:
4224 * libs/gst/bytestream/bytestream.h:
4225 * libs/gst/bytestream/filepad.c:
4226 * libs/gst/bytestream/filepad.h:
4227 removing obsolete files
4229 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4231 * docs/gst/gstreamer-docs.sgml:
4232 * docs/libs/gstreamer-libs-docs.sgml:
4233 disabed additional index entries again, as this makes docs-gen just
4234 slow and they aren't useful yet
4235 * docs/libs/gstreamer-libs-sections.txt:
4236 little -section.txt cleanup for libs
4238 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4240 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4241 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4242 fix up some debugging
4243 (gst_base_transform_get_unit_size),
4244 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4245 (gst_base_transform_handle_buffer):
4246 * gst/base/gstbasetransform.h:
4247 handle and store timed NEWSEGMENT events so that subclasses that
4248 calculate time by counting samples have a segment_start time they
4249 need to add to their timestamps - see audioresample
4251 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4254 removed ';' from the end of macro defs
4255 * docs/gst/gstreamer-docs.sgml:
4256 * docs/gst/gstreamer-sections.txt:
4257 * docs/gst/tmpl/.cvsignore:
4259 * gst/gstelement.c: (gst_element_class_init),
4260 (gst_element_set_state), (activate_pads),
4261 (gst_element_save_thyself):
4262 * gst/gstevent.c: (gst_event_new_newsegment):
4264 * gst/gstiterator.c:
4265 * gst/gstiterator.h:
4268 * gst/gstutils.c: (gst_pad_query_convert):
4270 fixed parameter name mismatches between source, header and docs
4271 added some more docs, resolved the last batch of unused elements in
4272 docs (now someone needs to doc them)
4274 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4276 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4277 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4278 don't walk through the plugins backwards. Where is all this
4279 reversed logic coming from ?
4281 2005-08-25 Wim Taymans <wim@fluendo.com>
4283 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4284 (gst_base_transform_transform_size),
4285 (gst_base_transform_configure_caps),
4286 (gst_base_transform_get_unit_size),
4287 (gst_base_transform_buffer_alloc),
4288 (gst_base_transform_change_state):
4289 * gst/base/gstbasetransform.h:
4290 Cache caps unit_size.
4291 Make sure we cannot negotiate up and downstream at the
4294 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4296 * gst/gst.c: (init_pre), (init_post):
4297 register the installed plugin path after the env var
4298 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4299 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4300 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4301 directories, so the tests can prefer uninstalled over installed
4303 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4305 * gst/base/gstbasetransform.h:
4310 2005-08-25 Wim Taymans <wim@fluendo.com>
4312 * gst/gstbin.c: (bin_bus_handler):
4313 Be a bit more conservative about the posted message.
4315 * gst/gstbus.c: (gst_bus_post):
4316 Some cleanups, warn wrong return values.
4318 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4320 * check/gst/gstbin.c: (GST_START_TEST):
4321 * gst/gstbin.c: (bin_bus_handler):
4322 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4323 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4324 (gst_message_new_warning), (gst_message_new_tag),
4325 (gst_message_new_state_changed), (gst_message_new_segment_start),
4326 (gst_message_new_segment_done), (gst_message_new_custom):
4328 * tools/gst-launch.c: (event_loop):
4329 * tools/gst-md5sum.c: (event_loop):
4330 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4332 2005-08-25 Wim Taymans <wim@fluendo.com>
4334 * check/generic/states.c: (GST_START_TEST):
4335 Cleanup can be done at the end.
4337 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4338 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4339 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4340 Oh boy.. Thanks for finding this, Thomas.
4342 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4344 * docs/gst/gstreamer.types:
4347 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4349 * docs/gst/gstreamer-docs.sgml:
4350 * docs/gst/gstreamer-sections.txt:
4351 * docs/gst/tmpl/.cvsignore:
4353 * gst/gstiterator.c:
4355 * gst/registries/gstxmlregistry.h:
4356 added missing classes and symbols (123 more to go)
4357 removed removed symbols from section file
4358 fixed many doc-comments
4360 2005-08-24 Wim Taymans <wim@fluendo.com>
4362 * check/generic/states.c: (GST_START_TEST):
4363 Make sure all tasks are stopped.
4365 * check/gst/gstbin.c: (GST_START_TEST):
4366 Unref after usage for proper valgrinding.
4368 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4369 Really wait for the task to stop before destroying the
4372 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4373 (gst_queue_src_activate_push):
4374 Small cleanups. Don't stop the task when we did not start
4377 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4378 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4379 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4382 Protect the stream lock with the object lock.
4383 Disallow setting the stream lock when running.
4384 Add cleanup_all to wait for the threadpool to finish.
4385 Remove code to autoallocate a mutex if none was provided.
4386 Add _join() to wait for a task to stop.
4387 Protect the thread pool with a global lock.
4389 2005-08-24 Wim Taymans <wim@fluendo.com>
4391 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4392 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4393 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4394 * gst/base/gstbasesink.h:
4395 Handle newsegment events correctly.
4396 Drop buffers out of the segment range.
4398 2005-08-22 Andy Wingo <wingo@pobox.com>
4400 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4401 macro, implements an interface and gstimplementsinterface for a
4404 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4406 * check/Makefile.am:
4407 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4408 add a test that does a bunch of state changes on elements
4409 needs some fixing for valgrind
4410 * check/states/sinks.c: (gst_object_suite):
4413 add prototype for gst_caps_is_equal_fixed
4415 * gst/gstregistrypool.c:
4418 2005-08-24 Andy Wingo <wingo@pobox.com>
4420 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4421 convert a negative value. Doesn't make much sense. Mostly this is
4422 here to force callers to ensure -1 maps to -1.
4424 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4426 * docs/pwg/advanced-types.xml:
4427 Well done to Michael for catching my deliberate introduction
4428 of this spelling mistake.
4429 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4431 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4432 unlink pads before removing the element from the bin.
4434 2005-08-24 Andy Wingo <wingo@pobox.com>
4436 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4437 the same thing as GST_DEBUG=*:4.
4438 (parse_debug_level, parse_debug_category): New helper parsers.
4440 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4442 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4443 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4444 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4445 (gst_base_transform_buffer_alloc),
4446 (gst_base_transform_handle_buffer):
4447 use gboolean return values and pointers to size so we can use the
4448 full GST_BUFFER_SIZE range (guint) for buffer sizes
4449 use GstPadDirection for transform_caps
4450 * gst/base/gstbasetransform.h:
4451 rename get_size to get_unit_size since that's what it is
4452 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4453 use GstPadDirection for transform_caps
4454 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4456 cleanup and debugging
4458 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4460 * gst/gstelement.c: (gst_element_class_init),
4461 (gst_element_set_state), (activate_pads),
4462 (gst_element_save_thyself):
4463 * tools/gst-compprep.c: (main):
4464 * tools/gst-inspect.c: (print_element_properties_info):
4465 * tools/gst-xmlinspect.c: (print_element_properties):
4466 Fixed long standing mem-leak
4468 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4470 * check/gst/gstbin.c: (GST_START_TEST):
4471 * gst/gstbin.c: (bin_bus_handler):
4472 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4473 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4474 (gst_message_new_warning), (gst_message_new_tag),
4475 (gst_message_new_state_changed), (gst_message_new_segment_start),
4476 (gst_message_new_segment_done), (gst_message_new_custom):
4478 * tools/gst-launch.c: (event_loop):
4479 * tools/gst-md5sum.c: (event_loop):
4480 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4481 that applications can sensibly post custom messages with references
4482 to their own objects.
4484 2005-08-24 Andy Wingo <wingo@pobox.com>
4486 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4489 2005-08-24 Wim Taymans <wim@fluendo.com>
4491 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4492 (gst_base_transform_transform_caps),
4493 (gst_base_transform_transform_size),
4494 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4495 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4496 (gst_base_transform_handle_buffer):
4497 * gst/base/gstbasetransform.h:
4498 Many fixes and new features added by Thomas. Can now also do
4499 transforms with variable sizes and a custom fixate_caps function.
4501 2005-08-24 Wim Taymans <wim@fluendo.com>
4503 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4507 Cast to ClockTime before formatting to time.
4512 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4514 * check/gst-libs/controller.c: (GST_START_TEST),
4515 (gst_controller_suite):
4516 * docs/gst/tmpl/gstcaps.sgml:
4517 * docs/gst/tmpl/gstghostpad.sgml:
4518 * docs/gst/tmpl/gstquery.sgml:
4519 * docs/gst/tmpl/gstutils.sgml:
4520 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4521 (gst_object_sink_values), (gst_object_get_value_arrays),
4522 (gst_object_get_value_array):
4523 gracefully handle helper method calls to objects that are not beeing
4524 controlled, added test case for that
4526 2005-08-23 Wim Taymans <wim@fluendo.com>
4528 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4529 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4530 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4531 (gst_event_parse_qos), (gst_event_new_seek),
4532 (gst_event_parse_seek):
4534 Some more debugging output and doc cleanups.
4536 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4537 Fix possible deadlock.
4539 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4541 * docs/gst/gstreamer-docs.sgml:
4542 * docs/gst/gstreamer-sections.txt:
4543 * docs/gst/gstreamer.types:
4544 * docs/gst/tmpl/.cvsignore:
4549 added 100 symbols from gstreamer-unused.txt to the right sections
4550 fixed more broken comments
4551 added GstBus to docs
4553 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4555 * docs/gst/gstreamer-sections.txt:
4556 * docs/gst/tmpl/.cvsignore:
4557 * docs/gst/tmpl/gstbin.sgml:
4558 * docs/gst/tmpl/gstbuffer.sgml:
4559 * gst/base/gstbasesrc.c:
4560 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4563 * tools/gst-launch.1.in:
4564 inlined more doc comments, added missing comments and fixed comments
4567 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4569 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4573 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4575 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4576 * gst/gststructure.h:
4577 add a fixate function for booleans; add a FIXME that these func
4578 names should probably be gst_structure_fixate_*
4580 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4582 * docs/gst/gstreamer-docs.sgml:
4583 * docs/gst/gstreamer-sections.txt:
4585 * gst/gstbin.c: (gst_bin_get_type),
4586 (gst_bin_child_proxy_get_child_by_index),
4587 (gst_bin_child_proxy_get_children_count),
4588 (gst_bin_child_proxy_init):
4589 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4590 (gst_child_proxy_get_child_by_index),
4591 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4592 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4593 (gst_child_proxy_get), (gst_child_proxy_set_property),
4594 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4595 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4596 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4597 * gst/gstchildproxy.h:
4598 * gst/parse/grammar.y:
4599 * tools/gst-inspect.c: (print_interfaces),
4600 (print_element_properties_info), (print_element_info):
4601 ported gstchildproxy over from 0.8
4602 ported gst-inspect fixes and enhancements over from 0.8
4604 2005-08-22 Wim Taymans <wim@fluendo.com>
4606 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4607 (gst_base_transform_handle_buffer):
4608 Also call the transform function if we have ANY caps.
4610 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4613 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4615 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4616 Don't pretend to handle seek events if the source is not seekable
4618 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4620 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4621 Remove extra parameter to debug output
4623 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4624 (gst_base_src_do_seek), (gst_base_src_activate_push):
4625 Fix seek event handling.
4627 * gst/gstpipeline.c: (gst_pipeline_change_state):
4628 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4629 (gst_queue_src_activate_push):
4630 Don't start the src pad task on FLUSH_STOP if the pad
4634 2005-08-22 Wim Taymans <wim@fluendo.com>
4636 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4637 Added check for gst_static_caps_get() refcounting.
4639 2005-08-22 Wim Taymans <wim@fluendo.com>
4641 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4642 Make _static_caps_get() refcounting sane.
4644 * gst/gstelement.c: (gst_element_set_state):
4645 Add g_return_val_if_fail() to protect against segfaults.
4647 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4649 * docs/gst/tmpl/gstevent.sgml:
4652 inlined remaining docs, added missing doc comments
4654 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4656 * check/gst/gstbin.c: (GST_START_TEST):
4657 since we don't know when preroll is done, use refcount range
4659 * gst/check/gstcheck.h:
4660 add macro for checking refcount range
4662 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4664 * check/Makefile.am:
4665 clean up environment for when registry gets built versus
4666 when actual tests are run; valgrind seems to not report
4667 leaks if GST_PLUGIN_PATH is set to some specific values
4668 * check/gst/gstbin.c: (GST_START_TEST):
4669 add more refcounting checks; maybe this exposes a
4672 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4673 * gst/check/gstcheck.h:
4674 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4675 (gst_bin_change_state):
4676 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4677 add/fix debugging/whitespace
4679 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4681 * check/gst/gstevent.c: (event_probe), (test_event),
4683 Er, don't call gst_bin_watch_for_state_change you idiot.
4685 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4687 * check/Makefile.am:
4688 Use CHECK_CFLAGS and CHECK_LIBS
4689 * check/gst/gstevent.c: (event_probe), (test_event),
4692 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4693 (gst_base_src_start), (gst_base_src_stop),
4694 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4695 (gst_base_src_change_state):
4696 Sprinkle gst_base_src_stop liberally around error paths to fix
4697 problems reusing a source after failed state changes.
4698 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4699 (helper_find_suggest), (gst_type_find_helper):
4700 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4702 * docs/gst/tmpl/gstevent.sgml:
4703 Migrate part of the docs from the SGML file. Wait for ensonic to
4704 tell me how I did it wrong ;)
4705 * tools/gst-typefind.c: (main):
4706 Extra robustness to state changes between files.
4708 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4710 * check/Makefile.am:
4711 don't valgrind the controller test - it's leaking - Stefan, HELP
4712 * gst/check/gstcheck.c: (gst_check_message_error),
4713 (gst_check_chain_func), (gst_check_setup_element),
4714 (gst_check_teardown_element), (gst_check_setup_src_pad),
4715 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4716 (gst_check_teardown_sink_pad):
4717 * gst/check/gstcheck.h:
4718 add a bunch of methods to set up elements, and src and sink pads
4719 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4720 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4725 whitespace/doc fixes
4727 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4730 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4731 be handled by the application and not always printed as well
4733 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4735 * check/Makefile.am:
4737 * gst/check/gstcheck.c: (gst_check_message_error):
4738 * gst/check/gstcheck.h:
4739 add a fail_unless_equals_int
4740 add fail_unless for error messages
4742 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4744 * check/Makefile.am:
4746 * common/Makefile.am:
4749 factor out some of the common stuff so we can use it
4751 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4753 * check/Makefile.am:
4754 * check/gst/gstiterator.c: (GST_START_TEST):
4755 * check/gst/gstsystemclock.c: (GST_START_TEST),
4756 (gst_systemclock_suite):
4757 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4761 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4763 * check/elements/.cvsignore:
4764 * check/elements/gstfakesrc.c:
4765 rename to name of element
4766 * check/elements/identity.c: (chain_func), (event_func),
4767 (setup_identity), (cleanup_identity), (GST_START_TEST),
4768 (identity_suite), (main):
4769 add a test for identity
4770 * check/Makefile.am:
4771 * pkgconfig/Makefile.am:
4772 * pkgconfig/gstreamer-check.pc.in:
4773 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4777 move the check stuff to a library that gets installed
4778 * check/gst-libs/controller.c: (GST_START_TEST):
4779 * check/gst-libs/gdp.c:
4780 * check/gst/gst.c: (GST_START_TEST):
4781 * check/gst/gstbin.c:
4782 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4783 * check/gst/gstbus.c:
4784 * check/gst/gstcaps.c: (GST_START_TEST):
4785 * check/gst/gstelement.c:
4786 * check/gst/gstghostpad.c:
4787 * check/gst/gstiterator.c:
4788 * check/gst/gstmessage.c:
4789 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4790 * check/gst/gstobject.c:
4791 * check/gst/gstpad.c: (GST_START_TEST):
4792 * check/gst/gststructure.c: (GST_START_TEST):
4793 * check/gst/gstsystemclock.c: (GST_START_TEST),
4794 (gst_systemclock_suite):
4795 * check/gst/gsttag.c: (gst_tag_suite):
4796 * check/gst/gstvalue.c:
4797 * check/pipelines/cleanup.c:
4798 * check/pipelines/simple_launch_lines.c:
4799 * check/states/sinks.c:
4800 change include statement
4802 * docs/gst/gstreamer-sections.txt:
4803 * docs/gst/tmpl/gstpad.sgml:
4804 document more pad stuff
4805 * gst/gstminiobject.c: (gst_mini_object_ref),
4806 (gst_mini_object_unref):
4809 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4811 * docs/gst/tmpl/gst.sgml:
4813 eliminate another tmpl file, fix spelling in the long-description
4815 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4817 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4818 (test_event), (timediff), (gstevents_suite):
4819 Should fix build on 64-bit arch's
4821 2005-08-18 Andy Wingo <wingo@pobox.com>
4823 Make sure that when a pipeline goes to PLAYING, that data has
4824 actually hit the sink.
4826 * check/states/sinks.c (test_sink): A sink that doesn't get any
4827 data shouldn't return SUCCESS for going to either PLAYING or
4828 PAUSED. Test also the return values on the way back down.
4830 * gst/gstelement.c (gst_element_set_state): When changing the
4831 state of an element currently changing state asynchronously, go to
4832 lost-state after commiting the pending state. Makes future calls
4833 to get_state continue to return ASYNC.
4835 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
4836 ASYNC when going to PLAYING if we still don't have preroll, as can
4837 happen with live sources.
4839 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4841 * docs/pwg/advanced-types.xml:
4842 Hack long paragraph into 2 chunks as a workaround for buggy
4843 jadetex version in sid and breezy that loops infinitely and
4846 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4848 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4849 (test_event), (timediff), (gstevents_suite):
4850 Provide more error margin in clock measurements to allow for
4851 g_get_current_time inaccuracies.
4853 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4855 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4856 (test_event), (timediff), (gstevents_suite):
4857 Fix error message output so I might be able to tell why the
4858 test works here but fails on the build farm.
4860 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4862 * check/Makefile.am:
4863 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4864 (test_event), (timediff), (gstevents_suite), (main):
4867 * docs/design/part-seeking.txt:
4870 * docs/gst/tmpl/gstevent.sgml:
4871 * docs/gst/tmpl/gstfakesrc.sgml:
4874 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4875 Treat a buffer-without-newsegment the same as a receiving
4876 a newsegment not in time format, and disable syncing to the clock
4879 * gst/gstbus.c: (gst_bus_set_sync_handler):
4880 Assert if anyone tries to replace the existing sync_handler for bus,
4881 as only the owner should be setting it.
4884 Have a fixed set of custom event enums with events identified by
4885 their structure name (as in 0.8), rather than a free-for-all
4886 allowing collisions between enum values from different plugins.
4888 * gst/gstpad.c: (gst_pad_class_init):
4891 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4892 Handle out-of-band downstream events from the sending thread.
4894 2005-08-17 Andy Wingo <wingo@pobox.com>
4896 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
4897 play-timeout==0 to mean no timeout at all. In that case, don't
4898 bother with a get_state or a warning, just return directly, even
4901 * gst/base/gstbasetransform.c: Debug changes.
4904 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
4905 ensure bins post state change messages. A bit of a hack but I can't
4906 think of a way to avoid it.
4908 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
4910 2005-08-16 Andy Wingo <wingo@pobox.com>
4912 * gst/base/gstadapter.h:
4913 * gst/base/gstadapter.c (gst_adapter_take): New function, like
4914 peek() but you own the data. Not terribly efficient atm.
4916 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4918 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
4919 (gst_element_found_tags):
4921 Add two utility functions for tag handling.
4923 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4925 * docs/manual/advanced-dataaccess.xml:
4926 * docs/manual/basics-helloworld.xml:
4927 Fix docs to use _bin_add() before _link(), which fixes the examples
4928 with recent core versions (reported by Madhan Raj M
4929 <raj_madan@rediffmail.com>, #313199).
4931 2005-08-16 Wim Taymans <wim@fluendo.com>
4933 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4934 Added subtract checks.
4936 * docs/design/part-events.txt:
4937 Some more docs about newsegment
4939 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4942 * gst/gstcaps.c: (gst_caps_to_string):
4943 Add comments, cleanups.
4945 * gst/gstelement.c: (gst_element_save_thyself):
4948 * gst/gstvalue.c: (gst_value_collect_int_range),
4949 (gst_string_unwrap), (gst_value_union_int_int_range),
4950 (gst_value_union_int_range_int_range),
4951 (gst_value_intersect_int_int_range),
4952 (gst_value_intersect_int_range_int_range),
4953 (gst_value_intersect_double_double_range),
4954 (gst_value_intersect_double_range_double_range),
4955 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
4956 (gst_value_subtract_int_range_int),
4957 (gst_value_subtract_double_range_double),
4958 (gst_value_subtract_double_range_double_range),
4959 (gst_value_subtract_from_list), (gst_value_subtract_list),
4960 (gst_value_can_compare), (gst_value_compare_fraction):
4961 Cleanups, add comments, remove unneeded asserts.
4963 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4965 * tools/gst-launch.c: (event_loop):
4966 don't convert NULL structures to strings
4968 2005-08-15 Stefan Kost <ensonic@users.sf.net>
4970 * docs/gst/gstreamer-sections.txt:
4971 made some defines private
4972 * docs/gst/tmpl/gstconfig.sgml:
4973 * docs/gst/tmpl/gstqueue.sgml:
4974 * docs/gst/tmpl/gsttaglist.sgml:
4975 * docs/gst/tmpl/gsttypes.sgml:
4976 * docs/gst/tmpl/gstutils.sgml:
4977 * docs/pwg/appendix-porting.xml:
4978 * gst/base/gstbasesink.h:
4979 * gst/base/gstbasesrc.c:
4980 * gst/base/gstbasesrc.h:
4981 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
4982 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
4983 * gst/gstelement.c: (gst_element_class_init):
4984 * gst/gstpad.c: (gst_pad_class_init):
4985 * gst/gstqueue.c: (gst_queue_class_init):
4986 * gst/gstxml.c: (gst_xml_class_init):
4987 documented all undocumented signal inline
4988 * libs/gst/controller/gst-controller.h:
4991 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4993 * docs/pwg/appendix-porting.xml:
4994 Document _set_link_function -> _set_setcaps_function.
4996 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4998 * check/Makefile.am:
4999 add a .check target for running the check
5000 * check/gst-libs/controller.c: (GST_START_TEST):
5002 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5003 complete checks for gstbuffer; would be nice if I could get the
5004 gcov stuff to work so I can see if I actually completed gstbuffer.c
5006 add ASSERT_BUFFER_REFCOUNT
5008 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5010 * docs/gst/gstreamer-sections.txt:
5011 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5013 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5014 spew out a warning if a tag that is already registered
5015 is re-registered, unless it is re-registered with a
5016 different type (#308438).
5018 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5020 * docs/pwg/appendix-porting.xml:
5021 * docs/pwg/building-state.xml:
5022 Add some paragraphs about state changes in 0.9 to the PWG
5023 and the porting guide, in particular about the new meaning
5024 of GST_STATE_PAUSED and how to write state change functions
5025 with concurrent access by multiple threads in mind.
5027 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5029 * docs/gst/gstreamer-docs.sgml:
5030 * docs/libs/gstreamer-libs-docs.sgml:
5031 added deprecation and since indexes
5032 * libs/gst/controller/gst-controller.c:
5033 * libs/gst/controller/gst-helper.c:
5037 2005-08-11 Wim Taymans <wim@fluendo.com>
5039 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5040 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5041 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5042 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5043 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5044 (gst_ghost_pad_set_target):
5045 Actually implement (re)setting the target on a ghostpad
5046 as described in the docs.
5048 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5050 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5051 Check whether GST_DEBUG_NO_COLOR environment variable is
5052 set and disable coloured debug output if that is the case.
5054 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5056 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5057 (gst_type_find_helper):
5058 The memory returned by gst_type_find_peek() needs to
5059 stay valid until the end of a typefind function, and
5060 typefind functions may keep results from different
5061 offsets around, so we can't just unref the buffer from
5062 the previous _peek(), but have to save all buffers
5063 returned by _peek() until typefinding is done and only
5066 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5068 * docs/gst/gstreamer-sections.txt:
5070 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5072 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5074 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5075 Fix a pretty good memleak.
5077 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5079 * gst/gstiterator.h:
5080 Fix wrong include and 'make distcheck'.
5082 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5084 * gst/gstbin.c: (bin_bus_handler):
5085 Use gst_element_post_message() instead.
5087 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5089 * gst/base/gstadapter.h:
5090 * gst/base/gstbasesink.h:
5091 * gst/base/gstbasesrc.h:
5092 * gst/base/gstbasetransform.h:
5093 * gst/base/gstcollectpads.h:
5094 * gst/base/gstpushsrc.h:
5095 * gst/gstiterator.h:
5096 Add padding to our base elements' class and instance structs and
5097 to GstIterator (you will need to rebuild all plugins and apps!)
5099 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5101 * gst/gstbin.c: (bin_bus_handler):
5102 Make default message forwarding from child->bus to bin->bus
5103 threadsafe and make it not emit warnings if the parent has no bus.
5105 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5107 * gst/gstelement.c: (activate_pads):
5108 On paused->ready, set pad->caps to NULL, as is the documented
5109 behaviour in this state change. Fixes playback of series of
5110 media files when visualization is enabled in Totem.
5112 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5114 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5115 Allow NULL as filter-caps (which means "any").
5117 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5119 * docs/libs/gstreamer-libs-sections.txt:
5120 * libs/gst/controller/gst-controller.c:
5121 * libs/gst/controller/gst-controller.h:
5122 * libs/gst/controller/gst-helper.c:
5123 adding more entries to the docs and fix small doc-bugs
5125 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5127 * docs/gst/gstreamer-docs.sgml:
5128 * docs/gst/gstreamer-sections.txt:
5129 * docs/gst/gstreamer.types:
5130 * docs/gst/tmpl/gstbasesink.sgml:
5131 * docs/gst/tmpl/gstbasesrc.sgml:
5132 * docs/gst/tmpl/gstbasetransform.sgml:
5133 * docs/gst/tmpl/gstfakesrc.sgml:
5134 * gst/base/gstcollectpads.c:
5135 * gst/base/gstcollectpads.h:
5136 * libs/gst/controller/gst-controller.c:
5137 * libs/gst/controller/gst-controller.h:
5138 * libs/gst/controller/gst-helper.c:
5139 * libs/gst/controller/gst-interpolation.c:
5140 * libs/gst/controller/lib.c:
5141 added long/short desc for controller docs
5142 added collectpads base class docs
5143 added correct includes to base-class docs
5145 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5147 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5148 (gst_test_mono_source_set_property),
5149 (gst_test_mono_source_class_init), (GST_START_TEST),
5150 (gst_controller_suite):
5151 * docs/gst/gstreamer-docs.sgml:
5152 * docs/gst/gstreamer-sections.txt:
5153 * docs/gst/gstreamer.types:
5154 * docs/libs/gstreamer-libs-docs.sgml:
5155 * docs/libs/gstreamer-libs-sections.txt:
5156 * gst/base/gstadapter.c:
5157 * libs/gst/controller/gst-controller.c:
5158 (gst_controlled_property_new), (gst_controlled_property_free),
5159 (gst_controller_new_valist),
5160 (gst_controller_remove_properties_valist),
5161 (gst_controller_sink_values), (_gst_controller_finalize):
5162 * libs/gst/controller/gst-controller.h:
5163 * libs/gst/controller/gst-helper.c:
5164 (gst_object_control_properties), (gst_object_uncontrol_properties),
5165 (gst_object_get_controller), (gst_object_set_controller),
5166 (gst_object_sink_values), (gst_object_get_value_arrays),
5167 (gst_object_get_value_array):
5168 more tests (and fixes) for the controller
5169 more docs for the controller
5170 integrated companies docs for the adapter
5172 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5174 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5175 (GST_START_TEST), (fakesrc_suite):
5176 add tests for sizetype
5178 2005-08-04 Andy Wingo <wingo@pobox.com>
5180 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5181 fixes buffer_alloc proxying among other things.
5183 * gst/base/gstbasetransform.c:
5184 * gst/base/gstbasetransform.h:
5185 Revert patch to gstbasetransform from 7-28 removing
5188 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5189 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5190 Semantics changed, should return not the size of the output buffer
5191 but the byte size of a buffer with a given caps.
5193 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5195 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5196 out) are not the pad caps until setcaps finishes.
5197 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5198 not-in-place case as well. Deal with changing from in-place to
5199 not-in-place within calling pad_alloc_buffer. Still a bit
5200 concerned about the overhead here...
5202 2005-08-03 Andy Wingo <wingo@pobox.com>
5204 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5205 fixating is an error.
5207 2005-08-04 Edward Hervey <edward@fluendo.com>
5209 * gst/base/gstadapter.h:
5210 Added gst_adapter_get_type() to the header
5212 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5214 * check/Makefile.am:
5215 * check/gst-libs/controller.c:
5216 * libs/gst/controller/gst-controller.c:
5217 (gst_controller_new_valist):
5218 added check test suite for the controller
5219 * gst/base/gstpushsrc.c:
5222 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5224 * docs/gst/Makefile.am:
5225 * docs/gst/gstreamer-docs.sgml:
5226 * docs/gst/gstreamer-sections.txt:
5227 * docs/gst/gstreamer.types:
5228 * docs/gst/tmpl/gstfakesrc.sgml:
5230 * gst/base/gstbasesink.c:
5231 * gst/base/gstbasesink.h:
5232 * gst/base/gstbasesrc.c:
5233 * gst/base/gstbasesrc.h:
5234 * gst/base/gstbasetransform.c:
5235 * gst/base/gstpushsrc.c:
5236 * gst/base/gstpushsrc.h:
5237 add short/long description docs to base classes
5238 add pushsrc to the docs
5239 remove consolidated doc fragments
5241 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5244 * docs/libs/Makefile.am:
5245 * docs/libs/gstreamer-libs-docs.sgml:
5246 * docs/libs/gstreamer-libs-sections.txt:
5247 * docs/libs/gstreamer-libs.types:
5248 * examples/Makefile.am:
5249 * examples/controller/.cvsignore:
5250 * examples/controller/Makefile.am:
5251 * examples/controller/audio-example.c: (main):
5252 * libs/gst/Makefile.am:
5253 * libs/gst/controller/.cvsignore:
5254 * libs/gst/controller/Makefile.am:
5255 * libs/gst/controller/gst-controller.c:
5256 (on_object_controlled_property_changed), (gst_timed_value_compare),
5257 (gst_timed_value_find),
5258 (gst_controlled_property_set_interpolation_mode),
5259 (gst_controlled_property_new), (gst_controlled_property_free),
5260 (gst_controller_find_controlled_property),
5261 (gst_controller_new_valist), (gst_controller_new),
5262 (gst_controller_remove_properties_valist),
5263 (gst_controller_remove_properties), (gst_controller_set),
5264 (gst_controller_set_from_list), (gst_controller_unset),
5265 (gst_controller_get), (gst_controller_get_all),
5266 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5267 (gst_controller_get_value_array),
5268 (gst_controller_set_interpolation_mode),
5269 (_gst_controller_finalize), (_gst_controller_init),
5270 (_gst_controller_class_init), (gst_controller_get_type):
5271 * libs/gst/controller/gst-controller.h:
5272 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5273 (g_object_uncontrol_properties), (g_object_get_controller),
5274 (g_object_set_controller), (g_object_sink_values),
5275 (g_object_get_value_arrays), (g_object_get_value_array):
5276 * libs/gst/controller/gst-interpolation.c:
5277 (gst_controlled_property_find_timed_value_node),
5278 (interpolate_none_get), (interpolate_trigger_get),
5279 (interpolate_trigger_get_value_array):
5280 * libs/gst/controller/lib.c: (gst_controller_init):
5281 * pkgconfig/Makefile.am:
5282 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5283 * pkgconfig/gstreamer-control.pc.in:
5284 * testsuite/Makefile.am:
5285 * testsuite/controller/.cvsignore:
5286 * testsuite/controller/Makefile.am:
5287 * testsuite/controller/interpolator.c: (main):
5288 added controller code
5289 removed dparam pc files
5291 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5292 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5293 (gst_collectpads_stop):
5294 Broadcast the condition when shutting down, to make sure we wake all
5295 threads up. Shut down pads on finalize, for safety.
5297 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5298 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5299 (gst_base_transform_handle_buffer),
5300 (gst_base_transform_change_state):
5301 Handle PAUSED->READY->PAUSED transition after negotiation
5303 * gst/gstmessage.c: (gst_message_init):
5304 Extra piece of debug for new messages.
5306 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5309 * docs/gst/tmpl/gstbasesrc.sgml:
5310 * docs/gst/tmpl/gstelement.sgml:
5311 * docs/gst/tmpl/gstevent.sgml:
5312 * docs/gst/tmpl/gstfakesrc.sgml:
5313 * docs/gst/tmpl/gstformat.sgml:
5314 * docs/gst/tmpl/gstghostpad.sgml:
5315 * docs/gst/tmpl/gstpad.sgml:
5316 * docs/gst/tmpl/gstquery.sgml:
5317 * docs/gst/tmpl/gststructure.sgml:
5318 * docs/gst/tmpl/gsttaglist.sgml:
5319 * docs/gst/tmpl/gstvalue.sgml:
5320 * docs/libs/gstreamer-libs-docs.sgml:
5321 * docs/libs/gstreamer-libs-sections.txt:
5322 * docs/libs/gstreamer-libs.types:
5323 * libs/gst/Makefile.am:
5324 * libs/gst/control/.cvsignore:
5325 * libs/gst/control/Makefile.am:
5326 * libs/gst/control/control.c:
5327 * libs/gst/control/control.h:
5328 * libs/gst/control/dparam.c:
5329 * libs/gst/control/dparam.h:
5330 * libs/gst/control/dparam_smooth.c:
5331 * libs/gst/control/dparam_smooth.h:
5332 * libs/gst/control/dparamcommon.h:
5333 * libs/gst/control/dparammanager.c:
5334 * libs/gst/control/dparammanager.h:
5335 * libs/gst/control/dplinearinterp.c:
5336 * libs/gst/control/dplinearinterp.h:
5337 * libs/gst/control/unitconvert.c:
5338 * libs/gst/control/unitconvert.h:
5339 * testsuite/Makefile.am:
5340 * testsuite/dynparams/.cvsignore:
5341 * testsuite/dynparams/Makefile.am:
5342 * testsuite/dynparams/dparamstest.c:
5343 * tools/Makefile.am:
5344 * tools/gst-inspect.c: (print_element_info), (main):
5345 * tools/gst-xmlinspect.c: (print_element_info), (main):
5346 deactivate and remove dparams (libgstcontrol)
5348 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5350 * gst/elements/gsttypefindelement.c:
5351 (gst_type_find_element_have_type), (gst_type_find_element_init),
5352 (stop_typefinding), (gst_type_find_element_handle_event),
5353 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5354 * gst/elements/gsttypefindelement.h:
5355 Set caps on all outgoing buffers, not just the first one.
5357 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5359 * gst/elements/gsttypefindelement.c:
5360 (gst_type_find_element_have_type),
5361 (gst_type_find_element_check_set_buffer_caps),
5362 (gst_type_find_element_init), (stop_typefinding),
5363 (gst_type_find_element_handle_event),
5364 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5365 * gst/elements/gsttypefindelement.h:
5366 Set caps on first outgoing buffer when we've found the type.
5368 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5370 * docs/gst/gstreamer-docs.sgml:
5371 * docs/gst/gstreamer-sections.txt:
5372 * docs/gst/tmpl/gstscheduler.sgml:
5373 * docs/gst/tmpl/gstschedulerfactory.sgml:
5374 Remove some old cruft from docs.
5376 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5379 Fix inline docs for GstPadLinkReturn.
5381 * gst/gststructure.c: (gst_structure_has_name):
5382 * gst/gststructure.h:
5383 * docs/gst/gstreamer-sections.txt:
5384 New API: gst_structure_has_name().
5386 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5389 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5390 and _LARGEFILE_SOURCE in config.h as required. Do not
5391 export those flags in our .pc files any longer (#142209).
5393 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5395 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5396 (gst_file_sink_do_seek), (gst_file_sink_event),
5397 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5398 Redo seek/tell calls with large file support in mind; add some
5399 debugging messages; add log message that tells us when large
5400 file support is unavailable or not enabled for some reason.
5402 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5403 Add log message that tells us when large file support
5404 is unavailable or not enabled for some reason.
5406 2005-07-29 Wim Taymans <wim@fluendo.com>
5408 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5409 Added test for removing an element with ghostpad from a bin.
5410 Fixed test as current implementation does the right thing.
5412 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5413 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5414 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5415 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5416 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5417 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5418 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5419 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5420 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5421 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5422 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5423 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5424 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5425 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5426 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5427 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5428 * gst/gstghostpad.h:
5429 Clean up ghostpads, remove properties for internal stuff.
5432 Prepare for switching targets, not all use cases work yet.
5434 2005-07-29 Wim Taymans <wim@fluendo.com>
5436 * docs/design/part-gstghostpad.txt:
5439 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5440 (gst_bin_remove_func):
5441 Unlinking pads while holding the bin LOCK is not a good
5444 * gst/gstpad.c: (gst_pad_class_init),
5445 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5446 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5447 No prob setting template after creating the pad.
5449 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5451 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5452 (gst_bus_peek), (gst_bus_source_dispatch),
5453 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5454 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5455 gst_bus_poll may be called from other threads. Handle
5456 this nicely by not making poll_data disappear off the
5457 stack once gst_bus_poll returns.
5458 gst_bus_peek now increments the refcount on the returned
5461 2005-07-29 Wim Taymans <wim@fluendo.com>
5463 * docs/design/part-gstghostpad.txt:
5464 Overview of current GhostPad datastructures and use
5465 cases for changing the target.
5467 2005-07-28 Wim Taymans <wim@fluendo.com>
5469 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5470 Added checks for hierarchy consistency whan adding linked
5473 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5474 Added check to test element scheduling without bin/pipeline.
5476 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5477 First add elements to bin, then link.
5479 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5480 (gst_bin_remove_func):
5481 Unlink pads from elements added/removed from bin to maintain
5482 hierarchy consistency.
5484 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5486 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5487 (gst_base_transform_handle_buffer):
5488 * gst/base/gstbasetransform.h:
5489 Remove broken delay_configure (fixes renegotiation of software
5490 scaling pipelines); remove some leftover printf()s.
5492 2005-07-28 Wim Taymans <wim@fluendo.com>
5494 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5495 Added some more tests for wrong hierarchy
5497 * docs/design/part-overview.txt:
5500 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5503 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5504 (gst_element_dispose):
5507 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5508 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5509 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5510 (gst_pad_set_caps), (gst_pad_send_event):
5511 Check for correct hierarchy when linking pads. Moving to
5512 strict requirement for ghostpads when linking elements in
5516 Clean ups. Added WRONG_HIERARCHY return value.
5518 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5520 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5521 Better debug if no transform is possible.
5523 2005-07-27 Wim Taymans <wim@fluendo.com>
5525 * docs/random/wtay/network-transp:
5528 2005-07-27 Wim Taymans <wim@fluendo.com>
5530 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5531 (gst_dp_event_from_packet):
5532 Fix serialization of seek events.
5534 2005-07-27 Wim Taymans <wim@fluendo.com>
5536 * check/gst-libs/gdp.c: (GST_START_TEST):
5537 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5538 Fix compilation and fix event serialization.
5540 2005-07-27 Wim Taymans <wim@fluendo.com>
5543 * docs/design/part-TODO.txt:
5544 * docs/design/part-events.txt:
5547 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5548 (gst_base_sink_event), (gst_base_sink_do_sync),
5549 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5550 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5551 (gst_base_src_do_seek), (gst_base_src_event_handler),
5552 (gst_base_src_loop):
5553 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5554 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5555 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5556 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5557 (gst_base_transform_set_passthrough),
5558 (gst_base_transform_is_passthrough):
5559 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5560 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5566 * gst/gstelement.c: (gst_element_seek):
5568 Update gst_element_seek.
5570 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5571 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5572 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5573 (gst_event_new_eos), (gst_event_new_newsegment),
5574 (gst_event_parse_newsegment), (gst_event_new_tag),
5575 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5576 (gst_event_parse_qos), (gst_event_new_seek),
5577 (gst_event_parse_seek), (gst_event_new_navigation):
5579 Make GstEvent use GstStructure. Add parsing code, make sure the
5580 API is sufficiently generic.
5581 Mark possible directions of events and serialization.
5583 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5584 (_gst_message_copy), (gst_message_new_segment_start),
5585 (gst_message_new_segment_done), (gst_message_new_custom),
5586 (gst_message_parse_segment_start),
5587 (gst_message_parse_segment_done):
5590 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5591 (gst_pad_set_caps), (gst_pad_send_event):
5592 Update for new events.
5593 Catch events sent in wrong directions.
5595 * gst/gstqueue.c: (gst_queue_link_src),
5596 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5597 (gst_queue_handle_src_query):
5602 Remove event code from this file.
5604 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5605 (gst_dp_event_from_packet):
5608 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5610 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5611 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5612 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5613 Make debugging actually useful.
5615 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5617 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5618 (gst_pad_fixate_caps):
5619 Implement default fixation once again, so that gst_pad_fixate()
5620 actually does anything at all. This probably needs to be some
5621 sort of a last resort, and use profile-based fixation first, but
5622 since that doesn't exist yet, this is the best we have. Fixes
5623 visualization in Totem.
5625 2005-07-22 Wim Taymans <wim@fluendo.com>
5627 * docs/design/part-events.txt:
5630 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5631 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5632 (gst_base_sink_activate_pull):
5635 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5636 (gst_fake_src_create):
5637 Fix handoff marshall.
5639 * gst/elements/gstidentity.c: (gst_identity_class_init),
5640 (gst_identity_transform_ip):
5641 We're a real inplace element.
5643 * gst/gstbus.c: (gst_bus_post):
5644 Added some comments.
5646 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5647 * tests/muxing/case1.c: (main):
5648 * tests/sched/dynamic-pipeline.c: (main):
5649 * tests/sched/interrupt1.c: (main):
5650 * tests/sched/interrupt2.c: (main):
5651 * tests/sched/interrupt3.c: (main):
5652 * tests/sched/runxml.c: (main):
5653 * tests/sched/sched-stress.c: (main):
5654 * tests/seeking/seeking1.c: (event_received), (main):
5655 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5657 * tests/threadstate/threadstate3.c: (main):
5658 * tests/threadstate/threadstate4.c: (main):
5659 * tests/threadstate/threadstate5.c: (main):
5662 2005-07-21 Wim Taymans <wim@fluendo.com>
5664 * docs/design/part-seeking.txt:
5665 Some small additions.
5667 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5668 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5669 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5670 * gst/base/gstbasesink.h:
5671 discont values are gint64, handle the math correctly.
5673 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5674 Make the basesrc report error if the source pad is not linked.
5676 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5677 (gst_queue_loop), (gst_queue_handle_src_query),
5678 (gst_queue_src_activate_push):
5679 Make queue collect data even if the srcpad is not linked.
5680 Start pushing out data as soon as it is linked.
5682 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5684 Added gst_flow_get_name() to ease error reporting.
5686 2005-07-20 Wim Taymans <wim@fluendo.com>
5688 * gst/gstmessage.c: (gst_message_new_segment_start),
5689 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5690 (gst_message_parse_segment_done):
5692 Added a bunch of messages for advanced seeking.
5694 * gst/parse/grammar.y:
5695 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5696 (gst_dpman_state_changed):
5697 Fix some new-pad -> pad-added signals
5699 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5701 * docs/manual/appendix-porting.xml:
5702 * docs/pwg/appendix-porting.xml:
5703 Document new-pad/state-change signal renames and the FixedList
5706 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5708 * docs/manual/advanced-autoplugging.xml:
5709 * docs/manual/basics-helloworld.xml:
5710 * docs/manual/basics-pads.xml:
5711 * docs/random/ds/0.9-suggested-changes:
5712 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5717 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5718 (gst_structure_parse_array), (gst_structure_parse_value):
5719 * gst/gstvalue.c: (gst_type_is_fixed),
5720 (gst_value_list_prepend_value), (gst_value_list_append_value),
5721 (gst_value_list_get_size), (gst_value_list_get_value),
5722 (gst_value_transform_array_string), (gst_value_serialize_array),
5723 (gst_value_deserialize_array), (gst_value_intersect_array),
5724 (gst_value_is_fixed), (_gst_value_initialize):
5726 GstElement::new-pad -> pad-added, GstElement::state-change ->
5727 state-changed, GstValueFixedList -> GstValueArray, add format and
5728 flags as their own arguments in gst_element_seek() (should improve
5729 "bindeability"), remove function generators since they don't work
5730 under a whole bunch of compilers (they were deprecated already
5733 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5735 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5736 (_gst_debug_register_funcptr):
5738 Fix illegal cast on some platforms (#309253).
5740 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5742 * gst/gstmessage.c: (gst_message_new_custom):
5744 Add _new_custom, make _new_application a macro to _new_custom.
5746 2005-07-20 Wim Taymans <wim@fluendo.com>
5748 * gst/base/gstbasesrc.c: (gst_base_src_init),
5749 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5750 * gst/base/gstbasesrc.h:
5751 Add a gboolean to decide when to push out a discont.
5753 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5754 (gst_queue_loop), (gst_queue_handle_src_query),
5755 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5756 (gst_queue_set_property), (gst_queue_get_property):
5759 * tests/threadstate/threadstate1.c: (main):
5760 Make a thread test compile and run... very silly..
5763 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5765 * docs/manual/appendix-porting.xml:
5766 Mention removal of libgstgconf-0.9.la and existence of gconf
5769 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5771 * docs/pwg/advanced-clock.xml:
5772 * docs/pwg/appendix-porting.xml:
5773 * docs/pwg/intro-preface.xml:
5774 * docs/pwg/other-base.xml:
5775 * docs/pwg/other-manager.xml:
5776 * docs/pwg/other-nton.xml:
5777 * docs/pwg/other-ntoone.xml:
5778 * docs/pwg/other-oneton.xml:
5780 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5781 demuxer), remove n-to-n (was never written), fix some code examples
5782 and links and update the porting section to include all this.
5784 2005-07-19 Wim Taymans <wim@fluendo.com>
5786 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5787 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5788 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5789 (gst_queue_src_activate_push), (gst_queue_change_state),
5790 (gst_queue_get_property):
5792 Propagate GstFlowReturn more intelligently upstream and output
5793 an ERROR/EOS when streaming stopped due to fatal error.
5795 2005-07-19 Wim Taymans <wim@fluendo.com>
5797 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5798 Don't block forever for the state change to complete, the
5799 pipeline already did with a sensible timeout.
5801 2005-07-19 Wim Taymans <wim@fluendo.com>
5803 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5804 Make sure we never call the create function is we
5807 2005-07-19 Andy Wingo <wingo@pobox.com>
5809 * gst/parse/parse.l: Attempt to solve bug #172815.
5811 2005-07-19 Wim Taymans <wim@fluendo.com>
5813 * docs/design/part-clocks.txt:
5814 * docs/design/part-events.txt:
5815 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5817 Only update the seeking values when we are not
5820 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5822 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5823 Oops, ignore the result of gst_pad_push_event here.
5825 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5827 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5828 (gst_base_src_activate_push):
5829 Send discont event from the loop function, as pads
5830 aren't activated yet in the activate_push handler.
5832 * gst/gstbin.c: (bin_bus_handler):
5833 Don't leak element name.
5835 2005-07-18 Andy Wingo <wingo@pobox.com>
5837 * configure.ac: Use AS_LIBTOOL_TAGS.
5839 2005-07-18 Wim Taymans <wim@fluendo.com>
5841 * docs/gst/gstreamer.types:
5842 Remove deleted types.
5844 2005-07-18 Wim Taymans <wim@fluendo.com>
5846 * check/elements/gstfakesrc.c: (GST_START_TEST):
5849 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
5850 (init_popt_callback):
5852 * gst/gst_private.h:
5853 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
5854 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
5857 * gst/gstconfig.h.in:
5858 * gst/gstelement.c: (gst_element_class_init),
5859 (gst_element_set_base_time), (gst_element_get_base_time),
5860 (iterator_fold_with_resync), (gst_element_change_state),
5861 (gst_element_dispose), (gst_element_get_bus):
5863 * gst/gstelementfactory.h:
5864 * gst/gsterror.c: (_gst_core_errors_init):
5867 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5869 * gst/gstinfo.c: (_gst_debug_init):
5870 * gst/gstmessage.c: (_gst_message_copy):
5872 * gst/gstminiobject.h:
5875 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5876 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
5879 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5880 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5881 (gst_pipeline_get_last_stream_time):
5882 * gst/gstpipeline.h:
5883 * gst/gstpluginfeature.h:
5885 * gst/gstscheduler.c:
5886 * gst/gstscheduler.h:
5887 * gst/gststructure.h:
5888 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
5889 (gst_task_finalize), (gst_task_func), (gst_task_create),
5890 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
5891 (gst_task_stop), (gst_task_pause):
5893 * gst/gsttypefind.h:
5895 * gst/registries/gstlibxmlregistry.c: (load_feature),
5896 (gst_xml_registry_load), (gst_xml_registry_save_feature):
5897 * gst/registries/gstxmlregistry.c:
5898 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
5899 * gst/schedulers/threadscheduler.c:
5900 * libs/gst/control/dparammanager.h:
5901 * tools/gst-inspect.c: (print_element_list),
5902 (print_plugin_features), (print_element_features):
5903 * tools/gst-xmlinspect.c: (print_element_list),
5904 (print_plugin_info), (main):
5905 Removed plugable schedulers.
5906 Removed Scheduler/Manager from elements.
5907 Removed gsttypes.h, rearranged includes.
5908 Removed dependency pad<->element, element<>pipeline, and
5909 various others, fix includes.
5910 implement gst_pad_get_parent() with gst_object_get_parent()
5911 Make GstTask sefcontained.
5912 Fix _get_state() on GstBin, it did not return ASYNC with a 0
5914 Fix endless loop in iterator_fold_with_resync.
5917 2005-07-18 Wim Taymans <wim@fluendo.com>
5923 2005-07-18 Wim Taymans <wim@fluendo.com>
5928 2005-07-18 Wim Taymans <wim@fluendo.com>
5934 2005-07-18 Wim Taymans <wim@fluendo.com>
5936 * docs/design/part-dynamic.txt:
5937 * docs/design/part-events.txt:
5938 * docs/design/part-seeking.txt:
5939 Some more docs in the works.
5941 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5942 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
5943 (gst_base_transform_setcaps), (gst_base_transform_get_size),
5944 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5945 (gst_base_transform_handle_buffer),
5946 (gst_base_transform_sink_activate_push),
5947 (gst_base_transform_src_activate_pull),
5948 (gst_base_transform_set_passthrough),
5949 (gst_base_transform_is_passthrough):
5952 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
5955 * gst/gstevent.c: (gst_event_finalize):
5958 * gst/gstutils.c: (gst_element_unlink),
5959 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
5960 (gst_pad_proxy_setcaps):
5962 Add _get_parent_element() to get a pads parent as an element.
5964 2005-07-18 Wim Taymans <wim@fluendo.com>
5966 * check/gst/gstbin.c: (GST_START_TEST):
5969 2005-07-18 Wim Taymans <wim@fluendo.com>
5971 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5972 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5973 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5974 (gst_base_sink_event), (gst_base_sink_do_sync),
5975 (gst_base_sink_chain), (gst_base_sink_loop),
5976 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
5977 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5979 Fix logic for returning ASYNC when not prerolled.
5981 2005-07-18 Wim Taymans <wim@fluendo.com>
5983 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5984 Fix nasty refcount bug.
5986 2005-07-16 Philippe Khalaf <burger@speedy.org>
5988 * gst/elements/gstfdsrc.c:
5989 * gst/elements/gstfdsrc.h:
5990 * gst/elements/gstelements.c:
5991 * gst/elements/Makefile.am:
5992 Ported fdsrc to 0.9.
5994 2005-07-16 Wim Taymans <wim@fluendo.com>
5996 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5997 (gst_base_sink_do_sync):
6000 2005-07-16 Wim Taymans <wim@fluendo.com>
6002 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6003 (gst_base_sink_event), (gst_base_sink_get_times),
6004 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6005 * gst/base/gstbasesink.h:
6006 Store and use discont values when syncing buffers as described
6009 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6010 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6011 (gst_base_src_activate_push):
6012 Push discont event when starting.
6014 * gst/elements/gstidentity.c: (gst_identity_transform):
6017 * gst/gstbin.c: (gst_bin_change_state):
6018 Small cleanups in base_time distribution.
6020 * gst/gstelement.c: (gst_element_set_base_time),
6021 (gst_element_get_base_time), (gst_element_change_state):
6023 Added methods for the base_time of the element.
6026 * gst/gstpipeline.c: (gst_pipeline_send_event),
6027 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6028 (gst_pipeline_get_last_stream_time):
6029 * gst/gstpipeline.h:
6031 Handle seeking as described in design doc, remove stream_time
6033 Cleanups clock and stream_time selection code. Added accessors
6034 for the stream_time.
6037 2005-07-16 Andy Wingo <wingo@pobox.com>
6039 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6042 2005-07-16 Wim Taymans <wim@fluendo.com>
6044 * check/gst/gstbin.c: (GST_START_TEST):
6045 Make elements silent as the deep_notify refs the
6046 parent, which might make the test fail.
6048 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6049 Don't hold the lock for too long.
6051 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6053 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6054 Don't unref the caps we passed to gst_caps_make_writable() after
6055 passing them. gst_caps_make_writable() will do that for us.
6057 2005-07-15 Andy Wingo <wingo@pobox.com>
6059 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6062 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6063 own marshalling function for the handoff signal. Properly type the
6064 buffer as a buffer. Fixes some warnings. Should do a more general
6066 (gst_identity_class_init): Plug into the right marshaller.
6068 2005-07-15 Wim Taymans <wim@fluendo.com>
6070 * docs/design/part-TODO.txt:
6071 * docs/design/part-clocks.txt:
6072 * docs/design/part-element-sink.txt:
6073 * docs/design/part-events.txt:
6074 * docs/design/part-gstpipeline.txt:
6075 Updated docs, mostly DISCONT related.
6077 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6079 * docs/pwg/building-pads.xml:
6080 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6082 2005-07-15 Andy Wingo <wingo@pobox.com>
6084 * tools/gst-typefind.c: Update, add copyright block.
6086 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6087 Normalize and truncate caps before fixation.
6090 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6091 discards all but the first structure from its argument.
6093 2005-07-15 Wim Taymans <wim@fluendo.com>
6095 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6096 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6097 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6098 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6099 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6100 (gst_base_transform_chain), (gst_base_transform_change_state),
6101 (gst_base_transform_set_passthrough),
6102 (gst_base_transform_is_passthrough):
6103 * gst/base/gstbasetransform.h:
6104 Make passthrough work using the bufferpools.
6105 Changed API a bit, subclasses have to write into a buffer
6106 provided by the base class.
6107 More debug info in nego functions.
6109 * gst/elements/gstidentity.c: (gst_identity_init),
6110 (gst_identity_transform):
6111 Port to new base class.
6113 2005-07-15 Wim Taymans <wim@fluendo.com>
6115 * gst/gstmessage.c: (gst_message_new_state_changed):
6116 * tools/gst-launch.c: (event_loop), (main):
6117 Totally dump messages in -launch with the -m option.
6118 Fix message name for State messages,
6120 2005-07-14 Wim Taymans <wim@fluendo.com>
6122 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6123 Post error messages on errors.
6125 2005-07-14 Wim Taymans <wim@fluendo.com>
6127 * gst/gstcaps.c: (gst_caps_do_simplify):
6131 Define error for stream stopped.
6133 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6134 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6135 Do proper return values.
6137 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6138 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6139 (gst_pad_get_range):
6140 Better return values.
6143 Reorganise return values, add macro to check for fatal errors.
6145 * gst/gstqueue.c: (gst_queue_chain):
6146 Return proper GstFlowReturn values,
6148 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6150 * docs/gst/gstreamer-sections.txt:
6151 * docs/gst/gstreamer.types:
6152 * docs/gst/tmpl/gst.sgml:
6153 * docs/gst/tmpl/gstbasesink.sgml:
6154 * docs/gst/tmpl/gstbasesrc.sgml:
6155 * docs/gst/tmpl/gstbasetransform.sgml:
6156 * docs/gst/tmpl/gstbin.sgml:
6157 * docs/gst/tmpl/gstbuffer.sgml:
6158 * docs/gst/tmpl/gstcaps.sgml:
6159 * docs/gst/tmpl/gstclock.sgml:
6160 * docs/gst/tmpl/gstcompat.sgml:
6161 * docs/gst/tmpl/gstconfig.sgml:
6162 * docs/gst/tmpl/gstelement.sgml:
6163 * docs/gst/tmpl/gstelementdetails.sgml:
6164 * docs/gst/tmpl/gstelementfactory.sgml:
6165 * docs/gst/tmpl/gstenumtypes.sgml:
6166 * docs/gst/tmpl/gsterror.sgml:
6167 * docs/gst/tmpl/gstevent.sgml:
6168 * docs/gst/tmpl/gstfakesink.sgml:
6169 * docs/gst/tmpl/gstfakesrc.sgml:
6170 * docs/gst/tmpl/gstfilesink.sgml:
6171 * docs/gst/tmpl/gstfilesrc.sgml:
6172 * docs/gst/tmpl/gstfilter.sgml:
6173 * docs/gst/tmpl/gstformat.sgml:
6174 * docs/gst/tmpl/gstghostpad.sgml:
6175 * docs/gst/tmpl/gstimplementsinterface.sgml:
6176 * docs/gst/tmpl/gstindex.sgml:
6177 * docs/gst/tmpl/gstindexfactory.sgml:
6178 * docs/gst/tmpl/gstinfo.sgml:
6179 * docs/gst/tmpl/gstiterator.sgml:
6180 * docs/gst/tmpl/gstmacros.sgml:
6181 * docs/gst/tmpl/gstmemchunk.sgml:
6182 * docs/gst/tmpl/gstminiobject.sgml:
6183 * docs/gst/tmpl/gstobject.sgml:
6184 * docs/gst/tmpl/gstpad.sgml:
6185 * docs/gst/tmpl/gstpadtemplate.sgml:
6186 * docs/gst/tmpl/gstparse.sgml:
6187 * docs/gst/tmpl/gstpipeline.sgml:
6188 * docs/gst/tmpl/gstplugin.sgml:
6189 * docs/gst/tmpl/gstpluginfeature.sgml:
6190 * docs/gst/tmpl/gstquery.sgml:
6191 * docs/gst/tmpl/gstqueue.sgml:
6192 * docs/gst/tmpl/gstregistry.sgml:
6193 * docs/gst/tmpl/gstregistrypool.sgml:
6194 * docs/gst/tmpl/gstscheduler.sgml:
6195 * docs/gst/tmpl/gstschedulerfactory.sgml:
6196 * docs/gst/tmpl/gststructure.sgml:
6197 * docs/gst/tmpl/gstsystemclock.sgml:
6198 * docs/gst/tmpl/gsttaglist.sgml:
6199 * docs/gst/tmpl/gsttagsetter.sgml:
6200 * docs/gst/tmpl/gsttrace.sgml:
6201 * docs/gst/tmpl/gsttrashstack.sgml:
6202 * docs/gst/tmpl/gsttypefind.sgml:
6203 * docs/gst/tmpl/gsttypefindfactory.sgml:
6204 * docs/gst/tmpl/gsttypes.sgml:
6205 * docs/gst/tmpl/gsturihandler.sgml:
6206 * docs/gst/tmpl/gsturitype.sgml:
6207 * docs/gst/tmpl/gstutils.sgml:
6208 * docs/gst/tmpl/gstvalue.sgml:
6209 * docs/gst/tmpl/gstversion.sgml:
6210 * docs/gst/tmpl/gstxml.sgml:
6211 * docs/libs/tmpl/gstcontrol.sgml:
6212 * docs/libs/tmpl/gstdataprotocol.sgml:
6213 * docs/libs/tmpl/gstdparam.sgml:
6214 * docs/libs/tmpl/gstdplinint.sgml:
6215 * docs/libs/tmpl/gstdpman.sgml:
6216 * docs/libs/tmpl/gstdpsmooth.sgml:
6217 * docs/libs/tmpl/gstgetbits.sgml:
6218 * docs/libs/tmpl/gstunitconvert.sgml:
6219 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6220 (gst_push_src_base_init), (gst_push_src_class_init),
6221 (gst_push_src_init), (gst_push_src_create):
6222 * gst/base/gstpushsrc.h:
6223 * gst/elements/gstelements.c:
6224 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6225 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6226 (gst_fake_sink_init), (gst_fake_sink_set_property),
6227 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6228 (gst_fake_sink_event), (gst_fake_sink_preroll),
6229 (gst_fake_sink_render), (gst_fake_sink_change_state):
6230 * gst/elements/gstfakesink.h:
6231 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6232 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6233 (gst_fake_src_base_init), (gst_fake_src_class_init),
6234 (gst_fake_src_init), (gst_fake_src_event_handler),
6235 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6236 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6237 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6238 (gst_fake_src_create_buffer), (gst_fake_src_create),
6239 (gst_fake_src_start), (gst_fake_src_stop):
6240 * gst/elements/gstfakesrc.h:
6241 * gst/elements/gstfilesink.c: (_do_init),
6242 (gst_file_sink_base_init), (gst_file_sink_class_init),
6243 (gst_file_sink_init), (gst_file_sink_dispose),
6244 (gst_file_sink_set_location), (gst_file_sink_set_property),
6245 (gst_file_sink_get_property), (gst_file_sink_open_file),
6246 (gst_file_sink_close_file), (gst_file_sink_query),
6247 (gst_file_sink_event), (gst_file_sink_render),
6248 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6249 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6250 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6251 * gst/elements/gstfilesink.h:
6252 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6253 (gst_file_src_class_init), (gst_file_src_init),
6254 (gst_file_src_finalize), (gst_file_src_set_location),
6255 (gst_file_src_set_property), (gst_file_src_get_property),
6256 (gst_file_src_map_region), (gst_file_src_map_small_region),
6257 (gst_file_src_create_mmap), (gst_file_src_create_read),
6258 (gst_file_src_create), (gst_file_src_is_seekable),
6259 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6260 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6261 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6262 (gst_file_src_uri_handler_init):
6263 * gst/elements/gstfilesrc.h:
6264 more autistic cleanliness in functions/names/defines
6266 2005-07-13 Andy Wingo <wingo@pobox.com>
6268 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6269 source couldn't negotiate.
6271 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6275 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6276 function. I am channeling Hades. Put your boots on suckers!!!
6278 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6280 * testsuite/caps/Makefile.am:
6281 * testsuite/caps/value_compare.c:
6282 * testsuite/caps/value_intersect.c:
6283 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6284 move two testsuite apps over to the check dir
6286 2005-07-12 Wim Taymans <wim@fluendo.com>
6288 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6289 Added more debug info in the negotiate process.
6292 Prepare for segment playback.
6294 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6300 * tools/gst-launch.c: (main):
6301 NULL pipeline on errors.
6303 2005-07-12 Andy Wingo <wingo@pobox.com>
6305 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6306 not it comes from a malloc region. Make sure our copy gets freed.
6308 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6310 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6311 * check/gst/gstmessage.c: (GST_START_TEST):
6312 * check/gst/gststructure.c: (GST_START_TEST),
6313 (gst_structure_suite), (main):
6315 * gst/gstelement.c: (gst_element_message_full):
6316 clean up GError and debug string now that they get copied
6317 * gst/gstmessage.c: (gst_message_new_error),
6318 (gst_message_new_warning), (gst_message_parse_error),
6319 (gst_message_parse_warning):
6320 use GST_TYPE_G_ERROR for structure_new, and take copies of
6321 arguments, so that we don't mess up refcounting
6323 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6325 * check/Makefile.am:
6326 add per-test valgrind targets
6327 * check/gst-libs/gdp.c: (GST_START_TEST),
6328 (gst_data_protocol_suite), (main):
6331 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6333 * check/Makefile.am:
6334 instate more valgrindable tests
6335 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6336 (GST_START_TEST), (fakesrc_suite):
6337 * check/gst/gstpad.c: (GST_START_TEST):
6338 * check/gst/gststructure.c: (GST_START_TEST):
6340 * docs/gst/tmpl/gstminiobject.sgml:
6341 * gst/gstpad.c: (gst_pad_finalize):
6342 fix the static mutex leak
6344 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6346 * check/Makefile.am:
6347 add two more tests for valgrinding
6348 * check/gst/gstvalue.c: (GST_START_TEST):
6349 test refcount of deserialized buffer, found a leak
6350 * docs/gst/gstreamer-docs.sgml:
6351 * docs/gst/gstreamer-sections.txt:
6352 * docs/gst/gstreamer.types:
6353 * docs/gst/tmpl/gstminiobject.sgml:
6354 add miniobject to docs
6355 * gst/gstminiobject.c:
6357 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6358 (gst_string_unwrap):
6359 fix a hard-to-find invalid write for one of the tests
6360 fix a leak for deserialized buffers
6362 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6364 * docs/pwg/advanced-events.xml:
6365 * docs/pwg/advanced-request.xml:
6366 * docs/pwg/advanced-scheduling.xml:
6367 * docs/pwg/appendix-porting.xml:
6368 * docs/pwg/building-boiler.xml:
6369 * docs/pwg/intro-preface.xml:
6370 * docs/pwg/other-ntoone.xml:
6371 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6372 of example code and explanation for pad activation, loop() and
6373 getrange() functions and a bit more. Remove old comments pointing
6375 * examples/pwg/Makefile.am:
6376 Add loop/getrange examples.
6378 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6381 check for valgrind binary + some fixes
6383 valgrind suppressions for the tests
6384 * check/Makefile.am:
6385 add a valgrind: target that valgrinds the unit tests
6386 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6387 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6388 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6389 * check/gst/gstghostpad.c:
6391 * check/gst/gstdata.c:
6393 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6394 (thread_unref), (gst_mini_object_suite), (main):
6396 * gst/gst.c: (gst_deinit):
6398 add a method to clean up.
6399 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6400 (gst_system_clock_obtain):
6401 allow for disposing the system clock.
6402 * tools/gst-launch.c: (main):
6405 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6407 * docs/gst/tmpl/gstbasesrc.sgml:
6408 * docs/gst/tmpl/gstfakesrc.sgml:
6409 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6410 (gst_base_src_init), (gst_base_src_set_property),
6411 (gst_base_src_get_property), (gst_base_src_get_range),
6412 (gst_base_src_start):
6413 * gst/base/gstbasesrc.h:
6414 add num-buffers property
6415 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6416 (gst_fakesrc_init), (gst_fakesrc_set_property),
6417 (gst_fakesrc_get_property), (gst_fakesrc_create),
6418 (gst_fakesrc_start):
6419 remove num-buffers property
6421 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6423 * docs/gst/gstreamer-sections.txt:
6424 * docs/gst/tmpl/gstbasesink.sgml:
6425 * docs/gst/tmpl/gstbasesrc.sgml:
6426 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6427 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6428 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6429 (gst_base_sink_set_property), (gst_base_sink_get_property),
6430 (gst_base_sink_handle_object), (gst_base_sink_event),
6431 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6432 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6433 (gst_base_sink_loop), (gst_base_sink_deactivate),
6434 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6435 (gst_base_sink_change_state):
6436 * gst/base/gstbasesink.h:
6437 * gst/base/gstbasesrc.h:
6438 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6439 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6440 (gst_filesink_init):
6441 more macro splitting
6443 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6445 * gst/gstelement.c: (gst_element_get_bus):
6447 * tools/gst-launch.c: (check_intr), (event_loop):
6450 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6452 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6455 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6457 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6458 (gst_base_src_finalize):
6459 add finalize method and clean up properly
6460 * gst/gstpipeline.c: (gst_pipeline_dispose):
6463 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6465 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6467 add more things to check
6468 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6472 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6474 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6475 (GST_START_TEST), (fakesrc_suite):
6476 * check/gst-libs/gdp.c: (GST_START_TEST):
6477 * check/gst/gst.c: (GST_START_TEST):
6478 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6479 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6480 * check/gst/gstbus.c: (GST_START_TEST):
6481 * check/gst/gstcaps.c: (GST_START_TEST):
6482 * check/gst/gstdata.c: (GST_START_TEST):
6483 * check/gst/gstelement.c: (GST_START_TEST):
6484 * check/gst/gstghostpad.c: (GST_START_TEST):
6485 * check/gst/gstiterator.c: (GST_START_TEST):
6486 * check/gst/gstmessage.c: (GST_START_TEST):
6487 * check/gst/gstobject.c: (GST_START_TEST):
6488 * check/gst/gstpad.c: (GST_START_TEST):
6489 * check/gst/gststructure.c: (GST_START_TEST):
6490 * check/gst/gstsystemclock.c: (GST_START_TEST),
6491 (gst_systemclock_suite):
6492 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6493 * check/gst/gstvalue.c: (GST_START_TEST):
6494 * check/pipelines/cleanup.c: (GST_START_TEST):
6495 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6496 * check/states/sinks.c: (GST_START_TEST):
6497 * check/gstcheck.c: (gst_check_init):
6499 add debugging category
6500 use GST_START_TEST now, so we add a debug line
6502 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6504 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6505 add test for state change message on a bin
6506 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6508 * gst/gstbin.c: (gst_bin_init):
6509 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6510 * gst/gstelement.c: (gst_element_post_message),
6511 (gst_element_set_state):
6512 * gst/gstelementfactory.c: (gst_element_factory_create):
6513 * gst/gstmessage.c: (gst_message_new):
6514 * gst/gstscheduler.c:
6515 various debugging additions and cleanups
6517 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6519 * check/Makefile.am:
6520 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6522 adding tests for elements
6523 * gst/gstelement.c: (gst_element_dispose):
6525 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6527 * gst/registries/gstlibxmlregistry.c: (load_feature):
6528 plug more leaks. A simple gst_init() now is leakfree, yay.
6530 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6532 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6533 (gst_xml_registry_load):
6534 plug another memleak
6536 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6539 use GST_SET_ERROR_CFLAGS
6541 change to ERROR_CFLAGS
6543 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6546 make GST_ERROR_CFLAGS overridable and re-enable Werror
6548 add a note about error CFLAGS
6549 * docs/gst/tmpl/gstfakesrc.sgml:
6550 * gst/elements/gstfakesrc.c:
6551 comment out some unused code
6552 * gst/gst.c: (split_and_iterate):
6553 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6557 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6559 * common/Makefile.am:
6560 * common/gtk-doc.mak:
6561 * docs/gst/Makefile.am:
6562 factor out gtk-doc.mak
6564 2005-07-07 Wim Taymans <wim@fluendo.com>
6566 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6567 (gst_thread_scheduler_dispose):
6568 Unlock the STREAM_LOCK completely.
6570 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6572 * check/Makefile.am:
6573 * check/elements/.cvsignore:
6574 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6575 (START_TEST), (fakesrc_suite), (main):
6576 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6577 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6578 (gst_fakesrc_create), (gst_fakesrc_start):
6579 * gst/elements/gstfakesrc.h:
6580 adding a first element test
6582 2005-07-07 Andy Wingo <wingo@pobox.com>
6584 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6587 2005-07-07 Wim Taymans <wim@fluendo.com>
6593 2005-07-07 Wim Taymans <wim@fluendo.com>
6595 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6596 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6597 Allow subclasses to implement their own negotiation.
6599 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6601 * docs/design/part-gstbin.txt:
6602 * docs/design/part-gstpipeline.txt:
6603 Update design notes to reflect the movement of
6604 responsibility for bus handling from GstPipeline to
6607 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6610 Remove unnecessary queue2/3/4 examples.
6612 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6614 * examples/Makefile.am:
6615 * examples/helloworld/helloworld.c: (event_loop), (main):
6616 * examples/queue/queue.c: (event_loop), (main):
6617 * examples/queue2/queue2.c: (main):
6618 Update a couple of the examples to work again.
6620 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6621 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6622 Spelling corrections and extra debug.
6624 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6625 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6626 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6628 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6629 (gst_pipeline_change_state):
6630 * gst/gstpipeline.h:
6631 Move the bus handler for children to the GstBin, and create a
6632 separate bus for receiving messages from children to the one the
6633 bus sends 'upwards' on.
6635 2005-07-06 Wim Taymans <wim@fluendo.com>
6638 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6639 (gst_base_sink_handle_object), (gst_base_sink_loop),
6640 (gst_base_sink_change_state):
6641 * gst/base/gstbasesink.h:
6642 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6643 (gst_base_src_init), (gst_base_src_setcaps),
6644 (gst_base_src_getcaps), (gst_base_src_loop),
6645 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6646 (gst_base_src_start), (gst_base_src_change_state):
6647 * gst/base/gstbasesrc.h:
6648 Make basesrc negotiate.
6649 Handle the case where preroll fails in basesink.
6652 2005-07-06 Wim Taymans <wim@fluendo.com>
6654 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6655 Implement the fixate function.
6656 Clean up acceptcaps.
6658 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6660 * docs/pwg/building-filterfactory.xml:
6662 Remove never-written filter-factory chapter; I'll add the various
6663 base classes to part 4 ("other element types") later on.
6665 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6667 * docs/pwg/advanced-negotiation.xml:
6668 * docs/pwg/building-boiler.xml:
6669 * docs/pwg/building-pads.xml:
6671 * examples/pwg/Makefile.am:
6672 Add a chapter on caps negotiation, simplify the original code
6673 samples a bit w.r.t. caps negotiation, add link to the advanced
6674 section. Add a bunch of examples showing different use cases of
6675 different types of caps negotiation. Upstream renegotiation isn't
6676 fully documented yet since nobody knows how that works.
6678 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6680 * check/gst/gstpad.c:
6682 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6683 if pad has no parent, return NULL as list of internal links
6685 2005-07-05 Andy Wingo <wingo@pobox.com>
6687 * gst/elements/gstfilesrc.c:
6688 * gst/elements/gstfakesrc.c:
6689 * gst/base/gstpushsrc.c:
6690 * gst/base/gstbasesrc.h:
6691 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6693 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6696 better report generation target (lcov needs a patch)
6698 2005-07-05 Andy Wingo <wingo@pobox.com>
6700 * gst/elements, testsuite: Null if we got it...
6702 2005-07-05 Wim Taymans <wim@fluendo.com>
6705 * libs/gst/dataprotocol/Makefile.am:
6706 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6707 * libs/gst/dataprotocol/dataprotocol.h:
6708 * pkgconfig/Makefile.am:
6709 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6710 * pkgconfig/gstreamer-dataprotocol.pc.in:
6711 Ported dataprotol to 0.9.
6712 Added pkgconfig files.
6714 2005-07-05 Andy Wingo <wingo@pobox.com>
6716 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6717 Default to returning TRUE for the case when tranform_caps returns
6718 a fixed caps, like for identity or volume.
6720 * check/gst/gstbus.c (pound_bus_with_messages):
6721 * check/gst/gstmessage.c (START_TEST):
6722 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6725 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6726 logic weaks here: always run transform_caps, trying passthrough
6727 operation only if the original caps intersects with the transform.
6729 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6730 source and sink caps.
6732 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6733 Intersect the peer caps with the pad template before going into
6735 (gst_base_transform_transform_caps): More debugging.
6737 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6740 2005-07-04 Edward Hervey <edward@fluendo.com>
6744 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6747 2005-07-04 Andy Wingo <wingo@pobox.com>
6749 * check/gst/gstpad.c: Only set explicit caps on pads.
6751 2005-07-01 Andy Wingo <wingo@pobox.com>
6753 * tests/network-clock.scm: Commentary update.
6755 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6756 Didn't really make sense, not implementable with basetransform,
6758 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6759 attempt at implementing the sync property, needs an unlock method.
6761 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6762 New func, by default returns the same caps (the identity
6764 (gst_base_transform_getcaps): Uses transform_caps to return
6766 (gst_base_transform_setcaps): Complicated logic to get caps on
6767 both pads, even if they are different, and to call set_caps once
6768 for every time both pads get their caps set.
6769 (gst_base_transform_handle_buffer): Give the ref to the transform
6770 function. Allows in-place modification of the buffer.
6772 * gst/base/gstbasetransform.h (transform_caps): New class method.
6773 Given caps on one side, what can I do on the other.
6774 (set_caps): Take two caps, one for each side of the element.
6777 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6778 caps in place. This is safe because we can check the mutability of
6779 the caps, and a good idea because fixate functions are just called
6780 as a matter of last resort. (Not actually implemented.)
6781 (gst_pad_set_caps): If the caps we're setting is actually the same
6782 as the existing pad caps, just update the pointer without calling
6783 setcaps. Assert that caps is either NULL or fixed, as per the
6786 * gst/gstghostpad.c: Update for fixate changes.
6788 2005-07-02 Andy Wingo <wingo@pobox.com>
6791 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6792 two refcounts makes it immutable, which is enough. Doc more.
6794 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6796 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6797 Put the mini_object into GValue as a mini_object,
6798 not a gpointer, since that's how we declared
6801 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6803 * examples/pwg/Makefile.am:
6806 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6808 * docs/pwg/building-testapp.xml:
6810 * examples/pwg/Makefile.am:
6813 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6816 * examples/Makefile.am:
6817 * examples/pwg/Makefile.am:
6818 * examples/pwg/extract.pl:
6819 Enable building the PWG examples.
6820 * docs/pwg/advanced-interfaces.xml:
6821 Add URI interface stub.
6822 * docs/pwg/advanced-types.xml:
6823 * docs/pwg/other-autoplugger.xml:
6824 * docs/pwg/appendix-porting.xml:
6826 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6827 * docs/pwg/building-boiler.xml:
6828 * docs/pwg/building-chainfn.xml:
6829 * docs/pwg/building-pads.xml:
6830 * docs/pwg/building-props.xml:
6831 * docs/pwg/building-state.xml:
6832 * docs/pwg/building-testapp.xml:
6833 Update the building-*.xml parts for 0.9 changes. All examples
6834 code blocks compile in examples/pwg/*.
6836 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6838 * docs/manual/advanced-autoplugging.xml:
6839 * docs/manual/appendix-checklist.xml:
6840 * docs/manual/appendix-integration.xml:
6841 * docs/manual/highlevel-components.xml:
6842 Fix playbin/decodebin examples, update docs a bit, mention bus
6843 instead of signals in various places, mention kmplayer and
6844 kaffeine since they have a working GStreamer backend in the KDE
6847 2005-06-30 Wim Taymans <wim@fluendo.com>
6850 * docs/design/draft-ghostpads.txt:
6851 * docs/design/draft-push-pull.txt:
6852 * docs/design/draft-query.txt:
6853 * docs/design/part-TODO.txt:
6854 * docs/design/part-query.txt:
6855 Added CHANGES-0.9 doc, updated status of other docs.
6860 2005-06-30 Wim Taymans <wim@fluendo.com>
6862 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6863 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6864 (gst_base_sink_change_state):
6865 * gst/base/gstbasesink.h:
6866 Some tweaks, only EOS and a buffer complete a preroll.
6868 2005-06-30 Andy Wingo <wingo@pobox.com>
6870 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
6871 activate_push down to the internal pad as well.
6873 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
6875 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6877 * gst/gsttaginterface.c:
6878 Some documentation fixes (#307394 and #307397).
6880 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
6882 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6884 * gst/gstvalue.c: (gst_value_intersect_list):
6885 Fix memleak (#309125).
6887 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6889 * docs/manual/advanced-dataaccess.xml:
6890 Fix fakesrc example to compile; doesn't work, bug somewhere...?
6891 * docs/manual/basics-pads.xml:
6892 Add reference for filtered caps to above chapter.
6894 2005-06-30 Wim Taymans <wim@fluendo.com>
6896 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
6897 (gst_bin_change_state):
6899 Lame attempt at making the state change function a bit
6902 2005-06-30 Wim Taymans <wim@fluendo.com>
6904 * docs/design/part-clocks.txt:
6905 * docs/design/part-element-sink.txt:
6906 * docs/design/part-events.txt:
6907 * docs/design/part-preroll.txt:
6908 * docs/design/part-states.txt:
6909 Some more tweeks and additions to the docs.
6911 2005-06-30 Wim Taymans <wim@fluendo.com>
6913 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6914 (default_have_data), (gst_pad_class_init), (gst_pad_init),
6915 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6916 (gst_pad_check_pull_range), (gst_pad_get_range),
6917 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
6919 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
6920 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6921 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6922 (gst_pad_remove_buffer_probe):
6923 Removed atomic operations, use existing LOCK.
6924 Move exception handling out of main code path.
6926 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6928 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6929 (silly_return_true_function), (gst_pad_class_init),
6930 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6931 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
6932 (gst_pad_send_event):
6933 Fix accumulator, add default value by using _emitv() instead
6934 of _emit() for signal emission.
6936 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6938 * docs/manual/advanced-dataaccess.xml:
6939 * examples/manual/Makefile.am:
6941 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
6944 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
6946 * gst/elements/gstfilesink.c: (gst_filesink_render):
6947 Simplify code so that we don't have to handle short
6948 writes and return GST_FLOW_ERROR if an error occured.
6950 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6952 * docs/gst/gstreamer-docs.sgml:
6955 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6957 * docs/gst/gstreamer-sections.txt:
6958 * docs/gst/tmpl/gstpad.sgml:
6959 * docs/gst/tmpl/gstprobe.sgml:
6961 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6962 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
6963 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6964 (gst_pad_push_event), (gst_pad_send_event):
6966 * gst/gstutils.c: (gst_pad_add_data_probe),
6967 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6968 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6969 (gst_pad_remove_buffer_probe):
6971 Remove old probes, add new g-signal-based probes and some utility
6974 2005-06-29 Edward Hervey <edward@fluendo.com>
6976 * gst/gstelementfactory.c:
6979 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
6980 the definition to the header file.
6982 2005-06-29 Andy Wingo <wingo@pobox.com>
6984 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
6985 plugins from the source directory.
6987 2005-06-29 Wim Taymans <wim@fluendo.com>
6989 * docs/gst/tmpl/gstbuffer.sgml:
6990 * docs/gst/tmpl/gstclock.sgml:
6991 Some fixings for blantently wrong text.
6993 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6995 * check/Makefile.am:
6996 * gst/gst.c: (add_path_func), (init_pre):
6997 * gst/gstregistry.c: (gst_registry_add_path):
6998 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
6999 only scan the GST_PLUGIN_PATH locations, and not add
7002 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7004 * docs/gst/gstreamer-sections.txt:
7005 * docs/gst/tmpl/gstbasesrc.sgml:
7012 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7014 * docs/manual/advanced-autoplugging.xml:
7015 Fix autoplugging example.
7017 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7019 * docs/manual/advanced-autoplugging.xml:
7020 * docs/manual/mime-world.fig:
7021 Try to get autoplugging working, fix type detection. Fix text
7022 in hello-world image.
7024 2005-06-29 Wim Taymans <wim@fluendo.com>
7026 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7027 (gst_base_sink_change_state):
7031 map SIGNAL and BROADCAST to the right function.
7034 Remove redundant braces.
7036 * gst/gstpad.c: (gst_pad_set_caps):
7037 Don't call setcaps function when reseting caps to NULL.
7039 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7040 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7041 (gst_system_clock_id_unschedule):
7042 Use BROADCAST as this is what we do.
7044 2005-06-29 Wim Taymans <wim@fluendo.com>
7046 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7047 We are actually prerolling before commiting the state
7050 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7052 * docs/manual/advanced-clocks.xml:
7053 * docs/manual/advanced-interfaces.xml:
7054 * docs/manual/advanced-metadata.xml:
7055 * docs/manual/advanced-position.xml:
7056 * docs/manual/advanced-schedulers.xml:
7057 * docs/manual/advanced-threads.xml:
7058 * docs/manual/appendix-porting.xml:
7059 * docs/manual/basics-bins.xml:
7060 * docs/manual/basics-bus.xml:
7061 * docs/manual/basics-elements.xml:
7062 * docs/manual/basics-helloworld.xml:
7063 * docs/manual/basics-pads.xml:
7064 * docs/manual/highlevel-components.xml:
7065 * docs/manual/manual.xml:
7066 * docs/manual/thread.fig:
7067 Update (until threads/scheduling) Application Development Manual;
7068 remove GstThread, add GstBus, add simple porting checklist, add
7069 documentation for tag writing, clocks, make all examples until this
7070 part compile and run.
7071 * examples/manual/Makefile.am:
7072 Update from changes to Application Development Manual; add bus
7073 example, remove thread example.
7075 2005-06-28 Wim Taymans <wim@fluendo.com>
7077 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7078 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7079 (gst_bus_source_dispatch):
7080 Add debugging messages.
7081 Make internal methods static.
7082 Handle the case where the bus is flushed in the handler.
7084 * gst/gstelement.c: (gst_element_get_bus):
7085 Fix refcount in _get_bus();
7087 * gst/gstpipeline.c: (gst_pipeline_change_state),
7088 (gst_pipeline_get_clock_func):
7089 Clock refcounting fixes.
7090 Handle the case where preroll timed out more gracefully.
7092 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7093 Clean up the internal thread in dispose. This is needed
7094 for subclasses that actually get disposed.
7096 * gst/schedulers/threadscheduler.c:
7097 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7098 (gst_thread_scheduler_dispose):
7099 Free thread pool in dispose.
7101 2005-06-28 Andy Wingo <wingo@pobox.com>
7103 * tests/network-clock-utils.scm (debug, print-event): New utils.
7105 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7106 (*packet-loss*): Unified loss probability.
7107 (network-time): Report out-of-band events.
7109 * tests/plot-data: Add support for out-of-band events. Hack it
7110 into this script instead of passing it down the pipe; should fix
7113 2005-06-28 Wim Taymans <wim@fluendo.com>
7115 * docs/gst/gstreamer.types:
7116 * docs/gst/tmpl/gstbasesrc.sgml:
7117 * docs/gst/tmpl/gstpad.sgml:
7120 2005-06-28 Wim Taymans <wim@fluendo.com>
7122 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7123 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7124 (gst_proxy_pad_do_fixatecaps):
7125 Correctly proxy the check_pull_range function.
7127 2005-06-28 Andy Wingo <wingo@pobox.com>
7129 * tests/network-clock.scm: Removed need for slib.
7131 2005-06-28 Wim Taymans <wim@fluendo.com>
7133 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7134 (gst_basesink_preroll_queue_flush):
7135 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7136 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7137 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7138 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7139 (gst_proxy_pad_set_property):
7142 * gst/gstqueue.c: (gst_queue_init):
7143 The deprecated pad loop function is removed now.
7145 2005-06-28 Andy Wingo <wingo@pobox.com>
7147 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7148 New parameters, simulate network packet loss.
7150 * tests/network-clock-utils.scm: Initialize the RNG.
7152 2005-06-28 Wim Taymans <wim@fluendo.com>
7154 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7155 (gst_basesink_event), (gst_basesink_deactivate):
7156 Flushing the preroll queue always needs to unlock the waiters.
7158 2005-06-28 Edward Hervey <edward@fluendo.com>
7160 * gst/gstpipeline.c: (gst_pipeline_send_event):
7161 Wheen a seek was successful on a pipeline, set the stream_time to the
7162 seek offset in order to have a synchronized stream_time.
7164 2005-06-28 Wim Taymans <wim@fluendo.com>
7166 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7167 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7168 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7169 (gst_proxy_pad_do_fixatecaps):
7170 Call wrapper function instead of just calling the function
7171 pointers. This takes care of any locking and whatmore.
7173 2005-06-28 Wim Taymans <wim@fluendo.com>
7175 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7176 (gst_pad_pull_range):
7178 CONNECTED -> LINKED.
7180 2005-06-28 Andy Wingo <wingo@pobox.com>
7182 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7183 source-munging commit!!!
7185 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7186 (gst_object_sink): Take gpointer arguments, not GstObject --
7187 avoids casts. Like GLib.
7189 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7192 2005-06-27 Andy Wingo <wingo@pobox.com>
7194 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7197 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7198 returns a sorted copy of the trace list.
7199 (gst_alloc_trace_print_live): New API, only prints traces with
7200 live objects. Sort the list.
7201 (gst_alloc_trace_print_all): Sort the list.
7202 (gst_alloc_trace_print): Align columns.
7204 * gst/elements/gstttypefindelement.c:
7205 * gst/elements/gsttee.c:
7206 * gst/base/gstbasesrc.c:
7207 * gst/base/gstbasesink.c:
7208 * gst/base/gstbasetransform.c:
7209 * gst/gstqueue.c: Adapt for pad activation changes.
7211 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7213 (gst_pipeline_dispose): Drop ref on sched.
7215 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7216 (gst_pad_activate_default): Push mode by default.
7217 (pre_activate_switch, post_activate_switch): New stubs, things to
7218 do before and after switching activation modes on pads.
7219 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7220 the pad's activate function to choose which mode to activate.
7221 Shortcut on deactivation and call the right function directly.
7222 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7224 (gst_pad_activate_push): New API, same for push mode.
7225 (gst_pad_set_activate_function)
7226 (gst_pad_set_activatepull_function)
7227 (gst_pad_set_activatepush_function): Setters for new API.
7229 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7230 Trace all miniobjects.
7231 (gst_mini_object_make_writable): Unref the arg if we copy, like
7232 gst_caps_make_writable.
7234 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7236 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7237 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7238 Adapt for new pad API.
7240 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7243 * gst/gstelement.c (gst_element_iterate_src_pads)
7244 (gst_element_iterate_sink_pads): New API functions.
7246 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7247 should fold into gstiterator.c in some form.
7248 (gst_element_pads_activate): Simplified via use of fold and
7249 delegation of decisions to gstpad->activate.
7251 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7254 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7255 class once in init, like gstmessage. Didn't run into this issue
7256 but it seems correct. Don't initialize a trace, gstminiobject does
7259 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7260 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7262 (assert_live_count): New util function, uses alloc traces to check
7265 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7266 To be modified when unlink drops the internal pad.
7268 2005-06-27 Wim Taymans <wim@fluendo.com>
7270 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7271 (gst_bin_change_state):
7272 Cleanup the get_state() function a little, make sure it
7273 iterates the same set of elements.
7274 Added stub iterate_state_order().
7276 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7278 * docs/gst/gstreamer-docs.sgml:
7279 * docs/gst/gstreamer-sections.txt:
7280 * docs/gst/gstreamer.types:
7281 * docs/gst/tmpl/gstbasesink.sgml:
7282 * docs/gst/tmpl/gstbasesrc.sgml:
7283 * docs/gst/tmpl/gstbasetransform.sgml:
7284 * docs/gst/tmpl/gstelement.sgml:
7285 * docs/gst/tmpl/gstiterator.sgml:
7286 * gst/base/gstbasesrc.c:
7287 * gst/base/gstbasesrc.h:
7288 * gst/base/gstbasetransform.h:
7290 * gst/gstiterator.h:
7291 adding basetransform and iterator docs
7293 2005-06-27 Andy Wingo <wingo@pobox.com>
7295 * docs/design/part-activation.txt: Notes on how activation should
7296 work -- not quite implemented yet.
7298 2005-06-25 Wim Taymans <wim@fluendo.com>
7300 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7301 At least get the chain function correct, needs more
7304 2005-06-25 Wim Taymans <wim@fluendo.com>
7306 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7307 (gst_basesink_handle_object), (gst_basesink_event),
7308 (gst_basesink_do_sync), (gst_basesink_handle_event),
7309 (gst_basesink_change_state):
7311 Right, two problems here: ghostpads don't take locks and
7312 glib _rec_mutex_lock_full() with depth==0 still locks.
7313 Catch illegal locking and g_warn them.
7315 2005-06-25 Wim Taymans <wim@fluendo.com>
7317 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7318 Have to check for completion now...
7320 2005-06-25 Wim Taymans <wim@fluendo.com>
7322 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7323 (gst_basesink_handle_object), (gst_basesink_event),
7324 (gst_basesink_do_sync), (gst_basesink_handle_event),
7325 (gst_basesink_change_state):
7327 Unlock STREAM_LOCK whatever the recursion was.
7329 2005-06-25 Wim Taymans <wim@fluendo.com>
7331 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7332 (gst_basesink_preroll_queue_empty),
7333 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7334 (gst_basesink_event), (gst_basesink_do_sync),
7335 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7336 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7337 (gst_basesink_change_state):
7338 Reworked the base sink, handle event and buffer serialisation
7339 correctly and removed possible deadlock.
7340 Handle EOS correctly.
7342 2005-06-25 Wim Taymans <wim@fluendo.com>
7344 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7345 (gst_pipeline_change_state):
7346 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7347 Allow elements to post EOS in the state change function.
7348 Fix up -launch, make it exit the poll loop when the
7349 pipeline actually changed state.
7350 Fix up warning parsing in -launch.
7352 2005-06-25 Wim Taymans <wim@fluendo.com>
7354 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7355 (gst_tee_sink_activate):
7356 Core takes STREAM_LOCK for us now.
7358 2005-06-25 Wim Taymans <wim@fluendo.com>
7360 * gst/gstelement.c: (gst_element_get_state_func),
7361 (gst_element_set_state):
7363 * gst/gstmessage.c: (gst_message_parse_error),
7364 (gst_message_parse_warning):
7365 Keep track of current target state while performing a state
7366 change so that subclasses can do something interesting.
7367 Fix parsing of warning/error messages when GError is NULL.
7369 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7371 * docs/gst/Makefile.am:
7372 * docs/gst/gstreamer-docs.sgml:
7373 * docs/gst/gstreamer-sections.txt:
7374 * docs/gst/gstreamer.types:
7375 * docs/gst/tmpl/gstbasesink.sgml:
7376 * docs/gst/tmpl/gstbasesrc.sgml:
7377 * docs/gst/tmpl/gstbin.sgml:
7378 * docs/gst/tmpl/gstcompat.sgml:
7379 * docs/gst/tmpl/gstfakesink.sgml:
7380 * docs/gst/tmpl/gstfakesrc.sgml:
7381 * docs/gst/tmpl/gstfilesink.sgml:
7382 * docs/gst/tmpl/gstfilesrc.sgml:
7383 * docs/gst/tmpl/gstindex.sgml:
7384 * docs/manual/appendix-quotes.xml:
7385 * gst/base/gstbasesrc.h:
7386 * gst/elements/gstfakesrc.h:
7388 start pulling in base classes and elements in our docs
7390 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7392 * docs/gst/Makefile.am:
7393 * docs/libs/Makefile.am:
7394 fixed make distcheck with gtk-doc 1.3
7396 2005-06-23 Wim Taymans <wim@fluendo.com>
7398 * gst/gstelement.c: (gst_element_get_state_func),
7399 (gst_element_set_state), (gst_element_change_state):
7400 When the state did not change, also report NO_PREROLL
7403 2005-06-23 Wim Taymans <wim@fluendo.com>
7405 * gst/gstpad.c: (gst_pad_event_default):
7406 * gst/gstqueue.c: (gst_queue_loop):
7407 No unsafe task pausing please.
7409 2005-06-23 Wim Taymans <wim@fluendo.com>
7411 * gst/schedulers/threadscheduler.c:
7412 (gst_thread_scheduler_task_start),
7413 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7414 Ref the task before pushing it on the threadpool. This
7415 makes sure that we have a ref when the threadfunction is
7418 2005-06-23 Andy Wingo <wingo@pobox.com>
7420 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7421 offset is greater than the file's size.
7423 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7424 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7425 * gst/gstobject.c (gst_object_class_init): Make the class lock
7426 recursive. Wim won't let me drop deep_notify. Decodebin works
7429 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7430 internal pad, and hacks accordingly. Doesn't do it on the target
7431 pad because we change its caps. Probably catches all cases of
7433 (gst_ghost_pad_set_property): Connect to notify::caps as
7436 * tests/network-clock.scm (plot-simulation): Pipe data to the
7437 elite python skript.
7439 * tests/network-clock-utils.scm (define-parameter): New macro,
7440 defines a parameter that can be set via the command line.
7441 (set-parameter!, parse-parameter-arguments): Command line args
7444 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7447 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7449 * gst/elements/gsttypefindelement.c:
7450 (gst_type_find_element_handle_event):
7451 Don't restart typefinding on a discont.
7452 * gst/gstelement.c: (gst_element_set_state):
7454 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7455 Allow changing mode of an active pad.
7457 * gst/registries/gstlibxmlregistry.c: (load_feature):
7458 Don't cast a static pad template to a normal pad template.
7460 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7462 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7463 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7464 remove gst_strtoll completely, since it didn't actually do
7465 anything more than what g_ascii_strtoull already does.
7466 check for range errors when deserializing
7467 do a cast for the unsigned cases; but further fixing needs
7468 a decision on what the interpretation of "(int)" and
7469 deserialization should be for values that fall outside the
7470 type's boundaries (ie, refuse, or interpret as casting)
7472 2005-06-23 Wim Taymans <wim@fluendo.com>
7474 * check/Makefile.am:
7475 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7476 * docs/design/part-live-source.txt:
7477 * docs/design/part-states.txt:
7478 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7479 (gst_basesrc_set_live), (gst_basesrc_is_live),
7480 (gst_basesrc_get_range), (gst_basesrc_activate),
7481 (gst_basesrc_change_state):
7482 * gst/base/gstbasesrc.h:
7483 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7484 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7485 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7486 * gst/gstelement.c: (gst_element_get_state_func),
7487 (gst_element_set_state):
7490 * tools/gst-launch.c: (event_loop), (main):
7491 Added support for live sources and other elements that
7493 Updated design docs, added live-source design doc.
7494 Implemented live source functionality in basesrc
7495 Fix error condition in _bin_get_state()
7496 Implement live source handling in -launch.
7497 Added check for live sources.
7498 Fixed case in GstBin where elements were changed state
7502 2005-06-23 Andy Wingo <wingo@pobox.com>
7504 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7507 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7508 gst_caps_replace takes care of this for us.
7510 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7511 gst_pad_set_caps on the target, not just its setcaps() function.
7513 * tests/network-clock.scm:
7514 * tests/network-clock-utils.scm: A network clock simulator.
7515 Something of an algorithmic testbed before doing something in C.
7517 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7519 * check/Makefile.am:
7520 * check/gst/capslist.h:
7521 copy over from 0.8, and add two with bitmasks specified with
7523 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7524 add test to parse everything from capslist.h
7525 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7527 add test for structure deserialization
7528 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7529 add tests for deserialization of strings to int types
7530 * gst/gststructure.c: (gst_structure_nth_field_name):
7531 * gst/gststructure.h:
7532 add a way to get the name of a field referenced by index
7533 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7534 instead of checking if the resulting long long lies between
7535 min and max, we check if the long long would fit into
7536 a number of bytes for the final type.
7537 This fixes cases where a string represents 2^32 - 1, which
7538 when cast to int would be the (valid) -1, but is bigger than
7541 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7543 * gst/parse/grammar.y:
7544 add a log line for type deserialization
7546 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7548 * check/gst/gstvalue.c: (START_TEST):
7549 * gst/gstvalue.c: (gst_value_deserialize):
7550 return long long, not int, so gint64 deserialization actually
7551 works. Is there any flag that makes the compiler check this ?
7554 2005-06-22 Wim Taymans <wim@fluendo.com>
7557 Added convenience macros for setting buffers in GValue.
7559 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7561 * check/gst/.cvsignore:
7562 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7563 add a test deserializing int64, and comment part out because
7566 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7568 * check/Makefile.am:
7569 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7570 * testsuite/Makefile.am:
7571 * testsuite/caps/Makefile.am:
7572 * testsuite/caps/value_serialize.c:
7573 * testsuite/test_gst_init.c:
7574 move a value_serialize test over
7576 2005-06-20 Wim Taymans <wim@fluendo.com>
7581 * gst/gstvalue.c: (gst_value_compare_buffer),
7582 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7583 (gst_value_compare_flags), (gst_value_serialize_flags),
7584 (gst_value_deserialize_flags), (_gst_value_initialize):
7585 Fix serialisation of buffers, they are not boxed types anymore
7587 2005-06-20 Wim Taymans <wim@fluendo.com>
7589 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7590 Testcase to show error in buffer-on-caps serialisation.
7592 2005-06-20 Andy Wingo <wingo@pobox.com>
7594 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7595 will be adding to later.
7597 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7598 if its socks fill with rocks.
7599 (gst_system_clock_obtain): Set the name on object construction.
7600 Avoid double-checked locking.
7602 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7604 * gst/gsturi.c: (gst_element_make_from_uri):
7605 Fix potential endless loop.
7607 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7609 * check/Makefile.am:
7611 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7613 move over from testsuite dir and clean up
7616 * testsuite/Makefile.am:
7617 * testsuite/tags/.cvsignore:
7618 * testsuite/tags/Makefile.am:
7619 * testsuite/tags/merge.c:
7620 remove testsuite/tags
7622 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7624 * docs/gst/gstreamer-sections.txt:
7625 * docs/gst/tmpl/gstenumtypes.sgml:
7626 * win32/gstenumtypes.c:
7627 clean up documentation build a little
7629 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7632 add macros for checking refcounts on objects and caps
7633 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7634 add some more unit tests
7635 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7636 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7637 fix leaked refcounts (I hope :)) so unittest works
7641 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7643 * configure.ac: back to HEAD
7645 === release 0.9.1 ===
7647 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7653 2005-06-17 Andy Wingo <wingo@pobox.com>
7655 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7656 assert; it's always possible that the pad gets deactivated in
7657 between the checks in gstpad.c and the implementation. Rely on
7658 finish_preroll() to return a FLUSHING or similar instead of on the
7661 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7662 clock and post an EOS message if we come out of finish_preroll in
7665 2005-06-16 David Schleef <ds@schleef.org>
7667 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7668 (gst_capsfilter_set_property): Allow NULL as possible value
7669 for filter_caps property, indicating GST_CAPS_ANY.
7671 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7673 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7675 * gst/schedulers/Makefile.am:
7677 * gstreamer.spec.in:
7680 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7682 * gstreamer.spec.in:
7685 2005-06-08 Andy Wingo <wingo@pobox.com>
7687 * gst/gstutils.c: RPAD fixes all around.
7688 (gst_element_link_pads): Refcounting fixes.
7690 * tools/gst-inspect.c:
7691 * tools/gst-xmlinspect.c:
7693 * gst/base/gsttypefindhelper.c:
7694 * gst/base/gstbasesink.c:
7695 * gst/gstqueue.c: RPAD fixes.
7697 * gst/gstghostpad.h:
7698 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7699 pads. The tricky thing is they provide both source and sink
7700 interfaces, since they proxy the internal pad for the external
7701 pad, and vice versa. Implement with lower-level ProxyPad objects,
7702 with the interior proxy pad as a child of the exterior ghost pad.
7703 Should write a doc on this.
7705 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7706 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7709 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7710 pads are real pads. No ghost pads in this file. Not documenting
7711 the myriad s/RPAD/PAD/ and REALIZE fixes.
7712 (gst_pad_class_init): Add properties for "direction" and
7713 "template". Both are construct-only, so they can't change during
7714 the life of the pad. Fixes properly deriving from GstPad.
7715 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7716 derived objects, just set properties when creating the objects via
7718 (gst_pad_get_parent): Implement as a function, return NULL if the
7719 parent is not an element.
7720 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7721 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7723 * gst/gstobject.c (gst_object_class_init): Make name a construct
7724 property. Don't set it in the object init.
7726 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7727 with UNKNOWN direction.
7728 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7729 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7730 (gst_element_remove_pad): Remove ghost-pad special cases.
7731 (gst_element_pads_activate): Remove rpad cruft.
7733 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7734 catch the pad's-parent-not-an-element case.
7736 * gst/gst.h: Include gstghostpad.h.
7738 * gst/gst.c (init_post): No more real, ghost pads.
7740 * gst/Makefile.am: Add gstghostpad.[ch].
7742 * check/Makefile.am:
7743 * check/gst/gstbin.c:
7744 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7745 into a bin creates ghost pads, and that the refcounts are right.
7746 Partly moved from gstbin.c.
7748 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7750 * check/gst-libs/.cvsignore:
7751 * check/gst/.cvsignore:
7752 * check/pipelines/.cvsignore:
7754 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7755 (START_TEST), (cleanup_suite), (main):
7756 add some tests related to cleanup after running pipelines
7758 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7760 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7761 add a testsuite for GstBuffer
7763 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7765 * gst/gstminiobject.h:
7766 add defines for accessing the refcount
7768 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7770 * Makefile.am: added support for html unit test coverage reports
7772 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7774 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7775 Free existing caps if the capsfilter changes. Add a FIXME about
7776 setting those caps on the pads.
7778 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7779 Before adding a ghost pad to a parent bin, check that there isn't
7780 already one for the element on the bin. Prevents infinite recursion
7781 when using decodebin in parse pipelines. Andy says he'll rewrite the
7782 way this works anyway, so ignore the hack.
7784 2005-06-02 Andy Wingo <wingo@pobox.com>
7786 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7787 file size, pass it on to the type find helper.
7789 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7790 segment_start and segment_end properly according to the seek
7791 method. Segment_end is still a bit flaky because offset can be
7792 negative for CUR and END cases, but it takes -1 as an "unset"
7795 2005-06-02 Wim Taymans <wim@fluendo.com>
7797 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7798 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7799 (gst_basesink_activate):
7800 * gst/base/gstbasesink.h:
7801 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7802 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7803 (gst_pad_query), (gst_pad_start_task):
7805 * gst/gstqueue.c: (gst_queue_bufferalloc),
7806 (gst_queue_handle_sink_event), (gst_queue_chain):
7807 Bufferalloc: return GstFlowReturn to more accuratly report
7808 why allocation failed.
7810 2005-06-02 Wim Taymans <wim@fluendo.com>
7812 * gst/gstpipeline.c: (gst_pipeline_send_event):
7813 Take snapshot of state without blocking.
7815 2005-06-02 Wim Taymans <wim@fluendo.com>
7817 * docs/design/part-TODO.txt:
7818 * docs/design/part-caps.txt:
7819 * docs/design/part-clocks.txt:
7820 * docs/design/part-negotiation.txt:
7821 * docs/design/part-preroll.txt:
7824 2005-05-30 Wim Taymans <wim@fluendo.com>
7826 * gst/elements/gstidentity.c: (gst_identity_event),
7827 (gst_identity_transform), (gst_identity_get_property):
7828 Protect last_message property as it is accessed from
7831 2005-05-30 Wim Taymans <wim@fluendo.com>
7833 * gst/gstelement.c: (gst_element_init),
7834 (gst_element_pads_activate), (gst_element_change_state):
7835 Slicker pad activation code.
7837 2005-05-30 Wim Taymans <wim@fluendo.com>
7841 * gst/gstelementfactory.h:
7843 Move elementfactory methods to separate .h file.
7845 2005-05-30 Wim Taymans <wim@fluendo.com>
7847 * docs/design/part-overview.txt:
7848 * gst/gstsystemclock.h:
7849 Small typo fixes, doc updates.
7851 2005-05-30 Wim Taymans <wim@fluendo.com>
7853 * gst/gst.c: (gst_init_get_popt_table), (init_post),
7854 (init_popt_callback):
7855 Remove cpu-opt flag.
7857 2005-05-30 Wim Taymans <wim@fluendo.com>
7859 * gst/gstbuffer.c: (gst_subbuffer_finalize),
7860 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
7862 Avoid typechecking in places where not needed.
7863 Added accessor for malloc_data.
7865 2005-05-30 Wim Taymans <wim@fluendo.com>
7867 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
7868 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
7869 (gst_pad_configure_sink), (gst_pad_configure_src),
7870 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
7871 (gst_pad_start_task):
7872 Propagate errors from _set_caps() in configure_src/sink
7873 functions instead of returning TRUE.
7874 FLUSH events can travel up and downstream
7877 2005-05-30 Wim Taymans <wim@fluendo.com>
7879 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7880 (gst_basesink_activate):
7881 Handle EOS in preroll.
7883 2005-05-30 Wim Taymans <wim@fluendo.com>
7885 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7886 (gst_queue_loop), (gst_queue_handle_src_event):
7887 Remove old pieces of code
7888 Flushing the queue in an upstream event is a very bad idea.
7890 2005-05-26 Andy Wingo <wingo@pobox.com>
7892 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
7893 gst_value_set_mini_object so as to add a ref on the object (which
7894 will be removed when the value is unset).
7896 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
7897 arg type in ::handoff.
7899 * gst/gstelement.c (gst_element_change_state): Also deactivate
7900 pads in READY->NULL, just in case the element didn't make it to
7901 PAUSED. Wingo tested, Wim approved.
7903 2005-05-26 Wim Taymans <wim@fluendo.com>
7905 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7906 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7907 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
7908 A flushing pad cannot be used to alloc_buffer from.
7910 2005-05-26 Wim Taymans <wim@fluendo.com>
7912 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7913 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
7914 (gst_bus_source_dispatch), (gst_bus_source_finalize),
7915 (gst_bus_create_watch), (gst_bus_add_watch_full):
7917 Implement a real GSource and use g_main_context_wakeup() to
7918 signal new messages instead of the socketpair.
7920 2005-05-25 Wim Taymans <wim@fluendo.com>
7922 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
7923 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
7924 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7925 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7926 (gst_pad_send_event), (gst_pad_start_task):
7927 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
7928 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7929 (gst_queue_sink_activate), (gst_queue_src_activate),
7930 (gst_queue_change_state):
7932 Fix state changes for non sinks. We now change sinks, then elements
7933 with unconnected srcpads, then the rest.
7934 More efficient queue unlocking in flush and state changes.
7935 Set the pad activate mode even if it does not have an activate
7938 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7940 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
7941 Don't go in pull mode for non-seekable sources.
7942 * gst/elements/gsttypefindelement.h:
7943 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7944 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
7945 (free_entry), (stop_typefinding),
7946 (gst_type_find_element_handle_event), (find_peek),
7947 (gst_type_find_element_chain), (do_pull_typefind),
7948 (gst_type_find_element_change_state):
7949 Allow typefinding (w/o seeking) in push-mode, simplified version
7951 * gst/gstutils.c: (gst_buffer_join):
7953 gst_buffer_join() from 0.8.
7955 2005-05-25 Wim Taymans <wim@fluendo.com>
7957 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7958 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7959 (gst_pad_send_event), (gst_pad_start_task):
7960 Disable attempt at mode switching until it is figured out.
7962 2005-05-25 Wim Taymans <wim@fluendo.com>
7964 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
7965 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7966 (gst_basesink_finish_preroll), (gst_basesink_chain),
7967 (gst_basesink_loop), (gst_basesink_activate),
7968 (gst_basesink_change_state):
7969 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
7970 (gst_basesrc_get_range), (gst_basesrc_loop),
7971 (gst_basesrc_activate):
7972 * gst/elements/gsttee.c: (gst_tee_sink_activate):
7973 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7974 (gst_real_pad_init), (gst_real_pad_set_property),
7975 (gst_real_pad_get_property), (gst_pad_set_active),
7976 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
7977 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
7978 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
7979 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
7980 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7981 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
7982 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
7983 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7984 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
7985 (gst_pad_stop_task):
7987 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7988 (gst_queue_loop), (gst_queue_src_activate):
7989 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
7990 (gst_task_get_state):
7992 * gst/schedulers/threadscheduler.c:
7993 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
7994 Implement gst_pad_pause/start/stop_task(), take STREAM lock
7996 Remove ACTIVE pad flag, use FLUSHING everywhere
7997 Added _pad_chain(), _pad_get_range() to call chain/getrange
7999 Add locks around IS_FLUSHING when reading.
8000 Take STREAM lock in chain(), get_range() functions so plugins
8001 don't need to take it anymore.
8005 2005-05-25 Wim Taymans <wim@fluendo.com>
8007 * tools/gst-launch.c: (event_loop):
8008 Unref message after using its contents instead of
8011 2005-05-24 Wim Taymans <wim@fluendo.com>
8013 * docs/design/draft-ghostpads.txt:
8014 * docs/design/draft-push-pull.txt:
8015 * docs/design/draft-query.txt:
8016 * docs/design/part-overview.txt:
8017 Docs updates, added general overview doc.
8019 2005-05-21 David Schleef <ds@schleef.org>
8021 * docs/gst/tmpl/old/GstBin.sgml:
8022 * docs/gst/tmpl/old/GstBuffer.sgml:
8023 * docs/gst/tmpl/old/GstCaps.sgml:
8024 * docs/gst/tmpl/old/GstClock.sgml:
8025 * docs/gst/tmpl/old/GstCompat.sgml:
8026 * docs/gst/tmpl/old/GstData.sgml:
8027 * docs/gst/tmpl/old/GstElement.sgml:
8028 * docs/gst/tmpl/old/GstEvent.sgml:
8029 * docs/gst/tmpl/old/GstIndex.sgml:
8030 * docs/gst/tmpl/old/GstStructure.sgml:
8031 * docs/gst/tmpl/old/GstTag.sgml:
8032 * docs/gst/tmpl/old/cothreads.sgml:
8033 * docs/gst/tmpl/old/cothreads_compat.sgml:
8034 * docs/gst/tmpl/old/gettext.sgml:
8035 * docs/gst/tmpl/old/gobject2gtk.sgml:
8036 * docs/gst/tmpl/old/grammar.tab.sgml:
8037 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8038 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8039 * docs/gst/tmpl/old/gst_private.sgml:
8040 * docs/gst/tmpl/old/gstaggregator.sgml:
8041 * docs/gst/tmpl/old/gstarch.sgml:
8042 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8043 * docs/gst/tmpl/old/gstbufferstore.sgml:
8044 * docs/gst/tmpl/old/gstdata_private.sgml:
8045 * docs/gst/tmpl/old/gstdisksink.sgml:
8046 * docs/gst/tmpl/old/gstdisksrc.sgml:
8047 * docs/gst/tmpl/old/gstelementfactory.sgml:
8048 * docs/gst/tmpl/old/gstextratypes.sgml:
8049 * docs/gst/tmpl/old/gstfakesink.sgml:
8050 * docs/gst/tmpl/old/gstfakesrc.sgml:
8051 * docs/gst/tmpl/old/gstfdsink.sgml:
8052 * docs/gst/tmpl/old/gstfdsrc.sgml:
8053 * docs/gst/tmpl/old/gstfilesink.sgml:
8054 * docs/gst/tmpl/old/gstfilesrc.sgml:
8055 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8056 * docs/gst/tmpl/old/gstidentity.sgml:
8057 * docs/gst/tmpl/old/gstindexfactory.sgml:
8058 * docs/gst/tmpl/old/gstmarshal.sgml:
8059 * docs/gst/tmpl/old/gstmd5sink.sgml:
8060 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8061 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8062 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8063 * docs/gst/tmpl/old/gstpipefilter.sgml:
8064 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8065 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8066 * docs/gst/tmpl/old/gstshaper.sgml:
8067 * docs/gst/tmpl/old/gstspider.sgml:
8068 * docs/gst/tmpl/old/gstspideridentity.sgml:
8069 * docs/gst/tmpl/old/gststatistics.sgml:
8070 * docs/gst/tmpl/old/gsttee.sgml:
8071 * docs/gst/tmpl/old/gsttimecache.sgml:
8072 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8073 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8074 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8075 * docs/gst/tmpl/old/types.sgml:
8076 I didn't intend to add these or check them in.
8078 2005-05-19 David Schleef <ds@schleef.org>
8080 * configure.ac: Use -no-common everywhere. In a sane world, it
8081 would be the default in libtool, because without it, you can't
8082 build DLLs on Windows.
8083 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8084 * docs/gst/gstreamer-sections.txt:
8085 * docs/gst/tmpl/gstcpu.sgml:
8086 * docs/gst/tmpl/gstdata.sgml:
8087 * docs/gst/tmpl/gstthread.sgml:
8089 2005-05-19 David Schleef <ds@schleef.org>
8091 * gst/gstminiobject.c: (gst_value_set_mini_object),
8092 (gst_value_take_mini_object), (gst_value_get_mini_object):
8093 * gst/gstminiobject.h: Add GValue set/get functions.
8095 2005-05-19 Wim Taymans <wim@fluendo.com>
8097 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8098 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8099 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8101 * gst/gstbus.c: (gst_bus_post):
8102 * gst/gstelement.c: (gst_element_get_random_pad):
8103 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8104 Make subbufer unref the parent in finalize.
8105 some more debugging info.
8108 2005-05-19 Wim Taymans <wim@fluendo.com>
8110 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8111 (gst_basesink_init), (gst_basesink_finalize),
8112 (gst_basesink_activate), (gst_basesink_change_state):
8113 Don't free preroll queue too early.
8115 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8119 Hi, I'm outdated. Please shoot me.
8121 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8123 * gst/gstpipeline.c: (gst_pipeline_send_event):
8124 Do not access variables after they have been deleted.
8126 2005-05-19 Wim Taymans <wim@fluendo.com>
8128 * tools/gst-inspect.c: (print_plugin_features):
8129 A plugin feature does unfortunatly not use the
8132 2005-05-18 Wim Taymans <wim@fluendo.com>
8134 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8135 Port _span() functions to new subbuffers.
8137 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8139 * gst/gstbin.c: (gst_bin_add_func):
8140 Fix clock settery in bins when adding kids after the clock has
8143 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8145 * gst/elements/gstidentity.c: (gst_identity_class_init):
8146 Workaround until signals support GstMiniObject.
8148 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8151 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8153 2005-05-18 Wim Taymans <wim@fluendo.com>
8155 * gst/base/Makefile.am:
8156 * gst/base/gstadapter.c: (gst_adapter_base_init),
8157 (gst_adapter_class_init), (gst_adapter_init),
8158 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8159 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8160 (gst_adapter_flush), (gst_adapter_available),
8161 (gst_adapter_available_fast):
8162 * gst/base/gstadapter.h:
8163 Ported and added adapter to the base classes.
8165 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8169 Make sure the class is reffed/unreffed once before threads can be
8170 used. Fixes #304551.
8172 2005-05-17 Wim Taymans <wim@fluendo.com>
8174 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8175 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8176 * gst/gstminiobject.c: (gst_mini_object_get_type),
8177 (gst_mini_object_free):
8178 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8179 (gst_pad_push), (gst_pad_push_event):
8180 * gst/gstqueue.c: (gst_queue_change_state):
8181 Don't queue buffers in basesink when we are flushing.
8182 Unref buffer when flushing in basesink.
8183 Flush queue when going to READY
8184 Unref buffer when _push() returns an error.
8185 Don't free MiniObject instance when refcount is incremented
8186 in _finalize() so that we can recover objects.
8188 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8190 * docs/manual/advanced-schedulers.xml:
8191 * docs/manual/appendix-checklist.xml:
8192 * docs/pwg/advanced-clock.xml:
8193 * docs/pwg/advanced-interfaces.xml:
8194 * docs/pwg/advanced-request.xml:
8195 * docs/pwg/advanced-types.xml:
8196 * docs/pwg/intro-preface.xml:
8197 * examples/plugins/example.c: (gst_example_get_type),
8198 (gst_example_class_init), (gst_example_chain),
8199 (gst_example_set_property), (gst_example_get_property),
8200 (gst_example_change_state), (plugin_init):
8201 * examples/plugins/example.h:
8204 2005-05-17 Wim Taymans <wim@fluendo.com>
8206 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8207 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8208 * gst/gstqueue.c: (gst_queue_change_state):
8209 Clear queue when going to READY.
8210 Remove IN_SETCAPS flag too.
8212 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8214 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8215 Remove implicit cast from gboolean to GstElementStateReturn;
8216 make sure we still return failure in paused => ready case if
8217 the parent class fails to change state and our own stop
8220 2005-05-17 Wim Taymans <wim@fluendo.com>
8222 * tools/gst-launch.c: (event_loop):
8223 Message was unreffed too soon.
8225 2005-05-16 Andy Wingo <wingo@pobox.com>
8227 * gst/gstbin.c (sink_iterator_filter): Err... um...
8229 * check/gst/gstbin.c (test_ghost_pads): New test for the
8230 ghosting-if-elements-not-in-same-bin behavior.
8232 2005-05-16 David Schleef <ds@schleef.org>
8234 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8235 accessing refcount directly.
8237 2005-05-15 David Schleef <ds@schleef.org>
8239 * check/Makefile.am: remove GstData checks
8240 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8241 * gst/Makefile.am: add miniobject, remove data
8242 * gst/gst.h: add miniobject, remove data
8243 * gst/gstdata.c: remove
8244 * gst/gstdata.h: remove
8245 * gst/gstdata_private.h: remove
8246 * gst/gsttypes.h: remove GstEvent and GstMessage
8247 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8248 * gst/gstmarshal.list: change BOXED -> OBJECT
8250 Implement GstMiniObject.
8251 * gst/gstminiobject.c:
8252 * gst/gstminiobject.h:
8254 Modify to be subclasses of GstMiniObject.
8255 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8256 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8257 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8258 (gst_subbuffer_get_type), (gst_subbuffer_init),
8259 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8262 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8263 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8264 (_gst_event_copy), (gst_event_new):
8266 * gst/gstmessage.c: (_gst_message_initialize),
8267 (gst_message_get_type), (gst_message_class_init),
8268 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8269 (gst_message_new), (gst_message_new_error),
8270 (gst_message_new_warning), (gst_message_new_tag),
8271 (gst_message_new_state_changed), (gst_message_new_application):
8273 * gst/gstprobe.c: (gst_probe_perform),
8274 (gst_probe_dispatcher_dispatch):
8276 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8277 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8278 (_gst_query_copy), (gst_query_new):
8280 Update elements for GstData -> GstMiniObject changes
8282 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8283 (gst_queue_chain), (gst_queue_loop):
8284 * gst/elements/gstbufferstore.c:
8285 (gst_buffer_store_add_buffer_func),
8286 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8287 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8288 (gst_fakesink_render):
8289 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8290 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8291 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8292 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8293 (gst_filesrc_create_read):
8294 * gst/elements/gstidentity.c: (gst_identity_class_init):
8295 * gst/elements/gsttypefindelement.c:
8296 (gst_type_find_element_src_event), (free_entry_buffers),
8297 (gst_type_find_element_handle_event):
8298 * libs/gst/dataprotocol/dataprotocol.c:
8299 (gst_dp_header_from_buffer):
8300 * libs/gst/dataprotocol/dataprotocol.h:
8301 * libs/gst/dataprotocol/dp-private.h:
8303 2005-05-15 David Schleef <ds@schleef.org>
8305 * gst/elements/gstelements.c: Don't include headers that were
8308 2005-05-15 David Schleef <ds@schleef.org>
8310 * gst/elements/Makefile.am: Remove some elements that don't
8311 need to be in the core (or even exist at all).
8312 * gst/elements/gstaggregator.c:
8313 * gst/elements/gstaggregator.h:
8314 * gst/elements/gstmd5sink.c:
8315 * gst/elements/gstmd5sink.h:
8316 * gst/elements/gstmultifilesrc.c:
8317 * gst/elements/gstmultifilesrc.h:
8318 * gst/elements/gstpipefilter.c:
8319 * gst/elements/gstpipefilter.h:
8320 * gst/elements/gstshaper.c:
8321 * gst/elements/gstshaper.h:
8322 * gst/elements/gststatistics.c:
8323 * gst/elements/gststatistics.h:
8324 * po/POTFILES.in: Remove above files.
8326 2005-05-14 Andy Wingo <wingo@pobox.com>
8328 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8329 so as to get the refs right.
8330 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8331 unreffing objects that don't pass the filter.
8333 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8334 gst_element_set_bus.
8335 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8336 normal cases, this will destroy the bus.
8338 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8341 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8344 2005-05-13 Andy Wingo <wingo@pobox.com>
8346 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8347 gst_pad_link, call pad_link_maybe_ghosting,
8348 (pad_link_maybe_ghosting): Links pads, making sure that the
8349 elements being linked are in the same bin.
8350 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8351 Helpers for pad_link_maybe_ghosting.
8353 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8356 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8358 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8360 * docs/design/part-element-source.txt:
8363 2005-05-12 Wim Taymans <wim@fluendo.com>
8365 * gst/base/gstbasesink.c: (gst_basesink_init),
8366 (gst_basesink_activate):
8367 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8368 (gst_basesrc_is_seekable):
8369 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8370 (bin_element_is_sink), (gst_bin_change_state):
8371 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8373 Identify sinks by their flag to avoid overly complicated
8375 Do state changes even for elements not reachable from the
8377 BaseSink is a sink now :)
8378 Some more debugging info in the basesrc.
8381 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8383 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8384 Implement _query on a bin, similar to _send_event.
8386 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8388 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8389 Discont event offset format should be GST_FORMAT_BYTES,
8390 not GST_FORMAT_TIME.
8392 2005-05-12 Wim Taymans <wim@fluendo.com>
8394 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8395 Same fix as Ronald's but without the signal.
8397 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8399 * gst/gstutils.c: (gst_element_query_position):
8400 No, an element is not a pad.
8402 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8404 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8405 (gst_bin_get_state):
8406 If a child is removed from a bin while we remove the child from
8407 the bin and while we're retrieving its state, signal this to the
8408 get_state function so we abort the wait (instead of waiting for
8409 a timeout) and can immediately re-iterate over all other elements.
8411 2005-05-12 Wim Taymans <wim@fluendo.com>
8413 * gst/base/Makefile.am:
8414 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8415 (gst_basesrc_start):
8416 * gst/base/gstbasesrc.h:
8417 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8418 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8419 (gst_pushsrc_init), (gst_pushsrc_create):
8420 * gst/base/gstpushsrc.h:
8421 Added is_seekable to BaseSrc
8422 Added simple PushSrc.
8424 2005-05-11 Wim Taymans <wim@fluendo.com>
8426 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8427 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8428 (gst_element_link_pads), (gst_element_query_position),
8429 (gst_element_query_convert), (intersect_caps_func),
8430 (gst_pad_query_position), (gst_pad_query_convert):
8431 Fix refcounting in utils function.
8432 No point in trying to activate a pad when it's added, it could
8433 be added from the state change function and then we deadlock, the
8434 element has to decide what to do.
8436 2005-05-10 Andy Wingo <wingo@pobox.com>
8438 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8439 *all* the arguments.
8441 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8442 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8443 lock (according to the docs -- if this is wrong change the docs).
8445 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8446 flush messages in the NULL state.
8448 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8449 message immediately and return.
8450 (gst_bus_set_flushing): New function. If a bus is flushing, it
8451 flushes out any queued messages and immediately unrefs new
8452 messages. This is so when an element goes to NULL, all of the
8453 unhandled messages coming from it can be freed, and their
8454 references to the element dropped. In other words: message source
8455 ref considered harmful :P
8457 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8458 we're finished with it.
8460 * gst/gstmessage.c (gst_message_new_state_changed):
8462 2005-05-10 Wim Taymans <wim@fluendo.com>
8464 * gst/gstvalue.c: (gst_value_compare_flags),
8465 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8466 (_gst_value_initialize):
8467 Added flags serialize/deserialize/compare code.
8469 2005-05-09 Andy Wingo <wingo@pobox.com>
8471 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8472 Intersect the peer's caps with our caps.
8474 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8476 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8477 * gst/elements/gsttypefindelement.c: (find_peek):
8478 Handle negative offsets better. Fixes decodebin.
8480 2005-05-09 Wim Taymans <wim@fluendo.com>
8482 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8483 (gst_base_transform_event):
8484 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8485 Implement accept_caps.
8486 Fix silly lock/unlock mismatch in base class.
8488 2005-05-09 Wim Taymans <wim@fluendo.com>
8490 * docs/design/draft-push-pull.txt:
8491 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8492 * gst/elements/gstfilesink.c: (gst_filesink_init),
8493 (gst_filesink_query):
8494 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8495 (gst_type_find_handle_src_query), (find_element_get_length):
8496 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8500 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8501 (gst_real_pad_get_caps_unlocked),
8502 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8503 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8504 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8505 (gst_real_pad_dispose), (gst_real_pad_finalize),
8506 (gst_pad_load_and_link), (gst_pad_save_thyself),
8507 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8508 (gst_pad_check_pull_range), (gst_pad_pull_range),
8509 (gst_pad_template_get_type), (gst_pad_template_class_init),
8510 (gst_pad_template_init), (gst_pad_template_dispose),
8511 (name_is_valid), (gst_static_pad_template_get),
8512 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8513 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8514 (gst_pad_get_element_private), (gst_pad_start_task),
8515 (gst_pad_pause_task), (gst_pad_stop_task),
8516 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8517 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8518 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8519 (gst_ghost_pad_new):
8521 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8522 (gst_query_new_position), (gst_query_set_position),
8523 (gst_query_parse_position), (gst_query_new_convert),
8524 (gst_query_set_convert), (gst_query_parse_convert):
8526 * gst/gstqueryutils.c:
8527 * gst/gstqueryutils.h:
8528 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8529 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8530 (gst_queue_handle_src_query):
8531 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8532 (gst_element_query_position), (gst_element_query_convert),
8533 (intersect_caps_func), (gst_pad_query_position),
8534 (gst_pad_query_convert):
8536 * tools/gst-inspect.c: (print_pad_info):
8537 * tools/gst-xmlinspect.c: (print_element_info):
8538 Remove old query functions. Ported old code.
8539 Added position/convert helper functions to gstutils.
8540 Reordered gstpad.c code, grouping relevant things.
8541 Remove gst_message_new(), always need to speficy a specific
8545 2005-05-09 Andy Wingo <wingo@pobox.com>
8547 * gst/gstiterator.h: Add some includes.
8549 * gst/gstqueryutils.h: Include more headers.
8552 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8553 some uses of gst_pad_query.
8555 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8556 NULL out parameters.
8557 (gst_query_new_position): New proc, allocates a new position
8560 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8561 gstqueryutils.c to the build.
8563 * gst/gststructure.c (gst_structure_set_valist): Implement with
8564 the generic G_VALUE_COLLECT.
8566 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8568 * gst/Makefile.am: (gst_headers):
8569 Added gstqueryutils.h to the list of headers to install, that was
8570 a 'nachty' move wingo :)
8572 2005-05-06 Andy Wingo <wingo@pobox.com>
8575 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8576 GstData, init a memchunk.
8577 (standard_definitions): Add a few query types, deprecate a few.
8578 (gst_query_get_type): New proc.
8579 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8581 (gst_query_new_application, gst_query_get_structure): New public
8584 * docs/design/draft-query.txt: Removed LINKS from the query types,
8585 because all the rest can be dispatched to other pads -- seemed
8586 ugly to have a query that couldn't be dispatched. internal_links
8587 is fine as a pad method.
8589 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8590 in gstpad.c, but maintain binary compatibility for the moment.
8591 Will fix before 0.9 is out.
8593 * gst/gstqueryutils.c:
8594 * gst/gstqueryutils.h: New files, implement 3 methods for each
8595 query type: parse_query, parse_response, and set. Probably need an
8598 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8600 * gst/elements/gstfilesink.c (gst_filesink_query2):
8601 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8602 query_types, and formats methods.
8604 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8605 (gst_pad_set_query2_function): New functions.
8606 (gst_real_pad_init): Set query2_default as the default query2
8607 function. Basically just dispatches to internally linked pads.
8611 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8612 without using the atomic operations. Only one thread can possibly
8613 be accessing the data at this point. Changed so as to avoid
8614 gst_atomic operations.
8616 2005-05-06 Wim Taymans <wim@fluendo.com>
8618 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8619 Also set caps if we use the fallback buffer alloc.
8621 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8623 * docs/gst/Makefile.am:
8624 * docs/gst/gstreamer-docs.sgml:
8625 * docs/gst/gstreamer-sections.txt:
8626 * docs/gst/tmpl/gstatomic.sgml:
8627 * docs/gst/tmpl/gstmemchunk.sgml:
8628 * testsuite/elements/struct_i386.h:
8629 * win32/GStreamer.vcproj:
8631 Purge GstAtomic stuff from docs and win32 makefiles as well
8633 2005-05-06 Wim Taymans <wim@fluendo.com>
8635 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8636 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8637 * gst/gstpad.c: (gst_pad_peer_get_caps):
8638 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8639 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8640 (gst_queue_src_activate), (gst_queue_change_state):
8642 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8643 (intersect_caps_func):
8644 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8645 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8646 Some fixes for the peer_get_caps() change.
8648 2005-05-06 Wim Taymans <wim@fluendo.com>
8650 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8651 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8652 (gst_basesink_activate):
8653 Actually do something with error codes returned from the push
8656 2005-05-06 Wim Taymans <wim@fluendo.com>
8658 * docs/design/part-element-sink.txt:
8659 * docs/design/part-element-source.txt:
8660 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8661 (gst_basesink_event), (gst_basesink_activate):
8662 * gst/base/gstbasesink.h:
8663 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8664 (gst_basesrc_activate):
8665 * gst/base/gstbasesrc.h:
8666 * gst/gstelement.c: (gst_element_pads_activate):
8667 Some more documentation.
8668 Fixed scheduling decision in _pads_activate().
8670 2005-05-05 Andy Wingo <wingo@pobox.com>
8672 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8675 2005-05-05 Wim Taymans <wim@fluendo.com>
8677 * gst/base/Makefile.am:
8678 * gst/base/gstbasesink.h:
8679 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8680 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8681 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8682 (gst_collectpads_class_init), (gst_collectpads_init),
8683 (gst_collectpads_finalize), (gst_collectpads_new),
8684 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8685 (find_pad), (gst_collectpads_remove_pad),
8686 (gst_collectpads_is_active), (gst_collectpads_collect),
8687 (gst_collectpads_collect_range), (gst_collectpads_start),
8688 (gst_collectpads_stop), (gst_collectpads_peek),
8689 (gst_collectpads_pop), (gst_collectpads_available),
8690 (gst_collectpads_read), (gst_collectpads_flush),
8691 (gst_collectpads_chain):
8692 * gst/base/gstcollectpads.h:
8693 * gst/elements/Makefile.am:
8694 * gst/elements/gstelements.c:
8695 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8696 (gst_fakesink_get_times), (gst_fakesink_event),
8697 (gst_fakesink_preroll), (gst_fakesink_render):
8698 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8699 (gst_filesink_init), (gst_filesink_set_location),
8700 (gst_filesink_open_file), (gst_filesink_close_file),
8701 (gst_filesink_pad_query), (gst_filesink_event),
8702 (gst_filesink_render), (gst_filesink_change_state):
8703 * gst/elements/gstfilesink.h:
8704 Added object to help in making collect pad based elements.
8706 Make event function in sink baseclass return gboolean.
8708 2005-05-05 Wim Taymans <wim@fluendo.com>
8710 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8711 (gst_bin_get_by_name):
8713 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8714 (gst_clock_finalize):
8715 * gst/gstdata.c: (gst_data_replace):
8717 * gst/gstelement.c: (gst_element_request_pad),
8718 (gst_element_pads_activate):
8719 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8721 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8722 (gst_pad_set_checkgetrange_function),
8723 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8724 (gst_pad_check_pull_range), (gst_pad_pull_range),
8725 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8726 (gst_pad_pause_task), (gst_pad_stop_task):
8727 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8728 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8729 Fix name lookup in GstBin.
8730 Added _data_replace() function and _buffer_replace()
8731 Use finalize method to clean up clock.
8732 Fix refcounting on request pads.
8733 Fix pad schedule mode error.
8734 Some more object refcounting debug info,
8737 2005-05-04 Andy Wingo <wingo@pobox.com>
8739 * check/Makefile.am:
8740 * docs/gst/tmpl/gstatomic.sgml:
8741 * docs/gst/tmpl/gstplugin.sgml:
8742 * gst/base/gstbasesink.c: (gst_basesink_activate):
8743 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8744 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8745 (gst_basesrc_query), (gst_basesrc_set_property),
8746 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8747 (gst_basesrc_activate):
8748 * gst/base/gstbasesrc.h:
8749 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8750 (gst_base_transform_src_activate):
8751 * gst/elements/gstelements.c:
8752 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8753 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8754 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8755 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8756 (gst_type_find_element_checkgetrange),
8757 (gst_type_find_element_activate):
8758 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8759 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8760 (gst_caps_load_thyself):
8761 * gst/gstelement.c: (gst_element_pads_activate),
8762 (gst_element_save_thyself), (gst_element_restore_thyself):
8763 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8764 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8766 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8767 (gst_xml_parse_file), (gst_xml_parse_memory),
8768 (gst_xml_get_element), (gst_xml_make_element):
8769 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8770 (_file_index_id_save_xml), (gst_file_index_commit):
8771 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8772 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8774 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8775 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8776 * tools/gst-complete.c: (main):
8777 * tools/gst-compprep.c: (main):
8778 * tools/gst-inspect.c: (print_element_properties_info):
8779 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8780 * tools/gst-xmlinspect.c: (print_element_properties):
8783 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8785 * gst/gstplugin.c: (gst_plugin_check_module),
8786 (gst_plugin_check_file), (gst_plugin_load_file):
8787 apply patch from #172526 to make register work on MacOSX
8789 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8791 * docs/gst/tmpl/gstconfig.sgml:
8792 * gst/gstconfig.h.in:
8793 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8794 * testsuite/debug/printf_extension.c: (main):
8795 Do not use GST_PTR_FORMAT on pointers to types with
8796 sizeof < sizeof(gpointer). Fixes test on 64-bit
8797 * testsuite/elements/property.h:
8798 use correct printf format
8800 2005-05-02 Wim Taymans <wim@fluendo.com>
8802 * docs/design/draft-push-pull.txt:
8803 * docs/design/draft-query.txt:
8804 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8805 (gst_basesrc_start):
8806 Added draft for new query API.
8807 Added draft for better selecting scheduling methods.
8808 Make basesrc ignore length if the subclass does not support
8811 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8814 possible fixes for automake-1.5 - _LIBADD is reserved
8816 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8818 * docs/faq/Makefile.am:
8819 * docs/manual/Makefile.am:
8821 * docs/pwg/Makefile.am:
8823 possible fixes for automake-1.5
8825 2005-04-28 Wim Taymans <wim@fluendo.com>
8827 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8828 (gst_basesink_pad_getcaps), (gst_basesink_init),
8829 (gst_basesink_do_sync):
8830 * gst/gstclock.c: (gst_clock_entry_new):
8831 * gst/gstevent.c: (gst_event_discont_get_value):
8832 * gst/gstpipeline.c: (pipeline_bus_handler),
8833 (gst_pipeline_change_state):
8834 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8835 Better debugging of clocking info.
8836 Allow NULL values when getting discont values.
8838 2005-04-27 Wim Taymans <wim@fluendo.com>
8840 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8841 * check/gst/gstpad.c: (gst_pad_suite):
8842 Increase timeout for checks.
8844 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8846 * check/Makefile.am:
8847 fix the broken rule for cleanup. Apparently this rule is
8848 only needed on FC2, so maybe this warrants further autotool
8851 2005-04-26 Wim Taymans <wim@fluendo.com>
8853 * gst/gsttrashstack.h:
8854 Ooohh. a nasty one! After having a failed pop() from the stack,
8855 it's possible that the stack is empty. In that case, don't
8856 follow the NULL pointer.
8858 2005-04-25 Wim Taymans <wim@fluendo.com>
8860 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8861 (gst_pad_set_checkgetrange_function),
8862 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
8863 (gst_pad_check_pull_range), (gst_pad_pull_range),
8864 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8865 (gst_pad_pause_task), (gst_pad_stop_task):
8866 * gst/gstplugin.c: (gst_plugin_load):
8868 Remove gst_library_load as it does more harm than good with
8869 the new g_module flags.
8870 Revert bogus caps template check in pad linking, pad caps
8871 are important when linking not the template, which is more
8872 general than the current caps.
8874 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8876 * gst/autoplug/.cvsignore:
8877 * gst/autoplug/Makefile.am:
8878 * gst/autoplug/gstsearchfuncs.c:
8879 * gst/autoplug/gstsearchfuncs.h:
8880 * gst/autoplug/gstspider.c:
8881 * gst/autoplug/gstspider.h:
8882 * gst/autoplug/gstspideridentity.c:
8883 * gst/autoplug/gstspideridentity.h:
8884 * gst/autoplug/spidertest.c:
8887 2005-04-25 Wim Taymans <wim@fluendo.com>
8889 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8890 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8891 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
8892 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
8894 Added stubs for unimplemented functions.
8896 2005-04-24 David Schleef <ds@schleef.org>
8898 * gst/gstpad.h: Disable some unimplemented functions. Wim,
8901 2005-04-24 David Schleef <ds@schleef.org>
8903 Convert everything from GstAtomicInt to g_atomic_int_*, and
8908 * gst/gstatomic_impl.h:
8916 * gst/gstdata_private.h:
8923 * gst/gststructure.c:
8924 * gst/gststructure.h:
8925 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
8928 2005-04-24 David Schleef <ds@schleef.org>
8930 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
8931 make the regressions tests work. Remove some code that is no
8933 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
8934 Disable warning for pads without templates.
8936 2005-04-24 David Schleef <ds@schleef.org>
8938 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
8939 functions that handle filtered links.
8940 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
8942 * gst/gstutils.c: Fix/remove utility functions that handle
8945 * gst/gstvalue.c: Add serialization/deserialization of caps
8946 * gst/parse/grammar.y: Ignore filtered caps when linking. This
8947 requires fixing so that the filter caps notation creates
8948 a capsfilter element and sets the filter_caps property. I
8949 think everyone probably wants to keep the shorthand notation.
8950 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
8951 * docs/gst/tmpl/gstpad.sgml:
8953 * gst/elements/gstelements.c: Register capsfilter element.
8954 * gst/Makefile.am: fix spacing
8955 * docs/random/ds/0.9-suggested-changes: random
8957 2005-04-23 David Schleef <ds@schleef.org>
8959 * gst/elements/Makefile.am:
8960 * gst/elements/gstcapsfilter.c: New element that acts like an
8961 identity, but filters caps. Will eventually replace filtered
8962 caps in pad linking.
8963 * gst/gstutils.c: (gst_element_create_all_pads): New function
8964 to create all the ALWAYS pads that are registered with an
8965 element class. This functionality should eventually be
8966 merged in with GstElement initialization.
8968 * testsuite/trigger/README: part of trigger test code that should
8969 have been checked in a long time ago.
8971 2005-04-23 David Schleef <ds@schleef.org>
8973 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
8974 needed with new versions of libtool (nobody will confirm this),
8975 and hard to carry around.
8976 * gst/autoplug/Makefile.am:
8977 * gst/base/Makefile.am:
8978 * gst/elements/Makefile.am:
8979 * gst/indexers/Makefile.am:
8980 * gst/schedulers/Makefile.am:
8981 * libs/gst/bytestream/Makefile.am:
8982 * libs/gst/control/Makefile.am:
8983 * libs/gst/dataprotocol/Makefile.am:
8984 * libs/gst/getbits/Makefile.am:
8986 2005-04-21 Wim Taymans <wim@fluendo.com>
8988 * docs/design/draft-push-pull.txt:
8989 * docs/design/part-MT-refcounting.txt:
8990 * docs/design/part-TODO.txt:
8991 * docs/design/part-caps.txt:
8992 * docs/design/part-events.txt:
8993 * docs/design/part-gstbus.txt:
8994 * docs/design/part-gstpipeline.txt:
8995 * docs/design/part-messages.txt:
8996 * docs/design/part-push-pull.txt:
8997 * docs/design/part-query.txt:
9000 2005-04-21 Wim Taymans <wim@fluendo.com>
9002 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9003 (gst_message_new), (gst_message_new_error),
9004 (gst_message_new_warning), (gst_message_new_tag),
9005 (gst_message_new_state_changed), (gst_message_new_application),
9006 (gst_message_get_structure):
9008 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9009 (gst_structure_copy_conditional):
9010 Use parent refcount in GstMessage to ensure GstStructure
9012 Cleaned up headers a bit.
9015 2005-04-20 Wim Taymans <wim@fluendo.com>
9017 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9018 (gst_basesink_pad_getcaps), (gst_basesink_init),
9019 (gst_basesink_chain_unlocked):
9020 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9021 (gst_type_find_helper):
9022 * gst/elements/gsttypefindelement.c:
9023 (gst_type_find_element_have_type), (gst_type_find_element_init),
9024 (stop_typefinding), (gst_type_find_element_handle_event),
9025 (find_suggest), (gst_type_find_element_chain),
9026 (gst_type_find_element_checkgetrange),
9027 (gst_type_find_element_getrange), (do_typefind),
9028 (gst_type_find_element_activate):
9029 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9030 (gst_buffer_default_free), (gst_buffer_default_copy),
9031 (gst_buffer_set_caps):
9032 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9034 * gst/gstmessage.c: (gst_message_new),
9035 (gst_message_new_state_changed):
9036 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9037 (gst_pad_set_checkgetrange_function),
9038 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9039 (gst_pad_set_caps), (gst_pad_check_pull_range),
9040 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9042 * gst/gsttypefind.c: (gst_type_find_register):
9043 Make gst_caps_replace() work like other _replace() functions.
9044 Use _caps_replace() where possible.
9045 Make sure _message_new() initialises its field.
9046 Add gst_static_pad_template_get_caps()
9049 2005-04-18 Andy Wingo <wingo@pobox.com>
9051 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9052 on the peer, not the pad. I think that was a typo. Pass an extra
9053 arg to see if random access is possible. Activate the pads as
9054 PULL_RANGE if possible.
9056 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9058 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9059 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9062 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9064 * docs/faq/using.xml:
9065 Add note on gstreamer-properties (#154996).
9067 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9069 * docs/random/bbb/optional-properties:
9070 Some analysis on optional properties.
9072 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9074 * docs/gst/tmpl/gstelementfactory.sgml:
9076 * gst/gstelementfactory.c: (gst_element_factory_init),
9077 (gst_element_factory_cleanup), (gst_element_register),
9078 (__gst_element_factory_add_static_pad_template),
9079 (gst_element_factory_get_static_pad_templates),
9080 (gst_element_factory_can_src_caps),
9081 (gst_element_factory_can_sink_caps):
9082 * gst/registries/Makefile.am:
9083 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9084 (gst_xml_registry_class_init), (gst_xml_registry_init),
9085 (gst_xml_registry_new), (gst_xml_registry_set_property),
9086 (gst_xml_registry_get_property), (get_time), (make_dir),
9087 (gst_xml_registry_get_perms_func),
9088 (plugin_times_older_than_recurse), (plugin_times_older_than),
9089 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9090 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9091 (add_to_char_array), (read_string), (read_uint), (read_enum),
9092 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9093 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9094 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9095 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9096 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9097 (gst_xml_registry_rebuild):
9098 * gst/registries/gstlibxmlregistry.h:
9099 * tools/gst-compprep.c: (main):
9100 * tools/gst-inspect.c: (print_pad_templates_info):
9101 * tools/gst-xmlinspect.c: (print_element_info):
9102 Use libxml2 for registry parsing, use staticpadtemplates in
9103 elementfactories. Makes gst_init() +/- 10x faster.
9105 2005-04-12 Wim Taymans <wim@fluendo.com>
9107 * gst/base/Makefile.am:
9108 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9109 (gst_basesink_pad_getcaps), (gst_basesink_init),
9110 (gst_basesink_event), (gst_basesink_change_state):
9111 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9112 (gst_basesrc_init), (gst_basesrc_query),
9113 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9114 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9115 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9116 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9117 (gst_basesrc_stop), (gst_basesrc_activate),
9118 (gst_basesrc_change_state):
9119 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9120 (helper_find_suggest), (gst_type_find_helper):
9121 * gst/base/gsttypefindhelper.h:
9122 * gst/elements/Makefile.am:
9123 * gst/elements/gstelements.c:
9124 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9125 (gst_fakesink_get_times), (gst_fakesink_event),
9126 (gst_fakesink_preroll), (gst_fakesink_render):
9127 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9128 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9129 (gst_fakesrc_get_property), (gst_fakesrc_create),
9130 (gst_fakesrc_start), (gst_fakesrc_stop):
9131 * gst/elements/gstfakesrc.h:
9132 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9133 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9134 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9135 (gst_filesrc_create_read), (gst_filesrc_create),
9136 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9137 (gst_filesrc_start):
9138 * gst/elements/gsttypefindelement.c:
9139 (gst_type_find_element_have_type), (gst_type_find_element_init),
9140 (start_typefinding), (stop_typefinding), (push_buffer_store),
9141 (gst_type_find_element_handle_event),
9142 (gst_type_find_element_chain),
9143 (gst_type_find_element_checkgetrange),
9144 (gst_type_find_element_getrange), (do_typefind),
9145 (gst_type_find_element_activate),
9146 (gst_type_find_element_change_state):
9147 * gst/elements/gsttypefindelement.h:
9148 * gst/gstpipeline.c: (pipeline_bus_handler):
9149 Added typefind helper.
9150 Small preroll fix in the base sink.
9151 Disable typefind code in basesrc.
9152 Crude port of typefindelement.
9156 2005-04-11 Wim Taymans <wim@fluendo.com>
9158 * check/gst/gstbus.c: (gstbus_suite):
9159 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9161 Fix up the timeout so that the test does not fail.
9163 2005-04-06 Wim Taymans <wim@fluendo.com>
9166 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9167 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9168 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9169 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9170 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9171 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9172 (gst_basesrc_stop), (gst_basesrc_activate),
9173 (gst_basesrc_change_state), (basesrc_find_peek),
9174 (basesrc_find_suggest), (gst_basesrc_type_find):
9175 * gst/base/gstbasesrc.h:
9176 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9177 (gst_filesrc_class_init), (gst_filesrc_init),
9178 (gst_filesrc_finalize), (gst_filesrc_set_location),
9179 (gst_filesrc_set_property), (gst_filesrc_get_property),
9180 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9181 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9182 (gst_filesrc_create_read), (gst_filesrc_create),
9183 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9184 * gst/elements/gstfilesrc.h:
9185 * gst/gstelement.c: (gst_element_get_state_func),
9186 (gst_element_lost_state), (gst_element_pads_activate):
9187 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9188 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9189 (gst_pad_pull_range):
9191 More work on the generic source base class, implement seeking,
9193 Make filesrc extend the base source class.
9194 Added gst_pad_set_checkgetrange_function to GstPad.
9196 2005-04-06 Andy Wingo <wingo@pobox.com>
9198 * pkgconfig/gstreamer-base.pc.in:
9199 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9201 * pkgconfig/Makefile.am:
9202 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9204 2005-04-04 Wim Taymans <wim@fluendo.com>
9206 * gst/base/Makefile.am:
9208 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9209 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9210 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9211 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9212 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9213 (gst_basesrc_base_init), (gst_basesrc_class_init),
9214 (gst_basesrc_init), (gst_basesrc_get_formats),
9215 (gst_basesrc_get_query_types), (gst_basesrc_query),
9216 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9217 (gst_basesrc_set_property), (gst_basesrc_get_property),
9218 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9219 (gst_basesrc_loop), (gst_basesrc_activate),
9220 (gst_basesrc_change_state):
9221 * gst/base/gstbasesrc.h:
9222 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9223 (gst_fakesrc_class_init), (gst_fakesrc_init),
9224 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9225 (gst_fakesrc_get_property), (gst_fakesrc_create):
9226 * gst/elements/gstfakesrc.h:
9227 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9228 (gst_filesrc_open_file), (gst_filesrc_loop),
9229 (gst_filesrc_activate), (filesrc_find_peek),
9230 (gst_filesrc_type_find):
9231 Made base source class, make fakesrc extend it.
9232 Add comments to basesink class.
9233 Some filesrc cleanup.
9235 2005-03-31 David Schleef <ds@schleef.org>
9237 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9238 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9239 expected to link against libgstreamer.
9240 * gst/base/Makefile.am: link against libgstreamer
9241 * gst/elements/Makefile.am: same
9243 2005-03-31 Andy Wingo <wingo@pobox.com>
9245 * tests/instantiate/Makefile.am:
9246 * tests/instantiate/caps.c: Add test to test speed of caps copy
9249 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9250 GMemChunk to be fair.
9252 * gst/gsttrashstack.h: Remove warning about using the fallback
9253 trash stack implementation, it's still faster than malloc.
9255 2005-03-30 Andy Wingo <wingo@pobox.com>
9257 * tests/complexity.c: Add a copyright.
9259 2005-03-31 Wim Taymans <wim@fluendo.com>
9261 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9262 (gst_base_transform_class_init), (gst_base_transform_init),
9263 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9264 (gst_base_transform_get_property),
9265 (gst_base_transform_sink_activate),
9266 (gst_base_transform_src_activate),
9267 (gst_base_transform_change_state):
9268 * gst/base/gstbasetransform.h:
9269 * gst/elements/gstidentity.c: (gst_identity_class_init),
9270 (gst_identity_event), (gst_identity_check_perfect),
9271 (gst_identity_transform), (gst_identity_start),
9272 (gst_identity_stop):
9273 Added start/stop methods to transform base class so subclasses
9274 don't need to deal with state changes even.
9276 2005-03-31 Wim Taymans <wim@fluendo.com>
9278 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9279 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9281 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9282 (gst_pad_pull_range):
9283 Added rate to the discont event to prepare for variable speed
9284 and reverse playback.
9286 2005-03-29 David Schleef <ds@schleef.org>
9289 * testsuite/trigger/Makefile.am:
9290 * testsuite/trigger/trigger.c: A little example program to show
9291 how trigger-based elements can work.
9293 2005-03-29 Wim Taymans <wim@fluendo.com>
9295 * gst/base/Makefile.am:
9297 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9298 (gst_basesink_base_init), (gst_basesink_class_init),
9299 (gst_basesink_pad_getcaps), (gst_basesink_init),
9300 (gst_basesink_activate), (gst_basesink_change_state):
9301 * gst/base/gstbasesink.h:
9302 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9303 (gst_base_transform_base_init), (gst_base_transform_finalize),
9304 (gst_base_transform_class_init), (gst_base_transform_init),
9305 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9306 (gst_base_transform_event), (gst_base_transform_getrange),
9307 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9308 (gst_base_transform_set_property),
9309 (gst_base_transform_get_property),
9310 (gst_base_transform_sink_activate),
9311 (gst_base_transform_src_activate),
9312 (gst_base_transform_change_state):
9313 * gst/base/gstbasetransform.h:
9314 * gst/elements/gstidentity.c: (gst_identity_finalize),
9315 (gst_identity_class_init), (gst_identity_init),
9316 (gst_identity_event), (gst_identity_check_perfect),
9317 (gst_identity_transform), (gst_identity_set_property),
9318 (gst_identity_get_property), (gst_identity_change_state):
9319 * gst/elements/gstidentity.h:
9320 * gst/gstelement.c: (gst_element_get_state_func),
9321 (gst_element_lost_state), (gst_element_pads_activate):
9322 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9323 (gst_pad_check_pull_range), (gst_pad_pull_range):
9325 Simplify pad activation.
9326 Added function to check if pull_range can be performed.
9327 Error out when pulling inactive or flushing pads.
9328 Removed const from refcounted types as it does not make sense.
9329 Simplify pad templates in basesink
9330 Added base class for simple 1-to-1 transforms.
9331 Make identity subclass the base transform.
9333 2005-03-29 Andy Wingo <wingo@pobox.com>
9335 * docs/libs/gstreamer-libs-overrides.txt:
9336 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9337 really don't understand what's going on, but like whatever. I want
9340 * docs/gst/Makefile.am:
9341 * docs/libs/Makefile.am: Dist the overrides files.
9343 * check/Makefile.am (clean-local): Remove .libs directories.
9345 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9346 elements to EXTRA_DIST, so po/ files are happy.
9348 * po/POTFILES.in: Er, remove it here.
9350 * po/POTFILES: Remove gstspider.c.
9352 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9354 * docs/libs/gstreamer-libs-docs.sgml:
9355 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9358 * tests/complexity.c (main): Set the length of the preroll queue
9359 on the sinks to prevent a lockup.
9361 * libs/gst/dataprotocol/Makefile.am:
9362 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9363 the same as the one in check/gst-libs/gdp.c.
9365 * po/, docs/gst/: Commit automatic changes to docs and po files.
9367 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9368 the versioned libgstbase.
9370 * check/Makefile.am: Depend on an unversioned gst-register, seems
9371 to make autoconf happier.
9373 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9375 2005-03-28 Wim Taymans <wim@fluendo.com>
9378 * docs/design/part-gstelement.txt:
9379 * docs/design/part-negotiation.txt:
9380 * docs/design/part-preroll.txt:
9381 * docs/design/part-scheduling.txt:
9382 * docs/design/part-states.txt:
9384 * gst/base/Makefile.am:
9386 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9387 (gst_basesink_base_init), (gst_basesink_class_init),
9388 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9389 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9390 (gst_basesink_set_pad_functions),
9391 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9392 (gst_basesink_set_property), (gst_basesink_get_property),
9393 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9394 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9395 (gst_basesink_preroll_queue_push),
9396 (gst_basesink_preroll_queue_empty),
9397 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9398 (gst_basesink_event), (gst_basesink_get_times),
9399 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9400 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9401 (gst_basesink_loop), (gst_basesink_activate),
9402 (gst_basesink_change_state):
9403 * gst/base/gstbasesink.h:
9404 * gst/elements/Makefile.am:
9405 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9406 (gst_fakesink_class_init), (gst_fakesink_init),
9407 (gst_fakesink_set_property), (gst_fakesink_get_property),
9408 (gst_fakesink_get_times), (gst_fakesink_event),
9409 (gst_fakesink_preroll), (gst_fakesink_render),
9410 (gst_fakesink_change_state):
9411 * gst/elements/gstfakesink.h:
9412 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9413 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9414 * gst/gstelement.c: (gst_element_add_pad),
9415 (gst_element_get_state_func), (gst_element_abort_state),
9416 (gst_element_commit_state), (gst_element_lost_state),
9417 (gst_element_set_state), (gst_element_pads_activate):
9418 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9419 * gst/gstpipeline.c: (gst_pipeline_send_event),
9420 (gst_pipeline_change_state):
9421 Added state change code.
9423 Added sink base class, make fakesink extend the base class.
9424 Small cleanups in GstPipeline.
9426 2005-03-26 David Schleef <ds@schleef.org>
9428 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9429 is broken and should be implemented in a different library.
9430 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9431 * gst/gst.h: remove gstcpu.h
9432 * gst/gstcpu.c: remove
9433 * gst/gstcpu.h: remove
9434 * gst/Makefile.am.future: Remove this file. It's ancient.
9436 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9438 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9439 (gst_bin_send_event):
9440 Add default event/set_manager handlers. The set_manager handler
9441 takes care that the manager is distributed over kids that were
9442 already in the bin before the manager was set. The event handler
9443 is a utility virtual function that sends the event over all sinks,
9444 so that gst_element_send_event (bin, event); has the expected
9446 * gst/gstpad.c: (gst_pad_event_default):
9447 Re-install default event handling for discontinuities, so that
9448 seeking works without requiring hacks in applications or extra
9450 * gst/gstpipeline.c: (gst_pipeline_class_init),
9451 (gst_pipeline_send_event):
9452 Half hack, half utility: set a pipeline to PAUSED for seek events,
9453 since that is the only way we can guarantee a/v sync. Means that
9454 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9455 and it "just works".
9457 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9459 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9460 Lock/unlock mismatch.
9462 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9464 * docs/faq/gst-uninstalled:
9465 add gst-plugins-base
9466 * docs/gst/Makefile.am:
9467 don't error out until docs are fixed
9468 * docs/gst/gstreamer.types:
9471 2005-03-22 Wim Taymans <wim@fluendo.com>
9473 * check/Makefile.am:
9474 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9475 * gst/gststructure.c: (gst_structure_set_valist),
9476 (gst_structure_copy_conditional):
9477 Activated more tests.
9479 Added G_TYPE_POINTER to GstStructure.
9482 2005-03-22 Wim Taymans <wim@fluendo.com>
9484 * docs/design/part-TODO.txt:
9485 * docs/design/part-events.txt:
9486 * docs/design/part-gstbin.txt:
9487 * docs/design/part-gstbus.txt:
9488 * docs/design/part-gstpipeline.txt:
9489 * docs/design/part-messages.txt:
9494 2005-03-21 Wim Taymans <wim@fluendo.com>
9496 * gst/gstbus.c: (gst_bus_post):
9497 Fix copy-and-paste error.
9499 2005-03-21 Wim Taymans <wim@fluendo.com>
9501 * check/Makefile.am:
9503 * gst/elements/Makefile.am:
9504 * gst/elements/gstelements.c:
9505 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9506 (gst_fakesink_event), (gst_fakesink_chain):
9507 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9508 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9509 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9510 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9511 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9512 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9513 (gst_fakesrc_loop), (gst_fakesrc_activate),
9514 (gst_fakesrc_change_state):
9515 * gst/elements/gstfakesrc.h:
9516 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9517 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9518 (gst_filesrc_open_file), (gst_filesrc_loop),
9519 (gst_filesrc_activate), (gst_filesrc_change_state),
9520 (filesrc_find_peek), (filesrc_find_suggest),
9521 (gst_filesrc_type_find):
9522 * gst/elements/gstidentity.c: (gst_identity_finalize),
9523 (gst_identity_class_init), (gst_identity_init),
9524 (gst_identity_proxy_getcaps), (identity_queue_push),
9525 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9526 (gst_identity_getrange), (gst_identity_chain),
9527 (gst_identity_sink_loop), (gst_identity_src_loop),
9528 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9529 (gst_identity_set_property), (gst_identity_get_property),
9530 (gst_identity_change_state):
9531 * gst/elements/gstidentity.h:
9532 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9533 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9534 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9535 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9536 (gst_tee_sink_activate):
9537 * gst/elements/gsttee.h:
9538 * gst/gst.c: (gst_register_core_elements), (init_post):
9540 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9541 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9542 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9543 (gst_bin_change_state):
9545 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9546 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9547 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9548 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9549 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9550 (bus_watch_callback), (bus_watch_destroy),
9551 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9552 (poll_timeout), (gst_bus_poll):
9556 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9557 (gst_element_post_message), (gst_element_message_full),
9558 (gst_element_get_state_func), (gst_element_get_state),
9559 (gst_element_abort_state), (gst_element_commit_state),
9560 (gst_element_lost_state), (gst_element_set_state),
9561 (gst_element_pads_activate), (gst_element_change_state),
9562 (gst_element_dispose), (gst_element_set_manager_func),
9563 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9564 (gst_element_set_manager), (gst_element_get_manager),
9565 (gst_element_set_bus), (gst_element_get_bus),
9566 (gst_element_set_scheduler), (gst_element_get_scheduler):
9568 * gst/gstevent.c: (gst_event_new_segment_seek),
9569 (gst_event_new_flush):
9571 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9572 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9573 (gst_message_new_eos), (gst_message_new_error),
9574 (gst_message_new_warning), (gst_message_new_tag),
9575 (gst_message_new_state_changed), (gst_message_new_application),
9576 (gst_message_get_structure), (gst_message_parse_tag),
9577 (gst_message_parse_state_changed), (gst_message_parse_error),
9578 (gst_message_parse_warning):
9580 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9581 (gst_real_pad_set_property), (gst_pad_set_active),
9582 (gst_pad_is_active), (gst_pad_set_blocked_async),
9583 (gst_pad_set_blocked), (gst_pad_is_blocked),
9584 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9585 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9586 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9587 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9588 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9589 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9590 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9591 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9592 (gst_pad_set_caps), (gst_pad_configure_sink),
9593 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9594 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9595 (gst_real_pad_dispose), (gst_real_pad_finalize),
9596 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9597 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9598 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9600 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9601 (pipeline_bus_handler), (gst_pipeline_change_state),
9602 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9603 * gst/gstpipeline.h:
9605 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9606 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9607 (gst_queue_link_src), (gst_queue_bufferalloc),
9608 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9609 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9610 (gst_queue_loop), (gst_queue_handle_src_event),
9611 (gst_queue_handle_src_query), (gst_queue_src_activate),
9612 (gst_queue_change_state):
9614 * gst/gstscheduler.c: (gst_scheduler_init),
9615 (gst_scheduler_dispose), (gst_scheduler_create_task),
9616 (gst_scheduler_factory_create):
9617 * gst/gstscheduler.h:
9618 * gst/gststructure.c: (gst_structure_get_type),
9619 (gst_structure_copy_conditional):
9620 * gst/gststructure.h:
9621 * gst/gsttaginterface.h:
9622 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9623 (gst_task_init), (gst_task_dispose), (gst_task_create),
9624 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9630 * gst/schedulers/Makefile.am:
9631 * gst/schedulers/cothreads_compat.h:
9632 * gst/schedulers/entryscheduler.c:
9633 * gst/schedulers/faircothreads.c:
9634 * gst/schedulers/faircothreads.h:
9635 * gst/schedulers/fairscheduler.c:
9636 * gst/schedulers/gstbasicscheduler.c:
9637 * gst/schedulers/gstoptimalscheduler.c:
9638 * gst/schedulers/gthread-cothreads.h:
9639 * gst/schedulers/threadscheduler.c:
9640 (gst_thread_scheduler_task_get_type),
9641 (gst_thread_scheduler_task_class_init),
9642 (gst_thread_scheduler_task_init),
9643 (gst_thread_scheduler_task_start),
9644 (gst_thread_scheduler_task_stop),
9645 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9646 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9647 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9648 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9650 * libs/gst/Makefile.am:
9651 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9652 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9653 (gst_file_pad_parent_set):
9654 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9655 (gst_dp_event_from_packet):
9656 * tests/complexity.c: (main):
9657 * tests/mass_elements.c: (main):
9658 * testsuite/states/locked.c: (message_received), (main):
9659 * testsuite/states/parent.c: (main):
9660 * tools/gst-inspect.c: (print_element_flag_info),
9661 (print_implementation_info), (print_pad_info):
9662 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9664 * tools/gst-md5sum.c: (event_loop), (main):
9665 * tools/gst-typefind.c: (main):
9666 * tools/gst-xmlinspect.c: (print_element_info):
9668 Added GstBus for mainloop integration.
9669 Added GstMessage for sending notifications on the bus.
9670 Added GstTask as an abstraction for pipeline entry points.
9673 Simplified GstQueue for multithreaded core.
9674 Made _link threadsafe, removed old capsnego.
9675 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9676 Added pad blocking functions.
9677 Reworked scheduling functions in GstPad to prepare for
9678 scheduling updates soon.
9679 Moved events out of data stream.
9680 Simplified GstEvent types.
9681 Added return values to push/pull.
9682 Removed clocking from GstElement.
9683 Added prototypes for state change function for next merge.
9684 Removed iterate from bins and state change management.
9685 Fixed some elements, disabled others for now.
9686 Fixed -inspect and -launch.
9687 Added check for GstBus.
9689 2005-03-10 Wim Taymans <wim@fluendo.com>
9691 * docs/design/part-MT-refcounting.txt:
9692 * docs/design/part-clocks.txt:
9693 * docs/design/part-gstelement.txt:
9694 * docs/design/part-gstobject.txt:
9695 * docs/design/part-standards.txt:
9696 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9697 (gst_bin_remove_func), (gst_bin_remove):
9701 * testsuite/clock/clock1.c: (main):
9702 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9704 * testsuite/dlopen/loadgst.c: (do_test):
9705 * testsuite/refcounting/bin.c: (add_remove_test1),
9706 (add_remove_test2), (main):
9707 * testsuite/refcounting/element.c: (main):
9708 * testsuite/refcounting/element_pad.c: (main):
9709 * testsuite/refcounting/pad.c: (main):
9710 * tools/gst-launch.c: (sigint_handler_sighandler):
9711 * tools/gst-typefind.c: (main):
9713 Added doc about clock.
9714 removed gst_bin_iterate_recurse_up(), marked methods
9716 Fix more testsuites.
9718 2005-03-09 Wim Taymans <wim@fluendo.com>
9720 * gst/gstpad.c: (gst_pad_get_direction),
9721 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9722 (gst_pad_collect_valist):
9723 * testsuite/bins/interface.c: (main):
9724 * testsuite/caps/audioscale.c: (test_caps):
9725 * testsuite/caps/caps.c: (test1), (test2), (test3):
9726 * testsuite/caps/deserialize.c: (main):
9727 * testsuite/caps/enumcaps.c: (main):
9728 * testsuite/caps/filtercaps.c: (main):
9729 * testsuite/caps/intersect2.c: (main):
9730 * testsuite/caps/random.c: (main):
9731 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9732 * testsuite/caps/sets.c: (check_caps):
9733 * testsuite/caps/simplify.c: (check_caps), (main):
9734 * testsuite/caps/subtract.c: (check_caps):
9735 Fix _pad_get_direction wrt ghostpads.
9738 2005-03-09 Wim Taymans <wim@fluendo.com>
9740 * check/Makefile.am:
9741 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9742 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9743 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9744 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9745 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9746 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9747 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9748 (bin_element_is_sink), (gst_bin_iterate_sinks),
9749 (gst_bin_iterate_all_by_interface):
9751 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9752 (gst_element_change_state), (gst_element_dispose),
9753 (gst_element_finalize), (gst_element_set_loop_function):
9755 * gst/gstiterator.c: (find_custom_fold_func):
9756 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9757 (gst_pad_collectv), (gst_pad_collect_valist),
9758 (gst_pad_template_new):
9759 * gst/gstpipeline.c: (gst_pipeline_class_init),
9760 (gst_pipeline_dispose), (gst_pipeline_set_property),
9761 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9762 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9763 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9765 * gst/schedulers/entryscheduler.c:
9766 * gst/schedulers/gstbasicscheduler.c:
9767 (gst_basic_scheduler_cothreaded_chain),
9768 (gst_basic_scheduler_chain_add_element):
9769 * testsuite/bins/interface.c: (main):
9771 Added GstSystemClock test.
9772 Implemented clock distribution code in GstBin.
9773 Implemented iterate sinks method for future use.
9774 Rearranged gstelement.h
9775 Fix GstIterator comparison bug.
9776 Moved some code to GstPipeline, mostly clocking related.
9778 2005-03-09 Wim Taymans <wim@fluendo.com>
9781 * gst/gst_private.h:
9782 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9783 (gst_bin_remove_func), (gst_bin_remove),
9784 (gst_bin_get_by_name_recurse_up):
9785 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9786 (gst_clock_id_compare_func), (gst_clock_id_wait),
9787 (gst_clock_id_wait_async), (gst_clock_init),
9788 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9790 * gst/gstinfo.c: (_gst_debug_init):
9792 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9793 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9795 Bump version number, we're now 0.9.0
9796 Add future debugging category.
9797 Fix NULL _unref() in _get_by_name_recurse_up
9801 2005-03-08 Wim Taymans <wim@fluendo.com>
9803 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9804 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9805 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9806 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9807 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9808 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9809 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9810 * gst/elements/gstidentity.c: (gst_identity_class_init):
9811 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9812 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9813 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9814 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9815 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9817 * gst/gstelement.c: (gst_element_class_init),
9818 (gst_element_base_class_init), (gst_element_init),
9819 (gst_element_get_random_pad), (gst_element_wait_state_change),
9820 (gst_element_change_state), (gst_element_dispose),
9821 (gst_element_finalize), (gst_element_set_loop_function):
9823 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9824 * gst/gstthread.c: (gst_thread_class_init),
9825 (gst_thread_release_children_locks), (gst_thread_change_state):
9826 * gst/schedulers/gstbasicscheduler.c:
9827 (gst_basic_scheduler_loopfunc_wrapper),
9828 (gst_basic_scheduler_chain_wrapper),
9829 (gst_basic_scheduler_src_wrapper),
9830 (gst_basic_scheduler_remove_element):
9831 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9832 Remove threadsafe properties. Fix elements because GObject
9833 complains when installing a property before declaring a
9834 set/get_property handler.
9835 Rearrange gstelement.h file, use STATE macros for state locks.
9836 Free mutexes in the finalize method instead of dispose.
9838 2005-03-08 Wim Taymans <wim@fluendo.com>
9840 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9841 * gst/gstthread.c: (gst_thread_release_children_locks):
9842 Added parentage check.
9843 Fix build og GstThread again.
9845 2005-03-08 Wim Taymans <wim@fluendo.com>
9847 * docs/design/part-MT-refcounting.txt:
9848 * docs/design/part-conventions.txt:
9849 * docs/design/part-gstobject.txt:
9850 * docs/design/part-relations.txt:
9851 * docs/design/part-standards.txt:
9852 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9853 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
9854 (gst_bin_get_by_name), (gst_bin_get_by_interface),
9855 (gst_bin_iterate_all_by_interface):
9858 * gst/gstelement.c: (gst_element_class_init),
9859 (gst_element_change_state), (gst_element_set_loop_function):
9861 * gst/gstiterator.c:
9862 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
9863 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
9864 (gst_object_dispatch_properties_changed), (gst_object_set_name),
9865 (gst_object_set_parent), (gst_object_unparent),
9866 (gst_object_check_uniqueness):
9868 Docs updates, clean up some headers.
9870 2005-03-07 Wim Taymans <wim@fluendo.com>
9873 * check/Makefile.am:
9874 * check/gst-libs/.cvsignore:
9875 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
9876 * check/gst/.cvsignore:
9877 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
9878 (START_TEST), (gstbus_suite), (main):
9879 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
9880 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
9881 (gst_data_suite), (main):
9882 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
9883 (add_fold_func), (gstiterator_suite), (main):
9884 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
9885 (thread_name_object), (thread_name_object_default),
9886 (gst_object_name_compare), (gst_object_suite), (main):
9887 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
9888 (gst_pad_suite), (main):
9889 * check/gstcheck.c: (gst_check_log_message_func),
9890 (gst_check_log_critical_func), (gst_check_init):
9892 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
9893 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
9896 2005-03-07 Wim Taymans <wim@fluendo.com>
9898 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9899 (gst_list_iterator_next), (gst_list_iterator_resync),
9900 (gst_list_iterator_free), (gst_iterator_new_list),
9901 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
9902 (gst_iterator_free), (gst_iterator_push), (filter_next),
9903 (filter_resync), (filter_uninit), (filter_free),
9904 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
9905 (gst_iterator_foreach), (find_custom_fold_func),
9906 (gst_iterator_find_custom):
9907 * gst/gstiterator.h:
9908 Added missing files.
9910 2005-03-07 Wim Taymans <wim@fluendo.com>
9914 * docs/design/part-MT-refcounting.txt:
9915 * docs/design/part-conventions.txt:
9916 * docs/design/part-gstobject.txt:
9917 * docs/design/part-relations.txt:
9918 * examples/mixer/mixer.c: (main):
9919 * examples/thread/thread.c: (eos), (main):
9921 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
9922 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
9923 (gst_spider_plug_from_srcpad):
9924 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
9925 (gst_spider_identity_change_state),
9926 (gst_spider_identity_sink_loop_type_finding):
9927 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
9928 * gst/elements/gstidentity.c: (gst_identity_init):
9929 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
9930 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
9931 * gst/elements/gsttypefindelement.c: (free_entry):
9934 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
9935 (gst_bin_set_clock_func), (gst_bin_auto_clock),
9936 (gst_bin_set_index), (gst_bin_set_element_sched),
9937 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
9938 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
9939 (gst_bin_iterate_elements), (iterate_child_recurse),
9940 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
9941 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
9942 (compare_interface), (gst_bin_get_by_interface),
9943 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
9945 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
9946 (gst_buffer_default_free), (gst_buffer_default_copy),
9947 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
9948 (gst_buffer_create_sub):
9950 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
9951 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
9952 (gst_caps_unref), (gst_static_caps_get),
9953 (gst_caps_remove_and_get_structure), (gst_caps_append),
9954 (gst_caps_append_structure), (gst_caps_remove_structure),
9955 (gst_caps_copy_nth), (gst_caps_set_simple),
9956 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
9957 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
9958 (gst_caps_structure_intersect_field), (gst_caps_intersect),
9959 (gst_caps_structure_subtract_field), (gst_caps_subtract),
9960 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
9961 (gst_caps_structure_figure_out_union),
9962 (gst_caps_switch_structures), (gst_caps_do_simplify),
9963 (gst_caps_replace), (gst_caps_from_string),
9964 (gst_caps_copy_conditional):
9966 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
9967 (_gst_clock_id_free), (gst_clock_id_unref),
9968 (gst_clock_id_compare_func), (gst_clock_id_wait),
9969 (gst_clock_id_wait_async), (gst_clock_class_init),
9970 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
9971 (gst_clock_get_time), (gst_clock_set_time_adjust),
9972 (gst_clock_set_property), (gst_clock_get_property):
9975 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
9976 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
9978 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9979 (gst_element_requires_clock), (gst_element_provides_clock),
9980 (gst_element_set_clock), (gst_element_clock_wait),
9981 (gst_element_wait), (gst_element_set_time_delay),
9982 (gst_element_is_indexable), (gst_element_add_pad),
9983 (gst_element_add_ghost_pad), (gst_element_remove_pad),
9984 (pad_compare_name), (gst_element_get_static_pad),
9985 (gst_element_request_pad), (gst_element_get_request_pad),
9986 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
9987 (gst_element_class_get_pad_template_list),
9988 (gst_element_class_get_pad_template), (gst_element_error_func),
9989 (gst_element_get_random_pad), (gst_element_get_event_masks),
9990 (gst_element_send_event), (gst_element_seek),
9991 (gst_element_get_query_types), (gst_element_query),
9992 (gst_element_get_formats), (gst_element_convert),
9993 (gst_element_is_locked_state), (gst_element_set_locked_state),
9994 (gst_element_sync_state_with_parent), (gst_element_change_state),
9995 (gst_element_finalize), (gst_element_yield),
9996 (gst_element_interrupt), (gst_element_set_scheduler),
9997 (gst_element_get_scheduler), (gst_element_set_loop_function):
10000 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10001 (gst_format_get_by_nick), (gst_format_get_details),
10002 (gst_format_iterate_definitions):
10004 * gst/gstindex.c: (gst_index_gtype_resolver):
10007 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10008 (gst_mem_chunk_free):
10009 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10010 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10011 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10012 (gst_object_dispatch_properties_changed),
10013 (gst_object_set_name_default), (gst_object_set_name),
10014 (gst_object_get_name), (gst_object_set_name_prefix),
10015 (gst_object_get_name_prefix), (gst_object_set_parent),
10016 (gst_object_get_parent), (gst_object_unparent),
10017 (gst_object_check_uniqueness), (gst_object_save_thyself),
10018 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10019 (gst_object_set_property), (gst_object_get_property),
10020 (gst_object_get_path_string):
10022 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10023 (gst_real_pad_init), (gst_real_pad_get_property),
10024 (gst_pad_custom_new), (gst_pad_get_direction),
10025 (gst_pad_set_active), (gst_pad_is_active),
10026 (gst_pad_set_event_function), (gst_pad_is_linked),
10027 (gst_pad_link_free), (gst_pad_link_intersect),
10028 (gst_pad_link_fixate), (gst_pad_set_caps),
10029 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10030 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10031 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10032 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10033 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10034 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10035 (gst_pad_realize), (gst_pad_get_allowed_caps),
10036 (gst_real_pad_dispose), (gst_real_pad_finalize),
10037 (gst_pad_collectv), (gst_pad_collect_valist),
10038 (gst_pad_template_dispose), (gst_pad_template_new),
10039 (gst_pad_get_internal_links):
10041 * gst/gstpipeline.c: (gst_pipeline_dispose),
10042 (gst_pipeline_change_state):
10043 * gst/gstpipeline.h:
10045 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10046 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10047 * gst/gstpluginfeature.h:
10048 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10049 * gst/gstquery.c: (_gst_query_type_initialize),
10050 (gst_query_type_register), (gst_query_type_get_by_nick),
10051 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10053 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10054 * gst/gstscheduler.c: (gst_scheduler_add_element),
10055 (gst_scheduler_factory_create):
10056 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10057 (gst_structure_free), (gst_structure_set_name),
10058 (gst_structure_id_set_value), (gst_structure_set_value),
10059 (gst_structure_set_valist), (gst_structure_remove_field),
10060 (gst_structure_remove_fields),
10061 (gst_structure_remove_fields_valist),
10062 (gst_structure_remove_all_fields), (gst_structure_foreach),
10063 (gst_structure_map_in_place),
10064 (gst_caps_structure_fixate_field_nearest_int),
10065 (gst_caps_structure_fixate_field_nearest_double):
10066 * gst/gststructure.h:
10067 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10068 (gst_system_clock_init), (gst_system_clock_dispose),
10069 (gst_system_clock_async_thread),
10070 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10071 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10072 * gst/gstsystemclock.h:
10073 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10074 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10075 * gst/gsttaginterface.c:
10076 * gst/gstthread.c: (gst_thread_dispose),
10077 (gst_thread_release_children_locks), (gst_thread_change_state),
10078 (gst_thread_main_loop):
10079 * gst/gsttrashstack.h:
10080 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10082 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10083 (gst_element_request_pad), (gst_element_get_pad_from_template),
10084 (gst_element_request_compatible_pad),
10085 (gst_element_get_compatible_pad_filtered),
10086 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10087 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10088 (gst_element_link_many), (gst_element_link),
10089 (gst_element_link_pads), (gst_element_unlink_pads),
10090 (gst_element_unlink_many), (gst_element_unlink),
10091 (gst_pad_can_link_filtered), (gst_pad_can_link),
10092 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10093 (gst_object_default_error), (gst_bin_add_many),
10094 (gst_bin_remove_many), (gst_element_populate_std_props),
10095 (gst_element_class_install_std_props), (gst_buffer_merge),
10096 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10097 (link_fold_func), (gst_pad_proxy_setcaps):
10099 * gst/gstvalue.c: (gst_value_deserialize_string):
10100 * gst/parse/grammar.y:
10101 * gst/schedulers/gstbasicscheduler.c:
10102 (gst_basic_scheduler_cothreaded_chain),
10103 (gst_basic_scheduler_chain_recursive_add),
10104 (gst_basic_scheduler_pad_link):
10105 * gst/schedulers/gstoptimalscheduler.c:
10106 (get_group_schedule_function),
10107 (gst_opt_scheduler_state_transition),
10108 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10109 * libs/gst/bytestream/bytestream.c:
10110 * libs/gst/dataprotocol/dataprotocol.c:
10111 (gst_dp_header_from_buffer):
10114 * tests/threadstate/threadstate2.c: (eos):
10115 * tools/gst-compprep.c: (main):
10116 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10117 (print_pad_info), (print_children_info):
10118 * tools/gst-launch.c: (idle_func), (main):
10119 * tools/gst-md5sum.c: (idle_func), (main):
10120 * tools/gst-xmlinspect.c: (print_element_info):
10121 First THREADED backport attempt, focusing on adding locks and
10122 making sure the API is threadsafe. Needs more work. More docs
10125 2005-02-24 Andy Wingo <wingo@pobox.com>
10127 * tests/bench-complexity.scm:
10128 * tests/complexity.gnuplot: New files, good for running complexity
10131 * tests/Makefile.am:
10132 * tests/complexity.c: New test, sets up N elements, at each level
10133 teeing into M streams per element. Eeeenteresting.
10135 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10136 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10137 running bench-mass_elements.scm.
10139 * tests/bench-mass_elements.scm: New script, runs mass_elements
10140 for various numbers of identities, outputting the results to a
10141 file. Requires guile 1.6. Just for testing.
10143 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10145 * gst/schedulers/fairscheduler.c:
10146 compile with debug disabled
10148 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10151 hunting season on 0.9 is now OPEN