1 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
3 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4 Hold STREAM_LOCK while pushing newsegment or tag events as well.
6 2005-11-08 Wim Taymans <wim@fluendo.com>
8 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10 (gst_base_sink_chain), (gst_base_sink_change_state):
11 * gst/base/gstbasesink.h:
12 * gst/base/gstbasesrc.h:
15 Avoid excessive typechecking in macros.
17 * gst/gstminiobject.c: (gst_mini_object_get_type),
18 (gst_mini_object_init), (gst_mini_object_new),
19 (gst_mini_object_free):
20 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21 (gst_object_finalize):
22 Remove cruft code, optimize alloc_trace.
24 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
26 * docs/faq/gst-uninstalled:
27 fix up PS1 for systems that try to reset it
29 2005-11-07 Wim Taymans <wim@fluendo.com>
31 * gst/base/gstbasesrc.c: (gst_base_src_init),
32 (gst_base_src_get_range):
33 Set the segment_end to -1 initially. Fixed typefind.
35 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
37 * gst/base/gstadapter.c:
38 Debug category should be 'adapter', not 'GstAdapter'.
40 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
41 (gst_collectpads_class_init), (gst_collectpads_init),
42 (gst_collectpads_peek), (gst_collectpads_pop),
43 (gst_collectpads_event), (gst_collectpads_chain):
44 Add debug category and some debugging output. Use boilerplate
45 macros. Remove some extraneous words from docs.
47 2005-11-05 Andy Wingo <wingo@pobox.com>
49 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
52 2005-11-04 Stefan Kost <ensonic@users.sf.net>
54 * docs/gst/gstreamer-sections.txt:
57 * gst/gstminiobject.h:
62 2005-11-04 Wim Taymans <wim@fluendo.com>
64 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
65 Small update to stop at the configured segment_end
68 2005-11-04 Stefan Kost <ensonic@users.sf.net>
74 2005-11-04 Edward Hervey <edward@fluendo.com>
76 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
77 Check if we are doing a segment seek and have arrived at the
80 2005-11-04 Wim Taymans <wim@fluendo.com>
82 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
83 Don't leak a mutex unlock in case of an error.
88 2005-11-04 Wim Taymans <wim@fluendo.com>
90 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
92 Get the context to wake up only once.
94 2005-11-03 Wim Taymans <wim@fluendo.com>
96 * check/states/sinks.c: (GST_START_TEST):
97 Uncomment fixed check.
99 * docs/design/part-TODO.txt:
102 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
103 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
104 (gst_base_sink_get_position):
105 If we are going to PLAYING, post the right pending state
106 when we post the intermediate paused message.
108 * gst/gstelement.c: (gst_element_continue_state),
109 (gst_element_set_state_func), (gst_element_change_state):
110 Don't post state changes that were between the same state
113 2005-11-03 Stefan Kost <ensonic@users.sf.net>
115 * docs/gst/gstreamer-sections.txt:
118 * gst/gstminiobject.h:
121 more docs and doc style fixes
123 2005-11-03 Stefan Kost <ensonic@users.sf.net>
125 * docs/gst/gstreamer-sections.txt:
127 * gst/gstminiobject.c:
130 2005-11-03 Andy Wingo <wingo@pobox.com>
132 * check/states/sinks.c (test_livesrc_sink): Add checks that the
133 state-changed messages actually have the right order and the right
136 2005-11-03 Wim Taymans <wim@fluendo.com>
138 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
139 Added some more checks. Specifically the case where NO_PREROLL
140 elements are in the pipeline.
142 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
143 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
144 (gst_base_sink_get_position):
145 Post READY->PAUSED state change messages too.
146 Fix bug where VOID was posted as pending state...
148 * gst/gstbin.c: (gst_bin_recalc_state):
149 use _element_continue_state() to continue the state change.
151 * gst/gstelement.c: (gst_element_continue_state),
152 (gst_element_commit_state), (gst_element_set_state_func),
153 (gst_element_change_state), (gst_element_change_state_func):
154 Lots of state change cleanups, assign the STATE_RETURN in
155 a new continue_state() function that also propagates the
156 last return value from a state change to the app.
157 Update some debug statements with proper category.
159 2005-11-03 Wim Taymans <wim@fluendo.com>
161 * docs/design/part-events.txt:
162 * docs/design/part-gstpipeline.txt:
163 * docs/design/part-messages.txt:
164 * docs/design/part-overview.txt:
165 * docs/design/part-seeking.txt:
166 * docs/design/part-states.txt:
167 * docs/design/part-trickmodes.txt:
168 * docs/manual/advanced-position.xml:
172 People think !! is ugly, this looks better.
174 * gst/gstpad.c: (gst_pad_set_blocked_async):
175 Remove !! since it's fixed elsewhere now.
177 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
179 * gst/gstminiobject.h:
181 Add !! to _FLAG_IS_SET macros to make the result boolean.
183 2005-11-03 Edward Hervey <edward@fluendo.com>
185 * gst/gstpad.c: (gst_pad_set_blocked_async):
186 comparing a flag and a gboolean rarely returns coherent results...
187 Added two characters (!!) to make that work correctly.
189 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
191 * gst/gstbus.c: (gst_bus_class_init):
194 * gst/gstqueue.c: (gst_queue_loop):
195 Don't assume a miniobject that isn't a buffer is an
196 event (it could be that there is a refcounting
197 problem somewhere and the pointer is stale and
198 refers to an already destroyed miniobject).
200 2005-11-03 Julien MOUTTE <julien@moutte.net>
202 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
204 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
206 * docs/manual/advanced-position.xml:
207 Update seek example and explanations to current 0.9 API.
209 * gst/elements/gsttypefindelement.c:
210 (gst_type_find_element_activate):
211 Remove FIXME comment now that the found caps
214 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
216 * gst/gstregistryxml.c: (load_feature):
217 Add another GST_STR_NULL instance
219 2005-11-02 Edward Hervey <edward@fluendo.com>
221 * gst/gstpad.c: (handle_pad_block):
222 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
224 2005-11-02 Wim Taymans <wim@fluendo.com>
229 * gst/gstelement.c: (gst_element_commit_state):
233 Mention that the returned element is reffed in the docs.
235 2005-11-02 Wim Taymans <wim@fluendo.com>
237 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
238 (gst_pad_push), (gst_pad_push_event):
239 Unlock blocked pads when they are flushed.
241 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
244 * docs/gst/gstreamer-sections.txt:
247 * gst/gstregistry.c: (gst_registry_scan_path_level):
248 fix for a nasty little missed situation where an installed plug-in
249 which was in the cache did not get overridden by an uninstalled one
250 which was earlier in the plugin path because the newly created plugin
251 for the uninstalled one (not in the registry) didn't get its
252 ->registered set to TRUE
254 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
256 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
257 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
258 (gst_collectpads_is_active), (gst_collectpads_collect),
259 (gst_collectpads_collect_range), (gst_collectpads_start),
260 (gst_collectpads_stop), (gst_collectpads_peek),
261 (gst_collectpads_pop), (gst_collectpads_available),
262 (gst_collectpads_read), (gst_collectpads_flush):
263 Guard public API with assertions.
266 Fix docs for gst_pad_set_link_function().
268 2005-11-02 Johan Dahlin <johan@gnome.org>
270 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
271 Unref found_caps after we used it.
273 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
275 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
276 Don't try to ref NULL.
278 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
280 * win32/common/config.h.in:
281 provide a GST_FUNCTION that just gives a string for now
283 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
285 * win32/common/gstenumtypes.c: (register_gst_object_flags),
286 (gst_object_flags_get_type), (register_gst_bin_flags),
287 (gst_bin_flags_get_type), (register_gst_buffer_flag),
288 (gst_buffer_flag_get_type), (register_gst_bus_flags),
289 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
290 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
291 (gst_clock_return_get_type), (register_gst_clock_entry_type),
292 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
293 (gst_clock_flags_get_type), (register_gst_state),
294 (gst_state_get_type), (register_gst_state_change_return),
295 (gst_state_change_return_get_type), (register_gst_state_change),
296 (gst_state_change_get_type), (register_gst_element_flags),
297 (gst_element_flags_get_type), (register_gst_core_error),
298 (gst_core_error_get_type), (register_gst_library_error),
299 (gst_library_error_get_type), (register_gst_resource_error),
300 (gst_resource_error_get_type), (register_gst_stream_error),
301 (gst_stream_error_get_type), (register_gst_event_type),
302 (gst_event_type_get_type), (register_gst_seek_type),
303 (gst_seek_type_get_type), (register_gst_seek_flags),
304 (gst_seek_flags_get_type), (register_gst_format),
305 (gst_format_get_type), (register_gst_index_certainty),
306 (gst_index_certainty_get_type), (register_gst_index_entry_type),
307 (gst_index_entry_type_get_type),
308 (register_gst_index_lookup_method),
309 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
310 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
311 (gst_index_resolver_method_get_type), (register_gst_index_flags),
312 (gst_index_flags_get_type), (register_gst_debug_level),
313 (gst_debug_level_get_type), (register_gst_debug_color_flags),
314 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
315 (gst_iterator_result_get_type), (register_gst_iterator_item),
316 (gst_iterator_item_get_type), (register_gst_message_type),
317 (gst_message_type_get_type), (register_gst_mini_object_flags),
318 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
319 (gst_pad_link_return_get_type), (register_gst_flow_return),
320 (gst_flow_return_get_type), (register_gst_activate_mode),
321 (gst_activate_mode_get_type), (register_gst_pad_direction),
322 (gst_pad_direction_get_type), (register_gst_pad_flags),
323 (gst_pad_flags_get_type), (register_gst_pad_presence),
324 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
325 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
326 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
327 (gst_plugin_error_get_type), (register_gst_plugin_flags),
328 (gst_plugin_flags_get_type), (register_gst_rank),
329 (gst_rank_get_type), (register_gst_query_type),
330 (gst_query_type_get_type), (register_gst_tag_merge_mode),
331 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
332 (gst_tag_flag_get_type), (register_gst_task_state),
333 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
334 (gst_alloc_trace_flags_get_type),
335 (register_gst_type_find_probability),
336 (gst_type_find_probability_get_type), (register_gst_uri_type),
337 (gst_uri_type_get_type), (register_gst_parse_error),
338 (gst_parse_error_get_type):
339 * win32/common/gstversion.h:
342 2005-11-01 Luca Ognibene <luogni@tin.it>
345 fix docs. popt is dead, long live GOption.
347 2005-10-31 Wim Taymans <wim@fluendo.com>
352 2005-10-31 Andy Wingo <wingo@pobox.com>
356 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
358 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
359 need to serialize property notifications on GLib 2.8. GLib 2.6 has
360 the possibility of deadlocks here if code calling notify() or
361 set() has a lock that can be taken in another notify handler (ABBA
362 with class lock and e.g. python GIL state lock).
364 2005-10-28 Julien MOUTTE <julien@moutte.net>
366 * gst/gstbus.c: Doc updates.
368 2005-10-28 Wim Taymans <wim@fluendo.com>
370 * docs/design/part-TODO.txt:
372 * gst/gstsystemclock.c:
373 * gst/gstsystemclock.h:
376 2005-10-28 Edward Hervey <edward@fluendo.com>
378 * docs/gst/gstreamer-docs.sgml:
379 * docs/gst/gstreamer-sections.txt:
380 the GstURIType documentation page is private, it only defines GstURIType
381 which should be defined in the GstURIHandler page
383 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
385 * gst/gstbin.c: (gst_bin_class_init):
388 Documentation updates.
390 2005-10-28 Wim Taymans <wim@fluendo.com>
392 * docs/gst/gstreamer-sections.txt:
395 Documented the clocks.
397 2005-10-28 Stefan Kost <ensonic@users.sf.net>
399 * docs/gst/gstreamer-sections.txt:
400 move some macros to private sections
401 * gst/gstminiobject.c:
402 * gst/gstminiobject.h:
403 add descriptions provided by ds and some more
405 mark macro as to be removed
407 2005-10-28 Wim Taymans <wim@fluendo.com>
409 * docs/design/part-TODO.txt:
412 * gst/gstiterator.c: (gst_iterator_fold),
413 (gst_iterator_find_custom):
417 2005-10-28 Wim Taymans <wim@fluendo.com>
419 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
420 (gst_base_transform_init):
423 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
424 An EOS event marks the queue as completely filled.
426 2005-10-27 Wim Taymans <wim@fluendo.com>
428 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
429 (gst_base_sink_do_sync), (gst_base_sink_get_position):
432 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
433 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
434 (gst_base_transform_event), (gst_base_transform_getrange),
435 (gst_base_transform_chain):
436 * gst/base/gstbasetransform.h:
438 Protect transform and concurrent buffer alloc with a new lock.
439 Try not to break ABI/API.
441 2005-10-27 Wim Taymans <wim@fluendo.com>
443 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
444 (gst_base_src_init), (gst_base_src_query),
445 (gst_base_src_default_newsegment),
446 (gst_base_src_configure_segment), (gst_base_src_do_seek),
447 (gst_base_src_send_event), (gst_base_src_event_handler),
448 (gst_base_src_pad_get_range), (gst_base_src_loop),
449 (gst_base_src_unlock), (gst_base_src_default_negotiate),
450 (gst_base_src_start), (gst_base_src_deactivate),
451 (gst_base_src_activate_push), (gst_base_src_change_state):
452 Move some stuff around and cleanup things.
454 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
456 * gst/base/gstbasesrc.c: (gst_base_src_query):
457 Add missing break statements.
459 2005-10-27 Wim Taymans <wim@fluendo.com>
461 * check/gst/gstbin.c: (GST_START_TEST):
462 An extra refcount is taken in basesrc.
464 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
465 (gst_base_src_get_range), (gst_base_src_pad_get_range),
467 Small cleanups, check for flushing after being unlocked from the
468 LIVE_LOCK. take refcounts correctly (not yet everywhere).
469 Don't send out EOS when going to READY.
471 2005-10-27 Wim Taymans <wim@fluendo.com>
473 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
474 (gst_base_sink_get_position):
477 * gst/gstbin.c: (message_check), (bin_replace_message),
478 (bin_remove_messages), (is_eos), (gst_bin_add_func),
479 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
480 (bin_query_duration_init), (bin_query_duration_fold),
481 (bin_query_duration_done), (bin_query_generic_fold),
483 * tools/gst-launch.c: (main):
486 2005-10-26 Stefan Kost <ensonic@users.sf.net>
488 * examples/controller/audio-example.c: (main):
489 * examples/queue/queue.c: (event_loop):
490 * gst/base/gstbasetransform.h:
491 * gst/gstelement.c: (gst_element_send_event):
493 * gst/gstpad.c: (gst_pad_send_event):
496 changing log priority in error situations
498 2005-10-25 Wim Taymans <wim@fluendo.com>
500 * gst/gstbin.c: (message_check), (bin_replace_message),
501 (bin_remove_messages), (is_eos), (gst_bin_add_func),
502 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
503 (bin_query_duration_init), (bin_query_duration_fold),
504 (bin_query_duration_done), (bin_query_generic_fold),
506 Some doc and debug updates.
507 Cache previously requested query DURATION for speed. invalidate
508 cached duration if element posts a DURATION message.
510 2005-10-25 Wim Taymans <wim@fluendo.com>
512 * docs/design/part-TODO.txt:
515 * gst/gstbin.c: (message_check), (bin_replace_message),
516 (bin_remove_messages), (is_eos), (gst_bin_add_func),
517 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
518 (bin_query_duration_init), (bin_query_duration_fold),
519 (bin_query_duration_done), (bin_query_generic_fold),
521 Handle SEGMENT_START/DONE messages correctly.
522 More evolved query algorithm that handles duration queries
525 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
526 (gst_element_get_state_func), (gst_element_abort_state),
527 (gst_element_commit_state), (gst_element_lost_state):
533 2005-10-25 Wim Taymans <wim@fluendo.com>
535 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
536 Don't use invalid stream_time.
538 * gst/gstevent.c: (gst_event_new_newsegment):
539 stream_time in newsegment cannot be undefined.
541 2005-10-24 Wim Taymans <wim@fluendo.com>
546 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
548 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
550 2005-10-24 Stefan Kost <ensonic@users.sf.net>
552 * docs/libs/tmpl/gstdparam.sgml:
553 * docs/libs/tmpl/gstdplinint.sgml:
554 * docs/libs/tmpl/gstdpman.sgml:
555 * docs/libs/tmpl/gstdpsmooth.sgml:
556 * docs/libs/tmpl/gstunitconvert.sgml:
559 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
564 === release 0.9.4 ===
566 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
569 releasing 0.9.4, "Tyrannosaurus Rex"
571 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
573 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
574 (gst_file_sink_get_current_offset):
575 Use fseeko() and ftello() if available. When falling back on
576 lseek() to get the current offset, fflush() first to make sure
577 everything is up-to-date and we get the right offset.
579 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
581 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
582 * gst/base/gstbasesrc.c: (gst_base_src_loop):
583 * gst/gsterror.c: (_gst_stream_errors_init):
585 * gst/gstqueue.c: (gst_queue_loop):
587 remove prematurely added error category and clean up the instances
589 2005-10-21 Wim Taymans <wim@fluendo.com>
591 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
592 (gst_base_sink_get_position), (gst_base_sink_query),
593 (gst_base_sink_change_state):
594 Simply set the right flag when going to playing, that's all
595 we need to do instead of calling a function inside the object
596 lock (that could take the lock as well and deadlock)
598 2005-10-21 Wim Taymans <wim@fluendo.com>
600 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
602 Don't warn, the peer element knows what to do best when
603 the seek failed, it might try something else.
605 2005-10-21 Wim Taymans <wim@fluendo.com>
607 * gst/base/gstbasesrc.c: (gst_base_src_init),
608 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
611 2005-10-21 Wim Taymans <wim@fluendo.com>
613 * docs/design/part-segments.txt:
616 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
617 Correctly set caps, even on the subbufer.
619 2005-10-21 Wim Taymans <wim@fluendo.com>
621 * docs/gst/gstreamer-docs.sgml:
622 * docs/gst/gstreamer-sections.txt:
629 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
633 And 2% more doc coverage.
635 2005-10-21 Andy Wingo <wingo@pobox.com>
637 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
640 2005-10-20 Wim Taymans <wim@fluendo.com>
642 * gst/gsterror.c: (gst_error_get_message):
645 * gst/gststructure.c:
650 2005-10-20 Wim Taymans <wim@fluendo.com>
655 Another 1% more coverage.
657 2005-10-20 Wim Taymans <wim@fluendo.com>
659 * docs/gst/gstreamer-sections.txt:
660 * gst/gstelement.c: (gst_element_get_state_func),
661 (gst_element_abort_state), (gst_element_commit_state),
662 (gst_element_lost_state):
664 * gst/gstquery.c: (gst_query_set_position),
665 (gst_query_parse_position), (gst_query_set_duration),
666 (gst_query_parse_duration), (gst_query_new_convert):
668 Yay! 1% more docs coverage.
670 2005-10-20 Wim Taymans <wim@fluendo.com>
673 * gst/gstquery.c: (gst_query_set_position),
674 (gst_query_parse_position), (gst_query_set_duration),
675 (gst_query_parse_duration), (gst_query_new_convert):
677 * gst/gstutils.c: (gst_element_query_convert):
679 Docs and consistency fixes.
681 2005-10-20 Wim Taymans <wim@fluendo.com>
687 2005-10-20 Wim Taymans <wim@fluendo.com>
689 * gst/gstbin.c: (message_check), (bin_replace_message),
690 (bin_remove_messages), (is_eos), (gst_bin_add_func),
691 (update_degree), (gst_bin_sort_iterator_next),
692 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
693 Reworked the message handling a bit, cache the messages instead of
694 only the senders. alows us to do more in the future.
696 2005-10-20 Wim Taymans <wim@fluendo.com>
698 * docs/design/part-TODO.txt:
701 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
702 (gst_base_sink_query):
703 Don't use clock time to report position when in EOS.
705 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
707 * tools/gst-inspect.c: (print_interfaces),
708 (print_element_properties_info), (print_element_info):
709 Fix interface output with gst-inspect -a; don't print
710 newlines after double/float properties.
712 2005-10-20 Wim Taymans <wim@fluendo.com>
714 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
715 (gst_base_sink_query):
716 Speed up current position calculation.
718 * gst/base/gstbasesrc.c: (gst_base_src_query),
719 (gst_base_src_default_newsegment):
720 Correctly set stream position in newsegment.
722 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
723 (update_degree), (gst_bin_sort_iterator_next),
724 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
725 * gst/gstmessage.c: (gst_message_new_custom):
726 Clean up debugging info
728 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
729 (gst_queue_loop), (gst_queue_handle_src_query):
732 2005-10-19 Wim Taymans <wim@fluendo.com>
734 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
735 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
736 Fix query handling again.
738 2005-10-19 Wim Taymans <wim@fluendo.com>
740 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
741 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
742 * gst/base/gstbasesrc.c: (gst_base_src_query):
743 * gst/elements/gstfilesink.c: (gst_file_sink_query):
744 * gst/elements/gsttypefindelement.c:
745 (gst_type_find_handle_src_query), (find_element_get_length),
746 (gst_type_find_element_activate):
749 * gst/gstquery.c: (gst_query_new_position),
750 (gst_query_set_position), (gst_query_parse_position),
751 (gst_query_new_duration), (gst_query_set_duration),
752 (gst_query_parse_duration), (gst_query_set_segment),
753 (gst_query_parse_segment):
755 Bundling query position/duration is not a good idea since duration
756 does not change much and we don't want to recalculate it for every
757 position query, so they are separated again..
758 Base value in segment query is not needed.
760 * gst/gstqueue.c: (gst_queue_handle_src_query):
761 * gst/gstutils.c: (gst_element_query_position),
762 (gst_element_query_duration), (gst_pad_query_position),
763 (gst_pad_query_duration):
765 Updates for query API change.
766 Added some docs here and there.
768 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
770 * check/gst/gstbin.c: (GST_START_TEST):
771 * check/gst/gstghostpad.c: (GST_START_TEST):
772 * check/pipelines/cleanup.c: (GST_START_TEST):
773 wait on thread to die so we can check refcount correctly
775 2005-10-18 Wim Taymans <wim@fluendo.com>
777 * check/pipelines/stress.c: (GST_START_TEST):
778 Make check a little more time consuming.
780 2005-10-18 Wim Taymans <wim@fluendo.com>
783 * check/pipelines/stress.c: (GST_START_TEST),
784 (simple_launch_lines_suite), (main):
785 Small state change torture test.
787 * docs/design/part-states.txt:
788 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
789 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
790 (gst_base_sink_change_state):
791 Never take state lock from streaming thread, clean up ugly
792 hacks. Unfortunatly core does not yet support nice ways to
795 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
797 Start state recalc if a STATE_DIRTY message is posted, but only
800 * gst/gstelement.c: (gst_element_sync_state_with_parent),
801 (gst_element_get_state_func), (gst_element_abort_state),
802 (gst_element_commit_state), (gst_element_lost_state),
803 (gst_element_set_state_func), (gst_element_change_state):
805 State variables are now protected with the LOCK, the state
806 lock is only used to serialize _set_state().
808 2005-10-18 Wim Taymans <wim@fluendo.com>
810 * check/gst/gstbin.c: (GST_START_TEST):
811 * check/gst/gstmessage.c: (GST_START_TEST):
812 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
813 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
815 * gst/gstelement.c: (gst_element_abort_state),
816 (gst_element_commit_state), (gst_element_lost_state):
817 * gst/gstmessage.c: (gst_message_new_state_changed),
818 (gst_message_new_state_dirty), (gst_message_new_segment_start),
819 (gst_message_new_segment_done), (gst_message_new_duration),
820 (gst_message_parse_state_changed),
821 (gst_message_parse_segment_start),
822 (gst_message_parse_segment_done), (gst_message_parse_duration):
824 * tools/gst-launch.c: (event_loop):
825 Seriously, this is better than a previous commit as we only need
826 to notify the fact that an element changed state in a streaming
827 thread, marking the state of the parents dirty, hence the
828 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
831 2005-10-18 Wim Taymans <wim@fluendo.com>
833 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
834 (gst_bin_recalc_func):
835 * gst/gstelement.c: (gst_element_set_clock),
836 (gst_element_abort_state), (gst_element_lost_state):
837 Cleanups, prepare for state change fixes.
839 2005-10-18 Wim Taymans <wim@fluendo.com>
842 * gst/gstelement.c: (gst_element_class_init),
843 (gst_element_set_state), (gst_element_set_state_func):
846 GThreadPool in GstBinClass to monitor async state changes.
847 state_cookie in GstElement to detect concurrent gst/set state.
848 set_state is now virtual too in case a very complicated element
849 has to be constructed.
851 2005-10-18 Wim Taymans <wim@fluendo.com>
853 * check/gst/gstbin.c: (GST_START_TEST):
854 * check/gst/gstmessage.c: (GST_START_TEST):
855 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
856 * gst/gstbin.c: (bin_bus_handler):
857 * gst/gstelement.c: (gst_element_commit_state),
858 (gst_element_lost_state):
859 * gst/gstmessage.c: (gst_message_new_state_changed),
860 (gst_message_new_segment_start), (gst_message_new_segment_done),
861 (gst_message_new_duration), (gst_message_parse_state_changed),
862 (gst_message_parse_segment_start),
863 (gst_message_parse_segment_done), (gst_message_parse_duration):
865 * tools/gst-launch.c: (event_loop):
866 Make messages future proof.
867 state-change gets a flag if it was a message comming from the
869 segment-start/stop can also be specified in other formats.
870 A message to notify an app that a pipeline changed playback
872 Also fix a GstMessage leak in -launch
874 2005-10-18 Andy Wingo <wingo@pobox.com>
876 * gst/gstelement.c (gst_element_dispose): More helpful message.
878 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
880 * gst/gstregistry.c: (gst_registry_scan_path_level):
881 unref a plug-in we get that was already initialized
883 2005-10-18 Stefan Kost <ensonic@users.sf.net>
885 * docs/gst/gstreamer-sections.txt:
886 * docs/libs/gstreamer-libs-sections.txt:
891 2005-10-17 Andy Wingo <wingo@pobox.com>
893 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
896 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
898 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
900 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
901 (gst_element_get_state_func): Better debug message.
902 (gst_element_commit_state): s/INFO/DEBUG/.
903 (gst_element_lost_state, gst_element_change_state):
905 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
906 (gst_message_new_custom): s/INFO/LOG/.
908 2005-10-17 Michael Smith <msmith@fluendo.com>
910 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
911 Check if end time is valid using end time, not start time.
913 2005-10-17 Stefan Kost <ensonic@users.sf.net>
915 * check/gst-libs/controller.c: (GST_START_TEST),
916 (gst_controller_suite):
917 * libs/gst/controller/gstcontroller.c:
918 (gst_controlled_property_set_interpolation_mode):
919 * libs/gst/controller/gstcontroller.h:
920 * libs/gst/controller/gstinterpolation.c:
921 * testsuite/controller/.cvsignore:
922 * testsuite/controller/Makefile.am:
923 * testsuite/controller/interpolator.c:
924 merge controller testsuites
926 remove mem-chunk from docs
928 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
932 * gst/gsttrashstack.c:
933 * gst/gsttrashstack.h:
934 out. get out. you're fired. to the Attic !
936 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
938 * gst/gstcaps.c: (gst_caps_intersect):
939 fix signedness issues in a (hopefully) correct way
940 * gst/gstelement.c: (gst_element_pads_activate):
942 * gst/gstobject.c: (gst_object_set_parent):
945 2005-10-17 Julien MOUTTE <julien@moutte.net>
947 * gst/gstvalue.h: Fix prototypes.
949 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
951 * docs/gst/gstreamer-sections.txt:
952 * gst/gst.c: (gst_version_string):
954 * gst/gstversion.h.in:
955 * win32/common/libgstreamer.def:
956 add gst_version_string ()
958 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
962 * gst/gst.c: (init_post):
963 * win32/common/config.h.in:
965 * gst/gstcaps.c: (gst_caps_intersect):
966 use gint64, the range could be bigger than a guint
968 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
971 document potential problem in 2038
973 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
975 * gst/gstcaps.c: (gst_caps_intersect):
976 Fix guint j diving under 0
978 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
981 * win32/common/config.h:
982 * win32/common/config.h.in:
983 check for process.h, declares getpid() on Windows
985 include process.h if we have it
986 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
988 fix signedness issues
989 * win32/common/libgstreamer.def:
992 2005-10-16 Julien MOUTTE <julien@moutte.net>
994 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
995 fix. Because of unsigned ints, caps intersection was going nuts and
996 trying to access structures with G_MAXUINT index. That fixes
997 videotestsrc ! ffmpegcolorspace ! fakesink
998 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1001 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1004 use the gettext macro
1005 * gst/elements/gstelements.c:
1007 * gst/indexers/gstindexers.c:
1008 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1009 * win32/common/config.h:
1011 * win32/common/config.h.in:
1012 add the template to generate config.h
1013 * win32/common/gstenumtypes.c:
1014 * win32/common/gstversion.h:
1017 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1019 * gst/gst.c: (gst_version):
1020 * gst/gstversion.h.in:
1023 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1026 Oops, add missing closing bracket.
1028 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1031 use common m4's for argument checking
1033 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1035 * docs/gst/gstreamer-sections.txt:
1037 Add GST_EVENT_TYPE_NAME() macro.
1039 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1042 * gst/gstpluginfeature.c:
1044 privatize more symbols
1046 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1049 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1050 everything that uses GStreamer API should have the includes
1052 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1054 * docs/gst/gstreamer-sections.txt:
1055 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1057 give each value a _get_type, removes the DATA exports
1059 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1063 remove _gst_registry_auto_load, not used anymore
1064 * gst/gstbin.c: (gst_bin_get_type):
1066 * gst/gstelement.c: (gst_element_get_type):
1068 * gst/gstobject.c: (gst_object_get_type):
1070 * gst/gstpad.c: (gst_pad_get_type):
1072 make _get_type functions similar, fixes data export from library
1074 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1077 correctly make conditionals
1078 * gst/elements/Makefile.am:
1079 * gst/elements/gstelements.c:
1080 fix typo causing fdsrc not to build
1082 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1084 * testsuite/Makefile.am:
1085 * testsuite/bytestream/.cvsignore:
1086 * testsuite/bytestream/Makefile.am:
1087 * testsuite/bytestream/filepadsink.c:
1088 * testsuite/bytestream/gstbstest.c:
1089 * testsuite/bytestream/test1.c:
1090 * testsuite/bytestream/testfile1:
1091 * testsuite/caps/normalisation.c:
1092 * testsuite/caps/random.c: (main):
1093 * testsuite/cleanup/.cvsignore:
1094 * testsuite/cleanup/Makefile.am:
1095 * testsuite/cleanup/cleanup1.c:
1096 * testsuite/cleanup/cleanup2.c:
1097 * testsuite/cleanup/cleanup3.c:
1098 * testsuite/cleanup/cleanup4.c:
1099 * testsuite/cleanup/cleanup5.c:
1100 * testsuite/controller/interpolator.c:
1101 * testsuite/debug/printf_extension.c: (main):
1102 * testsuite/elements/tee.c:
1103 * testsuite/negotiation/.cvsignore:
1104 * testsuite/negotiation/Makefile.am:
1105 * testsuite/negotiation/pad_link.c:
1106 * testsuite/pad/Makefile.am:
1107 * testsuite/pad/chainnopull.c:
1108 * testsuite/pad/getnopush.c:
1109 * testsuite/pad/link.c:
1110 * testsuite/refcounting/sched.c: (create_pipeline):
1111 * testsuite/registry/Makefile.am:
1112 * testsuite/registry/gst-print-formats.c:
1113 * testsuite/schedulers/.cvsignore:
1114 * testsuite/schedulers/142183-2.c:
1115 * testsuite/schedulers/142183.c:
1116 * testsuite/schedulers/143777-2.c:
1117 * testsuite/schedulers/143777.c:
1118 * testsuite/schedulers/147713.c:
1119 * testsuite/schedulers/147819.c:
1120 * testsuite/schedulers/147894-2.c:
1121 * testsuite/schedulers/147894.c:
1122 * testsuite/schedulers/Makefile.am:
1123 * testsuite/schedulers/group_link.c:
1124 * testsuite/schedulers/queue_link.c:
1125 * testsuite/schedulers/relink.c:
1126 * testsuite/schedulers/unlink.c:
1127 * testsuite/schedulers/unref.c:
1128 * testsuite/schedulers/useless_iteration.c:
1129 * testsuite/states/bin.c:
1130 clean out/remove some stuff from the testsuite directories
1132 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1135 check for some headers
1136 * gst/elements/Makefile.am:
1137 * gst/elements/gstelements.c:
1138 don't compile fdsrc without sys/socket.h
1139 * gst/indexers/Makefile.am:
1140 * gst/indexers/gstindexers.c: (plugin_init):
1141 don't compile fileindex without mmap
1143 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1150 * check/Makefile.am:
1151 * docs/gst/Makefile.am:
1152 * examples/helloworld/Makefile.am:
1154 * gst/base/Makefile.am:
1155 * gst/check/Makefile.am:
1156 * gst/elements/Makefile.am:
1157 * gst/indexers/Makefile.am:
1158 * gst/parse/Makefile.am:
1159 * libs/gst/controller/Makefile.am:
1160 * libs/gst/dataprotocol/Makefile.am:
1161 * examples/helloworld/helloworld.c: (event_loop):
1162 compile fixes, though it's not being compiled currently
1164 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1166 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1167 Add some simple tests for the new taglist date API.
1169 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1171 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1172 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1173 Beautify 'last-message' output: print 'none' for buffer timestamps
1174 and durations if none is set; improve alignment with next messages.
1176 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1178 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1179 * gst/gstpluginfeature.h:
1180 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1181 * gst/gstregistry.h:
1182 * docs/gst/gstreamer-sections.txt:
1183 Add new API to check plugin feature version requirements.
1185 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1186 Some basic tests for the above.
1188 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1190 * gst/gststructure.c: (gst_structure_to_string):
1191 guard against NULL printf - happens when for example
1192 a message structure with GstClock gets serialized
1194 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1196 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1197 Fix presumable copy'n'pasto.
1199 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1201 * gst/elements/gstfakesrc.h:
1202 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1203 * gst/elements/gsttypefindelement.c:
1205 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1206 I wonder if this could actually write +2GB files before
1208 2005-10-13 Andy Wingo <wingo@pobox.com>
1210 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1211 Fix Timmeke Waymans bug.
1212 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1213 string of the proper length to gst_caps_from_string. There's a
1214 potential for, before this fix, that this could cause someone
1215 connecting over the network to cause a segfault if the payload is
1218 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1220 * docs/design/draft-push-pull.txt:
1221 * docs/design/part-overview.txt:
1222 * docs/random/TODO-pre-0.9:
1223 * docs/random/old/ChangeLog.gstreamer:
1224 * gst/base/gstpushsrc.c:
1228 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1230 * gst/glib-compat.c: (gst_flags_get_first_value):
1231 * gst/glib-compat.h:
1232 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1233 (gst_value_compare_double), (gst_value_serialize_flags):
1234 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1237 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1239 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1240 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1242 * tools/gst-launch.c: (event_loop):
1243 print out clock nicely
1245 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1247 * docs/gst/gstreamer-sections.txt:
1249 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1250 (gst_tag_list_get_date_index):
1251 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1252 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1254 2005-10-13 Julien MOUTTE <julien@moutte.net>
1256 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1257 (gst_collectpads_chain):
1258 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1261 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1263 * docs/gst/gstreamer-sections.txt:
1266 * tools/gst-inspect.c: (main):
1267 * tools/gst-launch.c: (main):
1268 * tools/gst-run.c: (main):
1269 * tools/gst-xmlinspect.c: (main):
1270 fix GOption context leaks
1273 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1277 * win32/common/config.h:
1279 * win32/vs6/grammar.dsp:
1280 * win32/vs6/libgstelements.dsp:
1281 * win32/vs6/libgstreamer.dsp:
1284 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1286 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1287 * gst/base/gstbasesrc.c: (gst_base_src_query):
1288 fix more guint64<->gdouble conversions
1290 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1293 add win32-update target
1294 * win32/common/gstconfig.h:
1295 * win32/common/gstenumtypes.c:
1296 * win32/common/gstenumtypes.h:
1297 * win32/common/gstversion.h:
1298 add files that visual studio can't generate
1300 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1303 add a win32-update target
1306 2005-10-12 Wim Taymans <wim@fluendo.com>
1308 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1309 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1310 * gst/gstelement.c: (gst_element_commit_state),
1311 (gst_element_set_state):
1312 Protect flags with proper lock.
1313 unref provided cached clock in dispose.
1315 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1318 * gst/gstminiobject.h:
1320 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1321 removed unused flags from miniobject
1324 2005-10-12 Wim Taymans <wim@fluendo.com>
1326 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1327 (gst_file_sink_event), (gst_file_sink_render):
1328 Flush before seeking.
1330 2005-10-12 Andy Wingo <wingo@pobox.com>
1332 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1333 always been the case.
1335 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1337 * check/gst/gstbin.c: (GST_START_TEST):
1338 * docs/gst/gstreamer-sections.txt:
1339 * gst/base/gstbasesink.c: (gst_base_sink_init):
1340 * gst/base/gstbasesrc.c: (gst_base_src_init),
1341 (gst_base_src_get_range), (gst_base_src_check_get_range),
1342 (gst_base_src_start), (gst_base_src_stop):
1343 * gst/base/gstbasesrc.h:
1344 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1345 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1346 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1350 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1352 * gst/gstelement.c: (gst_element_is_locked_state),
1353 (gst_element_set_locked_state), (gst_element_commit_state),
1354 (gst_element_set_state):
1356 * gst/gstindex.c: (gst_index_init):
1358 * gst/gstminiobject.h:
1359 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1360 (gst_object_set_parent):
1362 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1363 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1365 * gst/gstpadtemplate.h:
1366 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1367 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1368 * gst/gstpipeline.h:
1369 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1370 (gst_file_index_commit):
1371 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1372 * testsuite/pad/link.c: (gst_test_src_init),
1373 (gst_test_filter_init), (gst_test_sink_init):
1374 * testsuite/states/locked.c: (main):
1375 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1376 moved bitshift from macro to enum definition
1378 2005-10-12 Wim Taymans <wim@fluendo.com>
1380 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1381 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1382 (gst_file_sink_render):
1383 Some more debugging info.
1385 2005-10-12 Wim Taymans <wim@fluendo.com>
1387 * docs/design/part-states.txt:
1388 * tools/gst-launch.c: (main):
1390 Revert non-intentional change.
1392 2005-10-12 Wim Taymans <wim@fluendo.com>
1394 * check/gst/gstbin.c: (GST_START_TEST):
1395 * check/gst/gstelement.c: (GST_START_TEST):
1396 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1397 * check/gst/gstghostpad.c: (GST_START_TEST):
1398 * check/gst/gstpipeline.c: (GST_START_TEST):
1399 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1400 * check/states/sinks.c: (GST_START_TEST):
1401 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1402 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1403 (gst_bin_remove_func), (gst_bin_get_state_func),
1404 (gst_bin_recalc_state), (gst_bin_change_state_func),
1406 * gst/gstelement.c: (gst_element_get_state_func),
1407 (gst_element_get_state), (gst_element_abort_state),
1408 (gst_element_commit_state), (gst_element_set_state),
1409 (gst_element_change_state), (gst_element_change_state_func):
1411 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1412 (gst_pipeline_provide_clock_func):
1413 * gst/gstutils.c: (gst_element_link_pads_filtered):
1414 * tools/gst-launch.c: (main):
1415 * tools/gst-typefind.c: (main):
1416 Use GstClockTime in _get_state() instead of GTimeVal.
1417 Remove old code in gstutils.c
1419 2005-10-12 Andy Wingo <wingo@pobox.com>
1421 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1424 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1425 there is no task. Shouldn't affect any code, as nothing in our
1426 plugins checks this return value.
1427 (gst_pad_stop_task): Also take the stream lock if the pad has no
1430 2005-10-12 Wim Taymans <wim@fluendo.com>
1432 * gst/gstpad.c: (pre_activate), (post_activate),
1433 (gst_pad_activate_pull), (gst_pad_activate_push):
1434 Cleanup activation code. Reset old state if
1437 2005-10-12 Wim Taymans <wim@fluendo.com>
1439 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1440 (gst_base_sink_change_state):
1441 No need to prerol after receiving EOS.
1443 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1444 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1445 * gst/elements/gstidentity.c: (gst_identity_event):
1446 Print events more verbosely.
1448 2005-10-12 Wim Taymans <wim@fluendo.com>
1450 * check/Makefile.am:
1451 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1452 * check/states/sinks2.c:
1453 Moved sinks2 testcode in sinks check.
1455 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1456 (gst_bin_remove_func), (gst_bin_recalc_state),
1457 (gst_bin_change_state_func), (bin_bus_handler):
1458 Fix potential race condition when _get_state() iterated over an
1459 ASYNC element right before it posted a state completion.
1462 Do proper cast here.
1464 * gst/gstevent.c: (gst_event_new_newsegment),
1465 (gst_event_parse_newsegment):
1466 A playback rate of 0.0 is not allowed.
1468 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1470 * win32/common/config.h:
1471 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1472 (_trewinddir), (_ttelldir), (_tseekdir):
1473 * win32/common/dirent.h:
1474 * win32/common/gtchar.h:
1475 * win32/common/libgstbase.def:
1476 * win32/common/libgstreamer.def:
1477 * win32/vs6/grammar.dsp:
1478 * win32/vs6/gst_inspect.dsp:
1479 * win32/vs6/gst_launch.dsp:
1480 * win32/vs6/gstreamer.dsw:
1481 * win32/vs6/libgstbase.dsp:
1482 * win32/vs6/libgstelements.dsp:
1483 * win32/vs6/libgstreamer.dsp:
1484 Visual Studio 6 project files, and a new common directory.
1487 2005-10-11 Wim Taymans <wim@fluendo.com>
1489 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1490 (gst_base_sink_do_sync), (gst_base_sink_query),
1491 (gst_base_sink_change_state):
1492 * gst/base/gstbasesink.h:
1493 Correctly parse newsegment info.
1495 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1497 * gst/gst.c: (init_post):
1498 split plugin paths correctly
1500 2005-10-11 Wim Taymans <wim@fluendo.com>
1502 * check/gst/gstevent.c: (GST_START_TEST):
1503 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1504 (gst_base_sink_change_state):
1505 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1506 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1507 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1508 * gst/gstevent.c: (gst_event_new_newsegment),
1509 (gst_event_parse_newsegment):
1511 Added extra flag to newsegment for future API freeze.
1512 Updated check and base elements.
1514 2005-10-11 Julien MOUTTE <julien@moutte.net>
1516 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1517 (gst_collectpads_add_pad), (gst_collectpads_pop),
1518 (gst_collectpads_event), (gst_collectpads_chain):
1519 * gst/base/gstcollectpads.h: Handle EOS correctly.
1521 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1523 * tools/gst-launch.c: (main):
1524 more null protecting
1526 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1528 * gst/gst-i18n-lib.h:
1529 check for ENABLE_NLS, not GETTEXT_PACKAGE
1530 * gst/gstregistry.c: (gst_registry_add_plugin),
1531 (gst_registry_scan_path_level),
1532 (_gst_registry_remove_cache_plugins):
1533 protect possibly NULL strings
1534 * gst/parse/types.h:
1535 config.h already included before
1536 * tools/gst-inspect.c: (main):
1537 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1538 check for ENABLE_NLS, not GETTEXT_PACKAGE
1539 * tools/gst-launch.c: (main):
1540 check for ENABLE_NLS, not GETTEXT_PACKAGE
1542 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1545 if we don't have glib, fail before testing 2.8
1546 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1547 fix a leak, should fix plugins-base testsuite
1549 2005-10-11 Andy Wingo <wingo@pobox.com>
1551 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1552 take the mode we're going to as an arg. Go head and set the mode
1553 and flushing flags now, so that if the activate function starts a
1554 thread all the flags will be in the right state.
1555 (post_activate): Renamed also. Just handle making sure streaming
1556 finishes for the deactivation case, and setting the deactivated
1558 (gst_pad_set_active): Complain loudly if deactivation fails.
1559 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1560 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1561 remove the terrible hack.
1563 2005-10-11 Wim Taymans <wim@fluendo.com>
1565 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1566 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1567 (gst_bin_recalc_state), (gst_bin_change_state_func),
1568 (gst_bin_dispose), (bin_bus_handler):
1570 Prepare to make current EOS message queue more generic.
1573 * gst/gstevent.c: (gst_event_new_newsegment),
1574 (gst_event_parse_newsegment):
1576 Rename base to stream_time.
1581 2005-10-11 Wim Taymans <wim@fluendo.com>
1583 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1584 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1585 (gst_bin_change_state_func), (bin_bus_handler):
1587 Work on proper clock selection.
1589 2005-10-11 Edward Hervey <edward@fluendo.com>
1591 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1592 * libs/gst/controller/gstcontroller.h:
1593 Added GList* version of _remove_properties() in order to be able to wrap
1596 2005-10-11 Wim Taymans <wim@fluendo.com>
1598 * docs/design/part-states.txt:
1601 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1602 (gst_bin_change_state_func), (bin_bus_handler):
1603 Doc updates. Don't distribute the same clock over and over again.
1609 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1610 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1611 (gst_pad_send_event):
1613 Make probe emission threadsafe again.
1614 Register quarks and move _get_name() from utils.
1617 * gst/gstpipeline.c: (gst_pipeline_class_init),
1618 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1619 Only redistribute the clock of it changed.
1621 * gst/gstsystemclock.h:
1626 Moved the _flow_get_name() to GstPad.
1628 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1630 * check/gst-libs/gdp.c: (GST_START_TEST):
1631 * check/gst/gstcaps.c: (GST_START_TEST):
1632 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1633 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1634 (gst_dp_packet_from_caps):
1635 fix more valgrind warnings before turning up the heat
1637 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1639 * gst/parse/grammar.y:
1640 some cleanup before the hacking
1642 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1644 * gst/base/gstbasesrc.c: (gst_base_src_query):
1646 * gst/gstutils.c: (gst_guint64_to_gdouble),
1647 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1649 externalize, basesrc uses it
1650 obviously the implementation needs testing
1652 2005-10-10 Wim Taymans <wim@fluendo.com>
1654 * tests/sched/Makefile.am:
1655 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1656 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1658 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1660 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1661 apparently converting from guint64 to double is not implemented
1664 2005-10-10 Wim Taymans <wim@fluendo.com>
1666 * check/Makefile.am:
1667 * check/generic/states.c: (GST_START_TEST):
1668 * check/gst/gstbin.c: (GST_START_TEST):
1669 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1670 * check/states/sinks.c: (GST_START_TEST):
1671 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1673 Check fixes, use API as stated in design docs, remove hacks.
1675 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1676 (gst_base_sink_change_state):
1677 Catch stopping our task while we're shutting down.
1679 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1680 (gst_bin_remove_func), (gst_bin_get_state_func),
1681 (gst_bin_recalc_state), (gst_bin_change_state_func),
1684 * gst/gstelement.c: (gst_element_init),
1685 (gst_element_get_state_func), (gst_element_abort_state),
1686 (gst_element_commit_state), (gst_element_lost_state),
1687 (gst_element_set_state), (gst_element_change_state),
1688 (gst_element_change_state_func):
1690 New state change algorithm (see #318116)
1692 * gst/gstpipeline.c: (gst_pipeline_class_init),
1693 (gst_pipeline_init), (gst_pipeline_set_property),
1694 (gst_pipeline_get_property), (do_pipeline_seek),
1695 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1696 * gst/gstpipeline.h:
1697 Remove crude state change hacks.
1702 * tools/gst-launch.c: (main):
1703 Fixes for state change. Needs some more work to fully use the
1706 2005-10-10 Andy Wingo <wingo@pobox.com>
1708 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1710 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1711 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1714 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1716 * gst/gstiterator.c: (gst_iterator_new):
1717 Fix my previous commit: GTypes passed to gst_iterator_new()
1718 can be fundamental types.
1720 2005-10-10 Wim Taymans <wim@fluendo.com>
1722 * gst/gstelement.c: (gst_element_iterate_pad_list),
1723 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1724 (gst_element_iterate_sink_pads):
1725 Use src/sink pads lists for the respective iterators instead
1728 2005-10-10 Andy Wingo <wingo@pobox.com>
1730 Merged in popt removal + GOption addition patch from Ronald, bug
1733 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1734 GstElement macros around, remove popt-related symbols, add goption
1737 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1739 * docs/gst/Makefile.am:
1740 * docs/libs/Makefile.am: No POPT_CFLAGS.
1742 * examples/manual/Makefile.am:
1743 * docs/manual/basics-init.xml: Doc updates with an example.
1745 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1746 (gst_init), (parse_one_option), (parse_goption_arg):
1747 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1748 bit of hand merging and debugging to get the GOption stuff working
1751 * tests/Makefile.am:
1752 * tools/Makefile.am:
1753 * tools/gst-inspect.c: (main):
1754 * tools/gst-launch.c: (main):
1755 * tools/gst-run.c: (main):
1756 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1758 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1760 * gst/gstiterator.c: (gst_iterator_new):
1761 Add assertions to make sure passed GType is likely to really
1762 be a GType (as the compiler won't catch it if the size and
1763 GType arguments get mixed up, see #318447).
1765 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1767 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1769 * gst/gstbin.c: (gst_bin_iterate_sorted):
1770 Pass GType and size arguments to gst_iterator_new() in the right
1771 order (maybe we should make _new() take the GType as first argument
1772 just like _new_list()?) (#318447).
1775 2005-10-10 Wim Taymans <wim@fluendo.com>
1777 * gst/gstelement.c: (gst_element_finalize):
1778 And free the GStaticRecMutex too
1780 2005-10-10 Andy Wingo <wingo@pobox.com>
1782 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1783 Allocate and free the mutex properly.
1785 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1787 (GstElement): The state_lock is now recursive. Rebuild your
1788 plugins, suckers. Old macros adapted.
1790 * docs/gst/gstreamer-sections.txt: Doc updates.
1793 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1794 (g_static_rec_cond_wait): Ported from state changes patch, while
1795 we wait on bug #317802 to be solved in a well-distributed GLib.
1797 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1798 gst_element_change_state, variable name changes.
1799 (gst_element_change_state): Split out of gst_element_set_state in
1800 preparation for the state change merge. Doesn't pay attention to
1801 the 'transition' argument.
1802 (gst_element_set_state): Updates, hopefully purely cosmetic.
1803 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1805 (gst_element_get_state_func): Renamed from get_state, cosmetic
1808 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1810 * gst/elements/gstelements.c:
1811 * win32/GStreamer.vcproj:
1813 * win32/dirent.c: (_tseekdir):
1814 * win32/gst-inspect.vcproj:
1815 * win32/gst-launch.vcproj:
1816 * win32/gstconfig.h:
1817 * win32/gstelements.vcproj:
1818 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1819 * win32/gstreamer.def:
1821 updates for the win32 build (patch from Sebastien Moutte)
1823 2005-10-10 Andy Wingo <wingo@pobox.com>
1825 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1826 gst_bin_get_state, cleaned up (but no logic changes).
1827 (bin_element_is_sink): Comment updates.
1828 (sink_iterator_filter): Remove needless cast.
1829 (gst_bin_iterate_sinks): Doc update.
1830 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1831 cleaned up (but no logic changes).
1833 * check/states/sinks.c (test_src_sink): Cleanups from the state
1835 (test_livesrc_sink): Sync on the state.
1837 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1838 the state change patch.
1840 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1843 * check/gst/gstbin.c: Merge in some style fixes and additional
1844 checks from Wim's state change patch.
1846 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1848 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1849 (gst_type_find_helper):
1850 Check whether we have the requested data already in our list of
1851 cached buffers before pulling a new buffer; also make the buffer
1852 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1854 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1859 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1860 don't use long long, it's not portable. Replacing with
1861 gint64 seems to work; let's hope no skeletons fall out of the closet.
1863 2005-10-10 Andy Wingo <wingo@pobox.com>
1865 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1867 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1869 * docs/gst/gstreamer-sections.txt:
1874 * gst/gstmessage.c: (gst_message_parse_state_changed):
1877 more docs, fix compilation
1879 2005-10-09 Philippe Khalaf <burger@speedy.org>
1881 Fixed a few forgotten variables on previous commit
1883 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1885 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1886 Fix evil typefind crasher: getrange() might return a short
1887 buffer at the end of a file, but gst_type_find_peek() must
1888 either return the full data as requested or NULL, but
1889 never a short buffer.
1891 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1893 * gst/gstmessage.c: (gst_message_new_state_changed),
1894 (gst_message_parse_state_changed):
1896 don't use "new", it's a C++ keyword
1898 2005-10-08 Wim Taymans <wim@fluendo.com>
1900 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1901 * gst/gstelement.c: (gst_element_post_message):
1902 * gst/gstpipeline.c: (gst_pipeline_change_state):
1903 Small docs and debug updates.
1905 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1907 * docs/gst/gstreamer-sections.txt:
1908 * gst/gstelementfactory.c:
1913 2005-10-08 Wim Taymans <wim@fluendo.com>
1915 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1916 (gst_bin_dispose), (bin_bus_handler):
1917 Fix typos, add comments.
1918 Clear EOS list when going to PAUSED from any direction and do it
1919 in a threadsafe way.
1920 Get base time in a threadsafe way too.
1921 Fix confusing debug in the change_state function.
1922 Various other small cleanups.
1924 * gst/gstelement.c: (gst_element_post_message):
1925 Fix very verbose bus posting code.
1927 * gst/gstpipeline.c: (gst_pipeline_class_init),
1928 (gst_pipeline_set_property), (gst_pipeline_get_property),
1929 (gst_pipeline_change_state):
1930 Small ARG_ -> PROP_ cleanup
1932 2005-10-08 Wim Taymans <wim@fluendo.com>
1934 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1935 Do a less CPU demanding EOS check because we can.
1937 2005-10-08 Wim Taymans <wim@fluendo.com>
1939 * libs/gst/dataprotocol/dataprotocol.c:
1940 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1941 (gst_dp_packet_from_event):
1942 * libs/gst/dataprotocol/dataprotocol.h:
1943 * libs/gst/dataprotocol/dp-private.h:
1944 It's about time we bump the version number.
1945 Since event types don't fit in the guint8 anymore describing
1946 the payload type, make payload type 16 bits wide.
1948 2005-10-08 Wim Taymans <wim@fluendo.com>
1950 * docs/design/part-TODO.txt:
1951 * docs/design/part-clocks.txt:
1952 * docs/design/part-events.txt:
1953 * docs/design/part-gstbin.txt:
1954 * docs/design/part-gstelement.txt:
1955 * docs/design/part-gstpipeline.txt:
1956 * docs/design/part-live-source.txt:
1957 * docs/design/part-messages.txt:
1958 * docs/design/part-overview.txt:
1959 * docs/design/part-states.txt:
1962 2005-10-08 Wim Taymans <wim@fluendo.com>
1966 Fix event quark registration.
1967 Add some space between events so we can insert them in the
1970 2005-10-08 Wim Taymans <wim@fluendo.com>
1972 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1973 (gst_base_sink_handle_buffer):
1980 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1981 (gst_queue_set_property), (gst_queue_get_property):
1983 Remove old unused properties.
1985 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1986 * docs/gst/gstreamer-sections.txt:
1989 * gst/gstminiobject.c:
1990 * gst/gstminiobject.h:
1994 lots of new docs and doc fixes
1996 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1998 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2000 * gst/gstregistry.c: (gst_registry_lookup_locked),
2001 (gst_registry_scan_path_level):
2002 * gst/gstregistryxml.c: (load_plugin):
2003 Only ever load one plugin for a given plugin basename.
2004 This ensures correct overriding of GST_PLUGIN_PATH over
2005 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2006 system installed plugins.
2008 2005-10-08 Wim Taymans <wim@fluendo.com>
2010 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2011 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2012 Prepare for doing QOS.
2014 2005-10-08 Wim Taymans <wim@fluendo.com>
2016 * check/gst/gstbin.c: (GST_START_TEST):
2017 * check/pipelines/cleanup.c: (GST_START_TEST):
2018 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2019 Allow new clock message too.
2021 2005-10-08 Wim Taymans <wim@fluendo.com>
2023 * gst/gstmessage.c: (gst_message_new_error),
2024 (gst_message_new_warning), (gst_message_new_tag),
2025 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2026 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2027 (gst_message_new_segment_start), (gst_message_new_segment_done),
2028 (gst_message_parse_state_changed),
2029 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2030 (gst_message_parse_new_clock):
2032 Also carry the clock in question.
2034 2005-10-08 Wim Taymans <wim@fluendo.com>
2036 * gst/gstmessage.c: (gst_message_new_custom),
2037 (gst_message_new_eos), (gst_message_new_error),
2038 (gst_message_new_warning), (gst_message_new_tag),
2039 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2040 (gst_message_new_new_clock), (gst_message_new_segment_start),
2041 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2042 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2045 Added clock related messages.
2047 * gst/gstpipeline.c: (gst_pipeline_change_state):
2048 Post message when the clock changed.
2050 * tools/gst-launch.c: (event_loop):
2053 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2055 * tools/gst-inspect.c: (print_element_properties_info):
2056 Can't pass NULL strings to g_print() on windows.
2058 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2061 * docs/gst/Makefile.am:
2062 * docs/gst/gstreamer-docs.sgml:
2063 * docs/gst/running.xml:
2064 * docs/version.entities.in:
2065 add a chapter on running GStreamer.
2066 document GST_DEBUG and GST_PLUGIN* env vars
2068 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2073 remove PLUGINS_BUILDDIR stuff
2074 * gst/gst.c: (init_post):
2075 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2077 remove, it was condescending and not needed
2079 2005-10-08 Wim Taymans <wim@fluendo.com>
2081 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2082 (gst_base_sink_handle_object), (gst_base_sink_event),
2083 (gst_base_sink_wait), (gst_base_sink_handle_event),
2084 (gst_base_sink_change_state):
2085 * gst/base/gstbasesink.h:
2086 Repost EOS message while going to PLAYING if still EOS.
2087 Make sure that when receiving a FLUSH_START we don't attempt
2088 to sync on the clock anymore.
2090 2005-10-08 Wim Taymans <wim@fluendo.com>
2092 * tools/gst-launch.c: (event_loop):
2093 Better message printout.
2095 2005-10-08 Wim Taymans <wim@fluendo.com>
2097 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2098 (gst_bin_child_proxy_get_children_count):
2099 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2100 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2101 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2102 (gst_child_proxy_set_valist):
2103 * gst/parse/grammar.y:
2104 Make ChildProxy threadsafe and fix mem leaks.
2106 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2108 * gst/gst.c: (init_post):
2109 debug the GST_PLUGIN_ env vars
2111 2005-10-08 Wim Taymans <wim@fluendo.com>
2113 * check/gst/gstbin.c: (GST_START_TEST):
2114 * check/gst/gstmessage.c: (GST_START_TEST):
2115 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2116 * gst/gstelement.c: (gst_element_commit_state),
2117 (gst_element_lost_state):
2118 * gst/gstmessage.c: (gst_message_new_state_changed),
2119 (gst_message_parse_state_changed):
2121 * tools/gst-launch.c: (event_loop):
2122 Added extra field to STATE_CHANGE message with the pending
2123 state, which will be different from the new state soon.
2125 2005-10-08 Wim Taymans <wim@fluendo.com>
2127 * gst/gstbus.c: (gst_bus_pop):
2129 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2130 Small cleanups and doc updates.
2132 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2134 * gst/gst.c: (init_pre):
2135 * gst/gstbin.c: (gst_bin_add_func):
2136 log distributing clocks and base time
2137 * gst/gstregistry.c: (gst_registry_add_plugin),
2138 (gst_registry_scan_path_level), (gst_registry_scan_path):
2139 clean up the debugging output a little
2140 * gst/gstutils.c: (gst_element_state_get_name):
2141 warn about a memleak (I've actually seen this be used, though
2142 it was probably a bug)
2144 2005-10-07 Wim Taymans <wim@fluendo.com>
2146 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2147 (gst_base_src_init), (gst_base_src_default_newsegment),
2148 (gst_base_src_newsegment), (gst_base_src_do_seek),
2149 (gst_base_src_loop), (gst_base_src_start):
2150 * gst/base/gstbasesrc.h:
2151 Make the newsegment event customizable by subclasses.
2153 2005-10-07 Wim Taymans <wim@fluendo.com>
2155 * gst/gstevent.c: (gst_event_new_buffersize),
2156 (gst_event_parse_buffersize):
2158 New event for future idea.
2160 2005-10-07 Andy Wingo <wingo@pobox.com>
2162 * gst/gstelement.c (gst_element_post_message): Doc update.
2164 * docs/gst/gstreamer-sections.txt: Update.
2166 * gst/gstmessage.c (gst_message_new_application): Made into a
2167 function like honest API calls.
2168 (gst_message_new_element): New message type.
2170 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2172 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2173 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2176 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2177 NO_PREROLL from gst_element_change_state to fall through.
2179 2005-10-07 Wim Taymans <wim@fluendo.com>
2181 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2182 (gst_ghost_pad_do_activate_push):
2183 Activating a ghostpad with no internal pad in push mode
2186 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2189 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2190 Fixes compilation on Windows.
2192 2005-10-07 Michael Smith <msmith@fluendo.com>
2194 * tools/gst-inspect.c:
2195 Print out feature and plugin count at the end when printing out
2198 2005-10-04 Michael Smith <msmith@fluendo.com>
2200 * gst/gsterror.c: (_gst_stream_errors_init):
2201 Add another error string used in a few existing plugins.
2204 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2205 * tools/gst-inspect.c: (print_element_info):
2206 When a feature disappears from a plugin (and the feature exists in
2207 the cached registry file), things went horribly wrong. This isn't a
2208 complete fix, we should actually be removing the 'missing' features
2209 from the features list when we load the actual plugin. That's not
2212 2005-10-04 Johan Dahlin <johan@gnome.org>
2214 * check/gst/gstiterator.c: (GST_START_TEST):
2215 * gst/gstbin.c: (gst_bin_iterate_elements),
2216 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2217 * gst/gstelement.c: (gst_element_iterate_pads):
2218 * gst/gstformat.c: (gst_format_iterate_definitions):
2219 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2220 (gst_iterator_new_list), (gst_iterator_filter):
2221 * gst/gstiterator.h:
2222 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2223 Add a GType to GstIterator, update callsites and tests.
2225 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2227 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2228 give events a chance to be handled by event probes when the pad
2231 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2233 * gst/gstevent.c: (gst_event_type_get_name),
2234 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2236 add string representations for event types
2238 2005-10-06 Wim Taymans <wim@fluendo.com>
2240 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2241 Don't use NULL pointers.
2243 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2245 * gst/gst_private.h:
2249 * gst/gstpluginfeature.c:
2250 widen the debug category in output to fit the biggest one we have
2251 add a bus category and use it
2252 play with the colors
2253 fix up some categories
2255 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2257 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2258 add push activation of sink ghost pads.
2259 Andye, please verify
2261 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2263 * gst/gstutils.c: (gst_element_link_pads):
2264 fix a bug in the case where neither element has a pad
2265 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2266 add a test for that case
2268 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2270 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2271 emit have-data before checking for peers. This allows
2272 for probe handlers to connect elements. This helps autopluggers.
2273 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2275 add six checks, linked/unlinked with no/true/false probe
2277 2005-10-04 Wim Taymans <wim@fluendo.com>
2279 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2280 (gst_fake_sink_event), (gst_fake_sink_preroll),
2281 (gst_fake_sink_render), (gst_fake_sink_change_state):
2282 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2283 (gst_fake_src_get_property), (gst_fake_src_create),
2284 (gst_fake_src_stop):
2285 * gst/elements/gstidentity.c: (gst_identity_stop):
2286 Protect last_message with lock.
2288 2005-10-04 Edward Hervey <edward@fluendo.com>
2291 Added precision in the comments for GST_FORMAT_DEFAULT
2293 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2295 * tools/gst-launch.c: (main):
2296 Don't try to run erroneous pipelines.
2298 2005-10-04 Julien MOUTTE <julien@moutte.net>
2300 * gst/gstbus.c: We don't need this header.
2302 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2307 === release 0.9.3 ===
2309 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2313 Releasing 0.9.3, "Unregistered"
2315 2005-10-03 Andy Wingo <wingo@pobox.com>
2317 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2318 whereby calling a pad's activatepush() function can start a thread
2319 that starts to push or pull before the pad gets the FLUSHING flag
2320 unset. Hack around it by holding the stream lock until the flag is
2321 set. Need to replace this with a proper solution. Together with
2322 the ghost pad fixes, this fixes mp3 playing/tagreading.
2324 * docs/design/part-gstghostpad.txt: Add a note about activation of
2325 proxy pads outside of ghost pads.
2327 * gst/gstghostpad.c: Implement the ghost pad activation design.
2329 2005-10-02 Andy Wingo <wingo@pobox.com>
2331 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2332 It is volatile, after all.
2334 * docs/design/part-gstghostpad.txt: Flesh out activation with
2337 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2340 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2343 Fix (unused) AM_CONDITIONAL tests.
2345 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2347 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2349 * gst/gstutils.c: (gst_pad_query_convert):
2350 Add assertion that makes sure src_val is >=0, just like
2351 gst_query_new_convert() has. (#315895)
2353 2005-09-30 Edward Hervey <edward@fluendo.com>
2355 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2356 Let's not iterate pads we're not interested in, it avoids getting
2357 sky-high refcounts on sinkpad.
2359 2005-09-30 Wim Taymans <wim@fluendo.com>
2361 * gst/gstelement.c: (gst_element_set_state),
2362 (gst_element_change_state):
2363 Small tweak, element in ASYNC remains ASYNC.
2365 2005-09-30 Wim Taymans <wim@fluendo.com>
2367 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2368 Only error is an error.
2370 * gst/gstbin.c: (gst_bin_change_state):
2373 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2374 Also call pad_block in pad alloc.
2376 * gst/gstutils.c: (gst_flow_get_name):
2379 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2381 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2382 (gst_base_src_get_range):
2383 Fix documentation typos. Add some more debug info.
2385 2005-09-29 David Schleef <ds@schleef.org>
2387 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2388 more end-user friendly.
2389 * tools/gst-inspect.c: (main): Check if command-line argument is
2390 a file and attempt to load that file as a plugin.
2392 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2394 * check/gst/gstbin.c:
2395 * check/states/sinks.c:
2396 fix tests for the new warning
2397 * check/gst/gstpipeline.c:
2398 add a test for pipeline and bus interaction
2400 elements should be NULL if they get disposed; add a warning if not
2402 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2405 for 2.6 refcounting, make debug log more correct by printing
2406 the actual refcounts at the time of swap (Wim)
2408 2005-09-29 Andy Wingo <wingo@pobox.com>
2410 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2411 removes signal watches previously added via
2412 gst_bus_add_signal_watch.
2413 (gst_bus_add_signal_watch): Don't return the source id, just store
2414 it on the bus if there wasn't an id already.
2416 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2417 add_signal_watch and remove_signal_watch.
2419 2005-09-29 Edward Hervey <edward@fluendo.com>
2421 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2422 Better if we actually iterate the list :)
2424 2005-09-29 Wim Taymans <wim@fluendo.com>
2426 * check/gst/gstbin.c: (GST_START_TEST):
2427 Change for new bus API.
2429 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2430 (send_messages), (GST_START_TEST), (gstbus_suite):
2431 Change for new bus signal API.
2433 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2434 (gst_bus_source_prepare), (gst_bus_source_check),
2435 (gst_bus_create_watch), (gst_bus_add_watch_full),
2436 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2437 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2439 Remove support for multiple GSources operating on different
2440 message types as it is too complex and unneeded when using
2442 Added support for receiving signals from the bus.
2444 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2446 * docs/libs/tmpl/gstdataprotocol.sgml:
2447 * docs/manual/advanced-dataaccess.xml:
2448 * gst/elements/gstcapsfilter.c:
2450 rename filter-caps to caps property
2452 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2454 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2455 More robust fraction string parsing.
2457 * docs/pwg/appendix-porting.xml:
2458 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2460 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2462 * gst/gstcaps.c: (gst_caps_do_simplify):
2463 Thou shalt not free a structure and then continue using it
2464 in the next loop iteration.
2466 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2468 Add test case for caps simplification.
2470 2005-09-29 Wim Taymans <wim@fluendo.com>
2472 * check/gst/gstbin.c: (GST_START_TEST):
2475 2005-09-29 Wim Taymans <wim@fluendo.com>
2477 * check/gst/gstbin.c: (GST_START_TEST):
2480 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2481 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2482 (find_element), (gst_bin_sort_iterator_next),
2483 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2484 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2485 (gst_bin_change_state), (gst_bin_dispose):
2486 A bin does not have a bus, it gets the bus from the parent.
2488 * gst/gstelement.c: (gst_element_requires_clock),
2489 (gst_element_provides_clock), (gst_element_is_indexable),
2490 (gst_element_is_locked_state), (gst_element_change_state),
2491 (gst_element_set_bus_func):
2494 * gst/gstpipeline.c: (gst_pipeline_class_init),
2495 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2496 The pipeline provides a bus.
2498 2005-09-28 Johan Dahlin <johan@gnome.org>
2500 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2501 gst_structure_get_enum instead of gst_structure_get_int
2503 * gst/gststructure.c (gst_structure_get_enum): Impl.
2505 * gst/gststructure.h (gst_structure_get_enum): Add
2507 * docs/gst/gstreamer-sections.txt: Ditto
2509 * gst/gstmessage.c (gst_message_new_state_changed): Use
2510 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2511 which does introspection.
2512 Reviewed by Christian Schaller
2514 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2516 * gst/gstinfo.c: (gst_debug_log_default):
2517 don't do dummy g_strdup()s
2518 * libs/gst/controller/gstcontroller.c:
2519 (on_object_controlled_property_changed),
2520 (gst_controlled_property_new), (gst_controller_new_valist),
2521 (gst_controller_new_list),
2522 (gst_controller_remove_properties_valist), (gst_controller_set),
2523 (gst_controller_get), (gst_controller_sync_values),
2524 (gst_controller_get_value_array), (_gst_controller_class_init),
2525 (gst_controller_get_type):
2526 * libs/gst/controller/gstcontroller.h:
2527 * libs/gst/controller/gstinterpolation.c:
2528 (gst_controlled_property_find_timed_value_node):
2529 convert // to /**/ comments
2531 2005-09-28 Wim Taymans <wim@fluendo.com>
2533 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2534 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2535 (gst_bus_sync_signal_handler):
2537 Added async-message and sync-message signals to the bus.
2538 Added helper BusFunc to emit signals for all posted messages.
2540 * gst/gstmessage.c: (gst_message_type_get_name),
2541 (gst_message_type_to_quark), (gst_message_get_type):
2543 Register quarks for message names.
2545 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2547 * docs/libs/gstreamer-libs-sections.txt:
2548 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2549 (gst_controller_new_list):
2550 * libs/gst/controller/gstcontroller.h:
2551 added another constructor for language bindings
2553 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2555 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2559 * gst/gstinfo.c: (_gst_debug_init):
2560 slightly more readable color for refcount debugging
2562 2005-09-28 Wim Taymans <wim@fluendo.com>
2564 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2565 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2566 (find_element), (gst_bin_sort_iterator_next),
2567 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2568 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2569 (gst_bin_change_state), (gst_bin_dispose):
2570 Small doc fixes. get_clock -> provide_clock.
2572 * gst/gstelement.c: (gst_element_class_init),
2573 (gst_element_provides_clock), (gst_element_provide_clock),
2574 (gst_element_get_clock), (gst_element_commit_state),
2575 (gst_element_lost_state):
2577 Make get/set_clock() symetric. Add provide_clock vmethod since
2578 that is actually what this function does.
2580 * gst/gstpipeline.c: (gst_pipeline_class_init),
2581 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2582 (gst_pipeline_get_clock):
2583 get_clock -> provide_clock.
2585 2005-09-28 Andy Wingo <wingo@pobox.com>
2587 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2588 lieu of real docs...
2590 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2592 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2594 * gst/elements/gstcapsfilter.c:
2595 * gst/elements/gstfakesink.c:
2596 * gst/elements/gstfakesrc.c:
2597 * gst/elements/gstfdsink.c:
2598 * gst/elements/gstfdsrc.c:
2599 * gst/elements/gstfilesink.c:
2600 * gst/elements/gstfilesrc.c:
2601 * gst/elements/gstidentity.c:
2602 * gst/elements/gsttee.c:
2603 * gst/elements/gsttypefindelement.c:
2604 Make element details static.
2606 2005-09-28 Wim Taymans <wim@fluendo.com>
2608 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2609 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2610 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2611 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2612 (gst_bin_change_state), (gst_bin_dispose):
2613 Some documentation updates.
2614 Clean up dispose handlers.
2616 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2617 * gst/gstpad.c: (gst_pad_dispose):
2618 Clean up dispose handler.
2620 * gst/gstpipeline.c: (gst_pipeline_change_state):
2621 Removed spurious UNLOCK.
2623 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2625 * docs/gst/gstreamer-sections.txt:
2626 * gst/base/gstbasesrc.h:
2631 * gst/gstpipeline.c:
2632 * gst/gstpipeline.h:
2635 added two new functions to the docs
2636 documents all undocumented GstXXXFlags
2637 completed some incomplete docs
2639 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2641 * gst/gstbin.c: (gst_bin_dispose):
2642 * gst/gstelement.c: (gst_element_dispose):
2643 remove now useless and leaky resurrection code in dispose
2644 * gst/base/gstbasesrc.c: (gst_base_src_init):
2645 * gst/gstelementfactory.c: (gst_element_factory_create):
2646 * gst/gstobject.c: (gst_object_set_parent):
2649 2005-09-27 Wim Taymans <wim@fluendo.com>
2651 * docs/design/part-TODO.txt:
2654 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2655 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2656 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2657 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2658 (gst_bin_change_state):
2660 Remove element variable, we keep element info in the iterator now.
2662 2005-09-27 Andy Wingo <wingo@pobox.com>
2664 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2667 2005-09-27 Wim Taymans <wim@fluendo.com>
2669 * check/gst/gstbin.c: (GST_START_TEST):
2670 Enable check that works now.
2672 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2673 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2674 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2675 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2676 (gst_bin_change_state):
2678 Redid the state change algorithm using a topological sort algo.
2679 Handles all cases correctly.
2680 Exposed iterator for state change order.
2683 Temp storage for state changes. Need to get rid of this soon.
2685 2005-09-27 Wim Taymans <wim@fluendo.com>
2687 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2688 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2689 (link_fold_func), (gst_pad_proxy_setcaps):
2690 Leak fixes, the fold functions need to unref the passed object and
2691 _get_parent_*() returns ref to parent.
2693 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2695 * check/gst/gstbuffer.c: (test_make_writable):
2696 Plug leak in test case and fix 'make check-valgrind'
2698 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2700 * gst/gstbuffer.c: (gst_subbuffer_init):
2701 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2702 works correctly in all circumstances (we could have just copied
2703 the parent buffer's readonly flag, but conceptually it seems
2704 cleaner to mark all subbuffers as read-only). (based on patch
2705 by Alessandro Decina, #314710).
2707 * check/gst/gstbuffer.c: (create_read_only_buffer),
2708 (test_make_writable), (test_subbuffer_make_writable),
2710 Add some tests for gst_buffer_make_writable().
2712 2005-09-27 Wim Taymans <wim@fluendo.com>
2714 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2715 use gst_object_has_ancestor().
2717 * gst/gstobject.c: (gst_object_has_ancestor):
2719 gst_object_has_ancestor() copied from gstbin.c as it is a
2722 * tests/instantiate/create.c: (create_all_elements):
2723 * tests/lat.c: (handoff_src), (handoff_sink):
2724 * tests/sched/runxml.c: (main):
2725 * tests/seeking/seeking1.c: (main):
2726 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2728 Fix compilation of some tests.
2730 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2733 Remove comment. GST_TYPE_G_ERROR is here to stay,
2734 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2737 2005-09-26 Wim Taymans <wim@fluendo.com>
2739 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2740 Added check that shows error in state change order.
2742 2005-09-26 Wim Taymans <wim@fluendo.com>
2744 * gst/gstbin.c: (gst_bin_change_state):
2745 Make state change function use 3 queues again, we were
2746 adding elements in the wrong order.
2748 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2751 * gst/gstpad.c: (gst_pad_dispose):
2752 Added some debug info first.
2754 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2756 * docs/design/draft-push-pull.txt:
2757 * docs/design/part-events.txt:
2758 * docs/design/part-overview.txt:
2759 * docs/design/part-scheduling.txt:
2760 Replace all _pull_region() with _pull_range()
2762 2005-09-26 Andy Wingo <wingo@pobox.com>
2764 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2766 * check/gst-libs/controller.c: Update for controller api change.
2769 * tests/Makefile.am:
2770 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2771 over by GLib bug 118439.
2773 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2774 routines to a function.
2776 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2778 * libs/gst/controller/gsthelper.c:
2779 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2780 (gst_object_sync_values): Renamed from sink_values. Ugh.
2782 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2784 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2785 Renamed from controller_key, as it is exported.
2787 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2789 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2794 * gst/gstpadtemplate.h:
2797 * gst/gstqueryutils.c:
2798 * gst/gstqueryutils.h:
2799 remove queryutils headers after moving the two used functions
2800 to gstquery. also fixes build problem for gstsiddec
2802 2005-09-26 Michael Smith <msmith@fluendo.com>
2804 * tools/gst-launch.1.in:
2805 Correct documentation in manpage of debug syntax
2807 2005-09-26 Wim Taymans <wim@fluendo.com>
2809 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2810 (gst_base_src_is_seekable), (gst_base_src_change_state):
2811 Some more debugging info.
2813 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2815 * docs/gst/gstreamer-sections.txt:
2816 * gst/base/gstbasetransform.h:
2820 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2822 * docs/gst/.cvsignore:
2823 * docs/gst/tmpl/.cvsignore:
2824 * docs/gst/tmpl/gstpipeline.sgml:
2825 * docs/gst/tmpl/gstplugin.sgml:
2826 * gst/gstpipeline.c:
2829 inlined the last two docs files
2830 removed the tmpl directory from cvs (no more conflicts here!)
2832 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2834 * docs/gst/gstreamer-sections.txt:
2835 * docs/gst/tmpl/.cvsignore:
2836 * docs/gst/tmpl/gstpad.sgml:
2837 * docs/gst/tmpl/gstpadtemplate.sgml:
2839 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2840 (gst_pad_finalize), (gst_pad_set_pad_template):
2842 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2843 (gst_pad_template_class_init), (gst_pad_template_init),
2844 (gst_pad_template_dispose), (name_is_valid),
2845 (gst_static_pad_template_get), (gst_pad_template_new),
2846 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2847 (gst_pad_template_pad_created):
2848 * gst/gstpadtemplate.h:
2849 inlined two more docs
2850 factored gstpadtemplate out of gstpad
2852 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2854 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2855 (test_children_state_change_order_semi_sink):
2856 Fix test case: we can't rely on a fixed state change order when
2857 going from READY => PAUSED because the sink might commit its
2858 new state first when the first buffer created by the source
2859 reaches the sink before the source has finished its change state.
2860 (Test case still fails at times, see #316856, comment 5 onwards)
2862 2005-09-24 Wim Taymans <wim@fluendo.com>
2864 * docs/design/part-events.txt:
2865 * docs/design/part-gstbus.txt:
2866 * docs/design/part-gstpipeline.txt:
2867 * docs/design/part-messages.txt:
2868 * docs/design/part-overview.txt:
2869 * docs/design/part-segments.txt:
2876 * gst/gstiterator.c:
2877 Various documentation updates.
2879 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2882 Well, that's embarassing. Luckily we weren't using
2883 GST_CLOCK_DIFF anywhere.
2885 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2887 * common/gtk-doc.mak:
2888 don't fail on building XML, FC4 slave shows a bunch of doc
2889 missing bits that I don't get
2891 * gst/gstpipeline.c:
2892 * gst/gststructure.c:
2895 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2897 * docs/design/part-gstbin.txt:
2898 * docs/design/part-gstbus.txt:
2900 Add blurb about how the bus goes into flushing mode and
2901 drops all messages when its bin goes from READY into NULL
2904 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2906 * docs/gst/gstreamer-sections.txt:
2907 * gst/gststructure.c: (gst_structure_get_clock_time):
2908 * gst/gststructure.h:
2909 add a method to get a GstClockTime out of a structure
2911 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2913 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2914 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2915 Added test to check state change order in bins (can still be made
2916 to fail here under heavy disk load; bails out with 'Push on pad
2917 fakesink:sink0, but it was not activated in push mode').
2919 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2920 Fix state change order when there is only a semi sink (#316856)
2922 * gst/gstbus.c: (gst_bus_class_init):
2923 Use _class_peek_parent(), not _class_ref(); fix docs to say
2924 'default main context' instead of 'mainloop' where that is
2927 * gst/gstelement.c: (gst_element_commit_state),
2928 (gst_element_set_state):
2929 Fix typos in debug messages
2931 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2934 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2935 * gst/gstpluginfeature.c:
2938 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2939 change an assert into an error until it gets fixed properly
2941 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2943 * docs/gst/gstreamer-sections.txt:
2944 * docs/gst/tmpl/.cvsignore:
2945 * docs/gst/tmpl/gstelement.sgml:
2946 * docs/gst/tmpl/gstinfo.sgml:
2947 * docs/gst/tmpl/gstobject.sgml:
2952 * gst/gstobject.c: (gst_object_class_init):
2954 inlined 3 more biiiig doc files and added some missing docs on the fly
2956 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2958 * check/gst/.cvsignore:
2959 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2960 * gst/gstregistryxml.c: (load_plugin),
2961 (gst_registry_xml_save_plugin):
2962 put back source in registry. add checks for find_plugin.
2963 * testsuite/states/bin.c: (assert_state), (empty_bin),
2964 (test_adding_one_element), (main):
2965 * testsuite/states/locked.c: (main):
2966 some compile/run fixes
2968 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2970 * check/gst/gstvalue.c: (GST_START_TEST):
2971 fix leaks in the test itself
2973 2005-09-22 Wim Taymans <wim@fluendo.com>
2975 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2976 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2977 (gst_base_sink_query):
2978 Prepare for more accurate position reporting and query
2981 * gst/gstelement.c: (gst_element_send_event),
2982 (gst_element_set_state):
2985 2005-09-22 Wim Taymans <wim@fluendo.com>
2987 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2988 (gst_query_parse_segment):
2991 Add segment query for future use.
2993 2005-09-22 Wim Taymans <wim@fluendo.com>
2995 * gst/gstbin.c: (gst_bin_add_func):
2996 Some more debug info.
2998 * gst/gstelement.c: (gst_element_send_event):
3002 Don't know how flags got broken.
3007 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3009 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3010 Add simplistic test suite for GST_TYPE_DATE serialisation and
3013 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3015 * docs/gst/gstreamer-sections.txt:
3016 * gst/gststructure.c: (gst_structure_set_valist),
3017 (gst_structure_get_date):
3018 * gst/gststructure.h:
3019 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3020 (gst_date_copy), (gst_value_compare_date),
3021 (gst_value_serialize_date), (gst_value_deserialize_date),
3022 (gst_value_transform_date_string),
3023 (gst_value_transform_string_date), (_gst_value_initialize):
3025 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3026 bunch of utility functions along with a hack that checks that
3027 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3028 is required. Part of the grand scheme in #170777.
3030 2005-09-22 Andy Wingo <wingo@pobox.com>
3032 * gst/gstconfig.h.in: Psych out gtk-doc.
3034 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3036 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3038 * tools/gst-inspect.c (print_element_list): Plug some
3039 inconsequential leaks.
3041 * gst/gstregistry.c (gst_registry_get_default): Doc.
3043 * check/gst/gstplugin.c:
3044 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3045 * gst/gstelementfactory.c (gst_element_factory_create):
3046 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3049 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3050 (gst_plugin_feature_load): Doc, don't eat refs.
3052 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3053 (gst_plugin_list_free): Doc.
3054 (gst_plugin_load_file): Doc updates.
3056 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3057 accessors returning refcounted objects, return a ref.
3059 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3060 accessor for caps. IDEMPOTENCE. Oh yes.
3062 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3064 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3066 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3067 (_gst_debug_register_funcptr):
3068 Add mutex to serialise access to the hash table with
3069 the function pointer => function name string mapping;
3070 make that hash table static scope (#316809).
3072 * gst/registries/.cvsignore:
3073 Remove left-over file.
3075 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3077 * docs/pwg/appendix-porting.xml:
3078 And something about newsegment events and caps-on-buffers to
3079 the porting guide (feel free to improve).
3081 2005-09-21 Andy Wingo <wingo@pobox.com>
3083 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3084 data and event probes on the same pad.
3085 (test_buffer_probe_once): Test that removing probes from within
3086 the probe functions works.
3088 2005-09-21 Andy Wingo <wingo@pobox.com>
3090 * check/gst/gstutils.c: New file.
3091 (test_buffer_probe_n_times): A simple buffer probe test. More to
3094 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3095 have-data::buffer, not have-data.
3096 (gst_pad_add_event_probe): Likewise for have-data::event.
3097 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3098 peer' isn't quite right yet though.
3099 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3100 (gst_pad_remove_data_probe): Change to take the guint handler_id
3101 as their arg, not the function+data, which is more glib-like.
3103 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3104 the signal emission to indicate if the data is a buffer or an
3106 (gst_pad_get_type): Initialize buffer and event quarks.
3107 (gst_pad_class_init): have-data is now a detailed signal, yes it
3110 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3112 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3113 * gst/gstutils.c: (gst_util_set_value_from_string),
3114 (gst_util_set_object_arg):
3115 Don't put functional code in g_return_if_fail() or
3116 g_return_val_if_fail() statements, otherwise things will
3117 break when G_DISABLE_CHECKS is defined during compilation.
3119 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3121 * docs/gst/tmpl/.cvsignore:
3122 * docs/gst/tmpl/gstvalue.sgml:
3125 inlied another one and added some obvious docs
3127 2005-09-21 Wim Taymans <wim@fluendo.com>
3129 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3130 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3131 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3132 (gst_fdsrc_get_property), (gst_fdsrc_create):
3133 * gst/elements/gstfdsrc.h:
3134 Properly implement fdsrc. Removed signal and timeout,
3135 better implemented somewhere else.
3137 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3139 * docs/gst/tmpl/.cvsignore:
3140 * docs/gst/tmpl/gstimplementsinterface.sgml:
3141 * gst/gstinterface.c:
3144 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3146 * docs/gst/gstreamer-sections.txt:
3147 * docs/gst/tmpl/.cvsignore:
3148 * docs/gst/tmpl/gstenumtypes.sgml:
3149 remove obsolete doc file
3151 2005-09-21 David Schleef <ds@schleef.org>
3153 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3154 little beer, fix a little leak.
3156 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3158 * docs/gst/gstreamer-docs.sgml:
3159 * docs/gst/gstreamer-sections.txt:
3160 * docs/gst/tmpl/.cvsignore:
3165 * gst/gstindex.c: (gst_index_class_init):
3167 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3168 (gst_index_factory_class_init), (gst_index_factory_init),
3169 (gst_index_factory_finalize), (gst_index_factory_new),
3170 (gst_index_factory_destroy), (gst_index_factory_find),
3171 (gst_index_factory_create), (gst_index_factory_make):
3172 * gst/gstindexfactory.h:
3173 * gst/gstpluginfeature.c:
3174 * gst/gstpluginfeature.h:
3175 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3176 more docs inlined, splitted gstindex.{c,h}
3178 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3180 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3183 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3185 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3186 Set sync to FALSE by default.
3188 2005-09-20 Wim Taymans <wim@fluendo.com>
3190 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3191 (gst_base_sink_init):
3192 Make sync property settable from subclass.
3194 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3195 (gst_fake_sink_change_state):
3196 Set sync to FALSE by default.
3198 2005-09-20 Wim Taymans <wim@fluendo.com>
3200 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3201 * tools/gst-launch.c: (main):
3202 The timeout handler should have lower priority than the source
3203 so we don't timeout before popping a message with 0 timeout.
3204 Dump error messages after failed state change.
3206 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3208 * tools/gst-inspect.c: (print_element_properties_info):
3211 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3213 * check/gst/gstevent.c:
3214 * gst/elements/gstfakesink.c:
3215 * gst/elements/gstfakesink.h:
3216 remove the sync property from fakesink.
3217 has the side effect of setting sync TRUE
3218 for fakesink, which is a change. Anyone who knows how
3219 to fix this nicely in a GObject-y way, feel free.
3221 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3223 * docs/gst/gstreamer-docs.sgml:
3224 remove probe refsection
3226 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3228 * check/Makefile.am:
3229 disable valgrinding the controller test again
3230 * docs/gst/gstreamer-sections.txt:
3231 update for api-changes
3233 2005-09-20 Wim Taymans <wim@fluendo.com>
3235 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3236 (gst_base_sink_set_property), (gst_base_sink_get_property),
3237 (gst_base_sink_do_sync):
3238 * gst/base/gstbasesink.h:
3239 Added sync property to basesink to disable clock sync.
3241 2005-09-20 Andy Wingo <wingo@pobox.com>
3243 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3244 eating the caller's refcount.
3246 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3247 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3250 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3251 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3252 of GLib 2.8 public, so we can know which refcount to check in
3255 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3256 (gst_object_init): Only set the gst refcount if we're going ahead
3257 with the refcount hack.
3259 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3261 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3262 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3263 more leaks plumbed, added more debug-logging
3267 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3270 remove include of gstmemchunk.h
3272 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3274 * gst/gstclock.c: (_gst_clock_id_free):
3275 Commit from the Political Party For More Atomic CVS Commits,
3276 so that people don't waste too much of their day fishing
3277 out obvious leaks out of massive commits.
3278 Oh, and fix a pretty damn obvious leak in the memchunk
3281 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3283 * check/Makefile.am:
3284 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3285 plug mem-leak, re-add to valgrindable tests
3287 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3290 unbreak the build for those who have chronic arthritis
3291 and typing "make check" is just too taxing on the hands
3293 2005-09-20 Andy Wingo <wingo@pobox.com>
3295 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3296 really want it out, you should fix plugins at the same time.
3298 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3301 * docs/gst/gstreamer-sections.txt:
3303 added missing symbols to api docs
3304 disable ref-count hack if we have glib >= 2.8
3306 2005-09-19 David Schleef <ds@schleef.org>
3308 * docs/gst/Makefile.am: Ignore a few more internal headers
3309 * docs/gst/gstreamer-docs.sgml: Remove old sections
3310 * docs/gst/gstreamer-sections.txt: Remove old sections
3311 * docs/gst/tmpl/gstobject.sgml: update
3312 * docs/gst/tmpl/gstplugin.sgml: update
3313 * docs/gst/tmpl/gstpluginfeature.sgml: update
3314 * docs/random/ds/0.9-suggested-changes: update.
3315 * gst/Makefile.am: remove memchunk and trashstack, since they're
3317 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3318 * gst/gst.h: don't include some headers
3319 * gst/gstchildproxy.c: add gstmarshal.h
3320 * gst/gstclock.c: Don't use memchunks
3321 * gst/gstminiobject.c: Add some docs
3322 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3323 * gst/gstobject.h: same
3324 * gst/gstplugin.c: include gstmacros.h
3325 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3326 * gst/gstquery.c: don't use memchunks
3327 * gst/gstregistry.c: rename gst_registry_deinit()
3328 * gst/gstregistry.h: same
3330 2005-09-19 David Schleef <ds@schleef.org>
3332 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3333 * docs/libs/gstreamer-libs-sections.txt:
3334 * docs/libs/tmpl/gstgetbits.sgml:
3335 * docs/libs/tmpl/gstputbits.sgml:
3337 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3339 * win32/gstenumtypes.c:
3340 * win32/gstenumtypes.h:
3343 2005-09-19 Wim Taymans <wim@fluendo.com>
3345 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3346 Automatically PAUSE and RESUME a pipeline when a flushing seek
3349 2005-09-19 Andy Wingo <wingo@pobox.com>
3351 * gst/gstregistry.h: Spacing fixen.
3353 2005-09-19 Wim Taymans <wim@fluendo.com>
3355 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3356 Handle state change failure more correctly.
3358 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3360 * check/Makefile.am:
3361 * check/pipelines/cleanup.c: (run_pipeline):
3362 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3364 enable cleanup again after fixing the leak
3366 some more info on docs
3368 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3370 * check/Makefile.am:
3371 re-enable tests now that leaks are plugged
3373 * check/gst/gstbin.c:
3374 * check/gst/gstpipeline.c:
3375 add some more tests while fixing leaks
3377 make sure binaries are uptodate when valgrinding/gdbing
3379 * gst/gstelementfactory.c:
3380 remove a ref too many, and add a FIXME for when we get
3381 round to disposing of classes
3383 fix the refcounting when loading a plugin from a file and
3384 the code pretends that the pointer is the same even though
3385 of course it can change
3386 * gst/gstpluginfeature.c:
3387 unref plugins marked cached (a bit confusing as a name)
3388 as the docs state should be done
3389 various doc additions to explain refcounting
3390 * gst/gstregistry.c:
3391 * gst/gstregistryxml.c:
3394 2005-09-19 Wim Taymans <wim@fluendo.com>
3396 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3397 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3398 (send_messages), (GST_START_TEST), (gstbus_suite):
3399 * check/gst/gstpipeline.c: (GST_START_TEST):
3400 * check/pipelines/cleanup.c: (run_pipeline):
3401 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3403 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3404 (gst_bus_source_check), (gst_bus_source_dispatch),
3405 (gst_bus_create_watch), (gst_bus_add_watch_full),
3406 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3408 * tools/gst-launch.c: (event_loop):
3409 * tools/gst-md5sum.c: (event_loop):
3410 GstBusHandler -> GstBusFunc, return value has the same meaning as
3411 any other GSource (FALSE == remove source).
3412 _add_watch() and _add_watch_full() now take a MessageType mask to
3413 only handle specific types of messages.
3414 _poll() returns the GstMessage instead of the message type to avoid
3416 _have_pending() takes a MessageType mask now too.
3417 Added testsuite for multiple bus watches.
3418 Fix testsuites and applications for new bus API.
3420 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3422 * check/Makefile.am:
3423 mark a bunch of the tests as to fix until we fix them
3425 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3428 use GST_PLUGIN settings for valgrind tests as well, so we're
3429 valgrinding the correct thing
3430 * gst/gst.c: (init_post):
3433 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3435 * gst/gst.c: (init_post), (gst_deinit):
3436 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3437 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3438 * gst/gstindex.c: (gst_index_factory_class_init),
3439 (gst_index_factory_finalize):
3440 * gst/gstobject.c: (gst_object_dispose):
3441 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3442 (gst_plugin_load_file), (gst_plugin_desc_free):
3443 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3444 (gst_plugin_feature_finalize):
3445 * gst/gstregistry.c: (gst_registry_class_init),
3446 (gst_registry_init), (gst_registry_finalize),
3447 (gst_registry_get_default), (gst_registry_deinit):
3448 * gst/gstregistry.h:
3449 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3450 various cleanups and memleak plugging. make valgrind is happy now.
3452 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3455 add a check-valgrind target
3457 2005-09-18 David Schleef <ds@schleef.org>
3459 * tools/gst-inspect.c: Revert the GOption code.
3461 2005-09-17 David Schleef <ds@schleef.org>
3463 * check/Makefile.am: Fix environment variables.
3464 * check/gst/gstplugin.c: Fix for API changes.
3465 * tools/gst-inspect.c: Fix for API changes.
3466 * tools/gst-xmlinspect.c: Fix for API changes.
3467 * gst/gstelementfactory.c:
3470 * gst/gstpluginfeature.c:
3471 * gst/gstpluginfeature.h:
3472 * gst/gstregistry.c:
3473 * gst/gstregistry.h:
3474 * gst/gstregistryxml.c:
3475 * gst/gsttypefind.c:
3476 * gst/gsttypefindfactory.c:
3477 * gst/indexers/gstfileindex.c:
3478 * gst/indexers/gstmemindex.c:
3479 * gst/schedulers/Makefile.am:
3480 Change registry to keep track of both plugins and features,
3481 removing the feature tracking from plugins themselves.
3483 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3485 * check/Makefile.am:
3486 * tools/gst-register.1.in:
3489 2005-09-15 David Schleef <ds@schleef.org>
3491 * check/gst/gstplugin.c:
3492 * gst/gstelementfactory.c:
3494 * gst/gstpluginfeature.c:
3495 * gst/gstregistry.c:
3496 Getting tired of debugging. Disabled all the unreffing of
3497 plugins and features, which fixes the segfaults, but of
3498 course leaks like crazy. At least playbin works.
3500 2005-09-15 David Schleef <ds@schleef.org>
3502 * check/gst/gstplugin.c: (register_check_elements),
3503 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3505 * gst/elements/gsttypefindelement.c: Fix refcounting.
3506 * gst/gsttypefind.c:
3507 * gst/gsttypefindfactory.c:
3508 * gst/gsttypefindfactory.h:
3510 2005-09-15 David Schleef <ds@schleef.org>
3512 * gst/gstindex.c: get refcounting correct.
3513 * gst/gstregistry.c: Handle the case where a feature/plugin is
3516 2005-09-15 David Schleef <ds@schleef.org>
3518 * check/Makefile.am:
3519 * check/gst/gstplugin.c: Add test
3520 * gst/gstplugin.c: Fix problems noticed by testsuite
3522 * gst/gstregistry.c:
3523 * gst/gstregistry.h:
3525 2005-09-15 David Schleef <ds@schleef.org>
3527 * gst/gstplugin.c: Implement semi-decent recounting and locking
3528 in plugins and plugin features.
3530 * gst/gstpluginfeature.c:
3531 * gst/gstpluginfeature.h:
3532 * gst/gstregistry.c:
3534 2005-09-15 Michael Smith <msmith@fluendo.com>
3536 * gst/gstregistry.c: (gst_registry_get_feature_list):
3537 Implement this. Makes oggdemux work; decodebin still broken.
3539 2005-09-14 David Schleef <ds@schleef.org>
3541 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3543 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3544 * gst/check/Makefile.am:
3545 * libs/gst/controller/Makefile.am:
3546 * libs/gst/dataprotocol/Makefile.am:
3548 2005-09-14 David Schleef <ds@schleef.org>
3550 * configure.ac: Remove getbits library. Nothing uses it, and
3551 it should be in something like liboil if someone did want
3553 * libs/gst/Makefile.am:
3554 * libs/gst/getbits/Makefile.am:
3555 * libs/gst/getbits/gbtest.c:
3556 * libs/gst/getbits/getbits.c:
3557 * libs/gst/getbits/getbits.h:
3558 * libs/gst/getbits/gstgetbits_generic.c:
3559 * libs/gst/getbits/gstgetbits_i386.s:
3560 * libs/gst/getbits/gstgetbits_inl.h:
3562 2005-09-14 David Schleef <ds@schleef.org>
3564 * gst/Makefile.am: Dist glib-compat.h
3566 2005-09-14 David Schleef <ds@schleef.org>
3568 * configure.ac: Remove gst/registries, since it's no longer used.
3569 * gst/registries/Makefile.am:
3570 * gst/registries/gstlibxmlregistry.c:
3571 * gst/registries/gstlibxmlregistry.h:
3572 * gst/registries/gstxmlregistry.c:
3573 * gst/registries/gstxmlregistry.h:
3574 * gst/registries/registrytest.c:
3576 2005-09-14 David Schleef <ds@schleef.org>
3578 * gst/glib-compat.h:
3579 * gst/gstregistryxml.c:
3580 Convergence is near. Seriously.
3582 2005-09-14 David Schleef <ds@schleef.org>
3584 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3585 * gst/glib-compat.h:
3586 Attempt #4 to appease the buildbots.
3588 2005-09-14 David Schleef <ds@schleef.org>
3590 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3593 2005-09-14 David Schleef <ds@schleef.org>
3595 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3598 2005-09-14 David Schleef <ds@schleef.org>
3600 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3603 2005-09-14 David Schleef <ds@schleef.org>
3605 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3606 * gst/glib-compat.h: Add some functions that are in newer versions
3607 of glib than we care to require.
3608 * gst/gstregistryxml.c: Use them.
3610 2005-09-14 David Schleef <ds@schleef.org>
3612 * po/POTFILES.in: remove gst-register.c
3614 2005-09-14 David Schleef <ds@schleef.org>
3616 * docs/gst/gstreamer-docs.sgml:
3617 * docs/gst/gstreamer-sections.txt:
3618 * docs/gst/gstreamer.types:
3619 * docs/gst/tmpl/gstelement.sgml:
3620 * docs/gst/tmpl/gstplugin.sgml:
3621 * docs/gst/tmpl/gstpluginfeature.sgml:
3622 Documentation updates for registry changes.
3624 2005-09-14 David Schleef <ds@schleef.org>
3626 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3627 because we don't require glib-2.8.
3629 2005-09-14 David Schleef <ds@schleef.org>
3631 * gst/gstregistryxml.c: Added. Essentially moved out of the
3632 registries directory.
3634 2005-09-14 David Schleef <ds@schleef.org>
3636 * check/Makefile.am:
3637 * check/generic/states.c:
3641 * gst/gst_private.h:
3642 * gst/gstelementfactory.c:
3647 * gst/gstpluginfeature.c:
3648 * gst/gstpluginfeature.h:
3649 * gst/gstregistry.c:
3650 * gst/gstregistry.h:
3651 * gst/gstregistrypool.c: remove
3652 * gst/gstregistrypool.h: remove
3653 * gst/gsttypefind.c:
3654 * gst/gsttypefindfactory.c:
3656 * tools/Makefile.am:
3657 * tools/gst-compprep.c:
3658 * tools/gst-inspect.c:
3659 * tools/gst-register.c: remove
3660 * tools/gst-xmlinspect.c:
3661 Registry rewrite. Changes registry from being a file created
3662 by a tool into a simple cache file created automatically by
3663 libgstreamer. Removed gst-register (because it's no longer
3664 needed). Remove registry pools, because we only have one
3665 registry implementation (XML). Fix up other subsystems as
3668 2005-09-13 Michael Smith <msmith@fluendo.com>
3670 * gst/gstconfig.h.in:
3671 Don't Use windows linking attributes for MinGW. Fixes #316157
3673 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3675 * gst/gstutils.c: (set_state_async_thread_func),
3676 (gst_element_set_state_async):
3677 Apparently people think it's better if this function doesn't
3678 try to set the state to whatever state was asked for on the first
3679 call to this function for any object. Seriously.
3681 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3683 * check/gst/gstpipeline.c: (GST_START_TEST):
3684 * docs/gst/gstreamer-sections.txt:
3685 * gst/gstutils.c: (set_state_async_thread_func),
3686 (gst_element_set_state_async):
3688 add a "gst_element_set_state_async" method that
3689 sets the state and starts a thread to make sure the state
3690 change completes as best as it can
3692 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3694 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3695 codify design+behaviour in testsuite after discussion
3697 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3699 * docs/gst/tmpl/gstelement.sgml:
3700 * docs/manual/appendix-quotes.xml:
3702 * gst/gstelement.c: (gst_element_set_state):
3705 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3707 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3708 (gst_base_transform_prepare_output_buf),
3709 (gst_base_transform_handle_buffer):
3710 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3711 (gst_capsfilter_prepare_buf):
3712 Remove the requirement for sub-classes to call the parent
3713 implementation of prepare_output_buffer with a wrapper function.
3716 * gst/gsttagsetter.h:
3719 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3721 * docs/gst/gstreamer-sections.txt:
3724 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3726 * docs/gst/gstreamer-sections.txt:
3727 * docs/gst/tmpl/gstelement.sgml:
3728 * docs/gst/tmpl/gstplugin.sgml:
3729 * gst/gstminiobject.c:
3731 docs now stop throwing warnings
3733 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3735 * docs/gst/gstreamer-sections.txt:
3736 * docs/gst/gstreamer.types:
3737 * docs/gst/tmpl/gstpad.sgml:
3738 * docs/gst/tmpl/gsttypes.sgml:
3739 * gst/base/gstadapter.h:
3740 * gst/base/gstbasesink.h:
3741 * gst/base/gstbasesrc.h:
3751 * gst/gststructure.c:
3752 * gst/registries/gstlibxmlregistry.h:
3753 various documentation fixes
3755 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3757 * docs/gst/gstreamer-sections.txt:
3758 * docs/gst/tmpl/gstvalue.sgml:
3759 rearrange gstvalue section
3760 * gst/gstutils.c: (gst_element_state_get_name):
3762 * gst/gstvalue.c: (_gst_value_initialize):
3766 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3768 * check/gst-libs/controller.c:
3770 * gst/base/gstbasetransform.c:
3771 (gst_base_transform_default_prepare_buf),
3772 (gst_base_transform_handle_buffer):
3773 * gst/base/gstbasetransform.h:
3774 Some more basetransform changes and fixes to enable sub-classes
3775 that modify buffer metadata only.
3776 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3777 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3778 (gst_capsfilter_prepare_buf):
3779 If the output pad has fixed allowed caps and input buffers
3780 don't have any, set the fixed caps on outgoing buffers.
3782 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3783 * check/elements/identity.c: (GST_START_TEST):
3784 Make the error a little clearer when the test fails because
3785 identity made a copy of the buffer.
3786 * docs/gst/gstreamer-sections.txt:
3787 New symbols in gstbasetransform.h
3788 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3789 (gst_base_transform_init), (gst_base_transform_transform_size),
3790 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3791 (gst_base_transform_default_prepare_buf),
3792 (gst_base_transform_get_unit_size),
3793 (gst_base_transform_buffer_alloc),
3794 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3795 (gst_base_transform_change_state),
3796 (gst_base_transform_set_passthrough),
3797 (gst_base_transform_set_in_place),
3798 (gst_base_transform_is_in_place):
3799 * gst/base/gstbasetransform.h:
3800 Change BaseTransform to separate in_place operate from same_caps
3801 output. in_place implies that the element can perform the transform
3802 on incoming buffers in-place, even if the caps on the output are
3804 Sub-class elements can now implement special buffer allocation
3805 methods for outgoing buffers if they wish to.
3806 Big documentation addition.
3807 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3808 * gst/elements/gstelements.c:
3809 Changes for basetransform modifications.
3810 * gst/elements/Makefile.am:
3811 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3812 Compile fix. Extra debug output.
3814 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3816 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3818 add tests for valid pad naming
3819 * gst/check/gstcheck.c: (gst_check_log_message_func),
3820 (gst_check_log_critical_func):
3822 remove printing of code, it is fragile when the code contains
3823 % and the line number is enough info
3824 * gst/check/gstcheck.h:
3825 * gst/gstpad.c: (gst_pad_template_new):
3828 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3831 say what CHECK flags we use
3832 * docs/libs/gstreamer-libs.types:
3833 * libs/gst/controller/Makefile.am:
3834 * libs/gst/controller/gst-controller.c:
3835 * libs/gst/controller/gst-controller.h:
3836 * libs/gst/controller/gst-helper.c:
3837 * libs/gst/controller/gst-interpolation.c:
3838 * libs/gst/controller/gstcontroller.c:
3839 * libs/gst/controller/gsthelper.c:
3840 * libs/gst/controller/gstinterpolation.c:
3841 * tools/gst-inspect.c: (print_plugin_info):
3842 we don't use dashes in header names
3844 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3846 * check/Makefile.am:
3847 * check/gst/.cvsignore:
3848 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3849 (gst_pipeline_suite), (main):
3850 adding a test for pipelines and state changes
3851 * gst/gstutils.c: (get_state_func):
3853 * gstreamer.spec.in:
3856 2005-09-08 Michael Smith <msmith@fluendo.com>
3858 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3859 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3860 (gst_file_src_is_seekable), (gst_file_src_get_size),
3861 (gst_file_src_start):
3862 * gst/elements/gstfilesrc.h:
3863 Various fixes for unseekable, unmmapable, and non-normal files, so
3864 that fallback to read() rather than mmap() works.
3865 * gst/gstevent.c: (gst_event_new_newsegment):
3866 Allow newsegment events with segment_start == segment_end, as will
3867 correctly happen if you use filesrc on a zero-size file, for
3870 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3872 * gst/gstplugin.c: (gst_plugin_load_file):
3873 Call g_module_close when we don't load the module
3875 * gst/registries/gstlibxmlregistry.c:
3876 (gst_xml_registry_get_property):
3877 Port leak fix from 0.8
3879 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3881 * docs/gst/gstreamer-docs.sgml:
3882 * docs/gst/tmpl/.cvsignore:
3883 * docs/gst/tmpl/gsttrace.sgml:
3884 * docs/gst/tmpl/gsttrashstack.sgml:
3893 * gst/gsttaginterface.c:
3894 * gst/gsttaginterface.h:
3897 * gst/gsttagsetter.c:
3898 * gst/gsttagsetter.h:
3901 * gst/gsttrashstack.c:
3902 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3903 inlined docs for gsttrace, gsttrashstack
3905 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3908 * gst/elements/gstbufferstore.h:
3909 * gst/elements/gsttypefindelement.c:
3910 * gst/elements/gsttypefindelement.h:
3912 * gst/gsttypefind.c:
3913 * gst/gsttypefind.h:
3914 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3915 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3916 (gst_type_find_factory_dispose),
3917 (gst_type_find_factory_unload_thyself),
3918 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3919 (gst_type_find_factory_get_caps),
3920 (gst_type_find_factory_get_extensions),
3921 (gst_type_find_factory_call_function):
3922 * gst/gsttypefindfactory.h:
3923 * gst/registries/gstlibxmlregistry.c:
3924 * gst/registries/gstxmlregistry.c:
3925 splitted gsttypefind into gsttypefind, gsttypefindfactory
3927 2005-09-07 Andy Wingo <wingo@pobox.com>
3929 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3930 condition whereby the pad's task function is entered before the
3931 pad_mode variable was set.
3933 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3935 * gst/gstpad.c: (gst_pad_alloc_buffer):
3936 Catch misbehaving pad_alloc functions that don't
3937 set up caps and do it for them.
3939 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3941 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3943 * docs/gst/tmpl/.cvsignore:
3944 * docs/gst/tmpl/gstmemchunk.sgml:
3945 * docs/gst/tmpl/gstparse.sgml:
3946 * docs/gst/tmpl/gsttaglist.sgml:
3947 * docs/gst/tmpl/gsttagsetter.sgml:
3948 * docs/gst/tmpl/gsttypefind.sgml:
3949 * docs/gst/tmpl/gsttypefindfactory.sgml:
3950 * gst/gstmemchunk.c:
3953 * gst/gsttaginterface.c:
3954 * gst/gsttypefind.c:
3955 * gst/gsttypefind.h:
3958 === release 0.9.2 ===
3960 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3965 releasing 0.9.2, "South"
3967 2005-09-05 Andy Wingo <wingo@pobox.com>
3969 * gst/registries/gstxmlregistry.h:
3970 * gst/registries/gstxmlregistry.c: Um... resurrect...
3972 * gst/registries/gstxmlregistry.h:
3973 * gst/registries/gstxmlregistry.c: and update to newer API.
3974 Incidentally they should be a bit faster now that they don't have
3977 2005-09-05 Andy Wingo <wingo@pobox.com>
3979 * gst/registries/gstxmlregistry.h:
3980 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3981 replaced by the libxml registry a while back
3983 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3985 * docs/gst/tmpl/gstplugin.sgml:
3986 * gst/elements/gstelements.c:
3988 * gst/gstplugin.c: (gst_plugin_register_func),
3989 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3990 (gst_plugin_get_source):
3992 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3993 (gst_xml_registry_save_plugin):
3994 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3995 (gst_xml_registry_save_plugin):
3996 * tools/gst-inspect.c: (print_plugin_info):
3997 add a "source" plugin description field, to represent the source
3998 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3999 will set it to PACKAGE, which is automake's idea of the name of
4002 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4008 * docs/faq/Makefile.am:
4009 * docs/gst/tmpl/gstelement.sgml:
4010 * docs/gst/tmpl/gsttypes.sgml:
4011 * docs/htmlinstall.mak:
4012 * docs/manual/Makefile.am:
4013 * docs/pwg/Makefile.am:
4014 reorganize doc build a little
4015 split out docbook and gtk-doc stuff
4016 have two separate --enable's and enable them through autogen
4017 but disable by default in configure (to be similar to other
4019 * gstreamer.spec.in:
4020 clean up docs install
4040 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4042 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4045 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4046 (gst_fake_sink_change_state):
4047 Make state change function thread-safe.
4049 * gst/gstpad.c: (gst_pad_alloc_buffer):
4050 Set offset on generic buffer allocated by fallback.
4052 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4054 * docs/gst/gstreamer-sections.txt:
4055 * docs/gst/tmpl/gstelement.sgml:
4057 * libs/gst/controller/gst-controller.c:
4058 (gst_controlled_property_set_interpolation_mode),
4059 (gst_controlled_property_new),
4060 (gst_controller_find_controlled_property):
4061 run the wingo-magic script against the docs
4063 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4065 * docs/gst/gstreamer-docs.sgml:
4066 * docs/gst/gstreamer-sections.txt:
4067 * docs/gst/tmpl/.cvsignore:
4068 * docs/gst/tmpl/gstelementdetails.sgml:
4069 * docs/gst/tmpl/gstelementfactory.sgml:
4072 * gst/gstelementfactory.c:
4073 * gst/gstelementfactory.h:
4074 merged elementdetails docs into elementfactory docs
4077 2005-09-02 Andy Wingo <wingo@pobox.com>
4079 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4080 consider this enum an enum and not a flags.
4082 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4084 * docs/gst/gstreamer-docs.sgml:
4085 * docs/gst/tmpl/.cvsignore:
4086 * docs/gst/tmpl/gstghostpad.sgml:
4087 * docs/gst/tmpl/gstiterator.sgml:
4088 * docs/gst/tmpl/gstmacros.sgml:
4089 * docs/gst/tmpl/gstrealpad.sgml:
4090 * docs/gst/tmpl/gstregistry.sgml:
4091 * docs/gst/tmpl/gstregistrypool.sgml:
4092 * docs/gst/tmpl/gststructure.sgml:
4093 * docs/gst/tmpl/gstsystemclock.sgml:
4094 * docs/gst/tmpl/gsttrace.sgml:
4095 * gst/gstghostpad.c:
4097 * gst/gstmemchunk.c:
4098 * gst/gstmemchunk.h:
4100 * gst/gstregistry.c:
4101 * gst/gstregistrypool.c:
4102 * gst/gststructure.c:
4103 * gst/gstsystemclock.c:
4106 2005-09-02 Andy Wingo <wingo@pobox.com>
4108 * gst/gstelement.h (GstState): Renamed from GstElementState,
4109 changed to be a normal enum instead of flags.
4110 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4111 munged to be GST_STATE_CHANGE_*.
4112 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4113 work with the new state representation.
4114 (GstStateChange): New enumeration of possible state transitions.
4115 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4116 (GstElementClass::change_state): Pass the GstStateChange along as
4117 an argument. Helps language bindings, so they don't have to use
4118 tricky lock-needing macros like GST_STATE_CHANGE ().
4120 * scripts/update-states (file): New script. Run it on a file to
4121 update it for state naming and API changes. Updates files in
4124 * All files updated for the new API.
4126 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4128 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4129 * gst/gstutils.c: (gst_util_set_value_from_string),
4130 (gst_util_set_object_arg):
4131 fix a bunch of unchecked return values
4132 * tools/gst-complete.c: (main):
4133 * gstreamer.spec.in:
4136 2005-09-01 Wim Taymans <wim@fluendo.com>
4138 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4139 (gst_base_sink_event), (gst_base_sink_do_sync),
4140 (gst_base_sink_handle_event):
4141 * gst/base/gstbasesink.h:
4142 Handle newsegments more correctly.
4147 * gst/gstevent.c: (gst_event_new_newsegment):
4148 A newsegment cannot have a start_time of -1
4150 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4152 * win32/gstenumtypes.c:
4153 * win32/gstenumtypes.h:
4156 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4158 * libs/gst/controller/gst-controller.c:
4159 (gst_controlled_property_set_interpolation_mode),
4160 (gst_controlled_property_new):
4163 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4165 * docs/faq/gst-uninstalled:
4170 * gst/gstutils.c: (gst_element_link_filtered):
4172 add gst_element_link_filtered
4174 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4176 * docs/gst/gstreamer-docs.sgml:
4177 * docs/gst/gstreamer-sections.txt:
4178 * docs/gst/tmpl/.cvsignore:
4179 * docs/gst/tmpl/gsterror.sgml:
4180 * docs/gst/tmpl/gstfilter.sgml:
4181 * docs/gst/tmpl/gsturihandler.sgml:
4182 * docs/gst/tmpl/gsturitype.sgml:
4183 * docs/gst/tmpl/gstutils.sgml:
4184 * docs/gst/tmpl/gstxml.sgml:
4192 inlined more docs, fixed double id-ref
4194 2005-08-31 Wim Taymans <wim@fluendo.com>
4196 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4197 (gst_base_transform_handle_buffer):
4198 Passthrough elements don't need the caps as they don't care.
4200 2005-08-31 Wim Taymans <wim@fluendo.com>
4202 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4203 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4204 Don't leak refcounts on buffers.
4206 2005-08-31 Wim Taymans <wim@fluendo.com>
4208 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4209 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4210 (gst_base_transform_chain), (gst_base_transform_change_state):
4211 * gst/base/gstbasetransform.h:
4212 Handle the case where we are not negotiated more gracefully.
4214 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4216 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4217 (gst_file_src_map_region):
4218 Set READONLY flag on mmap'ed buffers, otherwise
4219 gst_buffer_make_writable() won't work properly (#314708).
4221 2005-08-31 Wim Taymans <wim@fluendo.com>
4223 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4224 passthrough elements can even do inplace on non writable
4225 buffers (as they don't touch them).
4227 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4229 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4230 (gst_test_mono_source_set_property),
4231 (gst_test_mono_source_class_init), (GST_START_TEST),
4232 (gst_controller_suite):
4233 more tests (hehe I have the most)
4235 describe popping messages whenusing mulltiple sources
4236 * libs/gst/controller/gst-controller.c:
4237 (gst_controlled_property_set_interpolation_mode),
4238 (gst_controlled_property_new):
4239 * libs/gst/controller/gst-controller.h:
4240 * libs/gst/controller/gst-interpolation.c:
4241 implement boolean properties
4243 2005-08-31 Wim Taymans <wim@fluendo.com>
4245 * gst/gstminiobject.c: (gst_mini_object_ref):
4246 Cannot assert that the refcount has to be positive
4247 since a disposed object can be resurrected.
4249 2005-08-31 Wim Taymans <wim@fluendo.com>
4251 * gst/gstpad.c: (gst_pad_init):
4252 Revert change, need to first fix badly behaving
4255 2005-08-30 Wim Taymans <wim@fluendo.com>
4257 * check/elements/fakesrc.c: (setup_fakesrc):
4258 * check/elements/identity.c: (setup_identity):
4259 Activate pads before using them.
4261 2005-08-30 Wim Taymans <wim@fluendo.com>
4263 * gst/base/gstadapter.c: (gst_adapter_flush):
4264 Flushing out 0 bytes is ok for this function.
4266 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4267 no newsegment gives a warning and sets the start/stop to
4270 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4271 (gst_base_transform_set_passthrough):
4274 * gst/gstminiobject.c: (gst_mini_object_ref):
4275 Check refcount here too.
4277 * gst/gstpad.c: (gst_pad_init):
4278 Pads are initially flushing and refusing data.
4280 * gst/gstutils.c: (gst_element_link_pads_filtered):
4281 When adding a capsfilter element make sure it has the
4282 same state as the parent bin.
4284 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4286 * docs/gst/tmpl/.cvsignore:
4287 * docs/gst/tmpl/gstformat.sgml:
4288 * docs/gst/tmpl/gstversion.sgml:
4292 * gst/gstversion.h.in:
4293 more docs and two more inlined
4295 2005-08-30 Wim Taymans <wim@fluendo.com>
4297 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4298 Don't sync to clock.
4300 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4302 * docs/gst/gstreamer-sections.txt:
4303 ultral33t func10ns deserve to appear in the docs actually
4304 * docs/gst/tmpl/.cvsignore:
4305 * docs/gst/tmpl/gstcompat.sgml:
4306 * docs/gst/tmpl/gstconfig.sgml:
4307 * gst/check/gstcheck.c:
4309 * gst/gstconfig.h.in:
4312 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4314 * docs/gst/tmpl/.cvsignore:
4315 * docs/gst/tmpl/gstquery.sgml:
4316 * docs/gst/tmpl/gstutils.sgml:
4319 inlined and extended docs
4321 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4323 * check/gst-libs/controller.c: (GST_START_TEST),
4324 (gst_controller_suite):
4326 * docs/gst/tmpl/gstutils.sgml:
4327 * docs/libs/gstreamer-libs-sections.txt:
4328 * docs/libs/tmpl/gstdataprotocol.sgml:
4330 * examples/controller/audio-example.c: (main):
4331 controller example works now
4334 * tools/gst-inspect.c: (print_element_properties_info):
4335 show param spec flags
4337 2005-08-29 Andy Wingo <wingo@pobox.com>
4339 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4341 2005-08-28 Andy Wingo <wingo@pobox.com>
4343 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4344 as having two arguments instead of just one. Allows superclasses
4345 to access information on subclasses -- see the terrible for() loop
4346 in gtype.c:g_type_create_instance for the reason why. All callers
4349 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4351 * docs/design/part-messages.txt:
4353 * docs/gst/tmpl/.cvsignore:
4354 * docs/gst/tmpl/gstcaps.sgml:
4355 * docs/gst/tmpl/gstclock.sgml:
4362 added descriptions for bus and message
4363 inline caps and clock docs
4365 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4371 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4373 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4376 2005-08-26 Andy Wingo <wingo@pobox.com>
4378 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4379 element_set_state's return val.
4380 (test_2_elements): Add test that's been disabled for months.
4382 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4383 can-activate-pull properties.
4385 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4386 can-activate-pull properties. Implement is_seekable so fakesrc can
4387 operate in pull mode.
4389 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4391 (gst_base_sink_activate, gst_base_sink_activate_pull)
4392 (gst_base_sink_activate_push): Make activation mode choosing work.
4394 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4395 is right. Make pull mode work. Post an eos before pausing in pull
4397 (gst_base_sink_change_state): Pay attention to the core's
4398 change_state() return val.
4400 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4401 has-getrange properties. Cleanups.
4403 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4404 has_getrange and replace with can_activate_pull and
4407 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4408 locking comments. Remove has_loop, has_chain and replace with
4409 can_activate_pull and can_activate_push.
4411 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4414 * examples/Makefile.am:
4415 * examples/metadata/Makefile.am:
4416 * examples/metadata/read-metadata.c: (message_loop),
4417 (have_pad_handler), (make_pipeline), (print_tag), (main):
4418 Add metadata reading example that loops over a list of filenames,
4419 dumping any tags found.
4421 * gst/gstbus.c: (gst_bus_dispose):
4422 * gst/gstelement.c: (gst_element_dispose):
4423 Release a few potentially-held references in dispose.
4425 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4427 * docs/gst/tmpl/gstminiobject.sgml:
4428 do *not* add tmpl/*.sgml files to CVS!
4430 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4432 * libs/gst/bytestream/.cvsignore:
4433 * libs/gst/bytestream/Makefile.am:
4434 * libs/gst/bytestream/adapter.c:
4435 * libs/gst/bytestream/adapter.h:
4436 * libs/gst/bytestream/bytestream.c:
4437 * libs/gst/bytestream/bytestream.h:
4438 * libs/gst/bytestream/filepad.c:
4439 * libs/gst/bytestream/filepad.h:
4440 removing obsolete files
4442 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4444 * docs/gst/gstreamer-docs.sgml:
4445 * docs/libs/gstreamer-libs-docs.sgml:
4446 disabed additional index entries again, as this makes docs-gen just
4447 slow and they aren't useful yet
4448 * docs/libs/gstreamer-libs-sections.txt:
4449 little -section.txt cleanup for libs
4451 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4453 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4454 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4455 fix up some debugging
4456 (gst_base_transform_get_unit_size),
4457 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4458 (gst_base_transform_handle_buffer):
4459 * gst/base/gstbasetransform.h:
4460 handle and store timed NEWSEGMENT events so that subclasses that
4461 calculate time by counting samples have a segment_start time they
4462 need to add to their timestamps - see audioresample
4464 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4467 removed ';' from the end of macro defs
4468 * docs/gst/gstreamer-docs.sgml:
4469 * docs/gst/gstreamer-sections.txt:
4470 * docs/gst/tmpl/.cvsignore:
4472 * gst/gstelement.c: (gst_element_class_init),
4473 (gst_element_set_state), (activate_pads),
4474 (gst_element_save_thyself):
4475 * gst/gstevent.c: (gst_event_new_newsegment):
4477 * gst/gstiterator.c:
4478 * gst/gstiterator.h:
4481 * gst/gstutils.c: (gst_pad_query_convert):
4483 fixed parameter name mismatches between source, header and docs
4484 added some more docs, resolved the last batch of unused elements in
4485 docs (now someone needs to doc them)
4487 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4489 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4490 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4491 don't walk through the plugins backwards. Where is all this
4492 reversed logic coming from ?
4494 2005-08-25 Wim Taymans <wim@fluendo.com>
4496 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4497 (gst_base_transform_transform_size),
4498 (gst_base_transform_configure_caps),
4499 (gst_base_transform_get_unit_size),
4500 (gst_base_transform_buffer_alloc),
4501 (gst_base_transform_change_state):
4502 * gst/base/gstbasetransform.h:
4503 Cache caps unit_size.
4504 Make sure we cannot negotiate up and downstream at the
4507 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4509 * gst/gst.c: (init_pre), (init_post):
4510 register the installed plugin path after the env var
4511 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4512 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4513 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4514 directories, so the tests can prefer uninstalled over installed
4516 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4518 * gst/base/gstbasetransform.h:
4523 2005-08-25 Wim Taymans <wim@fluendo.com>
4525 * gst/gstbin.c: (bin_bus_handler):
4526 Be a bit more conservative about the posted message.
4528 * gst/gstbus.c: (gst_bus_post):
4529 Some cleanups, warn wrong return values.
4531 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4533 * check/gst/gstbin.c: (GST_START_TEST):
4534 * gst/gstbin.c: (bin_bus_handler):
4535 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4536 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4537 (gst_message_new_warning), (gst_message_new_tag),
4538 (gst_message_new_state_changed), (gst_message_new_segment_start),
4539 (gst_message_new_segment_done), (gst_message_new_custom):
4541 * tools/gst-launch.c: (event_loop):
4542 * tools/gst-md5sum.c: (event_loop):
4543 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4545 2005-08-25 Wim Taymans <wim@fluendo.com>
4547 * check/generic/states.c: (GST_START_TEST):
4548 Cleanup can be done at the end.
4550 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4551 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4552 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4553 Oh boy.. Thanks for finding this, Thomas.
4555 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4557 * docs/gst/gstreamer.types:
4560 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4562 * docs/gst/gstreamer-docs.sgml:
4563 * docs/gst/gstreamer-sections.txt:
4564 * docs/gst/tmpl/.cvsignore:
4566 * gst/gstiterator.c:
4568 * gst/registries/gstxmlregistry.h:
4569 added missing classes and symbols (123 more to go)
4570 removed removed symbols from section file
4571 fixed many doc-comments
4573 2005-08-24 Wim Taymans <wim@fluendo.com>
4575 * check/generic/states.c: (GST_START_TEST):
4576 Make sure all tasks are stopped.
4578 * check/gst/gstbin.c: (GST_START_TEST):
4579 Unref after usage for proper valgrinding.
4581 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4582 Really wait for the task to stop before destroying the
4585 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4586 (gst_queue_src_activate_push):
4587 Small cleanups. Don't stop the task when we did not start
4590 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4591 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4592 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4595 Protect the stream lock with the object lock.
4596 Disallow setting the stream lock when running.
4597 Add cleanup_all to wait for the threadpool to finish.
4598 Remove code to autoallocate a mutex if none was provided.
4599 Add _join() to wait for a task to stop.
4600 Protect the thread pool with a global lock.
4602 2005-08-24 Wim Taymans <wim@fluendo.com>
4604 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4605 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4606 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4607 * gst/base/gstbasesink.h:
4608 Handle newsegment events correctly.
4609 Drop buffers out of the segment range.
4611 2005-08-22 Andy Wingo <wingo@pobox.com>
4613 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4614 macro, implements an interface and gstimplementsinterface for a
4617 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4619 * check/Makefile.am:
4620 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4621 add a test that does a bunch of state changes on elements
4622 needs some fixing for valgrind
4623 * check/states/sinks.c: (gst_object_suite):
4626 add prototype for gst_caps_is_equal_fixed
4628 * gst/gstregistrypool.c:
4631 2005-08-24 Andy Wingo <wingo@pobox.com>
4633 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4634 convert a negative value. Doesn't make much sense. Mostly this is
4635 here to force callers to ensure -1 maps to -1.
4637 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4639 * docs/pwg/advanced-types.xml:
4640 Well done to Michael for catching my deliberate introduction
4641 of this spelling mistake.
4642 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4644 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4645 unlink pads before removing the element from the bin.
4647 2005-08-24 Andy Wingo <wingo@pobox.com>
4649 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4650 the same thing as GST_DEBUG=*:4.
4651 (parse_debug_level, parse_debug_category): New helper parsers.
4653 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4655 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4656 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4657 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4658 (gst_base_transform_buffer_alloc),
4659 (gst_base_transform_handle_buffer):
4660 use gboolean return values and pointers to size so we can use the
4661 full GST_BUFFER_SIZE range (guint) for buffer sizes
4662 use GstPadDirection for transform_caps
4663 * gst/base/gstbasetransform.h:
4664 rename get_size to get_unit_size since that's what it is
4665 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4666 use GstPadDirection for transform_caps
4667 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4669 cleanup and debugging
4671 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4673 * gst/gstelement.c: (gst_element_class_init),
4674 (gst_element_set_state), (activate_pads),
4675 (gst_element_save_thyself):
4676 * tools/gst-compprep.c: (main):
4677 * tools/gst-inspect.c: (print_element_properties_info):
4678 * tools/gst-xmlinspect.c: (print_element_properties):
4679 Fixed long standing mem-leak
4681 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4683 * check/gst/gstbin.c: (GST_START_TEST):
4684 * gst/gstbin.c: (bin_bus_handler):
4685 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4686 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4687 (gst_message_new_warning), (gst_message_new_tag),
4688 (gst_message_new_state_changed), (gst_message_new_segment_start),
4689 (gst_message_new_segment_done), (gst_message_new_custom):
4691 * tools/gst-launch.c: (event_loop):
4692 * tools/gst-md5sum.c: (event_loop):
4693 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4694 that applications can sensibly post custom messages with references
4695 to their own objects.
4697 2005-08-24 Andy Wingo <wingo@pobox.com>
4699 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4702 2005-08-24 Wim Taymans <wim@fluendo.com>
4704 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4705 (gst_base_transform_transform_caps),
4706 (gst_base_transform_transform_size),
4707 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4708 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4709 (gst_base_transform_handle_buffer):
4710 * gst/base/gstbasetransform.h:
4711 Many fixes and new features added by Thomas. Can now also do
4712 transforms with variable sizes and a custom fixate_caps function.
4714 2005-08-24 Wim Taymans <wim@fluendo.com>
4716 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4720 Cast to ClockTime before formatting to time.
4725 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4727 * check/gst-libs/controller.c: (GST_START_TEST),
4728 (gst_controller_suite):
4729 * docs/gst/tmpl/gstcaps.sgml:
4730 * docs/gst/tmpl/gstghostpad.sgml:
4731 * docs/gst/tmpl/gstquery.sgml:
4732 * docs/gst/tmpl/gstutils.sgml:
4733 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4734 (gst_object_sink_values), (gst_object_get_value_arrays),
4735 (gst_object_get_value_array):
4736 gracefully handle helper method calls to objects that are not beeing
4737 controlled, added test case for that
4739 2005-08-23 Wim Taymans <wim@fluendo.com>
4741 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4742 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4743 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4744 (gst_event_parse_qos), (gst_event_new_seek),
4745 (gst_event_parse_seek):
4747 Some more debugging output and doc cleanups.
4749 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4750 Fix possible deadlock.
4752 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4754 * docs/gst/gstreamer-docs.sgml:
4755 * docs/gst/gstreamer-sections.txt:
4756 * docs/gst/gstreamer.types:
4757 * docs/gst/tmpl/.cvsignore:
4762 added 100 symbols from gstreamer-unused.txt to the right sections
4763 fixed more broken comments
4764 added GstBus to docs
4766 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4768 * docs/gst/gstreamer-sections.txt:
4769 * docs/gst/tmpl/.cvsignore:
4770 * docs/gst/tmpl/gstbin.sgml:
4771 * docs/gst/tmpl/gstbuffer.sgml:
4772 * gst/base/gstbasesrc.c:
4773 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4776 * tools/gst-launch.1.in:
4777 inlined more doc comments, added missing comments and fixed comments
4780 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4782 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4786 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4788 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4789 * gst/gststructure.h:
4790 add a fixate function for booleans; add a FIXME that these func
4791 names should probably be gst_structure_fixate_*
4793 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4795 * docs/gst/gstreamer-docs.sgml:
4796 * docs/gst/gstreamer-sections.txt:
4798 * gst/gstbin.c: (gst_bin_get_type),
4799 (gst_bin_child_proxy_get_child_by_index),
4800 (gst_bin_child_proxy_get_children_count),
4801 (gst_bin_child_proxy_init):
4802 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4803 (gst_child_proxy_get_child_by_index),
4804 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4805 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4806 (gst_child_proxy_get), (gst_child_proxy_set_property),
4807 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4808 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4809 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4810 * gst/gstchildproxy.h:
4811 * gst/parse/grammar.y:
4812 * tools/gst-inspect.c: (print_interfaces),
4813 (print_element_properties_info), (print_element_info):
4814 ported gstchildproxy over from 0.8
4815 ported gst-inspect fixes and enhancements over from 0.8
4817 2005-08-22 Wim Taymans <wim@fluendo.com>
4819 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4820 (gst_base_transform_handle_buffer):
4821 Also call the transform function if we have ANY caps.
4823 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4826 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4828 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4829 Don't pretend to handle seek events if the source is not seekable
4831 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4833 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4834 Remove extra parameter to debug output
4836 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4837 (gst_base_src_do_seek), (gst_base_src_activate_push):
4838 Fix seek event handling.
4840 * gst/gstpipeline.c: (gst_pipeline_change_state):
4841 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4842 (gst_queue_src_activate_push):
4843 Don't start the src pad task on FLUSH_STOP if the pad
4847 2005-08-22 Wim Taymans <wim@fluendo.com>
4849 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4850 Added check for gst_static_caps_get() refcounting.
4852 2005-08-22 Wim Taymans <wim@fluendo.com>
4854 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4855 Make _static_caps_get() refcounting sane.
4857 * gst/gstelement.c: (gst_element_set_state):
4858 Add g_return_val_if_fail() to protect against segfaults.
4860 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4862 * docs/gst/tmpl/gstevent.sgml:
4865 inlined remaining docs, added missing doc comments
4867 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4869 * check/gst/gstbin.c: (GST_START_TEST):
4870 since we don't know when preroll is done, use refcount range
4872 * gst/check/gstcheck.h:
4873 add macro for checking refcount range
4875 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4877 * check/Makefile.am:
4878 clean up environment for when registry gets built versus
4879 when actual tests are run; valgrind seems to not report
4880 leaks if GST_PLUGIN_PATH is set to some specific values
4881 * check/gst/gstbin.c: (GST_START_TEST):
4882 add more refcounting checks; maybe this exposes a
4885 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4886 * gst/check/gstcheck.h:
4887 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4888 (gst_bin_change_state):
4889 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4890 add/fix debugging/whitespace
4892 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4894 * check/gst/gstevent.c: (event_probe), (test_event),
4896 Er, don't call gst_bin_watch_for_state_change you idiot.
4898 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4900 * check/Makefile.am:
4901 Use CHECK_CFLAGS and CHECK_LIBS
4902 * check/gst/gstevent.c: (event_probe), (test_event),
4905 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4906 (gst_base_src_start), (gst_base_src_stop),
4907 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4908 (gst_base_src_change_state):
4909 Sprinkle gst_base_src_stop liberally around error paths to fix
4910 problems reusing a source after failed state changes.
4911 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4912 (helper_find_suggest), (gst_type_find_helper):
4913 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4915 * docs/gst/tmpl/gstevent.sgml:
4916 Migrate part of the docs from the SGML file. Wait for ensonic to
4917 tell me how I did it wrong ;)
4918 * tools/gst-typefind.c: (main):
4919 Extra robustness to state changes between files.
4921 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4923 * check/Makefile.am:
4924 don't valgrind the controller test - it's leaking - Stefan, HELP
4925 * gst/check/gstcheck.c: (gst_check_message_error),
4926 (gst_check_chain_func), (gst_check_setup_element),
4927 (gst_check_teardown_element), (gst_check_setup_src_pad),
4928 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4929 (gst_check_teardown_sink_pad):
4930 * gst/check/gstcheck.h:
4931 add a bunch of methods to set up elements, and src and sink pads
4932 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4933 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4938 whitespace/doc fixes
4940 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4943 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4944 be handled by the application and not always printed as well
4946 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4948 * check/Makefile.am:
4950 * gst/check/gstcheck.c: (gst_check_message_error):
4951 * gst/check/gstcheck.h:
4952 add a fail_unless_equals_int
4953 add fail_unless for error messages
4955 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4957 * check/Makefile.am:
4959 * common/Makefile.am:
4962 factor out some of the common stuff so we can use it
4964 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4966 * check/Makefile.am:
4967 * check/gst/gstiterator.c: (GST_START_TEST):
4968 * check/gst/gstsystemclock.c: (GST_START_TEST),
4969 (gst_systemclock_suite):
4970 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4974 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4976 * check/elements/.cvsignore:
4977 * check/elements/gstfakesrc.c:
4978 rename to name of element
4979 * check/elements/identity.c: (chain_func), (event_func),
4980 (setup_identity), (cleanup_identity), (GST_START_TEST),
4981 (identity_suite), (main):
4982 add a test for identity
4983 * check/Makefile.am:
4984 * pkgconfig/Makefile.am:
4985 * pkgconfig/gstreamer-check.pc.in:
4986 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4990 move the check stuff to a library that gets installed
4991 * check/gst-libs/controller.c: (GST_START_TEST):
4992 * check/gst-libs/gdp.c:
4993 * check/gst/gst.c: (GST_START_TEST):
4994 * check/gst/gstbin.c:
4995 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4996 * check/gst/gstbus.c:
4997 * check/gst/gstcaps.c: (GST_START_TEST):
4998 * check/gst/gstelement.c:
4999 * check/gst/gstghostpad.c:
5000 * check/gst/gstiterator.c:
5001 * check/gst/gstmessage.c:
5002 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5003 * check/gst/gstobject.c:
5004 * check/gst/gstpad.c: (GST_START_TEST):
5005 * check/gst/gststructure.c: (GST_START_TEST):
5006 * check/gst/gstsystemclock.c: (GST_START_TEST),
5007 (gst_systemclock_suite):
5008 * check/gst/gsttag.c: (gst_tag_suite):
5009 * check/gst/gstvalue.c:
5010 * check/pipelines/cleanup.c:
5011 * check/pipelines/simple_launch_lines.c:
5012 * check/states/sinks.c:
5013 change include statement
5015 * docs/gst/gstreamer-sections.txt:
5016 * docs/gst/tmpl/gstpad.sgml:
5017 document more pad stuff
5018 * gst/gstminiobject.c: (gst_mini_object_ref),
5019 (gst_mini_object_unref):
5022 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5024 * docs/gst/tmpl/gst.sgml:
5026 eliminate another tmpl file, fix spelling in the long-description
5028 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5030 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5031 (test_event), (timediff), (gstevents_suite):
5032 Should fix build on 64-bit arch's
5034 2005-08-18 Andy Wingo <wingo@pobox.com>
5036 Make sure that when a pipeline goes to PLAYING, that data has
5037 actually hit the sink.
5039 * check/states/sinks.c (test_sink): A sink that doesn't get any
5040 data shouldn't return SUCCESS for going to either PLAYING or
5041 PAUSED. Test also the return values on the way back down.
5043 * gst/gstelement.c (gst_element_set_state): When changing the
5044 state of an element currently changing state asynchronously, go to
5045 lost-state after commiting the pending state. Makes future calls
5046 to get_state continue to return ASYNC.
5048 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5049 ASYNC when going to PLAYING if we still don't have preroll, as can
5050 happen with live sources.
5052 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5054 * docs/pwg/advanced-types.xml:
5055 Hack long paragraph into 2 chunks as a workaround for buggy
5056 jadetex version in sid and breezy that loops infinitely and
5059 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5061 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5062 (test_event), (timediff), (gstevents_suite):
5063 Provide more error margin in clock measurements to allow for
5064 g_get_current_time inaccuracies.
5066 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5068 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5069 (test_event), (timediff), (gstevents_suite):
5070 Fix error message output so I might be able to tell why the
5071 test works here but fails on the build farm.
5073 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5075 * check/Makefile.am:
5076 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5077 (test_event), (timediff), (gstevents_suite), (main):
5080 * docs/design/part-seeking.txt:
5083 * docs/gst/tmpl/gstevent.sgml:
5084 * docs/gst/tmpl/gstfakesrc.sgml:
5087 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5088 Treat a buffer-without-newsegment the same as a receiving
5089 a newsegment not in time format, and disable syncing to the clock
5092 * gst/gstbus.c: (gst_bus_set_sync_handler):
5093 Assert if anyone tries to replace the existing sync_handler for bus,
5094 as only the owner should be setting it.
5097 Have a fixed set of custom event enums with events identified by
5098 their structure name (as in 0.8), rather than a free-for-all
5099 allowing collisions between enum values from different plugins.
5101 * gst/gstpad.c: (gst_pad_class_init):
5104 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5105 Handle out-of-band downstream events from the sending thread.
5107 2005-08-17 Andy Wingo <wingo@pobox.com>
5109 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5110 play-timeout==0 to mean no timeout at all. In that case, don't
5111 bother with a get_state or a warning, just return directly, even
5114 * gst/base/gstbasetransform.c: Debug changes.
5117 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5118 ensure bins post state change messages. A bit of a hack but I can't
5119 think of a way to avoid it.
5121 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5123 2005-08-16 Andy Wingo <wingo@pobox.com>
5125 * gst/base/gstadapter.h:
5126 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5127 peek() but you own the data. Not terribly efficient atm.
5129 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5131 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5132 (gst_element_found_tags):
5134 Add two utility functions for tag handling.
5136 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5138 * docs/manual/advanced-dataaccess.xml:
5139 * docs/manual/basics-helloworld.xml:
5140 Fix docs to use _bin_add() before _link(), which fixes the examples
5141 with recent core versions (reported by Madhan Raj M
5142 <raj_madan@rediffmail.com>, #313199).
5144 2005-08-16 Wim Taymans <wim@fluendo.com>
5146 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5147 Added subtract checks.
5149 * docs/design/part-events.txt:
5150 Some more docs about newsegment
5152 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5155 * gst/gstcaps.c: (gst_caps_to_string):
5156 Add comments, cleanups.
5158 * gst/gstelement.c: (gst_element_save_thyself):
5161 * gst/gstvalue.c: (gst_value_collect_int_range),
5162 (gst_string_unwrap), (gst_value_union_int_int_range),
5163 (gst_value_union_int_range_int_range),
5164 (gst_value_intersect_int_int_range),
5165 (gst_value_intersect_int_range_int_range),
5166 (gst_value_intersect_double_double_range),
5167 (gst_value_intersect_double_range_double_range),
5168 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5169 (gst_value_subtract_int_range_int),
5170 (gst_value_subtract_double_range_double),
5171 (gst_value_subtract_double_range_double_range),
5172 (gst_value_subtract_from_list), (gst_value_subtract_list),
5173 (gst_value_can_compare), (gst_value_compare_fraction):
5174 Cleanups, add comments, remove unneeded asserts.
5176 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5178 * tools/gst-launch.c: (event_loop):
5179 don't convert NULL structures to strings
5181 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5183 * docs/gst/gstreamer-sections.txt:
5184 made some defines private
5185 * docs/gst/tmpl/gstconfig.sgml:
5186 * docs/gst/tmpl/gstqueue.sgml:
5187 * docs/gst/tmpl/gsttaglist.sgml:
5188 * docs/gst/tmpl/gsttypes.sgml:
5189 * docs/gst/tmpl/gstutils.sgml:
5190 * docs/pwg/appendix-porting.xml:
5191 * gst/base/gstbasesink.h:
5192 * gst/base/gstbasesrc.c:
5193 * gst/base/gstbasesrc.h:
5194 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5195 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5196 * gst/gstelement.c: (gst_element_class_init):
5197 * gst/gstpad.c: (gst_pad_class_init):
5198 * gst/gstqueue.c: (gst_queue_class_init):
5199 * gst/gstxml.c: (gst_xml_class_init):
5200 documented all undocumented signal inline
5201 * libs/gst/controller/gst-controller.h:
5204 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5206 * docs/pwg/appendix-porting.xml:
5207 Document _set_link_function -> _set_setcaps_function.
5209 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5211 * check/Makefile.am:
5212 add a .check target for running the check
5213 * check/gst-libs/controller.c: (GST_START_TEST):
5215 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5216 complete checks for gstbuffer; would be nice if I could get the
5217 gcov stuff to work so I can see if I actually completed gstbuffer.c
5219 add ASSERT_BUFFER_REFCOUNT
5221 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5223 * docs/gst/gstreamer-sections.txt:
5224 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5226 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5227 spew out a warning if a tag that is already registered
5228 is re-registered, unless it is re-registered with a
5229 different type (#308438).
5231 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5233 * docs/pwg/appendix-porting.xml:
5234 * docs/pwg/building-state.xml:
5235 Add some paragraphs about state changes in 0.9 to the PWG
5236 and the porting guide, in particular about the new meaning
5237 of GST_STATE_PAUSED and how to write state change functions
5238 with concurrent access by multiple threads in mind.
5240 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5242 * docs/gst/gstreamer-docs.sgml:
5243 * docs/libs/gstreamer-libs-docs.sgml:
5244 added deprecation and since indexes
5245 * libs/gst/controller/gst-controller.c:
5246 * libs/gst/controller/gst-helper.c:
5250 2005-08-11 Wim Taymans <wim@fluendo.com>
5252 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5253 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5254 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5255 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5256 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5257 (gst_ghost_pad_set_target):
5258 Actually implement (re)setting the target on a ghostpad
5259 as described in the docs.
5261 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5263 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5264 Check whether GST_DEBUG_NO_COLOR environment variable is
5265 set and disable coloured debug output if that is the case.
5267 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5269 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5270 (gst_type_find_helper):
5271 The memory returned by gst_type_find_peek() needs to
5272 stay valid until the end of a typefind function, and
5273 typefind functions may keep results from different
5274 offsets around, so we can't just unref the buffer from
5275 the previous _peek(), but have to save all buffers
5276 returned by _peek() until typefinding is done and only
5279 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5281 * docs/gst/gstreamer-sections.txt:
5283 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5285 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5287 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5288 Fix a pretty good memleak.
5290 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5292 * gst/gstiterator.h:
5293 Fix wrong include and 'make distcheck'.
5295 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5297 * gst/gstbin.c: (bin_bus_handler):
5298 Use gst_element_post_message() instead.
5300 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5302 * gst/base/gstadapter.h:
5303 * gst/base/gstbasesink.h:
5304 * gst/base/gstbasesrc.h:
5305 * gst/base/gstbasetransform.h:
5306 * gst/base/gstcollectpads.h:
5307 * gst/base/gstpushsrc.h:
5308 * gst/gstiterator.h:
5309 Add padding to our base elements' class and instance structs and
5310 to GstIterator (you will need to rebuild all plugins and apps!)
5312 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5314 * gst/gstbin.c: (bin_bus_handler):
5315 Make default message forwarding from child->bus to bin->bus
5316 threadsafe and make it not emit warnings if the parent has no bus.
5318 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5320 * gst/gstelement.c: (activate_pads):
5321 On paused->ready, set pad->caps to NULL, as is the documented
5322 behaviour in this state change. Fixes playback of series of
5323 media files when visualization is enabled in Totem.
5325 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5327 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5328 Allow NULL as filter-caps (which means "any").
5330 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5332 * docs/libs/gstreamer-libs-sections.txt:
5333 * libs/gst/controller/gst-controller.c:
5334 * libs/gst/controller/gst-controller.h:
5335 * libs/gst/controller/gst-helper.c:
5336 adding more entries to the docs and fix small doc-bugs
5338 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5340 * docs/gst/gstreamer-docs.sgml:
5341 * docs/gst/gstreamer-sections.txt:
5342 * docs/gst/gstreamer.types:
5343 * docs/gst/tmpl/gstbasesink.sgml:
5344 * docs/gst/tmpl/gstbasesrc.sgml:
5345 * docs/gst/tmpl/gstbasetransform.sgml:
5346 * docs/gst/tmpl/gstfakesrc.sgml:
5347 * gst/base/gstcollectpads.c:
5348 * gst/base/gstcollectpads.h:
5349 * libs/gst/controller/gst-controller.c:
5350 * libs/gst/controller/gst-controller.h:
5351 * libs/gst/controller/gst-helper.c:
5352 * libs/gst/controller/gst-interpolation.c:
5353 * libs/gst/controller/lib.c:
5354 added long/short desc for controller docs
5355 added collectpads base class docs
5356 added correct includes to base-class docs
5358 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5360 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5361 (gst_test_mono_source_set_property),
5362 (gst_test_mono_source_class_init), (GST_START_TEST),
5363 (gst_controller_suite):
5364 * docs/gst/gstreamer-docs.sgml:
5365 * docs/gst/gstreamer-sections.txt:
5366 * docs/gst/gstreamer.types:
5367 * docs/libs/gstreamer-libs-docs.sgml:
5368 * docs/libs/gstreamer-libs-sections.txt:
5369 * gst/base/gstadapter.c:
5370 * libs/gst/controller/gst-controller.c:
5371 (gst_controlled_property_new), (gst_controlled_property_free),
5372 (gst_controller_new_valist),
5373 (gst_controller_remove_properties_valist),
5374 (gst_controller_sink_values), (_gst_controller_finalize):
5375 * libs/gst/controller/gst-controller.h:
5376 * libs/gst/controller/gst-helper.c:
5377 (gst_object_control_properties), (gst_object_uncontrol_properties),
5378 (gst_object_get_controller), (gst_object_set_controller),
5379 (gst_object_sink_values), (gst_object_get_value_arrays),
5380 (gst_object_get_value_array):
5381 more tests (and fixes) for the controller
5382 more docs for the controller
5383 integrated companies docs for the adapter
5385 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5387 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5388 (GST_START_TEST), (fakesrc_suite):
5389 add tests for sizetype
5391 2005-08-04 Andy Wingo <wingo@pobox.com>
5393 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5394 fixes buffer_alloc proxying among other things.
5396 * gst/base/gstbasetransform.c:
5397 * gst/base/gstbasetransform.h:
5398 Revert patch to gstbasetransform from 7-28 removing
5401 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5402 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5403 Semantics changed, should return not the size of the output buffer
5404 but the byte size of a buffer with a given caps.
5406 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5408 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5409 out) are not the pad caps until setcaps finishes.
5410 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5411 not-in-place case as well. Deal with changing from in-place to
5412 not-in-place within calling pad_alloc_buffer. Still a bit
5413 concerned about the overhead here...
5415 2005-08-03 Andy Wingo <wingo@pobox.com>
5417 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5418 fixating is an error.
5420 2005-08-04 Edward Hervey <edward@fluendo.com>
5422 * gst/base/gstadapter.h:
5423 Added gst_adapter_get_type() to the header
5425 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5427 * check/Makefile.am:
5428 * check/gst-libs/controller.c:
5429 * libs/gst/controller/gst-controller.c:
5430 (gst_controller_new_valist):
5431 added check test suite for the controller
5432 * gst/base/gstpushsrc.c:
5435 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5437 * docs/gst/Makefile.am:
5438 * docs/gst/gstreamer-docs.sgml:
5439 * docs/gst/gstreamer-sections.txt:
5440 * docs/gst/gstreamer.types:
5441 * docs/gst/tmpl/gstfakesrc.sgml:
5443 * gst/base/gstbasesink.c:
5444 * gst/base/gstbasesink.h:
5445 * gst/base/gstbasesrc.c:
5446 * gst/base/gstbasesrc.h:
5447 * gst/base/gstbasetransform.c:
5448 * gst/base/gstpushsrc.c:
5449 * gst/base/gstpushsrc.h:
5450 add short/long description docs to base classes
5451 add pushsrc to the docs
5452 remove consolidated doc fragments
5454 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5457 * docs/libs/Makefile.am:
5458 * docs/libs/gstreamer-libs-docs.sgml:
5459 * docs/libs/gstreamer-libs-sections.txt:
5460 * docs/libs/gstreamer-libs.types:
5461 * examples/Makefile.am:
5462 * examples/controller/.cvsignore:
5463 * examples/controller/Makefile.am:
5464 * examples/controller/audio-example.c: (main):
5465 * libs/gst/Makefile.am:
5466 * libs/gst/controller/.cvsignore:
5467 * libs/gst/controller/Makefile.am:
5468 * libs/gst/controller/gst-controller.c:
5469 (on_object_controlled_property_changed), (gst_timed_value_compare),
5470 (gst_timed_value_find),
5471 (gst_controlled_property_set_interpolation_mode),
5472 (gst_controlled_property_new), (gst_controlled_property_free),
5473 (gst_controller_find_controlled_property),
5474 (gst_controller_new_valist), (gst_controller_new),
5475 (gst_controller_remove_properties_valist),
5476 (gst_controller_remove_properties), (gst_controller_set),
5477 (gst_controller_set_from_list), (gst_controller_unset),
5478 (gst_controller_get), (gst_controller_get_all),
5479 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5480 (gst_controller_get_value_array),
5481 (gst_controller_set_interpolation_mode),
5482 (_gst_controller_finalize), (_gst_controller_init),
5483 (_gst_controller_class_init), (gst_controller_get_type):
5484 * libs/gst/controller/gst-controller.h:
5485 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5486 (g_object_uncontrol_properties), (g_object_get_controller),
5487 (g_object_set_controller), (g_object_sink_values),
5488 (g_object_get_value_arrays), (g_object_get_value_array):
5489 * libs/gst/controller/gst-interpolation.c:
5490 (gst_controlled_property_find_timed_value_node),
5491 (interpolate_none_get), (interpolate_trigger_get),
5492 (interpolate_trigger_get_value_array):
5493 * libs/gst/controller/lib.c: (gst_controller_init):
5494 * pkgconfig/Makefile.am:
5495 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5496 * pkgconfig/gstreamer-control.pc.in:
5497 * testsuite/Makefile.am:
5498 * testsuite/controller/.cvsignore:
5499 * testsuite/controller/Makefile.am:
5500 * testsuite/controller/interpolator.c: (main):
5501 added controller code
5502 removed dparam pc files
5504 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5505 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5506 (gst_collectpads_stop):
5507 Broadcast the condition when shutting down, to make sure we wake all
5508 threads up. Shut down pads on finalize, for safety.
5510 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5511 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5512 (gst_base_transform_handle_buffer),
5513 (gst_base_transform_change_state):
5514 Handle PAUSED->READY->PAUSED transition after negotiation
5516 * gst/gstmessage.c: (gst_message_init):
5517 Extra piece of debug for new messages.
5519 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5522 * docs/gst/tmpl/gstbasesrc.sgml:
5523 * docs/gst/tmpl/gstelement.sgml:
5524 * docs/gst/tmpl/gstevent.sgml:
5525 * docs/gst/tmpl/gstfakesrc.sgml:
5526 * docs/gst/tmpl/gstformat.sgml:
5527 * docs/gst/tmpl/gstghostpad.sgml:
5528 * docs/gst/tmpl/gstpad.sgml:
5529 * docs/gst/tmpl/gstquery.sgml:
5530 * docs/gst/tmpl/gststructure.sgml:
5531 * docs/gst/tmpl/gsttaglist.sgml:
5532 * docs/gst/tmpl/gstvalue.sgml:
5533 * docs/libs/gstreamer-libs-docs.sgml:
5534 * docs/libs/gstreamer-libs-sections.txt:
5535 * docs/libs/gstreamer-libs.types:
5536 * libs/gst/Makefile.am:
5537 * libs/gst/control/.cvsignore:
5538 * libs/gst/control/Makefile.am:
5539 * libs/gst/control/control.c:
5540 * libs/gst/control/control.h:
5541 * libs/gst/control/dparam.c:
5542 * libs/gst/control/dparam.h:
5543 * libs/gst/control/dparam_smooth.c:
5544 * libs/gst/control/dparam_smooth.h:
5545 * libs/gst/control/dparamcommon.h:
5546 * libs/gst/control/dparammanager.c:
5547 * libs/gst/control/dparammanager.h:
5548 * libs/gst/control/dplinearinterp.c:
5549 * libs/gst/control/dplinearinterp.h:
5550 * libs/gst/control/unitconvert.c:
5551 * libs/gst/control/unitconvert.h:
5552 * testsuite/Makefile.am:
5553 * testsuite/dynparams/.cvsignore:
5554 * testsuite/dynparams/Makefile.am:
5555 * testsuite/dynparams/dparamstest.c:
5556 * tools/Makefile.am:
5557 * tools/gst-inspect.c: (print_element_info), (main):
5558 * tools/gst-xmlinspect.c: (print_element_info), (main):
5559 deactivate and remove dparams (libgstcontrol)
5561 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5563 * gst/elements/gsttypefindelement.c:
5564 (gst_type_find_element_have_type), (gst_type_find_element_init),
5565 (stop_typefinding), (gst_type_find_element_handle_event),
5566 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5567 * gst/elements/gsttypefindelement.h:
5568 Set caps on all outgoing buffers, not just the first one.
5570 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5572 * gst/elements/gsttypefindelement.c:
5573 (gst_type_find_element_have_type),
5574 (gst_type_find_element_check_set_buffer_caps),
5575 (gst_type_find_element_init), (stop_typefinding),
5576 (gst_type_find_element_handle_event),
5577 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5578 * gst/elements/gsttypefindelement.h:
5579 Set caps on first outgoing buffer when we've found the type.
5581 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5583 * docs/gst/gstreamer-docs.sgml:
5584 * docs/gst/gstreamer-sections.txt:
5585 * docs/gst/tmpl/gstscheduler.sgml:
5586 * docs/gst/tmpl/gstschedulerfactory.sgml:
5587 Remove some old cruft from docs.
5589 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5592 Fix inline docs for GstPadLinkReturn.
5594 * gst/gststructure.c: (gst_structure_has_name):
5595 * gst/gststructure.h:
5596 * docs/gst/gstreamer-sections.txt:
5597 New API: gst_structure_has_name().
5599 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5602 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5603 and _LARGEFILE_SOURCE in config.h as required. Do not
5604 export those flags in our .pc files any longer (#142209).
5606 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5608 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5609 (gst_file_sink_do_seek), (gst_file_sink_event),
5610 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5611 Redo seek/tell calls with large file support in mind; add some
5612 debugging messages; add log message that tells us when large
5613 file support is unavailable or not enabled for some reason.
5615 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5616 Add log message that tells us when large file support
5617 is unavailable or not enabled for some reason.
5619 2005-07-29 Wim Taymans <wim@fluendo.com>
5621 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5622 Added test for removing an element with ghostpad from a bin.
5623 Fixed test as current implementation does the right thing.
5625 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5626 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5627 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5628 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5629 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5630 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5631 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5632 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5633 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5634 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5635 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5636 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5637 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5638 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5639 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5640 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5641 * gst/gstghostpad.h:
5642 Clean up ghostpads, remove properties for internal stuff.
5645 Prepare for switching targets, not all use cases work yet.
5647 2005-07-29 Wim Taymans <wim@fluendo.com>
5649 * docs/design/part-gstghostpad.txt:
5652 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5653 (gst_bin_remove_func):
5654 Unlinking pads while holding the bin LOCK is not a good
5657 * gst/gstpad.c: (gst_pad_class_init),
5658 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5659 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5660 No prob setting template after creating the pad.
5662 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5664 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5665 (gst_bus_peek), (gst_bus_source_dispatch),
5666 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5667 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5668 gst_bus_poll may be called from other threads. Handle
5669 this nicely by not making poll_data disappear off the
5670 stack once gst_bus_poll returns.
5671 gst_bus_peek now increments the refcount on the returned
5674 2005-07-29 Wim Taymans <wim@fluendo.com>
5676 * docs/design/part-gstghostpad.txt:
5677 Overview of current GhostPad datastructures and use
5678 cases for changing the target.
5680 2005-07-28 Wim Taymans <wim@fluendo.com>
5682 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5683 Added checks for hierarchy consistency whan adding linked
5686 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5687 Added check to test element scheduling without bin/pipeline.
5689 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5690 First add elements to bin, then link.
5692 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5693 (gst_bin_remove_func):
5694 Unlink pads from elements added/removed from bin to maintain
5695 hierarchy consistency.
5697 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5699 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5700 (gst_base_transform_handle_buffer):
5701 * gst/base/gstbasetransform.h:
5702 Remove broken delay_configure (fixes renegotiation of software
5703 scaling pipelines); remove some leftover printf()s.
5705 2005-07-28 Wim Taymans <wim@fluendo.com>
5707 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5708 Added some more tests for wrong hierarchy
5710 * docs/design/part-overview.txt:
5713 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5716 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5717 (gst_element_dispose):
5720 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5721 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5722 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5723 (gst_pad_set_caps), (gst_pad_send_event):
5724 Check for correct hierarchy when linking pads. Moving to
5725 strict requirement for ghostpads when linking elements in
5729 Clean ups. Added WRONG_HIERARCHY return value.
5731 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5733 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5734 Better debug if no transform is possible.
5736 2005-07-27 Wim Taymans <wim@fluendo.com>
5738 * docs/random/wtay/network-transp:
5741 2005-07-27 Wim Taymans <wim@fluendo.com>
5743 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5744 (gst_dp_event_from_packet):
5745 Fix serialization of seek events.
5747 2005-07-27 Wim Taymans <wim@fluendo.com>
5749 * check/gst-libs/gdp.c: (GST_START_TEST):
5750 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5751 Fix compilation and fix event serialization.
5753 2005-07-27 Wim Taymans <wim@fluendo.com>
5756 * docs/design/part-TODO.txt:
5757 * docs/design/part-events.txt:
5760 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5761 (gst_base_sink_event), (gst_base_sink_do_sync),
5762 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5763 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5764 (gst_base_src_do_seek), (gst_base_src_event_handler),
5765 (gst_base_src_loop):
5766 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5767 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5768 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5769 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5770 (gst_base_transform_set_passthrough),
5771 (gst_base_transform_is_passthrough):
5772 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5773 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5779 * gst/gstelement.c: (gst_element_seek):
5781 Update gst_element_seek.
5783 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5784 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5785 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5786 (gst_event_new_eos), (gst_event_new_newsegment),
5787 (gst_event_parse_newsegment), (gst_event_new_tag),
5788 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5789 (gst_event_parse_qos), (gst_event_new_seek),
5790 (gst_event_parse_seek), (gst_event_new_navigation):
5792 Make GstEvent use GstStructure. Add parsing code, make sure the
5793 API is sufficiently generic.
5794 Mark possible directions of events and serialization.
5796 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5797 (_gst_message_copy), (gst_message_new_segment_start),
5798 (gst_message_new_segment_done), (gst_message_new_custom),
5799 (gst_message_parse_segment_start),
5800 (gst_message_parse_segment_done):
5803 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5804 (gst_pad_set_caps), (gst_pad_send_event):
5805 Update for new events.
5806 Catch events sent in wrong directions.
5808 * gst/gstqueue.c: (gst_queue_link_src),
5809 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5810 (gst_queue_handle_src_query):
5815 Remove event code from this file.
5817 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5818 (gst_dp_event_from_packet):
5821 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5823 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5824 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5825 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5826 Make debugging actually useful.
5828 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5830 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5831 (gst_pad_fixate_caps):
5832 Implement default fixation once again, so that gst_pad_fixate()
5833 actually does anything at all. This probably needs to be some
5834 sort of a last resort, and use profile-based fixation first, but
5835 since that doesn't exist yet, this is the best we have. Fixes
5836 visualization in Totem.
5838 2005-07-22 Wim Taymans <wim@fluendo.com>
5840 * docs/design/part-events.txt:
5843 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5844 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5845 (gst_base_sink_activate_pull):
5848 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5849 (gst_fake_src_create):
5850 Fix handoff marshall.
5852 * gst/elements/gstidentity.c: (gst_identity_class_init),
5853 (gst_identity_transform_ip):
5854 We're a real inplace element.
5856 * gst/gstbus.c: (gst_bus_post):
5857 Added some comments.
5859 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5860 * tests/muxing/case1.c: (main):
5861 * tests/sched/dynamic-pipeline.c: (main):
5862 * tests/sched/interrupt1.c: (main):
5863 * tests/sched/interrupt2.c: (main):
5864 * tests/sched/interrupt3.c: (main):
5865 * tests/sched/runxml.c: (main):
5866 * tests/sched/sched-stress.c: (main):
5867 * tests/seeking/seeking1.c: (event_received), (main):
5868 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5870 * tests/threadstate/threadstate3.c: (main):
5871 * tests/threadstate/threadstate4.c: (main):
5872 * tests/threadstate/threadstate5.c: (main):
5875 2005-07-21 Wim Taymans <wim@fluendo.com>
5877 * docs/design/part-seeking.txt:
5878 Some small additions.
5880 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5881 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5882 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5883 * gst/base/gstbasesink.h:
5884 discont values are gint64, handle the math correctly.
5886 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5887 Make the basesrc report error if the source pad is not linked.
5889 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5890 (gst_queue_loop), (gst_queue_handle_src_query),
5891 (gst_queue_src_activate_push):
5892 Make queue collect data even if the srcpad is not linked.
5893 Start pushing out data as soon as it is linked.
5895 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5897 Added gst_flow_get_name() to ease error reporting.
5899 2005-07-20 Wim Taymans <wim@fluendo.com>
5901 * gst/gstmessage.c: (gst_message_new_segment_start),
5902 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5903 (gst_message_parse_segment_done):
5905 Added a bunch of messages for advanced seeking.
5907 * gst/parse/grammar.y:
5908 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5909 (gst_dpman_state_changed):
5910 Fix some new-pad -> pad-added signals
5912 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5914 * docs/manual/appendix-porting.xml:
5915 * docs/pwg/appendix-porting.xml:
5916 Document new-pad/state-change signal renames and the FixedList
5919 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5921 * docs/manual/advanced-autoplugging.xml:
5922 * docs/manual/basics-helloworld.xml:
5923 * docs/manual/basics-pads.xml:
5924 * docs/random/ds/0.9-suggested-changes:
5925 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5930 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5931 (gst_structure_parse_array), (gst_structure_parse_value):
5932 * gst/gstvalue.c: (gst_type_is_fixed),
5933 (gst_value_list_prepend_value), (gst_value_list_append_value),
5934 (gst_value_list_get_size), (gst_value_list_get_value),
5935 (gst_value_transform_array_string), (gst_value_serialize_array),
5936 (gst_value_deserialize_array), (gst_value_intersect_array),
5937 (gst_value_is_fixed), (_gst_value_initialize):
5939 GstElement::new-pad -> pad-added, GstElement::state-change ->
5940 state-changed, GstValueFixedList -> GstValueArray, add format and
5941 flags as their own arguments in gst_element_seek() (should improve
5942 "bindeability"), remove function generators since they don't work
5943 under a whole bunch of compilers (they were deprecated already
5946 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5948 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5949 (_gst_debug_register_funcptr):
5951 Fix illegal cast on some platforms (#309253).
5953 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5955 * gst/gstmessage.c: (gst_message_new_custom):
5957 Add _new_custom, make _new_application a macro to _new_custom.
5959 2005-07-20 Wim Taymans <wim@fluendo.com>
5961 * gst/base/gstbasesrc.c: (gst_base_src_init),
5962 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5963 * gst/base/gstbasesrc.h:
5964 Add a gboolean to decide when to push out a discont.
5966 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5967 (gst_queue_loop), (gst_queue_handle_src_query),
5968 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5969 (gst_queue_set_property), (gst_queue_get_property):
5972 * tests/threadstate/threadstate1.c: (main):
5973 Make a thread test compile and run... very silly..
5976 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5978 * docs/manual/appendix-porting.xml:
5979 Mention removal of libgstgconf-0.9.la and existence of gconf
5982 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5984 * docs/pwg/advanced-clock.xml:
5985 * docs/pwg/appendix-porting.xml:
5986 * docs/pwg/intro-preface.xml:
5987 * docs/pwg/other-base.xml:
5988 * docs/pwg/other-manager.xml:
5989 * docs/pwg/other-nton.xml:
5990 * docs/pwg/other-ntoone.xml:
5991 * docs/pwg/other-oneton.xml:
5993 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5994 demuxer), remove n-to-n (was never written), fix some code examples
5995 and links and update the porting section to include all this.
5997 2005-07-19 Wim Taymans <wim@fluendo.com>
5999 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6000 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6001 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6002 (gst_queue_src_activate_push), (gst_queue_change_state),
6003 (gst_queue_get_property):
6005 Propagate GstFlowReturn more intelligently upstream and output
6006 an ERROR/EOS when streaming stopped due to fatal error.
6008 2005-07-19 Wim Taymans <wim@fluendo.com>
6010 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6011 Don't block forever for the state change to complete, the
6012 pipeline already did with a sensible timeout.
6014 2005-07-19 Wim Taymans <wim@fluendo.com>
6016 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6017 Make sure we never call the create function is we
6020 2005-07-19 Andy Wingo <wingo@pobox.com>
6022 * gst/parse/parse.l: Attempt to solve bug #172815.
6024 2005-07-19 Wim Taymans <wim@fluendo.com>
6026 * docs/design/part-clocks.txt:
6027 * docs/design/part-events.txt:
6028 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6030 Only update the seeking values when we are not
6033 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6035 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6036 Oops, ignore the result of gst_pad_push_event here.
6038 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6040 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6041 (gst_base_src_activate_push):
6042 Send discont event from the loop function, as pads
6043 aren't activated yet in the activate_push handler.
6045 * gst/gstbin.c: (bin_bus_handler):
6046 Don't leak element name.
6048 2005-07-18 Andy Wingo <wingo@pobox.com>
6050 * configure.ac: Use AS_LIBTOOL_TAGS.
6052 2005-07-18 Wim Taymans <wim@fluendo.com>
6054 * docs/gst/gstreamer.types:
6055 Remove deleted types.
6057 2005-07-18 Wim Taymans <wim@fluendo.com>
6059 * check/elements/gstfakesrc.c: (GST_START_TEST):
6062 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6063 (init_popt_callback):
6065 * gst/gst_private.h:
6066 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6067 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6070 * gst/gstconfig.h.in:
6071 * gst/gstelement.c: (gst_element_class_init),
6072 (gst_element_set_base_time), (gst_element_get_base_time),
6073 (iterator_fold_with_resync), (gst_element_change_state),
6074 (gst_element_dispose), (gst_element_get_bus):
6076 * gst/gstelementfactory.h:
6077 * gst/gsterror.c: (_gst_core_errors_init):
6080 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6082 * gst/gstinfo.c: (_gst_debug_init):
6083 * gst/gstmessage.c: (_gst_message_copy):
6085 * gst/gstminiobject.h:
6088 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6089 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6092 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6093 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6094 (gst_pipeline_get_last_stream_time):
6095 * gst/gstpipeline.h:
6096 * gst/gstpluginfeature.h:
6098 * gst/gstscheduler.c:
6099 * gst/gstscheduler.h:
6100 * gst/gststructure.h:
6101 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6102 (gst_task_finalize), (gst_task_func), (gst_task_create),
6103 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6104 (gst_task_stop), (gst_task_pause):
6106 * gst/gsttypefind.h:
6108 * gst/registries/gstlibxmlregistry.c: (load_feature),
6109 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6110 * gst/registries/gstxmlregistry.c:
6111 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6112 * gst/schedulers/threadscheduler.c:
6113 * libs/gst/control/dparammanager.h:
6114 * tools/gst-inspect.c: (print_element_list),
6115 (print_plugin_features), (print_element_features):
6116 * tools/gst-xmlinspect.c: (print_element_list),
6117 (print_plugin_info), (main):
6118 Removed plugable schedulers.
6119 Removed Scheduler/Manager from elements.
6120 Removed gsttypes.h, rearranged includes.
6121 Removed dependency pad<->element, element<>pipeline, and
6122 various others, fix includes.
6123 implement gst_pad_get_parent() with gst_object_get_parent()
6124 Make GstTask sefcontained.
6125 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6127 Fix endless loop in iterator_fold_with_resync.
6130 2005-07-18 Wim Taymans <wim@fluendo.com>
6136 2005-07-18 Wim Taymans <wim@fluendo.com>
6141 2005-07-18 Wim Taymans <wim@fluendo.com>
6147 2005-07-18 Wim Taymans <wim@fluendo.com>
6149 * docs/design/part-dynamic.txt:
6150 * docs/design/part-events.txt:
6151 * docs/design/part-seeking.txt:
6152 Some more docs in the works.
6154 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6155 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6156 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6157 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6158 (gst_base_transform_handle_buffer),
6159 (gst_base_transform_sink_activate_push),
6160 (gst_base_transform_src_activate_pull),
6161 (gst_base_transform_set_passthrough),
6162 (gst_base_transform_is_passthrough):
6165 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6168 * gst/gstevent.c: (gst_event_finalize):
6171 * gst/gstutils.c: (gst_element_unlink),
6172 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6173 (gst_pad_proxy_setcaps):
6175 Add _get_parent_element() to get a pads parent as an element.
6177 2005-07-18 Wim Taymans <wim@fluendo.com>
6179 * check/gst/gstbin.c: (GST_START_TEST):
6182 2005-07-18 Wim Taymans <wim@fluendo.com>
6184 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6185 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6186 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6187 (gst_base_sink_event), (gst_base_sink_do_sync),
6188 (gst_base_sink_chain), (gst_base_sink_loop),
6189 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6190 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6192 Fix logic for returning ASYNC when not prerolled.
6194 2005-07-18 Wim Taymans <wim@fluendo.com>
6196 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6197 Fix nasty refcount bug.
6199 2005-07-16 Philippe Khalaf <burger@speedy.org>
6201 * gst/elements/gstfdsrc.c:
6202 * gst/elements/gstfdsrc.h:
6203 * gst/elements/gstelements.c:
6204 * gst/elements/Makefile.am:
6205 Ported fdsrc to 0.9.
6207 2005-07-16 Wim Taymans <wim@fluendo.com>
6209 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6210 (gst_base_sink_do_sync):
6213 2005-07-16 Wim Taymans <wim@fluendo.com>
6215 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6216 (gst_base_sink_event), (gst_base_sink_get_times),
6217 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6218 * gst/base/gstbasesink.h:
6219 Store and use discont values when syncing buffers as described
6222 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6223 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6224 (gst_base_src_activate_push):
6225 Push discont event when starting.
6227 * gst/elements/gstidentity.c: (gst_identity_transform):
6230 * gst/gstbin.c: (gst_bin_change_state):
6231 Small cleanups in base_time distribution.
6233 * gst/gstelement.c: (gst_element_set_base_time),
6234 (gst_element_get_base_time), (gst_element_change_state):
6236 Added methods for the base_time of the element.
6239 * gst/gstpipeline.c: (gst_pipeline_send_event),
6240 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6241 (gst_pipeline_get_last_stream_time):
6242 * gst/gstpipeline.h:
6244 Handle seeking as described in design doc, remove stream_time
6246 Cleanups clock and stream_time selection code. Added accessors
6247 for the stream_time.
6250 2005-07-16 Andy Wingo <wingo@pobox.com>
6252 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6255 2005-07-16 Wim Taymans <wim@fluendo.com>
6257 * check/gst/gstbin.c: (GST_START_TEST):
6258 Make elements silent as the deep_notify refs the
6259 parent, which might make the test fail.
6261 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6262 Don't hold the lock for too long.
6264 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6266 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6267 Don't unref the caps we passed to gst_caps_make_writable() after
6268 passing them. gst_caps_make_writable() will do that for us.
6270 2005-07-15 Andy Wingo <wingo@pobox.com>
6272 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6275 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6276 own marshalling function for the handoff signal. Properly type the
6277 buffer as a buffer. Fixes some warnings. Should do a more general
6279 (gst_identity_class_init): Plug into the right marshaller.
6281 2005-07-15 Wim Taymans <wim@fluendo.com>
6283 * docs/design/part-TODO.txt:
6284 * docs/design/part-clocks.txt:
6285 * docs/design/part-element-sink.txt:
6286 * docs/design/part-events.txt:
6287 * docs/design/part-gstpipeline.txt:
6288 Updated docs, mostly DISCONT related.
6290 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6292 * docs/pwg/building-pads.xml:
6293 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6295 2005-07-15 Andy Wingo <wingo@pobox.com>
6297 * tools/gst-typefind.c: Update, add copyright block.
6299 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6300 Normalize and truncate caps before fixation.
6303 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6304 discards all but the first structure from its argument.
6306 2005-07-15 Wim Taymans <wim@fluendo.com>
6308 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6309 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6310 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6311 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6312 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6313 (gst_base_transform_chain), (gst_base_transform_change_state),
6314 (gst_base_transform_set_passthrough),
6315 (gst_base_transform_is_passthrough):
6316 * gst/base/gstbasetransform.h:
6317 Make passthrough work using the bufferpools.
6318 Changed API a bit, subclasses have to write into a buffer
6319 provided by the base class.
6320 More debug info in nego functions.
6322 * gst/elements/gstidentity.c: (gst_identity_init),
6323 (gst_identity_transform):
6324 Port to new base class.
6326 2005-07-15 Wim Taymans <wim@fluendo.com>
6328 * gst/gstmessage.c: (gst_message_new_state_changed):
6329 * tools/gst-launch.c: (event_loop), (main):
6330 Totally dump messages in -launch with the -m option.
6331 Fix message name for State messages,
6333 2005-07-14 Wim Taymans <wim@fluendo.com>
6335 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6336 Post error messages on errors.
6338 2005-07-14 Wim Taymans <wim@fluendo.com>
6340 * gst/gstcaps.c: (gst_caps_do_simplify):
6344 Define error for stream stopped.
6346 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6347 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6348 Do proper return values.
6350 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6351 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6352 (gst_pad_get_range):
6353 Better return values.
6356 Reorganise return values, add macro to check for fatal errors.
6358 * gst/gstqueue.c: (gst_queue_chain):
6359 Return proper GstFlowReturn values,
6361 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6363 * docs/gst/gstreamer-sections.txt:
6364 * docs/gst/gstreamer.types:
6365 * docs/gst/tmpl/gst.sgml:
6366 * docs/gst/tmpl/gstbasesink.sgml:
6367 * docs/gst/tmpl/gstbasesrc.sgml:
6368 * docs/gst/tmpl/gstbasetransform.sgml:
6369 * docs/gst/tmpl/gstbin.sgml:
6370 * docs/gst/tmpl/gstbuffer.sgml:
6371 * docs/gst/tmpl/gstcaps.sgml:
6372 * docs/gst/tmpl/gstclock.sgml:
6373 * docs/gst/tmpl/gstcompat.sgml:
6374 * docs/gst/tmpl/gstconfig.sgml:
6375 * docs/gst/tmpl/gstelement.sgml:
6376 * docs/gst/tmpl/gstelementdetails.sgml:
6377 * docs/gst/tmpl/gstelementfactory.sgml:
6378 * docs/gst/tmpl/gstenumtypes.sgml:
6379 * docs/gst/tmpl/gsterror.sgml:
6380 * docs/gst/tmpl/gstevent.sgml:
6381 * docs/gst/tmpl/gstfakesink.sgml:
6382 * docs/gst/tmpl/gstfakesrc.sgml:
6383 * docs/gst/tmpl/gstfilesink.sgml:
6384 * docs/gst/tmpl/gstfilesrc.sgml:
6385 * docs/gst/tmpl/gstfilter.sgml:
6386 * docs/gst/tmpl/gstformat.sgml:
6387 * docs/gst/tmpl/gstghostpad.sgml:
6388 * docs/gst/tmpl/gstimplementsinterface.sgml:
6389 * docs/gst/tmpl/gstindex.sgml:
6390 * docs/gst/tmpl/gstindexfactory.sgml:
6391 * docs/gst/tmpl/gstinfo.sgml:
6392 * docs/gst/tmpl/gstiterator.sgml:
6393 * docs/gst/tmpl/gstmacros.sgml:
6394 * docs/gst/tmpl/gstmemchunk.sgml:
6395 * docs/gst/tmpl/gstminiobject.sgml:
6396 * docs/gst/tmpl/gstobject.sgml:
6397 * docs/gst/tmpl/gstpad.sgml:
6398 * docs/gst/tmpl/gstpadtemplate.sgml:
6399 * docs/gst/tmpl/gstparse.sgml:
6400 * docs/gst/tmpl/gstpipeline.sgml:
6401 * docs/gst/tmpl/gstplugin.sgml:
6402 * docs/gst/tmpl/gstpluginfeature.sgml:
6403 * docs/gst/tmpl/gstquery.sgml:
6404 * docs/gst/tmpl/gstqueue.sgml:
6405 * docs/gst/tmpl/gstregistry.sgml:
6406 * docs/gst/tmpl/gstregistrypool.sgml:
6407 * docs/gst/tmpl/gstscheduler.sgml:
6408 * docs/gst/tmpl/gstschedulerfactory.sgml:
6409 * docs/gst/tmpl/gststructure.sgml:
6410 * docs/gst/tmpl/gstsystemclock.sgml:
6411 * docs/gst/tmpl/gsttaglist.sgml:
6412 * docs/gst/tmpl/gsttagsetter.sgml:
6413 * docs/gst/tmpl/gsttrace.sgml:
6414 * docs/gst/tmpl/gsttrashstack.sgml:
6415 * docs/gst/tmpl/gsttypefind.sgml:
6416 * docs/gst/tmpl/gsttypefindfactory.sgml:
6417 * docs/gst/tmpl/gsttypes.sgml:
6418 * docs/gst/tmpl/gsturihandler.sgml:
6419 * docs/gst/tmpl/gsturitype.sgml:
6420 * docs/gst/tmpl/gstutils.sgml:
6421 * docs/gst/tmpl/gstvalue.sgml:
6422 * docs/gst/tmpl/gstversion.sgml:
6423 * docs/gst/tmpl/gstxml.sgml:
6424 * docs/libs/tmpl/gstcontrol.sgml:
6425 * docs/libs/tmpl/gstdataprotocol.sgml:
6426 * docs/libs/tmpl/gstdparam.sgml:
6427 * docs/libs/tmpl/gstdplinint.sgml:
6428 * docs/libs/tmpl/gstdpman.sgml:
6429 * docs/libs/tmpl/gstdpsmooth.sgml:
6430 * docs/libs/tmpl/gstgetbits.sgml:
6431 * docs/libs/tmpl/gstunitconvert.sgml:
6432 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6433 (gst_push_src_base_init), (gst_push_src_class_init),
6434 (gst_push_src_init), (gst_push_src_create):
6435 * gst/base/gstpushsrc.h:
6436 * gst/elements/gstelements.c:
6437 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6438 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6439 (gst_fake_sink_init), (gst_fake_sink_set_property),
6440 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6441 (gst_fake_sink_event), (gst_fake_sink_preroll),
6442 (gst_fake_sink_render), (gst_fake_sink_change_state):
6443 * gst/elements/gstfakesink.h:
6444 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6445 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6446 (gst_fake_src_base_init), (gst_fake_src_class_init),
6447 (gst_fake_src_init), (gst_fake_src_event_handler),
6448 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6449 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6450 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6451 (gst_fake_src_create_buffer), (gst_fake_src_create),
6452 (gst_fake_src_start), (gst_fake_src_stop):
6453 * gst/elements/gstfakesrc.h:
6454 * gst/elements/gstfilesink.c: (_do_init),
6455 (gst_file_sink_base_init), (gst_file_sink_class_init),
6456 (gst_file_sink_init), (gst_file_sink_dispose),
6457 (gst_file_sink_set_location), (gst_file_sink_set_property),
6458 (gst_file_sink_get_property), (gst_file_sink_open_file),
6459 (gst_file_sink_close_file), (gst_file_sink_query),
6460 (gst_file_sink_event), (gst_file_sink_render),
6461 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6462 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6463 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6464 * gst/elements/gstfilesink.h:
6465 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6466 (gst_file_src_class_init), (gst_file_src_init),
6467 (gst_file_src_finalize), (gst_file_src_set_location),
6468 (gst_file_src_set_property), (gst_file_src_get_property),
6469 (gst_file_src_map_region), (gst_file_src_map_small_region),
6470 (gst_file_src_create_mmap), (gst_file_src_create_read),
6471 (gst_file_src_create), (gst_file_src_is_seekable),
6472 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6473 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6474 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6475 (gst_file_src_uri_handler_init):
6476 * gst/elements/gstfilesrc.h:
6477 more autistic cleanliness in functions/names/defines
6479 2005-07-13 Andy Wingo <wingo@pobox.com>
6481 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6482 source couldn't negotiate.
6484 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6488 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6489 function. I am channeling Hades. Put your boots on suckers!!!
6491 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6493 * testsuite/caps/Makefile.am:
6494 * testsuite/caps/value_compare.c:
6495 * testsuite/caps/value_intersect.c:
6496 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6497 move two testsuite apps over to the check dir
6499 2005-07-12 Wim Taymans <wim@fluendo.com>
6501 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6502 Added more debug info in the negotiate process.
6505 Prepare for segment playback.
6507 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6513 * tools/gst-launch.c: (main):
6514 NULL pipeline on errors.
6516 2005-07-12 Andy Wingo <wingo@pobox.com>
6518 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6519 not it comes from a malloc region. Make sure our copy gets freed.
6521 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6523 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6524 * check/gst/gstmessage.c: (GST_START_TEST):
6525 * check/gst/gststructure.c: (GST_START_TEST),
6526 (gst_structure_suite), (main):
6528 * gst/gstelement.c: (gst_element_message_full):
6529 clean up GError and debug string now that they get copied
6530 * gst/gstmessage.c: (gst_message_new_error),
6531 (gst_message_new_warning), (gst_message_parse_error),
6532 (gst_message_parse_warning):
6533 use GST_TYPE_G_ERROR for structure_new, and take copies of
6534 arguments, so that we don't mess up refcounting
6536 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6538 * check/Makefile.am:
6539 add per-test valgrind targets
6540 * check/gst-libs/gdp.c: (GST_START_TEST),
6541 (gst_data_protocol_suite), (main):
6544 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6546 * check/Makefile.am:
6547 instate more valgrindable tests
6548 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6549 (GST_START_TEST), (fakesrc_suite):
6550 * check/gst/gstpad.c: (GST_START_TEST):
6551 * check/gst/gststructure.c: (GST_START_TEST):
6553 * docs/gst/tmpl/gstminiobject.sgml:
6554 * gst/gstpad.c: (gst_pad_finalize):
6555 fix the static mutex leak
6557 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6559 * check/Makefile.am:
6560 add two more tests for valgrinding
6561 * check/gst/gstvalue.c: (GST_START_TEST):
6562 test refcount of deserialized buffer, found a leak
6563 * docs/gst/gstreamer-docs.sgml:
6564 * docs/gst/gstreamer-sections.txt:
6565 * docs/gst/gstreamer.types:
6566 * docs/gst/tmpl/gstminiobject.sgml:
6567 add miniobject to docs
6568 * gst/gstminiobject.c:
6570 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6571 (gst_string_unwrap):
6572 fix a hard-to-find invalid write for one of the tests
6573 fix a leak for deserialized buffers
6575 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6577 * docs/pwg/advanced-events.xml:
6578 * docs/pwg/advanced-request.xml:
6579 * docs/pwg/advanced-scheduling.xml:
6580 * docs/pwg/appendix-porting.xml:
6581 * docs/pwg/building-boiler.xml:
6582 * docs/pwg/intro-preface.xml:
6583 * docs/pwg/other-ntoone.xml:
6584 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6585 of example code and explanation for pad activation, loop() and
6586 getrange() functions and a bit more. Remove old comments pointing
6588 * examples/pwg/Makefile.am:
6589 Add loop/getrange examples.
6591 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6594 check for valgrind binary + some fixes
6596 valgrind suppressions for the tests
6597 * check/Makefile.am:
6598 add a valgrind: target that valgrinds the unit tests
6599 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6600 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6601 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6602 * check/gst/gstghostpad.c:
6604 * check/gst/gstdata.c:
6606 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6607 (thread_unref), (gst_mini_object_suite), (main):
6609 * gst/gst.c: (gst_deinit):
6611 add a method to clean up.
6612 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6613 (gst_system_clock_obtain):
6614 allow for disposing the system clock.
6615 * tools/gst-launch.c: (main):
6618 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6620 * docs/gst/tmpl/gstbasesrc.sgml:
6621 * docs/gst/tmpl/gstfakesrc.sgml:
6622 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6623 (gst_base_src_init), (gst_base_src_set_property),
6624 (gst_base_src_get_property), (gst_base_src_get_range),
6625 (gst_base_src_start):
6626 * gst/base/gstbasesrc.h:
6627 add num-buffers property
6628 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6629 (gst_fakesrc_init), (gst_fakesrc_set_property),
6630 (gst_fakesrc_get_property), (gst_fakesrc_create),
6631 (gst_fakesrc_start):
6632 remove num-buffers property
6634 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6636 * docs/gst/gstreamer-sections.txt:
6637 * docs/gst/tmpl/gstbasesink.sgml:
6638 * docs/gst/tmpl/gstbasesrc.sgml:
6639 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6640 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6641 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6642 (gst_base_sink_set_property), (gst_base_sink_get_property),
6643 (gst_base_sink_handle_object), (gst_base_sink_event),
6644 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6645 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6646 (gst_base_sink_loop), (gst_base_sink_deactivate),
6647 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6648 (gst_base_sink_change_state):
6649 * gst/base/gstbasesink.h:
6650 * gst/base/gstbasesrc.h:
6651 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6652 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6653 (gst_filesink_init):
6654 more macro splitting
6656 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6658 * gst/gstelement.c: (gst_element_get_bus):
6660 * tools/gst-launch.c: (check_intr), (event_loop):
6663 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6665 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6668 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6670 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6671 (gst_base_src_finalize):
6672 add finalize method and clean up properly
6673 * gst/gstpipeline.c: (gst_pipeline_dispose):
6676 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6678 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6680 add more things to check
6681 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6685 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6687 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6688 (GST_START_TEST), (fakesrc_suite):
6689 * check/gst-libs/gdp.c: (GST_START_TEST):
6690 * check/gst/gst.c: (GST_START_TEST):
6691 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6692 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6693 * check/gst/gstbus.c: (GST_START_TEST):
6694 * check/gst/gstcaps.c: (GST_START_TEST):
6695 * check/gst/gstdata.c: (GST_START_TEST):
6696 * check/gst/gstelement.c: (GST_START_TEST):
6697 * check/gst/gstghostpad.c: (GST_START_TEST):
6698 * check/gst/gstiterator.c: (GST_START_TEST):
6699 * check/gst/gstmessage.c: (GST_START_TEST):
6700 * check/gst/gstobject.c: (GST_START_TEST):
6701 * check/gst/gstpad.c: (GST_START_TEST):
6702 * check/gst/gststructure.c: (GST_START_TEST):
6703 * check/gst/gstsystemclock.c: (GST_START_TEST),
6704 (gst_systemclock_suite):
6705 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6706 * check/gst/gstvalue.c: (GST_START_TEST):
6707 * check/pipelines/cleanup.c: (GST_START_TEST):
6708 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6709 * check/states/sinks.c: (GST_START_TEST):
6710 * check/gstcheck.c: (gst_check_init):
6712 add debugging category
6713 use GST_START_TEST now, so we add a debug line
6715 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6717 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6718 add test for state change message on a bin
6719 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6721 * gst/gstbin.c: (gst_bin_init):
6722 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6723 * gst/gstelement.c: (gst_element_post_message),
6724 (gst_element_set_state):
6725 * gst/gstelementfactory.c: (gst_element_factory_create):
6726 * gst/gstmessage.c: (gst_message_new):
6727 * gst/gstscheduler.c:
6728 various debugging additions and cleanups
6730 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6732 * check/Makefile.am:
6733 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6735 adding tests for elements
6736 * gst/gstelement.c: (gst_element_dispose):
6738 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6740 * gst/registries/gstlibxmlregistry.c: (load_feature):
6741 plug more leaks. A simple gst_init() now is leakfree, yay.
6743 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6745 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6746 (gst_xml_registry_load):
6747 plug another memleak
6749 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6752 use GST_SET_ERROR_CFLAGS
6754 change to ERROR_CFLAGS
6756 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6759 make GST_ERROR_CFLAGS overridable and re-enable Werror
6761 add a note about error CFLAGS
6762 * docs/gst/tmpl/gstfakesrc.sgml:
6763 * gst/elements/gstfakesrc.c:
6764 comment out some unused code
6765 * gst/gst.c: (split_and_iterate):
6766 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6770 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6772 * common/Makefile.am:
6773 * common/gtk-doc.mak:
6774 * docs/gst/Makefile.am:
6775 factor out gtk-doc.mak
6777 2005-07-07 Wim Taymans <wim@fluendo.com>
6779 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6780 (gst_thread_scheduler_dispose):
6781 Unlock the STREAM_LOCK completely.
6783 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6785 * check/Makefile.am:
6786 * check/elements/.cvsignore:
6787 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6788 (START_TEST), (fakesrc_suite), (main):
6789 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6790 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6791 (gst_fakesrc_create), (gst_fakesrc_start):
6792 * gst/elements/gstfakesrc.h:
6793 adding a first element test
6795 2005-07-07 Andy Wingo <wingo@pobox.com>
6797 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6800 2005-07-07 Wim Taymans <wim@fluendo.com>
6806 2005-07-07 Wim Taymans <wim@fluendo.com>
6808 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6809 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6810 Allow subclasses to implement their own negotiation.
6812 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6814 * docs/design/part-gstbin.txt:
6815 * docs/design/part-gstpipeline.txt:
6816 Update design notes to reflect the movement of
6817 responsibility for bus handling from GstPipeline to
6820 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6823 Remove unnecessary queue2/3/4 examples.
6825 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6827 * examples/Makefile.am:
6828 * examples/helloworld/helloworld.c: (event_loop), (main):
6829 * examples/queue/queue.c: (event_loop), (main):
6830 * examples/queue2/queue2.c: (main):
6831 Update a couple of the examples to work again.
6833 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6834 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6835 Spelling corrections and extra debug.
6837 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6838 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6839 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6841 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6842 (gst_pipeline_change_state):
6843 * gst/gstpipeline.h:
6844 Move the bus handler for children to the GstBin, and create a
6845 separate bus for receiving messages from children to the one the
6846 bus sends 'upwards' on.
6848 2005-07-06 Wim Taymans <wim@fluendo.com>
6851 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6852 (gst_base_sink_handle_object), (gst_base_sink_loop),
6853 (gst_base_sink_change_state):
6854 * gst/base/gstbasesink.h:
6855 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6856 (gst_base_src_init), (gst_base_src_setcaps),
6857 (gst_base_src_getcaps), (gst_base_src_loop),
6858 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6859 (gst_base_src_start), (gst_base_src_change_state):
6860 * gst/base/gstbasesrc.h:
6861 Make basesrc negotiate.
6862 Handle the case where preroll fails in basesink.
6865 2005-07-06 Wim Taymans <wim@fluendo.com>
6867 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6868 Implement the fixate function.
6869 Clean up acceptcaps.
6871 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6873 * docs/pwg/building-filterfactory.xml:
6875 Remove never-written filter-factory chapter; I'll add the various
6876 base classes to part 4 ("other element types") later on.
6878 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6880 * docs/pwg/advanced-negotiation.xml:
6881 * docs/pwg/building-boiler.xml:
6882 * docs/pwg/building-pads.xml:
6884 * examples/pwg/Makefile.am:
6885 Add a chapter on caps negotiation, simplify the original code
6886 samples a bit w.r.t. caps negotiation, add link to the advanced
6887 section. Add a bunch of examples showing different use cases of
6888 different types of caps negotiation. Upstream renegotiation isn't
6889 fully documented yet since nobody knows how that works.
6891 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6893 * check/gst/gstpad.c:
6895 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6896 if pad has no parent, return NULL as list of internal links
6898 2005-07-05 Andy Wingo <wingo@pobox.com>
6900 * gst/elements/gstfilesrc.c:
6901 * gst/elements/gstfakesrc.c:
6902 * gst/base/gstpushsrc.c:
6903 * gst/base/gstbasesrc.h:
6904 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6906 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6909 better report generation target (lcov needs a patch)
6911 2005-07-05 Andy Wingo <wingo@pobox.com>
6913 * gst/elements, testsuite: Null if we got it...
6915 2005-07-05 Wim Taymans <wim@fluendo.com>
6918 * libs/gst/dataprotocol/Makefile.am:
6919 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6920 * libs/gst/dataprotocol/dataprotocol.h:
6921 * pkgconfig/Makefile.am:
6922 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6923 * pkgconfig/gstreamer-dataprotocol.pc.in:
6924 Ported dataprotol to 0.9.
6925 Added pkgconfig files.
6927 2005-07-05 Andy Wingo <wingo@pobox.com>
6929 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6930 Default to returning TRUE for the case when tranform_caps returns
6931 a fixed caps, like for identity or volume.
6933 * check/gst/gstbus.c (pound_bus_with_messages):
6934 * check/gst/gstmessage.c (START_TEST):
6935 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6938 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6939 logic weaks here: always run transform_caps, trying passthrough
6940 operation only if the original caps intersects with the transform.
6942 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6943 source and sink caps.
6945 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6946 Intersect the peer caps with the pad template before going into
6948 (gst_base_transform_transform_caps): More debugging.
6950 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6953 2005-07-04 Edward Hervey <edward@fluendo.com>
6957 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6960 2005-07-04 Andy Wingo <wingo@pobox.com>
6962 * check/gst/gstpad.c: Only set explicit caps on pads.
6964 2005-07-01 Andy Wingo <wingo@pobox.com>
6966 * tests/network-clock.scm: Commentary update.
6968 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6969 Didn't really make sense, not implementable with basetransform,
6971 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6972 attempt at implementing the sync property, needs an unlock method.
6974 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6975 New func, by default returns the same caps (the identity
6977 (gst_base_transform_getcaps): Uses transform_caps to return
6979 (gst_base_transform_setcaps): Complicated logic to get caps on
6980 both pads, even if they are different, and to call set_caps once
6981 for every time both pads get their caps set.
6982 (gst_base_transform_handle_buffer): Give the ref to the transform
6983 function. Allows in-place modification of the buffer.
6985 * gst/base/gstbasetransform.h (transform_caps): New class method.
6986 Given caps on one side, what can I do on the other.
6987 (set_caps): Take two caps, one for each side of the element.
6990 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6991 caps in place. This is safe because we can check the mutability of
6992 the caps, and a good idea because fixate functions are just called
6993 as a matter of last resort. (Not actually implemented.)
6994 (gst_pad_set_caps): If the caps we're setting is actually the same
6995 as the existing pad caps, just update the pointer without calling
6996 setcaps. Assert that caps is either NULL or fixed, as per the
6999 * gst/gstghostpad.c: Update for fixate changes.
7001 2005-07-02 Andy Wingo <wingo@pobox.com>
7004 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7005 two refcounts makes it immutable, which is enough. Doc more.
7007 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7009 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7010 Put the mini_object into GValue as a mini_object,
7011 not a gpointer, since that's how we declared
7014 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7016 * examples/pwg/Makefile.am:
7019 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7021 * docs/pwg/building-testapp.xml:
7023 * examples/pwg/Makefile.am:
7026 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7029 * examples/Makefile.am:
7030 * examples/pwg/Makefile.am:
7031 * examples/pwg/extract.pl:
7032 Enable building the PWG examples.
7033 * docs/pwg/advanced-interfaces.xml:
7034 Add URI interface stub.
7035 * docs/pwg/advanced-types.xml:
7036 * docs/pwg/other-autoplugger.xml:
7037 * docs/pwg/appendix-porting.xml:
7039 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7040 * docs/pwg/building-boiler.xml:
7041 * docs/pwg/building-chainfn.xml:
7042 * docs/pwg/building-pads.xml:
7043 * docs/pwg/building-props.xml:
7044 * docs/pwg/building-state.xml:
7045 * docs/pwg/building-testapp.xml:
7046 Update the building-*.xml parts for 0.9 changes. All examples
7047 code blocks compile in examples/pwg/*.
7049 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7051 * docs/manual/advanced-autoplugging.xml:
7052 * docs/manual/appendix-checklist.xml:
7053 * docs/manual/appendix-integration.xml:
7054 * docs/manual/highlevel-components.xml:
7055 Fix playbin/decodebin examples, update docs a bit, mention bus
7056 instead of signals in various places, mention kmplayer and
7057 kaffeine since they have a working GStreamer backend in the KDE
7060 2005-06-30 Wim Taymans <wim@fluendo.com>
7063 * docs/design/draft-ghostpads.txt:
7064 * docs/design/draft-push-pull.txt:
7065 * docs/design/draft-query.txt:
7066 * docs/design/part-TODO.txt:
7067 * docs/design/part-query.txt:
7068 Added CHANGES-0.9 doc, updated status of other docs.
7073 2005-06-30 Wim Taymans <wim@fluendo.com>
7075 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7076 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7077 (gst_base_sink_change_state):
7078 * gst/base/gstbasesink.h:
7079 Some tweaks, only EOS and a buffer complete a preroll.
7081 2005-06-30 Andy Wingo <wingo@pobox.com>
7083 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7084 activate_push down to the internal pad as well.
7086 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7088 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7090 * gst/gsttaginterface.c:
7091 Some documentation fixes (#307394 and #307397).
7093 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7095 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7097 * gst/gstvalue.c: (gst_value_intersect_list):
7098 Fix memleak (#309125).
7100 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7102 * docs/manual/advanced-dataaccess.xml:
7103 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7104 * docs/manual/basics-pads.xml:
7105 Add reference for filtered caps to above chapter.
7107 2005-06-30 Wim Taymans <wim@fluendo.com>
7109 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7110 (gst_bin_change_state):
7112 Lame attempt at making the state change function a bit
7115 2005-06-30 Wim Taymans <wim@fluendo.com>
7117 * docs/design/part-clocks.txt:
7118 * docs/design/part-element-sink.txt:
7119 * docs/design/part-events.txt:
7120 * docs/design/part-preroll.txt:
7121 * docs/design/part-states.txt:
7122 Some more tweeks and additions to the docs.
7124 2005-06-30 Wim Taymans <wim@fluendo.com>
7126 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7127 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7128 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7129 (gst_pad_check_pull_range), (gst_pad_get_range),
7130 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7132 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7133 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7134 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7135 (gst_pad_remove_buffer_probe):
7136 Removed atomic operations, use existing LOCK.
7137 Move exception handling out of main code path.
7139 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7141 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7142 (silly_return_true_function), (gst_pad_class_init),
7143 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7144 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7145 (gst_pad_send_event):
7146 Fix accumulator, add default value by using _emitv() instead
7147 of _emit() for signal emission.
7149 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7151 * docs/manual/advanced-dataaccess.xml:
7152 * examples/manual/Makefile.am:
7154 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7157 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7159 * gst/elements/gstfilesink.c: (gst_filesink_render):
7160 Simplify code so that we don't have to handle short
7161 writes and return GST_FLOW_ERROR if an error occured.
7163 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7165 * docs/gst/gstreamer-docs.sgml:
7168 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7170 * docs/gst/gstreamer-sections.txt:
7171 * docs/gst/tmpl/gstpad.sgml:
7172 * docs/gst/tmpl/gstprobe.sgml:
7174 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7175 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7176 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7177 (gst_pad_push_event), (gst_pad_send_event):
7179 * gst/gstutils.c: (gst_pad_add_data_probe),
7180 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7181 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7182 (gst_pad_remove_buffer_probe):
7184 Remove old probes, add new g-signal-based probes and some utility
7187 2005-06-29 Edward Hervey <edward@fluendo.com>
7189 * gst/gstelementfactory.c:
7192 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7193 the definition to the header file.
7195 2005-06-29 Andy Wingo <wingo@pobox.com>
7197 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7198 plugins from the source directory.
7200 2005-06-29 Wim Taymans <wim@fluendo.com>
7202 * docs/gst/tmpl/gstbuffer.sgml:
7203 * docs/gst/tmpl/gstclock.sgml:
7204 Some fixings for blantently wrong text.
7206 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7208 * check/Makefile.am:
7209 * gst/gst.c: (add_path_func), (init_pre):
7210 * gst/gstregistry.c: (gst_registry_add_path):
7211 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7212 only scan the GST_PLUGIN_PATH locations, and not add
7215 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7217 * docs/gst/gstreamer-sections.txt:
7218 * docs/gst/tmpl/gstbasesrc.sgml:
7225 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7227 * docs/manual/advanced-autoplugging.xml:
7228 Fix autoplugging example.
7230 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7232 * docs/manual/advanced-autoplugging.xml:
7233 * docs/manual/mime-world.fig:
7234 Try to get autoplugging working, fix type detection. Fix text
7235 in hello-world image.
7237 2005-06-29 Wim Taymans <wim@fluendo.com>
7239 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7240 (gst_base_sink_change_state):
7244 map SIGNAL and BROADCAST to the right function.
7247 Remove redundant braces.
7249 * gst/gstpad.c: (gst_pad_set_caps):
7250 Don't call setcaps function when reseting caps to NULL.
7252 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7253 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7254 (gst_system_clock_id_unschedule):
7255 Use BROADCAST as this is what we do.
7257 2005-06-29 Wim Taymans <wim@fluendo.com>
7259 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7260 We are actually prerolling before commiting the state
7263 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7265 * docs/manual/advanced-clocks.xml:
7266 * docs/manual/advanced-interfaces.xml:
7267 * docs/manual/advanced-metadata.xml:
7268 * docs/manual/advanced-position.xml:
7269 * docs/manual/advanced-schedulers.xml:
7270 * docs/manual/advanced-threads.xml:
7271 * docs/manual/appendix-porting.xml:
7272 * docs/manual/basics-bins.xml:
7273 * docs/manual/basics-bus.xml:
7274 * docs/manual/basics-elements.xml:
7275 * docs/manual/basics-helloworld.xml:
7276 * docs/manual/basics-pads.xml:
7277 * docs/manual/highlevel-components.xml:
7278 * docs/manual/manual.xml:
7279 * docs/manual/thread.fig:
7280 Update (until threads/scheduling) Application Development Manual;
7281 remove GstThread, add GstBus, add simple porting checklist, add
7282 documentation for tag writing, clocks, make all examples until this
7283 part compile and run.
7284 * examples/manual/Makefile.am:
7285 Update from changes to Application Development Manual; add bus
7286 example, remove thread example.
7288 2005-06-28 Wim Taymans <wim@fluendo.com>
7290 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7291 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7292 (gst_bus_source_dispatch):
7293 Add debugging messages.
7294 Make internal methods static.
7295 Handle the case where the bus is flushed in the handler.
7297 * gst/gstelement.c: (gst_element_get_bus):
7298 Fix refcount in _get_bus();
7300 * gst/gstpipeline.c: (gst_pipeline_change_state),
7301 (gst_pipeline_get_clock_func):
7302 Clock refcounting fixes.
7303 Handle the case where preroll timed out more gracefully.
7305 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7306 Clean up the internal thread in dispose. This is needed
7307 for subclasses that actually get disposed.
7309 * gst/schedulers/threadscheduler.c:
7310 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7311 (gst_thread_scheduler_dispose):
7312 Free thread pool in dispose.
7314 2005-06-28 Andy Wingo <wingo@pobox.com>
7316 * tests/network-clock-utils.scm (debug, print-event): New utils.
7318 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7319 (*packet-loss*): Unified loss probability.
7320 (network-time): Report out-of-band events.
7322 * tests/plot-data: Add support for out-of-band events. Hack it
7323 into this script instead of passing it down the pipe; should fix
7326 2005-06-28 Wim Taymans <wim@fluendo.com>
7328 * docs/gst/gstreamer.types:
7329 * docs/gst/tmpl/gstbasesrc.sgml:
7330 * docs/gst/tmpl/gstpad.sgml:
7333 2005-06-28 Wim Taymans <wim@fluendo.com>
7335 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7336 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7337 (gst_proxy_pad_do_fixatecaps):
7338 Correctly proxy the check_pull_range function.
7340 2005-06-28 Andy Wingo <wingo@pobox.com>
7342 * tests/network-clock.scm: Removed need for slib.
7344 2005-06-28 Wim Taymans <wim@fluendo.com>
7346 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7347 (gst_basesink_preroll_queue_flush):
7348 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7349 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7350 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7351 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7352 (gst_proxy_pad_set_property):
7355 * gst/gstqueue.c: (gst_queue_init):
7356 The deprecated pad loop function is removed now.
7358 2005-06-28 Andy Wingo <wingo@pobox.com>
7360 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7361 New parameters, simulate network packet loss.
7363 * tests/network-clock-utils.scm: Initialize the RNG.
7365 2005-06-28 Wim Taymans <wim@fluendo.com>
7367 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7368 (gst_basesink_event), (gst_basesink_deactivate):
7369 Flushing the preroll queue always needs to unlock the waiters.
7371 2005-06-28 Edward Hervey <edward@fluendo.com>
7373 * gst/gstpipeline.c: (gst_pipeline_send_event):
7374 Wheen a seek was successful on a pipeline, set the stream_time to the
7375 seek offset in order to have a synchronized stream_time.
7377 2005-06-28 Wim Taymans <wim@fluendo.com>
7379 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7380 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7381 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7382 (gst_proxy_pad_do_fixatecaps):
7383 Call wrapper function instead of just calling the function
7384 pointers. This takes care of any locking and whatmore.
7386 2005-06-28 Wim Taymans <wim@fluendo.com>
7388 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7389 (gst_pad_pull_range):
7391 CONNECTED -> LINKED.
7393 2005-06-28 Andy Wingo <wingo@pobox.com>
7395 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7396 source-munging commit!!!
7398 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7399 (gst_object_sink): Take gpointer arguments, not GstObject --
7400 avoids casts. Like GLib.
7402 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7405 2005-06-27 Andy Wingo <wingo@pobox.com>
7407 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7410 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7411 returns a sorted copy of the trace list.
7412 (gst_alloc_trace_print_live): New API, only prints traces with
7413 live objects. Sort the list.
7414 (gst_alloc_trace_print_all): Sort the list.
7415 (gst_alloc_trace_print): Align columns.
7417 * gst/elements/gstttypefindelement.c:
7418 * gst/elements/gsttee.c:
7419 * gst/base/gstbasesrc.c:
7420 * gst/base/gstbasesink.c:
7421 * gst/base/gstbasetransform.c:
7422 * gst/gstqueue.c: Adapt for pad activation changes.
7424 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7426 (gst_pipeline_dispose): Drop ref on sched.
7428 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7429 (gst_pad_activate_default): Push mode by default.
7430 (pre_activate_switch, post_activate_switch): New stubs, things to
7431 do before and after switching activation modes on pads.
7432 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7433 the pad's activate function to choose which mode to activate.
7434 Shortcut on deactivation and call the right function directly.
7435 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7437 (gst_pad_activate_push): New API, same for push mode.
7438 (gst_pad_set_activate_function)
7439 (gst_pad_set_activatepull_function)
7440 (gst_pad_set_activatepush_function): Setters for new API.
7442 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7443 Trace all miniobjects.
7444 (gst_mini_object_make_writable): Unref the arg if we copy, like
7445 gst_caps_make_writable.
7447 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7449 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7450 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7451 Adapt for new pad API.
7453 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7456 * gst/gstelement.c (gst_element_iterate_src_pads)
7457 (gst_element_iterate_sink_pads): New API functions.
7459 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7460 should fold into gstiterator.c in some form.
7461 (gst_element_pads_activate): Simplified via use of fold and
7462 delegation of decisions to gstpad->activate.
7464 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7467 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7468 class once in init, like gstmessage. Didn't run into this issue
7469 but it seems correct. Don't initialize a trace, gstminiobject does
7472 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7473 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7475 (assert_live_count): New util function, uses alloc traces to check
7478 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7479 To be modified when unlink drops the internal pad.
7481 2005-06-27 Wim Taymans <wim@fluendo.com>
7483 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7484 (gst_bin_change_state):
7485 Cleanup the get_state() function a little, make sure it
7486 iterates the same set of elements.
7487 Added stub iterate_state_order().
7489 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7491 * docs/gst/gstreamer-docs.sgml:
7492 * docs/gst/gstreamer-sections.txt:
7493 * docs/gst/gstreamer.types:
7494 * docs/gst/tmpl/gstbasesink.sgml:
7495 * docs/gst/tmpl/gstbasesrc.sgml:
7496 * docs/gst/tmpl/gstbasetransform.sgml:
7497 * docs/gst/tmpl/gstelement.sgml:
7498 * docs/gst/tmpl/gstiterator.sgml:
7499 * gst/base/gstbasesrc.c:
7500 * gst/base/gstbasesrc.h:
7501 * gst/base/gstbasetransform.h:
7503 * gst/gstiterator.h:
7504 adding basetransform and iterator docs
7506 2005-06-27 Andy Wingo <wingo@pobox.com>
7508 * docs/design/part-activation.txt: Notes on how activation should
7509 work -- not quite implemented yet.
7511 2005-06-25 Wim Taymans <wim@fluendo.com>
7513 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7514 At least get the chain function correct, needs more
7517 2005-06-25 Wim Taymans <wim@fluendo.com>
7519 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7520 (gst_basesink_handle_object), (gst_basesink_event),
7521 (gst_basesink_do_sync), (gst_basesink_handle_event),
7522 (gst_basesink_change_state):
7524 Right, two problems here: ghostpads don't take locks and
7525 glib _rec_mutex_lock_full() with depth==0 still locks.
7526 Catch illegal locking and g_warn them.
7528 2005-06-25 Wim Taymans <wim@fluendo.com>
7530 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7531 Have to check for completion now...
7533 2005-06-25 Wim Taymans <wim@fluendo.com>
7535 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7536 (gst_basesink_handle_object), (gst_basesink_event),
7537 (gst_basesink_do_sync), (gst_basesink_handle_event),
7538 (gst_basesink_change_state):
7540 Unlock STREAM_LOCK whatever the recursion was.
7542 2005-06-25 Wim Taymans <wim@fluendo.com>
7544 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7545 (gst_basesink_preroll_queue_empty),
7546 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7547 (gst_basesink_event), (gst_basesink_do_sync),
7548 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7549 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7550 (gst_basesink_change_state):
7551 Reworked the base sink, handle event and buffer serialisation
7552 correctly and removed possible deadlock.
7553 Handle EOS correctly.
7555 2005-06-25 Wim Taymans <wim@fluendo.com>
7557 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7558 (gst_pipeline_change_state):
7559 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7560 Allow elements to post EOS in the state change function.
7561 Fix up -launch, make it exit the poll loop when the
7562 pipeline actually changed state.
7563 Fix up warning parsing in -launch.
7565 2005-06-25 Wim Taymans <wim@fluendo.com>
7567 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7568 (gst_tee_sink_activate):
7569 Core takes STREAM_LOCK for us now.
7571 2005-06-25 Wim Taymans <wim@fluendo.com>
7573 * gst/gstelement.c: (gst_element_get_state_func),
7574 (gst_element_set_state):
7576 * gst/gstmessage.c: (gst_message_parse_error),
7577 (gst_message_parse_warning):
7578 Keep track of current target state while performing a state
7579 change so that subclasses can do something interesting.
7580 Fix parsing of warning/error messages when GError is NULL.
7582 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7584 * docs/gst/Makefile.am:
7585 * docs/gst/gstreamer-docs.sgml:
7586 * docs/gst/gstreamer-sections.txt:
7587 * docs/gst/gstreamer.types:
7588 * docs/gst/tmpl/gstbasesink.sgml:
7589 * docs/gst/tmpl/gstbasesrc.sgml:
7590 * docs/gst/tmpl/gstbin.sgml:
7591 * docs/gst/tmpl/gstcompat.sgml:
7592 * docs/gst/tmpl/gstfakesink.sgml:
7593 * docs/gst/tmpl/gstfakesrc.sgml:
7594 * docs/gst/tmpl/gstfilesink.sgml:
7595 * docs/gst/tmpl/gstfilesrc.sgml:
7596 * docs/gst/tmpl/gstindex.sgml:
7597 * docs/manual/appendix-quotes.xml:
7598 * gst/base/gstbasesrc.h:
7599 * gst/elements/gstfakesrc.h:
7601 start pulling in base classes and elements in our docs
7603 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7605 * docs/gst/Makefile.am:
7606 * docs/libs/Makefile.am:
7607 fixed make distcheck with gtk-doc 1.3
7609 2005-06-23 Wim Taymans <wim@fluendo.com>
7611 * gst/gstelement.c: (gst_element_get_state_func),
7612 (gst_element_set_state), (gst_element_change_state):
7613 When the state did not change, also report NO_PREROLL
7616 2005-06-23 Wim Taymans <wim@fluendo.com>
7618 * gst/gstpad.c: (gst_pad_event_default):
7619 * gst/gstqueue.c: (gst_queue_loop):
7620 No unsafe task pausing please.
7622 2005-06-23 Wim Taymans <wim@fluendo.com>
7624 * gst/schedulers/threadscheduler.c:
7625 (gst_thread_scheduler_task_start),
7626 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7627 Ref the task before pushing it on the threadpool. This
7628 makes sure that we have a ref when the threadfunction is
7631 2005-06-23 Andy Wingo <wingo@pobox.com>
7633 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7634 offset is greater than the file's size.
7636 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7637 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7638 * gst/gstobject.c (gst_object_class_init): Make the class lock
7639 recursive. Wim won't let me drop deep_notify. Decodebin works
7642 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7643 internal pad, and hacks accordingly. Doesn't do it on the target
7644 pad because we change its caps. Probably catches all cases of
7646 (gst_ghost_pad_set_property): Connect to notify::caps as
7649 * tests/network-clock.scm (plot-simulation): Pipe data to the
7650 elite python skript.
7652 * tests/network-clock-utils.scm (define-parameter): New macro,
7653 defines a parameter that can be set via the command line.
7654 (set-parameter!, parse-parameter-arguments): Command line args
7657 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7660 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7662 * gst/elements/gsttypefindelement.c:
7663 (gst_type_find_element_handle_event):
7664 Don't restart typefinding on a discont.
7665 * gst/gstelement.c: (gst_element_set_state):
7667 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7668 Allow changing mode of an active pad.
7670 * gst/registries/gstlibxmlregistry.c: (load_feature):
7671 Don't cast a static pad template to a normal pad template.
7673 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7675 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7676 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7677 remove gst_strtoll completely, since it didn't actually do
7678 anything more than what g_ascii_strtoull already does.
7679 check for range errors when deserializing
7680 do a cast for the unsigned cases; but further fixing needs
7681 a decision on what the interpretation of "(int)" and
7682 deserialization should be for values that fall outside the
7683 type's boundaries (ie, refuse, or interpret as casting)
7685 2005-06-23 Wim Taymans <wim@fluendo.com>
7687 * check/Makefile.am:
7688 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7689 * docs/design/part-live-source.txt:
7690 * docs/design/part-states.txt:
7691 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7692 (gst_basesrc_set_live), (gst_basesrc_is_live),
7693 (gst_basesrc_get_range), (gst_basesrc_activate),
7694 (gst_basesrc_change_state):
7695 * gst/base/gstbasesrc.h:
7696 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7697 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7698 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7699 * gst/gstelement.c: (gst_element_get_state_func),
7700 (gst_element_set_state):
7703 * tools/gst-launch.c: (event_loop), (main):
7704 Added support for live sources and other elements that
7706 Updated design docs, added live-source design doc.
7707 Implemented live source functionality in basesrc
7708 Fix error condition in _bin_get_state()
7709 Implement live source handling in -launch.
7710 Added check for live sources.
7711 Fixed case in GstBin where elements were changed state
7715 2005-06-23 Andy Wingo <wingo@pobox.com>
7717 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7720 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7721 gst_caps_replace takes care of this for us.
7723 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7724 gst_pad_set_caps on the target, not just its setcaps() function.
7726 * tests/network-clock.scm:
7727 * tests/network-clock-utils.scm: A network clock simulator.
7728 Something of an algorithmic testbed before doing something in C.
7730 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7732 * check/Makefile.am:
7733 * check/gst/capslist.h:
7734 copy over from 0.8, and add two with bitmasks specified with
7736 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7737 add test to parse everything from capslist.h
7738 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7740 add test for structure deserialization
7741 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7742 add tests for deserialization of strings to int types
7743 * gst/gststructure.c: (gst_structure_nth_field_name):
7744 * gst/gststructure.h:
7745 add a way to get the name of a field referenced by index
7746 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7747 instead of checking if the resulting long long lies between
7748 min and max, we check if the long long would fit into
7749 a number of bytes for the final type.
7750 This fixes cases where a string represents 2^32 - 1, which
7751 when cast to int would be the (valid) -1, but is bigger than
7754 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7756 * gst/parse/grammar.y:
7757 add a log line for type deserialization
7759 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7761 * check/gst/gstvalue.c: (START_TEST):
7762 * gst/gstvalue.c: (gst_value_deserialize):
7763 return long long, not int, so gint64 deserialization actually
7764 works. Is there any flag that makes the compiler check this ?
7767 2005-06-22 Wim Taymans <wim@fluendo.com>
7770 Added convenience macros for setting buffers in GValue.
7772 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7774 * check/gst/.cvsignore:
7775 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7776 add a test deserializing int64, and comment part out because
7779 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7781 * check/Makefile.am:
7782 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7783 * testsuite/Makefile.am:
7784 * testsuite/caps/Makefile.am:
7785 * testsuite/caps/value_serialize.c:
7786 * testsuite/test_gst_init.c:
7787 move a value_serialize test over
7789 2005-06-20 Wim Taymans <wim@fluendo.com>
7794 * gst/gstvalue.c: (gst_value_compare_buffer),
7795 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7796 (gst_value_compare_flags), (gst_value_serialize_flags),
7797 (gst_value_deserialize_flags), (_gst_value_initialize):
7798 Fix serialisation of buffers, they are not boxed types anymore
7800 2005-06-20 Wim Taymans <wim@fluendo.com>
7802 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7803 Testcase to show error in buffer-on-caps serialisation.
7805 2005-06-20 Andy Wingo <wingo@pobox.com>
7807 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7808 will be adding to later.
7810 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7811 if its socks fill with rocks.
7812 (gst_system_clock_obtain): Set the name on object construction.
7813 Avoid double-checked locking.
7815 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7817 * gst/gsturi.c: (gst_element_make_from_uri):
7818 Fix potential endless loop.
7820 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7822 * check/Makefile.am:
7824 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7826 move over from testsuite dir and clean up
7829 * testsuite/Makefile.am:
7830 * testsuite/tags/.cvsignore:
7831 * testsuite/tags/Makefile.am:
7832 * testsuite/tags/merge.c:
7833 remove testsuite/tags
7835 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7837 * docs/gst/gstreamer-sections.txt:
7838 * docs/gst/tmpl/gstenumtypes.sgml:
7839 * win32/gstenumtypes.c:
7840 clean up documentation build a little
7842 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7845 add macros for checking refcounts on objects and caps
7846 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7847 add some more unit tests
7848 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7849 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7850 fix leaked refcounts (I hope :)) so unittest works
7854 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7856 * configure.ac: back to HEAD
7858 === release 0.9.1 ===
7860 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7866 2005-06-17 Andy Wingo <wingo@pobox.com>
7868 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7869 assert; it's always possible that the pad gets deactivated in
7870 between the checks in gstpad.c and the implementation. Rely on
7871 finish_preroll() to return a FLUSHING or similar instead of on the
7874 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7875 clock and post an EOS message if we come out of finish_preroll in
7878 2005-06-16 David Schleef <ds@schleef.org>
7880 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7881 (gst_capsfilter_set_property): Allow NULL as possible value
7882 for filter_caps property, indicating GST_CAPS_ANY.
7884 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7886 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7888 * gst/schedulers/Makefile.am:
7890 * gstreamer.spec.in:
7893 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7895 * gstreamer.spec.in:
7898 2005-06-08 Andy Wingo <wingo@pobox.com>
7900 * gst/gstutils.c: RPAD fixes all around.
7901 (gst_element_link_pads): Refcounting fixes.
7903 * tools/gst-inspect.c:
7904 * tools/gst-xmlinspect.c:
7906 * gst/base/gsttypefindhelper.c:
7907 * gst/base/gstbasesink.c:
7908 * gst/gstqueue.c: RPAD fixes.
7910 * gst/gstghostpad.h:
7911 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7912 pads. The tricky thing is they provide both source and sink
7913 interfaces, since they proxy the internal pad for the external
7914 pad, and vice versa. Implement with lower-level ProxyPad objects,
7915 with the interior proxy pad as a child of the exterior ghost pad.
7916 Should write a doc on this.
7918 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7919 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7922 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7923 pads are real pads. No ghost pads in this file. Not documenting
7924 the myriad s/RPAD/PAD/ and REALIZE fixes.
7925 (gst_pad_class_init): Add properties for "direction" and
7926 "template". Both are construct-only, so they can't change during
7927 the life of the pad. Fixes properly deriving from GstPad.
7928 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7929 derived objects, just set properties when creating the objects via
7931 (gst_pad_get_parent): Implement as a function, return NULL if the
7932 parent is not an element.
7933 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7934 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7936 * gst/gstobject.c (gst_object_class_init): Make name a construct
7937 property. Don't set it in the object init.
7939 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7940 with UNKNOWN direction.
7941 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7942 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7943 (gst_element_remove_pad): Remove ghost-pad special cases.
7944 (gst_element_pads_activate): Remove rpad cruft.
7946 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7947 catch the pad's-parent-not-an-element case.
7949 * gst/gst.h: Include gstghostpad.h.
7951 * gst/gst.c (init_post): No more real, ghost pads.
7953 * gst/Makefile.am: Add gstghostpad.[ch].
7955 * check/Makefile.am:
7956 * check/gst/gstbin.c:
7957 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7958 into a bin creates ghost pads, and that the refcounts are right.
7959 Partly moved from gstbin.c.
7961 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7963 * check/gst-libs/.cvsignore:
7964 * check/gst/.cvsignore:
7965 * check/pipelines/.cvsignore:
7967 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7968 (START_TEST), (cleanup_suite), (main):
7969 add some tests related to cleanup after running pipelines
7971 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7973 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7974 add a testsuite for GstBuffer
7976 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7978 * gst/gstminiobject.h:
7979 add defines for accessing the refcount
7981 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7983 * Makefile.am: added support for html unit test coverage reports
7985 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7987 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7988 Free existing caps if the capsfilter changes. Add a FIXME about
7989 setting those caps on the pads.
7991 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7992 Before adding a ghost pad to a parent bin, check that there isn't
7993 already one for the element on the bin. Prevents infinite recursion
7994 when using decodebin in parse pipelines. Andy says he'll rewrite the
7995 way this works anyway, so ignore the hack.
7997 2005-06-02 Andy Wingo <wingo@pobox.com>
7999 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8000 file size, pass it on to the type find helper.
8002 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8003 segment_start and segment_end properly according to the seek
8004 method. Segment_end is still a bit flaky because offset can be
8005 negative for CUR and END cases, but it takes -1 as an "unset"
8008 2005-06-02 Wim Taymans <wim@fluendo.com>
8010 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8011 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8012 (gst_basesink_activate):
8013 * gst/base/gstbasesink.h:
8014 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8015 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8016 (gst_pad_query), (gst_pad_start_task):
8018 * gst/gstqueue.c: (gst_queue_bufferalloc),
8019 (gst_queue_handle_sink_event), (gst_queue_chain):
8020 Bufferalloc: return GstFlowReturn to more accuratly report
8021 why allocation failed.
8023 2005-06-02 Wim Taymans <wim@fluendo.com>
8025 * gst/gstpipeline.c: (gst_pipeline_send_event):
8026 Take snapshot of state without blocking.
8028 2005-06-02 Wim Taymans <wim@fluendo.com>
8030 * docs/design/part-TODO.txt:
8031 * docs/design/part-caps.txt:
8032 * docs/design/part-clocks.txt:
8033 * docs/design/part-negotiation.txt:
8034 * docs/design/part-preroll.txt:
8037 2005-05-30 Wim Taymans <wim@fluendo.com>
8039 * gst/elements/gstidentity.c: (gst_identity_event),
8040 (gst_identity_transform), (gst_identity_get_property):
8041 Protect last_message property as it is accessed from
8044 2005-05-30 Wim Taymans <wim@fluendo.com>
8046 * gst/gstelement.c: (gst_element_init),
8047 (gst_element_pads_activate), (gst_element_change_state):
8048 Slicker pad activation code.
8050 2005-05-30 Wim Taymans <wim@fluendo.com>
8054 * gst/gstelementfactory.h:
8056 Move elementfactory methods to separate .h file.
8058 2005-05-30 Wim Taymans <wim@fluendo.com>
8060 * docs/design/part-overview.txt:
8061 * gst/gstsystemclock.h:
8062 Small typo fixes, doc updates.
8064 2005-05-30 Wim Taymans <wim@fluendo.com>
8066 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8067 (init_popt_callback):
8068 Remove cpu-opt flag.
8070 2005-05-30 Wim Taymans <wim@fluendo.com>
8072 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8073 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8075 Avoid typechecking in places where not needed.
8076 Added accessor for malloc_data.
8078 2005-05-30 Wim Taymans <wim@fluendo.com>
8080 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8081 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8082 (gst_pad_configure_sink), (gst_pad_configure_src),
8083 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8084 (gst_pad_start_task):
8085 Propagate errors from _set_caps() in configure_src/sink
8086 functions instead of returning TRUE.
8087 FLUSH events can travel up and downstream
8090 2005-05-30 Wim Taymans <wim@fluendo.com>
8092 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8093 (gst_basesink_activate):
8094 Handle EOS in preroll.
8096 2005-05-30 Wim Taymans <wim@fluendo.com>
8098 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8099 (gst_queue_loop), (gst_queue_handle_src_event):
8100 Remove old pieces of code
8101 Flushing the queue in an upstream event is a very bad idea.
8103 2005-05-26 Andy Wingo <wingo@pobox.com>
8105 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8106 gst_value_set_mini_object so as to add a ref on the object (which
8107 will be removed when the value is unset).
8109 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8110 arg type in ::handoff.
8112 * gst/gstelement.c (gst_element_change_state): Also deactivate
8113 pads in READY->NULL, just in case the element didn't make it to
8114 PAUSED. Wingo tested, Wim approved.
8116 2005-05-26 Wim Taymans <wim@fluendo.com>
8118 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8119 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8120 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8121 A flushing pad cannot be used to alloc_buffer from.
8123 2005-05-26 Wim Taymans <wim@fluendo.com>
8125 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8126 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8127 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8128 (gst_bus_create_watch), (gst_bus_add_watch_full):
8130 Implement a real GSource and use g_main_context_wakeup() to
8131 signal new messages instead of the socketpair.
8133 2005-05-25 Wim Taymans <wim@fluendo.com>
8135 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8136 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8137 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8138 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8139 (gst_pad_send_event), (gst_pad_start_task):
8140 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8141 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8142 (gst_queue_sink_activate), (gst_queue_src_activate),
8143 (gst_queue_change_state):
8145 Fix state changes for non sinks. We now change sinks, then elements
8146 with unconnected srcpads, then the rest.
8147 More efficient queue unlocking in flush and state changes.
8148 Set the pad activate mode even if it does not have an activate
8151 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8153 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8154 Don't go in pull mode for non-seekable sources.
8155 * gst/elements/gsttypefindelement.h:
8156 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8157 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8158 (free_entry), (stop_typefinding),
8159 (gst_type_find_element_handle_event), (find_peek),
8160 (gst_type_find_element_chain), (do_pull_typefind),
8161 (gst_type_find_element_change_state):
8162 Allow typefinding (w/o seeking) in push-mode, simplified version
8164 * gst/gstutils.c: (gst_buffer_join):
8166 gst_buffer_join() from 0.8.
8168 2005-05-25 Wim Taymans <wim@fluendo.com>
8170 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8171 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8172 (gst_pad_send_event), (gst_pad_start_task):
8173 Disable attempt at mode switching until it is figured out.
8175 2005-05-25 Wim Taymans <wim@fluendo.com>
8177 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8178 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8179 (gst_basesink_finish_preroll), (gst_basesink_chain),
8180 (gst_basesink_loop), (gst_basesink_activate),
8181 (gst_basesink_change_state):
8182 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8183 (gst_basesrc_get_range), (gst_basesrc_loop),
8184 (gst_basesrc_activate):
8185 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8186 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8187 (gst_real_pad_init), (gst_real_pad_set_property),
8188 (gst_real_pad_get_property), (gst_pad_set_active),
8189 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8190 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8191 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8192 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8193 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8194 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8195 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8196 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8197 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8198 (gst_pad_stop_task):
8200 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8201 (gst_queue_loop), (gst_queue_src_activate):
8202 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8203 (gst_task_get_state):
8205 * gst/schedulers/threadscheduler.c:
8206 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8207 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8209 Remove ACTIVE pad flag, use FLUSHING everywhere
8210 Added _pad_chain(), _pad_get_range() to call chain/getrange
8212 Add locks around IS_FLUSHING when reading.
8213 Take STREAM lock in chain(), get_range() functions so plugins
8214 don't need to take it anymore.
8218 2005-05-25 Wim Taymans <wim@fluendo.com>
8220 * tools/gst-launch.c: (event_loop):
8221 Unref message after using its contents instead of
8224 2005-05-24 Wim Taymans <wim@fluendo.com>
8226 * docs/design/draft-ghostpads.txt:
8227 * docs/design/draft-push-pull.txt:
8228 * docs/design/draft-query.txt:
8229 * docs/design/part-overview.txt:
8230 Docs updates, added general overview doc.
8232 2005-05-21 David Schleef <ds@schleef.org>
8234 * docs/gst/tmpl/old/GstBin.sgml:
8235 * docs/gst/tmpl/old/GstBuffer.sgml:
8236 * docs/gst/tmpl/old/GstCaps.sgml:
8237 * docs/gst/tmpl/old/GstClock.sgml:
8238 * docs/gst/tmpl/old/GstCompat.sgml:
8239 * docs/gst/tmpl/old/GstData.sgml:
8240 * docs/gst/tmpl/old/GstElement.sgml:
8241 * docs/gst/tmpl/old/GstEvent.sgml:
8242 * docs/gst/tmpl/old/GstIndex.sgml:
8243 * docs/gst/tmpl/old/GstStructure.sgml:
8244 * docs/gst/tmpl/old/GstTag.sgml:
8245 * docs/gst/tmpl/old/cothreads.sgml:
8246 * docs/gst/tmpl/old/cothreads_compat.sgml:
8247 * docs/gst/tmpl/old/gettext.sgml:
8248 * docs/gst/tmpl/old/gobject2gtk.sgml:
8249 * docs/gst/tmpl/old/grammar.tab.sgml:
8250 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8251 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8252 * docs/gst/tmpl/old/gst_private.sgml:
8253 * docs/gst/tmpl/old/gstaggregator.sgml:
8254 * docs/gst/tmpl/old/gstarch.sgml:
8255 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8256 * docs/gst/tmpl/old/gstbufferstore.sgml:
8257 * docs/gst/tmpl/old/gstdata_private.sgml:
8258 * docs/gst/tmpl/old/gstdisksink.sgml:
8259 * docs/gst/tmpl/old/gstdisksrc.sgml:
8260 * docs/gst/tmpl/old/gstelementfactory.sgml:
8261 * docs/gst/tmpl/old/gstextratypes.sgml:
8262 * docs/gst/tmpl/old/gstfakesink.sgml:
8263 * docs/gst/tmpl/old/gstfakesrc.sgml:
8264 * docs/gst/tmpl/old/gstfdsink.sgml:
8265 * docs/gst/tmpl/old/gstfdsrc.sgml:
8266 * docs/gst/tmpl/old/gstfilesink.sgml:
8267 * docs/gst/tmpl/old/gstfilesrc.sgml:
8268 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8269 * docs/gst/tmpl/old/gstidentity.sgml:
8270 * docs/gst/tmpl/old/gstindexfactory.sgml:
8271 * docs/gst/tmpl/old/gstmarshal.sgml:
8272 * docs/gst/tmpl/old/gstmd5sink.sgml:
8273 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8274 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8275 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8276 * docs/gst/tmpl/old/gstpipefilter.sgml:
8277 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8278 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8279 * docs/gst/tmpl/old/gstshaper.sgml:
8280 * docs/gst/tmpl/old/gstspider.sgml:
8281 * docs/gst/tmpl/old/gstspideridentity.sgml:
8282 * docs/gst/tmpl/old/gststatistics.sgml:
8283 * docs/gst/tmpl/old/gsttee.sgml:
8284 * docs/gst/tmpl/old/gsttimecache.sgml:
8285 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8286 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8287 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8288 * docs/gst/tmpl/old/types.sgml:
8289 I didn't intend to add these or check them in.
8291 2005-05-19 David Schleef <ds@schleef.org>
8293 * configure.ac: Use -no-common everywhere. In a sane world, it
8294 would be the default in libtool, because without it, you can't
8295 build DLLs on Windows.
8296 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8297 * docs/gst/gstreamer-sections.txt:
8298 * docs/gst/tmpl/gstcpu.sgml:
8299 * docs/gst/tmpl/gstdata.sgml:
8300 * docs/gst/tmpl/gstthread.sgml:
8302 2005-05-19 David Schleef <ds@schleef.org>
8304 * gst/gstminiobject.c: (gst_value_set_mini_object),
8305 (gst_value_take_mini_object), (gst_value_get_mini_object):
8306 * gst/gstminiobject.h: Add GValue set/get functions.
8308 2005-05-19 Wim Taymans <wim@fluendo.com>
8310 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8311 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8312 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8314 * gst/gstbus.c: (gst_bus_post):
8315 * gst/gstelement.c: (gst_element_get_random_pad):
8316 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8317 Make subbufer unref the parent in finalize.
8318 some more debugging info.
8321 2005-05-19 Wim Taymans <wim@fluendo.com>
8323 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8324 (gst_basesink_init), (gst_basesink_finalize),
8325 (gst_basesink_activate), (gst_basesink_change_state):
8326 Don't free preroll queue too early.
8328 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8332 Hi, I'm outdated. Please shoot me.
8334 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8336 * gst/gstpipeline.c: (gst_pipeline_send_event):
8337 Do not access variables after they have been deleted.
8339 2005-05-19 Wim Taymans <wim@fluendo.com>
8341 * tools/gst-inspect.c: (print_plugin_features):
8342 A plugin feature does unfortunatly not use the
8345 2005-05-18 Wim Taymans <wim@fluendo.com>
8347 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8348 Port _span() functions to new subbuffers.
8350 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8352 * gst/gstbin.c: (gst_bin_add_func):
8353 Fix clock settery in bins when adding kids after the clock has
8356 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8358 * gst/elements/gstidentity.c: (gst_identity_class_init):
8359 Workaround until signals support GstMiniObject.
8361 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8364 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8366 2005-05-18 Wim Taymans <wim@fluendo.com>
8368 * gst/base/Makefile.am:
8369 * gst/base/gstadapter.c: (gst_adapter_base_init),
8370 (gst_adapter_class_init), (gst_adapter_init),
8371 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8372 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8373 (gst_adapter_flush), (gst_adapter_available),
8374 (gst_adapter_available_fast):
8375 * gst/base/gstadapter.h:
8376 Ported and added adapter to the base classes.
8378 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8382 Make sure the class is reffed/unreffed once before threads can be
8383 used. Fixes #304551.
8385 2005-05-17 Wim Taymans <wim@fluendo.com>
8387 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8388 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8389 * gst/gstminiobject.c: (gst_mini_object_get_type),
8390 (gst_mini_object_free):
8391 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8392 (gst_pad_push), (gst_pad_push_event):
8393 * gst/gstqueue.c: (gst_queue_change_state):
8394 Don't queue buffers in basesink when we are flushing.
8395 Unref buffer when flushing in basesink.
8396 Flush queue when going to READY
8397 Unref buffer when _push() returns an error.
8398 Don't free MiniObject instance when refcount is incremented
8399 in _finalize() so that we can recover objects.
8401 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8403 * docs/manual/advanced-schedulers.xml:
8404 * docs/manual/appendix-checklist.xml:
8405 * docs/pwg/advanced-clock.xml:
8406 * docs/pwg/advanced-interfaces.xml:
8407 * docs/pwg/advanced-request.xml:
8408 * docs/pwg/advanced-types.xml:
8409 * docs/pwg/intro-preface.xml:
8410 * examples/plugins/example.c: (gst_example_get_type),
8411 (gst_example_class_init), (gst_example_chain),
8412 (gst_example_set_property), (gst_example_get_property),
8413 (gst_example_change_state), (plugin_init):
8414 * examples/plugins/example.h:
8417 2005-05-17 Wim Taymans <wim@fluendo.com>
8419 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8420 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8421 * gst/gstqueue.c: (gst_queue_change_state):
8422 Clear queue when going to READY.
8423 Remove IN_SETCAPS flag too.
8425 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8427 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8428 Remove implicit cast from gboolean to GstElementStateReturn;
8429 make sure we still return failure in paused => ready case if
8430 the parent class fails to change state and our own stop
8433 2005-05-17 Wim Taymans <wim@fluendo.com>
8435 * tools/gst-launch.c: (event_loop):
8436 Message was unreffed too soon.
8438 2005-05-16 Andy Wingo <wingo@pobox.com>
8440 * gst/gstbin.c (sink_iterator_filter): Err... um...
8442 * check/gst/gstbin.c (test_ghost_pads): New test for the
8443 ghosting-if-elements-not-in-same-bin behavior.
8445 2005-05-16 David Schleef <ds@schleef.org>
8447 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8448 accessing refcount directly.
8450 2005-05-15 David Schleef <ds@schleef.org>
8452 * check/Makefile.am: remove GstData checks
8453 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8454 * gst/Makefile.am: add miniobject, remove data
8455 * gst/gst.h: add miniobject, remove data
8456 * gst/gstdata.c: remove
8457 * gst/gstdata.h: remove
8458 * gst/gstdata_private.h: remove
8459 * gst/gsttypes.h: remove GstEvent and GstMessage
8460 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8461 * gst/gstmarshal.list: change BOXED -> OBJECT
8463 Implement GstMiniObject.
8464 * gst/gstminiobject.c:
8465 * gst/gstminiobject.h:
8467 Modify to be subclasses of GstMiniObject.
8468 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8469 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8470 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8471 (gst_subbuffer_get_type), (gst_subbuffer_init),
8472 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8475 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8476 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8477 (_gst_event_copy), (gst_event_new):
8479 * gst/gstmessage.c: (_gst_message_initialize),
8480 (gst_message_get_type), (gst_message_class_init),
8481 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8482 (gst_message_new), (gst_message_new_error),
8483 (gst_message_new_warning), (gst_message_new_tag),
8484 (gst_message_new_state_changed), (gst_message_new_application):
8486 * gst/gstprobe.c: (gst_probe_perform),
8487 (gst_probe_dispatcher_dispatch):
8489 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8490 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8491 (_gst_query_copy), (gst_query_new):
8493 Update elements for GstData -> GstMiniObject changes
8495 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8496 (gst_queue_chain), (gst_queue_loop):
8497 * gst/elements/gstbufferstore.c:
8498 (gst_buffer_store_add_buffer_func),
8499 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8500 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8501 (gst_fakesink_render):
8502 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8503 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8504 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8505 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8506 (gst_filesrc_create_read):
8507 * gst/elements/gstidentity.c: (gst_identity_class_init):
8508 * gst/elements/gsttypefindelement.c:
8509 (gst_type_find_element_src_event), (free_entry_buffers),
8510 (gst_type_find_element_handle_event):
8511 * libs/gst/dataprotocol/dataprotocol.c:
8512 (gst_dp_header_from_buffer):
8513 * libs/gst/dataprotocol/dataprotocol.h:
8514 * libs/gst/dataprotocol/dp-private.h:
8516 2005-05-15 David Schleef <ds@schleef.org>
8518 * gst/elements/gstelements.c: Don't include headers that were
8521 2005-05-15 David Schleef <ds@schleef.org>
8523 * gst/elements/Makefile.am: Remove some elements that don't
8524 need to be in the core (or even exist at all).
8525 * gst/elements/gstaggregator.c:
8526 * gst/elements/gstaggregator.h:
8527 * gst/elements/gstmd5sink.c:
8528 * gst/elements/gstmd5sink.h:
8529 * gst/elements/gstmultifilesrc.c:
8530 * gst/elements/gstmultifilesrc.h:
8531 * gst/elements/gstpipefilter.c:
8532 * gst/elements/gstpipefilter.h:
8533 * gst/elements/gstshaper.c:
8534 * gst/elements/gstshaper.h:
8535 * gst/elements/gststatistics.c:
8536 * gst/elements/gststatistics.h:
8537 * po/POTFILES.in: Remove above files.
8539 2005-05-14 Andy Wingo <wingo@pobox.com>
8541 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8542 so as to get the refs right.
8543 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8544 unreffing objects that don't pass the filter.
8546 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8547 gst_element_set_bus.
8548 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8549 normal cases, this will destroy the bus.
8551 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8554 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8557 2005-05-13 Andy Wingo <wingo@pobox.com>
8559 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8560 gst_pad_link, call pad_link_maybe_ghosting,
8561 (pad_link_maybe_ghosting): Links pads, making sure that the
8562 elements being linked are in the same bin.
8563 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8564 Helpers for pad_link_maybe_ghosting.
8566 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8569 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8571 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8573 * docs/design/part-element-source.txt:
8576 2005-05-12 Wim Taymans <wim@fluendo.com>
8578 * gst/base/gstbasesink.c: (gst_basesink_init),
8579 (gst_basesink_activate):
8580 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8581 (gst_basesrc_is_seekable):
8582 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8583 (bin_element_is_sink), (gst_bin_change_state):
8584 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8586 Identify sinks by their flag to avoid overly complicated
8588 Do state changes even for elements not reachable from the
8590 BaseSink is a sink now :)
8591 Some more debugging info in the basesrc.
8594 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8596 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8597 Implement _query on a bin, similar to _send_event.
8599 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8601 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8602 Discont event offset format should be GST_FORMAT_BYTES,
8603 not GST_FORMAT_TIME.
8605 2005-05-12 Wim Taymans <wim@fluendo.com>
8607 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8608 Same fix as Ronald's but without the signal.
8610 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8612 * gst/gstutils.c: (gst_element_query_position):
8613 No, an element is not a pad.
8615 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8617 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8618 (gst_bin_get_state):
8619 If a child is removed from a bin while we remove the child from
8620 the bin and while we're retrieving its state, signal this to the
8621 get_state function so we abort the wait (instead of waiting for
8622 a timeout) and can immediately re-iterate over all other elements.
8624 2005-05-12 Wim Taymans <wim@fluendo.com>
8626 * gst/base/Makefile.am:
8627 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8628 (gst_basesrc_start):
8629 * gst/base/gstbasesrc.h:
8630 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8631 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8632 (gst_pushsrc_init), (gst_pushsrc_create):
8633 * gst/base/gstpushsrc.h:
8634 Added is_seekable to BaseSrc
8635 Added simple PushSrc.
8637 2005-05-11 Wim Taymans <wim@fluendo.com>
8639 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8640 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8641 (gst_element_link_pads), (gst_element_query_position),
8642 (gst_element_query_convert), (intersect_caps_func),
8643 (gst_pad_query_position), (gst_pad_query_convert):
8644 Fix refcounting in utils function.
8645 No point in trying to activate a pad when it's added, it could
8646 be added from the state change function and then we deadlock, the
8647 element has to decide what to do.
8649 2005-05-10 Andy Wingo <wingo@pobox.com>
8651 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8652 *all* the arguments.
8654 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8655 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8656 lock (according to the docs -- if this is wrong change the docs).
8658 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8659 flush messages in the NULL state.
8661 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8662 message immediately and return.
8663 (gst_bus_set_flushing): New function. If a bus is flushing, it
8664 flushes out any queued messages and immediately unrefs new
8665 messages. This is so when an element goes to NULL, all of the
8666 unhandled messages coming from it can be freed, and their
8667 references to the element dropped. In other words: message source
8668 ref considered harmful :P
8670 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8671 we're finished with it.
8673 * gst/gstmessage.c (gst_message_new_state_changed):
8675 2005-05-10 Wim Taymans <wim@fluendo.com>
8677 * gst/gstvalue.c: (gst_value_compare_flags),
8678 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8679 (_gst_value_initialize):
8680 Added flags serialize/deserialize/compare code.
8682 2005-05-09 Andy Wingo <wingo@pobox.com>
8684 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8685 Intersect the peer's caps with our caps.
8687 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8689 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8690 * gst/elements/gsttypefindelement.c: (find_peek):
8691 Handle negative offsets better. Fixes decodebin.
8693 2005-05-09 Wim Taymans <wim@fluendo.com>
8695 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8696 (gst_base_transform_event):
8697 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8698 Implement accept_caps.
8699 Fix silly lock/unlock mismatch in base class.
8701 2005-05-09 Wim Taymans <wim@fluendo.com>
8703 * docs/design/draft-push-pull.txt:
8704 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8705 * gst/elements/gstfilesink.c: (gst_filesink_init),
8706 (gst_filesink_query):
8707 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8708 (gst_type_find_handle_src_query), (find_element_get_length):
8709 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8713 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8714 (gst_real_pad_get_caps_unlocked),
8715 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8716 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8717 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8718 (gst_real_pad_dispose), (gst_real_pad_finalize),
8719 (gst_pad_load_and_link), (gst_pad_save_thyself),
8720 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8721 (gst_pad_check_pull_range), (gst_pad_pull_range),
8722 (gst_pad_template_get_type), (gst_pad_template_class_init),
8723 (gst_pad_template_init), (gst_pad_template_dispose),
8724 (name_is_valid), (gst_static_pad_template_get),
8725 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8726 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8727 (gst_pad_get_element_private), (gst_pad_start_task),
8728 (gst_pad_pause_task), (gst_pad_stop_task),
8729 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8730 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8731 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8732 (gst_ghost_pad_new):
8734 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8735 (gst_query_new_position), (gst_query_set_position),
8736 (gst_query_parse_position), (gst_query_new_convert),
8737 (gst_query_set_convert), (gst_query_parse_convert):
8739 * gst/gstqueryutils.c:
8740 * gst/gstqueryutils.h:
8741 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8742 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8743 (gst_queue_handle_src_query):
8744 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8745 (gst_element_query_position), (gst_element_query_convert),
8746 (intersect_caps_func), (gst_pad_query_position),
8747 (gst_pad_query_convert):
8749 * tools/gst-inspect.c: (print_pad_info):
8750 * tools/gst-xmlinspect.c: (print_element_info):
8751 Remove old query functions. Ported old code.
8752 Added position/convert helper functions to gstutils.
8753 Reordered gstpad.c code, grouping relevant things.
8754 Remove gst_message_new(), always need to speficy a specific
8758 2005-05-09 Andy Wingo <wingo@pobox.com>
8760 * gst/gstiterator.h: Add some includes.
8762 * gst/gstqueryutils.h: Include more headers.
8765 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8766 some uses of gst_pad_query.
8768 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8769 NULL out parameters.
8770 (gst_query_new_position): New proc, allocates a new position
8773 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8774 gstqueryutils.c to the build.
8776 * gst/gststructure.c (gst_structure_set_valist): Implement with
8777 the generic G_VALUE_COLLECT.
8779 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8781 * gst/Makefile.am: (gst_headers):
8782 Added gstqueryutils.h to the list of headers to install, that was
8783 a 'nachty' move wingo :)
8785 2005-05-06 Andy Wingo <wingo@pobox.com>
8788 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8789 GstData, init a memchunk.
8790 (standard_definitions): Add a few query types, deprecate a few.
8791 (gst_query_get_type): New proc.
8792 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8794 (gst_query_new_application, gst_query_get_structure): New public
8797 * docs/design/draft-query.txt: Removed LINKS from the query types,
8798 because all the rest can be dispatched to other pads -- seemed
8799 ugly to have a query that couldn't be dispatched. internal_links
8800 is fine as a pad method.
8802 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8803 in gstpad.c, but maintain binary compatibility for the moment.
8804 Will fix before 0.9 is out.
8806 * gst/gstqueryutils.c:
8807 * gst/gstqueryutils.h: New files, implement 3 methods for each
8808 query type: parse_query, parse_response, and set. Probably need an
8811 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8813 * gst/elements/gstfilesink.c (gst_filesink_query2):
8814 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8815 query_types, and formats methods.
8817 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8818 (gst_pad_set_query2_function): New functions.
8819 (gst_real_pad_init): Set query2_default as the default query2
8820 function. Basically just dispatches to internally linked pads.
8824 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8825 without using the atomic operations. Only one thread can possibly
8826 be accessing the data at this point. Changed so as to avoid
8827 gst_atomic operations.
8829 2005-05-06 Wim Taymans <wim@fluendo.com>
8831 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8832 Also set caps if we use the fallback buffer alloc.
8834 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8836 * docs/gst/Makefile.am:
8837 * docs/gst/gstreamer-docs.sgml:
8838 * docs/gst/gstreamer-sections.txt:
8839 * docs/gst/tmpl/gstatomic.sgml:
8840 * docs/gst/tmpl/gstmemchunk.sgml:
8841 * testsuite/elements/struct_i386.h:
8842 * win32/GStreamer.vcproj:
8844 Purge GstAtomic stuff from docs and win32 makefiles as well
8846 2005-05-06 Wim Taymans <wim@fluendo.com>
8848 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8849 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8850 * gst/gstpad.c: (gst_pad_peer_get_caps):
8851 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8852 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8853 (gst_queue_src_activate), (gst_queue_change_state):
8855 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8856 (intersect_caps_func):
8857 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8858 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8859 Some fixes for the peer_get_caps() change.
8861 2005-05-06 Wim Taymans <wim@fluendo.com>
8863 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8864 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8865 (gst_basesink_activate):
8866 Actually do something with error codes returned from the push
8869 2005-05-06 Wim Taymans <wim@fluendo.com>
8871 * docs/design/part-element-sink.txt:
8872 * docs/design/part-element-source.txt:
8873 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8874 (gst_basesink_event), (gst_basesink_activate):
8875 * gst/base/gstbasesink.h:
8876 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8877 (gst_basesrc_activate):
8878 * gst/base/gstbasesrc.h:
8879 * gst/gstelement.c: (gst_element_pads_activate):
8880 Some more documentation.
8881 Fixed scheduling decision in _pads_activate().
8883 2005-05-05 Andy Wingo <wingo@pobox.com>
8885 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8888 2005-05-05 Wim Taymans <wim@fluendo.com>
8890 * gst/base/Makefile.am:
8891 * gst/base/gstbasesink.h:
8892 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8893 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8894 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8895 (gst_collectpads_class_init), (gst_collectpads_init),
8896 (gst_collectpads_finalize), (gst_collectpads_new),
8897 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8898 (find_pad), (gst_collectpads_remove_pad),
8899 (gst_collectpads_is_active), (gst_collectpads_collect),
8900 (gst_collectpads_collect_range), (gst_collectpads_start),
8901 (gst_collectpads_stop), (gst_collectpads_peek),
8902 (gst_collectpads_pop), (gst_collectpads_available),
8903 (gst_collectpads_read), (gst_collectpads_flush),
8904 (gst_collectpads_chain):
8905 * gst/base/gstcollectpads.h:
8906 * gst/elements/Makefile.am:
8907 * gst/elements/gstelements.c:
8908 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8909 (gst_fakesink_get_times), (gst_fakesink_event),
8910 (gst_fakesink_preroll), (gst_fakesink_render):
8911 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8912 (gst_filesink_init), (gst_filesink_set_location),
8913 (gst_filesink_open_file), (gst_filesink_close_file),
8914 (gst_filesink_pad_query), (gst_filesink_event),
8915 (gst_filesink_render), (gst_filesink_change_state):
8916 * gst/elements/gstfilesink.h:
8917 Added object to help in making collect pad based elements.
8919 Make event function in sink baseclass return gboolean.
8921 2005-05-05 Wim Taymans <wim@fluendo.com>
8923 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8924 (gst_bin_get_by_name):
8926 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8927 (gst_clock_finalize):
8928 * gst/gstdata.c: (gst_data_replace):
8930 * gst/gstelement.c: (gst_element_request_pad),
8931 (gst_element_pads_activate):
8932 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8934 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8935 (gst_pad_set_checkgetrange_function),
8936 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8937 (gst_pad_check_pull_range), (gst_pad_pull_range),
8938 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8939 (gst_pad_pause_task), (gst_pad_stop_task):
8940 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8941 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8942 Fix name lookup in GstBin.
8943 Added _data_replace() function and _buffer_replace()
8944 Use finalize method to clean up clock.
8945 Fix refcounting on request pads.
8946 Fix pad schedule mode error.
8947 Some more object refcounting debug info,
8950 2005-05-04 Andy Wingo <wingo@pobox.com>
8952 * check/Makefile.am:
8953 * docs/gst/tmpl/gstatomic.sgml:
8954 * docs/gst/tmpl/gstplugin.sgml:
8955 * gst/base/gstbasesink.c: (gst_basesink_activate):
8956 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8957 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8958 (gst_basesrc_query), (gst_basesrc_set_property),
8959 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8960 (gst_basesrc_activate):
8961 * gst/base/gstbasesrc.h:
8962 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8963 (gst_base_transform_src_activate):
8964 * gst/elements/gstelements.c:
8965 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8966 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8967 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8968 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8969 (gst_type_find_element_checkgetrange),
8970 (gst_type_find_element_activate):
8971 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8972 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8973 (gst_caps_load_thyself):
8974 * gst/gstelement.c: (gst_element_pads_activate),
8975 (gst_element_save_thyself), (gst_element_restore_thyself):
8976 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8977 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8979 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8980 (gst_xml_parse_file), (gst_xml_parse_memory),
8981 (gst_xml_get_element), (gst_xml_make_element):
8982 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8983 (_file_index_id_save_xml), (gst_file_index_commit):
8984 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8985 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8987 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8988 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8989 * tools/gst-complete.c: (main):
8990 * tools/gst-compprep.c: (main):
8991 * tools/gst-inspect.c: (print_element_properties_info):
8992 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8993 * tools/gst-xmlinspect.c: (print_element_properties):
8996 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8998 * gst/gstplugin.c: (gst_plugin_check_module),
8999 (gst_plugin_check_file), (gst_plugin_load_file):
9000 apply patch from #172526 to make register work on MacOSX
9002 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9004 * docs/gst/tmpl/gstconfig.sgml:
9005 * gst/gstconfig.h.in:
9006 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9007 * testsuite/debug/printf_extension.c: (main):
9008 Do not use GST_PTR_FORMAT on pointers to types with
9009 sizeof < sizeof(gpointer). Fixes test on 64-bit
9010 * testsuite/elements/property.h:
9011 use correct printf format
9013 2005-05-02 Wim Taymans <wim@fluendo.com>
9015 * docs/design/draft-push-pull.txt:
9016 * docs/design/draft-query.txt:
9017 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9018 (gst_basesrc_start):
9019 Added draft for new query API.
9020 Added draft for better selecting scheduling methods.
9021 Make basesrc ignore length if the subclass does not support
9024 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9027 possible fixes for automake-1.5 - _LIBADD is reserved
9029 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9031 * docs/faq/Makefile.am:
9032 * docs/manual/Makefile.am:
9034 * docs/pwg/Makefile.am:
9036 possible fixes for automake-1.5
9038 2005-04-28 Wim Taymans <wim@fluendo.com>
9040 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9041 (gst_basesink_pad_getcaps), (gst_basesink_init),
9042 (gst_basesink_do_sync):
9043 * gst/gstclock.c: (gst_clock_entry_new):
9044 * gst/gstevent.c: (gst_event_discont_get_value):
9045 * gst/gstpipeline.c: (pipeline_bus_handler),
9046 (gst_pipeline_change_state):
9047 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9048 Better debugging of clocking info.
9049 Allow NULL values when getting discont values.
9051 2005-04-27 Wim Taymans <wim@fluendo.com>
9053 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9054 * check/gst/gstpad.c: (gst_pad_suite):
9055 Increase timeout for checks.
9057 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9059 * check/Makefile.am:
9060 fix the broken rule for cleanup. Apparently this rule is
9061 only needed on FC2, so maybe this warrants further autotool
9064 2005-04-26 Wim Taymans <wim@fluendo.com>
9066 * gst/gsttrashstack.h:
9067 Ooohh. a nasty one! After having a failed pop() from the stack,
9068 it's possible that the stack is empty. In that case, don't
9069 follow the NULL pointer.
9071 2005-04-25 Wim Taymans <wim@fluendo.com>
9073 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9074 (gst_pad_set_checkgetrange_function),
9075 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9076 (gst_pad_check_pull_range), (gst_pad_pull_range),
9077 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9078 (gst_pad_pause_task), (gst_pad_stop_task):
9079 * gst/gstplugin.c: (gst_plugin_load):
9081 Remove gst_library_load as it does more harm than good with
9082 the new g_module flags.
9083 Revert bogus caps template check in pad linking, pad caps
9084 are important when linking not the template, which is more
9085 general than the current caps.
9087 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9089 * gst/autoplug/.cvsignore:
9090 * gst/autoplug/Makefile.am:
9091 * gst/autoplug/gstsearchfuncs.c:
9092 * gst/autoplug/gstsearchfuncs.h:
9093 * gst/autoplug/gstspider.c:
9094 * gst/autoplug/gstspider.h:
9095 * gst/autoplug/gstspideridentity.c:
9096 * gst/autoplug/gstspideridentity.h:
9097 * gst/autoplug/spidertest.c:
9100 2005-04-25 Wim Taymans <wim@fluendo.com>
9102 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9103 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9104 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9105 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9107 Added stubs for unimplemented functions.
9109 2005-04-24 David Schleef <ds@schleef.org>
9111 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9114 2005-04-24 David Schleef <ds@schleef.org>
9116 Convert everything from GstAtomicInt to g_atomic_int_*, and
9121 * gst/gstatomic_impl.h:
9129 * gst/gstdata_private.h:
9136 * gst/gststructure.c:
9137 * gst/gststructure.h:
9138 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9141 2005-04-24 David Schleef <ds@schleef.org>
9143 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9144 make the regressions tests work. Remove some code that is no
9146 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9147 Disable warning for pads without templates.
9149 2005-04-24 David Schleef <ds@schleef.org>
9151 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9152 functions that handle filtered links.
9153 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9155 * gst/gstutils.c: Fix/remove utility functions that handle
9158 * gst/gstvalue.c: Add serialization/deserialization of caps
9159 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9160 requires fixing so that the filter caps notation creates
9161 a capsfilter element and sets the filter_caps property. I
9162 think everyone probably wants to keep the shorthand notation.
9163 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9164 * docs/gst/tmpl/gstpad.sgml:
9166 * gst/elements/gstelements.c: Register capsfilter element.
9167 * gst/Makefile.am: fix spacing
9168 * docs/random/ds/0.9-suggested-changes: random
9170 2005-04-23 David Schleef <ds@schleef.org>
9172 * gst/elements/Makefile.am:
9173 * gst/elements/gstcapsfilter.c: New element that acts like an
9174 identity, but filters caps. Will eventually replace filtered
9175 caps in pad linking.
9176 * gst/gstutils.c: (gst_element_create_all_pads): New function
9177 to create all the ALWAYS pads that are registered with an
9178 element class. This functionality should eventually be
9179 merged in with GstElement initialization.
9181 * testsuite/trigger/README: part of trigger test code that should
9182 have been checked in a long time ago.
9184 2005-04-23 David Schleef <ds@schleef.org>
9186 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9187 needed with new versions of libtool (nobody will confirm this),
9188 and hard to carry around.
9189 * gst/autoplug/Makefile.am:
9190 * gst/base/Makefile.am:
9191 * gst/elements/Makefile.am:
9192 * gst/indexers/Makefile.am:
9193 * gst/schedulers/Makefile.am:
9194 * libs/gst/bytestream/Makefile.am:
9195 * libs/gst/control/Makefile.am:
9196 * libs/gst/dataprotocol/Makefile.am:
9197 * libs/gst/getbits/Makefile.am:
9199 2005-04-21 Wim Taymans <wim@fluendo.com>
9201 * docs/design/draft-push-pull.txt:
9202 * docs/design/part-MT-refcounting.txt:
9203 * docs/design/part-TODO.txt:
9204 * docs/design/part-caps.txt:
9205 * docs/design/part-events.txt:
9206 * docs/design/part-gstbus.txt:
9207 * docs/design/part-gstpipeline.txt:
9208 * docs/design/part-messages.txt:
9209 * docs/design/part-push-pull.txt:
9210 * docs/design/part-query.txt:
9213 2005-04-21 Wim Taymans <wim@fluendo.com>
9215 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9216 (gst_message_new), (gst_message_new_error),
9217 (gst_message_new_warning), (gst_message_new_tag),
9218 (gst_message_new_state_changed), (gst_message_new_application),
9219 (gst_message_get_structure):
9221 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9222 (gst_structure_copy_conditional):
9223 Use parent refcount in GstMessage to ensure GstStructure
9225 Cleaned up headers a bit.
9228 2005-04-20 Wim Taymans <wim@fluendo.com>
9230 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9231 (gst_basesink_pad_getcaps), (gst_basesink_init),
9232 (gst_basesink_chain_unlocked):
9233 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9234 (gst_type_find_helper):
9235 * gst/elements/gsttypefindelement.c:
9236 (gst_type_find_element_have_type), (gst_type_find_element_init),
9237 (stop_typefinding), (gst_type_find_element_handle_event),
9238 (find_suggest), (gst_type_find_element_chain),
9239 (gst_type_find_element_checkgetrange),
9240 (gst_type_find_element_getrange), (do_typefind),
9241 (gst_type_find_element_activate):
9242 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9243 (gst_buffer_default_free), (gst_buffer_default_copy),
9244 (gst_buffer_set_caps):
9245 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9247 * gst/gstmessage.c: (gst_message_new),
9248 (gst_message_new_state_changed):
9249 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9250 (gst_pad_set_checkgetrange_function),
9251 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9252 (gst_pad_set_caps), (gst_pad_check_pull_range),
9253 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9255 * gst/gsttypefind.c: (gst_type_find_register):
9256 Make gst_caps_replace() work like other _replace() functions.
9257 Use _caps_replace() where possible.
9258 Make sure _message_new() initialises its field.
9259 Add gst_static_pad_template_get_caps()
9262 2005-04-18 Andy Wingo <wingo@pobox.com>
9264 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9265 on the peer, not the pad. I think that was a typo. Pass an extra
9266 arg to see if random access is possible. Activate the pads as
9267 PULL_RANGE if possible.
9269 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9271 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9272 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9275 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9277 * docs/faq/using.xml:
9278 Add note on gstreamer-properties (#154996).
9280 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9282 * docs/random/bbb/optional-properties:
9283 Some analysis on optional properties.
9285 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9287 * docs/gst/tmpl/gstelementfactory.sgml:
9289 * gst/gstelementfactory.c: (gst_element_factory_init),
9290 (gst_element_factory_cleanup), (gst_element_register),
9291 (__gst_element_factory_add_static_pad_template),
9292 (gst_element_factory_get_static_pad_templates),
9293 (gst_element_factory_can_src_caps),
9294 (gst_element_factory_can_sink_caps):
9295 * gst/registries/Makefile.am:
9296 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9297 (gst_xml_registry_class_init), (gst_xml_registry_init),
9298 (gst_xml_registry_new), (gst_xml_registry_set_property),
9299 (gst_xml_registry_get_property), (get_time), (make_dir),
9300 (gst_xml_registry_get_perms_func),
9301 (plugin_times_older_than_recurse), (plugin_times_older_than),
9302 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9303 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9304 (add_to_char_array), (read_string), (read_uint), (read_enum),
9305 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9306 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9307 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9308 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9309 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9310 (gst_xml_registry_rebuild):
9311 * gst/registries/gstlibxmlregistry.h:
9312 * tools/gst-compprep.c: (main):
9313 * tools/gst-inspect.c: (print_pad_templates_info):
9314 * tools/gst-xmlinspect.c: (print_element_info):
9315 Use libxml2 for registry parsing, use staticpadtemplates in
9316 elementfactories. Makes gst_init() +/- 10x faster.
9318 2005-04-12 Wim Taymans <wim@fluendo.com>
9320 * gst/base/Makefile.am:
9321 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9322 (gst_basesink_pad_getcaps), (gst_basesink_init),
9323 (gst_basesink_event), (gst_basesink_change_state):
9324 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9325 (gst_basesrc_init), (gst_basesrc_query),
9326 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9327 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9328 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9329 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9330 (gst_basesrc_stop), (gst_basesrc_activate),
9331 (gst_basesrc_change_state):
9332 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9333 (helper_find_suggest), (gst_type_find_helper):
9334 * gst/base/gsttypefindhelper.h:
9335 * gst/elements/Makefile.am:
9336 * gst/elements/gstelements.c:
9337 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9338 (gst_fakesink_get_times), (gst_fakesink_event),
9339 (gst_fakesink_preroll), (gst_fakesink_render):
9340 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9341 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9342 (gst_fakesrc_get_property), (gst_fakesrc_create),
9343 (gst_fakesrc_start), (gst_fakesrc_stop):
9344 * gst/elements/gstfakesrc.h:
9345 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9346 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9347 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9348 (gst_filesrc_create_read), (gst_filesrc_create),
9349 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9350 (gst_filesrc_start):
9351 * gst/elements/gsttypefindelement.c:
9352 (gst_type_find_element_have_type), (gst_type_find_element_init),
9353 (start_typefinding), (stop_typefinding), (push_buffer_store),
9354 (gst_type_find_element_handle_event),
9355 (gst_type_find_element_chain),
9356 (gst_type_find_element_checkgetrange),
9357 (gst_type_find_element_getrange), (do_typefind),
9358 (gst_type_find_element_activate),
9359 (gst_type_find_element_change_state):
9360 * gst/elements/gsttypefindelement.h:
9361 * gst/gstpipeline.c: (pipeline_bus_handler):
9362 Added typefind helper.
9363 Small preroll fix in the base sink.
9364 Disable typefind code in basesrc.
9365 Crude port of typefindelement.
9369 2005-04-11 Wim Taymans <wim@fluendo.com>
9371 * check/gst/gstbus.c: (gstbus_suite):
9372 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9374 Fix up the timeout so that the test does not fail.
9376 2005-04-06 Wim Taymans <wim@fluendo.com>
9379 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9380 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9381 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9382 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9383 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9384 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9385 (gst_basesrc_stop), (gst_basesrc_activate),
9386 (gst_basesrc_change_state), (basesrc_find_peek),
9387 (basesrc_find_suggest), (gst_basesrc_type_find):
9388 * gst/base/gstbasesrc.h:
9389 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9390 (gst_filesrc_class_init), (gst_filesrc_init),
9391 (gst_filesrc_finalize), (gst_filesrc_set_location),
9392 (gst_filesrc_set_property), (gst_filesrc_get_property),
9393 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9394 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9395 (gst_filesrc_create_read), (gst_filesrc_create),
9396 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9397 * gst/elements/gstfilesrc.h:
9398 * gst/gstelement.c: (gst_element_get_state_func),
9399 (gst_element_lost_state), (gst_element_pads_activate):
9400 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9401 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9402 (gst_pad_pull_range):
9404 More work on the generic source base class, implement seeking,
9406 Make filesrc extend the base source class.
9407 Added gst_pad_set_checkgetrange_function to GstPad.
9409 2005-04-06 Andy Wingo <wingo@pobox.com>
9411 * pkgconfig/gstreamer-base.pc.in:
9412 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9414 * pkgconfig/Makefile.am:
9415 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9417 2005-04-04 Wim Taymans <wim@fluendo.com>
9419 * gst/base/Makefile.am:
9421 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9422 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9423 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9424 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9425 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9426 (gst_basesrc_base_init), (gst_basesrc_class_init),
9427 (gst_basesrc_init), (gst_basesrc_get_formats),
9428 (gst_basesrc_get_query_types), (gst_basesrc_query),
9429 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9430 (gst_basesrc_set_property), (gst_basesrc_get_property),
9431 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9432 (gst_basesrc_loop), (gst_basesrc_activate),
9433 (gst_basesrc_change_state):
9434 * gst/base/gstbasesrc.h:
9435 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9436 (gst_fakesrc_class_init), (gst_fakesrc_init),
9437 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9438 (gst_fakesrc_get_property), (gst_fakesrc_create):
9439 * gst/elements/gstfakesrc.h:
9440 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9441 (gst_filesrc_open_file), (gst_filesrc_loop),
9442 (gst_filesrc_activate), (filesrc_find_peek),
9443 (gst_filesrc_type_find):
9444 Made base source class, make fakesrc extend it.
9445 Add comments to basesink class.
9446 Some filesrc cleanup.
9448 2005-03-31 David Schleef <ds@schleef.org>
9450 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9451 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9452 expected to link against libgstreamer.
9453 * gst/base/Makefile.am: link against libgstreamer
9454 * gst/elements/Makefile.am: same
9456 2005-03-31 Andy Wingo <wingo@pobox.com>
9458 * tests/instantiate/Makefile.am:
9459 * tests/instantiate/caps.c: Add test to test speed of caps copy
9462 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9463 GMemChunk to be fair.
9465 * gst/gsttrashstack.h: Remove warning about using the fallback
9466 trash stack implementation, it's still faster than malloc.
9468 2005-03-30 Andy Wingo <wingo@pobox.com>
9470 * tests/complexity.c: Add a copyright.
9472 2005-03-31 Wim Taymans <wim@fluendo.com>
9474 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9475 (gst_base_transform_class_init), (gst_base_transform_init),
9476 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9477 (gst_base_transform_get_property),
9478 (gst_base_transform_sink_activate),
9479 (gst_base_transform_src_activate),
9480 (gst_base_transform_change_state):
9481 * gst/base/gstbasetransform.h:
9482 * gst/elements/gstidentity.c: (gst_identity_class_init),
9483 (gst_identity_event), (gst_identity_check_perfect),
9484 (gst_identity_transform), (gst_identity_start),
9485 (gst_identity_stop):
9486 Added start/stop methods to transform base class so subclasses
9487 don't need to deal with state changes even.
9489 2005-03-31 Wim Taymans <wim@fluendo.com>
9491 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9492 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9494 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9495 (gst_pad_pull_range):
9496 Added rate to the discont event to prepare for variable speed
9497 and reverse playback.
9499 2005-03-29 David Schleef <ds@schleef.org>
9502 * testsuite/trigger/Makefile.am:
9503 * testsuite/trigger/trigger.c: A little example program to show
9504 how trigger-based elements can work.
9506 2005-03-29 Wim Taymans <wim@fluendo.com>
9508 * gst/base/Makefile.am:
9510 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9511 (gst_basesink_base_init), (gst_basesink_class_init),
9512 (gst_basesink_pad_getcaps), (gst_basesink_init),
9513 (gst_basesink_activate), (gst_basesink_change_state):
9514 * gst/base/gstbasesink.h:
9515 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9516 (gst_base_transform_base_init), (gst_base_transform_finalize),
9517 (gst_base_transform_class_init), (gst_base_transform_init),
9518 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9519 (gst_base_transform_event), (gst_base_transform_getrange),
9520 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9521 (gst_base_transform_set_property),
9522 (gst_base_transform_get_property),
9523 (gst_base_transform_sink_activate),
9524 (gst_base_transform_src_activate),
9525 (gst_base_transform_change_state):
9526 * gst/base/gstbasetransform.h:
9527 * gst/elements/gstidentity.c: (gst_identity_finalize),
9528 (gst_identity_class_init), (gst_identity_init),
9529 (gst_identity_event), (gst_identity_check_perfect),
9530 (gst_identity_transform), (gst_identity_set_property),
9531 (gst_identity_get_property), (gst_identity_change_state):
9532 * gst/elements/gstidentity.h:
9533 * gst/gstelement.c: (gst_element_get_state_func),
9534 (gst_element_lost_state), (gst_element_pads_activate):
9535 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9536 (gst_pad_check_pull_range), (gst_pad_pull_range):
9538 Simplify pad activation.
9539 Added function to check if pull_range can be performed.
9540 Error out when pulling inactive or flushing pads.
9541 Removed const from refcounted types as it does not make sense.
9542 Simplify pad templates in basesink
9543 Added base class for simple 1-to-1 transforms.
9544 Make identity subclass the base transform.
9546 2005-03-29 Andy Wingo <wingo@pobox.com>
9548 * docs/libs/gstreamer-libs-overrides.txt:
9549 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9550 really don't understand what's going on, but like whatever. I want
9553 * docs/gst/Makefile.am:
9554 * docs/libs/Makefile.am: Dist the overrides files.
9556 * check/Makefile.am (clean-local): Remove .libs directories.
9558 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9559 elements to EXTRA_DIST, so po/ files are happy.
9561 * po/POTFILES.in: Er, remove it here.
9563 * po/POTFILES: Remove gstspider.c.
9565 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9567 * docs/libs/gstreamer-libs-docs.sgml:
9568 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9571 * tests/complexity.c (main): Set the length of the preroll queue
9572 on the sinks to prevent a lockup.
9574 * libs/gst/dataprotocol/Makefile.am:
9575 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9576 the same as the one in check/gst-libs/gdp.c.
9578 * po/, docs/gst/: Commit automatic changes to docs and po files.
9580 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9581 the versioned libgstbase.
9583 * check/Makefile.am: Depend on an unversioned gst-register, seems
9584 to make autoconf happier.
9586 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9588 2005-03-28 Wim Taymans <wim@fluendo.com>
9591 * docs/design/part-gstelement.txt:
9592 * docs/design/part-negotiation.txt:
9593 * docs/design/part-preroll.txt:
9594 * docs/design/part-scheduling.txt:
9595 * docs/design/part-states.txt:
9597 * gst/base/Makefile.am:
9599 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9600 (gst_basesink_base_init), (gst_basesink_class_init),
9601 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9602 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9603 (gst_basesink_set_pad_functions),
9604 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9605 (gst_basesink_set_property), (gst_basesink_get_property),
9606 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9607 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9608 (gst_basesink_preroll_queue_push),
9609 (gst_basesink_preroll_queue_empty),
9610 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9611 (gst_basesink_event), (gst_basesink_get_times),
9612 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9613 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9614 (gst_basesink_loop), (gst_basesink_activate),
9615 (gst_basesink_change_state):
9616 * gst/base/gstbasesink.h:
9617 * gst/elements/Makefile.am:
9618 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9619 (gst_fakesink_class_init), (gst_fakesink_init),
9620 (gst_fakesink_set_property), (gst_fakesink_get_property),
9621 (gst_fakesink_get_times), (gst_fakesink_event),
9622 (gst_fakesink_preroll), (gst_fakesink_render),
9623 (gst_fakesink_change_state):
9624 * gst/elements/gstfakesink.h:
9625 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9626 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9627 * gst/gstelement.c: (gst_element_add_pad),
9628 (gst_element_get_state_func), (gst_element_abort_state),
9629 (gst_element_commit_state), (gst_element_lost_state),
9630 (gst_element_set_state), (gst_element_pads_activate):
9631 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9632 * gst/gstpipeline.c: (gst_pipeline_send_event),
9633 (gst_pipeline_change_state):
9634 Added state change code.
9636 Added sink base class, make fakesink extend the base class.
9637 Small cleanups in GstPipeline.
9639 2005-03-26 David Schleef <ds@schleef.org>
9641 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9642 is broken and should be implemented in a different library.
9643 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9644 * gst/gst.h: remove gstcpu.h
9645 * gst/gstcpu.c: remove
9646 * gst/gstcpu.h: remove
9647 * gst/Makefile.am.future: Remove this file. It's ancient.
9649 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9651 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9652 (gst_bin_send_event):
9653 Add default event/set_manager handlers. The set_manager handler
9654 takes care that the manager is distributed over kids that were
9655 already in the bin before the manager was set. The event handler
9656 is a utility virtual function that sends the event over all sinks,
9657 so that gst_element_send_event (bin, event); has the expected
9659 * gst/gstpad.c: (gst_pad_event_default):
9660 Re-install default event handling for discontinuities, so that
9661 seeking works without requiring hacks in applications or extra
9663 * gst/gstpipeline.c: (gst_pipeline_class_init),
9664 (gst_pipeline_send_event):
9665 Half hack, half utility: set a pipeline to PAUSED for seek events,
9666 since that is the only way we can guarantee a/v sync. Means that
9667 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9668 and it "just works".
9670 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9672 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9673 Lock/unlock mismatch.
9675 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9677 * docs/faq/gst-uninstalled:
9678 add gst-plugins-base
9679 * docs/gst/Makefile.am:
9680 don't error out until docs are fixed
9681 * docs/gst/gstreamer.types:
9684 2005-03-22 Wim Taymans <wim@fluendo.com>
9686 * check/Makefile.am:
9687 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9688 * gst/gststructure.c: (gst_structure_set_valist),
9689 (gst_structure_copy_conditional):
9690 Activated more tests.
9692 Added G_TYPE_POINTER to GstStructure.
9695 2005-03-22 Wim Taymans <wim@fluendo.com>
9697 * docs/design/part-TODO.txt:
9698 * docs/design/part-events.txt:
9699 * docs/design/part-gstbin.txt:
9700 * docs/design/part-gstbus.txt:
9701 * docs/design/part-gstpipeline.txt:
9702 * docs/design/part-messages.txt:
9707 2005-03-21 Wim Taymans <wim@fluendo.com>
9709 * gst/gstbus.c: (gst_bus_post):
9710 Fix copy-and-paste error.
9712 2005-03-21 Wim Taymans <wim@fluendo.com>
9714 * check/Makefile.am:
9716 * gst/elements/Makefile.am:
9717 * gst/elements/gstelements.c:
9718 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9719 (gst_fakesink_event), (gst_fakesink_chain):
9720 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9721 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9722 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9723 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9724 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9725 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9726 (gst_fakesrc_loop), (gst_fakesrc_activate),
9727 (gst_fakesrc_change_state):
9728 * gst/elements/gstfakesrc.h:
9729 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9730 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9731 (gst_filesrc_open_file), (gst_filesrc_loop),
9732 (gst_filesrc_activate), (gst_filesrc_change_state),
9733 (filesrc_find_peek), (filesrc_find_suggest),
9734 (gst_filesrc_type_find):
9735 * gst/elements/gstidentity.c: (gst_identity_finalize),
9736 (gst_identity_class_init), (gst_identity_init),
9737 (gst_identity_proxy_getcaps), (identity_queue_push),
9738 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9739 (gst_identity_getrange), (gst_identity_chain),
9740 (gst_identity_sink_loop), (gst_identity_src_loop),
9741 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9742 (gst_identity_set_property), (gst_identity_get_property),
9743 (gst_identity_change_state):
9744 * gst/elements/gstidentity.h:
9745 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9746 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9747 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9748 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9749 (gst_tee_sink_activate):
9750 * gst/elements/gsttee.h:
9751 * gst/gst.c: (gst_register_core_elements), (init_post):
9753 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9754 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9755 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9756 (gst_bin_change_state):
9758 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9759 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9760 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9761 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9762 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9763 (bus_watch_callback), (bus_watch_destroy),
9764 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9765 (poll_timeout), (gst_bus_poll):
9769 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9770 (gst_element_post_message), (gst_element_message_full),
9771 (gst_element_get_state_func), (gst_element_get_state),
9772 (gst_element_abort_state), (gst_element_commit_state),
9773 (gst_element_lost_state), (gst_element_set_state),
9774 (gst_element_pads_activate), (gst_element_change_state),
9775 (gst_element_dispose), (gst_element_set_manager_func),
9776 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9777 (gst_element_set_manager), (gst_element_get_manager),
9778 (gst_element_set_bus), (gst_element_get_bus),
9779 (gst_element_set_scheduler), (gst_element_get_scheduler):
9781 * gst/gstevent.c: (gst_event_new_segment_seek),
9782 (gst_event_new_flush):
9784 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9785 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9786 (gst_message_new_eos), (gst_message_new_error),
9787 (gst_message_new_warning), (gst_message_new_tag),
9788 (gst_message_new_state_changed), (gst_message_new_application),
9789 (gst_message_get_structure), (gst_message_parse_tag),
9790 (gst_message_parse_state_changed), (gst_message_parse_error),
9791 (gst_message_parse_warning):
9793 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9794 (gst_real_pad_set_property), (gst_pad_set_active),
9795 (gst_pad_is_active), (gst_pad_set_blocked_async),
9796 (gst_pad_set_blocked), (gst_pad_is_blocked),
9797 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9798 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9799 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9800 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9801 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9802 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9803 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9804 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9805 (gst_pad_set_caps), (gst_pad_configure_sink),
9806 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9807 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9808 (gst_real_pad_dispose), (gst_real_pad_finalize),
9809 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9810 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9811 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9813 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9814 (pipeline_bus_handler), (gst_pipeline_change_state),
9815 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9816 * gst/gstpipeline.h:
9818 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9819 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9820 (gst_queue_link_src), (gst_queue_bufferalloc),
9821 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9822 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9823 (gst_queue_loop), (gst_queue_handle_src_event),
9824 (gst_queue_handle_src_query), (gst_queue_src_activate),
9825 (gst_queue_change_state):
9827 * gst/gstscheduler.c: (gst_scheduler_init),
9828 (gst_scheduler_dispose), (gst_scheduler_create_task),
9829 (gst_scheduler_factory_create):
9830 * gst/gstscheduler.h:
9831 * gst/gststructure.c: (gst_structure_get_type),
9832 (gst_structure_copy_conditional):
9833 * gst/gststructure.h:
9834 * gst/gsttaginterface.h:
9835 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9836 (gst_task_init), (gst_task_dispose), (gst_task_create),
9837 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9843 * gst/schedulers/Makefile.am:
9844 * gst/schedulers/cothreads_compat.h:
9845 * gst/schedulers/entryscheduler.c:
9846 * gst/schedulers/faircothreads.c:
9847 * gst/schedulers/faircothreads.h:
9848 * gst/schedulers/fairscheduler.c:
9849 * gst/schedulers/gstbasicscheduler.c:
9850 * gst/schedulers/gstoptimalscheduler.c:
9851 * gst/schedulers/gthread-cothreads.h:
9852 * gst/schedulers/threadscheduler.c:
9853 (gst_thread_scheduler_task_get_type),
9854 (gst_thread_scheduler_task_class_init),
9855 (gst_thread_scheduler_task_init),
9856 (gst_thread_scheduler_task_start),
9857 (gst_thread_scheduler_task_stop),
9858 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9859 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9860 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9861 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9863 * libs/gst/Makefile.am:
9864 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9865 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9866 (gst_file_pad_parent_set):
9867 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9868 (gst_dp_event_from_packet):
9869 * tests/complexity.c: (main):
9870 * tests/mass_elements.c: (main):
9871 * testsuite/states/locked.c: (message_received), (main):
9872 * testsuite/states/parent.c: (main):
9873 * tools/gst-inspect.c: (print_element_flag_info),
9874 (print_implementation_info), (print_pad_info):
9875 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9877 * tools/gst-md5sum.c: (event_loop), (main):
9878 * tools/gst-typefind.c: (main):
9879 * tools/gst-xmlinspect.c: (print_element_info):
9881 Added GstBus for mainloop integration.
9882 Added GstMessage for sending notifications on the bus.
9883 Added GstTask as an abstraction for pipeline entry points.
9886 Simplified GstQueue for multithreaded core.
9887 Made _link threadsafe, removed old capsnego.
9888 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9889 Added pad blocking functions.
9890 Reworked scheduling functions in GstPad to prepare for
9891 scheduling updates soon.
9892 Moved events out of data stream.
9893 Simplified GstEvent types.
9894 Added return values to push/pull.
9895 Removed clocking from GstElement.
9896 Added prototypes for state change function for next merge.
9897 Removed iterate from bins and state change management.
9898 Fixed some elements, disabled others for now.
9899 Fixed -inspect and -launch.
9900 Added check for GstBus.
9902 2005-03-10 Wim Taymans <wim@fluendo.com>
9904 * docs/design/part-MT-refcounting.txt:
9905 * docs/design/part-clocks.txt:
9906 * docs/design/part-gstelement.txt:
9907 * docs/design/part-gstobject.txt:
9908 * docs/design/part-standards.txt:
9909 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9910 (gst_bin_remove_func), (gst_bin_remove):
9914 * testsuite/clock/clock1.c: (main):
9915 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9917 * testsuite/dlopen/loadgst.c: (do_test):
9918 * testsuite/refcounting/bin.c: (add_remove_test1),
9919 (add_remove_test2), (main):
9920 * testsuite/refcounting/element.c: (main):
9921 * testsuite/refcounting/element_pad.c: (main):
9922 * testsuite/refcounting/pad.c: (main):
9923 * tools/gst-launch.c: (sigint_handler_sighandler):
9924 * tools/gst-typefind.c: (main):
9926 Added doc about clock.
9927 removed gst_bin_iterate_recurse_up(), marked methods
9929 Fix more testsuites.
9931 2005-03-09 Wim Taymans <wim@fluendo.com>
9933 * gst/gstpad.c: (gst_pad_get_direction),
9934 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9935 (gst_pad_collect_valist):
9936 * testsuite/bins/interface.c: (main):
9937 * testsuite/caps/audioscale.c: (test_caps):
9938 * testsuite/caps/caps.c: (test1), (test2), (test3):
9939 * testsuite/caps/deserialize.c: (main):
9940 * testsuite/caps/enumcaps.c: (main):
9941 * testsuite/caps/filtercaps.c: (main):
9942 * testsuite/caps/intersect2.c: (main):
9943 * testsuite/caps/random.c: (main):
9944 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9945 * testsuite/caps/sets.c: (check_caps):
9946 * testsuite/caps/simplify.c: (check_caps), (main):
9947 * testsuite/caps/subtract.c: (check_caps):
9948 Fix _pad_get_direction wrt ghostpads.
9951 2005-03-09 Wim Taymans <wim@fluendo.com>
9953 * check/Makefile.am:
9954 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9955 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9956 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9957 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9958 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9959 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9960 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9961 (bin_element_is_sink), (gst_bin_iterate_sinks),
9962 (gst_bin_iterate_all_by_interface):
9964 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9965 (gst_element_change_state), (gst_element_dispose),
9966 (gst_element_finalize), (gst_element_set_loop_function):
9968 * gst/gstiterator.c: (find_custom_fold_func):
9969 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9970 (gst_pad_collectv), (gst_pad_collect_valist),
9971 (gst_pad_template_new):
9972 * gst/gstpipeline.c: (gst_pipeline_class_init),
9973 (gst_pipeline_dispose), (gst_pipeline_set_property),
9974 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9975 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9976 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9978 * gst/schedulers/entryscheduler.c:
9979 * gst/schedulers/gstbasicscheduler.c:
9980 (gst_basic_scheduler_cothreaded_chain),
9981 (gst_basic_scheduler_chain_add_element):
9982 * testsuite/bins/interface.c: (main):
9984 Added GstSystemClock test.
9985 Implemented clock distribution code in GstBin.
9986 Implemented iterate sinks method for future use.
9987 Rearranged gstelement.h
9988 Fix GstIterator comparison bug.
9989 Moved some code to GstPipeline, mostly clocking related.
9991 2005-03-09 Wim Taymans <wim@fluendo.com>
9994 * gst/gst_private.h:
9995 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9996 (gst_bin_remove_func), (gst_bin_remove),
9997 (gst_bin_get_by_name_recurse_up):
9998 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9999 (gst_clock_id_compare_func), (gst_clock_id_wait),
10000 (gst_clock_id_wait_async), (gst_clock_init),
10001 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10002 * gst/gstelement.h:
10003 * gst/gstinfo.c: (_gst_debug_init):
10005 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10006 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10008 Bump version number, we're now 0.9.0
10009 Add future debugging category.
10010 Fix NULL _unref() in _get_by_name_recurse_up
10011 Rearrange gstpad.h.
10014 2005-03-08 Wim Taymans <wim@fluendo.com>
10016 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10017 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10018 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10019 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10020 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10021 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10022 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10023 * gst/elements/gstidentity.c: (gst_identity_class_init):
10024 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10025 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10026 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10027 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10028 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10030 * gst/gstelement.c: (gst_element_class_init),
10031 (gst_element_base_class_init), (gst_element_init),
10032 (gst_element_get_random_pad), (gst_element_wait_state_change),
10033 (gst_element_change_state), (gst_element_dispose),
10034 (gst_element_finalize), (gst_element_set_loop_function):
10035 * gst/gstelement.h:
10036 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10037 * gst/gstthread.c: (gst_thread_class_init),
10038 (gst_thread_release_children_locks), (gst_thread_change_state):
10039 * gst/schedulers/gstbasicscheduler.c:
10040 (gst_basic_scheduler_loopfunc_wrapper),
10041 (gst_basic_scheduler_chain_wrapper),
10042 (gst_basic_scheduler_src_wrapper),
10043 (gst_basic_scheduler_remove_element):
10044 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10045 Remove threadsafe properties. Fix elements because GObject
10046 complains when installing a property before declaring a
10047 set/get_property handler.
10048 Rearrange gstelement.h file, use STATE macros for state locks.
10049 Free mutexes in the finalize method instead of dispose.
10051 2005-03-08 Wim Taymans <wim@fluendo.com>
10053 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10054 * gst/gstthread.c: (gst_thread_release_children_locks):
10055 Added parentage check.
10056 Fix build og GstThread again.
10058 2005-03-08 Wim Taymans <wim@fluendo.com>
10060 * docs/design/part-MT-refcounting.txt:
10061 * docs/design/part-conventions.txt:
10062 * docs/design/part-gstobject.txt:
10063 * docs/design/part-relations.txt:
10064 * docs/design/part-standards.txt:
10065 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10066 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10067 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10068 (gst_bin_iterate_all_by_interface):
10071 * gst/gstelement.c: (gst_element_class_init),
10072 (gst_element_change_state), (gst_element_set_loop_function):
10073 * gst/gstelement.h:
10074 * gst/gstiterator.c:
10075 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10076 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10077 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10078 (gst_object_set_parent), (gst_object_unparent),
10079 (gst_object_check_uniqueness):
10081 Docs updates, clean up some headers.
10083 2005-03-07 Wim Taymans <wim@fluendo.com>
10085 * check/.cvsignore:
10086 * check/Makefile.am:
10087 * check/gst-libs/.cvsignore:
10088 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10089 * check/gst/.cvsignore:
10090 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10091 (START_TEST), (gstbus_suite), (main):
10092 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10093 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10094 (gst_data_suite), (main):
10095 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10096 (add_fold_func), (gstiterator_suite), (main):
10097 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10098 (thread_name_object), (thread_name_object_default),
10099 (gst_object_name_compare), (gst_object_suite), (main):
10100 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10101 (gst_pad_suite), (main):
10102 * check/gstcheck.c: (gst_check_log_message_func),
10103 (gst_check_log_critical_func), (gst_check_init):
10104 * check/gstcheck.h:
10105 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10106 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10109 2005-03-07 Wim Taymans <wim@fluendo.com>
10111 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10112 (gst_list_iterator_next), (gst_list_iterator_resync),
10113 (gst_list_iterator_free), (gst_iterator_new_list),
10114 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10115 (gst_iterator_free), (gst_iterator_push), (filter_next),
10116 (filter_resync), (filter_uninit), (filter_free),
10117 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10118 (gst_iterator_foreach), (find_custom_fold_func),
10119 (gst_iterator_find_custom):
10120 * gst/gstiterator.h:
10121 Added missing files.
10123 2005-03-07 Wim Taymans <wim@fluendo.com>
10127 * docs/design/part-MT-refcounting.txt:
10128 * docs/design/part-conventions.txt:
10129 * docs/design/part-gstobject.txt:
10130 * docs/design/part-relations.txt:
10131 * examples/mixer/mixer.c: (main):
10132 * examples/thread/thread.c: (eos), (main):
10134 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10135 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10136 (gst_spider_plug_from_srcpad):
10137 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10138 (gst_spider_identity_change_state),
10139 (gst_spider_identity_sink_loop_type_finding):
10140 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10141 * gst/elements/gstidentity.c: (gst_identity_init):
10142 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10143 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10144 * gst/elements/gsttypefindelement.c: (free_entry):
10147 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10148 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10149 (gst_bin_set_index), (gst_bin_set_element_sched),
10150 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10151 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10152 (gst_bin_iterate_elements), (iterate_child_recurse),
10153 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10154 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10155 (compare_interface), (gst_bin_get_by_interface),
10156 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10158 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10159 (gst_buffer_default_free), (gst_buffer_default_copy),
10160 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10161 (gst_buffer_create_sub):
10163 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10164 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10165 (gst_caps_unref), (gst_static_caps_get),
10166 (gst_caps_remove_and_get_structure), (gst_caps_append),
10167 (gst_caps_append_structure), (gst_caps_remove_structure),
10168 (gst_caps_copy_nth), (gst_caps_set_simple),
10169 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10170 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10171 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10172 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10173 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10174 (gst_caps_structure_figure_out_union),
10175 (gst_caps_switch_structures), (gst_caps_do_simplify),
10176 (gst_caps_replace), (gst_caps_from_string),
10177 (gst_caps_copy_conditional):
10179 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10180 (_gst_clock_id_free), (gst_clock_id_unref),
10181 (gst_clock_id_compare_func), (gst_clock_id_wait),
10182 (gst_clock_id_wait_async), (gst_clock_class_init),
10183 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10184 (gst_clock_get_time), (gst_clock_set_time_adjust),
10185 (gst_clock_set_property), (gst_clock_get_property):
10188 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10189 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10191 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10192 (gst_element_requires_clock), (gst_element_provides_clock),
10193 (gst_element_set_clock), (gst_element_clock_wait),
10194 (gst_element_wait), (gst_element_set_time_delay),
10195 (gst_element_is_indexable), (gst_element_add_pad),
10196 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10197 (pad_compare_name), (gst_element_get_static_pad),
10198 (gst_element_request_pad), (gst_element_get_request_pad),
10199 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10200 (gst_element_class_get_pad_template_list),
10201 (gst_element_class_get_pad_template), (gst_element_error_func),
10202 (gst_element_get_random_pad), (gst_element_get_event_masks),
10203 (gst_element_send_event), (gst_element_seek),
10204 (gst_element_get_query_types), (gst_element_query),
10205 (gst_element_get_formats), (gst_element_convert),
10206 (gst_element_is_locked_state), (gst_element_set_locked_state),
10207 (gst_element_sync_state_with_parent), (gst_element_change_state),
10208 (gst_element_finalize), (gst_element_yield),
10209 (gst_element_interrupt), (gst_element_set_scheduler),
10210 (gst_element_get_scheduler), (gst_element_set_loop_function):
10211 * gst/gstelement.h:
10213 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10214 (gst_format_get_by_nick), (gst_format_get_details),
10215 (gst_format_iterate_definitions):
10217 * gst/gstindex.c: (gst_index_gtype_resolver):
10220 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10221 (gst_mem_chunk_free):
10222 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10223 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10224 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10225 (gst_object_dispatch_properties_changed),
10226 (gst_object_set_name_default), (gst_object_set_name),
10227 (gst_object_get_name), (gst_object_set_name_prefix),
10228 (gst_object_get_name_prefix), (gst_object_set_parent),
10229 (gst_object_get_parent), (gst_object_unparent),
10230 (gst_object_check_uniqueness), (gst_object_save_thyself),
10231 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10232 (gst_object_set_property), (gst_object_get_property),
10233 (gst_object_get_path_string):
10235 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10236 (gst_real_pad_init), (gst_real_pad_get_property),
10237 (gst_pad_custom_new), (gst_pad_get_direction),
10238 (gst_pad_set_active), (gst_pad_is_active),
10239 (gst_pad_set_event_function), (gst_pad_is_linked),
10240 (gst_pad_link_free), (gst_pad_link_intersect),
10241 (gst_pad_link_fixate), (gst_pad_set_caps),
10242 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10243 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10244 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10245 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10246 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10247 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10248 (gst_pad_realize), (gst_pad_get_allowed_caps),
10249 (gst_real_pad_dispose), (gst_real_pad_finalize),
10250 (gst_pad_collectv), (gst_pad_collect_valist),
10251 (gst_pad_template_dispose), (gst_pad_template_new),
10252 (gst_pad_get_internal_links):
10254 * gst/gstpipeline.c: (gst_pipeline_dispose),
10255 (gst_pipeline_change_state):
10256 * gst/gstpipeline.h:
10258 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10259 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10260 * gst/gstpluginfeature.h:
10261 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10262 * gst/gstquery.c: (_gst_query_type_initialize),
10263 (gst_query_type_register), (gst_query_type_get_by_nick),
10264 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10266 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10267 * gst/gstscheduler.c: (gst_scheduler_add_element),
10268 (gst_scheduler_factory_create):
10269 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10270 (gst_structure_free), (gst_structure_set_name),
10271 (gst_structure_id_set_value), (gst_structure_set_value),
10272 (gst_structure_set_valist), (gst_structure_remove_field),
10273 (gst_structure_remove_fields),
10274 (gst_structure_remove_fields_valist),
10275 (gst_structure_remove_all_fields), (gst_structure_foreach),
10276 (gst_structure_map_in_place),
10277 (gst_caps_structure_fixate_field_nearest_int),
10278 (gst_caps_structure_fixate_field_nearest_double):
10279 * gst/gststructure.h:
10280 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10281 (gst_system_clock_init), (gst_system_clock_dispose),
10282 (gst_system_clock_async_thread),
10283 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10284 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10285 * gst/gstsystemclock.h:
10286 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10287 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10288 * gst/gsttaginterface.c:
10289 * gst/gstthread.c: (gst_thread_dispose),
10290 (gst_thread_release_children_locks), (gst_thread_change_state),
10291 (gst_thread_main_loop):
10292 * gst/gsttrashstack.h:
10293 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10295 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10296 (gst_element_request_pad), (gst_element_get_pad_from_template),
10297 (gst_element_request_compatible_pad),
10298 (gst_element_get_compatible_pad_filtered),
10299 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10300 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10301 (gst_element_link_many), (gst_element_link),
10302 (gst_element_link_pads), (gst_element_unlink_pads),
10303 (gst_element_unlink_many), (gst_element_unlink),
10304 (gst_pad_can_link_filtered), (gst_pad_can_link),
10305 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10306 (gst_object_default_error), (gst_bin_add_many),
10307 (gst_bin_remove_many), (gst_element_populate_std_props),
10308 (gst_element_class_install_std_props), (gst_buffer_merge),
10309 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10310 (link_fold_func), (gst_pad_proxy_setcaps):
10312 * gst/gstvalue.c: (gst_value_deserialize_string):
10313 * gst/parse/grammar.y:
10314 * gst/schedulers/gstbasicscheduler.c:
10315 (gst_basic_scheduler_cothreaded_chain),
10316 (gst_basic_scheduler_chain_recursive_add),
10317 (gst_basic_scheduler_pad_link):
10318 * gst/schedulers/gstoptimalscheduler.c:
10319 (get_group_schedule_function),
10320 (gst_opt_scheduler_state_transition),
10321 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10322 * libs/gst/bytestream/bytestream.c:
10323 * libs/gst/dataprotocol/dataprotocol.c:
10324 (gst_dp_header_from_buffer):
10327 * tests/threadstate/threadstate2.c: (eos):
10328 * tools/gst-compprep.c: (main):
10329 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10330 (print_pad_info), (print_children_info):
10331 * tools/gst-launch.c: (idle_func), (main):
10332 * tools/gst-md5sum.c: (idle_func), (main):
10333 * tools/gst-xmlinspect.c: (print_element_info):
10334 First THREADED backport attempt, focusing on adding locks and
10335 making sure the API is threadsafe. Needs more work. More docs
10338 2005-02-24 Andy Wingo <wingo@pobox.com>
10340 * tests/bench-complexity.scm:
10341 * tests/complexity.gnuplot: New files, good for running complexity
10344 * tests/Makefile.am:
10345 * tests/complexity.c: New test, sets up N elements, at each level
10346 teeing into M streams per element. Eeeenteresting.
10348 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10349 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10350 running bench-mass_elements.scm.
10352 * tests/bench-mass_elements.scm: New script, runs mass_elements
10353 for various numbers of identities, outputting the results to a
10354 file. Requires guile 1.6. Just for testing.
10356 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10358 * gst/schedulers/fairscheduler.c:
10359 compile with debug disabled
10361 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10364 hunting season on 0.9 is now OPEN