1 2005-11-03 Andy Wingo <wingo@pobox.com>
3 * check/states/sinks.c (test_livesrc_sink): Add checks that the
4 state-changed messages actually have the right order and the right
7 2005-11-03 Wim Taymans <wim@fluendo.com>
9 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10 Added some more checks. Specifically the case where NO_PREROLL
11 elements are in the pipeline.
13 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15 (gst_base_sink_get_position):
16 Post READY->PAUSED state change messages too.
17 Fix bug where VOID was posted as pending state...
19 * gst/gstbin.c: (gst_bin_recalc_state):
20 use _element_continue_state() to continue the state change.
22 * gst/gstelement.c: (gst_element_continue_state),
23 (gst_element_commit_state), (gst_element_set_state_func),
24 (gst_element_change_state), (gst_element_change_state_func):
25 Lots of state change cleanups, assign the STATE_RETURN in
26 a new continue_state() function that also propagates the
27 last return value from a state change to the app.
28 Update some debug statements with proper category.
30 2005-11-03 Wim Taymans <wim@fluendo.com>
32 * docs/design/part-events.txt:
33 * docs/design/part-gstpipeline.txt:
34 * docs/design/part-messages.txt:
35 * docs/design/part-overview.txt:
36 * docs/design/part-seeking.txt:
37 * docs/design/part-states.txt:
38 * docs/design/part-trickmodes.txt:
39 * docs/manual/advanced-position.xml:
43 People think !! is ugly, this looks better.
45 * gst/gstpad.c: (gst_pad_set_blocked_async):
46 Remove !! since it's fixed elsewhere now.
48 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
50 * gst/gstminiobject.h:
52 Add !! to _FLAG_IS_SET macros to make the result boolean.
54 2005-11-03 Edward Hervey <edward@fluendo.com>
56 * gst/gstpad.c: (gst_pad_set_blocked_async):
57 comparing a flag and a gboolean rarely returns coherent results...
58 Added two characters (!!) to make that work correctly.
60 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
62 * gst/gstbus.c: (gst_bus_class_init):
65 * gst/gstqueue.c: (gst_queue_loop):
66 Don't assume a miniobject that isn't a buffer is an
67 event (it could be that there is a refcounting
68 problem somewhere and the pointer is stale and
69 refers to an already destroyed miniobject).
71 2005-11-03 Julien MOUTTE <julien@moutte.net>
73 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
75 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
77 * docs/manual/advanced-position.xml:
78 Update seek example and explanations to current 0.9 API.
80 * gst/elements/gsttypefindelement.c:
81 (gst_type_find_element_activate):
82 Remove FIXME comment now that the found caps
85 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
87 * gst/gstregistryxml.c: (load_feature):
88 Add another GST_STR_NULL instance
90 2005-11-02 Edward Hervey <edward@fluendo.com>
92 * gst/gstpad.c: (handle_pad_block):
93 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
95 2005-11-02 Wim Taymans <wim@fluendo.com>
100 * gst/gstelement.c: (gst_element_commit_state):
104 Mention that the returned element is reffed in the docs.
106 2005-11-02 Wim Taymans <wim@fluendo.com>
108 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
109 (gst_pad_push), (gst_pad_push_event):
110 Unlock blocked pads when they are flushed.
112 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
115 * docs/gst/gstreamer-sections.txt:
118 * gst/gstregistry.c: (gst_registry_scan_path_level):
119 fix for a nasty little missed situation where an installed plug-in
120 which was in the cache did not get overridden by an uninstalled one
121 which was earlier in the plugin path because the newly created plugin
122 for the uninstalled one (not in the registry) didn't get its
123 ->registered set to TRUE
125 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
127 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
128 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
129 (gst_collectpads_is_active), (gst_collectpads_collect),
130 (gst_collectpads_collect_range), (gst_collectpads_start),
131 (gst_collectpads_stop), (gst_collectpads_peek),
132 (gst_collectpads_pop), (gst_collectpads_available),
133 (gst_collectpads_read), (gst_collectpads_flush):
134 Guard public API with assertions.
137 Fix docs for gst_pad_set_link_function().
139 2005-11-02 Johan Dahlin <johan@gnome.org>
141 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
142 Unref found_caps after we used it.
144 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
146 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
147 Don't try to ref NULL.
149 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
151 * win32/common/config.h.in:
152 provide a GST_FUNCTION that just gives a string for now
154 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
156 * win32/common/gstenumtypes.c: (register_gst_object_flags),
157 (gst_object_flags_get_type), (register_gst_bin_flags),
158 (gst_bin_flags_get_type), (register_gst_buffer_flag),
159 (gst_buffer_flag_get_type), (register_gst_bus_flags),
160 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
161 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
162 (gst_clock_return_get_type), (register_gst_clock_entry_type),
163 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
164 (gst_clock_flags_get_type), (register_gst_state),
165 (gst_state_get_type), (register_gst_state_change_return),
166 (gst_state_change_return_get_type), (register_gst_state_change),
167 (gst_state_change_get_type), (register_gst_element_flags),
168 (gst_element_flags_get_type), (register_gst_core_error),
169 (gst_core_error_get_type), (register_gst_library_error),
170 (gst_library_error_get_type), (register_gst_resource_error),
171 (gst_resource_error_get_type), (register_gst_stream_error),
172 (gst_stream_error_get_type), (register_gst_event_type),
173 (gst_event_type_get_type), (register_gst_seek_type),
174 (gst_seek_type_get_type), (register_gst_seek_flags),
175 (gst_seek_flags_get_type), (register_gst_format),
176 (gst_format_get_type), (register_gst_index_certainty),
177 (gst_index_certainty_get_type), (register_gst_index_entry_type),
178 (gst_index_entry_type_get_type),
179 (register_gst_index_lookup_method),
180 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
181 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
182 (gst_index_resolver_method_get_type), (register_gst_index_flags),
183 (gst_index_flags_get_type), (register_gst_debug_level),
184 (gst_debug_level_get_type), (register_gst_debug_color_flags),
185 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
186 (gst_iterator_result_get_type), (register_gst_iterator_item),
187 (gst_iterator_item_get_type), (register_gst_message_type),
188 (gst_message_type_get_type), (register_gst_mini_object_flags),
189 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
190 (gst_pad_link_return_get_type), (register_gst_flow_return),
191 (gst_flow_return_get_type), (register_gst_activate_mode),
192 (gst_activate_mode_get_type), (register_gst_pad_direction),
193 (gst_pad_direction_get_type), (register_gst_pad_flags),
194 (gst_pad_flags_get_type), (register_gst_pad_presence),
195 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
196 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
197 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
198 (gst_plugin_error_get_type), (register_gst_plugin_flags),
199 (gst_plugin_flags_get_type), (register_gst_rank),
200 (gst_rank_get_type), (register_gst_query_type),
201 (gst_query_type_get_type), (register_gst_tag_merge_mode),
202 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
203 (gst_tag_flag_get_type), (register_gst_task_state),
204 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
205 (gst_alloc_trace_flags_get_type),
206 (register_gst_type_find_probability),
207 (gst_type_find_probability_get_type), (register_gst_uri_type),
208 (gst_uri_type_get_type), (register_gst_parse_error),
209 (gst_parse_error_get_type):
210 * win32/common/gstversion.h:
213 2005-11-01 Luca Ognibene <luogni@tin.it>
216 fix docs. popt is dead, long live GOption.
218 2005-10-31 Wim Taymans <wim@fluendo.com>
223 2005-10-31 Andy Wingo <wingo@pobox.com>
227 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
229 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
230 need to serialize property notifications on GLib 2.8. GLib 2.6 has
231 the possibility of deadlocks here if code calling notify() or
232 set() has a lock that can be taken in another notify handler (ABBA
233 with class lock and e.g. python GIL state lock).
235 2005-10-28 Julien MOUTTE <julien@moutte.net>
237 * gst/gstbus.c: Doc updates.
239 2005-10-28 Wim Taymans <wim@fluendo.com>
241 * docs/design/part-TODO.txt:
243 * gst/gstsystemclock.c:
244 * gst/gstsystemclock.h:
247 2005-10-28 Edward Hervey <edward@fluendo.com>
249 * docs/gst/gstreamer-docs.sgml:
250 * docs/gst/gstreamer-sections.txt:
251 the GstURIType documentation page is private, it only defines GstURIType
252 which should be defined in the GstURIHandler page
254 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
256 * gst/gstbin.c: (gst_bin_class_init):
259 Documentation updates.
261 2005-10-28 Wim Taymans <wim@fluendo.com>
263 * docs/gst/gstreamer-sections.txt:
266 Documented the clocks.
268 2005-10-28 Stefan Kost <ensonic@users.sf.net>
270 * docs/gst/gstreamer-sections.txt:
271 move some macros to private sections
272 * gst/gstminiobject.c:
273 * gst/gstminiobject.h:
274 add descriptions provided by ds and some more
276 mark macro as to be removed
278 2005-10-28 Wim Taymans <wim@fluendo.com>
280 * docs/design/part-TODO.txt:
283 * gst/gstiterator.c: (gst_iterator_fold),
284 (gst_iterator_find_custom):
288 2005-10-28 Wim Taymans <wim@fluendo.com>
290 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
291 (gst_base_transform_init):
294 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
295 An EOS event marks the queue as completely filled.
297 2005-10-27 Wim Taymans <wim@fluendo.com>
299 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
300 (gst_base_sink_do_sync), (gst_base_sink_get_position):
303 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
304 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
305 (gst_base_transform_event), (gst_base_transform_getrange),
306 (gst_base_transform_chain):
307 * gst/base/gstbasetransform.h:
309 Protect transform and concurrent buffer alloc with a new lock.
310 Try not to break ABI/API.
312 2005-10-27 Wim Taymans <wim@fluendo.com>
314 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
315 (gst_base_src_init), (gst_base_src_query),
316 (gst_base_src_default_newsegment),
317 (gst_base_src_configure_segment), (gst_base_src_do_seek),
318 (gst_base_src_send_event), (gst_base_src_event_handler),
319 (gst_base_src_pad_get_range), (gst_base_src_loop),
320 (gst_base_src_unlock), (gst_base_src_default_negotiate),
321 (gst_base_src_start), (gst_base_src_deactivate),
322 (gst_base_src_activate_push), (gst_base_src_change_state):
323 Move some stuff around and cleanup things.
325 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
327 * gst/base/gstbasesrc.c: (gst_base_src_query):
328 Add missing break statements.
330 2005-10-27 Wim Taymans <wim@fluendo.com>
332 * check/gst/gstbin.c: (GST_START_TEST):
333 An extra refcount is taken in basesrc.
335 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
336 (gst_base_src_get_range), (gst_base_src_pad_get_range),
338 Small cleanups, check for flushing after being unlocked from the
339 LIVE_LOCK. take refcounts correctly (not yet everywhere).
340 Don't send out EOS when going to READY.
342 2005-10-27 Wim Taymans <wim@fluendo.com>
344 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
345 (gst_base_sink_get_position):
348 * gst/gstbin.c: (message_check), (bin_replace_message),
349 (bin_remove_messages), (is_eos), (gst_bin_add_func),
350 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
351 (bin_query_duration_init), (bin_query_duration_fold),
352 (bin_query_duration_done), (bin_query_generic_fold),
354 * tools/gst-launch.c: (main):
357 2005-10-26 Stefan Kost <ensonic@users.sf.net>
359 * examples/controller/audio-example.c: (main):
360 * examples/queue/queue.c: (event_loop):
361 * gst/base/gstbasetransform.h:
362 * gst/gstelement.c: (gst_element_send_event):
364 * gst/gstpad.c: (gst_pad_send_event):
367 changing log priority in error situations
369 2005-10-25 Wim Taymans <wim@fluendo.com>
371 * gst/gstbin.c: (message_check), (bin_replace_message),
372 (bin_remove_messages), (is_eos), (gst_bin_add_func),
373 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
374 (bin_query_duration_init), (bin_query_duration_fold),
375 (bin_query_duration_done), (bin_query_generic_fold),
377 Some doc and debug updates.
378 Cache previously requested query DURATION for speed. invalidate
379 cached duration if element posts a DURATION message.
381 2005-10-25 Wim Taymans <wim@fluendo.com>
383 * docs/design/part-TODO.txt:
386 * gst/gstbin.c: (message_check), (bin_replace_message),
387 (bin_remove_messages), (is_eos), (gst_bin_add_func),
388 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
389 (bin_query_duration_init), (bin_query_duration_fold),
390 (bin_query_duration_done), (bin_query_generic_fold),
392 Handle SEGMENT_START/DONE messages correctly.
393 More evolved query algorithm that handles duration queries
396 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
397 (gst_element_get_state_func), (gst_element_abort_state),
398 (gst_element_commit_state), (gst_element_lost_state):
404 2005-10-25 Wim Taymans <wim@fluendo.com>
406 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
407 Don't use invalid stream_time.
409 * gst/gstevent.c: (gst_event_new_newsegment):
410 stream_time in newsegment cannot be undefined.
412 2005-10-24 Wim Taymans <wim@fluendo.com>
417 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
419 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
421 2005-10-24 Stefan Kost <ensonic@users.sf.net>
423 * docs/libs/tmpl/gstdparam.sgml:
424 * docs/libs/tmpl/gstdplinint.sgml:
425 * docs/libs/tmpl/gstdpman.sgml:
426 * docs/libs/tmpl/gstdpsmooth.sgml:
427 * docs/libs/tmpl/gstunitconvert.sgml:
430 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
435 === release 0.9.4 ===
437 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
440 releasing 0.9.4, "Tyrannosaurus Rex"
442 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
444 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
445 (gst_file_sink_get_current_offset):
446 Use fseeko() and ftello() if available. When falling back on
447 lseek() to get the current offset, fflush() first to make sure
448 everything is up-to-date and we get the right offset.
450 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
452 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
453 * gst/base/gstbasesrc.c: (gst_base_src_loop):
454 * gst/gsterror.c: (_gst_stream_errors_init):
456 * gst/gstqueue.c: (gst_queue_loop):
458 remove prematurely added error category and clean up the instances
460 2005-10-21 Wim Taymans <wim@fluendo.com>
462 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
463 (gst_base_sink_get_position), (gst_base_sink_query),
464 (gst_base_sink_change_state):
465 Simply set the right flag when going to playing, that's all
466 we need to do instead of calling a function inside the object
467 lock (that could take the lock as well and deadlock)
469 2005-10-21 Wim Taymans <wim@fluendo.com>
471 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
473 Don't warn, the peer element knows what to do best when
474 the seek failed, it might try something else.
476 2005-10-21 Wim Taymans <wim@fluendo.com>
478 * gst/base/gstbasesrc.c: (gst_base_src_init),
479 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
482 2005-10-21 Wim Taymans <wim@fluendo.com>
484 * docs/design/part-segments.txt:
487 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
488 Correctly set caps, even on the subbufer.
490 2005-10-21 Wim Taymans <wim@fluendo.com>
492 * docs/gst/gstreamer-docs.sgml:
493 * docs/gst/gstreamer-sections.txt:
500 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
504 And 2% more doc coverage.
506 2005-10-21 Andy Wingo <wingo@pobox.com>
508 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
511 2005-10-20 Wim Taymans <wim@fluendo.com>
513 * gst/gsterror.c: (gst_error_get_message):
516 * gst/gststructure.c:
521 2005-10-20 Wim Taymans <wim@fluendo.com>
526 Another 1% more coverage.
528 2005-10-20 Wim Taymans <wim@fluendo.com>
530 * docs/gst/gstreamer-sections.txt:
531 * gst/gstelement.c: (gst_element_get_state_func),
532 (gst_element_abort_state), (gst_element_commit_state),
533 (gst_element_lost_state):
535 * gst/gstquery.c: (gst_query_set_position),
536 (gst_query_parse_position), (gst_query_set_duration),
537 (gst_query_parse_duration), (gst_query_new_convert):
539 Yay! 1% more docs coverage.
541 2005-10-20 Wim Taymans <wim@fluendo.com>
544 * gst/gstquery.c: (gst_query_set_position),
545 (gst_query_parse_position), (gst_query_set_duration),
546 (gst_query_parse_duration), (gst_query_new_convert):
548 * gst/gstutils.c: (gst_element_query_convert):
550 Docs and consistency fixes.
552 2005-10-20 Wim Taymans <wim@fluendo.com>
558 2005-10-20 Wim Taymans <wim@fluendo.com>
560 * gst/gstbin.c: (message_check), (bin_replace_message),
561 (bin_remove_messages), (is_eos), (gst_bin_add_func),
562 (update_degree), (gst_bin_sort_iterator_next),
563 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
564 Reworked the message handling a bit, cache the messages instead of
565 only the senders. alows us to do more in the future.
567 2005-10-20 Wim Taymans <wim@fluendo.com>
569 * docs/design/part-TODO.txt:
572 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
573 (gst_base_sink_query):
574 Don't use clock time to report position when in EOS.
576 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
578 * tools/gst-inspect.c: (print_interfaces),
579 (print_element_properties_info), (print_element_info):
580 Fix interface output with gst-inspect -a; don't print
581 newlines after double/float properties.
583 2005-10-20 Wim Taymans <wim@fluendo.com>
585 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
586 (gst_base_sink_query):
587 Speed up current position calculation.
589 * gst/base/gstbasesrc.c: (gst_base_src_query),
590 (gst_base_src_default_newsegment):
591 Correctly set stream position in newsegment.
593 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
594 (update_degree), (gst_bin_sort_iterator_next),
595 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
596 * gst/gstmessage.c: (gst_message_new_custom):
597 Clean up debugging info
599 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
600 (gst_queue_loop), (gst_queue_handle_src_query):
603 2005-10-19 Wim Taymans <wim@fluendo.com>
605 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
606 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
607 Fix query handling again.
609 2005-10-19 Wim Taymans <wim@fluendo.com>
611 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
612 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
613 * gst/base/gstbasesrc.c: (gst_base_src_query):
614 * gst/elements/gstfilesink.c: (gst_file_sink_query):
615 * gst/elements/gsttypefindelement.c:
616 (gst_type_find_handle_src_query), (find_element_get_length),
617 (gst_type_find_element_activate):
620 * gst/gstquery.c: (gst_query_new_position),
621 (gst_query_set_position), (gst_query_parse_position),
622 (gst_query_new_duration), (gst_query_set_duration),
623 (gst_query_parse_duration), (gst_query_set_segment),
624 (gst_query_parse_segment):
626 Bundling query position/duration is not a good idea since duration
627 does not change much and we don't want to recalculate it for every
628 position query, so they are separated again..
629 Base value in segment query is not needed.
631 * gst/gstqueue.c: (gst_queue_handle_src_query):
632 * gst/gstutils.c: (gst_element_query_position),
633 (gst_element_query_duration), (gst_pad_query_position),
634 (gst_pad_query_duration):
636 Updates for query API change.
637 Added some docs here and there.
639 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
641 * check/gst/gstbin.c: (GST_START_TEST):
642 * check/gst/gstghostpad.c: (GST_START_TEST):
643 * check/pipelines/cleanup.c: (GST_START_TEST):
644 wait on thread to die so we can check refcount correctly
646 2005-10-18 Wim Taymans <wim@fluendo.com>
648 * check/pipelines/stress.c: (GST_START_TEST):
649 Make check a little more time consuming.
651 2005-10-18 Wim Taymans <wim@fluendo.com>
654 * check/pipelines/stress.c: (GST_START_TEST),
655 (simple_launch_lines_suite), (main):
656 Small state change torture test.
658 * docs/design/part-states.txt:
659 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
660 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
661 (gst_base_sink_change_state):
662 Never take state lock from streaming thread, clean up ugly
663 hacks. Unfortunatly core does not yet support nice ways to
666 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
668 Start state recalc if a STATE_DIRTY message is posted, but only
671 * gst/gstelement.c: (gst_element_sync_state_with_parent),
672 (gst_element_get_state_func), (gst_element_abort_state),
673 (gst_element_commit_state), (gst_element_lost_state),
674 (gst_element_set_state_func), (gst_element_change_state):
676 State variables are now protected with the LOCK, the state
677 lock is only used to serialize _set_state().
679 2005-10-18 Wim Taymans <wim@fluendo.com>
681 * check/gst/gstbin.c: (GST_START_TEST):
682 * check/gst/gstmessage.c: (GST_START_TEST):
683 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
684 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
686 * gst/gstelement.c: (gst_element_abort_state),
687 (gst_element_commit_state), (gst_element_lost_state):
688 * gst/gstmessage.c: (gst_message_new_state_changed),
689 (gst_message_new_state_dirty), (gst_message_new_segment_start),
690 (gst_message_new_segment_done), (gst_message_new_duration),
691 (gst_message_parse_state_changed),
692 (gst_message_parse_segment_start),
693 (gst_message_parse_segment_done), (gst_message_parse_duration):
695 * tools/gst-launch.c: (event_loop):
696 Seriously, this is better than a previous commit as we only need
697 to notify the fact that an element changed state in a streaming
698 thread, marking the state of the parents dirty, hence the
699 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
702 2005-10-18 Wim Taymans <wim@fluendo.com>
704 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
705 (gst_bin_recalc_func):
706 * gst/gstelement.c: (gst_element_set_clock),
707 (gst_element_abort_state), (gst_element_lost_state):
708 Cleanups, prepare for state change fixes.
710 2005-10-18 Wim Taymans <wim@fluendo.com>
713 * gst/gstelement.c: (gst_element_class_init),
714 (gst_element_set_state), (gst_element_set_state_func):
717 GThreadPool in GstBinClass to monitor async state changes.
718 state_cookie in GstElement to detect concurrent gst/set state.
719 set_state is now virtual too in case a very complicated element
720 has to be constructed.
722 2005-10-18 Wim Taymans <wim@fluendo.com>
724 * check/gst/gstbin.c: (GST_START_TEST):
725 * check/gst/gstmessage.c: (GST_START_TEST):
726 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
727 * gst/gstbin.c: (bin_bus_handler):
728 * gst/gstelement.c: (gst_element_commit_state),
729 (gst_element_lost_state):
730 * gst/gstmessage.c: (gst_message_new_state_changed),
731 (gst_message_new_segment_start), (gst_message_new_segment_done),
732 (gst_message_new_duration), (gst_message_parse_state_changed),
733 (gst_message_parse_segment_start),
734 (gst_message_parse_segment_done), (gst_message_parse_duration):
736 * tools/gst-launch.c: (event_loop):
737 Make messages future proof.
738 state-change gets a flag if it was a message comming from the
740 segment-start/stop can also be specified in other formats.
741 A message to notify an app that a pipeline changed playback
743 Also fix a GstMessage leak in -launch
745 2005-10-18 Andy Wingo <wingo@pobox.com>
747 * gst/gstelement.c (gst_element_dispose): More helpful message.
749 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
751 * gst/gstregistry.c: (gst_registry_scan_path_level):
752 unref a plug-in we get that was already initialized
754 2005-10-18 Stefan Kost <ensonic@users.sf.net>
756 * docs/gst/gstreamer-sections.txt:
757 * docs/libs/gstreamer-libs-sections.txt:
762 2005-10-17 Andy Wingo <wingo@pobox.com>
764 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
767 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
769 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
771 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
772 (gst_element_get_state_func): Better debug message.
773 (gst_element_commit_state): s/INFO/DEBUG/.
774 (gst_element_lost_state, gst_element_change_state):
776 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
777 (gst_message_new_custom): s/INFO/LOG/.
779 2005-10-17 Michael Smith <msmith@fluendo.com>
781 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
782 Check if end time is valid using end time, not start time.
784 2005-10-17 Stefan Kost <ensonic@users.sf.net>
786 * check/gst-libs/controller.c: (GST_START_TEST),
787 (gst_controller_suite):
788 * libs/gst/controller/gstcontroller.c:
789 (gst_controlled_property_set_interpolation_mode):
790 * libs/gst/controller/gstcontroller.h:
791 * libs/gst/controller/gstinterpolation.c:
792 * testsuite/controller/.cvsignore:
793 * testsuite/controller/Makefile.am:
794 * testsuite/controller/interpolator.c:
795 merge controller testsuites
797 remove mem-chunk from docs
799 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
803 * gst/gsttrashstack.c:
804 * gst/gsttrashstack.h:
805 out. get out. you're fired. to the Attic !
807 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
809 * gst/gstcaps.c: (gst_caps_intersect):
810 fix signedness issues in a (hopefully) correct way
811 * gst/gstelement.c: (gst_element_pads_activate):
813 * gst/gstobject.c: (gst_object_set_parent):
816 2005-10-17 Julien MOUTTE <julien@moutte.net>
818 * gst/gstvalue.h: Fix prototypes.
820 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
822 * docs/gst/gstreamer-sections.txt:
823 * gst/gst.c: (gst_version_string):
825 * gst/gstversion.h.in:
826 * win32/common/libgstreamer.def:
827 add gst_version_string ()
829 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
833 * gst/gst.c: (init_post):
834 * win32/common/config.h.in:
836 * gst/gstcaps.c: (gst_caps_intersect):
837 use gint64, the range could be bigger than a guint
839 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
842 document potential problem in 2038
844 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
846 * gst/gstcaps.c: (gst_caps_intersect):
847 Fix guint j diving under 0
849 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
852 * win32/common/config.h:
853 * win32/common/config.h.in:
854 check for process.h, declares getpid() on Windows
856 include process.h if we have it
857 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
859 fix signedness issues
860 * win32/common/libgstreamer.def:
863 2005-10-16 Julien MOUTTE <julien@moutte.net>
865 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
866 fix. Because of unsigned ints, caps intersection was going nuts and
867 trying to access structures with G_MAXUINT index. That fixes
868 videotestsrc ! ffmpegcolorspace ! fakesink
869 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
872 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
875 use the gettext macro
876 * gst/elements/gstelements.c:
878 * gst/indexers/gstindexers.c:
879 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
880 * win32/common/config.h:
882 * win32/common/config.h.in:
883 add the template to generate config.h
884 * win32/common/gstenumtypes.c:
885 * win32/common/gstversion.h:
888 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
890 * gst/gst.c: (gst_version):
891 * gst/gstversion.h.in:
894 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
897 Oops, add missing closing bracket.
899 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
902 use common m4's for argument checking
904 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
906 * docs/gst/gstreamer-sections.txt:
908 Add GST_EVENT_TYPE_NAME() macro.
910 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
913 * gst/gstpluginfeature.c:
915 privatize more symbols
917 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
920 add srcdir, builddir includes to GST_ALL_CFLAGS, since
921 everything that uses GStreamer API should have the includes
923 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
925 * docs/gst/gstreamer-sections.txt:
926 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
928 give each value a _get_type, removes the DATA exports
930 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
934 remove _gst_registry_auto_load, not used anymore
935 * gst/gstbin.c: (gst_bin_get_type):
937 * gst/gstelement.c: (gst_element_get_type):
939 * gst/gstobject.c: (gst_object_get_type):
941 * gst/gstpad.c: (gst_pad_get_type):
943 make _get_type functions similar, fixes data export from library
945 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
948 correctly make conditionals
949 * gst/elements/Makefile.am:
950 * gst/elements/gstelements.c:
951 fix typo causing fdsrc not to build
953 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
955 * testsuite/Makefile.am:
956 * testsuite/bytestream/.cvsignore:
957 * testsuite/bytestream/Makefile.am:
958 * testsuite/bytestream/filepadsink.c:
959 * testsuite/bytestream/gstbstest.c:
960 * testsuite/bytestream/test1.c:
961 * testsuite/bytestream/testfile1:
962 * testsuite/caps/normalisation.c:
963 * testsuite/caps/random.c: (main):
964 * testsuite/cleanup/.cvsignore:
965 * testsuite/cleanup/Makefile.am:
966 * testsuite/cleanup/cleanup1.c:
967 * testsuite/cleanup/cleanup2.c:
968 * testsuite/cleanup/cleanup3.c:
969 * testsuite/cleanup/cleanup4.c:
970 * testsuite/cleanup/cleanup5.c:
971 * testsuite/controller/interpolator.c:
972 * testsuite/debug/printf_extension.c: (main):
973 * testsuite/elements/tee.c:
974 * testsuite/negotiation/.cvsignore:
975 * testsuite/negotiation/Makefile.am:
976 * testsuite/negotiation/pad_link.c:
977 * testsuite/pad/Makefile.am:
978 * testsuite/pad/chainnopull.c:
979 * testsuite/pad/getnopush.c:
980 * testsuite/pad/link.c:
981 * testsuite/refcounting/sched.c: (create_pipeline):
982 * testsuite/registry/Makefile.am:
983 * testsuite/registry/gst-print-formats.c:
984 * testsuite/schedulers/.cvsignore:
985 * testsuite/schedulers/142183-2.c:
986 * testsuite/schedulers/142183.c:
987 * testsuite/schedulers/143777-2.c:
988 * testsuite/schedulers/143777.c:
989 * testsuite/schedulers/147713.c:
990 * testsuite/schedulers/147819.c:
991 * testsuite/schedulers/147894-2.c:
992 * testsuite/schedulers/147894.c:
993 * testsuite/schedulers/Makefile.am:
994 * testsuite/schedulers/group_link.c:
995 * testsuite/schedulers/queue_link.c:
996 * testsuite/schedulers/relink.c:
997 * testsuite/schedulers/unlink.c:
998 * testsuite/schedulers/unref.c:
999 * testsuite/schedulers/useless_iteration.c:
1000 * testsuite/states/bin.c:
1001 clean out/remove some stuff from the testsuite directories
1003 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1006 check for some headers
1007 * gst/elements/Makefile.am:
1008 * gst/elements/gstelements.c:
1009 don't compile fdsrc without sys/socket.h
1010 * gst/indexers/Makefile.am:
1011 * gst/indexers/gstindexers.c: (plugin_init):
1012 don't compile fileindex without mmap
1014 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1021 * check/Makefile.am:
1022 * docs/gst/Makefile.am:
1023 * examples/helloworld/Makefile.am:
1025 * gst/base/Makefile.am:
1026 * gst/check/Makefile.am:
1027 * gst/elements/Makefile.am:
1028 * gst/indexers/Makefile.am:
1029 * gst/parse/Makefile.am:
1030 * libs/gst/controller/Makefile.am:
1031 * libs/gst/dataprotocol/Makefile.am:
1032 * examples/helloworld/helloworld.c: (event_loop):
1033 compile fixes, though it's not being compiled currently
1035 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1037 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1038 Add some simple tests for the new taglist date API.
1040 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1042 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1043 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1044 Beautify 'last-message' output: print 'none' for buffer timestamps
1045 and durations if none is set; improve alignment with next messages.
1047 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1049 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1050 * gst/gstpluginfeature.h:
1051 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1052 * gst/gstregistry.h:
1053 * docs/gst/gstreamer-sections.txt:
1054 Add new API to check plugin feature version requirements.
1056 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1057 Some basic tests for the above.
1059 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1061 * gst/gststructure.c: (gst_structure_to_string):
1062 guard against NULL printf - happens when for example
1063 a message structure with GstClock gets serialized
1065 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1067 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1068 Fix presumable copy'n'pasto.
1070 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1072 * gst/elements/gstfakesrc.h:
1073 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1074 * gst/elements/gsttypefindelement.c:
1076 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1077 I wonder if this could actually write +2GB files before
1079 2005-10-13 Andy Wingo <wingo@pobox.com>
1081 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1082 Fix Timmeke Waymans bug.
1083 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1084 string of the proper length to gst_caps_from_string. There's a
1085 potential for, before this fix, that this could cause someone
1086 connecting over the network to cause a segfault if the payload is
1089 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1091 * docs/design/draft-push-pull.txt:
1092 * docs/design/part-overview.txt:
1093 * docs/random/TODO-pre-0.9:
1094 * docs/random/old/ChangeLog.gstreamer:
1095 * gst/base/gstpushsrc.c:
1099 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1101 * gst/glib-compat.c: (gst_flags_get_first_value):
1102 * gst/glib-compat.h:
1103 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1104 (gst_value_compare_double), (gst_value_serialize_flags):
1105 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1108 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1110 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1111 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1113 * tools/gst-launch.c: (event_loop):
1114 print out clock nicely
1116 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1118 * docs/gst/gstreamer-sections.txt:
1120 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1121 (gst_tag_list_get_date_index):
1122 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1123 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1125 2005-10-13 Julien MOUTTE <julien@moutte.net>
1127 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1128 (gst_collectpads_chain):
1129 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1132 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1134 * docs/gst/gstreamer-sections.txt:
1137 * tools/gst-inspect.c: (main):
1138 * tools/gst-launch.c: (main):
1139 * tools/gst-run.c: (main):
1140 * tools/gst-xmlinspect.c: (main):
1141 fix GOption context leaks
1144 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1148 * win32/common/config.h:
1150 * win32/vs6/grammar.dsp:
1151 * win32/vs6/libgstelements.dsp:
1152 * win32/vs6/libgstreamer.dsp:
1155 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1157 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1158 * gst/base/gstbasesrc.c: (gst_base_src_query):
1159 fix more guint64<->gdouble conversions
1161 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1164 add win32-update target
1165 * win32/common/gstconfig.h:
1166 * win32/common/gstenumtypes.c:
1167 * win32/common/gstenumtypes.h:
1168 * win32/common/gstversion.h:
1169 add files that visual studio can't generate
1171 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1174 add a win32-update target
1177 2005-10-12 Wim Taymans <wim@fluendo.com>
1179 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1180 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1181 * gst/gstelement.c: (gst_element_commit_state),
1182 (gst_element_set_state):
1183 Protect flags with proper lock.
1184 unref provided cached clock in dispose.
1186 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1189 * gst/gstminiobject.h:
1191 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1192 removed unused flags from miniobject
1195 2005-10-12 Wim Taymans <wim@fluendo.com>
1197 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1198 (gst_file_sink_event), (gst_file_sink_render):
1199 Flush before seeking.
1201 2005-10-12 Andy Wingo <wingo@pobox.com>
1203 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1204 always been the case.
1206 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1208 * check/gst/gstbin.c: (GST_START_TEST):
1209 * docs/gst/gstreamer-sections.txt:
1210 * gst/base/gstbasesink.c: (gst_base_sink_init):
1211 * gst/base/gstbasesrc.c: (gst_base_src_init),
1212 (gst_base_src_get_range), (gst_base_src_check_get_range),
1213 (gst_base_src_start), (gst_base_src_stop):
1214 * gst/base/gstbasesrc.h:
1215 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1216 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1217 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1221 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1223 * gst/gstelement.c: (gst_element_is_locked_state),
1224 (gst_element_set_locked_state), (gst_element_commit_state),
1225 (gst_element_set_state):
1227 * gst/gstindex.c: (gst_index_init):
1229 * gst/gstminiobject.h:
1230 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1231 (gst_object_set_parent):
1233 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1234 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1236 * gst/gstpadtemplate.h:
1237 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1238 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1239 * gst/gstpipeline.h:
1240 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1241 (gst_file_index_commit):
1242 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1243 * testsuite/pad/link.c: (gst_test_src_init),
1244 (gst_test_filter_init), (gst_test_sink_init):
1245 * testsuite/states/locked.c: (main):
1246 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1247 moved bitshift from macro to enum definition
1249 2005-10-12 Wim Taymans <wim@fluendo.com>
1251 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1252 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1253 (gst_file_sink_render):
1254 Some more debugging info.
1256 2005-10-12 Wim Taymans <wim@fluendo.com>
1258 * docs/design/part-states.txt:
1259 * tools/gst-launch.c: (main):
1261 Revert non-intentional change.
1263 2005-10-12 Wim Taymans <wim@fluendo.com>
1265 * check/gst/gstbin.c: (GST_START_TEST):
1266 * check/gst/gstelement.c: (GST_START_TEST):
1267 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1268 * check/gst/gstghostpad.c: (GST_START_TEST):
1269 * check/gst/gstpipeline.c: (GST_START_TEST):
1270 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1271 * check/states/sinks.c: (GST_START_TEST):
1272 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1273 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1274 (gst_bin_remove_func), (gst_bin_get_state_func),
1275 (gst_bin_recalc_state), (gst_bin_change_state_func),
1277 * gst/gstelement.c: (gst_element_get_state_func),
1278 (gst_element_get_state), (gst_element_abort_state),
1279 (gst_element_commit_state), (gst_element_set_state),
1280 (gst_element_change_state), (gst_element_change_state_func):
1282 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1283 (gst_pipeline_provide_clock_func):
1284 * gst/gstutils.c: (gst_element_link_pads_filtered):
1285 * tools/gst-launch.c: (main):
1286 * tools/gst-typefind.c: (main):
1287 Use GstClockTime in _get_state() instead of GTimeVal.
1288 Remove old code in gstutils.c
1290 2005-10-12 Andy Wingo <wingo@pobox.com>
1292 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1295 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1296 there is no task. Shouldn't affect any code, as nothing in our
1297 plugins checks this return value.
1298 (gst_pad_stop_task): Also take the stream lock if the pad has no
1301 2005-10-12 Wim Taymans <wim@fluendo.com>
1303 * gst/gstpad.c: (pre_activate), (post_activate),
1304 (gst_pad_activate_pull), (gst_pad_activate_push):
1305 Cleanup activation code. Reset old state if
1308 2005-10-12 Wim Taymans <wim@fluendo.com>
1310 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1311 (gst_base_sink_change_state):
1312 No need to prerol after receiving EOS.
1314 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1315 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1316 * gst/elements/gstidentity.c: (gst_identity_event):
1317 Print events more verbosely.
1319 2005-10-12 Wim Taymans <wim@fluendo.com>
1321 * check/Makefile.am:
1322 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1323 * check/states/sinks2.c:
1324 Moved sinks2 testcode in sinks check.
1326 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1327 (gst_bin_remove_func), (gst_bin_recalc_state),
1328 (gst_bin_change_state_func), (bin_bus_handler):
1329 Fix potential race condition when _get_state() iterated over an
1330 ASYNC element right before it posted a state completion.
1333 Do proper cast here.
1335 * gst/gstevent.c: (gst_event_new_newsegment),
1336 (gst_event_parse_newsegment):
1337 A playback rate of 0.0 is not allowed.
1339 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1341 * win32/common/config.h:
1342 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1343 (_trewinddir), (_ttelldir), (_tseekdir):
1344 * win32/common/dirent.h:
1345 * win32/common/gtchar.h:
1346 * win32/common/libgstbase.def:
1347 * win32/common/libgstreamer.def:
1348 * win32/vs6/grammar.dsp:
1349 * win32/vs6/gst_inspect.dsp:
1350 * win32/vs6/gst_launch.dsp:
1351 * win32/vs6/gstreamer.dsw:
1352 * win32/vs6/libgstbase.dsp:
1353 * win32/vs6/libgstelements.dsp:
1354 * win32/vs6/libgstreamer.dsp:
1355 Visual Studio 6 project files, and a new common directory.
1358 2005-10-11 Wim Taymans <wim@fluendo.com>
1360 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1361 (gst_base_sink_do_sync), (gst_base_sink_query),
1362 (gst_base_sink_change_state):
1363 * gst/base/gstbasesink.h:
1364 Correctly parse newsegment info.
1366 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1368 * gst/gst.c: (init_post):
1369 split plugin paths correctly
1371 2005-10-11 Wim Taymans <wim@fluendo.com>
1373 * check/gst/gstevent.c: (GST_START_TEST):
1374 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1375 (gst_base_sink_change_state):
1376 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1377 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1378 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1379 * gst/gstevent.c: (gst_event_new_newsegment),
1380 (gst_event_parse_newsegment):
1382 Added extra flag to newsegment for future API freeze.
1383 Updated check and base elements.
1385 2005-10-11 Julien MOUTTE <julien@moutte.net>
1387 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1388 (gst_collectpads_add_pad), (gst_collectpads_pop),
1389 (gst_collectpads_event), (gst_collectpads_chain):
1390 * gst/base/gstcollectpads.h: Handle EOS correctly.
1392 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1394 * tools/gst-launch.c: (main):
1395 more null protecting
1397 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1399 * gst/gst-i18n-lib.h:
1400 check for ENABLE_NLS, not GETTEXT_PACKAGE
1401 * gst/gstregistry.c: (gst_registry_add_plugin),
1402 (gst_registry_scan_path_level),
1403 (_gst_registry_remove_cache_plugins):
1404 protect possibly NULL strings
1405 * gst/parse/types.h:
1406 config.h already included before
1407 * tools/gst-inspect.c: (main):
1408 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1409 check for ENABLE_NLS, not GETTEXT_PACKAGE
1410 * tools/gst-launch.c: (main):
1411 check for ENABLE_NLS, not GETTEXT_PACKAGE
1413 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1416 if we don't have glib, fail before testing 2.8
1417 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1418 fix a leak, should fix plugins-base testsuite
1420 2005-10-11 Andy Wingo <wingo@pobox.com>
1422 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1423 take the mode we're going to as an arg. Go head and set the mode
1424 and flushing flags now, so that if the activate function starts a
1425 thread all the flags will be in the right state.
1426 (post_activate): Renamed also. Just handle making sure streaming
1427 finishes for the deactivation case, and setting the deactivated
1429 (gst_pad_set_active): Complain loudly if deactivation fails.
1430 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1431 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1432 remove the terrible hack.
1434 2005-10-11 Wim Taymans <wim@fluendo.com>
1436 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1437 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1438 (gst_bin_recalc_state), (gst_bin_change_state_func),
1439 (gst_bin_dispose), (bin_bus_handler):
1441 Prepare to make current EOS message queue more generic.
1444 * gst/gstevent.c: (gst_event_new_newsegment),
1445 (gst_event_parse_newsegment):
1447 Rename base to stream_time.
1452 2005-10-11 Wim Taymans <wim@fluendo.com>
1454 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1455 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1456 (gst_bin_change_state_func), (bin_bus_handler):
1458 Work on proper clock selection.
1460 2005-10-11 Edward Hervey <edward@fluendo.com>
1462 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1463 * libs/gst/controller/gstcontroller.h:
1464 Added GList* version of _remove_properties() in order to be able to wrap
1467 2005-10-11 Wim Taymans <wim@fluendo.com>
1469 * docs/design/part-states.txt:
1472 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1473 (gst_bin_change_state_func), (bin_bus_handler):
1474 Doc updates. Don't distribute the same clock over and over again.
1480 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1481 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1482 (gst_pad_send_event):
1484 Make probe emission threadsafe again.
1485 Register quarks and move _get_name() from utils.
1488 * gst/gstpipeline.c: (gst_pipeline_class_init),
1489 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1490 Only redistribute the clock of it changed.
1492 * gst/gstsystemclock.h:
1497 Moved the _flow_get_name() to GstPad.
1499 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1501 * check/gst-libs/gdp.c: (GST_START_TEST):
1502 * check/gst/gstcaps.c: (GST_START_TEST):
1503 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1504 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1505 (gst_dp_packet_from_caps):
1506 fix more valgrind warnings before turning up the heat
1508 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1510 * gst/parse/grammar.y:
1511 some cleanup before the hacking
1513 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1515 * gst/base/gstbasesrc.c: (gst_base_src_query):
1517 * gst/gstutils.c: (gst_guint64_to_gdouble),
1518 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1520 externalize, basesrc uses it
1521 obviously the implementation needs testing
1523 2005-10-10 Wim Taymans <wim@fluendo.com>
1525 * tests/sched/Makefile.am:
1526 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1527 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1529 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1531 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1532 apparently converting from guint64 to double is not implemented
1535 2005-10-10 Wim Taymans <wim@fluendo.com>
1537 * check/Makefile.am:
1538 * check/generic/states.c: (GST_START_TEST):
1539 * check/gst/gstbin.c: (GST_START_TEST):
1540 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1541 * check/states/sinks.c: (GST_START_TEST):
1542 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1544 Check fixes, use API as stated in design docs, remove hacks.
1546 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1547 (gst_base_sink_change_state):
1548 Catch stopping our task while we're shutting down.
1550 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1551 (gst_bin_remove_func), (gst_bin_get_state_func),
1552 (gst_bin_recalc_state), (gst_bin_change_state_func),
1555 * gst/gstelement.c: (gst_element_init),
1556 (gst_element_get_state_func), (gst_element_abort_state),
1557 (gst_element_commit_state), (gst_element_lost_state),
1558 (gst_element_set_state), (gst_element_change_state),
1559 (gst_element_change_state_func):
1561 New state change algorithm (see #318116)
1563 * gst/gstpipeline.c: (gst_pipeline_class_init),
1564 (gst_pipeline_init), (gst_pipeline_set_property),
1565 (gst_pipeline_get_property), (do_pipeline_seek),
1566 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1567 * gst/gstpipeline.h:
1568 Remove crude state change hacks.
1573 * tools/gst-launch.c: (main):
1574 Fixes for state change. Needs some more work to fully use the
1577 2005-10-10 Andy Wingo <wingo@pobox.com>
1579 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1581 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1582 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1585 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1587 * gst/gstiterator.c: (gst_iterator_new):
1588 Fix my previous commit: GTypes passed to gst_iterator_new()
1589 can be fundamental types.
1591 2005-10-10 Wim Taymans <wim@fluendo.com>
1593 * gst/gstelement.c: (gst_element_iterate_pad_list),
1594 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1595 (gst_element_iterate_sink_pads):
1596 Use src/sink pads lists for the respective iterators instead
1599 2005-10-10 Andy Wingo <wingo@pobox.com>
1601 Merged in popt removal + GOption addition patch from Ronald, bug
1604 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1605 GstElement macros around, remove popt-related symbols, add goption
1608 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1610 * docs/gst/Makefile.am:
1611 * docs/libs/Makefile.am: No POPT_CFLAGS.
1613 * examples/manual/Makefile.am:
1614 * docs/manual/basics-init.xml: Doc updates with an example.
1616 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1617 (gst_init), (parse_one_option), (parse_goption_arg):
1618 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1619 bit of hand merging and debugging to get the GOption stuff working
1622 * tests/Makefile.am:
1623 * tools/Makefile.am:
1624 * tools/gst-inspect.c: (main):
1625 * tools/gst-launch.c: (main):
1626 * tools/gst-run.c: (main):
1627 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1629 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1631 * gst/gstiterator.c: (gst_iterator_new):
1632 Add assertions to make sure passed GType is likely to really
1633 be a GType (as the compiler won't catch it if the size and
1634 GType arguments get mixed up, see #318447).
1636 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1638 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1640 * gst/gstbin.c: (gst_bin_iterate_sorted):
1641 Pass GType and size arguments to gst_iterator_new() in the right
1642 order (maybe we should make _new() take the GType as first argument
1643 just like _new_list()?) (#318447).
1646 2005-10-10 Wim Taymans <wim@fluendo.com>
1648 * gst/gstelement.c: (gst_element_finalize):
1649 And free the GStaticRecMutex too
1651 2005-10-10 Andy Wingo <wingo@pobox.com>
1653 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1654 Allocate and free the mutex properly.
1656 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1658 (GstElement): The state_lock is now recursive. Rebuild your
1659 plugins, suckers. Old macros adapted.
1661 * docs/gst/gstreamer-sections.txt: Doc updates.
1664 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1665 (g_static_rec_cond_wait): Ported from state changes patch, while
1666 we wait on bug #317802 to be solved in a well-distributed GLib.
1668 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1669 gst_element_change_state, variable name changes.
1670 (gst_element_change_state): Split out of gst_element_set_state in
1671 preparation for the state change merge. Doesn't pay attention to
1672 the 'transition' argument.
1673 (gst_element_set_state): Updates, hopefully purely cosmetic.
1674 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1676 (gst_element_get_state_func): Renamed from get_state, cosmetic
1679 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1681 * gst/elements/gstelements.c:
1682 * win32/GStreamer.vcproj:
1684 * win32/dirent.c: (_tseekdir):
1685 * win32/gst-inspect.vcproj:
1686 * win32/gst-launch.vcproj:
1687 * win32/gstconfig.h:
1688 * win32/gstelements.vcproj:
1689 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1690 * win32/gstreamer.def:
1692 updates for the win32 build (patch from Sebastien Moutte)
1694 2005-10-10 Andy Wingo <wingo@pobox.com>
1696 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1697 gst_bin_get_state, cleaned up (but no logic changes).
1698 (bin_element_is_sink): Comment updates.
1699 (sink_iterator_filter): Remove needless cast.
1700 (gst_bin_iterate_sinks): Doc update.
1701 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1702 cleaned up (but no logic changes).
1704 * check/states/sinks.c (test_src_sink): Cleanups from the state
1706 (test_livesrc_sink): Sync on the state.
1708 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1709 the state change patch.
1711 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1714 * check/gst/gstbin.c: Merge in some style fixes and additional
1715 checks from Wim's state change patch.
1717 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1719 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1720 (gst_type_find_helper):
1721 Check whether we have the requested data already in our list of
1722 cached buffers before pulling a new buffer; also make the buffer
1723 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1725 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1730 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1731 don't use long long, it's not portable. Replacing with
1732 gint64 seems to work; let's hope no skeletons fall out of the closet.
1734 2005-10-10 Andy Wingo <wingo@pobox.com>
1736 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1738 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1740 * docs/gst/gstreamer-sections.txt:
1745 * gst/gstmessage.c: (gst_message_parse_state_changed):
1748 more docs, fix compilation
1750 2005-10-09 Philippe Khalaf <burger@speedy.org>
1752 Fixed a few forgotten variables on previous commit
1754 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1756 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1757 Fix evil typefind crasher: getrange() might return a short
1758 buffer at the end of a file, but gst_type_find_peek() must
1759 either return the full data as requested or NULL, but
1760 never a short buffer.
1762 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1764 * gst/gstmessage.c: (gst_message_new_state_changed),
1765 (gst_message_parse_state_changed):
1767 don't use "new", it's a C++ keyword
1769 2005-10-08 Wim Taymans <wim@fluendo.com>
1771 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1772 * gst/gstelement.c: (gst_element_post_message):
1773 * gst/gstpipeline.c: (gst_pipeline_change_state):
1774 Small docs and debug updates.
1776 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1778 * docs/gst/gstreamer-sections.txt:
1779 * gst/gstelementfactory.c:
1784 2005-10-08 Wim Taymans <wim@fluendo.com>
1786 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1787 (gst_bin_dispose), (bin_bus_handler):
1788 Fix typos, add comments.
1789 Clear EOS list when going to PAUSED from any direction and do it
1790 in a threadsafe way.
1791 Get base time in a threadsafe way too.
1792 Fix confusing debug in the change_state function.
1793 Various other small cleanups.
1795 * gst/gstelement.c: (gst_element_post_message):
1796 Fix very verbose bus posting code.
1798 * gst/gstpipeline.c: (gst_pipeline_class_init),
1799 (gst_pipeline_set_property), (gst_pipeline_get_property),
1800 (gst_pipeline_change_state):
1801 Small ARG_ -> PROP_ cleanup
1803 2005-10-08 Wim Taymans <wim@fluendo.com>
1805 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1806 Do a less CPU demanding EOS check because we can.
1808 2005-10-08 Wim Taymans <wim@fluendo.com>
1810 * libs/gst/dataprotocol/dataprotocol.c:
1811 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1812 (gst_dp_packet_from_event):
1813 * libs/gst/dataprotocol/dataprotocol.h:
1814 * libs/gst/dataprotocol/dp-private.h:
1815 It's about time we bump the version number.
1816 Since event types don't fit in the guint8 anymore describing
1817 the payload type, make payload type 16 bits wide.
1819 2005-10-08 Wim Taymans <wim@fluendo.com>
1821 * docs/design/part-TODO.txt:
1822 * docs/design/part-clocks.txt:
1823 * docs/design/part-events.txt:
1824 * docs/design/part-gstbin.txt:
1825 * docs/design/part-gstelement.txt:
1826 * docs/design/part-gstpipeline.txt:
1827 * docs/design/part-live-source.txt:
1828 * docs/design/part-messages.txt:
1829 * docs/design/part-overview.txt:
1830 * docs/design/part-states.txt:
1833 2005-10-08 Wim Taymans <wim@fluendo.com>
1837 Fix event quark registration.
1838 Add some space between events so we can insert them in the
1841 2005-10-08 Wim Taymans <wim@fluendo.com>
1843 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1844 (gst_base_sink_handle_buffer):
1851 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1852 (gst_queue_set_property), (gst_queue_get_property):
1854 Remove old unused properties.
1856 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1857 * docs/gst/gstreamer-sections.txt:
1860 * gst/gstminiobject.c:
1861 * gst/gstminiobject.h:
1865 lots of new docs and doc fixes
1867 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1869 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1871 * gst/gstregistry.c: (gst_registry_lookup_locked),
1872 (gst_registry_scan_path_level):
1873 * gst/gstregistryxml.c: (load_plugin):
1874 Only ever load one plugin for a given plugin basename.
1875 This ensures correct overriding of GST_PLUGIN_PATH over
1876 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1877 system installed plugins.
1879 2005-10-08 Wim Taymans <wim@fluendo.com>
1881 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1882 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1883 Prepare for doing QOS.
1885 2005-10-08 Wim Taymans <wim@fluendo.com>
1887 * check/gst/gstbin.c: (GST_START_TEST):
1888 * check/pipelines/cleanup.c: (GST_START_TEST):
1889 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1890 Allow new clock message too.
1892 2005-10-08 Wim Taymans <wim@fluendo.com>
1894 * gst/gstmessage.c: (gst_message_new_error),
1895 (gst_message_new_warning), (gst_message_new_tag),
1896 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1897 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1898 (gst_message_new_segment_start), (gst_message_new_segment_done),
1899 (gst_message_parse_state_changed),
1900 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1901 (gst_message_parse_new_clock):
1903 Also carry the clock in question.
1905 2005-10-08 Wim Taymans <wim@fluendo.com>
1907 * gst/gstmessage.c: (gst_message_new_custom),
1908 (gst_message_new_eos), (gst_message_new_error),
1909 (gst_message_new_warning), (gst_message_new_tag),
1910 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1911 (gst_message_new_new_clock), (gst_message_new_segment_start),
1912 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1913 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1916 Added clock related messages.
1918 * gst/gstpipeline.c: (gst_pipeline_change_state):
1919 Post message when the clock changed.
1921 * tools/gst-launch.c: (event_loop):
1924 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
1926 * tools/gst-inspect.c: (print_element_properties_info):
1927 Can't pass NULL strings to g_print() on windows.
1929 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1932 * docs/gst/Makefile.am:
1933 * docs/gst/gstreamer-docs.sgml:
1934 * docs/gst/running.xml:
1935 * docs/version.entities.in:
1936 add a chapter on running GStreamer.
1937 document GST_DEBUG and GST_PLUGIN* env vars
1939 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1944 remove PLUGINS_BUILDDIR stuff
1945 * gst/gst.c: (init_post):
1946 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
1948 remove, it was condescending and not needed
1950 2005-10-08 Wim Taymans <wim@fluendo.com>
1952 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1953 (gst_base_sink_handle_object), (gst_base_sink_event),
1954 (gst_base_sink_wait), (gst_base_sink_handle_event),
1955 (gst_base_sink_change_state):
1956 * gst/base/gstbasesink.h:
1957 Repost EOS message while going to PLAYING if still EOS.
1958 Make sure that when receiving a FLUSH_START we don't attempt
1959 to sync on the clock anymore.
1961 2005-10-08 Wim Taymans <wim@fluendo.com>
1963 * tools/gst-launch.c: (event_loop):
1964 Better message printout.
1966 2005-10-08 Wim Taymans <wim@fluendo.com>
1968 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
1969 (gst_bin_child_proxy_get_children_count):
1970 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1971 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
1972 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
1973 (gst_child_proxy_set_valist):
1974 * gst/parse/grammar.y:
1975 Make ChildProxy threadsafe and fix mem leaks.
1977 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1979 * gst/gst.c: (init_post):
1980 debug the GST_PLUGIN_ env vars
1982 2005-10-08 Wim Taymans <wim@fluendo.com>
1984 * check/gst/gstbin.c: (GST_START_TEST):
1985 * check/gst/gstmessage.c: (GST_START_TEST):
1986 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1987 * gst/gstelement.c: (gst_element_commit_state),
1988 (gst_element_lost_state):
1989 * gst/gstmessage.c: (gst_message_new_state_changed),
1990 (gst_message_parse_state_changed):
1992 * tools/gst-launch.c: (event_loop):
1993 Added extra field to STATE_CHANGE message with the pending
1994 state, which will be different from the new state soon.
1996 2005-10-08 Wim Taymans <wim@fluendo.com>
1998 * gst/gstbus.c: (gst_bus_pop):
2000 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2001 Small cleanups and doc updates.
2003 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2005 * gst/gst.c: (init_pre):
2006 * gst/gstbin.c: (gst_bin_add_func):
2007 log distributing clocks and base time
2008 * gst/gstregistry.c: (gst_registry_add_plugin),
2009 (gst_registry_scan_path_level), (gst_registry_scan_path):
2010 clean up the debugging output a little
2011 * gst/gstutils.c: (gst_element_state_get_name):
2012 warn about a memleak (I've actually seen this be used, though
2013 it was probably a bug)
2015 2005-10-07 Wim Taymans <wim@fluendo.com>
2017 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2018 (gst_base_src_init), (gst_base_src_default_newsegment),
2019 (gst_base_src_newsegment), (gst_base_src_do_seek),
2020 (gst_base_src_loop), (gst_base_src_start):
2021 * gst/base/gstbasesrc.h:
2022 Make the newsegment event customizable by subclasses.
2024 2005-10-07 Wim Taymans <wim@fluendo.com>
2026 * gst/gstevent.c: (gst_event_new_buffersize),
2027 (gst_event_parse_buffersize):
2029 New event for future idea.
2031 2005-10-07 Andy Wingo <wingo@pobox.com>
2033 * gst/gstelement.c (gst_element_post_message): Doc update.
2035 * docs/gst/gstreamer-sections.txt: Update.
2037 * gst/gstmessage.c (gst_message_new_application): Made into a
2038 function like honest API calls.
2039 (gst_message_new_element): New message type.
2041 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2043 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2044 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2047 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2048 NO_PREROLL from gst_element_change_state to fall through.
2050 2005-10-07 Wim Taymans <wim@fluendo.com>
2052 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2053 (gst_ghost_pad_do_activate_push):
2054 Activating a ghostpad with no internal pad in push mode
2057 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2060 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2061 Fixes compilation on Windows.
2063 2005-10-07 Michael Smith <msmith@fluendo.com>
2065 * tools/gst-inspect.c:
2066 Print out feature and plugin count at the end when printing out
2069 2005-10-04 Michael Smith <msmith@fluendo.com>
2071 * gst/gsterror.c: (_gst_stream_errors_init):
2072 Add another error string used in a few existing plugins.
2075 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2076 * tools/gst-inspect.c: (print_element_info):
2077 When a feature disappears from a plugin (and the feature exists in
2078 the cached registry file), things went horribly wrong. This isn't a
2079 complete fix, we should actually be removing the 'missing' features
2080 from the features list when we load the actual plugin. That's not
2083 2005-10-04 Johan Dahlin <johan@gnome.org>
2085 * check/gst/gstiterator.c: (GST_START_TEST):
2086 * gst/gstbin.c: (gst_bin_iterate_elements),
2087 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2088 * gst/gstelement.c: (gst_element_iterate_pads):
2089 * gst/gstformat.c: (gst_format_iterate_definitions):
2090 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2091 (gst_iterator_new_list), (gst_iterator_filter):
2092 * gst/gstiterator.h:
2093 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2094 Add a GType to GstIterator, update callsites and tests.
2096 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2098 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2099 give events a chance to be handled by event probes when the pad
2102 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2104 * gst/gstevent.c: (gst_event_type_get_name),
2105 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2107 add string representations for event types
2109 2005-10-06 Wim Taymans <wim@fluendo.com>
2111 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2112 Don't use NULL pointers.
2114 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2116 * gst/gst_private.h:
2120 * gst/gstpluginfeature.c:
2121 widen the debug category in output to fit the biggest one we have
2122 add a bus category and use it
2123 play with the colors
2124 fix up some categories
2126 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2128 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2129 add push activation of sink ghost pads.
2130 Andye, please verify
2132 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2134 * gst/gstutils.c: (gst_element_link_pads):
2135 fix a bug in the case where neither element has a pad
2136 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2137 add a test for that case
2139 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2141 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2142 emit have-data before checking for peers. This allows
2143 for probe handlers to connect elements. This helps autopluggers.
2144 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2146 add six checks, linked/unlinked with no/true/false probe
2148 2005-10-04 Wim Taymans <wim@fluendo.com>
2150 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2151 (gst_fake_sink_event), (gst_fake_sink_preroll),
2152 (gst_fake_sink_render), (gst_fake_sink_change_state):
2153 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2154 (gst_fake_src_get_property), (gst_fake_src_create),
2155 (gst_fake_src_stop):
2156 * gst/elements/gstidentity.c: (gst_identity_stop):
2157 Protect last_message with lock.
2159 2005-10-04 Edward Hervey <edward@fluendo.com>
2162 Added precision in the comments for GST_FORMAT_DEFAULT
2164 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2166 * tools/gst-launch.c: (main):
2167 Don't try to run erroneous pipelines.
2169 2005-10-04 Julien MOUTTE <julien@moutte.net>
2171 * gst/gstbus.c: We don't need this header.
2173 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2178 === release 0.9.3 ===
2180 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2184 Releasing 0.9.3, "Unregistered"
2186 2005-10-03 Andy Wingo <wingo@pobox.com>
2188 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2189 whereby calling a pad's activatepush() function can start a thread
2190 that starts to push or pull before the pad gets the FLUSHING flag
2191 unset. Hack around it by holding the stream lock until the flag is
2192 set. Need to replace this with a proper solution. Together with
2193 the ghost pad fixes, this fixes mp3 playing/tagreading.
2195 * docs/design/part-gstghostpad.txt: Add a note about activation of
2196 proxy pads outside of ghost pads.
2198 * gst/gstghostpad.c: Implement the ghost pad activation design.
2200 2005-10-02 Andy Wingo <wingo@pobox.com>
2202 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2203 It is volatile, after all.
2205 * docs/design/part-gstghostpad.txt: Flesh out activation with
2208 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2211 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2214 Fix (unused) AM_CONDITIONAL tests.
2216 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2218 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2220 * gst/gstutils.c: (gst_pad_query_convert):
2221 Add assertion that makes sure src_val is >=0, just like
2222 gst_query_new_convert() has. (#315895)
2224 2005-09-30 Edward Hervey <edward@fluendo.com>
2226 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2227 Let's not iterate pads we're not interested in, it avoids getting
2228 sky-high refcounts on sinkpad.
2230 2005-09-30 Wim Taymans <wim@fluendo.com>
2232 * gst/gstelement.c: (gst_element_set_state),
2233 (gst_element_change_state):
2234 Small tweak, element in ASYNC remains ASYNC.
2236 2005-09-30 Wim Taymans <wim@fluendo.com>
2238 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2239 Only error is an error.
2241 * gst/gstbin.c: (gst_bin_change_state):
2244 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2245 Also call pad_block in pad alloc.
2247 * gst/gstutils.c: (gst_flow_get_name):
2250 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2252 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2253 (gst_base_src_get_range):
2254 Fix documentation typos. Add some more debug info.
2256 2005-09-29 David Schleef <ds@schleef.org>
2258 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2259 more end-user friendly.
2260 * tools/gst-inspect.c: (main): Check if command-line argument is
2261 a file and attempt to load that file as a plugin.
2263 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2265 * check/gst/gstbin.c:
2266 * check/states/sinks.c:
2267 fix tests for the new warning
2268 * check/gst/gstpipeline.c:
2269 add a test for pipeline and bus interaction
2271 elements should be NULL if they get disposed; add a warning if not
2273 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2276 for 2.6 refcounting, make debug log more correct by printing
2277 the actual refcounts at the time of swap (Wim)
2279 2005-09-29 Andy Wingo <wingo@pobox.com>
2281 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2282 removes signal watches previously added via
2283 gst_bus_add_signal_watch.
2284 (gst_bus_add_signal_watch): Don't return the source id, just store
2285 it on the bus if there wasn't an id already.
2287 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2288 add_signal_watch and remove_signal_watch.
2290 2005-09-29 Edward Hervey <edward@fluendo.com>
2292 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2293 Better if we actually iterate the list :)
2295 2005-09-29 Wim Taymans <wim@fluendo.com>
2297 * check/gst/gstbin.c: (GST_START_TEST):
2298 Change for new bus API.
2300 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2301 (send_messages), (GST_START_TEST), (gstbus_suite):
2302 Change for new bus signal API.
2304 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2305 (gst_bus_source_prepare), (gst_bus_source_check),
2306 (gst_bus_create_watch), (gst_bus_add_watch_full),
2307 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2308 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2310 Remove support for multiple GSources operating on different
2311 message types as it is too complex and unneeded when using
2313 Added support for receiving signals from the bus.
2315 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2317 * docs/libs/tmpl/gstdataprotocol.sgml:
2318 * docs/manual/advanced-dataaccess.xml:
2319 * gst/elements/gstcapsfilter.c:
2321 rename filter-caps to caps property
2323 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2325 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2326 More robust fraction string parsing.
2328 * docs/pwg/appendix-porting.xml:
2329 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2331 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2333 * gst/gstcaps.c: (gst_caps_do_simplify):
2334 Thou shalt not free a structure and then continue using it
2335 in the next loop iteration.
2337 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2339 Add test case for caps simplification.
2341 2005-09-29 Wim Taymans <wim@fluendo.com>
2343 * check/gst/gstbin.c: (GST_START_TEST):
2346 2005-09-29 Wim Taymans <wim@fluendo.com>
2348 * check/gst/gstbin.c: (GST_START_TEST):
2351 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
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 A bin does not have a bus, it gets the bus from the parent.
2359 * gst/gstelement.c: (gst_element_requires_clock),
2360 (gst_element_provides_clock), (gst_element_is_indexable),
2361 (gst_element_is_locked_state), (gst_element_change_state),
2362 (gst_element_set_bus_func):
2365 * gst/gstpipeline.c: (gst_pipeline_class_init),
2366 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2367 The pipeline provides a bus.
2369 2005-09-28 Johan Dahlin <johan@gnome.org>
2371 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2372 gst_structure_get_enum instead of gst_structure_get_int
2374 * gst/gststructure.c (gst_structure_get_enum): Impl.
2376 * gst/gststructure.h (gst_structure_get_enum): Add
2378 * docs/gst/gstreamer-sections.txt: Ditto
2380 * gst/gstmessage.c (gst_message_new_state_changed): Use
2381 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2382 which does introspection.
2383 Reviewed by Christian Schaller
2385 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2387 * gst/gstinfo.c: (gst_debug_log_default):
2388 don't do dummy g_strdup()s
2389 * libs/gst/controller/gstcontroller.c:
2390 (on_object_controlled_property_changed),
2391 (gst_controlled_property_new), (gst_controller_new_valist),
2392 (gst_controller_new_list),
2393 (gst_controller_remove_properties_valist), (gst_controller_set),
2394 (gst_controller_get), (gst_controller_sync_values),
2395 (gst_controller_get_value_array), (_gst_controller_class_init),
2396 (gst_controller_get_type):
2397 * libs/gst/controller/gstcontroller.h:
2398 * libs/gst/controller/gstinterpolation.c:
2399 (gst_controlled_property_find_timed_value_node):
2400 convert // to /**/ comments
2402 2005-09-28 Wim Taymans <wim@fluendo.com>
2404 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2405 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2406 (gst_bus_sync_signal_handler):
2408 Added async-message and sync-message signals to the bus.
2409 Added helper BusFunc to emit signals for all posted messages.
2411 * gst/gstmessage.c: (gst_message_type_get_name),
2412 (gst_message_type_to_quark), (gst_message_get_type):
2414 Register quarks for message names.
2416 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2418 * docs/libs/gstreamer-libs-sections.txt:
2419 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2420 (gst_controller_new_list):
2421 * libs/gst/controller/gstcontroller.h:
2422 added another constructor for language bindings
2424 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2426 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2430 * gst/gstinfo.c: (_gst_debug_init):
2431 slightly more readable color for refcount debugging
2433 2005-09-28 Wim Taymans <wim@fluendo.com>
2435 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2436 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2437 (find_element), (gst_bin_sort_iterator_next),
2438 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2439 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2440 (gst_bin_change_state), (gst_bin_dispose):
2441 Small doc fixes. get_clock -> provide_clock.
2443 * gst/gstelement.c: (gst_element_class_init),
2444 (gst_element_provides_clock), (gst_element_provide_clock),
2445 (gst_element_get_clock), (gst_element_commit_state),
2446 (gst_element_lost_state):
2448 Make get/set_clock() symetric. Add provide_clock vmethod since
2449 that is actually what this function does.
2451 * gst/gstpipeline.c: (gst_pipeline_class_init),
2452 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2453 (gst_pipeline_get_clock):
2454 get_clock -> provide_clock.
2456 2005-09-28 Andy Wingo <wingo@pobox.com>
2458 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2459 lieu of real docs...
2461 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2463 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2465 * gst/elements/gstcapsfilter.c:
2466 * gst/elements/gstfakesink.c:
2467 * gst/elements/gstfakesrc.c:
2468 * gst/elements/gstfdsink.c:
2469 * gst/elements/gstfdsrc.c:
2470 * gst/elements/gstfilesink.c:
2471 * gst/elements/gstfilesrc.c:
2472 * gst/elements/gstidentity.c:
2473 * gst/elements/gsttee.c:
2474 * gst/elements/gsttypefindelement.c:
2475 Make element details static.
2477 2005-09-28 Wim Taymans <wim@fluendo.com>
2479 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2480 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2481 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2482 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2483 (gst_bin_change_state), (gst_bin_dispose):
2484 Some documentation updates.
2485 Clean up dispose handlers.
2487 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2488 * gst/gstpad.c: (gst_pad_dispose):
2489 Clean up dispose handler.
2491 * gst/gstpipeline.c: (gst_pipeline_change_state):
2492 Removed spurious UNLOCK.
2494 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2496 * docs/gst/gstreamer-sections.txt:
2497 * gst/base/gstbasesrc.h:
2502 * gst/gstpipeline.c:
2503 * gst/gstpipeline.h:
2506 added two new functions to the docs
2507 documents all undocumented GstXXXFlags
2508 completed some incomplete docs
2510 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2512 * gst/gstbin.c: (gst_bin_dispose):
2513 * gst/gstelement.c: (gst_element_dispose):
2514 remove now useless and leaky resurrection code in dispose
2515 * gst/base/gstbasesrc.c: (gst_base_src_init):
2516 * gst/gstelementfactory.c: (gst_element_factory_create):
2517 * gst/gstobject.c: (gst_object_set_parent):
2520 2005-09-27 Wim Taymans <wim@fluendo.com>
2522 * docs/design/part-TODO.txt:
2525 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2526 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2527 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2528 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2529 (gst_bin_change_state):
2531 Remove element variable, we keep element info in the iterator now.
2533 2005-09-27 Andy Wingo <wingo@pobox.com>
2535 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2538 2005-09-27 Wim Taymans <wim@fluendo.com>
2540 * check/gst/gstbin.c: (GST_START_TEST):
2541 Enable check that works now.
2543 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2544 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2545 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2546 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2547 (gst_bin_change_state):
2549 Redid the state change algorithm using a topological sort algo.
2550 Handles all cases correctly.
2551 Exposed iterator for state change order.
2554 Temp storage for state changes. Need to get rid of this soon.
2556 2005-09-27 Wim Taymans <wim@fluendo.com>
2558 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2559 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2560 (link_fold_func), (gst_pad_proxy_setcaps):
2561 Leak fixes, the fold functions need to unref the passed object and
2562 _get_parent_*() returns ref to parent.
2564 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2566 * check/gst/gstbuffer.c: (test_make_writable):
2567 Plug leak in test case and fix 'make check-valgrind'
2569 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2571 * gst/gstbuffer.c: (gst_subbuffer_init):
2572 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2573 works correctly in all circumstances (we could have just copied
2574 the parent buffer's readonly flag, but conceptually it seems
2575 cleaner to mark all subbuffers as read-only). (based on patch
2576 by Alessandro Decina, #314710).
2578 * check/gst/gstbuffer.c: (create_read_only_buffer),
2579 (test_make_writable), (test_subbuffer_make_writable),
2581 Add some tests for gst_buffer_make_writable().
2583 2005-09-27 Wim Taymans <wim@fluendo.com>
2585 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2586 use gst_object_has_ancestor().
2588 * gst/gstobject.c: (gst_object_has_ancestor):
2590 gst_object_has_ancestor() copied from gstbin.c as it is a
2593 * tests/instantiate/create.c: (create_all_elements):
2594 * tests/lat.c: (handoff_src), (handoff_sink):
2595 * tests/sched/runxml.c: (main):
2596 * tests/seeking/seeking1.c: (main):
2597 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2599 Fix compilation of some tests.
2601 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2604 Remove comment. GST_TYPE_G_ERROR is here to stay,
2605 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2608 2005-09-26 Wim Taymans <wim@fluendo.com>
2610 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2611 Added check that shows error in state change order.
2613 2005-09-26 Wim Taymans <wim@fluendo.com>
2615 * gst/gstbin.c: (gst_bin_change_state):
2616 Make state change function use 3 queues again, we were
2617 adding elements in the wrong order.
2619 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2622 * gst/gstpad.c: (gst_pad_dispose):
2623 Added some debug info first.
2625 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2627 * docs/design/draft-push-pull.txt:
2628 * docs/design/part-events.txt:
2629 * docs/design/part-overview.txt:
2630 * docs/design/part-scheduling.txt:
2631 Replace all _pull_region() with _pull_range()
2633 2005-09-26 Andy Wingo <wingo@pobox.com>
2635 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2637 * check/gst-libs/controller.c: Update for controller api change.
2640 * tests/Makefile.am:
2641 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2642 over by GLib bug 118439.
2644 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2645 routines to a function.
2647 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2649 * libs/gst/controller/gsthelper.c:
2650 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2651 (gst_object_sync_values): Renamed from sink_values. Ugh.
2653 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2655 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2656 Renamed from controller_key, as it is exported.
2658 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2660 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2665 * gst/gstpadtemplate.h:
2668 * gst/gstqueryutils.c:
2669 * gst/gstqueryutils.h:
2670 remove queryutils headers after moving the two used functions
2671 to gstquery. also fixes build problem for gstsiddec
2673 2005-09-26 Michael Smith <msmith@fluendo.com>
2675 * tools/gst-launch.1.in:
2676 Correct documentation in manpage of debug syntax
2678 2005-09-26 Wim Taymans <wim@fluendo.com>
2680 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2681 (gst_base_src_is_seekable), (gst_base_src_change_state):
2682 Some more debugging info.
2684 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2686 * docs/gst/gstreamer-sections.txt:
2687 * gst/base/gstbasetransform.h:
2691 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2693 * docs/gst/.cvsignore:
2694 * docs/gst/tmpl/.cvsignore:
2695 * docs/gst/tmpl/gstpipeline.sgml:
2696 * docs/gst/tmpl/gstplugin.sgml:
2697 * gst/gstpipeline.c:
2700 inlined the last two docs files
2701 removed the tmpl directory from cvs (no more conflicts here!)
2703 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2705 * docs/gst/gstreamer-sections.txt:
2706 * docs/gst/tmpl/.cvsignore:
2707 * docs/gst/tmpl/gstpad.sgml:
2708 * docs/gst/tmpl/gstpadtemplate.sgml:
2710 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2711 (gst_pad_finalize), (gst_pad_set_pad_template):
2713 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2714 (gst_pad_template_class_init), (gst_pad_template_init),
2715 (gst_pad_template_dispose), (name_is_valid),
2716 (gst_static_pad_template_get), (gst_pad_template_new),
2717 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2718 (gst_pad_template_pad_created):
2719 * gst/gstpadtemplate.h:
2720 inlined two more docs
2721 factored gstpadtemplate out of gstpad
2723 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2725 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2726 (test_children_state_change_order_semi_sink):
2727 Fix test case: we can't rely on a fixed state change order when
2728 going from READY => PAUSED because the sink might commit its
2729 new state first when the first buffer created by the source
2730 reaches the sink before the source has finished its change state.
2731 (Test case still fails at times, see #316856, comment 5 onwards)
2733 2005-09-24 Wim Taymans <wim@fluendo.com>
2735 * docs/design/part-events.txt:
2736 * docs/design/part-gstbus.txt:
2737 * docs/design/part-gstpipeline.txt:
2738 * docs/design/part-messages.txt:
2739 * docs/design/part-overview.txt:
2740 * docs/design/part-segments.txt:
2747 * gst/gstiterator.c:
2748 Various documentation updates.
2750 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2753 Well, that's embarassing. Luckily we weren't using
2754 GST_CLOCK_DIFF anywhere.
2756 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2758 * common/gtk-doc.mak:
2759 don't fail on building XML, FC4 slave shows a bunch of doc
2760 missing bits that I don't get
2762 * gst/gstpipeline.c:
2763 * gst/gststructure.c:
2766 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2768 * docs/design/part-gstbin.txt:
2769 * docs/design/part-gstbus.txt:
2771 Add blurb about how the bus goes into flushing mode and
2772 drops all messages when its bin goes from READY into NULL
2775 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2777 * docs/gst/gstreamer-sections.txt:
2778 * gst/gststructure.c: (gst_structure_get_clock_time):
2779 * gst/gststructure.h:
2780 add a method to get a GstClockTime out of a structure
2782 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2784 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2785 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2786 Added test to check state change order in bins (can still be made
2787 to fail here under heavy disk load; bails out with 'Push on pad
2788 fakesink:sink0, but it was not activated in push mode').
2790 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2791 Fix state change order when there is only a semi sink (#316856)
2793 * gst/gstbus.c: (gst_bus_class_init):
2794 Use _class_peek_parent(), not _class_ref(); fix docs to say
2795 'default main context' instead of 'mainloop' where that is
2798 * gst/gstelement.c: (gst_element_commit_state),
2799 (gst_element_set_state):
2800 Fix typos in debug messages
2802 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2805 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2806 * gst/gstpluginfeature.c:
2809 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2810 change an assert into an error until it gets fixed properly
2812 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2814 * docs/gst/gstreamer-sections.txt:
2815 * docs/gst/tmpl/.cvsignore:
2816 * docs/gst/tmpl/gstelement.sgml:
2817 * docs/gst/tmpl/gstinfo.sgml:
2818 * docs/gst/tmpl/gstobject.sgml:
2823 * gst/gstobject.c: (gst_object_class_init):
2825 inlined 3 more biiiig doc files and added some missing docs on the fly
2827 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2829 * check/gst/.cvsignore:
2830 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2831 * gst/gstregistryxml.c: (load_plugin),
2832 (gst_registry_xml_save_plugin):
2833 put back source in registry. add checks for find_plugin.
2834 * testsuite/states/bin.c: (assert_state), (empty_bin),
2835 (test_adding_one_element), (main):
2836 * testsuite/states/locked.c: (main):
2837 some compile/run fixes
2839 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2841 * check/gst/gstvalue.c: (GST_START_TEST):
2842 fix leaks in the test itself
2844 2005-09-22 Wim Taymans <wim@fluendo.com>
2846 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2847 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2848 (gst_base_sink_query):
2849 Prepare for more accurate position reporting and query
2852 * gst/gstelement.c: (gst_element_send_event),
2853 (gst_element_set_state):
2856 2005-09-22 Wim Taymans <wim@fluendo.com>
2858 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2859 (gst_query_parse_segment):
2862 Add segment query for future use.
2864 2005-09-22 Wim Taymans <wim@fluendo.com>
2866 * gst/gstbin.c: (gst_bin_add_func):
2867 Some more debug info.
2869 * gst/gstelement.c: (gst_element_send_event):
2873 Don't know how flags got broken.
2878 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2880 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2881 Add simplistic test suite for GST_TYPE_DATE serialisation and
2884 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2886 * docs/gst/gstreamer-sections.txt:
2887 * gst/gststructure.c: (gst_structure_set_valist),
2888 (gst_structure_get_date):
2889 * gst/gststructure.h:
2890 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2891 (gst_date_copy), (gst_value_compare_date),
2892 (gst_value_serialize_date), (gst_value_deserialize_date),
2893 (gst_value_transform_date_string),
2894 (gst_value_transform_string_date), (_gst_value_initialize):
2896 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2897 bunch of utility functions along with a hack that checks that
2898 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2899 is required. Part of the grand scheme in #170777.
2901 2005-09-22 Andy Wingo <wingo@pobox.com>
2903 * gst/gstconfig.h.in: Psych out gtk-doc.
2905 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2907 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2909 * tools/gst-inspect.c (print_element_list): Plug some
2910 inconsequential leaks.
2912 * gst/gstregistry.c (gst_registry_get_default): Doc.
2914 * check/gst/gstplugin.c:
2915 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2916 * gst/gstelementfactory.c (gst_element_factory_create):
2917 * gst/gstindexfactory.c (gst_index_factory_create): Update for
2920 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
2921 (gst_plugin_feature_load): Doc, don't eat refs.
2923 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
2924 (gst_plugin_list_free): Doc.
2925 (gst_plugin_load_file): Doc updates.
2927 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
2928 accessors returning refcounted objects, return a ref.
2930 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
2931 accessor for caps. IDEMPOTENCE. Oh yes.
2933 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
2935 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2937 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2938 (_gst_debug_register_funcptr):
2939 Add mutex to serialise access to the hash table with
2940 the function pointer => function name string mapping;
2941 make that hash table static scope (#316809).
2943 * gst/registries/.cvsignore:
2944 Remove left-over file.
2946 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2948 * docs/pwg/appendix-porting.xml:
2949 And something about newsegment events and caps-on-buffers to
2950 the porting guide (feel free to improve).
2952 2005-09-21 Andy Wingo <wingo@pobox.com>
2954 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
2955 data and event probes on the same pad.
2956 (test_buffer_probe_once): Test that removing probes from within
2957 the probe functions works.
2959 2005-09-21 Andy Wingo <wingo@pobox.com>
2961 * check/gst/gstutils.c: New file.
2962 (test_buffer_probe_n_times): A simple buffer probe test. More to
2965 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
2966 have-data::buffer, not have-data.
2967 (gst_pad_add_event_probe): Likewise for have-data::event.
2968 (gst_pad_add_data_probe): More docs. The part about 'resolving the
2969 peer' isn't quite right yet though.
2970 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
2971 (gst_pad_remove_data_probe): Change to take the guint handler_id
2972 as their arg, not the function+data, which is more glib-like.
2974 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
2975 the signal emission to indicate if the data is a buffer or an
2977 (gst_pad_get_type): Initialize buffer and event quarks.
2978 (gst_pad_class_init): have-data is now a detailed signal, yes it
2981 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2983 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2984 * gst/gstutils.c: (gst_util_set_value_from_string),
2985 (gst_util_set_object_arg):
2986 Don't put functional code in g_return_if_fail() or
2987 g_return_val_if_fail() statements, otherwise things will
2988 break when G_DISABLE_CHECKS is defined during compilation.
2990 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2992 * docs/gst/tmpl/.cvsignore:
2993 * docs/gst/tmpl/gstvalue.sgml:
2996 inlied another one and added some obvious docs
2998 2005-09-21 Wim Taymans <wim@fluendo.com>
3000 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3001 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3002 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3003 (gst_fdsrc_get_property), (gst_fdsrc_create):
3004 * gst/elements/gstfdsrc.h:
3005 Properly implement fdsrc. Removed signal and timeout,
3006 better implemented somewhere else.
3008 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3010 * docs/gst/tmpl/.cvsignore:
3011 * docs/gst/tmpl/gstimplementsinterface.sgml:
3012 * gst/gstinterface.c:
3015 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3017 * docs/gst/gstreamer-sections.txt:
3018 * docs/gst/tmpl/.cvsignore:
3019 * docs/gst/tmpl/gstenumtypes.sgml:
3020 remove obsolete doc file
3022 2005-09-21 David Schleef <ds@schleef.org>
3024 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3025 little beer, fix a little leak.
3027 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3029 * docs/gst/gstreamer-docs.sgml:
3030 * docs/gst/gstreamer-sections.txt:
3031 * docs/gst/tmpl/.cvsignore:
3036 * gst/gstindex.c: (gst_index_class_init):
3038 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3039 (gst_index_factory_class_init), (gst_index_factory_init),
3040 (gst_index_factory_finalize), (gst_index_factory_new),
3041 (gst_index_factory_destroy), (gst_index_factory_find),
3042 (gst_index_factory_create), (gst_index_factory_make):
3043 * gst/gstindexfactory.h:
3044 * gst/gstpluginfeature.c:
3045 * gst/gstpluginfeature.h:
3046 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3047 more docs inlined, splitted gstindex.{c,h}
3049 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3051 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3054 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3056 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3057 Set sync to FALSE by default.
3059 2005-09-20 Wim Taymans <wim@fluendo.com>
3061 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3062 (gst_base_sink_init):
3063 Make sync property settable from subclass.
3065 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3066 (gst_fake_sink_change_state):
3067 Set sync to FALSE by default.
3069 2005-09-20 Wim Taymans <wim@fluendo.com>
3071 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3072 * tools/gst-launch.c: (main):
3073 The timeout handler should have lower priority than the source
3074 so we don't timeout before popping a message with 0 timeout.
3075 Dump error messages after failed state change.
3077 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3079 * tools/gst-inspect.c: (print_element_properties_info):
3082 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3084 * check/gst/gstevent.c:
3085 * gst/elements/gstfakesink.c:
3086 * gst/elements/gstfakesink.h:
3087 remove the sync property from fakesink.
3088 has the side effect of setting sync TRUE
3089 for fakesink, which is a change. Anyone who knows how
3090 to fix this nicely in a GObject-y way, feel free.
3092 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3094 * docs/gst/gstreamer-docs.sgml:
3095 remove probe refsection
3097 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3099 * check/Makefile.am:
3100 disable valgrinding the controller test again
3101 * docs/gst/gstreamer-sections.txt:
3102 update for api-changes
3104 2005-09-20 Wim Taymans <wim@fluendo.com>
3106 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3107 (gst_base_sink_set_property), (gst_base_sink_get_property),
3108 (gst_base_sink_do_sync):
3109 * gst/base/gstbasesink.h:
3110 Added sync property to basesink to disable clock sync.
3112 2005-09-20 Andy Wingo <wingo@pobox.com>
3114 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3115 eating the caller's refcount.
3117 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3118 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3121 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3122 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3123 of GLib 2.8 public, so we can know which refcount to check in
3126 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3127 (gst_object_init): Only set the gst refcount if we're going ahead
3128 with the refcount hack.
3130 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3132 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3133 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3134 more leaks plumbed, added more debug-logging
3138 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3141 remove include of gstmemchunk.h
3143 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3145 * gst/gstclock.c: (_gst_clock_id_free):
3146 Commit from the Political Party For More Atomic CVS Commits,
3147 so that people don't waste too much of their day fishing
3148 out obvious leaks out of massive commits.
3149 Oh, and fix a pretty damn obvious leak in the memchunk
3152 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3154 * check/Makefile.am:
3155 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3156 plug mem-leak, re-add to valgrindable tests
3158 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3161 unbreak the build for those who have chronic arthritis
3162 and typing "make check" is just too taxing on the hands
3164 2005-09-20 Andy Wingo <wingo@pobox.com>
3166 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3167 really want it out, you should fix plugins at the same time.
3169 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3172 * docs/gst/gstreamer-sections.txt:
3174 added missing symbols to api docs
3175 disable ref-count hack if we have glib >= 2.8
3177 2005-09-19 David Schleef <ds@schleef.org>
3179 * docs/gst/Makefile.am: Ignore a few more internal headers
3180 * docs/gst/gstreamer-docs.sgml: Remove old sections
3181 * docs/gst/gstreamer-sections.txt: Remove old sections
3182 * docs/gst/tmpl/gstobject.sgml: update
3183 * docs/gst/tmpl/gstplugin.sgml: update
3184 * docs/gst/tmpl/gstpluginfeature.sgml: update
3185 * docs/random/ds/0.9-suggested-changes: update.
3186 * gst/Makefile.am: remove memchunk and trashstack, since they're
3188 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3189 * gst/gst.h: don't include some headers
3190 * gst/gstchildproxy.c: add gstmarshal.h
3191 * gst/gstclock.c: Don't use memchunks
3192 * gst/gstminiobject.c: Add some docs
3193 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3194 * gst/gstobject.h: same
3195 * gst/gstplugin.c: include gstmacros.h
3196 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3197 * gst/gstquery.c: don't use memchunks
3198 * gst/gstregistry.c: rename gst_registry_deinit()
3199 * gst/gstregistry.h: same
3201 2005-09-19 David Schleef <ds@schleef.org>
3203 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3204 * docs/libs/gstreamer-libs-sections.txt:
3205 * docs/libs/tmpl/gstgetbits.sgml:
3206 * docs/libs/tmpl/gstputbits.sgml:
3208 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3210 * win32/gstenumtypes.c:
3211 * win32/gstenumtypes.h:
3214 2005-09-19 Wim Taymans <wim@fluendo.com>
3216 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3217 Automatically PAUSE and RESUME a pipeline when a flushing seek
3220 2005-09-19 Andy Wingo <wingo@pobox.com>
3222 * gst/gstregistry.h: Spacing fixen.
3224 2005-09-19 Wim Taymans <wim@fluendo.com>
3226 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3227 Handle state change failure more correctly.
3229 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3231 * check/Makefile.am:
3232 * check/pipelines/cleanup.c: (run_pipeline):
3233 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3235 enable cleanup again after fixing the leak
3237 some more info on docs
3239 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3241 * check/Makefile.am:
3242 re-enable tests now that leaks are plugged
3244 * check/gst/gstbin.c:
3245 * check/gst/gstpipeline.c:
3246 add some more tests while fixing leaks
3248 make sure binaries are uptodate when valgrinding/gdbing
3250 * gst/gstelementfactory.c:
3251 remove a ref too many, and add a FIXME for when we get
3252 round to disposing of classes
3254 fix the refcounting when loading a plugin from a file and
3255 the code pretends that the pointer is the same even though
3256 of course it can change
3257 * gst/gstpluginfeature.c:
3258 unref plugins marked cached (a bit confusing as a name)
3259 as the docs state should be done
3260 various doc additions to explain refcounting
3261 * gst/gstregistry.c:
3262 * gst/gstregistryxml.c:
3265 2005-09-19 Wim Taymans <wim@fluendo.com>
3267 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3268 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3269 (send_messages), (GST_START_TEST), (gstbus_suite):
3270 * check/gst/gstpipeline.c: (GST_START_TEST):
3271 * check/pipelines/cleanup.c: (run_pipeline):
3272 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3274 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3275 (gst_bus_source_check), (gst_bus_source_dispatch),
3276 (gst_bus_create_watch), (gst_bus_add_watch_full),
3277 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3279 * tools/gst-launch.c: (event_loop):
3280 * tools/gst-md5sum.c: (event_loop):
3281 GstBusHandler -> GstBusFunc, return value has the same meaning as
3282 any other GSource (FALSE == remove source).
3283 _add_watch() and _add_watch_full() now take a MessageType mask to
3284 only handle specific types of messages.
3285 _poll() returns the GstMessage instead of the message type to avoid
3287 _have_pending() takes a MessageType mask now too.
3288 Added testsuite for multiple bus watches.
3289 Fix testsuites and applications for new bus API.
3291 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3293 * check/Makefile.am:
3294 mark a bunch of the tests as to fix until we fix them
3296 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3299 use GST_PLUGIN settings for valgrind tests as well, so we're
3300 valgrinding the correct thing
3301 * gst/gst.c: (init_post):
3304 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3306 * gst/gst.c: (init_post), (gst_deinit):
3307 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3308 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3309 * gst/gstindex.c: (gst_index_factory_class_init),
3310 (gst_index_factory_finalize):
3311 * gst/gstobject.c: (gst_object_dispose):
3312 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3313 (gst_plugin_load_file), (gst_plugin_desc_free):
3314 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3315 (gst_plugin_feature_finalize):
3316 * gst/gstregistry.c: (gst_registry_class_init),
3317 (gst_registry_init), (gst_registry_finalize),
3318 (gst_registry_get_default), (gst_registry_deinit):
3319 * gst/gstregistry.h:
3320 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3321 various cleanups and memleak plugging. make valgrind is happy now.
3323 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3326 add a check-valgrind target
3328 2005-09-18 David Schleef <ds@schleef.org>
3330 * tools/gst-inspect.c: Revert the GOption code.
3332 2005-09-17 David Schleef <ds@schleef.org>
3334 * check/Makefile.am: Fix environment variables.
3335 * check/gst/gstplugin.c: Fix for API changes.
3336 * tools/gst-inspect.c: Fix for API changes.
3337 * tools/gst-xmlinspect.c: Fix for API changes.
3338 * gst/gstelementfactory.c:
3341 * gst/gstpluginfeature.c:
3342 * gst/gstpluginfeature.h:
3343 * gst/gstregistry.c:
3344 * gst/gstregistry.h:
3345 * gst/gstregistryxml.c:
3346 * gst/gsttypefind.c:
3347 * gst/gsttypefindfactory.c:
3348 * gst/indexers/gstfileindex.c:
3349 * gst/indexers/gstmemindex.c:
3350 * gst/schedulers/Makefile.am:
3351 Change registry to keep track of both plugins and features,
3352 removing the feature tracking from plugins themselves.
3354 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3356 * check/Makefile.am:
3357 * tools/gst-register.1.in:
3360 2005-09-15 David Schleef <ds@schleef.org>
3362 * check/gst/gstplugin.c:
3363 * gst/gstelementfactory.c:
3365 * gst/gstpluginfeature.c:
3366 * gst/gstregistry.c:
3367 Getting tired of debugging. Disabled all the unreffing of
3368 plugins and features, which fixes the segfaults, but of
3369 course leaks like crazy. At least playbin works.
3371 2005-09-15 David Schleef <ds@schleef.org>
3373 * check/gst/gstplugin.c: (register_check_elements),
3374 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3376 * gst/elements/gsttypefindelement.c: Fix refcounting.
3377 * gst/gsttypefind.c:
3378 * gst/gsttypefindfactory.c:
3379 * gst/gsttypefindfactory.h:
3381 2005-09-15 David Schleef <ds@schleef.org>
3383 * gst/gstindex.c: get refcounting correct.
3384 * gst/gstregistry.c: Handle the case where a feature/plugin is
3387 2005-09-15 David Schleef <ds@schleef.org>
3389 * check/Makefile.am:
3390 * check/gst/gstplugin.c: Add test
3391 * gst/gstplugin.c: Fix problems noticed by testsuite
3393 * gst/gstregistry.c:
3394 * gst/gstregistry.h:
3396 2005-09-15 David Schleef <ds@schleef.org>
3398 * gst/gstplugin.c: Implement semi-decent recounting and locking
3399 in plugins and plugin features.
3401 * gst/gstpluginfeature.c:
3402 * gst/gstpluginfeature.h:
3403 * gst/gstregistry.c:
3405 2005-09-15 Michael Smith <msmith@fluendo.com>
3407 * gst/gstregistry.c: (gst_registry_get_feature_list):
3408 Implement this. Makes oggdemux work; decodebin still broken.
3410 2005-09-14 David Schleef <ds@schleef.org>
3412 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3414 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3415 * gst/check/Makefile.am:
3416 * libs/gst/controller/Makefile.am:
3417 * libs/gst/dataprotocol/Makefile.am:
3419 2005-09-14 David Schleef <ds@schleef.org>
3421 * configure.ac: Remove getbits library. Nothing uses it, and
3422 it should be in something like liboil if someone did want
3424 * libs/gst/Makefile.am:
3425 * libs/gst/getbits/Makefile.am:
3426 * libs/gst/getbits/gbtest.c:
3427 * libs/gst/getbits/getbits.c:
3428 * libs/gst/getbits/getbits.h:
3429 * libs/gst/getbits/gstgetbits_generic.c:
3430 * libs/gst/getbits/gstgetbits_i386.s:
3431 * libs/gst/getbits/gstgetbits_inl.h:
3433 2005-09-14 David Schleef <ds@schleef.org>
3435 * gst/Makefile.am: Dist glib-compat.h
3437 2005-09-14 David Schleef <ds@schleef.org>
3439 * configure.ac: Remove gst/registries, since it's no longer used.
3440 * gst/registries/Makefile.am:
3441 * gst/registries/gstlibxmlregistry.c:
3442 * gst/registries/gstlibxmlregistry.h:
3443 * gst/registries/gstxmlregistry.c:
3444 * gst/registries/gstxmlregistry.h:
3445 * gst/registries/registrytest.c:
3447 2005-09-14 David Schleef <ds@schleef.org>
3449 * gst/glib-compat.h:
3450 * gst/gstregistryxml.c:
3451 Convergence is near. Seriously.
3453 2005-09-14 David Schleef <ds@schleef.org>
3455 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3456 * gst/glib-compat.h:
3457 Attempt #4 to appease the buildbots.
3459 2005-09-14 David Schleef <ds@schleef.org>
3461 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3464 2005-09-14 David Schleef <ds@schleef.org>
3466 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3469 2005-09-14 David Schleef <ds@schleef.org>
3471 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3474 2005-09-14 David Schleef <ds@schleef.org>
3476 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3477 * gst/glib-compat.h: Add some functions that are in newer versions
3478 of glib than we care to require.
3479 * gst/gstregistryxml.c: Use them.
3481 2005-09-14 David Schleef <ds@schleef.org>
3483 * po/POTFILES.in: remove gst-register.c
3485 2005-09-14 David Schleef <ds@schleef.org>
3487 * docs/gst/gstreamer-docs.sgml:
3488 * docs/gst/gstreamer-sections.txt:
3489 * docs/gst/gstreamer.types:
3490 * docs/gst/tmpl/gstelement.sgml:
3491 * docs/gst/tmpl/gstplugin.sgml:
3492 * docs/gst/tmpl/gstpluginfeature.sgml:
3493 Documentation updates for registry changes.
3495 2005-09-14 David Schleef <ds@schleef.org>
3497 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3498 because we don't require glib-2.8.
3500 2005-09-14 David Schleef <ds@schleef.org>
3502 * gst/gstregistryxml.c: Added. Essentially moved out of the
3503 registries directory.
3505 2005-09-14 David Schleef <ds@schleef.org>
3507 * check/Makefile.am:
3508 * check/generic/states.c:
3512 * gst/gst_private.h:
3513 * gst/gstelementfactory.c:
3518 * gst/gstpluginfeature.c:
3519 * gst/gstpluginfeature.h:
3520 * gst/gstregistry.c:
3521 * gst/gstregistry.h:
3522 * gst/gstregistrypool.c: remove
3523 * gst/gstregistrypool.h: remove
3524 * gst/gsttypefind.c:
3525 * gst/gsttypefindfactory.c:
3527 * tools/Makefile.am:
3528 * tools/gst-compprep.c:
3529 * tools/gst-inspect.c:
3530 * tools/gst-register.c: remove
3531 * tools/gst-xmlinspect.c:
3532 Registry rewrite. Changes registry from being a file created
3533 by a tool into a simple cache file created automatically by
3534 libgstreamer. Removed gst-register (because it's no longer
3535 needed). Remove registry pools, because we only have one
3536 registry implementation (XML). Fix up other subsystems as
3539 2005-09-13 Michael Smith <msmith@fluendo.com>
3541 * gst/gstconfig.h.in:
3542 Don't Use windows linking attributes for MinGW. Fixes #316157
3544 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3546 * gst/gstutils.c: (set_state_async_thread_func),
3547 (gst_element_set_state_async):
3548 Apparently people think it's better if this function doesn't
3549 try to set the state to whatever state was asked for on the first
3550 call to this function for any object. Seriously.
3552 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3554 * check/gst/gstpipeline.c: (GST_START_TEST):
3555 * docs/gst/gstreamer-sections.txt:
3556 * gst/gstutils.c: (set_state_async_thread_func),
3557 (gst_element_set_state_async):
3559 add a "gst_element_set_state_async" method that
3560 sets the state and starts a thread to make sure the state
3561 change completes as best as it can
3563 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3565 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3566 codify design+behaviour in testsuite after discussion
3568 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3570 * docs/gst/tmpl/gstelement.sgml:
3571 * docs/manual/appendix-quotes.xml:
3573 * gst/gstelement.c: (gst_element_set_state):
3576 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3578 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3579 (gst_base_transform_prepare_output_buf),
3580 (gst_base_transform_handle_buffer):
3581 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3582 (gst_capsfilter_prepare_buf):
3583 Remove the requirement for sub-classes to call the parent
3584 implementation of prepare_output_buffer with a wrapper function.
3587 * gst/gsttagsetter.h:
3590 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3592 * docs/gst/gstreamer-sections.txt:
3595 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3597 * docs/gst/gstreamer-sections.txt:
3598 * docs/gst/tmpl/gstelement.sgml:
3599 * docs/gst/tmpl/gstplugin.sgml:
3600 * gst/gstminiobject.c:
3602 docs now stop throwing warnings
3604 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3606 * docs/gst/gstreamer-sections.txt:
3607 * docs/gst/gstreamer.types:
3608 * docs/gst/tmpl/gstpad.sgml:
3609 * docs/gst/tmpl/gsttypes.sgml:
3610 * gst/base/gstadapter.h:
3611 * gst/base/gstbasesink.h:
3612 * gst/base/gstbasesrc.h:
3622 * gst/gststructure.c:
3623 * gst/registries/gstlibxmlregistry.h:
3624 various documentation fixes
3626 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3628 * docs/gst/gstreamer-sections.txt:
3629 * docs/gst/tmpl/gstvalue.sgml:
3630 rearrange gstvalue section
3631 * gst/gstutils.c: (gst_element_state_get_name):
3633 * gst/gstvalue.c: (_gst_value_initialize):
3637 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3639 * check/gst-libs/controller.c:
3641 * gst/base/gstbasetransform.c:
3642 (gst_base_transform_default_prepare_buf),
3643 (gst_base_transform_handle_buffer):
3644 * gst/base/gstbasetransform.h:
3645 Some more basetransform changes and fixes to enable sub-classes
3646 that modify buffer metadata only.
3647 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3648 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3649 (gst_capsfilter_prepare_buf):
3650 If the output pad has fixed allowed caps and input buffers
3651 don't have any, set the fixed caps on outgoing buffers.
3653 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3654 * check/elements/identity.c: (GST_START_TEST):
3655 Make the error a little clearer when the test fails because
3656 identity made a copy of the buffer.
3657 * docs/gst/gstreamer-sections.txt:
3658 New symbols in gstbasetransform.h
3659 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3660 (gst_base_transform_init), (gst_base_transform_transform_size),
3661 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3662 (gst_base_transform_default_prepare_buf),
3663 (gst_base_transform_get_unit_size),
3664 (gst_base_transform_buffer_alloc),
3665 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3666 (gst_base_transform_change_state),
3667 (gst_base_transform_set_passthrough),
3668 (gst_base_transform_set_in_place),
3669 (gst_base_transform_is_in_place):
3670 * gst/base/gstbasetransform.h:
3671 Change BaseTransform to separate in_place operate from same_caps
3672 output. in_place implies that the element can perform the transform
3673 on incoming buffers in-place, even if the caps on the output are
3675 Sub-class elements can now implement special buffer allocation
3676 methods for outgoing buffers if they wish to.
3677 Big documentation addition.
3678 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3679 * gst/elements/gstelements.c:
3680 Changes for basetransform modifications.
3681 * gst/elements/Makefile.am:
3682 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3683 Compile fix. Extra debug output.
3685 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3687 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3689 add tests for valid pad naming
3690 * gst/check/gstcheck.c: (gst_check_log_message_func),
3691 (gst_check_log_critical_func):
3693 remove printing of code, it is fragile when the code contains
3694 % and the line number is enough info
3695 * gst/check/gstcheck.h:
3696 * gst/gstpad.c: (gst_pad_template_new):
3699 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3702 say what CHECK flags we use
3703 * docs/libs/gstreamer-libs.types:
3704 * libs/gst/controller/Makefile.am:
3705 * libs/gst/controller/gst-controller.c:
3706 * libs/gst/controller/gst-controller.h:
3707 * libs/gst/controller/gst-helper.c:
3708 * libs/gst/controller/gst-interpolation.c:
3709 * libs/gst/controller/gstcontroller.c:
3710 * libs/gst/controller/gsthelper.c:
3711 * libs/gst/controller/gstinterpolation.c:
3712 * tools/gst-inspect.c: (print_plugin_info):
3713 we don't use dashes in header names
3715 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3717 * check/Makefile.am:
3718 * check/gst/.cvsignore:
3719 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3720 (gst_pipeline_suite), (main):
3721 adding a test for pipelines and state changes
3722 * gst/gstutils.c: (get_state_func):
3724 * gstreamer.spec.in:
3727 2005-09-08 Michael Smith <msmith@fluendo.com>
3729 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3730 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3731 (gst_file_src_is_seekable), (gst_file_src_get_size),
3732 (gst_file_src_start):
3733 * gst/elements/gstfilesrc.h:
3734 Various fixes for unseekable, unmmapable, and non-normal files, so
3735 that fallback to read() rather than mmap() works.
3736 * gst/gstevent.c: (gst_event_new_newsegment):
3737 Allow newsegment events with segment_start == segment_end, as will
3738 correctly happen if you use filesrc on a zero-size file, for
3741 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3743 * gst/gstplugin.c: (gst_plugin_load_file):
3744 Call g_module_close when we don't load the module
3746 * gst/registries/gstlibxmlregistry.c:
3747 (gst_xml_registry_get_property):
3748 Port leak fix from 0.8
3750 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3752 * docs/gst/gstreamer-docs.sgml:
3753 * docs/gst/tmpl/.cvsignore:
3754 * docs/gst/tmpl/gsttrace.sgml:
3755 * docs/gst/tmpl/gsttrashstack.sgml:
3764 * gst/gsttaginterface.c:
3765 * gst/gsttaginterface.h:
3768 * gst/gsttagsetter.c:
3769 * gst/gsttagsetter.h:
3772 * gst/gsttrashstack.c:
3773 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3774 inlined docs for gsttrace, gsttrashstack
3776 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3779 * gst/elements/gstbufferstore.h:
3780 * gst/elements/gsttypefindelement.c:
3781 * gst/elements/gsttypefindelement.h:
3783 * gst/gsttypefind.c:
3784 * gst/gsttypefind.h:
3785 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3786 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3787 (gst_type_find_factory_dispose),
3788 (gst_type_find_factory_unload_thyself),
3789 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3790 (gst_type_find_factory_get_caps),
3791 (gst_type_find_factory_get_extensions),
3792 (gst_type_find_factory_call_function):
3793 * gst/gsttypefindfactory.h:
3794 * gst/registries/gstlibxmlregistry.c:
3795 * gst/registries/gstxmlregistry.c:
3796 splitted gsttypefind into gsttypefind, gsttypefindfactory
3798 2005-09-07 Andy Wingo <wingo@pobox.com>
3800 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3801 condition whereby the pad's task function is entered before the
3802 pad_mode variable was set.
3804 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3806 * gst/gstpad.c: (gst_pad_alloc_buffer):
3807 Catch misbehaving pad_alloc functions that don't
3808 set up caps and do it for them.
3810 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3812 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3814 * docs/gst/tmpl/.cvsignore:
3815 * docs/gst/tmpl/gstmemchunk.sgml:
3816 * docs/gst/tmpl/gstparse.sgml:
3817 * docs/gst/tmpl/gsttaglist.sgml:
3818 * docs/gst/tmpl/gsttagsetter.sgml:
3819 * docs/gst/tmpl/gsttypefind.sgml:
3820 * docs/gst/tmpl/gsttypefindfactory.sgml:
3821 * gst/gstmemchunk.c:
3824 * gst/gsttaginterface.c:
3825 * gst/gsttypefind.c:
3826 * gst/gsttypefind.h:
3829 === release 0.9.2 ===
3831 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3836 releasing 0.9.2, "South"
3838 2005-09-05 Andy Wingo <wingo@pobox.com>
3840 * gst/registries/gstxmlregistry.h:
3841 * gst/registries/gstxmlregistry.c: Um... resurrect...
3843 * gst/registries/gstxmlregistry.h:
3844 * gst/registries/gstxmlregistry.c: and update to newer API.
3845 Incidentally they should be a bit faster now that they don't have
3848 2005-09-05 Andy Wingo <wingo@pobox.com>
3850 * gst/registries/gstxmlregistry.h:
3851 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3852 replaced by the libxml registry a while back
3854 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3856 * docs/gst/tmpl/gstplugin.sgml:
3857 * gst/elements/gstelements.c:
3859 * gst/gstplugin.c: (gst_plugin_register_func),
3860 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3861 (gst_plugin_get_source):
3863 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3864 (gst_xml_registry_save_plugin):
3865 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3866 (gst_xml_registry_save_plugin):
3867 * tools/gst-inspect.c: (print_plugin_info):
3868 add a "source" plugin description field, to represent the source
3869 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3870 will set it to PACKAGE, which is automake's idea of the name of
3873 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3879 * docs/faq/Makefile.am:
3880 * docs/gst/tmpl/gstelement.sgml:
3881 * docs/gst/tmpl/gsttypes.sgml:
3882 * docs/htmlinstall.mak:
3883 * docs/manual/Makefile.am:
3884 * docs/pwg/Makefile.am:
3885 reorganize doc build a little
3886 split out docbook and gtk-doc stuff
3887 have two separate --enable's and enable them through autogen
3888 but disable by default in configure (to be similar to other
3890 * gstreamer.spec.in:
3891 clean up docs install
3911 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3913 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3916 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3917 (gst_fake_sink_change_state):
3918 Make state change function thread-safe.
3920 * gst/gstpad.c: (gst_pad_alloc_buffer):
3921 Set offset on generic buffer allocated by fallback.
3923 2005-09-03 Stefan Kost <ensonic@users.sf.net>
3925 * docs/gst/gstreamer-sections.txt:
3926 * docs/gst/tmpl/gstelement.sgml:
3928 * libs/gst/controller/gst-controller.c:
3929 (gst_controlled_property_set_interpolation_mode),
3930 (gst_controlled_property_new),
3931 (gst_controller_find_controlled_property):
3932 run the wingo-magic script against the docs
3934 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3936 * docs/gst/gstreamer-docs.sgml:
3937 * docs/gst/gstreamer-sections.txt:
3938 * docs/gst/tmpl/.cvsignore:
3939 * docs/gst/tmpl/gstelementdetails.sgml:
3940 * docs/gst/tmpl/gstelementfactory.sgml:
3943 * gst/gstelementfactory.c:
3944 * gst/gstelementfactory.h:
3945 merged elementdetails docs into elementfactory docs
3948 2005-09-02 Andy Wingo <wingo@pobox.com>
3950 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
3951 consider this enum an enum and not a flags.
3953 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3955 * docs/gst/gstreamer-docs.sgml:
3956 * docs/gst/tmpl/.cvsignore:
3957 * docs/gst/tmpl/gstghostpad.sgml:
3958 * docs/gst/tmpl/gstiterator.sgml:
3959 * docs/gst/tmpl/gstmacros.sgml:
3960 * docs/gst/tmpl/gstrealpad.sgml:
3961 * docs/gst/tmpl/gstregistry.sgml:
3962 * docs/gst/tmpl/gstregistrypool.sgml:
3963 * docs/gst/tmpl/gststructure.sgml:
3964 * docs/gst/tmpl/gstsystemclock.sgml:
3965 * docs/gst/tmpl/gsttrace.sgml:
3966 * gst/gstghostpad.c:
3968 * gst/gstmemchunk.c:
3969 * gst/gstmemchunk.h:
3971 * gst/gstregistry.c:
3972 * gst/gstregistrypool.c:
3973 * gst/gststructure.c:
3974 * gst/gstsystemclock.c:
3977 2005-09-02 Andy Wingo <wingo@pobox.com>
3979 * gst/gstelement.h (GstState): Renamed from GstElementState,
3980 changed to be a normal enum instead of flags.
3981 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
3982 munged to be GST_STATE_CHANGE_*.
3983 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
3984 work with the new state representation.
3985 (GstStateChange): New enumeration of possible state transitions.
3986 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
3987 (GstElementClass::change_state): Pass the GstStateChange along as
3988 an argument. Helps language bindings, so they don't have to use
3989 tricky lock-needing macros like GST_STATE_CHANGE ().
3991 * scripts/update-states (file): New script. Run it on a file to
3992 update it for state naming and API changes. Updates files in
3995 * All files updated for the new API.
3997 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
3999 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4000 * gst/gstutils.c: (gst_util_set_value_from_string),
4001 (gst_util_set_object_arg):
4002 fix a bunch of unchecked return values
4003 * tools/gst-complete.c: (main):
4004 * gstreamer.spec.in:
4007 2005-09-01 Wim Taymans <wim@fluendo.com>
4009 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4010 (gst_base_sink_event), (gst_base_sink_do_sync),
4011 (gst_base_sink_handle_event):
4012 * gst/base/gstbasesink.h:
4013 Handle newsegments more correctly.
4018 * gst/gstevent.c: (gst_event_new_newsegment):
4019 A newsegment cannot have a start_time of -1
4021 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4023 * win32/gstenumtypes.c:
4024 * win32/gstenumtypes.h:
4027 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4029 * libs/gst/controller/gst-controller.c:
4030 (gst_controlled_property_set_interpolation_mode),
4031 (gst_controlled_property_new):
4034 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4036 * docs/faq/gst-uninstalled:
4041 * gst/gstutils.c: (gst_element_link_filtered):
4043 add gst_element_link_filtered
4045 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4047 * docs/gst/gstreamer-docs.sgml:
4048 * docs/gst/gstreamer-sections.txt:
4049 * docs/gst/tmpl/.cvsignore:
4050 * docs/gst/tmpl/gsterror.sgml:
4051 * docs/gst/tmpl/gstfilter.sgml:
4052 * docs/gst/tmpl/gsturihandler.sgml:
4053 * docs/gst/tmpl/gsturitype.sgml:
4054 * docs/gst/tmpl/gstutils.sgml:
4055 * docs/gst/tmpl/gstxml.sgml:
4063 inlined more docs, fixed double id-ref
4065 2005-08-31 Wim Taymans <wim@fluendo.com>
4067 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4068 (gst_base_transform_handle_buffer):
4069 Passthrough elements don't need the caps as they don't care.
4071 2005-08-31 Wim Taymans <wim@fluendo.com>
4073 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4074 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4075 Don't leak refcounts on buffers.
4077 2005-08-31 Wim Taymans <wim@fluendo.com>
4079 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4080 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4081 (gst_base_transform_chain), (gst_base_transform_change_state):
4082 * gst/base/gstbasetransform.h:
4083 Handle the case where we are not negotiated more gracefully.
4085 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4087 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4088 (gst_file_src_map_region):
4089 Set READONLY flag on mmap'ed buffers, otherwise
4090 gst_buffer_make_writable() won't work properly (#314708).
4092 2005-08-31 Wim Taymans <wim@fluendo.com>
4094 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4095 passthrough elements can even do inplace on non writable
4096 buffers (as they don't touch them).
4098 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4100 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4101 (gst_test_mono_source_set_property),
4102 (gst_test_mono_source_class_init), (GST_START_TEST),
4103 (gst_controller_suite):
4104 more tests (hehe I have the most)
4106 describe popping messages whenusing mulltiple sources
4107 * libs/gst/controller/gst-controller.c:
4108 (gst_controlled_property_set_interpolation_mode),
4109 (gst_controlled_property_new):
4110 * libs/gst/controller/gst-controller.h:
4111 * libs/gst/controller/gst-interpolation.c:
4112 implement boolean properties
4114 2005-08-31 Wim Taymans <wim@fluendo.com>
4116 * gst/gstminiobject.c: (gst_mini_object_ref):
4117 Cannot assert that the refcount has to be positive
4118 since a disposed object can be resurrected.
4120 2005-08-31 Wim Taymans <wim@fluendo.com>
4122 * gst/gstpad.c: (gst_pad_init):
4123 Revert change, need to first fix badly behaving
4126 2005-08-30 Wim Taymans <wim@fluendo.com>
4128 * check/elements/fakesrc.c: (setup_fakesrc):
4129 * check/elements/identity.c: (setup_identity):
4130 Activate pads before using them.
4132 2005-08-30 Wim Taymans <wim@fluendo.com>
4134 * gst/base/gstadapter.c: (gst_adapter_flush):
4135 Flushing out 0 bytes is ok for this function.
4137 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4138 no newsegment gives a warning and sets the start/stop to
4141 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4142 (gst_base_transform_set_passthrough):
4145 * gst/gstminiobject.c: (gst_mini_object_ref):
4146 Check refcount here too.
4148 * gst/gstpad.c: (gst_pad_init):
4149 Pads are initially flushing and refusing data.
4151 * gst/gstutils.c: (gst_element_link_pads_filtered):
4152 When adding a capsfilter element make sure it has the
4153 same state as the parent bin.
4155 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4157 * docs/gst/tmpl/.cvsignore:
4158 * docs/gst/tmpl/gstformat.sgml:
4159 * docs/gst/tmpl/gstversion.sgml:
4163 * gst/gstversion.h.in:
4164 more docs and two more inlined
4166 2005-08-30 Wim Taymans <wim@fluendo.com>
4168 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4169 Don't sync to clock.
4171 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4173 * docs/gst/gstreamer-sections.txt:
4174 ultral33t func10ns deserve to appear in the docs actually
4175 * docs/gst/tmpl/.cvsignore:
4176 * docs/gst/tmpl/gstcompat.sgml:
4177 * docs/gst/tmpl/gstconfig.sgml:
4178 * gst/check/gstcheck.c:
4180 * gst/gstconfig.h.in:
4183 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4185 * docs/gst/tmpl/.cvsignore:
4186 * docs/gst/tmpl/gstquery.sgml:
4187 * docs/gst/tmpl/gstutils.sgml:
4190 inlined and extended docs
4192 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4194 * check/gst-libs/controller.c: (GST_START_TEST),
4195 (gst_controller_suite):
4197 * docs/gst/tmpl/gstutils.sgml:
4198 * docs/libs/gstreamer-libs-sections.txt:
4199 * docs/libs/tmpl/gstdataprotocol.sgml:
4201 * examples/controller/audio-example.c: (main):
4202 controller example works now
4205 * tools/gst-inspect.c: (print_element_properties_info):
4206 show param spec flags
4208 2005-08-29 Andy Wingo <wingo@pobox.com>
4210 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4212 2005-08-28 Andy Wingo <wingo@pobox.com>
4214 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4215 as having two arguments instead of just one. Allows superclasses
4216 to access information on subclasses -- see the terrible for() loop
4217 in gtype.c:g_type_create_instance for the reason why. All callers
4220 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4222 * docs/design/part-messages.txt:
4224 * docs/gst/tmpl/.cvsignore:
4225 * docs/gst/tmpl/gstcaps.sgml:
4226 * docs/gst/tmpl/gstclock.sgml:
4233 added descriptions for bus and message
4234 inline caps and clock docs
4236 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4242 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4244 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4247 2005-08-26 Andy Wingo <wingo@pobox.com>
4249 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4250 element_set_state's return val.
4251 (test_2_elements): Add test that's been disabled for months.
4253 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4254 can-activate-pull properties.
4256 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4257 can-activate-pull properties. Implement is_seekable so fakesrc can
4258 operate in pull mode.
4260 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4262 (gst_base_sink_activate, gst_base_sink_activate_pull)
4263 (gst_base_sink_activate_push): Make activation mode choosing work.
4265 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4266 is right. Make pull mode work. Post an eos before pausing in pull
4268 (gst_base_sink_change_state): Pay attention to the core's
4269 change_state() return val.
4271 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4272 has-getrange properties. Cleanups.
4274 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4275 has_getrange and replace with can_activate_pull and
4278 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4279 locking comments. Remove has_loop, has_chain and replace with
4280 can_activate_pull and can_activate_push.
4282 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4285 * examples/Makefile.am:
4286 * examples/metadata/Makefile.am:
4287 * examples/metadata/read-metadata.c: (message_loop),
4288 (have_pad_handler), (make_pipeline), (print_tag), (main):
4289 Add metadata reading example that loops over a list of filenames,
4290 dumping any tags found.
4292 * gst/gstbus.c: (gst_bus_dispose):
4293 * gst/gstelement.c: (gst_element_dispose):
4294 Release a few potentially-held references in dispose.
4296 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4298 * docs/gst/tmpl/gstminiobject.sgml:
4299 do *not* add tmpl/*.sgml files to CVS!
4301 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4303 * libs/gst/bytestream/.cvsignore:
4304 * libs/gst/bytestream/Makefile.am:
4305 * libs/gst/bytestream/adapter.c:
4306 * libs/gst/bytestream/adapter.h:
4307 * libs/gst/bytestream/bytestream.c:
4308 * libs/gst/bytestream/bytestream.h:
4309 * libs/gst/bytestream/filepad.c:
4310 * libs/gst/bytestream/filepad.h:
4311 removing obsolete files
4313 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4315 * docs/gst/gstreamer-docs.sgml:
4316 * docs/libs/gstreamer-libs-docs.sgml:
4317 disabed additional index entries again, as this makes docs-gen just
4318 slow and they aren't useful yet
4319 * docs/libs/gstreamer-libs-sections.txt:
4320 little -section.txt cleanup for libs
4322 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4324 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4325 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4326 fix up some debugging
4327 (gst_base_transform_get_unit_size),
4328 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4329 (gst_base_transform_handle_buffer):
4330 * gst/base/gstbasetransform.h:
4331 handle and store timed NEWSEGMENT events so that subclasses that
4332 calculate time by counting samples have a segment_start time they
4333 need to add to their timestamps - see audioresample
4335 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4338 removed ';' from the end of macro defs
4339 * docs/gst/gstreamer-docs.sgml:
4340 * docs/gst/gstreamer-sections.txt:
4341 * docs/gst/tmpl/.cvsignore:
4343 * gst/gstelement.c: (gst_element_class_init),
4344 (gst_element_set_state), (activate_pads),
4345 (gst_element_save_thyself):
4346 * gst/gstevent.c: (gst_event_new_newsegment):
4348 * gst/gstiterator.c:
4349 * gst/gstiterator.h:
4352 * gst/gstutils.c: (gst_pad_query_convert):
4354 fixed parameter name mismatches between source, header and docs
4355 added some more docs, resolved the last batch of unused elements in
4356 docs (now someone needs to doc them)
4358 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4360 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4361 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4362 don't walk through the plugins backwards. Where is all this
4363 reversed logic coming from ?
4365 2005-08-25 Wim Taymans <wim@fluendo.com>
4367 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4368 (gst_base_transform_transform_size),
4369 (gst_base_transform_configure_caps),
4370 (gst_base_transform_get_unit_size),
4371 (gst_base_transform_buffer_alloc),
4372 (gst_base_transform_change_state):
4373 * gst/base/gstbasetransform.h:
4374 Cache caps unit_size.
4375 Make sure we cannot negotiate up and downstream at the
4378 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4380 * gst/gst.c: (init_pre), (init_post):
4381 register the installed plugin path after the env var
4382 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4383 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4384 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4385 directories, so the tests can prefer uninstalled over installed
4387 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4389 * gst/base/gstbasetransform.h:
4394 2005-08-25 Wim Taymans <wim@fluendo.com>
4396 * gst/gstbin.c: (bin_bus_handler):
4397 Be a bit more conservative about the posted message.
4399 * gst/gstbus.c: (gst_bus_post):
4400 Some cleanups, warn wrong return values.
4402 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4404 * check/gst/gstbin.c: (GST_START_TEST):
4405 * gst/gstbin.c: (bin_bus_handler):
4406 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4407 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4408 (gst_message_new_warning), (gst_message_new_tag),
4409 (gst_message_new_state_changed), (gst_message_new_segment_start),
4410 (gst_message_new_segment_done), (gst_message_new_custom):
4412 * tools/gst-launch.c: (event_loop):
4413 * tools/gst-md5sum.c: (event_loop):
4414 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4416 2005-08-25 Wim Taymans <wim@fluendo.com>
4418 * check/generic/states.c: (GST_START_TEST):
4419 Cleanup can be done at the end.
4421 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4422 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4423 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4424 Oh boy.. Thanks for finding this, Thomas.
4426 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4428 * docs/gst/gstreamer.types:
4431 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4433 * docs/gst/gstreamer-docs.sgml:
4434 * docs/gst/gstreamer-sections.txt:
4435 * docs/gst/tmpl/.cvsignore:
4437 * gst/gstiterator.c:
4439 * gst/registries/gstxmlregistry.h:
4440 added missing classes and symbols (123 more to go)
4441 removed removed symbols from section file
4442 fixed many doc-comments
4444 2005-08-24 Wim Taymans <wim@fluendo.com>
4446 * check/generic/states.c: (GST_START_TEST):
4447 Make sure all tasks are stopped.
4449 * check/gst/gstbin.c: (GST_START_TEST):
4450 Unref after usage for proper valgrinding.
4452 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4453 Really wait for the task to stop before destroying the
4456 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4457 (gst_queue_src_activate_push):
4458 Small cleanups. Don't stop the task when we did not start
4461 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4462 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4463 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4466 Protect the stream lock with the object lock.
4467 Disallow setting the stream lock when running.
4468 Add cleanup_all to wait for the threadpool to finish.
4469 Remove code to autoallocate a mutex if none was provided.
4470 Add _join() to wait for a task to stop.
4471 Protect the thread pool with a global lock.
4473 2005-08-24 Wim Taymans <wim@fluendo.com>
4475 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4476 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4477 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4478 * gst/base/gstbasesink.h:
4479 Handle newsegment events correctly.
4480 Drop buffers out of the segment range.
4482 2005-08-22 Andy Wingo <wingo@pobox.com>
4484 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4485 macro, implements an interface and gstimplementsinterface for a
4488 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4490 * check/Makefile.am:
4491 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4492 add a test that does a bunch of state changes on elements
4493 needs some fixing for valgrind
4494 * check/states/sinks.c: (gst_object_suite):
4497 add prototype for gst_caps_is_equal_fixed
4499 * gst/gstregistrypool.c:
4502 2005-08-24 Andy Wingo <wingo@pobox.com>
4504 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4505 convert a negative value. Doesn't make much sense. Mostly this is
4506 here to force callers to ensure -1 maps to -1.
4508 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4510 * docs/pwg/advanced-types.xml:
4511 Well done to Michael for catching my deliberate introduction
4512 of this spelling mistake.
4513 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4515 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4516 unlink pads before removing the element from the bin.
4518 2005-08-24 Andy Wingo <wingo@pobox.com>
4520 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4521 the same thing as GST_DEBUG=*:4.
4522 (parse_debug_level, parse_debug_category): New helper parsers.
4524 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4526 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4527 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4528 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4529 (gst_base_transform_buffer_alloc),
4530 (gst_base_transform_handle_buffer):
4531 use gboolean return values and pointers to size so we can use the
4532 full GST_BUFFER_SIZE range (guint) for buffer sizes
4533 use GstPadDirection for transform_caps
4534 * gst/base/gstbasetransform.h:
4535 rename get_size to get_unit_size since that's what it is
4536 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4537 use GstPadDirection for transform_caps
4538 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4540 cleanup and debugging
4542 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4544 * gst/gstelement.c: (gst_element_class_init),
4545 (gst_element_set_state), (activate_pads),
4546 (gst_element_save_thyself):
4547 * tools/gst-compprep.c: (main):
4548 * tools/gst-inspect.c: (print_element_properties_info):
4549 * tools/gst-xmlinspect.c: (print_element_properties):
4550 Fixed long standing mem-leak
4552 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4554 * check/gst/gstbin.c: (GST_START_TEST):
4555 * gst/gstbin.c: (bin_bus_handler):
4556 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4557 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4558 (gst_message_new_warning), (gst_message_new_tag),
4559 (gst_message_new_state_changed), (gst_message_new_segment_start),
4560 (gst_message_new_segment_done), (gst_message_new_custom):
4562 * tools/gst-launch.c: (event_loop):
4563 * tools/gst-md5sum.c: (event_loop):
4564 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4565 that applications can sensibly post custom messages with references
4566 to their own objects.
4568 2005-08-24 Andy Wingo <wingo@pobox.com>
4570 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4573 2005-08-24 Wim Taymans <wim@fluendo.com>
4575 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4576 (gst_base_transform_transform_caps),
4577 (gst_base_transform_transform_size),
4578 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4579 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4580 (gst_base_transform_handle_buffer):
4581 * gst/base/gstbasetransform.h:
4582 Many fixes and new features added by Thomas. Can now also do
4583 transforms with variable sizes and a custom fixate_caps function.
4585 2005-08-24 Wim Taymans <wim@fluendo.com>
4587 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4591 Cast to ClockTime before formatting to time.
4596 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4598 * check/gst-libs/controller.c: (GST_START_TEST),
4599 (gst_controller_suite):
4600 * docs/gst/tmpl/gstcaps.sgml:
4601 * docs/gst/tmpl/gstghostpad.sgml:
4602 * docs/gst/tmpl/gstquery.sgml:
4603 * docs/gst/tmpl/gstutils.sgml:
4604 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4605 (gst_object_sink_values), (gst_object_get_value_arrays),
4606 (gst_object_get_value_array):
4607 gracefully handle helper method calls to objects that are not beeing
4608 controlled, added test case for that
4610 2005-08-23 Wim Taymans <wim@fluendo.com>
4612 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4613 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4614 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4615 (gst_event_parse_qos), (gst_event_new_seek),
4616 (gst_event_parse_seek):
4618 Some more debugging output and doc cleanups.
4620 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4621 Fix possible deadlock.
4623 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4625 * docs/gst/gstreamer-docs.sgml:
4626 * docs/gst/gstreamer-sections.txt:
4627 * docs/gst/gstreamer.types:
4628 * docs/gst/tmpl/.cvsignore:
4633 added 100 symbols from gstreamer-unused.txt to the right sections
4634 fixed more broken comments
4635 added GstBus to docs
4637 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4639 * docs/gst/gstreamer-sections.txt:
4640 * docs/gst/tmpl/.cvsignore:
4641 * docs/gst/tmpl/gstbin.sgml:
4642 * docs/gst/tmpl/gstbuffer.sgml:
4643 * gst/base/gstbasesrc.c:
4644 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4647 * tools/gst-launch.1.in:
4648 inlined more doc comments, added missing comments and fixed comments
4651 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4653 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4657 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4659 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4660 * gst/gststructure.h:
4661 add a fixate function for booleans; add a FIXME that these func
4662 names should probably be gst_structure_fixate_*
4664 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4666 * docs/gst/gstreamer-docs.sgml:
4667 * docs/gst/gstreamer-sections.txt:
4669 * gst/gstbin.c: (gst_bin_get_type),
4670 (gst_bin_child_proxy_get_child_by_index),
4671 (gst_bin_child_proxy_get_children_count),
4672 (gst_bin_child_proxy_init):
4673 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4674 (gst_child_proxy_get_child_by_index),
4675 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4676 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4677 (gst_child_proxy_get), (gst_child_proxy_set_property),
4678 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4679 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4680 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4681 * gst/gstchildproxy.h:
4682 * gst/parse/grammar.y:
4683 * tools/gst-inspect.c: (print_interfaces),
4684 (print_element_properties_info), (print_element_info):
4685 ported gstchildproxy over from 0.8
4686 ported gst-inspect fixes and enhancements over from 0.8
4688 2005-08-22 Wim Taymans <wim@fluendo.com>
4690 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4691 (gst_base_transform_handle_buffer):
4692 Also call the transform function if we have ANY caps.
4694 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4697 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4699 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4700 Don't pretend to handle seek events if the source is not seekable
4702 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4704 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4705 Remove extra parameter to debug output
4707 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4708 (gst_base_src_do_seek), (gst_base_src_activate_push):
4709 Fix seek event handling.
4711 * gst/gstpipeline.c: (gst_pipeline_change_state):
4712 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4713 (gst_queue_src_activate_push):
4714 Don't start the src pad task on FLUSH_STOP if the pad
4718 2005-08-22 Wim Taymans <wim@fluendo.com>
4720 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4721 Added check for gst_static_caps_get() refcounting.
4723 2005-08-22 Wim Taymans <wim@fluendo.com>
4725 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4726 Make _static_caps_get() refcounting sane.
4728 * gst/gstelement.c: (gst_element_set_state):
4729 Add g_return_val_if_fail() to protect against segfaults.
4731 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4733 * docs/gst/tmpl/gstevent.sgml:
4736 inlined remaining docs, added missing doc comments
4738 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4740 * check/gst/gstbin.c: (GST_START_TEST):
4741 since we don't know when preroll is done, use refcount range
4743 * gst/check/gstcheck.h:
4744 add macro for checking refcount range
4746 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4748 * check/Makefile.am:
4749 clean up environment for when registry gets built versus
4750 when actual tests are run; valgrind seems to not report
4751 leaks if GST_PLUGIN_PATH is set to some specific values
4752 * check/gst/gstbin.c: (GST_START_TEST):
4753 add more refcounting checks; maybe this exposes a
4756 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4757 * gst/check/gstcheck.h:
4758 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4759 (gst_bin_change_state):
4760 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4761 add/fix debugging/whitespace
4763 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4765 * check/gst/gstevent.c: (event_probe), (test_event),
4767 Er, don't call gst_bin_watch_for_state_change you idiot.
4769 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4771 * check/Makefile.am:
4772 Use CHECK_CFLAGS and CHECK_LIBS
4773 * check/gst/gstevent.c: (event_probe), (test_event),
4776 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4777 (gst_base_src_start), (gst_base_src_stop),
4778 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4779 (gst_base_src_change_state):
4780 Sprinkle gst_base_src_stop liberally around error paths to fix
4781 problems reusing a source after failed state changes.
4782 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4783 (helper_find_suggest), (gst_type_find_helper):
4784 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4786 * docs/gst/tmpl/gstevent.sgml:
4787 Migrate part of the docs from the SGML file. Wait for ensonic to
4788 tell me how I did it wrong ;)
4789 * tools/gst-typefind.c: (main):
4790 Extra robustness to state changes between files.
4792 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4794 * check/Makefile.am:
4795 don't valgrind the controller test - it's leaking - Stefan, HELP
4796 * gst/check/gstcheck.c: (gst_check_message_error),
4797 (gst_check_chain_func), (gst_check_setup_element),
4798 (gst_check_teardown_element), (gst_check_setup_src_pad),
4799 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4800 (gst_check_teardown_sink_pad):
4801 * gst/check/gstcheck.h:
4802 add a bunch of methods to set up elements, and src and sink pads
4803 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4804 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4809 whitespace/doc fixes
4811 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4814 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4815 be handled by the application and not always printed as well
4817 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4819 * check/Makefile.am:
4821 * gst/check/gstcheck.c: (gst_check_message_error):
4822 * gst/check/gstcheck.h:
4823 add a fail_unless_equals_int
4824 add fail_unless for error messages
4826 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4828 * check/Makefile.am:
4830 * common/Makefile.am:
4833 factor out some of the common stuff so we can use it
4835 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4837 * check/Makefile.am:
4838 * check/gst/gstiterator.c: (GST_START_TEST):
4839 * check/gst/gstsystemclock.c: (GST_START_TEST),
4840 (gst_systemclock_suite):
4841 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4845 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4847 * check/elements/.cvsignore:
4848 * check/elements/gstfakesrc.c:
4849 rename to name of element
4850 * check/elements/identity.c: (chain_func), (event_func),
4851 (setup_identity), (cleanup_identity), (GST_START_TEST),
4852 (identity_suite), (main):
4853 add a test for identity
4854 * check/Makefile.am:
4855 * pkgconfig/Makefile.am:
4856 * pkgconfig/gstreamer-check.pc.in:
4857 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4861 move the check stuff to a library that gets installed
4862 * check/gst-libs/controller.c: (GST_START_TEST):
4863 * check/gst-libs/gdp.c:
4864 * check/gst/gst.c: (GST_START_TEST):
4865 * check/gst/gstbin.c:
4866 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4867 * check/gst/gstbus.c:
4868 * check/gst/gstcaps.c: (GST_START_TEST):
4869 * check/gst/gstelement.c:
4870 * check/gst/gstghostpad.c:
4871 * check/gst/gstiterator.c:
4872 * check/gst/gstmessage.c:
4873 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4874 * check/gst/gstobject.c:
4875 * check/gst/gstpad.c: (GST_START_TEST):
4876 * check/gst/gststructure.c: (GST_START_TEST):
4877 * check/gst/gstsystemclock.c: (GST_START_TEST),
4878 (gst_systemclock_suite):
4879 * check/gst/gsttag.c: (gst_tag_suite):
4880 * check/gst/gstvalue.c:
4881 * check/pipelines/cleanup.c:
4882 * check/pipelines/simple_launch_lines.c:
4883 * check/states/sinks.c:
4884 change include statement
4886 * docs/gst/gstreamer-sections.txt:
4887 * docs/gst/tmpl/gstpad.sgml:
4888 document more pad stuff
4889 * gst/gstminiobject.c: (gst_mini_object_ref),
4890 (gst_mini_object_unref):
4893 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4895 * docs/gst/tmpl/gst.sgml:
4897 eliminate another tmpl file, fix spelling in the long-description
4899 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4901 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4902 (test_event), (timediff), (gstevents_suite):
4903 Should fix build on 64-bit arch's
4905 2005-08-18 Andy Wingo <wingo@pobox.com>
4907 Make sure that when a pipeline goes to PLAYING, that data has
4908 actually hit the sink.
4910 * check/states/sinks.c (test_sink): A sink that doesn't get any
4911 data shouldn't return SUCCESS for going to either PLAYING or
4912 PAUSED. Test also the return values on the way back down.
4914 * gst/gstelement.c (gst_element_set_state): When changing the
4915 state of an element currently changing state asynchronously, go to
4916 lost-state after commiting the pending state. Makes future calls
4917 to get_state continue to return ASYNC.
4919 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
4920 ASYNC when going to PLAYING if we still don't have preroll, as can
4921 happen with live sources.
4923 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4925 * docs/pwg/advanced-types.xml:
4926 Hack long paragraph into 2 chunks as a workaround for buggy
4927 jadetex version in sid and breezy that loops infinitely and
4930 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4932 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4933 (test_event), (timediff), (gstevents_suite):
4934 Provide more error margin in clock measurements to allow for
4935 g_get_current_time inaccuracies.
4937 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4939 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4940 (test_event), (timediff), (gstevents_suite):
4941 Fix error message output so I might be able to tell why the
4942 test works here but fails on the build farm.
4944 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4946 * check/Makefile.am:
4947 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4948 (test_event), (timediff), (gstevents_suite), (main):
4951 * docs/design/part-seeking.txt:
4954 * docs/gst/tmpl/gstevent.sgml:
4955 * docs/gst/tmpl/gstfakesrc.sgml:
4958 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4959 Treat a buffer-without-newsegment the same as a receiving
4960 a newsegment not in time format, and disable syncing to the clock
4963 * gst/gstbus.c: (gst_bus_set_sync_handler):
4964 Assert if anyone tries to replace the existing sync_handler for bus,
4965 as only the owner should be setting it.
4968 Have a fixed set of custom event enums with events identified by
4969 their structure name (as in 0.8), rather than a free-for-all
4970 allowing collisions between enum values from different plugins.
4972 * gst/gstpad.c: (gst_pad_class_init):
4975 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4976 Handle out-of-band downstream events from the sending thread.
4978 2005-08-17 Andy Wingo <wingo@pobox.com>
4980 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
4981 play-timeout==0 to mean no timeout at all. In that case, don't
4982 bother with a get_state or a warning, just return directly, even
4985 * gst/base/gstbasetransform.c: Debug changes.
4988 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
4989 ensure bins post state change messages. A bit of a hack but I can't
4990 think of a way to avoid it.
4992 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
4994 2005-08-16 Andy Wingo <wingo@pobox.com>
4996 * gst/base/gstadapter.h:
4997 * gst/base/gstadapter.c (gst_adapter_take): New function, like
4998 peek() but you own the data. Not terribly efficient atm.
5000 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5002 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5003 (gst_element_found_tags):
5005 Add two utility functions for tag handling.
5007 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5009 * docs/manual/advanced-dataaccess.xml:
5010 * docs/manual/basics-helloworld.xml:
5011 Fix docs to use _bin_add() before _link(), which fixes the examples
5012 with recent core versions (reported by Madhan Raj M
5013 <raj_madan@rediffmail.com>, #313199).
5015 2005-08-16 Wim Taymans <wim@fluendo.com>
5017 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5018 Added subtract checks.
5020 * docs/design/part-events.txt:
5021 Some more docs about newsegment
5023 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5026 * gst/gstcaps.c: (gst_caps_to_string):
5027 Add comments, cleanups.
5029 * gst/gstelement.c: (gst_element_save_thyself):
5032 * gst/gstvalue.c: (gst_value_collect_int_range),
5033 (gst_string_unwrap), (gst_value_union_int_int_range),
5034 (gst_value_union_int_range_int_range),
5035 (gst_value_intersect_int_int_range),
5036 (gst_value_intersect_int_range_int_range),
5037 (gst_value_intersect_double_double_range),
5038 (gst_value_intersect_double_range_double_range),
5039 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5040 (gst_value_subtract_int_range_int),
5041 (gst_value_subtract_double_range_double),
5042 (gst_value_subtract_double_range_double_range),
5043 (gst_value_subtract_from_list), (gst_value_subtract_list),
5044 (gst_value_can_compare), (gst_value_compare_fraction):
5045 Cleanups, add comments, remove unneeded asserts.
5047 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5049 * tools/gst-launch.c: (event_loop):
5050 don't convert NULL structures to strings
5052 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5054 * docs/gst/gstreamer-sections.txt:
5055 made some defines private
5056 * docs/gst/tmpl/gstconfig.sgml:
5057 * docs/gst/tmpl/gstqueue.sgml:
5058 * docs/gst/tmpl/gsttaglist.sgml:
5059 * docs/gst/tmpl/gsttypes.sgml:
5060 * docs/gst/tmpl/gstutils.sgml:
5061 * docs/pwg/appendix-porting.xml:
5062 * gst/base/gstbasesink.h:
5063 * gst/base/gstbasesrc.c:
5064 * gst/base/gstbasesrc.h:
5065 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5066 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5067 * gst/gstelement.c: (gst_element_class_init):
5068 * gst/gstpad.c: (gst_pad_class_init):
5069 * gst/gstqueue.c: (gst_queue_class_init):
5070 * gst/gstxml.c: (gst_xml_class_init):
5071 documented all undocumented signal inline
5072 * libs/gst/controller/gst-controller.h:
5075 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5077 * docs/pwg/appendix-porting.xml:
5078 Document _set_link_function -> _set_setcaps_function.
5080 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5082 * check/Makefile.am:
5083 add a .check target for running the check
5084 * check/gst-libs/controller.c: (GST_START_TEST):
5086 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5087 complete checks for gstbuffer; would be nice if I could get the
5088 gcov stuff to work so I can see if I actually completed gstbuffer.c
5090 add ASSERT_BUFFER_REFCOUNT
5092 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5094 * docs/gst/gstreamer-sections.txt:
5095 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5097 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5098 spew out a warning if a tag that is already registered
5099 is re-registered, unless it is re-registered with a
5100 different type (#308438).
5102 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5104 * docs/pwg/appendix-porting.xml:
5105 * docs/pwg/building-state.xml:
5106 Add some paragraphs about state changes in 0.9 to the PWG
5107 and the porting guide, in particular about the new meaning
5108 of GST_STATE_PAUSED and how to write state change functions
5109 with concurrent access by multiple threads in mind.
5111 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5113 * docs/gst/gstreamer-docs.sgml:
5114 * docs/libs/gstreamer-libs-docs.sgml:
5115 added deprecation and since indexes
5116 * libs/gst/controller/gst-controller.c:
5117 * libs/gst/controller/gst-helper.c:
5121 2005-08-11 Wim Taymans <wim@fluendo.com>
5123 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5124 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5125 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5126 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5127 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5128 (gst_ghost_pad_set_target):
5129 Actually implement (re)setting the target on a ghostpad
5130 as described in the docs.
5132 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5134 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5135 Check whether GST_DEBUG_NO_COLOR environment variable is
5136 set and disable coloured debug output if that is the case.
5138 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5140 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5141 (gst_type_find_helper):
5142 The memory returned by gst_type_find_peek() needs to
5143 stay valid until the end of a typefind function, and
5144 typefind functions may keep results from different
5145 offsets around, so we can't just unref the buffer from
5146 the previous _peek(), but have to save all buffers
5147 returned by _peek() until typefinding is done and only
5150 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5152 * docs/gst/gstreamer-sections.txt:
5154 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5156 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5158 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5159 Fix a pretty good memleak.
5161 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5163 * gst/gstiterator.h:
5164 Fix wrong include and 'make distcheck'.
5166 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5168 * gst/gstbin.c: (bin_bus_handler):
5169 Use gst_element_post_message() instead.
5171 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5173 * gst/base/gstadapter.h:
5174 * gst/base/gstbasesink.h:
5175 * gst/base/gstbasesrc.h:
5176 * gst/base/gstbasetransform.h:
5177 * gst/base/gstcollectpads.h:
5178 * gst/base/gstpushsrc.h:
5179 * gst/gstiterator.h:
5180 Add padding to our base elements' class and instance structs and
5181 to GstIterator (you will need to rebuild all plugins and apps!)
5183 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5185 * gst/gstbin.c: (bin_bus_handler):
5186 Make default message forwarding from child->bus to bin->bus
5187 threadsafe and make it not emit warnings if the parent has no bus.
5189 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5191 * gst/gstelement.c: (activate_pads):
5192 On paused->ready, set pad->caps to NULL, as is the documented
5193 behaviour in this state change. Fixes playback of series of
5194 media files when visualization is enabled in Totem.
5196 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5198 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5199 Allow NULL as filter-caps (which means "any").
5201 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5203 * docs/libs/gstreamer-libs-sections.txt:
5204 * libs/gst/controller/gst-controller.c:
5205 * libs/gst/controller/gst-controller.h:
5206 * libs/gst/controller/gst-helper.c:
5207 adding more entries to the docs and fix small doc-bugs
5209 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5211 * docs/gst/gstreamer-docs.sgml:
5212 * docs/gst/gstreamer-sections.txt:
5213 * docs/gst/gstreamer.types:
5214 * docs/gst/tmpl/gstbasesink.sgml:
5215 * docs/gst/tmpl/gstbasesrc.sgml:
5216 * docs/gst/tmpl/gstbasetransform.sgml:
5217 * docs/gst/tmpl/gstfakesrc.sgml:
5218 * gst/base/gstcollectpads.c:
5219 * gst/base/gstcollectpads.h:
5220 * libs/gst/controller/gst-controller.c:
5221 * libs/gst/controller/gst-controller.h:
5222 * libs/gst/controller/gst-helper.c:
5223 * libs/gst/controller/gst-interpolation.c:
5224 * libs/gst/controller/lib.c:
5225 added long/short desc for controller docs
5226 added collectpads base class docs
5227 added correct includes to base-class docs
5229 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5231 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5232 (gst_test_mono_source_set_property),
5233 (gst_test_mono_source_class_init), (GST_START_TEST),
5234 (gst_controller_suite):
5235 * docs/gst/gstreamer-docs.sgml:
5236 * docs/gst/gstreamer-sections.txt:
5237 * docs/gst/gstreamer.types:
5238 * docs/libs/gstreamer-libs-docs.sgml:
5239 * docs/libs/gstreamer-libs-sections.txt:
5240 * gst/base/gstadapter.c:
5241 * libs/gst/controller/gst-controller.c:
5242 (gst_controlled_property_new), (gst_controlled_property_free),
5243 (gst_controller_new_valist),
5244 (gst_controller_remove_properties_valist),
5245 (gst_controller_sink_values), (_gst_controller_finalize):
5246 * libs/gst/controller/gst-controller.h:
5247 * libs/gst/controller/gst-helper.c:
5248 (gst_object_control_properties), (gst_object_uncontrol_properties),
5249 (gst_object_get_controller), (gst_object_set_controller),
5250 (gst_object_sink_values), (gst_object_get_value_arrays),
5251 (gst_object_get_value_array):
5252 more tests (and fixes) for the controller
5253 more docs for the controller
5254 integrated companies docs for the adapter
5256 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5258 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5259 (GST_START_TEST), (fakesrc_suite):
5260 add tests for sizetype
5262 2005-08-04 Andy Wingo <wingo@pobox.com>
5264 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5265 fixes buffer_alloc proxying among other things.
5267 * gst/base/gstbasetransform.c:
5268 * gst/base/gstbasetransform.h:
5269 Revert patch to gstbasetransform from 7-28 removing
5272 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5273 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5274 Semantics changed, should return not the size of the output buffer
5275 but the byte size of a buffer with a given caps.
5277 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5279 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5280 out) are not the pad caps until setcaps finishes.
5281 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5282 not-in-place case as well. Deal with changing from in-place to
5283 not-in-place within calling pad_alloc_buffer. Still a bit
5284 concerned about the overhead here...
5286 2005-08-03 Andy Wingo <wingo@pobox.com>
5288 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5289 fixating is an error.
5291 2005-08-04 Edward Hervey <edward@fluendo.com>
5293 * gst/base/gstadapter.h:
5294 Added gst_adapter_get_type() to the header
5296 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5298 * check/Makefile.am:
5299 * check/gst-libs/controller.c:
5300 * libs/gst/controller/gst-controller.c:
5301 (gst_controller_new_valist):
5302 added check test suite for the controller
5303 * gst/base/gstpushsrc.c:
5306 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5308 * docs/gst/Makefile.am:
5309 * docs/gst/gstreamer-docs.sgml:
5310 * docs/gst/gstreamer-sections.txt:
5311 * docs/gst/gstreamer.types:
5312 * docs/gst/tmpl/gstfakesrc.sgml:
5314 * gst/base/gstbasesink.c:
5315 * gst/base/gstbasesink.h:
5316 * gst/base/gstbasesrc.c:
5317 * gst/base/gstbasesrc.h:
5318 * gst/base/gstbasetransform.c:
5319 * gst/base/gstpushsrc.c:
5320 * gst/base/gstpushsrc.h:
5321 add short/long description docs to base classes
5322 add pushsrc to the docs
5323 remove consolidated doc fragments
5325 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5328 * docs/libs/Makefile.am:
5329 * docs/libs/gstreamer-libs-docs.sgml:
5330 * docs/libs/gstreamer-libs-sections.txt:
5331 * docs/libs/gstreamer-libs.types:
5332 * examples/Makefile.am:
5333 * examples/controller/.cvsignore:
5334 * examples/controller/Makefile.am:
5335 * examples/controller/audio-example.c: (main):
5336 * libs/gst/Makefile.am:
5337 * libs/gst/controller/.cvsignore:
5338 * libs/gst/controller/Makefile.am:
5339 * libs/gst/controller/gst-controller.c:
5340 (on_object_controlled_property_changed), (gst_timed_value_compare),
5341 (gst_timed_value_find),
5342 (gst_controlled_property_set_interpolation_mode),
5343 (gst_controlled_property_new), (gst_controlled_property_free),
5344 (gst_controller_find_controlled_property),
5345 (gst_controller_new_valist), (gst_controller_new),
5346 (gst_controller_remove_properties_valist),
5347 (gst_controller_remove_properties), (gst_controller_set),
5348 (gst_controller_set_from_list), (gst_controller_unset),
5349 (gst_controller_get), (gst_controller_get_all),
5350 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5351 (gst_controller_get_value_array),
5352 (gst_controller_set_interpolation_mode),
5353 (_gst_controller_finalize), (_gst_controller_init),
5354 (_gst_controller_class_init), (gst_controller_get_type):
5355 * libs/gst/controller/gst-controller.h:
5356 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5357 (g_object_uncontrol_properties), (g_object_get_controller),
5358 (g_object_set_controller), (g_object_sink_values),
5359 (g_object_get_value_arrays), (g_object_get_value_array):
5360 * libs/gst/controller/gst-interpolation.c:
5361 (gst_controlled_property_find_timed_value_node),
5362 (interpolate_none_get), (interpolate_trigger_get),
5363 (interpolate_trigger_get_value_array):
5364 * libs/gst/controller/lib.c: (gst_controller_init):
5365 * pkgconfig/Makefile.am:
5366 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5367 * pkgconfig/gstreamer-control.pc.in:
5368 * testsuite/Makefile.am:
5369 * testsuite/controller/.cvsignore:
5370 * testsuite/controller/Makefile.am:
5371 * testsuite/controller/interpolator.c: (main):
5372 added controller code
5373 removed dparam pc files
5375 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5376 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5377 (gst_collectpads_stop):
5378 Broadcast the condition when shutting down, to make sure we wake all
5379 threads up. Shut down pads on finalize, for safety.
5381 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5382 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5383 (gst_base_transform_handle_buffer),
5384 (gst_base_transform_change_state):
5385 Handle PAUSED->READY->PAUSED transition after negotiation
5387 * gst/gstmessage.c: (gst_message_init):
5388 Extra piece of debug for new messages.
5390 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5393 * docs/gst/tmpl/gstbasesrc.sgml:
5394 * docs/gst/tmpl/gstelement.sgml:
5395 * docs/gst/tmpl/gstevent.sgml:
5396 * docs/gst/tmpl/gstfakesrc.sgml:
5397 * docs/gst/tmpl/gstformat.sgml:
5398 * docs/gst/tmpl/gstghostpad.sgml:
5399 * docs/gst/tmpl/gstpad.sgml:
5400 * docs/gst/tmpl/gstquery.sgml:
5401 * docs/gst/tmpl/gststructure.sgml:
5402 * docs/gst/tmpl/gsttaglist.sgml:
5403 * docs/gst/tmpl/gstvalue.sgml:
5404 * docs/libs/gstreamer-libs-docs.sgml:
5405 * docs/libs/gstreamer-libs-sections.txt:
5406 * docs/libs/gstreamer-libs.types:
5407 * libs/gst/Makefile.am:
5408 * libs/gst/control/.cvsignore:
5409 * libs/gst/control/Makefile.am:
5410 * libs/gst/control/control.c:
5411 * libs/gst/control/control.h:
5412 * libs/gst/control/dparam.c:
5413 * libs/gst/control/dparam.h:
5414 * libs/gst/control/dparam_smooth.c:
5415 * libs/gst/control/dparam_smooth.h:
5416 * libs/gst/control/dparamcommon.h:
5417 * libs/gst/control/dparammanager.c:
5418 * libs/gst/control/dparammanager.h:
5419 * libs/gst/control/dplinearinterp.c:
5420 * libs/gst/control/dplinearinterp.h:
5421 * libs/gst/control/unitconvert.c:
5422 * libs/gst/control/unitconvert.h:
5423 * testsuite/Makefile.am:
5424 * testsuite/dynparams/.cvsignore:
5425 * testsuite/dynparams/Makefile.am:
5426 * testsuite/dynparams/dparamstest.c:
5427 * tools/Makefile.am:
5428 * tools/gst-inspect.c: (print_element_info), (main):
5429 * tools/gst-xmlinspect.c: (print_element_info), (main):
5430 deactivate and remove dparams (libgstcontrol)
5432 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5434 * gst/elements/gsttypefindelement.c:
5435 (gst_type_find_element_have_type), (gst_type_find_element_init),
5436 (stop_typefinding), (gst_type_find_element_handle_event),
5437 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5438 * gst/elements/gsttypefindelement.h:
5439 Set caps on all outgoing buffers, not just the first one.
5441 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5443 * gst/elements/gsttypefindelement.c:
5444 (gst_type_find_element_have_type),
5445 (gst_type_find_element_check_set_buffer_caps),
5446 (gst_type_find_element_init), (stop_typefinding),
5447 (gst_type_find_element_handle_event),
5448 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5449 * gst/elements/gsttypefindelement.h:
5450 Set caps on first outgoing buffer when we've found the type.
5452 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5454 * docs/gst/gstreamer-docs.sgml:
5455 * docs/gst/gstreamer-sections.txt:
5456 * docs/gst/tmpl/gstscheduler.sgml:
5457 * docs/gst/tmpl/gstschedulerfactory.sgml:
5458 Remove some old cruft from docs.
5460 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5463 Fix inline docs for GstPadLinkReturn.
5465 * gst/gststructure.c: (gst_structure_has_name):
5466 * gst/gststructure.h:
5467 * docs/gst/gstreamer-sections.txt:
5468 New API: gst_structure_has_name().
5470 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5473 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5474 and _LARGEFILE_SOURCE in config.h as required. Do not
5475 export those flags in our .pc files any longer (#142209).
5477 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5479 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5480 (gst_file_sink_do_seek), (gst_file_sink_event),
5481 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5482 Redo seek/tell calls with large file support in mind; add some
5483 debugging messages; add log message that tells us when large
5484 file support is unavailable or not enabled for some reason.
5486 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5487 Add log message that tells us when large file support
5488 is unavailable or not enabled for some reason.
5490 2005-07-29 Wim Taymans <wim@fluendo.com>
5492 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5493 Added test for removing an element with ghostpad from a bin.
5494 Fixed test as current implementation does the right thing.
5496 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5497 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5498 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5499 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5500 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5501 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5502 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5503 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5504 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5505 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5506 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5507 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5508 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5509 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5510 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5511 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5512 * gst/gstghostpad.h:
5513 Clean up ghostpads, remove properties for internal stuff.
5516 Prepare for switching targets, not all use cases work yet.
5518 2005-07-29 Wim Taymans <wim@fluendo.com>
5520 * docs/design/part-gstghostpad.txt:
5523 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5524 (gst_bin_remove_func):
5525 Unlinking pads while holding the bin LOCK is not a good
5528 * gst/gstpad.c: (gst_pad_class_init),
5529 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5530 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5531 No prob setting template after creating the pad.
5533 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5535 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5536 (gst_bus_peek), (gst_bus_source_dispatch),
5537 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5538 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5539 gst_bus_poll may be called from other threads. Handle
5540 this nicely by not making poll_data disappear off the
5541 stack once gst_bus_poll returns.
5542 gst_bus_peek now increments the refcount on the returned
5545 2005-07-29 Wim Taymans <wim@fluendo.com>
5547 * docs/design/part-gstghostpad.txt:
5548 Overview of current GhostPad datastructures and use
5549 cases for changing the target.
5551 2005-07-28 Wim Taymans <wim@fluendo.com>
5553 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5554 Added checks for hierarchy consistency whan adding linked
5557 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5558 Added check to test element scheduling without bin/pipeline.
5560 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5561 First add elements to bin, then link.
5563 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5564 (gst_bin_remove_func):
5565 Unlink pads from elements added/removed from bin to maintain
5566 hierarchy consistency.
5568 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5570 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5571 (gst_base_transform_handle_buffer):
5572 * gst/base/gstbasetransform.h:
5573 Remove broken delay_configure (fixes renegotiation of software
5574 scaling pipelines); remove some leftover printf()s.
5576 2005-07-28 Wim Taymans <wim@fluendo.com>
5578 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5579 Added some more tests for wrong hierarchy
5581 * docs/design/part-overview.txt:
5584 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5587 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5588 (gst_element_dispose):
5591 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5592 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5593 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5594 (gst_pad_set_caps), (gst_pad_send_event):
5595 Check for correct hierarchy when linking pads. Moving to
5596 strict requirement for ghostpads when linking elements in
5600 Clean ups. Added WRONG_HIERARCHY return value.
5602 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5604 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5605 Better debug if no transform is possible.
5607 2005-07-27 Wim Taymans <wim@fluendo.com>
5609 * docs/random/wtay/network-transp:
5612 2005-07-27 Wim Taymans <wim@fluendo.com>
5614 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5615 (gst_dp_event_from_packet):
5616 Fix serialization of seek events.
5618 2005-07-27 Wim Taymans <wim@fluendo.com>
5620 * check/gst-libs/gdp.c: (GST_START_TEST):
5621 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5622 Fix compilation and fix event serialization.
5624 2005-07-27 Wim Taymans <wim@fluendo.com>
5627 * docs/design/part-TODO.txt:
5628 * docs/design/part-events.txt:
5631 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5632 (gst_base_sink_event), (gst_base_sink_do_sync),
5633 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5634 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5635 (gst_base_src_do_seek), (gst_base_src_event_handler),
5636 (gst_base_src_loop):
5637 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5638 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5639 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5640 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5641 (gst_base_transform_set_passthrough),
5642 (gst_base_transform_is_passthrough):
5643 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5644 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5650 * gst/gstelement.c: (gst_element_seek):
5652 Update gst_element_seek.
5654 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5655 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5656 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5657 (gst_event_new_eos), (gst_event_new_newsegment),
5658 (gst_event_parse_newsegment), (gst_event_new_tag),
5659 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5660 (gst_event_parse_qos), (gst_event_new_seek),
5661 (gst_event_parse_seek), (gst_event_new_navigation):
5663 Make GstEvent use GstStructure. Add parsing code, make sure the
5664 API is sufficiently generic.
5665 Mark possible directions of events and serialization.
5667 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5668 (_gst_message_copy), (gst_message_new_segment_start),
5669 (gst_message_new_segment_done), (gst_message_new_custom),
5670 (gst_message_parse_segment_start),
5671 (gst_message_parse_segment_done):
5674 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5675 (gst_pad_set_caps), (gst_pad_send_event):
5676 Update for new events.
5677 Catch events sent in wrong directions.
5679 * gst/gstqueue.c: (gst_queue_link_src),
5680 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5681 (gst_queue_handle_src_query):
5686 Remove event code from this file.
5688 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5689 (gst_dp_event_from_packet):
5692 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5694 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5695 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5696 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5697 Make debugging actually useful.
5699 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5701 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5702 (gst_pad_fixate_caps):
5703 Implement default fixation once again, so that gst_pad_fixate()
5704 actually does anything at all. This probably needs to be some
5705 sort of a last resort, and use profile-based fixation first, but
5706 since that doesn't exist yet, this is the best we have. Fixes
5707 visualization in Totem.
5709 2005-07-22 Wim Taymans <wim@fluendo.com>
5711 * docs/design/part-events.txt:
5714 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5715 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5716 (gst_base_sink_activate_pull):
5719 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5720 (gst_fake_src_create):
5721 Fix handoff marshall.
5723 * gst/elements/gstidentity.c: (gst_identity_class_init),
5724 (gst_identity_transform_ip):
5725 We're a real inplace element.
5727 * gst/gstbus.c: (gst_bus_post):
5728 Added some comments.
5730 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5731 * tests/muxing/case1.c: (main):
5732 * tests/sched/dynamic-pipeline.c: (main):
5733 * tests/sched/interrupt1.c: (main):
5734 * tests/sched/interrupt2.c: (main):
5735 * tests/sched/interrupt3.c: (main):
5736 * tests/sched/runxml.c: (main):
5737 * tests/sched/sched-stress.c: (main):
5738 * tests/seeking/seeking1.c: (event_received), (main):
5739 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5741 * tests/threadstate/threadstate3.c: (main):
5742 * tests/threadstate/threadstate4.c: (main):
5743 * tests/threadstate/threadstate5.c: (main):
5746 2005-07-21 Wim Taymans <wim@fluendo.com>
5748 * docs/design/part-seeking.txt:
5749 Some small additions.
5751 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5752 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5753 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5754 * gst/base/gstbasesink.h:
5755 discont values are gint64, handle the math correctly.
5757 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5758 Make the basesrc report error if the source pad is not linked.
5760 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5761 (gst_queue_loop), (gst_queue_handle_src_query),
5762 (gst_queue_src_activate_push):
5763 Make queue collect data even if the srcpad is not linked.
5764 Start pushing out data as soon as it is linked.
5766 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5768 Added gst_flow_get_name() to ease error reporting.
5770 2005-07-20 Wim Taymans <wim@fluendo.com>
5772 * gst/gstmessage.c: (gst_message_new_segment_start),
5773 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5774 (gst_message_parse_segment_done):
5776 Added a bunch of messages for advanced seeking.
5778 * gst/parse/grammar.y:
5779 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5780 (gst_dpman_state_changed):
5781 Fix some new-pad -> pad-added signals
5783 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5785 * docs/manual/appendix-porting.xml:
5786 * docs/pwg/appendix-porting.xml:
5787 Document new-pad/state-change signal renames and the FixedList
5790 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5792 * docs/manual/advanced-autoplugging.xml:
5793 * docs/manual/basics-helloworld.xml:
5794 * docs/manual/basics-pads.xml:
5795 * docs/random/ds/0.9-suggested-changes:
5796 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5801 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5802 (gst_structure_parse_array), (gst_structure_parse_value):
5803 * gst/gstvalue.c: (gst_type_is_fixed),
5804 (gst_value_list_prepend_value), (gst_value_list_append_value),
5805 (gst_value_list_get_size), (gst_value_list_get_value),
5806 (gst_value_transform_array_string), (gst_value_serialize_array),
5807 (gst_value_deserialize_array), (gst_value_intersect_array),
5808 (gst_value_is_fixed), (_gst_value_initialize):
5810 GstElement::new-pad -> pad-added, GstElement::state-change ->
5811 state-changed, GstValueFixedList -> GstValueArray, add format and
5812 flags as their own arguments in gst_element_seek() (should improve
5813 "bindeability"), remove function generators since they don't work
5814 under a whole bunch of compilers (they were deprecated already
5817 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5819 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5820 (_gst_debug_register_funcptr):
5822 Fix illegal cast on some platforms (#309253).
5824 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5826 * gst/gstmessage.c: (gst_message_new_custom):
5828 Add _new_custom, make _new_application a macro to _new_custom.
5830 2005-07-20 Wim Taymans <wim@fluendo.com>
5832 * gst/base/gstbasesrc.c: (gst_base_src_init),
5833 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5834 * gst/base/gstbasesrc.h:
5835 Add a gboolean to decide when to push out a discont.
5837 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5838 (gst_queue_loop), (gst_queue_handle_src_query),
5839 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5840 (gst_queue_set_property), (gst_queue_get_property):
5843 * tests/threadstate/threadstate1.c: (main):
5844 Make a thread test compile and run... very silly..
5847 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5849 * docs/manual/appendix-porting.xml:
5850 Mention removal of libgstgconf-0.9.la and existence of gconf
5853 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5855 * docs/pwg/advanced-clock.xml:
5856 * docs/pwg/appendix-porting.xml:
5857 * docs/pwg/intro-preface.xml:
5858 * docs/pwg/other-base.xml:
5859 * docs/pwg/other-manager.xml:
5860 * docs/pwg/other-nton.xml:
5861 * docs/pwg/other-ntoone.xml:
5862 * docs/pwg/other-oneton.xml:
5864 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5865 demuxer), remove n-to-n (was never written), fix some code examples
5866 and links and update the porting section to include all this.
5868 2005-07-19 Wim Taymans <wim@fluendo.com>
5870 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5871 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5872 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5873 (gst_queue_src_activate_push), (gst_queue_change_state),
5874 (gst_queue_get_property):
5876 Propagate GstFlowReturn more intelligently upstream and output
5877 an ERROR/EOS when streaming stopped due to fatal error.
5879 2005-07-19 Wim Taymans <wim@fluendo.com>
5881 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5882 Don't block forever for the state change to complete, the
5883 pipeline already did with a sensible timeout.
5885 2005-07-19 Wim Taymans <wim@fluendo.com>
5887 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5888 Make sure we never call the create function is we
5891 2005-07-19 Andy Wingo <wingo@pobox.com>
5893 * gst/parse/parse.l: Attempt to solve bug #172815.
5895 2005-07-19 Wim Taymans <wim@fluendo.com>
5897 * docs/design/part-clocks.txt:
5898 * docs/design/part-events.txt:
5899 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5901 Only update the seeking values when we are not
5904 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5906 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5907 Oops, ignore the result of gst_pad_push_event here.
5909 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5911 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5912 (gst_base_src_activate_push):
5913 Send discont event from the loop function, as pads
5914 aren't activated yet in the activate_push handler.
5916 * gst/gstbin.c: (bin_bus_handler):
5917 Don't leak element name.
5919 2005-07-18 Andy Wingo <wingo@pobox.com>
5921 * configure.ac: Use AS_LIBTOOL_TAGS.
5923 2005-07-18 Wim Taymans <wim@fluendo.com>
5925 * docs/gst/gstreamer.types:
5926 Remove deleted types.
5928 2005-07-18 Wim Taymans <wim@fluendo.com>
5930 * check/elements/gstfakesrc.c: (GST_START_TEST):
5933 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
5934 (init_popt_callback):
5936 * gst/gst_private.h:
5937 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
5938 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
5941 * gst/gstconfig.h.in:
5942 * gst/gstelement.c: (gst_element_class_init),
5943 (gst_element_set_base_time), (gst_element_get_base_time),
5944 (iterator_fold_with_resync), (gst_element_change_state),
5945 (gst_element_dispose), (gst_element_get_bus):
5947 * gst/gstelementfactory.h:
5948 * gst/gsterror.c: (_gst_core_errors_init):
5951 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5953 * gst/gstinfo.c: (_gst_debug_init):
5954 * gst/gstmessage.c: (_gst_message_copy):
5956 * gst/gstminiobject.h:
5959 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5960 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
5963 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5964 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5965 (gst_pipeline_get_last_stream_time):
5966 * gst/gstpipeline.h:
5967 * gst/gstpluginfeature.h:
5969 * gst/gstscheduler.c:
5970 * gst/gstscheduler.h:
5971 * gst/gststructure.h:
5972 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
5973 (gst_task_finalize), (gst_task_func), (gst_task_create),
5974 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
5975 (gst_task_stop), (gst_task_pause):
5977 * gst/gsttypefind.h:
5979 * gst/registries/gstlibxmlregistry.c: (load_feature),
5980 (gst_xml_registry_load), (gst_xml_registry_save_feature):
5981 * gst/registries/gstxmlregistry.c:
5982 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
5983 * gst/schedulers/threadscheduler.c:
5984 * libs/gst/control/dparammanager.h:
5985 * tools/gst-inspect.c: (print_element_list),
5986 (print_plugin_features), (print_element_features):
5987 * tools/gst-xmlinspect.c: (print_element_list),
5988 (print_plugin_info), (main):
5989 Removed plugable schedulers.
5990 Removed Scheduler/Manager from elements.
5991 Removed gsttypes.h, rearranged includes.
5992 Removed dependency pad<->element, element<>pipeline, and
5993 various others, fix includes.
5994 implement gst_pad_get_parent() with gst_object_get_parent()
5995 Make GstTask sefcontained.
5996 Fix _get_state() on GstBin, it did not return ASYNC with a 0
5998 Fix endless loop in iterator_fold_with_resync.
6001 2005-07-18 Wim Taymans <wim@fluendo.com>
6007 2005-07-18 Wim Taymans <wim@fluendo.com>
6012 2005-07-18 Wim Taymans <wim@fluendo.com>
6018 2005-07-18 Wim Taymans <wim@fluendo.com>
6020 * docs/design/part-dynamic.txt:
6021 * docs/design/part-events.txt:
6022 * docs/design/part-seeking.txt:
6023 Some more docs in the works.
6025 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6026 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6027 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6028 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6029 (gst_base_transform_handle_buffer),
6030 (gst_base_transform_sink_activate_push),
6031 (gst_base_transform_src_activate_pull),
6032 (gst_base_transform_set_passthrough),
6033 (gst_base_transform_is_passthrough):
6036 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6039 * gst/gstevent.c: (gst_event_finalize):
6042 * gst/gstutils.c: (gst_element_unlink),
6043 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6044 (gst_pad_proxy_setcaps):
6046 Add _get_parent_element() to get a pads parent as an element.
6048 2005-07-18 Wim Taymans <wim@fluendo.com>
6050 * check/gst/gstbin.c: (GST_START_TEST):
6053 2005-07-18 Wim Taymans <wim@fluendo.com>
6055 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6056 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6057 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6058 (gst_base_sink_event), (gst_base_sink_do_sync),
6059 (gst_base_sink_chain), (gst_base_sink_loop),
6060 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6061 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6063 Fix logic for returning ASYNC when not prerolled.
6065 2005-07-18 Wim Taymans <wim@fluendo.com>
6067 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6068 Fix nasty refcount bug.
6070 2005-07-16 Philippe Khalaf <burger@speedy.org>
6072 * gst/elements/gstfdsrc.c:
6073 * gst/elements/gstfdsrc.h:
6074 * gst/elements/gstelements.c:
6075 * gst/elements/Makefile.am:
6076 Ported fdsrc to 0.9.
6078 2005-07-16 Wim Taymans <wim@fluendo.com>
6080 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6081 (gst_base_sink_do_sync):
6084 2005-07-16 Wim Taymans <wim@fluendo.com>
6086 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6087 (gst_base_sink_event), (gst_base_sink_get_times),
6088 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6089 * gst/base/gstbasesink.h:
6090 Store and use discont values when syncing buffers as described
6093 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6094 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6095 (gst_base_src_activate_push):
6096 Push discont event when starting.
6098 * gst/elements/gstidentity.c: (gst_identity_transform):
6101 * gst/gstbin.c: (gst_bin_change_state):
6102 Small cleanups in base_time distribution.
6104 * gst/gstelement.c: (gst_element_set_base_time),
6105 (gst_element_get_base_time), (gst_element_change_state):
6107 Added methods for the base_time of the element.
6110 * gst/gstpipeline.c: (gst_pipeline_send_event),
6111 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6112 (gst_pipeline_get_last_stream_time):
6113 * gst/gstpipeline.h:
6115 Handle seeking as described in design doc, remove stream_time
6117 Cleanups clock and stream_time selection code. Added accessors
6118 for the stream_time.
6121 2005-07-16 Andy Wingo <wingo@pobox.com>
6123 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6126 2005-07-16 Wim Taymans <wim@fluendo.com>
6128 * check/gst/gstbin.c: (GST_START_TEST):
6129 Make elements silent as the deep_notify refs the
6130 parent, which might make the test fail.
6132 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6133 Don't hold the lock for too long.
6135 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6137 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6138 Don't unref the caps we passed to gst_caps_make_writable() after
6139 passing them. gst_caps_make_writable() will do that for us.
6141 2005-07-15 Andy Wingo <wingo@pobox.com>
6143 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6146 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6147 own marshalling function for the handoff signal. Properly type the
6148 buffer as a buffer. Fixes some warnings. Should do a more general
6150 (gst_identity_class_init): Plug into the right marshaller.
6152 2005-07-15 Wim Taymans <wim@fluendo.com>
6154 * docs/design/part-TODO.txt:
6155 * docs/design/part-clocks.txt:
6156 * docs/design/part-element-sink.txt:
6157 * docs/design/part-events.txt:
6158 * docs/design/part-gstpipeline.txt:
6159 Updated docs, mostly DISCONT related.
6161 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6163 * docs/pwg/building-pads.xml:
6164 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6166 2005-07-15 Andy Wingo <wingo@pobox.com>
6168 * tools/gst-typefind.c: Update, add copyright block.
6170 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6171 Normalize and truncate caps before fixation.
6174 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6175 discards all but the first structure from its argument.
6177 2005-07-15 Wim Taymans <wim@fluendo.com>
6179 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6180 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6181 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6182 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6183 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6184 (gst_base_transform_chain), (gst_base_transform_change_state),
6185 (gst_base_transform_set_passthrough),
6186 (gst_base_transform_is_passthrough):
6187 * gst/base/gstbasetransform.h:
6188 Make passthrough work using the bufferpools.
6189 Changed API a bit, subclasses have to write into a buffer
6190 provided by the base class.
6191 More debug info in nego functions.
6193 * gst/elements/gstidentity.c: (gst_identity_init),
6194 (gst_identity_transform):
6195 Port to new base class.
6197 2005-07-15 Wim Taymans <wim@fluendo.com>
6199 * gst/gstmessage.c: (gst_message_new_state_changed):
6200 * tools/gst-launch.c: (event_loop), (main):
6201 Totally dump messages in -launch with the -m option.
6202 Fix message name for State messages,
6204 2005-07-14 Wim Taymans <wim@fluendo.com>
6206 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6207 Post error messages on errors.
6209 2005-07-14 Wim Taymans <wim@fluendo.com>
6211 * gst/gstcaps.c: (gst_caps_do_simplify):
6215 Define error for stream stopped.
6217 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6218 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6219 Do proper return values.
6221 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6222 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6223 (gst_pad_get_range):
6224 Better return values.
6227 Reorganise return values, add macro to check for fatal errors.
6229 * gst/gstqueue.c: (gst_queue_chain):
6230 Return proper GstFlowReturn values,
6232 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6234 * docs/gst/gstreamer-sections.txt:
6235 * docs/gst/gstreamer.types:
6236 * docs/gst/tmpl/gst.sgml:
6237 * docs/gst/tmpl/gstbasesink.sgml:
6238 * docs/gst/tmpl/gstbasesrc.sgml:
6239 * docs/gst/tmpl/gstbasetransform.sgml:
6240 * docs/gst/tmpl/gstbin.sgml:
6241 * docs/gst/tmpl/gstbuffer.sgml:
6242 * docs/gst/tmpl/gstcaps.sgml:
6243 * docs/gst/tmpl/gstclock.sgml:
6244 * docs/gst/tmpl/gstcompat.sgml:
6245 * docs/gst/tmpl/gstconfig.sgml:
6246 * docs/gst/tmpl/gstelement.sgml:
6247 * docs/gst/tmpl/gstelementdetails.sgml:
6248 * docs/gst/tmpl/gstelementfactory.sgml:
6249 * docs/gst/tmpl/gstenumtypes.sgml:
6250 * docs/gst/tmpl/gsterror.sgml:
6251 * docs/gst/tmpl/gstevent.sgml:
6252 * docs/gst/tmpl/gstfakesink.sgml:
6253 * docs/gst/tmpl/gstfakesrc.sgml:
6254 * docs/gst/tmpl/gstfilesink.sgml:
6255 * docs/gst/tmpl/gstfilesrc.sgml:
6256 * docs/gst/tmpl/gstfilter.sgml:
6257 * docs/gst/tmpl/gstformat.sgml:
6258 * docs/gst/tmpl/gstghostpad.sgml:
6259 * docs/gst/tmpl/gstimplementsinterface.sgml:
6260 * docs/gst/tmpl/gstindex.sgml:
6261 * docs/gst/tmpl/gstindexfactory.sgml:
6262 * docs/gst/tmpl/gstinfo.sgml:
6263 * docs/gst/tmpl/gstiterator.sgml:
6264 * docs/gst/tmpl/gstmacros.sgml:
6265 * docs/gst/tmpl/gstmemchunk.sgml:
6266 * docs/gst/tmpl/gstminiobject.sgml:
6267 * docs/gst/tmpl/gstobject.sgml:
6268 * docs/gst/tmpl/gstpad.sgml:
6269 * docs/gst/tmpl/gstpadtemplate.sgml:
6270 * docs/gst/tmpl/gstparse.sgml:
6271 * docs/gst/tmpl/gstpipeline.sgml:
6272 * docs/gst/tmpl/gstplugin.sgml:
6273 * docs/gst/tmpl/gstpluginfeature.sgml:
6274 * docs/gst/tmpl/gstquery.sgml:
6275 * docs/gst/tmpl/gstqueue.sgml:
6276 * docs/gst/tmpl/gstregistry.sgml:
6277 * docs/gst/tmpl/gstregistrypool.sgml:
6278 * docs/gst/tmpl/gstscheduler.sgml:
6279 * docs/gst/tmpl/gstschedulerfactory.sgml:
6280 * docs/gst/tmpl/gststructure.sgml:
6281 * docs/gst/tmpl/gstsystemclock.sgml:
6282 * docs/gst/tmpl/gsttaglist.sgml:
6283 * docs/gst/tmpl/gsttagsetter.sgml:
6284 * docs/gst/tmpl/gsttrace.sgml:
6285 * docs/gst/tmpl/gsttrashstack.sgml:
6286 * docs/gst/tmpl/gsttypefind.sgml:
6287 * docs/gst/tmpl/gsttypefindfactory.sgml:
6288 * docs/gst/tmpl/gsttypes.sgml:
6289 * docs/gst/tmpl/gsturihandler.sgml:
6290 * docs/gst/tmpl/gsturitype.sgml:
6291 * docs/gst/tmpl/gstutils.sgml:
6292 * docs/gst/tmpl/gstvalue.sgml:
6293 * docs/gst/tmpl/gstversion.sgml:
6294 * docs/gst/tmpl/gstxml.sgml:
6295 * docs/libs/tmpl/gstcontrol.sgml:
6296 * docs/libs/tmpl/gstdataprotocol.sgml:
6297 * docs/libs/tmpl/gstdparam.sgml:
6298 * docs/libs/tmpl/gstdplinint.sgml:
6299 * docs/libs/tmpl/gstdpman.sgml:
6300 * docs/libs/tmpl/gstdpsmooth.sgml:
6301 * docs/libs/tmpl/gstgetbits.sgml:
6302 * docs/libs/tmpl/gstunitconvert.sgml:
6303 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6304 (gst_push_src_base_init), (gst_push_src_class_init),
6305 (gst_push_src_init), (gst_push_src_create):
6306 * gst/base/gstpushsrc.h:
6307 * gst/elements/gstelements.c:
6308 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6309 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6310 (gst_fake_sink_init), (gst_fake_sink_set_property),
6311 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6312 (gst_fake_sink_event), (gst_fake_sink_preroll),
6313 (gst_fake_sink_render), (gst_fake_sink_change_state):
6314 * gst/elements/gstfakesink.h:
6315 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6316 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6317 (gst_fake_src_base_init), (gst_fake_src_class_init),
6318 (gst_fake_src_init), (gst_fake_src_event_handler),
6319 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6320 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6321 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6322 (gst_fake_src_create_buffer), (gst_fake_src_create),
6323 (gst_fake_src_start), (gst_fake_src_stop):
6324 * gst/elements/gstfakesrc.h:
6325 * gst/elements/gstfilesink.c: (_do_init),
6326 (gst_file_sink_base_init), (gst_file_sink_class_init),
6327 (gst_file_sink_init), (gst_file_sink_dispose),
6328 (gst_file_sink_set_location), (gst_file_sink_set_property),
6329 (gst_file_sink_get_property), (gst_file_sink_open_file),
6330 (gst_file_sink_close_file), (gst_file_sink_query),
6331 (gst_file_sink_event), (gst_file_sink_render),
6332 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6333 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6334 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6335 * gst/elements/gstfilesink.h:
6336 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6337 (gst_file_src_class_init), (gst_file_src_init),
6338 (gst_file_src_finalize), (gst_file_src_set_location),
6339 (gst_file_src_set_property), (gst_file_src_get_property),
6340 (gst_file_src_map_region), (gst_file_src_map_small_region),
6341 (gst_file_src_create_mmap), (gst_file_src_create_read),
6342 (gst_file_src_create), (gst_file_src_is_seekable),
6343 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6344 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6345 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6346 (gst_file_src_uri_handler_init):
6347 * gst/elements/gstfilesrc.h:
6348 more autistic cleanliness in functions/names/defines
6350 2005-07-13 Andy Wingo <wingo@pobox.com>
6352 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6353 source couldn't negotiate.
6355 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6359 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6360 function. I am channeling Hades. Put your boots on suckers!!!
6362 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6364 * testsuite/caps/Makefile.am:
6365 * testsuite/caps/value_compare.c:
6366 * testsuite/caps/value_intersect.c:
6367 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6368 move two testsuite apps over to the check dir
6370 2005-07-12 Wim Taymans <wim@fluendo.com>
6372 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6373 Added more debug info in the negotiate process.
6376 Prepare for segment playback.
6378 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6384 * tools/gst-launch.c: (main):
6385 NULL pipeline on errors.
6387 2005-07-12 Andy Wingo <wingo@pobox.com>
6389 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6390 not it comes from a malloc region. Make sure our copy gets freed.
6392 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6394 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6395 * check/gst/gstmessage.c: (GST_START_TEST):
6396 * check/gst/gststructure.c: (GST_START_TEST),
6397 (gst_structure_suite), (main):
6399 * gst/gstelement.c: (gst_element_message_full):
6400 clean up GError and debug string now that they get copied
6401 * gst/gstmessage.c: (gst_message_new_error),
6402 (gst_message_new_warning), (gst_message_parse_error),
6403 (gst_message_parse_warning):
6404 use GST_TYPE_G_ERROR for structure_new, and take copies of
6405 arguments, so that we don't mess up refcounting
6407 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6409 * check/Makefile.am:
6410 add per-test valgrind targets
6411 * check/gst-libs/gdp.c: (GST_START_TEST),
6412 (gst_data_protocol_suite), (main):
6415 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6417 * check/Makefile.am:
6418 instate more valgrindable tests
6419 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6420 (GST_START_TEST), (fakesrc_suite):
6421 * check/gst/gstpad.c: (GST_START_TEST):
6422 * check/gst/gststructure.c: (GST_START_TEST):
6424 * docs/gst/tmpl/gstminiobject.sgml:
6425 * gst/gstpad.c: (gst_pad_finalize):
6426 fix the static mutex leak
6428 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6430 * check/Makefile.am:
6431 add two more tests for valgrinding
6432 * check/gst/gstvalue.c: (GST_START_TEST):
6433 test refcount of deserialized buffer, found a leak
6434 * docs/gst/gstreamer-docs.sgml:
6435 * docs/gst/gstreamer-sections.txt:
6436 * docs/gst/gstreamer.types:
6437 * docs/gst/tmpl/gstminiobject.sgml:
6438 add miniobject to docs
6439 * gst/gstminiobject.c:
6441 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6442 (gst_string_unwrap):
6443 fix a hard-to-find invalid write for one of the tests
6444 fix a leak for deserialized buffers
6446 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6448 * docs/pwg/advanced-events.xml:
6449 * docs/pwg/advanced-request.xml:
6450 * docs/pwg/advanced-scheduling.xml:
6451 * docs/pwg/appendix-porting.xml:
6452 * docs/pwg/building-boiler.xml:
6453 * docs/pwg/intro-preface.xml:
6454 * docs/pwg/other-ntoone.xml:
6455 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6456 of example code and explanation for pad activation, loop() and
6457 getrange() functions and a bit more. Remove old comments pointing
6459 * examples/pwg/Makefile.am:
6460 Add loop/getrange examples.
6462 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6465 check for valgrind binary + some fixes
6467 valgrind suppressions for the tests
6468 * check/Makefile.am:
6469 add a valgrind: target that valgrinds the unit tests
6470 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6471 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6472 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6473 * check/gst/gstghostpad.c:
6475 * check/gst/gstdata.c:
6477 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6478 (thread_unref), (gst_mini_object_suite), (main):
6480 * gst/gst.c: (gst_deinit):
6482 add a method to clean up.
6483 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6484 (gst_system_clock_obtain):
6485 allow for disposing the system clock.
6486 * tools/gst-launch.c: (main):
6489 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6491 * docs/gst/tmpl/gstbasesrc.sgml:
6492 * docs/gst/tmpl/gstfakesrc.sgml:
6493 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6494 (gst_base_src_init), (gst_base_src_set_property),
6495 (gst_base_src_get_property), (gst_base_src_get_range),
6496 (gst_base_src_start):
6497 * gst/base/gstbasesrc.h:
6498 add num-buffers property
6499 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6500 (gst_fakesrc_init), (gst_fakesrc_set_property),
6501 (gst_fakesrc_get_property), (gst_fakesrc_create),
6502 (gst_fakesrc_start):
6503 remove num-buffers property
6505 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6507 * docs/gst/gstreamer-sections.txt:
6508 * docs/gst/tmpl/gstbasesink.sgml:
6509 * docs/gst/tmpl/gstbasesrc.sgml:
6510 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6511 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6512 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6513 (gst_base_sink_set_property), (gst_base_sink_get_property),
6514 (gst_base_sink_handle_object), (gst_base_sink_event),
6515 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6516 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6517 (gst_base_sink_loop), (gst_base_sink_deactivate),
6518 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6519 (gst_base_sink_change_state):
6520 * gst/base/gstbasesink.h:
6521 * gst/base/gstbasesrc.h:
6522 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6523 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6524 (gst_filesink_init):
6525 more macro splitting
6527 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6529 * gst/gstelement.c: (gst_element_get_bus):
6531 * tools/gst-launch.c: (check_intr), (event_loop):
6534 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6536 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6539 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6541 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6542 (gst_base_src_finalize):
6543 add finalize method and clean up properly
6544 * gst/gstpipeline.c: (gst_pipeline_dispose):
6547 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6549 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6551 add more things to check
6552 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6556 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6558 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6559 (GST_START_TEST), (fakesrc_suite):
6560 * check/gst-libs/gdp.c: (GST_START_TEST):
6561 * check/gst/gst.c: (GST_START_TEST):
6562 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6563 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6564 * check/gst/gstbus.c: (GST_START_TEST):
6565 * check/gst/gstcaps.c: (GST_START_TEST):
6566 * check/gst/gstdata.c: (GST_START_TEST):
6567 * check/gst/gstelement.c: (GST_START_TEST):
6568 * check/gst/gstghostpad.c: (GST_START_TEST):
6569 * check/gst/gstiterator.c: (GST_START_TEST):
6570 * check/gst/gstmessage.c: (GST_START_TEST):
6571 * check/gst/gstobject.c: (GST_START_TEST):
6572 * check/gst/gstpad.c: (GST_START_TEST):
6573 * check/gst/gststructure.c: (GST_START_TEST):
6574 * check/gst/gstsystemclock.c: (GST_START_TEST),
6575 (gst_systemclock_suite):
6576 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6577 * check/gst/gstvalue.c: (GST_START_TEST):
6578 * check/pipelines/cleanup.c: (GST_START_TEST):
6579 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6580 * check/states/sinks.c: (GST_START_TEST):
6581 * check/gstcheck.c: (gst_check_init):
6583 add debugging category
6584 use GST_START_TEST now, so we add a debug line
6586 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6588 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6589 add test for state change message on a bin
6590 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6592 * gst/gstbin.c: (gst_bin_init):
6593 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6594 * gst/gstelement.c: (gst_element_post_message),
6595 (gst_element_set_state):
6596 * gst/gstelementfactory.c: (gst_element_factory_create):
6597 * gst/gstmessage.c: (gst_message_new):
6598 * gst/gstscheduler.c:
6599 various debugging additions and cleanups
6601 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6603 * check/Makefile.am:
6604 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6606 adding tests for elements
6607 * gst/gstelement.c: (gst_element_dispose):
6609 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6611 * gst/registries/gstlibxmlregistry.c: (load_feature):
6612 plug more leaks. A simple gst_init() now is leakfree, yay.
6614 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6616 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6617 (gst_xml_registry_load):
6618 plug another memleak
6620 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6623 use GST_SET_ERROR_CFLAGS
6625 change to ERROR_CFLAGS
6627 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6630 make GST_ERROR_CFLAGS overridable and re-enable Werror
6632 add a note about error CFLAGS
6633 * docs/gst/tmpl/gstfakesrc.sgml:
6634 * gst/elements/gstfakesrc.c:
6635 comment out some unused code
6636 * gst/gst.c: (split_and_iterate):
6637 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6641 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6643 * common/Makefile.am:
6644 * common/gtk-doc.mak:
6645 * docs/gst/Makefile.am:
6646 factor out gtk-doc.mak
6648 2005-07-07 Wim Taymans <wim@fluendo.com>
6650 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6651 (gst_thread_scheduler_dispose):
6652 Unlock the STREAM_LOCK completely.
6654 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6656 * check/Makefile.am:
6657 * check/elements/.cvsignore:
6658 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6659 (START_TEST), (fakesrc_suite), (main):
6660 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6661 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6662 (gst_fakesrc_create), (gst_fakesrc_start):
6663 * gst/elements/gstfakesrc.h:
6664 adding a first element test
6666 2005-07-07 Andy Wingo <wingo@pobox.com>
6668 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6671 2005-07-07 Wim Taymans <wim@fluendo.com>
6677 2005-07-07 Wim Taymans <wim@fluendo.com>
6679 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6680 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6681 Allow subclasses to implement their own negotiation.
6683 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6685 * docs/design/part-gstbin.txt:
6686 * docs/design/part-gstpipeline.txt:
6687 Update design notes to reflect the movement of
6688 responsibility for bus handling from GstPipeline to
6691 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6694 Remove unnecessary queue2/3/4 examples.
6696 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6698 * examples/Makefile.am:
6699 * examples/helloworld/helloworld.c: (event_loop), (main):
6700 * examples/queue/queue.c: (event_loop), (main):
6701 * examples/queue2/queue2.c: (main):
6702 Update a couple of the examples to work again.
6704 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6705 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6706 Spelling corrections and extra debug.
6708 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6709 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6710 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6712 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6713 (gst_pipeline_change_state):
6714 * gst/gstpipeline.h:
6715 Move the bus handler for children to the GstBin, and create a
6716 separate bus for receiving messages from children to the one the
6717 bus sends 'upwards' on.
6719 2005-07-06 Wim Taymans <wim@fluendo.com>
6722 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6723 (gst_base_sink_handle_object), (gst_base_sink_loop),
6724 (gst_base_sink_change_state):
6725 * gst/base/gstbasesink.h:
6726 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6727 (gst_base_src_init), (gst_base_src_setcaps),
6728 (gst_base_src_getcaps), (gst_base_src_loop),
6729 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6730 (gst_base_src_start), (gst_base_src_change_state):
6731 * gst/base/gstbasesrc.h:
6732 Make basesrc negotiate.
6733 Handle the case where preroll fails in basesink.
6736 2005-07-06 Wim Taymans <wim@fluendo.com>
6738 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6739 Implement the fixate function.
6740 Clean up acceptcaps.
6742 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6744 * docs/pwg/building-filterfactory.xml:
6746 Remove never-written filter-factory chapter; I'll add the various
6747 base classes to part 4 ("other element types") later on.
6749 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6751 * docs/pwg/advanced-negotiation.xml:
6752 * docs/pwg/building-boiler.xml:
6753 * docs/pwg/building-pads.xml:
6755 * examples/pwg/Makefile.am:
6756 Add a chapter on caps negotiation, simplify the original code
6757 samples a bit w.r.t. caps negotiation, add link to the advanced
6758 section. Add a bunch of examples showing different use cases of
6759 different types of caps negotiation. Upstream renegotiation isn't
6760 fully documented yet since nobody knows how that works.
6762 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6764 * check/gst/gstpad.c:
6766 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6767 if pad has no parent, return NULL as list of internal links
6769 2005-07-05 Andy Wingo <wingo@pobox.com>
6771 * gst/elements/gstfilesrc.c:
6772 * gst/elements/gstfakesrc.c:
6773 * gst/base/gstpushsrc.c:
6774 * gst/base/gstbasesrc.h:
6775 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6777 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6780 better report generation target (lcov needs a patch)
6782 2005-07-05 Andy Wingo <wingo@pobox.com>
6784 * gst/elements, testsuite: Null if we got it...
6786 2005-07-05 Wim Taymans <wim@fluendo.com>
6789 * libs/gst/dataprotocol/Makefile.am:
6790 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6791 * libs/gst/dataprotocol/dataprotocol.h:
6792 * pkgconfig/Makefile.am:
6793 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6794 * pkgconfig/gstreamer-dataprotocol.pc.in:
6795 Ported dataprotol to 0.9.
6796 Added pkgconfig files.
6798 2005-07-05 Andy Wingo <wingo@pobox.com>
6800 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6801 Default to returning TRUE for the case when tranform_caps returns
6802 a fixed caps, like for identity or volume.
6804 * check/gst/gstbus.c (pound_bus_with_messages):
6805 * check/gst/gstmessage.c (START_TEST):
6806 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6809 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6810 logic weaks here: always run transform_caps, trying passthrough
6811 operation only if the original caps intersects with the transform.
6813 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6814 source and sink caps.
6816 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6817 Intersect the peer caps with the pad template before going into
6819 (gst_base_transform_transform_caps): More debugging.
6821 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6824 2005-07-04 Edward Hervey <edward@fluendo.com>
6828 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6831 2005-07-04 Andy Wingo <wingo@pobox.com>
6833 * check/gst/gstpad.c: Only set explicit caps on pads.
6835 2005-07-01 Andy Wingo <wingo@pobox.com>
6837 * tests/network-clock.scm: Commentary update.
6839 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6840 Didn't really make sense, not implementable with basetransform,
6842 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6843 attempt at implementing the sync property, needs an unlock method.
6845 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6846 New func, by default returns the same caps (the identity
6848 (gst_base_transform_getcaps): Uses transform_caps to return
6850 (gst_base_transform_setcaps): Complicated logic to get caps on
6851 both pads, even if they are different, and to call set_caps once
6852 for every time both pads get their caps set.
6853 (gst_base_transform_handle_buffer): Give the ref to the transform
6854 function. Allows in-place modification of the buffer.
6856 * gst/base/gstbasetransform.h (transform_caps): New class method.
6857 Given caps on one side, what can I do on the other.
6858 (set_caps): Take two caps, one for each side of the element.
6861 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6862 caps in place. This is safe because we can check the mutability of
6863 the caps, and a good idea because fixate functions are just called
6864 as a matter of last resort. (Not actually implemented.)
6865 (gst_pad_set_caps): If the caps we're setting is actually the same
6866 as the existing pad caps, just update the pointer without calling
6867 setcaps. Assert that caps is either NULL or fixed, as per the
6870 * gst/gstghostpad.c: Update for fixate changes.
6872 2005-07-02 Andy Wingo <wingo@pobox.com>
6875 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6876 two refcounts makes it immutable, which is enough. Doc more.
6878 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6880 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6881 Put the mini_object into GValue as a mini_object,
6882 not a gpointer, since that's how we declared
6885 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6887 * examples/pwg/Makefile.am:
6890 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6892 * docs/pwg/building-testapp.xml:
6894 * examples/pwg/Makefile.am:
6897 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6900 * examples/Makefile.am:
6901 * examples/pwg/Makefile.am:
6902 * examples/pwg/extract.pl:
6903 Enable building the PWG examples.
6904 * docs/pwg/advanced-interfaces.xml:
6905 Add URI interface stub.
6906 * docs/pwg/advanced-types.xml:
6907 * docs/pwg/other-autoplugger.xml:
6908 * docs/pwg/appendix-porting.xml:
6910 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6911 * docs/pwg/building-boiler.xml:
6912 * docs/pwg/building-chainfn.xml:
6913 * docs/pwg/building-pads.xml:
6914 * docs/pwg/building-props.xml:
6915 * docs/pwg/building-state.xml:
6916 * docs/pwg/building-testapp.xml:
6917 Update the building-*.xml parts for 0.9 changes. All examples
6918 code blocks compile in examples/pwg/*.
6920 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6922 * docs/manual/advanced-autoplugging.xml:
6923 * docs/manual/appendix-checklist.xml:
6924 * docs/manual/appendix-integration.xml:
6925 * docs/manual/highlevel-components.xml:
6926 Fix playbin/decodebin examples, update docs a bit, mention bus
6927 instead of signals in various places, mention kmplayer and
6928 kaffeine since they have a working GStreamer backend in the KDE
6931 2005-06-30 Wim Taymans <wim@fluendo.com>
6934 * docs/design/draft-ghostpads.txt:
6935 * docs/design/draft-push-pull.txt:
6936 * docs/design/draft-query.txt:
6937 * docs/design/part-TODO.txt:
6938 * docs/design/part-query.txt:
6939 Added CHANGES-0.9 doc, updated status of other docs.
6944 2005-06-30 Wim Taymans <wim@fluendo.com>
6946 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6947 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6948 (gst_base_sink_change_state):
6949 * gst/base/gstbasesink.h:
6950 Some tweaks, only EOS and a buffer complete a preroll.
6952 2005-06-30 Andy Wingo <wingo@pobox.com>
6954 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
6955 activate_push down to the internal pad as well.
6957 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
6959 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6961 * gst/gsttaginterface.c:
6962 Some documentation fixes (#307394 and #307397).
6964 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
6966 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6968 * gst/gstvalue.c: (gst_value_intersect_list):
6969 Fix memleak (#309125).
6971 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6973 * docs/manual/advanced-dataaccess.xml:
6974 Fix fakesrc example to compile; doesn't work, bug somewhere...?
6975 * docs/manual/basics-pads.xml:
6976 Add reference for filtered caps to above chapter.
6978 2005-06-30 Wim Taymans <wim@fluendo.com>
6980 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
6981 (gst_bin_change_state):
6983 Lame attempt at making the state change function a bit
6986 2005-06-30 Wim Taymans <wim@fluendo.com>
6988 * docs/design/part-clocks.txt:
6989 * docs/design/part-element-sink.txt:
6990 * docs/design/part-events.txt:
6991 * docs/design/part-preroll.txt:
6992 * docs/design/part-states.txt:
6993 Some more tweeks and additions to the docs.
6995 2005-06-30 Wim Taymans <wim@fluendo.com>
6997 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6998 (default_have_data), (gst_pad_class_init), (gst_pad_init),
6999 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7000 (gst_pad_check_pull_range), (gst_pad_get_range),
7001 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7003 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7004 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7005 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7006 (gst_pad_remove_buffer_probe):
7007 Removed atomic operations, use existing LOCK.
7008 Move exception handling out of main code path.
7010 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7012 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7013 (silly_return_true_function), (gst_pad_class_init),
7014 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7015 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7016 (gst_pad_send_event):
7017 Fix accumulator, add default value by using _emitv() instead
7018 of _emit() for signal emission.
7020 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7022 * docs/manual/advanced-dataaccess.xml:
7023 * examples/manual/Makefile.am:
7025 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7028 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7030 * gst/elements/gstfilesink.c: (gst_filesink_render):
7031 Simplify code so that we don't have to handle short
7032 writes and return GST_FLOW_ERROR if an error occured.
7034 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7036 * docs/gst/gstreamer-docs.sgml:
7039 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7041 * docs/gst/gstreamer-sections.txt:
7042 * docs/gst/tmpl/gstpad.sgml:
7043 * docs/gst/tmpl/gstprobe.sgml:
7045 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7046 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7047 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7048 (gst_pad_push_event), (gst_pad_send_event):
7050 * gst/gstutils.c: (gst_pad_add_data_probe),
7051 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7052 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7053 (gst_pad_remove_buffer_probe):
7055 Remove old probes, add new g-signal-based probes and some utility
7058 2005-06-29 Edward Hervey <edward@fluendo.com>
7060 * gst/gstelementfactory.c:
7063 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7064 the definition to the header file.
7066 2005-06-29 Andy Wingo <wingo@pobox.com>
7068 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7069 plugins from the source directory.
7071 2005-06-29 Wim Taymans <wim@fluendo.com>
7073 * docs/gst/tmpl/gstbuffer.sgml:
7074 * docs/gst/tmpl/gstclock.sgml:
7075 Some fixings for blantently wrong text.
7077 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7079 * check/Makefile.am:
7080 * gst/gst.c: (add_path_func), (init_pre):
7081 * gst/gstregistry.c: (gst_registry_add_path):
7082 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7083 only scan the GST_PLUGIN_PATH locations, and not add
7086 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7088 * docs/gst/gstreamer-sections.txt:
7089 * docs/gst/tmpl/gstbasesrc.sgml:
7096 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7098 * docs/manual/advanced-autoplugging.xml:
7099 Fix autoplugging example.
7101 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7103 * docs/manual/advanced-autoplugging.xml:
7104 * docs/manual/mime-world.fig:
7105 Try to get autoplugging working, fix type detection. Fix text
7106 in hello-world image.
7108 2005-06-29 Wim Taymans <wim@fluendo.com>
7110 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7111 (gst_base_sink_change_state):
7115 map SIGNAL and BROADCAST to the right function.
7118 Remove redundant braces.
7120 * gst/gstpad.c: (gst_pad_set_caps):
7121 Don't call setcaps function when reseting caps to NULL.
7123 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7124 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7125 (gst_system_clock_id_unschedule):
7126 Use BROADCAST as this is what we do.
7128 2005-06-29 Wim Taymans <wim@fluendo.com>
7130 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7131 We are actually prerolling before commiting the state
7134 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7136 * docs/manual/advanced-clocks.xml:
7137 * docs/manual/advanced-interfaces.xml:
7138 * docs/manual/advanced-metadata.xml:
7139 * docs/manual/advanced-position.xml:
7140 * docs/manual/advanced-schedulers.xml:
7141 * docs/manual/advanced-threads.xml:
7142 * docs/manual/appendix-porting.xml:
7143 * docs/manual/basics-bins.xml:
7144 * docs/manual/basics-bus.xml:
7145 * docs/manual/basics-elements.xml:
7146 * docs/manual/basics-helloworld.xml:
7147 * docs/manual/basics-pads.xml:
7148 * docs/manual/highlevel-components.xml:
7149 * docs/manual/manual.xml:
7150 * docs/manual/thread.fig:
7151 Update (until threads/scheduling) Application Development Manual;
7152 remove GstThread, add GstBus, add simple porting checklist, add
7153 documentation for tag writing, clocks, make all examples until this
7154 part compile and run.
7155 * examples/manual/Makefile.am:
7156 Update from changes to Application Development Manual; add bus
7157 example, remove thread example.
7159 2005-06-28 Wim Taymans <wim@fluendo.com>
7161 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7162 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7163 (gst_bus_source_dispatch):
7164 Add debugging messages.
7165 Make internal methods static.
7166 Handle the case where the bus is flushed in the handler.
7168 * gst/gstelement.c: (gst_element_get_bus):
7169 Fix refcount in _get_bus();
7171 * gst/gstpipeline.c: (gst_pipeline_change_state),
7172 (gst_pipeline_get_clock_func):
7173 Clock refcounting fixes.
7174 Handle the case where preroll timed out more gracefully.
7176 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7177 Clean up the internal thread in dispose. This is needed
7178 for subclasses that actually get disposed.
7180 * gst/schedulers/threadscheduler.c:
7181 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7182 (gst_thread_scheduler_dispose):
7183 Free thread pool in dispose.
7185 2005-06-28 Andy Wingo <wingo@pobox.com>
7187 * tests/network-clock-utils.scm (debug, print-event): New utils.
7189 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7190 (*packet-loss*): Unified loss probability.
7191 (network-time): Report out-of-band events.
7193 * tests/plot-data: Add support for out-of-band events. Hack it
7194 into this script instead of passing it down the pipe; should fix
7197 2005-06-28 Wim Taymans <wim@fluendo.com>
7199 * docs/gst/gstreamer.types:
7200 * docs/gst/tmpl/gstbasesrc.sgml:
7201 * docs/gst/tmpl/gstpad.sgml:
7204 2005-06-28 Wim Taymans <wim@fluendo.com>
7206 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7207 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7208 (gst_proxy_pad_do_fixatecaps):
7209 Correctly proxy the check_pull_range function.
7211 2005-06-28 Andy Wingo <wingo@pobox.com>
7213 * tests/network-clock.scm: Removed need for slib.
7215 2005-06-28 Wim Taymans <wim@fluendo.com>
7217 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7218 (gst_basesink_preroll_queue_flush):
7219 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7220 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7221 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7222 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7223 (gst_proxy_pad_set_property):
7226 * gst/gstqueue.c: (gst_queue_init):
7227 The deprecated pad loop function is removed now.
7229 2005-06-28 Andy Wingo <wingo@pobox.com>
7231 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7232 New parameters, simulate network packet loss.
7234 * tests/network-clock-utils.scm: Initialize the RNG.
7236 2005-06-28 Wim Taymans <wim@fluendo.com>
7238 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7239 (gst_basesink_event), (gst_basesink_deactivate):
7240 Flushing the preroll queue always needs to unlock the waiters.
7242 2005-06-28 Edward Hervey <edward@fluendo.com>
7244 * gst/gstpipeline.c: (gst_pipeline_send_event):
7245 Wheen a seek was successful on a pipeline, set the stream_time to the
7246 seek offset in order to have a synchronized stream_time.
7248 2005-06-28 Wim Taymans <wim@fluendo.com>
7250 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7251 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7252 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7253 (gst_proxy_pad_do_fixatecaps):
7254 Call wrapper function instead of just calling the function
7255 pointers. This takes care of any locking and whatmore.
7257 2005-06-28 Wim Taymans <wim@fluendo.com>
7259 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7260 (gst_pad_pull_range):
7262 CONNECTED -> LINKED.
7264 2005-06-28 Andy Wingo <wingo@pobox.com>
7266 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7267 source-munging commit!!!
7269 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7270 (gst_object_sink): Take gpointer arguments, not GstObject --
7271 avoids casts. Like GLib.
7273 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7276 2005-06-27 Andy Wingo <wingo@pobox.com>
7278 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7281 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7282 returns a sorted copy of the trace list.
7283 (gst_alloc_trace_print_live): New API, only prints traces with
7284 live objects. Sort the list.
7285 (gst_alloc_trace_print_all): Sort the list.
7286 (gst_alloc_trace_print): Align columns.
7288 * gst/elements/gstttypefindelement.c:
7289 * gst/elements/gsttee.c:
7290 * gst/base/gstbasesrc.c:
7291 * gst/base/gstbasesink.c:
7292 * gst/base/gstbasetransform.c:
7293 * gst/gstqueue.c: Adapt for pad activation changes.
7295 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7297 (gst_pipeline_dispose): Drop ref on sched.
7299 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7300 (gst_pad_activate_default): Push mode by default.
7301 (pre_activate_switch, post_activate_switch): New stubs, things to
7302 do before and after switching activation modes on pads.
7303 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7304 the pad's activate function to choose which mode to activate.
7305 Shortcut on deactivation and call the right function directly.
7306 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7308 (gst_pad_activate_push): New API, same for push mode.
7309 (gst_pad_set_activate_function)
7310 (gst_pad_set_activatepull_function)
7311 (gst_pad_set_activatepush_function): Setters for new API.
7313 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7314 Trace all miniobjects.
7315 (gst_mini_object_make_writable): Unref the arg if we copy, like
7316 gst_caps_make_writable.
7318 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7320 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7321 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7322 Adapt for new pad API.
7324 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7327 * gst/gstelement.c (gst_element_iterate_src_pads)
7328 (gst_element_iterate_sink_pads): New API functions.
7330 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7331 should fold into gstiterator.c in some form.
7332 (gst_element_pads_activate): Simplified via use of fold and
7333 delegation of decisions to gstpad->activate.
7335 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7338 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7339 class once in init, like gstmessage. Didn't run into this issue
7340 but it seems correct. Don't initialize a trace, gstminiobject does
7343 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7344 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7346 (assert_live_count): New util function, uses alloc traces to check
7349 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7350 To be modified when unlink drops the internal pad.
7352 2005-06-27 Wim Taymans <wim@fluendo.com>
7354 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7355 (gst_bin_change_state):
7356 Cleanup the get_state() function a little, make sure it
7357 iterates the same set of elements.
7358 Added stub iterate_state_order().
7360 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7362 * docs/gst/gstreamer-docs.sgml:
7363 * docs/gst/gstreamer-sections.txt:
7364 * docs/gst/gstreamer.types:
7365 * docs/gst/tmpl/gstbasesink.sgml:
7366 * docs/gst/tmpl/gstbasesrc.sgml:
7367 * docs/gst/tmpl/gstbasetransform.sgml:
7368 * docs/gst/tmpl/gstelement.sgml:
7369 * docs/gst/tmpl/gstiterator.sgml:
7370 * gst/base/gstbasesrc.c:
7371 * gst/base/gstbasesrc.h:
7372 * gst/base/gstbasetransform.h:
7374 * gst/gstiterator.h:
7375 adding basetransform and iterator docs
7377 2005-06-27 Andy Wingo <wingo@pobox.com>
7379 * docs/design/part-activation.txt: Notes on how activation should
7380 work -- not quite implemented yet.
7382 2005-06-25 Wim Taymans <wim@fluendo.com>
7384 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7385 At least get the chain function correct, needs more
7388 2005-06-25 Wim Taymans <wim@fluendo.com>
7390 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7391 (gst_basesink_handle_object), (gst_basesink_event),
7392 (gst_basesink_do_sync), (gst_basesink_handle_event),
7393 (gst_basesink_change_state):
7395 Right, two problems here: ghostpads don't take locks and
7396 glib _rec_mutex_lock_full() with depth==0 still locks.
7397 Catch illegal locking and g_warn them.
7399 2005-06-25 Wim Taymans <wim@fluendo.com>
7401 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7402 Have to check for completion now...
7404 2005-06-25 Wim Taymans <wim@fluendo.com>
7406 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7407 (gst_basesink_handle_object), (gst_basesink_event),
7408 (gst_basesink_do_sync), (gst_basesink_handle_event),
7409 (gst_basesink_change_state):
7411 Unlock STREAM_LOCK whatever the recursion was.
7413 2005-06-25 Wim Taymans <wim@fluendo.com>
7415 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7416 (gst_basesink_preroll_queue_empty),
7417 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7418 (gst_basesink_event), (gst_basesink_do_sync),
7419 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7420 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7421 (gst_basesink_change_state):
7422 Reworked the base sink, handle event and buffer serialisation
7423 correctly and removed possible deadlock.
7424 Handle EOS correctly.
7426 2005-06-25 Wim Taymans <wim@fluendo.com>
7428 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7429 (gst_pipeline_change_state):
7430 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7431 Allow elements to post EOS in the state change function.
7432 Fix up -launch, make it exit the poll loop when the
7433 pipeline actually changed state.
7434 Fix up warning parsing in -launch.
7436 2005-06-25 Wim Taymans <wim@fluendo.com>
7438 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7439 (gst_tee_sink_activate):
7440 Core takes STREAM_LOCK for us now.
7442 2005-06-25 Wim Taymans <wim@fluendo.com>
7444 * gst/gstelement.c: (gst_element_get_state_func),
7445 (gst_element_set_state):
7447 * gst/gstmessage.c: (gst_message_parse_error),
7448 (gst_message_parse_warning):
7449 Keep track of current target state while performing a state
7450 change so that subclasses can do something interesting.
7451 Fix parsing of warning/error messages when GError is NULL.
7453 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7455 * docs/gst/Makefile.am:
7456 * docs/gst/gstreamer-docs.sgml:
7457 * docs/gst/gstreamer-sections.txt:
7458 * docs/gst/gstreamer.types:
7459 * docs/gst/tmpl/gstbasesink.sgml:
7460 * docs/gst/tmpl/gstbasesrc.sgml:
7461 * docs/gst/tmpl/gstbin.sgml:
7462 * docs/gst/tmpl/gstcompat.sgml:
7463 * docs/gst/tmpl/gstfakesink.sgml:
7464 * docs/gst/tmpl/gstfakesrc.sgml:
7465 * docs/gst/tmpl/gstfilesink.sgml:
7466 * docs/gst/tmpl/gstfilesrc.sgml:
7467 * docs/gst/tmpl/gstindex.sgml:
7468 * docs/manual/appendix-quotes.xml:
7469 * gst/base/gstbasesrc.h:
7470 * gst/elements/gstfakesrc.h:
7472 start pulling in base classes and elements in our docs
7474 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7476 * docs/gst/Makefile.am:
7477 * docs/libs/Makefile.am:
7478 fixed make distcheck with gtk-doc 1.3
7480 2005-06-23 Wim Taymans <wim@fluendo.com>
7482 * gst/gstelement.c: (gst_element_get_state_func),
7483 (gst_element_set_state), (gst_element_change_state):
7484 When the state did not change, also report NO_PREROLL
7487 2005-06-23 Wim Taymans <wim@fluendo.com>
7489 * gst/gstpad.c: (gst_pad_event_default):
7490 * gst/gstqueue.c: (gst_queue_loop):
7491 No unsafe task pausing please.
7493 2005-06-23 Wim Taymans <wim@fluendo.com>
7495 * gst/schedulers/threadscheduler.c:
7496 (gst_thread_scheduler_task_start),
7497 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7498 Ref the task before pushing it on the threadpool. This
7499 makes sure that we have a ref when the threadfunction is
7502 2005-06-23 Andy Wingo <wingo@pobox.com>
7504 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7505 offset is greater than the file's size.
7507 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7508 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7509 * gst/gstobject.c (gst_object_class_init): Make the class lock
7510 recursive. Wim won't let me drop deep_notify. Decodebin works
7513 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7514 internal pad, and hacks accordingly. Doesn't do it on the target
7515 pad because we change its caps. Probably catches all cases of
7517 (gst_ghost_pad_set_property): Connect to notify::caps as
7520 * tests/network-clock.scm (plot-simulation): Pipe data to the
7521 elite python skript.
7523 * tests/network-clock-utils.scm (define-parameter): New macro,
7524 defines a parameter that can be set via the command line.
7525 (set-parameter!, parse-parameter-arguments): Command line args
7528 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7531 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7533 * gst/elements/gsttypefindelement.c:
7534 (gst_type_find_element_handle_event):
7535 Don't restart typefinding on a discont.
7536 * gst/gstelement.c: (gst_element_set_state):
7538 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7539 Allow changing mode of an active pad.
7541 * gst/registries/gstlibxmlregistry.c: (load_feature):
7542 Don't cast a static pad template to a normal pad template.
7544 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7546 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7547 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7548 remove gst_strtoll completely, since it didn't actually do
7549 anything more than what g_ascii_strtoull already does.
7550 check for range errors when deserializing
7551 do a cast for the unsigned cases; but further fixing needs
7552 a decision on what the interpretation of "(int)" and
7553 deserialization should be for values that fall outside the
7554 type's boundaries (ie, refuse, or interpret as casting)
7556 2005-06-23 Wim Taymans <wim@fluendo.com>
7558 * check/Makefile.am:
7559 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7560 * docs/design/part-live-source.txt:
7561 * docs/design/part-states.txt:
7562 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7563 (gst_basesrc_set_live), (gst_basesrc_is_live),
7564 (gst_basesrc_get_range), (gst_basesrc_activate),
7565 (gst_basesrc_change_state):
7566 * gst/base/gstbasesrc.h:
7567 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7568 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7569 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7570 * gst/gstelement.c: (gst_element_get_state_func),
7571 (gst_element_set_state):
7574 * tools/gst-launch.c: (event_loop), (main):
7575 Added support for live sources and other elements that
7577 Updated design docs, added live-source design doc.
7578 Implemented live source functionality in basesrc
7579 Fix error condition in _bin_get_state()
7580 Implement live source handling in -launch.
7581 Added check for live sources.
7582 Fixed case in GstBin where elements were changed state
7586 2005-06-23 Andy Wingo <wingo@pobox.com>
7588 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7591 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7592 gst_caps_replace takes care of this for us.
7594 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7595 gst_pad_set_caps on the target, not just its setcaps() function.
7597 * tests/network-clock.scm:
7598 * tests/network-clock-utils.scm: A network clock simulator.
7599 Something of an algorithmic testbed before doing something in C.
7601 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7603 * check/Makefile.am:
7604 * check/gst/capslist.h:
7605 copy over from 0.8, and add two with bitmasks specified with
7607 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7608 add test to parse everything from capslist.h
7609 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7611 add test for structure deserialization
7612 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7613 add tests for deserialization of strings to int types
7614 * gst/gststructure.c: (gst_structure_nth_field_name):
7615 * gst/gststructure.h:
7616 add a way to get the name of a field referenced by index
7617 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7618 instead of checking if the resulting long long lies between
7619 min and max, we check if the long long would fit into
7620 a number of bytes for the final type.
7621 This fixes cases where a string represents 2^32 - 1, which
7622 when cast to int would be the (valid) -1, but is bigger than
7625 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7627 * gst/parse/grammar.y:
7628 add a log line for type deserialization
7630 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7632 * check/gst/gstvalue.c: (START_TEST):
7633 * gst/gstvalue.c: (gst_value_deserialize):
7634 return long long, not int, so gint64 deserialization actually
7635 works. Is there any flag that makes the compiler check this ?
7638 2005-06-22 Wim Taymans <wim@fluendo.com>
7641 Added convenience macros for setting buffers in GValue.
7643 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7645 * check/gst/.cvsignore:
7646 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7647 add a test deserializing int64, and comment part out because
7650 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7652 * check/Makefile.am:
7653 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7654 * testsuite/Makefile.am:
7655 * testsuite/caps/Makefile.am:
7656 * testsuite/caps/value_serialize.c:
7657 * testsuite/test_gst_init.c:
7658 move a value_serialize test over
7660 2005-06-20 Wim Taymans <wim@fluendo.com>
7665 * gst/gstvalue.c: (gst_value_compare_buffer),
7666 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7667 (gst_value_compare_flags), (gst_value_serialize_flags),
7668 (gst_value_deserialize_flags), (_gst_value_initialize):
7669 Fix serialisation of buffers, they are not boxed types anymore
7671 2005-06-20 Wim Taymans <wim@fluendo.com>
7673 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7674 Testcase to show error in buffer-on-caps serialisation.
7676 2005-06-20 Andy Wingo <wingo@pobox.com>
7678 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7679 will be adding to later.
7681 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7682 if its socks fill with rocks.
7683 (gst_system_clock_obtain): Set the name on object construction.
7684 Avoid double-checked locking.
7686 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7688 * gst/gsturi.c: (gst_element_make_from_uri):
7689 Fix potential endless loop.
7691 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7693 * check/Makefile.am:
7695 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7697 move over from testsuite dir and clean up
7700 * testsuite/Makefile.am:
7701 * testsuite/tags/.cvsignore:
7702 * testsuite/tags/Makefile.am:
7703 * testsuite/tags/merge.c:
7704 remove testsuite/tags
7706 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7708 * docs/gst/gstreamer-sections.txt:
7709 * docs/gst/tmpl/gstenumtypes.sgml:
7710 * win32/gstenumtypes.c:
7711 clean up documentation build a little
7713 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7716 add macros for checking refcounts on objects and caps
7717 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7718 add some more unit tests
7719 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7720 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7721 fix leaked refcounts (I hope :)) so unittest works
7725 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7727 * configure.ac: back to HEAD
7729 === release 0.9.1 ===
7731 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7737 2005-06-17 Andy Wingo <wingo@pobox.com>
7739 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7740 assert; it's always possible that the pad gets deactivated in
7741 between the checks in gstpad.c and the implementation. Rely on
7742 finish_preroll() to return a FLUSHING or similar instead of on the
7745 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7746 clock and post an EOS message if we come out of finish_preroll in
7749 2005-06-16 David Schleef <ds@schleef.org>
7751 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7752 (gst_capsfilter_set_property): Allow NULL as possible value
7753 for filter_caps property, indicating GST_CAPS_ANY.
7755 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7757 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7759 * gst/schedulers/Makefile.am:
7761 * gstreamer.spec.in:
7764 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7766 * gstreamer.spec.in:
7769 2005-06-08 Andy Wingo <wingo@pobox.com>
7771 * gst/gstutils.c: RPAD fixes all around.
7772 (gst_element_link_pads): Refcounting fixes.
7774 * tools/gst-inspect.c:
7775 * tools/gst-xmlinspect.c:
7777 * gst/base/gsttypefindhelper.c:
7778 * gst/base/gstbasesink.c:
7779 * gst/gstqueue.c: RPAD fixes.
7781 * gst/gstghostpad.h:
7782 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7783 pads. The tricky thing is they provide both source and sink
7784 interfaces, since they proxy the internal pad for the external
7785 pad, and vice versa. Implement with lower-level ProxyPad objects,
7786 with the interior proxy pad as a child of the exterior ghost pad.
7787 Should write a doc on this.
7789 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7790 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7793 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7794 pads are real pads. No ghost pads in this file. Not documenting
7795 the myriad s/RPAD/PAD/ and REALIZE fixes.
7796 (gst_pad_class_init): Add properties for "direction" and
7797 "template". Both are construct-only, so they can't change during
7798 the life of the pad. Fixes properly deriving from GstPad.
7799 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7800 derived objects, just set properties when creating the objects via
7802 (gst_pad_get_parent): Implement as a function, return NULL if the
7803 parent is not an element.
7804 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7805 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7807 * gst/gstobject.c (gst_object_class_init): Make name a construct
7808 property. Don't set it in the object init.
7810 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7811 with UNKNOWN direction.
7812 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7813 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7814 (gst_element_remove_pad): Remove ghost-pad special cases.
7815 (gst_element_pads_activate): Remove rpad cruft.
7817 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7818 catch the pad's-parent-not-an-element case.
7820 * gst/gst.h: Include gstghostpad.h.
7822 * gst/gst.c (init_post): No more real, ghost pads.
7824 * gst/Makefile.am: Add gstghostpad.[ch].
7826 * check/Makefile.am:
7827 * check/gst/gstbin.c:
7828 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7829 into a bin creates ghost pads, and that the refcounts are right.
7830 Partly moved from gstbin.c.
7832 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7834 * check/gst-libs/.cvsignore:
7835 * check/gst/.cvsignore:
7836 * check/pipelines/.cvsignore:
7838 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7839 (START_TEST), (cleanup_suite), (main):
7840 add some tests related to cleanup after running pipelines
7842 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7844 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7845 add a testsuite for GstBuffer
7847 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7849 * gst/gstminiobject.h:
7850 add defines for accessing the refcount
7852 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7854 * Makefile.am: added support for html unit test coverage reports
7856 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7858 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7859 Free existing caps if the capsfilter changes. Add a FIXME about
7860 setting those caps on the pads.
7862 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7863 Before adding a ghost pad to a parent bin, check that there isn't
7864 already one for the element on the bin. Prevents infinite recursion
7865 when using decodebin in parse pipelines. Andy says he'll rewrite the
7866 way this works anyway, so ignore the hack.
7868 2005-06-02 Andy Wingo <wingo@pobox.com>
7870 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7871 file size, pass it on to the type find helper.
7873 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7874 segment_start and segment_end properly according to the seek
7875 method. Segment_end is still a bit flaky because offset can be
7876 negative for CUR and END cases, but it takes -1 as an "unset"
7879 2005-06-02 Wim Taymans <wim@fluendo.com>
7881 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7882 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7883 (gst_basesink_activate):
7884 * gst/base/gstbasesink.h:
7885 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7886 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7887 (gst_pad_query), (gst_pad_start_task):
7889 * gst/gstqueue.c: (gst_queue_bufferalloc),
7890 (gst_queue_handle_sink_event), (gst_queue_chain):
7891 Bufferalloc: return GstFlowReturn to more accuratly report
7892 why allocation failed.
7894 2005-06-02 Wim Taymans <wim@fluendo.com>
7896 * gst/gstpipeline.c: (gst_pipeline_send_event):
7897 Take snapshot of state without blocking.
7899 2005-06-02 Wim Taymans <wim@fluendo.com>
7901 * docs/design/part-TODO.txt:
7902 * docs/design/part-caps.txt:
7903 * docs/design/part-clocks.txt:
7904 * docs/design/part-negotiation.txt:
7905 * docs/design/part-preroll.txt:
7908 2005-05-30 Wim Taymans <wim@fluendo.com>
7910 * gst/elements/gstidentity.c: (gst_identity_event),
7911 (gst_identity_transform), (gst_identity_get_property):
7912 Protect last_message property as it is accessed from
7915 2005-05-30 Wim Taymans <wim@fluendo.com>
7917 * gst/gstelement.c: (gst_element_init),
7918 (gst_element_pads_activate), (gst_element_change_state):
7919 Slicker pad activation code.
7921 2005-05-30 Wim Taymans <wim@fluendo.com>
7925 * gst/gstelementfactory.h:
7927 Move elementfactory methods to separate .h file.
7929 2005-05-30 Wim Taymans <wim@fluendo.com>
7931 * docs/design/part-overview.txt:
7932 * gst/gstsystemclock.h:
7933 Small typo fixes, doc updates.
7935 2005-05-30 Wim Taymans <wim@fluendo.com>
7937 * gst/gst.c: (gst_init_get_popt_table), (init_post),
7938 (init_popt_callback):
7939 Remove cpu-opt flag.
7941 2005-05-30 Wim Taymans <wim@fluendo.com>
7943 * gst/gstbuffer.c: (gst_subbuffer_finalize),
7944 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
7946 Avoid typechecking in places where not needed.
7947 Added accessor for malloc_data.
7949 2005-05-30 Wim Taymans <wim@fluendo.com>
7951 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
7952 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
7953 (gst_pad_configure_sink), (gst_pad_configure_src),
7954 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
7955 (gst_pad_start_task):
7956 Propagate errors from _set_caps() in configure_src/sink
7957 functions instead of returning TRUE.
7958 FLUSH events can travel up and downstream
7961 2005-05-30 Wim Taymans <wim@fluendo.com>
7963 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7964 (gst_basesink_activate):
7965 Handle EOS in preroll.
7967 2005-05-30 Wim Taymans <wim@fluendo.com>
7969 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7970 (gst_queue_loop), (gst_queue_handle_src_event):
7971 Remove old pieces of code
7972 Flushing the queue in an upstream event is a very bad idea.
7974 2005-05-26 Andy Wingo <wingo@pobox.com>
7976 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
7977 gst_value_set_mini_object so as to add a ref on the object (which
7978 will be removed when the value is unset).
7980 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
7981 arg type in ::handoff.
7983 * gst/gstelement.c (gst_element_change_state): Also deactivate
7984 pads in READY->NULL, just in case the element didn't make it to
7985 PAUSED. Wingo tested, Wim approved.
7987 2005-05-26 Wim Taymans <wim@fluendo.com>
7989 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7990 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7991 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
7992 A flushing pad cannot be used to alloc_buffer from.
7994 2005-05-26 Wim Taymans <wim@fluendo.com>
7996 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7997 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
7998 (gst_bus_source_dispatch), (gst_bus_source_finalize),
7999 (gst_bus_create_watch), (gst_bus_add_watch_full):
8001 Implement a real GSource and use g_main_context_wakeup() to
8002 signal new messages instead of the socketpair.
8004 2005-05-25 Wim Taymans <wim@fluendo.com>
8006 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8007 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8008 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8009 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8010 (gst_pad_send_event), (gst_pad_start_task):
8011 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8012 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8013 (gst_queue_sink_activate), (gst_queue_src_activate),
8014 (gst_queue_change_state):
8016 Fix state changes for non sinks. We now change sinks, then elements
8017 with unconnected srcpads, then the rest.
8018 More efficient queue unlocking in flush and state changes.
8019 Set the pad activate mode even if it does not have an activate
8022 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8024 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8025 Don't go in pull mode for non-seekable sources.
8026 * gst/elements/gsttypefindelement.h:
8027 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8028 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8029 (free_entry), (stop_typefinding),
8030 (gst_type_find_element_handle_event), (find_peek),
8031 (gst_type_find_element_chain), (do_pull_typefind),
8032 (gst_type_find_element_change_state):
8033 Allow typefinding (w/o seeking) in push-mode, simplified version
8035 * gst/gstutils.c: (gst_buffer_join):
8037 gst_buffer_join() from 0.8.
8039 2005-05-25 Wim Taymans <wim@fluendo.com>
8041 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8042 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8043 (gst_pad_send_event), (gst_pad_start_task):
8044 Disable attempt at mode switching until it is figured out.
8046 2005-05-25 Wim Taymans <wim@fluendo.com>
8048 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8049 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8050 (gst_basesink_finish_preroll), (gst_basesink_chain),
8051 (gst_basesink_loop), (gst_basesink_activate),
8052 (gst_basesink_change_state):
8053 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8054 (gst_basesrc_get_range), (gst_basesrc_loop),
8055 (gst_basesrc_activate):
8056 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8057 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8058 (gst_real_pad_init), (gst_real_pad_set_property),
8059 (gst_real_pad_get_property), (gst_pad_set_active),
8060 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8061 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8062 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8063 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8064 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8065 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8066 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8067 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8068 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8069 (gst_pad_stop_task):
8071 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8072 (gst_queue_loop), (gst_queue_src_activate):
8073 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8074 (gst_task_get_state):
8076 * gst/schedulers/threadscheduler.c:
8077 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8078 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8080 Remove ACTIVE pad flag, use FLUSHING everywhere
8081 Added _pad_chain(), _pad_get_range() to call chain/getrange
8083 Add locks around IS_FLUSHING when reading.
8084 Take STREAM lock in chain(), get_range() functions so plugins
8085 don't need to take it anymore.
8089 2005-05-25 Wim Taymans <wim@fluendo.com>
8091 * tools/gst-launch.c: (event_loop):
8092 Unref message after using its contents instead of
8095 2005-05-24 Wim Taymans <wim@fluendo.com>
8097 * docs/design/draft-ghostpads.txt:
8098 * docs/design/draft-push-pull.txt:
8099 * docs/design/draft-query.txt:
8100 * docs/design/part-overview.txt:
8101 Docs updates, added general overview doc.
8103 2005-05-21 David Schleef <ds@schleef.org>
8105 * docs/gst/tmpl/old/GstBin.sgml:
8106 * docs/gst/tmpl/old/GstBuffer.sgml:
8107 * docs/gst/tmpl/old/GstCaps.sgml:
8108 * docs/gst/tmpl/old/GstClock.sgml:
8109 * docs/gst/tmpl/old/GstCompat.sgml:
8110 * docs/gst/tmpl/old/GstData.sgml:
8111 * docs/gst/tmpl/old/GstElement.sgml:
8112 * docs/gst/tmpl/old/GstEvent.sgml:
8113 * docs/gst/tmpl/old/GstIndex.sgml:
8114 * docs/gst/tmpl/old/GstStructure.sgml:
8115 * docs/gst/tmpl/old/GstTag.sgml:
8116 * docs/gst/tmpl/old/cothreads.sgml:
8117 * docs/gst/tmpl/old/cothreads_compat.sgml:
8118 * docs/gst/tmpl/old/gettext.sgml:
8119 * docs/gst/tmpl/old/gobject2gtk.sgml:
8120 * docs/gst/tmpl/old/grammar.tab.sgml:
8121 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8122 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8123 * docs/gst/tmpl/old/gst_private.sgml:
8124 * docs/gst/tmpl/old/gstaggregator.sgml:
8125 * docs/gst/tmpl/old/gstarch.sgml:
8126 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8127 * docs/gst/tmpl/old/gstbufferstore.sgml:
8128 * docs/gst/tmpl/old/gstdata_private.sgml:
8129 * docs/gst/tmpl/old/gstdisksink.sgml:
8130 * docs/gst/tmpl/old/gstdisksrc.sgml:
8131 * docs/gst/tmpl/old/gstelementfactory.sgml:
8132 * docs/gst/tmpl/old/gstextratypes.sgml:
8133 * docs/gst/tmpl/old/gstfakesink.sgml:
8134 * docs/gst/tmpl/old/gstfakesrc.sgml:
8135 * docs/gst/tmpl/old/gstfdsink.sgml:
8136 * docs/gst/tmpl/old/gstfdsrc.sgml:
8137 * docs/gst/tmpl/old/gstfilesink.sgml:
8138 * docs/gst/tmpl/old/gstfilesrc.sgml:
8139 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8140 * docs/gst/tmpl/old/gstidentity.sgml:
8141 * docs/gst/tmpl/old/gstindexfactory.sgml:
8142 * docs/gst/tmpl/old/gstmarshal.sgml:
8143 * docs/gst/tmpl/old/gstmd5sink.sgml:
8144 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8145 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8146 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8147 * docs/gst/tmpl/old/gstpipefilter.sgml:
8148 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8149 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8150 * docs/gst/tmpl/old/gstshaper.sgml:
8151 * docs/gst/tmpl/old/gstspider.sgml:
8152 * docs/gst/tmpl/old/gstspideridentity.sgml:
8153 * docs/gst/tmpl/old/gststatistics.sgml:
8154 * docs/gst/tmpl/old/gsttee.sgml:
8155 * docs/gst/tmpl/old/gsttimecache.sgml:
8156 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8157 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8158 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8159 * docs/gst/tmpl/old/types.sgml:
8160 I didn't intend to add these or check them in.
8162 2005-05-19 David Schleef <ds@schleef.org>
8164 * configure.ac: Use -no-common everywhere. In a sane world, it
8165 would be the default in libtool, because without it, you can't
8166 build DLLs on Windows.
8167 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8168 * docs/gst/gstreamer-sections.txt:
8169 * docs/gst/tmpl/gstcpu.sgml:
8170 * docs/gst/tmpl/gstdata.sgml:
8171 * docs/gst/tmpl/gstthread.sgml:
8173 2005-05-19 David Schleef <ds@schleef.org>
8175 * gst/gstminiobject.c: (gst_value_set_mini_object),
8176 (gst_value_take_mini_object), (gst_value_get_mini_object):
8177 * gst/gstminiobject.h: Add GValue set/get functions.
8179 2005-05-19 Wim Taymans <wim@fluendo.com>
8181 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8182 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8183 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8185 * gst/gstbus.c: (gst_bus_post):
8186 * gst/gstelement.c: (gst_element_get_random_pad):
8187 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8188 Make subbufer unref the parent in finalize.
8189 some more debugging info.
8192 2005-05-19 Wim Taymans <wim@fluendo.com>
8194 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8195 (gst_basesink_init), (gst_basesink_finalize),
8196 (gst_basesink_activate), (gst_basesink_change_state):
8197 Don't free preroll queue too early.
8199 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8203 Hi, I'm outdated. Please shoot me.
8205 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8207 * gst/gstpipeline.c: (gst_pipeline_send_event):
8208 Do not access variables after they have been deleted.
8210 2005-05-19 Wim Taymans <wim@fluendo.com>
8212 * tools/gst-inspect.c: (print_plugin_features):
8213 A plugin feature does unfortunatly not use the
8216 2005-05-18 Wim Taymans <wim@fluendo.com>
8218 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8219 Port _span() functions to new subbuffers.
8221 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8223 * gst/gstbin.c: (gst_bin_add_func):
8224 Fix clock settery in bins when adding kids after the clock has
8227 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8229 * gst/elements/gstidentity.c: (gst_identity_class_init):
8230 Workaround until signals support GstMiniObject.
8232 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8235 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8237 2005-05-18 Wim Taymans <wim@fluendo.com>
8239 * gst/base/Makefile.am:
8240 * gst/base/gstadapter.c: (gst_adapter_base_init),
8241 (gst_adapter_class_init), (gst_adapter_init),
8242 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8243 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8244 (gst_adapter_flush), (gst_adapter_available),
8245 (gst_adapter_available_fast):
8246 * gst/base/gstadapter.h:
8247 Ported and added adapter to the base classes.
8249 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8253 Make sure the class is reffed/unreffed once before threads can be
8254 used. Fixes #304551.
8256 2005-05-17 Wim Taymans <wim@fluendo.com>
8258 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8259 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8260 * gst/gstminiobject.c: (gst_mini_object_get_type),
8261 (gst_mini_object_free):
8262 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8263 (gst_pad_push), (gst_pad_push_event):
8264 * gst/gstqueue.c: (gst_queue_change_state):
8265 Don't queue buffers in basesink when we are flushing.
8266 Unref buffer when flushing in basesink.
8267 Flush queue when going to READY
8268 Unref buffer when _push() returns an error.
8269 Don't free MiniObject instance when refcount is incremented
8270 in _finalize() so that we can recover objects.
8272 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8274 * docs/manual/advanced-schedulers.xml:
8275 * docs/manual/appendix-checklist.xml:
8276 * docs/pwg/advanced-clock.xml:
8277 * docs/pwg/advanced-interfaces.xml:
8278 * docs/pwg/advanced-request.xml:
8279 * docs/pwg/advanced-types.xml:
8280 * docs/pwg/intro-preface.xml:
8281 * examples/plugins/example.c: (gst_example_get_type),
8282 (gst_example_class_init), (gst_example_chain),
8283 (gst_example_set_property), (gst_example_get_property),
8284 (gst_example_change_state), (plugin_init):
8285 * examples/plugins/example.h:
8288 2005-05-17 Wim Taymans <wim@fluendo.com>
8290 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8291 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8292 * gst/gstqueue.c: (gst_queue_change_state):
8293 Clear queue when going to READY.
8294 Remove IN_SETCAPS flag too.
8296 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8298 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8299 Remove implicit cast from gboolean to GstElementStateReturn;
8300 make sure we still return failure in paused => ready case if
8301 the parent class fails to change state and our own stop
8304 2005-05-17 Wim Taymans <wim@fluendo.com>
8306 * tools/gst-launch.c: (event_loop):
8307 Message was unreffed too soon.
8309 2005-05-16 Andy Wingo <wingo@pobox.com>
8311 * gst/gstbin.c (sink_iterator_filter): Err... um...
8313 * check/gst/gstbin.c (test_ghost_pads): New test for the
8314 ghosting-if-elements-not-in-same-bin behavior.
8316 2005-05-16 David Schleef <ds@schleef.org>
8318 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8319 accessing refcount directly.
8321 2005-05-15 David Schleef <ds@schleef.org>
8323 * check/Makefile.am: remove GstData checks
8324 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8325 * gst/Makefile.am: add miniobject, remove data
8326 * gst/gst.h: add miniobject, remove data
8327 * gst/gstdata.c: remove
8328 * gst/gstdata.h: remove
8329 * gst/gstdata_private.h: remove
8330 * gst/gsttypes.h: remove GstEvent and GstMessage
8331 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8332 * gst/gstmarshal.list: change BOXED -> OBJECT
8334 Implement GstMiniObject.
8335 * gst/gstminiobject.c:
8336 * gst/gstminiobject.h:
8338 Modify to be subclasses of GstMiniObject.
8339 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8340 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8341 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8342 (gst_subbuffer_get_type), (gst_subbuffer_init),
8343 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8346 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8347 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8348 (_gst_event_copy), (gst_event_new):
8350 * gst/gstmessage.c: (_gst_message_initialize),
8351 (gst_message_get_type), (gst_message_class_init),
8352 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8353 (gst_message_new), (gst_message_new_error),
8354 (gst_message_new_warning), (gst_message_new_tag),
8355 (gst_message_new_state_changed), (gst_message_new_application):
8357 * gst/gstprobe.c: (gst_probe_perform),
8358 (gst_probe_dispatcher_dispatch):
8360 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8361 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8362 (_gst_query_copy), (gst_query_new):
8364 Update elements for GstData -> GstMiniObject changes
8366 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8367 (gst_queue_chain), (gst_queue_loop):
8368 * gst/elements/gstbufferstore.c:
8369 (gst_buffer_store_add_buffer_func),
8370 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8371 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8372 (gst_fakesink_render):
8373 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8374 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8375 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8376 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8377 (gst_filesrc_create_read):
8378 * gst/elements/gstidentity.c: (gst_identity_class_init):
8379 * gst/elements/gsttypefindelement.c:
8380 (gst_type_find_element_src_event), (free_entry_buffers),
8381 (gst_type_find_element_handle_event):
8382 * libs/gst/dataprotocol/dataprotocol.c:
8383 (gst_dp_header_from_buffer):
8384 * libs/gst/dataprotocol/dataprotocol.h:
8385 * libs/gst/dataprotocol/dp-private.h:
8387 2005-05-15 David Schleef <ds@schleef.org>
8389 * gst/elements/gstelements.c: Don't include headers that were
8392 2005-05-15 David Schleef <ds@schleef.org>
8394 * gst/elements/Makefile.am: Remove some elements that don't
8395 need to be in the core (or even exist at all).
8396 * gst/elements/gstaggregator.c:
8397 * gst/elements/gstaggregator.h:
8398 * gst/elements/gstmd5sink.c:
8399 * gst/elements/gstmd5sink.h:
8400 * gst/elements/gstmultifilesrc.c:
8401 * gst/elements/gstmultifilesrc.h:
8402 * gst/elements/gstpipefilter.c:
8403 * gst/elements/gstpipefilter.h:
8404 * gst/elements/gstshaper.c:
8405 * gst/elements/gstshaper.h:
8406 * gst/elements/gststatistics.c:
8407 * gst/elements/gststatistics.h:
8408 * po/POTFILES.in: Remove above files.
8410 2005-05-14 Andy Wingo <wingo@pobox.com>
8412 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8413 so as to get the refs right.
8414 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8415 unreffing objects that don't pass the filter.
8417 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8418 gst_element_set_bus.
8419 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8420 normal cases, this will destroy the bus.
8422 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8425 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8428 2005-05-13 Andy Wingo <wingo@pobox.com>
8430 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8431 gst_pad_link, call pad_link_maybe_ghosting,
8432 (pad_link_maybe_ghosting): Links pads, making sure that the
8433 elements being linked are in the same bin.
8434 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8435 Helpers for pad_link_maybe_ghosting.
8437 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8440 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8442 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8444 * docs/design/part-element-source.txt:
8447 2005-05-12 Wim Taymans <wim@fluendo.com>
8449 * gst/base/gstbasesink.c: (gst_basesink_init),
8450 (gst_basesink_activate):
8451 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8452 (gst_basesrc_is_seekable):
8453 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8454 (bin_element_is_sink), (gst_bin_change_state):
8455 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8457 Identify sinks by their flag to avoid overly complicated
8459 Do state changes even for elements not reachable from the
8461 BaseSink is a sink now :)
8462 Some more debugging info in the basesrc.
8465 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8467 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8468 Implement _query on a bin, similar to _send_event.
8470 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8472 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8473 Discont event offset format should be GST_FORMAT_BYTES,
8474 not GST_FORMAT_TIME.
8476 2005-05-12 Wim Taymans <wim@fluendo.com>
8478 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8479 Same fix as Ronald's but without the signal.
8481 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8483 * gst/gstutils.c: (gst_element_query_position):
8484 No, an element is not a pad.
8486 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8488 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8489 (gst_bin_get_state):
8490 If a child is removed from a bin while we remove the child from
8491 the bin and while we're retrieving its state, signal this to the
8492 get_state function so we abort the wait (instead of waiting for
8493 a timeout) and can immediately re-iterate over all other elements.
8495 2005-05-12 Wim Taymans <wim@fluendo.com>
8497 * gst/base/Makefile.am:
8498 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8499 (gst_basesrc_start):
8500 * gst/base/gstbasesrc.h:
8501 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8502 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8503 (gst_pushsrc_init), (gst_pushsrc_create):
8504 * gst/base/gstpushsrc.h:
8505 Added is_seekable to BaseSrc
8506 Added simple PushSrc.
8508 2005-05-11 Wim Taymans <wim@fluendo.com>
8510 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8511 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8512 (gst_element_link_pads), (gst_element_query_position),
8513 (gst_element_query_convert), (intersect_caps_func),
8514 (gst_pad_query_position), (gst_pad_query_convert):
8515 Fix refcounting in utils function.
8516 No point in trying to activate a pad when it's added, it could
8517 be added from the state change function and then we deadlock, the
8518 element has to decide what to do.
8520 2005-05-10 Andy Wingo <wingo@pobox.com>
8522 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8523 *all* the arguments.
8525 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8526 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8527 lock (according to the docs -- if this is wrong change the docs).
8529 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8530 flush messages in the NULL state.
8532 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8533 message immediately and return.
8534 (gst_bus_set_flushing): New function. If a bus is flushing, it
8535 flushes out any queued messages and immediately unrefs new
8536 messages. This is so when an element goes to NULL, all of the
8537 unhandled messages coming from it can be freed, and their
8538 references to the element dropped. In other words: message source
8539 ref considered harmful :P
8541 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8542 we're finished with it.
8544 * gst/gstmessage.c (gst_message_new_state_changed):
8546 2005-05-10 Wim Taymans <wim@fluendo.com>
8548 * gst/gstvalue.c: (gst_value_compare_flags),
8549 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8550 (_gst_value_initialize):
8551 Added flags serialize/deserialize/compare code.
8553 2005-05-09 Andy Wingo <wingo@pobox.com>
8555 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8556 Intersect the peer's caps with our caps.
8558 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8560 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8561 * gst/elements/gsttypefindelement.c: (find_peek):
8562 Handle negative offsets better. Fixes decodebin.
8564 2005-05-09 Wim Taymans <wim@fluendo.com>
8566 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8567 (gst_base_transform_event):
8568 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8569 Implement accept_caps.
8570 Fix silly lock/unlock mismatch in base class.
8572 2005-05-09 Wim Taymans <wim@fluendo.com>
8574 * docs/design/draft-push-pull.txt:
8575 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8576 * gst/elements/gstfilesink.c: (gst_filesink_init),
8577 (gst_filesink_query):
8578 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8579 (gst_type_find_handle_src_query), (find_element_get_length):
8580 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8584 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8585 (gst_real_pad_get_caps_unlocked),
8586 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8587 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8588 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8589 (gst_real_pad_dispose), (gst_real_pad_finalize),
8590 (gst_pad_load_and_link), (gst_pad_save_thyself),
8591 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8592 (gst_pad_check_pull_range), (gst_pad_pull_range),
8593 (gst_pad_template_get_type), (gst_pad_template_class_init),
8594 (gst_pad_template_init), (gst_pad_template_dispose),
8595 (name_is_valid), (gst_static_pad_template_get),
8596 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8597 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8598 (gst_pad_get_element_private), (gst_pad_start_task),
8599 (gst_pad_pause_task), (gst_pad_stop_task),
8600 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8601 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8602 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8603 (gst_ghost_pad_new):
8605 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8606 (gst_query_new_position), (gst_query_set_position),
8607 (gst_query_parse_position), (gst_query_new_convert),
8608 (gst_query_set_convert), (gst_query_parse_convert):
8610 * gst/gstqueryutils.c:
8611 * gst/gstqueryutils.h:
8612 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8613 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8614 (gst_queue_handle_src_query):
8615 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8616 (gst_element_query_position), (gst_element_query_convert),
8617 (intersect_caps_func), (gst_pad_query_position),
8618 (gst_pad_query_convert):
8620 * tools/gst-inspect.c: (print_pad_info):
8621 * tools/gst-xmlinspect.c: (print_element_info):
8622 Remove old query functions. Ported old code.
8623 Added position/convert helper functions to gstutils.
8624 Reordered gstpad.c code, grouping relevant things.
8625 Remove gst_message_new(), always need to speficy a specific
8629 2005-05-09 Andy Wingo <wingo@pobox.com>
8631 * gst/gstiterator.h: Add some includes.
8633 * gst/gstqueryutils.h: Include more headers.
8636 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8637 some uses of gst_pad_query.
8639 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8640 NULL out parameters.
8641 (gst_query_new_position): New proc, allocates a new position
8644 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8645 gstqueryutils.c to the build.
8647 * gst/gststructure.c (gst_structure_set_valist): Implement with
8648 the generic G_VALUE_COLLECT.
8650 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8652 * gst/Makefile.am: (gst_headers):
8653 Added gstqueryutils.h to the list of headers to install, that was
8654 a 'nachty' move wingo :)
8656 2005-05-06 Andy Wingo <wingo@pobox.com>
8659 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8660 GstData, init a memchunk.
8661 (standard_definitions): Add a few query types, deprecate a few.
8662 (gst_query_get_type): New proc.
8663 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8665 (gst_query_new_application, gst_query_get_structure): New public
8668 * docs/design/draft-query.txt: Removed LINKS from the query types,
8669 because all the rest can be dispatched to other pads -- seemed
8670 ugly to have a query that couldn't be dispatched. internal_links
8671 is fine as a pad method.
8673 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8674 in gstpad.c, but maintain binary compatibility for the moment.
8675 Will fix before 0.9 is out.
8677 * gst/gstqueryutils.c:
8678 * gst/gstqueryutils.h: New files, implement 3 methods for each
8679 query type: parse_query, parse_response, and set. Probably need an
8682 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8684 * gst/elements/gstfilesink.c (gst_filesink_query2):
8685 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8686 query_types, and formats methods.
8688 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8689 (gst_pad_set_query2_function): New functions.
8690 (gst_real_pad_init): Set query2_default as the default query2
8691 function. Basically just dispatches to internally linked pads.
8695 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8696 without using the atomic operations. Only one thread can possibly
8697 be accessing the data at this point. Changed so as to avoid
8698 gst_atomic operations.
8700 2005-05-06 Wim Taymans <wim@fluendo.com>
8702 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8703 Also set caps if we use the fallback buffer alloc.
8705 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8707 * docs/gst/Makefile.am:
8708 * docs/gst/gstreamer-docs.sgml:
8709 * docs/gst/gstreamer-sections.txt:
8710 * docs/gst/tmpl/gstatomic.sgml:
8711 * docs/gst/tmpl/gstmemchunk.sgml:
8712 * testsuite/elements/struct_i386.h:
8713 * win32/GStreamer.vcproj:
8715 Purge GstAtomic stuff from docs and win32 makefiles as well
8717 2005-05-06 Wim Taymans <wim@fluendo.com>
8719 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8720 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8721 * gst/gstpad.c: (gst_pad_peer_get_caps):
8722 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8723 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8724 (gst_queue_src_activate), (gst_queue_change_state):
8726 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8727 (intersect_caps_func):
8728 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8729 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8730 Some fixes for the peer_get_caps() change.
8732 2005-05-06 Wim Taymans <wim@fluendo.com>
8734 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8735 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8736 (gst_basesink_activate):
8737 Actually do something with error codes returned from the push
8740 2005-05-06 Wim Taymans <wim@fluendo.com>
8742 * docs/design/part-element-sink.txt:
8743 * docs/design/part-element-source.txt:
8744 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8745 (gst_basesink_event), (gst_basesink_activate):
8746 * gst/base/gstbasesink.h:
8747 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8748 (gst_basesrc_activate):
8749 * gst/base/gstbasesrc.h:
8750 * gst/gstelement.c: (gst_element_pads_activate):
8751 Some more documentation.
8752 Fixed scheduling decision in _pads_activate().
8754 2005-05-05 Andy Wingo <wingo@pobox.com>
8756 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8759 2005-05-05 Wim Taymans <wim@fluendo.com>
8761 * gst/base/Makefile.am:
8762 * gst/base/gstbasesink.h:
8763 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8764 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8765 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8766 (gst_collectpads_class_init), (gst_collectpads_init),
8767 (gst_collectpads_finalize), (gst_collectpads_new),
8768 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8769 (find_pad), (gst_collectpads_remove_pad),
8770 (gst_collectpads_is_active), (gst_collectpads_collect),
8771 (gst_collectpads_collect_range), (gst_collectpads_start),
8772 (gst_collectpads_stop), (gst_collectpads_peek),
8773 (gst_collectpads_pop), (gst_collectpads_available),
8774 (gst_collectpads_read), (gst_collectpads_flush),
8775 (gst_collectpads_chain):
8776 * gst/base/gstcollectpads.h:
8777 * gst/elements/Makefile.am:
8778 * gst/elements/gstelements.c:
8779 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8780 (gst_fakesink_get_times), (gst_fakesink_event),
8781 (gst_fakesink_preroll), (gst_fakesink_render):
8782 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8783 (gst_filesink_init), (gst_filesink_set_location),
8784 (gst_filesink_open_file), (gst_filesink_close_file),
8785 (gst_filesink_pad_query), (gst_filesink_event),
8786 (gst_filesink_render), (gst_filesink_change_state):
8787 * gst/elements/gstfilesink.h:
8788 Added object to help in making collect pad based elements.
8790 Make event function in sink baseclass return gboolean.
8792 2005-05-05 Wim Taymans <wim@fluendo.com>
8794 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8795 (gst_bin_get_by_name):
8797 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8798 (gst_clock_finalize):
8799 * gst/gstdata.c: (gst_data_replace):
8801 * gst/gstelement.c: (gst_element_request_pad),
8802 (gst_element_pads_activate):
8803 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8805 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8806 (gst_pad_set_checkgetrange_function),
8807 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8808 (gst_pad_check_pull_range), (gst_pad_pull_range),
8809 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8810 (gst_pad_pause_task), (gst_pad_stop_task):
8811 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8812 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8813 Fix name lookup in GstBin.
8814 Added _data_replace() function and _buffer_replace()
8815 Use finalize method to clean up clock.
8816 Fix refcounting on request pads.
8817 Fix pad schedule mode error.
8818 Some more object refcounting debug info,
8821 2005-05-04 Andy Wingo <wingo@pobox.com>
8823 * check/Makefile.am:
8824 * docs/gst/tmpl/gstatomic.sgml:
8825 * docs/gst/tmpl/gstplugin.sgml:
8826 * gst/base/gstbasesink.c: (gst_basesink_activate):
8827 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8828 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8829 (gst_basesrc_query), (gst_basesrc_set_property),
8830 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8831 (gst_basesrc_activate):
8832 * gst/base/gstbasesrc.h:
8833 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8834 (gst_base_transform_src_activate):
8835 * gst/elements/gstelements.c:
8836 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8837 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8838 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8839 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8840 (gst_type_find_element_checkgetrange),
8841 (gst_type_find_element_activate):
8842 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8843 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8844 (gst_caps_load_thyself):
8845 * gst/gstelement.c: (gst_element_pads_activate),
8846 (gst_element_save_thyself), (gst_element_restore_thyself):
8847 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8848 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8850 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8851 (gst_xml_parse_file), (gst_xml_parse_memory),
8852 (gst_xml_get_element), (gst_xml_make_element):
8853 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8854 (_file_index_id_save_xml), (gst_file_index_commit):
8855 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8856 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8858 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8859 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8860 * tools/gst-complete.c: (main):
8861 * tools/gst-compprep.c: (main):
8862 * tools/gst-inspect.c: (print_element_properties_info):
8863 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8864 * tools/gst-xmlinspect.c: (print_element_properties):
8867 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8869 * gst/gstplugin.c: (gst_plugin_check_module),
8870 (gst_plugin_check_file), (gst_plugin_load_file):
8871 apply patch from #172526 to make register work on MacOSX
8873 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8875 * docs/gst/tmpl/gstconfig.sgml:
8876 * gst/gstconfig.h.in:
8877 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8878 * testsuite/debug/printf_extension.c: (main):
8879 Do not use GST_PTR_FORMAT on pointers to types with
8880 sizeof < sizeof(gpointer). Fixes test on 64-bit
8881 * testsuite/elements/property.h:
8882 use correct printf format
8884 2005-05-02 Wim Taymans <wim@fluendo.com>
8886 * docs/design/draft-push-pull.txt:
8887 * docs/design/draft-query.txt:
8888 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8889 (gst_basesrc_start):
8890 Added draft for new query API.
8891 Added draft for better selecting scheduling methods.
8892 Make basesrc ignore length if the subclass does not support
8895 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8898 possible fixes for automake-1.5 - _LIBADD is reserved
8900 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8902 * docs/faq/Makefile.am:
8903 * docs/manual/Makefile.am:
8905 * docs/pwg/Makefile.am:
8907 possible fixes for automake-1.5
8909 2005-04-28 Wim Taymans <wim@fluendo.com>
8911 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8912 (gst_basesink_pad_getcaps), (gst_basesink_init),
8913 (gst_basesink_do_sync):
8914 * gst/gstclock.c: (gst_clock_entry_new):
8915 * gst/gstevent.c: (gst_event_discont_get_value):
8916 * gst/gstpipeline.c: (pipeline_bus_handler),
8917 (gst_pipeline_change_state):
8918 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8919 Better debugging of clocking info.
8920 Allow NULL values when getting discont values.
8922 2005-04-27 Wim Taymans <wim@fluendo.com>
8924 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8925 * check/gst/gstpad.c: (gst_pad_suite):
8926 Increase timeout for checks.
8928 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8930 * check/Makefile.am:
8931 fix the broken rule for cleanup. Apparently this rule is
8932 only needed on FC2, so maybe this warrants further autotool
8935 2005-04-26 Wim Taymans <wim@fluendo.com>
8937 * gst/gsttrashstack.h:
8938 Ooohh. a nasty one! After having a failed pop() from the stack,
8939 it's possible that the stack is empty. In that case, don't
8940 follow the NULL pointer.
8942 2005-04-25 Wim Taymans <wim@fluendo.com>
8944 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8945 (gst_pad_set_checkgetrange_function),
8946 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
8947 (gst_pad_check_pull_range), (gst_pad_pull_range),
8948 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8949 (gst_pad_pause_task), (gst_pad_stop_task):
8950 * gst/gstplugin.c: (gst_plugin_load):
8952 Remove gst_library_load as it does more harm than good with
8953 the new g_module flags.
8954 Revert bogus caps template check in pad linking, pad caps
8955 are important when linking not the template, which is more
8956 general than the current caps.
8958 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8960 * gst/autoplug/.cvsignore:
8961 * gst/autoplug/Makefile.am:
8962 * gst/autoplug/gstsearchfuncs.c:
8963 * gst/autoplug/gstsearchfuncs.h:
8964 * gst/autoplug/gstspider.c:
8965 * gst/autoplug/gstspider.h:
8966 * gst/autoplug/gstspideridentity.c:
8967 * gst/autoplug/gstspideridentity.h:
8968 * gst/autoplug/spidertest.c:
8971 2005-04-25 Wim Taymans <wim@fluendo.com>
8973 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8974 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8975 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
8976 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
8978 Added stubs for unimplemented functions.
8980 2005-04-24 David Schleef <ds@schleef.org>
8982 * gst/gstpad.h: Disable some unimplemented functions. Wim,
8985 2005-04-24 David Schleef <ds@schleef.org>
8987 Convert everything from GstAtomicInt to g_atomic_int_*, and
8992 * gst/gstatomic_impl.h:
9000 * gst/gstdata_private.h:
9007 * gst/gststructure.c:
9008 * gst/gststructure.h:
9009 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9012 2005-04-24 David Schleef <ds@schleef.org>
9014 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9015 make the regressions tests work. Remove some code that is no
9017 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9018 Disable warning for pads without templates.
9020 2005-04-24 David Schleef <ds@schleef.org>
9022 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9023 functions that handle filtered links.
9024 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9026 * gst/gstutils.c: Fix/remove utility functions that handle
9029 * gst/gstvalue.c: Add serialization/deserialization of caps
9030 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9031 requires fixing so that the filter caps notation creates
9032 a capsfilter element and sets the filter_caps property. I
9033 think everyone probably wants to keep the shorthand notation.
9034 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9035 * docs/gst/tmpl/gstpad.sgml:
9037 * gst/elements/gstelements.c: Register capsfilter element.
9038 * gst/Makefile.am: fix spacing
9039 * docs/random/ds/0.9-suggested-changes: random
9041 2005-04-23 David Schleef <ds@schleef.org>
9043 * gst/elements/Makefile.am:
9044 * gst/elements/gstcapsfilter.c: New element that acts like an
9045 identity, but filters caps. Will eventually replace filtered
9046 caps in pad linking.
9047 * gst/gstutils.c: (gst_element_create_all_pads): New function
9048 to create all the ALWAYS pads that are registered with an
9049 element class. This functionality should eventually be
9050 merged in with GstElement initialization.
9052 * testsuite/trigger/README: part of trigger test code that should
9053 have been checked in a long time ago.
9055 2005-04-23 David Schleef <ds@schleef.org>
9057 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9058 needed with new versions of libtool (nobody will confirm this),
9059 and hard to carry around.
9060 * gst/autoplug/Makefile.am:
9061 * gst/base/Makefile.am:
9062 * gst/elements/Makefile.am:
9063 * gst/indexers/Makefile.am:
9064 * gst/schedulers/Makefile.am:
9065 * libs/gst/bytestream/Makefile.am:
9066 * libs/gst/control/Makefile.am:
9067 * libs/gst/dataprotocol/Makefile.am:
9068 * libs/gst/getbits/Makefile.am:
9070 2005-04-21 Wim Taymans <wim@fluendo.com>
9072 * docs/design/draft-push-pull.txt:
9073 * docs/design/part-MT-refcounting.txt:
9074 * docs/design/part-TODO.txt:
9075 * docs/design/part-caps.txt:
9076 * docs/design/part-events.txt:
9077 * docs/design/part-gstbus.txt:
9078 * docs/design/part-gstpipeline.txt:
9079 * docs/design/part-messages.txt:
9080 * docs/design/part-push-pull.txt:
9081 * docs/design/part-query.txt:
9084 2005-04-21 Wim Taymans <wim@fluendo.com>
9086 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9087 (gst_message_new), (gst_message_new_error),
9088 (gst_message_new_warning), (gst_message_new_tag),
9089 (gst_message_new_state_changed), (gst_message_new_application),
9090 (gst_message_get_structure):
9092 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9093 (gst_structure_copy_conditional):
9094 Use parent refcount in GstMessage to ensure GstStructure
9096 Cleaned up headers a bit.
9099 2005-04-20 Wim Taymans <wim@fluendo.com>
9101 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9102 (gst_basesink_pad_getcaps), (gst_basesink_init),
9103 (gst_basesink_chain_unlocked):
9104 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9105 (gst_type_find_helper):
9106 * gst/elements/gsttypefindelement.c:
9107 (gst_type_find_element_have_type), (gst_type_find_element_init),
9108 (stop_typefinding), (gst_type_find_element_handle_event),
9109 (find_suggest), (gst_type_find_element_chain),
9110 (gst_type_find_element_checkgetrange),
9111 (gst_type_find_element_getrange), (do_typefind),
9112 (gst_type_find_element_activate):
9113 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9114 (gst_buffer_default_free), (gst_buffer_default_copy),
9115 (gst_buffer_set_caps):
9116 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9118 * gst/gstmessage.c: (gst_message_new),
9119 (gst_message_new_state_changed):
9120 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9121 (gst_pad_set_checkgetrange_function),
9122 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9123 (gst_pad_set_caps), (gst_pad_check_pull_range),
9124 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9126 * gst/gsttypefind.c: (gst_type_find_register):
9127 Make gst_caps_replace() work like other _replace() functions.
9128 Use _caps_replace() where possible.
9129 Make sure _message_new() initialises its field.
9130 Add gst_static_pad_template_get_caps()
9133 2005-04-18 Andy Wingo <wingo@pobox.com>
9135 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9136 on the peer, not the pad. I think that was a typo. Pass an extra
9137 arg to see if random access is possible. Activate the pads as
9138 PULL_RANGE if possible.
9140 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9142 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9143 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9146 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9148 * docs/faq/using.xml:
9149 Add note on gstreamer-properties (#154996).
9151 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9153 * docs/random/bbb/optional-properties:
9154 Some analysis on optional properties.
9156 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9158 * docs/gst/tmpl/gstelementfactory.sgml:
9160 * gst/gstelementfactory.c: (gst_element_factory_init),
9161 (gst_element_factory_cleanup), (gst_element_register),
9162 (__gst_element_factory_add_static_pad_template),
9163 (gst_element_factory_get_static_pad_templates),
9164 (gst_element_factory_can_src_caps),
9165 (gst_element_factory_can_sink_caps):
9166 * gst/registries/Makefile.am:
9167 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9168 (gst_xml_registry_class_init), (gst_xml_registry_init),
9169 (gst_xml_registry_new), (gst_xml_registry_set_property),
9170 (gst_xml_registry_get_property), (get_time), (make_dir),
9171 (gst_xml_registry_get_perms_func),
9172 (plugin_times_older_than_recurse), (plugin_times_older_than),
9173 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9174 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9175 (add_to_char_array), (read_string), (read_uint), (read_enum),
9176 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9177 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9178 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9179 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9180 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9181 (gst_xml_registry_rebuild):
9182 * gst/registries/gstlibxmlregistry.h:
9183 * tools/gst-compprep.c: (main):
9184 * tools/gst-inspect.c: (print_pad_templates_info):
9185 * tools/gst-xmlinspect.c: (print_element_info):
9186 Use libxml2 for registry parsing, use staticpadtemplates in
9187 elementfactories. Makes gst_init() +/- 10x faster.
9189 2005-04-12 Wim Taymans <wim@fluendo.com>
9191 * gst/base/Makefile.am:
9192 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9193 (gst_basesink_pad_getcaps), (gst_basesink_init),
9194 (gst_basesink_event), (gst_basesink_change_state):
9195 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9196 (gst_basesrc_init), (gst_basesrc_query),
9197 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9198 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9199 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9200 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9201 (gst_basesrc_stop), (gst_basesrc_activate),
9202 (gst_basesrc_change_state):
9203 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9204 (helper_find_suggest), (gst_type_find_helper):
9205 * gst/base/gsttypefindhelper.h:
9206 * gst/elements/Makefile.am:
9207 * gst/elements/gstelements.c:
9208 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9209 (gst_fakesink_get_times), (gst_fakesink_event),
9210 (gst_fakesink_preroll), (gst_fakesink_render):
9211 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9212 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9213 (gst_fakesrc_get_property), (gst_fakesrc_create),
9214 (gst_fakesrc_start), (gst_fakesrc_stop):
9215 * gst/elements/gstfakesrc.h:
9216 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9217 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9218 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9219 (gst_filesrc_create_read), (gst_filesrc_create),
9220 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9221 (gst_filesrc_start):
9222 * gst/elements/gsttypefindelement.c:
9223 (gst_type_find_element_have_type), (gst_type_find_element_init),
9224 (start_typefinding), (stop_typefinding), (push_buffer_store),
9225 (gst_type_find_element_handle_event),
9226 (gst_type_find_element_chain),
9227 (gst_type_find_element_checkgetrange),
9228 (gst_type_find_element_getrange), (do_typefind),
9229 (gst_type_find_element_activate),
9230 (gst_type_find_element_change_state):
9231 * gst/elements/gsttypefindelement.h:
9232 * gst/gstpipeline.c: (pipeline_bus_handler):
9233 Added typefind helper.
9234 Small preroll fix in the base sink.
9235 Disable typefind code in basesrc.
9236 Crude port of typefindelement.
9240 2005-04-11 Wim Taymans <wim@fluendo.com>
9242 * check/gst/gstbus.c: (gstbus_suite):
9243 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9245 Fix up the timeout so that the test does not fail.
9247 2005-04-06 Wim Taymans <wim@fluendo.com>
9250 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9251 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9252 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9253 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9254 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9255 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9256 (gst_basesrc_stop), (gst_basesrc_activate),
9257 (gst_basesrc_change_state), (basesrc_find_peek),
9258 (basesrc_find_suggest), (gst_basesrc_type_find):
9259 * gst/base/gstbasesrc.h:
9260 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9261 (gst_filesrc_class_init), (gst_filesrc_init),
9262 (gst_filesrc_finalize), (gst_filesrc_set_location),
9263 (gst_filesrc_set_property), (gst_filesrc_get_property),
9264 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9265 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9266 (gst_filesrc_create_read), (gst_filesrc_create),
9267 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9268 * gst/elements/gstfilesrc.h:
9269 * gst/gstelement.c: (gst_element_get_state_func),
9270 (gst_element_lost_state), (gst_element_pads_activate):
9271 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9272 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9273 (gst_pad_pull_range):
9275 More work on the generic source base class, implement seeking,
9277 Make filesrc extend the base source class.
9278 Added gst_pad_set_checkgetrange_function to GstPad.
9280 2005-04-06 Andy Wingo <wingo@pobox.com>
9282 * pkgconfig/gstreamer-base.pc.in:
9283 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9285 * pkgconfig/Makefile.am:
9286 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9288 2005-04-04 Wim Taymans <wim@fluendo.com>
9290 * gst/base/Makefile.am:
9292 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9293 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9294 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9295 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9296 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9297 (gst_basesrc_base_init), (gst_basesrc_class_init),
9298 (gst_basesrc_init), (gst_basesrc_get_formats),
9299 (gst_basesrc_get_query_types), (gst_basesrc_query),
9300 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9301 (gst_basesrc_set_property), (gst_basesrc_get_property),
9302 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9303 (gst_basesrc_loop), (gst_basesrc_activate),
9304 (gst_basesrc_change_state):
9305 * gst/base/gstbasesrc.h:
9306 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9307 (gst_fakesrc_class_init), (gst_fakesrc_init),
9308 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9309 (gst_fakesrc_get_property), (gst_fakesrc_create):
9310 * gst/elements/gstfakesrc.h:
9311 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9312 (gst_filesrc_open_file), (gst_filesrc_loop),
9313 (gst_filesrc_activate), (filesrc_find_peek),
9314 (gst_filesrc_type_find):
9315 Made base source class, make fakesrc extend it.
9316 Add comments to basesink class.
9317 Some filesrc cleanup.
9319 2005-03-31 David Schleef <ds@schleef.org>
9321 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9322 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9323 expected to link against libgstreamer.
9324 * gst/base/Makefile.am: link against libgstreamer
9325 * gst/elements/Makefile.am: same
9327 2005-03-31 Andy Wingo <wingo@pobox.com>
9329 * tests/instantiate/Makefile.am:
9330 * tests/instantiate/caps.c: Add test to test speed of caps copy
9333 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9334 GMemChunk to be fair.
9336 * gst/gsttrashstack.h: Remove warning about using the fallback
9337 trash stack implementation, it's still faster than malloc.
9339 2005-03-30 Andy Wingo <wingo@pobox.com>
9341 * tests/complexity.c: Add a copyright.
9343 2005-03-31 Wim Taymans <wim@fluendo.com>
9345 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9346 (gst_base_transform_class_init), (gst_base_transform_init),
9347 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9348 (gst_base_transform_get_property),
9349 (gst_base_transform_sink_activate),
9350 (gst_base_transform_src_activate),
9351 (gst_base_transform_change_state):
9352 * gst/base/gstbasetransform.h:
9353 * gst/elements/gstidentity.c: (gst_identity_class_init),
9354 (gst_identity_event), (gst_identity_check_perfect),
9355 (gst_identity_transform), (gst_identity_start),
9356 (gst_identity_stop):
9357 Added start/stop methods to transform base class so subclasses
9358 don't need to deal with state changes even.
9360 2005-03-31 Wim Taymans <wim@fluendo.com>
9362 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9363 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9365 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9366 (gst_pad_pull_range):
9367 Added rate to the discont event to prepare for variable speed
9368 and reverse playback.
9370 2005-03-29 David Schleef <ds@schleef.org>
9373 * testsuite/trigger/Makefile.am:
9374 * testsuite/trigger/trigger.c: A little example program to show
9375 how trigger-based elements can work.
9377 2005-03-29 Wim Taymans <wim@fluendo.com>
9379 * gst/base/Makefile.am:
9381 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9382 (gst_basesink_base_init), (gst_basesink_class_init),
9383 (gst_basesink_pad_getcaps), (gst_basesink_init),
9384 (gst_basesink_activate), (gst_basesink_change_state):
9385 * gst/base/gstbasesink.h:
9386 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9387 (gst_base_transform_base_init), (gst_base_transform_finalize),
9388 (gst_base_transform_class_init), (gst_base_transform_init),
9389 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9390 (gst_base_transform_event), (gst_base_transform_getrange),
9391 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9392 (gst_base_transform_set_property),
9393 (gst_base_transform_get_property),
9394 (gst_base_transform_sink_activate),
9395 (gst_base_transform_src_activate),
9396 (gst_base_transform_change_state):
9397 * gst/base/gstbasetransform.h:
9398 * gst/elements/gstidentity.c: (gst_identity_finalize),
9399 (gst_identity_class_init), (gst_identity_init),
9400 (gst_identity_event), (gst_identity_check_perfect),
9401 (gst_identity_transform), (gst_identity_set_property),
9402 (gst_identity_get_property), (gst_identity_change_state):
9403 * gst/elements/gstidentity.h:
9404 * gst/gstelement.c: (gst_element_get_state_func),
9405 (gst_element_lost_state), (gst_element_pads_activate):
9406 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9407 (gst_pad_check_pull_range), (gst_pad_pull_range):
9409 Simplify pad activation.
9410 Added function to check if pull_range can be performed.
9411 Error out when pulling inactive or flushing pads.
9412 Removed const from refcounted types as it does not make sense.
9413 Simplify pad templates in basesink
9414 Added base class for simple 1-to-1 transforms.
9415 Make identity subclass the base transform.
9417 2005-03-29 Andy Wingo <wingo@pobox.com>
9419 * docs/libs/gstreamer-libs-overrides.txt:
9420 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9421 really don't understand what's going on, but like whatever. I want
9424 * docs/gst/Makefile.am:
9425 * docs/libs/Makefile.am: Dist the overrides files.
9427 * check/Makefile.am (clean-local): Remove .libs directories.
9429 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9430 elements to EXTRA_DIST, so po/ files are happy.
9432 * po/POTFILES.in: Er, remove it here.
9434 * po/POTFILES: Remove gstspider.c.
9436 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9438 * docs/libs/gstreamer-libs-docs.sgml:
9439 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9442 * tests/complexity.c (main): Set the length of the preroll queue
9443 on the sinks to prevent a lockup.
9445 * libs/gst/dataprotocol/Makefile.am:
9446 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9447 the same as the one in check/gst-libs/gdp.c.
9449 * po/, docs/gst/: Commit automatic changes to docs and po files.
9451 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9452 the versioned libgstbase.
9454 * check/Makefile.am: Depend on an unversioned gst-register, seems
9455 to make autoconf happier.
9457 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9459 2005-03-28 Wim Taymans <wim@fluendo.com>
9462 * docs/design/part-gstelement.txt:
9463 * docs/design/part-negotiation.txt:
9464 * docs/design/part-preroll.txt:
9465 * docs/design/part-scheduling.txt:
9466 * docs/design/part-states.txt:
9468 * gst/base/Makefile.am:
9470 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9471 (gst_basesink_base_init), (gst_basesink_class_init),
9472 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9473 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9474 (gst_basesink_set_pad_functions),
9475 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9476 (gst_basesink_set_property), (gst_basesink_get_property),
9477 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9478 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9479 (gst_basesink_preroll_queue_push),
9480 (gst_basesink_preroll_queue_empty),
9481 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9482 (gst_basesink_event), (gst_basesink_get_times),
9483 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9484 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9485 (gst_basesink_loop), (gst_basesink_activate),
9486 (gst_basesink_change_state):
9487 * gst/base/gstbasesink.h:
9488 * gst/elements/Makefile.am:
9489 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9490 (gst_fakesink_class_init), (gst_fakesink_init),
9491 (gst_fakesink_set_property), (gst_fakesink_get_property),
9492 (gst_fakesink_get_times), (gst_fakesink_event),
9493 (gst_fakesink_preroll), (gst_fakesink_render),
9494 (gst_fakesink_change_state):
9495 * gst/elements/gstfakesink.h:
9496 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9497 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9498 * gst/gstelement.c: (gst_element_add_pad),
9499 (gst_element_get_state_func), (gst_element_abort_state),
9500 (gst_element_commit_state), (gst_element_lost_state),
9501 (gst_element_set_state), (gst_element_pads_activate):
9502 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9503 * gst/gstpipeline.c: (gst_pipeline_send_event),
9504 (gst_pipeline_change_state):
9505 Added state change code.
9507 Added sink base class, make fakesink extend the base class.
9508 Small cleanups in GstPipeline.
9510 2005-03-26 David Schleef <ds@schleef.org>
9512 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9513 is broken and should be implemented in a different library.
9514 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9515 * gst/gst.h: remove gstcpu.h
9516 * gst/gstcpu.c: remove
9517 * gst/gstcpu.h: remove
9518 * gst/Makefile.am.future: Remove this file. It's ancient.
9520 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9522 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9523 (gst_bin_send_event):
9524 Add default event/set_manager handlers. The set_manager handler
9525 takes care that the manager is distributed over kids that were
9526 already in the bin before the manager was set. The event handler
9527 is a utility virtual function that sends the event over all sinks,
9528 so that gst_element_send_event (bin, event); has the expected
9530 * gst/gstpad.c: (gst_pad_event_default):
9531 Re-install default event handling for discontinuities, so that
9532 seeking works without requiring hacks in applications or extra
9534 * gst/gstpipeline.c: (gst_pipeline_class_init),
9535 (gst_pipeline_send_event):
9536 Half hack, half utility: set a pipeline to PAUSED for seek events,
9537 since that is the only way we can guarantee a/v sync. Means that
9538 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9539 and it "just works".
9541 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9543 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9544 Lock/unlock mismatch.
9546 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9548 * docs/faq/gst-uninstalled:
9549 add gst-plugins-base
9550 * docs/gst/Makefile.am:
9551 don't error out until docs are fixed
9552 * docs/gst/gstreamer.types:
9555 2005-03-22 Wim Taymans <wim@fluendo.com>
9557 * check/Makefile.am:
9558 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9559 * gst/gststructure.c: (gst_structure_set_valist),
9560 (gst_structure_copy_conditional):
9561 Activated more tests.
9563 Added G_TYPE_POINTER to GstStructure.
9566 2005-03-22 Wim Taymans <wim@fluendo.com>
9568 * docs/design/part-TODO.txt:
9569 * docs/design/part-events.txt:
9570 * docs/design/part-gstbin.txt:
9571 * docs/design/part-gstbus.txt:
9572 * docs/design/part-gstpipeline.txt:
9573 * docs/design/part-messages.txt:
9578 2005-03-21 Wim Taymans <wim@fluendo.com>
9580 * gst/gstbus.c: (gst_bus_post):
9581 Fix copy-and-paste error.
9583 2005-03-21 Wim Taymans <wim@fluendo.com>
9585 * check/Makefile.am:
9587 * gst/elements/Makefile.am:
9588 * gst/elements/gstelements.c:
9589 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9590 (gst_fakesink_event), (gst_fakesink_chain):
9591 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9592 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9593 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9594 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9595 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9596 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9597 (gst_fakesrc_loop), (gst_fakesrc_activate),
9598 (gst_fakesrc_change_state):
9599 * gst/elements/gstfakesrc.h:
9600 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9601 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9602 (gst_filesrc_open_file), (gst_filesrc_loop),
9603 (gst_filesrc_activate), (gst_filesrc_change_state),
9604 (filesrc_find_peek), (filesrc_find_suggest),
9605 (gst_filesrc_type_find):
9606 * gst/elements/gstidentity.c: (gst_identity_finalize),
9607 (gst_identity_class_init), (gst_identity_init),
9608 (gst_identity_proxy_getcaps), (identity_queue_push),
9609 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9610 (gst_identity_getrange), (gst_identity_chain),
9611 (gst_identity_sink_loop), (gst_identity_src_loop),
9612 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9613 (gst_identity_set_property), (gst_identity_get_property),
9614 (gst_identity_change_state):
9615 * gst/elements/gstidentity.h:
9616 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9617 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9618 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9619 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9620 (gst_tee_sink_activate):
9621 * gst/elements/gsttee.h:
9622 * gst/gst.c: (gst_register_core_elements), (init_post):
9624 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9625 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9626 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9627 (gst_bin_change_state):
9629 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9630 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9631 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9632 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9633 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9634 (bus_watch_callback), (bus_watch_destroy),
9635 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9636 (poll_timeout), (gst_bus_poll):
9640 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9641 (gst_element_post_message), (gst_element_message_full),
9642 (gst_element_get_state_func), (gst_element_get_state),
9643 (gst_element_abort_state), (gst_element_commit_state),
9644 (gst_element_lost_state), (gst_element_set_state),
9645 (gst_element_pads_activate), (gst_element_change_state),
9646 (gst_element_dispose), (gst_element_set_manager_func),
9647 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9648 (gst_element_set_manager), (gst_element_get_manager),
9649 (gst_element_set_bus), (gst_element_get_bus),
9650 (gst_element_set_scheduler), (gst_element_get_scheduler):
9652 * gst/gstevent.c: (gst_event_new_segment_seek),
9653 (gst_event_new_flush):
9655 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9656 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9657 (gst_message_new_eos), (gst_message_new_error),
9658 (gst_message_new_warning), (gst_message_new_tag),
9659 (gst_message_new_state_changed), (gst_message_new_application),
9660 (gst_message_get_structure), (gst_message_parse_tag),
9661 (gst_message_parse_state_changed), (gst_message_parse_error),
9662 (gst_message_parse_warning):
9664 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9665 (gst_real_pad_set_property), (gst_pad_set_active),
9666 (gst_pad_is_active), (gst_pad_set_blocked_async),
9667 (gst_pad_set_blocked), (gst_pad_is_blocked),
9668 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9669 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9670 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9671 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9672 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9673 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9674 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9675 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9676 (gst_pad_set_caps), (gst_pad_configure_sink),
9677 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9678 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9679 (gst_real_pad_dispose), (gst_real_pad_finalize),
9680 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9681 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9682 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9684 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9685 (pipeline_bus_handler), (gst_pipeline_change_state),
9686 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9687 * gst/gstpipeline.h:
9689 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9690 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9691 (gst_queue_link_src), (gst_queue_bufferalloc),
9692 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9693 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9694 (gst_queue_loop), (gst_queue_handle_src_event),
9695 (gst_queue_handle_src_query), (gst_queue_src_activate),
9696 (gst_queue_change_state):
9698 * gst/gstscheduler.c: (gst_scheduler_init),
9699 (gst_scheduler_dispose), (gst_scheduler_create_task),
9700 (gst_scheduler_factory_create):
9701 * gst/gstscheduler.h:
9702 * gst/gststructure.c: (gst_structure_get_type),
9703 (gst_structure_copy_conditional):
9704 * gst/gststructure.h:
9705 * gst/gsttaginterface.h:
9706 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9707 (gst_task_init), (gst_task_dispose), (gst_task_create),
9708 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9714 * gst/schedulers/Makefile.am:
9715 * gst/schedulers/cothreads_compat.h:
9716 * gst/schedulers/entryscheduler.c:
9717 * gst/schedulers/faircothreads.c:
9718 * gst/schedulers/faircothreads.h:
9719 * gst/schedulers/fairscheduler.c:
9720 * gst/schedulers/gstbasicscheduler.c:
9721 * gst/schedulers/gstoptimalscheduler.c:
9722 * gst/schedulers/gthread-cothreads.h:
9723 * gst/schedulers/threadscheduler.c:
9724 (gst_thread_scheduler_task_get_type),
9725 (gst_thread_scheduler_task_class_init),
9726 (gst_thread_scheduler_task_init),
9727 (gst_thread_scheduler_task_start),
9728 (gst_thread_scheduler_task_stop),
9729 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9730 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9731 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9732 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9734 * libs/gst/Makefile.am:
9735 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9736 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9737 (gst_file_pad_parent_set):
9738 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9739 (gst_dp_event_from_packet):
9740 * tests/complexity.c: (main):
9741 * tests/mass_elements.c: (main):
9742 * testsuite/states/locked.c: (message_received), (main):
9743 * testsuite/states/parent.c: (main):
9744 * tools/gst-inspect.c: (print_element_flag_info),
9745 (print_implementation_info), (print_pad_info):
9746 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9748 * tools/gst-md5sum.c: (event_loop), (main):
9749 * tools/gst-typefind.c: (main):
9750 * tools/gst-xmlinspect.c: (print_element_info):
9752 Added GstBus for mainloop integration.
9753 Added GstMessage for sending notifications on the bus.
9754 Added GstTask as an abstraction for pipeline entry points.
9757 Simplified GstQueue for multithreaded core.
9758 Made _link threadsafe, removed old capsnego.
9759 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9760 Added pad blocking functions.
9761 Reworked scheduling functions in GstPad to prepare for
9762 scheduling updates soon.
9763 Moved events out of data stream.
9764 Simplified GstEvent types.
9765 Added return values to push/pull.
9766 Removed clocking from GstElement.
9767 Added prototypes for state change function for next merge.
9768 Removed iterate from bins and state change management.
9769 Fixed some elements, disabled others for now.
9770 Fixed -inspect and -launch.
9771 Added check for GstBus.
9773 2005-03-10 Wim Taymans <wim@fluendo.com>
9775 * docs/design/part-MT-refcounting.txt:
9776 * docs/design/part-clocks.txt:
9777 * docs/design/part-gstelement.txt:
9778 * docs/design/part-gstobject.txt:
9779 * docs/design/part-standards.txt:
9780 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9781 (gst_bin_remove_func), (gst_bin_remove):
9785 * testsuite/clock/clock1.c: (main):
9786 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9788 * testsuite/dlopen/loadgst.c: (do_test):
9789 * testsuite/refcounting/bin.c: (add_remove_test1),
9790 (add_remove_test2), (main):
9791 * testsuite/refcounting/element.c: (main):
9792 * testsuite/refcounting/element_pad.c: (main):
9793 * testsuite/refcounting/pad.c: (main):
9794 * tools/gst-launch.c: (sigint_handler_sighandler):
9795 * tools/gst-typefind.c: (main):
9797 Added doc about clock.
9798 removed gst_bin_iterate_recurse_up(), marked methods
9800 Fix more testsuites.
9802 2005-03-09 Wim Taymans <wim@fluendo.com>
9804 * gst/gstpad.c: (gst_pad_get_direction),
9805 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9806 (gst_pad_collect_valist):
9807 * testsuite/bins/interface.c: (main):
9808 * testsuite/caps/audioscale.c: (test_caps):
9809 * testsuite/caps/caps.c: (test1), (test2), (test3):
9810 * testsuite/caps/deserialize.c: (main):
9811 * testsuite/caps/enumcaps.c: (main):
9812 * testsuite/caps/filtercaps.c: (main):
9813 * testsuite/caps/intersect2.c: (main):
9814 * testsuite/caps/random.c: (main):
9815 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9816 * testsuite/caps/sets.c: (check_caps):
9817 * testsuite/caps/simplify.c: (check_caps), (main):
9818 * testsuite/caps/subtract.c: (check_caps):
9819 Fix _pad_get_direction wrt ghostpads.
9822 2005-03-09 Wim Taymans <wim@fluendo.com>
9824 * check/Makefile.am:
9825 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9826 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9827 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9828 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9829 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9830 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9831 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9832 (bin_element_is_sink), (gst_bin_iterate_sinks),
9833 (gst_bin_iterate_all_by_interface):
9835 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9836 (gst_element_change_state), (gst_element_dispose),
9837 (gst_element_finalize), (gst_element_set_loop_function):
9839 * gst/gstiterator.c: (find_custom_fold_func):
9840 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9841 (gst_pad_collectv), (gst_pad_collect_valist),
9842 (gst_pad_template_new):
9843 * gst/gstpipeline.c: (gst_pipeline_class_init),
9844 (gst_pipeline_dispose), (gst_pipeline_set_property),
9845 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9846 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9847 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9849 * gst/schedulers/entryscheduler.c:
9850 * gst/schedulers/gstbasicscheduler.c:
9851 (gst_basic_scheduler_cothreaded_chain),
9852 (gst_basic_scheduler_chain_add_element):
9853 * testsuite/bins/interface.c: (main):
9855 Added GstSystemClock test.
9856 Implemented clock distribution code in GstBin.
9857 Implemented iterate sinks method for future use.
9858 Rearranged gstelement.h
9859 Fix GstIterator comparison bug.
9860 Moved some code to GstPipeline, mostly clocking related.
9862 2005-03-09 Wim Taymans <wim@fluendo.com>
9865 * gst/gst_private.h:
9866 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9867 (gst_bin_remove_func), (gst_bin_remove),
9868 (gst_bin_get_by_name_recurse_up):
9869 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9870 (gst_clock_id_compare_func), (gst_clock_id_wait),
9871 (gst_clock_id_wait_async), (gst_clock_init),
9872 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9874 * gst/gstinfo.c: (_gst_debug_init):
9876 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9877 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9879 Bump version number, we're now 0.9.0
9880 Add future debugging category.
9881 Fix NULL _unref() in _get_by_name_recurse_up
9885 2005-03-08 Wim Taymans <wim@fluendo.com>
9887 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9888 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9889 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9890 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9891 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9892 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9893 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9894 * gst/elements/gstidentity.c: (gst_identity_class_init):
9895 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9896 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9897 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9898 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9899 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9901 * gst/gstelement.c: (gst_element_class_init),
9902 (gst_element_base_class_init), (gst_element_init),
9903 (gst_element_get_random_pad), (gst_element_wait_state_change),
9904 (gst_element_change_state), (gst_element_dispose),
9905 (gst_element_finalize), (gst_element_set_loop_function):
9907 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9908 * gst/gstthread.c: (gst_thread_class_init),
9909 (gst_thread_release_children_locks), (gst_thread_change_state):
9910 * gst/schedulers/gstbasicscheduler.c:
9911 (gst_basic_scheduler_loopfunc_wrapper),
9912 (gst_basic_scheduler_chain_wrapper),
9913 (gst_basic_scheduler_src_wrapper),
9914 (gst_basic_scheduler_remove_element):
9915 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9916 Remove threadsafe properties. Fix elements because GObject
9917 complains when installing a property before declaring a
9918 set/get_property handler.
9919 Rearrange gstelement.h file, use STATE macros for state locks.
9920 Free mutexes in the finalize method instead of dispose.
9922 2005-03-08 Wim Taymans <wim@fluendo.com>
9924 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9925 * gst/gstthread.c: (gst_thread_release_children_locks):
9926 Added parentage check.
9927 Fix build og GstThread again.
9929 2005-03-08 Wim Taymans <wim@fluendo.com>
9931 * docs/design/part-MT-refcounting.txt:
9932 * docs/design/part-conventions.txt:
9933 * docs/design/part-gstobject.txt:
9934 * docs/design/part-relations.txt:
9935 * docs/design/part-standards.txt:
9936 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9937 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
9938 (gst_bin_get_by_name), (gst_bin_get_by_interface),
9939 (gst_bin_iterate_all_by_interface):
9942 * gst/gstelement.c: (gst_element_class_init),
9943 (gst_element_change_state), (gst_element_set_loop_function):
9945 * gst/gstiterator.c:
9946 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
9947 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
9948 (gst_object_dispatch_properties_changed), (gst_object_set_name),
9949 (gst_object_set_parent), (gst_object_unparent),
9950 (gst_object_check_uniqueness):
9952 Docs updates, clean up some headers.
9954 2005-03-07 Wim Taymans <wim@fluendo.com>
9957 * check/Makefile.am:
9958 * check/gst-libs/.cvsignore:
9959 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
9960 * check/gst/.cvsignore:
9961 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
9962 (START_TEST), (gstbus_suite), (main):
9963 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
9964 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
9965 (gst_data_suite), (main):
9966 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
9967 (add_fold_func), (gstiterator_suite), (main):
9968 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
9969 (thread_name_object), (thread_name_object_default),
9970 (gst_object_name_compare), (gst_object_suite), (main):
9971 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
9972 (gst_pad_suite), (main):
9973 * check/gstcheck.c: (gst_check_log_message_func),
9974 (gst_check_log_critical_func), (gst_check_init):
9976 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
9977 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
9980 2005-03-07 Wim Taymans <wim@fluendo.com>
9982 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9983 (gst_list_iterator_next), (gst_list_iterator_resync),
9984 (gst_list_iterator_free), (gst_iterator_new_list),
9985 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
9986 (gst_iterator_free), (gst_iterator_push), (filter_next),
9987 (filter_resync), (filter_uninit), (filter_free),
9988 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
9989 (gst_iterator_foreach), (find_custom_fold_func),
9990 (gst_iterator_find_custom):
9991 * gst/gstiterator.h:
9992 Added missing files.
9994 2005-03-07 Wim Taymans <wim@fluendo.com>
9998 * docs/design/part-MT-refcounting.txt:
9999 * docs/design/part-conventions.txt:
10000 * docs/design/part-gstobject.txt:
10001 * docs/design/part-relations.txt:
10002 * examples/mixer/mixer.c: (main):
10003 * examples/thread/thread.c: (eos), (main):
10005 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10006 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10007 (gst_spider_plug_from_srcpad):
10008 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10009 (gst_spider_identity_change_state),
10010 (gst_spider_identity_sink_loop_type_finding):
10011 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10012 * gst/elements/gstidentity.c: (gst_identity_init):
10013 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10014 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10015 * gst/elements/gsttypefindelement.c: (free_entry):
10018 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10019 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10020 (gst_bin_set_index), (gst_bin_set_element_sched),
10021 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10022 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10023 (gst_bin_iterate_elements), (iterate_child_recurse),
10024 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10025 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10026 (compare_interface), (gst_bin_get_by_interface),
10027 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10029 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10030 (gst_buffer_default_free), (gst_buffer_default_copy),
10031 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10032 (gst_buffer_create_sub):
10034 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10035 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10036 (gst_caps_unref), (gst_static_caps_get),
10037 (gst_caps_remove_and_get_structure), (gst_caps_append),
10038 (gst_caps_append_structure), (gst_caps_remove_structure),
10039 (gst_caps_copy_nth), (gst_caps_set_simple),
10040 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10041 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10042 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10043 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10044 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10045 (gst_caps_structure_figure_out_union),
10046 (gst_caps_switch_structures), (gst_caps_do_simplify),
10047 (gst_caps_replace), (gst_caps_from_string),
10048 (gst_caps_copy_conditional):
10050 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10051 (_gst_clock_id_free), (gst_clock_id_unref),
10052 (gst_clock_id_compare_func), (gst_clock_id_wait),
10053 (gst_clock_id_wait_async), (gst_clock_class_init),
10054 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10055 (gst_clock_get_time), (gst_clock_set_time_adjust),
10056 (gst_clock_set_property), (gst_clock_get_property):
10059 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10060 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10062 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10063 (gst_element_requires_clock), (gst_element_provides_clock),
10064 (gst_element_set_clock), (gst_element_clock_wait),
10065 (gst_element_wait), (gst_element_set_time_delay),
10066 (gst_element_is_indexable), (gst_element_add_pad),
10067 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10068 (pad_compare_name), (gst_element_get_static_pad),
10069 (gst_element_request_pad), (gst_element_get_request_pad),
10070 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10071 (gst_element_class_get_pad_template_list),
10072 (gst_element_class_get_pad_template), (gst_element_error_func),
10073 (gst_element_get_random_pad), (gst_element_get_event_masks),
10074 (gst_element_send_event), (gst_element_seek),
10075 (gst_element_get_query_types), (gst_element_query),
10076 (gst_element_get_formats), (gst_element_convert),
10077 (gst_element_is_locked_state), (gst_element_set_locked_state),
10078 (gst_element_sync_state_with_parent), (gst_element_change_state),
10079 (gst_element_finalize), (gst_element_yield),
10080 (gst_element_interrupt), (gst_element_set_scheduler),
10081 (gst_element_get_scheduler), (gst_element_set_loop_function):
10082 * gst/gstelement.h:
10084 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10085 (gst_format_get_by_nick), (gst_format_get_details),
10086 (gst_format_iterate_definitions):
10088 * gst/gstindex.c: (gst_index_gtype_resolver):
10091 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10092 (gst_mem_chunk_free):
10093 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10094 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10095 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10096 (gst_object_dispatch_properties_changed),
10097 (gst_object_set_name_default), (gst_object_set_name),
10098 (gst_object_get_name), (gst_object_set_name_prefix),
10099 (gst_object_get_name_prefix), (gst_object_set_parent),
10100 (gst_object_get_parent), (gst_object_unparent),
10101 (gst_object_check_uniqueness), (gst_object_save_thyself),
10102 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10103 (gst_object_set_property), (gst_object_get_property),
10104 (gst_object_get_path_string):
10106 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10107 (gst_real_pad_init), (gst_real_pad_get_property),
10108 (gst_pad_custom_new), (gst_pad_get_direction),
10109 (gst_pad_set_active), (gst_pad_is_active),
10110 (gst_pad_set_event_function), (gst_pad_is_linked),
10111 (gst_pad_link_free), (gst_pad_link_intersect),
10112 (gst_pad_link_fixate), (gst_pad_set_caps),
10113 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10114 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10115 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10116 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10117 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10118 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10119 (gst_pad_realize), (gst_pad_get_allowed_caps),
10120 (gst_real_pad_dispose), (gst_real_pad_finalize),
10121 (gst_pad_collectv), (gst_pad_collect_valist),
10122 (gst_pad_template_dispose), (gst_pad_template_new),
10123 (gst_pad_get_internal_links):
10125 * gst/gstpipeline.c: (gst_pipeline_dispose),
10126 (gst_pipeline_change_state):
10127 * gst/gstpipeline.h:
10129 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10130 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10131 * gst/gstpluginfeature.h:
10132 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10133 * gst/gstquery.c: (_gst_query_type_initialize),
10134 (gst_query_type_register), (gst_query_type_get_by_nick),
10135 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10137 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10138 * gst/gstscheduler.c: (gst_scheduler_add_element),
10139 (gst_scheduler_factory_create):
10140 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10141 (gst_structure_free), (gst_structure_set_name),
10142 (gst_structure_id_set_value), (gst_structure_set_value),
10143 (gst_structure_set_valist), (gst_structure_remove_field),
10144 (gst_structure_remove_fields),
10145 (gst_structure_remove_fields_valist),
10146 (gst_structure_remove_all_fields), (gst_structure_foreach),
10147 (gst_structure_map_in_place),
10148 (gst_caps_structure_fixate_field_nearest_int),
10149 (gst_caps_structure_fixate_field_nearest_double):
10150 * gst/gststructure.h:
10151 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10152 (gst_system_clock_init), (gst_system_clock_dispose),
10153 (gst_system_clock_async_thread),
10154 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10155 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10156 * gst/gstsystemclock.h:
10157 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10158 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10159 * gst/gsttaginterface.c:
10160 * gst/gstthread.c: (gst_thread_dispose),
10161 (gst_thread_release_children_locks), (gst_thread_change_state),
10162 (gst_thread_main_loop):
10163 * gst/gsttrashstack.h:
10164 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10166 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10167 (gst_element_request_pad), (gst_element_get_pad_from_template),
10168 (gst_element_request_compatible_pad),
10169 (gst_element_get_compatible_pad_filtered),
10170 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10171 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10172 (gst_element_link_many), (gst_element_link),
10173 (gst_element_link_pads), (gst_element_unlink_pads),
10174 (gst_element_unlink_many), (gst_element_unlink),
10175 (gst_pad_can_link_filtered), (gst_pad_can_link),
10176 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10177 (gst_object_default_error), (gst_bin_add_many),
10178 (gst_bin_remove_many), (gst_element_populate_std_props),
10179 (gst_element_class_install_std_props), (gst_buffer_merge),
10180 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10181 (link_fold_func), (gst_pad_proxy_setcaps):
10183 * gst/gstvalue.c: (gst_value_deserialize_string):
10184 * gst/parse/grammar.y:
10185 * gst/schedulers/gstbasicscheduler.c:
10186 (gst_basic_scheduler_cothreaded_chain),
10187 (gst_basic_scheduler_chain_recursive_add),
10188 (gst_basic_scheduler_pad_link):
10189 * gst/schedulers/gstoptimalscheduler.c:
10190 (get_group_schedule_function),
10191 (gst_opt_scheduler_state_transition),
10192 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10193 * libs/gst/bytestream/bytestream.c:
10194 * libs/gst/dataprotocol/dataprotocol.c:
10195 (gst_dp_header_from_buffer):
10198 * tests/threadstate/threadstate2.c: (eos):
10199 * tools/gst-compprep.c: (main):
10200 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10201 (print_pad_info), (print_children_info):
10202 * tools/gst-launch.c: (idle_func), (main):
10203 * tools/gst-md5sum.c: (idle_func), (main):
10204 * tools/gst-xmlinspect.c: (print_element_info):
10205 First THREADED backport attempt, focusing on adding locks and
10206 making sure the API is threadsafe. Needs more work. More docs
10209 2005-02-24 Andy Wingo <wingo@pobox.com>
10211 * tests/bench-complexity.scm:
10212 * tests/complexity.gnuplot: New files, good for running complexity
10215 * tests/Makefile.am:
10216 * tests/complexity.c: New test, sets up N elements, at each level
10217 teeing into M streams per element. Eeeenteresting.
10219 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10220 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10221 running bench-mass_elements.scm.
10223 * tests/bench-mass_elements.scm: New script, runs mass_elements
10224 for various numbers of identities, outputting the results to a
10225 file. Requires guile 1.6. Just for testing.
10227 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10229 * gst/schedulers/fairscheduler.c:
10230 compile with debug disabled
10232 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10235 hunting season on 0.9 is now OPEN